tapimo 0.4.4 → 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.
Files changed (162) hide show
  1. package/dist/App.d.ts +7403 -6127
  2. package/dist/App.d.ts.map +1 -1
  3. package/dist/App.js +4 -0
  4. package/dist/App.js.map +1 -1
  5. package/dist/Scope.d.ts +18 -1
  6. package/dist/Scope.d.ts.map +1 -1
  7. package/dist/Scope.js +24 -3
  8. package/dist/Scope.js.map +1 -1
  9. package/dist/admin/apps/verified-tokens.d.ts +115 -115
  10. package/dist/apps/data/App.d.ts +1838 -1534
  11. package/dist/apps/data/App.d.ts.map +1 -1
  12. package/dist/apps/data/App.js +135 -44
  13. package/dist/apps/data/App.js.map +1 -1
  14. package/dist/apps/data/{FundingRouteProviders.d.ts → FundingQuoteProviders.d.ts} +7 -7
  15. package/dist/apps/data/{FundingRouteProviders.d.ts.map → FundingQuoteProviders.d.ts.map} +1 -1
  16. package/dist/apps/data/{FundingRouteProviders.js → FundingQuoteProviders.js} +36 -91
  17. package/dist/apps/data/FundingQuoteProviders.js.map +1 -0
  18. package/dist/apps/data/index.d.ts +1 -1
  19. package/dist/apps/data/index.js +1 -1
  20. package/dist/apps/data/routes/activities.d.ts +242 -242
  21. package/dist/apps/data/routes/addresses.d.ts +227 -227
  22. package/dist/apps/data/routes/balances.d.ts +12 -12
  23. package/dist/apps/data/routes/balances.d.ts.map +1 -1
  24. package/dist/apps/data/routes/balances.js +67 -149
  25. package/dist/apps/data/routes/balances.js.map +1 -1
  26. package/dist/apps/data/routes/blocks.d.ts +125 -126
  27. package/dist/apps/data/routes/blocks.d.ts.map +1 -1
  28. package/dist/apps/data/routes/blocks.js +3 -5
  29. package/dist/apps/data/routes/blocks.js.map +1 -1
  30. package/dist/apps/data/routes/coingecko.d.ts +55 -54
  31. package/dist/apps/data/routes/coingecko.d.ts.map +1 -1
  32. package/dist/apps/data/routes/coingecko.js +3 -8
  33. package/dist/apps/data/routes/coingecko.js.map +1 -1
  34. package/dist/apps/data/routes/funding.d.ts +207 -388
  35. package/dist/apps/data/routes/funding.d.ts.map +1 -1
  36. package/dist/apps/data/routes/funding.js +143 -221
  37. package/dist/apps/data/routes/funding.js.map +1 -1
  38. package/dist/apps/data/routes/rpc.d.ts.map +1 -1
  39. package/dist/apps/data/routes/rpc.js +86 -16
  40. package/dist/apps/data/routes/rpc.js.map +1 -1
  41. package/dist/apps/data/routes/tokenlist.d.ts +33 -33
  42. package/dist/apps/data/routes/transactions.d.ts +281 -281
  43. package/dist/apps/data/routes/transfers.d.ts +58 -58
  44. package/dist/apps/data/routes/verified-tokens.d.ts +86 -86
  45. package/dist/apps/data/routes/webhooks.d.ts +340 -0
  46. package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
  47. package/dist/apps/data/routes/webhooks.js +13 -1
  48. package/dist/apps/data/routes/webhooks.js.map +1 -1
  49. package/dist/apps/index.d.ts +1 -1
  50. package/dist/apps/index.js +1 -1
  51. package/dist/apps/management/App.d.ts +1090 -108
  52. package/dist/apps/management/App.d.ts.map +1 -1
  53. package/dist/apps/management/App.js +4 -0
  54. package/dist/apps/management/App.js.map +1 -1
  55. package/dist/apps/management/routes/api-keys.d.ts +118 -118
  56. package/dist/apps/management/routes/api-keys.js +2 -2
  57. package/dist/apps/management/routes/api-keys.js.map +1 -1
  58. package/dist/apps/management/routes/billing.d.ts +207 -207
  59. package/dist/apps/management/routes/invite-links.d.ts +1100 -0
  60. package/dist/apps/management/routes/invite-links.d.ts.map +1 -0
  61. package/dist/apps/management/routes/invite-links.js +411 -0
  62. package/dist/apps/management/routes/invite-links.js.map +1 -0
  63. package/dist/apps/management/routes/me.d.ts +17 -17
  64. package/dist/apps/management/routes/members.d.ts +71 -71
  65. package/dist/apps/management/routes/orgs.d.ts +12 -12
  66. package/dist/apps/management/routes/projects.d.ts +70 -70
  67. package/dist/apps/management/routes/scopes.d.ts +11 -11
  68. package/dist/apps/management/routes/scopes.d.ts.map +1 -1
  69. package/dist/apps/management/routes/scopes.js +2 -2
  70. package/dist/apps/management/routes/scopes.js.map +1 -1
  71. package/dist/apps/management/routes/usage.d.ts +75 -75
  72. package/dist/apps/relay/App.d.ts.map +1 -1
  73. package/dist/apps/relay/App.js +42 -4
  74. package/dist/apps/relay/App.js.map +1 -1
  75. package/dist/db/Db.d.ts +3 -0
  76. package/dist/db/Db.d.ts.map +1 -1
  77. package/dist/db/Db.js +57 -0
  78. package/dist/db/Db.js.map +1 -1
  79. package/dist/db/Schema.d.ts +31 -0
  80. package/dist/db/Schema.d.ts.map +1 -1
  81. package/dist/db/Schema.js +31 -0
  82. package/dist/db/Schema.js.map +1 -1
  83. package/dist/db/tables/inviteLinks.d.ts +42 -0
  84. package/dist/db/tables/inviteLinks.d.ts.map +1 -0
  85. package/dist/db/tables/inviteLinks.js +148 -0
  86. package/dist/db/tables/inviteLinks.js.map +1 -0
  87. package/dist/db/tables/organizations.d.ts.map +1 -1
  88. package/dist/db/tables/organizations.js +2 -0
  89. package/dist/db/tables/organizations.js.map +1 -1
  90. package/dist/handlers/relay.d.ts.map +1 -1
  91. package/dist/handlers/relay.js +13 -3
  92. package/dist/handlers/relay.js.map +1 -1
  93. package/dist/internal/Auth.d.ts +9 -1
  94. package/dist/internal/Auth.d.ts.map +1 -1
  95. package/dist/internal/Auth.js +130 -10
  96. package/dist/internal/Auth.js.map +1 -1
  97. package/dist/internal/EdgeCache.d.ts +3 -1
  98. package/dist/internal/EdgeCache.d.ts.map +1 -1
  99. package/dist/internal/EdgeCache.js +17 -2
  100. package/dist/internal/EdgeCache.js.map +1 -1
  101. package/dist/internal/{FundingRoutes.d.ts → FundingQuotes.d.ts} +185 -428
  102. package/dist/internal/FundingQuotes.d.ts.map +1 -0
  103. package/dist/internal/{FundingRoutes.js → FundingQuotes.js} +93 -218
  104. package/dist/internal/FundingQuotes.js.map +1 -0
  105. package/dist/internal/Viem.d.ts +3 -1
  106. package/dist/internal/Viem.d.ts.map +1 -1
  107. package/dist/internal/Viem.js +11 -2
  108. package/dist/internal/Viem.js.map +1 -1
  109. package/dist/internal/index.d.ts +1 -1
  110. package/dist/internal/index.js +1 -1
  111. package/package.json +1 -1
  112. package/src/ApiKeys.test.ts +23 -0
  113. package/src/App.test-d.ts +2 -0
  114. package/src/App.ts +6 -0
  115. package/src/Client.test-d.ts +20 -11
  116. package/src/Scope.test.ts +1 -0
  117. package/src/Scope.ts +30 -4
  118. package/src/apps/data/App.test.ts +354 -0
  119. package/src/apps/data/App.ts +159 -52
  120. package/src/apps/data/FundingQuoteProviders.test.ts +151 -0
  121. package/src/apps/data/{FundingRouteProviders.ts → FundingQuoteProviders.ts} +40 -101
  122. package/src/apps/data/index.ts +1 -1
  123. package/src/apps/data/routes/balances.test.ts +64 -18
  124. package/src/apps/data/routes/balances.ts +76 -177
  125. package/src/apps/data/routes/blocks.ts +3 -5
  126. package/src/apps/data/routes/coingecko.ts +3 -8
  127. package/src/apps/data/routes/funding.test.ts +151 -206
  128. package/src/apps/data/routes/funding.ts +156 -291
  129. package/src/apps/data/routes/indexer.test.ts +97 -1
  130. package/src/apps/data/routes/rpc.test.ts +219 -0
  131. package/src/apps/data/routes/rpc.ts +92 -17
  132. package/src/apps/data/routes/webhooks.test.ts +21 -0
  133. package/src/apps/data/routes/webhooks.ts +13 -1
  134. package/src/apps/index.ts +1 -1
  135. package/src/apps/management/App.ts +4 -0
  136. package/src/apps/management/routes/api-keys.test.ts +47 -3
  137. package/src/apps/management/routes/api-keys.ts +2 -2
  138. package/src/apps/management/routes/invite-links.test.ts +385 -0
  139. package/src/apps/management/routes/invite-links.ts +570 -0
  140. package/src/apps/management/routes/scopes.test.ts +3 -2
  141. package/src/apps/management/routes/scopes.ts +4 -2
  142. package/src/apps/relay/App.test.ts +324 -4
  143. package/src/apps/relay/App.ts +40 -4
  144. package/src/db/Db.ts +65 -0
  145. package/src/db/Schema.ts +39 -0
  146. package/src/db/tables/inviteLinks.ts +187 -0
  147. package/src/db/tables/organizations.ts +2 -0
  148. package/src/handlers/relay.ts +16 -4
  149. package/src/internal/Auth.test.ts +132 -22
  150. package/src/internal/Auth.ts +171 -14
  151. package/src/internal/EdgeCache.test.ts +24 -3
  152. package/src/internal/EdgeCache.ts +18 -2
  153. package/src/internal/FundingQuotes.test.ts +174 -0
  154. package/src/internal/{FundingRoutes.ts → FundingQuotes.ts} +153 -312
  155. package/src/internal/Viem.ts +14 -5
  156. package/src/internal/index.test.ts +1 -1
  157. package/src/internal/index.ts +1 -1
  158. package/dist/apps/data/FundingRouteProviders.js.map +0 -1
  159. package/dist/internal/FundingRoutes.d.ts.map +0 -1
  160. package/dist/internal/FundingRoutes.js.map +0 -1
  161. package/src/apps/data/FundingRouteProviders.test.ts +0 -225
  162. package/src/internal/FundingRoutes.test.ts +0 -213
