@shipengine/elements 1.8.0 → 1.9.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/address-8f8119f4.js +1 -0
- package/carrier-2abb4760.js +1 -0
- package/carrier-logo-1b6c767e.js +1 -0
- package/components.js +1 -0
- package/constants.js +1 -0
- package/elements.js +1 -0
- package/extensions.js +1 -0
- package/feature-flags-3e03717c.js +1 -0
- package/formatString-413ec7c7.js +1 -0
- package/hooks.js +1 -0
- package/index.js +1 -25578
- package/money-fbc4d0b3.js +1 -0
- package/package.json +47 -5
- package/payment-method-settings-element-595cc38d.js +1 -0
- package/phone-87dd7bd8.js +1 -0
- package/schemas.js +1 -0
- package/shipment-90d35708.js +1 -0
- package/src/components/address-preference-context/address-preference-context.d.ts +5 -2
- package/src/components/carrier-icon/carrier-icon.d.ts +9 -9
- package/src/components/carrier-logo/carrier-logo.d.ts +2 -1
- package/src/components/field/date-picker/date-picker.d.ts +1 -1
- package/src/components/field/rate-card/rate-card.d.ts +2 -1
- package/src/components/field/rate-card/rate-card.styles.d.ts +0 -1
- package/src/components/field/rate-select/rate-select.d.ts +6 -1
- package/src/components/fund-and-purchase/fund-and-purchase.d.ts +4 -1
- package/src/components/here-map/here-map.d.ts +16 -0
- package/src/components/here-map/here-map.styles.d.ts +23 -0
- package/src/components/index.d.ts +1 -0
- package/src/components/modal/modal.d.ts +2 -1
- package/src/components/rate-details/index.d.ts +1 -0
- package/src/components/rate-details/rate-details.d.ts +17 -0
- package/src/components/rate-details/rate-details.styles.d.ts +23 -0
- package/src/components/search-bar/index.d.ts +1 -0
- package/src/components/search-bar/search-bar.d.ts +8 -0
- package/src/components/service-point-display/operating-hours.d.ts +6 -0
- package/src/components/service-point-display/operating-hours.styles.d.ts +44 -0
- package/src/components/service-point-display/service-point-display.d.ts +6 -6
- package/src/components/service-point-display/service-point-display.styles.d.ts +13 -19
- package/src/components/service-points/service-points.d.ts +2 -1
- package/src/components/tabs/tabs.d.ts +5 -1
- package/src/components/tabs/tabs.styles.d.ts +3 -2
- package/src/components/templates/index.d.ts +1 -1
- package/src/components/templates/label/label.styles.d.ts +21 -1
- package/src/components/templates/product-form/product-form-schema.d.ts +12 -0
- package/src/components/templates/pudo-rate-tabs/index.d.ts +0 -1
- package/src/components/templates/pudo-rate-tabs/pudo-list-view/pudo-list-view.d.ts +5 -0
- package/src/components/templates/pudo-rate-tabs/pudo-map-view/pudo-map-view.d.ts +15 -0
- package/src/components/templates/pudo-rate-tabs/pudo-rate-tabs.d.ts +17 -15
- package/src/components/templates/rate-form/rate-form.d.ts +10 -2
- package/src/components/templates/register-funding-source-carrier-form/index.d.ts +2 -0
- package/src/components/templates/register-funding-source-carrier-form/register-funding-source-carrier-form.d.ts +13 -0
- package/src/components/templates/register-funding-source-carrier-form/register-funding-source-carrier-form.styles.d.ts +25 -0
- package/src/components/templates/{add-carrier-form/add-carrier-form-schema.d.ts → register-funding-source-carrier-form/register-funding-source-carrier-schema.d.ts} +42 -88
- package/src/components/templates/shipment/shipment.d.ts +2 -1
- package/src/elements/external-carriers/external-carriers.d.ts +74 -4
- package/src/elements/label-layout/label-layout-element.d.ts +49 -3
- package/src/elements/labels-grid/labels-grid.d.ts +49 -3
- package/src/elements/manage-funding/manage-funding-element.d.ts +49 -3
- package/src/elements/manage-warehouses/manage-warehouses.d.ts +49 -3
- package/src/elements/payment-method-settings/payment-method-settings-element.d.ts +49 -3
- package/src/elements/purchase-label/configure-shipment.d.ts +2 -1
- package/src/elements/purchase-label/hooks/use-rates-form.d.ts +5 -0
- package/src/elements/purchase-label/purchase-label.d.ts +49 -3
- package/src/elements/shipengine-carriers/shipengine-carriers.d.ts +49 -3
- package/src/elements/shipments-grid/shipments-grid.d.ts +49 -3
- package/src/elements/theme-creator/theme-creator.d.ts +49 -3
- package/src/elements/theme-creator/themeData/themeData.d.ts +0 -1
- package/src/elements/unit-settings/unit-settings-element.d.ts +49 -3
- package/src/elements/vat-settings/vat-settings-element.d.ts +49 -3
- package/src/elements/view-shipment/view-shipment.d.ts +80 -27
- package/src/elements/void-label/components/actions/actions.d.ts +3 -3
- package/src/elements/void-label/void-label.d.ts +55 -4
- package/src/elements/wallet-history/wallet-history-element.d.ts +49 -3
- package/src/factories/shipengine/label.d.ts +2 -0
- package/src/features/external-carriers/external-carriers.d.ts +2 -1
- package/src/features/shipengine-carriers/hooks/index.d.ts +2 -1
- package/src/features/shipengine-carriers/hooks/use-carrier-metadata.d.ts +2 -13
- package/src/features/shipengine-carriers/hooks/{use-list-connected-carriers.d.ts → use-list-funding-source-carriers.d.ts} +3 -3
- package/src/features/shipengine-carriers/shipengine-carriers-row/shipengine-carriers-row.d.ts +9 -7
- package/src/hooks/here-map/init.d.ts +6 -0
- package/src/hooks/here-map/use-here-map-ui.d.ts +10 -0
- package/src/hooks/here-map/use-here-map.d.ts +5 -0
- package/src/hooks/options/use-service-points.d.ts +5 -3
- package/src/locales/en/index.d.ts +49 -3
- package/src/testing/test-utils.d.ts +1 -0
- package/src/types/carrier-metadata.d.ts +7 -11
- package/src/types/index.d.ts +0 -1
- package/src/utilities/date.d.ts +1 -2
- package/src/utilities/feature-flags.d.ts +2 -2
- package/src/utilities/shipengine/carrier.d.ts +8 -0
- package/src/workflows/account-settings/account-settings.d.ts +49 -3
- package/src/workflows/connect-carrier/connect-carrier.d.ts +49 -3
- package/src/workflows/manage-wallet-workflow/manage-wallet-workflow.d.ts +49 -3
- package/src/workflows/onboarding/components/carrier-recovery-form/carrier-recovery-form.d.ts +3 -4
- package/src/workflows/onboarding/components/funding-and-carrier-connection-step/use-funding-and-carrier-connection-step.d.ts +1 -2
- package/src/workflows/onboarding/components/terms-agreement-step/use-terms-agreement-step.d.ts +1 -6
- package/src/workflows/onboarding/onboarding.d.ts +50 -4
- package/story-notes-ce2d8cca.js +1 -0
- package/suspend-text-c8c7b6b6.js +1 -0
- package/types.js +1 -0
- package/use-page-layout-93ffae78.js +1 -0
- package/use-scrub-errors-2c4db406.js +1 -0
- package/use-toggle-838d2ebd.js +1 -0
- package/utilities.js +1 -0
- package/validation-b941a548.js +1 -0
- package/wallet-form-3981400b.js +1 -0
- package/wallet-history-5b34c856.js +1 -0
- package/warehouse-form-c0b3ea78.js +34 -0
- package/warehouses-dfcdce23.js +1 -0
- package/workflows.js +1 -0
- package/zod-60def96c.js +1 -0
- package/index.cjs +0 -25795
- package/src/components/templates/add-carrier-form/add-carrier-form-test.d.ts +0 -1
- package/src/components/templates/add-carrier-form/add-carrier-form.d.ts +0 -10
- package/src/components/templates/add-carrier-form/index.d.ts +0 -2
- package/src/components/templates/pudo-rate-tabs/service-points-search-bar/index.d.ts +0 -1
- package/src/components/templates/pudo-rate-tabs/service-points-search-bar/service-points-search-bar.d.ts +0 -6
- package/src/types/patch.d.ts +0 -2
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const
|
|
3
|
-
|
|
2
|
+
export declare const getRegisterFundingSourceCarrierSchema: (addressRequired: boolean) => z.ZodObject<{
|
|
3
|
+
agreeToTerms: z.ZodEffects<z.ZodBoolean, boolean, boolean>;
|
|
4
|
+
pickupAddress: z.ZodObject<{
|
|
4
5
|
addressLine1: z.ZodString;
|
|
5
6
|
addressLine2: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
|
|
6
7
|
cityLocality: z.ZodString;
|
|
@@ -11,139 +12,92 @@ export declare const addCarrierSchema: z.ZodObject<{
|
|
|
11
12
|
phone: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string, string | null | undefined>;
|
|
12
13
|
postalCode: z.ZodString;
|
|
13
14
|
stateProvince: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string, string | null | undefined>;
|
|
14
|
-
}, {
|
|
15
|
-
addressResidentialIndicator: z.ZodEffects<z.ZodEffects<z.ZodDefault<z.ZodBoolean>, "yes" | "no", boolean | undefined>, "yes" | "no", unknown>;
|
|
16
|
-
companyName: z.ZodString;
|
|
17
|
-
email: z.ZodString;
|
|
18
|
-
phone: z.ZodString;
|
|
19
|
-
}>, "strip", z.ZodTypeAny, {
|
|
20
|
-
addressLine2?: string | undefined;
|
|
21
|
-
addressLine1: string;
|
|
22
|
-
cityLocality: string;
|
|
23
|
-
companyName: string;
|
|
24
|
-
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";
|
|
25
|
-
email: string;
|
|
26
|
-
name: string;
|
|
27
|
-
phone: string;
|
|
28
|
-
postalCode: string;
|
|
29
|
-
stateProvince: string;
|
|
30
|
-
addressResidentialIndicator: "yes" | "no";
|
|
31
|
-
}, {
|
|
32
|
-
addressLine2?: string | null | undefined;
|
|
33
|
-
stateProvince?: string | null | undefined;
|
|
34
|
-
addressResidentialIndicator?: unknown;
|
|
35
|
-
addressLine1: string;
|
|
36
|
-
cityLocality: string;
|
|
37
|
-
companyName: string;
|
|
38
|
-
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";
|
|
39
|
-
email: string;
|
|
40
|
-
name: string;
|
|
41
|
-
phone: string;
|
|
42
|
-
postalCode: string;
|
|
43
|
-
}>, {
|
|
44
|
-
addressLine2?: string | undefined;
|
|
45
|
-
addressLine1: string;
|
|
46
|
-
cityLocality: string;
|
|
47
|
-
companyName: string;
|
|
48
|
-
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";
|
|
49
|
-
email: string;
|
|
50
|
-
name: string;
|
|
51
|
-
phone: string;
|
|
52
|
-
postalCode: string;
|
|
53
|
-
stateProvince: string;
|
|
54
|
-
addressResidentialIndicator: "yes" | "no";
|
|
55
|
-
}, {
|
|
56
|
-
addressLine2?: string | null | undefined;
|
|
57
|
-
stateProvince?: string | null | undefined;
|
|
58
|
-
addressResidentialIndicator?: unknown;
|
|
59
|
-
addressLine1: string;
|
|
60
|
-
cityLocality: string;
|
|
61
|
-
companyName: string;
|
|
62
|
-
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";
|
|
63
|
-
email: string;
|
|
64
|
-
name: string;
|
|
65
|
-
phone: string;
|
|
66
|
-
postalCode: string;
|
|
67
|
-
}>, {
|
|
15
|
+
}, "strip", z.ZodTypeAny, {
|
|
68
16
|
addressLine2?: string | undefined;
|
|
17
|
+
companyName?: string | undefined;
|
|
18
|
+
email?: string | undefined;
|
|
69
19
|
addressLine1: string;
|
|
70
20
|
cityLocality: string;
|
|
71
|
-
companyName: string;
|
|
72
21
|
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";
|
|
73
|
-
email: string;
|
|
74
22
|
name: string;
|
|
75
23
|
phone: string;
|
|
76
24
|
postalCode: string;
|
|
77
25
|
stateProvince: string;
|
|
78
|
-
addressResidentialIndicator: "yes" | "no";
|
|
79
26
|
}, {
|
|
80
27
|
addressLine2?: string | null | undefined;
|
|
28
|
+
companyName?: string | null | undefined;
|
|
29
|
+
email?: string | null | undefined;
|
|
30
|
+
phone?: string | null | undefined;
|
|
81
31
|
stateProvince?: string | null | undefined;
|
|
82
|
-
addressResidentialIndicator?: unknown;
|
|
83
32
|
addressLine1: string;
|
|
84
33
|
cityLocality: string;
|
|
85
|
-
companyName: string;
|
|
86
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";
|
|
87
|
-
email: string;
|
|
88
35
|
name: string;
|
|
89
|
-
phone: string;
|
|
90
36
|
postalCode: string;
|
|
91
|
-
}
|
|
37
|
+
}> | z.ZodOptional<z.ZodObject<{
|
|
38
|
+
addressLine1: z.ZodString;
|
|
39
|
+
addressLine2: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
|
|
40
|
+
cityLocality: z.ZodString;
|
|
41
|
+
companyName: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>, z.ZodLiteral<"">]>, string | undefined, string | null | undefined>;
|
|
42
|
+
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"]>;
|
|
43
|
+
email: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
|
|
44
|
+
name: z.ZodString;
|
|
45
|
+
phone: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string, string | null | undefined>;
|
|
46
|
+
postalCode: z.ZodString;
|
|
47
|
+
stateProvince: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string, string | null | undefined>;
|
|
48
|
+
}, "strip", z.ZodTypeAny, {
|
|
92
49
|
addressLine2?: string | undefined;
|
|
50
|
+
companyName?: string | undefined;
|
|
51
|
+
email?: string | undefined;
|
|
93
52
|
addressLine1: string;
|
|
94
53
|
cityLocality: string;
|
|
95
|
-
companyName: string;
|
|
96
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";
|
|
97
|
-
email: string;
|
|
98
55
|
name: string;
|
|
99
56
|
phone: string;
|
|
100
57
|
postalCode: string;
|
|
101
58
|
stateProvince: string;
|
|
102
|
-
addressResidentialIndicator: "yes" | "no";
|
|
103
59
|
}, {
|
|
104
60
|
addressLine2?: string | null | undefined;
|
|
61
|
+
companyName?: string | null | undefined;
|
|
62
|
+
email?: string | null | undefined;
|
|
63
|
+
phone?: string | null | undefined;
|
|
105
64
|
stateProvince?: string | null | undefined;
|
|
106
|
-
addressResidentialIndicator?: unknown;
|
|
107
65
|
addressLine1: string;
|
|
108
66
|
cityLocality: string;
|
|
109
|
-
companyName: string;
|
|
110
67
|
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";
|
|
111
|
-
email: string;
|
|
112
68
|
name: string;
|
|
113
|
-
phone: string;
|
|
114
69
|
postalCode: string;
|
|
115
|
-
}
|
|
116
|
-
agreeToCarrierTerms: z.ZodEffects<z.ZodBoolean, boolean, boolean>;
|
|
70
|
+
}>>;
|
|
117
71
|
}, "strip", z.ZodTypeAny, {
|
|
118
|
-
|
|
72
|
+
pickupAddress?: {
|
|
119
73
|
addressLine2?: string | undefined;
|
|
74
|
+
companyName?: string | undefined;
|
|
75
|
+
email?: string | undefined;
|
|
120
76
|
addressLine1: string;
|
|
121
77
|
cityLocality: string;
|
|
122
|
-
companyName: string;
|
|
123
78
|
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";
|
|
124
|
-
email: string;
|
|
125
79
|
name: string;
|
|
126
80
|
phone: string;
|
|
127
81
|
postalCode: string;
|
|
128
82
|
stateProvince: string;
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
agreeToCarrierTerms: boolean;
|
|
83
|
+
} | undefined;
|
|
84
|
+
agreeToTerms: boolean;
|
|
132
85
|
}, {
|
|
133
|
-
|
|
86
|
+
pickupAddress?: {
|
|
134
87
|
addressLine2?: string | null | undefined;
|
|
88
|
+
companyName?: string | null | undefined;
|
|
89
|
+
email?: string | null | undefined;
|
|
90
|
+
phone?: string | null | undefined;
|
|
135
91
|
stateProvince?: string | null | undefined;
|
|
136
|
-
addressResidentialIndicator?: unknown;
|
|
137
92
|
addressLine1: string;
|
|
138
93
|
cityLocality: string;
|
|
139
|
-
companyName: string;
|
|
140
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";
|
|
141
|
-
email: string;
|
|
142
95
|
name: string;
|
|
143
|
-
phone: string;
|
|
144
96
|
postalCode: string;
|
|
145
|
-
};
|
|
146
|
-
|
|
97
|
+
} | undefined;
|
|
98
|
+
agreeToTerms: boolean;
|
|
147
99
|
}>;
|
|
148
|
-
|
|
149
|
-
export type
|
|
100
|
+
type RegisterFundingSourceCarrierSchema = ReturnType<typeof getRegisterFundingSourceCarrierSchema>;
|
|
101
|
+
export type RegisterFundingSourceCarrierFormFields = z.input<RegisterFundingSourceCarrierSchema>;
|
|
102
|
+
export type RegisterFundingSourceCarrierFormPayload = z.output<RegisterFundingSourceCarrierSchema>;
|
|
103
|
+
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { SE } from "@shipengine/alchemy";
|
|
2
|
+
import { VatSettingsFeatures } from "../../../features";
|
|
2
3
|
export declare const schedulePickupForCarrier: (carrierCode?: string, plaftformSchedulePickupUrl?: string) => string | undefined;
|
|
3
4
|
export type ShipmentFeatures = {
|
|
4
5
|
presentation?: {
|
|
@@ -10,7 +11,7 @@ export type ShipmentFeatures = {
|
|
|
10
11
|
};
|
|
11
12
|
export type ShipmentProps = {
|
|
12
13
|
carriers?: SE.Carrier[];
|
|
13
|
-
features?: ShipmentFeatures;
|
|
14
|
+
features?: ShipmentFeatures & VatSettingsFeatures;
|
|
14
15
|
labels?: SE.Label[];
|
|
15
16
|
onClickPrintLabel?: () => void;
|
|
16
17
|
onClickPurchaseLabel?: (order: SE.SalesOrder) => void;
|
|
@@ -29,7 +29,7 @@ export type ComponentProps = ExternalCarriersProps;
|
|
|
29
29
|
* @see {@link ExternalCarriers.ComponentProps | The props that are passed into the `<ExternalCarriers />` component}
|
|
30
30
|
* @see {@link AccountSettings.Element | The `<AccountSettings />` component renders the `<ExternalCarriers />` component}
|
|
31
31
|
*/
|
|
32
|
-
export declare const Component: ({ features }: ComponentProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
32
|
+
export declare const Component: ({ features, isModalFullScreen }: ComponentProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
33
33
|
export declare const Element: ({ resources, ...props }: ExternalCarriersProps & {
|
|
34
34
|
resources?: {
|
|
35
35
|
en: {
|
|
@@ -86,6 +86,7 @@ export declare const Element: ({ resources, ...props }: ExternalCarriersProps &
|
|
|
86
86
|
schedulePickup: string;
|
|
87
87
|
showItems: string;
|
|
88
88
|
void: string;
|
|
89
|
+
download: string;
|
|
89
90
|
};
|
|
90
91
|
fields: {
|
|
91
92
|
dimensions: string;
|
|
@@ -105,6 +106,7 @@ export declare const Element: ({ resources, ...props }: ExternalCarriersProps &
|
|
|
105
106
|
multipleShippingServices: string;
|
|
106
107
|
sections: {
|
|
107
108
|
labels: string;
|
|
109
|
+
shipmentSummary: string;
|
|
108
110
|
};
|
|
109
111
|
noLabels: string;
|
|
110
112
|
};
|
|
@@ -194,8 +196,72 @@ export declare const Element: ({ resources, ...props }: ExternalCarriersProps &
|
|
|
194
196
|
};
|
|
195
197
|
};
|
|
196
198
|
"register-carrier": {
|
|
197
|
-
formTitle:
|
|
198
|
-
|
|
199
|
+
formTitle: {
|
|
200
|
+
default: string;
|
|
201
|
+
new: string;
|
|
202
|
+
edit: string;
|
|
203
|
+
};
|
|
204
|
+
notifications: {
|
|
205
|
+
error: {
|
|
206
|
+
title: string;
|
|
207
|
+
};
|
|
208
|
+
};
|
|
209
|
+
};
|
|
210
|
+
"rate-details": {
|
|
211
|
+
total: string;
|
|
212
|
+
subtotal: string;
|
|
213
|
+
registerVat: string;
|
|
214
|
+
concepts: {
|
|
215
|
+
confirmation: string;
|
|
216
|
+
uncategorized: string;
|
|
217
|
+
shipping: string;
|
|
218
|
+
insurance: string;
|
|
219
|
+
confirm: string;
|
|
220
|
+
discount: string;
|
|
221
|
+
fuel_charge: string;
|
|
222
|
+
additional_fees: string;
|
|
223
|
+
/**
|
|
224
|
+
* # ExternalCarriers Component
|
|
225
|
+
*
|
|
226
|
+
* @param ComponentProps The base props that will be passed into the `<ExternalCarriers />` component.
|
|
227
|
+
*
|
|
228
|
+
* @returns Element A React element that renders the `<ExternalCarriers />` component allowing users
|
|
229
|
+
* to view a list of their own carrier accounts that have been connected to their ShipEngine account,
|
|
230
|
+
* and to add additional carriers.
|
|
231
|
+
* This component is composed in the `<AccountSettings />` Element.
|
|
232
|
+
*
|
|
233
|
+
* @example
|
|
234
|
+
* ```tsx
|
|
235
|
+
* (() => {
|
|
236
|
+
* const features = useFeatures("Global");
|
|
237
|
+
*
|
|
238
|
+
* return <ExternalCarriers.Component features={features} />;
|
|
239
|
+
* })();
|
|
240
|
+
* ```
|
|
241
|
+
*
|
|
242
|
+
* <br />
|
|
243
|
+
*
|
|
244
|
+
* @see {@link ExternalCarriers.ComponentProps | The props that are passed into the `<ExternalCarriers />` component}
|
|
245
|
+
* @see {@link AccountSettings.Element | The `<AccountSettings />` component renders the `<ExternalCarriers />` component}
|
|
246
|
+
*/
|
|
247
|
+
tariff: string;
|
|
248
|
+
tax: string;
|
|
249
|
+
delivery: string;
|
|
250
|
+
handling: string;
|
|
251
|
+
special_goods: string;
|
|
252
|
+
pickup: string;
|
|
253
|
+
location_fee: string;
|
|
254
|
+
oversize: string;
|
|
255
|
+
returns: string;
|
|
256
|
+
notifications: string;
|
|
257
|
+
tip: string;
|
|
258
|
+
duties_and_taxes: string;
|
|
259
|
+
brokerage_fee: string;
|
|
260
|
+
admin_fee: string;
|
|
261
|
+
adjustment: string;
|
|
262
|
+
auctane_service_fee: string;
|
|
263
|
+
product_price: string;
|
|
264
|
+
};
|
|
199
265
|
};
|
|
200
266
|
"purchase-label": {
|
|
201
267
|
title: string;
|
|
@@ -308,7 +374,10 @@ export declare const Element: ({ resources, ...props }: ExternalCarriersProps &
|
|
|
308
374
|
today: string;
|
|
309
375
|
viewMap: string;
|
|
310
376
|
otherLocations: string;
|
|
311
|
-
|
|
377
|
+
noServicePointsForService: string;
|
|
378
|
+
error: string;
|
|
379
|
+
paperless: string;
|
|
380
|
+
localTimeDisclaimer: string;
|
|
312
381
|
};
|
|
313
382
|
shipToAddressFormFields: string;
|
|
314
383
|
sections: {
|
|
@@ -835,6 +904,7 @@ export declare const Element: ({ resources, ...props }: ExternalCarriersProps &
|
|
|
835
904
|
gram: string;
|
|
836
905
|
kilogram: string;
|
|
837
906
|
};
|
|
907
|
+
ZnVuZGluZ19zb3VyY2VfaWQgbXVzdCBiZSBhbiBpbnRlZ2Vy: string;
|
|
838
908
|
T25seSByZXNpZGVudGlhbCBkZWxpdmVyeSBhZGRyZXNzZXMgYXJlIGFsbG93ZWQgZm9yIFVQUyBHcm91bmQgU2F2ZXIu: string;
|
|
839
909
|
"VGhlIHNlbGVjdGVkIHNlcnZpY2UgaW5jbHVkZXMgaW5zdXJhbmNlIGZvciBhbiBpbnN1cmVkIGFtb3VudCB1cCB0byAkMTAwLgo=": string;
|
|
840
910
|
"VGhlIHNlbGVjdGVkIHNlcnZpY2UgaW5jbHVkZXMgaW5zdXJhbmNlIGZvciBhbiBpbnN1cmVkIGFtb3VudCB1cCB0byAkNTAuCg==": string;
|
|
@@ -56,6 +56,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
56
56
|
schedulePickup: string;
|
|
57
57
|
showItems: string;
|
|
58
58
|
void: string;
|
|
59
|
+
download: string;
|
|
59
60
|
};
|
|
60
61
|
fields: {
|
|
61
62
|
dimensions: string;
|
|
@@ -75,6 +76,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
75
76
|
multipleShippingServices: string;
|
|
76
77
|
sections: {
|
|
77
78
|
labels: string;
|
|
79
|
+
shipmentSummary: string;
|
|
78
80
|
};
|
|
79
81
|
noLabels: string;
|
|
80
82
|
};
|
|
@@ -164,8 +166,48 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
164
166
|
};
|
|
165
167
|
};
|
|
166
168
|
"register-carrier": {
|
|
167
|
-
formTitle:
|
|
168
|
-
|
|
169
|
+
formTitle: {
|
|
170
|
+
default: string;
|
|
171
|
+
new: string;
|
|
172
|
+
edit: string;
|
|
173
|
+
};
|
|
174
|
+
notifications: {
|
|
175
|
+
error: {
|
|
176
|
+
title: string;
|
|
177
|
+
};
|
|
178
|
+
};
|
|
179
|
+
};
|
|
180
|
+
"rate-details": {
|
|
181
|
+
total: string;
|
|
182
|
+
subtotal: string;
|
|
183
|
+
registerVat: string;
|
|
184
|
+
concepts: {
|
|
185
|
+
confirmation: string;
|
|
186
|
+
uncategorized: string;
|
|
187
|
+
shipping: string;
|
|
188
|
+
insurance: string;
|
|
189
|
+
confirm: string;
|
|
190
|
+
discount: string;
|
|
191
|
+
fuel_charge: string;
|
|
192
|
+
additional_fees: string;
|
|
193
|
+
tariff: string;
|
|
194
|
+
tax: string;
|
|
195
|
+
delivery: string;
|
|
196
|
+
handling: string;
|
|
197
|
+
special_goods: string;
|
|
198
|
+
pickup: string;
|
|
199
|
+
location_fee: string;
|
|
200
|
+
oversize: string;
|
|
201
|
+
returns: string;
|
|
202
|
+
notifications: string;
|
|
203
|
+
tip: string;
|
|
204
|
+
duties_and_taxes: string;
|
|
205
|
+
brokerage_fee: string;
|
|
206
|
+
admin_fee: string;
|
|
207
|
+
adjustment: string;
|
|
208
|
+
auctane_service_fee: string;
|
|
209
|
+
product_price: string;
|
|
210
|
+
};
|
|
169
211
|
};
|
|
170
212
|
"purchase-label": {
|
|
171
213
|
title: string;
|
|
@@ -278,7 +320,10 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
278
320
|
today: string;
|
|
279
321
|
viewMap: string;
|
|
280
322
|
otherLocations: string;
|
|
281
|
-
|
|
323
|
+
noServicePointsForService: string;
|
|
324
|
+
error: string;
|
|
325
|
+
paperless: string;
|
|
326
|
+
localTimeDisclaimer: string;
|
|
282
327
|
};
|
|
283
328
|
shipToAddressFormFields: string;
|
|
284
329
|
sections: {
|
|
@@ -782,6 +827,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
782
827
|
gram: string;
|
|
783
828
|
kilogram: string;
|
|
784
829
|
};
|
|
830
|
+
ZnVuZGluZ19zb3VyY2VfaWQgbXVzdCBiZSBhbiBpbnRlZ2Vy: string;
|
|
785
831
|
T25seSByZXNpZGVudGlhbCBkZWxpdmVyeSBhZGRyZXNzZXMgYXJlIGFsbG93ZWQgZm9yIFVQUyBHcm91bmQgU2F2ZXIu: string;
|
|
786
832
|
"VGhlIHNlbGVjdGVkIHNlcnZpY2UgaW5jbHVkZXMgaW5zdXJhbmNlIGZvciBhbiBpbnN1cmVkIGFtb3VudCB1cCB0byAkMTAwLgo=": string;
|
|
787
833
|
"VGhlIHNlbGVjdGVkIHNlcnZpY2UgaW5jbHVkZXMgaW5zdXJhbmNlIGZvciBhbiBpbnN1cmVkIGFtb3VudCB1cCB0byAkNTAuCg==": string;
|
|
@@ -58,6 +58,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
58
58
|
schedulePickup: string;
|
|
59
59
|
showItems: string;
|
|
60
60
|
void: string;
|
|
61
|
+
download: string;
|
|
61
62
|
};
|
|
62
63
|
fields: {
|
|
63
64
|
dimensions: string;
|
|
@@ -77,6 +78,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
77
78
|
multipleShippingServices: string;
|
|
78
79
|
sections: {
|
|
79
80
|
labels: string;
|
|
81
|
+
shipmentSummary: string;
|
|
80
82
|
};
|
|
81
83
|
noLabels: string;
|
|
82
84
|
};
|
|
@@ -166,8 +168,48 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
166
168
|
};
|
|
167
169
|
};
|
|
168
170
|
"register-carrier": {
|
|
169
|
-
formTitle:
|
|
170
|
-
|
|
171
|
+
formTitle: {
|
|
172
|
+
default: string;
|
|
173
|
+
new: string;
|
|
174
|
+
edit: string;
|
|
175
|
+
};
|
|
176
|
+
notifications: {
|
|
177
|
+
error: {
|
|
178
|
+
title: string;
|
|
179
|
+
};
|
|
180
|
+
};
|
|
181
|
+
};
|
|
182
|
+
"rate-details": {
|
|
183
|
+
total: string;
|
|
184
|
+
subtotal: string;
|
|
185
|
+
registerVat: string;
|
|
186
|
+
concepts: {
|
|
187
|
+
confirmation: string;
|
|
188
|
+
uncategorized: string;
|
|
189
|
+
shipping: string;
|
|
190
|
+
insurance: string;
|
|
191
|
+
confirm: string;
|
|
192
|
+
discount: string;
|
|
193
|
+
fuel_charge: string;
|
|
194
|
+
additional_fees: string;
|
|
195
|
+
tariff: string;
|
|
196
|
+
tax: string;
|
|
197
|
+
delivery: string;
|
|
198
|
+
handling: string;
|
|
199
|
+
special_goods: string;
|
|
200
|
+
pickup: string;
|
|
201
|
+
location_fee: string;
|
|
202
|
+
oversize: string;
|
|
203
|
+
returns: string;
|
|
204
|
+
notifications: string;
|
|
205
|
+
tip: string;
|
|
206
|
+
duties_and_taxes: string;
|
|
207
|
+
brokerage_fee: string;
|
|
208
|
+
admin_fee: string;
|
|
209
|
+
adjustment: string;
|
|
210
|
+
auctane_service_fee: string;
|
|
211
|
+
product_price: string;
|
|
212
|
+
};
|
|
171
213
|
};
|
|
172
214
|
"purchase-label": {
|
|
173
215
|
title: string;
|
|
@@ -280,7 +322,10 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
280
322
|
today: string;
|
|
281
323
|
viewMap: string;
|
|
282
324
|
otherLocations: string;
|
|
283
|
-
|
|
325
|
+
noServicePointsForService: string;
|
|
326
|
+
error: string;
|
|
327
|
+
paperless: string;
|
|
328
|
+
localTimeDisclaimer: string;
|
|
284
329
|
};
|
|
285
330
|
shipToAddressFormFields: string;
|
|
286
331
|
sections: {
|
|
@@ -784,6 +829,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
784
829
|
gram: string;
|
|
785
830
|
kilogram: string;
|
|
786
831
|
};
|
|
832
|
+
ZnVuZGluZ19zb3VyY2VfaWQgbXVzdCBiZSBhbiBpbnRlZ2Vy: string;
|
|
787
833
|
T25seSByZXNpZGVudGlhbCBkZWxpdmVyeSBhZGRyZXNzZXMgYXJlIGFsbG93ZWQgZm9yIFVQUyBHcm91bmQgU2F2ZXIu: string;
|
|
788
834
|
"VGhlIHNlbGVjdGVkIHNlcnZpY2UgaW5jbHVkZXMgaW5zdXJhbmNlIGZvciBhbiBpbnN1cmVkIGFtb3VudCB1cCB0byAkMTAwLgo=": string;
|
|
789
835
|
"VGhlIHNlbGVjdGVkIHNlcnZpY2UgaW5jbHVkZXMgaW5zdXJhbmNlIGZvciBhbiBpbnN1cmVkIGFtb3VudCB1cCB0byAkNTAuCg==": string;
|