@voyantjs/availability 0.2.0 → 0.3.1

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.
@@ -0,0 +1,1362 @@
1
+ import { type Env } from "./routes-shared.js";
2
+ export declare const availabilityPickupRoutes: import("hono/hono-base").HonoBase<Env, {
3
+ "/pickup-points": {
4
+ $get: {
5
+ input: {};
6
+ output: {
7
+ data: {
8
+ id: string;
9
+ productId: string;
10
+ facilityId: string | null;
11
+ name: string;
12
+ description: string | null;
13
+ locationText: string | null;
14
+ active: boolean;
15
+ createdAt: string;
16
+ updatedAt: string;
17
+ }[];
18
+ total: number;
19
+ limit: number;
20
+ offset: number;
21
+ };
22
+ outputFormat: "json";
23
+ status: import("hono/utils/http-status").ContentfulStatusCode;
24
+ };
25
+ };
26
+ } & {
27
+ "/pickup-points": {
28
+ $post: {
29
+ input: {};
30
+ output: {
31
+ data: {
32
+ id: string;
33
+ name: string;
34
+ productId: string;
35
+ facilityId: string | null;
36
+ active: boolean;
37
+ createdAt: string;
38
+ updatedAt: string;
39
+ description: string | null;
40
+ locationText: string | null;
41
+ } | undefined;
42
+ };
43
+ outputFormat: "json";
44
+ status: 201;
45
+ };
46
+ };
47
+ } & {
48
+ "/pickup-points/batch-update": {
49
+ $post: {
50
+ input: {};
51
+ output: {
52
+ data: {
53
+ id: string;
54
+ productId: string;
55
+ facilityId: string | null;
56
+ name: string;
57
+ description: string | null;
58
+ locationText: string | null;
59
+ active: boolean;
60
+ createdAt: string;
61
+ updatedAt: string;
62
+ }[];
63
+ total: number;
64
+ succeeded: number;
65
+ failed: {
66
+ id: string;
67
+ error: string;
68
+ }[];
69
+ };
70
+ outputFormat: "json";
71
+ status: import("hono/utils/http-status").ContentfulStatusCode;
72
+ };
73
+ };
74
+ } & {
75
+ "/pickup-points/batch-delete": {
76
+ $post: {
77
+ input: {};
78
+ output: {
79
+ deletedIds: string[];
80
+ total: number;
81
+ succeeded: number;
82
+ failed: {
83
+ id: string;
84
+ error: string;
85
+ }[];
86
+ };
87
+ outputFormat: "json";
88
+ status: import("hono/utils/http-status").ContentfulStatusCode;
89
+ };
90
+ };
91
+ } & {
92
+ "/pickup-points/:id": {
93
+ $get: {
94
+ input: {
95
+ param: {
96
+ id: string;
97
+ };
98
+ };
99
+ output: {
100
+ error: string;
101
+ };
102
+ outputFormat: "json";
103
+ status: 404;
104
+ } | {
105
+ input: {
106
+ param: {
107
+ id: string;
108
+ };
109
+ };
110
+ output: {
111
+ data: {
112
+ id: string;
113
+ productId: string;
114
+ facilityId: string | null;
115
+ name: string;
116
+ description: string | null;
117
+ locationText: string | null;
118
+ active: boolean;
119
+ createdAt: string;
120
+ updatedAt: string;
121
+ };
122
+ };
123
+ outputFormat: "json";
124
+ status: import("hono/utils/http-status").ContentfulStatusCode;
125
+ };
126
+ };
127
+ } & {
128
+ "/pickup-points/:id": {
129
+ $patch: {
130
+ input: {
131
+ param: {
132
+ id: string;
133
+ };
134
+ };
135
+ output: {
136
+ error: string;
137
+ };
138
+ outputFormat: "json";
139
+ status: 404;
140
+ } | {
141
+ input: {
142
+ param: {
143
+ id: string;
144
+ };
145
+ };
146
+ output: {
147
+ data: {
148
+ id: string;
149
+ productId: string;
150
+ facilityId: string | null;
151
+ name: string;
152
+ description: string | null;
153
+ locationText: string | null;
154
+ active: boolean;
155
+ createdAt: string;
156
+ updatedAt: string;
157
+ };
158
+ };
159
+ outputFormat: "json";
160
+ status: import("hono/utils/http-status").ContentfulStatusCode;
161
+ };
162
+ };
163
+ } & {
164
+ "/pickup-points/:id": {
165
+ $delete: {
166
+ input: {
167
+ param: {
168
+ id: string;
169
+ };
170
+ };
171
+ output: {
172
+ error: string;
173
+ };
174
+ outputFormat: "json";
175
+ status: 404;
176
+ } | {
177
+ input: {
178
+ param: {
179
+ id: string;
180
+ };
181
+ };
182
+ output: {
183
+ success: true;
184
+ };
185
+ outputFormat: "json";
186
+ status: import("hono/utils/http-status").ContentfulStatusCode;
187
+ };
188
+ };
189
+ } & {
190
+ "/slot-pickups": {
191
+ $get: {
192
+ input: {};
193
+ output: {
194
+ data: {
195
+ id: string;
196
+ slotId: string;
197
+ pickupPointId: string;
198
+ initialCapacity: number | null;
199
+ remainingCapacity: number | null;
200
+ createdAt: string;
201
+ updatedAt: string;
202
+ }[];
203
+ total: number;
204
+ limit: number;
205
+ offset: number;
206
+ };
207
+ outputFormat: "json";
208
+ status: import("hono/utils/http-status").ContentfulStatusCode;
209
+ };
210
+ };
211
+ } & {
212
+ "/slot-pickups": {
213
+ $post: {
214
+ input: {};
215
+ output: {
216
+ data: {
217
+ id: string;
218
+ createdAt: string;
219
+ updatedAt: string;
220
+ slotId: string;
221
+ pickupPointId: string;
222
+ initialCapacity: number | null;
223
+ remainingCapacity: number | null;
224
+ } | undefined;
225
+ };
226
+ outputFormat: "json";
227
+ status: 201;
228
+ };
229
+ };
230
+ } & {
231
+ "/slot-pickups/batch-update": {
232
+ $post: {
233
+ input: {};
234
+ output: {
235
+ data: {
236
+ id: string;
237
+ slotId: string;
238
+ pickupPointId: string;
239
+ initialCapacity: number | null;
240
+ remainingCapacity: number | null;
241
+ createdAt: string;
242
+ updatedAt: string;
243
+ }[];
244
+ total: number;
245
+ succeeded: number;
246
+ failed: {
247
+ id: string;
248
+ error: string;
249
+ }[];
250
+ };
251
+ outputFormat: "json";
252
+ status: import("hono/utils/http-status").ContentfulStatusCode;
253
+ };
254
+ };
255
+ } & {
256
+ "/slot-pickups/batch-delete": {
257
+ $post: {
258
+ input: {};
259
+ output: {
260
+ deletedIds: string[];
261
+ total: number;
262
+ succeeded: number;
263
+ failed: {
264
+ id: string;
265
+ error: string;
266
+ }[];
267
+ };
268
+ outputFormat: "json";
269
+ status: import("hono/utils/http-status").ContentfulStatusCode;
270
+ };
271
+ };
272
+ } & {
273
+ "/slot-pickups/:id": {
274
+ $get: {
275
+ input: {
276
+ param: {
277
+ id: string;
278
+ };
279
+ };
280
+ output: {
281
+ error: string;
282
+ };
283
+ outputFormat: "json";
284
+ status: 404;
285
+ } | {
286
+ input: {
287
+ param: {
288
+ id: string;
289
+ };
290
+ };
291
+ output: {
292
+ data: {
293
+ id: string;
294
+ slotId: string;
295
+ pickupPointId: string;
296
+ initialCapacity: number | null;
297
+ remainingCapacity: number | null;
298
+ createdAt: string;
299
+ updatedAt: string;
300
+ };
301
+ };
302
+ outputFormat: "json";
303
+ status: import("hono/utils/http-status").ContentfulStatusCode;
304
+ };
305
+ };
306
+ } & {
307
+ "/slot-pickups/:id": {
308
+ $patch: {
309
+ input: {
310
+ param: {
311
+ id: string;
312
+ };
313
+ };
314
+ output: {
315
+ error: string;
316
+ };
317
+ outputFormat: "json";
318
+ status: 404;
319
+ } | {
320
+ input: {
321
+ param: {
322
+ id: string;
323
+ };
324
+ };
325
+ output: {
326
+ data: {
327
+ id: string;
328
+ slotId: string;
329
+ pickupPointId: string;
330
+ initialCapacity: number | null;
331
+ remainingCapacity: number | null;
332
+ createdAt: string;
333
+ updatedAt: string;
334
+ };
335
+ };
336
+ outputFormat: "json";
337
+ status: import("hono/utils/http-status").ContentfulStatusCode;
338
+ };
339
+ };
340
+ } & {
341
+ "/slot-pickups/:id": {
342
+ $delete: {
343
+ input: {
344
+ param: {
345
+ id: string;
346
+ };
347
+ };
348
+ output: {
349
+ error: string;
350
+ };
351
+ outputFormat: "json";
352
+ status: 404;
353
+ } | {
354
+ input: {
355
+ param: {
356
+ id: string;
357
+ };
358
+ };
359
+ output: {
360
+ success: true;
361
+ };
362
+ outputFormat: "json";
363
+ status: import("hono/utils/http-status").ContentfulStatusCode;
364
+ };
365
+ };
366
+ } & {
367
+ "/meeting-configs": {
368
+ $get: {
369
+ input: {};
370
+ output: {
371
+ data: {
372
+ id: string;
373
+ productId: string;
374
+ optionId: string | null;
375
+ facilityId: string | null;
376
+ mode: "meeting_only" | "pickup_only" | "meet_or_pickup";
377
+ allowCustomPickup: boolean;
378
+ allowCustomDropoff: boolean;
379
+ requiresPickupSelection: boolean;
380
+ requiresDropoffSelection: boolean;
381
+ usePickupAllotment: boolean;
382
+ meetingInstructions: string | null;
383
+ pickupInstructions: string | null;
384
+ dropoffInstructions: string | null;
385
+ active: boolean;
386
+ createdAt: string;
387
+ updatedAt: string;
388
+ }[];
389
+ total: number;
390
+ limit: number;
391
+ offset: number;
392
+ };
393
+ outputFormat: "json";
394
+ status: import("hono/utils/http-status").ContentfulStatusCode;
395
+ };
396
+ };
397
+ } & {
398
+ "/meeting-configs": {
399
+ $post: {
400
+ input: {};
401
+ output: {
402
+ data: {
403
+ id: string;
404
+ productId: string;
405
+ optionId: string | null;
406
+ facilityId: string | null;
407
+ active: boolean;
408
+ mode: "meeting_only" | "pickup_only" | "meet_or_pickup";
409
+ createdAt: string;
410
+ updatedAt: string;
411
+ allowCustomPickup: boolean;
412
+ allowCustomDropoff: boolean;
413
+ requiresPickupSelection: boolean;
414
+ requiresDropoffSelection: boolean;
415
+ usePickupAllotment: boolean;
416
+ meetingInstructions: string | null;
417
+ pickupInstructions: string | null;
418
+ dropoffInstructions: string | null;
419
+ } | undefined;
420
+ };
421
+ outputFormat: "json";
422
+ status: 201;
423
+ };
424
+ };
425
+ } & {
426
+ "/meeting-configs/batch-update": {
427
+ $post: {
428
+ input: {};
429
+ output: {
430
+ data: {
431
+ id: string;
432
+ productId: string;
433
+ optionId: string | null;
434
+ facilityId: string | null;
435
+ mode: "meeting_only" | "pickup_only" | "meet_or_pickup";
436
+ allowCustomPickup: boolean;
437
+ allowCustomDropoff: boolean;
438
+ requiresPickupSelection: boolean;
439
+ requiresDropoffSelection: boolean;
440
+ usePickupAllotment: boolean;
441
+ meetingInstructions: string | null;
442
+ pickupInstructions: string | null;
443
+ dropoffInstructions: string | null;
444
+ active: boolean;
445
+ createdAt: string;
446
+ updatedAt: string;
447
+ }[];
448
+ total: number;
449
+ succeeded: number;
450
+ failed: {
451
+ id: string;
452
+ error: string;
453
+ }[];
454
+ };
455
+ outputFormat: "json";
456
+ status: import("hono/utils/http-status").ContentfulStatusCode;
457
+ };
458
+ };
459
+ } & {
460
+ "/meeting-configs/batch-delete": {
461
+ $post: {
462
+ input: {};
463
+ output: {
464
+ deletedIds: string[];
465
+ total: number;
466
+ succeeded: number;
467
+ failed: {
468
+ id: string;
469
+ error: string;
470
+ }[];
471
+ };
472
+ outputFormat: "json";
473
+ status: import("hono/utils/http-status").ContentfulStatusCode;
474
+ };
475
+ };
476
+ } & {
477
+ "/meeting-configs/:id": {
478
+ $get: {
479
+ input: {
480
+ param: {
481
+ id: string;
482
+ };
483
+ };
484
+ output: {
485
+ error: string;
486
+ };
487
+ outputFormat: "json";
488
+ status: 404;
489
+ } | {
490
+ input: {
491
+ param: {
492
+ id: string;
493
+ };
494
+ };
495
+ output: {
496
+ data: {
497
+ id: string;
498
+ productId: string;
499
+ optionId: string | null;
500
+ facilityId: string | null;
501
+ mode: "meeting_only" | "pickup_only" | "meet_or_pickup";
502
+ allowCustomPickup: boolean;
503
+ allowCustomDropoff: boolean;
504
+ requiresPickupSelection: boolean;
505
+ requiresDropoffSelection: boolean;
506
+ usePickupAllotment: boolean;
507
+ meetingInstructions: string | null;
508
+ pickupInstructions: string | null;
509
+ dropoffInstructions: string | null;
510
+ active: boolean;
511
+ createdAt: string;
512
+ updatedAt: string;
513
+ };
514
+ };
515
+ outputFormat: "json";
516
+ status: import("hono/utils/http-status").ContentfulStatusCode;
517
+ };
518
+ };
519
+ } & {
520
+ "/meeting-configs/:id": {
521
+ $patch: {
522
+ input: {
523
+ param: {
524
+ id: string;
525
+ };
526
+ };
527
+ output: {
528
+ error: string;
529
+ };
530
+ outputFormat: "json";
531
+ status: 404;
532
+ } | {
533
+ input: {
534
+ param: {
535
+ id: string;
536
+ };
537
+ };
538
+ output: {
539
+ data: {
540
+ id: string;
541
+ productId: string;
542
+ optionId: string | null;
543
+ facilityId: string | null;
544
+ mode: "meeting_only" | "pickup_only" | "meet_or_pickup";
545
+ allowCustomPickup: boolean;
546
+ allowCustomDropoff: boolean;
547
+ requiresPickupSelection: boolean;
548
+ requiresDropoffSelection: boolean;
549
+ usePickupAllotment: boolean;
550
+ meetingInstructions: string | null;
551
+ pickupInstructions: string | null;
552
+ dropoffInstructions: string | null;
553
+ active: boolean;
554
+ createdAt: string;
555
+ updatedAt: string;
556
+ };
557
+ };
558
+ outputFormat: "json";
559
+ status: import("hono/utils/http-status").ContentfulStatusCode;
560
+ };
561
+ };
562
+ } & {
563
+ "/meeting-configs/:id": {
564
+ $delete: {
565
+ input: {
566
+ param: {
567
+ id: string;
568
+ };
569
+ };
570
+ output: {
571
+ error: string;
572
+ };
573
+ outputFormat: "json";
574
+ status: 404;
575
+ } | {
576
+ input: {
577
+ param: {
578
+ id: string;
579
+ };
580
+ };
581
+ output: {
582
+ success: true;
583
+ };
584
+ outputFormat: "json";
585
+ status: import("hono/utils/http-status").ContentfulStatusCode;
586
+ };
587
+ };
588
+ } & {
589
+ "/pickup-groups": {
590
+ $get: {
591
+ input: {};
592
+ output: {
593
+ data: {
594
+ id: string;
595
+ meetingConfigId: string;
596
+ kind: "pickup" | "dropoff" | "meeting";
597
+ name: string;
598
+ description: string | null;
599
+ active: boolean;
600
+ sortOrder: number;
601
+ createdAt: string;
602
+ updatedAt: string;
603
+ }[];
604
+ total: number;
605
+ limit: number;
606
+ offset: number;
607
+ };
608
+ outputFormat: "json";
609
+ status: import("hono/utils/http-status").ContentfulStatusCode;
610
+ };
611
+ };
612
+ } & {
613
+ "/pickup-groups": {
614
+ $post: {
615
+ input: {};
616
+ output: {
617
+ data: {
618
+ id: string;
619
+ name: string;
620
+ active: boolean;
621
+ createdAt: string;
622
+ updatedAt: string;
623
+ sortOrder: number;
624
+ description: string | null;
625
+ meetingConfigId: string;
626
+ kind: "pickup" | "dropoff" | "meeting";
627
+ } | undefined;
628
+ };
629
+ outputFormat: "json";
630
+ status: 201;
631
+ };
632
+ };
633
+ } & {
634
+ "/pickup-groups/batch-update": {
635
+ $post: {
636
+ input: {};
637
+ output: {
638
+ data: {
639
+ id: string;
640
+ meetingConfigId: string;
641
+ kind: "pickup" | "dropoff" | "meeting";
642
+ name: string;
643
+ description: string | null;
644
+ active: boolean;
645
+ sortOrder: number;
646
+ createdAt: string;
647
+ updatedAt: string;
648
+ }[];
649
+ total: number;
650
+ succeeded: number;
651
+ failed: {
652
+ id: string;
653
+ error: string;
654
+ }[];
655
+ };
656
+ outputFormat: "json";
657
+ status: import("hono/utils/http-status").ContentfulStatusCode;
658
+ };
659
+ };
660
+ } & {
661
+ "/pickup-groups/batch-delete": {
662
+ $post: {
663
+ input: {};
664
+ output: {
665
+ deletedIds: string[];
666
+ total: number;
667
+ succeeded: number;
668
+ failed: {
669
+ id: string;
670
+ error: string;
671
+ }[];
672
+ };
673
+ outputFormat: "json";
674
+ status: import("hono/utils/http-status").ContentfulStatusCode;
675
+ };
676
+ };
677
+ } & {
678
+ "/pickup-groups/:id": {
679
+ $get: {
680
+ input: {
681
+ param: {
682
+ id: string;
683
+ };
684
+ };
685
+ output: {
686
+ error: string;
687
+ };
688
+ outputFormat: "json";
689
+ status: 404;
690
+ } | {
691
+ input: {
692
+ param: {
693
+ id: string;
694
+ };
695
+ };
696
+ output: {
697
+ data: {
698
+ id: string;
699
+ meetingConfigId: string;
700
+ kind: "pickup" | "dropoff" | "meeting";
701
+ name: string;
702
+ description: string | null;
703
+ active: boolean;
704
+ sortOrder: number;
705
+ createdAt: string;
706
+ updatedAt: string;
707
+ };
708
+ };
709
+ outputFormat: "json";
710
+ status: import("hono/utils/http-status").ContentfulStatusCode;
711
+ };
712
+ };
713
+ } & {
714
+ "/pickup-groups/:id": {
715
+ $patch: {
716
+ input: {
717
+ param: {
718
+ id: string;
719
+ };
720
+ };
721
+ output: {
722
+ error: string;
723
+ };
724
+ outputFormat: "json";
725
+ status: 404;
726
+ } | {
727
+ input: {
728
+ param: {
729
+ id: string;
730
+ };
731
+ };
732
+ output: {
733
+ data: {
734
+ id: string;
735
+ meetingConfigId: string;
736
+ kind: "pickup" | "dropoff" | "meeting";
737
+ name: string;
738
+ description: string | null;
739
+ active: boolean;
740
+ sortOrder: number;
741
+ createdAt: string;
742
+ updatedAt: string;
743
+ };
744
+ };
745
+ outputFormat: "json";
746
+ status: import("hono/utils/http-status").ContentfulStatusCode;
747
+ };
748
+ };
749
+ } & {
750
+ "/pickup-groups/:id": {
751
+ $delete: {
752
+ input: {
753
+ param: {
754
+ id: string;
755
+ };
756
+ };
757
+ output: {
758
+ error: string;
759
+ };
760
+ outputFormat: "json";
761
+ status: 404;
762
+ } | {
763
+ input: {
764
+ param: {
765
+ id: string;
766
+ };
767
+ };
768
+ output: {
769
+ success: true;
770
+ };
771
+ outputFormat: "json";
772
+ status: import("hono/utils/http-status").ContentfulStatusCode;
773
+ };
774
+ };
775
+ } & {
776
+ "/pickup-locations": {
777
+ $get: {
778
+ input: {};
779
+ output: {
780
+ data: {
781
+ id: string;
782
+ groupId: string;
783
+ facilityId: string | null;
784
+ name: string;
785
+ description: string | null;
786
+ locationText: string | null;
787
+ leadTimeMinutes: number | null;
788
+ active: boolean;
789
+ sortOrder: number;
790
+ createdAt: string;
791
+ updatedAt: string;
792
+ }[];
793
+ total: number;
794
+ limit: number;
795
+ offset: number;
796
+ };
797
+ outputFormat: "json";
798
+ status: import("hono/utils/http-status").ContentfulStatusCode;
799
+ };
800
+ };
801
+ } & {
802
+ "/pickup-locations": {
803
+ $post: {
804
+ input: {};
805
+ output: {
806
+ data: {
807
+ id: string;
808
+ name: string;
809
+ facilityId: string | null;
810
+ active: boolean;
811
+ createdAt: string;
812
+ updatedAt: string;
813
+ sortOrder: number;
814
+ description: string | null;
815
+ locationText: string | null;
816
+ groupId: string;
817
+ leadTimeMinutes: number | null;
818
+ } | undefined;
819
+ };
820
+ outputFormat: "json";
821
+ status: 201;
822
+ };
823
+ };
824
+ } & {
825
+ "/pickup-locations/batch-update": {
826
+ $post: {
827
+ input: {};
828
+ output: {
829
+ data: {
830
+ id: string;
831
+ groupId: string;
832
+ facilityId: string | null;
833
+ name: string;
834
+ description: string | null;
835
+ locationText: string | null;
836
+ leadTimeMinutes: number | null;
837
+ active: boolean;
838
+ sortOrder: number;
839
+ createdAt: string;
840
+ updatedAt: string;
841
+ }[];
842
+ total: number;
843
+ succeeded: number;
844
+ failed: {
845
+ id: string;
846
+ error: string;
847
+ }[];
848
+ };
849
+ outputFormat: "json";
850
+ status: import("hono/utils/http-status").ContentfulStatusCode;
851
+ };
852
+ };
853
+ } & {
854
+ "/pickup-locations/batch-delete": {
855
+ $post: {
856
+ input: {};
857
+ output: {
858
+ deletedIds: string[];
859
+ total: number;
860
+ succeeded: number;
861
+ failed: {
862
+ id: string;
863
+ error: string;
864
+ }[];
865
+ };
866
+ outputFormat: "json";
867
+ status: import("hono/utils/http-status").ContentfulStatusCode;
868
+ };
869
+ };
870
+ } & {
871
+ "/pickup-locations/:id": {
872
+ $get: {
873
+ input: {
874
+ param: {
875
+ id: string;
876
+ };
877
+ };
878
+ output: {
879
+ error: string;
880
+ };
881
+ outputFormat: "json";
882
+ status: 404;
883
+ } | {
884
+ input: {
885
+ param: {
886
+ id: string;
887
+ };
888
+ };
889
+ output: {
890
+ data: {
891
+ id: string;
892
+ groupId: string;
893
+ facilityId: string | null;
894
+ name: string;
895
+ description: string | null;
896
+ locationText: string | null;
897
+ leadTimeMinutes: number | null;
898
+ active: boolean;
899
+ sortOrder: number;
900
+ createdAt: string;
901
+ updatedAt: string;
902
+ };
903
+ };
904
+ outputFormat: "json";
905
+ status: import("hono/utils/http-status").ContentfulStatusCode;
906
+ };
907
+ };
908
+ } & {
909
+ "/pickup-locations/:id": {
910
+ $patch: {
911
+ input: {
912
+ param: {
913
+ id: string;
914
+ };
915
+ };
916
+ output: {
917
+ error: string;
918
+ };
919
+ outputFormat: "json";
920
+ status: 404;
921
+ } | {
922
+ input: {
923
+ param: {
924
+ id: string;
925
+ };
926
+ };
927
+ output: {
928
+ data: {
929
+ id: string;
930
+ groupId: string;
931
+ facilityId: string | null;
932
+ name: string;
933
+ description: string | null;
934
+ locationText: string | null;
935
+ leadTimeMinutes: number | null;
936
+ active: boolean;
937
+ sortOrder: number;
938
+ createdAt: string;
939
+ updatedAt: string;
940
+ };
941
+ };
942
+ outputFormat: "json";
943
+ status: import("hono/utils/http-status").ContentfulStatusCode;
944
+ };
945
+ };
946
+ } & {
947
+ "/pickup-locations/:id": {
948
+ $delete: {
949
+ input: {
950
+ param: {
951
+ id: string;
952
+ };
953
+ };
954
+ output: {
955
+ error: string;
956
+ };
957
+ outputFormat: "json";
958
+ status: 404;
959
+ } | {
960
+ input: {
961
+ param: {
962
+ id: string;
963
+ };
964
+ };
965
+ output: {
966
+ success: true;
967
+ };
968
+ outputFormat: "json";
969
+ status: import("hono/utils/http-status").ContentfulStatusCode;
970
+ };
971
+ };
972
+ } & {
973
+ "/location-pickup-times": {
974
+ $get: {
975
+ input: {};
976
+ output: {
977
+ data: {
978
+ id: string;
979
+ pickupLocationId: string;
980
+ slotId: string | null;
981
+ startTimeId: string | null;
982
+ timingMode: "fixed_time" | "offset_from_start";
983
+ localTime: string | null;
984
+ offsetMinutes: number | null;
985
+ instructions: string | null;
986
+ initialCapacity: number | null;
987
+ remainingCapacity: number | null;
988
+ active: boolean;
989
+ createdAt: string;
990
+ updatedAt: string;
991
+ }[];
992
+ total: number;
993
+ limit: number;
994
+ offset: number;
995
+ };
996
+ outputFormat: "json";
997
+ status: import("hono/utils/http-status").ContentfulStatusCode;
998
+ };
999
+ };
1000
+ } & {
1001
+ "/location-pickup-times": {
1002
+ $post: {
1003
+ input: {};
1004
+ output: {
1005
+ data: {
1006
+ id: string;
1007
+ localTime: string | null;
1008
+ active: boolean;
1009
+ createdAt: string;
1010
+ updatedAt: string;
1011
+ startTimeId: string | null;
1012
+ slotId: string | null;
1013
+ initialCapacity: number | null;
1014
+ remainingCapacity: number | null;
1015
+ pickupLocationId: string;
1016
+ timingMode: "fixed_time" | "offset_from_start";
1017
+ offsetMinutes: number | null;
1018
+ instructions: string | null;
1019
+ } | undefined;
1020
+ };
1021
+ outputFormat: "json";
1022
+ status: 201;
1023
+ };
1024
+ };
1025
+ } & {
1026
+ "/location-pickup-times/batch-update": {
1027
+ $post: {
1028
+ input: {};
1029
+ output: {
1030
+ data: {
1031
+ id: string;
1032
+ pickupLocationId: string;
1033
+ slotId: string | null;
1034
+ startTimeId: string | null;
1035
+ timingMode: "fixed_time" | "offset_from_start";
1036
+ localTime: string | null;
1037
+ offsetMinutes: number | null;
1038
+ instructions: string | null;
1039
+ initialCapacity: number | null;
1040
+ remainingCapacity: number | null;
1041
+ active: boolean;
1042
+ createdAt: string;
1043
+ updatedAt: string;
1044
+ }[];
1045
+ total: number;
1046
+ succeeded: number;
1047
+ failed: {
1048
+ id: string;
1049
+ error: string;
1050
+ }[];
1051
+ };
1052
+ outputFormat: "json";
1053
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1054
+ };
1055
+ };
1056
+ } & {
1057
+ "/location-pickup-times/batch-delete": {
1058
+ $post: {
1059
+ input: {};
1060
+ output: {
1061
+ deletedIds: string[];
1062
+ total: number;
1063
+ succeeded: number;
1064
+ failed: {
1065
+ id: string;
1066
+ error: string;
1067
+ }[];
1068
+ };
1069
+ outputFormat: "json";
1070
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1071
+ };
1072
+ };
1073
+ } & {
1074
+ "/location-pickup-times/:id": {
1075
+ $get: {
1076
+ input: {
1077
+ param: {
1078
+ id: string;
1079
+ };
1080
+ };
1081
+ output: {
1082
+ error: string;
1083
+ };
1084
+ outputFormat: "json";
1085
+ status: 404;
1086
+ } | {
1087
+ input: {
1088
+ param: {
1089
+ id: string;
1090
+ };
1091
+ };
1092
+ output: {
1093
+ data: {
1094
+ id: string;
1095
+ pickupLocationId: string;
1096
+ slotId: string | null;
1097
+ startTimeId: string | null;
1098
+ timingMode: "fixed_time" | "offset_from_start";
1099
+ localTime: string | null;
1100
+ offsetMinutes: number | null;
1101
+ instructions: string | null;
1102
+ initialCapacity: number | null;
1103
+ remainingCapacity: number | null;
1104
+ active: boolean;
1105
+ createdAt: string;
1106
+ updatedAt: string;
1107
+ };
1108
+ };
1109
+ outputFormat: "json";
1110
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1111
+ };
1112
+ };
1113
+ } & {
1114
+ "/location-pickup-times/:id": {
1115
+ $patch: {
1116
+ input: {
1117
+ param: {
1118
+ id: string;
1119
+ };
1120
+ };
1121
+ output: {
1122
+ error: string;
1123
+ };
1124
+ outputFormat: "json";
1125
+ status: 404;
1126
+ } | {
1127
+ input: {
1128
+ param: {
1129
+ id: string;
1130
+ };
1131
+ };
1132
+ output: {
1133
+ data: {
1134
+ id: string;
1135
+ pickupLocationId: string;
1136
+ slotId: string | null;
1137
+ startTimeId: string | null;
1138
+ timingMode: "fixed_time" | "offset_from_start";
1139
+ localTime: string | null;
1140
+ offsetMinutes: number | null;
1141
+ instructions: string | null;
1142
+ initialCapacity: number | null;
1143
+ remainingCapacity: number | null;
1144
+ active: boolean;
1145
+ createdAt: string;
1146
+ updatedAt: string;
1147
+ };
1148
+ };
1149
+ outputFormat: "json";
1150
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1151
+ };
1152
+ };
1153
+ } & {
1154
+ "/location-pickup-times/:id": {
1155
+ $delete: {
1156
+ input: {
1157
+ param: {
1158
+ id: string;
1159
+ };
1160
+ };
1161
+ output: {
1162
+ error: string;
1163
+ };
1164
+ outputFormat: "json";
1165
+ status: 404;
1166
+ } | {
1167
+ input: {
1168
+ param: {
1169
+ id: string;
1170
+ };
1171
+ };
1172
+ output: {
1173
+ success: true;
1174
+ };
1175
+ outputFormat: "json";
1176
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1177
+ };
1178
+ };
1179
+ } & {
1180
+ "/custom-pickup-areas": {
1181
+ $get: {
1182
+ input: {};
1183
+ output: {
1184
+ data: {
1185
+ id: string;
1186
+ meetingConfigId: string;
1187
+ name: string;
1188
+ description: string | null;
1189
+ geographicText: string | null;
1190
+ active: boolean;
1191
+ createdAt: string;
1192
+ updatedAt: string;
1193
+ }[];
1194
+ total: number;
1195
+ limit: number;
1196
+ offset: number;
1197
+ };
1198
+ outputFormat: "json";
1199
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1200
+ };
1201
+ };
1202
+ } & {
1203
+ "/custom-pickup-areas": {
1204
+ $post: {
1205
+ input: {};
1206
+ output: {
1207
+ data: {
1208
+ id: string;
1209
+ name: string;
1210
+ active: boolean;
1211
+ createdAt: string;
1212
+ updatedAt: string;
1213
+ description: string | null;
1214
+ meetingConfigId: string;
1215
+ geographicText: string | null;
1216
+ } | undefined;
1217
+ };
1218
+ outputFormat: "json";
1219
+ status: 201;
1220
+ };
1221
+ };
1222
+ } & {
1223
+ "/custom-pickup-areas/batch-update": {
1224
+ $post: {
1225
+ input: {};
1226
+ output: {
1227
+ data: {
1228
+ id: string;
1229
+ meetingConfigId: string;
1230
+ name: string;
1231
+ description: string | null;
1232
+ geographicText: string | null;
1233
+ active: boolean;
1234
+ createdAt: string;
1235
+ updatedAt: string;
1236
+ }[];
1237
+ total: number;
1238
+ succeeded: number;
1239
+ failed: {
1240
+ id: string;
1241
+ error: string;
1242
+ }[];
1243
+ };
1244
+ outputFormat: "json";
1245
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1246
+ };
1247
+ };
1248
+ } & {
1249
+ "/custom-pickup-areas/batch-delete": {
1250
+ $post: {
1251
+ input: {};
1252
+ output: {
1253
+ deletedIds: string[];
1254
+ total: number;
1255
+ succeeded: number;
1256
+ failed: {
1257
+ id: string;
1258
+ error: string;
1259
+ }[];
1260
+ };
1261
+ outputFormat: "json";
1262
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1263
+ };
1264
+ };
1265
+ } & {
1266
+ "/custom-pickup-areas/:id": {
1267
+ $get: {
1268
+ input: {
1269
+ param: {
1270
+ id: string;
1271
+ };
1272
+ };
1273
+ output: {
1274
+ error: string;
1275
+ };
1276
+ outputFormat: "json";
1277
+ status: 404;
1278
+ } | {
1279
+ input: {
1280
+ param: {
1281
+ id: string;
1282
+ };
1283
+ };
1284
+ output: {
1285
+ data: {
1286
+ id: string;
1287
+ meetingConfigId: string;
1288
+ name: string;
1289
+ description: string | null;
1290
+ geographicText: string | null;
1291
+ active: boolean;
1292
+ createdAt: string;
1293
+ updatedAt: string;
1294
+ };
1295
+ };
1296
+ outputFormat: "json";
1297
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1298
+ };
1299
+ };
1300
+ } & {
1301
+ "/custom-pickup-areas/:id": {
1302
+ $patch: {
1303
+ input: {
1304
+ param: {
1305
+ id: string;
1306
+ };
1307
+ };
1308
+ output: {
1309
+ error: string;
1310
+ };
1311
+ outputFormat: "json";
1312
+ status: 404;
1313
+ } | {
1314
+ input: {
1315
+ param: {
1316
+ id: string;
1317
+ };
1318
+ };
1319
+ output: {
1320
+ data: {
1321
+ id: string;
1322
+ meetingConfigId: string;
1323
+ name: string;
1324
+ description: string | null;
1325
+ geographicText: string | null;
1326
+ active: boolean;
1327
+ createdAt: string;
1328
+ updatedAt: string;
1329
+ };
1330
+ };
1331
+ outputFormat: "json";
1332
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1333
+ };
1334
+ };
1335
+ } & {
1336
+ "/custom-pickup-areas/:id": {
1337
+ $delete: {
1338
+ input: {
1339
+ param: {
1340
+ id: string;
1341
+ };
1342
+ };
1343
+ output: {
1344
+ error: string;
1345
+ };
1346
+ outputFormat: "json";
1347
+ status: 404;
1348
+ } | {
1349
+ input: {
1350
+ param: {
1351
+ id: string;
1352
+ };
1353
+ };
1354
+ output: {
1355
+ success: true;
1356
+ };
1357
+ outputFormat: "json";
1358
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1359
+ };
1360
+ };
1361
+ }, "/", "/custom-pickup-areas/:id">;
1362
+ //# sourceMappingURL=routes-pickups.d.ts.map