@namera-ai/api 0.0.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.
Files changed (105) hide show
  1. package/README.md +58 -0
  2. package/dist/common.js +13 -0
  3. package/dist/common.js.map +1 -0
  4. package/dist/index.d.ts +32 -0
  5. package/dist/index.d.ts.map +1 -0
  6. package/dist/index.js +40 -0
  7. package/dist/index.js.map +1 -0
  8. package/dist/middlewares/admin.d.ts +25 -0
  9. package/dist/middlewares/admin.d.ts.map +1 -0
  10. package/dist/middlewares/admin.js +18 -0
  11. package/dist/middlewares/admin.js.map +1 -0
  12. package/dist/middlewares/auth.d.ts +640 -0
  13. package/dist/middlewares/auth.d.ts.map +1 -0
  14. package/dist/middlewares/auth.js +26 -0
  15. package/dist/middlewares/auth.js.map +1 -0
  16. package/dist/middlewares/index.d.ts +3 -0
  17. package/dist/routes/address-metadata.d.ts +147 -0
  18. package/dist/routes/address-metadata.d.ts.map +1 -0
  19. package/dist/routes/address-metadata.js +24 -0
  20. package/dist/routes/address-metadata.js.map +1 -0
  21. package/dist/routes/api-key.d.ts +864 -0
  22. package/dist/routes/api-key.d.ts.map +1 -0
  23. package/dist/routes/api-key.js +31 -0
  24. package/dist/routes/api-key.js.map +1 -0
  25. package/dist/routes/auth/core/index.d.ts +4 -0
  26. package/dist/routes/auth/core/magic-link.d.ts +34 -0
  27. package/dist/routes/auth/core/magic-link.d.ts.map +1 -0
  28. package/dist/routes/auth/core/magic-link.js +25 -0
  29. package/dist/routes/auth/core/magic-link.js.map +1 -0
  30. package/dist/routes/auth/core/session.d.ts +805 -0
  31. package/dist/routes/auth/core/session.d.ts.map +1 -0
  32. package/dist/routes/auth/core/session.js +31 -0
  33. package/dist/routes/auth/core/session.js.map +1 -0
  34. package/dist/routes/auth/core/user.d.ts +45 -0
  35. package/dist/routes/auth/core/user.d.ts.map +1 -0
  36. package/dist/routes/auth/core/user.js +15 -0
  37. package/dist/routes/auth/core/user.js.map +1 -0
  38. package/dist/routes/auth/index.d.ts +11 -0
  39. package/dist/routes/auth/notification.d.ts +392 -0
  40. package/dist/routes/auth/notification.d.ts.map +1 -0
  41. package/dist/routes/auth/notification.js +40 -0
  42. package/dist/routes/auth/notification.js.map +1 -0
  43. package/dist/routes/auth/oauth.d.ts +1347 -0
  44. package/dist/routes/auth/oauth.d.ts.map +1 -0
  45. package/dist/routes/auth/oauth.js +62 -0
  46. package/dist/routes/auth/oauth.js.map +1 -0
  47. package/dist/routes/auth/organization/index.d.ts +4 -0
  48. package/dist/routes/auth/organization/invitation.d.ts +400 -0
  49. package/dist/routes/auth/organization/invitation.d.ts.map +1 -0
  50. package/dist/routes/auth/organization/invitation.js +55 -0
  51. package/dist/routes/auth/organization/invitation.js.map +1 -0
  52. package/dist/routes/auth/organization/members.d.ts +250 -0
  53. package/dist/routes/auth/organization/members.d.ts.map +1 -0
  54. package/dist/routes/auth/organization/members.js +37 -0
  55. package/dist/routes/auth/organization/members.js.map +1 -0
  56. package/dist/routes/auth/organization/organization.d.ts +196 -0
  57. package/dist/routes/auth/organization/organization.d.ts.map +1 -0
  58. package/dist/routes/auth/organization/organization.js +31 -0
  59. package/dist/routes/auth/organization/organization.js.map +1 -0
  60. package/dist/routes/beta-invite.d.ts +24 -0
  61. package/dist/routes/beta-invite.d.ts.map +1 -0
  62. package/dist/routes/beta-invite.js +20 -0
  63. package/dist/routes/beta-invite.js.map +1 -0
  64. package/dist/routes/billing.d.ts +34 -0
  65. package/dist/routes/billing.d.ts.map +1 -0
  66. package/dist/routes/billing.js +14 -0
  67. package/dist/routes/billing.js.map +1 -0
  68. package/dist/routes/dashboard.d.ts +58 -0
  69. package/dist/routes/dashboard.d.ts.map +1 -0
  70. package/dist/routes/dashboard.js +14 -0
  71. package/dist/routes/dashboard.js.map +1 -0
  72. package/dist/routes/ens.d.ts +14 -0
  73. package/dist/routes/ens.d.ts.map +1 -0
  74. package/dist/routes/ens.js +15 -0
  75. package/dist/routes/ens.js.map +1 -0
  76. package/dist/routes/execution.d.ts +816 -0
  77. package/dist/routes/execution.d.ts.map +1 -0
  78. package/dist/routes/execution.js +50 -0
  79. package/dist/routes/execution.js.map +1 -0
  80. package/dist/routes/health.d.ts +10 -0
  81. package/dist/routes/health.d.ts.map +1 -0
  82. package/dist/routes/health.js +10 -0
  83. package/dist/routes/health.js.map +1 -0
  84. package/dist/routes/index.d.ts +23 -0
  85. package/dist/routes/portfolio.d.ts +94 -0
  86. package/dist/routes/portfolio.d.ts.map +1 -0
  87. package/dist/routes/portfolio.js +16 -0
  88. package/dist/routes/portfolio.js.map +1 -0
  89. package/dist/routes/session-key.d.ts +1844 -0
  90. package/dist/routes/session-key.d.ts.map +1 -0
  91. package/dist/routes/session-key.js +55 -0
  92. package/dist/routes/session-key.js.map +1 -0
  93. package/dist/routes/signature.d.ts +195 -0
  94. package/dist/routes/signature.d.ts.map +1 -0
  95. package/dist/routes/signature.js +38 -0
  96. package/dist/routes/signature.js.map +1 -0
  97. package/dist/routes/waitlist.d.ts +42 -0
  98. package/dist/routes/waitlist.d.ts.map +1 -0
  99. package/dist/routes/waitlist.js +27 -0
  100. package/dist/routes/waitlist.js.map +1 -0
  101. package/dist/routes/wallet.d.ts +547 -0
  102. package/dist/routes/wallet.d.ts.map +1 -0
  103. package/dist/routes/wallet.js +50 -0
  104. package/dist/routes/wallet.js.map +1 -0
  105. package/package.json +61 -0
