@shipengine/elements 1.6.0 → 1.7.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/index.cjs +1286 -1130
- package/index.js +1283 -1130
- package/package.json +1 -1
- package/src/components/collapsible-panel/collapsible-panel.d.ts +6 -1
- package/src/components/collapsible-panel/collapsible-panel.styles.d.ts +1 -1
- package/src/components/field/rate-card/cost-breakdown/cost-breakdown.d.ts +1 -1
- package/src/components/templates/address-form/address-schema.d.ts +2 -0
- package/src/components/templates/index.d.ts +1 -1
- package/src/components/templates/rate-form/rate-form.d.ts +2 -1
- package/src/components/templates/wallet-form/wallet-schema.d.ts +46 -2
- package/src/elements/external-carriers/external-carriers.d.ts +7 -5
- package/src/elements/index.d.ts +2 -1
- package/src/elements/label-layout/label-layout-element.d.ts +7 -1
- package/src/elements/labels-grid/labels-grid.d.ts +7 -1
- package/src/elements/manage-funding/manage-funding-element.d.ts +7 -1
- package/src/elements/manage-warehouses/manage-warehouses.d.ts +10 -44
- package/src/elements/payment-method-settings/payment-method-settings-element.d.ts +7 -1
- package/src/elements/purchase-label/purchase-label.d.ts +11 -5
- package/src/elements/shipengine-carriers/index.d.ts +1 -0
- package/src/elements/{list-carriers/list-carriers.d.ts → shipengine-carriers/shipengine-carriers.d.ts} +46 -37
- package/src/elements/shipments-grid/shipments-grid.d.ts +7 -1
- package/src/elements/theme-creator/theme-creator.d.ts +7 -1
- package/src/elements/unit-settings/unit-settings-element.d.ts +7 -1
- package/src/elements/view-shipment/view-shipment.d.ts +17 -13
- package/src/elements/void-label/void-label.d.ts +16 -11
- package/src/elements/wallet-history/wallet-history-element.d.ts +7 -1
- package/src/features/index.d.ts +1 -1
- package/src/features/label-layout/label-layout.d.ts +6 -1
- package/src/features/label-layout/use-label-layout.d.ts +3 -3
- package/src/features/manage-warehouses/index.d.ts +1 -0
- package/src/features/manage-warehouses/manage-warehouses.d.ts +16 -1
- package/src/features/manage-warehouses/use-manage-warehouses.d.ts +15 -0
- package/src/features/shipengine-carriers/hooks/use-carrier-metadata.d.ts +13 -0
- package/src/features/shipengine-carriers/index.d.ts +1 -0
- package/src/features/shipengine-carriers/shipengine-carriers-row/index.d.ts +1 -0
- package/src/features/{list-carriers/list-carriers-row/list-carriers-row.d.ts → shipengine-carriers/shipengine-carriers-row/shipengine-carriers-row.d.ts} +2 -2
- package/src/features/shipengine-carriers/shipengine-carriers.d.ts +10 -0
- package/src/features/unit-settings/index.d.ts +1 -0
- package/src/features/unit-settings/unit-settings.d.ts +9 -1
- package/src/features/unit-settings/use-unit-settings.d.ts +10 -0
- package/src/locales/en/index.d.ts +7 -1
- package/src/types/carrier-metadata.d.ts +3 -0
- package/src/utilities/feature-flags.d.ts +5 -2
- package/src/workflows/account-settings/account-settings.d.ts +14 -11
- package/src/workflows/account-settings/use-get-panel-props.d.ts +7 -1
- package/src/workflows/connect-carrier/connect-carrier.d.ts +7 -1
- package/src/workflows/manage-wallet-workflow/index.d.ts +1 -0
- package/src/workflows/manage-wallet-workflow/manage-wallet-workflow.d.ts +828 -0
- package/src/workflows/manage-wallet-workflow/use-get-wallet-panel-props.d.ts +4 -0
- package/src/workflows/onboarding/components/onboarding-wizard/onboarding-wizard.d.ts +2 -2
- package/src/workflows/onboarding/components/terms-agreement-form/terms-agreement-form.d.ts +2 -1
- package/src/workflows/onboarding/onboarding.d.ts +11 -6
- package/src/elements/list-carriers/index.d.ts +0 -1
- package/src/features/list-carriers/hooks/use-carrier-metadata.d.ts +0 -10
- package/src/features/list-carriers/index.d.ts +0 -1
- package/src/features/list-carriers/list-carriers-row/index.d.ts +0 -1
- package/src/features/list-carriers/list-carriers.d.ts +0 -9
- /package/src/features/{list-carriers → shipengine-carriers}/hooks/index.d.ts +0 -0
- /package/src/features/{list-carriers → shipengine-carriers}/hooks/use-list-connected-carriers.d.ts +0 -0
- /package/src/features/{list-carriers/list-carriers-row/list-carriers-row.styles.d.ts → shipengine-carriers/shipengine-carriers-row/shipengine-carriers-row.styles.d.ts} +0 -0
- /package/src/features/{list-carriers/list-carriers.styles.d.ts → shipengine-carriers/shipengine-carriers.styles.d.ts} +0 -0
package/package.json
CHANGED
|
@@ -23,6 +23,11 @@ export type CollapsiblePanelProps = WithChildrenCommonProps<{
|
|
|
23
23
|
* should display a bust state while work is being done.
|
|
24
24
|
*/
|
|
25
25
|
isSaving?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* `nested` is an optional boolean that will be used to determine if the panel is nested
|
|
28
|
+
* within another panel and therfore should have a different background color and padding.
|
|
29
|
+
*/
|
|
30
|
+
nested?: boolean;
|
|
26
31
|
/**
|
|
27
32
|
* `title` is an optional string that will be used to display the title of the panel.
|
|
28
33
|
*/
|
|
@@ -38,4 +43,4 @@ export type CollapsiblePanelProps = WithChildrenCommonProps<{
|
|
|
38
43
|
*
|
|
39
44
|
* @see {@link CollapsiblePanelProps | The props that are passed into the `<CollapsiblePanel />` component}
|
|
40
45
|
*/
|
|
41
|
-
export declare const CollapsiblePanel: ({ errors, initialExpanded, isSaving, children, title, }: CollapsiblePanelProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
46
|
+
export declare const CollapsiblePanel: ({ errors, initialExpanded, isSaving, nested, children, title, }: CollapsiblePanelProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -2,7 +2,7 @@ export declare const styles: {
|
|
|
2
2
|
content: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
3
3
|
padding: string;
|
|
4
4
|
};
|
|
5
|
-
|
|
5
|
+
getHeaderStyles: (nested?: boolean) => (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
6
6
|
backgroundColor: string;
|
|
7
7
|
display: "flex";
|
|
8
8
|
height: number;
|
|
@@ -5,7 +5,7 @@ export interface CostBreakdownProps {
|
|
|
5
5
|
insuranceAmount?: SE.Money;
|
|
6
6
|
otherAmount?: SE.Money;
|
|
7
7
|
shippingAmount?: SE.Money;
|
|
8
|
-
showExtendedData
|
|
8
|
+
showExtendedData?: boolean;
|
|
9
9
|
taxAmount?: SE.Money;
|
|
10
10
|
}
|
|
11
11
|
export declare const CostBreakdown: ({ showExtendedData, shippingAmount, insuranceAmount, confirmationAmount, taxAmount, otherAmount, }: CostBreakdownProps) => JSX.Element;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
export declare const postalCodeRegex: RegExp;
|
|
3
|
+
export declare const addressNameRegex: RegExp;
|
|
2
4
|
export declare const addressLine1Schema: z.ZodString;
|
|
3
5
|
export declare const addressLine2Schema: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
|
|
4
6
|
export declare const companyNameSchema: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>, z.ZodLiteral<"">]>, string | undefined, string | null | undefined>;
|
|
@@ -6,7 +6,7 @@ export * from "./address-parser";
|
|
|
6
6
|
export * from "./address-preference-display";
|
|
7
7
|
export * from "./address-preference-select";
|
|
8
8
|
export * from "./label";
|
|
9
|
-
export * from "../../features/
|
|
9
|
+
export * from "../../features/shipengine-carriers";
|
|
10
10
|
export * from "./product-form";
|
|
11
11
|
export * from "./rate-form";
|
|
12
12
|
export * from "./shipment-form";
|
|
@@ -20,6 +20,7 @@ export type RateFormProps = {
|
|
|
20
20
|
preferredRates?: PreferredRatesResponse;
|
|
21
21
|
preferredServiceCodes?: string[];
|
|
22
22
|
rates?: SE.Rate[];
|
|
23
|
+
salesOrder?: SE.SalesOrder;
|
|
23
24
|
shipment?: SE.SalesOrderShipment;
|
|
24
25
|
};
|
|
25
|
-
export declare const RateForm: ({ carriers, disabled, displayableRateErrors, displayableSaveRateErrors, errors, features, isLoading, labelErrors, labels, labelsLoading, currency, displayableShipmentErrors, preferredRates, preferredServiceCodes, rates, shipment, onSave, onSelectRate, onSubmit, }: RateFormProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
26
|
+
export declare const RateForm: ({ carriers, disabled, displayableRateErrors, displayableSaveRateErrors, errors, features, isLoading, labelErrors, labels, labelsLoading, currency, displayableShipmentErrors, preferredRates, preferredServiceCodes, rates, salesOrder, shipment, onSave, onSelectRate, onSubmit, }: RateFormProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -5,7 +5,7 @@ export declare const walletEmailSchemas: {
|
|
|
5
5
|
emailRequired: z.ZodString;
|
|
6
6
|
};
|
|
7
7
|
export type EmailRequirementOption = keyof typeof walletEmailSchemas;
|
|
8
|
-
export declare const getBillingAddressSchema: (emailRequirement: EmailRequirementOption) => z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<z.extendShape<{
|
|
8
|
+
export declare const getBillingAddressSchema: (emailRequirement: EmailRequirementOption) => z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<z.extendShape<{
|
|
9
9
|
addressLine1: z.ZodString;
|
|
10
10
|
addressLine2: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
|
|
11
11
|
cityLocality: z.ZodString;
|
|
@@ -110,12 +110,34 @@ export declare const getBillingAddressSchema: (emailRequirement: EmailRequiremen
|
|
|
110
110
|
name: string;
|
|
111
111
|
phone: string;
|
|
112
112
|
postalCode: string;
|
|
113
|
+
}>, {
|
|
114
|
+
addressLine2?: string | undefined;
|
|
115
|
+
email?: string | undefined;
|
|
116
|
+
addressLine1: string;
|
|
117
|
+
cityLocality: string;
|
|
118
|
+
companyName: string;
|
|
119
|
+
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";
|
|
120
|
+
name: string;
|
|
121
|
+
phone: string;
|
|
122
|
+
postalCode: string;
|
|
123
|
+
stateProvince: string;
|
|
124
|
+
}, {
|
|
125
|
+
addressLine2?: string | null | undefined;
|
|
126
|
+
email?: string | null | undefined;
|
|
127
|
+
stateProvince?: string | null | undefined;
|
|
128
|
+
addressLine1: string;
|
|
129
|
+
cityLocality: string;
|
|
130
|
+
companyName: string;
|
|
131
|
+
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";
|
|
132
|
+
name: string;
|
|
133
|
+
phone: string;
|
|
134
|
+
postalCode: string;
|
|
113
135
|
}>;
|
|
114
136
|
type BillingAddressSchema = ReturnType<typeof getBillingAddressSchema>;
|
|
115
137
|
export type BillingAddressFields = z.input<BillingAddressSchema>;
|
|
116
138
|
export type BillingAddressPayload = z.output<BillingAddressSchema>;
|
|
117
139
|
export declare const getWalletSchema: (emailRequirement: EmailRequirementOption) => z.ZodObject<{
|
|
118
|
-
address: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<z.extendShape<{
|
|
140
|
+
address: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<z.extendShape<{
|
|
119
141
|
addressLine1: z.ZodString;
|
|
120
142
|
addressLine2: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
|
|
121
143
|
cityLocality: z.ZodString;
|
|
@@ -220,6 +242,28 @@ export declare const getWalletSchema: (emailRequirement: EmailRequirementOption)
|
|
|
220
242
|
name: string;
|
|
221
243
|
phone: string;
|
|
222
244
|
postalCode: string;
|
|
245
|
+
}>, {
|
|
246
|
+
addressLine2?: string | undefined;
|
|
247
|
+
email?: string | undefined;
|
|
248
|
+
addressLine1: string;
|
|
249
|
+
cityLocality: string;
|
|
250
|
+
companyName: string;
|
|
251
|
+
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";
|
|
252
|
+
name: string;
|
|
253
|
+
phone: string;
|
|
254
|
+
postalCode: string;
|
|
255
|
+
stateProvince: string;
|
|
256
|
+
}, {
|
|
257
|
+
addressLine2?: string | null | undefined;
|
|
258
|
+
email?: string | null | undefined;
|
|
259
|
+
stateProvince?: string | null | undefined;
|
|
260
|
+
addressLine1: string;
|
|
261
|
+
cityLocality: string;
|
|
262
|
+
companyName: string;
|
|
263
|
+
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";
|
|
264
|
+
name: string;
|
|
265
|
+
phone: string;
|
|
266
|
+
postalCode: string;
|
|
223
267
|
}>;
|
|
224
268
|
creditCard: z.ZodEffects<z.ZodObject<{
|
|
225
269
|
cvv: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -112,10 +112,7 @@ export declare const Element: ({ resources, ...props }: ExternalCarriersProps &
|
|
|
112
112
|
setup: {
|
|
113
113
|
title: string;
|
|
114
114
|
subtitle: string;
|
|
115
|
-
|
|
116
|
-
* `availableCarrierConnections` is a set of carrier codes for carriers that may be added. If this is omitted,
|
|
117
|
-
* new carriers may not be added by this element.
|
|
118
|
-
*/
|
|
115
|
+
hiddenTermsSubtitle: string;
|
|
119
116
|
descriptionTitle: string;
|
|
120
117
|
description: string;
|
|
121
118
|
};
|
|
@@ -245,6 +242,7 @@ export declare const Element: ({ resources, ...props }: ExternalCarriersProps &
|
|
|
245
242
|
needToAcknowledge: string;
|
|
246
243
|
};
|
|
247
244
|
rates: {
|
|
245
|
+
requestedShippingNotification: string;
|
|
248
246
|
uspsMediaMailAcknowledgement: string;
|
|
249
247
|
uspsFirstClassMailAcknowledgement_leof: string;
|
|
250
248
|
rateSavings: string;
|
|
@@ -327,6 +325,8 @@ export declare const Element: ({ resources, ...props }: ExternalCarriersProps &
|
|
|
327
325
|
aHR0cHM6Ly93d3cuc2hpcHN0YXRpb24uY29tL3Rlcm1zLXNlcnZpY2UtdW5pdGVkLWtpbmdkb20v: string;
|
|
328
326
|
"aHR0cHM6Ly93d3cuZHBkLmNvLnVrL3N0YW5kYXJkX3Rlcm1zX2FuZF9jb25kaXRpb25zLmpzcA==": string;
|
|
329
327
|
aHR0cHM6Ly93d3cuZ29nbG9iYWxwb3N0LmNvbS9jb25kaXRpb25z: string;
|
|
328
|
+
aHR0cHM6Ly93d3cucHVyb2xhdG9yLmNvbS9mci9tb2RhbGl0ZXMtZXQtY29uZGl0aW9ucy1kZS1zZXJ2aWNl: string;
|
|
329
|
+
aHR0cHM6Ly93d3cucHVyb2xhdG9yLmNvbS9lbi90ZXJtcy1hbmQtY29uZGl0aW9ucy1zZXJ2aWNl: string;
|
|
330
330
|
};
|
|
331
331
|
termsAndAgreementTitles: {
|
|
332
332
|
"WW9kZWwgRGlyZWN0IC0gVGVybXMgYW5kIENvbmRpdGlvbnMgKOKAnFRlcm1z4oCdKQ==": string;
|
|
@@ -334,6 +334,8 @@ export declare const Element: ({ resources, ...props }: ExternalCarriersProps &
|
|
|
334
334
|
"VGVybXMgb2YgU2VydmljZSBVbml0ZWQgS2luZ2RvbQ==": string;
|
|
335
335
|
RFBEIFN0YW5kYXJkIFRlcm1zIGFuZCBDb25kaXRpb25z: string;
|
|
336
336
|
"R2xvYmFsUG9zdCBUZXJtcyBhbmQgQ29uZGl0aW9ucw==": string;
|
|
337
|
+
"UHVyb2xhdG9yIFRlcm1zIGFuZCBDb25kaXRpb25zIG9mIFNlcnZpY2U=": string;
|
|
338
|
+
UHVyb2xhdG9yIE1vZGFsaXTDqXMgZXQgY29uZGl0aW9ucyBkZSBzZXJ2aWNl: string;
|
|
337
339
|
};
|
|
338
340
|
};
|
|
339
341
|
"manage-defaults": {
|
|
@@ -492,7 +494,7 @@ export declare const Element: ({ resources, ...props }: ExternalCarriersProps &
|
|
|
492
494
|
};
|
|
493
495
|
};
|
|
494
496
|
};
|
|
495
|
-
"
|
|
497
|
+
"shipengine-carriers": {
|
|
496
498
|
title: string;
|
|
497
499
|
headers: {
|
|
498
500
|
accountCarriers: string;
|
package/src/elements/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from "./
|
|
1
|
+
export * from "./shipengine-carriers";
|
|
2
2
|
export * from "./manage-warehouses";
|
|
3
3
|
export * from "./purchase-label";
|
|
4
4
|
export * from "./external-carriers";
|
|
@@ -12,3 +12,4 @@ export * from "./manage-funding";
|
|
|
12
12
|
export * from "./label-layout";
|
|
13
13
|
export * from "./payment-method-settings";
|
|
14
14
|
export * from "./label-layout";
|
|
15
|
+
export * from "../workflows/manage-wallet-workflow";
|
|
@@ -82,6 +82,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
82
82
|
setup: {
|
|
83
83
|
title: string;
|
|
84
84
|
subtitle: string;
|
|
85
|
+
hiddenTermsSubtitle: string;
|
|
85
86
|
descriptionTitle: string;
|
|
86
87
|
description: string;
|
|
87
88
|
};
|
|
@@ -211,6 +212,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
211
212
|
needToAcknowledge: string;
|
|
212
213
|
};
|
|
213
214
|
rates: {
|
|
215
|
+
requestedShippingNotification: string;
|
|
214
216
|
uspsMediaMailAcknowledgement: string;
|
|
215
217
|
uspsFirstClassMailAcknowledgement_leof: string;
|
|
216
218
|
rateSavings: string;
|
|
@@ -293,6 +295,8 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
293
295
|
aHR0cHM6Ly93d3cuc2hpcHN0YXRpb24uY29tL3Rlcm1zLXNlcnZpY2UtdW5pdGVkLWtpbmdkb20v: string;
|
|
294
296
|
"aHR0cHM6Ly93d3cuZHBkLmNvLnVrL3N0YW5kYXJkX3Rlcm1zX2FuZF9jb25kaXRpb25zLmpzcA==": string;
|
|
295
297
|
aHR0cHM6Ly93d3cuZ29nbG9iYWxwb3N0LmNvbS9jb25kaXRpb25z: string;
|
|
298
|
+
aHR0cHM6Ly93d3cucHVyb2xhdG9yLmNvbS9mci9tb2RhbGl0ZXMtZXQtY29uZGl0aW9ucy1kZS1zZXJ2aWNl: string;
|
|
299
|
+
aHR0cHM6Ly93d3cucHVyb2xhdG9yLmNvbS9lbi90ZXJtcy1hbmQtY29uZGl0aW9ucy1zZXJ2aWNl: string;
|
|
296
300
|
};
|
|
297
301
|
termsAndAgreementTitles: {
|
|
298
302
|
"WW9kZWwgRGlyZWN0IC0gVGVybXMgYW5kIENvbmRpdGlvbnMgKOKAnFRlcm1z4oCdKQ==": string;
|
|
@@ -300,6 +304,8 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
300
304
|
"VGVybXMgb2YgU2VydmljZSBVbml0ZWQgS2luZ2RvbQ==": string;
|
|
301
305
|
RFBEIFN0YW5kYXJkIFRlcm1zIGFuZCBDb25kaXRpb25z: string;
|
|
302
306
|
"R2xvYmFsUG9zdCBUZXJtcyBhbmQgQ29uZGl0aW9ucw==": string;
|
|
307
|
+
"UHVyb2xhdG9yIFRlcm1zIGFuZCBDb25kaXRpb25zIG9mIFNlcnZpY2U=": string;
|
|
308
|
+
UHVyb2xhdG9yIE1vZGFsaXTDqXMgZXQgY29uZGl0aW9ucyBkZSBzZXJ2aWNl: string;
|
|
303
309
|
};
|
|
304
310
|
};
|
|
305
311
|
"manage-defaults": {
|
|
@@ -435,7 +441,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
435
441
|
};
|
|
436
442
|
};
|
|
437
443
|
};
|
|
438
|
-
"
|
|
444
|
+
"shipengine-carriers": {
|
|
439
445
|
title: string;
|
|
440
446
|
headers: {
|
|
441
447
|
accountCarriers: string;
|
|
@@ -84,6 +84,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
84
84
|
setup: {
|
|
85
85
|
title: string;
|
|
86
86
|
subtitle: string;
|
|
87
|
+
hiddenTermsSubtitle: string;
|
|
87
88
|
descriptionTitle: string;
|
|
88
89
|
description: string;
|
|
89
90
|
};
|
|
@@ -213,6 +214,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
213
214
|
needToAcknowledge: string;
|
|
214
215
|
};
|
|
215
216
|
rates: {
|
|
217
|
+
requestedShippingNotification: string;
|
|
216
218
|
uspsMediaMailAcknowledgement: string;
|
|
217
219
|
uspsFirstClassMailAcknowledgement_leof: string;
|
|
218
220
|
rateSavings: string;
|
|
@@ -295,6 +297,8 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
295
297
|
aHR0cHM6Ly93d3cuc2hpcHN0YXRpb24uY29tL3Rlcm1zLXNlcnZpY2UtdW5pdGVkLWtpbmdkb20v: string;
|
|
296
298
|
"aHR0cHM6Ly93d3cuZHBkLmNvLnVrL3N0YW5kYXJkX3Rlcm1zX2FuZF9jb25kaXRpb25zLmpzcA==": string;
|
|
297
299
|
aHR0cHM6Ly93d3cuZ29nbG9iYWxwb3N0LmNvbS9jb25kaXRpb25z: string;
|
|
300
|
+
aHR0cHM6Ly93d3cucHVyb2xhdG9yLmNvbS9mci9tb2RhbGl0ZXMtZXQtY29uZGl0aW9ucy1kZS1zZXJ2aWNl: string;
|
|
301
|
+
aHR0cHM6Ly93d3cucHVyb2xhdG9yLmNvbS9lbi90ZXJtcy1hbmQtY29uZGl0aW9ucy1zZXJ2aWNl: string;
|
|
298
302
|
};
|
|
299
303
|
termsAndAgreementTitles: {
|
|
300
304
|
"WW9kZWwgRGlyZWN0IC0gVGVybXMgYW5kIENvbmRpdGlvbnMgKOKAnFRlcm1z4oCdKQ==": string;
|
|
@@ -302,6 +306,8 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
302
306
|
"VGVybXMgb2YgU2VydmljZSBVbml0ZWQgS2luZ2RvbQ==": string;
|
|
303
307
|
RFBEIFN0YW5kYXJkIFRlcm1zIGFuZCBDb25kaXRpb25z: string;
|
|
304
308
|
"R2xvYmFsUG9zdCBUZXJtcyBhbmQgQ29uZGl0aW9ucw==": string;
|
|
309
|
+
"UHVyb2xhdG9yIFRlcm1zIGFuZCBDb25kaXRpb25zIG9mIFNlcnZpY2U=": string;
|
|
310
|
+
UHVyb2xhdG9yIE1vZGFsaXTDqXMgZXQgY29uZGl0aW9ucyBkZSBzZXJ2aWNl: string;
|
|
305
311
|
};
|
|
306
312
|
};
|
|
307
313
|
"manage-defaults": {
|
|
@@ -437,7 +443,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
437
443
|
};
|
|
438
444
|
};
|
|
439
445
|
};
|
|
440
|
-
"
|
|
446
|
+
"shipengine-carriers": {
|
|
441
447
|
title: string;
|
|
442
448
|
headers: {
|
|
443
449
|
accountCarriers: string;
|
|
@@ -82,6 +82,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
82
82
|
setup: {
|
|
83
83
|
title: string;
|
|
84
84
|
subtitle: string;
|
|
85
|
+
hiddenTermsSubtitle: string;
|
|
85
86
|
descriptionTitle: string;
|
|
86
87
|
description: string;
|
|
87
88
|
};
|
|
@@ -211,6 +212,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
211
212
|
needToAcknowledge: string;
|
|
212
213
|
};
|
|
213
214
|
rates: {
|
|
215
|
+
requestedShippingNotification: string;
|
|
214
216
|
uspsMediaMailAcknowledgement: string;
|
|
215
217
|
uspsFirstClassMailAcknowledgement_leof: string;
|
|
216
218
|
rateSavings: string;
|
|
@@ -293,6 +295,8 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
293
295
|
aHR0cHM6Ly93d3cuc2hpcHN0YXRpb24uY29tL3Rlcm1zLXNlcnZpY2UtdW5pdGVkLWtpbmdkb20v: string;
|
|
294
296
|
"aHR0cHM6Ly93d3cuZHBkLmNvLnVrL3N0YW5kYXJkX3Rlcm1zX2FuZF9jb25kaXRpb25zLmpzcA==": string;
|
|
295
297
|
aHR0cHM6Ly93d3cuZ29nbG9iYWxwb3N0LmNvbS9jb25kaXRpb25z: string;
|
|
298
|
+
aHR0cHM6Ly93d3cucHVyb2xhdG9yLmNvbS9mci9tb2RhbGl0ZXMtZXQtY29uZGl0aW9ucy1kZS1zZXJ2aWNl: string;
|
|
299
|
+
aHR0cHM6Ly93d3cucHVyb2xhdG9yLmNvbS9lbi90ZXJtcy1hbmQtY29uZGl0aW9ucy1zZXJ2aWNl: string;
|
|
296
300
|
};
|
|
297
301
|
termsAndAgreementTitles: {
|
|
298
302
|
"WW9kZWwgRGlyZWN0IC0gVGVybXMgYW5kIENvbmRpdGlvbnMgKOKAnFRlcm1z4oCdKQ==": string;
|
|
@@ -300,6 +304,8 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
300
304
|
"VGVybXMgb2YgU2VydmljZSBVbml0ZWQgS2luZ2RvbQ==": string;
|
|
301
305
|
RFBEIFN0YW5kYXJkIFRlcm1zIGFuZCBDb25kaXRpb25z: string;
|
|
302
306
|
"R2xvYmFsUG9zdCBUZXJtcyBhbmQgQ29uZGl0aW9ucw==": string;
|
|
307
|
+
"UHVyb2xhdG9yIFRlcm1zIGFuZCBDb25kaXRpb25zIG9mIFNlcnZpY2U=": string;
|
|
308
|
+
UHVyb2xhdG9yIE1vZGFsaXTDqXMgZXQgY29uZGl0aW9ucyBkZSBzZXJ2aWNl: string;
|
|
303
309
|
};
|
|
304
310
|
};
|
|
305
311
|
"manage-defaults": {
|
|
@@ -435,7 +441,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
435
441
|
};
|
|
436
442
|
};
|
|
437
443
|
};
|
|
438
|
-
"
|
|
444
|
+
"shipengine-carriers": {
|
|
439
445
|
title: string;
|
|
440
446
|
headers: {
|
|
441
447
|
accountCarriers: string;
|
|
@@ -1,26 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { AddressPreference } from "../../components/templates/address-preference-display";
|
|
3
|
-
/**
|
|
4
|
-
* # Manage Warehouses Props
|
|
5
|
-
*
|
|
6
|
-
* - These are the base props that will be passed into the `<ManageWarehouses />` component.
|
|
7
|
-
*
|
|
8
|
-
* @see {@link ManageWarehouses.Component | The `<ManageWarehouses />` component}
|
|
9
|
-
*/
|
|
10
|
-
export type ComponentProps = {
|
|
11
|
-
/**
|
|
12
|
-
* `onWarehouseAddressValidation` is an optional callback function that will be invoked when a
|
|
13
|
-
* warehouse address is validated.
|
|
14
|
-
*/
|
|
15
|
-
onWarehouseAddressValidation?: (originAddressPreference: AddressPreference, returnAddressPreference?: AddressPreference) => Promise<void> | void;
|
|
16
|
-
};
|
|
17
2
|
/**
|
|
18
3
|
* # Manage Warehouses Component
|
|
19
4
|
*
|
|
20
5
|
* - The `<ManageWarehouses />` component is used to manage warehouses on a user's ShipEngine account. Users can add, update, or make warehouses inactive.
|
|
21
|
-
* `<AccountSettings />` Element.
|
|
22
|
-
*
|
|
23
|
-
* @param ComponentProps The base props that will be passed into the `<ManageWarehouses />` component.
|
|
24
6
|
*
|
|
25
7
|
* @returns Element A React element that renders the `<ManageWarehouses />` component allowing users
|
|
26
8
|
* to manage warehouses on their ShipEngine account.
|
|
@@ -34,10 +16,9 @@ export type ComponentProps = {
|
|
|
34
16
|
*
|
|
35
17
|
* <br />
|
|
36
18
|
*
|
|
37
|
-
* @see {@link ManageWarehouses.ComponentProps | The props that are passed into the `<ManageWarehouses />` component}
|
|
38
19
|
*/
|
|
39
|
-
export declare const Component: (
|
|
40
|
-
export declare const Element: ({ resources, ...props }:
|
|
20
|
+
export declare const Component: () => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
21
|
+
export declare const Element: ({ resources, ...props }: object & {
|
|
41
22
|
resources?: {
|
|
42
23
|
en: {
|
|
43
24
|
"wallet-history": {
|
|
@@ -119,6 +100,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
119
100
|
setup: {
|
|
120
101
|
title: string;
|
|
121
102
|
subtitle: string;
|
|
103
|
+
hiddenTermsSubtitle: string;
|
|
122
104
|
descriptionTitle: string;
|
|
123
105
|
description: string;
|
|
124
106
|
};
|
|
@@ -135,28 +117,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
135
117
|
notifications: {
|
|
136
118
|
error: {
|
|
137
119
|
title: string;
|
|
138
|
-
};
|
|
139
|
-
* # Manage Warehouses Component
|
|
140
|
-
*
|
|
141
|
-
* - The `<ManageWarehouses />` component is used to manage warehouses on a user's ShipEngine account. Users can add, update, or make warehouses inactive.
|
|
142
|
-
* `<AccountSettings />` Element.
|
|
143
|
-
*
|
|
144
|
-
* @param ComponentProps The base props that will be passed into the `<ManageWarehouses />` component.
|
|
145
|
-
*
|
|
146
|
-
* @returns Element A React element that renders the `<ManageWarehouses />` component allowing users
|
|
147
|
-
* to manage warehouses on their ShipEngine account.
|
|
148
|
-
*
|
|
149
|
-
* @example
|
|
150
|
-
* ```tsx
|
|
151
|
-
* export const ManageWarehousesExample = () => {
|
|
152
|
-
* return <ManageWarehouses.Component />;
|
|
153
|
-
* };
|
|
154
|
-
* ```
|
|
155
|
-
*
|
|
156
|
-
* <br />
|
|
157
|
-
*
|
|
158
|
-
* @see {@link ManageWarehouses.ComponentProps | The props that are passed into the `<ManageWarehouses />` component}
|
|
159
|
-
*/
|
|
120
|
+
};
|
|
160
121
|
info: {
|
|
161
122
|
title: string;
|
|
162
123
|
description: string;
|
|
@@ -269,6 +230,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
269
230
|
needToAcknowledge: string;
|
|
270
231
|
};
|
|
271
232
|
rates: {
|
|
233
|
+
requestedShippingNotification: string;
|
|
272
234
|
uspsMediaMailAcknowledgement: string;
|
|
273
235
|
uspsFirstClassMailAcknowledgement_leof: string;
|
|
274
236
|
rateSavings: string;
|
|
@@ -351,6 +313,8 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
351
313
|
aHR0cHM6Ly93d3cuc2hpcHN0YXRpb24uY29tL3Rlcm1zLXNlcnZpY2UtdW5pdGVkLWtpbmdkb20v: string;
|
|
352
314
|
"aHR0cHM6Ly93d3cuZHBkLmNvLnVrL3N0YW5kYXJkX3Rlcm1zX2FuZF9jb25kaXRpb25zLmpzcA==": string;
|
|
353
315
|
aHR0cHM6Ly93d3cuZ29nbG9iYWxwb3N0LmNvbS9jb25kaXRpb25z: string;
|
|
316
|
+
aHR0cHM6Ly93d3cucHVyb2xhdG9yLmNvbS9mci9tb2RhbGl0ZXMtZXQtY29uZGl0aW9ucy1kZS1zZXJ2aWNl: string;
|
|
317
|
+
aHR0cHM6Ly93d3cucHVyb2xhdG9yLmNvbS9lbi90ZXJtcy1hbmQtY29uZGl0aW9ucy1zZXJ2aWNl: string;
|
|
354
318
|
};
|
|
355
319
|
termsAndAgreementTitles: {
|
|
356
320
|
"WW9kZWwgRGlyZWN0IC0gVGVybXMgYW5kIENvbmRpdGlvbnMgKOKAnFRlcm1z4oCdKQ==": string;
|
|
@@ -358,6 +322,8 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
358
322
|
"VGVybXMgb2YgU2VydmljZSBVbml0ZWQgS2luZ2RvbQ==": string;
|
|
359
323
|
RFBEIFN0YW5kYXJkIFRlcm1zIGFuZCBDb25kaXRpb25z: string;
|
|
360
324
|
"R2xvYmFsUG9zdCBUZXJtcyBhbmQgQ29uZGl0aW9ucw==": string;
|
|
325
|
+
"UHVyb2xhdG9yIFRlcm1zIGFuZCBDb25kaXRpb25zIG9mIFNlcnZpY2U=": string;
|
|
326
|
+
UHVyb2xhdG9yIE1vZGFsaXTDqXMgZXQgY29uZGl0aW9ucyBkZSBzZXJ2aWNl: string;
|
|
361
327
|
};
|
|
362
328
|
};
|
|
363
329
|
"manage-defaults": {
|
|
@@ -493,7 +459,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
493
459
|
};
|
|
494
460
|
};
|
|
495
461
|
};
|
|
496
|
-
"
|
|
462
|
+
"shipengine-carriers": {
|
|
497
463
|
title: string;
|
|
498
464
|
headers: {
|
|
499
465
|
accountCarriers: string;
|
|
@@ -82,6 +82,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
82
82
|
setup: {
|
|
83
83
|
title: string;
|
|
84
84
|
subtitle: string;
|
|
85
|
+
hiddenTermsSubtitle: string;
|
|
85
86
|
descriptionTitle: string;
|
|
86
87
|
description: string;
|
|
87
88
|
};
|
|
@@ -211,6 +212,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
211
212
|
needToAcknowledge: string;
|
|
212
213
|
};
|
|
213
214
|
rates: {
|
|
215
|
+
requestedShippingNotification: string;
|
|
214
216
|
uspsMediaMailAcknowledgement: string;
|
|
215
217
|
uspsFirstClassMailAcknowledgement_leof: string;
|
|
216
218
|
rateSavings: string;
|
|
@@ -293,6 +295,8 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
293
295
|
aHR0cHM6Ly93d3cuc2hpcHN0YXRpb24uY29tL3Rlcm1zLXNlcnZpY2UtdW5pdGVkLWtpbmdkb20v: string;
|
|
294
296
|
"aHR0cHM6Ly93d3cuZHBkLmNvLnVrL3N0YW5kYXJkX3Rlcm1zX2FuZF9jb25kaXRpb25zLmpzcA==": string;
|
|
295
297
|
aHR0cHM6Ly93d3cuZ29nbG9iYWxwb3N0LmNvbS9jb25kaXRpb25z: string;
|
|
298
|
+
aHR0cHM6Ly93d3cucHVyb2xhdG9yLmNvbS9mci9tb2RhbGl0ZXMtZXQtY29uZGl0aW9ucy1kZS1zZXJ2aWNl: string;
|
|
299
|
+
aHR0cHM6Ly93d3cucHVyb2xhdG9yLmNvbS9lbi90ZXJtcy1hbmQtY29uZGl0aW9ucy1zZXJ2aWNl: string;
|
|
296
300
|
};
|
|
297
301
|
termsAndAgreementTitles: {
|
|
298
302
|
"WW9kZWwgRGlyZWN0IC0gVGVybXMgYW5kIENvbmRpdGlvbnMgKOKAnFRlcm1z4oCdKQ==": string;
|
|
@@ -300,6 +304,8 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
300
304
|
"VGVybXMgb2YgU2VydmljZSBVbml0ZWQgS2luZ2RvbQ==": string;
|
|
301
305
|
RFBEIFN0YW5kYXJkIFRlcm1zIGFuZCBDb25kaXRpb25z: string;
|
|
302
306
|
"R2xvYmFsUG9zdCBUZXJtcyBhbmQgQ29uZGl0aW9ucw==": string;
|
|
307
|
+
"UHVyb2xhdG9yIFRlcm1zIGFuZCBDb25kaXRpb25zIG9mIFNlcnZpY2U=": string;
|
|
308
|
+
UHVyb2xhdG9yIE1vZGFsaXTDqXMgZXQgY29uZGl0aW9ucyBkZSBzZXJ2aWNl: string;
|
|
303
309
|
};
|
|
304
310
|
};
|
|
305
311
|
"manage-defaults": {
|
|
@@ -435,7 +441,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
435
441
|
};
|
|
436
442
|
};
|
|
437
443
|
};
|
|
438
|
-
"
|
|
444
|
+
"shipengine-carriers": {
|
|
439
445
|
title: string;
|
|
440
446
|
headers: {
|
|
441
447
|
accountCarriers: string;
|
|
@@ -270,6 +270,7 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
270
270
|
setup: {
|
|
271
271
|
title: string;
|
|
272
272
|
subtitle: string;
|
|
273
|
+
hiddenTermsSubtitle: string;
|
|
273
274
|
descriptionTitle: string;
|
|
274
275
|
description: string;
|
|
275
276
|
};
|
|
@@ -393,6 +394,10 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
393
394
|
contentDescription: string;
|
|
394
395
|
};
|
|
395
396
|
loading: {
|
|
397
|
+
/**
|
|
398
|
+
* `onBeforeRateSave` is an async/sync callback function that will be invoked before each time a user
|
|
399
|
+
* saves a rate.
|
|
400
|
+
*/
|
|
396
401
|
calculatingRates: string;
|
|
397
402
|
};
|
|
398
403
|
modes: {
|
|
@@ -406,16 +411,13 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
406
411
|
needToAcknowledge: string;
|
|
407
412
|
};
|
|
408
413
|
rates: {
|
|
414
|
+
requestedShippingNotification: string;
|
|
409
415
|
uspsMediaMailAcknowledgement: string;
|
|
410
416
|
uspsFirstClassMailAcknowledgement_leof: string;
|
|
411
417
|
rateSavings: string;
|
|
412
418
|
upsGroundSaverTermsAcknowledgement: string;
|
|
413
419
|
dhlExpressTermsAcknowledgement: string;
|
|
414
420
|
};
|
|
415
|
-
/**
|
|
416
|
-
* `onLoad` is an async/sync callback provided by the host application that is invoked after the
|
|
417
|
-
* element is loaded. (This may be useful to grab the shipmentId of a one-off label)
|
|
418
|
-
*/
|
|
419
421
|
requirements: {
|
|
420
422
|
noWarehouse: string;
|
|
421
423
|
noCarrier: string;
|
|
@@ -492,6 +494,8 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
492
494
|
aHR0cHM6Ly93d3cuc2hpcHN0YXRpb24uY29tL3Rlcm1zLXNlcnZpY2UtdW5pdGVkLWtpbmdkb20v: string;
|
|
493
495
|
"aHR0cHM6Ly93d3cuZHBkLmNvLnVrL3N0YW5kYXJkX3Rlcm1zX2FuZF9jb25kaXRpb25zLmpzcA==": string;
|
|
494
496
|
aHR0cHM6Ly93d3cuZ29nbG9iYWxwb3N0LmNvbS9jb25kaXRpb25z: string;
|
|
497
|
+
aHR0cHM6Ly93d3cucHVyb2xhdG9yLmNvbS9mci9tb2RhbGl0ZXMtZXQtY29uZGl0aW9ucy1kZS1zZXJ2aWNl: string;
|
|
498
|
+
aHR0cHM6Ly93d3cucHVyb2xhdG9yLmNvbS9lbi90ZXJtcy1hbmQtY29uZGl0aW9ucy1zZXJ2aWNl: string;
|
|
495
499
|
};
|
|
496
500
|
termsAndAgreementTitles: {
|
|
497
501
|
"WW9kZWwgRGlyZWN0IC0gVGVybXMgYW5kIENvbmRpdGlvbnMgKOKAnFRlcm1z4oCdKQ==": string;
|
|
@@ -499,6 +503,8 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
499
503
|
"VGVybXMgb2YgU2VydmljZSBVbml0ZWQgS2luZ2RvbQ==": string;
|
|
500
504
|
RFBEIFN0YW5kYXJkIFRlcm1zIGFuZCBDb25kaXRpb25z: string;
|
|
501
505
|
"R2xvYmFsUG9zdCBUZXJtcyBhbmQgQ29uZGl0aW9ucw==": string;
|
|
506
|
+
"UHVyb2xhdG9yIFRlcm1zIGFuZCBDb25kaXRpb25zIG9mIFNlcnZpY2U=": string;
|
|
507
|
+
UHVyb2xhdG9yIE1vZGFsaXTDqXMgZXQgY29uZGl0aW9ucyBkZSBzZXJ2aWNl: string;
|
|
502
508
|
};
|
|
503
509
|
};
|
|
504
510
|
"manage-defaults": {
|
|
@@ -634,7 +640,7 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
634
640
|
};
|
|
635
641
|
};
|
|
636
642
|
};
|
|
637
|
-
"
|
|
643
|
+
"shipengine-carriers": {
|
|
638
644
|
title: string;
|
|
639
645
|
headers: {
|
|
640
646
|
accountCarriers: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as ShipEngineCarriers from "./shipengine-carriers";
|