tapimo 0.4.3 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/App.d.ts +7222 -6316
- package/dist/App.d.ts.map +1 -1
- package/dist/App.js +4 -0
- package/dist/App.js.map +1 -1
- package/dist/Scope.d.ts +18 -1
- package/dist/Scope.d.ts.map +1 -1
- package/dist/Scope.js +24 -3
- package/dist/Scope.js.map +1 -1
- package/dist/admin/apps/verified-tokens.d.ts +116 -116
- package/dist/apps/data/App.d.ts +2541 -2607
- package/dist/apps/data/App.d.ts.map +1 -1
- package/dist/apps/data/App.js +135 -44
- package/dist/apps/data/App.js.map +1 -1
- package/dist/apps/data/FundingQuoteProviders.d.ts +36 -0
- package/dist/apps/data/FundingQuoteProviders.d.ts.map +1 -0
- package/dist/apps/data/FundingQuoteProviders.js +190 -0
- package/dist/apps/data/FundingQuoteProviders.js.map +1 -0
- package/dist/apps/data/index.d.ts +1 -1
- package/dist/apps/data/index.js +1 -1
- package/dist/apps/data/routes/activities.d.ts +242 -242
- package/dist/apps/data/routes/addresses.d.ts +227 -227
- package/dist/apps/data/routes/balances.d.ts +12 -12
- package/dist/apps/data/routes/balances.d.ts.map +1 -1
- package/dist/apps/data/routes/balances.js +67 -149
- package/dist/apps/data/routes/balances.js.map +1 -1
- package/dist/apps/data/routes/blocks.d.ts +125 -126
- package/dist/apps/data/routes/blocks.d.ts.map +1 -1
- package/dist/apps/data/routes/blocks.js +3 -5
- package/dist/apps/data/routes/blocks.js.map +1 -1
- package/dist/apps/data/routes/coingecko.d.ts +55 -54
- package/dist/apps/data/routes/coingecko.d.ts.map +1 -1
- package/dist/apps/data/routes/coingecko.js +3 -8
- package/dist/apps/data/routes/coingecko.js.map +1 -1
- package/dist/apps/data/routes/exchanges.d.ts +455 -455
- package/dist/apps/data/routes/fee-amm.d.ts +92 -92
- package/dist/apps/data/routes/funding.d.ts +91 -864
- package/dist/apps/data/routes/funding.d.ts.map +1 -1
- package/dist/apps/data/routes/funding.js +138 -450
- package/dist/apps/data/routes/funding.js.map +1 -1
- package/dist/apps/data/routes/rpc.d.ts.map +1 -1
- package/dist/apps/data/routes/rpc.js +86 -16
- package/dist/apps/data/routes/rpc.js.map +1 -1
- package/dist/apps/data/routes/tokenlist.d.ts +36 -36
- package/dist/apps/data/routes/webhooks.d.ts +340 -0
- package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
- package/dist/apps/data/routes/webhooks.js +13 -1
- package/dist/apps/data/routes/webhooks.js.map +1 -1
- package/dist/apps/index.d.ts +1 -1
- package/dist/apps/index.js +1 -1
- package/dist/apps/management/App.d.ts +1843 -861
- package/dist/apps/management/App.d.ts.map +1 -1
- package/dist/apps/management/App.js +4 -0
- package/dist/apps/management/App.js.map +1 -1
- package/dist/apps/management/routes/api-keys.d.ts +121 -121
- package/dist/apps/management/routes/api-keys.js +2 -2
- package/dist/apps/management/routes/api-keys.js.map +1 -1
- package/dist/apps/management/routes/billing.d.ts +2 -2
- package/dist/apps/management/routes/invite-links.d.ts +1100 -0
- package/dist/apps/management/routes/invite-links.d.ts.map +1 -0
- package/dist/apps/management/routes/invite-links.js +411 -0
- package/dist/apps/management/routes/invite-links.js.map +1 -0
- package/dist/apps/management/routes/me.d.ts +13 -13
- package/dist/apps/management/routes/members.d.ts +77 -77
- package/dist/apps/management/routes/orgs.d.ts +96 -96
- package/dist/apps/management/routes/projects.d.ts +62 -62
- package/dist/apps/management/routes/scopes.d.ts +11 -11
- package/dist/apps/management/routes/scopes.d.ts.map +1 -1
- package/dist/apps/management/routes/scopes.js +2 -2
- package/dist/apps/management/routes/scopes.js.map +1 -1
- package/dist/apps/management/routes/usage.d.ts +79 -79
- package/dist/apps/mcp.d.ts.map +1 -1
- package/dist/apps/mcp.js +3 -1
- package/dist/apps/mcp.js.map +1 -1
- package/dist/apps/relay/App.d.ts.map +1 -1
- package/dist/apps/relay/App.js +42 -4
- package/dist/apps/relay/App.js.map +1 -1
- package/dist/cloudflare.d.ts +2 -0
- package/dist/cloudflare.d.ts.map +1 -1
- package/dist/cloudflare.js +4 -0
- package/dist/cloudflare.js.map +1 -1
- package/dist/db/Db.d.ts +3 -0
- package/dist/db/Db.d.ts.map +1 -1
- package/dist/db/Db.js +57 -0
- package/dist/db/Db.js.map +1 -1
- package/dist/db/Schema.d.ts +31 -0
- package/dist/db/Schema.d.ts.map +1 -1
- package/dist/db/Schema.js +31 -0
- package/dist/db/Schema.js.map +1 -1
- package/dist/db/tables/inviteLinks.d.ts +42 -0
- package/dist/db/tables/inviteLinks.d.ts.map +1 -0
- package/dist/db/tables/inviteLinks.js +148 -0
- package/dist/db/tables/inviteLinks.js.map +1 -0
- package/dist/db/tables/organizations.d.ts.map +1 -1
- package/dist/db/tables/organizations.js +2 -0
- package/dist/db/tables/organizations.js.map +1 -1
- package/dist/handlers/relay.d.ts.map +1 -1
- package/dist/handlers/relay.js +13 -3
- package/dist/handlers/relay.js.map +1 -1
- package/dist/internal/Auth.d.ts +42 -23
- package/dist/internal/Auth.d.ts.map +1 -1
- package/dist/internal/Auth.js +169 -20
- package/dist/internal/Auth.js.map +1 -1
- package/dist/internal/EdgeCache.d.ts +3 -1
- package/dist/internal/EdgeCache.d.ts.map +1 -1
- package/dist/internal/EdgeCache.js +17 -2
- package/dist/internal/EdgeCache.js.map +1 -1
- package/dist/internal/Errors.d.ts +6 -0
- package/dist/internal/Errors.d.ts.map +1 -0
- package/dist/internal/Errors.js +16 -0
- package/dist/internal/Errors.js.map +1 -0
- package/dist/internal/FundingQuotes.d.ts +644 -0
- package/dist/internal/FundingQuotes.d.ts.map +1 -0
- package/dist/internal/{FundingRoutes.js → FundingQuotes.js} +93 -289
- package/dist/internal/FundingQuotes.js.map +1 -0
- package/dist/internal/Store.d.ts +61 -16
- package/dist/internal/Store.d.ts.map +1 -1
- package/dist/internal/Store.js +72 -17
- package/dist/internal/Store.js.map +1 -1
- package/dist/internal/Viem.d.ts +2 -0
- package/dist/internal/Viem.d.ts.map +1 -1
- package/dist/internal/Viem.js +11 -2
- package/dist/internal/Viem.js.map +1 -1
- package/dist/internal/index.d.ts +27 -0
- package/dist/internal/index.d.ts.map +1 -0
- package/dist/internal/index.js +27 -0
- package/dist/internal/index.js.map +1 -0
- package/package.json +8 -3
- package/src/ApiKeys.test.ts +23 -0
- package/src/App.test-d.ts +2 -0
- package/src/App.test.ts +60 -4
- package/src/App.ts +6 -0
- package/src/Client.test-d.ts +16 -54
- package/src/Scope.test.ts +1 -0
- package/src/Scope.ts +30 -4
- package/src/apps/data/App.test.ts +354 -0
- package/src/apps/data/App.ts +159 -52
- package/src/apps/data/FundingQuoteProviders.test.ts +151 -0
- package/src/apps/data/FundingQuoteProviders.ts +251 -0
- package/src/apps/data/index.ts +1 -1
- package/src/apps/data/routes/balances.test.ts +64 -18
- package/src/apps/data/routes/balances.ts +76 -177
- package/src/apps/data/routes/blocks.ts +3 -5
- package/src/apps/data/routes/coingecko.ts +3 -8
- package/src/apps/data/routes/funding.test.ts +149 -306
- package/src/apps/data/routes/funding.ts +154 -604
- package/src/apps/data/routes/indexer.test.ts +99 -3
- package/src/apps/data/routes/rpc.test.ts +219 -0
- package/src/apps/data/routes/rpc.ts +92 -17
- package/src/apps/data/routes/webhooks.test.ts +23 -2
- package/src/apps/data/routes/webhooks.ts +13 -1
- package/src/apps/index.ts +1 -1
- package/src/apps/management/App.ts +4 -0
- package/src/apps/management/routes/api-keys.test.ts +47 -3
- package/src/apps/management/routes/api-keys.ts +2 -2
- package/src/apps/management/routes/invite-links.test.ts +385 -0
- package/src/apps/management/routes/invite-links.ts +570 -0
- package/src/apps/management/routes/scopes.test.ts +3 -2
- package/src/apps/management/routes/scopes.ts +4 -2
- package/src/apps/mcp.test.ts +55 -14
- package/src/apps/mcp.ts +3 -1
- package/src/apps/relay/App.test.ts +324 -4
- package/src/apps/relay/App.ts +40 -4
- package/src/cloudflare.ts +5 -0
- package/src/db/Db.ts +65 -0
- package/src/db/Schema.ts +39 -0
- package/src/db/tables/inviteLinks.ts +187 -0
- package/src/db/tables/organizations.ts +2 -0
- package/src/handlers/relay.ts +16 -4
- package/src/internal/Auth.test.ts +528 -37
- package/src/internal/Auth.ts +246 -45
- package/src/internal/EdgeCache.test.ts +24 -3
- package/src/internal/EdgeCache.ts +18 -2
- package/src/internal/FundingQuotes.test.ts +174 -0
- package/src/internal/FundingQuotes.ts +735 -0
- package/src/internal/Log.test.ts +4 -4
- package/src/internal/Store.test-d.ts +15 -0
- package/src/internal/Store.test.ts +153 -2
- package/src/internal/Store.ts +157 -41
- package/src/internal/Viem.ts +14 -5
- package/src/internal/index.test.ts +34 -0
- package/src/internal/index.ts +26 -0
- package/dist/apps/data/FundingRouteProviders.d.ts +0 -143
- package/dist/apps/data/FundingRouteProviders.d.ts.map +0 -1
- package/dist/apps/data/FundingRouteProviders.js +0 -546
- package/dist/apps/data/FundingRouteProviders.js.map +0 -1
- package/dist/internal/FundingRoutes.d.ts +0 -1085
- package/dist/internal/FundingRoutes.d.ts.map +0 -1
- package/dist/internal/FundingRoutes.js.map +0 -1
- package/src/apps/data/FundingRouteProviders.test.ts +0 -485
- package/src/apps/data/FundingRouteProviders.ts +0 -744
- package/src/internal/FundingRoutes.test.ts +0 -239
- package/src/internal/FundingRoutes.ts +0 -1067
|
@@ -72,15 +72,16 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
|
|
|
72
72
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/members": {
|
|
73
73
|
$get: {
|
|
74
74
|
output: {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
75
|
+
data: {
|
|
76
|
+
address?: string | undefined;
|
|
77
|
+
createdAt: string;
|
|
78
|
+
email?: string | undefined;
|
|
79
|
+
role: "admin" | "member" | "owner";
|
|
80
|
+
userId: string;
|
|
81
|
+
}[];
|
|
81
82
|
};
|
|
82
83
|
outputFormat: "json";
|
|
83
|
-
status:
|
|
84
|
+
status: 200;
|
|
84
85
|
input: {
|
|
85
86
|
param: {
|
|
86
87
|
orgId: string;
|
|
@@ -89,14 +90,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
|
|
|
89
90
|
} | {
|
|
90
91
|
output: {
|
|
91
92
|
error: {
|
|
92
|
-
code: "
|
|
93
|
+
code: "api_key_malformed";
|
|
93
94
|
details?: readonly Response.error.Detail[] | undefined;
|
|
94
95
|
message: string;
|
|
95
96
|
};
|
|
96
97
|
requestId: string;
|
|
97
98
|
};
|
|
98
99
|
outputFormat: "json";
|
|
99
|
-
status:
|
|
100
|
+
status: 400;
|
|
100
101
|
input: {
|
|
101
102
|
param: {
|
|
102
103
|
orgId: string;
|
|
@@ -105,14 +106,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
|
|
|
105
106
|
} | {
|
|
106
107
|
output: {
|
|
107
108
|
error: {
|
|
108
|
-
code: "
|
|
109
|
+
code: "param_invalid";
|
|
109
110
|
details?: readonly Response.error.Detail[] | undefined;
|
|
110
111
|
message: string;
|
|
111
112
|
};
|
|
112
113
|
requestId: string;
|
|
113
114
|
};
|
|
114
115
|
outputFormat: "json";
|
|
115
|
-
status:
|
|
116
|
+
status: 400;
|
|
116
117
|
input: {
|
|
117
118
|
param: {
|
|
118
119
|
orgId: string;
|
|
@@ -121,14 +122,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
|
|
|
121
122
|
} | {
|
|
122
123
|
output: {
|
|
123
124
|
error: {
|
|
124
|
-
code: "
|
|
125
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
125
126
|
details?: readonly Response.error.Detail[] | undefined;
|
|
126
127
|
message: string;
|
|
127
128
|
};
|
|
128
129
|
requestId: string;
|
|
129
130
|
};
|
|
130
131
|
outputFormat: "json";
|
|
131
|
-
status:
|
|
132
|
+
status: 401;
|
|
132
133
|
input: {
|
|
133
134
|
param: {
|
|
134
135
|
orgId: string;
|
|
@@ -137,14 +138,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
|
|
|
137
138
|
} | {
|
|
138
139
|
output: {
|
|
139
140
|
error: {
|
|
140
|
-
code: "
|
|
141
|
+
code: "api_key_forbidden";
|
|
141
142
|
details?: readonly Response.error.Detail[] | undefined;
|
|
142
143
|
message: string;
|
|
143
144
|
};
|
|
144
145
|
requestId: string;
|
|
145
146
|
};
|
|
146
147
|
outputFormat: "json";
|
|
147
|
-
status:
|
|
148
|
+
status: 403;
|
|
148
149
|
input: {
|
|
149
150
|
param: {
|
|
150
151
|
orgId: string;
|
|
@@ -153,14 +154,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
|
|
|
153
154
|
} | {
|
|
154
155
|
output: {
|
|
155
156
|
error: {
|
|
156
|
-
code: "
|
|
157
|
+
code: "organization_not_found";
|
|
157
158
|
details?: readonly Response.error.Detail[] | undefined;
|
|
158
159
|
message: string;
|
|
159
160
|
};
|
|
160
161
|
requestId: string;
|
|
161
162
|
};
|
|
162
163
|
outputFormat: "json";
|
|
163
|
-
status:
|
|
164
|
+
status: 404;
|
|
164
165
|
input: {
|
|
165
166
|
param: {
|
|
166
167
|
orgId: string;
|
|
@@ -169,14 +170,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
|
|
|
169
170
|
} | {
|
|
170
171
|
output: {
|
|
171
172
|
error: {
|
|
172
|
-
code: "
|
|
173
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
173
174
|
details?: readonly Response.error.Detail[] | undefined;
|
|
174
175
|
message: string;
|
|
175
176
|
};
|
|
176
177
|
requestId: string;
|
|
177
178
|
};
|
|
178
179
|
outputFormat: "json";
|
|
179
|
-
status:
|
|
180
|
+
status: 429;
|
|
180
181
|
input: {
|
|
181
182
|
param: {
|
|
182
183
|
orgId: string;
|
|
@@ -184,16 +185,15 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
|
|
|
184
185
|
};
|
|
185
186
|
} | {
|
|
186
187
|
output: {
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
}[];
|
|
188
|
+
error: {
|
|
189
|
+
code: "upstream_error";
|
|
190
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
191
|
+
message: string;
|
|
192
|
+
};
|
|
193
|
+
requestId: string;
|
|
194
194
|
};
|
|
195
195
|
outputFormat: "json";
|
|
196
|
-
status:
|
|
196
|
+
status: 502;
|
|
197
197
|
input: {
|
|
198
198
|
param: {
|
|
199
199
|
orgId: string;
|
|
@@ -205,15 +205,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
|
|
|
205
205
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/members/:userId{usr_[A-Za-z0-9_-]+}": {
|
|
206
206
|
$patch: {
|
|
207
207
|
output: {
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
requestId: string;
|
|
208
|
+
address?: string | undefined;
|
|
209
|
+
createdAt: string;
|
|
210
|
+
email?: string | undefined;
|
|
211
|
+
role: "admin" | "member" | "owner";
|
|
212
|
+
userId: string;
|
|
214
213
|
};
|
|
215
214
|
outputFormat: "json";
|
|
216
|
-
status:
|
|
215
|
+
status: 200;
|
|
217
216
|
input: {
|
|
218
217
|
param: {
|
|
219
218
|
orgId: string;
|
|
@@ -227,14 +226,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
|
|
|
227
226
|
} | {
|
|
228
227
|
output: {
|
|
229
228
|
error: {
|
|
230
|
-
code: "
|
|
229
|
+
code: "api_key_malformed";
|
|
231
230
|
details?: readonly Response.error.Detail[] | undefined;
|
|
232
231
|
message: string;
|
|
233
232
|
};
|
|
234
233
|
requestId: string;
|
|
235
234
|
};
|
|
236
235
|
outputFormat: "json";
|
|
237
|
-
status:
|
|
236
|
+
status: 400;
|
|
238
237
|
input: {
|
|
239
238
|
param: {
|
|
240
239
|
orgId: string;
|
|
@@ -248,14 +247,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
|
|
|
248
247
|
} | {
|
|
249
248
|
output: {
|
|
250
249
|
error: {
|
|
251
|
-
code: "
|
|
250
|
+
code: "param_invalid";
|
|
252
251
|
details?: readonly Response.error.Detail[] | undefined;
|
|
253
252
|
message: string;
|
|
254
253
|
};
|
|
255
254
|
requestId: string;
|
|
256
255
|
};
|
|
257
256
|
outputFormat: "json";
|
|
258
|
-
status:
|
|
257
|
+
status: 400;
|
|
259
258
|
input: {
|
|
260
259
|
param: {
|
|
261
260
|
orgId: string;
|
|
@@ -269,14 +268,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
|
|
|
269
268
|
} | {
|
|
270
269
|
output: {
|
|
271
270
|
error: {
|
|
272
|
-
code: "
|
|
271
|
+
code: "body_invalid";
|
|
273
272
|
details?: readonly Response.error.Detail[] | undefined;
|
|
274
273
|
message: string;
|
|
275
274
|
};
|
|
276
275
|
requestId: string;
|
|
277
276
|
};
|
|
278
277
|
outputFormat: "json";
|
|
279
|
-
status:
|
|
278
|
+
status: 400;
|
|
280
279
|
input: {
|
|
281
280
|
param: {
|
|
282
281
|
orgId: string;
|
|
@@ -290,14 +289,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
|
|
|
290
289
|
} | {
|
|
291
290
|
output: {
|
|
292
291
|
error: {
|
|
293
|
-
code: "
|
|
292
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
294
293
|
details?: readonly Response.error.Detail[] | undefined;
|
|
295
294
|
message: string;
|
|
296
295
|
};
|
|
297
296
|
requestId: string;
|
|
298
297
|
};
|
|
299
298
|
outputFormat: "json";
|
|
300
|
-
status:
|
|
299
|
+
status: 401;
|
|
301
300
|
input: {
|
|
302
301
|
param: {
|
|
303
302
|
orgId: string;
|
|
@@ -311,14 +310,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
|
|
|
311
310
|
} | {
|
|
312
311
|
output: {
|
|
313
312
|
error: {
|
|
314
|
-
code: "
|
|
313
|
+
code: "api_key_forbidden";
|
|
315
314
|
details?: readonly Response.error.Detail[] | undefined;
|
|
316
315
|
message: string;
|
|
317
316
|
};
|
|
318
317
|
requestId: string;
|
|
319
318
|
};
|
|
320
319
|
outputFormat: "json";
|
|
321
|
-
status:
|
|
320
|
+
status: 403;
|
|
322
321
|
input: {
|
|
323
322
|
param: {
|
|
324
323
|
orgId: string;
|
|
@@ -332,14 +331,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
|
|
|
332
331
|
} | {
|
|
333
332
|
output: {
|
|
334
333
|
error: {
|
|
335
|
-
code: "
|
|
334
|
+
code: "organization_not_found";
|
|
336
335
|
details?: readonly Response.error.Detail[] | undefined;
|
|
337
336
|
message: string;
|
|
338
337
|
};
|
|
339
338
|
requestId: string;
|
|
340
339
|
};
|
|
341
340
|
outputFormat: "json";
|
|
342
|
-
status:
|
|
341
|
+
status: 404;
|
|
343
342
|
input: {
|
|
344
343
|
param: {
|
|
345
344
|
orgId: string;
|
|
@@ -353,7 +352,7 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
|
|
|
353
352
|
} | {
|
|
354
353
|
output: {
|
|
355
354
|
error: {
|
|
356
|
-
code: "
|
|
355
|
+
code: "member_not_found";
|
|
357
356
|
details?: readonly Response.error.Detail[] | undefined;
|
|
358
357
|
message: string;
|
|
359
358
|
};
|
|
@@ -395,14 +394,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
|
|
|
395
394
|
} | {
|
|
396
395
|
output: {
|
|
397
396
|
error: {
|
|
398
|
-
code: "
|
|
397
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
399
398
|
details?: readonly Response.error.Detail[] | undefined;
|
|
400
399
|
message: string;
|
|
401
400
|
};
|
|
402
401
|
requestId: string;
|
|
403
402
|
};
|
|
404
403
|
outputFormat: "json";
|
|
405
|
-
status:
|
|
404
|
+
status: 429;
|
|
406
405
|
input: {
|
|
407
406
|
param: {
|
|
408
407
|
orgId: string;
|
|
@@ -415,14 +414,15 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
|
|
|
415
414
|
};
|
|
416
415
|
} | {
|
|
417
416
|
output: {
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
417
|
+
error: {
|
|
418
|
+
code: "upstream_error";
|
|
419
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
420
|
+
message: string;
|
|
421
|
+
};
|
|
422
|
+
requestId: string;
|
|
423
423
|
};
|
|
424
424
|
outputFormat: "json";
|
|
425
|
-
status:
|
|
425
|
+
status: 502;
|
|
426
426
|
input: {
|
|
427
427
|
param: {
|
|
428
428
|
orgId: string;
|
|
@@ -439,15 +439,10 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
|
|
|
439
439
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/members/:userId{usr_[A-Za-z0-9_-]+}": {
|
|
440
440
|
$delete: {
|
|
441
441
|
output: {
|
|
442
|
-
|
|
443
|
-
code: "api_key_malformed";
|
|
444
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
445
|
-
message: string;
|
|
446
|
-
};
|
|
447
|
-
requestId: string;
|
|
442
|
+
userId: string;
|
|
448
443
|
};
|
|
449
444
|
outputFormat: "json";
|
|
450
|
-
status:
|
|
445
|
+
status: 200;
|
|
451
446
|
input: {
|
|
452
447
|
param: {
|
|
453
448
|
orgId: string;
|
|
@@ -457,14 +452,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
|
|
|
457
452
|
} | {
|
|
458
453
|
output: {
|
|
459
454
|
error: {
|
|
460
|
-
code: "
|
|
455
|
+
code: "api_key_malformed";
|
|
461
456
|
details?: readonly Response.error.Detail[] | undefined;
|
|
462
457
|
message: string;
|
|
463
458
|
};
|
|
464
459
|
requestId: string;
|
|
465
460
|
};
|
|
466
461
|
outputFormat: "json";
|
|
467
|
-
status:
|
|
462
|
+
status: 400;
|
|
468
463
|
input: {
|
|
469
464
|
param: {
|
|
470
465
|
orgId: string;
|
|
@@ -474,14 +469,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
|
|
|
474
469
|
} | {
|
|
475
470
|
output: {
|
|
476
471
|
error: {
|
|
477
|
-
code: "
|
|
472
|
+
code: "param_invalid";
|
|
478
473
|
details?: readonly Response.error.Detail[] | undefined;
|
|
479
474
|
message: string;
|
|
480
475
|
};
|
|
481
476
|
requestId: string;
|
|
482
477
|
};
|
|
483
478
|
outputFormat: "json";
|
|
484
|
-
status:
|
|
479
|
+
status: 400;
|
|
485
480
|
input: {
|
|
486
481
|
param: {
|
|
487
482
|
orgId: string;
|
|
@@ -491,14 +486,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
|
|
|
491
486
|
} | {
|
|
492
487
|
output: {
|
|
493
488
|
error: {
|
|
494
|
-
code: "
|
|
489
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
495
490
|
details?: readonly Response.error.Detail[] | undefined;
|
|
496
491
|
message: string;
|
|
497
492
|
};
|
|
498
493
|
requestId: string;
|
|
499
494
|
};
|
|
500
495
|
outputFormat: "json";
|
|
501
|
-
status:
|
|
496
|
+
status: 401;
|
|
502
497
|
input: {
|
|
503
498
|
param: {
|
|
504
499
|
orgId: string;
|
|
@@ -508,14 +503,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
|
|
|
508
503
|
} | {
|
|
509
504
|
output: {
|
|
510
505
|
error: {
|
|
511
|
-
code: "
|
|
506
|
+
code: "api_key_forbidden";
|
|
512
507
|
details?: readonly Response.error.Detail[] | undefined;
|
|
513
508
|
message: string;
|
|
514
509
|
};
|
|
515
510
|
requestId: string;
|
|
516
511
|
};
|
|
517
512
|
outputFormat: "json";
|
|
518
|
-
status:
|
|
513
|
+
status: 403;
|
|
519
514
|
input: {
|
|
520
515
|
param: {
|
|
521
516
|
orgId: string;
|
|
@@ -542,14 +537,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
|
|
|
542
537
|
} | {
|
|
543
538
|
output: {
|
|
544
539
|
error: {
|
|
545
|
-
code: "
|
|
540
|
+
code: "organization_not_found";
|
|
546
541
|
details?: readonly Response.error.Detail[] | undefined;
|
|
547
542
|
message: string;
|
|
548
543
|
};
|
|
549
544
|
requestId: string;
|
|
550
545
|
};
|
|
551
546
|
outputFormat: "json";
|
|
552
|
-
status:
|
|
547
|
+
status: 404;
|
|
553
548
|
input: {
|
|
554
549
|
param: {
|
|
555
550
|
orgId: string;
|
|
@@ -559,7 +554,7 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
|
|
|
559
554
|
} | {
|
|
560
555
|
output: {
|
|
561
556
|
error: {
|
|
562
|
-
code: "
|
|
557
|
+
code: "member_not_found";
|
|
563
558
|
details?: readonly Response.error.Detail[] | undefined;
|
|
564
559
|
message: string;
|
|
565
560
|
};
|
|
@@ -593,14 +588,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
|
|
|
593
588
|
} | {
|
|
594
589
|
output: {
|
|
595
590
|
error: {
|
|
596
|
-
code: "
|
|
591
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
597
592
|
details?: readonly Response.error.Detail[] | undefined;
|
|
598
593
|
message: string;
|
|
599
594
|
};
|
|
600
595
|
requestId: string;
|
|
601
596
|
};
|
|
602
597
|
outputFormat: "json";
|
|
603
|
-
status:
|
|
598
|
+
status: 429;
|
|
604
599
|
input: {
|
|
605
600
|
param: {
|
|
606
601
|
orgId: string;
|
|
@@ -609,10 +604,15 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
|
|
|
609
604
|
};
|
|
610
605
|
} | {
|
|
611
606
|
output: {
|
|
612
|
-
|
|
607
|
+
error: {
|
|
608
|
+
code: "upstream_error";
|
|
609
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
610
|
+
message: string;
|
|
611
|
+
};
|
|
612
|
+
requestId: string;
|
|
613
613
|
};
|
|
614
614
|
outputFormat: "json";
|
|
615
|
-
status:
|
|
615
|
+
status: 502;
|
|
616
616
|
input: {
|
|
617
617
|
param: {
|
|
618
618
|
orgId: string;
|