@@ -129,6 +129,36 @@ export declare namespace schema {
129
129
  export declare function billing(): import("hono/hono-base").HonoBase<Environment, {
130
130
  "/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/billing": {
131
131
  $get: {
132
+ output: {
133
+ spend?: {
134
+ amount: string;
135
+ currency: "usd";
136
+ period: "month";
137
+ } | undefined;
138
+ spendLimit?: {
139
+ amount: string;
140
+ currency: "usd";
141
+ period: "month";
142
+ } | undefined;
143
+ status: "active" | "canceled" | "none" | "past_due";
144
+ txFeeLimit?: {
145
+ amount: string;
146
+ currency: "usd";
147
+ } | undefined;
148
+ updatedAt?: string | undefined;
149
+ };
150
+ outputFormat: "json";
151
+ status: 200;
152
+ input: {
153
+ param: {
154
+ orgId: string;
155
+ };
156
+ } & {
157
+ query?: {
158
+ environment?: string | string[];
159
+ } | undefined;
160
+ };
161
+ } | {
132
162
  output: {
133
163
  error: {
134
164
  code: "api_key_malformed";
@@ -151,14 +181,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
151
181
  } | {
152
182
  output: {
153
183
  error: {
154
- code: "api_key_invalid" | "api_key_missing";
184
+ code: "query_invalid";
155
185
  details?: readonly Response.error.Detail[] | undefined;
156
186
  message: string;
157
187
  };
158
188
  requestId: string;
159
189
  };
160
190
  outputFormat: "json";
161
- status: 401;
191
+ status: 400;
162
192
  input: {
163
193
  param: {
164
194
  orgId: string;
@@ -171,14 +201,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
171
201
  } | {
172
202
  output: {
173
203
  error: {
174
- code: "api_key_forbidden";
204
+ code: "param_invalid";
175
205
  details?: readonly Response.error.Detail[] | undefined;
176
206
  message: string;
177
207
  };
178
208
  requestId: string;
179
209
  };
180
210
  outputFormat: "json";
181
- status: 403;
211
+ status: 400;
182
212
  input: {
183
213
  param: {
184
214
  orgId: string;
@@ -191,14 +221,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
191
221
  } | {
192
222
  output: {
193
223
  error: {
194
- code: "payment_required" | "rate_limit_exceeded";
224
+ code: "api_key_invalid" | "api_key_missing";
195
225
  details?: readonly Response.error.Detail[] | undefined;
196
226
  message: string;
197
227
  };
198
228
  requestId: string;
199
229
  };
200
230
  outputFormat: "json";
201
- status: 429;
231
+ status: 401;
202
232
  input: {
203
233
  param: {
204
234
  orgId: string;
@@ -211,14 +241,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
211
241
  } | {
212
242
  output: {
213
243
  error: {
214
- code: "query_invalid";
244
+ code: "api_key_forbidden";
215
245
  details?: readonly Response.error.Detail[] | undefined;
216
246
  message: string;
217
247
  };
218
248
  requestId: string;
219
249
  };
220
250
  outputFormat: "json";
221
- status: 400;
251
+ status: 403;
222
252
  input: {
223
253
  param: {
224
254
  orgId: string;
@@ -231,14 +261,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
231
261
  } | {
232
262
  output: {
233
263
  error: {
234
- code: "upstream_error";
264
+ code: "organization_not_found";
235
265
  details?: readonly Response.error.Detail[] | undefined;
236
266
  message: string;
237
267
  };
238
268
  requestId: string;
239
269
  };
240
270
  outputFormat: "json";
241
- status: 502;
271
+ status: 404;
242
272
  input: {
243
273
  param: {
244
274
  orgId: string;
@@ -251,14 +281,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
251
281
  } | {
252
282
  output: {
253
283
  error: {
254
- code: "organization_not_found";
284
+ code: "payment_required" | "rate_limit_exceeded";
255
285
  details?: readonly Response.error.Detail[] | undefined;
256
286
  message: string;
257
287
  };
258
288
  requestId: string;
259
289
  };
260
290
  outputFormat: "json";
261
- status: 404;
291
+ status: 429;
262
292
  input: {
263
293
  param: {
264
294
  orgId: string;
@@ -271,14 +301,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
271
301
  } | {
272
302
  output: {
273
303
  error: {
274
- code: "param_invalid";
304
+ code: "billing_unconfigured";
275
305
  details?: readonly Response.error.Detail[] | undefined;
276
306
  message: string;
277
307
  };
278
308
  requestId: string;
279
309
  };
280
310
  outputFormat: "json";
281
- status: 400;
311
+ status: 501;
282
312
  input: {
283
313
  param: {
284
314
  orgId: string;
@@ -291,14 +321,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
291
321
  } | {
292
322
  output: {
293
323
  error: {
294
- code: "billing_unconfigured";
324
+ code: "upstream_error";
295
325
  details?: readonly Response.error.Detail[] | undefined;
296
326
  message: string;
297
327
  };
298
328
  requestId: string;
299
329
  };
300
330
  outputFormat: "json";
301
- status: 501;
331
+ status: 502;
302
332
  input: {
303
333
  param: {
304
334
  orgId: string;
@@ -308,7 +338,11 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
308
338
  environment?: string | string[];
309
339
  } | undefined;
310
340
  };
311
- } | {
341
+ };
342
+ };
343
+ } & {
344
+ "/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/billing": {
345
+ $patch: {
312
346
  output: {
313
347
  spend?: {
314
348
  amount: string;
@@ -329,30 +363,6 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
329
363
  };
330
364
  outputFormat: "json";
331
365
  status: 200;
332
- input: {
333
- param: {
334
- orgId: string;
335
- };
336
- } & {
337
- query?: {
338
- environment?: string | string[];
339
- } | undefined;
340
- };
341
- };
342
- };
343
- } & {
344
- "/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/billing": {
345
- $patch: {
346
- output: {
347
- error: {
348
- code: "api_key_malformed";
349
- details?: readonly Response.error.Detail[] | undefined;
350
- message: string;
351
- };
352
- requestId: string;
353
- };
354
- outputFormat: "json";
355
- status: 400;
356
366
  input: {
357
367
  param: {
358
368
  orgId: string;
@@ -377,14 +387,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
377
387
  } | {
378
388
  output: {
379
389
  error: {
380
- code: "api_key_invalid" | "api_key_missing";
390
+ code: "api_key_malformed";
381
391
  details?: readonly Response.error.Detail[] | undefined;
382
392
  message: string;
383
393
  };
384
394
  requestId: string;
385
395
  };
386
396
  outputFormat: "json";
387
- status: 401;
397
+ status: 400;
388
398
  input: {
389
399
  param: {
390
400
  orgId: string;
@@ -409,14 +419,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
409
419
  } | {
410
420
  output: {
411
421
  error: {
412
- code: "api_key_forbidden";
422
+ code: "query_invalid";
413
423
  details?: readonly Response.error.Detail[] | undefined;
414
424
  message: string;
415
425
  };
416
426
  requestId: string;
417
427
  };
418
428
  outputFormat: "json";
419
- status: 403;
429
+ status: 400;
420
430
  input: {
421
431
  param: {
422
432
  orgId: string;
@@ -441,14 +451,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
441
451
  } | {
442
452
  output: {
443
453
  error: {
444
- code: "payment_required" | "rate_limit_exceeded";
454
+ code: "param_invalid";
445
455
  details?: readonly Response.error.Detail[] | undefined;
446
456
  message: string;
447
457
  };
448
458
  requestId: string;
449
459
  };
450
460
  outputFormat: "json";
451
- status: 429;
461
+ status: 400;
452
462
  input: {
453
463
  param: {
454
464
  orgId: string;
@@ -473,7 +483,7 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
473
483
  } | {
474
484
  output: {
475
485
  error: {
476
- code: "query_invalid";
486
+ code: "body_invalid";
477
487
  details?: readonly Response.error.Detail[] | undefined;
478
488
  message: string;
479
489
  };
@@ -505,14 +515,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
505
515
  } | {
506
516
  output: {
507
517
  error: {
508
- code: "upstream_error";
518
+ code: "api_key_invalid" | "api_key_missing";
509
519
  details?: readonly Response.error.Detail[] | undefined;
510
520
  message: string;
511
521
  };
512
522
  requestId: string;
513
523
  };
514
524
  outputFormat: "json";
515
- status: 502;
525
+ status: 401;
516
526
  input: {
517
527
  param: {
518
528
  orgId: string;
@@ -537,14 +547,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
537
547
  } | {
538
548
  output: {
539
549
  error: {
540
- code: "organization_not_found";
550
+ code: "api_key_forbidden";
541
551
  details?: readonly Response.error.Detail[] | undefined;
542
552
  message: string;
543
553
  };
544
554
  requestId: string;
545
555
  };
546
556
  outputFormat: "json";
547
- status: 404;
557
+ status: 403;
548
558
  input: {
549
559
  param: {
550
560
  orgId: string;
@@ -569,14 +579,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
569
579
  } | {
570
580
  output: {
571
581
  error: {
572
- code: "param_invalid";
582
+ code: "organization_not_found";
573
583
  details?: readonly Response.error.Detail[] | undefined;
574
584
  message: string;
575
585
  };
576
586
  requestId: string;
577
587
  };
578
588
  outputFormat: "json";
579
- status: 400;
589
+ status: 404;
580
590
  input: {
581
591
  param: {
582
592
  orgId: string;
@@ -601,14 +611,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
601
611
  } | {
602
612
  output: {
603
613
  error: {
604
- code: "billing_unconfigured";
614
+ code: "payment_required" | "rate_limit_exceeded";
605
615
  details?: readonly Response.error.Detail[] | undefined;
606
616
  message: string;
607
617
  };
608
618
  requestId: string;
609
619
  };
610
620
  outputFormat: "json";
611
- status: 501;
621
+ status: 429;
612
622
  input: {
613
623
  param: {
614
624
  orgId: string;
@@ -632,25 +642,15 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
632
642
  };
633
643
  } | {
634
644
  output: {
635
- spend?: {
636
- amount: string;
637
- currency: "usd";
638
- period: "month";
639
- } | undefined;
640
- spendLimit?: {
641
- amount: string;
642
- currency: "usd";
643
- period: "month";
644
- } | undefined;
645
- status: "active" | "canceled" | "none" | "past_due";
646
- txFeeLimit?: {
647
- amount: string;
648
- currency: "usd";
649
- } | undefined;
650
- updatedAt?: string | undefined;
645
+ error: {
646
+ code: "billing_unconfigured";
647
+ details?: readonly Response.error.Detail[] | undefined;
648
+ message: string;
649
+ };
650
+ requestId: string;
651
651
  };
652
652
  outputFormat: "json";
653
- status: 200;
653
+ status: 501;
654
654
  input: {
655
655
  param: {
656
656
  orgId: string;
@@ -675,14 +675,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
675
675
  } | {
676
676
  output: {
677
677
  error: {
678
- code: "body_invalid";
678
+ code: "upstream_error";
679
679
  details?: readonly Response.error.Detail[] | undefined;
680
680
  message: string;
681
681
  };
682
682
  requestId: string;
683
683
  };
684
684
  outputFormat: "json";
685
- status: 400;
685
+ status: 502;
686
686
  input: {
687
687
  param: {
688
688
  orgId: string;
@@ -710,15 +710,10 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
710
710
  "/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/billing/stripe/checkout": {
711
711
  $post: {
712
712
  output: {
713
- error: {
714
- code: "api_key_malformed";
715
- details?: readonly Response.error.Detail[] | undefined;
716
- message: string;
717
- };
718
- requestId: string;
713
+ url: string;
719
714
  };
720
715
  outputFormat: "json";
721
- status: 400;
716
+ status: 200;
722
717
  input: {
723
718
  param: {
724
719
  orgId: string;
@@ -731,14 +726,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
731
726
  } | {
732
727
  output: {
733
728
  error: {
734
- code: "api_key_invalid" | "api_key_missing";
729
+ code: "api_key_malformed";
735
730
  details?: readonly Response.error.Detail[] | undefined;
736
731
  message: string;
737
732
  };
738
733
  requestId: string;
739
734
  };
740
735
  outputFormat: "json";
741
- status: 401;
736
+ status: 400;
742
737
  input: {
743
738
  param: {
744
739
  orgId: string;
@@ -751,14 +746,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
751
746
  } | {
752
747
  output: {
753
748
  error: {
754
- code: "api_key_forbidden";
749
+ code: "query_invalid";
755
750
  details?: readonly Response.error.Detail[] | undefined;
756
751
  message: string;
757
752
  };
758
753
  requestId: string;
759
754
  };
760
755
  outputFormat: "json";
761
- status: 403;
756
+ status: 400;
762
757
  input: {
763
758
  param: {
764
759
  orgId: string;
@@ -771,14 +766,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
771
766
  } | {
772
767
  output: {
773
768
  error: {
774
- code: "payment_required" | "rate_limit_exceeded";
769
+ code: "param_invalid";
775
770
  details?: readonly Response.error.Detail[] | undefined;
776
771
  message: string;
777
772
  };
778
773
  requestId: string;
779
774
  };
780
775
  outputFormat: "json";
781
- status: 429;
776
+ status: 400;
782
777
  input: {
783
778
  param: {
784
779
  orgId: string;
@@ -791,14 +786,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
791
786
  } | {
792
787
  output: {
793
788
  error: {
794
- code: "query_invalid";
789
+ code: "api_key_invalid" | "api_key_missing";
795
790
  details?: readonly Response.error.Detail[] | undefined;
796
791
  message: string;
797
792
  };
798
793
  requestId: string;
799
794
  };
800
795
  outputFormat: "json";
801
- status: 400;
796
+ status: 401;
802
797
  input: {
803
798
  param: {
804
799
  orgId: string;
@@ -811,14 +806,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
811
806
  } | {
812
807
  output: {
813
808
  error: {
814
- code: "upstream_error";
809
+ code: "api_key_forbidden";
815
810
  details?: readonly Response.error.Detail[] | undefined;
816
811
  message: string;
817
812
  };
818
813
  requestId: string;
819
814
  };
820
815
  outputFormat: "json";
821
- status: 502;
816
+ status: 403;
822
817
  input: {
823
818
  param: {
824
819
  orgId: string;
@@ -851,14 +846,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
851
846
  } | {
852
847
  output: {
853
848
  error: {
854
- code: "param_invalid";
849
+ code: "payment_required" | "rate_limit_exceeded";
855
850
  details?: readonly Response.error.Detail[] | undefined;
856
851
  message: string;
857
852
  };
858
853
  requestId: string;
859
854
  };
860
855
  outputFormat: "json";
861
- status: 400;
856
+ status: 429;
862
857
  input: {
863
858
  param: {
864
859
  orgId: string;
@@ -890,10 +885,15 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
890
885
  };
891
886
  } | {
892
887
  output: {
893
- url: string;
888
+ error: {
889
+ code: "upstream_error";
890
+ details?: readonly Response.error.Detail[] | undefined;
891
+ message: string;
892
+ };
893
+ requestId: string;
894
894
  };
895
895
  outputFormat: "json";
896
- status: 200;
896
+ status: 502;
897
897
  input: {
898
898
  param: {
899
899
  orgId: string;
@@ -909,15 +909,10 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
909
909
  "/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/billing/stripe/manage": {
910
910
  $post: {
911
911
  output: {
912
- error: {
913
- code: "api_key_malformed";
914
- details?: readonly Response.error.Detail[] | undefined;
915
- message: string;
916
- };
917
- requestId: string;
912
+ url: string;
918
913
  };
919
914
  outputFormat: "json";
920
- status: 400;
915
+ status: 200;
921
916
  input: {
922
917
  param: {
923
918
  orgId: string;
@@ -930,14 +925,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
930
925
  } | {
931
926
  output: {
932
927
  error: {
933
- code: "api_key_invalid" | "api_key_missing";
928
+ code: "api_key_malformed";
934
929
  details?: readonly Response.error.Detail[] | undefined;
935
930
  message: string;
936
931
  };
937
932
  requestId: string;
938
933
  };
939
934
  outputFormat: "json";
940
- status: 401;
935
+ status: 400;
941
936
  input: {
942
937
  param: {
943
938
  orgId: string;
@@ -950,14 +945,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
950
945
  } | {
951
946
  output: {
952
947
  error: {
953
- code: "api_key_forbidden";
948
+ code: "query_invalid";
954
949
  details?: readonly Response.error.Detail[] | undefined;
955
950
  message: string;
956
951
  };
957
952
  requestId: string;
958
953
  };
959
954
  outputFormat: "json";
960
- status: 403;
955
+ status: 400;
961
956
  input: {
962
957
  param: {
963
958
  orgId: string;
@@ -970,14 +965,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
970
965
  } | {
971
966
  output: {
972
967
  error: {
973
- code: "payment_required" | "rate_limit_exceeded";
968
+ code: "param_invalid";
974
969
  details?: readonly Response.error.Detail[] | undefined;
975
970
  message: string;
976
971
  };
977
972
  requestId: string;
978
973
  };
979
974
  outputFormat: "json";
980
- status: 429;
975
+ status: 400;
981
976
  input: {
982
977
  param: {
983
978
  orgId: string;
@@ -990,14 +985,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
990
985
  } | {
991
986
  output: {
992
987
  error: {
993
- code: "query_invalid";
988
+ code: "api_key_invalid" | "api_key_missing";
994
989
  details?: readonly Response.error.Detail[] | undefined;
995
990
  message: string;
996
991
  };
997
992
  requestId: string;
998
993
  };
999
994
  outputFormat: "json";
1000
- status: 400;
995
+ status: 401;
1001
996
  input: {
1002
997
  param: {
1003
998
  orgId: string;
@@ -1010,14 +1005,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
1010
1005
  } | {
1011
1006
  output: {
1012
1007
  error: {
1013
- code: "upstream_error";
1008
+ code: "api_key_forbidden";
1014
1009
  details?: readonly Response.error.Detail[] | undefined;
1015
1010
  message: string;
1016
1011
  };
1017
1012
  requestId: string;
1018
1013
  };
1019
1014
  outputFormat: "json";
1020
- status: 502;
1015
+ status: 403;
1021
1016
  input: {
1022
1017
  param: {
1023
1018
  orgId: string;
@@ -1050,14 +1045,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
1050
1045
  } | {
1051
1046
  output: {
1052
1047
  error: {
1053
- code: "param_invalid";
1048
+ code: "billing_not_found";
1054
1049
  details?: readonly Response.error.Detail[] | undefined;
1055
1050
  message: string;
1056
1051
  };
1057
1052
  requestId: string;
1058
1053
  };
1059
1054
  outputFormat: "json";
1060
- status: 400;
1055
+ status: 404;
1061
1056
  input: {
1062
1057
  param: {
1063
1058
  orgId: string;
@@ -1070,14 +1065,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
1070
1065
  } | {
1071
1066
  output: {
1072
1067
  error: {
1073
- code: "billing_unconfigured";
1068
+ code: "payment_required" | "rate_limit_exceeded";
1074
1069
  details?: readonly Response.error.Detail[] | undefined;
1075
1070
  message: string;
1076
1071
  };
1077
1072
  requestId: string;
1078
1073
  };
1079
1074
  outputFormat: "json";
1080
- status: 501;
1075
+ status: 429;
1081
1076
  input: {
1082
1077
  param: {
1083
1078
  orgId: string;
@@ -1089,10 +1084,15 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
1089
1084
  };
1090
1085
  } | {
1091
1086
  output: {
1092
- url: string;
1087
+ error: {
1088
+ code: "billing_unconfigured";
1089
+ details?: readonly Response.error.Detail[] | undefined;
1090
+ message: string;
1091
+ };
1092
+ requestId: string;
1093
1093
  };
1094
1094
  outputFormat: "json";
1095
- status: 200;
1095
+ status: 501;
1096
1096
  input: {
1097
1097
  param: {
1098
1098
  orgId: string;
@@ -1105,14 +1105,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
1105
1105
  } | {
1106
1106
  output: {
1107
1107
  error: {
1108
- code: "billing_not_found";
1108
+ code: "upstream_error";
1109
1109
  details?: readonly Response.error.Detail[] | undefined;
1110
1110
  message: string;
1111
1111
  };
1112
1112
  requestId: string;
1113
1113
  };
1114
1114
  outputFormat: "json";
1115
- status: 404;
1115
+ status: 502;
1116
1116
  input: {
1117
1117
  param: {
1118
1118
  orgId: string;
@@ -1128,15 +1128,22 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
1128
1128
  "/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/billing/payment-methods": {
1129
1129
  $get: {
1130
1130
  output: {
1131
- error: {
1132
- code: "api_key_malformed";
1133
- details?: readonly Response.error.Detail[] | undefined;
1134
- message: string;
1135
- };
1136
- requestId: string;
1131
+ data: {
1132
+ card?: {
1133
+ brand: string;
1134
+ expMonth: number;
1135
+ expYear: number;
1136
+ last4: string;
1137
+ } | undefined;
1138
+ createdAt: string;
1139
+ default: boolean;
1140
+ id: string;
1141
+ provider: "stripe";
1142
+ type: string;
1143
+ }[];
1137
1144
  };
1138
1145
  outputFormat: "json";
1139
- status: 400;
1146
+ status: 200;
1140
1147
  input: {
1141
1148
  param: {
1142
1149
  orgId: string;
@@ -1149,14 +1156,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
1149
1156
  } | {
1150
1157
  output: {
1151
1158
  error: {
1152
- code: "api_key_invalid" | "api_key_missing";
1159
+ code: "api_key_malformed";
1153
1160
  details?: readonly Response.error.Detail[] | undefined;
1154
1161
  message: string;
1155
1162
  };
1156
1163
  requestId: string;
1157
1164
  };
1158
1165
  outputFormat: "json";
1159
- status: 401;
1166
+ status: 400;
1160
1167
  input: {
1161
1168
  param: {
1162
1169
  orgId: string;
@@ -1169,14 +1176,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
1169
1176
  } | {
1170
1177
  output: {
1171
1178
  error: {
1172
- code: "api_key_forbidden";
1179
+ code: "query_invalid";
1173
1180
  details?: readonly Response.error.Detail[] | undefined;
1174
1181
  message: string;
1175
1182
  };
1176
1183
  requestId: string;
1177
1184
  };
1178
1185
  outputFormat: "json";
1179
- status: 403;
1186
+ status: 400;
1180
1187
  input: {
1181
1188
  param: {
1182
1189
  orgId: string;
@@ -1189,14 +1196,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
1189
1196
  } | {
1190
1197
  output: {
1191
1198
  error: {
1192
- code: "payment_required" | "rate_limit_exceeded";
1199
+ code: "param_invalid";
1193
1200
  details?: readonly Response.error.Detail[] | undefined;
1194
1201
  message: string;
1195
1202
  };
1196
1203
  requestId: string;
1197
1204
  };
1198
1205
  outputFormat: "json";
1199
- status: 429;
1206
+ status: 400;
1200
1207
  input: {
1201
1208
  param: {
1202
1209
  orgId: string;
@@ -1209,14 +1216,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
1209
1216
  } | {
1210
1217
  output: {
1211
1218
  error: {
1212
- code: "query_invalid";
1219
+ code: "api_key_invalid" | "api_key_missing";
1213
1220
  details?: readonly Response.error.Detail[] | undefined;
1214
1221
  message: string;
1215
1222
  };
1216
1223
  requestId: string;
1217
1224
  };
1218
1225
  outputFormat: "json";
1219
- status: 400;
1226
+ status: 401;
1220
1227
  input: {
1221
1228
  param: {
1222
1229
  orgId: string;
@@ -1229,14 +1236,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
1229
1236
  } | {
1230
1237
  output: {
1231
1238
  error: {
1232
- code: "upstream_error";
1239
+ code: "api_key_forbidden";
1233
1240
  details?: readonly Response.error.Detail[] | undefined;
1234
1241
  message: string;
1235
1242
  };
1236
1243
  requestId: string;
1237
1244
  };
1238
1245
  outputFormat: "json";
1239
- status: 502;
1246
+ status: 403;
1240
1247
  input: {
1241
1248
  param: {
1242
1249
  orgId: string;
@@ -1269,14 +1276,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
1269
1276
  } | {
1270
1277
  output: {
1271
1278
  error: {
1272
- code: "param_invalid";
1279
+ code: "payment_required" | "rate_limit_exceeded";
1273
1280
  details?: readonly Response.error.Detail[] | undefined;
1274
1281
  message: string;
1275
1282
  };
1276
1283
  requestId: string;
1277
1284
  };
1278
1285
  outputFormat: "json";
1279
- status: 400;
1286
+ status: 429;
1280
1287
  input: {
1281
1288
  param: {
1282
1289
  orgId: string;
@@ -1308,22 +1315,15 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
1308
1315
  };
1309
1316
  } | {
1310
1317
  output: {
1311
- data: {
1312
- card?: {
1313
- brand: string;
1314
- expMonth: number;
1315
- expYear: number;
1316
- last4: string;
1317
- } | undefined;
1318
- createdAt: string;
1319
- default: boolean;
1320
- id: string;
1321
- provider: "stripe";
1322
- type: string;
1323
- }[];
1318
+ error: {
1319
+ code: "upstream_error";
1320
+ details?: readonly Response.error.Detail[] | undefined;
1321
+ message: string;
1322
+ };
1323
+ requestId: string;
1324
1324
  };
1325
1325
  outputFormat: "json";
1326
- status: 200;
1326
+ status: 502;
1327
1327
  input: {
1328
1328
  param: {
1329
1329
  orgId: string;
@@ -1339,15 +1339,25 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
1339
1339
  "/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/billing/payment-methods/:methodId{pm_[A-Za-z0-9_-]+}": {
1340
1340
  $delete: {
1341
1341
  output: {
1342
- error: {
1343
- code: "api_key_malformed";
1344
- details?: readonly Response.error.Detail[] | undefined;
1345
- message: string;
1346
- };
1347
- requestId: string;
1342
+ spend?: {
1343
+ amount: string;
1344
+ currency: "usd";
1345
+ period: "month";
1346
+ } | undefined;
1347
+ spendLimit?: {
1348
+ amount: string;
1349
+ currency: "usd";
1350
+ period: "month";
1351
+ } | undefined;
1352
+ status: "active" | "canceled" | "none" | "past_due";
1353
+ txFeeLimit?: {
1354
+ amount: string;
1355
+ currency: "usd";
1356
+ } | undefined;
1357
+ updatedAt?: string | undefined;
1348
1358
  };
1349
1359
  outputFormat: "json";
1350
- status: 400;
1360
+ status: 200;
1351
1361
  input: {
1352
1362
  param: {
1353
1363
  methodId: string;
@@ -1361,14 +1371,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
1361
1371
  } | {
1362
1372
  output: {
1363
1373
  error: {
1364
- code: "api_key_invalid" | "api_key_missing";
1374
+ code: "api_key_malformed";
1365
1375
  details?: readonly Response.error.Detail[] | undefined;
1366
1376
  message: string;
1367
1377
  };
1368
1378
  requestId: string;
1369
1379
  };
1370
1380
  outputFormat: "json";
1371
- status: 401;
1381
+ status: 400;
1372
1382
  input: {
1373
1383
  param: {
1374
1384
  methodId: string;
@@ -1382,14 +1392,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
1382
1392
  } | {
1383
1393
  output: {
1384
1394
  error: {
1385
- code: "api_key_forbidden";
1395
+ code: "query_invalid";
1386
1396
  details?: readonly Response.error.Detail[] | undefined;
1387
1397
  message: string;
1388
1398
  };
1389
1399
  requestId: string;
1390
1400
  };
1391
1401
  outputFormat: "json";
1392
- status: 403;
1402
+ status: 400;
1393
1403
  input: {
1394
1404
  param: {
1395
1405
  methodId: string;
@@ -1403,14 +1413,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
1403
1413
  } | {
1404
1414
  output: {
1405
1415
  error: {
1406
- code: "payment_required" | "rate_limit_exceeded";
1416
+ code: "param_invalid";
1407
1417
  details?: readonly Response.error.Detail[] | undefined;
1408
1418
  message: string;
1409
1419
  };
1410
1420
  requestId: string;
1411
1421
  };
1412
1422
  outputFormat: "json";
1413
- status: 429;
1423
+ status: 400;
1414
1424
  input: {
1415
1425
  param: {
1416
1426
  methodId: string;
@@ -1424,14 +1434,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
1424
1434
  } | {
1425
1435
  output: {
1426
1436
  error: {
1427
- code: "query_invalid";
1437
+ code: "api_key_invalid" | "api_key_missing";
1428
1438
  details?: readonly Response.error.Detail[] | undefined;
1429
1439
  message: string;
1430
1440
  };
1431
1441
  requestId: string;
1432
1442
  };
1433
1443
  outputFormat: "json";
1434
- status: 400;
1444
+ status: 401;
1435
1445
  input: {
1436
1446
  param: {
1437
1447
  methodId: string;
@@ -1445,14 +1455,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
1445
1455
  } | {
1446
1456
  output: {
1447
1457
  error: {
1448
- code: "upstream_error";
1458
+ code: "api_key_forbidden";
1449
1459
  details?: readonly Response.error.Detail[] | undefined;
1450
1460
  message: string;
1451
1461
  };
1452
1462
  requestId: string;
1453
1463
  };
1454
1464
  outputFormat: "json";
1455
- status: 502;
1465
+ status: 403;
1456
1466
  input: {
1457
1467
  param: {
1458
1468
  methodId: string;
@@ -1487,14 +1497,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
1487
1497
  } | {
1488
1498
  output: {
1489
1499
  error: {
1490
- code: "param_invalid";
1500
+ code: "billing_not_found";
1491
1501
  details?: readonly Response.error.Detail[] | undefined;
1492
1502
  message: string;
1493
1503
  };
1494
1504
  requestId: string;
1495
1505
  };
1496
1506
  outputFormat: "json";
1497
- status: 400;
1507
+ status: 404;
1498
1508
  input: {
1499
1509
  param: {
1500
1510
  methodId: string;
@@ -1508,14 +1518,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
1508
1518
  } | {
1509
1519
  output: {
1510
1520
  error: {
1511
- code: "billing_unconfigured";
1521
+ code: "payment_method_not_found";
1512
1522
  details?: readonly Response.error.Detail[] | undefined;
1513
1523
  message: string;
1514
1524
  };
1515
1525
  requestId: string;
1516
1526
  };
1517
1527
  outputFormat: "json";
1518
- status: 501;
1528
+ status: 404;
1519
1529
  input: {
1520
1530
  param: {
1521
1531
  methodId: string;
@@ -1528,25 +1538,15 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
1528
1538
  };
1529
1539
  } | {
1530
1540
  output: {
1531
- spend?: {
1532
- amount: string;
1533
- currency: "usd";
1534
- period: "month";
1535
- } | undefined;
1536
- spendLimit?: {
1537
- amount: string;
1538
- currency: "usd";
1539
- period: "month";
1540
- } | undefined;
1541
- status: "active" | "canceled" | "none" | "past_due";
1542
- txFeeLimit?: {
1543
- amount: string;
1544
- currency: "usd";
1545
- } | undefined;
1546
- updatedAt?: string | undefined;
1541
+ error: {
1542
+ code: "payment_required" | "rate_limit_exceeded";
1543
+ details?: readonly Response.error.Detail[] | undefined;
1544
+ message: string;
1545
+ };
1546
+ requestId: string;
1547
1547
  };
1548
1548
  outputFormat: "json";
1549
- status: 200;
1549
+ status: 429;
1550
1550
  input: {
1551
1551
  param: {
1552
1552
  methodId: string;
@@ -1560,14 +1560,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
1560
1560
  } | {
1561
1561
  output: {
1562
1562
  error: {
1563
- code: "billing_not_found";
1563
+ code: "billing_unconfigured";
1564
1564
  details?: readonly Response.error.Detail[] | undefined;
1565
1565
  message: string;
1566
1566
  };
1567
1567
  requestId: string;
1568
1568
  };
1569
1569
  outputFormat: "json";
1570
- status: 404;
1570
+ status: 501;
1571
1571
  input: {
1572
1572
  param: {
1573
1573
  methodId: string;
@@ -1581,14 +1581,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
1581
1581
  } | {
1582
1582
  output: {
1583
1583
  error: {
1584
- code: "payment_method_not_found";
1584
+ code: "upstream_error";
1585
1585
  details?: readonly Response.error.Detail[] | undefined;
1586
1586
  message: string;
1587
1587
  };
1588
1588
  requestId: string;
1589
1589
  };
1590
1590
  outputFormat: "json";
1591
- status: 404;
1591
+ status: 502;
1592
1592
  input: {
1593
1593
  param: {
1594
1594
  methodId: string;
@@ -1604,16 +1604,23 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
1604
1604
  } & {
1605
1605
  "/stripe/webhook": {
1606
1606
  $post: {
1607
+ output: {
1608
+ received: true;
1609
+ };
1610
+ outputFormat: "json";
1611
+ status: 200;
1612
+ input: {};
1613
+ } | {
1607
1614
  output: {
1608
1615
  error: {
1609
- code: "upstream_error";
1616
+ code: "signature_invalid";
1610
1617
  details?: readonly Response.error.Detail[] | undefined;
1611
1618
  message: string;
1612
1619
  };
1613
1620
  requestId: string;
1614
1621
  };
1615
1622
  outputFormat: "json";
1616
- status: 502;
1623
+ status: 400;
1617
1624
  input: {};
1618
1625
  } | {
1619
1626
  output: {
@@ -1630,21 +1637,14 @@ export declare function billing(): import("hono/hono-base").HonoBase<Environment
1630
1637
  } | {
1631
1638
  output: {
1632
1639
  error: {
1633
- code: "signature_invalid";
1640
+ code: "upstream_error";
1634
1641
  details?: readonly Response.error.Detail[] | undefined;
1635
1642
  message: string;
1636
1643
  };
1637
1644
  requestId: string;
1638
1645
  };
1639
1646
  outputFormat: "json";
1640
- status: 400;
1641
- input: {};
1642
- } | {
1643
- output: {
1644
- received: true;
1645
- };
1646
- outputFormat: "json";
1647
- status: 200;
1647
+ status: 502;
1648
1648
  input: {};
1649
1649
  };
1650
1650
  };