@getpara/shared 1.32.0 → 1.34.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/webhook.js +2 -0
- package/dist/esm/schemas/permissionsV2.js +70 -10
- package/dist/esm/schemas/permissionsV2Lifecycle.js +2 -3
- package/dist/esm/types/webhook.js +2 -0
- package/dist/types/schemas/permissionsV2.d.ts +237 -206
- package/dist/types/schemas/permissionsV2.d.ts.map +1 -1
- package/dist/types/schemas/permissionsV2Lifecycle.d.ts +194 -220
- package/dist/types/schemas/permissionsV2Lifecycle.d.ts.map +1 -1
- package/dist/types/schemas/permissionsV2UserParameters.d.ts +10 -10
- package/dist/types/types/assets.d.ts +5 -1
- package/dist/types/types/assets.d.ts.map +1 -1
- package/dist/types/types/headlessOnRamp.d.ts +3 -0
- package/dist/types/types/headlessOnRamp.d.ts.map +1 -1
- package/dist/types/types/partner.d.ts +1 -0
- package/dist/types/types/partner.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/signing.d.ts +39 -0
- package/dist/types/types/signing.d.ts.map +1 -1
- package/dist/types/types/webhook.d.ts +56 -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;
|
|
@@ -1674,8 +1679,8 @@ export declare const permissionsV2AuthoritySetViewSchema: z.ZodObject<{
|
|
|
1674
1679
|
}>;
|
|
1675
1680
|
}, "strict", z.ZodTypeAny, {
|
|
1676
1681
|
userId: string;
|
|
1677
|
-
revision: number;
|
|
1678
1682
|
partnerId: string;
|
|
1683
|
+
revision: number;
|
|
1679
1684
|
appId: string;
|
|
1680
1685
|
changedAt: string;
|
|
1681
1686
|
authorizationScopeId: string;
|
|
@@ -1693,8 +1698,8 @@ export declare const permissionsV2AuthoritySetViewSchema: z.ZodObject<{
|
|
|
1693
1698
|
};
|
|
1694
1699
|
}, {
|
|
1695
1700
|
userId: string;
|
|
1696
|
-
revision: number;
|
|
1697
1701
|
partnerId: string;
|
|
1702
|
+
revision: number;
|
|
1698
1703
|
appId: string;
|
|
1699
1704
|
changedAt: string;
|
|
1700
1705
|
authorizationScopeId: string;
|
|
@@ -1740,8 +1745,8 @@ export declare const permissionsV2AuthorizationScopeBindingViewSchema: z.ZodObje
|
|
|
1740
1745
|
}>;
|
|
1741
1746
|
}, "strict", z.ZodTypeAny, {
|
|
1742
1747
|
walletId: string;
|
|
1743
|
-
revision: number;
|
|
1744
1748
|
partnerId: string;
|
|
1749
|
+
revision: number;
|
|
1745
1750
|
appId: string;
|
|
1746
1751
|
changedAt: string;
|
|
1747
1752
|
authorizationScopeId: string;
|
|
@@ -1751,8 +1756,8 @@ export declare const permissionsV2AuthorizationScopeBindingViewSchema: z.ZodObje
|
|
|
1751
1756
|
};
|
|
1752
1757
|
}, {
|
|
1753
1758
|
walletId: string;
|
|
1754
|
-
revision: number;
|
|
1755
1759
|
partnerId: string;
|
|
1760
|
+
revision: number;
|
|
1756
1761
|
appId: string;
|
|
1757
1762
|
changedAt: string;
|
|
1758
1763
|
authorizationScopeId: string;
|
|
@@ -1793,10 +1798,10 @@ export declare const permissionsV2AuthorizationConfigurationViewSchema: z.ZodObj
|
|
|
1793
1798
|
type: "partner_secret" | "configuration_manager";
|
|
1794
1799
|
}>;
|
|
1795
1800
|
}, "strict", z.ZodTypeAny, {
|
|
1801
|
+
partnerId: string;
|
|
1796
1802
|
values: Record<string, string | number>;
|
|
1797
1803
|
policyVersion: string;
|
|
1798
1804
|
revision: number;
|
|
1799
|
-
partnerId: string;
|
|
1800
1805
|
appId: string;
|
|
1801
1806
|
policyId: string;
|
|
1802
1807
|
configurationHash: string;
|
|
@@ -1808,10 +1813,10 @@ export declare const permissionsV2AuthorizationConfigurationViewSchema: z.ZodObj
|
|
|
1808
1813
|
type: "partner_secret" | "configuration_manager";
|
|
1809
1814
|
};
|
|
1810
1815
|
}, {
|
|
1816
|
+
partnerId: string;
|
|
1811
1817
|
values: Record<string, string | number>;
|
|
1812
1818
|
policyVersion: string;
|
|
1813
1819
|
revision: number;
|
|
1814
|
-
partnerId: string;
|
|
1815
1820
|
appId: string;
|
|
1816
1821
|
policyId: string;
|
|
1817
1822
|
configurationHash: string;
|
|
@@ -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;
|
|
@@ -8502,53 +8525,53 @@ export declare const permissionsV2DelegationConsentMutationSchema: z.ZodObject<{
|
|
|
8502
8525
|
expiresAt: z.ZodOptional<z.ZodString>;
|
|
8503
8526
|
}, "strict", z.ZodTypeAny, {
|
|
8504
8527
|
walletId: string;
|
|
8528
|
+
partnerId: string;
|
|
8505
8529
|
policyVersion: string;
|
|
8506
8530
|
policyHash: string;
|
|
8507
|
-
partnerId: string;
|
|
8508
8531
|
appId: string;
|
|
8509
8532
|
configurationHash?: string | undefined;
|
|
8510
8533
|
expiresAt?: string | undefined;
|
|
8511
8534
|
}, {
|
|
8512
8535
|
walletId: string;
|
|
8536
|
+
partnerId: string;
|
|
8513
8537
|
policyVersion: string;
|
|
8514
8538
|
policyHash: string;
|
|
8515
|
-
partnerId: string;
|
|
8516
8539
|
appId: string;
|
|
8517
8540
|
configurationHash?: string | undefined;
|
|
8518
8541
|
expiresAt?: string | undefined;
|
|
8519
8542
|
}>;
|
|
8520
8543
|
export declare const permissionsV2DelegationConsentStandingMutationSchema: z.ZodObject<{
|
|
8521
8544
|
walletId: z.ZodString;
|
|
8545
|
+
partnerId: z.ZodString;
|
|
8522
8546
|
policyVersion: z.ZodString;
|
|
8523
8547
|
policyHash: z.ZodString;
|
|
8524
|
-
partnerId: z.ZodString;
|
|
8525
8548
|
appId: z.ZodString;
|
|
8526
8549
|
configurationHash: z.ZodOptional<z.ZodString>;
|
|
8527
8550
|
expiresAt: z.ZodOptional<z.ZodString>;
|
|
8528
8551
|
pendingTransactionId: z.ZodString;
|
|
8529
8552
|
}, "strict", z.ZodTypeAny, {
|
|
8530
8553
|
walletId: string;
|
|
8554
|
+
partnerId: string;
|
|
8531
8555
|
policyVersion: string;
|
|
8532
8556
|
policyHash: string;
|
|
8533
|
-
partnerId: string;
|
|
8534
8557
|
appId: string;
|
|
8535
8558
|
pendingTransactionId: string;
|
|
8536
8559
|
configurationHash?: string | undefined;
|
|
8537
8560
|
expiresAt?: string | undefined;
|
|
8538
8561
|
}, {
|
|
8539
8562
|
walletId: string;
|
|
8563
|
+
partnerId: string;
|
|
8540
8564
|
policyVersion: string;
|
|
8541
8565
|
policyHash: string;
|
|
8542
|
-
partnerId: string;
|
|
8543
8566
|
appId: string;
|
|
8544
8567
|
pendingTransactionId: string;
|
|
8545
8568
|
configurationHash?: string | undefined;
|
|
8546
8569
|
expiresAt?: string | undefined;
|
|
8547
8570
|
}>;
|
|
8548
8571
|
export declare const permissionsV2DelegationConsentNativeStandingMutationSchema: z.ZodObject<{
|
|
8572
|
+
partnerId: z.ZodString;
|
|
8549
8573
|
policyVersion: z.ZodString;
|
|
8550
8574
|
policyHash: z.ZodString;
|
|
8551
|
-
partnerId: z.ZodString;
|
|
8552
8575
|
appId: z.ZodString;
|
|
8553
8576
|
configurationHash: z.ZodOptional<z.ZodString>;
|
|
8554
8577
|
expiresAt: z.ZodOptional<z.ZodString>;
|
|
@@ -8635,9 +8658,9 @@ export declare const permissionsV2DelegationConsentNativeStandingMutationSchema:
|
|
|
8635
8658
|
}>]>;
|
|
8636
8659
|
}, "strict", z.ZodTypeAny, {
|
|
8637
8660
|
walletId: string;
|
|
8661
|
+
partnerId: string;
|
|
8638
8662
|
policyVersion: string;
|
|
8639
8663
|
policyHash: string;
|
|
8640
|
-
partnerId: string;
|
|
8641
8664
|
appId: string;
|
|
8642
8665
|
requestId: string;
|
|
8643
8666
|
transaction: {
|
|
@@ -8671,9 +8694,9 @@ export declare const permissionsV2DelegationConsentNativeStandingMutationSchema:
|
|
|
8671
8694
|
expiresAt?: string | undefined;
|
|
8672
8695
|
}, {
|
|
8673
8696
|
walletId: string;
|
|
8697
|
+
partnerId: string;
|
|
8674
8698
|
policyVersion: string;
|
|
8675
8699
|
policyHash: string;
|
|
8676
|
-
partnerId: string;
|
|
8677
8700
|
appId: string;
|
|
8678
8701
|
requestId: string;
|
|
8679
8702
|
transaction: {
|
|
@@ -8708,35 +8731,35 @@ export declare const permissionsV2DelegationConsentNativeStandingMutationSchema:
|
|
|
8708
8731
|
}>;
|
|
8709
8732
|
export declare const permissionsV2DelegationConsentStandingRouteMutationSchema: z.ZodUnion<[z.ZodObject<{
|
|
8710
8733
|
walletId: z.ZodString;
|
|
8734
|
+
partnerId: z.ZodString;
|
|
8711
8735
|
policyVersion: z.ZodString;
|
|
8712
8736
|
policyHash: z.ZodString;
|
|
8713
|
-
partnerId: z.ZodString;
|
|
8714
8737
|
appId: z.ZodString;
|
|
8715
8738
|
configurationHash: z.ZodOptional<z.ZodString>;
|
|
8716
8739
|
expiresAt: z.ZodOptional<z.ZodString>;
|
|
8717
8740
|
pendingTransactionId: z.ZodString;
|
|
8718
8741
|
}, "strict", z.ZodTypeAny, {
|
|
8719
8742
|
walletId: string;
|
|
8743
|
+
partnerId: string;
|
|
8720
8744
|
policyVersion: string;
|
|
8721
8745
|
policyHash: string;
|
|
8722
|
-
partnerId: string;
|
|
8723
8746
|
appId: string;
|
|
8724
8747
|
pendingTransactionId: string;
|
|
8725
8748
|
configurationHash?: string | undefined;
|
|
8726
8749
|
expiresAt?: string | undefined;
|
|
8727
8750
|
}, {
|
|
8728
8751
|
walletId: string;
|
|
8752
|
+
partnerId: string;
|
|
8729
8753
|
policyVersion: string;
|
|
8730
8754
|
policyHash: string;
|
|
8731
|
-
partnerId: string;
|
|
8732
8755
|
appId: string;
|
|
8733
8756
|
pendingTransactionId: string;
|
|
8734
8757
|
configurationHash?: string | undefined;
|
|
8735
8758
|
expiresAt?: string | undefined;
|
|
8736
8759
|
}>, z.ZodObject<{
|
|
8760
|
+
partnerId: z.ZodString;
|
|
8737
8761
|
policyVersion: z.ZodString;
|
|
8738
8762
|
policyHash: z.ZodString;
|
|
8739
|
-
partnerId: z.ZodString;
|
|
8740
8763
|
appId: z.ZodString;
|
|
8741
8764
|
configurationHash: z.ZodOptional<z.ZodString>;
|
|
8742
8765
|
expiresAt: z.ZodOptional<z.ZodString>;
|
|
@@ -8823,9 +8846,9 @@ export declare const permissionsV2DelegationConsentStandingRouteMutationSchema:
|
|
|
8823
8846
|
}>]>;
|
|
8824
8847
|
}, "strict", z.ZodTypeAny, {
|
|
8825
8848
|
walletId: string;
|
|
8849
|
+
partnerId: string;
|
|
8826
8850
|
policyVersion: string;
|
|
8827
8851
|
policyHash: string;
|
|
8828
|
-
partnerId: string;
|
|
8829
8852
|
appId: string;
|
|
8830
8853
|
requestId: string;
|
|
8831
8854
|
transaction: {
|
|
@@ -8859,9 +8882,9 @@ export declare const permissionsV2DelegationConsentStandingRouteMutationSchema:
|
|
|
8859
8882
|
expiresAt?: string | undefined;
|
|
8860
8883
|
}, {
|
|
8861
8884
|
walletId: string;
|
|
8885
|
+
partnerId: string;
|
|
8862
8886
|
policyVersion: string;
|
|
8863
8887
|
policyHash: string;
|
|
8864
|
-
partnerId: string;
|
|
8865
8888
|
appId: string;
|
|
8866
8889
|
requestId: string;
|
|
8867
8890
|
transaction: {
|
|
@@ -8897,9 +8920,9 @@ export declare const permissionsV2DelegationConsentStandingRouteMutationSchema:
|
|
|
8897
8920
|
/** Explicit owner consent, optionally committed together with personal settings. */
|
|
8898
8921
|
export declare const permissionsV2DelegationConsentSubmissionSchema: z.ZodObject<{
|
|
8899
8922
|
walletId: z.ZodString;
|
|
8923
|
+
partnerId: z.ZodString;
|
|
8900
8924
|
policyVersion: z.ZodString;
|
|
8901
8925
|
policyHash: z.ZodString;
|
|
8902
|
-
partnerId: z.ZodString;
|
|
8903
8926
|
appId: z.ZodString;
|
|
8904
8927
|
configurationHash: z.ZodOptional<z.ZodString>;
|
|
8905
8928
|
expiresAt: z.ZodOptional<z.ZodString>;
|
|
@@ -8919,9 +8942,9 @@ export declare const permissionsV2DelegationConsentSubmissionSchema: z.ZodObject
|
|
|
8919
8942
|
}>>;
|
|
8920
8943
|
}, "strict", z.ZodTypeAny, {
|
|
8921
8944
|
walletId: string;
|
|
8945
|
+
partnerId: string;
|
|
8922
8946
|
policyVersion: string;
|
|
8923
8947
|
policyHash: string;
|
|
8924
|
-
partnerId: string;
|
|
8925
8948
|
appId: string;
|
|
8926
8949
|
posture: "standing" | "manual_review";
|
|
8927
8950
|
configurationHash?: string | undefined;
|
|
@@ -8933,9 +8956,9 @@ export declare const permissionsV2DelegationConsentSubmissionSchema: z.ZodObject
|
|
|
8933
8956
|
} | undefined;
|
|
8934
8957
|
}, {
|
|
8935
8958
|
walletId: string;
|
|
8959
|
+
partnerId: string;
|
|
8936
8960
|
policyVersion: string;
|
|
8937
8961
|
policyHash: string;
|
|
8938
|
-
partnerId: string;
|
|
8939
8962
|
appId: string;
|
|
8940
8963
|
posture: "standing" | "manual_review";
|
|
8941
8964
|
configurationHash?: string | undefined;
|
|
@@ -8963,9 +8986,9 @@ export declare const permissionsV2DelegationConsentViewSchema: z.ZodObject<{
|
|
|
8963
8986
|
userId: string;
|
|
8964
8987
|
walletId: string;
|
|
8965
8988
|
status: "pending" | "expired" | "standing" | "manual_review" | "revoked";
|
|
8989
|
+
partnerId: string;
|
|
8966
8990
|
policyVersion: string;
|
|
8967
8991
|
policyHash: string;
|
|
8968
|
-
partnerId: string;
|
|
8969
8992
|
appId: string;
|
|
8970
8993
|
policyId: string;
|
|
8971
8994
|
configurationHash?: string | undefined;
|
|
@@ -8976,9 +8999,9 @@ export declare const permissionsV2DelegationConsentViewSchema: z.ZodObject<{
|
|
|
8976
8999
|
userId: string;
|
|
8977
9000
|
walletId: string;
|
|
8978
9001
|
status: "pending" | "expired" | "standing" | "manual_review" | "revoked";
|
|
9002
|
+
partnerId: string;
|
|
8979
9003
|
policyVersion: string;
|
|
8980
9004
|
policyHash: string;
|
|
8981
|
-
partnerId: string;
|
|
8982
9005
|
appId: string;
|
|
8983
9006
|
policyId: string;
|
|
8984
9007
|
configurationHash?: string | undefined;
|
|
@@ -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;
|
|
@@ -10665,9 +10692,9 @@ export declare const permissionsV2DelegationConsentRequestSchema: z.ZodObject<{
|
|
|
10665
10692
|
userId: string;
|
|
10666
10693
|
walletId: string;
|
|
10667
10694
|
status: "pending" | "expired" | "standing" | "manual_review" | "revoked";
|
|
10695
|
+
partnerId: string;
|
|
10668
10696
|
policyVersion: string;
|
|
10669
10697
|
policyHash: string;
|
|
10670
|
-
partnerId: string;
|
|
10671
10698
|
appId: string;
|
|
10672
10699
|
policyId: string;
|
|
10673
10700
|
configurationHash?: string | undefined;
|
|
@@ -10678,9 +10705,9 @@ export declare const permissionsV2DelegationConsentRequestSchema: z.ZodObject<{
|
|
|
10678
10705
|
userId: string;
|
|
10679
10706
|
walletId: string;
|
|
10680
10707
|
status: "pending" | "expired" | "standing" | "manual_review" | "revoked";
|
|
10708
|
+
partnerId: string;
|
|
10681
10709
|
policyVersion: string;
|
|
10682
10710
|
policyHash: string;
|
|
10683
|
-
partnerId: string;
|
|
10684
10711
|
appId: string;
|
|
10685
10712
|
policyId: string;
|
|
10686
10713
|
configurationHash?: string | undefined;
|
|
@@ -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;
|
|
@@ -10813,9 +10840,9 @@ export declare const permissionsV2DelegationConsentRequestSchema: z.ZodObject<{
|
|
|
10813
10840
|
userId: string;
|
|
10814
10841
|
walletId: string;
|
|
10815
10842
|
status: "pending" | "expired" | "standing" | "manual_review" | "revoked";
|
|
10843
|
+
partnerId: string;
|
|
10816
10844
|
policyVersion: string;
|
|
10817
10845
|
policyHash: string;
|
|
10818
|
-
partnerId: string;
|
|
10819
10846
|
appId: string;
|
|
10820
10847
|
policyId: string;
|
|
10821
10848
|
configurationHash?: string | undefined;
|
|
@@ -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;
|
|
@@ -10948,9 +10975,9 @@ export declare const permissionsV2DelegationConsentRequestSchema: z.ZodObject<{
|
|
|
10948
10975
|
userId: string;
|
|
10949
10976
|
walletId: string;
|
|
10950
10977
|
status: "pending" | "expired" | "standing" | "manual_review" | "revoked";
|
|
10978
|
+
partnerId: string;
|
|
10951
10979
|
policyVersion: string;
|
|
10952
10980
|
policyHash: string;
|
|
10953
|
-
partnerId: string;
|
|
10954
10981
|
appId: string;
|
|
10955
10982
|
policyId: string;
|
|
10956
10983
|
configurationHash?: string | undefined;
|
|
@@ -10977,9 +11004,9 @@ export declare const permissionsV2DelegationConsentSubmissionResponseSchema: z.Z
|
|
|
10977
11004
|
userId: string;
|
|
10978
11005
|
walletId: string;
|
|
10979
11006
|
status: "pending" | "expired" | "standing" | "manual_review" | "revoked";
|
|
11007
|
+
partnerId: string;
|
|
10980
11008
|
policyVersion: string;
|
|
10981
11009
|
policyHash: string;
|
|
10982
|
-
partnerId: string;
|
|
10983
11010
|
appId: string;
|
|
10984
11011
|
policyId: string;
|
|
10985
11012
|
configurationHash?: string | undefined;
|
|
@@ -10990,9 +11017,9 @@ export declare const permissionsV2DelegationConsentSubmissionResponseSchema: z.Z
|
|
|
10990
11017
|
userId: string;
|
|
10991
11018
|
walletId: string;
|
|
10992
11019
|
status: "pending" | "expired" | "standing" | "manual_review" | "revoked";
|
|
11020
|
+
partnerId: string;
|
|
10993
11021
|
policyVersion: string;
|
|
10994
11022
|
policyHash: string;
|
|
10995
|
-
partnerId: string;
|
|
10996
11023
|
appId: string;
|
|
10997
11024
|
policyId: string;
|
|
10998
11025
|
configurationHash?: string | undefined;
|
|
@@ -11036,12 +11063,12 @@ export declare const permissionsV2DelegationConsentSubmissionResponseSchema: z.Z
|
|
|
11036
11063
|
}, "strict", z.ZodTypeAny, {
|
|
11037
11064
|
userId: string;
|
|
11038
11065
|
status: "ready";
|
|
11066
|
+
partnerId: string;
|
|
11039
11067
|
values: Record<string, string>;
|
|
11040
11068
|
policyVersion: string;
|
|
11041
11069
|
policyHash: string;
|
|
11042
11070
|
revision: 0;
|
|
11043
11071
|
provenance: "default";
|
|
11044
|
-
partnerId: string;
|
|
11045
11072
|
appId: string;
|
|
11046
11073
|
policyId: string;
|
|
11047
11074
|
parameters: {
|
|
@@ -11055,12 +11082,12 @@ export declare const permissionsV2DelegationConsentSubmissionResponseSchema: z.Z
|
|
|
11055
11082
|
}, {
|
|
11056
11083
|
userId: string;
|
|
11057
11084
|
status: "ready";
|
|
11085
|
+
partnerId: string;
|
|
11058
11086
|
values: Record<string, string>;
|
|
11059
11087
|
policyVersion: string;
|
|
11060
11088
|
policyHash: string;
|
|
11061
11089
|
revision: 0;
|
|
11062
11090
|
provenance: "default";
|
|
11063
|
-
partnerId: string;
|
|
11064
11091
|
appId: string;
|
|
11065
11092
|
policyId: string;
|
|
11066
11093
|
parameters: {
|
|
@@ -11108,12 +11135,12 @@ export declare const permissionsV2DelegationConsentSubmissionResponseSchema: z.Z
|
|
|
11108
11135
|
}, "strict", z.ZodTypeAny, {
|
|
11109
11136
|
userId: string;
|
|
11110
11137
|
status: "ready";
|
|
11138
|
+
partnerId: string;
|
|
11111
11139
|
values: Record<string, string>;
|
|
11112
11140
|
policyVersion: string;
|
|
11113
11141
|
policyHash: string;
|
|
11114
11142
|
revision: number;
|
|
11115
11143
|
provenance: "default" | "personal";
|
|
11116
|
-
partnerId: string;
|
|
11117
11144
|
appId: string;
|
|
11118
11145
|
policyId: string;
|
|
11119
11146
|
parameters: {
|
|
@@ -11128,12 +11155,12 @@ export declare const permissionsV2DelegationConsentSubmissionResponseSchema: z.Z
|
|
|
11128
11155
|
}, {
|
|
11129
11156
|
userId: string;
|
|
11130
11157
|
status: "ready";
|
|
11158
|
+
partnerId: string;
|
|
11131
11159
|
values: Record<string, string>;
|
|
11132
11160
|
policyVersion: string;
|
|
11133
11161
|
policyHash: string;
|
|
11134
11162
|
revision: number;
|
|
11135
11163
|
provenance: "default" | "personal";
|
|
11136
|
-
partnerId: string;
|
|
11137
11164
|
appId: string;
|
|
11138
11165
|
policyId: string;
|
|
11139
11166
|
parameters: {
|
|
@@ -11181,11 +11208,11 @@ export declare const permissionsV2DelegationConsentSubmissionResponseSchema: z.Z
|
|
|
11181
11208
|
}, "strict", z.ZodTypeAny, {
|
|
11182
11209
|
userId: string;
|
|
11183
11210
|
status: "needs_confirmation";
|
|
11211
|
+
partnerId: string;
|
|
11184
11212
|
policyVersion: string;
|
|
11185
11213
|
policyHash: string;
|
|
11186
11214
|
revision: number;
|
|
11187
11215
|
provenance: "default" | "personal";
|
|
11188
|
-
partnerId: string;
|
|
11189
11216
|
appId: string;
|
|
11190
11217
|
policyId: string;
|
|
11191
11218
|
parameters: {
|
|
@@ -11200,11 +11227,11 @@ export declare const permissionsV2DelegationConsentSubmissionResponseSchema: z.Z
|
|
|
11200
11227
|
}, {
|
|
11201
11228
|
userId: string;
|
|
11202
11229
|
status: "needs_confirmation";
|
|
11230
|
+
partnerId: string;
|
|
11203
11231
|
policyVersion: string;
|
|
11204
11232
|
policyHash: string;
|
|
11205
11233
|
revision: number;
|
|
11206
11234
|
provenance: "default" | "personal";
|
|
11207
|
-
partnerId: string;
|
|
11208
11235
|
appId: string;
|
|
11209
11236
|
policyId: string;
|
|
11210
11237
|
parameters: {
|
|
@@ -11221,12 +11248,12 @@ export declare const permissionsV2DelegationConsentSubmissionResponseSchema: z.Z
|
|
|
11221
11248
|
settings: {
|
|
11222
11249
|
userId: string;
|
|
11223
11250
|
status: "ready";
|
|
11251
|
+
partnerId: string;
|
|
11224
11252
|
values: Record<string, string>;
|
|
11225
11253
|
policyVersion: string;
|
|
11226
11254
|
policyHash: string;
|
|
11227
11255
|
revision: 0;
|
|
11228
11256
|
provenance: "default";
|
|
11229
|
-
partnerId: string;
|
|
11230
11257
|
appId: string;
|
|
11231
11258
|
policyId: string;
|
|
11232
11259
|
parameters: {
|
|
@@ -11240,12 +11267,12 @@ export declare const permissionsV2DelegationConsentSubmissionResponseSchema: z.Z
|
|
|
11240
11267
|
} | {
|
|
11241
11268
|
userId: string;
|
|
11242
11269
|
status: "ready";
|
|
11270
|
+
partnerId: string;
|
|
11243
11271
|
values: Record<string, string>;
|
|
11244
11272
|
policyVersion: string;
|
|
11245
11273
|
policyHash: string;
|
|
11246
11274
|
revision: number;
|
|
11247
11275
|
provenance: "default" | "personal";
|
|
11248
|
-
partnerId: string;
|
|
11249
11276
|
appId: string;
|
|
11250
11277
|
policyId: string;
|
|
11251
11278
|
parameters: {
|
|
@@ -11260,11 +11287,11 @@ export declare const permissionsV2DelegationConsentSubmissionResponseSchema: z.Z
|
|
|
11260
11287
|
} | {
|
|
11261
11288
|
userId: string;
|
|
11262
11289
|
status: "needs_confirmation";
|
|
11290
|
+
partnerId: string;
|
|
11263
11291
|
policyVersion: string;
|
|
11264
11292
|
policyHash: string;
|
|
11265
11293
|
revision: number;
|
|
11266
11294
|
provenance: "default" | "personal";
|
|
11267
|
-
partnerId: string;
|
|
11268
11295
|
appId: string;
|
|
11269
11296
|
policyId: string;
|
|
11270
11297
|
parameters: {
|
|
@@ -11279,12 +11306,12 @@ export declare const permissionsV2DelegationConsentSubmissionResponseSchema: z.Z
|
|
|
11279
11306
|
} | ({
|
|
11280
11307
|
userId: string;
|
|
11281
11308
|
status: "ready";
|
|
11309
|
+
partnerId: string;
|
|
11282
11310
|
values: Record<string, string>;
|
|
11283
11311
|
policyVersion: string;
|
|
11284
11312
|
policyHash: string;
|
|
11285
11313
|
revision: 0;
|
|
11286
11314
|
provenance: "default";
|
|
11287
|
-
partnerId: string;
|
|
11288
11315
|
appId: string;
|
|
11289
11316
|
policyId: string;
|
|
11290
11317
|
parameters: {
|
|
@@ -11298,12 +11325,12 @@ export declare const permissionsV2DelegationConsentSubmissionResponseSchema: z.Z
|
|
|
11298
11325
|
} & {
|
|
11299
11326
|
userId: string;
|
|
11300
11327
|
status: "ready";
|
|
11328
|
+
partnerId: string;
|
|
11301
11329
|
values: Record<string, string>;
|
|
11302
11330
|
policyVersion: string;
|
|
11303
11331
|
policyHash: string;
|
|
11304
11332
|
revision: number;
|
|
11305
11333
|
provenance: "default" | "personal";
|
|
11306
|
-
partnerId: string;
|
|
11307
11334
|
appId: string;
|
|
11308
11335
|
policyId: string;
|
|
11309
11336
|
parameters: {
|
|
@@ -11318,12 +11345,12 @@ export declare const permissionsV2DelegationConsentSubmissionResponseSchema: z.Z
|
|
|
11318
11345
|
}) | ({
|
|
11319
11346
|
userId: string;
|
|
11320
11347
|
status: "ready";
|
|
11348
|
+
partnerId: string;
|
|
11321
11349
|
values: Record<string, string>;
|
|
11322
11350
|
policyVersion: string;
|
|
11323
11351
|
policyHash: string;
|
|
11324
11352
|
revision: number;
|
|
11325
11353
|
provenance: "default" | "personal";
|
|
11326
|
-
partnerId: string;
|
|
11327
11354
|
appId: string;
|
|
11328
11355
|
policyId: string;
|
|
11329
11356
|
parameters: {
|
|
@@ -11338,12 +11365,12 @@ export declare const permissionsV2DelegationConsentSubmissionResponseSchema: z.Z
|
|
|
11338
11365
|
} & {
|
|
11339
11366
|
userId: string;
|
|
11340
11367
|
status: "ready";
|
|
11368
|
+
partnerId: string;
|
|
11341
11369
|
values: Record<string, string>;
|
|
11342
11370
|
policyVersion: string;
|
|
11343
11371
|
policyHash: string;
|
|
11344
11372
|
revision: 0;
|
|
11345
11373
|
provenance: "default";
|
|
11346
|
-
partnerId: string;
|
|
11347
11374
|
appId: string;
|
|
11348
11375
|
policyId: string;
|
|
11349
11376
|
parameters: {
|
|
@@ -11359,9 +11386,9 @@ export declare const permissionsV2DelegationConsentSubmissionResponseSchema: z.Z
|
|
|
11359
11386
|
userId: string;
|
|
11360
11387
|
walletId: string;
|
|
11361
11388
|
status: "pending" | "expired" | "standing" | "manual_review" | "revoked";
|
|
11389
|
+
partnerId: string;
|
|
11362
11390
|
policyVersion: string;
|
|
11363
11391
|
policyHash: string;
|
|
11364
|
-
partnerId: string;
|
|
11365
11392
|
appId: string;
|
|
11366
11393
|
policyId: string;
|
|
11367
11394
|
configurationHash?: string | undefined;
|
|
@@ -11373,12 +11400,12 @@ export declare const permissionsV2DelegationConsentSubmissionResponseSchema: z.Z
|
|
|
11373
11400
|
settings: {
|
|
11374
11401
|
userId: string;
|
|
11375
11402
|
status: "ready";
|
|
11403
|
+
partnerId: string;
|
|
11376
11404
|
values: Record<string, string>;
|
|
11377
11405
|
policyVersion: string;
|
|
11378
11406
|
policyHash: string;
|
|
11379
11407
|
revision: 0;
|
|
11380
11408
|
provenance: "default";
|
|
11381
|
-
partnerId: string;
|
|
11382
11409
|
appId: string;
|
|
11383
11410
|
policyId: string;
|
|
11384
11411
|
parameters: {
|
|
@@ -11392,12 +11419,12 @@ export declare const permissionsV2DelegationConsentSubmissionResponseSchema: z.Z
|
|
|
11392
11419
|
} | {
|
|
11393
11420
|
userId: string;
|
|
11394
11421
|
status: "ready";
|
|
11422
|
+
partnerId: string;
|
|
11395
11423
|
values: Record<string, string>;
|
|
11396
11424
|
policyVersion: string;
|
|
11397
11425
|
policyHash: string;
|
|
11398
11426
|
revision: number;
|
|
11399
11427
|
provenance: "default" | "personal";
|
|
11400
|
-
partnerId: string;
|
|
11401
11428
|
appId: string;
|
|
11402
11429
|
policyId: string;
|
|
11403
11430
|
parameters: {
|
|
@@ -11412,11 +11439,11 @@ export declare const permissionsV2DelegationConsentSubmissionResponseSchema: z.Z
|
|
|
11412
11439
|
} | {
|
|
11413
11440
|
userId: string;
|
|
11414
11441
|
status: "needs_confirmation";
|
|
11442
|
+
partnerId: string;
|
|
11415
11443
|
policyVersion: string;
|
|
11416
11444
|
policyHash: string;
|
|
11417
11445
|
revision: number;
|
|
11418
11446
|
provenance: "default" | "personal";
|
|
11419
|
-
partnerId: string;
|
|
11420
11447
|
appId: string;
|
|
11421
11448
|
policyId: string;
|
|
11422
11449
|
parameters: {
|
|
@@ -11431,12 +11458,12 @@ export declare const permissionsV2DelegationConsentSubmissionResponseSchema: z.Z
|
|
|
11431
11458
|
} | ({
|
|
11432
11459
|
userId: string;
|
|
11433
11460
|
status: "ready";
|
|
11461
|
+
partnerId: string;
|
|
11434
11462
|
values: Record<string, string>;
|
|
11435
11463
|
policyVersion: string;
|
|
11436
11464
|
policyHash: string;
|
|
11437
11465
|
revision: 0;
|
|
11438
11466
|
provenance: "default";
|
|
11439
|
-
partnerId: string;
|
|
11440
11467
|
appId: string;
|
|
11441
11468
|
policyId: string;
|
|
11442
11469
|
parameters: {
|
|
@@ -11450,12 +11477,12 @@ export declare const permissionsV2DelegationConsentSubmissionResponseSchema: z.Z
|
|
|
11450
11477
|
} & {
|
|
11451
11478
|
userId: string;
|
|
11452
11479
|
status: "ready";
|
|
11480
|
+
partnerId: string;
|
|
11453
11481
|
values: Record<string, string>;
|
|
11454
11482
|
policyVersion: string;
|
|
11455
11483
|
policyHash: string;
|
|
11456
11484
|
revision: number;
|
|
11457
11485
|
provenance: "default" | "personal";
|
|
11458
|
-
partnerId: string;
|
|
11459
11486
|
appId: string;
|
|
11460
11487
|
policyId: string;
|
|
11461
11488
|
parameters: {
|
|
@@ -11470,12 +11497,12 @@ export declare const permissionsV2DelegationConsentSubmissionResponseSchema: z.Z
|
|
|
11470
11497
|
}) | ({
|
|
11471
11498
|
userId: string;
|
|
11472
11499
|
status: "ready";
|
|
11500
|
+
partnerId: string;
|
|
11473
11501
|
values: Record<string, string>;
|
|
11474
11502
|
policyVersion: string;
|
|
11475
11503
|
policyHash: string;
|
|
11476
11504
|
revision: number;
|
|
11477
11505
|
provenance: "default" | "personal";
|
|
11478
|
-
partnerId: string;
|
|
11479
11506
|
appId: string;
|
|
11480
11507
|
policyId: string;
|
|
11481
11508
|
parameters: {
|
|
@@ -11490,12 +11517,12 @@ export declare const permissionsV2DelegationConsentSubmissionResponseSchema: z.Z
|
|
|
11490
11517
|
} & {
|
|
11491
11518
|
userId: string;
|
|
11492
11519
|
status: "ready";
|
|
11520
|
+
partnerId: string;
|
|
11493
11521
|
values: Record<string, string>;
|
|
11494
11522
|
policyVersion: string;
|
|
11495
11523
|
policyHash: string;
|
|
11496
11524
|
revision: 0;
|
|
11497
11525
|
provenance: "default";
|
|
11498
|
-
partnerId: string;
|
|
11499
11526
|
appId: string;
|
|
11500
11527
|
policyId: string;
|
|
11501
11528
|
parameters: {
|
|
@@ -11511,9 +11538,9 @@ export declare const permissionsV2DelegationConsentSubmissionResponseSchema: z.Z
|
|
|
11511
11538
|
userId: string;
|
|
11512
11539
|
walletId: string;
|
|
11513
11540
|
status: "pending" | "expired" | "standing" | "manual_review" | "revoked";
|
|
11541
|
+
partnerId: string;
|
|
11514
11542
|
policyVersion: string;
|
|
11515
11543
|
policyHash: string;
|
|
11516
|
-
partnerId: string;
|
|
11517
11544
|
appId: string;
|
|
11518
11545
|
policyId: string;
|
|
11519
11546
|
configurationHash?: string | undefined;
|
|
@@ -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;
|
|
@@ -13202,9 +13233,9 @@ export declare const permissionsV2DelegationConsentDiscoveryResponseSchema: z.Zo
|
|
|
13202
13233
|
userId: string;
|
|
13203
13234
|
walletId: string;
|
|
13204
13235
|
status: "pending" | "expired" | "standing" | "manual_review" | "revoked";
|
|
13236
|
+
partnerId: string;
|
|
13205
13237
|
policyVersion: string;
|
|
13206
13238
|
policyHash: string;
|
|
13207
|
-
partnerId: string;
|
|
13208
13239
|
appId: string;
|
|
13209
13240
|
policyId: string;
|
|
13210
13241
|
configurationHash?: string | undefined;
|
|
@@ -13215,9 +13246,9 @@ export declare const permissionsV2DelegationConsentDiscoveryResponseSchema: z.Zo
|
|
|
13215
13246
|
userId: string;
|
|
13216
13247
|
walletId: string;
|
|
13217
13248
|
status: "pending" | "expired" | "standing" | "manual_review" | "revoked";
|
|
13249
|
+
partnerId: string;
|
|
13218
13250
|
policyVersion: string;
|
|
13219
13251
|
policyHash: string;
|
|
13220
|
-
partnerId: string;
|
|
13221
13252
|
appId: string;
|
|
13222
13253
|
policyId: string;
|
|
13223
13254
|
configurationHash?: string | undefined;
|
|
@@ -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;
|
|
@@ -13350,9 +13381,9 @@ export declare const permissionsV2DelegationConsentDiscoveryResponseSchema: z.Zo
|
|
|
13350
13381
|
userId: string;
|
|
13351
13382
|
walletId: string;
|
|
13352
13383
|
status: "pending" | "expired" | "standing" | "manual_review" | "revoked";
|
|
13384
|
+
partnerId: string;
|
|
13353
13385
|
policyVersion: string;
|
|
13354
13386
|
policyHash: string;
|
|
13355
|
-
partnerId: string;
|
|
13356
13387
|
appId: string;
|
|
13357
13388
|
policyId: string;
|
|
13358
13389
|
configurationHash?: string | undefined;
|
|
@@ -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;
|
|
@@ -13485,9 +13516,9 @@ export declare const permissionsV2DelegationConsentDiscoveryResponseSchema: z.Zo
|
|
|
13485
13516
|
userId: string;
|
|
13486
13517
|
walletId: string;
|
|
13487
13518
|
status: "pending" | "expired" | "standing" | "manual_review" | "revoked";
|
|
13519
|
+
partnerId: string;
|
|
13488
13520
|
policyVersion: string;
|
|
13489
13521
|
policyHash: string;
|
|
13490
|
-
partnerId: string;
|
|
13491
13522
|
appId: string;
|
|
13492
13523
|
policyId: string;
|
|
13493
13524
|
configurationHash?: string | undefined;
|
|
@@ -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;
|
|
@@ -13622,9 +13653,9 @@ export declare const permissionsV2DelegationConsentDiscoveryResponseSchema: z.Zo
|
|
|
13622
13653
|
userId: string;
|
|
13623
13654
|
walletId: string;
|
|
13624
13655
|
status: "pending" | "expired" | "standing" | "manual_review" | "revoked";
|
|
13656
|
+
partnerId: string;
|
|
13625
13657
|
policyVersion: string;
|
|
13626
13658
|
policyHash: string;
|
|
13627
|
-
partnerId: string;
|
|
13628
13659
|
appId: string;
|
|
13629
13660
|
policyId: string;
|
|
13630
13661
|
configurationHash?: string | undefined;
|
|
@@ -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;
|
|
@@ -13759,9 +13790,9 @@ export declare const permissionsV2DelegationConsentDiscoveryResponseSchema: z.Zo
|
|
|
13759
13790
|
userId: string;
|
|
13760
13791
|
walletId: string;
|
|
13761
13792
|
status: "pending" | "expired" | "standing" | "manual_review" | "revoked";
|
|
13793
|
+
partnerId: string;
|
|
13762
13794
|
policyVersion: string;
|
|
13763
13795
|
policyHash: string;
|
|
13764
|
-
partnerId: string;
|
|
13765
13796
|
appId: string;
|
|
13766
13797
|
policyId: string;
|
|
13767
13798
|
configurationHash?: string | undefined;
|