@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.
- package/README.md +58 -0
- package/dist/common.js +13 -0
- package/dist/common.js.map +1 -0
- package/dist/index.d.ts +32 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +40 -0
- package/dist/index.js.map +1 -0
- package/dist/middlewares/admin.d.ts +25 -0
- package/dist/middlewares/admin.d.ts.map +1 -0
- package/dist/middlewares/admin.js +18 -0
- package/dist/middlewares/admin.js.map +1 -0
- package/dist/middlewares/auth.d.ts +640 -0
- package/dist/middlewares/auth.d.ts.map +1 -0
- package/dist/middlewares/auth.js +26 -0
- package/dist/middlewares/auth.js.map +1 -0
- package/dist/middlewares/index.d.ts +3 -0
- package/dist/routes/address-metadata.d.ts +147 -0
- package/dist/routes/address-metadata.d.ts.map +1 -0
- package/dist/routes/address-metadata.js +24 -0
- package/dist/routes/address-metadata.js.map +1 -0
- package/dist/routes/api-key.d.ts +864 -0
- package/dist/routes/api-key.d.ts.map +1 -0
- package/dist/routes/api-key.js +31 -0
- package/dist/routes/api-key.js.map +1 -0
- package/dist/routes/auth/core/index.d.ts +4 -0
- package/dist/routes/auth/core/magic-link.d.ts +34 -0
- package/dist/routes/auth/core/magic-link.d.ts.map +1 -0
- package/dist/routes/auth/core/magic-link.js +25 -0
- package/dist/routes/auth/core/magic-link.js.map +1 -0
- package/dist/routes/auth/core/session.d.ts +805 -0
- package/dist/routes/auth/core/session.d.ts.map +1 -0
- package/dist/routes/auth/core/session.js +31 -0
- package/dist/routes/auth/core/session.js.map +1 -0
- package/dist/routes/auth/core/user.d.ts +45 -0
- package/dist/routes/auth/core/user.d.ts.map +1 -0
- package/dist/routes/auth/core/user.js +15 -0
- package/dist/routes/auth/core/user.js.map +1 -0
- package/dist/routes/auth/index.d.ts +11 -0
- package/dist/routes/auth/notification.d.ts +392 -0
- package/dist/routes/auth/notification.d.ts.map +1 -0
- package/dist/routes/auth/notification.js +40 -0
- package/dist/routes/auth/notification.js.map +1 -0
- package/dist/routes/auth/oauth.d.ts +1347 -0
- package/dist/routes/auth/oauth.d.ts.map +1 -0
- package/dist/routes/auth/oauth.js +62 -0
- package/dist/routes/auth/oauth.js.map +1 -0
- package/dist/routes/auth/organization/index.d.ts +4 -0
- package/dist/routes/auth/organization/invitation.d.ts +400 -0
- package/dist/routes/auth/organization/invitation.d.ts.map +1 -0
- package/dist/routes/auth/organization/invitation.js +55 -0
- package/dist/routes/auth/organization/invitation.js.map +1 -0
- package/dist/routes/auth/organization/members.d.ts +250 -0
- package/dist/routes/auth/organization/members.d.ts.map +1 -0
- package/dist/routes/auth/organization/members.js +37 -0
- package/dist/routes/auth/organization/members.js.map +1 -0
- package/dist/routes/auth/organization/organization.d.ts +196 -0
- package/dist/routes/auth/organization/organization.d.ts.map +1 -0
- package/dist/routes/auth/organization/organization.js +31 -0
- package/dist/routes/auth/organization/organization.js.map +1 -0
- package/dist/routes/beta-invite.d.ts +24 -0
- package/dist/routes/beta-invite.d.ts.map +1 -0
- package/dist/routes/beta-invite.js +20 -0
- package/dist/routes/beta-invite.js.map +1 -0
- package/dist/routes/billing.d.ts +34 -0
- package/dist/routes/billing.d.ts.map +1 -0
- package/dist/routes/billing.js +14 -0
- package/dist/routes/billing.js.map +1 -0
- package/dist/routes/dashboard.d.ts +58 -0
- package/dist/routes/dashboard.d.ts.map +1 -0
- package/dist/routes/dashboard.js +14 -0
- package/dist/routes/dashboard.js.map +1 -0
- package/dist/routes/ens.d.ts +14 -0
- package/dist/routes/ens.d.ts.map +1 -0
- package/dist/routes/ens.js +15 -0
- package/dist/routes/ens.js.map +1 -0
- package/dist/routes/execution.d.ts +816 -0
- package/dist/routes/execution.d.ts.map +1 -0
- package/dist/routes/execution.js +50 -0
- package/dist/routes/execution.js.map +1 -0
- package/dist/routes/health.d.ts +10 -0
- package/dist/routes/health.d.ts.map +1 -0
- package/dist/routes/health.js +10 -0
- package/dist/routes/health.js.map +1 -0
- package/dist/routes/index.d.ts +23 -0
- package/dist/routes/portfolio.d.ts +94 -0
- package/dist/routes/portfolio.d.ts.map +1 -0
- package/dist/routes/portfolio.js +16 -0
- package/dist/routes/portfolio.js.map +1 -0
- package/dist/routes/session-key.d.ts +1844 -0
- package/dist/routes/session-key.d.ts.map +1 -0
- package/dist/routes/session-key.js +55 -0
- package/dist/routes/session-key.js.map +1 -0
- package/dist/routes/signature.d.ts +195 -0
- package/dist/routes/signature.d.ts.map +1 -0
- package/dist/routes/signature.js +38 -0
- package/dist/routes/signature.js.map +1 -0
- package/dist/routes/waitlist.d.ts +42 -0
- package/dist/routes/waitlist.d.ts.map +1 -0
- package/dist/routes/waitlist.js +27 -0
- package/dist/routes/waitlist.js.map +1 -0
- package/dist/routes/wallet.d.ts +547 -0
- package/dist/routes/wallet.d.ts.map +1 -0
- package/dist/routes/wallet.js +50 -0
- package/dist/routes/wallet.js.map +1 -0
- package/package.json +61 -0
|
@@ -0,0 +1,640 @@
|
|
|
1
|
+
import { HttpApiError, HttpApiMiddleware, HttpApiSecurity } from "effect/unstable/httpapi";
|
|
2
|
+
import { Context } from "effect";
|
|
3
|
+
//#region src/middlewares/auth.d.ts
|
|
4
|
+
declare const CurrentActor_base: Context.ServiceClass<CurrentActor, "@namera-ai/api/CurrentActor", {
|
|
5
|
+
readonly type: "user";
|
|
6
|
+
readonly data: {
|
|
7
|
+
readonly actorId: string & import("effect/Brand").Brand<"ActorId">;
|
|
8
|
+
readonly session: {
|
|
9
|
+
readonly expiresAt: import("effect/DateTime").Utc;
|
|
10
|
+
readonly revokedAt: import("effect/DateTime").Utc | null;
|
|
11
|
+
readonly id: string & import("effect/Brand").Brand<"SessionId">;
|
|
12
|
+
readonly createdAt: import("effect/DateTime").Utc;
|
|
13
|
+
readonly userId: string & import("effect/Brand").Brand<"UserId">;
|
|
14
|
+
readonly ipAddress: string | null;
|
|
15
|
+
readonly userAgent: string | null;
|
|
16
|
+
readonly activeOrganizationId: (string & import("effect/Brand").Brand<"OrganizationId">) | null;
|
|
17
|
+
};
|
|
18
|
+
readonly user: {
|
|
19
|
+
readonly metadata: {
|
|
20
|
+
readonly version: 1;
|
|
21
|
+
readonly name?: string;
|
|
22
|
+
readonly image?: {
|
|
23
|
+
readonly type: "icon";
|
|
24
|
+
readonly value: string;
|
|
25
|
+
readonly color: string;
|
|
26
|
+
} | {
|
|
27
|
+
readonly type: "emoji";
|
|
28
|
+
readonly value: string;
|
|
29
|
+
} | {
|
|
30
|
+
readonly type: "image";
|
|
31
|
+
readonly value: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
readonly id: string & import("effect/Brand").Brand<"UserId">;
|
|
35
|
+
readonly lastLoginAt: import("effect/DateTime").Utc | null;
|
|
36
|
+
readonly email: string & import("effect/Brand").Brand<"Email">;
|
|
37
|
+
readonly emailVerified: boolean;
|
|
38
|
+
};
|
|
39
|
+
readonly organization: {
|
|
40
|
+
readonly metadata: {
|
|
41
|
+
readonly name: string;
|
|
42
|
+
readonly version: 1;
|
|
43
|
+
readonly description?: string;
|
|
44
|
+
readonly logo?: {
|
|
45
|
+
readonly type: "icon";
|
|
46
|
+
readonly value: string;
|
|
47
|
+
readonly color: string;
|
|
48
|
+
} | {
|
|
49
|
+
readonly type: "emoji";
|
|
50
|
+
readonly value: string;
|
|
51
|
+
} | {
|
|
52
|
+
readonly type: "image";
|
|
53
|
+
readonly value: string;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
readonly id: string & import("effect/Brand").Brand<"OrganizationId">;
|
|
57
|
+
};
|
|
58
|
+
readonly member: {
|
|
59
|
+
readonly organizationMember: {
|
|
60
|
+
readonly id: string & import("effect/Brand").Brand<"OrganizationMemberId">;
|
|
61
|
+
readonly organizationId: string & import("effect/Brand").Brand<"OrganizationId">;
|
|
62
|
+
readonly userId: string & import("effect/Brand").Brand<"UserId">;
|
|
63
|
+
readonly organizationRoleId: string & import("effect/Brand").Brand<"OrganizationRoleId">;
|
|
64
|
+
readonly joinedAt: import("effect/DateTime").Utc;
|
|
65
|
+
};
|
|
66
|
+
readonly user: {
|
|
67
|
+
readonly metadata: {
|
|
68
|
+
readonly version: 1;
|
|
69
|
+
readonly name?: string;
|
|
70
|
+
readonly image?: {
|
|
71
|
+
readonly type: "icon";
|
|
72
|
+
readonly value: string;
|
|
73
|
+
readonly color: string;
|
|
74
|
+
} | {
|
|
75
|
+
readonly type: "emoji";
|
|
76
|
+
readonly value: string;
|
|
77
|
+
} | {
|
|
78
|
+
readonly type: "image";
|
|
79
|
+
readonly value: string;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
readonly id: string & import("effect/Brand").Brand<"UserId">;
|
|
83
|
+
readonly lastLoginAt: import("effect/DateTime").Utc | null;
|
|
84
|
+
readonly email: string & import("effect/Brand").Brand<"Email">;
|
|
85
|
+
readonly emailVerified: boolean;
|
|
86
|
+
};
|
|
87
|
+
readonly organizationRole: {
|
|
88
|
+
readonly type: "system";
|
|
89
|
+
readonly metadata: {
|
|
90
|
+
readonly name: string;
|
|
91
|
+
readonly version: 1;
|
|
92
|
+
readonly description?: string;
|
|
93
|
+
readonly logo?: {
|
|
94
|
+
readonly type: "icon";
|
|
95
|
+
readonly value: string;
|
|
96
|
+
readonly color: string;
|
|
97
|
+
} | {
|
|
98
|
+
readonly type: "emoji";
|
|
99
|
+
readonly value: string;
|
|
100
|
+
} | {
|
|
101
|
+
readonly type: "image";
|
|
102
|
+
readonly value: string;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
readonly id: string & import("effect/Brand").Brand<"OrganizationRoleId">;
|
|
106
|
+
readonly systemRoleId: string & import("effect/Brand").Brand<"SystemRoleId">;
|
|
107
|
+
readonly key: string;
|
|
108
|
+
readonly permissions: 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")[];
|
|
109
|
+
} | {
|
|
110
|
+
readonly type: "custom";
|
|
111
|
+
readonly metadata: {
|
|
112
|
+
readonly name: string;
|
|
113
|
+
readonly version: 1;
|
|
114
|
+
readonly description?: string;
|
|
115
|
+
readonly logo?: {
|
|
116
|
+
readonly type: "icon";
|
|
117
|
+
readonly value: string;
|
|
118
|
+
readonly color: string;
|
|
119
|
+
} | {
|
|
120
|
+
readonly type: "emoji";
|
|
121
|
+
readonly value: string;
|
|
122
|
+
} | {
|
|
123
|
+
readonly type: "image";
|
|
124
|
+
readonly value: string;
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
readonly id: string & import("effect/Brand").Brand<"OrganizationRoleId">;
|
|
128
|
+
readonly systemRoleId: null;
|
|
129
|
+
readonly key: string;
|
|
130
|
+
readonly permissions: 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")[];
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
readonly role: {
|
|
134
|
+
readonly type: "system";
|
|
135
|
+
readonly metadata: {
|
|
136
|
+
readonly name: string;
|
|
137
|
+
readonly version: 1;
|
|
138
|
+
readonly description?: string;
|
|
139
|
+
readonly logo?: {
|
|
140
|
+
readonly type: "icon";
|
|
141
|
+
readonly value: string;
|
|
142
|
+
readonly color: string;
|
|
143
|
+
} | {
|
|
144
|
+
readonly type: "emoji";
|
|
145
|
+
readonly value: string;
|
|
146
|
+
} | {
|
|
147
|
+
readonly type: "image";
|
|
148
|
+
readonly value: string;
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
readonly id: string & import("effect/Brand").Brand<"OrganizationRoleId">;
|
|
152
|
+
readonly systemRoleId: string & import("effect/Brand").Brand<"SystemRoleId">;
|
|
153
|
+
readonly key: string;
|
|
154
|
+
readonly permissions: 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")[];
|
|
155
|
+
} | {
|
|
156
|
+
readonly type: "custom";
|
|
157
|
+
readonly metadata: {
|
|
158
|
+
readonly name: string;
|
|
159
|
+
readonly version: 1;
|
|
160
|
+
readonly description?: string;
|
|
161
|
+
readonly logo?: {
|
|
162
|
+
readonly type: "icon";
|
|
163
|
+
readonly value: string;
|
|
164
|
+
readonly color: string;
|
|
165
|
+
} | {
|
|
166
|
+
readonly type: "emoji";
|
|
167
|
+
readonly value: string;
|
|
168
|
+
} | {
|
|
169
|
+
readonly type: "image";
|
|
170
|
+
readonly value: string;
|
|
171
|
+
};
|
|
172
|
+
};
|
|
173
|
+
readonly id: string & import("effect/Brand").Brand<"OrganizationRoleId">;
|
|
174
|
+
readonly systemRoleId: null;
|
|
175
|
+
readonly key: string;
|
|
176
|
+
readonly permissions: 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")[];
|
|
177
|
+
};
|
|
178
|
+
};
|
|
179
|
+
} | {
|
|
180
|
+
readonly type: "api-key";
|
|
181
|
+
readonly data: {
|
|
182
|
+
readonly apiKey: {
|
|
183
|
+
readonly id: string & import("effect/Brand").Brand<"ApiKeyId">;
|
|
184
|
+
readonly metadata: {
|
|
185
|
+
readonly name: string;
|
|
186
|
+
readonly version: 1;
|
|
187
|
+
readonly description?: string;
|
|
188
|
+
readonly logo?: {
|
|
189
|
+
readonly type: "icon";
|
|
190
|
+
readonly value: string;
|
|
191
|
+
readonly color: string;
|
|
192
|
+
} | {
|
|
193
|
+
readonly type: "emoji";
|
|
194
|
+
readonly value: string;
|
|
195
|
+
} | {
|
|
196
|
+
readonly type: "image";
|
|
197
|
+
readonly value: string;
|
|
198
|
+
};
|
|
199
|
+
};
|
|
200
|
+
readonly keyStart: string;
|
|
201
|
+
readonly expiresAt: import("effect/DateTime").Utc | null;
|
|
202
|
+
readonly lastUsedAt: import("effect/DateTime").Utc | null;
|
|
203
|
+
readonly createdAt: import("effect/DateTime").Utc;
|
|
204
|
+
};
|
|
205
|
+
readonly actorId: string & import("effect/Brand").Brand<"ActorId">;
|
|
206
|
+
readonly organizationId: string & import("effect/Brand").Brand<"OrganizationId">;
|
|
207
|
+
readonly grants: readonly {
|
|
208
|
+
readonly grant: {
|
|
209
|
+
readonly id: string & import("effect/Brand").Brand<"SessionKeyGrantId">;
|
|
210
|
+
readonly organizationId: string & import("effect/Brand").Brand<"OrganizationId">;
|
|
211
|
+
readonly actorId: string & import("effect/Brand").Brand<"ActorId">;
|
|
212
|
+
readonly sessionKeyId: string & import("effect/Brand").Brand<"SessionKeyId">;
|
|
213
|
+
readonly grantedByActorId: string & import("effect/Brand").Brand<"ActorId">;
|
|
214
|
+
readonly revokedAt: import("effect/DateTime").Utc | null;
|
|
215
|
+
readonly revokedByActorId: (string & import("effect/Brand").Brand<"ActorId">) | null;
|
|
216
|
+
readonly createdAt: import("effect/DateTime").Utc;
|
|
217
|
+
};
|
|
218
|
+
readonly sessionKey: {
|
|
219
|
+
readonly id: string & import("effect/Brand").Brand<"SessionKeyId">;
|
|
220
|
+
readonly organizationId: string & import("effect/Brand").Brand<"OrganizationId">;
|
|
221
|
+
readonly walletId: string & import("effect/Brand").Brand<"WalletId">;
|
|
222
|
+
readonly signingKeyId: string & import("effect/Brand").Brand<"SigningKeyId">;
|
|
223
|
+
readonly createdByActorId: string & import("effect/Brand").Brand<"ActorId">;
|
|
224
|
+
readonly metadata: {
|
|
225
|
+
readonly name: string;
|
|
226
|
+
readonly version: 1;
|
|
227
|
+
readonly description?: string;
|
|
228
|
+
readonly logo?: {
|
|
229
|
+
readonly type: "icon";
|
|
230
|
+
readonly value: string;
|
|
231
|
+
readonly color: string;
|
|
232
|
+
} | {
|
|
233
|
+
readonly type: "emoji";
|
|
234
|
+
readonly value: string;
|
|
235
|
+
} | {
|
|
236
|
+
readonly type: "image";
|
|
237
|
+
readonly value: string;
|
|
238
|
+
};
|
|
239
|
+
};
|
|
240
|
+
readonly policyHash: string;
|
|
241
|
+
readonly status: "pending" | "active" | "revoking" | "revoked";
|
|
242
|
+
readonly revokedAt: import("effect/DateTime").Utc | null;
|
|
243
|
+
readonly revokedByActorId: (string & import("effect/Brand").Brand<"ActorId">) | null;
|
|
244
|
+
readonly createdAt: import("effect/DateTime").Utc;
|
|
245
|
+
readonly namespace: "eip155";
|
|
246
|
+
readonly policies: readonly ({
|
|
247
|
+
readonly type: "evm.time-window";
|
|
248
|
+
readonly version: 1;
|
|
249
|
+
readonly startsAt: import("effect/DateTime").Utc | null;
|
|
250
|
+
readonly expiresAt: import("effect/DateTime").Utc;
|
|
251
|
+
readonly id: string & import("effect/Brand").Brand<"PolicyId">;
|
|
252
|
+
readonly appliesTo: "both";
|
|
253
|
+
} | {
|
|
254
|
+
readonly type: "evm.gas-budget";
|
|
255
|
+
readonly version: 1;
|
|
256
|
+
readonly budgets: readonly {
|
|
257
|
+
readonly chainId: "eip155:1" | "eip155:10" | "eip155:8453" | "eip155:42161" | "eip155:84532" | "eip155:421614" | "eip155:11155111" | "eip155:11155420";
|
|
258
|
+
readonly period: "hour" | "day" | "week" | "lifetime";
|
|
259
|
+
readonly maxCost: bigint;
|
|
260
|
+
}[];
|
|
261
|
+
readonly id: string & import("effect/Brand").Brand<"PolicyId">;
|
|
262
|
+
readonly appliesTo: "execution";
|
|
263
|
+
} | {
|
|
264
|
+
readonly type: "evm.native-spend-limit";
|
|
265
|
+
readonly version: 1;
|
|
266
|
+
readonly limits: readonly {
|
|
267
|
+
readonly chainId: "eip155:1" | "eip155:10" | "eip155:8453" | "eip155:42161" | "eip155:84532" | "eip155:421614" | "eip155:11155111" | "eip155:11155420";
|
|
268
|
+
readonly period: "hour" | "day" | "week" | "lifetime" | "operation" | "month";
|
|
269
|
+
readonly maxAmount: bigint;
|
|
270
|
+
}[];
|
|
271
|
+
readonly id: string & import("effect/Brand").Brand<"PolicyId">;
|
|
272
|
+
readonly appliesTo: "execution";
|
|
273
|
+
} | {
|
|
274
|
+
readonly type: "evm.contract-access";
|
|
275
|
+
readonly address: `0x${string}` & import("effect/Brand").Brand<"EthereumAddress">;
|
|
276
|
+
readonly version: 1;
|
|
277
|
+
readonly id: string & import("effect/Brand").Brand<"PolicyId">;
|
|
278
|
+
readonly appliesTo: "execution";
|
|
279
|
+
} | {
|
|
280
|
+
readonly type: "evm.functions-on-contract";
|
|
281
|
+
readonly address: `0x${string}` & import("effect/Brand").Brand<"EthereumAddress">;
|
|
282
|
+
readonly functions: readonly `0x${string}`[];
|
|
283
|
+
readonly version: 1;
|
|
284
|
+
readonly id: string & import("effect/Brand").Brand<"PolicyId">;
|
|
285
|
+
readonly appliesTo: "execution";
|
|
286
|
+
} | {
|
|
287
|
+
readonly type: "evm.functions-on-all-contracts";
|
|
288
|
+
readonly functions: readonly `0x${string}`[];
|
|
289
|
+
readonly version: 1;
|
|
290
|
+
readonly id: string & import("effect/Brand").Brand<"PolicyId">;
|
|
291
|
+
readonly appliesTo: "execution";
|
|
292
|
+
} | {
|
|
293
|
+
readonly type: "evm.account-functions";
|
|
294
|
+
readonly functions: readonly `0x${string}`[];
|
|
295
|
+
readonly version: 1;
|
|
296
|
+
readonly id: string & import("effect/Brand").Brand<"PolicyId">;
|
|
297
|
+
readonly appliesTo: "execution";
|
|
298
|
+
} | {
|
|
299
|
+
readonly type: "evm.erc20-token-transfer";
|
|
300
|
+
readonly version: 1;
|
|
301
|
+
readonly address: `0x${string}` & import("effect/Brand").Brand<"EthereumAddress">;
|
|
302
|
+
readonly allowance: bigint;
|
|
303
|
+
readonly id: string & import("effect/Brand").Brand<"PolicyId">;
|
|
304
|
+
readonly appliesTo: "execution";
|
|
305
|
+
} | {
|
|
306
|
+
readonly type: "evm.chain-allowlist";
|
|
307
|
+
readonly version: 1;
|
|
308
|
+
readonly chainIds: readonly ("eip155:1" | "eip155:10" | "eip155:8453" | "eip155:42161" | "eip155:84532" | "eip155:421614" | "eip155:11155111" | "eip155:11155420")[];
|
|
309
|
+
readonly id: string & import("effect/Brand").Brand<"PolicyId">;
|
|
310
|
+
readonly appliesTo: "both";
|
|
311
|
+
} | {
|
|
312
|
+
readonly type: "evm.signature";
|
|
313
|
+
readonly version: 1;
|
|
314
|
+
readonly id: string & import("effect/Brand").Brand<"PolicyId">;
|
|
315
|
+
readonly appliesTo: "signature";
|
|
316
|
+
readonly allowedTypes: readonly ("message" | "typed-data")[];
|
|
317
|
+
readonly typedDataRules?: readonly {
|
|
318
|
+
readonly chainId: "eip155:1" | "eip155:10" | "eip155:8453" | "eip155:42161" | "eip155:84532" | "eip155:421614" | "eip155:11155111" | "eip155:11155420";
|
|
319
|
+
readonly verifyingContract: `0x${string}` & import("effect/Brand").Brand<"EthereumAddress">;
|
|
320
|
+
readonly primaryTypes: readonly string[];
|
|
321
|
+
readonly name?: string;
|
|
322
|
+
readonly version?: string;
|
|
323
|
+
}[];
|
|
324
|
+
})[];
|
|
325
|
+
};
|
|
326
|
+
}[];
|
|
327
|
+
};
|
|
328
|
+
} | {
|
|
329
|
+
readonly type: "cli";
|
|
330
|
+
readonly data: {
|
|
331
|
+
readonly authorization: {
|
|
332
|
+
readonly id: string & import("effect/Brand").Brand<"OAuthAuthorizationId">;
|
|
333
|
+
readonly clientId: string & import("effect/Brand").Brand<"OAuthClientId">;
|
|
334
|
+
readonly scopes: readonly ("wallet:read" | "session-key:read" | "execution:read" | "mcp:read" | "mcp:execute" | "execution:execute" | "signature:create" | "offline_access")[];
|
|
335
|
+
readonly metadata: {
|
|
336
|
+
readonly type: "mcp";
|
|
337
|
+
readonly version: 1;
|
|
338
|
+
} | {
|
|
339
|
+
readonly type: "cli";
|
|
340
|
+
readonly version: 1;
|
|
341
|
+
readonly deviceName: string;
|
|
342
|
+
readonly cliVersion: string;
|
|
343
|
+
readonly platform: string;
|
|
344
|
+
};
|
|
345
|
+
readonly expiresAt: import("effect/DateTime").Utc | null;
|
|
346
|
+
readonly lastUsedAt: import("effect/DateTime").Utc | null;
|
|
347
|
+
readonly createdAt: import("effect/DateTime").Utc;
|
|
348
|
+
};
|
|
349
|
+
readonly actorId: string & import("effect/Brand").Brand<"ActorId">;
|
|
350
|
+
readonly organizationId: string & import("effect/Brand").Brand<"OrganizationId">;
|
|
351
|
+
readonly grants: readonly {
|
|
352
|
+
readonly grant: {
|
|
353
|
+
readonly id: string & import("effect/Brand").Brand<"SessionKeyGrantId">;
|
|
354
|
+
readonly organizationId: string & import("effect/Brand").Brand<"OrganizationId">;
|
|
355
|
+
readonly actorId: string & import("effect/Brand").Brand<"ActorId">;
|
|
356
|
+
readonly sessionKeyId: string & import("effect/Brand").Brand<"SessionKeyId">;
|
|
357
|
+
readonly grantedByActorId: string & import("effect/Brand").Brand<"ActorId">;
|
|
358
|
+
readonly revokedAt: import("effect/DateTime").Utc | null;
|
|
359
|
+
readonly revokedByActorId: (string & import("effect/Brand").Brand<"ActorId">) | null;
|
|
360
|
+
readonly createdAt: import("effect/DateTime").Utc;
|
|
361
|
+
};
|
|
362
|
+
readonly sessionKey: {
|
|
363
|
+
readonly id: string & import("effect/Brand").Brand<"SessionKeyId">;
|
|
364
|
+
readonly organizationId: string & import("effect/Brand").Brand<"OrganizationId">;
|
|
365
|
+
readonly walletId: string & import("effect/Brand").Brand<"WalletId">;
|
|
366
|
+
readonly signingKeyId: string & import("effect/Brand").Brand<"SigningKeyId">;
|
|
367
|
+
readonly createdByActorId: string & import("effect/Brand").Brand<"ActorId">;
|
|
368
|
+
readonly metadata: {
|
|
369
|
+
readonly name: string;
|
|
370
|
+
readonly version: 1;
|
|
371
|
+
readonly description?: string;
|
|
372
|
+
readonly logo?: {
|
|
373
|
+
readonly type: "icon";
|
|
374
|
+
readonly value: string;
|
|
375
|
+
readonly color: string;
|
|
376
|
+
} | {
|
|
377
|
+
readonly type: "emoji";
|
|
378
|
+
readonly value: string;
|
|
379
|
+
} | {
|
|
380
|
+
readonly type: "image";
|
|
381
|
+
readonly value: string;
|
|
382
|
+
};
|
|
383
|
+
};
|
|
384
|
+
readonly policyHash: string;
|
|
385
|
+
readonly status: "pending" | "active" | "revoking" | "revoked";
|
|
386
|
+
readonly revokedAt: import("effect/DateTime").Utc | null;
|
|
387
|
+
readonly revokedByActorId: (string & import("effect/Brand").Brand<"ActorId">) | null;
|
|
388
|
+
readonly createdAt: import("effect/DateTime").Utc;
|
|
389
|
+
readonly namespace: "eip155";
|
|
390
|
+
readonly policies: readonly ({
|
|
391
|
+
readonly type: "evm.time-window";
|
|
392
|
+
readonly version: 1;
|
|
393
|
+
readonly startsAt: import("effect/DateTime").Utc | null;
|
|
394
|
+
readonly expiresAt: import("effect/DateTime").Utc;
|
|
395
|
+
readonly id: string & import("effect/Brand").Brand<"PolicyId">;
|
|
396
|
+
readonly appliesTo: "both";
|
|
397
|
+
} | {
|
|
398
|
+
readonly type: "evm.gas-budget";
|
|
399
|
+
readonly version: 1;
|
|
400
|
+
readonly budgets: readonly {
|
|
401
|
+
readonly chainId: "eip155:1" | "eip155:10" | "eip155:8453" | "eip155:42161" | "eip155:84532" | "eip155:421614" | "eip155:11155111" | "eip155:11155420";
|
|
402
|
+
readonly period: "hour" | "day" | "week" | "lifetime";
|
|
403
|
+
readonly maxCost: bigint;
|
|
404
|
+
}[];
|
|
405
|
+
readonly id: string & import("effect/Brand").Brand<"PolicyId">;
|
|
406
|
+
readonly appliesTo: "execution";
|
|
407
|
+
} | {
|
|
408
|
+
readonly type: "evm.native-spend-limit";
|
|
409
|
+
readonly version: 1;
|
|
410
|
+
readonly limits: readonly {
|
|
411
|
+
readonly chainId: "eip155:1" | "eip155:10" | "eip155:8453" | "eip155:42161" | "eip155:84532" | "eip155:421614" | "eip155:11155111" | "eip155:11155420";
|
|
412
|
+
readonly period: "hour" | "day" | "week" | "lifetime" | "operation" | "month";
|
|
413
|
+
readonly maxAmount: bigint;
|
|
414
|
+
}[];
|
|
415
|
+
readonly id: string & import("effect/Brand").Brand<"PolicyId">;
|
|
416
|
+
readonly appliesTo: "execution";
|
|
417
|
+
} | {
|
|
418
|
+
readonly type: "evm.contract-access";
|
|
419
|
+
readonly address: `0x${string}` & import("effect/Brand").Brand<"EthereumAddress">;
|
|
420
|
+
readonly version: 1;
|
|
421
|
+
readonly id: string & import("effect/Brand").Brand<"PolicyId">;
|
|
422
|
+
readonly appliesTo: "execution";
|
|
423
|
+
} | {
|
|
424
|
+
readonly type: "evm.functions-on-contract";
|
|
425
|
+
readonly address: `0x${string}` & import("effect/Brand").Brand<"EthereumAddress">;
|
|
426
|
+
readonly functions: readonly `0x${string}`[];
|
|
427
|
+
readonly version: 1;
|
|
428
|
+
readonly id: string & import("effect/Brand").Brand<"PolicyId">;
|
|
429
|
+
readonly appliesTo: "execution";
|
|
430
|
+
} | {
|
|
431
|
+
readonly type: "evm.functions-on-all-contracts";
|
|
432
|
+
readonly functions: readonly `0x${string}`[];
|
|
433
|
+
readonly version: 1;
|
|
434
|
+
readonly id: string & import("effect/Brand").Brand<"PolicyId">;
|
|
435
|
+
readonly appliesTo: "execution";
|
|
436
|
+
} | {
|
|
437
|
+
readonly type: "evm.account-functions";
|
|
438
|
+
readonly functions: readonly `0x${string}`[];
|
|
439
|
+
readonly version: 1;
|
|
440
|
+
readonly id: string & import("effect/Brand").Brand<"PolicyId">;
|
|
441
|
+
readonly appliesTo: "execution";
|
|
442
|
+
} | {
|
|
443
|
+
readonly type: "evm.erc20-token-transfer";
|
|
444
|
+
readonly version: 1;
|
|
445
|
+
readonly address: `0x${string}` & import("effect/Brand").Brand<"EthereumAddress">;
|
|
446
|
+
readonly allowance: bigint;
|
|
447
|
+
readonly id: string & import("effect/Brand").Brand<"PolicyId">;
|
|
448
|
+
readonly appliesTo: "execution";
|
|
449
|
+
} | {
|
|
450
|
+
readonly type: "evm.chain-allowlist";
|
|
451
|
+
readonly version: 1;
|
|
452
|
+
readonly chainIds: readonly ("eip155:1" | "eip155:10" | "eip155:8453" | "eip155:42161" | "eip155:84532" | "eip155:421614" | "eip155:11155111" | "eip155:11155420")[];
|
|
453
|
+
readonly id: string & import("effect/Brand").Brand<"PolicyId">;
|
|
454
|
+
readonly appliesTo: "both";
|
|
455
|
+
} | {
|
|
456
|
+
readonly type: "evm.signature";
|
|
457
|
+
readonly version: 1;
|
|
458
|
+
readonly id: string & import("effect/Brand").Brand<"PolicyId">;
|
|
459
|
+
readonly appliesTo: "signature";
|
|
460
|
+
readonly allowedTypes: readonly ("message" | "typed-data")[];
|
|
461
|
+
readonly typedDataRules?: readonly {
|
|
462
|
+
readonly chainId: "eip155:1" | "eip155:10" | "eip155:8453" | "eip155:42161" | "eip155:84532" | "eip155:421614" | "eip155:11155111" | "eip155:11155420";
|
|
463
|
+
readonly verifyingContract: `0x${string}` & import("effect/Brand").Brand<"EthereumAddress">;
|
|
464
|
+
readonly primaryTypes: readonly string[];
|
|
465
|
+
readonly name?: string;
|
|
466
|
+
readonly version?: string;
|
|
467
|
+
}[];
|
|
468
|
+
})[];
|
|
469
|
+
};
|
|
470
|
+
}[];
|
|
471
|
+
};
|
|
472
|
+
} | {
|
|
473
|
+
readonly type: "mcp";
|
|
474
|
+
readonly data: {
|
|
475
|
+
readonly authorization: {
|
|
476
|
+
readonly id: string & import("effect/Brand").Brand<"OAuthAuthorizationId">;
|
|
477
|
+
readonly clientId: string & import("effect/Brand").Brand<"OAuthClientId">;
|
|
478
|
+
readonly scopes: readonly ("wallet:read" | "session-key:read" | "execution:read" | "mcp:read" | "mcp:execute" | "execution:execute" | "signature:create" | "offline_access")[];
|
|
479
|
+
readonly metadata: {
|
|
480
|
+
readonly type: "mcp";
|
|
481
|
+
readonly version: 1;
|
|
482
|
+
} | {
|
|
483
|
+
readonly type: "cli";
|
|
484
|
+
readonly version: 1;
|
|
485
|
+
readonly deviceName: string;
|
|
486
|
+
readonly cliVersion: string;
|
|
487
|
+
readonly platform: string;
|
|
488
|
+
};
|
|
489
|
+
readonly expiresAt: import("effect/DateTime").Utc | null;
|
|
490
|
+
readonly lastUsedAt: import("effect/DateTime").Utc | null;
|
|
491
|
+
readonly createdAt: import("effect/DateTime").Utc;
|
|
492
|
+
};
|
|
493
|
+
readonly actorId: string & import("effect/Brand").Brand<"ActorId">;
|
|
494
|
+
readonly organizationId: string & import("effect/Brand").Brand<"OrganizationId">;
|
|
495
|
+
readonly grants: readonly {
|
|
496
|
+
readonly grant: {
|
|
497
|
+
readonly id: string & import("effect/Brand").Brand<"SessionKeyGrantId">;
|
|
498
|
+
readonly organizationId: string & import("effect/Brand").Brand<"OrganizationId">;
|
|
499
|
+
readonly actorId: string & import("effect/Brand").Brand<"ActorId">;
|
|
500
|
+
readonly sessionKeyId: string & import("effect/Brand").Brand<"SessionKeyId">;
|
|
501
|
+
readonly grantedByActorId: string & import("effect/Brand").Brand<"ActorId">;
|
|
502
|
+
readonly revokedAt: import("effect/DateTime").Utc | null;
|
|
503
|
+
readonly revokedByActorId: (string & import("effect/Brand").Brand<"ActorId">) | null;
|
|
504
|
+
readonly createdAt: import("effect/DateTime").Utc;
|
|
505
|
+
};
|
|
506
|
+
readonly sessionKey: {
|
|
507
|
+
readonly id: string & import("effect/Brand").Brand<"SessionKeyId">;
|
|
508
|
+
readonly organizationId: string & import("effect/Brand").Brand<"OrganizationId">;
|
|
509
|
+
readonly walletId: string & import("effect/Brand").Brand<"WalletId">;
|
|
510
|
+
readonly signingKeyId: string & import("effect/Brand").Brand<"SigningKeyId">;
|
|
511
|
+
readonly createdByActorId: string & import("effect/Brand").Brand<"ActorId">;
|
|
512
|
+
readonly metadata: {
|
|
513
|
+
readonly name: string;
|
|
514
|
+
readonly version: 1;
|
|
515
|
+
readonly description?: string;
|
|
516
|
+
readonly logo?: {
|
|
517
|
+
readonly type: "icon";
|
|
518
|
+
readonly value: string;
|
|
519
|
+
readonly color: string;
|
|
520
|
+
} | {
|
|
521
|
+
readonly type: "emoji";
|
|
522
|
+
readonly value: string;
|
|
523
|
+
} | {
|
|
524
|
+
readonly type: "image";
|
|
525
|
+
readonly value: string;
|
|
526
|
+
};
|
|
527
|
+
};
|
|
528
|
+
readonly policyHash: string;
|
|
529
|
+
readonly status: "pending" | "active" | "revoking" | "revoked";
|
|
530
|
+
readonly revokedAt: import("effect/DateTime").Utc | null;
|
|
531
|
+
readonly revokedByActorId: (string & import("effect/Brand").Brand<"ActorId">) | null;
|
|
532
|
+
readonly createdAt: import("effect/DateTime").Utc;
|
|
533
|
+
readonly namespace: "eip155";
|
|
534
|
+
readonly policies: readonly ({
|
|
535
|
+
readonly type: "evm.time-window";
|
|
536
|
+
readonly version: 1;
|
|
537
|
+
readonly startsAt: import("effect/DateTime").Utc | null;
|
|
538
|
+
readonly expiresAt: import("effect/DateTime").Utc;
|
|
539
|
+
readonly id: string & import("effect/Brand").Brand<"PolicyId">;
|
|
540
|
+
readonly appliesTo: "both";
|
|
541
|
+
} | {
|
|
542
|
+
readonly type: "evm.gas-budget";
|
|
543
|
+
readonly version: 1;
|
|
544
|
+
readonly budgets: readonly {
|
|
545
|
+
readonly chainId: "eip155:1" | "eip155:10" | "eip155:8453" | "eip155:42161" | "eip155:84532" | "eip155:421614" | "eip155:11155111" | "eip155:11155420";
|
|
546
|
+
readonly period: "hour" | "day" | "week" | "lifetime";
|
|
547
|
+
readonly maxCost: bigint;
|
|
548
|
+
}[];
|
|
549
|
+
readonly id: string & import("effect/Brand").Brand<"PolicyId">;
|
|
550
|
+
readonly appliesTo: "execution";
|
|
551
|
+
} | {
|
|
552
|
+
readonly type: "evm.native-spend-limit";
|
|
553
|
+
readonly version: 1;
|
|
554
|
+
readonly limits: readonly {
|
|
555
|
+
readonly chainId: "eip155:1" | "eip155:10" | "eip155:8453" | "eip155:42161" | "eip155:84532" | "eip155:421614" | "eip155:11155111" | "eip155:11155420";
|
|
556
|
+
readonly period: "hour" | "day" | "week" | "lifetime" | "operation" | "month";
|
|
557
|
+
readonly maxAmount: bigint;
|
|
558
|
+
}[];
|
|
559
|
+
readonly id: string & import("effect/Brand").Brand<"PolicyId">;
|
|
560
|
+
readonly appliesTo: "execution";
|
|
561
|
+
} | {
|
|
562
|
+
readonly type: "evm.contract-access";
|
|
563
|
+
readonly address: `0x${string}` & import("effect/Brand").Brand<"EthereumAddress">;
|
|
564
|
+
readonly version: 1;
|
|
565
|
+
readonly id: string & import("effect/Brand").Brand<"PolicyId">;
|
|
566
|
+
readonly appliesTo: "execution";
|
|
567
|
+
} | {
|
|
568
|
+
readonly type: "evm.functions-on-contract";
|
|
569
|
+
readonly address: `0x${string}` & import("effect/Brand").Brand<"EthereumAddress">;
|
|
570
|
+
readonly functions: readonly `0x${string}`[];
|
|
571
|
+
readonly version: 1;
|
|
572
|
+
readonly id: string & import("effect/Brand").Brand<"PolicyId">;
|
|
573
|
+
readonly appliesTo: "execution";
|
|
574
|
+
} | {
|
|
575
|
+
readonly type: "evm.functions-on-all-contracts";
|
|
576
|
+
readonly functions: readonly `0x${string}`[];
|
|
577
|
+
readonly version: 1;
|
|
578
|
+
readonly id: string & import("effect/Brand").Brand<"PolicyId">;
|
|
579
|
+
readonly appliesTo: "execution";
|
|
580
|
+
} | {
|
|
581
|
+
readonly type: "evm.account-functions";
|
|
582
|
+
readonly functions: readonly `0x${string}`[];
|
|
583
|
+
readonly version: 1;
|
|
584
|
+
readonly id: string & import("effect/Brand").Brand<"PolicyId">;
|
|
585
|
+
readonly appliesTo: "execution";
|
|
586
|
+
} | {
|
|
587
|
+
readonly type: "evm.erc20-token-transfer";
|
|
588
|
+
readonly version: 1;
|
|
589
|
+
readonly address: `0x${string}` & import("effect/Brand").Brand<"EthereumAddress">;
|
|
590
|
+
readonly allowance: bigint;
|
|
591
|
+
readonly id: string & import("effect/Brand").Brand<"PolicyId">;
|
|
592
|
+
readonly appliesTo: "execution";
|
|
593
|
+
} | {
|
|
594
|
+
readonly type: "evm.chain-allowlist";
|
|
595
|
+
readonly version: 1;
|
|
596
|
+
readonly chainIds: readonly ("eip155:1" | "eip155:10" | "eip155:8453" | "eip155:42161" | "eip155:84532" | "eip155:421614" | "eip155:11155111" | "eip155:11155420")[];
|
|
597
|
+
readonly id: string & import("effect/Brand").Brand<"PolicyId">;
|
|
598
|
+
readonly appliesTo: "both";
|
|
599
|
+
} | {
|
|
600
|
+
readonly type: "evm.signature";
|
|
601
|
+
readonly version: 1;
|
|
602
|
+
readonly id: string & import("effect/Brand").Brand<"PolicyId">;
|
|
603
|
+
readonly appliesTo: "signature";
|
|
604
|
+
readonly allowedTypes: readonly ("message" | "typed-data")[];
|
|
605
|
+
readonly typedDataRules?: readonly {
|
|
606
|
+
readonly chainId: "eip155:1" | "eip155:10" | "eip155:8453" | "eip155:42161" | "eip155:84532" | "eip155:421614" | "eip155:11155111" | "eip155:11155420";
|
|
607
|
+
readonly verifyingContract: `0x${string}` & import("effect/Brand").Brand<"EthereumAddress">;
|
|
608
|
+
readonly primaryTypes: readonly string[];
|
|
609
|
+
readonly name?: string;
|
|
610
|
+
readonly version?: string;
|
|
611
|
+
}[];
|
|
612
|
+
})[];
|
|
613
|
+
};
|
|
614
|
+
}[];
|
|
615
|
+
};
|
|
616
|
+
}>;
|
|
617
|
+
declare class CurrentActor extends CurrentActor_base {}
|
|
618
|
+
declare const AuthTokenSecurity: HttpApiSecurity.ApiKey;
|
|
619
|
+
declare const ApiKeySecurity: HttpApiSecurity.ApiKey;
|
|
620
|
+
declare const BearerSecurity: HttpApiSecurity.Http;
|
|
621
|
+
declare const Authorization_base: HttpApiMiddleware.ServiceClass<Authorization, "@namera-ai/api/Authorization", {
|
|
622
|
+
requires: never;
|
|
623
|
+
provides: CurrentActor;
|
|
624
|
+
error: import("effect/unstable/httpapi/HttpApiSchema").asNoContent<typeof HttpApiError.Unauthorized>;
|
|
625
|
+
clientError: never;
|
|
626
|
+
requiredForClient: false;
|
|
627
|
+
security: {
|
|
628
|
+
readonly authToken: HttpApiSecurity.ApiKey;
|
|
629
|
+
readonly apiKey: HttpApiSecurity.ApiKey;
|
|
630
|
+
readonly bearer: HttpApiSecurity.Http;
|
|
631
|
+
};
|
|
632
|
+
}, HttpApiMiddleware.HttpApiMiddlewareSecurity<{
|
|
633
|
+
readonly authToken: HttpApiSecurity.ApiKey;
|
|
634
|
+
readonly apiKey: HttpApiSecurity.ApiKey;
|
|
635
|
+
readonly bearer: HttpApiSecurity.Http;
|
|
636
|
+
}, CurrentActor, import("effect/unstable/httpapi/HttpApiSchema").asNoContent<typeof HttpApiError.Unauthorized>, never>>;
|
|
637
|
+
declare class Authorization extends Authorization_base {}
|
|
638
|
+
//#endregion
|
|
639
|
+
export { ApiKeySecurity, AuthTokenSecurity, Authorization, BearerSecurity, CurrentActor };
|
|
640
|
+
//# sourceMappingURL=auth.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth.d.ts","names":[],"sources":["../../src/middlewares/auth.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKa,qBAAqB;cAIrB,mBAAiB,gBAAA;cAKjB,gBAAc,gBAAA;cAKd,gBAAc,gBAAA;;;;;;;;;;;;;;;;;cAEd,sBAAsB"}
|