@ventrata/octo-types 0.0.10 → 0.0.12
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/index.d.ts +100 -3
- package/dist/models/AdyenGateway.d.ts +9 -0
- package/dist/models/AdyenGatewaySession.d.ts +4 -0
- package/dist/models/AdyenPaymentMethodsConfiguration.d.ts +10 -0
- package/dist/models/AdyenPaymentMethodsConfigurationApplePay.d.ts +3 -0
- package/dist/models/AdyenPaymentMethodsConfigurationCard.d.ts +20 -0
- package/dist/models/AdyenPaymentMethodsConfigurationCardBillingAddressMode.d.ts +5 -0
- package/dist/models/AdyenPaymentMethodsConfigurationGooglePay.d.ts +5 -0
- package/dist/models/AdyenPaymentMethodsConfigurationGooglePayBillingAddressParameters.d.ts +4 -0
- package/dist/models/AdyenPaymentMethodsConfigurationPayPay.d.ts +5 -0
- package/dist/models/Availability.d.ts +19 -7
- package/dist/models/AvailabilityCalendar.d.ts +2 -0
- package/dist/models/AvailabilityCalendarExtras.d.ts +4 -0
- package/dist/models/AvailabilityContent.d.ts +12 -7
- package/dist/models/AvailabilityExtras.d.ts +4 -0
- package/dist/models/AvailabilityResources.d.ts +6 -0
- package/dist/models/Booking.d.ts +30 -6
- package/dist/models/BookingCardPayments.d.ts +5 -0
- package/dist/models/BookingCheckin.d.ts +5 -0
- package/dist/models/BookingContent.d.ts +1 -0
- package/dist/models/BookingExtras.d.ts +2 -0
- package/dist/models/BookingMemberships.d.ts +6 -0
- package/dist/models/BookingPackages.d.ts +2 -1
- package/dist/models/BookingPickups.d.ts +4 -4
- package/dist/models/BookingRentals.d.ts +6 -0
- package/dist/models/BridgepayGateway.d.ts +3 -0
- package/dist/models/Card.d.ts +8 -0
- package/dist/models/CardPayment.d.ts +34 -0
- package/dist/models/Category.d.ts +0 -4
- package/dist/models/CustomerContact.d.ts +3 -0
- package/dist/models/DeliveryFormat.d.ts +2 -1
- package/dist/models/DeliveryOption.d.ts +2 -2
- package/dist/models/Destination.d.ts +8 -5
- package/dist/models/DestinationPricing.d.ts +10 -0
- package/dist/models/ExternalGateway.d.ts +1 -0
- package/dist/models/{Octo_Pricing.d.ts → ExtraPricing.d.ts} +4 -3
- package/dist/models/Gift.d.ts +3 -0
- package/dist/models/GiftCardPayments.d.ts +5 -0
- package/dist/models/GoogleOptions.d.ts +1 -1
- package/dist/models/Include.d.ts +2 -1
- package/dist/models/Membership.d.ts +11 -0
- package/dist/models/MembershipBenefit.d.ts +5 -0
- package/dist/models/Octo_DeliveryFormat.d.ts +6 -0
- package/dist/models/Offer.d.ts +7 -0
- package/dist/models/OfferDiscount.d.ts +2 -2
- package/dist/models/OfferMemberships.d.ts +4 -0
- package/dist/models/{Octo_Tax.d.ts → OfferTax.d.ts} +2 -2
- package/dist/models/OpeningHours.d.ts +4 -3
- package/dist/models/OpeningHoursContent.d.ts +4 -3
- package/dist/models/Option.d.ts +5 -3
- package/dist/models/OptionPricing.d.ts +11 -0
- package/dist/models/OptionRentals.d.ts +4 -0
- package/dist/models/Order.d.ts +28 -8
- package/dist/models/OrderCardPayments.d.ts +5 -0
- package/dist/models/OrderCheckin.d.ts +4 -0
- package/dist/models/OrderContent.d.ts +7 -0
- package/dist/models/OrderGifts.d.ts +2 -0
- package/dist/models/OrderMemberships.d.ts +4 -0
- package/dist/models/OrderPricing.d.ts +4 -0
- package/dist/models/OrderQuestions.d.ts +8 -0
- package/dist/models/PaypalGateway.d.ts +4 -0
- package/dist/models/PaytrGateway.d.ts +5 -0
- package/dist/models/PeachGateway.d.ts +5 -0
- package/dist/models/Pricing.d.ts +3 -1
- package/dist/models/PricingExtras.d.ts +3 -1
- package/dist/models/PricingUnit.d.ts +5 -2
- package/dist/models/PricingUnitExtras.d.ts +3 -2
- package/dist/models/Product.d.ts +6 -4
- package/dist/models/ProductContent.d.ts +4 -4
- package/dist/models/ProductMemberships.d.ts +3 -0
- package/dist/models/ProductRentals.d.ts +3 -0
- package/dist/models/Question.d.ts +0 -4
- package/dist/models/QuestionAnswer.d.ts +3 -45
- package/dist/models/RealaxGateway.d.ts +1 -0
- package/dist/models/RentalDuration.d.ts +9 -0
- package/dist/models/Scan.d.ts +5 -0
- package/dist/models/SettlementMethod.d.ts +5 -5
- package/dist/models/SpreedlyGateway.d.ts +7 -0
- package/dist/models/StripeGateway.d.ts +15 -0
- package/dist/models/Ticket.d.ts +1 -1
- package/dist/models/Unit.d.ts +2 -0
- package/dist/models/UnitItem.d.ts +7 -1
- package/dist/models/UnitItemExtras.d.ts +4 -0
- package/dist/models/UnitItemRedemption.d.ts +4 -0
- package/dist/models/UnitMemberships.d.ts +4 -0
- package/dist/models/VivawalletGateway.d.ts +4 -0
- package/dist/schemas/AdyenGateway.d.ts +285 -0
- package/dist/schemas/AdyenGatewaySession.d.ts +11 -0
- package/dist/schemas/AdyenPaymentMethodsConfiguration.d.ts +188 -0
- package/dist/schemas/AdyenPaymentMethodsConfigurationApplePay.d.ts +8 -0
- package/dist/schemas/AdyenPaymentMethodsConfigurationCard.d.ts +92 -0
- package/dist/schemas/AdyenPaymentMethodsConfigurationCardBillingAddressMode.d.ts +3 -0
- package/dist/schemas/AdyenPaymentMethodsConfigurationGooglePay.d.ts +11 -0
- package/dist/schemas/AdyenPaymentMethodsConfigurationGooglePayBillingAddressParameters.d.ts +3 -0
- package/dist/schemas/AdyenPaymentMethodsConfigurationPayPay.d.ts +14 -0
- package/dist/schemas/Availability.d.ts +644 -161
- package/dist/schemas/AvailabilityCalendar.d.ts +609 -138
- package/dist/schemas/AvailabilityCalendarExtras.d.ts +90 -0
- package/dist/schemas/AvailabilityCalendarOffers.d.ts +86 -0
- package/dist/schemas/AvailabilityCalendarPricing.d.ts +423 -123
- package/dist/schemas/AvailabilityContent.d.ts +25 -19
- package/dist/schemas/AvailabilityExtras.d.ts +90 -0
- package/dist/schemas/AvailabilityOffers.d.ts +86 -0
- package/dist/schemas/AvailabilityPickups.d.ts +4 -4
- package/dist/schemas/AvailabilityPricing.d.ts +423 -123
- package/dist/schemas/AvailabilityResources.d.ts +8 -0
- package/dist/schemas/AvailabilityUpdate.d.ts +856 -306
- package/dist/schemas/BookingCardPayments.d.ts +889 -0
- package/dist/schemas/BookingCart.d.ts +2 -2
- package/dist/schemas/BookingCheckin.d.ts +14 -0
- package/dist/schemas/BookingConfirmationBody.d.ts +6 -6
- package/dist/schemas/BookingConfirmationRequest.d.ts +10 -10
- package/dist/schemas/BookingContact.d.ts +2 -2
- package/dist/schemas/BookingContent.d.ts +3 -0
- package/dist/schemas/BookingExtras.d.ts +1089 -76
- package/dist/schemas/BookingMemberships.d.ts +209 -0
- package/dist/schemas/BookingOffers.d.ts +2077 -261
- package/dist/schemas/BookingPackages.d.ts +16 -8
- package/dist/schemas/BookingPickups.d.ts +16 -7
- package/dist/schemas/BookingPricing.d.ts +228 -12
- package/dist/schemas/BookingQuestions.d.ts +120 -85
- package/dist/schemas/BookingRentals.d.ts +49 -0
- package/dist/schemas/BookingReservationBody.d.ts +8 -8
- package/dist/schemas/BookingReservationRequest.d.ts +14 -14
- package/dist/schemas/BookingUpdate.d.ts +20 -103
- package/dist/schemas/BookingUpdateBody.d.ts +6 -6
- package/dist/schemas/BookingUpdateRequest.d.ts +10 -10
- package/dist/schemas/BridgepayGateway.d.ts +8 -0
- package/dist/schemas/Card.d.ts +23 -0
- package/dist/schemas/CardPayment.d.ts +668 -0
- package/dist/schemas/Category.d.ts +0 -3
- package/dist/schemas/ConfirmOrderBody.d.ts +4 -4
- package/dist/schemas/CreateOrderBody.d.ts +4 -4
- package/dist/schemas/CreateWaitlistRequest.d.ts +4 -4
- package/dist/schemas/CustomerContact.d.ts +11 -2
- package/dist/schemas/DeliveryOption.d.ts +3 -3
- package/dist/schemas/Destination.d.ts +8 -55
- package/dist/schemas/DestinationPricing.d.ts +11 -0
- package/dist/schemas/ExternalGateway.d.ts +2 -0
- package/dist/schemas/Extra.d.ts +456 -24
- package/dist/schemas/ExtraItem.d.ts +839 -79
- package/dist/schemas/ExtraPricing.d.ts +56 -0
- package/dist/schemas/GetYourGuideConnection.d.ts +2 -2
- package/dist/schemas/Gift.d.ts +1180 -50
- package/dist/schemas/GiftCardPayments.d.ts +889 -0
- package/dist/schemas/GoogleOptions.d.ts +3 -3
- package/dist/schemas/Include.d.ts +6 -3
- package/dist/schemas/ItineraryItem.d.ts +2 -2
- package/dist/schemas/Membership.d.ts +124 -0
- package/dist/schemas/MembershipBenefit.d.ts +14 -0
- package/dist/schemas/Octo_DeliveryFormat.d.ts +3 -0
- package/dist/schemas/Offer.d.ts +29 -0
- package/dist/schemas/OfferCombination.d.ts +1611 -169
- package/dist/schemas/OfferComparison.d.ts +1611 -169
- package/dist/schemas/OfferDiscount.d.ts +0 -5
- package/dist/schemas/OfferMemberships.d.ts +28 -0
- package/dist/schemas/OfferTax.d.ts +17 -0
- package/dist/schemas/OpeningHours.d.ts +9 -9
- package/dist/schemas/OpeningHoursContent.d.ts +9 -9
- package/dist/schemas/OptionContent.d.ts +4 -4
- package/dist/schemas/OptionExtras.d.ts +576 -32
- package/dist/schemas/OptionPackages.d.ts +14 -7
- package/dist/schemas/OptionPickups.d.ts +4 -4
- package/dist/schemas/OptionPricing.d.ts +781 -0
- package/dist/schemas/OptionQuestions.d.ts +4 -9
- package/dist/schemas/OptionRentals.d.ts +43 -0
- package/dist/schemas/Order.d.ts +7421 -991
- package/dist/schemas/OrderCardPayments.d.ts +889 -0
- package/dist/schemas/OrderCheckin.d.ts +11 -0
- package/dist/schemas/OrderContent.d.ts +826 -0
- package/dist/schemas/OrderGifts.d.ts +2342 -0
- package/dist/schemas/OrderMemberships.d.ts +186 -0
- package/dist/schemas/OrderOffers.d.ts +2006 -276
- package/dist/schemas/OrderPricing.d.ts +393 -0
- package/dist/schemas/OrderQuestions.d.ts +139 -0
- package/dist/schemas/PackageInclude.d.ts +10 -5
- package/dist/schemas/PartnersConnection.d.ts +2 -2
- package/dist/schemas/PartnersListConnection.d.ts +28 -111
- package/dist/schemas/PaypalGateway.d.ts +11 -0
- package/dist/schemas/PaytrGateway.d.ts +14 -0
- package/dist/schemas/PeachGateway.d.ts +14 -0
- package/dist/schemas/PickupPoint.d.ts +2 -2
- package/dist/schemas/Pricing.d.ts +168 -8
- package/dist/schemas/PricingExtras.d.ts +170 -3
- package/dist/schemas/PricingOffers.d.ts +0 -7
- package/dist/schemas/PricingUnit.d.ts +143 -87
- package/dist/schemas/PricingUnitExtras.d.ts +83 -85
- package/dist/schemas/ProductContent.d.ts +46 -116
- package/dist/schemas/ProductGoogle.d.ts +5 -5
- package/dist/schemas/ProductMemberships.d.ts +8 -0
- package/dist/schemas/ProductRentals.d.ts +8 -0
- package/dist/schemas/Question.d.ts +2 -5
- package/dist/schemas/QuestionAnswer.d.ts +86 -53
- package/dist/schemas/RealaxGateway.d.ts +2 -0
- package/dist/schemas/RentalDuration.d.ts +23 -0
- package/dist/schemas/Scan.d.ts +14 -0
- package/dist/schemas/SpreedlyGateway.d.ts +20 -0
- package/dist/schemas/StripeGateway.d.ts +64 -0
- package/dist/schemas/Supplier.d.ts +14 -79
- package/dist/schemas/SupplierContent.d.ts +14 -79
- package/dist/schemas/Ticket.d.ts +8 -8
- package/dist/schemas/Unit.d.ts +1069 -75
- package/dist/schemas/UnitExtras.d.ts +576 -32
- package/dist/schemas/UnitItem.d.ts +4040 -691
- package/dist/schemas/UnitItemExtras.d.ts +1833 -0
- package/dist/schemas/UnitItemPricing.d.ts +228 -12
- package/dist/schemas/UnitItemQuestions.d.ts +120 -85
- package/dist/schemas/UnitItemRedemption.d.ts +28 -0
- package/dist/schemas/UnitMemberships.d.ts +28 -0
- package/dist/schemas/UnitPricing.d.ts +456 -24
- package/dist/schemas/UnitQuestions.d.ts +4 -9
- package/dist/schemas/UpdateOrderBody.d.ts +4 -4
- package/dist/schemas/VivawalletGateway.d.ts +11 -0
- package/dist/schemas/Waitlist.d.ts +19 -4
- package/dist/schemas/WhoIAm.d.ts +28 -111
- package/package.json +1 -1
- package/dist/models/Octo_PricingUnit.d.ts +0 -7
|
@@ -1,62 +1,95 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const questionAnswerSchema: z.ZodObject<{
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
3
|
+
questionId: z.ZodString;
|
|
4
|
+
question: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
label: z.ZodNullable<z.ZodString>;
|
|
7
|
+
maxLength: z.ZodNullable<z.ZodNumber>;
|
|
8
|
+
inputType: z.ZodNativeEnum<typeof import("..").QuestionInputType>;
|
|
9
|
+
required: z.ZodBoolean;
|
|
10
|
+
selectOptions: z.ZodArray<z.ZodObject<{
|
|
11
|
+
label: z.ZodString;
|
|
12
|
+
value: z.ZodString;
|
|
13
|
+
}, "strip", z.ZodTypeAny, {
|
|
14
|
+
value: string;
|
|
15
|
+
label: string;
|
|
16
|
+
}, {
|
|
17
|
+
value: string;
|
|
18
|
+
label: string;
|
|
19
|
+
}>, "many">;
|
|
20
|
+
coverImageUrl: z.ZodNullable<z.ZodString>;
|
|
21
|
+
description: z.ZodNullable<z.ZodString>;
|
|
22
|
+
shortDescription: z.ZodNullable<z.ZodString>;
|
|
23
|
+
internalName: z.ZodNullable<z.ZodString>;
|
|
24
|
+
title: z.ZodNullable<z.ZodString>;
|
|
12
25
|
}, "strip", z.ZodTypeAny, {
|
|
13
|
-
|
|
14
|
-
|
|
26
|
+
id: string;
|
|
27
|
+
shortDescription: string | null;
|
|
28
|
+
title: string | null;
|
|
29
|
+
description: string | null;
|
|
30
|
+
label: string | null;
|
|
31
|
+
internalName: string | null;
|
|
32
|
+
coverImageUrl: string | null;
|
|
33
|
+
required: boolean;
|
|
34
|
+
maxLength: number | null;
|
|
35
|
+
inputType: import("..").QuestionInputType;
|
|
36
|
+
selectOptions: {
|
|
37
|
+
value: string;
|
|
38
|
+
label: string;
|
|
39
|
+
}[];
|
|
15
40
|
}, {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
41
|
+
id: string;
|
|
42
|
+
shortDescription: string | null;
|
|
43
|
+
title: string | null;
|
|
44
|
+
description: string | null;
|
|
45
|
+
label: string | null;
|
|
46
|
+
internalName: string | null;
|
|
47
|
+
coverImageUrl: string | null;
|
|
48
|
+
required: boolean;
|
|
49
|
+
maxLength: number | null;
|
|
50
|
+
inputType: import("..").QuestionInputType;
|
|
51
|
+
selectOptions: {
|
|
52
|
+
value: string;
|
|
53
|
+
label: string;
|
|
54
|
+
}[];
|
|
55
|
+
}>;
|
|
56
|
+
value: z.ZodNullable<z.ZodString>;
|
|
26
57
|
}, "strip", z.ZodTypeAny, {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
58
|
+
value: string | null;
|
|
59
|
+
question: {
|
|
60
|
+
id: string;
|
|
61
|
+
shortDescription: string | null;
|
|
62
|
+
title: string | null;
|
|
63
|
+
description: string | null;
|
|
64
|
+
label: string | null;
|
|
65
|
+
internalName: string | null;
|
|
66
|
+
coverImageUrl: string | null;
|
|
67
|
+
required: boolean;
|
|
68
|
+
maxLength: number | null;
|
|
69
|
+
inputType: import("..").QuestionInputType;
|
|
70
|
+
selectOptions: {
|
|
71
|
+
value: string;
|
|
72
|
+
label: string;
|
|
73
|
+
}[];
|
|
74
|
+
};
|
|
42
75
|
questionId: string;
|
|
43
|
-
value?: string | undefined;
|
|
44
76
|
}, {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
77
|
+
value: string | null;
|
|
78
|
+
question: {
|
|
79
|
+
id: string;
|
|
80
|
+
shortDescription: string | null;
|
|
81
|
+
title: string | null;
|
|
82
|
+
description: string | null;
|
|
83
|
+
label: string | null;
|
|
84
|
+
internalName: string | null;
|
|
85
|
+
coverImageUrl: string | null;
|
|
86
|
+
required: boolean;
|
|
87
|
+
maxLength: number | null;
|
|
88
|
+
inputType: import("..").QuestionInputType;
|
|
89
|
+
selectOptions: {
|
|
90
|
+
value: string;
|
|
91
|
+
label: string;
|
|
92
|
+
}[];
|
|
93
|
+
};
|
|
60
94
|
questionId: string;
|
|
61
|
-
value?: string | undefined;
|
|
62
95
|
}>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const rentalDurationSchema: z.ZodObject<{
|
|
3
|
+
id: z.ZodString;
|
|
4
|
+
title: z.ZodString;
|
|
5
|
+
shortDescription: z.ZodNullable<z.ZodString>;
|
|
6
|
+
durationAmount: z.ZodNumber;
|
|
7
|
+
durationUnit: z.ZodNativeEnum<typeof import("..").DurationUnit>;
|
|
8
|
+
pricingMultiplier: z.ZodNumber;
|
|
9
|
+
}, "strip", z.ZodTypeAny, {
|
|
10
|
+
id: string;
|
|
11
|
+
shortDescription: string | null;
|
|
12
|
+
title: string;
|
|
13
|
+
durationAmount: number;
|
|
14
|
+
durationUnit: import("..").DurationUnit;
|
|
15
|
+
pricingMultiplier: number;
|
|
16
|
+
}, {
|
|
17
|
+
id: string;
|
|
18
|
+
shortDescription: string | null;
|
|
19
|
+
title: string;
|
|
20
|
+
durationAmount: number;
|
|
21
|
+
durationUnit: import("..").DurationUnit;
|
|
22
|
+
pricingMultiplier: number;
|
|
23
|
+
}>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const scanSchema: z.ZodObject<{
|
|
3
|
+
id: z.ZodString;
|
|
4
|
+
action: z.ZodString;
|
|
5
|
+
utcCreatedAt: z.ZodString;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
id: string;
|
|
8
|
+
action: string;
|
|
9
|
+
utcCreatedAt: string;
|
|
10
|
+
}, {
|
|
11
|
+
id: string;
|
|
12
|
+
action: string;
|
|
13
|
+
utcCreatedAt: string;
|
|
14
|
+
}>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const spreedlyGatewaySchema: z.ZodObject<{
|
|
3
|
+
env: z.ZodOptional<z.ZodString>;
|
|
4
|
+
nonce: z.ZodOptional<z.ZodString>;
|
|
5
|
+
timestamp: z.ZodOptional<z.ZodString>;
|
|
6
|
+
certificateToken: z.ZodOptional<z.ZodString>;
|
|
7
|
+
signature: z.ZodOptional<z.ZodString>;
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
9
|
+
env?: string | undefined;
|
|
10
|
+
nonce?: string | undefined;
|
|
11
|
+
timestamp?: string | undefined;
|
|
12
|
+
certificateToken?: string | undefined;
|
|
13
|
+
signature?: string | undefined;
|
|
14
|
+
}, {
|
|
15
|
+
env?: string | undefined;
|
|
16
|
+
nonce?: string | undefined;
|
|
17
|
+
timestamp?: string | undefined;
|
|
18
|
+
certificateToken?: string | undefined;
|
|
19
|
+
signature?: string | undefined;
|
|
20
|
+
}>;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const stripeGatewaySchema: z.ZodObject<{
|
|
3
|
+
version: z.ZodOptional<z.ZodString>;
|
|
4
|
+
paymentIntent: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
publishableKey: z.ZodString;
|
|
7
|
+
clientSecret: z.ZodString;
|
|
8
|
+
amount: z.ZodNumber;
|
|
9
|
+
currency: z.ZodString;
|
|
10
|
+
}, "strip", z.ZodTypeAny, {
|
|
11
|
+
id: string;
|
|
12
|
+
currency: string;
|
|
13
|
+
amount: number;
|
|
14
|
+
publishableKey: string;
|
|
15
|
+
clientSecret: string;
|
|
16
|
+
}, {
|
|
17
|
+
id: string;
|
|
18
|
+
currency: string;
|
|
19
|
+
amount: number;
|
|
20
|
+
publishableKey: string;
|
|
21
|
+
clientSecret: string;
|
|
22
|
+
}>>>;
|
|
23
|
+
setupIntent: z.ZodOptional<z.ZodObject<{
|
|
24
|
+
id: z.ZodString;
|
|
25
|
+
publishableKey: z.ZodString;
|
|
26
|
+
clientSecret: z.ZodString;
|
|
27
|
+
}, "strip", z.ZodTypeAny, {
|
|
28
|
+
id: string;
|
|
29
|
+
publishableKey: string;
|
|
30
|
+
clientSecret: string;
|
|
31
|
+
}, {
|
|
32
|
+
id: string;
|
|
33
|
+
publishableKey: string;
|
|
34
|
+
clientSecret: string;
|
|
35
|
+
}>>;
|
|
36
|
+
}, "strip", z.ZodTypeAny, {
|
|
37
|
+
version?: string | undefined;
|
|
38
|
+
paymentIntent?: {
|
|
39
|
+
id: string;
|
|
40
|
+
currency: string;
|
|
41
|
+
amount: number;
|
|
42
|
+
publishableKey: string;
|
|
43
|
+
clientSecret: string;
|
|
44
|
+
} | null | undefined;
|
|
45
|
+
setupIntent?: {
|
|
46
|
+
id: string;
|
|
47
|
+
publishableKey: string;
|
|
48
|
+
clientSecret: string;
|
|
49
|
+
} | undefined;
|
|
50
|
+
}, {
|
|
51
|
+
version?: string | undefined;
|
|
52
|
+
paymentIntent?: {
|
|
53
|
+
id: string;
|
|
54
|
+
currency: string;
|
|
55
|
+
amount: number;
|
|
56
|
+
publishableKey: string;
|
|
57
|
+
clientSecret: string;
|
|
58
|
+
} | null | undefined;
|
|
59
|
+
setupIntent?: {
|
|
60
|
+
id: string;
|
|
61
|
+
publishableKey: string;
|
|
62
|
+
clientSecret: string;
|
|
63
|
+
} | undefined;
|
|
64
|
+
}>;
|
|
@@ -260,37 +260,6 @@ export declare const supplierSchema: z.ZodObject<{
|
|
|
260
260
|
twitterUrl: z.ZodNullable<z.ZodString>;
|
|
261
261
|
youtubeUrl: z.ZodNullable<z.ZodString>;
|
|
262
262
|
instagramUrl: z.ZodNullable<z.ZodString>;
|
|
263
|
-
categories: z.ZodArray<z.ZodObject<{
|
|
264
|
-
id: z.ZodString;
|
|
265
|
-
default: z.ZodBoolean;
|
|
266
|
-
name: z.ZodNullable<z.ZodString>;
|
|
267
|
-
title: z.ZodNullable<z.ZodString>;
|
|
268
|
-
tags: z.ZodArray<z.ZodString, "many">;
|
|
269
|
-
shortDescription: z.ZodNullable<z.ZodString>;
|
|
270
|
-
coverImageUrl: z.ZodNullable<z.ZodString>;
|
|
271
|
-
bannerImageUrl: z.ZodNullable<z.ZodString>;
|
|
272
|
-
productIds: z.ZodArray<z.ZodString, "many">;
|
|
273
|
-
}, "strip", z.ZodTypeAny, {
|
|
274
|
-
id: string;
|
|
275
|
-
name: string | null;
|
|
276
|
-
tags: string[];
|
|
277
|
-
shortDescription: string | null;
|
|
278
|
-
title: string | null;
|
|
279
|
-
coverImageUrl: string | null;
|
|
280
|
-
default: boolean;
|
|
281
|
-
bannerImageUrl: string | null;
|
|
282
|
-
productIds: string[];
|
|
283
|
-
}, {
|
|
284
|
-
id: string;
|
|
285
|
-
name: string | null;
|
|
286
|
-
tags: string[];
|
|
287
|
-
shortDescription: string | null;
|
|
288
|
-
title: string | null;
|
|
289
|
-
coverImageUrl: string | null;
|
|
290
|
-
default: boolean;
|
|
291
|
-
bannerImageUrl: string | null;
|
|
292
|
-
productIds: string[];
|
|
293
|
-
}>, "many">;
|
|
294
263
|
tags: z.ZodArray<z.ZodString, "many">;
|
|
295
264
|
address: z.ZodNullable<z.ZodString>;
|
|
296
265
|
notices: z.ZodArray<z.ZodObject<{
|
|
@@ -309,6 +278,8 @@ export declare const supplierSchema: z.ZodObject<{
|
|
|
309
278
|
title: string | null;
|
|
310
279
|
coverImageUrl: string | null;
|
|
311
280
|
}>, "many">;
|
|
281
|
+
defaultCurrency: z.ZodOptional<z.ZodString>;
|
|
282
|
+
availableCurrencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
312
283
|
}, "strip", z.ZodTypeAny, {
|
|
313
284
|
country: string | null;
|
|
314
285
|
id: string;
|
|
@@ -335,7 +306,6 @@ export declare const supplierSchema: z.ZodObject<{
|
|
|
335
306
|
telephone: string | null;
|
|
336
307
|
};
|
|
337
308
|
default: boolean;
|
|
338
|
-
bannerImageUrl: string | null;
|
|
339
309
|
featured: boolean;
|
|
340
310
|
brand: {
|
|
341
311
|
id: string | null;
|
|
@@ -379,6 +349,7 @@ export declare const supplierSchema: z.ZodObject<{
|
|
|
379
349
|
logoWhiteUrl: string | null;
|
|
380
350
|
faviconUrl: string | null;
|
|
381
351
|
};
|
|
352
|
+
bannerImageUrl: string | null;
|
|
382
353
|
videoUrl: string | null;
|
|
383
354
|
facebookUrl: string | null;
|
|
384
355
|
googleUrl: string | null;
|
|
@@ -386,17 +357,8 @@ export declare const supplierSchema: z.ZodObject<{
|
|
|
386
357
|
twitterUrl: string | null;
|
|
387
358
|
youtubeUrl: string | null;
|
|
388
359
|
instagramUrl: string | null;
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
name: string | null;
|
|
392
|
-
tags: string[];
|
|
393
|
-
shortDescription: string | null;
|
|
394
|
-
title: string | null;
|
|
395
|
-
coverImageUrl: string | null;
|
|
396
|
-
default: boolean;
|
|
397
|
-
bannerImageUrl: string | null;
|
|
398
|
-
productIds: string[];
|
|
399
|
-
}[];
|
|
360
|
+
defaultCurrency?: string | undefined;
|
|
361
|
+
availableCurrencies?: string[] | undefined;
|
|
400
362
|
}, {
|
|
401
363
|
country: string | null;
|
|
402
364
|
id: string;
|
|
@@ -423,7 +385,6 @@ export declare const supplierSchema: z.ZodObject<{
|
|
|
423
385
|
telephone: string | null;
|
|
424
386
|
};
|
|
425
387
|
default: boolean;
|
|
426
|
-
bannerImageUrl: string | null;
|
|
427
388
|
featured: boolean;
|
|
428
389
|
brand: {
|
|
429
390
|
id: string | null;
|
|
@@ -467,6 +428,7 @@ export declare const supplierSchema: z.ZodObject<{
|
|
|
467
428
|
logoWhiteUrl: string | null;
|
|
468
429
|
faviconUrl: string | null;
|
|
469
430
|
};
|
|
431
|
+
bannerImageUrl: string | null;
|
|
470
432
|
videoUrl: string | null;
|
|
471
433
|
facebookUrl: string | null;
|
|
472
434
|
googleUrl: string | null;
|
|
@@ -474,17 +436,8 @@ export declare const supplierSchema: z.ZodObject<{
|
|
|
474
436
|
twitterUrl: string | null;
|
|
475
437
|
youtubeUrl: string | null;
|
|
476
438
|
instagramUrl: string | null;
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
name: string | null;
|
|
480
|
-
tags: string[];
|
|
481
|
-
shortDescription: string | null;
|
|
482
|
-
title: string | null;
|
|
483
|
-
coverImageUrl: string | null;
|
|
484
|
-
default: boolean;
|
|
485
|
-
bannerImageUrl: string | null;
|
|
486
|
-
productIds: string[];
|
|
487
|
-
}[];
|
|
439
|
+
defaultCurrency?: string | undefined;
|
|
440
|
+
availableCurrencies?: string[] | undefined;
|
|
488
441
|
}>, "many">>;
|
|
489
442
|
}, "strip", z.ZodTypeAny, {
|
|
490
443
|
id: string;
|
|
@@ -532,7 +485,6 @@ export declare const supplierSchema: z.ZodObject<{
|
|
|
532
485
|
telephone: string | null;
|
|
533
486
|
};
|
|
534
487
|
default: boolean;
|
|
535
|
-
bannerImageUrl: string | null;
|
|
536
488
|
featured: boolean;
|
|
537
489
|
brand: {
|
|
538
490
|
id: string | null;
|
|
@@ -576,6 +528,7 @@ export declare const supplierSchema: z.ZodObject<{
|
|
|
576
528
|
logoWhiteUrl: string | null;
|
|
577
529
|
faviconUrl: string | null;
|
|
578
530
|
};
|
|
531
|
+
bannerImageUrl: string | null;
|
|
579
532
|
videoUrl: string | null;
|
|
580
533
|
facebookUrl: string | null;
|
|
581
534
|
googleUrl: string | null;
|
|
@@ -583,17 +536,8 @@ export declare const supplierSchema: z.ZodObject<{
|
|
|
583
536
|
twitterUrl: string | null;
|
|
584
537
|
youtubeUrl: string | null;
|
|
585
538
|
instagramUrl: string | null;
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
name: string | null;
|
|
589
|
-
tags: string[];
|
|
590
|
-
shortDescription: string | null;
|
|
591
|
-
title: string | null;
|
|
592
|
-
coverImageUrl: string | null;
|
|
593
|
-
default: boolean;
|
|
594
|
-
bannerImageUrl: string | null;
|
|
595
|
-
productIds: string[];
|
|
596
|
-
}[];
|
|
539
|
+
defaultCurrency?: string | undefined;
|
|
540
|
+
availableCurrencies?: string[] | undefined;
|
|
597
541
|
}[] | undefined;
|
|
598
542
|
}, {
|
|
599
543
|
id: string;
|
|
@@ -641,7 +585,6 @@ export declare const supplierSchema: z.ZodObject<{
|
|
|
641
585
|
telephone: string | null;
|
|
642
586
|
};
|
|
643
587
|
default: boolean;
|
|
644
|
-
bannerImageUrl: string | null;
|
|
645
588
|
featured: boolean;
|
|
646
589
|
brand: {
|
|
647
590
|
id: string | null;
|
|
@@ -685,6 +628,7 @@ export declare const supplierSchema: z.ZodObject<{
|
|
|
685
628
|
logoWhiteUrl: string | null;
|
|
686
629
|
faviconUrl: string | null;
|
|
687
630
|
};
|
|
631
|
+
bannerImageUrl: string | null;
|
|
688
632
|
videoUrl: string | null;
|
|
689
633
|
facebookUrl: string | null;
|
|
690
634
|
googleUrl: string | null;
|
|
@@ -692,16 +636,7 @@ export declare const supplierSchema: z.ZodObject<{
|
|
|
692
636
|
twitterUrl: string | null;
|
|
693
637
|
youtubeUrl: string | null;
|
|
694
638
|
instagramUrl: string | null;
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
name: string | null;
|
|
698
|
-
tags: string[];
|
|
699
|
-
shortDescription: string | null;
|
|
700
|
-
title: string | null;
|
|
701
|
-
coverImageUrl: string | null;
|
|
702
|
-
default: boolean;
|
|
703
|
-
bannerImageUrl: string | null;
|
|
704
|
-
productIds: string[];
|
|
705
|
-
}[];
|
|
639
|
+
defaultCurrency?: string | undefined;
|
|
640
|
+
availableCurrencies?: string[] | undefined;
|
|
706
641
|
}[] | undefined;
|
|
707
642
|
}>;
|
|
@@ -218,37 +218,6 @@ export declare const supplierContentSchema: z.ZodObject<{
|
|
|
218
218
|
twitterUrl: z.ZodNullable<z.ZodString>;
|
|
219
219
|
youtubeUrl: z.ZodNullable<z.ZodString>;
|
|
220
220
|
instagramUrl: z.ZodNullable<z.ZodString>;
|
|
221
|
-
categories: z.ZodArray<z.ZodObject<{
|
|
222
|
-
id: z.ZodString;
|
|
223
|
-
default: z.ZodBoolean;
|
|
224
|
-
name: z.ZodNullable<z.ZodString>;
|
|
225
|
-
title: z.ZodNullable<z.ZodString>;
|
|
226
|
-
tags: z.ZodArray<z.ZodString, "many">;
|
|
227
|
-
shortDescription: z.ZodNullable<z.ZodString>;
|
|
228
|
-
coverImageUrl: z.ZodNullable<z.ZodString>;
|
|
229
|
-
bannerImageUrl: z.ZodNullable<z.ZodString>;
|
|
230
|
-
productIds: z.ZodArray<z.ZodString, "many">;
|
|
231
|
-
}, "strip", z.ZodTypeAny, {
|
|
232
|
-
id: string;
|
|
233
|
-
name: string | null;
|
|
234
|
-
tags: string[];
|
|
235
|
-
shortDescription: string | null;
|
|
236
|
-
title: string | null;
|
|
237
|
-
coverImageUrl: string | null;
|
|
238
|
-
default: boolean;
|
|
239
|
-
bannerImageUrl: string | null;
|
|
240
|
-
productIds: string[];
|
|
241
|
-
}, {
|
|
242
|
-
id: string;
|
|
243
|
-
name: string | null;
|
|
244
|
-
tags: string[];
|
|
245
|
-
shortDescription: string | null;
|
|
246
|
-
title: string | null;
|
|
247
|
-
coverImageUrl: string | null;
|
|
248
|
-
default: boolean;
|
|
249
|
-
bannerImageUrl: string | null;
|
|
250
|
-
productIds: string[];
|
|
251
|
-
}>, "many">;
|
|
252
221
|
tags: z.ZodArray<z.ZodString, "many">;
|
|
253
222
|
address: z.ZodNullable<z.ZodString>;
|
|
254
223
|
notices: z.ZodArray<z.ZodObject<{
|
|
@@ -267,6 +236,8 @@ export declare const supplierContentSchema: z.ZodObject<{
|
|
|
267
236
|
title: string | null;
|
|
268
237
|
coverImageUrl: string | null;
|
|
269
238
|
}>, "many">;
|
|
239
|
+
defaultCurrency: z.ZodOptional<z.ZodString>;
|
|
240
|
+
availableCurrencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
270
241
|
}, "strip", z.ZodTypeAny, {
|
|
271
242
|
country: string | null;
|
|
272
243
|
id: string;
|
|
@@ -293,7 +264,6 @@ export declare const supplierContentSchema: z.ZodObject<{
|
|
|
293
264
|
telephone: string | null;
|
|
294
265
|
};
|
|
295
266
|
default: boolean;
|
|
296
|
-
bannerImageUrl: string | null;
|
|
297
267
|
featured: boolean;
|
|
298
268
|
brand: {
|
|
299
269
|
id: string | null;
|
|
@@ -337,6 +307,7 @@ export declare const supplierContentSchema: z.ZodObject<{
|
|
|
337
307
|
logoWhiteUrl: string | null;
|
|
338
308
|
faviconUrl: string | null;
|
|
339
309
|
};
|
|
310
|
+
bannerImageUrl: string | null;
|
|
340
311
|
videoUrl: string | null;
|
|
341
312
|
facebookUrl: string | null;
|
|
342
313
|
googleUrl: string | null;
|
|
@@ -344,17 +315,8 @@ export declare const supplierContentSchema: z.ZodObject<{
|
|
|
344
315
|
twitterUrl: string | null;
|
|
345
316
|
youtubeUrl: string | null;
|
|
346
317
|
instagramUrl: string | null;
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
name: string | null;
|
|
350
|
-
tags: string[];
|
|
351
|
-
shortDescription: string | null;
|
|
352
|
-
title: string | null;
|
|
353
|
-
coverImageUrl: string | null;
|
|
354
|
-
default: boolean;
|
|
355
|
-
bannerImageUrl: string | null;
|
|
356
|
-
productIds: string[];
|
|
357
|
-
}[];
|
|
318
|
+
defaultCurrency?: string | undefined;
|
|
319
|
+
availableCurrencies?: string[] | undefined;
|
|
358
320
|
}, {
|
|
359
321
|
country: string | null;
|
|
360
322
|
id: string;
|
|
@@ -381,7 +343,6 @@ export declare const supplierContentSchema: z.ZodObject<{
|
|
|
381
343
|
telephone: string | null;
|
|
382
344
|
};
|
|
383
345
|
default: boolean;
|
|
384
|
-
bannerImageUrl: string | null;
|
|
385
346
|
featured: boolean;
|
|
386
347
|
brand: {
|
|
387
348
|
id: string | null;
|
|
@@ -425,6 +386,7 @@ export declare const supplierContentSchema: z.ZodObject<{
|
|
|
425
386
|
logoWhiteUrl: string | null;
|
|
426
387
|
faviconUrl: string | null;
|
|
427
388
|
};
|
|
389
|
+
bannerImageUrl: string | null;
|
|
428
390
|
videoUrl: string | null;
|
|
429
391
|
facebookUrl: string | null;
|
|
430
392
|
googleUrl: string | null;
|
|
@@ -432,17 +394,8 @@ export declare const supplierContentSchema: z.ZodObject<{
|
|
|
432
394
|
twitterUrl: string | null;
|
|
433
395
|
youtubeUrl: string | null;
|
|
434
396
|
instagramUrl: string | null;
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
name: string | null;
|
|
438
|
-
tags: string[];
|
|
439
|
-
shortDescription: string | null;
|
|
440
|
-
title: string | null;
|
|
441
|
-
coverImageUrl: string | null;
|
|
442
|
-
default: boolean;
|
|
443
|
-
bannerImageUrl: string | null;
|
|
444
|
-
productIds: string[];
|
|
445
|
-
}[];
|
|
397
|
+
defaultCurrency?: string | undefined;
|
|
398
|
+
availableCurrencies?: string[] | undefined;
|
|
446
399
|
}>, "many">>;
|
|
447
400
|
}, "strip", z.ZodTypeAny, {
|
|
448
401
|
country?: string | null | undefined;
|
|
@@ -472,7 +425,6 @@ export declare const supplierContentSchema: z.ZodObject<{
|
|
|
472
425
|
telephone: string | null;
|
|
473
426
|
};
|
|
474
427
|
default: boolean;
|
|
475
|
-
bannerImageUrl: string | null;
|
|
476
428
|
featured: boolean;
|
|
477
429
|
brand: {
|
|
478
430
|
id: string | null;
|
|
@@ -516,6 +468,7 @@ export declare const supplierContentSchema: z.ZodObject<{
|
|
|
516
468
|
logoWhiteUrl: string | null;
|
|
517
469
|
faviconUrl: string | null;
|
|
518
470
|
};
|
|
471
|
+
bannerImageUrl: string | null;
|
|
519
472
|
videoUrl: string | null;
|
|
520
473
|
facebookUrl: string | null;
|
|
521
474
|
googleUrl: string | null;
|
|
@@ -523,17 +476,8 @@ export declare const supplierContentSchema: z.ZodObject<{
|
|
|
523
476
|
twitterUrl: string | null;
|
|
524
477
|
youtubeUrl: string | null;
|
|
525
478
|
instagramUrl: string | null;
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
name: string | null;
|
|
529
|
-
tags: string[];
|
|
530
|
-
shortDescription: string | null;
|
|
531
|
-
title: string | null;
|
|
532
|
-
coverImageUrl: string | null;
|
|
533
|
-
default: boolean;
|
|
534
|
-
bannerImageUrl: string | null;
|
|
535
|
-
productIds: string[];
|
|
536
|
-
}[];
|
|
479
|
+
defaultCurrency?: string | undefined;
|
|
480
|
+
availableCurrencies?: string[] | undefined;
|
|
537
481
|
}[] | undefined;
|
|
538
482
|
}, {
|
|
539
483
|
country?: string | null | undefined;
|
|
@@ -563,7 +507,6 @@ export declare const supplierContentSchema: z.ZodObject<{
|
|
|
563
507
|
telephone: string | null;
|
|
564
508
|
};
|
|
565
509
|
default: boolean;
|
|
566
|
-
bannerImageUrl: string | null;
|
|
567
510
|
featured: boolean;
|
|
568
511
|
brand: {
|
|
569
512
|
id: string | null;
|
|
@@ -607,6 +550,7 @@ export declare const supplierContentSchema: z.ZodObject<{
|
|
|
607
550
|
logoWhiteUrl: string | null;
|
|
608
551
|
faviconUrl: string | null;
|
|
609
552
|
};
|
|
553
|
+
bannerImageUrl: string | null;
|
|
610
554
|
videoUrl: string | null;
|
|
611
555
|
facebookUrl: string | null;
|
|
612
556
|
googleUrl: string | null;
|
|
@@ -614,16 +558,7 @@ export declare const supplierContentSchema: z.ZodObject<{
|
|
|
614
558
|
twitterUrl: string | null;
|
|
615
559
|
youtubeUrl: string | null;
|
|
616
560
|
instagramUrl: string | null;
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
name: string | null;
|
|
620
|
-
tags: string[];
|
|
621
|
-
shortDescription: string | null;
|
|
622
|
-
title: string | null;
|
|
623
|
-
coverImageUrl: string | null;
|
|
624
|
-
default: boolean;
|
|
625
|
-
bannerImageUrl: string | null;
|
|
626
|
-
productIds: string[];
|
|
627
|
-
}[];
|
|
561
|
+
defaultCurrency?: string | undefined;
|
|
562
|
+
availableCurrencies?: string[] | undefined;
|
|
628
563
|
}[] | undefined;
|
|
629
564
|
}>;
|