@voyantjs/products 0.5.0 → 0.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/routes.d.ts CHANGED
@@ -48,15 +48,17 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
48
48
  input: {};
49
49
  output: {
50
50
  data: {
51
+ id: string;
51
52
  name: string;
52
53
  createdAt: string;
53
54
  updatedAt: string;
54
- description: string | null;
55
- id: string;
56
55
  status: "draft" | "active" | "archived";
56
+ startDate: string | null;
57
+ endDate: string | null;
58
+ timezone: string | null;
59
+ description: string | null;
57
60
  bookingMode: "date" | "other" | "date_time" | "open" | "stay" | "transfer" | "itinerary";
58
61
  capacityMode: "free_sale" | "limited" | "on_request";
59
- timezone: string | null;
60
62
  visibility: "public" | "private" | "hidden";
61
63
  activated: boolean;
62
64
  reservationTimeoutMinutes: number | null;
@@ -65,8 +67,6 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
65
67
  costAmountCents: number | null;
66
68
  marginPercent: number | null;
67
69
  facilityId: string | null;
68
- startDate: string | null;
69
- endDate: string | null;
70
70
  pax: number | null;
71
71
  productTypeId: string | null;
72
72
  tags: string[] | null;
@@ -157,10 +157,10 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
157
157
  };
158
158
  output: {
159
159
  data: {
160
- productId: string;
160
+ id: string;
161
161
  createdAt: string;
162
162
  updatedAt: string;
163
- id: string;
163
+ productId: string;
164
164
  activationMode: "manual" | "scheduled" | "channel_controlled";
165
165
  activateAt: string | null;
166
166
  deactivateAt: string | null;
@@ -243,7 +243,7 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
243
243
  id: string;
244
244
  productId: string;
245
245
  fulfillmentMode: "none" | "per_booking" | "per_participant" | "per_item";
246
- defaultDeliveryFormat: "none" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "email" | "mobile";
246
+ defaultDeliveryFormat: "email" | "none" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
247
247
  ticketPerUnit: boolean;
248
248
  barcodeFormat: string | null;
249
249
  voucherMessage: string | null;
@@ -283,7 +283,7 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
283
283
  id: string;
284
284
  productId: string;
285
285
  fulfillmentMode: "none" | "per_booking" | "per_participant" | "per_item";
286
- defaultDeliveryFormat: "none" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "email" | "mobile";
286
+ defaultDeliveryFormat: "email" | "none" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
287
287
  ticketPerUnit: boolean;
288
288
  barcodeFormat: string | null;
289
289
  voucherMessage: string | null;
@@ -317,12 +317,12 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
317
317
  };
318
318
  output: {
319
319
  data: {
320
- productId: string;
320
+ id: string;
321
321
  createdAt: string;
322
322
  updatedAt: string;
323
- id: string;
323
+ productId: string;
324
324
  fulfillmentMode: "none" | "per_booking" | "per_participant" | "per_item";
325
- defaultDeliveryFormat: "none" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "email" | "mobile";
325
+ defaultDeliveryFormat: "email" | "none" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
326
326
  ticketPerUnit: boolean;
327
327
  barcodeFormat: string | null;
328
328
  voucherMessage: string | null;
@@ -357,7 +357,7 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
357
357
  id: string;
358
358
  productId: string;
359
359
  fulfillmentMode: "none" | "per_booking" | "per_participant" | "per_item";
360
- defaultDeliveryFormat: "none" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "email" | "mobile";
360
+ defaultDeliveryFormat: "email" | "none" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
361
361
  ticketPerUnit: boolean;
362
362
  barcodeFormat: string | null;
363
363
  voucherMessage: string | null;
@@ -475,10 +475,10 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
475
475
  };
476
476
  output: {
477
477
  data: {
478
- productId: string;
478
+ id: string;
479
479
  createdAt: string;
480
480
  updatedAt: string;
481
- id: string;
481
+ productId: string;
482
482
  isSearchable: boolean;
483
483
  isBookable: boolean;
484
484
  isFeatured: boolean;
@@ -628,11 +628,11 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
628
628
  output: {
629
629
  data: {
630
630
  enabled: boolean;
631
- productId: string;
631
+ id: string;
632
632
  createdAt: string;
633
633
  updatedAt: string;
634
- id: string;
635
634
  notes: string | null;
635
+ productId: string;
636
636
  capability: "on_request" | "private" | "instant_confirmation" | "pickup_available" | "dropoff_available" | "guided" | "shared" | "digital_ticket" | "voucher_required" | "external_inventory" | "multi_day" | "accommodation" | "transport";
637
637
  };
638
638
  };
@@ -708,7 +708,7 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
708
708
  data: {
709
709
  id: string;
710
710
  productId: string;
711
- format: "none" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "email" | "mobile";
711
+ format: "email" | "none" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
712
712
  isDefault: boolean;
713
713
  createdAt: string;
714
714
  updatedAt: string;
@@ -744,7 +744,7 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
744
744
  data: {
745
745
  id: string;
746
746
  productId: string;
747
- format: "none" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "email" | "mobile";
747
+ format: "email" | "none" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
748
748
  isDefault: boolean;
749
749
  createdAt: string;
750
750
  updatedAt: string;
@@ -775,11 +775,11 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
775
775
  };
776
776
  output: {
777
777
  data: {
778
- productId: string;
778
+ id: string;
779
779
  createdAt: string;
780
780
  updatedAt: string;
781
- format: "none" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "email" | "mobile";
782
- id: string;
781
+ format: "email" | "none" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
782
+ productId: string;
783
783
  isDefault: boolean;
784
784
  };
785
785
  };
@@ -810,7 +810,7 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
810
810
  data: {
811
811
  id: string;
812
812
  productId: string;
813
- format: "none" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "email" | "mobile";
813
+ format: "email" | "none" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
814
814
  isDefault: boolean;
815
815
  createdAt: string;
816
816
  updatedAt: string;
@@ -925,13 +925,13 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
925
925
  };
926
926
  output: {
927
927
  data: {
928
- productId: string;
928
+ id: string;
929
929
  createdAt: string;
930
930
  updatedAt: string;
931
931
  description: string | null;
932
- id: string;
933
- sortOrder: number;
932
+ productId: string;
934
933
  title: string;
934
+ sortOrder: number;
935
935
  featureType: "other" | "inclusion" | "exclusion" | "highlight" | "important_information";
936
936
  };
937
937
  };
@@ -1077,10 +1077,10 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
1077
1077
  };
1078
1078
  output: {
1079
1079
  data: {
1080
- productId: string;
1080
+ id: string;
1081
1081
  createdAt: string;
1082
1082
  updatedAt: string;
1083
- id: string;
1083
+ productId: string;
1084
1084
  sortOrder: number;
1085
1085
  question: string;
1086
1086
  answer: string;
@@ -1158,7 +1158,7 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
1158
1158
  data: {
1159
1159
  id: string;
1160
1160
  productId: string;
1161
- locationType: "other" | "start" | "end" | "meeting_point" | "pickup" | "dropoff" | "point_of_interest";
1161
+ locationType: "start" | "other" | "end" | "meeting_point" | "pickup" | "dropoff" | "point_of_interest";
1162
1162
  title: string;
1163
1163
  address: string | null;
1164
1164
  city: string | null;
@@ -1203,7 +1203,7 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
1203
1203
  data: {
1204
1204
  id: string;
1205
1205
  productId: string;
1206
- locationType: "other" | "start" | "end" | "meeting_point" | "pickup" | "dropoff" | "point_of_interest";
1206
+ locationType: "start" | "other" | "end" | "meeting_point" | "pickup" | "dropoff" | "point_of_interest";
1207
1207
  title: string;
1208
1208
  address: string | null;
1209
1209
  city: string | null;
@@ -1243,13 +1243,13 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
1243
1243
  };
1244
1244
  output: {
1245
1245
  data: {
1246
- productId: string;
1246
+ id: string;
1247
1247
  createdAt: string;
1248
1248
  updatedAt: string;
1249
- id: string;
1250
- sortOrder: number;
1249
+ productId: string;
1251
1250
  title: string;
1252
- locationType: "other" | "start" | "end" | "meeting_point" | "pickup" | "dropoff" | "point_of_interest";
1251
+ sortOrder: number;
1252
+ locationType: "start" | "other" | "end" | "meeting_point" | "pickup" | "dropoff" | "point_of_interest";
1253
1253
  address: string | null;
1254
1254
  city: string | null;
1255
1255
  countryCode: string | null;
@@ -1287,7 +1287,7 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
1287
1287
  data: {
1288
1288
  id: string;
1289
1289
  productId: string;
1290
- locationType: "other" | "start" | "end" | "meeting_point" | "pickup" | "dropoff" | "point_of_interest";
1290
+ locationType: "start" | "other" | "end" | "meeting_point" | "pickup" | "dropoff" | "point_of_interest";
1291
1291
  title: string;
1292
1292
  address: string | null;
1293
1293
  city: string | null;
@@ -1426,16 +1426,16 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
1426
1426
  input: {};
1427
1427
  output: {
1428
1428
  data: {
1429
+ metadata: {
1430
+ [x: string]: import("hono/utils/types").JSONValue;
1431
+ } | null;
1432
+ id: string;
1429
1433
  createdAt: string;
1430
1434
  updatedAt: string;
1431
- id: string;
1432
- active: boolean;
1435
+ slug: string;
1433
1436
  code: string | null;
1437
+ active: boolean;
1434
1438
  sortOrder: number;
1435
- slug: string;
1436
- metadata: {
1437
- [x: string]: import("hono/utils/types").JSONValue;
1438
- } | null;
1439
1439
  parentId: string | null;
1440
1440
  destinationType: string;
1441
1441
  } | null;
@@ -1554,11 +1554,11 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
1554
1554
  };
1555
1555
  output: {
1556
1556
  data: {
1557
+ id: string;
1557
1558
  name: string;
1558
1559
  createdAt: string;
1559
1560
  updatedAt: string;
1560
1561
  description: string | null;
1561
- id: string;
1562
1562
  languageTag: string;
1563
1563
  seoTitle: string | null;
1564
1564
  seoDescription: string | null;
@@ -1675,9 +1675,9 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
1675
1675
  };
1676
1676
  output: {
1677
1677
  data: {
1678
- productId: string;
1679
1678
  createdAt: string;
1680
1679
  updatedAt: string;
1680
+ productId: string;
1681
1681
  sortOrder: number;
1682
1682
  destinationId: string;
1683
1683
  };
@@ -1803,14 +1803,14 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
1803
1803
  };
1804
1804
  output: {
1805
1805
  data: {
1806
- productId: string;
1806
+ id: string;
1807
1807
  name: string;
1808
1808
  createdAt: string;
1809
1809
  updatedAt: string;
1810
- description: string | null;
1811
- id: string;
1812
1810
  status: "draft" | "active" | "archived";
1811
+ description: string | null;
1813
1812
  code: string | null;
1813
+ productId: string;
1814
1814
  isDefault: boolean;
1815
1815
  sortOrder: number;
1816
1816
  availableFrom: string | null;
@@ -1897,7 +1897,7 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
1897
1897
  name: string;
1898
1898
  code: string | null;
1899
1899
  description: string | null;
1900
- unitType: "person" | "group" | "room" | "vehicle" | "service" | "other";
1900
+ unitType: "service" | "other" | "person" | "group" | "room" | "vehicle";
1901
1901
  minQuantity: number | null;
1902
1902
  maxQuantity: number | null;
1903
1903
  minAge: number | null;
@@ -1944,7 +1944,7 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
1944
1944
  name: string;
1945
1945
  code: string | null;
1946
1946
  description: string | null;
1947
- unitType: "person" | "group" | "room" | "vehicle" | "service" | "other";
1947
+ unitType: "service" | "other" | "person" | "group" | "room" | "vehicle";
1948
1948
  minQuantity: number | null;
1949
1949
  maxQuantity: number | null;
1950
1950
  minAge: number | null;
@@ -1983,15 +1983,15 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
1983
1983
  };
1984
1984
  output: {
1985
1985
  data: {
1986
+ id: string;
1986
1987
  name: string;
1987
- optionId: string;
1988
1988
  createdAt: string;
1989
1989
  updatedAt: string;
1990
1990
  description: string | null;
1991
- id: string;
1992
1991
  code: string | null;
1992
+ optionId: string;
1993
1993
  sortOrder: number;
1994
- unitType: "person" | "group" | "room" | "vehicle" | "service" | "other";
1994
+ unitType: "service" | "other" | "person" | "group" | "room" | "vehicle";
1995
1995
  minQuantity: number | null;
1996
1996
  maxQuantity: number | null;
1997
1997
  minAge: number | null;
@@ -2032,7 +2032,7 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
2032
2032
  name: string;
2033
2033
  code: string | null;
2034
2034
  description: string | null;
2035
- unitType: "person" | "group" | "room" | "vehicle" | "service" | "other";
2035
+ unitType: "service" | "other" | "person" | "group" | "room" | "vehicle";
2036
2036
  minQuantity: number | null;
2037
2037
  maxQuantity: number | null;
2038
2038
  minAge: number | null;
@@ -2161,14 +2161,14 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
2161
2161
  };
2162
2162
  output: {
2163
2163
  data: {
2164
- productId: string;
2164
+ id: string;
2165
2165
  name: string;
2166
2166
  createdAt: string;
2167
2167
  updatedAt: string;
2168
+ slug: string | null;
2168
2169
  description: string | null;
2169
- id: string;
2170
+ productId: string;
2170
2171
  languageTag: string;
2171
- slug: string | null;
2172
2172
  shortDescription: string | null;
2173
2173
  seoTitle: string | null;
2174
2174
  seoDescription: string | null;
@@ -2321,12 +2321,12 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
2321
2321
  };
2322
2322
  output: {
2323
2323
  data: {
2324
+ id: string;
2324
2325
  name: string;
2325
- optionId: string;
2326
2326
  createdAt: string;
2327
2327
  updatedAt: string;
2328
2328
  description: string | null;
2329
- id: string;
2329
+ optionId: string;
2330
2330
  languageTag: string;
2331
2331
  shortDescription: string | null;
2332
2332
  };
@@ -2475,12 +2475,12 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
2475
2475
  };
2476
2476
  output: {
2477
2477
  data: {
2478
+ id: string;
2478
2479
  name: string;
2479
2480
  createdAt: string;
2480
2481
  updatedAt: string;
2481
- unitId: string;
2482
2482
  description: string | null;
2483
- id: string;
2483
+ unitId: string;
2484
2484
  languageTag: string;
2485
2485
  shortDescription: string | null;
2486
2486
  };
@@ -2620,17 +2620,17 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
2620
2620
  input: {};
2621
2621
  output: {
2622
2622
  data: {
2623
+ metadata: {
2624
+ [x: string]: import("hono/utils/types").JSONValue;
2625
+ } | null;
2626
+ id: string;
2623
2627
  name: string;
2624
2628
  createdAt: string;
2625
2629
  updatedAt: string;
2626
2630
  description: string | null;
2627
- id: string;
2628
- active: boolean;
2629
2631
  code: string;
2632
+ active: boolean;
2630
2633
  sortOrder: number;
2631
- metadata: {
2632
- [x: string]: import("hono/utils/types").JSONValue;
2633
- } | null;
2634
2634
  } | undefined;
2635
2635
  };
2636
2636
  outputFormat: "json";
@@ -2773,17 +2773,17 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
2773
2773
  input: {};
2774
2774
  output: {
2775
2775
  data: {
2776
+ metadata: {
2777
+ [x: string]: import("hono/utils/types").JSONValue;
2778
+ } | null;
2779
+ id: string;
2776
2780
  name: string;
2777
2781
  createdAt: string;
2778
2782
  updatedAt: string;
2783
+ slug: string;
2779
2784
  description: string | null;
2780
- id: string;
2781
2785
  active: boolean;
2782
2786
  sortOrder: number;
2783
- slug: string;
2784
- metadata: {
2785
- [x: string]: import("hono/utils/types").JSONValue;
2786
- } | null;
2787
2787
  parentId: string | null;
2788
2788
  } | undefined;
2789
2789
  };
@@ -2912,10 +2912,10 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
2912
2912
  input: {};
2913
2913
  output: {
2914
2914
  data: {
2915
+ id: string;
2915
2916
  name: string;
2916
2917
  createdAt: string;
2917
2918
  updatedAt: string;
2918
- id: string;
2919
2919
  } | undefined;
2920
2920
  };
2921
2921
  outputFormat: "json";
@@ -3143,11 +3143,11 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
3143
3143
  };
3144
3144
  output: {
3145
3145
  data: {
3146
- productId: string;
3146
+ id: string;
3147
3147
  name: string;
3148
3148
  createdAt: string;
3149
3149
  updatedAt: string;
3150
- id: string;
3150
+ productId: string;
3151
3151
  sortOrder: number;
3152
3152
  dayId: string | null;
3153
3153
  mediaType: "image" | "video" | "document";
@@ -3264,11 +3264,11 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
3264
3264
  };
3265
3265
  output: {
3266
3266
  data: {
3267
- productId: string;
3267
+ id: string;
3268
3268
  name: string;
3269
3269
  createdAt: string;
3270
3270
  updatedAt: string;
3271
- id: string;
3271
+ productId: string;
3272
3272
  sortOrder: number;
3273
3273
  dayId: string | null;
3274
3274
  mediaType: "image" | "video" | "document";
@@ -3308,11 +3308,11 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
3308
3308
  };
3309
3309
  output: {
3310
3310
  data: {
3311
- productId: string;
3311
+ id: string;
3312
3312
  name: string;
3313
3313
  createdAt: string;
3314
3314
  updatedAt: string;
3315
- id: string;
3315
+ productId: string;
3316
3316
  sortOrder: number;
3317
3317
  dayId: string | null;
3318
3318
  mediaType: "image" | "video" | "document";
@@ -3404,11 +3404,11 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
3404
3404
  };
3405
3405
  output: {
3406
3406
  data: {
3407
- productId: string;
3407
+ id: string;
3408
3408
  name: string;
3409
3409
  createdAt: string;
3410
3410
  updatedAt: string;
3411
- id: string;
3411
+ productId: string;
3412
3412
  sortOrder: number;
3413
3413
  dayId: string | null;
3414
3414
  mediaType: "image" | "video" | "document";
@@ -3596,13 +3596,13 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
3596
3596
  };
3597
3597
  output: {
3598
3598
  data: {
3599
- productId: string;
3599
+ id: string;
3600
3600
  createdAt: string;
3601
3601
  updatedAt: string;
3602
3602
  description: string | null;
3603
- id: string;
3604
- dayNumber: number;
3603
+ productId: string;
3605
3604
  title: string | null;
3605
+ dayNumber: number;
3606
3606
  location: string | null;
3607
3607
  };
3608
3608
  };
@@ -3734,18 +3734,18 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
3734
3734
  };
3735
3735
  output: {
3736
3736
  data: {
3737
+ id: string;
3737
3738
  name: string;
3738
3739
  createdAt: string;
3739
- supplierServiceId: string | null;
3740
+ notes: string | null;
3740
3741
  description: string | null;
3741
- id: string;
3742
+ supplierServiceId: string | null;
3742
3743
  costAmountCents: number;
3743
3744
  sortOrder: number | null;
3744
3745
  dayId: string;
3745
3746
  serviceType: "other" | "transfer" | "accommodation" | "experience" | "guide" | "meal";
3746
3747
  costCurrency: string;
3747
3748
  quantity: number;
3748
- notes: string | null;
3749
3749
  };
3750
3750
  };
3751
3751
  outputFormat: "json";
@@ -3859,17 +3859,6 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
3859
3859
  } & {
3860
3860
  "/:id/versions": {
3861
3861
  $post: {
3862
- input: {
3863
- param: {
3864
- id: string;
3865
- };
3866
- };
3867
- output: {
3868
- error: string;
3869
- };
3870
- outputFormat: "json";
3871
- status: 400;
3872
- } | {
3873
3862
  input: {
3874
3863
  param: {
3875
3864
  id: string;
@@ -3888,10 +3877,10 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
3888
3877
  };
3889
3878
  output: {
3890
3879
  data: {
3891
- productId: string;
3892
- createdAt: string;
3893
3880
  id: string;
3881
+ createdAt: string;
3894
3882
  notes: string | null;
3883
+ productId: string;
3895
3884
  versionNumber: number;
3896
3885
  snapshot: import("hono/utils/types").JSONValue;
3897
3886
  authorId: string;
@@ -3925,17 +3914,6 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
3925
3914
  } & {
3926
3915
  "/:id/notes": {
3927
3916
  $post: {
3928
- input: {
3929
- param: {
3930
- id: string;
3931
- };
3932
- };
3933
- output: {
3934
- error: string;
3935
- };
3936
- outputFormat: "json";
3937
- status: 400;
3938
- } | {
3939
3917
  input: {
3940
3918
  param: {
3941
3919
  id: string;
@@ -3954,9 +3932,9 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
3954
3932
  };
3955
3933
  output: {
3956
3934
  data: {
3957
- productId: string;
3958
- createdAt: string;
3959
3935
  id: string;
3936
+ createdAt: string;
3937
+ productId: string;
3960
3938
  authorId: string;
3961
3939
  content: string;
3962
3940
  };
@@ -4182,11 +4160,11 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
4182
4160
  };
4183
4161
  output: {
4184
4162
  data: {
4185
- productId: string;
4163
+ id: string;
4186
4164
  name: string;
4187
4165
  createdAt: string;
4188
4166
  updatedAt: string;
4189
- id: string;
4167
+ productId: string;
4190
4168
  sortOrder: number;
4191
4169
  dayId: string | null;
4192
4170
  mediaType: "image" | "video" | "document";
@@ -4285,11 +4263,11 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
4285
4263
  };
4286
4264
  output: {
4287
4265
  data: {
4288
- productId: string;
4266
+ id: string;
4289
4267
  name: string;
4290
4268
  createdAt: string;
4291
4269
  updatedAt: string;
4292
- id: string;
4270
+ productId: string;
4293
4271
  sortOrder: number;
4294
4272
  dayId: string | null;
4295
4273
  mediaType: "image" | "video" | "document";
@@ -1 +1 @@
1
- {"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../src/routes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AA6EjE,KAAK,GAAG,GAAG;IACT,SAAS,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