@@ -0,0 +1,1844 @@
1
+ import { Authorization } from "../middlewares/auth.js";
2
+ import "../middlewares/index.js";
3
+ import { HttpApiEndpoint, HttpApiGroup, HttpApiSchema } from "effect/unstable/httpapi";
4
+ import { BillingLimitExceededError, SessionKeyCreationError, SessionKeyNotFoundError, SessionKeyOperationError, WalletNotFoundError } from "@namera-ai/protocol";
5
+ //#region src/routes/session-key.d.ts
6
+ declare const SessionKeyGroup_base: HttpApiGroup.HttpApiGroup<"sessionKey", HttpApiEndpoint.HttpApiEndpoint<"getActiveOperation", "GET", "/session-keys/installations/:installationId/operations/:kind", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
7
+ readonly installationId: import("effect/Schema").brand<import("effect/Schema").String, "SessionKeyInstallationId">;
8
+ readonly kind: import("effect/Schema").Literals<readonly ["install", "uninstall"]>;
9
+ }>>, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
10
+ readonly operation: import("effect/Schema").NullOr<import("effect/Schema").Struct<{
11
+ readonly retryRequest: import("effect/Schema").NullOr<import("effect/Schema").Struct<{
12
+ readonly installationId: import("effect/Schema").brand<import("effect/Schema").String, "SessionKeyInstallationId">;
13
+ readonly kind: import("effect/Schema").Literals<readonly ["install", "uninstall"]>;
14
+ readonly idempotencyKey: import("effect/Schema").String;
15
+ readonly sponsor: import("effect/Schema").Boolean;
16
+ }>>;
17
+ readonly operationId: import("effect/Schema").brand<import("effect/Schema").String, "SessionKeyOperationId">;
18
+ readonly status: import("effect/Schema").Literals<readonly ["awaiting-signature", "signed", "submitted", "confirmed", "failed", "expired"]>;
19
+ }>>;
20
+ }>>, import("effect/Schema").toCodecJson<HttpApiSchema.asNoContent<typeof import("effect/unstable/httpapi/HttpApiError").Forbidden> | HttpApiSchema.asNoContent<typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError> | typeof import("@namera-ai/protocol").RateLimitExceeded | typeof SessionKeyOperationError>, Authorization, never> | HttpApiEndpoint.HttpApiEndpoint<"getOperation", "GET", "/session-keys/operations/:operationId", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
21
+ readonly operationId: import("effect/Schema").brand<import("effect/Schema").String, "SessionKeyOperationId">;
22
+ }>>, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
23
+ readonly operationId: import("effect/Schema").brand<import("effect/Schema").String, "SessionKeyOperationId">;
24
+ readonly status: import("effect/Schema").Literals<readonly ["awaiting-signature", "signed", "submitted", "confirmed", "failed", "expired"]>;
25
+ }>>, import("effect/Schema").toCodecJson<HttpApiSchema.asNoContent<typeof import("effect/unstable/httpapi/HttpApiError").Forbidden> | HttpApiSchema.asNoContent<typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError> | typeof import("@namera-ai/protocol").RateLimitExceeded | typeof SessionKeyOperationError>, Authorization, never> | HttpApiEndpoint.HttpApiEndpoint<"completeOperation", "POST", "/session-keys/operations/complete", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
26
+ readonly operationId: import("effect/Schema").brand<import("effect/Schema").String, "SessionKeyOperationId">;
27
+ readonly response: import("effect/Schema").Struct<{
28
+ readonly id: import("effect/Schema").String;
29
+ readonly rawId: import("effect/Schema").String;
30
+ readonly type: import("effect/Schema").Literal<"public-key">;
31
+ readonly response: import("effect/Schema").Struct<{
32
+ readonly clientDataJSON: import("effect/Schema").String;
33
+ readonly authenticatorData: import("effect/Schema").String;
34
+ readonly signature: import("effect/Schema").String;
35
+ readonly userHandle: import("effect/Schema").optionalKey<import("effect/Schema").String>;
36
+ }>;
37
+ readonly authenticatorAttachment: import("effect/Schema").optionalKey<import("effect/Schema").Literals<readonly ["cross-platform", "platform"]>>;
38
+ readonly clientExtensionResults: import("effect/Schema").Struct<{}>;
39
+ }>;
40
+ }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
41
+ readonly operationId: import("effect/Schema").brand<import("effect/Schema").String, "SessionKeyOperationId">;
42
+ readonly status: import("effect/Schema").Literals<readonly ["awaiting-signature", "signed", "submitted", "confirmed", "failed", "expired"]>;
43
+ }>>, import("effect/Schema").toCodecJson<HttpApiSchema.asNoContent<typeof import("effect/unstable/httpapi/HttpApiError").Forbidden> | HttpApiSchema.asNoContent<typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError> | typeof import("@namera-ai/protocol").RateLimitExceeded | typeof BillingLimitExceededError | typeof SessionKeyOperationError>, Authorization, never> | HttpApiEndpoint.HttpApiEndpoint<"prepareOperation", "POST", "/session-keys/operations/prepare", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
44
+ readonly installationId: import("effect/Schema").brand<import("effect/Schema").String, "SessionKeyInstallationId">;
45
+ readonly kind: import("effect/Schema").Literals<readonly ["install", "uninstall"]>;
46
+ readonly idempotencyKey: import("effect/Schema").String;
47
+ readonly sponsor: import("effect/Schema").Boolean;
48
+ }>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
49
+ readonly operationId: import("effect/Schema").brand<import("effect/Schema").String, "SessionKeyOperationId">;
50
+ readonly namespace: import("effect/Schema").Literal<"eip155">;
51
+ readonly options: import("effect/Schema").Struct<{
52
+ readonly challenge: import("effect/Schema").String;
53
+ readonly rpId: import("effect/Schema").String;
54
+ readonly timeout: import("effect/Schema").Int;
55
+ readonly allowCredentials: import("effect/Schema").$Array<import("effect/Schema").Struct<{
56
+ readonly id: import("effect/Schema").String;
57
+ readonly type: import("effect/Schema").Literal<"public-key">;
58
+ readonly transports: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").String>>;
59
+ }>>;
60
+ readonly userVerification: import("effect/Schema").Literal<"required">;
61
+ }>;
62
+ readonly prepared: import("effect/Schema").Struct<{
63
+ readonly context: import("effect/Schema").Struct<{
64
+ readonly version: import("effect/Schema").Literal<1>;
65
+ readonly namespace: import("effect/Schema").Literal<"eip155">;
66
+ readonly chainId: import("effect/Schema").Literals<readonly ["eip155:1", "eip155:10", "eip155:8453", "eip155:42161", "eip155:84532", "eip155:421614", "eip155:11155111", "eip155:11155420"]>;
67
+ readonly account: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
68
+ readonly block: import("effect/Schema").Struct<{
69
+ readonly number: import("effect/Schema").BigIntFromString;
70
+ readonly hash: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "Bytes32">;
71
+ readonly timestamp: import("effect/Schema").DateTimeUtcFromDate;
72
+ }>;
73
+ readonly calls: import("effect/Schema").$Array<import("effect/Schema").Struct<{
74
+ readonly to: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
75
+ readonly value: import("effect/Schema").BigIntFromString;
76
+ readonly data: import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>;
77
+ }>>;
78
+ readonly userOperation: import("effect/Schema").Struct<{
79
+ readonly nonce: import("effect/Schema").BigIntFromString;
80
+ readonly gas: import("effect/Schema").Struct<{
81
+ readonly callGasLimit: import("effect/Schema").BigIntFromString;
82
+ readonly verificationGasLimit: import("effect/Schema").BigIntFromString;
83
+ readonly preVerificationGas: import("effect/Schema").BigIntFromString;
84
+ readonly paymasterVerificationGasLimit: import("effect/Schema").BigIntFromString;
85
+ readonly paymasterPostOpGasLimit: import("effect/Schema").BigIntFromString;
86
+ readonly maxFeePerGas: import("effect/Schema").BigIntFromString;
87
+ readonly maxPriorityFeePerGas: import("effect/Schema").BigIntFromString;
88
+ }>;
89
+ readonly paymaster: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">>;
90
+ }>;
91
+ readonly simulation: import("effect/Schema").Struct<{
92
+ readonly userOperation: import("effect/Schema").Struct<{
93
+ readonly source: import("effect/Schema").Literal<"eth_estimateUserOperationGas">;
94
+ readonly callGasLimit: import("effect/Schema").BigIntFromString;
95
+ readonly verificationGasLimit: import("effect/Schema").BigIntFromString;
96
+ readonly preVerificationGas: import("effect/Schema").BigIntFromString;
97
+ readonly maxFeePerGas: import("effect/Schema").BigIntFromString;
98
+ readonly maxPriorityFeePerGas: import("effect/Schema").BigIntFromString;
99
+ }>;
100
+ readonly calls: import("effect/Schema").Struct<{
101
+ readonly source: import("effect/Schema").Literal<"viem.simulateCalls">;
102
+ readonly results: import("effect/Schema").$Array<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
103
+ readonly status: import("effect/Schema").Literal<"success">;
104
+ readonly returnData: import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>;
105
+ readonly gasUsed: import("effect/Schema").BigIntFromString;
106
+ }>, import("effect/Schema").Struct<{
107
+ readonly status: import("effect/Schema").Literal<"failure">;
108
+ readonly returnData: import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>;
109
+ readonly gasUsed: import("effect/Schema").BigIntFromString;
110
+ }>]>>;
111
+ readonly assetChanges: import("effect/Schema").$Array<import("effect/Schema").Struct<{
112
+ readonly asset: import("effect/Schema").Struct<{
113
+ readonly address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
114
+ readonly symbol: import("effect/Schema").NullOr<import("effect/Schema").String>;
115
+ readonly decimals: import("effect/Schema").NullOr<import("effect/Schema").Int>;
116
+ }>;
117
+ readonly pre: import("effect/Schema").BigIntFromString;
118
+ readonly post: import("effect/Schema").BigIntFromString;
119
+ readonly diff: import("effect/Schema").BigIntFromString;
120
+ }>>;
121
+ readonly transfers: import("effect/Schema").$Array<import("effect/Schema").Struct<{
122
+ readonly callIndex: import("effect/Schema").Int;
123
+ readonly from: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
124
+ readonly to: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
125
+ readonly value: import("effect/Schema").BigIntFromString;
126
+ }>>;
127
+ }>;
128
+ }>;
129
+ }>;
130
+ readonly userOperation: import("effect/Schema").Struct<{
131
+ readonly sender: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
132
+ readonly nonce: import("effect/Schema").BigIntFromString;
133
+ readonly factory: import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">>;
134
+ readonly factoryData: import("effect/Schema").optionalKey<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>>;
135
+ readonly callData: import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>;
136
+ readonly callGasLimit: import("effect/Schema").BigIntFromString;
137
+ readonly verificationGasLimit: import("effect/Schema").BigIntFromString;
138
+ readonly preVerificationGas: import("effect/Schema").BigIntFromString;
139
+ readonly maxFeePerGas: import("effect/Schema").BigIntFromString;
140
+ readonly maxPriorityFeePerGas: import("effect/Schema").BigIntFromString;
141
+ readonly paymaster: import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">>;
142
+ readonly paymasterVerificationGasLimit: import("effect/Schema").optionalKey<import("effect/Schema").BigIntFromString>;
143
+ readonly paymasterPostOpGasLimit: import("effect/Schema").optionalKey<import("effect/Schema").BigIntFromString>;
144
+ readonly paymasterData: import("effect/Schema").optionalKey<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>>;
145
+ readonly signature: import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>;
146
+ readonly authorization: import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
147
+ readonly address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
148
+ readonly chainId: import("effect/Schema").Int;
149
+ readonly nonce: import("effect/Schema").Int;
150
+ readonly r: import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>;
151
+ readonly s: import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>;
152
+ readonly yParity: import("effect/Schema").Literals<readonly [0, 1]>;
153
+ }>>;
154
+ }>;
155
+ readonly billing: import("effect/Schema").Struct<{
156
+ readonly executionMeter: import("effect/Schema").Literals<readonly ["execution.mainnet", "execution.testnet"]>;
157
+ readonly sponsorship: import("effect/Schema").NullOr<import("effect/Schema").Struct<{
158
+ readonly provider: import("effect/Schema").Literal<"alchemy">;
159
+ readonly mode: import("effect/Schema").Literal<"bso">;
160
+ readonly reservationAmountMicroUsd: import("effect/Schema").BigIntFromString;
161
+ readonly quote: import("effect/Schema").Struct<{
162
+ readonly provider: import("effect/Schema").Literal<"alchemy">;
163
+ readonly currency: import("effect/Schema").Literal<"usd">;
164
+ readonly nativeAsset: import("effect/Schema").Literal<"ETH">;
165
+ readonly nativePriceMicroUsd: import("effect/Schema").BigIntFromString;
166
+ readonly surchargeBasisPoints: import("effect/Schema").Int;
167
+ readonly quotedAt: import("effect/Schema").DateTimeUtcFromString;
168
+ }>;
169
+ }>>;
170
+ }>;
171
+ readonly version: import("effect/Schema").Literal<1>;
172
+ readonly namespace: import("effect/Schema").Literal<"eip155">;
173
+ readonly chainId: import("effect/Schema").Literals<readonly ["eip155:1", "eip155:10", "eip155:8453", "eip155:42161", "eip155:84532", "eip155:421614", "eip155:11155111", "eip155:11155420"]>;
174
+ readonly entryPointVersion: import("effect/Schema").Literal<"0.7">;
175
+ readonly entryPoint: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
176
+ readonly sponsorship: import("effect/Schema").Literals<readonly ["none", "alchemy-bso"]>;
177
+ }>;
178
+ readonly expiresAt: import("effect/Schema").DateTimeUtcFromDate;
179
+ }>>, import("effect/Schema").toCodecJson<HttpApiSchema.asNoContent<typeof import("effect/unstable/httpapi/HttpApiError").Forbidden> | HttpApiSchema.asNoContent<typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError> | typeof import("@namera-ai/protocol").RateLimitExceeded | typeof SessionKeyOperationError>, Authorization, never> | HttpApiEndpoint.HttpApiEndpoint<"create", "POST", "/session-keys/", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
180
+ readonly namespace: import("effect/Schema").Literal<"eip155">;
181
+ readonly walletId: import("effect/Schema").brand<import("effect/Schema").String, "WalletId">;
182
+ readonly metadata: import("effect/Schema").Struct<{
183
+ readonly version: import("effect/Schema").Literal<1>;
184
+ readonly name: import("effect/Schema").String;
185
+ readonly logo: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
186
+ readonly type: import("effect/Schema").Literal<"icon">;
187
+ readonly value: import("effect/Schema").String;
188
+ readonly color: import("effect/Schema").String;
189
+ }>, import("effect/Schema").Struct<{
190
+ readonly type: import("effect/Schema").Literal<"emoji">;
191
+ readonly value: import("effect/Schema").String;
192
+ }>, import("effect/Schema").Struct<{
193
+ readonly type: import("effect/Schema").Literal<"image">;
194
+ readonly value: import("effect/Schema").String;
195
+ }>]>>;
196
+ readonly description: import("effect/Schema").optionalKey<import("effect/Schema").String>;
197
+ }>;
198
+ readonly signer: import("effect/Schema").Struct<{
199
+ readonly custody: import("effect/Schema").Literal<"local">;
200
+ readonly algorithm: import("effect/Schema").Literal<"secp256k1">;
201
+ readonly publicKey: import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>;
202
+ }>;
203
+ readonly onchain: import("effect/Schema").Struct<{
204
+ readonly chains: import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["eip155:1", "eip155:10", "eip155:8453", "eip155:42161", "eip155:84532", "eip155:421614", "eip155:11155111", "eip155:11155420"]>>;
205
+ readonly validAfter: import("effect/Schema").Int;
206
+ readonly validUntil: import("effect/Schema").Int;
207
+ readonly permissions: import("effect/Schema").$Array<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
208
+ readonly type: import("effect/Schema").Literal<"native-token-transfer">;
209
+ readonly allowance: import("effect/Schema").BigIntFromString;
210
+ }>, import("effect/Schema").Struct<{
211
+ readonly type: import("effect/Schema").Literal<"erc20-token-transfer">;
212
+ readonly address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
213
+ readonly allowance: import("effect/Schema").BigIntFromString;
214
+ }>, import("effect/Schema").Struct<{
215
+ readonly type: import("effect/Schema").Literal<"gas-limit">;
216
+ readonly limit: import("effect/Schema").BigIntFromString;
217
+ }>, import("effect/Schema").Struct<{
218
+ readonly type: import("effect/Schema").Literal<"contract-access">;
219
+ readonly address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
220
+ }>, import("effect/Schema").Struct<{
221
+ readonly type: import("effect/Schema").Literal<"account-functions">;
222
+ readonly functions: import("effect/Schema").$Array<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>>;
223
+ }>, import("effect/Schema").Struct<{
224
+ readonly type: import("effect/Schema").Literal<"functions-on-all-contracts">;
225
+ readonly functions: import("effect/Schema").$Array<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>>;
226
+ }>, import("effect/Schema").Struct<{
227
+ readonly type: import("effect/Schema").Literal<"functions-on-contract">;
228
+ readonly address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
229
+ readonly functions: import("effect/Schema").$Array<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>>;
230
+ }>, import("effect/Schema").Struct<{
231
+ readonly type: import("effect/Schema").Literal<"root">;
232
+ }>]>>;
233
+ readonly allowSignatures: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
234
+ }>;
235
+ readonly policies: import("effect/Schema").$Array<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
236
+ type: import("effect/Schema").Literal<"evm.contract-access">;
237
+ address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
238
+ version: import("effect/Schema").Literal<1>;
239
+ }>, import("effect/Schema").Struct<{
240
+ type: import("effect/Schema").Literal<"evm.functions-on-contract">;
241
+ address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
242
+ functions: import("effect/Schema").$Array<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>>;
243
+ version: import("effect/Schema").Literal<1>;
244
+ }>, import("effect/Schema").Struct<{
245
+ type: import("effect/Schema").Literal<"evm.functions-on-all-contracts">;
246
+ functions: import("effect/Schema").$Array<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>>;
247
+ version: import("effect/Schema").Literal<1>;
248
+ }>, import("effect/Schema").Struct<{
249
+ type: import("effect/Schema").Literal<"evm.account-functions">;
250
+ functions: import("effect/Schema").$Array<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>>;
251
+ version: import("effect/Schema").Literal<1>;
252
+ }>, import("effect/Schema").Struct<{
253
+ type: import("effect/Schema").Literal<"evm.erc20-token-transfer">;
254
+ version: import("effect/Schema").Literal<1>;
255
+ address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
256
+ allowance: import("effect/Schema").BigIntFromString;
257
+ }>, import("effect/Schema").Struct<{
258
+ type: import("effect/Schema").Literal<"evm.time-window">;
259
+ version: import("effect/Schema").Literal<1>;
260
+ startsAt: import("effect/Schema").NullOr<import("effect/Schema").DateTimeUtcFromString>;
261
+ expiresAt: import("effect/Schema").DateTimeUtcFromString;
262
+ }>, import("effect/Schema").Struct<{
263
+ type: import("effect/Schema").Literal<"evm.chain-allowlist">;
264
+ version: import("effect/Schema").Literal<1>;
265
+ chainIds: import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["eip155:1", "eip155:10", "eip155:8453", "eip155:42161", "eip155:84532", "eip155:421614", "eip155:11155111", "eip155:11155420"]>>;
266
+ }>, import("effect/Schema").Struct<{
267
+ type: import("effect/Schema").Literal<"evm.gas-budget">;
268
+ version: import("effect/Schema").Literal<1>;
269
+ budgets: import("effect/Schema").$Array<import("effect/Schema").Struct<{
270
+ readonly chainId: import("effect/Schema").Literals<readonly ["eip155:1", "eip155:10", "eip155:8453", "eip155:42161", "eip155:84532", "eip155:421614", "eip155:11155111", "eip155:11155420"]>;
271
+ readonly period: import("effect/Schema").Literals<readonly ["hour", "day", "week", "lifetime"]>;
272
+ readonly maxCost: import("effect/Schema").BigIntFromString;
273
+ }>>;
274
+ }>, import("effect/Schema").Struct<{
275
+ type: import("effect/Schema").Literal<"evm.native-spend-limit">;
276
+ version: import("effect/Schema").Literal<1>;
277
+ limits: import("effect/Schema").$Array<import("effect/Schema").Struct<{
278
+ readonly chainId: import("effect/Schema").Literals<readonly ["eip155:1", "eip155:10", "eip155:8453", "eip155:42161", "eip155:84532", "eip155:421614", "eip155:11155111", "eip155:11155420"]>;
279
+ readonly period: import("effect/Schema").Literals<readonly ["operation", "hour", "day", "week", "month", "lifetime"]>;
280
+ readonly maxAmount: import("effect/Schema").BigIntFromString;
281
+ }>>;
282
+ }>, import("effect/Schema").Struct<{
283
+ type: import("effect/Schema").Literal<"evm.signature">;
284
+ version: import("effect/Schema").Literal<1>;
285
+ allowedTypes: import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["message", "typed-data"]>>;
286
+ typedDataRules: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").Struct<{
287
+ readonly chainId: import("effect/Schema").Literals<readonly ["eip155:1", "eip155:10", "eip155:8453", "eip155:42161", "eip155:84532", "eip155:421614", "eip155:11155111", "eip155:11155420"]>;
288
+ readonly verifyingContract: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
289
+ readonly name: import("effect/Schema").optionalKey<import("effect/Schema").String>;
290
+ readonly version: import("effect/Schema").optionalKey<import("effect/Schema").String>;
291
+ readonly primaryTypes: import("effect/Schema").$Array<import("effect/Schema").String>;
292
+ }>>>;
293
+ }>]>>;
294
+ }>]>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
295
+ readonly wallet: import("effect/Schema").Union<readonly [import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
296
+ readonly data: import("effect/Schema").Struct<{
297
+ readonly version: import("effect/Schema").Literal<1>;
298
+ readonly modularAccountVersion: import("effect/Schema").Literal<"2.0.0">;
299
+ readonly validatorType: import("effect/Schema").Literal<"webauthn_p256">;
300
+ readonly entryPointVersion: import("effect/Schema").Literal<"0.7">;
301
+ readonly salt: import("effect/Schema").BigIntFromString;
302
+ readonly entityId: import("effect/Schema").Int;
303
+ }>;
304
+ readonly implementation: import("effect/Schema").Literal<"alchemy-modular-v2">;
305
+ readonly createdAt: import("effect/Schema").DateTimeUtcFromDate;
306
+ readonly updatedAt: import("effect/Schema").DateTimeUtcFromDate;
307
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "WalletId">;
308
+ readonly organizationId: import("effect/Schema").brand<import("effect/Schema").String, "OrganizationId">;
309
+ readonly metadata: import("effect/Schema").Struct<{
310
+ readonly version: import("effect/Schema").Literal<1>;
311
+ readonly name: import("effect/Schema").String;
312
+ readonly logo: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
313
+ readonly type: import("effect/Schema").Literal<"icon">;
314
+ readonly value: import("effect/Schema").String;
315
+ readonly color: import("effect/Schema").String;
316
+ }>, import("effect/Schema").Struct<{
317
+ readonly type: import("effect/Schema").Literal<"emoji">;
318
+ readonly value: import("effect/Schema").String;
319
+ }>, import("effect/Schema").Struct<{
320
+ readonly type: import("effect/Schema").Literal<"image">;
321
+ readonly value: import("effect/Schema").String;
322
+ }>]>>;
323
+ readonly description: import("effect/Schema").optionalKey<import("effect/Schema").String>;
324
+ }>;
325
+ readonly status: import("effect/Schema").Literals<readonly ["active", "frozen", "archived"]>;
326
+ readonly namespace: import("effect/Schema").Literal<"eip155">;
327
+ readonly address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
328
+ readonly owner: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
329
+ readonly signingKeyId: import("effect/Schema").brand<import("effect/Schema").String, "SigningKeyId">;
330
+ readonly custody: import("effect/Schema").Literal<"local">;
331
+ readonly algorithm: import("effect/Schema").Literals<readonly ["p256", "secp256k1", "ed25519"]>;
332
+ }>, import("effect/Schema").Struct<{
333
+ readonly signingKeyId: import("effect/Schema").brand<import("effect/Schema").String, "SigningKeyId">;
334
+ readonly custody: import("effect/Schema").Literal<"namera-managed">;
335
+ readonly algorithm: import("effect/Schema").Literals<readonly ["p256", "secp256k1", "ed25519"]>;
336
+ readonly protectionLevel: import("effect/Schema").Literals<readonly ["software", "hsm"]>;
337
+ }>]>;
338
+ }>, import("effect/Schema").Struct<{
339
+ readonly data: import("effect/Schema").Struct<{
340
+ readonly version: import("effect/Schema").Literal<1>;
341
+ readonly modularAccountVersion: import("effect/Schema").Literal<"2.0.0">;
342
+ readonly validatorType: import("effect/Schema").Literal<"ecdsa_secp256k1">;
343
+ readonly entryPointVersion: import("effect/Schema").Literal<"0.7">;
344
+ readonly accountMode: import("effect/Schema").Literal<"7702">;
345
+ readonly delegationVersion: import("effect/Schema").Literals<readonly ["v1.0.0", "v1.1.0"]>;
346
+ }>;
347
+ readonly implementation: import("effect/Schema").Literal<"alchemy-modular-v2">;
348
+ readonly createdAt: import("effect/Schema").DateTimeUtcFromDate;
349
+ readonly updatedAt: import("effect/Schema").DateTimeUtcFromDate;
350
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "WalletId">;
351
+ readonly organizationId: import("effect/Schema").brand<import("effect/Schema").String, "OrganizationId">;
352
+ readonly metadata: import("effect/Schema").Struct<{
353
+ readonly version: import("effect/Schema").Literal<1>;
354
+ readonly name: import("effect/Schema").String;
355
+ readonly logo: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
356
+ readonly type: import("effect/Schema").Literal<"icon">;
357
+ readonly value: import("effect/Schema").String;
358
+ readonly color: import("effect/Schema").String;
359
+ }>, import("effect/Schema").Struct<{
360
+ readonly type: import("effect/Schema").Literal<"emoji">;
361
+ readonly value: import("effect/Schema").String;
362
+ }>, import("effect/Schema").Struct<{
363
+ readonly type: import("effect/Schema").Literal<"image">;
364
+ readonly value: import("effect/Schema").String;
365
+ }>]>>;
366
+ readonly description: import("effect/Schema").optionalKey<import("effect/Schema").String>;
367
+ }>;
368
+ readonly status: import("effect/Schema").Literals<readonly ["active", "frozen", "archived"]>;
369
+ readonly namespace: import("effect/Schema").Literal<"eip155">;
370
+ readonly address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
371
+ readonly owner: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
372
+ readonly signingKeyId: import("effect/Schema").brand<import("effect/Schema").String, "SigningKeyId">;
373
+ readonly custody: import("effect/Schema").Literal<"local">;
374
+ readonly algorithm: import("effect/Schema").Literals<readonly ["p256", "secp256k1", "ed25519"]>;
375
+ }>, import("effect/Schema").Struct<{
376
+ readonly signingKeyId: import("effect/Schema").brand<import("effect/Schema").String, "SigningKeyId">;
377
+ readonly custody: import("effect/Schema").Literal<"namera-managed">;
378
+ readonly algorithm: import("effect/Schema").Literals<readonly ["p256", "secp256k1", "ed25519"]>;
379
+ readonly protectionLevel: import("effect/Schema").Literals<readonly ["software", "hsm"]>;
380
+ }>]>;
381
+ }>]>]>;
382
+ readonly creator: import("effect/Schema").Struct<{
383
+ readonly organizationMember: import("effect/Schema").Struct<{
384
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "OrganizationMemberId">;
385
+ readonly organizationId: import("effect/Schema").brand<import("effect/Schema").String, "OrganizationId">;
386
+ readonly userId: import("effect/Schema").brand<import("effect/Schema").String, "UserId">;
387
+ readonly organizationRoleId: import("effect/Schema").brand<import("effect/Schema").String, "OrganizationRoleId">;
388
+ readonly joinedAt: import("effect/Schema").DateTimeUtcFromDate;
389
+ }>;
390
+ readonly user: import("effect/Schema").Struct<{
391
+ readonly metadata: import("effect/Schema").Struct<{
392
+ readonly version: import("effect/Schema").Literal<1>;
393
+ readonly name: import("effect/Schema").optionalKey<import("effect/Schema").String>;
394
+ readonly image: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
395
+ readonly type: import("effect/Schema").Literal<"icon">;
396
+ readonly value: import("effect/Schema").String;
397
+ readonly color: import("effect/Schema").String;
398
+ }>, import("effect/Schema").Struct<{
399
+ readonly type: import("effect/Schema").Literal<"emoji">;
400
+ readonly value: import("effect/Schema").String;
401
+ }>, import("effect/Schema").Struct<{
402
+ readonly type: import("effect/Schema").Literal<"image">;
403
+ readonly value: import("effect/Schema").String;
404
+ }>]>>;
405
+ }>;
406
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "UserId">;
407
+ readonly lastLoginAt: import("effect/Schema").NullOr<import("effect/Schema").DateTimeUtcFromDate>;
408
+ readonly email: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").toType<import("effect/Schema").String>, import("effect/Schema").String, never, never>, "Email">;
409
+ readonly emailVerified: import("effect/Schema").Boolean;
410
+ }>;
411
+ readonly organizationRole: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
412
+ readonly type: import("effect/Schema").Literal<"system">;
413
+ readonly metadata: import("effect/Schema").Struct<{
414
+ readonly version: import("effect/Schema").Literal<1>;
415
+ readonly name: import("effect/Schema").String;
416
+ readonly logo: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
417
+ readonly type: import("effect/Schema").Literal<"icon">;
418
+ readonly value: import("effect/Schema").String;
419
+ readonly color: import("effect/Schema").String;
420
+ }>, import("effect/Schema").Struct<{
421
+ readonly type: import("effect/Schema").Literal<"emoji">;
422
+ readonly value: import("effect/Schema").String;
423
+ }>, import("effect/Schema").Struct<{
424
+ readonly type: import("effect/Schema").Literal<"image">;
425
+ readonly value: import("effect/Schema").String;
426
+ }>]>>;
427
+ readonly description: import("effect/Schema").optionalKey<import("effect/Schema").String>;
428
+ }>;
429
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "OrganizationRoleId">;
430
+ readonly systemRoleId: import("effect/Schema").brand<import("effect/Schema").String, "SystemRoleId">;
431
+ readonly key: import("effect/Schema").String;
432
+ readonly permissions: import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["organization:read", "organization:update", "member:read", "member:update", "member:remove", "invitation:read", "invitation:create", "invitation:cancel", "role:read", "role:create", "role:update", "role:delete", "billing:read", "billing:update", "billing:cancel", "wallet:read", "wallet:create", "wallet:update", "session-key:read", "session-key:create", "session-key:revoke", "api-key:read", "api-key:create", "api-key:revoke", "execution:read", "mcp-authorization:read", "mcp-authorization:create", "mcp-authorization:revoke", "cli-authorization:read", "cli-authorization:create", "cli-authorization:revoke"]>>;
433
+ }>, import("effect/Schema").Struct<{
434
+ readonly type: import("effect/Schema").Literal<"custom">;
435
+ readonly metadata: import("effect/Schema").Struct<{
436
+ readonly version: import("effect/Schema").Literal<1>;
437
+ readonly name: import("effect/Schema").String;
438
+ readonly logo: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
439
+ readonly type: import("effect/Schema").Literal<"icon">;
440
+ readonly value: import("effect/Schema").String;
441
+ readonly color: import("effect/Schema").String;
442
+ }>, import("effect/Schema").Struct<{
443
+ readonly type: import("effect/Schema").Literal<"emoji">;
444
+ readonly value: import("effect/Schema").String;
445
+ }>, import("effect/Schema").Struct<{
446
+ readonly type: import("effect/Schema").Literal<"image">;
447
+ readonly value: import("effect/Schema").String;
448
+ }>]>>;
449
+ readonly description: import("effect/Schema").optionalKey<import("effect/Schema").String>;
450
+ }>;
451
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "OrganizationRoleId">;
452
+ readonly systemRoleId: import("effect/Schema").Null;
453
+ readonly key: import("effect/Schema").String;
454
+ readonly permissions: import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["organization:read", "organization:update", "member:read", "member:update", "member:remove", "invitation:read", "invitation:create", "invitation:cancel", "role:read", "role:create", "role:update", "role:delete", "billing:read", "billing:update", "billing:cancel", "wallet:read", "wallet:create", "wallet:update", "session-key:read", "session-key:create", "session-key:revoke", "api-key:read", "api-key:create", "api-key:revoke", "execution:read", "mcp-authorization:read", "mcp-authorization:create", "mcp-authorization:revoke", "cli-authorization:read", "cli-authorization:create", "cli-authorization:revoke"]>>;
455
+ }>]>;
456
+ }>;
457
+ readonly installations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
458
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "SessionKeyInstallationId">;
459
+ readonly chainId: import("effect/Schema").Literals<readonly ["eip155:1", "eip155:10", "eip155:8453", "eip155:42161", "eip155:84532", "eip155:421614", "eip155:11155111", "eip155:11155420"]>;
460
+ readonly status: import("effect/Schema").Literals<readonly ["pending", "submitted", "installed", "revoking", "revoked", "failed"]>;
461
+ readonly authorization: import("effect/Schema").Struct<{
462
+ readonly version: import("effect/Schema").Literal<1>;
463
+ readonly entityId: import("effect/Schema").Int;
464
+ readonly signerAddress: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
465
+ readonly permissions: import("effect/Schema").$Array<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
466
+ readonly type: import("effect/Schema").Literal<"native-token-transfer">;
467
+ readonly allowance: import("effect/Schema").BigIntFromString;
468
+ }>, import("effect/Schema").Struct<{
469
+ readonly type: import("effect/Schema").Literal<"erc20-token-transfer">;
470
+ readonly address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
471
+ readonly allowance: import("effect/Schema").BigIntFromString;
472
+ }>, import("effect/Schema").Struct<{
473
+ readonly type: import("effect/Schema").Literal<"gas-limit">;
474
+ readonly limit: import("effect/Schema").BigIntFromString;
475
+ }>, import("effect/Schema").Struct<{
476
+ readonly type: import("effect/Schema").Literal<"contract-access">;
477
+ readonly address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
478
+ }>, import("effect/Schema").Struct<{
479
+ readonly type: import("effect/Schema").Literal<"account-functions">;
480
+ readonly functions: import("effect/Schema").$Array<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>>;
481
+ }>, import("effect/Schema").Struct<{
482
+ readonly type: import("effect/Schema").Literal<"functions-on-all-contracts">;
483
+ readonly functions: import("effect/Schema").$Array<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>>;
484
+ }>, import("effect/Schema").Struct<{
485
+ readonly type: import("effect/Schema").Literal<"functions-on-contract">;
486
+ readonly address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
487
+ readonly functions: import("effect/Schema").$Array<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>>;
488
+ }>, import("effect/Schema").Struct<{
489
+ readonly type: import("effect/Schema").Literal<"root">;
490
+ }>]>>;
491
+ readonly allowSignatures: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
492
+ readonly validAfter: import("effect/Schema").Int;
493
+ readonly validUntil: import("effect/Schema").Int;
494
+ }>;
495
+ readonly installTransactionHash: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "Bytes32">, "TransactionHash">>;
496
+ readonly uninstallTransactionHash: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "Bytes32">, "TransactionHash">>;
497
+ }>>;
498
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "SessionKeyId">;
499
+ readonly organizationId: import("effect/Schema").brand<import("effect/Schema").String, "OrganizationId">;
500
+ readonly walletId: import("effect/Schema").brand<import("effect/Schema").String, "WalletId">;
501
+ readonly signingKeyId: import("effect/Schema").brand<import("effect/Schema").String, "SigningKeyId">;
502
+ readonly namespace: import("effect/Schema").Literal<"eip155">;
503
+ readonly metadata: import("effect/Schema").Struct<{
504
+ readonly version: import("effect/Schema").Literal<1>;
505
+ readonly name: import("effect/Schema").String;
506
+ readonly logo: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
507
+ readonly type: import("effect/Schema").Literal<"icon">;
508
+ readonly value: import("effect/Schema").String;
509
+ readonly color: import("effect/Schema").String;
510
+ }>, import("effect/Schema").Struct<{
511
+ readonly type: import("effect/Schema").Literal<"emoji">;
512
+ readonly value: import("effect/Schema").String;
513
+ }>, import("effect/Schema").Struct<{
514
+ readonly type: import("effect/Schema").Literal<"image">;
515
+ readonly value: import("effect/Schema").String;
516
+ }>]>>;
517
+ readonly description: import("effect/Schema").optionalKey<import("effect/Schema").String>;
518
+ }>;
519
+ readonly policies: import("effect/Schema").$Array<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
520
+ readonly type: import("effect/Schema").Literal<"evm.contract-access">;
521
+ readonly address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
522
+ readonly version: import("effect/Schema").Literal<1>;
523
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
524
+ readonly appliesTo: import("effect/Schema").Literal<"execution">;
525
+ }>, import("effect/Schema").Struct<{
526
+ readonly type: import("effect/Schema").Literal<"evm.functions-on-contract">;
527
+ readonly address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
528
+ readonly functions: import("effect/Schema").$Array<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>>;
529
+ readonly version: import("effect/Schema").Literal<1>;
530
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
531
+ readonly appliesTo: import("effect/Schema").Literal<"execution">;
532
+ }>, import("effect/Schema").Struct<{
533
+ readonly type: import("effect/Schema").Literal<"evm.functions-on-all-contracts">;
534
+ readonly functions: import("effect/Schema").$Array<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>>;
535
+ readonly version: import("effect/Schema").Literal<1>;
536
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
537
+ readonly appliesTo: import("effect/Schema").Literal<"execution">;
538
+ }>, import("effect/Schema").Struct<{
539
+ readonly type: import("effect/Schema").Literal<"evm.account-functions">;
540
+ readonly functions: import("effect/Schema").$Array<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>>;
541
+ readonly version: import("effect/Schema").Literal<1>;
542
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
543
+ readonly appliesTo: import("effect/Schema").Literal<"execution">;
544
+ }>, import("effect/Schema").Struct<{
545
+ readonly type: import("effect/Schema").Literal<"evm.erc20-token-transfer">;
546
+ readonly version: import("effect/Schema").Literal<1>;
547
+ readonly address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
548
+ readonly allowance: import("effect/Schema").BigIntFromString;
549
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
550
+ readonly appliesTo: import("effect/Schema").Literal<"execution">;
551
+ }>, import("effect/Schema").Struct<{
552
+ readonly type: import("effect/Schema").Literal<"evm.time-window">;
553
+ readonly version: import("effect/Schema").Literal<1>;
554
+ readonly startsAt: import("effect/Schema").NullOr<import("effect/Schema").DateTimeUtcFromString>;
555
+ readonly expiresAt: import("effect/Schema").DateTimeUtcFromString;
556
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
557
+ readonly appliesTo: import("effect/Schema").Literal<"both">;
558
+ }>, import("effect/Schema").Struct<{
559
+ readonly type: import("effect/Schema").Literal<"evm.chain-allowlist">;
560
+ readonly version: import("effect/Schema").Literal<1>;
561
+ readonly chainIds: import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["eip155:1", "eip155:10", "eip155:8453", "eip155:42161", "eip155:84532", "eip155:421614", "eip155:11155111", "eip155:11155420"]>>;
562
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
563
+ readonly appliesTo: import("effect/Schema").Literal<"both">;
564
+ }>, import("effect/Schema").Struct<{
565
+ readonly type: import("effect/Schema").Literal<"evm.gas-budget">;
566
+ readonly version: import("effect/Schema").Literal<1>;
567
+ readonly budgets: import("effect/Schema").$Array<import("effect/Schema").Struct<{
568
+ readonly chainId: import("effect/Schema").Literals<readonly ["eip155:1", "eip155:10", "eip155:8453", "eip155:42161", "eip155:84532", "eip155:421614", "eip155:11155111", "eip155:11155420"]>;
569
+ readonly period: import("effect/Schema").Literals<readonly ["hour", "day", "week", "lifetime"]>;
570
+ readonly maxCost: import("effect/Schema").BigIntFromString;
571
+ }>>;
572
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
573
+ readonly appliesTo: import("effect/Schema").Literal<"execution">;
574
+ }>, import("effect/Schema").Struct<{
575
+ readonly type: import("effect/Schema").Literal<"evm.native-spend-limit">;
576
+ readonly version: import("effect/Schema").Literal<1>;
577
+ readonly limits: import("effect/Schema").$Array<import("effect/Schema").Struct<{
578
+ readonly chainId: import("effect/Schema").Literals<readonly ["eip155:1", "eip155:10", "eip155:8453", "eip155:42161", "eip155:84532", "eip155:421614", "eip155:11155111", "eip155:11155420"]>;
579
+ readonly period: import("effect/Schema").Literals<readonly ["operation", "hour", "day", "week", "month", "lifetime"]>;
580
+ readonly maxAmount: import("effect/Schema").BigIntFromString;
581
+ }>>;
582
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
583
+ readonly appliesTo: import("effect/Schema").Literal<"execution">;
584
+ }>, import("effect/Schema").Struct<{
585
+ readonly type: import("effect/Schema").Literal<"evm.signature">;
586
+ readonly version: import("effect/Schema").Literal<1>;
587
+ readonly allowedTypes: import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["message", "typed-data"]>>;
588
+ readonly typedDataRules: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").Struct<{
589
+ readonly chainId: import("effect/Schema").Literals<readonly ["eip155:1", "eip155:10", "eip155:8453", "eip155:42161", "eip155:84532", "eip155:421614", "eip155:11155111", "eip155:11155420"]>;
590
+ readonly verifyingContract: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
591
+ readonly name: import("effect/Schema").optionalKey<import("effect/Schema").String>;
592
+ readonly version: import("effect/Schema").optionalKey<import("effect/Schema").String>;
593
+ readonly primaryTypes: import("effect/Schema").$Array<import("effect/Schema").String>;
594
+ }>>>;
595
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
596
+ readonly appliesTo: import("effect/Schema").Literal<"signature">;
597
+ }>]>>;
598
+ readonly policyHash: import("effect/Schema").String;
599
+ readonly status: import("effect/Schema").Literals<readonly ["pending", "active", "revoking", "revoked"]>;
600
+ readonly revokedAt: import("effect/Schema").NullOr<import("effect/Schema").DateTimeUtcFromDate>;
601
+ readonly createdAt: import("effect/Schema").DateTimeUtcFromDate;
602
+ }>]>>, import("effect/Schema").toCodecJson<HttpApiSchema.asNoContent<typeof import("effect/unstable/httpapi/HttpApiError").Forbidden> | HttpApiSchema.asNoContent<typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError> | typeof import("@namera-ai/protocol").RateLimitExceeded | typeof WalletNotFoundError | typeof SessionKeyCreationError>, Authorization, never> | HttpApiEndpoint.HttpApiEndpoint<"listForOrganization", "GET", "/session-keys/", never, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").$Array<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
603
+ readonly wallet: import("effect/Schema").Union<readonly [import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
604
+ readonly data: import("effect/Schema").Struct<{
605
+ readonly version: import("effect/Schema").Literal<1>;
606
+ readonly modularAccountVersion: import("effect/Schema").Literal<"2.0.0">;
607
+ readonly validatorType: import("effect/Schema").Literal<"webauthn_p256">;
608
+ readonly entryPointVersion: import("effect/Schema").Literal<"0.7">;
609
+ readonly salt: import("effect/Schema").BigIntFromString;
610
+ readonly entityId: import("effect/Schema").Int;
611
+ }>;
612
+ readonly implementation: import("effect/Schema").Literal<"alchemy-modular-v2">;
613
+ readonly createdAt: import("effect/Schema").DateTimeUtcFromDate;
614
+ readonly updatedAt: import("effect/Schema").DateTimeUtcFromDate;
615
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "WalletId">;
616
+ readonly organizationId: import("effect/Schema").brand<import("effect/Schema").String, "OrganizationId">;
617
+ readonly metadata: import("effect/Schema").Struct<{
618
+ readonly version: import("effect/Schema").Literal<1>;
619
+ readonly name: import("effect/Schema").String;
620
+ readonly logo: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
621
+ readonly type: import("effect/Schema").Literal<"icon">;
622
+ readonly value: import("effect/Schema").String;
623
+ readonly color: import("effect/Schema").String;
624
+ }>, import("effect/Schema").Struct<{
625
+ readonly type: import("effect/Schema").Literal<"emoji">;
626
+ readonly value: import("effect/Schema").String;
627
+ }>, import("effect/Schema").Struct<{
628
+ readonly type: import("effect/Schema").Literal<"image">;
629
+ readonly value: import("effect/Schema").String;
630
+ }>]>>;
631
+ readonly description: import("effect/Schema").optionalKey<import("effect/Schema").String>;
632
+ }>;
633
+ readonly status: import("effect/Schema").Literals<readonly ["active", "frozen", "archived"]>;
634
+ readonly namespace: import("effect/Schema").Literal<"eip155">;
635
+ readonly address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
636
+ readonly owner: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
637
+ readonly signingKeyId: import("effect/Schema").brand<import("effect/Schema").String, "SigningKeyId">;
638
+ readonly custody: import("effect/Schema").Literal<"local">;
639
+ readonly algorithm: import("effect/Schema").Literals<readonly ["p256", "secp256k1", "ed25519"]>;
640
+ }>, import("effect/Schema").Struct<{
641
+ readonly signingKeyId: import("effect/Schema").brand<import("effect/Schema").String, "SigningKeyId">;
642
+ readonly custody: import("effect/Schema").Literal<"namera-managed">;
643
+ readonly algorithm: import("effect/Schema").Literals<readonly ["p256", "secp256k1", "ed25519"]>;
644
+ readonly protectionLevel: import("effect/Schema").Literals<readonly ["software", "hsm"]>;
645
+ }>]>;
646
+ }>, import("effect/Schema").Struct<{
647
+ readonly data: import("effect/Schema").Struct<{
648
+ readonly version: import("effect/Schema").Literal<1>;
649
+ readonly modularAccountVersion: import("effect/Schema").Literal<"2.0.0">;
650
+ readonly validatorType: import("effect/Schema").Literal<"ecdsa_secp256k1">;
651
+ readonly entryPointVersion: import("effect/Schema").Literal<"0.7">;
652
+ readonly accountMode: import("effect/Schema").Literal<"7702">;
653
+ readonly delegationVersion: import("effect/Schema").Literals<readonly ["v1.0.0", "v1.1.0"]>;
654
+ }>;
655
+ readonly implementation: import("effect/Schema").Literal<"alchemy-modular-v2">;
656
+ readonly createdAt: import("effect/Schema").DateTimeUtcFromDate;
657
+ readonly updatedAt: import("effect/Schema").DateTimeUtcFromDate;
658
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "WalletId">;
659
+ readonly organizationId: import("effect/Schema").brand<import("effect/Schema").String, "OrganizationId">;
660
+ readonly metadata: import("effect/Schema").Struct<{
661
+ readonly version: import("effect/Schema").Literal<1>;
662
+ readonly name: import("effect/Schema").String;
663
+ readonly logo: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
664
+ readonly type: import("effect/Schema").Literal<"icon">;
665
+ readonly value: import("effect/Schema").String;
666
+ readonly color: import("effect/Schema").String;
667
+ }>, import("effect/Schema").Struct<{
668
+ readonly type: import("effect/Schema").Literal<"emoji">;
669
+ readonly value: import("effect/Schema").String;
670
+ }>, import("effect/Schema").Struct<{
671
+ readonly type: import("effect/Schema").Literal<"image">;
672
+ readonly value: import("effect/Schema").String;
673
+ }>]>>;
674
+ readonly description: import("effect/Schema").optionalKey<import("effect/Schema").String>;
675
+ }>;
676
+ readonly status: import("effect/Schema").Literals<readonly ["active", "frozen", "archived"]>;
677
+ readonly namespace: import("effect/Schema").Literal<"eip155">;
678
+ readonly address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
679
+ readonly owner: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
680
+ readonly signingKeyId: import("effect/Schema").brand<import("effect/Schema").String, "SigningKeyId">;
681
+ readonly custody: import("effect/Schema").Literal<"local">;
682
+ readonly algorithm: import("effect/Schema").Literals<readonly ["p256", "secp256k1", "ed25519"]>;
683
+ }>, import("effect/Schema").Struct<{
684
+ readonly signingKeyId: import("effect/Schema").brand<import("effect/Schema").String, "SigningKeyId">;
685
+ readonly custody: import("effect/Schema").Literal<"namera-managed">;
686
+ readonly algorithm: import("effect/Schema").Literals<readonly ["p256", "secp256k1", "ed25519"]>;
687
+ readonly protectionLevel: import("effect/Schema").Literals<readonly ["software", "hsm"]>;
688
+ }>]>;
689
+ }>]>]>;
690
+ readonly creator: import("effect/Schema").Struct<{
691
+ readonly organizationMember: import("effect/Schema").Struct<{
692
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "OrganizationMemberId">;
693
+ readonly organizationId: import("effect/Schema").brand<import("effect/Schema").String, "OrganizationId">;
694
+ readonly userId: import("effect/Schema").brand<import("effect/Schema").String, "UserId">;
695
+ readonly organizationRoleId: import("effect/Schema").brand<import("effect/Schema").String, "OrganizationRoleId">;
696
+ readonly joinedAt: import("effect/Schema").DateTimeUtcFromDate;
697
+ }>;
698
+ readonly user: import("effect/Schema").Struct<{
699
+ readonly metadata: import("effect/Schema").Struct<{
700
+ readonly version: import("effect/Schema").Literal<1>;
701
+ readonly name: import("effect/Schema").optionalKey<import("effect/Schema").String>;
702
+ readonly image: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
703
+ readonly type: import("effect/Schema").Literal<"icon">;
704
+ readonly value: import("effect/Schema").String;
705
+ readonly color: import("effect/Schema").String;
706
+ }>, import("effect/Schema").Struct<{
707
+ readonly type: import("effect/Schema").Literal<"emoji">;
708
+ readonly value: import("effect/Schema").String;
709
+ }>, import("effect/Schema").Struct<{
710
+ readonly type: import("effect/Schema").Literal<"image">;
711
+ readonly value: import("effect/Schema").String;
712
+ }>]>>;
713
+ }>;
714
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "UserId">;
715
+ readonly lastLoginAt: import("effect/Schema").NullOr<import("effect/Schema").DateTimeUtcFromDate>;
716
+ readonly email: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").toType<import("effect/Schema").String>, import("effect/Schema").String, never, never>, "Email">;
717
+ readonly emailVerified: import("effect/Schema").Boolean;
718
+ }>;
719
+ readonly organizationRole: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
720
+ readonly type: import("effect/Schema").Literal<"system">;
721
+ readonly metadata: import("effect/Schema").Struct<{
722
+ readonly version: import("effect/Schema").Literal<1>;
723
+ readonly name: import("effect/Schema").String;
724
+ readonly logo: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
725
+ readonly type: import("effect/Schema").Literal<"icon">;
726
+ readonly value: import("effect/Schema").String;
727
+ readonly color: import("effect/Schema").String;
728
+ }>, import("effect/Schema").Struct<{
729
+ readonly type: import("effect/Schema").Literal<"emoji">;
730
+ readonly value: import("effect/Schema").String;
731
+ }>, import("effect/Schema").Struct<{
732
+ readonly type: import("effect/Schema").Literal<"image">;
733
+ readonly value: import("effect/Schema").String;
734
+ }>]>>;
735
+ readonly description: import("effect/Schema").optionalKey<import("effect/Schema").String>;
736
+ }>;
737
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "OrganizationRoleId">;
738
+ readonly systemRoleId: import("effect/Schema").brand<import("effect/Schema").String, "SystemRoleId">;
739
+ readonly key: import("effect/Schema").String;
740
+ readonly permissions: import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["organization:read", "organization:update", "member:read", "member:update", "member:remove", "invitation:read", "invitation:create", "invitation:cancel", "role:read", "role:create", "role:update", "role:delete", "billing:read", "billing:update", "billing:cancel", "wallet:read", "wallet:create", "wallet:update", "session-key:read", "session-key:create", "session-key:revoke", "api-key:read", "api-key:create", "api-key:revoke", "execution:read", "mcp-authorization:read", "mcp-authorization:create", "mcp-authorization:revoke", "cli-authorization:read", "cli-authorization:create", "cli-authorization:revoke"]>>;
741
+ }>, import("effect/Schema").Struct<{
742
+ readonly type: import("effect/Schema").Literal<"custom">;
743
+ readonly metadata: import("effect/Schema").Struct<{
744
+ readonly version: import("effect/Schema").Literal<1>;
745
+ readonly name: import("effect/Schema").String;
746
+ readonly logo: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
747
+ readonly type: import("effect/Schema").Literal<"icon">;
748
+ readonly value: import("effect/Schema").String;
749
+ readonly color: import("effect/Schema").String;
750
+ }>, import("effect/Schema").Struct<{
751
+ readonly type: import("effect/Schema").Literal<"emoji">;
752
+ readonly value: import("effect/Schema").String;
753
+ }>, import("effect/Schema").Struct<{
754
+ readonly type: import("effect/Schema").Literal<"image">;
755
+ readonly value: import("effect/Schema").String;
756
+ }>]>>;
757
+ readonly description: import("effect/Schema").optionalKey<import("effect/Schema").String>;
758
+ }>;
759
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "OrganizationRoleId">;
760
+ readonly systemRoleId: import("effect/Schema").Null;
761
+ readonly key: import("effect/Schema").String;
762
+ readonly permissions: import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["organization:read", "organization:update", "member:read", "member:update", "member:remove", "invitation:read", "invitation:create", "invitation:cancel", "role:read", "role:create", "role:update", "role:delete", "billing:read", "billing:update", "billing:cancel", "wallet:read", "wallet:create", "wallet:update", "session-key:read", "session-key:create", "session-key:revoke", "api-key:read", "api-key:create", "api-key:revoke", "execution:read", "mcp-authorization:read", "mcp-authorization:create", "mcp-authorization:revoke", "cli-authorization:read", "cli-authorization:create", "cli-authorization:revoke"]>>;
763
+ }>]>;
764
+ }>;
765
+ readonly installations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
766
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "SessionKeyInstallationId">;
767
+ readonly chainId: import("effect/Schema").Literals<readonly ["eip155:1", "eip155:10", "eip155:8453", "eip155:42161", "eip155:84532", "eip155:421614", "eip155:11155111", "eip155:11155420"]>;
768
+ readonly status: import("effect/Schema").Literals<readonly ["pending", "submitted", "installed", "revoking", "revoked", "failed"]>;
769
+ readonly authorization: import("effect/Schema").Struct<{
770
+ readonly version: import("effect/Schema").Literal<1>;
771
+ readonly entityId: import("effect/Schema").Int;
772
+ readonly signerAddress: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
773
+ readonly permissions: import("effect/Schema").$Array<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
774
+ readonly type: import("effect/Schema").Literal<"native-token-transfer">;
775
+ readonly allowance: import("effect/Schema").BigIntFromString;
776
+ }>, import("effect/Schema").Struct<{
777
+ readonly type: import("effect/Schema").Literal<"erc20-token-transfer">;
778
+ readonly address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
779
+ readonly allowance: import("effect/Schema").BigIntFromString;
780
+ }>, import("effect/Schema").Struct<{
781
+ readonly type: import("effect/Schema").Literal<"gas-limit">;
782
+ readonly limit: import("effect/Schema").BigIntFromString;
783
+ }>, import("effect/Schema").Struct<{
784
+ readonly type: import("effect/Schema").Literal<"contract-access">;
785
+ readonly address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
786
+ }>, import("effect/Schema").Struct<{
787
+ readonly type: import("effect/Schema").Literal<"account-functions">;
788
+ readonly functions: import("effect/Schema").$Array<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>>;
789
+ }>, import("effect/Schema").Struct<{
790
+ readonly type: import("effect/Schema").Literal<"functions-on-all-contracts">;
791
+ readonly functions: import("effect/Schema").$Array<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>>;
792
+ }>, import("effect/Schema").Struct<{
793
+ readonly type: import("effect/Schema").Literal<"functions-on-contract">;
794
+ readonly address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
795
+ readonly functions: import("effect/Schema").$Array<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>>;
796
+ }>, import("effect/Schema").Struct<{
797
+ readonly type: import("effect/Schema").Literal<"root">;
798
+ }>]>>;
799
+ readonly allowSignatures: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
800
+ readonly validAfter: import("effect/Schema").Int;
801
+ readonly validUntil: import("effect/Schema").Int;
802
+ }>;
803
+ readonly installTransactionHash: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "Bytes32">, "TransactionHash">>;
804
+ readonly uninstallTransactionHash: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "Bytes32">, "TransactionHash">>;
805
+ }>>;
806
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "SessionKeyId">;
807
+ readonly organizationId: import("effect/Schema").brand<import("effect/Schema").String, "OrganizationId">;
808
+ readonly walletId: import("effect/Schema").brand<import("effect/Schema").String, "WalletId">;
809
+ readonly signingKeyId: import("effect/Schema").brand<import("effect/Schema").String, "SigningKeyId">;
810
+ readonly namespace: import("effect/Schema").Literal<"eip155">;
811
+ readonly metadata: import("effect/Schema").Struct<{
812
+ readonly version: import("effect/Schema").Literal<1>;
813
+ readonly name: import("effect/Schema").String;
814
+ readonly logo: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
815
+ readonly type: import("effect/Schema").Literal<"icon">;
816
+ readonly value: import("effect/Schema").String;
817
+ readonly color: import("effect/Schema").String;
818
+ }>, import("effect/Schema").Struct<{
819
+ readonly type: import("effect/Schema").Literal<"emoji">;
820
+ readonly value: import("effect/Schema").String;
821
+ }>, import("effect/Schema").Struct<{
822
+ readonly type: import("effect/Schema").Literal<"image">;
823
+ readonly value: import("effect/Schema").String;
824
+ }>]>>;
825
+ readonly description: import("effect/Schema").optionalKey<import("effect/Schema").String>;
826
+ }>;
827
+ readonly policies: import("effect/Schema").$Array<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
828
+ readonly type: import("effect/Schema").Literal<"evm.contract-access">;
829
+ readonly address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
830
+ readonly version: import("effect/Schema").Literal<1>;
831
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
832
+ readonly appliesTo: import("effect/Schema").Literal<"execution">;
833
+ }>, import("effect/Schema").Struct<{
834
+ readonly type: import("effect/Schema").Literal<"evm.functions-on-contract">;
835
+ readonly address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
836
+ readonly functions: import("effect/Schema").$Array<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>>;
837
+ readonly version: import("effect/Schema").Literal<1>;
838
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
839
+ readonly appliesTo: import("effect/Schema").Literal<"execution">;
840
+ }>, import("effect/Schema").Struct<{
841
+ readonly type: import("effect/Schema").Literal<"evm.functions-on-all-contracts">;
842
+ readonly functions: import("effect/Schema").$Array<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>>;
843
+ readonly version: import("effect/Schema").Literal<1>;
844
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
845
+ readonly appliesTo: import("effect/Schema").Literal<"execution">;
846
+ }>, import("effect/Schema").Struct<{
847
+ readonly type: import("effect/Schema").Literal<"evm.account-functions">;
848
+ readonly functions: import("effect/Schema").$Array<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>>;
849
+ readonly version: import("effect/Schema").Literal<1>;
850
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
851
+ readonly appliesTo: import("effect/Schema").Literal<"execution">;
852
+ }>, import("effect/Schema").Struct<{
853
+ readonly type: import("effect/Schema").Literal<"evm.erc20-token-transfer">;
854
+ readonly version: import("effect/Schema").Literal<1>;
855
+ readonly address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
856
+ readonly allowance: import("effect/Schema").BigIntFromString;
857
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
858
+ readonly appliesTo: import("effect/Schema").Literal<"execution">;
859
+ }>, import("effect/Schema").Struct<{
860
+ readonly type: import("effect/Schema").Literal<"evm.time-window">;
861
+ readonly version: import("effect/Schema").Literal<1>;
862
+ readonly startsAt: import("effect/Schema").NullOr<import("effect/Schema").DateTimeUtcFromString>;
863
+ readonly expiresAt: import("effect/Schema").DateTimeUtcFromString;
864
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
865
+ readonly appliesTo: import("effect/Schema").Literal<"both">;
866
+ }>, import("effect/Schema").Struct<{
867
+ readonly type: import("effect/Schema").Literal<"evm.chain-allowlist">;
868
+ readonly version: import("effect/Schema").Literal<1>;
869
+ readonly chainIds: import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["eip155:1", "eip155:10", "eip155:8453", "eip155:42161", "eip155:84532", "eip155:421614", "eip155:11155111", "eip155:11155420"]>>;
870
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
871
+ readonly appliesTo: import("effect/Schema").Literal<"both">;
872
+ }>, import("effect/Schema").Struct<{
873
+ readonly type: import("effect/Schema").Literal<"evm.gas-budget">;
874
+ readonly version: import("effect/Schema").Literal<1>;
875
+ readonly budgets: import("effect/Schema").$Array<import("effect/Schema").Struct<{
876
+ readonly chainId: import("effect/Schema").Literals<readonly ["eip155:1", "eip155:10", "eip155:8453", "eip155:42161", "eip155:84532", "eip155:421614", "eip155:11155111", "eip155:11155420"]>;
877
+ readonly period: import("effect/Schema").Literals<readonly ["hour", "day", "week", "lifetime"]>;
878
+ readonly maxCost: import("effect/Schema").BigIntFromString;
879
+ }>>;
880
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
881
+ readonly appliesTo: import("effect/Schema").Literal<"execution">;
882
+ }>, import("effect/Schema").Struct<{
883
+ readonly type: import("effect/Schema").Literal<"evm.native-spend-limit">;
884
+ readonly version: import("effect/Schema").Literal<1>;
885
+ readonly limits: import("effect/Schema").$Array<import("effect/Schema").Struct<{
886
+ readonly chainId: import("effect/Schema").Literals<readonly ["eip155:1", "eip155:10", "eip155:8453", "eip155:42161", "eip155:84532", "eip155:421614", "eip155:11155111", "eip155:11155420"]>;
887
+ readonly period: import("effect/Schema").Literals<readonly ["operation", "hour", "day", "week", "month", "lifetime"]>;
888
+ readonly maxAmount: import("effect/Schema").BigIntFromString;
889
+ }>>;
890
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
891
+ readonly appliesTo: import("effect/Schema").Literal<"execution">;
892
+ }>, import("effect/Schema").Struct<{
893
+ readonly type: import("effect/Schema").Literal<"evm.signature">;
894
+ readonly version: import("effect/Schema").Literal<1>;
895
+ readonly allowedTypes: import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["message", "typed-data"]>>;
896
+ readonly typedDataRules: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").Struct<{
897
+ readonly chainId: import("effect/Schema").Literals<readonly ["eip155:1", "eip155:10", "eip155:8453", "eip155:42161", "eip155:84532", "eip155:421614", "eip155:11155111", "eip155:11155420"]>;
898
+ readonly verifyingContract: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
899
+ readonly name: import("effect/Schema").optionalKey<import("effect/Schema").String>;
900
+ readonly version: import("effect/Schema").optionalKey<import("effect/Schema").String>;
901
+ readonly primaryTypes: import("effect/Schema").$Array<import("effect/Schema").String>;
902
+ }>>>;
903
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
904
+ readonly appliesTo: import("effect/Schema").Literal<"signature">;
905
+ }>]>>;
906
+ readonly policyHash: import("effect/Schema").String;
907
+ readonly status: import("effect/Schema").Literals<readonly ["pending", "active", "revoking", "revoked"]>;
908
+ readonly revokedAt: import("effect/Schema").NullOr<import("effect/Schema").DateTimeUtcFromDate>;
909
+ readonly createdAt: import("effect/Schema").DateTimeUtcFromDate;
910
+ }>]>>>, import("effect/Schema").toCodecJson<HttpApiSchema.asNoContent<typeof import("effect/unstable/httpapi/HttpApiError").Forbidden> | HttpApiSchema.asNoContent<typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError> | typeof import("@namera-ai/protocol").RateLimitExceeded>, Authorization, never> | HttpApiEndpoint.HttpApiEndpoint<"listForWallet", "GET", "/session-keys/wallets/:walletId", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
911
+ readonly walletId: import("effect/Schema").brand<import("effect/Schema").String, "WalletId">;
912
+ }>>, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").$Array<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
913
+ readonly wallet: import("effect/Schema").Union<readonly [import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
914
+ readonly data: import("effect/Schema").Struct<{
915
+ readonly version: import("effect/Schema").Literal<1>;
916
+ readonly modularAccountVersion: import("effect/Schema").Literal<"2.0.0">;
917
+ readonly validatorType: import("effect/Schema").Literal<"webauthn_p256">;
918
+ readonly entryPointVersion: import("effect/Schema").Literal<"0.7">;
919
+ readonly salt: import("effect/Schema").BigIntFromString;
920
+ readonly entityId: import("effect/Schema").Int;
921
+ }>;
922
+ readonly implementation: import("effect/Schema").Literal<"alchemy-modular-v2">;
923
+ readonly createdAt: import("effect/Schema").DateTimeUtcFromDate;
924
+ readonly updatedAt: import("effect/Schema").DateTimeUtcFromDate;
925
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "WalletId">;
926
+ readonly organizationId: import("effect/Schema").brand<import("effect/Schema").String, "OrganizationId">;
927
+ readonly metadata: import("effect/Schema").Struct<{
928
+ readonly version: import("effect/Schema").Literal<1>;
929
+ readonly name: import("effect/Schema").String;
930
+ readonly logo: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
931
+ readonly type: import("effect/Schema").Literal<"icon">;
932
+ readonly value: import("effect/Schema").String;
933
+ readonly color: import("effect/Schema").String;
934
+ }>, import("effect/Schema").Struct<{
935
+ readonly type: import("effect/Schema").Literal<"emoji">;
936
+ readonly value: import("effect/Schema").String;
937
+ }>, import("effect/Schema").Struct<{
938
+ readonly type: import("effect/Schema").Literal<"image">;
939
+ readonly value: import("effect/Schema").String;
940
+ }>]>>;
941
+ readonly description: import("effect/Schema").optionalKey<import("effect/Schema").String>;
942
+ }>;
943
+ readonly status: import("effect/Schema").Literals<readonly ["active", "frozen", "archived"]>;
944
+ readonly namespace: import("effect/Schema").Literal<"eip155">;
945
+ readonly address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
946
+ readonly owner: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
947
+ readonly signingKeyId: import("effect/Schema").brand<import("effect/Schema").String, "SigningKeyId">;
948
+ readonly custody: import("effect/Schema").Literal<"local">;
949
+ readonly algorithm: import("effect/Schema").Literals<readonly ["p256", "secp256k1", "ed25519"]>;
950
+ }>, import("effect/Schema").Struct<{
951
+ readonly signingKeyId: import("effect/Schema").brand<import("effect/Schema").String, "SigningKeyId">;
952
+ readonly custody: import("effect/Schema").Literal<"namera-managed">;
953
+ readonly algorithm: import("effect/Schema").Literals<readonly ["p256", "secp256k1", "ed25519"]>;
954
+ readonly protectionLevel: import("effect/Schema").Literals<readonly ["software", "hsm"]>;
955
+ }>]>;
956
+ }>, import("effect/Schema").Struct<{
957
+ readonly data: import("effect/Schema").Struct<{
958
+ readonly version: import("effect/Schema").Literal<1>;
959
+ readonly modularAccountVersion: import("effect/Schema").Literal<"2.0.0">;
960
+ readonly validatorType: import("effect/Schema").Literal<"ecdsa_secp256k1">;
961
+ readonly entryPointVersion: import("effect/Schema").Literal<"0.7">;
962
+ readonly accountMode: import("effect/Schema").Literal<"7702">;
963
+ readonly delegationVersion: import("effect/Schema").Literals<readonly ["v1.0.0", "v1.1.0"]>;
964
+ }>;
965
+ readonly implementation: import("effect/Schema").Literal<"alchemy-modular-v2">;
966
+ readonly createdAt: import("effect/Schema").DateTimeUtcFromDate;
967
+ readonly updatedAt: import("effect/Schema").DateTimeUtcFromDate;
968
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "WalletId">;
969
+ readonly organizationId: import("effect/Schema").brand<import("effect/Schema").String, "OrganizationId">;
970
+ readonly metadata: import("effect/Schema").Struct<{
971
+ readonly version: import("effect/Schema").Literal<1>;
972
+ readonly name: import("effect/Schema").String;
973
+ readonly logo: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
974
+ readonly type: import("effect/Schema").Literal<"icon">;
975
+ readonly value: import("effect/Schema").String;
976
+ readonly color: import("effect/Schema").String;
977
+ }>, import("effect/Schema").Struct<{
978
+ readonly type: import("effect/Schema").Literal<"emoji">;
979
+ readonly value: import("effect/Schema").String;
980
+ }>, import("effect/Schema").Struct<{
981
+ readonly type: import("effect/Schema").Literal<"image">;
982
+ readonly value: import("effect/Schema").String;
983
+ }>]>>;
984
+ readonly description: import("effect/Schema").optionalKey<import("effect/Schema").String>;
985
+ }>;
986
+ readonly status: import("effect/Schema").Literals<readonly ["active", "frozen", "archived"]>;
987
+ readonly namespace: import("effect/Schema").Literal<"eip155">;
988
+ readonly address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
989
+ readonly owner: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
990
+ readonly signingKeyId: import("effect/Schema").brand<import("effect/Schema").String, "SigningKeyId">;
991
+ readonly custody: import("effect/Schema").Literal<"local">;
992
+ readonly algorithm: import("effect/Schema").Literals<readonly ["p256", "secp256k1", "ed25519"]>;
993
+ }>, import("effect/Schema").Struct<{
994
+ readonly signingKeyId: import("effect/Schema").brand<import("effect/Schema").String, "SigningKeyId">;
995
+ readonly custody: import("effect/Schema").Literal<"namera-managed">;
996
+ readonly algorithm: import("effect/Schema").Literals<readonly ["p256", "secp256k1", "ed25519"]>;
997
+ readonly protectionLevel: import("effect/Schema").Literals<readonly ["software", "hsm"]>;
998
+ }>]>;
999
+ }>]>]>;
1000
+ readonly creator: import("effect/Schema").Struct<{
1001
+ readonly organizationMember: import("effect/Schema").Struct<{
1002
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "OrganizationMemberId">;
1003
+ readonly organizationId: import("effect/Schema").brand<import("effect/Schema").String, "OrganizationId">;
1004
+ readonly userId: import("effect/Schema").brand<import("effect/Schema").String, "UserId">;
1005
+ readonly organizationRoleId: import("effect/Schema").brand<import("effect/Schema").String, "OrganizationRoleId">;
1006
+ readonly joinedAt: import("effect/Schema").DateTimeUtcFromDate;
1007
+ }>;
1008
+ readonly user: import("effect/Schema").Struct<{
1009
+ readonly metadata: import("effect/Schema").Struct<{
1010
+ readonly version: import("effect/Schema").Literal<1>;
1011
+ readonly name: import("effect/Schema").optionalKey<import("effect/Schema").String>;
1012
+ readonly image: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
1013
+ readonly type: import("effect/Schema").Literal<"icon">;
1014
+ readonly value: import("effect/Schema").String;
1015
+ readonly color: import("effect/Schema").String;
1016
+ }>, import("effect/Schema").Struct<{
1017
+ readonly type: import("effect/Schema").Literal<"emoji">;
1018
+ readonly value: import("effect/Schema").String;
1019
+ }>, import("effect/Schema").Struct<{
1020
+ readonly type: import("effect/Schema").Literal<"image">;
1021
+ readonly value: import("effect/Schema").String;
1022
+ }>]>>;
1023
+ }>;
1024
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "UserId">;
1025
+ readonly lastLoginAt: import("effect/Schema").NullOr<import("effect/Schema").DateTimeUtcFromDate>;
1026
+ readonly email: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").toType<import("effect/Schema").String>, import("effect/Schema").String, never, never>, "Email">;
1027
+ readonly emailVerified: import("effect/Schema").Boolean;
1028
+ }>;
1029
+ readonly organizationRole: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
1030
+ readonly type: import("effect/Schema").Literal<"system">;
1031
+ readonly metadata: import("effect/Schema").Struct<{
1032
+ readonly version: import("effect/Schema").Literal<1>;
1033
+ readonly name: import("effect/Schema").String;
1034
+ readonly logo: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
1035
+ readonly type: import("effect/Schema").Literal<"icon">;
1036
+ readonly value: import("effect/Schema").String;
1037
+ readonly color: import("effect/Schema").String;
1038
+ }>, import("effect/Schema").Struct<{
1039
+ readonly type: import("effect/Schema").Literal<"emoji">;
1040
+ readonly value: import("effect/Schema").String;
1041
+ }>, import("effect/Schema").Struct<{
1042
+ readonly type: import("effect/Schema").Literal<"image">;
1043
+ readonly value: import("effect/Schema").String;
1044
+ }>]>>;
1045
+ readonly description: import("effect/Schema").optionalKey<import("effect/Schema").String>;
1046
+ }>;
1047
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "OrganizationRoleId">;
1048
+ readonly systemRoleId: import("effect/Schema").brand<import("effect/Schema").String, "SystemRoleId">;
1049
+ readonly key: import("effect/Schema").String;
1050
+ readonly permissions: import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["organization:read", "organization:update", "member:read", "member:update", "member:remove", "invitation:read", "invitation:create", "invitation:cancel", "role:read", "role:create", "role:update", "role:delete", "billing:read", "billing:update", "billing:cancel", "wallet:read", "wallet:create", "wallet:update", "session-key:read", "session-key:create", "session-key:revoke", "api-key:read", "api-key:create", "api-key:revoke", "execution:read", "mcp-authorization:read", "mcp-authorization:create", "mcp-authorization:revoke", "cli-authorization:read", "cli-authorization:create", "cli-authorization:revoke"]>>;
1051
+ }>, import("effect/Schema").Struct<{
1052
+ readonly type: import("effect/Schema").Literal<"custom">;
1053
+ readonly metadata: import("effect/Schema").Struct<{
1054
+ readonly version: import("effect/Schema").Literal<1>;
1055
+ readonly name: import("effect/Schema").String;
1056
+ readonly logo: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
1057
+ readonly type: import("effect/Schema").Literal<"icon">;
1058
+ readonly value: import("effect/Schema").String;
1059
+ readonly color: import("effect/Schema").String;
1060
+ }>, import("effect/Schema").Struct<{
1061
+ readonly type: import("effect/Schema").Literal<"emoji">;
1062
+ readonly value: import("effect/Schema").String;
1063
+ }>, import("effect/Schema").Struct<{
1064
+ readonly type: import("effect/Schema").Literal<"image">;
1065
+ readonly value: import("effect/Schema").String;
1066
+ }>]>>;
1067
+ readonly description: import("effect/Schema").optionalKey<import("effect/Schema").String>;
1068
+ }>;
1069
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "OrganizationRoleId">;
1070
+ readonly systemRoleId: import("effect/Schema").Null;
1071
+ readonly key: import("effect/Schema").String;
1072
+ readonly permissions: import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["organization:read", "organization:update", "member:read", "member:update", "member:remove", "invitation:read", "invitation:create", "invitation:cancel", "role:read", "role:create", "role:update", "role:delete", "billing:read", "billing:update", "billing:cancel", "wallet:read", "wallet:create", "wallet:update", "session-key:read", "session-key:create", "session-key:revoke", "api-key:read", "api-key:create", "api-key:revoke", "execution:read", "mcp-authorization:read", "mcp-authorization:create", "mcp-authorization:revoke", "cli-authorization:read", "cli-authorization:create", "cli-authorization:revoke"]>>;
1073
+ }>]>;
1074
+ }>;
1075
+ readonly installations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1076
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "SessionKeyInstallationId">;
1077
+ readonly chainId: import("effect/Schema").Literals<readonly ["eip155:1", "eip155:10", "eip155:8453", "eip155:42161", "eip155:84532", "eip155:421614", "eip155:11155111", "eip155:11155420"]>;
1078
+ readonly status: import("effect/Schema").Literals<readonly ["pending", "submitted", "installed", "revoking", "revoked", "failed"]>;
1079
+ readonly authorization: import("effect/Schema").Struct<{
1080
+ readonly version: import("effect/Schema").Literal<1>;
1081
+ readonly entityId: import("effect/Schema").Int;
1082
+ readonly signerAddress: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
1083
+ readonly permissions: import("effect/Schema").$Array<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
1084
+ readonly type: import("effect/Schema").Literal<"native-token-transfer">;
1085
+ readonly allowance: import("effect/Schema").BigIntFromString;
1086
+ }>, import("effect/Schema").Struct<{
1087
+ readonly type: import("effect/Schema").Literal<"erc20-token-transfer">;
1088
+ readonly address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
1089
+ readonly allowance: import("effect/Schema").BigIntFromString;
1090
+ }>, import("effect/Schema").Struct<{
1091
+ readonly type: import("effect/Schema").Literal<"gas-limit">;
1092
+ readonly limit: import("effect/Schema").BigIntFromString;
1093
+ }>, import("effect/Schema").Struct<{
1094
+ readonly type: import("effect/Schema").Literal<"contract-access">;
1095
+ readonly address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
1096
+ }>, import("effect/Schema").Struct<{
1097
+ readonly type: import("effect/Schema").Literal<"account-functions">;
1098
+ readonly functions: import("effect/Schema").$Array<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>>;
1099
+ }>, import("effect/Schema").Struct<{
1100
+ readonly type: import("effect/Schema").Literal<"functions-on-all-contracts">;
1101
+ readonly functions: import("effect/Schema").$Array<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>>;
1102
+ }>, import("effect/Schema").Struct<{
1103
+ readonly type: import("effect/Schema").Literal<"functions-on-contract">;
1104
+ readonly address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
1105
+ readonly functions: import("effect/Schema").$Array<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>>;
1106
+ }>, import("effect/Schema").Struct<{
1107
+ readonly type: import("effect/Schema").Literal<"root">;
1108
+ }>]>>;
1109
+ readonly allowSignatures: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
1110
+ readonly validAfter: import("effect/Schema").Int;
1111
+ readonly validUntil: import("effect/Schema").Int;
1112
+ }>;
1113
+ readonly installTransactionHash: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "Bytes32">, "TransactionHash">>;
1114
+ readonly uninstallTransactionHash: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "Bytes32">, "TransactionHash">>;
1115
+ }>>;
1116
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "SessionKeyId">;
1117
+ readonly organizationId: import("effect/Schema").brand<import("effect/Schema").String, "OrganizationId">;
1118
+ readonly walletId: import("effect/Schema").brand<import("effect/Schema").String, "WalletId">;
1119
+ readonly signingKeyId: import("effect/Schema").brand<import("effect/Schema").String, "SigningKeyId">;
1120
+ readonly namespace: import("effect/Schema").Literal<"eip155">;
1121
+ readonly metadata: import("effect/Schema").Struct<{
1122
+ readonly version: import("effect/Schema").Literal<1>;
1123
+ readonly name: import("effect/Schema").String;
1124
+ readonly logo: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
1125
+ readonly type: import("effect/Schema").Literal<"icon">;
1126
+ readonly value: import("effect/Schema").String;
1127
+ readonly color: import("effect/Schema").String;
1128
+ }>, import("effect/Schema").Struct<{
1129
+ readonly type: import("effect/Schema").Literal<"emoji">;
1130
+ readonly value: import("effect/Schema").String;
1131
+ }>, import("effect/Schema").Struct<{
1132
+ readonly type: import("effect/Schema").Literal<"image">;
1133
+ readonly value: import("effect/Schema").String;
1134
+ }>]>>;
1135
+ readonly description: import("effect/Schema").optionalKey<import("effect/Schema").String>;
1136
+ }>;
1137
+ readonly policies: import("effect/Schema").$Array<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
1138
+ readonly type: import("effect/Schema").Literal<"evm.contract-access">;
1139
+ readonly address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
1140
+ readonly version: import("effect/Schema").Literal<1>;
1141
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
1142
+ readonly appliesTo: import("effect/Schema").Literal<"execution">;
1143
+ }>, import("effect/Schema").Struct<{
1144
+ readonly type: import("effect/Schema").Literal<"evm.functions-on-contract">;
1145
+ readonly address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
1146
+ readonly functions: import("effect/Schema").$Array<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>>;
1147
+ readonly version: import("effect/Schema").Literal<1>;
1148
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
1149
+ readonly appliesTo: import("effect/Schema").Literal<"execution">;
1150
+ }>, import("effect/Schema").Struct<{
1151
+ readonly type: import("effect/Schema").Literal<"evm.functions-on-all-contracts">;
1152
+ readonly functions: import("effect/Schema").$Array<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>>;
1153
+ readonly version: import("effect/Schema").Literal<1>;
1154
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
1155
+ readonly appliesTo: import("effect/Schema").Literal<"execution">;
1156
+ }>, import("effect/Schema").Struct<{
1157
+ readonly type: import("effect/Schema").Literal<"evm.account-functions">;
1158
+ readonly functions: import("effect/Schema").$Array<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>>;
1159
+ readonly version: import("effect/Schema").Literal<1>;
1160
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
1161
+ readonly appliesTo: import("effect/Schema").Literal<"execution">;
1162
+ }>, import("effect/Schema").Struct<{
1163
+ readonly type: import("effect/Schema").Literal<"evm.erc20-token-transfer">;
1164
+ readonly version: import("effect/Schema").Literal<1>;
1165
+ readonly address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
1166
+ readonly allowance: import("effect/Schema").BigIntFromString;
1167
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
1168
+ readonly appliesTo: import("effect/Schema").Literal<"execution">;
1169
+ }>, import("effect/Schema").Struct<{
1170
+ readonly type: import("effect/Schema").Literal<"evm.time-window">;
1171
+ readonly version: import("effect/Schema").Literal<1>;
1172
+ readonly startsAt: import("effect/Schema").NullOr<import("effect/Schema").DateTimeUtcFromString>;
1173
+ readonly expiresAt: import("effect/Schema").DateTimeUtcFromString;
1174
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
1175
+ readonly appliesTo: import("effect/Schema").Literal<"both">;
1176
+ }>, import("effect/Schema").Struct<{
1177
+ readonly type: import("effect/Schema").Literal<"evm.chain-allowlist">;
1178
+ readonly version: import("effect/Schema").Literal<1>;
1179
+ readonly chainIds: import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["eip155:1", "eip155:10", "eip155:8453", "eip155:42161", "eip155:84532", "eip155:421614", "eip155:11155111", "eip155:11155420"]>>;
1180
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
1181
+ readonly appliesTo: import("effect/Schema").Literal<"both">;
1182
+ }>, import("effect/Schema").Struct<{
1183
+ readonly type: import("effect/Schema").Literal<"evm.gas-budget">;
1184
+ readonly version: import("effect/Schema").Literal<1>;
1185
+ readonly budgets: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1186
+ readonly chainId: import("effect/Schema").Literals<readonly ["eip155:1", "eip155:10", "eip155:8453", "eip155:42161", "eip155:84532", "eip155:421614", "eip155:11155111", "eip155:11155420"]>;
1187
+ readonly period: import("effect/Schema").Literals<readonly ["hour", "day", "week", "lifetime"]>;
1188
+ readonly maxCost: import("effect/Schema").BigIntFromString;
1189
+ }>>;
1190
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
1191
+ readonly appliesTo: import("effect/Schema").Literal<"execution">;
1192
+ }>, import("effect/Schema").Struct<{
1193
+ readonly type: import("effect/Schema").Literal<"evm.native-spend-limit">;
1194
+ readonly version: import("effect/Schema").Literal<1>;
1195
+ readonly limits: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1196
+ readonly chainId: import("effect/Schema").Literals<readonly ["eip155:1", "eip155:10", "eip155:8453", "eip155:42161", "eip155:84532", "eip155:421614", "eip155:11155111", "eip155:11155420"]>;
1197
+ readonly period: import("effect/Schema").Literals<readonly ["operation", "hour", "day", "week", "month", "lifetime"]>;
1198
+ readonly maxAmount: import("effect/Schema").BigIntFromString;
1199
+ }>>;
1200
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
1201
+ readonly appliesTo: import("effect/Schema").Literal<"execution">;
1202
+ }>, import("effect/Schema").Struct<{
1203
+ readonly type: import("effect/Schema").Literal<"evm.signature">;
1204
+ readonly version: import("effect/Schema").Literal<1>;
1205
+ readonly allowedTypes: import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["message", "typed-data"]>>;
1206
+ readonly typedDataRules: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1207
+ readonly chainId: import("effect/Schema").Literals<readonly ["eip155:1", "eip155:10", "eip155:8453", "eip155:42161", "eip155:84532", "eip155:421614", "eip155:11155111", "eip155:11155420"]>;
1208
+ readonly verifyingContract: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
1209
+ readonly name: import("effect/Schema").optionalKey<import("effect/Schema").String>;
1210
+ readonly version: import("effect/Schema").optionalKey<import("effect/Schema").String>;
1211
+ readonly primaryTypes: import("effect/Schema").$Array<import("effect/Schema").String>;
1212
+ }>>>;
1213
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
1214
+ readonly appliesTo: import("effect/Schema").Literal<"signature">;
1215
+ }>]>>;
1216
+ readonly policyHash: import("effect/Schema").String;
1217
+ readonly status: import("effect/Schema").Literals<readonly ["pending", "active", "revoking", "revoked"]>;
1218
+ readonly revokedAt: import("effect/Schema").NullOr<import("effect/Schema").DateTimeUtcFromDate>;
1219
+ readonly createdAt: import("effect/Schema").DateTimeUtcFromDate;
1220
+ }>]>>>, import("effect/Schema").toCodecJson<HttpApiSchema.asNoContent<typeof import("effect/unstable/httpapi/HttpApiError").Forbidden> | HttpApiSchema.asNoContent<typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError> | typeof import("@namera-ai/protocol").RateLimitExceeded | typeof WalletNotFoundError>, Authorization, never> | HttpApiEndpoint.HttpApiEndpoint<"get", "GET", "/session-keys/:sessionKeyId", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
1221
+ readonly sessionKeyId: import("effect/Schema").brand<import("effect/Schema").String, "SessionKeyId">;
1222
+ }>>, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
1223
+ readonly wallet: import("effect/Schema").Union<readonly [import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
1224
+ readonly data: import("effect/Schema").Struct<{
1225
+ readonly version: import("effect/Schema").Literal<1>;
1226
+ readonly modularAccountVersion: import("effect/Schema").Literal<"2.0.0">;
1227
+ readonly validatorType: import("effect/Schema").Literal<"webauthn_p256">;
1228
+ readonly entryPointVersion: import("effect/Schema").Literal<"0.7">;
1229
+ readonly salt: import("effect/Schema").BigIntFromString;
1230
+ readonly entityId: import("effect/Schema").Int;
1231
+ }>;
1232
+ readonly implementation: import("effect/Schema").Literal<"alchemy-modular-v2">;
1233
+ readonly createdAt: import("effect/Schema").DateTimeUtcFromDate;
1234
+ readonly updatedAt: import("effect/Schema").DateTimeUtcFromDate;
1235
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "WalletId">;
1236
+ readonly organizationId: import("effect/Schema").brand<import("effect/Schema").String, "OrganizationId">;
1237
+ readonly metadata: import("effect/Schema").Struct<{
1238
+ readonly version: import("effect/Schema").Literal<1>;
1239
+ readonly name: import("effect/Schema").String;
1240
+ readonly logo: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
1241
+ readonly type: import("effect/Schema").Literal<"icon">;
1242
+ readonly value: import("effect/Schema").String;
1243
+ readonly color: import("effect/Schema").String;
1244
+ }>, import("effect/Schema").Struct<{
1245
+ readonly type: import("effect/Schema").Literal<"emoji">;
1246
+ readonly value: import("effect/Schema").String;
1247
+ }>, import("effect/Schema").Struct<{
1248
+ readonly type: import("effect/Schema").Literal<"image">;
1249
+ readonly value: import("effect/Schema").String;
1250
+ }>]>>;
1251
+ readonly description: import("effect/Schema").optionalKey<import("effect/Schema").String>;
1252
+ }>;
1253
+ readonly status: import("effect/Schema").Literals<readonly ["active", "frozen", "archived"]>;
1254
+ readonly namespace: import("effect/Schema").Literal<"eip155">;
1255
+ readonly address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
1256
+ readonly owner: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
1257
+ readonly signingKeyId: import("effect/Schema").brand<import("effect/Schema").String, "SigningKeyId">;
1258
+ readonly custody: import("effect/Schema").Literal<"local">;
1259
+ readonly algorithm: import("effect/Schema").Literals<readonly ["p256", "secp256k1", "ed25519"]>;
1260
+ }>, import("effect/Schema").Struct<{
1261
+ readonly signingKeyId: import("effect/Schema").brand<import("effect/Schema").String, "SigningKeyId">;
1262
+ readonly custody: import("effect/Schema").Literal<"namera-managed">;
1263
+ readonly algorithm: import("effect/Schema").Literals<readonly ["p256", "secp256k1", "ed25519"]>;
1264
+ readonly protectionLevel: import("effect/Schema").Literals<readonly ["software", "hsm"]>;
1265
+ }>]>;
1266
+ }>, import("effect/Schema").Struct<{
1267
+ readonly data: import("effect/Schema").Struct<{
1268
+ readonly version: import("effect/Schema").Literal<1>;
1269
+ readonly modularAccountVersion: import("effect/Schema").Literal<"2.0.0">;
1270
+ readonly validatorType: import("effect/Schema").Literal<"ecdsa_secp256k1">;
1271
+ readonly entryPointVersion: import("effect/Schema").Literal<"0.7">;
1272
+ readonly accountMode: import("effect/Schema").Literal<"7702">;
1273
+ readonly delegationVersion: import("effect/Schema").Literals<readonly ["v1.0.0", "v1.1.0"]>;
1274
+ }>;
1275
+ readonly implementation: import("effect/Schema").Literal<"alchemy-modular-v2">;
1276
+ readonly createdAt: import("effect/Schema").DateTimeUtcFromDate;
1277
+ readonly updatedAt: import("effect/Schema").DateTimeUtcFromDate;
1278
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "WalletId">;
1279
+ readonly organizationId: import("effect/Schema").brand<import("effect/Schema").String, "OrganizationId">;
1280
+ readonly metadata: import("effect/Schema").Struct<{
1281
+ readonly version: import("effect/Schema").Literal<1>;
1282
+ readonly name: import("effect/Schema").String;
1283
+ readonly logo: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
1284
+ readonly type: import("effect/Schema").Literal<"icon">;
1285
+ readonly value: import("effect/Schema").String;
1286
+ readonly color: import("effect/Schema").String;
1287
+ }>, import("effect/Schema").Struct<{
1288
+ readonly type: import("effect/Schema").Literal<"emoji">;
1289
+ readonly value: import("effect/Schema").String;
1290
+ }>, import("effect/Schema").Struct<{
1291
+ readonly type: import("effect/Schema").Literal<"image">;
1292
+ readonly value: import("effect/Schema").String;
1293
+ }>]>>;
1294
+ readonly description: import("effect/Schema").optionalKey<import("effect/Schema").String>;
1295
+ }>;
1296
+ readonly status: import("effect/Schema").Literals<readonly ["active", "frozen", "archived"]>;
1297
+ readonly namespace: import("effect/Schema").Literal<"eip155">;
1298
+ readonly address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
1299
+ readonly owner: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
1300
+ readonly signingKeyId: import("effect/Schema").brand<import("effect/Schema").String, "SigningKeyId">;
1301
+ readonly custody: import("effect/Schema").Literal<"local">;
1302
+ readonly algorithm: import("effect/Schema").Literals<readonly ["p256", "secp256k1", "ed25519"]>;
1303
+ }>, import("effect/Schema").Struct<{
1304
+ readonly signingKeyId: import("effect/Schema").brand<import("effect/Schema").String, "SigningKeyId">;
1305
+ readonly custody: import("effect/Schema").Literal<"namera-managed">;
1306
+ readonly algorithm: import("effect/Schema").Literals<readonly ["p256", "secp256k1", "ed25519"]>;
1307
+ readonly protectionLevel: import("effect/Schema").Literals<readonly ["software", "hsm"]>;
1308
+ }>]>;
1309
+ }>]>]>;
1310
+ readonly creator: import("effect/Schema").Struct<{
1311
+ readonly organizationMember: import("effect/Schema").Struct<{
1312
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "OrganizationMemberId">;
1313
+ readonly organizationId: import("effect/Schema").brand<import("effect/Schema").String, "OrganizationId">;
1314
+ readonly userId: import("effect/Schema").brand<import("effect/Schema").String, "UserId">;
1315
+ readonly organizationRoleId: import("effect/Schema").brand<import("effect/Schema").String, "OrganizationRoleId">;
1316
+ readonly joinedAt: import("effect/Schema").DateTimeUtcFromDate;
1317
+ }>;
1318
+ readonly user: import("effect/Schema").Struct<{
1319
+ readonly metadata: import("effect/Schema").Struct<{
1320
+ readonly version: import("effect/Schema").Literal<1>;
1321
+ readonly name: import("effect/Schema").optionalKey<import("effect/Schema").String>;
1322
+ readonly image: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
1323
+ readonly type: import("effect/Schema").Literal<"icon">;
1324
+ readonly value: import("effect/Schema").String;
1325
+ readonly color: import("effect/Schema").String;
1326
+ }>, import("effect/Schema").Struct<{
1327
+ readonly type: import("effect/Schema").Literal<"emoji">;
1328
+ readonly value: import("effect/Schema").String;
1329
+ }>, import("effect/Schema").Struct<{
1330
+ readonly type: import("effect/Schema").Literal<"image">;
1331
+ readonly value: import("effect/Schema").String;
1332
+ }>]>>;
1333
+ }>;
1334
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "UserId">;
1335
+ readonly lastLoginAt: import("effect/Schema").NullOr<import("effect/Schema").DateTimeUtcFromDate>;
1336
+ readonly email: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").toType<import("effect/Schema").String>, import("effect/Schema").String, never, never>, "Email">;
1337
+ readonly emailVerified: import("effect/Schema").Boolean;
1338
+ }>;
1339
+ readonly organizationRole: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
1340
+ readonly type: import("effect/Schema").Literal<"system">;
1341
+ readonly metadata: import("effect/Schema").Struct<{
1342
+ readonly version: import("effect/Schema").Literal<1>;
1343
+ readonly name: import("effect/Schema").String;
1344
+ readonly logo: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
1345
+ readonly type: import("effect/Schema").Literal<"icon">;
1346
+ readonly value: import("effect/Schema").String;
1347
+ readonly color: import("effect/Schema").String;
1348
+ }>, import("effect/Schema").Struct<{
1349
+ readonly type: import("effect/Schema").Literal<"emoji">;
1350
+ readonly value: import("effect/Schema").String;
1351
+ }>, import("effect/Schema").Struct<{
1352
+ readonly type: import("effect/Schema").Literal<"image">;
1353
+ readonly value: import("effect/Schema").String;
1354
+ }>]>>;
1355
+ readonly description: import("effect/Schema").optionalKey<import("effect/Schema").String>;
1356
+ }>;
1357
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "OrganizationRoleId">;
1358
+ readonly systemRoleId: import("effect/Schema").brand<import("effect/Schema").String, "SystemRoleId">;
1359
+ readonly key: import("effect/Schema").String;
1360
+ readonly permissions: import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["organization:read", "organization:update", "member:read", "member:update", "member:remove", "invitation:read", "invitation:create", "invitation:cancel", "role:read", "role:create", "role:update", "role:delete", "billing:read", "billing:update", "billing:cancel", "wallet:read", "wallet:create", "wallet:update", "session-key:read", "session-key:create", "session-key:revoke", "api-key:read", "api-key:create", "api-key:revoke", "execution:read", "mcp-authorization:read", "mcp-authorization:create", "mcp-authorization:revoke", "cli-authorization:read", "cli-authorization:create", "cli-authorization:revoke"]>>;
1361
+ }>, import("effect/Schema").Struct<{
1362
+ readonly type: import("effect/Schema").Literal<"custom">;
1363
+ readonly metadata: import("effect/Schema").Struct<{
1364
+ readonly version: import("effect/Schema").Literal<1>;
1365
+ readonly name: import("effect/Schema").String;
1366
+ readonly logo: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
1367
+ readonly type: import("effect/Schema").Literal<"icon">;
1368
+ readonly value: import("effect/Schema").String;
1369
+ readonly color: import("effect/Schema").String;
1370
+ }>, import("effect/Schema").Struct<{
1371
+ readonly type: import("effect/Schema").Literal<"emoji">;
1372
+ readonly value: import("effect/Schema").String;
1373
+ }>, import("effect/Schema").Struct<{
1374
+ readonly type: import("effect/Schema").Literal<"image">;
1375
+ readonly value: import("effect/Schema").String;
1376
+ }>]>>;
1377
+ readonly description: import("effect/Schema").optionalKey<import("effect/Schema").String>;
1378
+ }>;
1379
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "OrganizationRoleId">;
1380
+ readonly systemRoleId: import("effect/Schema").Null;
1381
+ readonly key: import("effect/Schema").String;
1382
+ readonly permissions: import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["organization:read", "organization:update", "member:read", "member:update", "member:remove", "invitation:read", "invitation:create", "invitation:cancel", "role:read", "role:create", "role:update", "role:delete", "billing:read", "billing:update", "billing:cancel", "wallet:read", "wallet:create", "wallet:update", "session-key:read", "session-key:create", "session-key:revoke", "api-key:read", "api-key:create", "api-key:revoke", "execution:read", "mcp-authorization:read", "mcp-authorization:create", "mcp-authorization:revoke", "cli-authorization:read", "cli-authorization:create", "cli-authorization:revoke"]>>;
1383
+ }>]>;
1384
+ }>;
1385
+ readonly installations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1386
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "SessionKeyInstallationId">;
1387
+ readonly chainId: import("effect/Schema").Literals<readonly ["eip155:1", "eip155:10", "eip155:8453", "eip155:42161", "eip155:84532", "eip155:421614", "eip155:11155111", "eip155:11155420"]>;
1388
+ readonly status: import("effect/Schema").Literals<readonly ["pending", "submitted", "installed", "revoking", "revoked", "failed"]>;
1389
+ readonly authorization: import("effect/Schema").Struct<{
1390
+ readonly version: import("effect/Schema").Literal<1>;
1391
+ readonly entityId: import("effect/Schema").Int;
1392
+ readonly signerAddress: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
1393
+ readonly permissions: import("effect/Schema").$Array<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
1394
+ readonly type: import("effect/Schema").Literal<"native-token-transfer">;
1395
+ readonly allowance: import("effect/Schema").BigIntFromString;
1396
+ }>, import("effect/Schema").Struct<{
1397
+ readonly type: import("effect/Schema").Literal<"erc20-token-transfer">;
1398
+ readonly address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
1399
+ readonly allowance: import("effect/Schema").BigIntFromString;
1400
+ }>, import("effect/Schema").Struct<{
1401
+ readonly type: import("effect/Schema").Literal<"gas-limit">;
1402
+ readonly limit: import("effect/Schema").BigIntFromString;
1403
+ }>, import("effect/Schema").Struct<{
1404
+ readonly type: import("effect/Schema").Literal<"contract-access">;
1405
+ readonly address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
1406
+ }>, import("effect/Schema").Struct<{
1407
+ readonly type: import("effect/Schema").Literal<"account-functions">;
1408
+ readonly functions: import("effect/Schema").$Array<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>>;
1409
+ }>, import("effect/Schema").Struct<{
1410
+ readonly type: import("effect/Schema").Literal<"functions-on-all-contracts">;
1411
+ readonly functions: import("effect/Schema").$Array<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>>;
1412
+ }>, import("effect/Schema").Struct<{
1413
+ readonly type: import("effect/Schema").Literal<"functions-on-contract">;
1414
+ readonly address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
1415
+ readonly functions: import("effect/Schema").$Array<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>>;
1416
+ }>, import("effect/Schema").Struct<{
1417
+ readonly type: import("effect/Schema").Literal<"root">;
1418
+ }>]>>;
1419
+ readonly allowSignatures: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
1420
+ readonly validAfter: import("effect/Schema").Int;
1421
+ readonly validUntil: import("effect/Schema").Int;
1422
+ }>;
1423
+ readonly installTransactionHash: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "Bytes32">, "TransactionHash">>;
1424
+ readonly uninstallTransactionHash: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "Bytes32">, "TransactionHash">>;
1425
+ }>>;
1426
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "SessionKeyId">;
1427
+ readonly organizationId: import("effect/Schema").brand<import("effect/Schema").String, "OrganizationId">;
1428
+ readonly walletId: import("effect/Schema").brand<import("effect/Schema").String, "WalletId">;
1429
+ readonly signingKeyId: import("effect/Schema").brand<import("effect/Schema").String, "SigningKeyId">;
1430
+ readonly namespace: import("effect/Schema").Literal<"eip155">;
1431
+ readonly metadata: import("effect/Schema").Struct<{
1432
+ readonly version: import("effect/Schema").Literal<1>;
1433
+ readonly name: import("effect/Schema").String;
1434
+ readonly logo: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
1435
+ readonly type: import("effect/Schema").Literal<"icon">;
1436
+ readonly value: import("effect/Schema").String;
1437
+ readonly color: import("effect/Schema").String;
1438
+ }>, import("effect/Schema").Struct<{
1439
+ readonly type: import("effect/Schema").Literal<"emoji">;
1440
+ readonly value: import("effect/Schema").String;
1441
+ }>, import("effect/Schema").Struct<{
1442
+ readonly type: import("effect/Schema").Literal<"image">;
1443
+ readonly value: import("effect/Schema").String;
1444
+ }>]>>;
1445
+ readonly description: import("effect/Schema").optionalKey<import("effect/Schema").String>;
1446
+ }>;
1447
+ readonly policies: import("effect/Schema").$Array<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
1448
+ readonly type: import("effect/Schema").Literal<"evm.contract-access">;
1449
+ readonly address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
1450
+ readonly version: import("effect/Schema").Literal<1>;
1451
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
1452
+ readonly appliesTo: import("effect/Schema").Literal<"execution">;
1453
+ }>, import("effect/Schema").Struct<{
1454
+ readonly type: import("effect/Schema").Literal<"evm.functions-on-contract">;
1455
+ readonly address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
1456
+ readonly functions: import("effect/Schema").$Array<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>>;
1457
+ readonly version: import("effect/Schema").Literal<1>;
1458
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
1459
+ readonly appliesTo: import("effect/Schema").Literal<"execution">;
1460
+ }>, import("effect/Schema").Struct<{
1461
+ readonly type: import("effect/Schema").Literal<"evm.functions-on-all-contracts">;
1462
+ readonly functions: import("effect/Schema").$Array<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>>;
1463
+ readonly version: import("effect/Schema").Literal<1>;
1464
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
1465
+ readonly appliesTo: import("effect/Schema").Literal<"execution">;
1466
+ }>, import("effect/Schema").Struct<{
1467
+ readonly type: import("effect/Schema").Literal<"evm.account-functions">;
1468
+ readonly functions: import("effect/Schema").$Array<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>>;
1469
+ readonly version: import("effect/Schema").Literal<1>;
1470
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
1471
+ readonly appliesTo: import("effect/Schema").Literal<"execution">;
1472
+ }>, import("effect/Schema").Struct<{
1473
+ readonly type: import("effect/Schema").Literal<"evm.erc20-token-transfer">;
1474
+ readonly version: import("effect/Schema").Literal<1>;
1475
+ readonly address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
1476
+ readonly allowance: import("effect/Schema").BigIntFromString;
1477
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
1478
+ readonly appliesTo: import("effect/Schema").Literal<"execution">;
1479
+ }>, import("effect/Schema").Struct<{
1480
+ readonly type: import("effect/Schema").Literal<"evm.time-window">;
1481
+ readonly version: import("effect/Schema").Literal<1>;
1482
+ readonly startsAt: import("effect/Schema").NullOr<import("effect/Schema").DateTimeUtcFromString>;
1483
+ readonly expiresAt: import("effect/Schema").DateTimeUtcFromString;
1484
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
1485
+ readonly appliesTo: import("effect/Schema").Literal<"both">;
1486
+ }>, import("effect/Schema").Struct<{
1487
+ readonly type: import("effect/Schema").Literal<"evm.chain-allowlist">;
1488
+ readonly version: import("effect/Schema").Literal<1>;
1489
+ readonly chainIds: import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["eip155:1", "eip155:10", "eip155:8453", "eip155:42161", "eip155:84532", "eip155:421614", "eip155:11155111", "eip155:11155420"]>>;
1490
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
1491
+ readonly appliesTo: import("effect/Schema").Literal<"both">;
1492
+ }>, import("effect/Schema").Struct<{
1493
+ readonly type: import("effect/Schema").Literal<"evm.gas-budget">;
1494
+ readonly version: import("effect/Schema").Literal<1>;
1495
+ readonly budgets: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1496
+ readonly chainId: import("effect/Schema").Literals<readonly ["eip155:1", "eip155:10", "eip155:8453", "eip155:42161", "eip155:84532", "eip155:421614", "eip155:11155111", "eip155:11155420"]>;
1497
+ readonly period: import("effect/Schema").Literals<readonly ["hour", "day", "week", "lifetime"]>;
1498
+ readonly maxCost: import("effect/Schema").BigIntFromString;
1499
+ }>>;
1500
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
1501
+ readonly appliesTo: import("effect/Schema").Literal<"execution">;
1502
+ }>, import("effect/Schema").Struct<{
1503
+ readonly type: import("effect/Schema").Literal<"evm.native-spend-limit">;
1504
+ readonly version: import("effect/Schema").Literal<1>;
1505
+ readonly limits: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1506
+ readonly chainId: import("effect/Schema").Literals<readonly ["eip155:1", "eip155:10", "eip155:8453", "eip155:42161", "eip155:84532", "eip155:421614", "eip155:11155111", "eip155:11155420"]>;
1507
+ readonly period: import("effect/Schema").Literals<readonly ["operation", "hour", "day", "week", "month", "lifetime"]>;
1508
+ readonly maxAmount: import("effect/Schema").BigIntFromString;
1509
+ }>>;
1510
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
1511
+ readonly appliesTo: import("effect/Schema").Literal<"execution">;
1512
+ }>, import("effect/Schema").Struct<{
1513
+ readonly type: import("effect/Schema").Literal<"evm.signature">;
1514
+ readonly version: import("effect/Schema").Literal<1>;
1515
+ readonly allowedTypes: import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["message", "typed-data"]>>;
1516
+ readonly typedDataRules: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1517
+ readonly chainId: import("effect/Schema").Literals<readonly ["eip155:1", "eip155:10", "eip155:8453", "eip155:42161", "eip155:84532", "eip155:421614", "eip155:11155111", "eip155:11155420"]>;
1518
+ readonly verifyingContract: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
1519
+ readonly name: import("effect/Schema").optionalKey<import("effect/Schema").String>;
1520
+ readonly version: import("effect/Schema").optionalKey<import("effect/Schema").String>;
1521
+ readonly primaryTypes: import("effect/Schema").$Array<import("effect/Schema").String>;
1522
+ }>>>;
1523
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
1524
+ readonly appliesTo: import("effect/Schema").Literal<"signature">;
1525
+ }>]>>;
1526
+ readonly policyHash: import("effect/Schema").String;
1527
+ readonly status: import("effect/Schema").Literals<readonly ["pending", "active", "revoking", "revoked"]>;
1528
+ readonly revokedAt: import("effect/Schema").NullOr<import("effect/Schema").DateTimeUtcFromDate>;
1529
+ readonly createdAt: import("effect/Schema").DateTimeUtcFromDate;
1530
+ }>]>>, import("effect/Schema").toCodecJson<HttpApiSchema.asNoContent<typeof import("effect/unstable/httpapi/HttpApiError").Forbidden> | HttpApiSchema.asNoContent<typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError> | typeof import("@namera-ai/protocol").RateLimitExceeded | typeof SessionKeyNotFoundError>, Authorization, never> | HttpApiEndpoint.HttpApiEndpoint<"revoke", "POST", "/session-keys/:sessionKeyId/revoke", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
1531
+ readonly sessionKeyId: import("effect/Schema").brand<import("effect/Schema").String, "SessionKeyId">;
1532
+ }>>, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
1533
+ readonly wallet: import("effect/Schema").Union<readonly [import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
1534
+ readonly data: import("effect/Schema").Struct<{
1535
+ readonly version: import("effect/Schema").Literal<1>;
1536
+ readonly modularAccountVersion: import("effect/Schema").Literal<"2.0.0">;
1537
+ readonly validatorType: import("effect/Schema").Literal<"webauthn_p256">;
1538
+ readonly entryPointVersion: import("effect/Schema").Literal<"0.7">;
1539
+ readonly salt: import("effect/Schema").BigIntFromString;
1540
+ readonly entityId: import("effect/Schema").Int;
1541
+ }>;
1542
+ readonly implementation: import("effect/Schema").Literal<"alchemy-modular-v2">;
1543
+ readonly createdAt: import("effect/Schema").DateTimeUtcFromDate;
1544
+ readonly updatedAt: import("effect/Schema").DateTimeUtcFromDate;
1545
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "WalletId">;
1546
+ readonly organizationId: import("effect/Schema").brand<import("effect/Schema").String, "OrganizationId">;
1547
+ readonly metadata: import("effect/Schema").Struct<{
1548
+ readonly version: import("effect/Schema").Literal<1>;
1549
+ readonly name: import("effect/Schema").String;
1550
+ readonly logo: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
1551
+ readonly type: import("effect/Schema").Literal<"icon">;
1552
+ readonly value: import("effect/Schema").String;
1553
+ readonly color: import("effect/Schema").String;
1554
+ }>, import("effect/Schema").Struct<{
1555
+ readonly type: import("effect/Schema").Literal<"emoji">;
1556
+ readonly value: import("effect/Schema").String;
1557
+ }>, import("effect/Schema").Struct<{
1558
+ readonly type: import("effect/Schema").Literal<"image">;
1559
+ readonly value: import("effect/Schema").String;
1560
+ }>]>>;
1561
+ readonly description: import("effect/Schema").optionalKey<import("effect/Schema").String>;
1562
+ }>;
1563
+ readonly status: import("effect/Schema").Literals<readonly ["active", "frozen", "archived"]>;
1564
+ readonly namespace: import("effect/Schema").Literal<"eip155">;
1565
+ readonly address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
1566
+ readonly owner: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
1567
+ readonly signingKeyId: import("effect/Schema").brand<import("effect/Schema").String, "SigningKeyId">;
1568
+ readonly custody: import("effect/Schema").Literal<"local">;
1569
+ readonly algorithm: import("effect/Schema").Literals<readonly ["p256", "secp256k1", "ed25519"]>;
1570
+ }>, import("effect/Schema").Struct<{
1571
+ readonly signingKeyId: import("effect/Schema").brand<import("effect/Schema").String, "SigningKeyId">;
1572
+ readonly custody: import("effect/Schema").Literal<"namera-managed">;
1573
+ readonly algorithm: import("effect/Schema").Literals<readonly ["p256", "secp256k1", "ed25519"]>;
1574
+ readonly protectionLevel: import("effect/Schema").Literals<readonly ["software", "hsm"]>;
1575
+ }>]>;
1576
+ }>, import("effect/Schema").Struct<{
1577
+ readonly data: import("effect/Schema").Struct<{
1578
+ readonly version: import("effect/Schema").Literal<1>;
1579
+ readonly modularAccountVersion: import("effect/Schema").Literal<"2.0.0">;
1580
+ readonly validatorType: import("effect/Schema").Literal<"ecdsa_secp256k1">;
1581
+ readonly entryPointVersion: import("effect/Schema").Literal<"0.7">;
1582
+ readonly accountMode: import("effect/Schema").Literal<"7702">;
1583
+ readonly delegationVersion: import("effect/Schema").Literals<readonly ["v1.0.0", "v1.1.0"]>;
1584
+ }>;
1585
+ readonly implementation: import("effect/Schema").Literal<"alchemy-modular-v2">;
1586
+ readonly createdAt: import("effect/Schema").DateTimeUtcFromDate;
1587
+ readonly updatedAt: import("effect/Schema").DateTimeUtcFromDate;
1588
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "WalletId">;
1589
+ readonly organizationId: import("effect/Schema").brand<import("effect/Schema").String, "OrganizationId">;
1590
+ readonly metadata: import("effect/Schema").Struct<{
1591
+ readonly version: import("effect/Schema").Literal<1>;
1592
+ readonly name: import("effect/Schema").String;
1593
+ readonly logo: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
1594
+ readonly type: import("effect/Schema").Literal<"icon">;
1595
+ readonly value: import("effect/Schema").String;
1596
+ readonly color: import("effect/Schema").String;
1597
+ }>, import("effect/Schema").Struct<{
1598
+ readonly type: import("effect/Schema").Literal<"emoji">;
1599
+ readonly value: import("effect/Schema").String;
1600
+ }>, import("effect/Schema").Struct<{
1601
+ readonly type: import("effect/Schema").Literal<"image">;
1602
+ readonly value: import("effect/Schema").String;
1603
+ }>]>>;
1604
+ readonly description: import("effect/Schema").optionalKey<import("effect/Schema").String>;
1605
+ }>;
1606
+ readonly status: import("effect/Schema").Literals<readonly ["active", "frozen", "archived"]>;
1607
+ readonly namespace: import("effect/Schema").Literal<"eip155">;
1608
+ readonly address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
1609
+ readonly owner: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
1610
+ readonly signingKeyId: import("effect/Schema").brand<import("effect/Schema").String, "SigningKeyId">;
1611
+ readonly custody: import("effect/Schema").Literal<"local">;
1612
+ readonly algorithm: import("effect/Schema").Literals<readonly ["p256", "secp256k1", "ed25519"]>;
1613
+ }>, import("effect/Schema").Struct<{
1614
+ readonly signingKeyId: import("effect/Schema").brand<import("effect/Schema").String, "SigningKeyId">;
1615
+ readonly custody: import("effect/Schema").Literal<"namera-managed">;
1616
+ readonly algorithm: import("effect/Schema").Literals<readonly ["p256", "secp256k1", "ed25519"]>;
1617
+ readonly protectionLevel: import("effect/Schema").Literals<readonly ["software", "hsm"]>;
1618
+ }>]>;
1619
+ }>]>]>;
1620
+ readonly creator: import("effect/Schema").Struct<{
1621
+ readonly organizationMember: import("effect/Schema").Struct<{
1622
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "OrganizationMemberId">;
1623
+ readonly organizationId: import("effect/Schema").brand<import("effect/Schema").String, "OrganizationId">;
1624
+ readonly userId: import("effect/Schema").brand<import("effect/Schema").String, "UserId">;
1625
+ readonly organizationRoleId: import("effect/Schema").brand<import("effect/Schema").String, "OrganizationRoleId">;
1626
+ readonly joinedAt: import("effect/Schema").DateTimeUtcFromDate;
1627
+ }>;
1628
+ readonly user: import("effect/Schema").Struct<{
1629
+ readonly metadata: import("effect/Schema").Struct<{
1630
+ readonly version: import("effect/Schema").Literal<1>;
1631
+ readonly name: import("effect/Schema").optionalKey<import("effect/Schema").String>;
1632
+ readonly image: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
1633
+ readonly type: import("effect/Schema").Literal<"icon">;
1634
+ readonly value: import("effect/Schema").String;
1635
+ readonly color: import("effect/Schema").String;
1636
+ }>, import("effect/Schema").Struct<{
1637
+ readonly type: import("effect/Schema").Literal<"emoji">;
1638
+ readonly value: import("effect/Schema").String;
1639
+ }>, import("effect/Schema").Struct<{
1640
+ readonly type: import("effect/Schema").Literal<"image">;
1641
+ readonly value: import("effect/Schema").String;
1642
+ }>]>>;
1643
+ }>;
1644
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "UserId">;
1645
+ readonly lastLoginAt: import("effect/Schema").NullOr<import("effect/Schema").DateTimeUtcFromDate>;
1646
+ readonly email: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").toType<import("effect/Schema").String>, import("effect/Schema").String, never, never>, "Email">;
1647
+ readonly emailVerified: import("effect/Schema").Boolean;
1648
+ }>;
1649
+ readonly organizationRole: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
1650
+ readonly type: import("effect/Schema").Literal<"system">;
1651
+ readonly metadata: import("effect/Schema").Struct<{
1652
+ readonly version: import("effect/Schema").Literal<1>;
1653
+ readonly name: import("effect/Schema").String;
1654
+ readonly logo: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
1655
+ readonly type: import("effect/Schema").Literal<"icon">;
1656
+ readonly value: import("effect/Schema").String;
1657
+ readonly color: import("effect/Schema").String;
1658
+ }>, import("effect/Schema").Struct<{
1659
+ readonly type: import("effect/Schema").Literal<"emoji">;
1660
+ readonly value: import("effect/Schema").String;
1661
+ }>, import("effect/Schema").Struct<{
1662
+ readonly type: import("effect/Schema").Literal<"image">;
1663
+ readonly value: import("effect/Schema").String;
1664
+ }>]>>;
1665
+ readonly description: import("effect/Schema").optionalKey<import("effect/Schema").String>;
1666
+ }>;
1667
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "OrganizationRoleId">;
1668
+ readonly systemRoleId: import("effect/Schema").brand<import("effect/Schema").String, "SystemRoleId">;
1669
+ readonly key: import("effect/Schema").String;
1670
+ readonly permissions: import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["organization:read", "organization:update", "member:read", "member:update", "member:remove", "invitation:read", "invitation:create", "invitation:cancel", "role:read", "role:create", "role:update", "role:delete", "billing:read", "billing:update", "billing:cancel", "wallet:read", "wallet:create", "wallet:update", "session-key:read", "session-key:create", "session-key:revoke", "api-key:read", "api-key:create", "api-key:revoke", "execution:read", "mcp-authorization:read", "mcp-authorization:create", "mcp-authorization:revoke", "cli-authorization:read", "cli-authorization:create", "cli-authorization:revoke"]>>;
1671
+ }>, import("effect/Schema").Struct<{
1672
+ readonly type: import("effect/Schema").Literal<"custom">;
1673
+ readonly metadata: import("effect/Schema").Struct<{
1674
+ readonly version: import("effect/Schema").Literal<1>;
1675
+ readonly name: import("effect/Schema").String;
1676
+ readonly logo: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
1677
+ readonly type: import("effect/Schema").Literal<"icon">;
1678
+ readonly value: import("effect/Schema").String;
1679
+ readonly color: import("effect/Schema").String;
1680
+ }>, import("effect/Schema").Struct<{
1681
+ readonly type: import("effect/Schema").Literal<"emoji">;
1682
+ readonly value: import("effect/Schema").String;
1683
+ }>, import("effect/Schema").Struct<{
1684
+ readonly type: import("effect/Schema").Literal<"image">;
1685
+ readonly value: import("effect/Schema").String;
1686
+ }>]>>;
1687
+ readonly description: import("effect/Schema").optionalKey<import("effect/Schema").String>;
1688
+ }>;
1689
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "OrganizationRoleId">;
1690
+ readonly systemRoleId: import("effect/Schema").Null;
1691
+ readonly key: import("effect/Schema").String;
1692
+ readonly permissions: import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["organization:read", "organization:update", "member:read", "member:update", "member:remove", "invitation:read", "invitation:create", "invitation:cancel", "role:read", "role:create", "role:update", "role:delete", "billing:read", "billing:update", "billing:cancel", "wallet:read", "wallet:create", "wallet:update", "session-key:read", "session-key:create", "session-key:revoke", "api-key:read", "api-key:create", "api-key:revoke", "execution:read", "mcp-authorization:read", "mcp-authorization:create", "mcp-authorization:revoke", "cli-authorization:read", "cli-authorization:create", "cli-authorization:revoke"]>>;
1693
+ }>]>;
1694
+ }>;
1695
+ readonly installations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1696
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "SessionKeyInstallationId">;
1697
+ readonly chainId: import("effect/Schema").Literals<readonly ["eip155:1", "eip155:10", "eip155:8453", "eip155:42161", "eip155:84532", "eip155:421614", "eip155:11155111", "eip155:11155420"]>;
1698
+ readonly status: import("effect/Schema").Literals<readonly ["pending", "submitted", "installed", "revoking", "revoked", "failed"]>;
1699
+ readonly authorization: import("effect/Schema").Struct<{
1700
+ readonly version: import("effect/Schema").Literal<1>;
1701
+ readonly entityId: import("effect/Schema").Int;
1702
+ readonly signerAddress: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
1703
+ readonly permissions: import("effect/Schema").$Array<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
1704
+ readonly type: import("effect/Schema").Literal<"native-token-transfer">;
1705
+ readonly allowance: import("effect/Schema").BigIntFromString;
1706
+ }>, import("effect/Schema").Struct<{
1707
+ readonly type: import("effect/Schema").Literal<"erc20-token-transfer">;
1708
+ readonly address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
1709
+ readonly allowance: import("effect/Schema").BigIntFromString;
1710
+ }>, import("effect/Schema").Struct<{
1711
+ readonly type: import("effect/Schema").Literal<"gas-limit">;
1712
+ readonly limit: import("effect/Schema").BigIntFromString;
1713
+ }>, import("effect/Schema").Struct<{
1714
+ readonly type: import("effect/Schema").Literal<"contract-access">;
1715
+ readonly address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
1716
+ }>, import("effect/Schema").Struct<{
1717
+ readonly type: import("effect/Schema").Literal<"account-functions">;
1718
+ readonly functions: import("effect/Schema").$Array<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>>;
1719
+ }>, import("effect/Schema").Struct<{
1720
+ readonly type: import("effect/Schema").Literal<"functions-on-all-contracts">;
1721
+ readonly functions: import("effect/Schema").$Array<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>>;
1722
+ }>, import("effect/Schema").Struct<{
1723
+ readonly type: import("effect/Schema").Literal<"functions-on-contract">;
1724
+ readonly address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
1725
+ readonly functions: import("effect/Schema").$Array<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>>;
1726
+ }>, import("effect/Schema").Struct<{
1727
+ readonly type: import("effect/Schema").Literal<"root">;
1728
+ }>]>>;
1729
+ readonly allowSignatures: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
1730
+ readonly validAfter: import("effect/Schema").Int;
1731
+ readonly validUntil: import("effect/Schema").Int;
1732
+ }>;
1733
+ readonly installTransactionHash: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "Bytes32">, "TransactionHash">>;
1734
+ readonly uninstallTransactionHash: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "Bytes32">, "TransactionHash">>;
1735
+ }>>;
1736
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "SessionKeyId">;
1737
+ readonly organizationId: import("effect/Schema").brand<import("effect/Schema").String, "OrganizationId">;
1738
+ readonly walletId: import("effect/Schema").brand<import("effect/Schema").String, "WalletId">;
1739
+ readonly signingKeyId: import("effect/Schema").brand<import("effect/Schema").String, "SigningKeyId">;
1740
+ readonly namespace: import("effect/Schema").Literal<"eip155">;
1741
+ readonly metadata: import("effect/Schema").Struct<{
1742
+ readonly version: import("effect/Schema").Literal<1>;
1743
+ readonly name: import("effect/Schema").String;
1744
+ readonly logo: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
1745
+ readonly type: import("effect/Schema").Literal<"icon">;
1746
+ readonly value: import("effect/Schema").String;
1747
+ readonly color: import("effect/Schema").String;
1748
+ }>, import("effect/Schema").Struct<{
1749
+ readonly type: import("effect/Schema").Literal<"emoji">;
1750
+ readonly value: import("effect/Schema").String;
1751
+ }>, import("effect/Schema").Struct<{
1752
+ readonly type: import("effect/Schema").Literal<"image">;
1753
+ readonly value: import("effect/Schema").String;
1754
+ }>]>>;
1755
+ readonly description: import("effect/Schema").optionalKey<import("effect/Schema").String>;
1756
+ }>;
1757
+ readonly policies: import("effect/Schema").$Array<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
1758
+ readonly type: import("effect/Schema").Literal<"evm.contract-access">;
1759
+ readonly address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
1760
+ readonly version: import("effect/Schema").Literal<1>;
1761
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
1762
+ readonly appliesTo: import("effect/Schema").Literal<"execution">;
1763
+ }>, import("effect/Schema").Struct<{
1764
+ readonly type: import("effect/Schema").Literal<"evm.functions-on-contract">;
1765
+ readonly address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
1766
+ readonly functions: import("effect/Schema").$Array<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>>;
1767
+ readonly version: import("effect/Schema").Literal<1>;
1768
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
1769
+ readonly appliesTo: import("effect/Schema").Literal<"execution">;
1770
+ }>, import("effect/Schema").Struct<{
1771
+ readonly type: import("effect/Schema").Literal<"evm.functions-on-all-contracts">;
1772
+ readonly functions: import("effect/Schema").$Array<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>>;
1773
+ readonly version: import("effect/Schema").Literal<1>;
1774
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
1775
+ readonly appliesTo: import("effect/Schema").Literal<"execution">;
1776
+ }>, import("effect/Schema").Struct<{
1777
+ readonly type: import("effect/Schema").Literal<"evm.account-functions">;
1778
+ readonly functions: import("effect/Schema").$Array<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>>;
1779
+ readonly version: import("effect/Schema").Literal<1>;
1780
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
1781
+ readonly appliesTo: import("effect/Schema").Literal<"execution">;
1782
+ }>, import("effect/Schema").Struct<{
1783
+ readonly type: import("effect/Schema").Literal<"evm.erc20-token-transfer">;
1784
+ readonly version: import("effect/Schema").Literal<1>;
1785
+ readonly address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
1786
+ readonly allowance: import("effect/Schema").BigIntFromString;
1787
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
1788
+ readonly appliesTo: import("effect/Schema").Literal<"execution">;
1789
+ }>, import("effect/Schema").Struct<{
1790
+ readonly type: import("effect/Schema").Literal<"evm.time-window">;
1791
+ readonly version: import("effect/Schema").Literal<1>;
1792
+ readonly startsAt: import("effect/Schema").NullOr<import("effect/Schema").DateTimeUtcFromString>;
1793
+ readonly expiresAt: import("effect/Schema").DateTimeUtcFromString;
1794
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
1795
+ readonly appliesTo: import("effect/Schema").Literal<"both">;
1796
+ }>, import("effect/Schema").Struct<{
1797
+ readonly type: import("effect/Schema").Literal<"evm.chain-allowlist">;
1798
+ readonly version: import("effect/Schema").Literal<1>;
1799
+ readonly chainIds: import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["eip155:1", "eip155:10", "eip155:8453", "eip155:42161", "eip155:84532", "eip155:421614", "eip155:11155111", "eip155:11155420"]>>;
1800
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
1801
+ readonly appliesTo: import("effect/Schema").Literal<"both">;
1802
+ }>, import("effect/Schema").Struct<{
1803
+ readonly type: import("effect/Schema").Literal<"evm.gas-budget">;
1804
+ readonly version: import("effect/Schema").Literal<1>;
1805
+ readonly budgets: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1806
+ readonly chainId: import("effect/Schema").Literals<readonly ["eip155:1", "eip155:10", "eip155:8453", "eip155:42161", "eip155:84532", "eip155:421614", "eip155:11155111", "eip155:11155420"]>;
1807
+ readonly period: import("effect/Schema").Literals<readonly ["hour", "day", "week", "lifetime"]>;
1808
+ readonly maxCost: import("effect/Schema").BigIntFromString;
1809
+ }>>;
1810
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
1811
+ readonly appliesTo: import("effect/Schema").Literal<"execution">;
1812
+ }>, import("effect/Schema").Struct<{
1813
+ readonly type: import("effect/Schema").Literal<"evm.native-spend-limit">;
1814
+ readonly version: import("effect/Schema").Literal<1>;
1815
+ readonly limits: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1816
+ readonly chainId: import("effect/Schema").Literals<readonly ["eip155:1", "eip155:10", "eip155:8453", "eip155:42161", "eip155:84532", "eip155:421614", "eip155:11155111", "eip155:11155420"]>;
1817
+ readonly period: import("effect/Schema").Literals<readonly ["operation", "hour", "day", "week", "month", "lifetime"]>;
1818
+ readonly maxAmount: import("effect/Schema").BigIntFromString;
1819
+ }>>;
1820
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
1821
+ readonly appliesTo: import("effect/Schema").Literal<"execution">;
1822
+ }>, import("effect/Schema").Struct<{
1823
+ readonly type: import("effect/Schema").Literal<"evm.signature">;
1824
+ readonly version: import("effect/Schema").Literal<1>;
1825
+ readonly allowedTypes: import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["message", "typed-data"]>>;
1826
+ readonly typedDataRules: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1827
+ readonly chainId: import("effect/Schema").Literals<readonly ["eip155:1", "eip155:10", "eip155:8453", "eip155:42161", "eip155:84532", "eip155:421614", "eip155:11155111", "eip155:11155420"]>;
1828
+ readonly verifyingContract: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
1829
+ readonly name: import("effect/Schema").optionalKey<import("effect/Schema").String>;
1830
+ readonly version: import("effect/Schema").optionalKey<import("effect/Schema").String>;
1831
+ readonly primaryTypes: import("effect/Schema").$Array<import("effect/Schema").String>;
1832
+ }>>>;
1833
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
1834
+ readonly appliesTo: import("effect/Schema").Literal<"signature">;
1835
+ }>]>>;
1836
+ readonly policyHash: import("effect/Schema").String;
1837
+ readonly status: import("effect/Schema").Literals<readonly ["pending", "active", "revoking", "revoked"]>;
1838
+ readonly revokedAt: import("effect/Schema").NullOr<import("effect/Schema").DateTimeUtcFromDate>;
1839
+ readonly createdAt: import("effect/Schema").DateTimeUtcFromDate;
1840
+ }>]>>, import("effect/Schema").toCodecJson<HttpApiSchema.asNoContent<typeof import("effect/unstable/httpapi/HttpApiError").Forbidden> | HttpApiSchema.asNoContent<typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError> | typeof import("@namera-ai/protocol").RateLimitExceeded | typeof SessionKeyNotFoundError>, Authorization, never>, false>;
1841
+ declare class SessionKeyGroup extends SessionKeyGroup_base {}
1842
+ //#endregion
1843
+ export { SessionKeyGroup };
1844
+ //# sourceMappingURL=session-key.d.ts.map