@shipengine/elements 0.15.0 → 0.16.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/components/field/create-field-controller.d.ts +3 -1
- package/components/field/credit-card-input/credit-card-input.d.ts +3 -0
- package/components/field/credit-card-input/index.d.ts +1 -0
- package/components/field/fields.d.ts +1 -0
- package/components/field/money-input/hooks/use-utils.d.ts +1 -1
- package/components/field/money-input/money-input.d.ts +1 -1
- package/components/field/rate-card/cost-breakdown/cost-breakdown.d.ts +1 -1
- package/components/form-portal/form-portal.d.ts +18 -0
- package/components/form-portal/index.d.ts +1 -0
- package/components/index.d.ts +1 -0
- package/components/items-breakdown/items-breakdown.d.ts +1 -1
- package/components/organisms/auto-funding-form/auto-funding-form.d.ts +4 -3
- package/components/organisms/auto-funding-form/auto-funding-form.styles.d.ts +1 -0
- package/components/organisms/auto-funding-form/auto-funding-schema.d.ts +10 -10
- package/components/organisms/manual-funding-form/manual-funding-form.d.ts +3 -2
- package/components/organisms/manual-funding-form/manual-funding-schema.d.ts +5 -5
- package/components/portal/portal.d.ts +1 -1
- package/components/settings-card/settings-card.d.ts +6 -1
- package/components/settings-card/settings-card.styles.d.ts +1 -6
- package/components/templates/{billing-form/billing-schema.d.ts → add-carrier-form/add-carrier-form-schema.d.ts} +38 -109
- package/components/templates/add-carrier-form/add-carrier-form-test.d.ts +1 -0
- package/components/templates/add-carrier-form/add-carrier-form.d.ts +10 -0
- package/components/templates/add-carrier-form/index.d.ts +2 -0
- package/components/templates/address-display/address-display.d.ts +1 -1
- package/components/templates/address-form/address-fields.d.ts +2 -1
- package/components/templates/address-form/address-form-schema.d.ts +0 -9
- package/components/templates/address-form/address-form.d.ts +2 -2
- package/components/templates/address-form/address-schema.d.ts +2 -3
- package/components/templates/address-preference-display/address-preference-display.d.ts +1 -1
- package/components/templates/carrier-recovery-form/carrier-recovery-form-schema.d.ts +238 -0
- package/components/templates/carrier-recovery-form/carrier-recovery-form.d.ts +10 -0
- package/components/templates/carrier-recovery-form/carrier-recovery-form.styles.d.ts +1 -0
- package/components/templates/carrier-recovery-form/index.d.ts +2 -0
- package/components/templates/carrier-terms-form/carrier-terms-form-schema.d.ts +10 -0
- package/components/templates/carrier-terms-form/carrier-terms-form.d.ts +6 -0
- package/components/templates/carrier-terms-form/carrier-terms-form.styles.d.ts +1 -0
- package/components/templates/carrier-terms-form/index.d.ts +1 -0
- package/components/templates/customs-item-form/customs-item-form-schema.d.ts +112 -12
- package/components/templates/customs-item-form/customs-item-form.d.ts +3 -2
- package/components/templates/customs-items-display/customs-items-display.d.ts +1 -1
- package/components/templates/display-carrier-terms/display-carrier-terms.d.ts +6 -0
- package/components/templates/display-carrier-terms/index.d.ts +1 -0
- package/components/templates/edit-billing-form/edit-billing-form.d.ts +6 -0
- package/components/templates/edit-billing-form/edit-billing-form.styles.d.ts +1 -0
- package/components/templates/edit-billing-form/index.d.ts +1 -0
- package/components/templates/funding-methods/funding-methods.d.ts +6 -5
- package/components/templates/funding-methods/funding-methods.styles.d.ts +1 -0
- package/components/templates/index.d.ts +8 -3
- package/components/templates/label/label.d.ts +2 -2
- package/components/templates/landing-page/index.d.ts +1 -0
- package/components/templates/landing-page/landing-page-form-schema.d.ts +10 -0
- package/components/templates/landing-page/landing-page-form.d.ts +4 -0
- package/components/templates/landing-page/landing-page.d.ts +4 -0
- package/components/templates/landing-page/landing-page.styles.d.ts +1 -0
- package/components/templates/list-carriers/index.d.ts +1 -0
- package/components/templates/list-carriers/list-carriers.d.ts +9 -0
- package/components/templates/list-carriers/list-carriers.styles.d.ts +1 -0
- package/components/templates/list-carriers-row/index.d.ts +1 -0
- package/components/templates/list-carriers-row/list-carriers-row.d.ts +9 -0
- package/components/templates/list-carriers-row/list-carriers-row.styles.d.ts +1 -0
- package/components/templates/manage-wallet/index.d.ts +1 -0
- package/components/templates/manage-wallet/manage-wallet.d.ts +1 -0
- package/components/templates/manage-wallet/manage-wallet.styles.d.ts +1 -0
- package/components/templates/manage-warehouses/manage-warehouses.d.ts +7 -2
- package/components/templates/onboarding/index.d.ts +1 -0
- package/components/templates/onboarding/onboarding.d.ts +18 -0
- package/components/templates/onboarding/onboarding.styles.d.ts +1 -0
- package/components/templates/rate-form/rate-form.d.ts +2 -2
- package/components/templates/sales-order/sales-order.d.ts +1 -1
- package/components/templates/shipment/shipment.d.ts +1 -1
- package/components/templates/shipment-form/shipment-form.d.ts +3 -3
- package/components/templates/shipment-form/shipment-schema.d.ts +11 -11
- package/components/templates/void-label/void-label.d.ts +1 -1
- package/components/templates/wallet-card/index.d.ts +1 -0
- package/components/templates/wallet-card/wallet-card.d.ts +4 -0
- package/components/templates/wallet-card/wallet-card.styles.d.ts +1 -0
- package/components/templates/wallet-form/billing-fields.d.ts +6 -0
- package/components/templates/wallet-form/edit-wallet-address-form.d.ts +16 -0
- package/components/templates/wallet-form/index.d.ts +4 -0
- package/components/templates/wallet-form/wallet-form.d.ts +11 -0
- package/components/templates/wallet-form/wallet-form.styles.d.ts +1 -0
- package/components/templates/wallet-form/wallet-schema.d.ts +269 -0
- package/components/templates/warehouse-display/warehouse-display.d.ts +1 -1
- package/components/templates/warehouse-form/index.d.ts +1 -0
- package/components/templates/warehouse-form/warehouse-form-schema.d.ts +503 -0
- package/components/templates/warehouse-form/warehouse-form.d.ts +10 -0
- package/components/templates/warehouse-form/warehouse-form.styles.d.ts +1 -0
- package/constants/shipengine/address.d.ts +4 -0
- package/elements/components/configure-shipment/configure-shipment.d.ts +1 -1
- package/elements/components/configure-shipment/hooks/use-address.d.ts +3 -3
- package/elements/components/configure-shipment/hooks/use-customs.d.ts +3 -3
- package/elements/components/configure-shipment/hooks/use-presets.d.ts +2 -2
- package/elements/components/configure-shipment/hooks/use-rates-form.d.ts +1 -1
- package/elements/components/configure-shipment/hooks/use-request-rates.d.ts +2 -2
- package/elements/components/configure-shipment/hooks/use-shipment-form.d.ts +6 -6
- package/elements/components/index.d.ts +2 -2
- package/elements/components/list-carriers/hooks/use-list-connected-carriers.d.ts +11 -0
- package/elements/components/list-carriers/index.d.ts +1 -0
- package/elements/components/list-carriers/list-carriers.d.ts +1 -0
- package/elements/components/manage-funding/manage-funding.d.ts +6 -2
- package/elements/components/onboarding/index.d.ts +1 -0
- package/elements/components/onboarding/onboarding.d.ts +4 -0
- package/elements/components/sales-order/hooks/use-configure-shipment.d.ts +3 -1
- package/elements/components/sales-order/hooks/use-import-sales-order.d.ts +2 -2
- package/elements/components/sales-order/hooks/use-pending-shipment.d.ts +1 -1
- package/elements/components/sales-order/sales-order.d.ts +1 -1
- package/elements/components/shipment/shipment.d.ts +1 -1
- package/elements/components/void-label/void-label.d.ts +1 -1
- package/elements/index.d.ts +2 -2
- package/elements/list-carriers.d.ts +1 -0
- package/elements/manage-funding.d.ts +1 -1
- package/elements/onboarding.d.ts +1 -0
- package/factories/shipengine/address.d.ts +1 -1
- package/factories/shipengine/carrier.d.ts +1 -1
- package/factories/shipengine/label.d.ts +1 -1
- package/factories/shipengine/money.d.ts +1 -1
- package/factories/shipengine/order-source.d.ts +10 -2
- package/factories/shipengine/package.d.ts +2 -2
- package/factories/shipengine/resource.d.ts +1 -1
- package/factories/shipengine/sales-order.d.ts +1 -1
- package/factories/shipengine/service.d.ts +2 -2
- package/factories/shipengine/shipment.d.ts +4 -4
- package/factories/shipengine/warehouse.d.ts +1 -1
- package/factories/shipengine/weight.d.ts +1 -1
- package/hooks/index.d.ts +1 -0
- package/hooks/options/use-confirmation-options.d.ts +1 -1
- package/hooks/options/use-customs-contents-options.d.ts +1 -1
- package/hooks/options/use-customs-non-delivery-options.d.ts +1 -1
- package/hooks/options/use-insurance-provider-options.d.ts +2 -2
- package/hooks/options/use-package-options.d.ts +2 -2
- package/hooks/options/use-rate-options.d.ts +1 -1
- package/hooks/options/use-service-code-options.d.ts +1 -1
- package/hooks/options/use-warehouse-options.d.ts +1 -1
- package/hooks/use-carrier-metadata.d.ts +2 -5
- package/hooks/use-toggle.d.ts +12 -0
- package/index.cjs +19246 -17173
- package/index.js +19793 -17720
- package/locales/en/index.d.ts +105 -2
- package/mocks/browser.d.ts +1 -0
- package/mocks/carriers/handlers.d.ts +1 -0
- package/mocks/handlers.d.ts +12 -0
- package/package.json +8 -6
- package/register.d.ts +1 -4
- package/schemas/shipengine/index.d.ts +0 -1
- package/schemas/shipengine/money.d.ts +1 -1
- package/testing/index.d.ts +0 -1
- package/types/carrier-metadata.d.ts +10 -5
- package/types/shipping-preset/shipping-preset.d.ts +2 -2
- package/utilities/date.d.ts +13 -1
- package/utilities/money.d.ts +2 -1
- package/utilities/rates.d.ts +1 -1
- package/utilities/shipengine/address.d.ts +1 -1
- package/utilities/shipengine/dimensions.d.ts +1 -1
- package/utilities/shipengine/sales-order.d.ts +1 -1
- package/utilities/shipengine/shipment.d.ts +1 -1
- package/utilities/shipengine/weight.d.ts +1 -1
- package/components/templates/add-carriers/add-carriers.d.ts +0 -5
- package/components/templates/add-carriers/index.d.ts +0 -1
- package/components/templates/agreement-form/agreement-form-schema.d.ts +0 -10
- package/components/templates/agreement-form/agreement-form.d.ts +0 -8
- package/components/templates/agreement-form/agreement-form.styles.d.ts +0 -1
- package/components/templates/agreement-form/index.d.ts +0 -1
- package/components/templates/billing-form/billing-form-stories.d.ts +0 -6
- package/components/templates/billing-form/billing-form.d.ts +0 -9
- package/components/templates/billing-form/index.d.ts +0 -2
- package/components/templates/register-wallet/index.d.ts +0 -1
- package/components/templates/register-wallet/register-wallet.d.ts +0 -3
- package/components/templates/register-wallet/register-wallet.styles.d.ts +0 -6
- package/elements/add-carriers.d.ts +0 -1
- package/elements/components/add-carriers/add-carriers.d.ts +0 -8
- package/elements/components/add-carriers/index.d.ts +0 -1
- package/elements/components/register-wallet/index.d.ts +0 -1
- package/elements/components/register-wallet/register-wallet.d.ts +0 -9
- package/elements/register-wallet.d.ts +0 -1
- package/schemas/shipengine/address.d.ts +0 -17
- package/testing/swr.d.ts +0 -15
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import
|
|
2
|
+
import { SE } from "@shipengine/api";
|
|
3
3
|
type GetShipmentSchemaOptions = {
|
|
4
4
|
allowInternationalShipFrom?: boolean;
|
|
5
5
|
isCustomsRequired?: boolean;
|
|
@@ -57,7 +57,7 @@ export declare const getShipmentSchema: ({ allowInternationalShipFrom, warehouse
|
|
|
57
57
|
}[];
|
|
58
58
|
nonDelivery: SE.CustomsNonDeliveryType;
|
|
59
59
|
}>>>;
|
|
60
|
-
insuranceProvider: z.ZodDefault<z.ZodNativeEnum<typeof SE.
|
|
60
|
+
insuranceProvider: z.ZodDefault<z.ZodNativeEnum<typeof SE.InsuranceProviderType>>;
|
|
61
61
|
packages: z.ZodArray<z.ZodObject<{
|
|
62
62
|
dimensions: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
63
63
|
height: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodNumber>>, number, number | null | undefined>;
|
|
@@ -218,7 +218,7 @@ export declare const getShipmentSchema: ({ allowInternationalShipFrom, warehouse
|
|
|
218
218
|
shipmentId?: string | undefined;
|
|
219
219
|
__mode: "browse_rates";
|
|
220
220
|
confirmation: SE.ConfirmationType;
|
|
221
|
-
insuranceProvider: SE.
|
|
221
|
+
insuranceProvider: SE.InsuranceProviderType;
|
|
222
222
|
packages: {
|
|
223
223
|
dimensions?: SE.DimensionsWithUnit | undefined;
|
|
224
224
|
insuredValue?: {
|
|
@@ -248,7 +248,7 @@ export declare const getShipmentSchema: ({ allowInternationalShipFrom, warehouse
|
|
|
248
248
|
}[];
|
|
249
249
|
nonDelivery: SE.CustomsNonDeliveryType;
|
|
250
250
|
} | null | undefined;
|
|
251
|
-
insuranceProvider?: SE.
|
|
251
|
+
insuranceProvider?: SE.InsuranceProviderType | undefined;
|
|
252
252
|
service?: {
|
|
253
253
|
carrierId?: string | null | undefined;
|
|
254
254
|
serviceCode?: string | null | undefined;
|
|
@@ -334,7 +334,7 @@ export declare const getShipmentSchema: ({ allowInternationalShipFrom, warehouse
|
|
|
334
334
|
}[];
|
|
335
335
|
nonDelivery: SE.CustomsNonDeliveryType;
|
|
336
336
|
}>>>;
|
|
337
|
-
insuranceProvider: z.ZodDefault<z.ZodNativeEnum<typeof SE.
|
|
337
|
+
insuranceProvider: z.ZodDefault<z.ZodNativeEnum<typeof SE.InsuranceProviderType>>;
|
|
338
338
|
packages: z.ZodArray<z.ZodObject<{
|
|
339
339
|
dimensions: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
340
340
|
height: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodNumber>>, number, number | null | undefined>;
|
|
@@ -647,7 +647,7 @@ export declare const getShipmentSchema: ({ allowInternationalShipFrom, warehouse
|
|
|
647
647
|
shipmentId?: string | undefined;
|
|
648
648
|
__mode: "select_service";
|
|
649
649
|
confirmation: SE.ConfirmationType;
|
|
650
|
-
insuranceProvider: SE.
|
|
650
|
+
insuranceProvider: SE.InsuranceProviderType;
|
|
651
651
|
packages: {
|
|
652
652
|
dimensions?: SE.DimensionsWithUnit | undefined;
|
|
653
653
|
insuredValue?: {
|
|
@@ -681,7 +681,7 @@ export declare const getShipmentSchema: ({ allowInternationalShipFrom, warehouse
|
|
|
681
681
|
}[];
|
|
682
682
|
nonDelivery: SE.CustomsNonDeliveryType;
|
|
683
683
|
} | null | undefined;
|
|
684
|
-
insuranceProvider?: SE.
|
|
684
|
+
insuranceProvider?: SE.InsuranceProviderType | undefined;
|
|
685
685
|
shipmentId?: string | null | undefined;
|
|
686
686
|
__mode: "select_service";
|
|
687
687
|
packages: {
|
|
@@ -773,7 +773,7 @@ export declare const getShipmentSchema: ({ allowInternationalShipFrom, warehouse
|
|
|
773
773
|
shipmentId?: string | undefined;
|
|
774
774
|
__mode: "browse_rates";
|
|
775
775
|
confirmation: SE.ConfirmationType;
|
|
776
|
-
insuranceProvider: SE.
|
|
776
|
+
insuranceProvider: SE.InsuranceProviderType;
|
|
777
777
|
shipDate: string;
|
|
778
778
|
warehouseId: string;
|
|
779
779
|
} | {
|
|
@@ -837,7 +837,7 @@ export declare const getShipmentSchema: ({ allowInternationalShipFrom, warehouse
|
|
|
837
837
|
shipmentId?: string | undefined;
|
|
838
838
|
__mode: "select_service";
|
|
839
839
|
confirmation: SE.ConfirmationType;
|
|
840
|
-
insuranceProvider: SE.
|
|
840
|
+
insuranceProvider: SE.InsuranceProviderType;
|
|
841
841
|
shipDate: string;
|
|
842
842
|
warehouseId: string;
|
|
843
843
|
}, {
|
|
@@ -855,7 +855,7 @@ export declare const getShipmentSchema: ({ allowInternationalShipFrom, warehouse
|
|
|
855
855
|
}[];
|
|
856
856
|
nonDelivery: SE.CustomsNonDeliveryType;
|
|
857
857
|
} | null | undefined;
|
|
858
|
-
insuranceProvider?: SE.
|
|
858
|
+
insuranceProvider?: SE.InsuranceProviderType | undefined;
|
|
859
859
|
service?: {
|
|
860
860
|
carrierId?: string | null | undefined;
|
|
861
861
|
serviceCode?: string | null | undefined;
|
|
@@ -905,7 +905,7 @@ export declare const getShipmentSchema: ({ allowInternationalShipFrom, warehouse
|
|
|
905
905
|
}[];
|
|
906
906
|
nonDelivery: SE.CustomsNonDeliveryType;
|
|
907
907
|
} | null | undefined;
|
|
908
|
-
insuranceProvider?: SE.
|
|
908
|
+
insuranceProvider?: SE.InsuranceProviderType | undefined;
|
|
909
909
|
shipmentId?: string | null | undefined;
|
|
910
910
|
__mode: "select_service";
|
|
911
911
|
packages: {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./wallet-card";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: Record<"container" | "icon", import("@emotion/serialize").Interpolation<import("@packlink/brands/dist/js/theme/Theme").Theme>>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { UseFormReturn } from "react-hook-form";
|
|
2
|
+
import { WalletFormFields } from "./wallet-schema";
|
|
3
|
+
export type BillingFieldProps = {
|
|
4
|
+
form: UseFormReturn<WalletFormFields>;
|
|
5
|
+
};
|
|
6
|
+
export declare const BillingFields: ({ form }: BillingFieldProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { SE } from "@shipengine/api";
|
|
3
|
+
import { BillingAddressPayload } from "./wallet-schema";
|
|
4
|
+
export type EditWalletAddressFormProps<T = undefined> = {
|
|
5
|
+
address?: SE.Address;
|
|
6
|
+
domestic?: boolean;
|
|
7
|
+
onCancel?: () => void;
|
|
8
|
+
onSubmit: (payload: BillingAddressPayload) => void;
|
|
9
|
+
} & ({
|
|
10
|
+
formId: string;
|
|
11
|
+
portalRef: React.RefObject<T>;
|
|
12
|
+
} | {
|
|
13
|
+
formId?: string;
|
|
14
|
+
portalRef?: never;
|
|
15
|
+
});
|
|
16
|
+
export declare const EditWalletAddressForm: <T extends Element>({ address, domestic, formId, onCancel, onSubmit, portalRef, }: EditWalletAddressFormProps<T>) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SE } from "@shipengine/api";
|
|
2
|
+
export type WalletFormFeatures = {};
|
|
3
|
+
export type WalletFormProps = {
|
|
4
|
+
address: SE.Address;
|
|
5
|
+
errors: SE.CodedError[] | null;
|
|
6
|
+
onSubmit: ({ address, creditCard, }: {
|
|
7
|
+
address: SE.Address;
|
|
8
|
+
creditCard: SE.CreditCard;
|
|
9
|
+
}) => Promise<void>;
|
|
10
|
+
};
|
|
11
|
+
export declare const WalletForm: ({ address, errors, onSubmit }: WalletFormProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: Record<"grid" | "heading" | "subtitle", import("@emotion/serialize").Interpolation<import("@packlink/brands/dist/js/theme/Theme").Theme>>;
|
|
@@ -0,0 +1,269 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { CreditCardVendor } from "@shipengine/api";
|
|
3
|
+
export declare const billingAddressSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<z.extendShape<{
|
|
4
|
+
addressLine1: z.ZodString;
|
|
5
|
+
addressLine2: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
|
|
6
|
+
cityLocality: z.ZodString;
|
|
7
|
+
companyName: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
|
|
8
|
+
countryCode: z.ZodEnum<["AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BQ", "BA", "BW", "BR", "IO", "VG", "BN", "BG", "BF", "BI", "CA", "KH", "CM", "CV", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CD", "CK", "CR", "HR", "CU", "CW", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "ET", "FK", "FO", "FM", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "CI", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KR", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MK", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "AN", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "KP", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SX", "SK", "SI", "SB", "SO", "ZA", "GS", "SS", "ES", "LK", "SD", "SR", "SJ", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "VI", "UM", "US", "UY", "UZ", "VU", "VE", "VN", "WF", "EH", "YE", "ZM", "ZW"]>;
|
|
9
|
+
name: z.ZodEffects<z.ZodString, string, string>;
|
|
10
|
+
phone: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string, string | null | undefined>;
|
|
11
|
+
postalCode: z.ZodString;
|
|
12
|
+
stateProvince: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string, string | null | undefined>;
|
|
13
|
+
}, {
|
|
14
|
+
addressLine1: z.ZodEffects<z.ZodString, string, string>;
|
|
15
|
+
addressLine2: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>, string | undefined, string | null | undefined>;
|
|
16
|
+
companyName: z.ZodString;
|
|
17
|
+
phone: z.ZodString;
|
|
18
|
+
}>, "strip", z.ZodTypeAny, {
|
|
19
|
+
addressLine2?: string | undefined;
|
|
20
|
+
addressLine1: string;
|
|
21
|
+
cityLocality: string;
|
|
22
|
+
companyName: string;
|
|
23
|
+
countryCode: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BN" | "BG" | "BF" | "BI" | "CA" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FM" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "AN" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "VI" | "UM" | "US" | "UY" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW";
|
|
24
|
+
name: string;
|
|
25
|
+
phone: string;
|
|
26
|
+
postalCode: string;
|
|
27
|
+
stateProvince: string;
|
|
28
|
+
}, {
|
|
29
|
+
addressLine2?: string | null | undefined;
|
|
30
|
+
stateProvince?: string | null | undefined;
|
|
31
|
+
addressLine1: string;
|
|
32
|
+
cityLocality: string;
|
|
33
|
+
companyName: string;
|
|
34
|
+
countryCode: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BN" | "BG" | "BF" | "BI" | "CA" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FM" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "AN" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "VI" | "UM" | "US" | "UY" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW";
|
|
35
|
+
name: string;
|
|
36
|
+
phone: string;
|
|
37
|
+
postalCode: string;
|
|
38
|
+
}>, {
|
|
39
|
+
addressLine2?: string | undefined;
|
|
40
|
+
addressLine1: string;
|
|
41
|
+
cityLocality: string;
|
|
42
|
+
companyName: string;
|
|
43
|
+
countryCode: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BN" | "BG" | "BF" | "BI" | "CA" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FM" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "AN" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "VI" | "UM" | "US" | "UY" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW";
|
|
44
|
+
name: string;
|
|
45
|
+
phone: string;
|
|
46
|
+
postalCode: string;
|
|
47
|
+
stateProvince: string;
|
|
48
|
+
}, {
|
|
49
|
+
addressLine2?: string | null | undefined;
|
|
50
|
+
stateProvince?: string | null | undefined;
|
|
51
|
+
addressLine1: string;
|
|
52
|
+
cityLocality: string;
|
|
53
|
+
companyName: string;
|
|
54
|
+
countryCode: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BN" | "BG" | "BF" | "BI" | "CA" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FM" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "AN" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "VI" | "UM" | "US" | "UY" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW";
|
|
55
|
+
name: string;
|
|
56
|
+
phone: string;
|
|
57
|
+
postalCode: string;
|
|
58
|
+
}>, {
|
|
59
|
+
addressLine2?: string | undefined;
|
|
60
|
+
addressLine1: string;
|
|
61
|
+
cityLocality: string;
|
|
62
|
+
companyName: string;
|
|
63
|
+
countryCode: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BN" | "BG" | "BF" | "BI" | "CA" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FM" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "AN" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "VI" | "UM" | "US" | "UY" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW";
|
|
64
|
+
name: string;
|
|
65
|
+
phone: string;
|
|
66
|
+
postalCode: string;
|
|
67
|
+
stateProvince: string;
|
|
68
|
+
}, {
|
|
69
|
+
addressLine2?: string | null | undefined;
|
|
70
|
+
stateProvince?: string | null | undefined;
|
|
71
|
+
addressLine1: string;
|
|
72
|
+
cityLocality: string;
|
|
73
|
+
companyName: string;
|
|
74
|
+
countryCode: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BN" | "BG" | "BF" | "BI" | "CA" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FM" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "AN" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "VI" | "UM" | "US" | "UY" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW";
|
|
75
|
+
name: string;
|
|
76
|
+
phone: string;
|
|
77
|
+
postalCode: string;
|
|
78
|
+
}>, {
|
|
79
|
+
addressLine2?: string | undefined;
|
|
80
|
+
addressLine1: string;
|
|
81
|
+
cityLocality: string;
|
|
82
|
+
companyName: string;
|
|
83
|
+
countryCode: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BN" | "BG" | "BF" | "BI" | "CA" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FM" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "AN" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "VI" | "UM" | "US" | "UY" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW";
|
|
84
|
+
name: string;
|
|
85
|
+
phone: string;
|
|
86
|
+
postalCode: string;
|
|
87
|
+
stateProvince: string;
|
|
88
|
+
}, {
|
|
89
|
+
addressLine2?: string | null | undefined;
|
|
90
|
+
stateProvince?: string | null | undefined;
|
|
91
|
+
addressLine1: string;
|
|
92
|
+
cityLocality: string;
|
|
93
|
+
companyName: string;
|
|
94
|
+
countryCode: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BN" | "BG" | "BF" | "BI" | "CA" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FM" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "AN" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "VI" | "UM" | "US" | "UY" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW";
|
|
95
|
+
name: string;
|
|
96
|
+
phone: string;
|
|
97
|
+
postalCode: string;
|
|
98
|
+
}>;
|
|
99
|
+
export type BillingAddressFields = z.input<typeof billingAddressSchema>;
|
|
100
|
+
export type BillingAddressPayload = z.output<typeof billingAddressSchema>;
|
|
101
|
+
export declare const walletSchema: z.ZodObject<{
|
|
102
|
+
address: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<z.extendShape<{
|
|
103
|
+
addressLine1: z.ZodString;
|
|
104
|
+
addressLine2: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
|
|
105
|
+
cityLocality: z.ZodString;
|
|
106
|
+
companyName: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
|
|
107
|
+
countryCode: z.ZodEnum<["AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BQ", "BA", "BW", "BR", "IO", "VG", "BN", "BG", "BF", "BI", "CA", "KH", "CM", "CV", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CD", "CK", "CR", "HR", "CU", "CW", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "ET", "FK", "FO", "FM", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "CI", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KR", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MK", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "AN", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "KP", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SX", "SK", "SI", "SB", "SO", "ZA", "GS", "SS", "ES", "LK", "SD", "SR", "SJ", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "VI", "UM", "US", "UY", "UZ", "VU", "VE", "VN", "WF", "EH", "YE", "ZM", "ZW"]>;
|
|
108
|
+
name: z.ZodEffects<z.ZodString, string, string>;
|
|
109
|
+
phone: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string, string | null | undefined>;
|
|
110
|
+
postalCode: z.ZodString;
|
|
111
|
+
stateProvince: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string, string | null | undefined>;
|
|
112
|
+
}, {
|
|
113
|
+
addressLine1: z.ZodEffects<z.ZodString, string, string>;
|
|
114
|
+
addressLine2: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>, string | undefined, string | null | undefined>;
|
|
115
|
+
companyName: z.ZodString;
|
|
116
|
+
phone: z.ZodString;
|
|
117
|
+
}>, "strip", z.ZodTypeAny, {
|
|
118
|
+
addressLine2?: string | undefined;
|
|
119
|
+
addressLine1: string;
|
|
120
|
+
cityLocality: string;
|
|
121
|
+
companyName: string;
|
|
122
|
+
countryCode: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BN" | "BG" | "BF" | "BI" | "CA" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FM" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "AN" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "VI" | "UM" | "US" | "UY" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW";
|
|
123
|
+
name: string;
|
|
124
|
+
phone: string;
|
|
125
|
+
postalCode: string;
|
|
126
|
+
stateProvince: string;
|
|
127
|
+
}, {
|
|
128
|
+
addressLine2?: string | null | undefined;
|
|
129
|
+
stateProvince?: string | null | undefined;
|
|
130
|
+
addressLine1: string;
|
|
131
|
+
cityLocality: string;
|
|
132
|
+
companyName: string;
|
|
133
|
+
countryCode: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BN" | "BG" | "BF" | "BI" | "CA" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FM" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "AN" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "VI" | "UM" | "US" | "UY" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW";
|
|
134
|
+
name: string;
|
|
135
|
+
phone: string;
|
|
136
|
+
postalCode: string;
|
|
137
|
+
}>, {
|
|
138
|
+
addressLine2?: string | undefined;
|
|
139
|
+
addressLine1: string;
|
|
140
|
+
cityLocality: string;
|
|
141
|
+
companyName: string;
|
|
142
|
+
countryCode: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BN" | "BG" | "BF" | "BI" | "CA" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FM" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "AN" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "VI" | "UM" | "US" | "UY" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW";
|
|
143
|
+
name: string;
|
|
144
|
+
phone: string;
|
|
145
|
+
postalCode: string;
|
|
146
|
+
stateProvince: string;
|
|
147
|
+
}, {
|
|
148
|
+
addressLine2?: string | null | undefined;
|
|
149
|
+
stateProvince?: string | null | undefined;
|
|
150
|
+
addressLine1: string;
|
|
151
|
+
cityLocality: string;
|
|
152
|
+
companyName: string;
|
|
153
|
+
countryCode: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BN" | "BG" | "BF" | "BI" | "CA" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FM" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "AN" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "VI" | "UM" | "US" | "UY" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW";
|
|
154
|
+
name: string;
|
|
155
|
+
phone: string;
|
|
156
|
+
postalCode: string;
|
|
157
|
+
}>, {
|
|
158
|
+
addressLine2?: string | undefined;
|
|
159
|
+
addressLine1: string;
|
|
160
|
+
cityLocality: string;
|
|
161
|
+
companyName: string;
|
|
162
|
+
countryCode: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BN" | "BG" | "BF" | "BI" | "CA" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FM" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "AN" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "VI" | "UM" | "US" | "UY" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW";
|
|
163
|
+
name: string;
|
|
164
|
+
phone: string;
|
|
165
|
+
postalCode: string;
|
|
166
|
+
stateProvince: string;
|
|
167
|
+
}, {
|
|
168
|
+
addressLine2?: string | null | undefined;
|
|
169
|
+
stateProvince?: string | null | undefined;
|
|
170
|
+
addressLine1: string;
|
|
171
|
+
cityLocality: string;
|
|
172
|
+
companyName: string;
|
|
173
|
+
countryCode: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BN" | "BG" | "BF" | "BI" | "CA" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FM" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "AN" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "VI" | "UM" | "US" | "UY" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW";
|
|
174
|
+
name: string;
|
|
175
|
+
phone: string;
|
|
176
|
+
postalCode: string;
|
|
177
|
+
}>, {
|
|
178
|
+
addressLine2?: string | undefined;
|
|
179
|
+
addressLine1: string;
|
|
180
|
+
cityLocality: string;
|
|
181
|
+
companyName: string;
|
|
182
|
+
countryCode: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BN" | "BG" | "BF" | "BI" | "CA" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FM" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "AN" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "VI" | "UM" | "US" | "UY" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW";
|
|
183
|
+
name: string;
|
|
184
|
+
phone: string;
|
|
185
|
+
postalCode: string;
|
|
186
|
+
stateProvince: string;
|
|
187
|
+
}, {
|
|
188
|
+
addressLine2?: string | null | undefined;
|
|
189
|
+
stateProvince?: string | null | undefined;
|
|
190
|
+
addressLine1: string;
|
|
191
|
+
cityLocality: string;
|
|
192
|
+
companyName: string;
|
|
193
|
+
countryCode: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BN" | "BG" | "BF" | "BI" | "CA" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FM" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "AN" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "VI" | "UM" | "US" | "UY" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW";
|
|
194
|
+
name: string;
|
|
195
|
+
phone: string;
|
|
196
|
+
postalCode: string;
|
|
197
|
+
}>;
|
|
198
|
+
creditCard: z.ZodEffects<z.ZodObject<{
|
|
199
|
+
cvv: z.ZodEffects<z.ZodString, string, string>;
|
|
200
|
+
expirationMonth: z.ZodEnum<["01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12"]>;
|
|
201
|
+
expirationYear: z.ZodEffects<z.ZodString, string, string>;
|
|
202
|
+
name: z.ZodString;
|
|
203
|
+
number: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
204
|
+
}, "strip", z.ZodTypeAny, {
|
|
205
|
+
number: string;
|
|
206
|
+
name: string;
|
|
207
|
+
cvv: string;
|
|
208
|
+
expirationMonth: "01" | "02" | "03" | "04" | "05" | "06" | "07" | "08" | "09" | "10" | "11" | "12";
|
|
209
|
+
expirationYear: string;
|
|
210
|
+
}, {
|
|
211
|
+
number: string;
|
|
212
|
+
name: string;
|
|
213
|
+
cvv: string;
|
|
214
|
+
expirationMonth: "01" | "02" | "03" | "04" | "05" | "06" | "07" | "08" | "09" | "10" | "11" | "12";
|
|
215
|
+
expirationYear: string;
|
|
216
|
+
}>, {
|
|
217
|
+
expirationMonth: "01" | "02" | "03" | "04" | "05" | "06" | "07" | "08" | "09" | "10" | "11" | "12";
|
|
218
|
+
expirationYear: string;
|
|
219
|
+
name: string;
|
|
220
|
+
number: string;
|
|
221
|
+
type: CreditCardVendor;
|
|
222
|
+
}, {
|
|
223
|
+
number: string;
|
|
224
|
+
name: string;
|
|
225
|
+
cvv: string;
|
|
226
|
+
expirationMonth: "01" | "02" | "03" | "04" | "05" | "06" | "07" | "08" | "09" | "10" | "11" | "12";
|
|
227
|
+
expirationYear: string;
|
|
228
|
+
}>;
|
|
229
|
+
}, "strip", z.ZodTypeAny, {
|
|
230
|
+
address: {
|
|
231
|
+
addressLine2?: string | undefined;
|
|
232
|
+
addressLine1: string;
|
|
233
|
+
cityLocality: string;
|
|
234
|
+
companyName: string;
|
|
235
|
+
countryCode: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BN" | "BG" | "BF" | "BI" | "CA" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FM" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "AN" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "VI" | "UM" | "US" | "UY" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW";
|
|
236
|
+
name: string;
|
|
237
|
+
phone: string;
|
|
238
|
+
postalCode: string;
|
|
239
|
+
stateProvince: string;
|
|
240
|
+
};
|
|
241
|
+
creditCard: {
|
|
242
|
+
expirationMonth: "01" | "02" | "03" | "04" | "05" | "06" | "07" | "08" | "09" | "10" | "11" | "12";
|
|
243
|
+
expirationYear: string;
|
|
244
|
+
name: string;
|
|
245
|
+
number: string;
|
|
246
|
+
type: CreditCardVendor;
|
|
247
|
+
};
|
|
248
|
+
}, {
|
|
249
|
+
address: {
|
|
250
|
+
addressLine2?: string | null | undefined;
|
|
251
|
+
stateProvince?: string | null | undefined;
|
|
252
|
+
addressLine1: string;
|
|
253
|
+
cityLocality: string;
|
|
254
|
+
companyName: string;
|
|
255
|
+
countryCode: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BN" | "BG" | "BF" | "BI" | "CA" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FM" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "AN" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "VI" | "UM" | "US" | "UY" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW";
|
|
256
|
+
name: string;
|
|
257
|
+
phone: string;
|
|
258
|
+
postalCode: string;
|
|
259
|
+
};
|
|
260
|
+
creditCard: {
|
|
261
|
+
number: string;
|
|
262
|
+
name: string;
|
|
263
|
+
cvv: string;
|
|
264
|
+
expirationMonth: "01" | "02" | "03" | "04" | "05" | "06" | "07" | "08" | "09" | "10" | "11" | "12";
|
|
265
|
+
expirationYear: string;
|
|
266
|
+
};
|
|
267
|
+
}>;
|
|
268
|
+
export type WalletFormFields = z.input<typeof walletSchema>;
|
|
269
|
+
export type WalletFormPayload = z.output<typeof walletSchema>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./warehouse-form";
|