@getpara/shared 1.33.0 → 1.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/schemas/permissionsV2.js +72 -12
- package/dist/cjs/schemas/permissionsV2Lifecycle.js +2 -3
- package/dist/cjs/types/auth.js +7 -1
- package/dist/cjs/types/index.js +2 -0
- package/dist/cjs/types/partner.js +8 -1
- package/dist/cjs/types/restTransfer.js +2 -0
- package/dist/cjs/types/twoFactor.js +2 -0
- package/dist/cjs/types/webhook.js +4 -0
- package/dist/esm/schemas/permissionsV2.js +70 -10
- package/dist/esm/schemas/permissionsV2Lifecycle.js +2 -3
- package/dist/esm/types/auth.js +6 -0
- package/dist/esm/types/index.js +2 -0
- package/dist/esm/types/partner.js +7 -0
- package/dist/esm/types/restTransfer.js +1 -0
- package/dist/esm/types/twoFactor.js +1 -0
- package/dist/esm/types/webhook.js +4 -0
- package/dist/types/schemas/permissionsV2.d.ts +178 -147
- package/dist/types/schemas/permissionsV2.d.ts.map +1 -1
- package/dist/types/schemas/permissionsV2Lifecycle.d.ts +170 -196
- package/dist/types/schemas/permissionsV2Lifecycle.d.ts.map +1 -1
- package/dist/types/types/auth.d.ts +55 -1
- package/dist/types/types/auth.d.ts.map +1 -1
- package/dist/types/types/authState.d.ts +6 -0
- package/dist/types/types/authState.d.ts.map +1 -1
- package/dist/types/types/index.d.ts +2 -0
- package/dist/types/types/index.d.ts.map +1 -1
- package/dist/types/types/partner.d.ts +4 -0
- package/dist/types/types/partner.d.ts.map +1 -1
- package/dist/types/types/partnerAppConfig.d.ts +14 -0
- package/dist/types/types/partnerAppConfig.d.ts.map +1 -1
- package/dist/types/types/pending-transaction.d.ts +4 -8
- package/dist/types/types/pending-transaction.d.ts.map +1 -1
- package/dist/types/types/permissions.d.ts +3 -1
- package/dist/types/types/permissions.d.ts.map +1 -1
- package/dist/types/types/restTransfer.d.ts +11 -0
- package/dist/types/types/restTransfer.d.ts.map +1 -0
- package/dist/types/types/signing.d.ts +39 -0
- package/dist/types/types/signing.d.ts.map +1 -1
- package/dist/types/types/twoFactor.d.ts +100 -0
- package/dist/types/types/twoFactor.d.ts.map +1 -0
- package/dist/types/types/webhook.d.ts +51 -3
- package/dist/types/types/webhook.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -30,45 +30,40 @@ export declare const permissionsV2PolicyViewSchema: z.ZodObject<{
|
|
|
30
30
|
version: z.ZodString;
|
|
31
31
|
layer: z.ZodLiteral<"partner">;
|
|
32
32
|
selector: z.ZodObject<{
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
userId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>]>>;
|
|
34
|
+
walletId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>]>>;
|
|
35
|
+
walletType: z.ZodEnum<["EVM", "SOLANA", "COSMOS", "STELLAR", "SUI"]>;
|
|
35
36
|
chainId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>]>>;
|
|
36
|
-
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"]>>;
|
|
37
|
-
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"]>>;
|
|
38
37
|
actorId: z.ZodOptional<z.ZodString>;
|
|
39
38
|
partnerId: z.ZodOptional<z.ZodString>;
|
|
40
39
|
appId: z.ZodOptional<z.ZodString>;
|
|
41
|
-
userId: z.ZodOptional<z.ZodString>;
|
|
42
40
|
walletOwnerPartnerId: z.ZodOptional<z.ZodString>;
|
|
43
41
|
feature: z.ZodOptional<z.ZodString>;
|
|
44
42
|
}, "strict", z.ZodTypeAny, {
|
|
45
|
-
|
|
46
|
-
|
|
43
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
44
|
+
userId?: string | string[] | undefined;
|
|
45
|
+
walletId?: string | string[] | undefined;
|
|
47
46
|
chainId?: string | string[] | undefined;
|
|
48
|
-
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;
|
|
49
|
-
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;
|
|
50
47
|
actorId?: string | undefined;
|
|
51
48
|
partnerId?: string | undefined;
|
|
52
49
|
appId?: string | undefined;
|
|
53
|
-
userId?: string | undefined;
|
|
54
50
|
walletOwnerPartnerId?: string | undefined;
|
|
55
51
|
feature?: string | undefined;
|
|
56
52
|
}, {
|
|
57
|
-
|
|
58
|
-
|
|
53
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
54
|
+
userId?: string | string[] | undefined;
|
|
55
|
+
walletId?: string | string[] | undefined;
|
|
59
56
|
chainId?: string | string[] | 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
57
|
actorId?: string | undefined;
|
|
63
58
|
partnerId?: string | undefined;
|
|
64
59
|
appId?: string | undefined;
|
|
65
|
-
userId?: string | undefined;
|
|
66
60
|
walletOwnerPartnerId?: string | undefined;
|
|
67
61
|
feature?: string | undefined;
|
|
68
62
|
}>;
|
|
69
63
|
rules: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
70
64
|
id: z.ZodString;
|
|
71
65
|
effect: z.ZodEnum<["allow", "deny", "require_approval"]>;
|
|
66
|
+
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")[]>]>;
|
|
72
67
|
when: z.ZodType<import("./permissionsV2.js").PermissionsV2ConditionSchemaOutput, z.ZodTypeDef, import("./permissionsV2.js").PermissionsV2ConditionSchemaOutput>;
|
|
73
68
|
approvalRequirement: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
74
69
|
id: z.ZodString;
|
|
@@ -856,6 +851,7 @@ export declare const permissionsV2PolicyViewSchema: z.ZodObject<{
|
|
|
856
851
|
}, "strict", z.ZodTypeAny, {
|
|
857
852
|
id: string;
|
|
858
853
|
effect: "allow" | "deny" | "require_approval";
|
|
854
|
+
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);
|
|
859
855
|
when: {
|
|
860
856
|
kind: "compare";
|
|
861
857
|
fact: string;
|
|
@@ -978,6 +974,7 @@ export declare const permissionsV2PolicyViewSchema: z.ZodObject<{
|
|
|
978
974
|
}, {
|
|
979
975
|
id: string;
|
|
980
976
|
effect: "allow" | "deny" | "require_approval";
|
|
977
|
+
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);
|
|
981
978
|
when: {
|
|
982
979
|
kind: "compare";
|
|
983
980
|
fact: string;
|
|
@@ -1100,6 +1097,7 @@ export declare const permissionsV2PolicyViewSchema: z.ZodObject<{
|
|
|
1100
1097
|
}>, {
|
|
1101
1098
|
id: string;
|
|
1102
1099
|
effect: "allow" | "deny" | "require_approval";
|
|
1100
|
+
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);
|
|
1103
1101
|
when: {
|
|
1104
1102
|
kind: "compare";
|
|
1105
1103
|
fact: string;
|
|
@@ -1222,6 +1220,7 @@ export declare const permissionsV2PolicyViewSchema: z.ZodObject<{
|
|
|
1222
1220
|
}, {
|
|
1223
1221
|
id: string;
|
|
1224
1222
|
effect: "allow" | "deny" | "require_approval";
|
|
1223
|
+
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);
|
|
1225
1224
|
when: {
|
|
1226
1225
|
kind: "compare";
|
|
1227
1226
|
fact: string;
|
|
@@ -1459,21 +1458,20 @@ export declare const permissionsV2PolicyViewSchema: z.ZodObject<{
|
|
|
1459
1458
|
schemaVersion: "permissions.policy.v1";
|
|
1460
1459
|
version: string;
|
|
1461
1460
|
selector: {
|
|
1462
|
-
|
|
1463
|
-
|
|
1461
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
1462
|
+
userId?: string | string[] | undefined;
|
|
1463
|
+
walletId?: string | string[] | undefined;
|
|
1464
1464
|
chainId?: string | string[] | undefined;
|
|
1465
|
-
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;
|
|
1466
|
-
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;
|
|
1467
1465
|
actorId?: string | undefined;
|
|
1468
1466
|
partnerId?: string | undefined;
|
|
1469
1467
|
appId?: string | undefined;
|
|
1470
|
-
userId?: string | undefined;
|
|
1471
1468
|
walletOwnerPartnerId?: string | undefined;
|
|
1472
1469
|
feature?: string | undefined;
|
|
1473
1470
|
};
|
|
1474
1471
|
rules: {
|
|
1475
1472
|
id: string;
|
|
1476
1473
|
effect: "allow" | "deny" | "require_approval";
|
|
1474
|
+
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);
|
|
1477
1475
|
when: {
|
|
1478
1476
|
kind: "compare";
|
|
1479
1477
|
fact: string;
|
|
@@ -1630,21 +1628,20 @@ export declare const permissionsV2PolicyViewSchema: z.ZodObject<{
|
|
|
1630
1628
|
schemaVersion: "permissions.policy.v1";
|
|
1631
1629
|
version: string;
|
|
1632
1630
|
selector: {
|
|
1633
|
-
|
|
1634
|
-
|
|
1631
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
1632
|
+
userId?: string | string[] | undefined;
|
|
1633
|
+
walletId?: string | string[] | undefined;
|
|
1635
1634
|
chainId?: string | string[] | undefined;
|
|
1636
|
-
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;
|
|
1637
|
-
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;
|
|
1638
1635
|
actorId?: string | undefined;
|
|
1639
1636
|
partnerId?: string | undefined;
|
|
1640
1637
|
appId?: string | undefined;
|
|
1641
|
-
userId?: string | undefined;
|
|
1642
1638
|
walletOwnerPartnerId?: string | undefined;
|
|
1643
1639
|
feature?: string | undefined;
|
|
1644
1640
|
};
|
|
1645
1641
|
rules: {
|
|
1646
1642
|
id: string;
|
|
1647
1643
|
effect: "allow" | "deny" | "require_approval";
|
|
1644
|
+
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);
|
|
1648
1645
|
when: {
|
|
1649
1646
|
kind: "compare";
|
|
1650
1647
|
fact: string;
|
|
@@ -1806,21 +1803,20 @@ export declare const permissionsV2PolicyViewSchema: z.ZodObject<{
|
|
|
1806
1803
|
schemaVersion: "permissions.policy.v1";
|
|
1807
1804
|
version: string;
|
|
1808
1805
|
selector: {
|
|
1809
|
-
|
|
1810
|
-
|
|
1806
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
1807
|
+
userId?: string | string[] | undefined;
|
|
1808
|
+
walletId?: string | string[] | undefined;
|
|
1811
1809
|
chainId?: string | string[] | undefined;
|
|
1812
|
-
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;
|
|
1813
|
-
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;
|
|
1814
1810
|
actorId?: string | undefined;
|
|
1815
1811
|
partnerId?: string | undefined;
|
|
1816
1812
|
appId?: string | undefined;
|
|
1817
|
-
userId?: string | undefined;
|
|
1818
1813
|
walletOwnerPartnerId?: string | undefined;
|
|
1819
1814
|
feature?: string | undefined;
|
|
1820
1815
|
};
|
|
1821
1816
|
rules: {
|
|
1822
1817
|
id: string;
|
|
1823
1818
|
effect: "allow" | "deny" | "require_approval";
|
|
1819
|
+
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);
|
|
1824
1820
|
when: {
|
|
1825
1821
|
kind: "compare";
|
|
1826
1822
|
fact: string;
|
|
@@ -1991,21 +1987,20 @@ export declare const permissionsV2PolicyViewSchema: z.ZodObject<{
|
|
|
1991
1987
|
schemaVersion: "permissions.policy.v1";
|
|
1992
1988
|
version: string;
|
|
1993
1989
|
selector: {
|
|
1994
|
-
|
|
1995
|
-
|
|
1990
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
1991
|
+
userId?: string | string[] | undefined;
|
|
1992
|
+
walletId?: string | string[] | undefined;
|
|
1996
1993
|
chainId?: string | string[] | undefined;
|
|
1997
|
-
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;
|
|
1998
|
-
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;
|
|
1999
1994
|
actorId?: string | undefined;
|
|
2000
1995
|
partnerId?: string | undefined;
|
|
2001
1996
|
appId?: string | undefined;
|
|
2002
|
-
userId?: string | undefined;
|
|
2003
1997
|
walletOwnerPartnerId?: string | undefined;
|
|
2004
1998
|
feature?: string | undefined;
|
|
2005
1999
|
};
|
|
2006
2000
|
rules: {
|
|
2007
2001
|
id: string;
|
|
2008
2002
|
effect: "allow" | "deny" | "require_approval";
|
|
2003
|
+
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);
|
|
2009
2004
|
when: {
|
|
2010
2005
|
kind: "compare";
|
|
2011
2006
|
fact: string;
|
|
@@ -2200,45 +2195,40 @@ export declare const permissionsV2PolicyListResponseSchema: z.ZodObject<{
|
|
|
2200
2195
|
version: z.ZodString;
|
|
2201
2196
|
layer: z.ZodLiteral<"partner">;
|
|
2202
2197
|
selector: z.ZodObject<{
|
|
2203
|
-
|
|
2204
|
-
|
|
2198
|
+
userId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>]>>;
|
|
2199
|
+
walletId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>]>>;
|
|
2200
|
+
walletType: z.ZodEnum<["EVM", "SOLANA", "COSMOS", "STELLAR", "SUI"]>;
|
|
2205
2201
|
chainId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>]>>;
|
|
2206
|
-
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"]>>;
|
|
2207
|
-
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"]>>;
|
|
2208
2202
|
actorId: z.ZodOptional<z.ZodString>;
|
|
2209
2203
|
partnerId: z.ZodOptional<z.ZodString>;
|
|
2210
2204
|
appId: z.ZodOptional<z.ZodString>;
|
|
2211
|
-
userId: z.ZodOptional<z.ZodString>;
|
|
2212
2205
|
walletOwnerPartnerId: z.ZodOptional<z.ZodString>;
|
|
2213
2206
|
feature: z.ZodOptional<z.ZodString>;
|
|
2214
2207
|
}, "strict", z.ZodTypeAny, {
|
|
2215
|
-
|
|
2216
|
-
|
|
2208
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
2209
|
+
userId?: string | string[] | undefined;
|
|
2210
|
+
walletId?: string | string[] | undefined;
|
|
2217
2211
|
chainId?: string | string[] | undefined;
|
|
2218
|
-
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;
|
|
2219
|
-
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;
|
|
2220
2212
|
actorId?: string | undefined;
|
|
2221
2213
|
partnerId?: string | undefined;
|
|
2222
2214
|
appId?: string | undefined;
|
|
2223
|
-
userId?: string | undefined;
|
|
2224
2215
|
walletOwnerPartnerId?: string | undefined;
|
|
2225
2216
|
feature?: string | undefined;
|
|
2226
2217
|
}, {
|
|
2227
|
-
|
|
2228
|
-
|
|
2218
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
2219
|
+
userId?: string | string[] | undefined;
|
|
2220
|
+
walletId?: string | string[] | undefined;
|
|
2229
2221
|
chainId?: string | string[] | undefined;
|
|
2230
|
-
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;
|
|
2231
|
-
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;
|
|
2232
2222
|
actorId?: string | undefined;
|
|
2233
2223
|
partnerId?: string | undefined;
|
|
2234
2224
|
appId?: string | undefined;
|
|
2235
|
-
userId?: string | undefined;
|
|
2236
2225
|
walletOwnerPartnerId?: string | undefined;
|
|
2237
2226
|
feature?: string | undefined;
|
|
2238
2227
|
}>;
|
|
2239
2228
|
rules: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
2240
2229
|
id: z.ZodString;
|
|
2241
2230
|
effect: z.ZodEnum<["allow", "deny", "require_approval"]>;
|
|
2231
|
+
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")[]>]>;
|
|
2242
2232
|
when: z.ZodType<import("./permissionsV2.js").PermissionsV2ConditionSchemaOutput, z.ZodTypeDef, import("./permissionsV2.js").PermissionsV2ConditionSchemaOutput>;
|
|
2243
2233
|
approvalRequirement: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
2244
2234
|
id: z.ZodString;
|
|
@@ -3026,6 +3016,7 @@ export declare const permissionsV2PolicyListResponseSchema: z.ZodObject<{
|
|
|
3026
3016
|
}, "strict", z.ZodTypeAny, {
|
|
3027
3017
|
id: string;
|
|
3028
3018
|
effect: "allow" | "deny" | "require_approval";
|
|
3019
|
+
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);
|
|
3029
3020
|
when: {
|
|
3030
3021
|
kind: "compare";
|
|
3031
3022
|
fact: string;
|
|
@@ -3148,6 +3139,7 @@ export declare const permissionsV2PolicyListResponseSchema: z.ZodObject<{
|
|
|
3148
3139
|
}, {
|
|
3149
3140
|
id: string;
|
|
3150
3141
|
effect: "allow" | "deny" | "require_approval";
|
|
3142
|
+
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);
|
|
3151
3143
|
when: {
|
|
3152
3144
|
kind: "compare";
|
|
3153
3145
|
fact: string;
|
|
@@ -3270,6 +3262,7 @@ export declare const permissionsV2PolicyListResponseSchema: z.ZodObject<{
|
|
|
3270
3262
|
}>, {
|
|
3271
3263
|
id: string;
|
|
3272
3264
|
effect: "allow" | "deny" | "require_approval";
|
|
3265
|
+
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);
|
|
3273
3266
|
when: {
|
|
3274
3267
|
kind: "compare";
|
|
3275
3268
|
fact: string;
|
|
@@ -3392,6 +3385,7 @@ export declare const permissionsV2PolicyListResponseSchema: z.ZodObject<{
|
|
|
3392
3385
|
}, {
|
|
3393
3386
|
id: string;
|
|
3394
3387
|
effect: "allow" | "deny" | "require_approval";
|
|
3388
|
+
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);
|
|
3395
3389
|
when: {
|
|
3396
3390
|
kind: "compare";
|
|
3397
3391
|
fact: string;
|
|
@@ -3629,21 +3623,20 @@ export declare const permissionsV2PolicyListResponseSchema: z.ZodObject<{
|
|
|
3629
3623
|
schemaVersion: "permissions.policy.v1";
|
|
3630
3624
|
version: string;
|
|
3631
3625
|
selector: {
|
|
3632
|
-
|
|
3633
|
-
|
|
3626
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
3627
|
+
userId?: string | string[] | undefined;
|
|
3628
|
+
walletId?: string | string[] | undefined;
|
|
3634
3629
|
chainId?: string | string[] | undefined;
|
|
3635
|
-
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;
|
|
3636
|
-
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;
|
|
3637
3630
|
actorId?: string | undefined;
|
|
3638
3631
|
partnerId?: string | undefined;
|
|
3639
3632
|
appId?: string | undefined;
|
|
3640
|
-
userId?: string | undefined;
|
|
3641
3633
|
walletOwnerPartnerId?: string | undefined;
|
|
3642
3634
|
feature?: string | undefined;
|
|
3643
3635
|
};
|
|
3644
3636
|
rules: {
|
|
3645
3637
|
id: string;
|
|
3646
3638
|
effect: "allow" | "deny" | "require_approval";
|
|
3639
|
+
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);
|
|
3647
3640
|
when: {
|
|
3648
3641
|
kind: "compare";
|
|
3649
3642
|
fact: string;
|
|
@@ -3800,21 +3793,20 @@ export declare const permissionsV2PolicyListResponseSchema: z.ZodObject<{
|
|
|
3800
3793
|
schemaVersion: "permissions.policy.v1";
|
|
3801
3794
|
version: string;
|
|
3802
3795
|
selector: {
|
|
3803
|
-
|
|
3804
|
-
|
|
3796
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
3797
|
+
userId?: string | string[] | undefined;
|
|
3798
|
+
walletId?: string | string[] | undefined;
|
|
3805
3799
|
chainId?: string | string[] | undefined;
|
|
3806
|
-
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;
|
|
3807
|
-
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;
|
|
3808
3800
|
actorId?: string | undefined;
|
|
3809
3801
|
partnerId?: string | undefined;
|
|
3810
3802
|
appId?: string | undefined;
|
|
3811
|
-
userId?: string | undefined;
|
|
3812
3803
|
walletOwnerPartnerId?: string | undefined;
|
|
3813
3804
|
feature?: string | undefined;
|
|
3814
3805
|
};
|
|
3815
3806
|
rules: {
|
|
3816
3807
|
id: string;
|
|
3817
3808
|
effect: "allow" | "deny" | "require_approval";
|
|
3809
|
+
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);
|
|
3818
3810
|
when: {
|
|
3819
3811
|
kind: "compare";
|
|
3820
3812
|
fact: string;
|
|
@@ -3976,21 +3968,20 @@ export declare const permissionsV2PolicyListResponseSchema: z.ZodObject<{
|
|
|
3976
3968
|
schemaVersion: "permissions.policy.v1";
|
|
3977
3969
|
version: string;
|
|
3978
3970
|
selector: {
|
|
3979
|
-
|
|
3980
|
-
|
|
3971
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
3972
|
+
userId?: string | string[] | undefined;
|
|
3973
|
+
walletId?: string | string[] | undefined;
|
|
3981
3974
|
chainId?: string | string[] | undefined;
|
|
3982
|
-
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;
|
|
3983
|
-
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;
|
|
3984
3975
|
actorId?: string | undefined;
|
|
3985
3976
|
partnerId?: string | undefined;
|
|
3986
3977
|
appId?: string | undefined;
|
|
3987
|
-
userId?: string | undefined;
|
|
3988
3978
|
walletOwnerPartnerId?: string | undefined;
|
|
3989
3979
|
feature?: string | undefined;
|
|
3990
3980
|
};
|
|
3991
3981
|
rules: {
|
|
3992
3982
|
id: string;
|
|
3993
3983
|
effect: "allow" | "deny" | "require_approval";
|
|
3984
|
+
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);
|
|
3994
3985
|
when: {
|
|
3995
3986
|
kind: "compare";
|
|
3996
3987
|
fact: string;
|
|
@@ -4161,21 +4152,20 @@ export declare const permissionsV2PolicyListResponseSchema: z.ZodObject<{
|
|
|
4161
4152
|
schemaVersion: "permissions.policy.v1";
|
|
4162
4153
|
version: string;
|
|
4163
4154
|
selector: {
|
|
4164
|
-
|
|
4165
|
-
|
|
4155
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
4156
|
+
userId?: string | string[] | undefined;
|
|
4157
|
+
walletId?: string | string[] | undefined;
|
|
4166
4158
|
chainId?: string | string[] | undefined;
|
|
4167
|
-
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;
|
|
4168
|
-
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;
|
|
4169
4159
|
actorId?: string | undefined;
|
|
4170
4160
|
partnerId?: string | undefined;
|
|
4171
4161
|
appId?: string | undefined;
|
|
4172
|
-
userId?: string | undefined;
|
|
4173
4162
|
walletOwnerPartnerId?: string | undefined;
|
|
4174
4163
|
feature?: string | undefined;
|
|
4175
4164
|
};
|
|
4176
4165
|
rules: {
|
|
4177
4166
|
id: string;
|
|
4178
4167
|
effect: "allow" | "deny" | "require_approval";
|
|
4168
|
+
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);
|
|
4179
4169
|
when: {
|
|
4180
4170
|
kind: "compare";
|
|
4181
4171
|
fact: string;
|
|
@@ -4348,21 +4338,20 @@ export declare const permissionsV2PolicyListResponseSchema: z.ZodObject<{
|
|
|
4348
4338
|
schemaVersion: "permissions.policy.v1";
|
|
4349
4339
|
version: string;
|
|
4350
4340
|
selector: {
|
|
4351
|
-
|
|
4352
|
-
|
|
4341
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
4342
|
+
userId?: string | string[] | undefined;
|
|
4343
|
+
walletId?: string | string[] | undefined;
|
|
4353
4344
|
chainId?: string | string[] | undefined;
|
|
4354
|
-
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;
|
|
4355
|
-
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;
|
|
4356
4345
|
actorId?: string | undefined;
|
|
4357
4346
|
partnerId?: string | undefined;
|
|
4358
4347
|
appId?: string | undefined;
|
|
4359
|
-
userId?: string | undefined;
|
|
4360
4348
|
walletOwnerPartnerId?: string | undefined;
|
|
4361
4349
|
feature?: string | undefined;
|
|
4362
4350
|
};
|
|
4363
4351
|
rules: {
|
|
4364
4352
|
id: string;
|
|
4365
4353
|
effect: "allow" | "deny" | "require_approval";
|
|
4354
|
+
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);
|
|
4366
4355
|
when: {
|
|
4367
4356
|
kind: "compare";
|
|
4368
4357
|
fact: string;
|
|
@@ -4535,21 +4524,20 @@ export declare const permissionsV2PolicyListResponseSchema: z.ZodObject<{
|
|
|
4535
4524
|
schemaVersion: "permissions.policy.v1";
|
|
4536
4525
|
version: string;
|
|
4537
4526
|
selector: {
|
|
4538
|
-
|
|
4539
|
-
|
|
4527
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
4528
|
+
userId?: string | string[] | undefined;
|
|
4529
|
+
walletId?: string | string[] | undefined;
|
|
4540
4530
|
chainId?: string | string[] | undefined;
|
|
4541
|
-
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;
|
|
4542
|
-
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;
|
|
4543
4531
|
actorId?: string | undefined;
|
|
4544
4532
|
partnerId?: string | undefined;
|
|
4545
4533
|
appId?: string | undefined;
|
|
4546
|
-
userId?: string | undefined;
|
|
4547
4534
|
walletOwnerPartnerId?: string | undefined;
|
|
4548
4535
|
feature?: string | undefined;
|
|
4549
4536
|
};
|
|
4550
4537
|
rules: {
|
|
4551
4538
|
id: string;
|
|
4552
4539
|
effect: "allow" | "deny" | "require_approval";
|
|
4540
|
+
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);
|
|
4553
4541
|
when: {
|
|
4554
4542
|
kind: "compare";
|
|
4555
4543
|
fact: string;
|
|
@@ -4745,45 +4733,40 @@ export declare const permissionsV2PolicyResponseSchema: z.ZodObject<{
|
|
|
4745
4733
|
version: z.ZodString;
|
|
4746
4734
|
layer: z.ZodLiteral<"partner">;
|
|
4747
4735
|
selector: z.ZodObject<{
|
|
4748
|
-
|
|
4749
|
-
|
|
4736
|
+
userId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>]>>;
|
|
4737
|
+
walletId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>]>>;
|
|
4738
|
+
walletType: z.ZodEnum<["EVM", "SOLANA", "COSMOS", "STELLAR", "SUI"]>;
|
|
4750
4739
|
chainId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>]>>;
|
|
4751
|
-
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"]>>;
|
|
4752
|
-
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"]>>;
|
|
4753
4740
|
actorId: z.ZodOptional<z.ZodString>;
|
|
4754
4741
|
partnerId: z.ZodOptional<z.ZodString>;
|
|
4755
4742
|
appId: z.ZodOptional<z.ZodString>;
|
|
4756
|
-
userId: z.ZodOptional<z.ZodString>;
|
|
4757
4743
|
walletOwnerPartnerId: z.ZodOptional<z.ZodString>;
|
|
4758
4744
|
feature: z.ZodOptional<z.ZodString>;
|
|
4759
4745
|
}, "strict", z.ZodTypeAny, {
|
|
4760
|
-
|
|
4761
|
-
|
|
4746
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
4747
|
+
userId?: string | string[] | undefined;
|
|
4748
|
+
walletId?: string | string[] | undefined;
|
|
4762
4749
|
chainId?: string | string[] | undefined;
|
|
4763
|
-
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;
|
|
4764
|
-
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;
|
|
4765
4750
|
actorId?: string | undefined;
|
|
4766
4751
|
partnerId?: string | undefined;
|
|
4767
4752
|
appId?: string | undefined;
|
|
4768
|
-
userId?: string | undefined;
|
|
4769
4753
|
walletOwnerPartnerId?: string | undefined;
|
|
4770
4754
|
feature?: string | undefined;
|
|
4771
4755
|
}, {
|
|
4772
|
-
|
|
4773
|
-
|
|
4756
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
4757
|
+
userId?: string | string[] | undefined;
|
|
4758
|
+
walletId?: string | string[] | undefined;
|
|
4774
4759
|
chainId?: string | string[] | undefined;
|
|
4775
|
-
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;
|
|
4776
|
-
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;
|
|
4777
4760
|
actorId?: string | undefined;
|
|
4778
4761
|
partnerId?: string | undefined;
|
|
4779
4762
|
appId?: string | undefined;
|
|
4780
|
-
userId?: string | undefined;
|
|
4781
4763
|
walletOwnerPartnerId?: string | undefined;
|
|
4782
4764
|
feature?: string | undefined;
|
|
4783
4765
|
}>;
|
|
4784
4766
|
rules: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
4785
4767
|
id: z.ZodString;
|
|
4786
4768
|
effect: z.ZodEnum<["allow", "deny", "require_approval"]>;
|
|
4769
|
+
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")[]>]>;
|
|
4787
4770
|
when: z.ZodType<import("./permissionsV2.js").PermissionsV2ConditionSchemaOutput, z.ZodTypeDef, import("./permissionsV2.js").PermissionsV2ConditionSchemaOutput>;
|
|
4788
4771
|
approvalRequirement: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
4789
4772
|
id: z.ZodString;
|
|
@@ -5571,6 +5554,7 @@ export declare const permissionsV2PolicyResponseSchema: z.ZodObject<{
|
|
|
5571
5554
|
}, "strict", z.ZodTypeAny, {
|
|
5572
5555
|
id: string;
|
|
5573
5556
|
effect: "allow" | "deny" | "require_approval";
|
|
5557
|
+
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);
|
|
5574
5558
|
when: {
|
|
5575
5559
|
kind: "compare";
|
|
5576
5560
|
fact: string;
|
|
@@ -5693,6 +5677,7 @@ export declare const permissionsV2PolicyResponseSchema: z.ZodObject<{
|
|
|
5693
5677
|
}, {
|
|
5694
5678
|
id: string;
|
|
5695
5679
|
effect: "allow" | "deny" | "require_approval";
|
|
5680
|
+
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);
|
|
5696
5681
|
when: {
|
|
5697
5682
|
kind: "compare";
|
|
5698
5683
|
fact: string;
|
|
@@ -5815,6 +5800,7 @@ export declare const permissionsV2PolicyResponseSchema: z.ZodObject<{
|
|
|
5815
5800
|
}>, {
|
|
5816
5801
|
id: string;
|
|
5817
5802
|
effect: "allow" | "deny" | "require_approval";
|
|
5803
|
+
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);
|
|
5818
5804
|
when: {
|
|
5819
5805
|
kind: "compare";
|
|
5820
5806
|
fact: string;
|
|
@@ -5937,6 +5923,7 @@ export declare const permissionsV2PolicyResponseSchema: z.ZodObject<{
|
|
|
5937
5923
|
}, {
|
|
5938
5924
|
id: string;
|
|
5939
5925
|
effect: "allow" | "deny" | "require_approval";
|
|
5926
|
+
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);
|
|
5940
5927
|
when: {
|
|
5941
5928
|
kind: "compare";
|
|
5942
5929
|
fact: string;
|
|
@@ -6174,21 +6161,20 @@ export declare const permissionsV2PolicyResponseSchema: z.ZodObject<{
|
|
|
6174
6161
|
schemaVersion: "permissions.policy.v1";
|
|
6175
6162
|
version: string;
|
|
6176
6163
|
selector: {
|
|
6177
|
-
|
|
6178
|
-
|
|
6164
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
6165
|
+
userId?: string | string[] | undefined;
|
|
6166
|
+
walletId?: string | string[] | undefined;
|
|
6179
6167
|
chainId?: string | string[] | undefined;
|
|
6180
|
-
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;
|
|
6181
|
-
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;
|
|
6182
6168
|
actorId?: string | undefined;
|
|
6183
6169
|
partnerId?: string | undefined;
|
|
6184
6170
|
appId?: string | undefined;
|
|
6185
|
-
userId?: string | undefined;
|
|
6186
6171
|
walletOwnerPartnerId?: string | undefined;
|
|
6187
6172
|
feature?: string | undefined;
|
|
6188
6173
|
};
|
|
6189
6174
|
rules: {
|
|
6190
6175
|
id: string;
|
|
6191
6176
|
effect: "allow" | "deny" | "require_approval";
|
|
6177
|
+
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);
|
|
6192
6178
|
when: {
|
|
6193
6179
|
kind: "compare";
|
|
6194
6180
|
fact: string;
|
|
@@ -6345,21 +6331,20 @@ export declare const permissionsV2PolicyResponseSchema: z.ZodObject<{
|
|
|
6345
6331
|
schemaVersion: "permissions.policy.v1";
|
|
6346
6332
|
version: string;
|
|
6347
6333
|
selector: {
|
|
6348
|
-
|
|
6349
|
-
|
|
6334
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
6335
|
+
userId?: string | string[] | undefined;
|
|
6336
|
+
walletId?: string | string[] | undefined;
|
|
6350
6337
|
chainId?: string | string[] | undefined;
|
|
6351
|
-
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;
|
|
6352
|
-
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;
|
|
6353
6338
|
actorId?: string | undefined;
|
|
6354
6339
|
partnerId?: string | undefined;
|
|
6355
6340
|
appId?: string | undefined;
|
|
6356
|
-
userId?: string | undefined;
|
|
6357
6341
|
walletOwnerPartnerId?: string | undefined;
|
|
6358
6342
|
feature?: string | undefined;
|
|
6359
6343
|
};
|
|
6360
6344
|
rules: {
|
|
6361
6345
|
id: string;
|
|
6362
6346
|
effect: "allow" | "deny" | "require_approval";
|
|
6347
|
+
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);
|
|
6363
6348
|
when: {
|
|
6364
6349
|
kind: "compare";
|
|
6365
6350
|
fact: string;
|
|
@@ -6521,21 +6506,20 @@ export declare const permissionsV2PolicyResponseSchema: z.ZodObject<{
|
|
|
6521
6506
|
schemaVersion: "permissions.policy.v1";
|
|
6522
6507
|
version: string;
|
|
6523
6508
|
selector: {
|
|
6524
|
-
|
|
6525
|
-
|
|
6509
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
6510
|
+
userId?: string | string[] | undefined;
|
|
6511
|
+
walletId?: string | string[] | undefined;
|
|
6526
6512
|
chainId?: string | string[] | undefined;
|
|
6527
|
-
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;
|
|
6528
|
-
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;
|
|
6529
6513
|
actorId?: string | undefined;
|
|
6530
6514
|
partnerId?: string | undefined;
|
|
6531
6515
|
appId?: string | undefined;
|
|
6532
|
-
userId?: string | undefined;
|
|
6533
6516
|
walletOwnerPartnerId?: string | undefined;
|
|
6534
6517
|
feature?: string | undefined;
|
|
6535
6518
|
};
|
|
6536
6519
|
rules: {
|
|
6537
6520
|
id: string;
|
|
6538
6521
|
effect: "allow" | "deny" | "require_approval";
|
|
6522
|
+
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);
|
|
6539
6523
|
when: {
|
|
6540
6524
|
kind: "compare";
|
|
6541
6525
|
fact: string;
|
|
@@ -6706,21 +6690,20 @@ export declare const permissionsV2PolicyResponseSchema: z.ZodObject<{
|
|
|
6706
6690
|
schemaVersion: "permissions.policy.v1";
|
|
6707
6691
|
version: string;
|
|
6708
6692
|
selector: {
|
|
6709
|
-
|
|
6710
|
-
|
|
6693
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
6694
|
+
userId?: string | string[] | undefined;
|
|
6695
|
+
walletId?: string | string[] | undefined;
|
|
6711
6696
|
chainId?: string | string[] | undefined;
|
|
6712
|
-
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;
|
|
6713
|
-
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;
|
|
6714
6697
|
actorId?: string | undefined;
|
|
6715
6698
|
partnerId?: string | undefined;
|
|
6716
6699
|
appId?: string | undefined;
|
|
6717
|
-
userId?: string | undefined;
|
|
6718
6700
|
walletOwnerPartnerId?: string | undefined;
|
|
6719
6701
|
feature?: string | undefined;
|
|
6720
6702
|
};
|
|
6721
6703
|
rules: {
|
|
6722
6704
|
id: string;
|
|
6723
6705
|
effect: "allow" | "deny" | "require_approval";
|
|
6706
|
+
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);
|
|
6724
6707
|
when: {
|
|
6725
6708
|
kind: "compare";
|
|
6726
6709
|
fact: string;
|
|
@@ -6893,21 +6876,20 @@ export declare const permissionsV2PolicyResponseSchema: z.ZodObject<{
|
|
|
6893
6876
|
schemaVersion: "permissions.policy.v1";
|
|
6894
6877
|
version: string;
|
|
6895
6878
|
selector: {
|
|
6896
|
-
|
|
6897
|
-
|
|
6879
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
6880
|
+
userId?: string | string[] | undefined;
|
|
6881
|
+
walletId?: string | string[] | undefined;
|
|
6898
6882
|
chainId?: string | string[] | undefined;
|
|
6899
|
-
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;
|
|
6900
|
-
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;
|
|
6901
6883
|
actorId?: string | undefined;
|
|
6902
6884
|
partnerId?: string | undefined;
|
|
6903
6885
|
appId?: string | undefined;
|
|
6904
|
-
userId?: string | undefined;
|
|
6905
6886
|
walletOwnerPartnerId?: string | undefined;
|
|
6906
6887
|
feature?: string | undefined;
|
|
6907
6888
|
};
|
|
6908
6889
|
rules: {
|
|
6909
6890
|
id: string;
|
|
6910
6891
|
effect: "allow" | "deny" | "require_approval";
|
|
6892
|
+
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);
|
|
6911
6893
|
when: {
|
|
6912
6894
|
kind: "compare";
|
|
6913
6895
|
fact: string;
|
|
@@ -7080,21 +7062,20 @@ export declare const permissionsV2PolicyResponseSchema: z.ZodObject<{
|
|
|
7080
7062
|
schemaVersion: "permissions.policy.v1";
|
|
7081
7063
|
version: string;
|
|
7082
7064
|
selector: {
|
|
7083
|
-
|
|
7084
|
-
|
|
7065
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
7066
|
+
userId?: string | string[] | undefined;
|
|
7067
|
+
walletId?: string | string[] | undefined;
|
|
7085
7068
|
chainId?: string | string[] | undefined;
|
|
7086
|
-
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;
|
|
7087
|
-
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;
|
|
7088
7069
|
actorId?: string | undefined;
|
|
7089
7070
|
partnerId?: string | undefined;
|
|
7090
7071
|
appId?: string | undefined;
|
|
7091
|
-
userId?: string | undefined;
|
|
7092
7072
|
walletOwnerPartnerId?: string | undefined;
|
|
7093
7073
|
feature?: string | undefined;
|
|
7094
7074
|
};
|
|
7095
7075
|
rules: {
|
|
7096
7076
|
id: string;
|
|
7097
7077
|
effect: "allow" | "deny" | "require_approval";
|
|
7078
|
+
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);
|
|
7098
7079
|
when: {
|
|
7099
7080
|
kind: "compare";
|
|
7100
7081
|
fact: string;
|
|
@@ -7290,45 +7271,40 @@ export declare const permissionsV2PolicyVersionsResponseSchema: z.ZodObject<{
|
|
|
7290
7271
|
version: z.ZodString;
|
|
7291
7272
|
layer: z.ZodLiteral<"partner">;
|
|
7292
7273
|
selector: z.ZodObject<{
|
|
7293
|
-
|
|
7294
|
-
|
|
7274
|
+
userId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>]>>;
|
|
7275
|
+
walletId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>]>>;
|
|
7276
|
+
walletType: z.ZodEnum<["EVM", "SOLANA", "COSMOS", "STELLAR", "SUI"]>;
|
|
7295
7277
|
chainId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>]>>;
|
|
7296
|
-
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"]>>;
|
|
7297
|
-
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"]>>;
|
|
7298
7278
|
actorId: z.ZodOptional<z.ZodString>;
|
|
7299
7279
|
partnerId: z.ZodOptional<z.ZodString>;
|
|
7300
7280
|
appId: z.ZodOptional<z.ZodString>;
|
|
7301
|
-
userId: z.ZodOptional<z.ZodString>;
|
|
7302
7281
|
walletOwnerPartnerId: z.ZodOptional<z.ZodString>;
|
|
7303
7282
|
feature: z.ZodOptional<z.ZodString>;
|
|
7304
7283
|
}, "strict", z.ZodTypeAny, {
|
|
7305
|
-
|
|
7306
|
-
|
|
7284
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
7285
|
+
userId?: string | string[] | undefined;
|
|
7286
|
+
walletId?: string | string[] | undefined;
|
|
7307
7287
|
chainId?: string | string[] | undefined;
|
|
7308
|
-
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;
|
|
7309
|
-
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;
|
|
7310
7288
|
actorId?: string | undefined;
|
|
7311
7289
|
partnerId?: string | undefined;
|
|
7312
7290
|
appId?: string | undefined;
|
|
7313
|
-
userId?: string | undefined;
|
|
7314
7291
|
walletOwnerPartnerId?: string | undefined;
|
|
7315
7292
|
feature?: string | undefined;
|
|
7316
7293
|
}, {
|
|
7317
|
-
|
|
7318
|
-
|
|
7294
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
7295
|
+
userId?: string | string[] | undefined;
|
|
7296
|
+
walletId?: string | string[] | undefined;
|
|
7319
7297
|
chainId?: string | string[] | undefined;
|
|
7320
|
-
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;
|
|
7321
|
-
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;
|
|
7322
7298
|
actorId?: string | undefined;
|
|
7323
7299
|
partnerId?: string | undefined;
|
|
7324
7300
|
appId?: string | undefined;
|
|
7325
|
-
userId?: string | undefined;
|
|
7326
7301
|
walletOwnerPartnerId?: string | undefined;
|
|
7327
7302
|
feature?: string | undefined;
|
|
7328
7303
|
}>;
|
|
7329
7304
|
rules: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
7330
7305
|
id: z.ZodString;
|
|
7331
7306
|
effect: z.ZodEnum<["allow", "deny", "require_approval"]>;
|
|
7307
|
+
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")[]>]>;
|
|
7332
7308
|
when: z.ZodType<import("./permissionsV2.js").PermissionsV2ConditionSchemaOutput, z.ZodTypeDef, import("./permissionsV2.js").PermissionsV2ConditionSchemaOutput>;
|
|
7333
7309
|
approvalRequirement: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
7334
7310
|
id: z.ZodString;
|
|
@@ -8116,6 +8092,7 @@ export declare const permissionsV2PolicyVersionsResponseSchema: z.ZodObject<{
|
|
|
8116
8092
|
}, "strict", z.ZodTypeAny, {
|
|
8117
8093
|
id: string;
|
|
8118
8094
|
effect: "allow" | "deny" | "require_approval";
|
|
8095
|
+
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);
|
|
8119
8096
|
when: {
|
|
8120
8097
|
kind: "compare";
|
|
8121
8098
|
fact: string;
|
|
@@ -8238,6 +8215,7 @@ export declare const permissionsV2PolicyVersionsResponseSchema: z.ZodObject<{
|
|
|
8238
8215
|
}, {
|
|
8239
8216
|
id: string;
|
|
8240
8217
|
effect: "allow" | "deny" | "require_approval";
|
|
8218
|
+
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);
|
|
8241
8219
|
when: {
|
|
8242
8220
|
kind: "compare";
|
|
8243
8221
|
fact: string;
|
|
@@ -8360,6 +8338,7 @@ export declare const permissionsV2PolicyVersionsResponseSchema: z.ZodObject<{
|
|
|
8360
8338
|
}>, {
|
|
8361
8339
|
id: string;
|
|
8362
8340
|
effect: "allow" | "deny" | "require_approval";
|
|
8341
|
+
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);
|
|
8363
8342
|
when: {
|
|
8364
8343
|
kind: "compare";
|
|
8365
8344
|
fact: string;
|
|
@@ -8482,6 +8461,7 @@ export declare const permissionsV2PolicyVersionsResponseSchema: z.ZodObject<{
|
|
|
8482
8461
|
}, {
|
|
8483
8462
|
id: string;
|
|
8484
8463
|
effect: "allow" | "deny" | "require_approval";
|
|
8464
|
+
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);
|
|
8485
8465
|
when: {
|
|
8486
8466
|
kind: "compare";
|
|
8487
8467
|
fact: string;
|
|
@@ -8719,21 +8699,20 @@ export declare const permissionsV2PolicyVersionsResponseSchema: z.ZodObject<{
|
|
|
8719
8699
|
schemaVersion: "permissions.policy.v1";
|
|
8720
8700
|
version: string;
|
|
8721
8701
|
selector: {
|
|
8722
|
-
|
|
8723
|
-
|
|
8702
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
8703
|
+
userId?: string | string[] | undefined;
|
|
8704
|
+
walletId?: string | string[] | undefined;
|
|
8724
8705
|
chainId?: string | string[] | undefined;
|
|
8725
|
-
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;
|
|
8726
|
-
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;
|
|
8727
8706
|
actorId?: string | undefined;
|
|
8728
8707
|
partnerId?: string | undefined;
|
|
8729
8708
|
appId?: string | undefined;
|
|
8730
|
-
userId?: string | undefined;
|
|
8731
8709
|
walletOwnerPartnerId?: string | undefined;
|
|
8732
8710
|
feature?: string | undefined;
|
|
8733
8711
|
};
|
|
8734
8712
|
rules: {
|
|
8735
8713
|
id: string;
|
|
8736
8714
|
effect: "allow" | "deny" | "require_approval";
|
|
8715
|
+
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);
|
|
8737
8716
|
when: {
|
|
8738
8717
|
kind: "compare";
|
|
8739
8718
|
fact: string;
|
|
@@ -8890,21 +8869,20 @@ export declare const permissionsV2PolicyVersionsResponseSchema: z.ZodObject<{
|
|
|
8890
8869
|
schemaVersion: "permissions.policy.v1";
|
|
8891
8870
|
version: string;
|
|
8892
8871
|
selector: {
|
|
8893
|
-
|
|
8894
|
-
|
|
8872
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
8873
|
+
userId?: string | string[] | undefined;
|
|
8874
|
+
walletId?: string | string[] | undefined;
|
|
8895
8875
|
chainId?: string | string[] | undefined;
|
|
8896
|
-
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;
|
|
8897
|
-
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;
|
|
8898
8876
|
actorId?: string | undefined;
|
|
8899
8877
|
partnerId?: string | undefined;
|
|
8900
8878
|
appId?: string | undefined;
|
|
8901
|
-
userId?: string | undefined;
|
|
8902
8879
|
walletOwnerPartnerId?: string | undefined;
|
|
8903
8880
|
feature?: string | undefined;
|
|
8904
8881
|
};
|
|
8905
8882
|
rules: {
|
|
8906
8883
|
id: string;
|
|
8907
8884
|
effect: "allow" | "deny" | "require_approval";
|
|
8885
|
+
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);
|
|
8908
8886
|
when: {
|
|
8909
8887
|
kind: "compare";
|
|
8910
8888
|
fact: string;
|
|
@@ -9066,21 +9044,20 @@ export declare const permissionsV2PolicyVersionsResponseSchema: z.ZodObject<{
|
|
|
9066
9044
|
schemaVersion: "permissions.policy.v1";
|
|
9067
9045
|
version: string;
|
|
9068
9046
|
selector: {
|
|
9069
|
-
|
|
9070
|
-
|
|
9047
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
9048
|
+
userId?: string | string[] | undefined;
|
|
9049
|
+
walletId?: string | string[] | undefined;
|
|
9071
9050
|
chainId?: string | string[] | undefined;
|
|
9072
|
-
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;
|
|
9073
|
-
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;
|
|
9074
9051
|
actorId?: string | undefined;
|
|
9075
9052
|
partnerId?: string | undefined;
|
|
9076
9053
|
appId?: string | undefined;
|
|
9077
|
-
userId?: string | undefined;
|
|
9078
9054
|
walletOwnerPartnerId?: string | undefined;
|
|
9079
9055
|
feature?: string | undefined;
|
|
9080
9056
|
};
|
|
9081
9057
|
rules: {
|
|
9082
9058
|
id: string;
|
|
9083
9059
|
effect: "allow" | "deny" | "require_approval";
|
|
9060
|
+
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);
|
|
9084
9061
|
when: {
|
|
9085
9062
|
kind: "compare";
|
|
9086
9063
|
fact: string;
|
|
@@ -9251,21 +9228,20 @@ export declare const permissionsV2PolicyVersionsResponseSchema: z.ZodObject<{
|
|
|
9251
9228
|
schemaVersion: "permissions.policy.v1";
|
|
9252
9229
|
version: string;
|
|
9253
9230
|
selector: {
|
|
9254
|
-
|
|
9255
|
-
|
|
9231
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
9232
|
+
userId?: string | string[] | undefined;
|
|
9233
|
+
walletId?: string | string[] | undefined;
|
|
9256
9234
|
chainId?: string | string[] | undefined;
|
|
9257
|
-
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;
|
|
9258
|
-
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;
|
|
9259
9235
|
actorId?: string | undefined;
|
|
9260
9236
|
partnerId?: string | undefined;
|
|
9261
9237
|
appId?: string | undefined;
|
|
9262
|
-
userId?: string | undefined;
|
|
9263
9238
|
walletOwnerPartnerId?: string | undefined;
|
|
9264
9239
|
feature?: string | undefined;
|
|
9265
9240
|
};
|
|
9266
9241
|
rules: {
|
|
9267
9242
|
id: string;
|
|
9268
9243
|
effect: "allow" | "deny" | "require_approval";
|
|
9244
|
+
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);
|
|
9269
9245
|
when: {
|
|
9270
9246
|
kind: "compare";
|
|
9271
9247
|
fact: string;
|
|
@@ -9438,21 +9414,20 @@ export declare const permissionsV2PolicyVersionsResponseSchema: z.ZodObject<{
|
|
|
9438
9414
|
schemaVersion: "permissions.policy.v1";
|
|
9439
9415
|
version: string;
|
|
9440
9416
|
selector: {
|
|
9441
|
-
|
|
9442
|
-
|
|
9417
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
9418
|
+
userId?: string | string[] | undefined;
|
|
9419
|
+
walletId?: string | string[] | undefined;
|
|
9443
9420
|
chainId?: string | string[] | undefined;
|
|
9444
|
-
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;
|
|
9445
|
-
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;
|
|
9446
9421
|
actorId?: string | undefined;
|
|
9447
9422
|
partnerId?: string | undefined;
|
|
9448
9423
|
appId?: string | undefined;
|
|
9449
|
-
userId?: string | undefined;
|
|
9450
9424
|
walletOwnerPartnerId?: string | undefined;
|
|
9451
9425
|
feature?: string | undefined;
|
|
9452
9426
|
};
|
|
9453
9427
|
rules: {
|
|
9454
9428
|
id: string;
|
|
9455
9429
|
effect: "allow" | "deny" | "require_approval";
|
|
9430
|
+
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);
|
|
9456
9431
|
when: {
|
|
9457
9432
|
kind: "compare";
|
|
9458
9433
|
fact: string;
|
|
@@ -9625,21 +9600,20 @@ export declare const permissionsV2PolicyVersionsResponseSchema: z.ZodObject<{
|
|
|
9625
9600
|
schemaVersion: "permissions.policy.v1";
|
|
9626
9601
|
version: string;
|
|
9627
9602
|
selector: {
|
|
9628
|
-
|
|
9629
|
-
|
|
9603
|
+
walletType: "EVM" | "SOLANA" | "COSMOS" | "STELLAR" | "SUI";
|
|
9604
|
+
userId?: string | string[] | undefined;
|
|
9605
|
+
walletId?: string | string[] | undefined;
|
|
9630
9606
|
chainId?: string | string[] | undefined;
|
|
9631
|
-
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;
|
|
9632
|
-
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;
|
|
9633
9607
|
actorId?: string | undefined;
|
|
9634
9608
|
partnerId?: string | undefined;
|
|
9635
9609
|
appId?: string | undefined;
|
|
9636
|
-
userId?: string | undefined;
|
|
9637
9610
|
walletOwnerPartnerId?: string | undefined;
|
|
9638
9611
|
feature?: string | undefined;
|
|
9639
9612
|
};
|
|
9640
9613
|
rules: {
|
|
9641
9614
|
id: string;
|
|
9642
9615
|
effect: "allow" | "deny" | "require_approval";
|
|
9616
|
+
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);
|
|
9643
9617
|
when: {
|
|
9644
9618
|
kind: "compare";
|
|
9645
9619
|
fact: string;
|
|
@@ -9806,10 +9780,10 @@ export declare const permissionsV2PolicyVersionsResponseSchema: z.ZodObject<{
|
|
|
9806
9780
|
export declare const permissionsV2PolicyUsageMeterSchema: z.ZodObject<{
|
|
9807
9781
|
ruleId: z.ZodString;
|
|
9808
9782
|
conditionPath: z.ZodString;
|
|
9809
|
-
fact: z.ZodEnum<["wallet.spend.native", "wallet.spend.erc20"]>;
|
|
9783
|
+
fact: z.ZodEnum<["wallet.spend.native", "wallet.spend.erc20", "wallet.spend.token"]>;
|
|
9810
9784
|
operator: z.ZodEnum<["lt", "lte", "gt", "gte"]>;
|
|
9811
9785
|
ruleEffect: z.ZodEnum<["allow", "deny", "require_approval"]>;
|
|
9812
|
-
assetType: z.ZodEnum<["NATIVE", "ERC20"]>;
|
|
9786
|
+
assetType: z.ZodEnum<["NATIVE", "ERC20", "TOKEN"]>;
|
|
9813
9787
|
tokenAddress: z.ZodOptional<z.ZodString>;
|
|
9814
9788
|
chainId: z.ZodString;
|
|
9815
9789
|
windowMs: z.ZodNumber;
|
|
@@ -9821,13 +9795,13 @@ export declare const permissionsV2PolicyUsageMeterSchema: z.ZodObject<{
|
|
|
9821
9795
|
usedBaseUnits: z.ZodString;
|
|
9822
9796
|
remainingBaseUnits: z.ZodNullable<z.ZodString>;
|
|
9823
9797
|
}, "strict", z.ZodTypeAny, {
|
|
9824
|
-
fact: "wallet.spend.native" | "wallet.spend.erc20";
|
|
9798
|
+
fact: "wallet.spend.native" | "wallet.spend.erc20" | "wallet.spend.token";
|
|
9825
9799
|
chainId: string;
|
|
9826
9800
|
operator: "lt" | "lte" | "gt" | "gte";
|
|
9827
9801
|
ruleId: string;
|
|
9828
9802
|
conditionPath: string;
|
|
9829
9803
|
ruleEffect: "allow" | "deny" | "require_approval";
|
|
9830
|
-
assetType: "NATIVE" | "ERC20";
|
|
9804
|
+
assetType: "NATIVE" | "ERC20" | "TOKEN";
|
|
9831
9805
|
windowMs: number;
|
|
9832
9806
|
bucketStart: string;
|
|
9833
9807
|
resetAt: string;
|
|
@@ -9838,13 +9812,13 @@ export declare const permissionsV2PolicyUsageMeterSchema: z.ZodObject<{
|
|
|
9838
9812
|
remainingBaseUnits: string | null;
|
|
9839
9813
|
tokenAddress?: string | undefined;
|
|
9840
9814
|
}, {
|
|
9841
|
-
fact: "wallet.spend.native" | "wallet.spend.erc20";
|
|
9815
|
+
fact: "wallet.spend.native" | "wallet.spend.erc20" | "wallet.spend.token";
|
|
9842
9816
|
chainId: string;
|
|
9843
9817
|
operator: "lt" | "lte" | "gt" | "gte";
|
|
9844
9818
|
ruleId: string;
|
|
9845
9819
|
conditionPath: string;
|
|
9846
9820
|
ruleEffect: "allow" | "deny" | "require_approval";
|
|
9847
|
-
assetType: "NATIVE" | "ERC20";
|
|
9821
|
+
assetType: "NATIVE" | "ERC20" | "TOKEN";
|
|
9848
9822
|
windowMs: number;
|
|
9849
9823
|
bucketStart: string;
|
|
9850
9824
|
resetAt: string;
|
|
@@ -9880,10 +9854,10 @@ export declare const permissionsV2PolicyUsageSchema: z.ZodObject<{
|
|
|
9880
9854
|
meters: z.ZodArray<z.ZodObject<{
|
|
9881
9855
|
ruleId: z.ZodString;
|
|
9882
9856
|
conditionPath: z.ZodString;
|
|
9883
|
-
fact: z.ZodEnum<["wallet.spend.native", "wallet.spend.erc20"]>;
|
|
9857
|
+
fact: z.ZodEnum<["wallet.spend.native", "wallet.spend.erc20", "wallet.spend.token"]>;
|
|
9884
9858
|
operator: z.ZodEnum<["lt", "lte", "gt", "gte"]>;
|
|
9885
9859
|
ruleEffect: z.ZodEnum<["allow", "deny", "require_approval"]>;
|
|
9886
|
-
assetType: z.ZodEnum<["NATIVE", "ERC20"]>;
|
|
9860
|
+
assetType: z.ZodEnum<["NATIVE", "ERC20", "TOKEN"]>;
|
|
9887
9861
|
tokenAddress: z.ZodOptional<z.ZodString>;
|
|
9888
9862
|
chainId: z.ZodString;
|
|
9889
9863
|
windowMs: z.ZodNumber;
|
|
@@ -9895,13 +9869,13 @@ export declare const permissionsV2PolicyUsageSchema: z.ZodObject<{
|
|
|
9895
9869
|
usedBaseUnits: z.ZodString;
|
|
9896
9870
|
remainingBaseUnits: z.ZodNullable<z.ZodString>;
|
|
9897
9871
|
}, "strict", z.ZodTypeAny, {
|
|
9898
|
-
fact: "wallet.spend.native" | "wallet.spend.erc20";
|
|
9872
|
+
fact: "wallet.spend.native" | "wallet.spend.erc20" | "wallet.spend.token";
|
|
9899
9873
|
chainId: string;
|
|
9900
9874
|
operator: "lt" | "lte" | "gt" | "gte";
|
|
9901
9875
|
ruleId: string;
|
|
9902
9876
|
conditionPath: string;
|
|
9903
9877
|
ruleEffect: "allow" | "deny" | "require_approval";
|
|
9904
|
-
assetType: "NATIVE" | "ERC20";
|
|
9878
|
+
assetType: "NATIVE" | "ERC20" | "TOKEN";
|
|
9905
9879
|
windowMs: number;
|
|
9906
9880
|
bucketStart: string;
|
|
9907
9881
|
resetAt: string;
|
|
@@ -9912,13 +9886,13 @@ export declare const permissionsV2PolicyUsageSchema: z.ZodObject<{
|
|
|
9912
9886
|
remainingBaseUnits: string | null;
|
|
9913
9887
|
tokenAddress?: string | undefined;
|
|
9914
9888
|
}, {
|
|
9915
|
-
fact: "wallet.spend.native" | "wallet.spend.erc20";
|
|
9889
|
+
fact: "wallet.spend.native" | "wallet.spend.erc20" | "wallet.spend.token";
|
|
9916
9890
|
chainId: string;
|
|
9917
9891
|
operator: "lt" | "lte" | "gt" | "gte";
|
|
9918
9892
|
ruleId: string;
|
|
9919
9893
|
conditionPath: string;
|
|
9920
9894
|
ruleEffect: "allow" | "deny" | "require_approval";
|
|
9921
|
-
assetType: "NATIVE" | "ERC20";
|
|
9895
|
+
assetType: "NATIVE" | "ERC20" | "TOKEN";
|
|
9922
9896
|
windowMs: number;
|
|
9923
9897
|
bucketStart: string;
|
|
9924
9898
|
resetAt: string;
|
|
@@ -9944,13 +9918,13 @@ export declare const permissionsV2PolicyUsageSchema: z.ZodObject<{
|
|
|
9944
9918
|
configurationHash?: string | undefined;
|
|
9945
9919
|
} | null;
|
|
9946
9920
|
meters: {
|
|
9947
|
-
fact: "wallet.spend.native" | "wallet.spend.erc20";
|
|
9921
|
+
fact: "wallet.spend.native" | "wallet.spend.erc20" | "wallet.spend.token";
|
|
9948
9922
|
chainId: string;
|
|
9949
9923
|
operator: "lt" | "lte" | "gt" | "gte";
|
|
9950
9924
|
ruleId: string;
|
|
9951
9925
|
conditionPath: string;
|
|
9952
9926
|
ruleEffect: "allow" | "deny" | "require_approval";
|
|
9953
|
-
assetType: "NATIVE" | "ERC20";
|
|
9927
|
+
assetType: "NATIVE" | "ERC20" | "TOKEN";
|
|
9954
9928
|
windowMs: number;
|
|
9955
9929
|
bucketStart: string;
|
|
9956
9930
|
resetAt: string;
|
|
@@ -9976,13 +9950,13 @@ export declare const permissionsV2PolicyUsageSchema: z.ZodObject<{
|
|
|
9976
9950
|
configurationHash?: string | undefined;
|
|
9977
9951
|
} | null;
|
|
9978
9952
|
meters: {
|
|
9979
|
-
fact: "wallet.spend.native" | "wallet.spend.erc20";
|
|
9953
|
+
fact: "wallet.spend.native" | "wallet.spend.erc20" | "wallet.spend.token";
|
|
9980
9954
|
chainId: string;
|
|
9981
9955
|
operator: "lt" | "lte" | "gt" | "gte";
|
|
9982
9956
|
ruleId: string;
|
|
9983
9957
|
conditionPath: string;
|
|
9984
9958
|
ruleEffect: "allow" | "deny" | "require_approval";
|
|
9985
|
-
assetType: "NATIVE" | "ERC20";
|
|
9959
|
+
assetType: "NATIVE" | "ERC20" | "TOKEN";
|
|
9986
9960
|
windowMs: number;
|
|
9987
9961
|
bucketStart: string;
|
|
9988
9962
|
resetAt: string;
|
|
@@ -10027,8 +10001,8 @@ export declare const permissionsV2ConditionalApprovalCaseSummarySchema: z.ZodObj
|
|
|
10027
10001
|
}, "strict", z.ZodTypeAny, {
|
|
10028
10002
|
walletId: string;
|
|
10029
10003
|
id: string;
|
|
10030
|
-
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";
|
|
10031
10004
|
requestHash: string;
|
|
10005
|
+
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";
|
|
10032
10006
|
classification: string;
|
|
10033
10007
|
chainId?: string | undefined;
|
|
10034
10008
|
from?: string | undefined;
|
|
@@ -10044,8 +10018,8 @@ export declare const permissionsV2ConditionalApprovalCaseSummarySchema: z.ZodObj
|
|
|
10044
10018
|
}, {
|
|
10045
10019
|
walletId: string;
|
|
10046
10020
|
id: string;
|
|
10047
|
-
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";
|
|
10048
10021
|
requestHash: string;
|
|
10022
|
+
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";
|
|
10049
10023
|
classification: string;
|
|
10050
10024
|
chainId?: string | undefined;
|
|
10051
10025
|
from?: string | undefined;
|
|
@@ -10151,8 +10125,8 @@ export declare const permissionsV2ConditionalApprovalCaseSummarySchema: z.ZodObj
|
|
|
10151
10125
|
request: {
|
|
10152
10126
|
walletId: string;
|
|
10153
10127
|
id: string;
|
|
10154
|
-
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";
|
|
10155
10128
|
requestHash: string;
|
|
10129
|
+
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";
|
|
10156
10130
|
classification: string;
|
|
10157
10131
|
chainId?: string | undefined;
|
|
10158
10132
|
from?: string | undefined;
|
|
@@ -10198,8 +10172,8 @@ export declare const permissionsV2ConditionalApprovalCaseSummarySchema: z.ZodObj
|
|
|
10198
10172
|
request: {
|
|
10199
10173
|
walletId: string;
|
|
10200
10174
|
id: string;
|
|
10201
|
-
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";
|
|
10202
10175
|
requestHash: string;
|
|
10176
|
+
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";
|
|
10203
10177
|
classification: string;
|
|
10204
10178
|
chainId?: string | undefined;
|
|
10205
10179
|
from?: string | undefined;
|
|
@@ -10267,8 +10241,8 @@ export declare const permissionsV2ConditionalApprovalPartnerCaseListSchema: z.Zo
|
|
|
10267
10241
|
}, "strict", z.ZodTypeAny, {
|
|
10268
10242
|
walletId: string;
|
|
10269
10243
|
id: string;
|
|
10270
|
-
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";
|
|
10271
10244
|
requestHash: string;
|
|
10245
|
+
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";
|
|
10272
10246
|
classification: string;
|
|
10273
10247
|
chainId?: string | undefined;
|
|
10274
10248
|
from?: string | undefined;
|
|
@@ -10284,8 +10258,8 @@ export declare const permissionsV2ConditionalApprovalPartnerCaseListSchema: z.Zo
|
|
|
10284
10258
|
}, {
|
|
10285
10259
|
walletId: string;
|
|
10286
10260
|
id: string;
|
|
10287
|
-
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";
|
|
10288
10261
|
requestHash: string;
|
|
10262
|
+
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";
|
|
10289
10263
|
classification: string;
|
|
10290
10264
|
chainId?: string | undefined;
|
|
10291
10265
|
from?: string | undefined;
|
|
@@ -10391,8 +10365,8 @@ export declare const permissionsV2ConditionalApprovalPartnerCaseListSchema: z.Zo
|
|
|
10391
10365
|
request: {
|
|
10392
10366
|
walletId: string;
|
|
10393
10367
|
id: string;
|
|
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";
|
|
10395
10368
|
requestHash: string;
|
|
10369
|
+
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";
|
|
10396
10370
|
classification: string;
|
|
10397
10371
|
chainId?: string | undefined;
|
|
10398
10372
|
from?: string | undefined;
|
|
@@ -10438,8 +10412,8 @@ export declare const permissionsV2ConditionalApprovalPartnerCaseListSchema: z.Zo
|
|
|
10438
10412
|
request: {
|
|
10439
10413
|
walletId: string;
|
|
10440
10414
|
id: string;
|
|
10441
|
-
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";
|
|
10442
10415
|
requestHash: string;
|
|
10416
|
+
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";
|
|
10443
10417
|
classification: string;
|
|
10444
10418
|
chainId?: string | undefined;
|
|
10445
10419
|
from?: string | undefined;
|
|
@@ -10488,8 +10462,8 @@ export declare const permissionsV2ConditionalApprovalPartnerCaseListSchema: z.Zo
|
|
|
10488
10462
|
request: {
|
|
10489
10463
|
walletId: string;
|
|
10490
10464
|
id: string;
|
|
10491
|
-
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";
|
|
10492
10465
|
requestHash: string;
|
|
10466
|
+
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";
|
|
10493
10467
|
classification: string;
|
|
10494
10468
|
chainId?: string | undefined;
|
|
10495
10469
|
from?: string | undefined;
|
|
@@ -10538,8 +10512,8 @@ export declare const permissionsV2ConditionalApprovalPartnerCaseListSchema: z.Zo
|
|
|
10538
10512
|
request: {
|
|
10539
10513
|
walletId: string;
|
|
10540
10514
|
id: string;
|
|
10541
|
-
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";
|
|
10542
10515
|
requestHash: string;
|
|
10516
|
+
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";
|
|
10543
10517
|
classification: string;
|
|
10544
10518
|
chainId?: string | undefined;
|
|
10545
10519
|
from?: string | undefined;
|