tapimo 0.5.2 → 0.5.3

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.
@@ -59,24 +59,6 @@ export declare namespace schema {
59
59
  export declare function projects(): import("hono/hono-base").HonoBase<App.Environment, {
60
60
  "/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects": {
61
61
  $get: {
62
- output: {
63
- data: {
64
- createdAt: string;
65
- environments: ("production" | "sandbox")[];
66
- id: string;
67
- name: string;
68
- orgId: string;
69
- updatedAt: string;
70
- }[];
71
- };
72
- outputFormat: "json";
73
- status: 200;
74
- input: {
75
- param: {
76
- orgId: string;
77
- };
78
- };
79
- } | {
80
62
  output: {
81
63
  error: {
82
64
  code: "api_key_malformed";
@@ -95,14 +77,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
95
77
  } | {
96
78
  output: {
97
79
  error: {
98
- code: "param_invalid";
80
+ code: "api_key_invalid" | "api_key_missing";
99
81
  details?: readonly Response.error.Detail[] | undefined;
100
82
  message: string;
101
83
  };
102
84
  requestId: string;
103
85
  };
104
86
  outputFormat: "json";
105
- status: 400;
87
+ status: 401;
106
88
  input: {
107
89
  param: {
108
90
  orgId: string;
@@ -111,14 +93,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
111
93
  } | {
112
94
  output: {
113
95
  error: {
114
- code: "api_key_invalid" | "api_key_missing";
96
+ code: "api_key_forbidden";
115
97
  details?: readonly Response.error.Detail[] | undefined;
116
98
  message: string;
117
99
  };
118
100
  requestId: string;
119
101
  };
120
102
  outputFormat: "json";
121
- status: 401;
103
+ status: 403;
122
104
  input: {
123
105
  param: {
124
106
  orgId: string;
@@ -127,14 +109,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
127
109
  } | {
128
110
  output: {
129
111
  error: {
130
- code: "api_key_forbidden";
112
+ code: "payment_required" | "rate_limit_exceeded";
131
113
  details?: readonly Response.error.Detail[] | undefined;
132
114
  message: string;
133
115
  };
134
116
  requestId: string;
135
117
  };
136
118
  outputFormat: "json";
137
- status: 403;
119
+ status: 429;
138
120
  input: {
139
121
  param: {
140
122
  orgId: string;
@@ -143,14 +125,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
143
125
  } | {
144
126
  output: {
145
127
  error: {
146
- code: "organization_not_found";
128
+ code: "upstream_error";
147
129
  details?: readonly Response.error.Detail[] | undefined;
148
130
  message: string;
149
131
  };
150
132
  requestId: string;
151
133
  };
152
134
  outputFormat: "json";
153
- status: 404;
135
+ status: 502;
154
136
  input: {
155
137
  param: {
156
138
  orgId: string;
@@ -159,14 +141,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
159
141
  } | {
160
142
  output: {
161
143
  error: {
162
- code: "payment_required" | "rate_limit_exceeded";
144
+ code: "organization_not_found";
163
145
  details?: readonly Response.error.Detail[] | undefined;
164
146
  message: string;
165
147
  };
166
148
  requestId: string;
167
149
  };
168
150
  outputFormat: "json";
169
- status: 429;
151
+ status: 404;
170
152
  input: {
171
153
  param: {
172
154
  orgId: string;
@@ -175,31 +157,29 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
175
157
  } | {
176
158
  output: {
177
159
  error: {
178
- code: "upstream_error";
160
+ code: "param_invalid";
179
161
  details?: readonly Response.error.Detail[] | undefined;
180
162
  message: string;
181
163
  };
182
164
  requestId: string;
183
165
  };
184
166
  outputFormat: "json";
185
- status: 502;
167
+ status: 400;
186
168
  input: {
187
169
  param: {
188
170
  orgId: string;
189
171
  };
190
172
  };
191
- };
192
- };
193
- } & {
194
- "/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects": {
195
- $post: {
173
+ } | {
196
174
  output: {
197
- createdAt: string;
198
- environments: ("production" | "sandbox")[];
199
- id: string;
200
- name: string;
201
- orgId: string;
202
- updatedAt: string;
175
+ data: {
176
+ createdAt: string;
177
+ environments: ("production" | "sandbox")[];
178
+ id: string;
179
+ name: string;
180
+ orgId: string;
181
+ updatedAt: string;
182
+ }[];
203
183
  };
204
184
  outputFormat: "json";
205
185
  status: 200;
@@ -207,12 +187,12 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
207
187
  param: {
208
188
  orgId: string;
209
189
  };
210
- } & {
211
- json: {
212
- name: string;
213
- };
214
190
  };
215
- } | {
191
+ };
192
+ };
193
+ } & {
194
+ "/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects": {
195
+ $post: {
216
196
  output: {
217
197
  error: {
218
198
  code: "api_key_malformed";
@@ -235,14 +215,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
235
215
  } | {
236
216
  output: {
237
217
  error: {
238
- code: "body_invalid";
218
+ code: "api_key_invalid" | "api_key_missing";
239
219
  details?: readonly Response.error.Detail[] | undefined;
240
220
  message: string;
241
221
  };
242
222
  requestId: string;
243
223
  };
244
224
  outputFormat: "json";
245
- status: 400;
225
+ status: 401;
246
226
  input: {
247
227
  param: {
248
228
  orgId: string;
@@ -255,14 +235,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
255
235
  } | {
256
236
  output: {
257
237
  error: {
258
- code: "param_invalid";
238
+ code: "api_key_forbidden";
259
239
  details?: readonly Response.error.Detail[] | undefined;
260
240
  message: string;
261
241
  };
262
242
  requestId: string;
263
243
  };
264
244
  outputFormat: "json";
265
- status: 400;
245
+ status: 403;
266
246
  input: {
267
247
  param: {
268
248
  orgId: string;
@@ -275,14 +255,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
275
255
  } | {
276
256
  output: {
277
257
  error: {
278
- code: "api_key_invalid" | "api_key_missing";
258
+ code: "payment_required" | "rate_limit_exceeded";
279
259
  details?: readonly Response.error.Detail[] | undefined;
280
260
  message: string;
281
261
  };
282
262
  requestId: string;
283
263
  };
284
264
  outputFormat: "json";
285
- status: 401;
265
+ status: 429;
286
266
  input: {
287
267
  param: {
288
268
  orgId: string;
@@ -295,14 +275,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
295
275
  } | {
296
276
  output: {
297
277
  error: {
298
- code: "api_key_forbidden";
278
+ code: "upstream_error";
299
279
  details?: readonly Response.error.Detail[] | undefined;
300
280
  message: string;
301
281
  };
302
282
  requestId: string;
303
283
  };
304
284
  outputFormat: "json";
305
- status: 403;
285
+ status: 502;
306
286
  input: {
307
287
  param: {
308
288
  orgId: string;
@@ -335,14 +315,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
335
315
  } | {
336
316
  output: {
337
317
  error: {
338
- code: "payment_required" | "rate_limit_exceeded";
318
+ code: "body_invalid";
339
319
  details?: readonly Response.error.Detail[] | undefined;
340
320
  message: string;
341
321
  };
342
322
  requestId: string;
343
323
  };
344
324
  outputFormat: "json";
345
- status: 429;
325
+ status: 400;
346
326
  input: {
347
327
  param: {
348
328
  orgId: string;
@@ -355,14 +335,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
355
335
  } | {
356
336
  output: {
357
337
  error: {
358
- code: "upstream_error";
338
+ code: "param_invalid";
359
339
  details?: readonly Response.error.Detail[] | undefined;
360
340
  message: string;
361
341
  };
362
342
  requestId: string;
363
343
  };
364
344
  outputFormat: "json";
365
- status: 502;
345
+ status: 400;
366
346
  input: {
367
347
  param: {
368
348
  orgId: string;
@@ -372,11 +352,7 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
372
352
  name: string;
373
353
  };
374
354
  };
375
- };
376
- };
377
- } & {
378
- "/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects/:projectId{prj_[A-Za-z0-9_-]+}": {
379
- $get: {
355
+ } | {
380
356
  output: {
381
357
  createdAt: string;
382
358
  environments: ("production" | "sandbox")[];
@@ -390,10 +366,17 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
390
366
  input: {
391
367
  param: {
392
368
  orgId: string;
393
- projectId: string;
369
+ };
370
+ } & {
371
+ json: {
372
+ name: string;
394
373
  };
395
374
  };
396
- } | {
375
+ };
376
+ };
377
+ } & {
378
+ "/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects/:projectId{prj_[A-Za-z0-9_-]+}": {
379
+ $get: {
397
380
  output: {
398
381
  error: {
399
382
  code: "api_key_malformed";
@@ -413,14 +396,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
413
396
  } | {
414
397
  output: {
415
398
  error: {
416
- code: "param_invalid";
399
+ code: "api_key_invalid" | "api_key_missing";
417
400
  details?: readonly Response.error.Detail[] | undefined;
418
401
  message: string;
419
402
  };
420
403
  requestId: string;
421
404
  };
422
405
  outputFormat: "json";
423
- status: 400;
406
+ status: 401;
424
407
  input: {
425
408
  param: {
426
409
  orgId: string;
@@ -430,14 +413,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
430
413
  } | {
431
414
  output: {
432
415
  error: {
433
- code: "api_key_invalid" | "api_key_missing";
416
+ code: "api_key_forbidden";
434
417
  details?: readonly Response.error.Detail[] | undefined;
435
418
  message: string;
436
419
  };
437
420
  requestId: string;
438
421
  };
439
422
  outputFormat: "json";
440
- status: 401;
423
+ status: 403;
441
424
  input: {
442
425
  param: {
443
426
  orgId: string;
@@ -447,14 +430,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
447
430
  } | {
448
431
  output: {
449
432
  error: {
450
- code: "api_key_forbidden";
433
+ code: "payment_required" | "rate_limit_exceeded";
451
434
  details?: readonly Response.error.Detail[] | undefined;
452
435
  message: string;
453
436
  };
454
437
  requestId: string;
455
438
  };
456
439
  outputFormat: "json";
457
- status: 403;
440
+ status: 429;
458
441
  input: {
459
442
  param: {
460
443
  orgId: string;
@@ -464,14 +447,31 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
464
447
  } | {
465
448
  output: {
466
449
  error: {
467
- code: "organization_not_found" | "project_not_found";
450
+ code: "param_invalid";
468
451
  details?: readonly Response.error.Detail[] | undefined;
469
452
  message: string;
470
453
  };
471
454
  requestId: string;
472
455
  };
473
456
  outputFormat: "json";
474
- status: 404;
457
+ status: 400;
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;
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: "payment_required" | "rate_limit_exceeded";
484
+ code: "organization_not_found" | "project_not_found";
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: 429;
491
+ status: 404;
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
- createdAt: string;
505
- environments: ("production" | "sandbox")[];
506
- id: string;
507
- name: string;
508
- orgId: string;
509
- updatedAt: string;
504
+ error: {
505
+ code: "api_key_malformed";
506
+ details?: readonly Response.error.Detail[] | undefined;
507
+ message: string;
508
+ };
509
+ requestId: string;
510
510
  };
511
511
  outputFormat: "json";
512
- status: 200;
512
+ status: 400;
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: "api_key_malformed";
526
+ code: "api_key_invalid" | "api_key_missing";
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: 400;
533
+ status: 401;
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: "body_invalid";
547
+ code: "api_key_forbidden";
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: 400;
554
+ status: 403;
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: "param_invalid";
568
+ code: "payment_required" | "rate_limit_exceeded";
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: 400;
575
+ status: 429;
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: "api_key_invalid" | "api_key_missing";
589
+ code: "upstream_error";
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: 401;
596
+ status: 502;
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: "api_key_forbidden";
610
+ code: "body_invalid";
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: 403;
617
+ status: 400;
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: "organization_not_found" | "project_not_found";
631
+ code: "param_invalid";
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: 404;
638
+ status: 400;
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
- error: {
652
- code: "payment_required" | "rate_limit_exceeded";
653
- details?: readonly Response.error.Detail[] | undefined;
654
- message: string;
655
- };
656
- requestId: string;
651
+ createdAt: string;
652
+ environments: ("production" | "sandbox")[];
653
+ id: string;
654
+ name: string;
655
+ orgId: string;
656
+ updatedAt: string;
657
657
  };
658
658
  outputFormat: "json";
659
- status: 429;
659
+ status: 200;
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: "upstream_error";
673
+ code: "organization_not_found" | "project_not_found";
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: 502;
680
+ status: 404;
681
681
  input: {
682
682
  param: {
683
683
  orgId: string;
@@ -694,10 +694,15 @@ 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
- id: string;
697
+ error: {
698
+ code: "api_key_malformed";
699
+ details?: readonly Response.error.Detail[] | undefined;
700
+ message: string;
701
+ };
702
+ requestId: string;
698
703
  };
699
704
  outputFormat: "json";
700
- status: 200;
705
+ status: 400;
701
706
  input: {
702
707
  param: {
703
708
  orgId: string;
@@ -707,14 +712,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
707
712
  } | {
708
713
  output: {
709
714
  error: {
710
- code: "api_key_malformed";
715
+ code: "api_key_invalid" | "api_key_missing";
711
716
  details?: readonly Response.error.Detail[] | undefined;
712
717
  message: string;
713
718
  };
714
719
  requestId: string;
715
720
  };
716
721
  outputFormat: "json";
717
- status: 400;
722
+ status: 401;
718
723
  input: {
719
724
  param: {
720
725
  orgId: string;
@@ -724,14 +729,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
724
729
  } | {
725
730
  output: {
726
731
  error: {
727
- code: "param_invalid";
732
+ code: "api_key_forbidden";
728
733
  details?: readonly Response.error.Detail[] | undefined;
729
734
  message: string;
730
735
  };
731
736
  requestId: string;
732
737
  };
733
738
  outputFormat: "json";
734
- status: 400;
739
+ status: 403;
735
740
  input: {
736
741
  param: {
737
742
  orgId: string;
@@ -741,14 +746,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
741
746
  } | {
742
747
  output: {
743
748
  error: {
744
- code: "api_key_invalid" | "api_key_missing";
749
+ code: "payment_required" | "rate_limit_exceeded";
745
750
  details?: readonly Response.error.Detail[] | undefined;
746
751
  message: string;
747
752
  };
748
753
  requestId: string;
749
754
  };
750
755
  outputFormat: "json";
751
- status: 401;
756
+ status: 429;
752
757
  input: {
753
758
  param: {
754
759
  orgId: string;
@@ -758,14 +763,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
758
763
  } | {
759
764
  output: {
760
765
  error: {
761
- code: "api_key_forbidden";
766
+ code: "upstream_error";
762
767
  details?: readonly Response.error.Detail[] | undefined;
763
768
  message: string;
764
769
  };
765
770
  requestId: string;
766
771
  };
767
772
  outputFormat: "json";
768
- status: 403;
773
+ status: 502;
769
774
  input: {
770
775
  param: {
771
776
  orgId: string;
@@ -775,14 +780,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
775
780
  } | {
776
781
  output: {
777
782
  error: {
778
- code: "organization_not_found" | "project_not_found";
783
+ code: "param_invalid";
779
784
  details?: readonly Response.error.Detail[] | undefined;
780
785
  message: string;
781
786
  };
782
787
  requestId: string;
783
788
  };
784
789
  outputFormat: "json";
785
- status: 404;
790
+ status: 400;
786
791
  input: {
787
792
  param: {
788
793
  orgId: string;
@@ -792,14 +797,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
792
797
  } | {
793
798
  output: {
794
799
  error: {
795
- code: "payment_required" | "rate_limit_exceeded";
800
+ code: "organization_not_found" | "project_not_found";
796
801
  details?: readonly Response.error.Detail[] | undefined;
797
802
  message: string;
798
803
  };
799
804
  requestId: string;
800
805
  };
801
806
  outputFormat: "json";
802
- status: 429;
807
+ status: 404;
803
808
  input: {
804
809
  param: {
805
810
  orgId: string;
@@ -808,15 +813,10 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
808
813
  };
809
814
  } | {
810
815
  output: {
811
- error: {
812
- code: "upstream_error";
813
- details?: readonly Response.error.Detail[] | undefined;
814
- message: string;
815
- };
816
- requestId: string;
816
+ id: string;
817
817
  };
818
818
  outputFormat: "json";
819
- status: 502;
819
+ status: 200;
820
820
  input: {
821
821
  param: {
822
822
  orgId: string;