@voyantjs/products 0.52.2 → 0.52.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.
- package/dist/action-ledger-drift.d.ts +29 -0
- package/dist/action-ledger-drift.d.ts.map +1 -0
- package/dist/action-ledger-drift.js +335 -0
- package/dist/action-ledger.d.ts +104 -0
- package/dist/action-ledger.d.ts.map +1 -0
- package/dist/action-ledger.js +100 -0
- package/dist/booking-extension.d.ts +3 -3
- package/dist/events.d.ts +1 -1
- package/dist/events.d.ts.map +1 -1
- package/dist/route-env.d.ts +22 -0
- package/dist/route-env.d.ts.map +1 -0
- package/dist/route-env.js +1 -0
- package/dist/routes-associations.d.ts +164 -0
- package/dist/routes-associations.d.ts.map +1 -0
- package/dist/routes-associations.js +100 -0
- package/dist/routes-catalog.d.ts +436 -0
- package/dist/routes-catalog.d.ts.map +1 -0
- package/dist/routes-catalog.js +104 -0
- package/dist/routes-configuration.d.ts +773 -0
- package/dist/routes-configuration.d.ts.map +1 -0
- package/dist/routes-configuration.js +364 -0
- package/dist/routes-core.d.ts +302 -0
- package/dist/routes-core.d.ts.map +1 -0
- package/dist/routes-core.js +79 -0
- package/dist/routes-itinerary.d.ts +614 -0
- package/dist/routes-itinerary.d.ts.map +1 -0
- package/dist/routes-itinerary.js +309 -0
- package/dist/routes-maintenance.d.ts +32 -0
- package/dist/routes-maintenance.d.ts.map +1 -0
- package/dist/routes-maintenance.js +14 -0
- package/dist/routes-media.d.ts +634 -0
- package/dist/routes-media.d.ts.map +1 -0
- package/dist/routes-media.js +245 -0
- package/dist/routes-merchandising.d.ts +1108 -0
- package/dist/routes-merchandising.d.ts.map +1 -0
- package/dist/routes-merchandising.js +376 -0
- package/dist/routes-options.d.ts +363 -0
- package/dist/routes-options.d.ts.map +1 -0
- package/dist/routes-options.js +173 -0
- package/dist/routes-public.d.ts +4 -4
- package/dist/routes-translations.d.ts +477 -0
- package/dist/routes-translations.d.ts.map +1 -0
- package/dist/routes-translations.js +258 -0
- package/dist/routes.d.ts +417 -355
- package/dist/routes.d.ts.map +1 -1
- package/dist/routes.js +21 -1133
- package/dist/schema-core.d.ts +3 -3
- package/dist/schema-itinerary.d.ts +1 -1
- package/dist/schema-settings.d.ts +4 -4
- package/dist/service-catalog.d.ts +2 -2
- package/dist/service-public.d.ts +4 -4
- package/dist/service.d.ts +225 -97
- package/dist/service.d.ts.map +1 -1
- package/dist/service.js +91 -0
- package/dist/tasks/brochures.d.ts +1 -1
- package/dist/validation-catalog.d.ts +10 -10
- package/dist/validation-config.d.ts +17 -17
- package/dist/validation-content.d.ts +26 -26
- package/dist/validation-core.d.ts +21 -21
- package/dist/validation-public.d.ts +25 -25
- package/dist/validation-shared.d.ts +11 -11
- package/package.json +13 -7
package/dist/service.d.ts
CHANGED
|
@@ -85,7 +85,7 @@ export declare const productsService: {
|
|
|
85
85
|
data: {
|
|
86
86
|
id: string;
|
|
87
87
|
name: string;
|
|
88
|
-
status: "
|
|
88
|
+
status: "draft" | "active" | "archived";
|
|
89
89
|
description: string | null;
|
|
90
90
|
bookingMode: "date" | "other" | "date_time" | "open" | "stay" | "transfer" | "itinerary";
|
|
91
91
|
capacityMode: "free_sale" | "limited" | "on_request";
|
|
@@ -116,7 +116,7 @@ export declare const productsService: {
|
|
|
116
116
|
getProductById(db: PostgresJsDatabase, id: string): Promise<{
|
|
117
117
|
id: string;
|
|
118
118
|
name: string;
|
|
119
|
-
status: "
|
|
119
|
+
status: "draft" | "active" | "archived";
|
|
120
120
|
description: string | null;
|
|
121
121
|
bookingMode: "date" | "other" | "date_time" | "open" | "stay" | "transfer" | "itinerary";
|
|
122
122
|
capacityMode: "free_sale" | "limited" | "on_request";
|
|
@@ -143,34 +143,34 @@ export declare const productsService: {
|
|
|
143
143
|
createProduct(db: PostgresJsDatabase, data: CreateProductInput): Promise<{
|
|
144
144
|
name: string;
|
|
145
145
|
id: string;
|
|
146
|
-
createdAt: Date;
|
|
147
|
-
updatedAt: Date;
|
|
148
|
-
status: "active" | "draft" | "archived";
|
|
149
|
-
startDate: string | null;
|
|
150
|
-
endDate: string | null;
|
|
151
|
-
timezone: string | null;
|
|
152
146
|
description: string | null;
|
|
153
|
-
|
|
147
|
+
status: "draft" | "active" | "archived";
|
|
148
|
+
createdAt: Date;
|
|
154
149
|
bookingMode: "date" | "other" | "date_time" | "open" | "stay" | "transfer" | "itinerary";
|
|
155
150
|
capacityMode: "free_sale" | "limited" | "on_request";
|
|
151
|
+
timezone: string | null;
|
|
152
|
+
visibility: "public" | "private" | "hidden";
|
|
156
153
|
activated: boolean;
|
|
157
|
-
productTypeId: string | null;
|
|
158
|
-
facilityId: string | null;
|
|
159
|
-
supplierId: string | null;
|
|
160
|
-
pax: number | null;
|
|
161
154
|
reservationTimeoutMinutes: number | null;
|
|
162
|
-
sellAmountCents: number | null;
|
|
163
155
|
sellCurrency: string;
|
|
156
|
+
sellAmountCents: number | null;
|
|
164
157
|
costAmountCents: number | null;
|
|
165
158
|
marginPercent: number | null;
|
|
166
|
-
|
|
159
|
+
facilityId: string | null;
|
|
160
|
+
supplierId: string | null;
|
|
161
|
+
startDate: string | null;
|
|
162
|
+
endDate: string | null;
|
|
163
|
+
pax: number | null;
|
|
164
|
+
productTypeId: string | null;
|
|
167
165
|
taxClassId: string | null;
|
|
168
166
|
customerPaymentPolicy: unknown;
|
|
167
|
+
tags: string[] | null;
|
|
168
|
+
updatedAt: Date;
|
|
169
169
|
}>;
|
|
170
170
|
updateProduct(db: PostgresJsDatabase, id: string, data: UpdateProductInput): Promise<{
|
|
171
171
|
id: string;
|
|
172
172
|
name: string;
|
|
173
|
-
status: "
|
|
173
|
+
status: "draft" | "active" | "archived";
|
|
174
174
|
description: string | null;
|
|
175
175
|
bookingMode: "date" | "other" | "date_time" | "open" | "stay" | "transfer" | "itinerary";
|
|
176
176
|
capacityMode: "free_sale" | "limited" | "on_request";
|
|
@@ -224,6 +224,17 @@ export declare const productsService: {
|
|
|
224
224
|
createdAt: Date;
|
|
225
225
|
updatedAt: Date;
|
|
226
226
|
} | null>;
|
|
227
|
+
getActivationSettingByProductId(db: PostgresJsDatabase, productId: string): Promise<{
|
|
228
|
+
id: string;
|
|
229
|
+
productId: string;
|
|
230
|
+
activationMode: "manual" | "scheduled" | "channel_controlled";
|
|
231
|
+
activateAt: Date | null;
|
|
232
|
+
deactivateAt: Date | null;
|
|
233
|
+
sellAt: Date | null;
|
|
234
|
+
stopSellAt: Date | null;
|
|
235
|
+
createdAt: Date;
|
|
236
|
+
updatedAt: Date;
|
|
237
|
+
} | null>;
|
|
227
238
|
upsertActivationSetting(db: PostgresJsDatabase, productId: string, data: CreateProductActivationSettingInput): Promise<{
|
|
228
239
|
id: string;
|
|
229
240
|
createdAt: Date;
|
|
@@ -254,7 +265,7 @@ export declare const productsService: {
|
|
|
254
265
|
id: string;
|
|
255
266
|
productId: string;
|
|
256
267
|
fulfillmentMode: "none" | "per_booking" | "per_participant" | "per_item";
|
|
257
|
-
defaultDeliveryFormat: "
|
|
268
|
+
defaultDeliveryFormat: "none" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "email" | "mobile";
|
|
258
269
|
ticketPerUnit: boolean;
|
|
259
270
|
barcodeFormat: string | null;
|
|
260
271
|
voucherMessage: string | null;
|
|
@@ -270,7 +281,19 @@ export declare const productsService: {
|
|
|
270
281
|
id: string;
|
|
271
282
|
productId: string;
|
|
272
283
|
fulfillmentMode: "none" | "per_booking" | "per_participant" | "per_item";
|
|
273
|
-
defaultDeliveryFormat: "
|
|
284
|
+
defaultDeliveryFormat: "none" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "email" | "mobile";
|
|
285
|
+
ticketPerUnit: boolean;
|
|
286
|
+
barcodeFormat: string | null;
|
|
287
|
+
voucherMessage: string | null;
|
|
288
|
+
ticketMessage: string | null;
|
|
289
|
+
createdAt: Date;
|
|
290
|
+
updatedAt: Date;
|
|
291
|
+
} | null>;
|
|
292
|
+
getTicketSettingByProductId(db: PostgresJsDatabase, productId: string): Promise<{
|
|
293
|
+
id: string;
|
|
294
|
+
productId: string;
|
|
295
|
+
fulfillmentMode: "none" | "per_booking" | "per_participant" | "per_item";
|
|
296
|
+
defaultDeliveryFormat: "none" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "email" | "mobile";
|
|
274
297
|
ticketPerUnit: boolean;
|
|
275
298
|
barcodeFormat: string | null;
|
|
276
299
|
voucherMessage: string | null;
|
|
@@ -284,7 +307,7 @@ export declare const productsService: {
|
|
|
284
307
|
updatedAt: Date;
|
|
285
308
|
productId: string;
|
|
286
309
|
fulfillmentMode: "none" | "per_booking" | "per_participant" | "per_item";
|
|
287
|
-
defaultDeliveryFormat: "
|
|
310
|
+
defaultDeliveryFormat: "none" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "email" | "mobile";
|
|
288
311
|
ticketPerUnit: boolean;
|
|
289
312
|
barcodeFormat: string | null;
|
|
290
313
|
voucherMessage: string | null;
|
|
@@ -294,7 +317,7 @@ export declare const productsService: {
|
|
|
294
317
|
id: string;
|
|
295
318
|
productId: string;
|
|
296
319
|
fulfillmentMode: "none" | "per_booking" | "per_participant" | "per_item";
|
|
297
|
-
defaultDeliveryFormat: "
|
|
320
|
+
defaultDeliveryFormat: "none" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "email" | "mobile";
|
|
298
321
|
ticketPerUnit: boolean;
|
|
299
322
|
barcodeFormat: string | null;
|
|
300
323
|
voucherMessage: string | null;
|
|
@@ -330,6 +353,16 @@ export declare const productsService: {
|
|
|
330
353
|
createdAt: Date;
|
|
331
354
|
updatedAt: Date;
|
|
332
355
|
} | null>;
|
|
356
|
+
getVisibilitySettingByProductId(db: PostgresJsDatabase, productId: string): Promise<{
|
|
357
|
+
id: string;
|
|
358
|
+
productId: string;
|
|
359
|
+
isSearchable: boolean;
|
|
360
|
+
isBookable: boolean;
|
|
361
|
+
isFeatured: boolean;
|
|
362
|
+
requiresAuthentication: boolean;
|
|
363
|
+
createdAt: Date;
|
|
364
|
+
updatedAt: Date;
|
|
365
|
+
} | null>;
|
|
333
366
|
upsertVisibilitySetting(db: PostgresJsDatabase, productId: string, data: CreateProductVisibilitySettingInput): Promise<{
|
|
334
367
|
id: string;
|
|
335
368
|
createdAt: Date;
|
|
@@ -357,7 +390,7 @@ export declare const productsService: {
|
|
|
357
390
|
data: {
|
|
358
391
|
id: string;
|
|
359
392
|
productId: string;
|
|
360
|
-
capability: "
|
|
393
|
+
capability: "on_request" | "private" | "instant_confirmation" | "pickup_available" | "dropoff_available" | "guided" | "shared" | "digital_ticket" | "voucher_required" | "external_inventory" | "multi_day" | "accommodation" | "transport";
|
|
361
394
|
enabled: boolean;
|
|
362
395
|
notes: string | null;
|
|
363
396
|
createdAt: Date;
|
|
@@ -370,25 +403,34 @@ export declare const productsService: {
|
|
|
370
403
|
getCapabilityById(db: PostgresJsDatabase, id: string): Promise<{
|
|
371
404
|
id: string;
|
|
372
405
|
productId: string;
|
|
373
|
-
capability: "
|
|
406
|
+
capability: "on_request" | "private" | "instant_confirmation" | "pickup_available" | "dropoff_available" | "guided" | "shared" | "digital_ticket" | "voucher_required" | "external_inventory" | "multi_day" | "accommodation" | "transport";
|
|
374
407
|
enabled: boolean;
|
|
375
408
|
notes: string | null;
|
|
376
409
|
createdAt: Date;
|
|
377
410
|
updatedAt: Date;
|
|
378
411
|
} | null>;
|
|
379
|
-
|
|
412
|
+
getCapabilityByProductAndName(db: PostgresJsDatabase, productId: string, capability: CreateProductCapabilityInput["capability"]): Promise<{
|
|
413
|
+
id: string;
|
|
414
|
+
productId: string;
|
|
415
|
+
capability: "on_request" | "private" | "instant_confirmation" | "pickup_available" | "dropoff_available" | "guided" | "shared" | "digital_ticket" | "voucher_required" | "external_inventory" | "multi_day" | "accommodation" | "transport";
|
|
380
416
|
enabled: boolean;
|
|
417
|
+
notes: string | null;
|
|
418
|
+
createdAt: Date;
|
|
419
|
+
updatedAt: Date;
|
|
420
|
+
} | null>;
|
|
421
|
+
createCapability(db: PostgresJsDatabase, productId: string, data: CreateProductCapabilityInput): Promise<{
|
|
381
422
|
id: string;
|
|
382
423
|
createdAt: Date;
|
|
383
424
|
updatedAt: Date;
|
|
384
|
-
notes: string | null;
|
|
385
425
|
productId: string;
|
|
386
|
-
|
|
426
|
+
notes: string | null;
|
|
427
|
+
capability: "on_request" | "private" | "instant_confirmation" | "pickup_available" | "dropoff_available" | "guided" | "shared" | "digital_ticket" | "voucher_required" | "external_inventory" | "multi_day" | "accommodation" | "transport";
|
|
428
|
+
enabled: boolean;
|
|
387
429
|
} | null>;
|
|
388
430
|
updateCapability(db: PostgresJsDatabase, id: string, data: UpdateProductCapabilityInput): Promise<{
|
|
389
431
|
id: string;
|
|
390
432
|
productId: string;
|
|
391
|
-
capability: "
|
|
433
|
+
capability: "on_request" | "private" | "instant_confirmation" | "pickup_available" | "dropoff_available" | "guided" | "shared" | "digital_ticket" | "voucher_required" | "external_inventory" | "multi_day" | "accommodation" | "transport";
|
|
392
434
|
enabled: boolean;
|
|
393
435
|
notes: string | null;
|
|
394
436
|
createdAt: Date;
|
|
@@ -401,7 +443,7 @@ export declare const productsService: {
|
|
|
401
443
|
data: {
|
|
402
444
|
id: string;
|
|
403
445
|
productId: string;
|
|
404
|
-
format: "
|
|
446
|
+
format: "none" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "email" | "mobile";
|
|
405
447
|
isDefault: boolean;
|
|
406
448
|
createdAt: Date;
|
|
407
449
|
updatedAt: Date;
|
|
@@ -413,23 +455,31 @@ export declare const productsService: {
|
|
|
413
455
|
getDeliveryFormatById(db: PostgresJsDatabase, id: string): Promise<{
|
|
414
456
|
id: string;
|
|
415
457
|
productId: string;
|
|
416
|
-
format: "
|
|
458
|
+
format: "none" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "email" | "mobile";
|
|
459
|
+
isDefault: boolean;
|
|
460
|
+
createdAt: Date;
|
|
461
|
+
updatedAt: Date;
|
|
462
|
+
} | null>;
|
|
463
|
+
getDeliveryFormatByProductAndFormat(db: PostgresJsDatabase, productId: string, format: CreateProductDeliveryFormatInput["format"]): Promise<{
|
|
464
|
+
id: string;
|
|
465
|
+
productId: string;
|
|
466
|
+
format: "none" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "email" | "mobile";
|
|
417
467
|
isDefault: boolean;
|
|
418
468
|
createdAt: Date;
|
|
419
469
|
updatedAt: Date;
|
|
420
470
|
} | null>;
|
|
421
471
|
createDeliveryFormat(db: PostgresJsDatabase, productId: string, data: CreateProductDeliveryFormatInput): Promise<{
|
|
472
|
+
format: "none" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "email" | "mobile";
|
|
422
473
|
id: string;
|
|
423
474
|
createdAt: Date;
|
|
424
475
|
updatedAt: Date;
|
|
425
|
-
format: "email" | "none" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
426
476
|
productId: string;
|
|
427
477
|
isDefault: boolean;
|
|
428
478
|
} | null>;
|
|
429
479
|
updateDeliveryFormat(db: PostgresJsDatabase, id: string, data: UpdateProductDeliveryFormatInput): Promise<{
|
|
430
480
|
id: string;
|
|
431
481
|
productId: string;
|
|
432
|
-
format: "
|
|
482
|
+
format: "none" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "email" | "mobile";
|
|
433
483
|
isDefault: boolean;
|
|
434
484
|
createdAt: Date;
|
|
435
485
|
updatedAt: Date;
|
|
@@ -464,12 +514,12 @@ export declare const productsService: {
|
|
|
464
514
|
} | null>;
|
|
465
515
|
createFeature(db: PostgresJsDatabase, productId: string, data: CreateProductFeatureInput): Promise<{
|
|
466
516
|
id: string;
|
|
517
|
+
description: string | null;
|
|
467
518
|
createdAt: Date;
|
|
468
519
|
updatedAt: Date;
|
|
469
|
-
description: string | null;
|
|
470
520
|
productId: string;
|
|
471
|
-
title: string;
|
|
472
521
|
sortOrder: number;
|
|
522
|
+
title: string;
|
|
473
523
|
featureType: "other" | "inclusion" | "exclusion" | "highlight" | "important_information";
|
|
474
524
|
} | null>;
|
|
475
525
|
updateFeature(db: PostgresJsDatabase, id: string, data: UpdateProductFeatureInput): Promise<{
|
|
@@ -533,7 +583,7 @@ export declare const productsService: {
|
|
|
533
583
|
data: {
|
|
534
584
|
id: string;
|
|
535
585
|
productId: string;
|
|
536
|
-
locationType: "
|
|
586
|
+
locationType: "end" | "other" | "start" | "meeting_point" | "pickup" | "dropoff" | "point_of_interest";
|
|
537
587
|
title: string;
|
|
538
588
|
address: string | null;
|
|
539
589
|
city: string | null;
|
|
@@ -554,7 +604,7 @@ export declare const productsService: {
|
|
|
554
604
|
getLocationById(db: PostgresJsDatabase, id: string): Promise<{
|
|
555
605
|
id: string;
|
|
556
606
|
productId: string;
|
|
557
|
-
locationType: "
|
|
607
|
+
locationType: "end" | "other" | "start" | "meeting_point" | "pickup" | "dropoff" | "point_of_interest";
|
|
558
608
|
title: string;
|
|
559
609
|
address: string | null;
|
|
560
610
|
city: string | null;
|
|
@@ -573,14 +623,14 @@ export declare const productsService: {
|
|
|
573
623
|
createdAt: Date;
|
|
574
624
|
updatedAt: Date;
|
|
575
625
|
productId: string;
|
|
626
|
+
sortOrder: number;
|
|
576
627
|
title: string;
|
|
628
|
+
countryCode: string | null;
|
|
629
|
+
locationType: "end" | "other" | "start" | "meeting_point" | "pickup" | "dropoff" | "point_of_interest";
|
|
630
|
+
address: string | null;
|
|
631
|
+
city: string | null;
|
|
577
632
|
latitude: number | null;
|
|
578
633
|
longitude: number | null;
|
|
579
|
-
city: string | null;
|
|
580
|
-
address: string | null;
|
|
581
|
-
sortOrder: number;
|
|
582
|
-
countryCode: string | null;
|
|
583
|
-
locationType: "start" | "other" | "end" | "meeting_point" | "pickup" | "dropoff" | "point_of_interest";
|
|
584
634
|
googlePlaceId: string | null;
|
|
585
635
|
applePlaceId: string | null;
|
|
586
636
|
tripadvisorLocationId: string | null;
|
|
@@ -588,7 +638,7 @@ export declare const productsService: {
|
|
|
588
638
|
updateLocation(db: PostgresJsDatabase, id: string, data: UpdateProductLocationInput): Promise<{
|
|
589
639
|
id: string;
|
|
590
640
|
productId: string;
|
|
591
|
-
locationType: "
|
|
641
|
+
locationType: "end" | "other" | "start" | "meeting_point" | "pickup" | "dropoff" | "point_of_interest";
|
|
592
642
|
title: string;
|
|
593
643
|
address: string | null;
|
|
594
644
|
city: string | null;
|
|
@@ -657,14 +707,14 @@ export declare const productsService: {
|
|
|
657
707
|
updatedAt: Date;
|
|
658
708
|
} | null>;
|
|
659
709
|
createDestination(db: PostgresJsDatabase, data: CreateDestinationInput): Promise<{
|
|
660
|
-
metadata: Record<string, unknown> | null;
|
|
661
710
|
id: string;
|
|
662
711
|
createdAt: Date;
|
|
712
|
+
active: boolean;
|
|
663
713
|
updatedAt: Date;
|
|
664
|
-
slug: string;
|
|
665
714
|
code: string | null;
|
|
666
|
-
active: boolean;
|
|
667
715
|
sortOrder: number;
|
|
716
|
+
slug: string;
|
|
717
|
+
metadata: Record<string, unknown> | null;
|
|
668
718
|
parentId: string | null;
|
|
669
719
|
destinationType: string;
|
|
670
720
|
} | null>;
|
|
@@ -702,9 +752,9 @@ export declare const productsService: {
|
|
|
702
752
|
upsertDestinationTranslation(db: PostgresJsDatabase, destinationId: string, data: CreateDestinationTranslationInput): Promise<{
|
|
703
753
|
name: string;
|
|
704
754
|
id: string;
|
|
755
|
+
description: string | null;
|
|
705
756
|
createdAt: Date;
|
|
706
757
|
updatedAt: Date;
|
|
707
|
-
description: string | null;
|
|
708
758
|
languageTag: string;
|
|
709
759
|
seoTitle: string | null;
|
|
710
760
|
seoDescription: string | null;
|
|
@@ -743,9 +793,9 @@ export declare const productsService: {
|
|
|
743
793
|
upsertProductCategoryTranslation(db: PostgresJsDatabase, categoryId: string, data: CreateProductCategoryTranslationInput): Promise<{
|
|
744
794
|
name: string;
|
|
745
795
|
id: string;
|
|
796
|
+
description: string | null;
|
|
746
797
|
createdAt: Date;
|
|
747
798
|
updatedAt: Date;
|
|
748
|
-
description: string | null;
|
|
749
799
|
languageTag: string;
|
|
750
800
|
seoTitle: string | null;
|
|
751
801
|
seoDescription: string | null;
|
|
@@ -833,7 +883,7 @@ export declare const productsService: {
|
|
|
833
883
|
name: string;
|
|
834
884
|
code: string | null;
|
|
835
885
|
description: string | null;
|
|
836
|
-
status: "
|
|
886
|
+
status: "draft" | "active" | "archived";
|
|
837
887
|
isDefault: boolean;
|
|
838
888
|
sortOrder: number;
|
|
839
889
|
availableFrom: string | null;
|
|
@@ -851,7 +901,7 @@ export declare const productsService: {
|
|
|
851
901
|
name: string;
|
|
852
902
|
code: string | null;
|
|
853
903
|
description: string | null;
|
|
854
|
-
status: "
|
|
904
|
+
status: "draft" | "active" | "archived";
|
|
855
905
|
isDefault: boolean;
|
|
856
906
|
sortOrder: number;
|
|
857
907
|
availableFrom: string | null;
|
|
@@ -862,12 +912,12 @@ export declare const productsService: {
|
|
|
862
912
|
createOption(db: PostgresJsDatabase, productId: string, data: CreateProductOptionInput): Promise<{
|
|
863
913
|
name: string;
|
|
864
914
|
id: string;
|
|
915
|
+
description: string | null;
|
|
916
|
+
status: "draft" | "active" | "archived";
|
|
865
917
|
createdAt: Date;
|
|
866
918
|
updatedAt: Date;
|
|
867
|
-
status: "active" | "draft" | "archived";
|
|
868
|
-
description: string | null;
|
|
869
|
-
code: string | null;
|
|
870
919
|
productId: string;
|
|
920
|
+
code: string | null;
|
|
871
921
|
isDefault: boolean;
|
|
872
922
|
sortOrder: number;
|
|
873
923
|
availableFrom: string | null;
|
|
@@ -879,7 +929,7 @@ export declare const productsService: {
|
|
|
879
929
|
name: string;
|
|
880
930
|
code: string | null;
|
|
881
931
|
description: string | null;
|
|
882
|
-
status: "
|
|
932
|
+
status: "draft" | "active" | "archived";
|
|
883
933
|
isDefault: boolean;
|
|
884
934
|
sortOrder: number;
|
|
885
935
|
availableFrom: string | null;
|
|
@@ -897,7 +947,7 @@ export declare const productsService: {
|
|
|
897
947
|
name: string;
|
|
898
948
|
code: string | null;
|
|
899
949
|
description: string | null;
|
|
900
|
-
unitType: "
|
|
950
|
+
unitType: "person" | "group" | "room" | "vehicle" | "service" | "other";
|
|
901
951
|
minQuantity: number | null;
|
|
902
952
|
maxQuantity: number | null;
|
|
903
953
|
minAge: number | null;
|
|
@@ -920,7 +970,27 @@ export declare const productsService: {
|
|
|
920
970
|
name: string;
|
|
921
971
|
code: string | null;
|
|
922
972
|
description: string | null;
|
|
923
|
-
unitType: "
|
|
973
|
+
unitType: "person" | "group" | "room" | "vehicle" | "service" | "other";
|
|
974
|
+
minQuantity: number | null;
|
|
975
|
+
maxQuantity: number | null;
|
|
976
|
+
minAge: number | null;
|
|
977
|
+
maxAge: number | null;
|
|
978
|
+
occupancyMin: number | null;
|
|
979
|
+
occupancyMax: number | null;
|
|
980
|
+
isRequired: boolean;
|
|
981
|
+
isHidden: boolean;
|
|
982
|
+
sortOrder: number;
|
|
983
|
+
createdAt: Date;
|
|
984
|
+
updatedAt: Date;
|
|
985
|
+
} | null>;
|
|
986
|
+
getUnitForProductMutation(db: PostgresJsDatabase, id: string): Promise<{
|
|
987
|
+
productId: string;
|
|
988
|
+
id: string;
|
|
989
|
+
optionId: string;
|
|
990
|
+
name: string;
|
|
991
|
+
code: string | null;
|
|
992
|
+
description: string | null;
|
|
993
|
+
unitType: "person" | "group" | "room" | "vehicle" | "service" | "other";
|
|
924
994
|
minQuantity: number | null;
|
|
925
995
|
maxQuantity: number | null;
|
|
926
996
|
minAge: number | null;
|
|
@@ -936,17 +1006,17 @@ export declare const productsService: {
|
|
|
936
1006
|
createUnit(db: PostgresJsDatabase, optionId: string, data: CreateOptionUnitInput): Promise<{
|
|
937
1007
|
name: string;
|
|
938
1008
|
id: string;
|
|
1009
|
+
description: string | null;
|
|
939
1010
|
createdAt: Date;
|
|
940
1011
|
updatedAt: Date;
|
|
941
|
-
description: string | null;
|
|
942
1012
|
code: string | null;
|
|
943
|
-
optionId: string;
|
|
944
|
-
maxAge: number | null;
|
|
945
|
-
minAge: number | null;
|
|
946
1013
|
sortOrder: number;
|
|
947
|
-
|
|
1014
|
+
optionId: string;
|
|
1015
|
+
unitType: "person" | "group" | "room" | "vehicle" | "service" | "other";
|
|
948
1016
|
minQuantity: number | null;
|
|
949
1017
|
maxQuantity: number | null;
|
|
1018
|
+
minAge: number | null;
|
|
1019
|
+
maxAge: number | null;
|
|
950
1020
|
occupancyMin: number | null;
|
|
951
1021
|
occupancyMax: number | null;
|
|
952
1022
|
isRequired: boolean;
|
|
@@ -958,7 +1028,7 @@ export declare const productsService: {
|
|
|
958
1028
|
name: string;
|
|
959
1029
|
code: string | null;
|
|
960
1030
|
description: string | null;
|
|
961
|
-
unitType: "
|
|
1031
|
+
unitType: "person" | "group" | "room" | "vehicle" | "service" | "other";
|
|
962
1032
|
minQuantity: number | null;
|
|
963
1033
|
maxQuantity: number | null;
|
|
964
1034
|
minAge: number | null;
|
|
@@ -1008,13 +1078,13 @@ export declare const productsService: {
|
|
|
1008
1078
|
createProductTranslation(db: PostgresJsDatabase, productId: string, data: CreateProductTranslationInput): Promise<{
|
|
1009
1079
|
name: string;
|
|
1010
1080
|
id: string;
|
|
1081
|
+
description: string | null;
|
|
1011
1082
|
createdAt: Date;
|
|
1012
1083
|
updatedAt: Date;
|
|
1013
|
-
slug: string | null;
|
|
1014
|
-
description: string | null;
|
|
1015
1084
|
productId: string;
|
|
1016
|
-
shortDescription: string | null;
|
|
1017
1085
|
languageTag: string;
|
|
1086
|
+
slug: string | null;
|
|
1087
|
+
shortDescription: string | null;
|
|
1018
1088
|
seoTitle: string | null;
|
|
1019
1089
|
seoDescription: string | null;
|
|
1020
1090
|
} | null>;
|
|
@@ -1059,15 +1129,26 @@ export declare const productsService: {
|
|
|
1059
1129
|
createdAt: Date;
|
|
1060
1130
|
updatedAt: Date;
|
|
1061
1131
|
} | null>;
|
|
1132
|
+
getOptionTranslationForProductMutation(db: PostgresJsDatabase, id: string): Promise<{
|
|
1133
|
+
productId: string;
|
|
1134
|
+
id: string;
|
|
1135
|
+
optionId: string;
|
|
1136
|
+
languageTag: string;
|
|
1137
|
+
name: string;
|
|
1138
|
+
shortDescription: string | null;
|
|
1139
|
+
description: string | null;
|
|
1140
|
+
createdAt: Date;
|
|
1141
|
+
updatedAt: Date;
|
|
1142
|
+
} | null>;
|
|
1062
1143
|
createOptionTranslation(db: PostgresJsDatabase, optionId: string, data: CreateProductOptionTranslationInput): Promise<{
|
|
1063
1144
|
name: string;
|
|
1064
1145
|
id: string;
|
|
1146
|
+
description: string | null;
|
|
1065
1147
|
createdAt: Date;
|
|
1066
1148
|
updatedAt: Date;
|
|
1067
|
-
description: string | null;
|
|
1068
1149
|
optionId: string;
|
|
1069
|
-
shortDescription: string | null;
|
|
1070
1150
|
languageTag: string;
|
|
1151
|
+
shortDescription: string | null;
|
|
1071
1152
|
} | null>;
|
|
1072
1153
|
updateOptionTranslation(db: PostgresJsDatabase, id: string, data: UpdateProductOptionTranslationInput): Promise<{
|
|
1073
1154
|
id: string;
|
|
@@ -1107,15 +1188,26 @@ export declare const productsService: {
|
|
|
1107
1188
|
createdAt: Date;
|
|
1108
1189
|
updatedAt: Date;
|
|
1109
1190
|
} | null>;
|
|
1191
|
+
getUnitTranslationForProductMutation(db: PostgresJsDatabase, id: string): Promise<{
|
|
1192
|
+
productId: string;
|
|
1193
|
+
id: string;
|
|
1194
|
+
unitId: string;
|
|
1195
|
+
languageTag: string;
|
|
1196
|
+
name: string;
|
|
1197
|
+
shortDescription: string | null;
|
|
1198
|
+
description: string | null;
|
|
1199
|
+
createdAt: Date;
|
|
1200
|
+
updatedAt: Date;
|
|
1201
|
+
} | null>;
|
|
1110
1202
|
createUnitTranslation(db: PostgresJsDatabase, unitId: string, data: CreateOptionUnitTranslationInput): Promise<{
|
|
1111
1203
|
name: string;
|
|
1112
1204
|
id: string;
|
|
1205
|
+
description: string | null;
|
|
1113
1206
|
createdAt: Date;
|
|
1114
1207
|
updatedAt: Date;
|
|
1115
|
-
description: string | null;
|
|
1116
|
-
unitId: string;
|
|
1117
|
-
shortDescription: string | null;
|
|
1118
1208
|
languageTag: string;
|
|
1209
|
+
shortDescription: string | null;
|
|
1210
|
+
unitId: string;
|
|
1119
1211
|
} | null>;
|
|
1120
1212
|
updateUnitTranslation(db: PostgresJsDatabase, id: string, data: UpdateOptionUnitTranslationInput): Promise<{
|
|
1121
1213
|
id: string;
|
|
@@ -1379,6 +1471,15 @@ export declare const productsService: {
|
|
|
1379
1471
|
generated: undefined;
|
|
1380
1472
|
}, {}, {}>;
|
|
1381
1473
|
}>, "where" | "orderBy">;
|
|
1474
|
+
getItineraryById(db: PostgresJsDatabase, itineraryId: string): Promise<{
|
|
1475
|
+
id: string;
|
|
1476
|
+
productId: string;
|
|
1477
|
+
name: string;
|
|
1478
|
+
isDefault: boolean;
|
|
1479
|
+
sortOrder: number;
|
|
1480
|
+
createdAt: Date;
|
|
1481
|
+
updatedAt: Date;
|
|
1482
|
+
} | null>;
|
|
1382
1483
|
createItinerary(db: PostgresJsDatabase, productId: string, data: CreateItineraryInput): Promise<{
|
|
1383
1484
|
name: string;
|
|
1384
1485
|
id: string;
|
|
@@ -1705,25 +1806,36 @@ export declare const productsService: {
|
|
|
1705
1806
|
generated: undefined;
|
|
1706
1807
|
}, {}, {}>;
|
|
1707
1808
|
}>, "where" | "orderBy">;
|
|
1708
|
-
|
|
1809
|
+
getDayForProductMutation(db: PostgresJsDatabase, dayId: string): Promise<{
|
|
1810
|
+
productId: string;
|
|
1709
1811
|
id: string;
|
|
1812
|
+
itineraryId: string;
|
|
1813
|
+
dayNumber: number;
|
|
1814
|
+
title: string | null;
|
|
1815
|
+
description: string | null;
|
|
1816
|
+
location: string | null;
|
|
1710
1817
|
createdAt: Date;
|
|
1711
1818
|
updatedAt: Date;
|
|
1819
|
+
} | null>;
|
|
1820
|
+
createDay(db: PostgresJsDatabase, productId: string, data: CreateDayInput): Promise<{
|
|
1821
|
+
id: string;
|
|
1712
1822
|
description: string | null;
|
|
1713
|
-
|
|
1714
|
-
|
|
1823
|
+
createdAt: Date;
|
|
1824
|
+
updatedAt: Date;
|
|
1715
1825
|
itineraryId: string;
|
|
1716
1826
|
dayNumber: number;
|
|
1827
|
+
title: string | null;
|
|
1828
|
+
location: string | null;
|
|
1717
1829
|
} | null | undefined>;
|
|
1718
1830
|
createItineraryDay(db: PostgresJsDatabase, productId: string, itineraryId: string, data: CreateDayInput): Promise<{
|
|
1719
1831
|
id: string;
|
|
1832
|
+
description: string | null;
|
|
1720
1833
|
createdAt: Date;
|
|
1721
1834
|
updatedAt: Date;
|
|
1722
|
-
description: string | null;
|
|
1723
|
-
title: string | null;
|
|
1724
|
-
location: string | null;
|
|
1725
1835
|
itineraryId: string;
|
|
1726
1836
|
dayNumber: number;
|
|
1837
|
+
title: string | null;
|
|
1838
|
+
location: string | null;
|
|
1727
1839
|
} | null | undefined>;
|
|
1728
1840
|
updateDay(db: PostgresJsDatabase, dayId: string, data: UpdateDayInput): Promise<{
|
|
1729
1841
|
id: string;
|
|
@@ -1795,7 +1907,7 @@ export declare const productsService: {
|
|
|
1795
1907
|
tableName: "product_day_services";
|
|
1796
1908
|
dataType: "string";
|
|
1797
1909
|
columnType: "PgEnumColumn";
|
|
1798
|
-
data: "other" | "
|
|
1910
|
+
data: "other" | "transfer" | "accommodation" | "experience" | "guide" | "meal";
|
|
1799
1911
|
driverParam: string;
|
|
1800
1912
|
notNull: true;
|
|
1801
1913
|
hasDefault: false;
|
|
@@ -1964,7 +2076,7 @@ export declare const productsService: {
|
|
|
1964
2076
|
id: string;
|
|
1965
2077
|
dayId: string;
|
|
1966
2078
|
supplierServiceId: string | null;
|
|
1967
|
-
serviceType: "other" | "
|
|
2079
|
+
serviceType: "other" | "transfer" | "accommodation" | "experience" | "guide" | "meal";
|
|
1968
2080
|
name: string;
|
|
1969
2081
|
description: string | null;
|
|
1970
2082
|
countryCode: string | null;
|
|
@@ -2031,7 +2143,7 @@ export declare const productsService: {
|
|
|
2031
2143
|
tableName: "product_day_services";
|
|
2032
2144
|
dataType: "string";
|
|
2033
2145
|
columnType: "PgEnumColumn";
|
|
2034
|
-
data: "other" | "
|
|
2146
|
+
data: "other" | "transfer" | "accommodation" | "experience" | "guide" | "meal";
|
|
2035
2147
|
driverParam: string;
|
|
2036
2148
|
notNull: true;
|
|
2037
2149
|
hasDefault: false;
|
|
@@ -2197,26 +2309,42 @@ export declare const productsService: {
|
|
|
2197
2309
|
generated: undefined;
|
|
2198
2310
|
}, {}, {}>;
|
|
2199
2311
|
}>, "where" | "orderBy">;
|
|
2312
|
+
getDayServiceForProductMutation(db: PostgresJsDatabase, serviceId: string): Promise<{
|
|
2313
|
+
productId: string;
|
|
2314
|
+
id: string;
|
|
2315
|
+
dayId: string;
|
|
2316
|
+
supplierServiceId: string | null;
|
|
2317
|
+
serviceType: "other" | "transfer" | "accommodation" | "experience" | "guide" | "meal";
|
|
2318
|
+
name: string;
|
|
2319
|
+
description: string | null;
|
|
2320
|
+
countryCode: string | null;
|
|
2321
|
+
costCurrency: string;
|
|
2322
|
+
costAmountCents: number;
|
|
2323
|
+
quantity: number;
|
|
2324
|
+
sortOrder: number | null;
|
|
2325
|
+
notes: string | null;
|
|
2326
|
+
createdAt: Date;
|
|
2327
|
+
} | null>;
|
|
2200
2328
|
createDayService(db: PostgresJsDatabase, productId: string, dayId: string, data: CreateDayServiceInput): Promise<{
|
|
2201
2329
|
name: string;
|
|
2202
2330
|
id: string;
|
|
2203
|
-
createdAt: Date;
|
|
2204
|
-
notes: string | null;
|
|
2205
2331
|
description: string | null;
|
|
2206
|
-
|
|
2332
|
+
createdAt: Date;
|
|
2207
2333
|
costAmountCents: number;
|
|
2208
|
-
quantity: number;
|
|
2209
2334
|
sortOrder: number | null;
|
|
2210
2335
|
dayId: string;
|
|
2211
|
-
|
|
2336
|
+
supplierServiceId: string | null;
|
|
2337
|
+
serviceType: "other" | "transfer" | "accommodation" | "experience" | "guide" | "meal";
|
|
2212
2338
|
countryCode: string | null;
|
|
2213
2339
|
costCurrency: string;
|
|
2340
|
+
quantity: number;
|
|
2341
|
+
notes: string | null;
|
|
2214
2342
|
} | null | undefined>;
|
|
2215
2343
|
updateDayService(db: PostgresJsDatabase, productId: string, serviceId: string, data: UpdateDayServiceInput): Promise<{
|
|
2216
2344
|
id: string;
|
|
2217
2345
|
dayId: string;
|
|
2218
2346
|
supplierServiceId: string | null;
|
|
2219
|
-
serviceType: "other" | "
|
|
2347
|
+
serviceType: "other" | "transfer" | "accommodation" | "experience" | "guide" | "meal";
|
|
2220
2348
|
name: string;
|
|
2221
2349
|
description: string | null;
|
|
2222
2350
|
countryCode: string | null;
|
|
@@ -2482,10 +2610,10 @@ export declare const productsService: {
|
|
|
2482
2610
|
createVersion(db: PostgresJsDatabase, productId: string, userId: string, data: CreateVersionInput): Promise<{
|
|
2483
2611
|
id: string;
|
|
2484
2612
|
createdAt: Date;
|
|
2485
|
-
notes: string | null;
|
|
2486
2613
|
productId: string;
|
|
2487
|
-
|
|
2614
|
+
notes: string | null;
|
|
2488
2615
|
versionNumber: number;
|
|
2616
|
+
snapshot: unknown;
|
|
2489
2617
|
authorId: string;
|
|
2490
2618
|
} | null | undefined>;
|
|
2491
2619
|
listNotes(db: PostgresJsDatabase, productId: string): Omit<import("drizzle-orm/pg-core").PgSelectBase<"product_notes", {
|
|
@@ -2671,8 +2799,8 @@ export declare const productsService: {
|
|
|
2671
2799
|
id: string;
|
|
2672
2800
|
createdAt: Date;
|
|
2673
2801
|
productId: string;
|
|
2674
|
-
content: string;
|
|
2675
2802
|
authorId: string;
|
|
2803
|
+
content: string;
|
|
2676
2804
|
} | null | undefined>;
|
|
2677
2805
|
recalculate(db: PostgresJsDatabase, productId: string): Promise<{
|
|
2678
2806
|
costAmountCents: number;
|
|
@@ -2706,15 +2834,15 @@ export declare const productsService: {
|
|
|
2706
2834
|
updatedAt: Date;
|
|
2707
2835
|
} | null>;
|
|
2708
2836
|
createProductType(db: PostgresJsDatabase, data: CreateProductTypeInput): Promise<{
|
|
2709
|
-
metadata: Record<string, unknown> | null;
|
|
2710
2837
|
name: string;
|
|
2711
2838
|
id: string;
|
|
2839
|
+
description: string | null;
|
|
2712
2840
|
createdAt: Date;
|
|
2841
|
+
active: boolean;
|
|
2713
2842
|
updatedAt: Date;
|
|
2714
|
-
description: string | null;
|
|
2715
2843
|
code: string;
|
|
2716
|
-
active: boolean;
|
|
2717
2844
|
sortOrder: number;
|
|
2845
|
+
metadata: Record<string, unknown> | null;
|
|
2718
2846
|
} | undefined>;
|
|
2719
2847
|
updateProductType(db: PostgresJsDatabase, id: string, data: UpdateProductTypeInput): Promise<{
|
|
2720
2848
|
id: string;
|
|
@@ -2762,16 +2890,16 @@ export declare const productsService: {
|
|
|
2762
2890
|
updatedAt: Date;
|
|
2763
2891
|
} | null>;
|
|
2764
2892
|
createProductCategory(db: PostgresJsDatabase, data: CreateProductCategoryInput): Promise<{
|
|
2765
|
-
metadata: Record<string, unknown> | null;
|
|
2766
2893
|
name: string;
|
|
2767
2894
|
id: string;
|
|
2768
|
-
createdAt: Date;
|
|
2769
|
-
updatedAt: Date;
|
|
2770
|
-
slug: string;
|
|
2771
2895
|
description: string | null;
|
|
2896
|
+
createdAt: Date;
|
|
2772
2897
|
active: boolean;
|
|
2773
2898
|
customerPaymentPolicy: unknown;
|
|
2899
|
+
updatedAt: Date;
|
|
2774
2900
|
sortOrder: number;
|
|
2901
|
+
slug: string;
|
|
2902
|
+
metadata: Record<string, unknown> | null;
|
|
2775
2903
|
parentId: string | null;
|
|
2776
2904
|
} | undefined>;
|
|
2777
2905
|
updateProductCategory(db: PostgresJsDatabase, id: string, data: UpdateProductCategoryInput): Promise<{
|
|
@@ -2931,11 +3059,11 @@ export declare const productsService: {
|
|
|
2931
3059
|
id: string;
|
|
2932
3060
|
createdAt: Date;
|
|
2933
3061
|
updatedAt: Date;
|
|
2934
|
-
url: string;
|
|
2935
3062
|
productId: string;
|
|
2936
3063
|
sortOrder: number;
|
|
2937
3064
|
dayId: string | null;
|
|
2938
3065
|
mediaType: "image" | "video" | "document";
|
|
3066
|
+
url: string;
|
|
2939
3067
|
storageKey: string | null;
|
|
2940
3068
|
mimeType: string | null;
|
|
2941
3069
|
fileSize: number | null;
|
|
@@ -2969,11 +3097,11 @@ export declare const productsService: {
|
|
|
2969
3097
|
id: string;
|
|
2970
3098
|
createdAt: Date;
|
|
2971
3099
|
updatedAt: Date;
|
|
2972
|
-
url: string;
|
|
2973
3100
|
productId: string;
|
|
2974
3101
|
sortOrder: number;
|
|
2975
3102
|
dayId: string | null;
|
|
2976
3103
|
mediaType: "image" | "video" | "document";
|
|
3104
|
+
url: string;
|
|
2977
3105
|
storageKey: string | null;
|
|
2978
3106
|
mimeType: string | null;
|
|
2979
3107
|
fileSize: number | null;
|
|
@@ -3048,11 +3176,11 @@ export declare const productsService: {
|
|
|
3048
3176
|
id: string;
|
|
3049
3177
|
createdAt: Date;
|
|
3050
3178
|
updatedAt: Date;
|
|
3051
|
-
url: string;
|
|
3052
3179
|
productId: string;
|
|
3053
3180
|
sortOrder: number;
|
|
3054
3181
|
dayId: string | null;
|
|
3055
3182
|
mediaType: "image" | "video" | "document";
|
|
3183
|
+
url: string;
|
|
3056
3184
|
storageKey: string | null;
|
|
3057
3185
|
mimeType: string | null;
|
|
3058
3186
|
fileSize: number | null;
|
|
@@ -3067,11 +3195,11 @@ export declare const productsService: {
|
|
|
3067
3195
|
id: string;
|
|
3068
3196
|
createdAt: Date;
|
|
3069
3197
|
updatedAt: Date;
|
|
3070
|
-
url: string;
|
|
3071
3198
|
productId: string;
|
|
3072
3199
|
sortOrder: number;
|
|
3073
3200
|
dayId: string | null;
|
|
3074
3201
|
mediaType: "image" | "video" | "document";
|
|
3202
|
+
url: string;
|
|
3075
3203
|
storageKey: string | null;
|
|
3076
3204
|
mimeType: string | null;
|
|
3077
3205
|
fileSize: number | null;
|
|
@@ -3105,11 +3233,11 @@ export declare const productsService: {
|
|
|
3105
3233
|
id: string;
|
|
3106
3234
|
createdAt: Date;
|
|
3107
3235
|
updatedAt: Date;
|
|
3108
|
-
url: string;
|
|
3109
3236
|
productId: string;
|
|
3110
3237
|
sortOrder: number;
|
|
3111
3238
|
dayId: string | null;
|
|
3112
3239
|
mediaType: "image" | "video" | "document";
|
|
3240
|
+
url: string;
|
|
3113
3241
|
storageKey: string | null;
|
|
3114
3242
|
mimeType: string | null;
|
|
3115
3243
|
fileSize: number | null;
|