@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,816 @@
1
+ import { Authorization } from "../middlewares/auth.js";
2
+ import "../middlewares/index.js";
3
+ import { HttpApiEndpoint, HttpApiGroup } from "effect/unstable/httpapi";
4
+ import { ExecutionError, ExecutionNotFoundError, ExecutionSubmissionNotFoundError } from "@namera-ai/protocol";
5
+ //#region src/routes/execution.d.ts
6
+ declare const ExecutionGroup_base: HttpApiGroup.HttpApiGroup<"execution", HttpApiEndpoint.HttpApiEndpoint<"prepare", "POST", "/executions/prepare", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
7
+ readonly sponsor: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
8
+ readonly namespace: import("effect/Schema").Literal<"eip155">;
9
+ readonly walletId: import("effect/Schema").brand<import("effect/Schema").String, "WalletId">;
10
+ readonly sessionKeyId: import("effect/Schema").brand<import("effect/Schema").String, "SessionKeyId">;
11
+ readonly chainId: import("effect/Schema").Literals<readonly ["eip155:1", "eip155:10", "eip155:8453", "eip155:42161", "eip155:84532", "eip155:421614", "eip155:11155111", "eip155:11155420"]>;
12
+ readonly calls: import("effect/Schema").$Array<import("effect/Schema").Struct<{
13
+ readonly to: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
14
+ readonly value: import("effect/Schema").BigIntFromString;
15
+ readonly data: import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>;
16
+ }>>;
17
+ }>]>>, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
18
+ readonly "idempotency-key": import("effect/Schema").String;
19
+ }>>, import("effect/Schema").toCodecJson<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
20
+ readonly namespace: import("effect/Schema").Literal<"eip155">;
21
+ readonly submissionId: import("effect/Schema").brand<import("effect/Schema").String, "ExecutionSubmissionId">;
22
+ readonly sessionKeyId: import("effect/Schema").brand<import("effect/Schema").String, "SessionKeyId">;
23
+ readonly installationId: import("effect/Schema").brand<import("effect/Schema").String, "SessionKeyInstallationId">;
24
+ readonly signingKeyId: import("effect/Schema").brand<import("effect/Schema").String, "SigningKeyId">;
25
+ readonly prepared: import("effect/Schema").Struct<{
26
+ readonly context: import("effect/Schema").Struct<{
27
+ readonly version: import("effect/Schema").Literal<1>;
28
+ readonly namespace: import("effect/Schema").Literal<"eip155">;
29
+ readonly chainId: import("effect/Schema").Literals<readonly ["eip155:1", "eip155:10", "eip155:8453", "eip155:42161", "eip155:84532", "eip155:421614", "eip155:11155111", "eip155:11155420"]>;
30
+ readonly account: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
31
+ readonly block: import("effect/Schema").Struct<{
32
+ readonly number: import("effect/Schema").BigIntFromString;
33
+ readonly hash: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "Bytes32">;
34
+ readonly timestamp: import("effect/Schema").DateTimeUtcFromDate;
35
+ }>;
36
+ readonly calls: import("effect/Schema").$Array<import("effect/Schema").Struct<{
37
+ readonly to: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
38
+ readonly value: import("effect/Schema").BigIntFromString;
39
+ readonly data: import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>;
40
+ }>>;
41
+ readonly userOperation: import("effect/Schema").Struct<{
42
+ readonly nonce: import("effect/Schema").BigIntFromString;
43
+ readonly gas: import("effect/Schema").Struct<{
44
+ readonly callGasLimit: import("effect/Schema").BigIntFromString;
45
+ readonly verificationGasLimit: import("effect/Schema").BigIntFromString;
46
+ readonly preVerificationGas: import("effect/Schema").BigIntFromString;
47
+ readonly paymasterVerificationGasLimit: import("effect/Schema").BigIntFromString;
48
+ readonly paymasterPostOpGasLimit: import("effect/Schema").BigIntFromString;
49
+ readonly maxFeePerGas: import("effect/Schema").BigIntFromString;
50
+ readonly maxPriorityFeePerGas: import("effect/Schema").BigIntFromString;
51
+ }>;
52
+ readonly paymaster: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">>;
53
+ }>;
54
+ readonly simulation: import("effect/Schema").Struct<{
55
+ readonly userOperation: import("effect/Schema").Struct<{
56
+ readonly source: import("effect/Schema").Literal<"eth_estimateUserOperationGas">;
57
+ readonly callGasLimit: import("effect/Schema").BigIntFromString;
58
+ readonly verificationGasLimit: import("effect/Schema").BigIntFromString;
59
+ readonly preVerificationGas: import("effect/Schema").BigIntFromString;
60
+ readonly maxFeePerGas: import("effect/Schema").BigIntFromString;
61
+ readonly maxPriorityFeePerGas: import("effect/Schema").BigIntFromString;
62
+ }>;
63
+ readonly calls: import("effect/Schema").Struct<{
64
+ readonly source: import("effect/Schema").Literal<"viem.simulateCalls">;
65
+ readonly results: import("effect/Schema").$Array<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
66
+ readonly status: import("effect/Schema").Literal<"success">;
67
+ readonly returnData: import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>;
68
+ readonly gasUsed: import("effect/Schema").BigIntFromString;
69
+ }>, import("effect/Schema").Struct<{
70
+ readonly status: import("effect/Schema").Literal<"failure">;
71
+ readonly returnData: import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>;
72
+ readonly gasUsed: import("effect/Schema").BigIntFromString;
73
+ }>]>>;
74
+ readonly assetChanges: import("effect/Schema").$Array<import("effect/Schema").Struct<{
75
+ readonly asset: import("effect/Schema").Struct<{
76
+ readonly address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
77
+ readonly symbol: import("effect/Schema").NullOr<import("effect/Schema").String>;
78
+ readonly decimals: import("effect/Schema").NullOr<import("effect/Schema").Int>;
79
+ }>;
80
+ readonly pre: import("effect/Schema").BigIntFromString;
81
+ readonly post: import("effect/Schema").BigIntFromString;
82
+ readonly diff: import("effect/Schema").BigIntFromString;
83
+ }>>;
84
+ readonly transfers: import("effect/Schema").$Array<import("effect/Schema").Struct<{
85
+ readonly callIndex: import("effect/Schema").Int;
86
+ readonly from: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
87
+ readonly to: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
88
+ readonly value: import("effect/Schema").BigIntFromString;
89
+ }>>;
90
+ }>;
91
+ }>;
92
+ }>;
93
+ readonly userOperation: import("effect/Schema").Struct<{
94
+ readonly sender: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
95
+ readonly nonce: import("effect/Schema").BigIntFromString;
96
+ readonly factory: import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">>;
97
+ readonly factoryData: import("effect/Schema").optionalKey<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>>;
98
+ readonly callData: import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>;
99
+ readonly callGasLimit: import("effect/Schema").BigIntFromString;
100
+ readonly verificationGasLimit: import("effect/Schema").BigIntFromString;
101
+ readonly preVerificationGas: import("effect/Schema").BigIntFromString;
102
+ readonly maxFeePerGas: import("effect/Schema").BigIntFromString;
103
+ readonly maxPriorityFeePerGas: import("effect/Schema").BigIntFromString;
104
+ readonly paymaster: import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">>;
105
+ readonly paymasterVerificationGasLimit: import("effect/Schema").optionalKey<import("effect/Schema").BigIntFromString>;
106
+ readonly paymasterPostOpGasLimit: import("effect/Schema").optionalKey<import("effect/Schema").BigIntFromString>;
107
+ readonly paymasterData: import("effect/Schema").optionalKey<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>>;
108
+ readonly signature: import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>;
109
+ readonly authorization: import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
110
+ readonly address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
111
+ readonly chainId: import("effect/Schema").Int;
112
+ readonly nonce: import("effect/Schema").Int;
113
+ readonly r: import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>;
114
+ readonly s: import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>;
115
+ readonly yParity: import("effect/Schema").Literals<readonly [0, 1]>;
116
+ }>>;
117
+ }>;
118
+ readonly billing: import("effect/Schema").Struct<{
119
+ readonly executionMeter: import("effect/Schema").Literals<readonly ["execution.mainnet", "execution.testnet"]>;
120
+ readonly sponsorship: import("effect/Schema").NullOr<import("effect/Schema").Struct<{
121
+ readonly provider: import("effect/Schema").Literal<"alchemy">;
122
+ readonly mode: import("effect/Schema").Literal<"bso">;
123
+ readonly reservationAmountMicroUsd: import("effect/Schema").BigIntFromString;
124
+ readonly quote: import("effect/Schema").Struct<{
125
+ readonly provider: import("effect/Schema").Literal<"alchemy">;
126
+ readonly currency: import("effect/Schema").Literal<"usd">;
127
+ readonly nativeAsset: import("effect/Schema").Literal<"ETH">;
128
+ readonly nativePriceMicroUsd: import("effect/Schema").BigIntFromString;
129
+ readonly surchargeBasisPoints: import("effect/Schema").Int;
130
+ readonly quotedAt: import("effect/Schema").DateTimeUtcFromString;
131
+ }>;
132
+ }>>;
133
+ }>;
134
+ readonly version: import("effect/Schema").Literal<1>;
135
+ readonly namespace: import("effect/Schema").Literal<"eip155">;
136
+ readonly chainId: import("effect/Schema").Literals<readonly ["eip155:1", "eip155:10", "eip155:8453", "eip155:42161", "eip155:84532", "eip155:421614", "eip155:11155111", "eip155:11155420"]>;
137
+ readonly entryPointVersion: import("effect/Schema").Literal<"0.7">;
138
+ readonly entryPoint: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
139
+ readonly sponsorship: import("effect/Schema").Literals<readonly ["none", "alchemy-bso"]>;
140
+ }>;
141
+ readonly signing: import("effect/Schema").Struct<{
142
+ readonly method: import("effect/Schema").Literal<"personal_sign">;
143
+ readonly message: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "Bytes32">;
144
+ }>;
145
+ readonly expiresAt: import("effect/Schema").DateTimeUtcFromDate;
146
+ }>]>>, import("effect/Schema").toCodecJson<import("effect/unstable/httpapi/HttpApiSchema").asNoContent<typeof import("effect/unstable/httpapi/HttpApiError").Forbidden> | import("effect/unstable/httpapi/HttpApiSchema").asNoContent<typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError> | typeof import("@namera-ai/protocol").RateLimitExceeded | typeof ExecutionError | typeof import("@namera-ai/protocol").BillingLimitExceededError>, Authorization, never> | HttpApiEndpoint.HttpApiEndpoint<"complete", "POST", "/executions/complete", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
147
+ readonly namespace: import("effect/Schema").Literal<"eip155">;
148
+ readonly submissionId: import("effect/Schema").brand<import("effect/Schema").String, "ExecutionSubmissionId">;
149
+ readonly signature: import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>;
150
+ }>]>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
151
+ readonly namespace: import("effect/Schema").Literal<"eip155">;
152
+ readonly submissionId: import("effect/Schema").brand<import("effect/Schema").String, "ExecutionSubmissionId">;
153
+ readonly status: import("effect/Schema").Literals<readonly ["prepared", "submitted", "confirmed", "failed"]>;
154
+ readonly userOperationHash: import("effect/Schema").brand<import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "Bytes32">, "UserOperationHash">;
155
+ }>>, import("effect/Schema").toCodecJson<import("effect/unstable/httpapi/HttpApiSchema").asNoContent<typeof import("effect/unstable/httpapi/HttpApiError").Forbidden> | import("effect/unstable/httpapi/HttpApiSchema").asNoContent<typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError> | typeof import("@namera-ai/protocol").RateLimitExceeded | typeof ExecutionError>, Authorization, never> | HttpApiEndpoint.HttpApiEndpoint<"simulate", "POST", "/executions/simulate", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
156
+ namespace: import("effect/Schema").Literal<"eip155">;
157
+ walletId: import("effect/Schema").brand<import("effect/Schema").String, "WalletId">;
158
+ sessionKeyId: import("effect/Schema").brand<import("effect/Schema").String, "SessionKeyId">;
159
+ chainId: import("effect/Schema").Literals<readonly ["eip155:1", "eip155:10", "eip155:8453", "eip155:42161", "eip155:84532", "eip155:421614", "eip155:11155111", "eip155:11155420"]>;
160
+ calls: import("effect/Schema").$Array<import("effect/Schema").Struct<{
161
+ readonly to: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
162
+ readonly value: import("effect/Schema").BigIntFromString;
163
+ readonly data: import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>;
164
+ }>>;
165
+ }>]>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
166
+ readonly allowed: import("effect/Schema").Literal<true>;
167
+ readonly sessionKeyId: import("effect/Schema").brand<import("effect/Schema").String, "SessionKeyId">;
168
+ readonly namespace: import("effect/Schema").Literal<"eip155">;
169
+ readonly walletId: import("effect/Schema").brand<import("effect/Schema").String, "WalletId">;
170
+ readonly chainId: import("effect/Schema").Literals<readonly ["eip155:1", "eip155:10", "eip155:8453", "eip155:42161", "eip155:84532", "eip155:421614", "eip155:11155111", "eip155:11155420"]>;
171
+ readonly account: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
172
+ readonly callsSucceeded: import("effect/Schema").Boolean;
173
+ readonly simulation: import("effect/Schema").Struct<{
174
+ readonly userOperation: import("effect/Schema").Struct<{
175
+ readonly source: import("effect/Schema").Literal<"eth_estimateUserOperationGas">;
176
+ readonly callGasLimit: import("effect/Schema").BigIntFromString;
177
+ readonly verificationGasLimit: import("effect/Schema").BigIntFromString;
178
+ readonly preVerificationGas: import("effect/Schema").BigIntFromString;
179
+ readonly maxFeePerGas: import("effect/Schema").BigIntFromString;
180
+ readonly maxPriorityFeePerGas: import("effect/Schema").BigIntFromString;
181
+ }>;
182
+ readonly calls: import("effect/Schema").Struct<{
183
+ readonly source: import("effect/Schema").Literal<"viem.simulateCalls">;
184
+ readonly results: import("effect/Schema").$Array<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
185
+ readonly status: import("effect/Schema").Literal<"success">;
186
+ readonly returnData: import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>;
187
+ readonly gasUsed: import("effect/Schema").BigIntFromString;
188
+ }>, import("effect/Schema").Struct<{
189
+ readonly status: import("effect/Schema").Literal<"failure">;
190
+ readonly returnData: import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>;
191
+ readonly gasUsed: import("effect/Schema").BigIntFromString;
192
+ }>]>>;
193
+ readonly assetChanges: import("effect/Schema").$Array<import("effect/Schema").Struct<{
194
+ readonly asset: import("effect/Schema").Struct<{
195
+ readonly address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
196
+ readonly symbol: import("effect/Schema").NullOr<import("effect/Schema").String>;
197
+ readonly decimals: import("effect/Schema").NullOr<import("effect/Schema").Int>;
198
+ }>;
199
+ readonly pre: import("effect/Schema").BigIntFromString;
200
+ readonly post: import("effect/Schema").BigIntFromString;
201
+ readonly diff: import("effect/Schema").BigIntFromString;
202
+ }>>;
203
+ readonly transfers: import("effect/Schema").$Array<import("effect/Schema").Struct<{
204
+ readonly callIndex: import("effect/Schema").Int;
205
+ readonly from: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
206
+ readonly to: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
207
+ readonly value: import("effect/Schema").BigIntFromString;
208
+ }>>;
209
+ }>;
210
+ }>;
211
+ }>, import("effect/Schema").Struct<{
212
+ readonly allowed: import("effect/Schema").Literal<false>;
213
+ readonly denials: import("effect/Schema").$Array<import("effect/Schema").Struct<{
214
+ readonly sessionKeyId: import("effect/Schema").brand<import("effect/Schema").String, "SessionKeyId">;
215
+ readonly policyId: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
216
+ readonly code: import("effect/Schema").Literals<readonly ["TIME_WINDOW_NOT_STARTED", "TIME_WINDOW_EXPIRED", "CHAIN_NOT_ALLOWED", "GAS_BUDGET_CHAIN_NOT_CONFIGURED", "GAS_BUDGET_EXCEEDED", "NATIVE_SPEND_CHAIN_NOT_CONFIGURED", "NATIVE_SPEND_LIMIT_EXCEEDED", "SIGNATURE_TYPE_NOT_ALLOWED", "TYPED_DATA_NOT_ALLOWED", "CALL_NOT_ALLOWED", "TOKEN_CALL_NOT_ALLOWED", "TOKEN_SPEND_LIMIT_EXCEEDED"]>;
217
+ }>>;
218
+ readonly namespace: import("effect/Schema").Literal<"eip155">;
219
+ readonly walletId: import("effect/Schema").brand<import("effect/Schema").String, "WalletId">;
220
+ readonly chainId: import("effect/Schema").Literals<readonly ["eip155:1", "eip155:10", "eip155:8453", "eip155:42161", "eip155:84532", "eip155:421614", "eip155:11155111", "eip155:11155420"]>;
221
+ readonly account: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
222
+ readonly callsSucceeded: import("effect/Schema").Boolean;
223
+ readonly simulation: import("effect/Schema").Struct<{
224
+ readonly userOperation: import("effect/Schema").Struct<{
225
+ readonly source: import("effect/Schema").Literal<"eth_estimateUserOperationGas">;
226
+ readonly callGasLimit: import("effect/Schema").BigIntFromString;
227
+ readonly verificationGasLimit: import("effect/Schema").BigIntFromString;
228
+ readonly preVerificationGas: import("effect/Schema").BigIntFromString;
229
+ readonly maxFeePerGas: import("effect/Schema").BigIntFromString;
230
+ readonly maxPriorityFeePerGas: import("effect/Schema").BigIntFromString;
231
+ }>;
232
+ readonly calls: import("effect/Schema").Struct<{
233
+ readonly source: import("effect/Schema").Literal<"viem.simulateCalls">;
234
+ readonly results: import("effect/Schema").$Array<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
235
+ readonly status: import("effect/Schema").Literal<"success">;
236
+ readonly returnData: import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>;
237
+ readonly gasUsed: import("effect/Schema").BigIntFromString;
238
+ }>, import("effect/Schema").Struct<{
239
+ readonly status: import("effect/Schema").Literal<"failure">;
240
+ readonly returnData: import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>;
241
+ readonly gasUsed: import("effect/Schema").BigIntFromString;
242
+ }>]>>;
243
+ readonly assetChanges: import("effect/Schema").$Array<import("effect/Schema").Struct<{
244
+ readonly asset: import("effect/Schema").Struct<{
245
+ readonly address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
246
+ readonly symbol: import("effect/Schema").NullOr<import("effect/Schema").String>;
247
+ readonly decimals: import("effect/Schema").NullOr<import("effect/Schema").Int>;
248
+ }>;
249
+ readonly pre: import("effect/Schema").BigIntFromString;
250
+ readonly post: import("effect/Schema").BigIntFromString;
251
+ readonly diff: import("effect/Schema").BigIntFromString;
252
+ }>>;
253
+ readonly transfers: import("effect/Schema").$Array<import("effect/Schema").Struct<{
254
+ readonly callIndex: import("effect/Schema").Int;
255
+ readonly from: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
256
+ readonly to: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
257
+ readonly value: import("effect/Schema").BigIntFromString;
258
+ }>>;
259
+ }>;
260
+ }>;
261
+ }>]>>, import("effect/Schema").toCodecJson<import("effect/unstable/httpapi/HttpApiSchema").asNoContent<typeof import("effect/unstable/httpapi/HttpApiError").Forbidden> | import("effect/unstable/httpapi/HttpApiSchema").asNoContent<typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError> | typeof import("@namera-ai/protocol").RateLimitExceeded | typeof ExecutionError>, Authorization, never> | HttpApiEndpoint.HttpApiEndpoint<"execute", "POST", "/executions/", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
262
+ readonly sponsor: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
263
+ readonly namespace: import("effect/Schema").Literal<"eip155">;
264
+ readonly walletId: import("effect/Schema").brand<import("effect/Schema").String, "WalletId">;
265
+ readonly sessionKeyId: import("effect/Schema").brand<import("effect/Schema").String, "SessionKeyId">;
266
+ readonly chainId: import("effect/Schema").Literals<readonly ["eip155:1", "eip155:10", "eip155:8453", "eip155:42161", "eip155:84532", "eip155:421614", "eip155:11155111", "eip155:11155420"]>;
267
+ readonly calls: import("effect/Schema").$Array<import("effect/Schema").Struct<{
268
+ readonly to: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
269
+ readonly value: import("effect/Schema").BigIntFromString;
270
+ readonly data: import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>;
271
+ }>>;
272
+ }>]>>, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
273
+ readonly "idempotency-key": import("effect/Schema").String;
274
+ }>>, import("effect/Schema").toCodecJson<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
275
+ readonly namespace: import("effect/Schema").Literal<"eip155">;
276
+ readonly status: import("effect/Schema").Literal<"submitted">;
277
+ readonly submissionId: import("effect/Schema").brand<import("effect/Schema").String, "ExecutionSubmissionId">;
278
+ readonly userOperationHash: import("effect/Schema").brand<import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "Bytes32">, "UserOperationHash">;
279
+ }>, import("effect/Schema").Struct<{
280
+ readonly namespace: import("effect/Schema").Literal<"eip155">;
281
+ readonly status: import("effect/Schema").Literal<"confirmed">;
282
+ readonly submissionId: import("effect/Schema").brand<import("effect/Schema").String, "ExecutionSubmissionId">;
283
+ readonly executionId: import("effect/Schema").brand<import("effect/Schema").String, "ExecutionId">;
284
+ readonly receipt: import("effect/Schema").Struct<{
285
+ readonly success: import("effect/Schema").Literal<true>;
286
+ readonly reason: import("effect/Schema").Null;
287
+ readonly version: import("effect/Schema").Literal<1>;
288
+ readonly namespace: import("effect/Schema").Literal<"eip155">;
289
+ readonly chainId: import("effect/Schema").Literals<readonly ["eip155:1", "eip155:10", "eip155:8453", "eip155:42161", "eip155:84532", "eip155:421614", "eip155:11155111", "eip155:11155420"]>;
290
+ readonly userOperationHash: import("effect/Schema").brand<import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "Bytes32">, "UserOperationHash">;
291
+ readonly transactionHash: import("effect/Schema").brand<import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "Bytes32">, "TransactionHash">;
292
+ readonly blockHash: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "Bytes32">;
293
+ readonly blockNumber: import("effect/Schema").BigIntFromString;
294
+ readonly sender: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
295
+ readonly nonce: import("effect/Schema").BigIntFromString;
296
+ readonly entryPoint: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
297
+ readonly paymaster: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">>;
298
+ readonly actualGasCost: import("effect/Schema").BigIntFromString;
299
+ readonly actualGasUsed: import("effect/Schema").BigIntFromString;
300
+ }>;
301
+ }>]>>, import("effect/Schema").toCodecJson<import("effect/unstable/httpapi/HttpApiSchema").asNoContent<typeof import("effect/unstable/httpapi/HttpApiError").Forbidden> | import("effect/unstable/httpapi/HttpApiSchema").asNoContent<typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError> | typeof import("@namera-ai/protocol").RateLimitExceeded | typeof ExecutionError | typeof import("@namera-ai/protocol").BillingLimitExceededError>, Authorization, never> | HttpApiEndpoint.HttpApiEndpoint<"getSubmission", "GET", "/executions/submissions/:submissionId", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
302
+ readonly submissionId: import("effect/Schema").brand<import("effect/Schema").String, "ExecutionSubmissionId">;
303
+ }>>, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
304
+ readonly status: import("effect/Schema").Literals<readonly ["reserved", "prepared", "submitted"]>;
305
+ readonly userOperationHash: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "Bytes32">, "UserOperationHash">>;
306
+ readonly namespace: import("effect/Schema").Literal<"eip155">;
307
+ readonly submissionId: import("effect/Schema").brand<import("effect/Schema").String, "ExecutionSubmissionId">;
308
+ }>, import("effect/Schema").Struct<{
309
+ readonly status: import("effect/Schema").Literal<"confirmed">;
310
+ readonly execution: import("effect/Schema").Struct<{
311
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ExecutionId">;
312
+ readonly executionSubmissionId: import("effect/Schema").brand<import("effect/Schema").String, "ExecutionSubmissionId">;
313
+ readonly organizationId: import("effect/Schema").brand<import("effect/Schema").String, "OrganizationId">;
314
+ readonly sessionKeyGrantId: import("effect/Schema").brand<import("effect/Schema").String, "SessionKeyGrantId">;
315
+ readonly namespace: import("effect/Schema").Literal<"eip155">;
316
+ readonly data: import("effect/Schema").Struct<{
317
+ readonly version: import("effect/Schema").Literal<1>;
318
+ readonly chainId: import("effect/Schema").Literals<readonly ["eip155:1", "eip155:10", "eip155:8453", "eip155:42161", "eip155:84532", "eip155:421614", "eip155:11155111", "eip155:11155420"]>;
319
+ readonly calls: import("effect/Schema").$Array<import("effect/Schema").Struct<{
320
+ readonly to: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
321
+ readonly value: import("effect/Schema").BigIntFromString;
322
+ readonly data: import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>;
323
+ }>>;
324
+ readonly userOperationHash: import("effect/Schema").brand<import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "Bytes32">, "UserOperationHash">;
325
+ readonly transactionHash: import("effect/Schema").brand<import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "Bytes32">, "TransactionHash">;
326
+ readonly receipt: import("effect/Schema").Struct<{
327
+ readonly success: import("effect/Schema").Literal<true>;
328
+ readonly reason: import("effect/Schema").Null;
329
+ readonly version: import("effect/Schema").Literal<1>;
330
+ readonly namespace: import("effect/Schema").Literal<"eip155">;
331
+ readonly chainId: import("effect/Schema").Literals<readonly ["eip155:1", "eip155:10", "eip155:8453", "eip155:42161", "eip155:84532", "eip155:421614", "eip155:11155111", "eip155:11155420"]>;
332
+ readonly userOperationHash: import("effect/Schema").brand<import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "Bytes32">, "UserOperationHash">;
333
+ readonly transactionHash: import("effect/Schema").brand<import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "Bytes32">, "TransactionHash">;
334
+ readonly blockHash: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "Bytes32">;
335
+ readonly blockNumber: import("effect/Schema").BigIntFromString;
336
+ readonly sender: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
337
+ readonly nonce: import("effect/Schema").BigIntFromString;
338
+ readonly entryPoint: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
339
+ readonly paymaster: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">>;
340
+ readonly actualGasCost: import("effect/Schema").BigIntFromString;
341
+ readonly actualGasUsed: import("effect/Schema").BigIntFromString;
342
+ }>;
343
+ }>;
344
+ readonly createdAt: import("effect/Schema").DateTimeUtcFromDate;
345
+ }>;
346
+ readonly namespace: import("effect/Schema").Literal<"eip155">;
347
+ readonly submissionId: import("effect/Schema").brand<import("effect/Schema").String, "ExecutionSubmissionId">;
348
+ }>, import("effect/Schema").Struct<{
349
+ readonly status: import("effect/Schema").Literal<"failed">;
350
+ readonly namespace: import("effect/Schema").Literal<"eip155">;
351
+ readonly submissionId: import("effect/Schema").brand<import("effect/Schema").String, "ExecutionSubmissionId">;
352
+ }>]>>, import("effect/Schema").toCodecJson<import("effect/unstable/httpapi/HttpApiSchema").asNoContent<typeof import("effect/unstable/httpapi/HttpApiError").Forbidden> | import("effect/unstable/httpapi/HttpApiSchema").asNoContent<typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError> | typeof import("@namera-ai/protocol").RateLimitExceeded | typeof ExecutionSubmissionNotFoundError>, Authorization, never> | HttpApiEndpoint.HttpApiEndpoint<"get", "GET", "/executions/:executionId", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
353
+ readonly executionId: import("effect/Schema").brand<import("effect/Schema").String, "ExecutionId">;
354
+ }>>, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
355
+ readonly execution: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
356
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ExecutionId">;
357
+ readonly executionSubmissionId: import("effect/Schema").brand<import("effect/Schema").String, "ExecutionSubmissionId">;
358
+ readonly organizationId: import("effect/Schema").brand<import("effect/Schema").String, "OrganizationId">;
359
+ readonly sessionKeyGrantId: import("effect/Schema").brand<import("effect/Schema").String, "SessionKeyGrantId">;
360
+ readonly namespace: import("effect/Schema").Literal<"eip155">;
361
+ readonly data: import("effect/Schema").Struct<{
362
+ readonly version: import("effect/Schema").Literal<1>;
363
+ readonly chainId: import("effect/Schema").Literals<readonly ["eip155:1", "eip155:10", "eip155:8453", "eip155:42161", "eip155:84532", "eip155:421614", "eip155:11155111", "eip155:11155420"]>;
364
+ readonly calls: import("effect/Schema").$Array<import("effect/Schema").Struct<{
365
+ readonly to: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
366
+ readonly value: import("effect/Schema").BigIntFromString;
367
+ readonly data: import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>;
368
+ }>>;
369
+ readonly userOperationHash: import("effect/Schema").brand<import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "Bytes32">, "UserOperationHash">;
370
+ readonly transactionHash: import("effect/Schema").brand<import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "Bytes32">, "TransactionHash">;
371
+ readonly receipt: import("effect/Schema").Struct<{
372
+ readonly success: import("effect/Schema").Literal<true>;
373
+ readonly reason: import("effect/Schema").Null;
374
+ readonly version: import("effect/Schema").Literal<1>;
375
+ readonly namespace: import("effect/Schema").Literal<"eip155">;
376
+ readonly chainId: import("effect/Schema").Literals<readonly ["eip155:1", "eip155:10", "eip155:8453", "eip155:42161", "eip155:84532", "eip155:421614", "eip155:11155111", "eip155:11155420"]>;
377
+ readonly userOperationHash: import("effect/Schema").brand<import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "Bytes32">, "UserOperationHash">;
378
+ readonly transactionHash: import("effect/Schema").brand<import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "Bytes32">, "TransactionHash">;
379
+ readonly blockHash: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "Bytes32">;
380
+ readonly blockNumber: import("effect/Schema").BigIntFromString;
381
+ readonly sender: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
382
+ readonly nonce: import("effect/Schema").BigIntFromString;
383
+ readonly entryPoint: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
384
+ readonly paymaster: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">>;
385
+ readonly actualGasCost: import("effect/Schema").BigIntFromString;
386
+ readonly actualGasUsed: import("effect/Schema").BigIntFromString;
387
+ }>;
388
+ }>;
389
+ readonly createdAt: import("effect/Schema").DateTimeUtcFromDate;
390
+ }>]>;
391
+ readonly wallet: import("effect/Schema").Union<readonly [import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
392
+ readonly data: import("effect/Schema").Struct<{
393
+ readonly version: import("effect/Schema").Literal<1>;
394
+ readonly modularAccountVersion: import("effect/Schema").Literal<"2.0.0">;
395
+ readonly validatorType: import("effect/Schema").Literal<"webauthn_p256">;
396
+ readonly entryPointVersion: import("effect/Schema").Literal<"0.7">;
397
+ readonly salt: import("effect/Schema").BigIntFromString;
398
+ readonly entityId: import("effect/Schema").Int;
399
+ }>;
400
+ readonly implementation: import("effect/Schema").Literal<"alchemy-modular-v2">;
401
+ readonly createdAt: import("effect/Schema").DateTimeUtcFromDate;
402
+ readonly updatedAt: import("effect/Schema").DateTimeUtcFromDate;
403
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "WalletId">;
404
+ readonly organizationId: import("effect/Schema").brand<import("effect/Schema").String, "OrganizationId">;
405
+ readonly metadata: import("effect/Schema").Struct<{
406
+ readonly version: import("effect/Schema").Literal<1>;
407
+ readonly name: import("effect/Schema").String;
408
+ readonly logo: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
409
+ readonly type: import("effect/Schema").Literal<"icon">;
410
+ readonly value: import("effect/Schema").String;
411
+ readonly color: import("effect/Schema").String;
412
+ }>, import("effect/Schema").Struct<{
413
+ readonly type: import("effect/Schema").Literal<"emoji">;
414
+ readonly value: import("effect/Schema").String;
415
+ }>, import("effect/Schema").Struct<{
416
+ readonly type: import("effect/Schema").Literal<"image">;
417
+ readonly value: import("effect/Schema").String;
418
+ }>]>>;
419
+ readonly description: import("effect/Schema").optionalKey<import("effect/Schema").String>;
420
+ }>;
421
+ readonly status: import("effect/Schema").Literals<readonly ["active", "frozen", "archived"]>;
422
+ readonly namespace: import("effect/Schema").Literal<"eip155">;
423
+ readonly address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
424
+ readonly owner: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
425
+ readonly signingKeyId: import("effect/Schema").brand<import("effect/Schema").String, "SigningKeyId">;
426
+ readonly custody: import("effect/Schema").Literal<"local">;
427
+ readonly algorithm: import("effect/Schema").Literals<readonly ["p256", "secp256k1", "ed25519"]>;
428
+ }>, import("effect/Schema").Struct<{
429
+ readonly signingKeyId: import("effect/Schema").brand<import("effect/Schema").String, "SigningKeyId">;
430
+ readonly custody: import("effect/Schema").Literal<"namera-managed">;
431
+ readonly algorithm: import("effect/Schema").Literals<readonly ["p256", "secp256k1", "ed25519"]>;
432
+ readonly protectionLevel: import("effect/Schema").Literals<readonly ["software", "hsm"]>;
433
+ }>]>;
434
+ }>, import("effect/Schema").Struct<{
435
+ readonly data: import("effect/Schema").Struct<{
436
+ readonly version: import("effect/Schema").Literal<1>;
437
+ readonly modularAccountVersion: import("effect/Schema").Literal<"2.0.0">;
438
+ readonly validatorType: import("effect/Schema").Literal<"ecdsa_secp256k1">;
439
+ readonly entryPointVersion: import("effect/Schema").Literal<"0.7">;
440
+ readonly accountMode: import("effect/Schema").Literal<"7702">;
441
+ readonly delegationVersion: import("effect/Schema").Literals<readonly ["v1.0.0", "v1.1.0"]>;
442
+ }>;
443
+ readonly implementation: import("effect/Schema").Literal<"alchemy-modular-v2">;
444
+ readonly createdAt: import("effect/Schema").DateTimeUtcFromDate;
445
+ readonly updatedAt: import("effect/Schema").DateTimeUtcFromDate;
446
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "WalletId">;
447
+ readonly organizationId: import("effect/Schema").brand<import("effect/Schema").String, "OrganizationId">;
448
+ readonly metadata: import("effect/Schema").Struct<{
449
+ readonly version: import("effect/Schema").Literal<1>;
450
+ readonly name: import("effect/Schema").String;
451
+ readonly logo: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
452
+ readonly type: import("effect/Schema").Literal<"icon">;
453
+ readonly value: import("effect/Schema").String;
454
+ readonly color: import("effect/Schema").String;
455
+ }>, import("effect/Schema").Struct<{
456
+ readonly type: import("effect/Schema").Literal<"emoji">;
457
+ readonly value: import("effect/Schema").String;
458
+ }>, import("effect/Schema").Struct<{
459
+ readonly type: import("effect/Schema").Literal<"image">;
460
+ readonly value: import("effect/Schema").String;
461
+ }>]>>;
462
+ readonly description: import("effect/Schema").optionalKey<import("effect/Schema").String>;
463
+ }>;
464
+ readonly status: import("effect/Schema").Literals<readonly ["active", "frozen", "archived"]>;
465
+ readonly namespace: import("effect/Schema").Literal<"eip155">;
466
+ readonly address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
467
+ readonly owner: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
468
+ readonly signingKeyId: import("effect/Schema").brand<import("effect/Schema").String, "SigningKeyId">;
469
+ readonly custody: import("effect/Schema").Literal<"local">;
470
+ readonly algorithm: import("effect/Schema").Literals<readonly ["p256", "secp256k1", "ed25519"]>;
471
+ }>, import("effect/Schema").Struct<{
472
+ readonly signingKeyId: import("effect/Schema").brand<import("effect/Schema").String, "SigningKeyId">;
473
+ readonly custody: import("effect/Schema").Literal<"namera-managed">;
474
+ readonly algorithm: import("effect/Schema").Literals<readonly ["p256", "secp256k1", "ed25519"]>;
475
+ readonly protectionLevel: import("effect/Schema").Literals<readonly ["software", "hsm"]>;
476
+ }>]>;
477
+ }>]>]>;
478
+ readonly sessionKey: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
479
+ id: import("effect/Schema").brand<import("effect/Schema").String, "SessionKeyId">;
480
+ organizationId: import("effect/Schema").brand<import("effect/Schema").String, "OrganizationId">;
481
+ walletId: import("effect/Schema").brand<import("effect/Schema").String, "WalletId">;
482
+ signingKeyId: import("effect/Schema").brand<import("effect/Schema").String, "SigningKeyId">;
483
+ namespace: import("effect/Schema").Literal<"eip155">;
484
+ metadata: import("effect/Schema").Struct<{
485
+ readonly version: import("effect/Schema").Literal<1>;
486
+ readonly name: import("effect/Schema").String;
487
+ readonly logo: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
488
+ readonly type: import("effect/Schema").Literal<"icon">;
489
+ readonly value: import("effect/Schema").String;
490
+ readonly color: import("effect/Schema").String;
491
+ }>, import("effect/Schema").Struct<{
492
+ readonly type: import("effect/Schema").Literal<"emoji">;
493
+ readonly value: import("effect/Schema").String;
494
+ }>, import("effect/Schema").Struct<{
495
+ readonly type: import("effect/Schema").Literal<"image">;
496
+ readonly value: import("effect/Schema").String;
497
+ }>]>>;
498
+ readonly description: import("effect/Schema").optionalKey<import("effect/Schema").String>;
499
+ }>;
500
+ policies: import("effect/Schema").$Array<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
501
+ readonly type: import("effect/Schema").Literal<"evm.contract-access">;
502
+ readonly address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
503
+ readonly version: import("effect/Schema").Literal<1>;
504
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
505
+ readonly appliesTo: import("effect/Schema").Literal<"execution">;
506
+ }>, import("effect/Schema").Struct<{
507
+ readonly type: import("effect/Schema").Literal<"evm.functions-on-contract">;
508
+ readonly address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
509
+ readonly functions: import("effect/Schema").$Array<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>>;
510
+ readonly version: import("effect/Schema").Literal<1>;
511
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
512
+ readonly appliesTo: import("effect/Schema").Literal<"execution">;
513
+ }>, import("effect/Schema").Struct<{
514
+ readonly type: import("effect/Schema").Literal<"evm.functions-on-all-contracts">;
515
+ readonly functions: import("effect/Schema").$Array<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>>;
516
+ readonly version: import("effect/Schema").Literal<1>;
517
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
518
+ readonly appliesTo: import("effect/Schema").Literal<"execution">;
519
+ }>, import("effect/Schema").Struct<{
520
+ readonly type: import("effect/Schema").Literal<"evm.account-functions">;
521
+ readonly functions: import("effect/Schema").$Array<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>>;
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.erc20-token-transfer">;
527
+ readonly version: import("effect/Schema").Literal<1>;
528
+ readonly address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
529
+ readonly allowance: import("effect/Schema").BigIntFromString;
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.time-window">;
534
+ readonly version: import("effect/Schema").Literal<1>;
535
+ readonly startsAt: import("effect/Schema").NullOr<import("effect/Schema").DateTimeUtcFromString>;
536
+ readonly expiresAt: import("effect/Schema").DateTimeUtcFromString;
537
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
538
+ readonly appliesTo: import("effect/Schema").Literal<"both">;
539
+ }>, import("effect/Schema").Struct<{
540
+ readonly type: import("effect/Schema").Literal<"evm.chain-allowlist">;
541
+ readonly version: import("effect/Schema").Literal<1>;
542
+ 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"]>>;
543
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
544
+ readonly appliesTo: import("effect/Schema").Literal<"both">;
545
+ }>, import("effect/Schema").Struct<{
546
+ readonly type: import("effect/Schema").Literal<"evm.gas-budget">;
547
+ readonly version: import("effect/Schema").Literal<1>;
548
+ readonly budgets: import("effect/Schema").$Array<import("effect/Schema").Struct<{
549
+ readonly chainId: import("effect/Schema").Literals<readonly ["eip155:1", "eip155:10", "eip155:8453", "eip155:42161", "eip155:84532", "eip155:421614", "eip155:11155111", "eip155:11155420"]>;
550
+ readonly period: import("effect/Schema").Literals<readonly ["hour", "day", "week", "lifetime"]>;
551
+ readonly maxCost: import("effect/Schema").BigIntFromString;
552
+ }>>;
553
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
554
+ readonly appliesTo: import("effect/Schema").Literal<"execution">;
555
+ }>, import("effect/Schema").Struct<{
556
+ readonly type: import("effect/Schema").Literal<"evm.native-spend-limit">;
557
+ readonly version: import("effect/Schema").Literal<1>;
558
+ readonly limits: import("effect/Schema").$Array<import("effect/Schema").Struct<{
559
+ readonly chainId: import("effect/Schema").Literals<readonly ["eip155:1", "eip155:10", "eip155:8453", "eip155:42161", "eip155:84532", "eip155:421614", "eip155:11155111", "eip155:11155420"]>;
560
+ readonly period: import("effect/Schema").Literals<readonly ["operation", "hour", "day", "week", "month", "lifetime"]>;
561
+ readonly maxAmount: import("effect/Schema").BigIntFromString;
562
+ }>>;
563
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
564
+ readonly appliesTo: import("effect/Schema").Literal<"execution">;
565
+ }>, import("effect/Schema").Struct<{
566
+ readonly type: import("effect/Schema").Literal<"evm.signature">;
567
+ readonly version: import("effect/Schema").Literal<1>;
568
+ readonly allowedTypes: import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["message", "typed-data"]>>;
569
+ readonly typedDataRules: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").Struct<{
570
+ readonly chainId: import("effect/Schema").Literals<readonly ["eip155:1", "eip155:10", "eip155:8453", "eip155:42161", "eip155:84532", "eip155:421614", "eip155:11155111", "eip155:11155420"]>;
571
+ readonly verifyingContract: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
572
+ readonly name: import("effect/Schema").optionalKey<import("effect/Schema").String>;
573
+ readonly version: import("effect/Schema").optionalKey<import("effect/Schema").String>;
574
+ readonly primaryTypes: import("effect/Schema").$Array<import("effect/Schema").String>;
575
+ }>>>;
576
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "PolicyId">;
577
+ readonly appliesTo: import("effect/Schema").Literal<"signature">;
578
+ }>]>>;
579
+ policyHash: import("effect/Schema").String;
580
+ status: import("effect/Schema").Literals<readonly ["pending", "active", "revoking", "revoked"]>;
581
+ revokedAt: import("effect/Schema").NullOr<import("effect/Schema").DateTimeUtcFromDate>;
582
+ createdAt: import("effect/Schema").DateTimeUtcFromDate;
583
+ }>]>;
584
+ readonly actor: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
585
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ActorId">;
586
+ readonly type: import("effect/Schema").Literal<"user">;
587
+ readonly member: import("effect/Schema").Struct<{
588
+ readonly organizationMember: import("effect/Schema").Struct<{
589
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "OrganizationMemberId">;
590
+ readonly organizationId: import("effect/Schema").brand<import("effect/Schema").String, "OrganizationId">;
591
+ readonly userId: import("effect/Schema").brand<import("effect/Schema").String, "UserId">;
592
+ readonly organizationRoleId: import("effect/Schema").brand<import("effect/Schema").String, "OrganizationRoleId">;
593
+ readonly joinedAt: import("effect/Schema").DateTimeUtcFromDate;
594
+ }>;
595
+ readonly user: import("effect/Schema").Struct<{
596
+ readonly metadata: import("effect/Schema").Struct<{
597
+ readonly version: import("effect/Schema").Literal<1>;
598
+ readonly name: import("effect/Schema").optionalKey<import("effect/Schema").String>;
599
+ readonly image: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
600
+ readonly type: import("effect/Schema").Literal<"icon">;
601
+ readonly value: import("effect/Schema").String;
602
+ readonly color: import("effect/Schema").String;
603
+ }>, import("effect/Schema").Struct<{
604
+ readonly type: import("effect/Schema").Literal<"emoji">;
605
+ readonly value: import("effect/Schema").String;
606
+ }>, import("effect/Schema").Struct<{
607
+ readonly type: import("effect/Schema").Literal<"image">;
608
+ readonly value: import("effect/Schema").String;
609
+ }>]>>;
610
+ }>;
611
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "UserId">;
612
+ readonly lastLoginAt: import("effect/Schema").NullOr<import("effect/Schema").DateTimeUtcFromDate>;
613
+ 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">;
614
+ readonly emailVerified: import("effect/Schema").Boolean;
615
+ }>;
616
+ readonly organizationRole: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
617
+ readonly type: import("effect/Schema").Literal<"system">;
618
+ readonly metadata: import("effect/Schema").Struct<{
619
+ readonly version: import("effect/Schema").Literal<1>;
620
+ readonly name: import("effect/Schema").String;
621
+ readonly logo: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
622
+ readonly type: import("effect/Schema").Literal<"icon">;
623
+ readonly value: import("effect/Schema").String;
624
+ readonly color: import("effect/Schema").String;
625
+ }>, import("effect/Schema").Struct<{
626
+ readonly type: import("effect/Schema").Literal<"emoji">;
627
+ readonly value: import("effect/Schema").String;
628
+ }>, import("effect/Schema").Struct<{
629
+ readonly type: import("effect/Schema").Literal<"image">;
630
+ readonly value: import("effect/Schema").String;
631
+ }>]>>;
632
+ readonly description: import("effect/Schema").optionalKey<import("effect/Schema").String>;
633
+ }>;
634
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "OrganizationRoleId">;
635
+ readonly systemRoleId: import("effect/Schema").brand<import("effect/Schema").String, "SystemRoleId">;
636
+ readonly key: import("effect/Schema").String;
637
+ 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"]>>;
638
+ }>, import("effect/Schema").Struct<{
639
+ readonly type: import("effect/Schema").Literal<"custom">;
640
+ readonly metadata: import("effect/Schema").Struct<{
641
+ readonly version: import("effect/Schema").Literal<1>;
642
+ readonly name: import("effect/Schema").String;
643
+ readonly logo: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
644
+ readonly type: import("effect/Schema").Literal<"icon">;
645
+ readonly value: import("effect/Schema").String;
646
+ readonly color: import("effect/Schema").String;
647
+ }>, import("effect/Schema").Struct<{
648
+ readonly type: import("effect/Schema").Literal<"emoji">;
649
+ readonly value: import("effect/Schema").String;
650
+ }>, import("effect/Schema").Struct<{
651
+ readonly type: import("effect/Schema").Literal<"image">;
652
+ readonly value: import("effect/Schema").String;
653
+ }>]>>;
654
+ readonly description: import("effect/Schema").optionalKey<import("effect/Schema").String>;
655
+ }>;
656
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "OrganizationRoleId">;
657
+ readonly systemRoleId: import("effect/Schema").Null;
658
+ readonly key: import("effect/Schema").String;
659
+ 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"]>>;
660
+ }>]>;
661
+ }>;
662
+ }>, import("effect/Schema").Struct<{
663
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ActorId">;
664
+ readonly type: import("effect/Schema").Literal<"api-key">;
665
+ readonly apiKey: import("effect/Schema").Struct<{
666
+ readonly createdAt: import("effect/Schema").DateTimeUtcFromDate;
667
+ readonly updatedAt: import("effect/Schema").DateTimeUtcFromDate;
668
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ApiKeyId">;
669
+ readonly metadata: import("effect/Schema").Struct<{
670
+ readonly version: import("effect/Schema").Literal<1>;
671
+ readonly name: import("effect/Schema").String;
672
+ readonly logo: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
673
+ readonly type: import("effect/Schema").Literal<"icon">;
674
+ readonly value: import("effect/Schema").String;
675
+ readonly color: import("effect/Schema").String;
676
+ }>, import("effect/Schema").Struct<{
677
+ readonly type: import("effect/Schema").Literal<"emoji">;
678
+ readonly value: import("effect/Schema").String;
679
+ }>, import("effect/Schema").Struct<{
680
+ readonly type: import("effect/Schema").Literal<"image">;
681
+ readonly value: import("effect/Schema").String;
682
+ }>]>>;
683
+ readonly description: import("effect/Schema").optionalKey<import("effect/Schema").String>;
684
+ }>;
685
+ readonly keyStart: import("effect/Schema").NonEmptyString;
686
+ readonly expiresAt: import("effect/Schema").NullOr<import("effect/Schema").DateTimeUtcFromDate>;
687
+ readonly lastUsedAt: import("effect/Schema").NullOr<import("effect/Schema").DateTimeUtcFromDate>;
688
+ readonly revokedAt: import("effect/Schema").NullOr<import("effect/Schema").DateTimeUtcFromDate>;
689
+ }>;
690
+ }>, import("effect/Schema").Struct<{
691
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ActorId">;
692
+ readonly type: import("effect/Schema").Literal<"mcp">;
693
+ readonly authorization: import("effect/Schema").Struct<{
694
+ readonly createdAt: import("effect/Schema").DateTimeUtcFromDate;
695
+ readonly updatedAt: import("effect/Schema").DateTimeUtcFromDate;
696
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "OAuthAuthorizationId">;
697
+ readonly client: import("effect/Schema").Struct<{
698
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "OAuthClientId">;
699
+ readonly clientId: import("effect/Schema").NonEmptyString;
700
+ readonly registrationType: import("effect/Schema").Literals<readonly ["metadata-document", "pre-registered", "dynamic"]>;
701
+ readonly clientName: import("effect/Schema").NonEmptyString;
702
+ readonly clientUri: import("effect/Schema").NullOr<import("effect/Schema").String>;
703
+ readonly logoUri: import("effect/Schema").NullOr<import("effect/Schema").String>;
704
+ }>;
705
+ readonly scopes: import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["mcp:read", "mcp:execute", "wallet:read", "session-key:read", "execution:read", "execution:execute", "signature:create", "offline_access"]>>;
706
+ readonly resource: import("effect/Schema").NonEmptyString;
707
+ readonly status: import("effect/Schema").Literals<readonly ["active", "revoked"]>;
708
+ readonly metadata: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
709
+ readonly type: import("effect/Schema").Literal<"mcp">;
710
+ readonly version: import("effect/Schema").Literal<1>;
711
+ }>, import("effect/Schema").Struct<{
712
+ readonly type: import("effect/Schema").Literal<"cli">;
713
+ readonly version: import("effect/Schema").Literal<1>;
714
+ readonly deviceName: import("effect/Schema").NonEmptyString;
715
+ readonly cliVersion: import("effect/Schema").NonEmptyString;
716
+ readonly platform: import("effect/Schema").NonEmptyString;
717
+ }>]>;
718
+ readonly expiresAt: import("effect/Schema").NullOr<import("effect/Schema").DateTimeUtcFromDate>;
719
+ readonly lastUsedAt: import("effect/Schema").NullOr<import("effect/Schema").DateTimeUtcFromDate>;
720
+ readonly revokedAt: import("effect/Schema").NullOr<import("effect/Schema").DateTimeUtcFromDate>;
721
+ }>;
722
+ }>, import("effect/Schema").Struct<{
723
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ActorId">;
724
+ readonly type: import("effect/Schema").Literal<"cli">;
725
+ readonly authorization: import("effect/Schema").Struct<{
726
+ readonly createdAt: import("effect/Schema").DateTimeUtcFromDate;
727
+ readonly updatedAt: import("effect/Schema").DateTimeUtcFromDate;
728
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "OAuthAuthorizationId">;
729
+ readonly client: import("effect/Schema").Struct<{
730
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "OAuthClientId">;
731
+ readonly clientId: import("effect/Schema").NonEmptyString;
732
+ readonly registrationType: import("effect/Schema").Literals<readonly ["metadata-document", "pre-registered", "dynamic"]>;
733
+ readonly clientName: import("effect/Schema").NonEmptyString;
734
+ readonly clientUri: import("effect/Schema").NullOr<import("effect/Schema").String>;
735
+ readonly logoUri: import("effect/Schema").NullOr<import("effect/Schema").String>;
736
+ }>;
737
+ readonly scopes: import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["mcp:read", "mcp:execute", "wallet:read", "session-key:read", "execution:read", "execution:execute", "signature:create", "offline_access"]>>;
738
+ readonly resource: import("effect/Schema").NonEmptyString;
739
+ readonly status: import("effect/Schema").Literals<readonly ["active", "revoked"]>;
740
+ readonly metadata: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
741
+ readonly type: import("effect/Schema").Literal<"mcp">;
742
+ readonly version: import("effect/Schema").Literal<1>;
743
+ }>, import("effect/Schema").Struct<{
744
+ readonly type: import("effect/Schema").Literal<"cli">;
745
+ readonly version: import("effect/Schema").Literal<1>;
746
+ readonly deviceName: import("effect/Schema").NonEmptyString;
747
+ readonly cliVersion: import("effect/Schema").NonEmptyString;
748
+ readonly platform: import("effect/Schema").NonEmptyString;
749
+ }>]>;
750
+ readonly expiresAt: import("effect/Schema").NullOr<import("effect/Schema").DateTimeUtcFromDate>;
751
+ readonly lastUsedAt: import("effect/Schema").NullOr<import("effect/Schema").DateTimeUtcFromDate>;
752
+ readonly revokedAt: import("effect/Schema").NullOr<import("effect/Schema").DateTimeUtcFromDate>;
753
+ }>;
754
+ }>]>;
755
+ }>>, import("effect/Schema").toCodecJson<import("effect/unstable/httpapi/HttpApiSchema").asNoContent<typeof import("effect/unstable/httpapi/HttpApiError").Forbidden> | import("effect/unstable/httpapi/HttpApiSchema").asNoContent<typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError> | typeof import("@namera-ai/protocol").RateLimitExceeded | typeof ExecutionNotFoundError>, Authorization, never> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/executions/", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
756
+ readonly cursor: import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").String, "ExecutionId">>;
757
+ readonly walletId: import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").String, "WalletId">>;
758
+ readonly sessionKeyId: import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").String, "SessionKeyId">>;
759
+ }>>, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
760
+ readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
761
+ readonly details: import("effect/Schema").Struct<{
762
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ExecutionId">;
763
+ readonly namespace: import("effect/Schema").Literal<"eip155">;
764
+ readonly chainId: import("effect/Schema").Literals<readonly ["eip155:1", "eip155:10", "eip155:8453", "eip155:42161", "eip155:84532", "eip155:421614", "eip155:11155111", "eip155:11155420"]>;
765
+ readonly transactionHash: import("effect/Schema").brand<import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "Bytes32">, "TransactionHash">;
766
+ readonly createdAt: import("effect/Schema").DateTimeUtcFromDate;
767
+ }>;
768
+ readonly wallet: import("effect/Schema").Struct<{
769
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "WalletId">;
770
+ readonly namespace: import("effect/Schema").Literal<"eip155">;
771
+ readonly address: import("effect/Schema").brand<import("effect/Schema").TemplateLiteral<readonly ["0x", import("effect/Schema").String]>, "EthereumAddress">;
772
+ readonly metadata: import("effect/Schema").Struct<{
773
+ readonly version: import("effect/Schema").Literal<1>;
774
+ readonly name: import("effect/Schema").String;
775
+ readonly logo: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
776
+ readonly type: import("effect/Schema").Literal<"icon">;
777
+ readonly value: import("effect/Schema").String;
778
+ readonly color: import("effect/Schema").String;
779
+ }>, import("effect/Schema").Struct<{
780
+ readonly type: import("effect/Schema").Literal<"emoji">;
781
+ readonly value: import("effect/Schema").String;
782
+ }>, import("effect/Schema").Struct<{
783
+ readonly type: import("effect/Schema").Literal<"image">;
784
+ readonly value: import("effect/Schema").String;
785
+ }>]>>;
786
+ readonly description: import("effect/Schema").optionalKey<import("effect/Schema").String>;
787
+ }>;
788
+ }>;
789
+ readonly sessionKey: import("effect/Schema").Struct<{
790
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "SessionKeyId">;
791
+ readonly namespace: import("effect/Schema").Literal<"eip155">;
792
+ readonly metadata: import("effect/Schema").Struct<{
793
+ readonly version: import("effect/Schema").Literal<1>;
794
+ readonly name: import("effect/Schema").String;
795
+ readonly logo: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
796
+ readonly type: import("effect/Schema").Literal<"icon">;
797
+ readonly value: import("effect/Schema").String;
798
+ readonly color: import("effect/Schema").String;
799
+ }>, import("effect/Schema").Struct<{
800
+ readonly type: import("effect/Schema").Literal<"emoji">;
801
+ readonly value: import("effect/Schema").String;
802
+ }>, import("effect/Schema").Struct<{
803
+ readonly type: import("effect/Schema").Literal<"image">;
804
+ readonly value: import("effect/Schema").String;
805
+ }>]>>;
806
+ readonly description: import("effect/Schema").optionalKey<import("effect/Schema").String>;
807
+ }>;
808
+ }>;
809
+ readonly actorType: import("effect/Schema").Literals<readonly ["user", "api-key", "mcp", "cli"]>;
810
+ }>>;
811
+ readonly nextCursor: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "ExecutionId">>;
812
+ }>>, import("effect/Schema").toCodecJson<import("effect/unstable/httpapi/HttpApiSchema").asNoContent<typeof import("effect/unstable/httpapi/HttpApiError").Forbidden> | import("effect/unstable/httpapi/HttpApiSchema").asNoContent<typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError> | typeof import("@namera-ai/protocol").RateLimitExceeded>, Authorization, never>, false>;
813
+ declare class ExecutionGroup extends ExecutionGroup_base {}
814
+ //#endregion
815
+ export { ExecutionGroup };
816
+ //# sourceMappingURL=execution.d.ts.map