tapimo 0.5.1 → 0.5.2
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 +34 -18
- package/dist/App.d.ts.map +1 -1
- package/dist/admin/apps/verified-tokens.d.ts +117 -117
- package/dist/apps/data/App.d.ts +3217 -3217
- package/dist/apps/data/FundingQuoteProviders.d.ts +32 -0
- package/dist/apps/data/FundingQuoteProviders.d.ts.map +1 -1
- package/dist/apps/data/FundingQuoteProviders.js +134 -1
- package/dist/apps/data/FundingQuoteProviders.js.map +1 -1
- package/dist/apps/data/routes/addresses.d.ts +206 -206
- package/dist/apps/data/routes/balances.d.ts +46 -46
- package/dist/apps/data/routes/coingecko.d.ts +169 -169
- package/dist/apps/data/routes/funding.d.ts +8 -2
- package/dist/apps/data/routes/funding.d.ts.map +1 -1
- package/dist/apps/data/routes/funding.js +4 -4
- package/dist/apps/data/routes/funding.js.map +1 -1
- package/dist/apps/data/routes/indexer.d.ts +34 -34
- package/dist/apps/data/routes/receipts.d.ts +228 -228
- package/dist/apps/data/routes/rpc.d.ts +31 -31
- package/dist/apps/data/routes/transfers.d.ts +8 -15
- package/dist/apps/data/routes/transfers.d.ts.map +1 -1
- package/dist/apps/data/routes/transfers.js +21 -27
- package/dist/apps/data/routes/transfers.js.map +1 -1
- package/dist/apps/data/routes/webhooks.d.ts +35 -35
- package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
- package/dist/apps/data/routes/webhooks.js +176 -42
- package/dist/apps/data/routes/webhooks.js.map +1 -1
- package/dist/apps/management/App.d.ts +982 -966
- package/dist/apps/management/App.d.ts.map +1 -1
- package/dist/apps/management/Billing.d.ts.map +1 -1
- package/dist/apps/management/Billing.js +5 -4
- package/dist/apps/management/Billing.js.map +1 -1
- package/dist/apps/management/routes/billing.d.ts.map +1 -1
- package/dist/apps/management/routes/billing.js +1 -1
- package/dist/apps/management/routes/billing.js.map +1 -1
- package/dist/apps/management/routes/invitations.d.ts +121 -121
- package/dist/apps/management/routes/invite-links.d.ts +174 -174
- package/dist/apps/management/routes/orgs.d.ts +102 -86
- package/dist/apps/management/routes/orgs.d.ts.map +1 -1
- package/dist/apps/management/routes/orgs.js +18 -1
- package/dist/apps/management/routes/orgs.js.map +1 -1
- package/dist/apps/management/routes/projects.d.ts +124 -124
- package/dist/apps/relay/Sponsorships.d.ts +3 -0
- package/dist/apps/relay/Sponsorships.d.ts.map +1 -1
- package/dist/apps/relay/Sponsorships.js +15 -1
- package/dist/apps/relay/Sponsorships.js.map +1 -1
- package/dist/db/Db.d.ts.map +1 -1
- package/dist/db/Db.js +4 -0
- package/dist/db/Db.js.map +1 -1
- package/dist/db/Schema.js +1 -1
- package/dist/db/Schema.js.map +1 -1
- package/dist/db/tables/organizations.d.ts +6 -0
- package/dist/db/tables/organizations.d.ts.map +1 -1
- package/dist/db/tables/organizations.js +26 -0
- package/dist/db/tables/organizations.js.map +1 -1
- package/dist/db/tables/requestUsage.d.ts +2 -11
- package/dist/db/tables/requestUsage.d.ts.map +1 -1
- package/dist/db/tables/requestUsage.js +1 -20
- package/dist/db/tables/requestUsage.js.map +1 -1
- package/dist/db/tables/sponsoredTransactions.d.ts +2 -1
- package/dist/db/tables/sponsoredTransactions.d.ts.map +1 -1
- package/dist/db/tables/sponsoredTransactions.js +46 -8
- package/dist/db/tables/sponsoredTransactions.js.map +1 -1
- package/dist/internal/Auth.d.ts +4 -0
- package/dist/internal/Auth.d.ts.map +1 -1
- package/dist/internal/Auth.js +7 -8
- package/dist/internal/Auth.js.map +1 -1
- package/dist/internal/Cache.d.ts.map +1 -1
- package/dist/internal/Cache.js +9 -1
- package/dist/internal/Cache.js.map +1 -1
- package/dist/internal/EdgeCache.d.ts.map +1 -1
- package/dist/internal/EdgeCache.js +12 -3
- package/dist/internal/EdgeCache.js.map +1 -1
- package/dist/internal/FundingQuotes.d.ts +16 -10
- package/dist/internal/FundingQuotes.d.ts.map +1 -1
- package/dist/internal/FundingQuotes.js +9 -0
- package/dist/internal/FundingQuotes.js.map +1 -1
- package/dist/internal/RateLimit.d.ts +2 -0
- package/dist/internal/RateLimit.d.ts.map +1 -1
- package/dist/internal/RateLimit.js +4 -4
- package/dist/internal/RateLimit.js.map +1 -1
- package/package.json +6 -1
- package/src/App.test.ts +2 -2
- package/src/Client.test-d.ts +28 -2
- package/src/apps/data/FundingQuoteProviders.test.ts +184 -0
- package/src/apps/data/FundingQuoteProviders.ts +185 -1
- package/src/apps/data/routes/funding.test.ts +7 -0
- package/src/apps/data/routes/funding.ts +4 -4
- package/src/apps/data/routes/tokens.test.ts +54 -0
- package/src/apps/data/routes/transfers.test.ts +73 -1
- package/src/apps/data/routes/transfers.ts +24 -30
- package/src/apps/data/routes/webhooks.test.ts +203 -0
- package/src/apps/data/routes/webhooks.ts +191 -54
- package/src/apps/management/Billing.test.ts +50 -1
- package/src/apps/management/Billing.ts +5 -4
- package/src/apps/management/routes/billing.ts +6 -1
- package/src/apps/management/routes/orgs.ts +19 -1
- package/src/apps/relay/Sponsorships.ts +24 -1
- package/src/db/Db.ts +4 -0
- package/src/db/Schema.ts +1 -1
- package/src/db/tables/organizations.test.ts +30 -0
- package/src/db/tables/organizations.ts +28 -0
- package/src/db/tables/requestUsage.ts +3 -23
- package/src/db/tables/sponsoredTransactions.test.ts +41 -0
- package/src/db/tables/sponsoredTransactions.ts +46 -7
- package/src/internal/Auth.test.ts +63 -10
- package/src/internal/Auth.ts +11 -9
- package/src/internal/Cache.test.ts +19 -0
- package/src/internal/Cache.ts +13 -1
- package/src/internal/EdgeCache.test.ts +40 -0
- package/src/internal/EdgeCache.ts +11 -3
- package/src/internal/FundingQuotes.test.ts +33 -0
- package/src/internal/FundingQuotes.ts +9 -0
- package/src/internal/RateLimit.test.ts +12 -0
- package/src/internal/RateLimit.ts +4 -4
|
@@ -60,15 +60,17 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
60
60
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects": {
|
|
61
61
|
$get: {
|
|
62
62
|
output: {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
63
|
+
data: {
|
|
64
|
+
createdAt: string;
|
|
65
|
+
environments: ("production" | "sandbox")[];
|
|
66
|
+
id: string;
|
|
67
|
+
name: string;
|
|
68
|
+
orgId: string;
|
|
69
|
+
updatedAt: string;
|
|
70
|
+
}[];
|
|
69
71
|
};
|
|
70
72
|
outputFormat: "json";
|
|
71
|
-
status:
|
|
73
|
+
status: 200;
|
|
72
74
|
input: {
|
|
73
75
|
param: {
|
|
74
76
|
orgId: string;
|
|
@@ -77,14 +79,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
77
79
|
} | {
|
|
78
80
|
output: {
|
|
79
81
|
error: {
|
|
80
|
-
code: "
|
|
82
|
+
code: "api_key_malformed";
|
|
81
83
|
details?: readonly Response.error.Detail[] | undefined;
|
|
82
84
|
message: string;
|
|
83
85
|
};
|
|
84
86
|
requestId: string;
|
|
85
87
|
};
|
|
86
88
|
outputFormat: "json";
|
|
87
|
-
status:
|
|
89
|
+
status: 400;
|
|
88
90
|
input: {
|
|
89
91
|
param: {
|
|
90
92
|
orgId: string;
|
|
@@ -93,14 +95,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
93
95
|
} | {
|
|
94
96
|
output: {
|
|
95
97
|
error: {
|
|
96
|
-
code: "
|
|
98
|
+
code: "param_invalid";
|
|
97
99
|
details?: readonly Response.error.Detail[] | undefined;
|
|
98
100
|
message: string;
|
|
99
101
|
};
|
|
100
102
|
requestId: string;
|
|
101
103
|
};
|
|
102
104
|
outputFormat: "json";
|
|
103
|
-
status:
|
|
105
|
+
status: 400;
|
|
104
106
|
input: {
|
|
105
107
|
param: {
|
|
106
108
|
orgId: string;
|
|
@@ -109,14 +111,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
109
111
|
} | {
|
|
110
112
|
output: {
|
|
111
113
|
error: {
|
|
112
|
-
code: "
|
|
114
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
113
115
|
details?: readonly Response.error.Detail[] | undefined;
|
|
114
116
|
message: string;
|
|
115
117
|
};
|
|
116
118
|
requestId: string;
|
|
117
119
|
};
|
|
118
120
|
outputFormat: "json";
|
|
119
|
-
status:
|
|
121
|
+
status: 401;
|
|
120
122
|
input: {
|
|
121
123
|
param: {
|
|
122
124
|
orgId: string;
|
|
@@ -125,14 +127,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
125
127
|
} | {
|
|
126
128
|
output: {
|
|
127
129
|
error: {
|
|
128
|
-
code: "
|
|
130
|
+
code: "api_key_forbidden";
|
|
129
131
|
details?: readonly Response.error.Detail[] | undefined;
|
|
130
132
|
message: string;
|
|
131
133
|
};
|
|
132
134
|
requestId: string;
|
|
133
135
|
};
|
|
134
136
|
outputFormat: "json";
|
|
135
|
-
status:
|
|
137
|
+
status: 403;
|
|
136
138
|
input: {
|
|
137
139
|
param: {
|
|
138
140
|
orgId: string;
|
|
@@ -157,14 +159,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
157
159
|
} | {
|
|
158
160
|
output: {
|
|
159
161
|
error: {
|
|
160
|
-
code: "
|
|
162
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
161
163
|
details?: readonly Response.error.Detail[] | undefined;
|
|
162
164
|
message: string;
|
|
163
165
|
};
|
|
164
166
|
requestId: string;
|
|
165
167
|
};
|
|
166
168
|
outputFormat: "json";
|
|
167
|
-
status:
|
|
169
|
+
status: 429;
|
|
168
170
|
input: {
|
|
169
171
|
param: {
|
|
170
172
|
orgId: string;
|
|
@@ -172,17 +174,15 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
172
174
|
};
|
|
173
175
|
} | {
|
|
174
176
|
output: {
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
updatedAt: string;
|
|
182
|
-
}[];
|
|
177
|
+
error: {
|
|
178
|
+
code: "upstream_error";
|
|
179
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
180
|
+
message: string;
|
|
181
|
+
};
|
|
182
|
+
requestId: string;
|
|
183
183
|
};
|
|
184
184
|
outputFormat: "json";
|
|
185
|
-
status:
|
|
185
|
+
status: 502;
|
|
186
186
|
input: {
|
|
187
187
|
param: {
|
|
188
188
|
orgId: string;
|
|
@@ -193,6 +193,26 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
193
193
|
} & {
|
|
194
194
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects": {
|
|
195
195
|
$post: {
|
|
196
|
+
output: {
|
|
197
|
+
createdAt: string;
|
|
198
|
+
environments: ("production" | "sandbox")[];
|
|
199
|
+
id: string;
|
|
200
|
+
name: string;
|
|
201
|
+
orgId: string;
|
|
202
|
+
updatedAt: string;
|
|
203
|
+
};
|
|
204
|
+
outputFormat: "json";
|
|
205
|
+
status: 200;
|
|
206
|
+
input: {
|
|
207
|
+
param: {
|
|
208
|
+
orgId: string;
|
|
209
|
+
};
|
|
210
|
+
} & {
|
|
211
|
+
json: {
|
|
212
|
+
name: string;
|
|
213
|
+
};
|
|
214
|
+
};
|
|
215
|
+
} | {
|
|
196
216
|
output: {
|
|
197
217
|
error: {
|
|
198
218
|
code: "api_key_malformed";
|
|
@@ -215,14 +235,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
215
235
|
} | {
|
|
216
236
|
output: {
|
|
217
237
|
error: {
|
|
218
|
-
code: "
|
|
238
|
+
code: "body_invalid";
|
|
219
239
|
details?: readonly Response.error.Detail[] | undefined;
|
|
220
240
|
message: string;
|
|
221
241
|
};
|
|
222
242
|
requestId: string;
|
|
223
243
|
};
|
|
224
244
|
outputFormat: "json";
|
|
225
|
-
status:
|
|
245
|
+
status: 400;
|
|
226
246
|
input: {
|
|
227
247
|
param: {
|
|
228
248
|
orgId: string;
|
|
@@ -235,14 +255,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
235
255
|
} | {
|
|
236
256
|
output: {
|
|
237
257
|
error: {
|
|
238
|
-
code: "
|
|
258
|
+
code: "param_invalid";
|
|
239
259
|
details?: readonly Response.error.Detail[] | undefined;
|
|
240
260
|
message: string;
|
|
241
261
|
};
|
|
242
262
|
requestId: string;
|
|
243
263
|
};
|
|
244
264
|
outputFormat: "json";
|
|
245
|
-
status:
|
|
265
|
+
status: 400;
|
|
246
266
|
input: {
|
|
247
267
|
param: {
|
|
248
268
|
orgId: string;
|
|
@@ -255,14 +275,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
255
275
|
} | {
|
|
256
276
|
output: {
|
|
257
277
|
error: {
|
|
258
|
-
code: "
|
|
278
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
259
279
|
details?: readonly Response.error.Detail[] | undefined;
|
|
260
280
|
message: string;
|
|
261
281
|
};
|
|
262
282
|
requestId: string;
|
|
263
283
|
};
|
|
264
284
|
outputFormat: "json";
|
|
265
|
-
status:
|
|
285
|
+
status: 401;
|
|
266
286
|
input: {
|
|
267
287
|
param: {
|
|
268
288
|
orgId: string;
|
|
@@ -275,14 +295,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
275
295
|
} | {
|
|
276
296
|
output: {
|
|
277
297
|
error: {
|
|
278
|
-
code: "
|
|
298
|
+
code: "api_key_forbidden";
|
|
279
299
|
details?: readonly Response.error.Detail[] | undefined;
|
|
280
300
|
message: string;
|
|
281
301
|
};
|
|
282
302
|
requestId: string;
|
|
283
303
|
};
|
|
284
304
|
outputFormat: "json";
|
|
285
|
-
status:
|
|
305
|
+
status: 403;
|
|
286
306
|
input: {
|
|
287
307
|
param: {
|
|
288
308
|
orgId: string;
|
|
@@ -315,14 +335,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
315
335
|
} | {
|
|
316
336
|
output: {
|
|
317
337
|
error: {
|
|
318
|
-
code: "
|
|
338
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
319
339
|
details?: readonly Response.error.Detail[] | undefined;
|
|
320
340
|
message: string;
|
|
321
341
|
};
|
|
322
342
|
requestId: string;
|
|
323
343
|
};
|
|
324
344
|
outputFormat: "json";
|
|
325
|
-
status:
|
|
345
|
+
status: 429;
|
|
326
346
|
input: {
|
|
327
347
|
param: {
|
|
328
348
|
orgId: string;
|
|
@@ -335,14 +355,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
335
355
|
} | {
|
|
336
356
|
output: {
|
|
337
357
|
error: {
|
|
338
|
-
code: "
|
|
358
|
+
code: "upstream_error";
|
|
339
359
|
details?: readonly Response.error.Detail[] | undefined;
|
|
340
360
|
message: string;
|
|
341
361
|
};
|
|
342
362
|
requestId: string;
|
|
343
363
|
};
|
|
344
364
|
outputFormat: "json";
|
|
345
|
-
status:
|
|
365
|
+
status: 502;
|
|
346
366
|
input: {
|
|
347
367
|
param: {
|
|
348
368
|
orgId: string;
|
|
@@ -352,7 +372,11 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
352
372
|
name: string;
|
|
353
373
|
};
|
|
354
374
|
};
|
|
355
|
-
}
|
|
375
|
+
};
|
|
376
|
+
};
|
|
377
|
+
} & {
|
|
378
|
+
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects/:projectId{prj_[A-Za-z0-9_-]+}": {
|
|
379
|
+
$get: {
|
|
356
380
|
output: {
|
|
357
381
|
createdAt: string;
|
|
358
382
|
environments: ("production" | "sandbox")[];
|
|
@@ -366,17 +390,10 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
366
390
|
input: {
|
|
367
391
|
param: {
|
|
368
392
|
orgId: string;
|
|
369
|
-
|
|
370
|
-
} & {
|
|
371
|
-
json: {
|
|
372
|
-
name: string;
|
|
393
|
+
projectId: string;
|
|
373
394
|
};
|
|
374
395
|
};
|
|
375
|
-
}
|
|
376
|
-
};
|
|
377
|
-
} & {
|
|
378
|
-
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects/:projectId{prj_[A-Za-z0-9_-]+}": {
|
|
379
|
-
$get: {
|
|
396
|
+
} | {
|
|
380
397
|
output: {
|
|
381
398
|
error: {
|
|
382
399
|
code: "api_key_malformed";
|
|
@@ -396,14 +413,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
396
413
|
} | {
|
|
397
414
|
output: {
|
|
398
415
|
error: {
|
|
399
|
-
code: "
|
|
416
|
+
code: "param_invalid";
|
|
400
417
|
details?: readonly Response.error.Detail[] | undefined;
|
|
401
418
|
message: string;
|
|
402
419
|
};
|
|
403
420
|
requestId: string;
|
|
404
421
|
};
|
|
405
422
|
outputFormat: "json";
|
|
406
|
-
status:
|
|
423
|
+
status: 400;
|
|
407
424
|
input: {
|
|
408
425
|
param: {
|
|
409
426
|
orgId: string;
|
|
@@ -413,14 +430,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
413
430
|
} | {
|
|
414
431
|
output: {
|
|
415
432
|
error: {
|
|
416
|
-
code: "
|
|
433
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
417
434
|
details?: readonly Response.error.Detail[] | undefined;
|
|
418
435
|
message: string;
|
|
419
436
|
};
|
|
420
437
|
requestId: string;
|
|
421
438
|
};
|
|
422
439
|
outputFormat: "json";
|
|
423
|
-
status:
|
|
440
|
+
status: 401;
|
|
424
441
|
input: {
|
|
425
442
|
param: {
|
|
426
443
|
orgId: string;
|
|
@@ -430,14 +447,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
430
447
|
} | {
|
|
431
448
|
output: {
|
|
432
449
|
error: {
|
|
433
|
-
code: "
|
|
450
|
+
code: "api_key_forbidden";
|
|
434
451
|
details?: readonly Response.error.Detail[] | undefined;
|
|
435
452
|
message: string;
|
|
436
453
|
};
|
|
437
454
|
requestId: string;
|
|
438
455
|
};
|
|
439
456
|
outputFormat: "json";
|
|
440
|
-
status:
|
|
457
|
+
status: 403;
|
|
441
458
|
input: {
|
|
442
459
|
param: {
|
|
443
460
|
orgId: string;
|
|
@@ -447,31 +464,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
447
464
|
} | {
|
|
448
465
|
output: {
|
|
449
466
|
error: {
|
|
450
|
-
code: "
|
|
467
|
+
code: "organization_not_found" | "project_not_found";
|
|
451
468
|
details?: readonly Response.error.Detail[] | undefined;
|
|
452
469
|
message: string;
|
|
453
470
|
};
|
|
454
471
|
requestId: string;
|
|
455
472
|
};
|
|
456
473
|
outputFormat: "json";
|
|
457
|
-
status:
|
|
458
|
-
input: {
|
|
459
|
-
param: {
|
|
460
|
-
orgId: string;
|
|
461
|
-
projectId: string;
|
|
462
|
-
};
|
|
463
|
-
};
|
|
464
|
-
} | {
|
|
465
|
-
output: {
|
|
466
|
-
createdAt: string;
|
|
467
|
-
environments: ("production" | "sandbox")[];
|
|
468
|
-
id: string;
|
|
469
|
-
name: string;
|
|
470
|
-
orgId: string;
|
|
471
|
-
updatedAt: string;
|
|
472
|
-
};
|
|
473
|
-
outputFormat: "json";
|
|
474
|
-
status: 200;
|
|
474
|
+
status: 404;
|
|
475
475
|
input: {
|
|
476
476
|
param: {
|
|
477
477
|
orgId: string;
|
|
@@ -481,14 +481,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
481
481
|
} | {
|
|
482
482
|
output: {
|
|
483
483
|
error: {
|
|
484
|
-
code: "
|
|
484
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
485
485
|
details?: readonly Response.error.Detail[] | undefined;
|
|
486
486
|
message: string;
|
|
487
487
|
};
|
|
488
488
|
requestId: string;
|
|
489
489
|
};
|
|
490
490
|
outputFormat: "json";
|
|
491
|
-
status:
|
|
491
|
+
status: 429;
|
|
492
492
|
input: {
|
|
493
493
|
param: {
|
|
494
494
|
orgId: string;
|
|
@@ -501,15 +501,15 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
501
501
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects/:projectId{prj_[A-Za-z0-9_-]+}": {
|
|
502
502
|
$patch: {
|
|
503
503
|
output: {
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
504
|
+
createdAt: string;
|
|
505
|
+
environments: ("production" | "sandbox")[];
|
|
506
|
+
id: string;
|
|
507
|
+
name: string;
|
|
508
|
+
orgId: string;
|
|
509
|
+
updatedAt: string;
|
|
510
510
|
};
|
|
511
511
|
outputFormat: "json";
|
|
512
|
-
status:
|
|
512
|
+
status: 200;
|
|
513
513
|
input: {
|
|
514
514
|
param: {
|
|
515
515
|
orgId: string;
|
|
@@ -523,14 +523,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
523
523
|
} | {
|
|
524
524
|
output: {
|
|
525
525
|
error: {
|
|
526
|
-
code: "
|
|
526
|
+
code: "api_key_malformed";
|
|
527
527
|
details?: readonly Response.error.Detail[] | undefined;
|
|
528
528
|
message: string;
|
|
529
529
|
};
|
|
530
530
|
requestId: string;
|
|
531
531
|
};
|
|
532
532
|
outputFormat: "json";
|
|
533
|
-
status:
|
|
533
|
+
status: 400;
|
|
534
534
|
input: {
|
|
535
535
|
param: {
|
|
536
536
|
orgId: string;
|
|
@@ -544,14 +544,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
544
544
|
} | {
|
|
545
545
|
output: {
|
|
546
546
|
error: {
|
|
547
|
-
code: "
|
|
547
|
+
code: "body_invalid";
|
|
548
548
|
details?: readonly Response.error.Detail[] | undefined;
|
|
549
549
|
message: string;
|
|
550
550
|
};
|
|
551
551
|
requestId: string;
|
|
552
552
|
};
|
|
553
553
|
outputFormat: "json";
|
|
554
|
-
status:
|
|
554
|
+
status: 400;
|
|
555
555
|
input: {
|
|
556
556
|
param: {
|
|
557
557
|
orgId: string;
|
|
@@ -565,14 +565,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
565
565
|
} | {
|
|
566
566
|
output: {
|
|
567
567
|
error: {
|
|
568
|
-
code: "
|
|
568
|
+
code: "param_invalid";
|
|
569
569
|
details?: readonly Response.error.Detail[] | undefined;
|
|
570
570
|
message: string;
|
|
571
571
|
};
|
|
572
572
|
requestId: string;
|
|
573
573
|
};
|
|
574
574
|
outputFormat: "json";
|
|
575
|
-
status:
|
|
575
|
+
status: 400;
|
|
576
576
|
input: {
|
|
577
577
|
param: {
|
|
578
578
|
orgId: string;
|
|
@@ -586,14 +586,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
586
586
|
} | {
|
|
587
587
|
output: {
|
|
588
588
|
error: {
|
|
589
|
-
code: "
|
|
589
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
590
590
|
details?: readonly Response.error.Detail[] | undefined;
|
|
591
591
|
message: string;
|
|
592
592
|
};
|
|
593
593
|
requestId: string;
|
|
594
594
|
};
|
|
595
595
|
outputFormat: "json";
|
|
596
|
-
status:
|
|
596
|
+
status: 401;
|
|
597
597
|
input: {
|
|
598
598
|
param: {
|
|
599
599
|
orgId: string;
|
|
@@ -607,14 +607,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
607
607
|
} | {
|
|
608
608
|
output: {
|
|
609
609
|
error: {
|
|
610
|
-
code: "
|
|
610
|
+
code: "api_key_forbidden";
|
|
611
611
|
details?: readonly Response.error.Detail[] | undefined;
|
|
612
612
|
message: string;
|
|
613
613
|
};
|
|
614
614
|
requestId: string;
|
|
615
615
|
};
|
|
616
616
|
outputFormat: "json";
|
|
617
|
-
status:
|
|
617
|
+
status: 403;
|
|
618
618
|
input: {
|
|
619
619
|
param: {
|
|
620
620
|
orgId: string;
|
|
@@ -628,14 +628,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
628
628
|
} | {
|
|
629
629
|
output: {
|
|
630
630
|
error: {
|
|
631
|
-
code: "
|
|
631
|
+
code: "organization_not_found" | "project_not_found";
|
|
632
632
|
details?: readonly Response.error.Detail[] | undefined;
|
|
633
633
|
message: string;
|
|
634
634
|
};
|
|
635
635
|
requestId: string;
|
|
636
636
|
};
|
|
637
637
|
outputFormat: "json";
|
|
638
|
-
status:
|
|
638
|
+
status: 404;
|
|
639
639
|
input: {
|
|
640
640
|
param: {
|
|
641
641
|
orgId: string;
|
|
@@ -648,15 +648,15 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
648
648
|
};
|
|
649
649
|
} | {
|
|
650
650
|
output: {
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
651
|
+
error: {
|
|
652
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
653
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
654
|
+
message: string;
|
|
655
|
+
};
|
|
656
|
+
requestId: string;
|
|
657
657
|
};
|
|
658
658
|
outputFormat: "json";
|
|
659
|
-
status:
|
|
659
|
+
status: 429;
|
|
660
660
|
input: {
|
|
661
661
|
param: {
|
|
662
662
|
orgId: string;
|
|
@@ -670,14 +670,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
670
670
|
} | {
|
|
671
671
|
output: {
|
|
672
672
|
error: {
|
|
673
|
-
code: "
|
|
673
|
+
code: "upstream_error";
|
|
674
674
|
details?: readonly Response.error.Detail[] | undefined;
|
|
675
675
|
message: string;
|
|
676
676
|
};
|
|
677
677
|
requestId: string;
|
|
678
678
|
};
|
|
679
679
|
outputFormat: "json";
|
|
680
|
-
status:
|
|
680
|
+
status: 502;
|
|
681
681
|
input: {
|
|
682
682
|
param: {
|
|
683
683
|
orgId: string;
|
|
@@ -694,15 +694,10 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
694
694
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects/:projectId{prj_[A-Za-z0-9_-]+}": {
|
|
695
695
|
$delete: {
|
|
696
696
|
output: {
|
|
697
|
-
|
|
698
|
-
code: "api_key_malformed";
|
|
699
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
700
|
-
message: string;
|
|
701
|
-
};
|
|
702
|
-
requestId: string;
|
|
697
|
+
id: string;
|
|
703
698
|
};
|
|
704
699
|
outputFormat: "json";
|
|
705
|
-
status:
|
|
700
|
+
status: 200;
|
|
706
701
|
input: {
|
|
707
702
|
param: {
|
|
708
703
|
orgId: string;
|
|
@@ -712,14 +707,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
712
707
|
} | {
|
|
713
708
|
output: {
|
|
714
709
|
error: {
|
|
715
|
-
code: "
|
|
710
|
+
code: "api_key_malformed";
|
|
716
711
|
details?: readonly Response.error.Detail[] | undefined;
|
|
717
712
|
message: string;
|
|
718
713
|
};
|
|
719
714
|
requestId: string;
|
|
720
715
|
};
|
|
721
716
|
outputFormat: "json";
|
|
722
|
-
status:
|
|
717
|
+
status: 400;
|
|
723
718
|
input: {
|
|
724
719
|
param: {
|
|
725
720
|
orgId: string;
|
|
@@ -729,14 +724,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
729
724
|
} | {
|
|
730
725
|
output: {
|
|
731
726
|
error: {
|
|
732
|
-
code: "
|
|
727
|
+
code: "param_invalid";
|
|
733
728
|
details?: readonly Response.error.Detail[] | undefined;
|
|
734
729
|
message: string;
|
|
735
730
|
};
|
|
736
731
|
requestId: string;
|
|
737
732
|
};
|
|
738
733
|
outputFormat: "json";
|
|
739
|
-
status:
|
|
734
|
+
status: 400;
|
|
740
735
|
input: {
|
|
741
736
|
param: {
|
|
742
737
|
orgId: string;
|
|
@@ -746,14 +741,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
746
741
|
} | {
|
|
747
742
|
output: {
|
|
748
743
|
error: {
|
|
749
|
-
code: "
|
|
744
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
750
745
|
details?: readonly Response.error.Detail[] | undefined;
|
|
751
746
|
message: string;
|
|
752
747
|
};
|
|
753
748
|
requestId: string;
|
|
754
749
|
};
|
|
755
750
|
outputFormat: "json";
|
|
756
|
-
status:
|
|
751
|
+
status: 401;
|
|
757
752
|
input: {
|
|
758
753
|
param: {
|
|
759
754
|
orgId: string;
|
|
@@ -763,14 +758,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
763
758
|
} | {
|
|
764
759
|
output: {
|
|
765
760
|
error: {
|
|
766
|
-
code: "
|
|
761
|
+
code: "api_key_forbidden";
|
|
767
762
|
details?: readonly Response.error.Detail[] | undefined;
|
|
768
763
|
message: string;
|
|
769
764
|
};
|
|
770
765
|
requestId: string;
|
|
771
766
|
};
|
|
772
767
|
outputFormat: "json";
|
|
773
|
-
status:
|
|
768
|
+
status: 403;
|
|
774
769
|
input: {
|
|
775
770
|
param: {
|
|
776
771
|
orgId: string;
|
|
@@ -780,14 +775,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
780
775
|
} | {
|
|
781
776
|
output: {
|
|
782
777
|
error: {
|
|
783
|
-
code: "
|
|
778
|
+
code: "organization_not_found" | "project_not_found";
|
|
784
779
|
details?: readonly Response.error.Detail[] | undefined;
|
|
785
780
|
message: string;
|
|
786
781
|
};
|
|
787
782
|
requestId: string;
|
|
788
783
|
};
|
|
789
784
|
outputFormat: "json";
|
|
790
|
-
status:
|
|
785
|
+
status: 404;
|
|
791
786
|
input: {
|
|
792
787
|
param: {
|
|
793
788
|
orgId: string;
|
|
@@ -797,14 +792,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
797
792
|
} | {
|
|
798
793
|
output: {
|
|
799
794
|
error: {
|
|
800
|
-
code: "
|
|
795
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
801
796
|
details?: readonly Response.error.Detail[] | undefined;
|
|
802
797
|
message: string;
|
|
803
798
|
};
|
|
804
799
|
requestId: string;
|
|
805
800
|
};
|
|
806
801
|
outputFormat: "json";
|
|
807
|
-
status:
|
|
802
|
+
status: 429;
|
|
808
803
|
input: {
|
|
809
804
|
param: {
|
|
810
805
|
orgId: string;
|
|
@@ -813,10 +808,15 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
813
808
|
};
|
|
814
809
|
} | {
|
|
815
810
|
output: {
|
|
816
|
-
|
|
811
|
+
error: {
|
|
812
|
+
code: "upstream_error";
|
|
813
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
814
|
+
message: string;
|
|
815
|
+
};
|
|
816
|
+
requestId: string;
|
|
817
817
|
};
|
|
818
818
|
outputFormat: "json";
|
|
819
|
-
status:
|
|
819
|
+
status: 502;
|
|
820
820
|
input: {
|
|
821
821
|
param: {
|
|
822
822
|
orgId: string;
|