@shipengine/elements 1.6.0 → 1.8.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 +17376 -16774
- package/index.js +17372 -16776
- package/package.json +3 -3
- package/src/components/collapsible-panel/collapsible-panel.d.ts +6 -1
- package/src/components/collapsible-panel/collapsible-panel.styles.d.ts +3 -4
- package/src/components/display-term/display-term.d.ts +2 -2
- package/src/components/display-term/display-term.styles.d.ts +2 -0
- package/src/components/field/rate-card/cost-breakdown/cost-breakdown.d.ts +1 -1
- package/src/components/index.d.ts +6 -5
- 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-form.d.ts +3 -1
- package/src/components/templates/wallet-form/wallet-form.styles.d.ts +3 -0
- package/src/components/templates/wallet-form/wallet-schema.d.ts +46 -2
- package/src/components/vat-form/index.d.ts +1 -0
- package/src/components/vat-form/vat-form-schema.d.ts +10 -0
- package/src/components/vat-form/vat-form.d.ts +6 -0
- package/src/components/vat-form/vat-form.styles.d.ts +9 -0
- package/src/elements/external-carriers/external-carriers.d.ts +130 -101
- package/src/elements/index.d.ts +2 -1
- package/src/elements/label-layout/label-layout-element.d.ts +107 -74
- package/src/elements/labels-grid/labels-grid.d.ts +107 -74
- package/src/elements/manage-funding/manage-funding-element.d.ts +107 -74
- package/src/elements/manage-warehouses/manage-warehouses.d.ts +110 -117
- package/src/elements/payment-method-settings/payment-method-settings-element.d.ts +107 -74
- package/src/elements/purchase-label/purchase-label.d.ts +131 -81
- package/src/elements/shipengine-carriers/index.d.ts +1 -0
- package/src/elements/shipengine-carriers/shipengine-carriers.d.ts +881 -0
- package/src/elements/shipments-grid/shipments-grid.d.ts +107 -74
- package/src/elements/theme-creator/theme-creator.d.ts +107 -74
- package/src/elements/unit-settings/unit-settings-element.d.ts +107 -74
- package/src/elements/vat-settings/index.d.ts +1 -0
- package/src/elements/vat-settings/vat-settings-element.d.ts +818 -0
- package/src/elements/view-shipment/view-shipment.d.ts +121 -89
- package/src/elements/void-label/components/message/message.d.ts +3 -2
- package/src/elements/void-label/void-label.d.ts +134 -93
- package/src/elements/wallet-history/wallet-history-element.d.ts +107 -74
- package/src/features/index.d.ts +6 -5
- 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/features/vat-settings/index.d.ts +2 -0
- package/src/features/vat-settings/use-vat-settings.d.ts +8 -0
- package/src/features/vat-settings/vat-settings.d.ts +9 -0
- package/src/features/vat-settings/vat-settings.styles.d.ts +29 -0
- package/src/hooks/index.d.ts +3 -3
- package/src/locales/en/index.d.ts +107 -74
- package/src/types/carrier-metadata.d.ts +3 -0
- package/src/types/patch.d.ts +1 -12
- package/src/utilities/feature-flags.d.ts +15 -2
- package/src/utilities/shipengine/index.d.ts +1 -0
- package/src/utilities/shipengine/shipment.d.ts +11 -0
- package/src/workflows/account-settings/account-settings.d.ts +111 -83
- package/src/workflows/account-settings/use-get-panel-props.d.ts +7 -1
- package/src/workflows/connect-carrier/connect-carrier.d.ts +107 -74
- package/src/workflows/manage-wallet-workflow/index.d.ts +1 -0
- package/src/{elements/list-carriers/list-carriers.d.ts → workflows/manage-wallet-workflow/manage-wallet-workflow.d.ts} +122 -111
- package/src/workflows/manage-wallet-workflow/use-get-wallet-panel-props.d.ts +4 -0
- package/src/workflows/onboarding/components/account-registration-form/account-registration-form-schema.d.ts +3 -0
- package/src/workflows/onboarding/components/funding-and-carrier-connection-step/funding-and-carrier-connection-step.d.ts +3 -1
- package/src/workflows/onboarding/components/funding-and-carrier-connection-step/use-funding-and-carrier-connection-step.d.ts +2 -2
- package/src/workflows/onboarding/components/onboarding-wizard/onboarding-wizard.d.ts +3 -3
- package/src/workflows/onboarding/components/terms-agreement-form/terms-agreement-form.d.ts +4 -4
- package/src/workflows/onboarding/components/terms-agreement-form/terms-agreement-form.styles.d.ts +6 -7
- package/src/workflows/onboarding/components/terms-agreement-step/terms-agreement-step.d.ts +3 -4
- package/src/workflows/onboarding/components/terms-agreement-step/terms-agreement-step.styles.d.ts +3 -0
- package/src/workflows/onboarding/components/terms-agreement-step/use-terms-agreement-step.d.ts +7 -7
- package/src/workflows/onboarding/onboarding.d.ts +111 -79
- package/vite.config.d.ts +1 -1
- 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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SE } from "@shipengine/alchemy";
|
|
2
2
|
import { WalletPayload } from "../../../../components/templates/wallet-form";
|
|
3
|
-
import { CarrierProfile
|
|
3
|
+
import { CarrierProfile } from "../../../../types";
|
|
4
4
|
type UseFundingAndCarrierConnectionStepProps = {
|
|
5
5
|
isUpsEnabled: boolean;
|
|
6
6
|
onStepComplete: () => void;
|
|
@@ -10,7 +10,7 @@ export declare const useFundingAndCarrierConnectionStep: ({ isUpsEnabled, onStep
|
|
|
10
10
|
carrierProfiles: CarrierProfile[];
|
|
11
11
|
defaultWarehouse: SE.Warehouse;
|
|
12
12
|
email: string;
|
|
13
|
-
fundingSourceTerms:
|
|
13
|
+
fundingSourceTerms: SE.MetadataRequiredTerm[];
|
|
14
14
|
}) => ({ address, creditCard, iovationBlackbox }: WalletPayload) => Promise<void>;
|
|
15
15
|
createFundingSourceErrors: SE.CodedError[] | null;
|
|
16
16
|
fundingSourceId: string | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SE } from "@shipengine/alchemy";
|
|
2
|
-
import {
|
|
2
|
+
import { ShipEngineCarriersFeatures, VatSettingsFeatures } from "../../../../features";
|
|
3
3
|
import { ShipFromAddressStepProps } from "../ship-from-address-step";
|
|
4
4
|
export type ValidateWarehouse = {
|
|
5
5
|
type: "warehouse";
|
|
@@ -13,11 +13,11 @@ export type ValidateBilling = {
|
|
|
13
13
|
type: "billing";
|
|
14
14
|
};
|
|
15
15
|
export type ValidateAddress = ValidateWarehouse | ValidateBilling;
|
|
16
|
-
export type OnboardingWizardFeatures =
|
|
16
|
+
export type OnboardingWizardFeatures = ShipEngineCarriersFeatures & {
|
|
17
17
|
presentation: {
|
|
18
18
|
poweredByShipEngine?: boolean;
|
|
19
19
|
};
|
|
20
|
-
};
|
|
20
|
+
} & VatSettingsFeatures;
|
|
21
21
|
export type OnboardingWizardProps = {
|
|
22
22
|
defaultShipFromAddress?: ShipFromAddressStepProps["defaultShipFromAddress"];
|
|
23
23
|
features?: Partial<OnboardingWizardFeatures>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SE } from "@shipengine/alchemy";
|
|
2
2
|
export type TermsAgreementFormProps = {
|
|
3
|
-
carrierTerms:
|
|
4
|
-
|
|
3
|
+
carrierTerms: SE.MetadataRequiredTerm[];
|
|
4
|
+
hideTerms: boolean;
|
|
5
5
|
onSubmit: (agreement: boolean) => void;
|
|
6
6
|
};
|
|
7
|
-
export declare const TermsAgreementForm: ({ carrierTerms,
|
|
7
|
+
export declare const TermsAgreementForm: ({ carrierTerms, hideTerms, onSubmit, }: TermsAgreementFormProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
package/src/workflows/onboarding/components/terms-agreement-form/terms-agreement-form.styles.d.ts
CHANGED
|
@@ -1,24 +1,23 @@
|
|
|
1
1
|
export declare const styles: {
|
|
2
|
-
closeButton: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
3
|
-
marginRight: number;
|
|
4
|
-
};
|
|
5
2
|
container: {
|
|
6
3
|
alignItems: "center";
|
|
7
4
|
display: "flex";
|
|
8
5
|
flexDirection: "column";
|
|
9
6
|
justifyContent: "center";
|
|
7
|
+
textAlign: "left";
|
|
10
8
|
};
|
|
11
9
|
expanderLink: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
12
10
|
alignItems: "center";
|
|
13
11
|
display: "inline-flex";
|
|
14
12
|
fontWeight: number;
|
|
15
13
|
};
|
|
14
|
+
fullWidth: {
|
|
15
|
+
width: string;
|
|
16
|
+
};
|
|
16
17
|
termsWell: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
17
18
|
backgroundColor: string;
|
|
18
19
|
marginBottom: number;
|
|
19
|
-
padding:
|
|
20
|
-
|
|
21
|
-
termTypeDivider: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
22
|
-
margin: string;
|
|
20
|
+
padding: number;
|
|
21
|
+
width: string;
|
|
23
22
|
};
|
|
24
23
|
};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SE } from "@shipengine/alchemy";
|
|
2
2
|
export type TermsAgreementStepProps = {
|
|
3
3
|
carrierCodes: string[];
|
|
4
|
-
carrierTerms:
|
|
5
|
-
fundingSourceTerms: MetadataRequiredTermWithLinks[];
|
|
4
|
+
carrierTerms: SE.MetadataRequiredTerm[];
|
|
6
5
|
onSubmit: (agreement: boolean) => void;
|
|
7
6
|
};
|
|
8
|
-
export declare const TermsAgreementStep: ({ carrierCodes, carrierTerms,
|
|
7
|
+
export declare const TermsAgreementStep: ({ carrierCodes, carrierTerms, onSubmit, }: TermsAgreementStepProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
package/src/workflows/onboarding/components/terms-agreement-step/use-terms-agreement-step.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SE } from "@shipengine/alchemy";
|
|
2
2
|
export type UseTermsAgreementStepProps = {
|
|
3
3
|
enabledCarriers: string[];
|
|
4
4
|
onStepComplete: () => void;
|
|
@@ -6,13 +6,13 @@ export type UseTermsAgreementStepProps = {
|
|
|
6
6
|
export declare const useTermsAgreementStep: ({ enabledCarriers, onStepComplete, }: UseTermsAgreementStepProps) => {
|
|
7
7
|
carrierCodes: string[] | undefined;
|
|
8
8
|
carrierProfiles: {
|
|
9
|
-
capabilities:
|
|
9
|
+
capabilities: SE.MetadataCapability[] | null;
|
|
10
10
|
carrierCode: string;
|
|
11
|
-
registrationRequirements:
|
|
12
|
-
requiredTerms:
|
|
11
|
+
registrationRequirements: SE.MetadataRegistrationRequirement[];
|
|
12
|
+
requiredTerms: SE.MetadataRequiredTerm[];
|
|
13
13
|
}[] | undefined;
|
|
14
|
-
carrierTerms:
|
|
15
|
-
fundingSourceMetadata: import("@tanstack/react-query").UseQueryResult<
|
|
16
|
-
fundingSourceTerms:
|
|
14
|
+
carrierTerms: SE.MetadataRequiredTerm[] | undefined;
|
|
15
|
+
fundingSourceMetadata: import("@tanstack/react-query").UseQueryResult<SE.MetadataResponse, SE.CodedError[]>;
|
|
16
|
+
fundingSourceTerms: SE.MetadataRequiredTerm[] | undefined;
|
|
17
17
|
handleSubmitTermsAgreement: () => void;
|
|
18
18
|
};
|
|
@@ -65,7 +65,7 @@ export declare const Component: ({ defaultShipFromAddress, features, onComplete,
|
|
|
65
65
|
* Element directly. Here is a brief example of how you would use it within your application.
|
|
66
66
|
* ```tsx
|
|
67
67
|
* <Onboarding.Element
|
|
68
|
-
*
|
|
68
|
+
* onComplete={() => console.log('Onboarding Complete!')}
|
|
69
69
|
* />
|
|
70
70
|
* ```
|
|
71
71
|
*
|
|
@@ -109,6 +109,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
109
109
|
resultMessages: {
|
|
110
110
|
approved: string;
|
|
111
111
|
rejected: string;
|
|
112
|
+
dpdwallet: string;
|
|
112
113
|
};
|
|
113
114
|
refund_process: string;
|
|
114
115
|
refund_rules: string;
|
|
@@ -140,8 +141,8 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
140
141
|
shipTo: string;
|
|
141
142
|
warehouse: string;
|
|
142
143
|
weight: string;
|
|
143
|
-
insuredValue: string;
|
|
144
|
-
deliveryConfirmation: string;
|
|
144
|
+
insuredValue: string; /** Invoked when the onboarding process is completed. */
|
|
145
|
+
deliveryConfirmation: string;
|
|
145
146
|
};
|
|
146
147
|
highVolumeForms: string;
|
|
147
148
|
multipleShippingServices: string;
|
|
@@ -150,11 +151,44 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
150
151
|
};
|
|
151
152
|
noLabels: string;
|
|
152
153
|
};
|
|
154
|
+
"vat-settings": {
|
|
155
|
+
addNew: string;
|
|
156
|
+
vatNumber: string;
|
|
157
|
+
vatRegistrationTooltip: string;
|
|
158
|
+
vatFormText: string;
|
|
159
|
+
vatFormRegisterLater: string;
|
|
160
|
+
vatNumberInputHint: string;
|
|
161
|
+
vatNumberInputPlaceholder: string;
|
|
162
|
+
verifiedVat: string;
|
|
163
|
+
vatFormErrors: {
|
|
164
|
+
invalidFieldValue: string;
|
|
165
|
+
verificationFailure: string;
|
|
166
|
+
forbidden: string;
|
|
167
|
+
connectionNotSupported: string;
|
|
168
|
+
genericTitle: string;
|
|
169
|
+
genericText: string;
|
|
170
|
+
};
|
|
171
|
+
};
|
|
172
|
+
"shipengine-carriers": {
|
|
173
|
+
title: string;
|
|
174
|
+
headers: {
|
|
175
|
+
accountCarriers: string;
|
|
176
|
+
carriers: string;
|
|
177
|
+
settings: string;
|
|
178
|
+
};
|
|
179
|
+
actions: {
|
|
180
|
+
status: {
|
|
181
|
+
connected: string;
|
|
182
|
+
notConnected: string;
|
|
183
|
+
};
|
|
184
|
+
};
|
|
185
|
+
};
|
|
153
186
|
"register-wallet": {
|
|
154
187
|
sections: {
|
|
155
188
|
setup: {
|
|
156
189
|
title: string;
|
|
157
190
|
subtitle: string;
|
|
191
|
+
hiddenTermsSubtitle: string;
|
|
158
192
|
descriptionTitle: string;
|
|
159
193
|
description: string;
|
|
160
194
|
};
|
|
@@ -162,16 +196,18 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
162
196
|
title: string;
|
|
163
197
|
cardSubTitle: string;
|
|
164
198
|
addressSubTitle: string;
|
|
165
|
-
/** If provided, the address form will be pre-filled */
|
|
166
199
|
info: string;
|
|
167
200
|
};
|
|
201
|
+
vatSettings: {
|
|
202
|
+
title: string; /** Invoked when the onboarding process is completed. */
|
|
203
|
+
};
|
|
168
204
|
carriers: {
|
|
169
205
|
title: string;
|
|
170
206
|
subtitle: string;
|
|
171
207
|
};
|
|
172
208
|
notifications: {
|
|
173
209
|
error: {
|
|
174
|
-
title: string;
|
|
210
|
+
title: string;
|
|
175
211
|
};
|
|
176
212
|
info: {
|
|
177
213
|
title: string;
|
|
@@ -285,11 +321,13 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
285
321
|
needToAcknowledge: string;
|
|
286
322
|
};
|
|
287
323
|
rates: {
|
|
324
|
+
requestedShippingNotification: string;
|
|
288
325
|
uspsMediaMailAcknowledgement: string;
|
|
289
326
|
uspsFirstClassMailAcknowledgement_leof: string;
|
|
290
327
|
rateSavings: string;
|
|
291
328
|
upsGroundSaverTermsAcknowledgement: string;
|
|
292
329
|
dhlExpressTermsAcknowledgement: string;
|
|
330
|
+
noRateService: string;
|
|
293
331
|
};
|
|
294
332
|
requirements: {
|
|
295
333
|
noWarehouse: string;
|
|
@@ -356,6 +394,8 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
356
394
|
action: string;
|
|
357
395
|
};
|
|
358
396
|
termsAndAgreementLinkText: {
|
|
397
|
+
shipEngineToS: string;
|
|
398
|
+
auctanePrivacyPolicy: string;
|
|
359
399
|
aHR0cHM6Ly9teWRobC5leHByZXNzLmRobC91cy9lbi9sZWdhbC90ZXJtcy1hbmQtY29uZGl0aW9ucy5odG1s: string;
|
|
360
400
|
"aHR0cHM6Ly93d3cuc3RhbXBzLmNvbS9wcml2YWN5LXBvbGljeQ==": string;
|
|
361
401
|
"aHR0cHM6Ly93d3cuc3RhbXBzLmNvbS9jb25kaXRpb25zLw==": string;
|
|
@@ -367,6 +407,8 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
367
407
|
aHR0cHM6Ly93d3cuc2hpcHN0YXRpb24uY29tL3Rlcm1zLXNlcnZpY2UtdW5pdGVkLWtpbmdkb20v: string;
|
|
368
408
|
"aHR0cHM6Ly93d3cuZHBkLmNvLnVrL3N0YW5kYXJkX3Rlcm1zX2FuZF9jb25kaXRpb25zLmpzcA==": string;
|
|
369
409
|
aHR0cHM6Ly93d3cuZ29nbG9iYWxwb3N0LmNvbS9jb25kaXRpb25z: string;
|
|
410
|
+
aHR0cHM6Ly93d3cucHVyb2xhdG9yLmNvbS9mci9tb2RhbGl0ZXMtZXQtY29uZGl0aW9ucy1kZS1zZXJ2aWNl: string;
|
|
411
|
+
aHR0cHM6Ly93d3cucHVyb2xhdG9yLmNvbS9lbi90ZXJtcy1hbmQtY29uZGl0aW9ucy1zZXJ2aWNl: string;
|
|
370
412
|
};
|
|
371
413
|
termsAndAgreementTitles: {
|
|
372
414
|
"WW9kZWwgRGlyZWN0IC0gVGVybXMgYW5kIENvbmRpdGlvbnMgKOKAnFRlcm1z4oCdKQ==": string;
|
|
@@ -374,42 +416,8 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
374
416
|
"VGVybXMgb2YgU2VydmljZSBVbml0ZWQgS2luZ2RvbQ==": string;
|
|
375
417
|
RFBEIFN0YW5kYXJkIFRlcm1zIGFuZCBDb25kaXRpb25z: string;
|
|
376
418
|
"R2xvYmFsUG9zdCBUZXJtcyBhbmQgQ29uZGl0aW9ucw==": string;
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
"manage-defaults": {
|
|
380
|
-
label: {
|
|
381
|
-
title: string;
|
|
382
|
-
letter: {
|
|
383
|
-
title: string;
|
|
384
|
-
description: string;
|
|
385
|
-
};
|
|
386
|
-
purchase: {
|
|
387
|
-
title: string;
|
|
388
|
-
description: string;
|
|
389
|
-
};
|
|
390
|
-
thermal: {
|
|
391
|
-
title: string;
|
|
392
|
-
description: string;
|
|
393
|
-
};
|
|
394
|
-
};
|
|
395
|
-
status: {
|
|
396
|
-
saving: string;
|
|
397
|
-
saved: string;
|
|
398
|
-
savingFailed: string;
|
|
399
|
-
};
|
|
400
|
-
units: {
|
|
401
|
-
title: string;
|
|
402
|
-
dimensions: {
|
|
403
|
-
title: string;
|
|
404
|
-
standard: string; /** Invoked when the onboarding process is completed. */
|
|
405
|
-
metric: string;
|
|
406
|
-
};
|
|
407
|
-
weight: {
|
|
408
|
-
title: string; /** The partner responsible for the currently onboarding seller. This is typically the name of the entity that owns the host application. */
|
|
409
|
-
standard: string;
|
|
410
|
-
g: string;
|
|
411
|
-
kg: string;
|
|
412
|
-
};
|
|
419
|
+
"UHVyb2xhdG9yIFRlcm1zIGFuZCBDb25kaXRpb25zIG9mIFNlcnZpY2U=": string;
|
|
420
|
+
UHVyb2xhdG9yIE1vZGFsaXTDqXMgZXQgY29uZGl0aW9ucyBkZSBzZXJ2aWNl: string;
|
|
413
421
|
};
|
|
414
422
|
};
|
|
415
423
|
"manage-warehouses": {
|
|
@@ -479,6 +487,42 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
479
487
|
currentBalance: string;
|
|
480
488
|
maximumBalanceAmount: string;
|
|
481
489
|
};
|
|
490
|
+
"manage-defaults": {
|
|
491
|
+
label: {
|
|
492
|
+
title: string;
|
|
493
|
+
letter: {
|
|
494
|
+
title: string;
|
|
495
|
+
description: string;
|
|
496
|
+
};
|
|
497
|
+
purchase: {
|
|
498
|
+
title: string;
|
|
499
|
+
description: string;
|
|
500
|
+
};
|
|
501
|
+
thermal: {
|
|
502
|
+
title: string;
|
|
503
|
+
description: string;
|
|
504
|
+
};
|
|
505
|
+
};
|
|
506
|
+
status: {
|
|
507
|
+
saving: string;
|
|
508
|
+
saved: string;
|
|
509
|
+
savingFailed: string;
|
|
510
|
+
};
|
|
511
|
+
units: {
|
|
512
|
+
title: string;
|
|
513
|
+
dimensions: {
|
|
514
|
+
title: string;
|
|
515
|
+
standard: string; /** Invoked when the onboarding process is completed. */
|
|
516
|
+
metric: string;
|
|
517
|
+
};
|
|
518
|
+
weight: {
|
|
519
|
+
title: string; /** The partner responsible for the currently onboarding seller. This is typically the name of the entity that owns the host application. */
|
|
520
|
+
standard: string;
|
|
521
|
+
g: string;
|
|
522
|
+
kg: string;
|
|
523
|
+
};
|
|
524
|
+
};
|
|
525
|
+
};
|
|
482
526
|
"list-shipments": {
|
|
483
527
|
title: string;
|
|
484
528
|
headers: {
|
|
@@ -515,18 +559,31 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
515
559
|
};
|
|
516
560
|
};
|
|
517
561
|
};
|
|
518
|
-
"
|
|
519
|
-
title: string;
|
|
520
|
-
headers: {
|
|
521
|
-
accountCarriers: string;
|
|
522
|
-
carriers: string;
|
|
523
|
-
settings: string;
|
|
524
|
-
};
|
|
562
|
+
"connect-carrier": {
|
|
525
563
|
actions: {
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
564
|
+
cancel: string;
|
|
565
|
+
carrierSettings: string;
|
|
566
|
+
connectCarriers: string;
|
|
567
|
+
disconnect: string;
|
|
568
|
+
disconnectCarrier: string;
|
|
569
|
+
};
|
|
570
|
+
noCarriersDescription: string;
|
|
571
|
+
registrationForm: {
|
|
572
|
+
error: string;
|
|
573
|
+
title: string;
|
|
574
|
+
betaWarning: string;
|
|
575
|
+
};
|
|
576
|
+
search: string;
|
|
577
|
+
settingsModal: {
|
|
578
|
+
closeDialog: string;
|
|
579
|
+
header: string;
|
|
580
|
+
};
|
|
581
|
+
status: {
|
|
582
|
+
connected: string;
|
|
583
|
+
};
|
|
584
|
+
disconnectDropdown: {
|
|
585
|
+
toastTitle: string;
|
|
586
|
+
toastBody: string;
|
|
530
587
|
};
|
|
531
588
|
};
|
|
532
589
|
common: {
|
|
@@ -753,6 +810,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
753
810
|
accountSettings: string;
|
|
754
811
|
carrier: string;
|
|
755
812
|
carriers: string;
|
|
813
|
+
carrierServices: string;
|
|
756
814
|
connectCarrierForm: string;
|
|
757
815
|
connectingCarriers: string;
|
|
758
816
|
creatingFundingSource: string;
|
|
@@ -855,33 +913,6 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
855
913
|
"QSBzaGlwcGluZyBjYXJyaWVyIGVycm9yIG9jY3VycmVkOiBNaXNzaW5nIG9yIGludmFsaWQgc2hpcCB0byBTdGF0ZVByb3ZpbmNlQ29kZQ==": string;
|
|
856
914
|
"QSBzaGlwcGluZyBjYXJyaWVyIGVycm9yIG9jY3VycmVkOiBJbnZhbGlkIHNvbGQgdG8gc3RhdGUgcHJvdmluY2UgY29kZS4gVmFsaWQgbGVuZ3RoIGlzIDAgdG8gNSBhbHBoYW51bWVyaWM=": string;
|
|
857
915
|
};
|
|
858
|
-
"connect-carrier": {
|
|
859
|
-
actions: {
|
|
860
|
-
cancel: string;
|
|
861
|
-
carrierSettings: string;
|
|
862
|
-
connectCarriers: string;
|
|
863
|
-
disconnect: string;
|
|
864
|
-
disconnectCarrier: string;
|
|
865
|
-
};
|
|
866
|
-
noCarriersDescription: string;
|
|
867
|
-
registrationForm: {
|
|
868
|
-
error: string;
|
|
869
|
-
title: string;
|
|
870
|
-
betaWarning: string;
|
|
871
|
-
};
|
|
872
|
-
search: string;
|
|
873
|
-
settingsModal: {
|
|
874
|
-
closeDialog: string;
|
|
875
|
-
header: string;
|
|
876
|
-
};
|
|
877
|
-
status: {
|
|
878
|
-
connected: string;
|
|
879
|
-
};
|
|
880
|
-
disconnectDropdown: {
|
|
881
|
-
toastTitle: string;
|
|
882
|
-
toastBody: string;
|
|
883
|
-
};
|
|
884
|
-
};
|
|
885
916
|
"account-settings": {
|
|
886
917
|
messages: {
|
|
887
918
|
noFundingSources: string;
|
|
@@ -904,6 +935,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
904
935
|
externalCarriers: string;
|
|
905
936
|
labelLayout: string;
|
|
906
937
|
unitSettings: string;
|
|
938
|
+
vatSettings: string;
|
|
907
939
|
};
|
|
908
940
|
};
|
|
909
941
|
};
|
package/vite.config.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vite").
|
|
1
|
+
declare const _default: import("vite").UserConfig;
|
|
2
2
|
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * as ListCarriers from "./list-carriers";
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { CarrierConnection } from "@shipengine/alchemy";
|
|
2
|
-
import { CarrierMetadata } from "../../../types";
|
|
3
|
-
/**
|
|
4
|
-
* @internal
|
|
5
|
-
*
|
|
6
|
-
* # Carrier Metadata Hook
|
|
7
|
-
*
|
|
8
|
-
* @category Hooks
|
|
9
|
-
*/
|
|
10
|
-
export declare const useCarrierMetadata: (carrierCodes?: CarrierConnection["carrierCode"][]) => CarrierMetadata[];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./list-carriers";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./list-carriers-row";
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export type ListCarriersFeatures = {
|
|
2
|
-
carriers: {
|
|
3
|
-
enabledCarriers: ("stamps_com" | "ups_walleted" | "ups" | "dhl_express_walleted" | "dhl_express_worldwide" | "hermes" | "yodel_walleted" | "dpdwallet" | "globalpost")[];
|
|
4
|
-
};
|
|
5
|
-
};
|
|
6
|
-
export type ListCarriersProps = {
|
|
7
|
-
features?: ListCarriersFeatures;
|
|
8
|
-
};
|
|
9
|
-
export declare const ListCarriers: ({ features, }: ListCarriersProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
File without changes
|
/package/src/features/{list-carriers → shipengine-carriers}/hooks/use-list-connected-carriers.d.ts
RENAMED
|
File without changes
|
|
File without changes
|