@voyant-travel/storefront-react 0.123.0 → 0.124.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/customer-portal/hooks/use-customer-portal-booking-documents.d.ts +1 -1
- package/dist/customer-portal/hooks/use-customer-portal-booking.d.ts +1 -1
- package/dist/customer-portal/operations.d.ts +2 -2
- package/dist/customer-portal/query-options.d.ts +8 -8
- package/dist/customer-portal/schemas.d.ts +2 -2
- package/dist/hooks/use-admin-storefront-settings.d.ts +6 -6
- package/dist/hooks/use-storefront-departure-price-preview-mutation.d.ts +1 -1
- package/dist/hooks/use-storefront-offer-apply-mutation.d.ts +1 -1
- package/dist/hooks/use-storefront-offer-redeem-mutation.d.ts +1 -1
- package/dist/hooks/use-storefront-settings.d.ts +2 -2
- package/dist/operations.d.ts +9 -9
- package/dist/query-options.d.ts +16 -16
- package/dist/schemas.d.ts +3 -3
- package/package.json +3 -3
|
@@ -6,7 +6,7 @@ export declare function useCustomerPortalBookingDocuments(bookingId: string | nu
|
|
|
6
6
|
id: string;
|
|
7
7
|
source: "finance" | "legal" | "booking_document";
|
|
8
8
|
travelerId: string | null;
|
|
9
|
-
type: "visa" | "other" | "insurance" | "health" | "passport_copy" | "
|
|
9
|
+
type: "invoice" | "visa" | "other" | "insurance" | "health" | "passport_copy" | "proforma" | "credit_note" | "contract";
|
|
10
10
|
fileName: string;
|
|
11
11
|
fileUrl: string;
|
|
12
12
|
mimeType: string | null;
|
|
@@ -58,7 +58,7 @@ export declare function useCustomerPortalBooking(bookingId: string | null | unde
|
|
|
58
58
|
id: string;
|
|
59
59
|
source: "finance" | "legal" | "booking_document";
|
|
60
60
|
travelerId: string | null;
|
|
61
|
-
type: "visa" | "other" | "insurance" | "health" | "passport_copy" | "
|
|
61
|
+
type: "invoice" | "visa" | "other" | "insurance" | "health" | "passport_copy" | "proforma" | "credit_note" | "contract";
|
|
62
62
|
fileName: string;
|
|
63
63
|
fileUrl: string;
|
|
64
64
|
mimeType: string | null;
|
|
@@ -451,7 +451,7 @@ export declare function getCustomerPortalBooking(client: FetchWithValidationOpti
|
|
|
451
451
|
id: string;
|
|
452
452
|
source: "finance" | "legal" | "booking_document";
|
|
453
453
|
travelerId: string | null;
|
|
454
|
-
type: "visa" | "other" | "insurance" | "health" | "passport_copy" | "
|
|
454
|
+
type: "invoice" | "visa" | "other" | "insurance" | "health" | "passport_copy" | "proforma" | "credit_note" | "contract";
|
|
455
455
|
fileName: string;
|
|
456
456
|
fileUrl: string;
|
|
457
457
|
mimeType: string | null;
|
|
@@ -518,7 +518,7 @@ export declare function listCustomerPortalBookingDocuments(client: FetchWithVali
|
|
|
518
518
|
id: string;
|
|
519
519
|
source: "finance" | "legal" | "booking_document";
|
|
520
520
|
travelerId: string | null;
|
|
521
|
-
type: "visa" | "other" | "insurance" | "health" | "passport_copy" | "
|
|
521
|
+
type: "invoice" | "visa" | "other" | "insurance" | "health" | "passport_copy" | "proforma" | "credit_note" | "contract";
|
|
522
522
|
fileName: string;
|
|
523
523
|
fileUrl: string;
|
|
524
524
|
mimeType: string | null;
|
|
@@ -589,7 +589,7 @@ export declare function getCustomerPortalBookingQueryOptions(client: FetchWithVa
|
|
|
589
589
|
id: string;
|
|
590
590
|
source: "finance" | "legal" | "booking_document";
|
|
591
591
|
travelerId: string | null;
|
|
592
|
-
type: "visa" | "other" | "insurance" | "health" | "passport_copy" | "
|
|
592
|
+
type: "invoice" | "visa" | "other" | "insurance" | "health" | "passport_copy" | "proforma" | "credit_note" | "contract";
|
|
593
593
|
fileName: string;
|
|
594
594
|
fileUrl: string;
|
|
595
595
|
mimeType: string | null;
|
|
@@ -693,7 +693,7 @@ export declare function getCustomerPortalBookingQueryOptions(client: FetchWithVa
|
|
|
693
693
|
id: string;
|
|
694
694
|
source: "finance" | "legal" | "booking_document";
|
|
695
695
|
travelerId: string | null;
|
|
696
|
-
type: "visa" | "other" | "insurance" | "health" | "passport_copy" | "
|
|
696
|
+
type: "invoice" | "visa" | "other" | "insurance" | "health" | "passport_copy" | "proforma" | "credit_note" | "contract";
|
|
697
697
|
fileName: string;
|
|
698
698
|
fileUrl: string;
|
|
699
699
|
mimeType: string | null;
|
|
@@ -798,7 +798,7 @@ export declare function getCustomerPortalBookingQueryOptions(client: FetchWithVa
|
|
|
798
798
|
id: string;
|
|
799
799
|
source: "finance" | "legal" | "booking_document";
|
|
800
800
|
travelerId: string | null;
|
|
801
|
-
type: "visa" | "other" | "insurance" | "health" | "passport_copy" | "
|
|
801
|
+
type: "invoice" | "visa" | "other" | "insurance" | "health" | "passport_copy" | "proforma" | "credit_note" | "contract";
|
|
802
802
|
fileName: string;
|
|
803
803
|
fileUrl: string;
|
|
804
804
|
mimeType: string | null;
|
|
@@ -905,7 +905,7 @@ export declare function getCustomerPortalBookingQueryOptions(client: FetchWithVa
|
|
|
905
905
|
id: string;
|
|
906
906
|
source: "finance" | "legal" | "booking_document";
|
|
907
907
|
travelerId: string | null;
|
|
908
|
-
type: "visa" | "other" | "insurance" | "health" | "passport_copy" | "
|
|
908
|
+
type: "invoice" | "visa" | "other" | "insurance" | "health" | "passport_copy" | "proforma" | "credit_note" | "contract";
|
|
909
909
|
fileName: string;
|
|
910
910
|
fileUrl: string;
|
|
911
911
|
mimeType: string | null;
|
|
@@ -1021,7 +1021,7 @@ export declare function getCustomerPortalBookingDocumentsQueryOptions(client: Fe
|
|
|
1021
1021
|
id: string;
|
|
1022
1022
|
source: "finance" | "legal" | "booking_document";
|
|
1023
1023
|
travelerId: string | null;
|
|
1024
|
-
type: "visa" | "other" | "insurance" | "health" | "passport_copy" | "
|
|
1024
|
+
type: "invoice" | "visa" | "other" | "insurance" | "health" | "passport_copy" | "proforma" | "credit_note" | "contract";
|
|
1025
1025
|
fileName: string;
|
|
1026
1026
|
fileUrl: string;
|
|
1027
1027
|
mimeType: string | null;
|
|
@@ -1032,7 +1032,7 @@ export declare function getCustomerPortalBookingDocumentsQueryOptions(client: Fe
|
|
|
1032
1032
|
id: string;
|
|
1033
1033
|
source: "finance" | "legal" | "booking_document";
|
|
1034
1034
|
travelerId: string | null;
|
|
1035
|
-
type: "visa" | "other" | "insurance" | "health" | "passport_copy" | "
|
|
1035
|
+
type: "invoice" | "visa" | "other" | "insurance" | "health" | "passport_copy" | "proforma" | "credit_note" | "contract";
|
|
1036
1036
|
fileName: string;
|
|
1037
1037
|
fileUrl: string;
|
|
1038
1038
|
mimeType: string | null;
|
|
@@ -1044,7 +1044,7 @@ export declare function getCustomerPortalBookingDocumentsQueryOptions(client: Fe
|
|
|
1044
1044
|
id: string;
|
|
1045
1045
|
source: "finance" | "legal" | "booking_document";
|
|
1046
1046
|
travelerId: string | null;
|
|
1047
|
-
type: "visa" | "other" | "insurance" | "health" | "passport_copy" | "
|
|
1047
|
+
type: "invoice" | "visa" | "other" | "insurance" | "health" | "passport_copy" | "proforma" | "credit_note" | "contract";
|
|
1048
1048
|
fileName: string;
|
|
1049
1049
|
fileUrl: string;
|
|
1050
1050
|
mimeType: string | null;
|
|
@@ -1058,7 +1058,7 @@ export declare function getCustomerPortalBookingDocumentsQueryOptions(client: Fe
|
|
|
1058
1058
|
id: string;
|
|
1059
1059
|
source: "finance" | "legal" | "booking_document";
|
|
1060
1060
|
travelerId: string | null;
|
|
1061
|
-
type: "visa" | "other" | "insurance" | "health" | "passport_copy" | "
|
|
1061
|
+
type: "invoice" | "visa" | "other" | "insurance" | "health" | "passport_copy" | "proforma" | "credit_note" | "contract";
|
|
1062
1062
|
fileName: string;
|
|
1063
1063
|
fileUrl: string;
|
|
1064
1064
|
mimeType: string | null;
|
|
@@ -508,12 +508,12 @@ export declare const customerPortalBookingResponseSchema: z.ZodObject<{
|
|
|
508
508
|
}>;
|
|
509
509
|
travelerId: z.ZodNullable<z.ZodString>;
|
|
510
510
|
type: z.ZodEnum<{
|
|
511
|
+
invoice: "invoice";
|
|
511
512
|
visa: "visa";
|
|
512
513
|
other: "other";
|
|
513
514
|
insurance: "insurance";
|
|
514
515
|
health: "health";
|
|
515
516
|
passport_copy: "passport_copy";
|
|
516
|
-
invoice: "invoice";
|
|
517
517
|
proforma: "proforma";
|
|
518
518
|
credit_note: "credit_note";
|
|
519
519
|
contract: "contract";
|
|
@@ -651,12 +651,12 @@ export declare const customerPortalBookingDocumentsResponseSchema: z.ZodObject<{
|
|
|
651
651
|
}>;
|
|
652
652
|
travelerId: z.ZodNullable<z.ZodString>;
|
|
653
653
|
type: z.ZodEnum<{
|
|
654
|
+
invoice: "invoice";
|
|
654
655
|
visa: "visa";
|
|
655
656
|
other: "other";
|
|
656
657
|
insurance: "insurance";
|
|
657
658
|
health: "health";
|
|
658
659
|
passport_copy: "passport_copy";
|
|
659
|
-
invoice: "invoice";
|
|
660
660
|
proforma: "proforma";
|
|
661
661
|
credit_note: "credit_note";
|
|
662
662
|
contract: "contract";
|
|
@@ -62,9 +62,9 @@ export declare function useAdminStorefrontSettings(options?: UseAdminStorefrontS
|
|
|
62
62
|
};
|
|
63
63
|
};
|
|
64
64
|
payment: {
|
|
65
|
-
defaultMethod: "
|
|
65
|
+
defaultMethod: "invoice" | "voucher" | "bank_transfer" | "cash" | "card" | null;
|
|
66
66
|
methods: {
|
|
67
|
-
code: "
|
|
67
|
+
code: "invoice" | "voucher" | "bank_transfer" | "cash" | "card";
|
|
68
68
|
label: string;
|
|
69
69
|
description: string | null;
|
|
70
70
|
enabled: boolean;
|
|
@@ -158,9 +158,9 @@ export declare function useAdminStorefrontSettingsMutation(): import("@tanstack/
|
|
|
158
158
|
};
|
|
159
159
|
};
|
|
160
160
|
payment: {
|
|
161
|
-
defaultMethod: "
|
|
161
|
+
defaultMethod: "invoice" | "voucher" | "bank_transfer" | "cash" | "card" | null;
|
|
162
162
|
methods: {
|
|
163
|
-
code: "
|
|
163
|
+
code: "invoice" | "voucher" | "bank_transfer" | "cash" | "card";
|
|
164
164
|
label: string;
|
|
165
165
|
description: string | null;
|
|
166
166
|
enabled: boolean;
|
|
@@ -252,9 +252,9 @@ export declare function useAdminStorefrontSettingsMutation(): import("@tanstack/
|
|
|
252
252
|
} | undefined;
|
|
253
253
|
} | undefined;
|
|
254
254
|
payment?: {
|
|
255
|
-
defaultMethod?: "
|
|
255
|
+
defaultMethod?: "invoice" | "voucher" | "bank_transfer" | "cash" | "card" | null | undefined;
|
|
256
256
|
methods?: {
|
|
257
|
-
code: "
|
|
257
|
+
code: "invoice" | "voucher" | "bank_transfer" | "cash" | "card";
|
|
258
258
|
label?: string | undefined;
|
|
259
259
|
description?: string | null | undefined;
|
|
260
260
|
enabled?: boolean | undefined;
|
|
@@ -129,7 +129,7 @@ export declare function useStorefrontDeparturePricePreviewMutation(departureId:
|
|
|
129
129
|
value: string;
|
|
130
130
|
result: {
|
|
131
131
|
status: "applied" | "not_applicable" | "invalid" | "conflict";
|
|
132
|
-
reason: "
|
|
132
|
+
reason: "currency" | "scope" | "booking_mismatch" | "conflict" | "offer_not_found" | "offer_expired" | "offer_not_yet_valid" | "code_not_found" | "code_required" | "code_expired" | "code_not_yet_valid" | "min_pax" | "eligibility" | "no_discount" | "session_mismatch" | null;
|
|
133
133
|
offer: {
|
|
134
134
|
id: string;
|
|
135
135
|
name: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare function useStorefrontOfferApplyMutation(slug: string | null | undefined): import("@tanstack/react-query").UseMutationResult<{
|
|
2
2
|
data: {
|
|
3
3
|
status: "applied" | "not_applicable" | "invalid" | "conflict";
|
|
4
|
-
reason: "
|
|
4
|
+
reason: "currency" | "scope" | "booking_mismatch" | "conflict" | "offer_not_found" | "offer_expired" | "offer_not_yet_valid" | "code_not_found" | "code_required" | "code_expired" | "code_not_yet_valid" | "min_pax" | "eligibility" | "no_discount" | "session_mismatch" | null;
|
|
5
5
|
offer: {
|
|
6
6
|
id: string;
|
|
7
7
|
name: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare function useStorefrontOfferRedeemMutation(): import("@tanstack/react-query").UseMutationResult<{
|
|
2
2
|
data: {
|
|
3
3
|
status: "applied" | "not_applicable" | "invalid" | "conflict";
|
|
4
|
-
reason: "
|
|
4
|
+
reason: "currency" | "scope" | "booking_mismatch" | "conflict" | "offer_not_found" | "offer_expired" | "offer_not_yet_valid" | "code_not_found" | "code_required" | "code_expired" | "code_not_yet_valid" | "min_pax" | "eligibility" | "no_discount" | "session_mismatch" | null;
|
|
5
5
|
offer: {
|
|
6
6
|
id: string;
|
|
7
7
|
name: string;
|
|
@@ -62,9 +62,9 @@ export declare function useStorefrontSettings(options?: UseStorefrontSettingsOpt
|
|
|
62
62
|
};
|
|
63
63
|
};
|
|
64
64
|
payment: {
|
|
65
|
-
defaultMethod: "
|
|
65
|
+
defaultMethod: "invoice" | "voucher" | "bank_transfer" | "cash" | "card" | null;
|
|
66
66
|
methods: {
|
|
67
|
-
code: "
|
|
67
|
+
code: "invoice" | "voucher" | "bank_transfer" | "cash" | "card";
|
|
68
68
|
label: string;
|
|
69
69
|
description: string | null;
|
|
70
70
|
enabled: boolean;
|
package/dist/operations.d.ts
CHANGED
|
@@ -61,9 +61,9 @@ export declare function getStorefrontSettings(client: FetchWithValidationOptions
|
|
|
61
61
|
};
|
|
62
62
|
};
|
|
63
63
|
payment: {
|
|
64
|
-
defaultMethod: "
|
|
64
|
+
defaultMethod: "invoice" | "voucher" | "bank_transfer" | "cash" | "card" | null;
|
|
65
65
|
methods: {
|
|
66
|
-
code: "
|
|
66
|
+
code: "invoice" | "voucher" | "bank_transfer" | "cash" | "card";
|
|
67
67
|
label: string;
|
|
68
68
|
description: string | null;
|
|
69
69
|
enabled: boolean;
|
|
@@ -158,9 +158,9 @@ export declare function getAdminStorefrontSettings(client: FetchWithValidationOp
|
|
|
158
158
|
};
|
|
159
159
|
};
|
|
160
160
|
payment: {
|
|
161
|
-
defaultMethod: "
|
|
161
|
+
defaultMethod: "invoice" | "voucher" | "bank_transfer" | "cash" | "card" | null;
|
|
162
162
|
methods: {
|
|
163
|
-
code: "
|
|
163
|
+
code: "invoice" | "voucher" | "bank_transfer" | "cash" | "card";
|
|
164
164
|
label: string;
|
|
165
165
|
description: string | null;
|
|
166
166
|
enabled: boolean;
|
|
@@ -255,9 +255,9 @@ export declare function updateAdminStorefrontSettings(client: FetchWithValidatio
|
|
|
255
255
|
};
|
|
256
256
|
};
|
|
257
257
|
payment: {
|
|
258
|
-
defaultMethod: "
|
|
258
|
+
defaultMethod: "invoice" | "voucher" | "bank_transfer" | "cash" | "card" | null;
|
|
259
259
|
methods: {
|
|
260
|
-
code: "
|
|
260
|
+
code: "invoice" | "voucher" | "bank_transfer" | "cash" | "card";
|
|
261
261
|
label: string;
|
|
262
262
|
description: string | null;
|
|
263
263
|
enabled: boolean;
|
|
@@ -519,7 +519,7 @@ export declare function previewStorefrontDeparturePrice(client: FetchWithValidat
|
|
|
519
519
|
value: string;
|
|
520
520
|
result: {
|
|
521
521
|
status: "applied" | "not_applicable" | "invalid" | "conflict";
|
|
522
|
-
reason: "
|
|
522
|
+
reason: "currency" | "scope" | "booking_mismatch" | "conflict" | "offer_not_found" | "offer_expired" | "offer_not_yet_valid" | "code_not_found" | "code_required" | "code_expired" | "code_not_yet_valid" | "min_pax" | "eligibility" | "no_discount" | "session_mismatch" | null;
|
|
523
523
|
offer: {
|
|
524
524
|
id: string;
|
|
525
525
|
name: string;
|
|
@@ -715,7 +715,7 @@ export declare function getStorefrontOfferBySlug(client: FetchWithValidationOpti
|
|
|
715
715
|
export declare function applyStorefrontOffer(client: FetchWithValidationOptions, slug: string, input: StorefrontOfferApplyInput): Promise<{
|
|
716
716
|
data: {
|
|
717
717
|
status: "applied" | "not_applicable" | "invalid" | "conflict";
|
|
718
|
-
reason: "
|
|
718
|
+
reason: "currency" | "scope" | "booking_mismatch" | "conflict" | "offer_not_found" | "offer_expired" | "offer_not_yet_valid" | "code_not_found" | "code_required" | "code_expired" | "code_not_yet_valid" | "min_pax" | "eligibility" | "no_discount" | "session_mismatch" | null;
|
|
719
719
|
offer: {
|
|
720
720
|
id: string;
|
|
721
721
|
name: string;
|
|
@@ -771,7 +771,7 @@ export declare function applyStorefrontOffer(client: FetchWithValidationOptions,
|
|
|
771
771
|
export declare function redeemStorefrontOffer(client: FetchWithValidationOptions, input: StorefrontOfferRedeemInput): Promise<{
|
|
772
772
|
data: {
|
|
773
773
|
status: "applied" | "not_applicable" | "invalid" | "conflict";
|
|
774
|
-
reason: "
|
|
774
|
+
reason: "currency" | "scope" | "booking_mismatch" | "conflict" | "offer_not_found" | "offer_expired" | "offer_not_yet_valid" | "code_not_found" | "code_required" | "code_expired" | "code_not_yet_valid" | "min_pax" | "eligibility" | "no_discount" | "session_mismatch" | null;
|
|
775
775
|
offer: {
|
|
776
776
|
id: string;
|
|
777
777
|
name: string;
|
package/dist/query-options.d.ts
CHANGED
|
@@ -61,9 +61,9 @@ export declare function getStorefrontSettingsQueryOptions(client: FetchWithValid
|
|
|
61
61
|
};
|
|
62
62
|
};
|
|
63
63
|
payment: {
|
|
64
|
-
defaultMethod: "
|
|
64
|
+
defaultMethod: "invoice" | "voucher" | "bank_transfer" | "cash" | "card" | null;
|
|
65
65
|
methods: {
|
|
66
|
-
code: "
|
|
66
|
+
code: "invoice" | "voucher" | "bank_transfer" | "cash" | "card";
|
|
67
67
|
label: string;
|
|
68
68
|
description: string | null;
|
|
69
69
|
enabled: boolean;
|
|
@@ -157,9 +157,9 @@ export declare function getStorefrontSettingsQueryOptions(client: FetchWithValid
|
|
|
157
157
|
};
|
|
158
158
|
};
|
|
159
159
|
payment: {
|
|
160
|
-
defaultMethod: "
|
|
160
|
+
defaultMethod: "invoice" | "voucher" | "bank_transfer" | "cash" | "card" | null;
|
|
161
161
|
methods: {
|
|
162
|
-
code: "
|
|
162
|
+
code: "invoice" | "voucher" | "bank_transfer" | "cash" | "card";
|
|
163
163
|
label: string;
|
|
164
164
|
description: string | null;
|
|
165
165
|
enabled: boolean;
|
|
@@ -254,9 +254,9 @@ export declare function getStorefrontSettingsQueryOptions(client: FetchWithValid
|
|
|
254
254
|
};
|
|
255
255
|
};
|
|
256
256
|
payment: {
|
|
257
|
-
defaultMethod: "
|
|
257
|
+
defaultMethod: "invoice" | "voucher" | "bank_transfer" | "cash" | "card" | null;
|
|
258
258
|
methods: {
|
|
259
|
-
code: "
|
|
259
|
+
code: "invoice" | "voucher" | "bank_transfer" | "cash" | "card";
|
|
260
260
|
label: string;
|
|
261
261
|
description: string | null;
|
|
262
262
|
enabled: boolean;
|
|
@@ -353,9 +353,9 @@ export declare function getStorefrontSettingsQueryOptions(client: FetchWithValid
|
|
|
353
353
|
};
|
|
354
354
|
};
|
|
355
355
|
payment: {
|
|
356
|
-
defaultMethod: "
|
|
356
|
+
defaultMethod: "invoice" | "voucher" | "bank_transfer" | "cash" | "card" | null;
|
|
357
357
|
methods: {
|
|
358
|
-
code: "
|
|
358
|
+
code: "invoice" | "voucher" | "bank_transfer" | "cash" | "card";
|
|
359
359
|
label: string;
|
|
360
360
|
description: string | null;
|
|
361
361
|
enabled: boolean;
|
|
@@ -453,9 +453,9 @@ export declare function getAdminStorefrontSettingsQueryOptions(client: FetchWith
|
|
|
453
453
|
};
|
|
454
454
|
};
|
|
455
455
|
payment: {
|
|
456
|
-
defaultMethod: "
|
|
456
|
+
defaultMethod: "invoice" | "voucher" | "bank_transfer" | "cash" | "card" | null;
|
|
457
457
|
methods: {
|
|
458
|
-
code: "
|
|
458
|
+
code: "invoice" | "voucher" | "bank_transfer" | "cash" | "card";
|
|
459
459
|
label: string;
|
|
460
460
|
description: string | null;
|
|
461
461
|
enabled: boolean;
|
|
@@ -549,9 +549,9 @@ export declare function getAdminStorefrontSettingsQueryOptions(client: FetchWith
|
|
|
549
549
|
};
|
|
550
550
|
};
|
|
551
551
|
payment: {
|
|
552
|
-
defaultMethod: "
|
|
552
|
+
defaultMethod: "invoice" | "voucher" | "bank_transfer" | "cash" | "card" | null;
|
|
553
553
|
methods: {
|
|
554
|
-
code: "
|
|
554
|
+
code: "invoice" | "voucher" | "bank_transfer" | "cash" | "card";
|
|
555
555
|
label: string;
|
|
556
556
|
description: string | null;
|
|
557
557
|
enabled: boolean;
|
|
@@ -646,9 +646,9 @@ export declare function getAdminStorefrontSettingsQueryOptions(client: FetchWith
|
|
|
646
646
|
};
|
|
647
647
|
};
|
|
648
648
|
payment: {
|
|
649
|
-
defaultMethod: "
|
|
649
|
+
defaultMethod: "invoice" | "voucher" | "bank_transfer" | "cash" | "card" | null;
|
|
650
650
|
methods: {
|
|
651
|
-
code: "
|
|
651
|
+
code: "invoice" | "voucher" | "bank_transfer" | "cash" | "card";
|
|
652
652
|
label: string;
|
|
653
653
|
description: string | null;
|
|
654
654
|
enabled: boolean;
|
|
@@ -745,9 +745,9 @@ export declare function getAdminStorefrontSettingsQueryOptions(client: FetchWith
|
|
|
745
745
|
};
|
|
746
746
|
};
|
|
747
747
|
payment: {
|
|
748
|
-
defaultMethod: "
|
|
748
|
+
defaultMethod: "invoice" | "voucher" | "bank_transfer" | "cash" | "card" | null;
|
|
749
749
|
methods: {
|
|
750
|
-
code: "
|
|
750
|
+
code: "invoice" | "voucher" | "bank_transfer" | "cash" | "card";
|
|
751
751
|
label: string;
|
|
752
752
|
description: string | null;
|
|
753
753
|
enabled: boolean;
|
package/dist/schemas.d.ts
CHANGED
|
@@ -91,18 +91,18 @@ export declare const storefrontSettingsResponseSchema: z.ZodObject<{
|
|
|
91
91
|
}, z.core.$strip>;
|
|
92
92
|
payment: z.ZodObject<{
|
|
93
93
|
defaultMethod: z.ZodNullable<z.ZodEnum<{
|
|
94
|
+
invoice: "invoice";
|
|
94
95
|
voucher: "voucher";
|
|
95
96
|
bank_transfer: "bank_transfer";
|
|
96
97
|
cash: "cash";
|
|
97
|
-
invoice: "invoice";
|
|
98
98
|
card: "card";
|
|
99
99
|
}>>;
|
|
100
100
|
methods: z.ZodArray<z.ZodObject<{
|
|
101
101
|
code: z.ZodEnum<{
|
|
102
|
+
invoice: "invoice";
|
|
102
103
|
voucher: "voucher";
|
|
103
104
|
bank_transfer: "bank_transfer";
|
|
104
105
|
cash: "cash";
|
|
105
|
-
invoice: "invoice";
|
|
106
106
|
card: "card";
|
|
107
107
|
}>;
|
|
108
108
|
label: z.ZodString;
|
|
@@ -372,8 +372,8 @@ export declare const storefrontDeparturePricePreviewResponseSchema: z.ZodObject<
|
|
|
372
372
|
conflict: "conflict";
|
|
373
373
|
}>;
|
|
374
374
|
reason: z.ZodNullable<z.ZodEnum<{
|
|
375
|
-
scope: "scope";
|
|
376
375
|
currency: "currency";
|
|
376
|
+
scope: "scope";
|
|
377
377
|
booking_mismatch: "booking_mismatch";
|
|
378
378
|
conflict: "conflict";
|
|
379
379
|
offer_not_found: "offer_not_found";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyant-travel/storefront-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.124.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"react": "^19.0.0",
|
|
86
86
|
"react-dom": "^19.0.0",
|
|
87
87
|
"zod": "^4.0.0",
|
|
88
|
-
"@voyant-travel/storefront": "^0.
|
|
88
|
+
"@voyant-travel/storefront": "^0.124.0",
|
|
89
89
|
"@voyant-travel/ui": "^0.106.2"
|
|
90
90
|
},
|
|
91
91
|
"peerDependenciesMeta": {
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
"vitest": "^4.1.2",
|
|
111
111
|
"zod": "^4.3.6",
|
|
112
112
|
"@voyant-travel/react": "^0.104.1",
|
|
113
|
-
"@voyant-travel/storefront": "^0.
|
|
113
|
+
"@voyant-travel/storefront": "^0.124.0",
|
|
114
114
|
"@voyant-travel/ui": "^0.106.2",
|
|
115
115
|
"@voyant-travel/voyant-typescript-config": "^0.1.0"
|
|
116
116
|
},
|