@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
|
@@ -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;
|
|
@@ -74,6 +74,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
74
74
|
schedulePickup: string;
|
|
75
75
|
showItems: string;
|
|
76
76
|
void: string;
|
|
77
|
+
download: string;
|
|
77
78
|
};
|
|
78
79
|
fields: {
|
|
79
80
|
dimensions: string;
|
|
@@ -93,6 +94,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
93
94
|
multipleShippingServices: string;
|
|
94
95
|
sections: {
|
|
95
96
|
labels: string;
|
|
97
|
+
shipmentSummary: string;
|
|
96
98
|
};
|
|
97
99
|
noLabels: string;
|
|
98
100
|
};
|
|
@@ -182,8 +184,48 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
182
184
|
};
|
|
183
185
|
};
|
|
184
186
|
"register-carrier": {
|
|
185
|
-
formTitle:
|
|
186
|
-
|
|
187
|
+
formTitle: {
|
|
188
|
+
default: string;
|
|
189
|
+
new: string;
|
|
190
|
+
edit: string;
|
|
191
|
+
};
|
|
192
|
+
notifications: {
|
|
193
|
+
error: {
|
|
194
|
+
title: string;
|
|
195
|
+
};
|
|
196
|
+
};
|
|
197
|
+
};
|
|
198
|
+
"rate-details": {
|
|
199
|
+
total: string;
|
|
200
|
+
subtotal: string;
|
|
201
|
+
registerVat: string;
|
|
202
|
+
concepts: {
|
|
203
|
+
confirmation: string;
|
|
204
|
+
uncategorized: string;
|
|
205
|
+
shipping: string;
|
|
206
|
+
insurance: string;
|
|
207
|
+
confirm: string;
|
|
208
|
+
discount: string;
|
|
209
|
+
fuel_charge: string;
|
|
210
|
+
additional_fees: string;
|
|
211
|
+
tariff: string;
|
|
212
|
+
tax: string;
|
|
213
|
+
delivery: string;
|
|
214
|
+
handling: string;
|
|
215
|
+
special_goods: string;
|
|
216
|
+
pickup: string;
|
|
217
|
+
location_fee: string;
|
|
218
|
+
oversize: string;
|
|
219
|
+
returns: string;
|
|
220
|
+
notifications: string;
|
|
221
|
+
tip: string;
|
|
222
|
+
duties_and_taxes: string;
|
|
223
|
+
brokerage_fee: string;
|
|
224
|
+
admin_fee: string;
|
|
225
|
+
adjustment: string;
|
|
226
|
+
auctane_service_fee: string;
|
|
227
|
+
product_price: string;
|
|
228
|
+
};
|
|
187
229
|
};
|
|
188
230
|
"purchase-label": {
|
|
189
231
|
title: string;
|
|
@@ -296,7 +338,10 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
296
338
|
today: string;
|
|
297
339
|
viewMap: string;
|
|
298
340
|
otherLocations: string;
|
|
299
|
-
|
|
341
|
+
noServicePointsForService: string;
|
|
342
|
+
error: string;
|
|
343
|
+
paperless: string;
|
|
344
|
+
localTimeDisclaimer: string;
|
|
300
345
|
};
|
|
301
346
|
shipToAddressFormFields: string;
|
|
302
347
|
sections: {
|
|
@@ -800,6 +845,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
800
845
|
gram: string;
|
|
801
846
|
kilogram: string;
|
|
802
847
|
};
|
|
848
|
+
ZnVuZGluZ19zb3VyY2VfaWQgbXVzdCBiZSBhbiBpbnRlZ2Vy: string;
|
|
803
849
|
T25seSByZXNpZGVudGlhbCBkZWxpdmVyeSBhZGRyZXNzZXMgYXJlIGFsbG93ZWQgZm9yIFVQUyBHcm91bmQgU2F2ZXIu: string;
|
|
804
850
|
"VGhlIHNlbGVjdGVkIHNlcnZpY2UgaW5jbHVkZXMgaW5zdXJhbmNlIGZvciBhbiBpbnN1cmVkIGFtb3VudCB1cCB0byAkMTAwLgo=": string;
|
|
805
851
|
"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;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { SE } from "@shipengine/alchemy";
|
|
2
2
|
import { RateFormProps } from "../../components/templates/rate-form";
|
|
3
3
|
import { ShipmentFormFeatures, ShipmentFormProps } from "../../components/templates/shipment-form";
|
|
4
|
+
import { VatSettingsFeatures } from "../../features";
|
|
4
5
|
import { UseShippingPresetsOptionsProps } from "../../hooks";
|
|
5
6
|
import { PreferredRatesResponse } from "../../types";
|
|
6
7
|
import { UseRatesFormProps, UseShipmentFormProps } from "./hooks";
|
|
@@ -31,7 +32,7 @@ export type ConfigureShipmentFeatures = {
|
|
|
31
32
|
export type ConfigureShipmentProps = {
|
|
32
33
|
currency: SE.Currency;
|
|
33
34
|
errors?: ShipmentFormProps["errors"];
|
|
34
|
-
features?: ConfigureShipmentFeatures;
|
|
35
|
+
features?: ConfigureShipmentFeatures & VatSettingsFeatures;
|
|
35
36
|
getPreferredRates?: (shipment: SE.SalesOrderShipment, isInternational: boolean) => Promise<PreferredRatesResponse | undefined>;
|
|
36
37
|
insuranceAccount?: SE.InsuranceAccount;
|
|
37
38
|
isLoading?: ShipmentFormProps["isLoading"];
|
|
@@ -25,10 +25,12 @@ export declare const useRatesForm: ({ getPreferredRates, onBeforeRateSaved, onBe
|
|
|
25
25
|
carriers: SE.Carrier[] | undefined;
|
|
26
26
|
displayableRateErrors: string[] | undefined;
|
|
27
27
|
errors: SE.CodedError[] | undefined;
|
|
28
|
+
fetchServicePoints: (searchQuery?: import("../../../hooks").ServicePointSearchQuery | undefined) => void;
|
|
28
29
|
isLoading: boolean;
|
|
29
30
|
labelErrors: string[] | undefined;
|
|
30
31
|
labels: SE.Label[];
|
|
31
32
|
labelsLoading: boolean;
|
|
33
|
+
listServicePointsErrors: SE.CodedError[] | null;
|
|
32
34
|
onSave: ({ carrierId, serviceCode }: Pick<SE.Rate, "carrierId" | "serviceCode">) => Promise<void>;
|
|
33
35
|
onSubmit: (rateId: string, servicePoint?: SE.ServicePoint) => Promise<void>;
|
|
34
36
|
preferredRates: import("../../..").PreferredRatesResponse | undefined;
|
|
@@ -36,5 +38,8 @@ export declare const useRatesForm: ({ getPreferredRates, onBeforeRateSaved, onBe
|
|
|
36
38
|
requestRates: (shipment: SE.SalesOrderShipment, isInternational: boolean) => Promise<void>;
|
|
37
39
|
resetLabel: () => void;
|
|
38
40
|
resetRates: () => void;
|
|
41
|
+
servicePointSearchQuery: import("../../../hooks").ServicePointSearchQuery | undefined;
|
|
42
|
+
servicePointsFetching: boolean;
|
|
43
|
+
servicePointsResponse: SE.ServicePointsListResponse | undefined;
|
|
39
44
|
shipment: SE.SalesOrderShipment | undefined;
|
|
40
45
|
};
|
|
@@ -244,6 +244,7 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
244
244
|
schedulePickup: string;
|
|
245
245
|
showItems: string;
|
|
246
246
|
void: string;
|
|
247
|
+
download: string;
|
|
247
248
|
};
|
|
248
249
|
fields: {
|
|
249
250
|
dimensions: string;
|
|
@@ -263,6 +264,7 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
263
264
|
multipleShippingServices: string;
|
|
264
265
|
sections: {
|
|
265
266
|
labels: string;
|
|
267
|
+
shipmentSummary: string;
|
|
266
268
|
};
|
|
267
269
|
noLabels: string;
|
|
268
270
|
};
|
|
@@ -360,8 +362,48 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
360
362
|
};
|
|
361
363
|
};
|
|
362
364
|
"register-carrier": {
|
|
363
|
-
formTitle:
|
|
364
|
-
|
|
365
|
+
formTitle: {
|
|
366
|
+
default: string;
|
|
367
|
+
new: string;
|
|
368
|
+
edit: string;
|
|
369
|
+
};
|
|
370
|
+
notifications: {
|
|
371
|
+
error: {
|
|
372
|
+
title: string;
|
|
373
|
+
};
|
|
374
|
+
};
|
|
375
|
+
};
|
|
376
|
+
"rate-details": {
|
|
377
|
+
total: string;
|
|
378
|
+
subtotal: string;
|
|
379
|
+
registerVat: string;
|
|
380
|
+
concepts: {
|
|
381
|
+
confirmation: string;
|
|
382
|
+
uncategorized: string;
|
|
383
|
+
shipping: string;
|
|
384
|
+
insurance: string;
|
|
385
|
+
confirm: string;
|
|
386
|
+
discount: string;
|
|
387
|
+
fuel_charge: string;
|
|
388
|
+
additional_fees: string;
|
|
389
|
+
tariff: string;
|
|
390
|
+
tax: string;
|
|
391
|
+
delivery: string;
|
|
392
|
+
handling: string;
|
|
393
|
+
special_goods: string;
|
|
394
|
+
pickup: string;
|
|
395
|
+
location_fee: string;
|
|
396
|
+
oversize: string;
|
|
397
|
+
returns: string;
|
|
398
|
+
notifications: string;
|
|
399
|
+
tip: string;
|
|
400
|
+
duties_and_taxes: string;
|
|
401
|
+
brokerage_fee: string;
|
|
402
|
+
admin_fee: string;
|
|
403
|
+
adjustment: string;
|
|
404
|
+
auctane_service_fee: string;
|
|
405
|
+
product_price: string;
|
|
406
|
+
};
|
|
365
407
|
};
|
|
366
408
|
"purchase-label": {
|
|
367
409
|
title: string;
|
|
@@ -485,7 +527,10 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
485
527
|
today: string;
|
|
486
528
|
viewMap: string;
|
|
487
529
|
otherLocations: string;
|
|
488
|
-
|
|
530
|
+
noServicePointsForService: string;
|
|
531
|
+
error: string;
|
|
532
|
+
paperless: string;
|
|
533
|
+
localTimeDisclaimer: string;
|
|
489
534
|
};
|
|
490
535
|
shipToAddressFormFields: string;
|
|
491
536
|
sections: {
|
|
@@ -1002,6 +1047,7 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
1002
1047
|
gram: string;
|
|
1003
1048
|
kilogram: string;
|
|
1004
1049
|
};
|
|
1050
|
+
ZnVuZGluZ19zb3VyY2VfaWQgbXVzdCBiZSBhbiBpbnRlZ2Vy: string;
|
|
1005
1051
|
T25seSByZXNpZGVudGlhbCBkZWxpdmVyeSBhZGRyZXNzZXMgYXJlIGFsbG93ZWQgZm9yIFVQUyBHcm91bmQgU2F2ZXIu: string;
|
|
1006
1052
|
"VGhlIHNlbGVjdGVkIHNlcnZpY2UgaW5jbHVkZXMgaW5zdXJhbmNlIGZvciBhbiBpbnN1cmVkIGFtb3VudCB1cCB0byAkMTAwLgo=": string;
|
|
1007
1053
|
"VGhlIHNlbGVjdGVkIHNlcnZpY2UgaW5jbHVkZXMgaW5zdXJhbmNlIGZvciBhbiBpbnN1cmVkIGFtb3VudCB1cCB0byAkNTAuCg==": string;
|
|
@@ -91,6 +91,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
91
91
|
schedulePickup: string;
|
|
92
92
|
showItems: string;
|
|
93
93
|
void: string;
|
|
94
|
+
download: string;
|
|
94
95
|
};
|
|
95
96
|
fields: {
|
|
96
97
|
dimensions: string;
|
|
@@ -110,6 +111,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
110
111
|
multipleShippingServices: string;
|
|
111
112
|
sections: {
|
|
112
113
|
labels: string;
|
|
114
|
+
shipmentSummary: string;
|
|
113
115
|
};
|
|
114
116
|
noLabels: string;
|
|
115
117
|
};
|
|
@@ -199,8 +201,48 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
199
201
|
};
|
|
200
202
|
};
|
|
201
203
|
"register-carrier": {
|
|
202
|
-
formTitle:
|
|
203
|
-
|
|
204
|
+
formTitle: {
|
|
205
|
+
default: string;
|
|
206
|
+
new: string;
|
|
207
|
+
edit: string;
|
|
208
|
+
};
|
|
209
|
+
notifications: {
|
|
210
|
+
error: {
|
|
211
|
+
title: string;
|
|
212
|
+
};
|
|
213
|
+
};
|
|
214
|
+
};
|
|
215
|
+
"rate-details": {
|
|
216
|
+
total: string;
|
|
217
|
+
subtotal: string;
|
|
218
|
+
registerVat: string;
|
|
219
|
+
concepts: {
|
|
220
|
+
confirmation: string;
|
|
221
|
+
uncategorized: string;
|
|
222
|
+
shipping: string;
|
|
223
|
+
insurance: string;
|
|
224
|
+
confirm: string;
|
|
225
|
+
discount: string;
|
|
226
|
+
fuel_charge: string;
|
|
227
|
+
additional_fees: string;
|
|
228
|
+
tariff: string;
|
|
229
|
+
tax: string;
|
|
230
|
+
delivery: string;
|
|
231
|
+
handling: string;
|
|
232
|
+
special_goods: string;
|
|
233
|
+
pickup: string;
|
|
234
|
+
location_fee: string;
|
|
235
|
+
oversize: string;
|
|
236
|
+
returns: string;
|
|
237
|
+
notifications: string;
|
|
238
|
+
tip: string;
|
|
239
|
+
duties_and_taxes: string;
|
|
240
|
+
brokerage_fee: string;
|
|
241
|
+
admin_fee: string;
|
|
242
|
+
adjustment: string;
|
|
243
|
+
auctane_service_fee: string;
|
|
244
|
+
product_price: string;
|
|
245
|
+
};
|
|
204
246
|
};
|
|
205
247
|
"purchase-label": {
|
|
206
248
|
title: string;
|
|
@@ -313,7 +355,10 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
313
355
|
today: string;
|
|
314
356
|
viewMap: string;
|
|
315
357
|
otherLocations: string;
|
|
316
|
-
|
|
358
|
+
noServicePointsForService: string;
|
|
359
|
+
error: string;
|
|
360
|
+
paperless: string;
|
|
361
|
+
localTimeDisclaimer: string;
|
|
317
362
|
};
|
|
318
363
|
shipToAddressFormFields: string;
|
|
319
364
|
sections: {
|
|
@@ -845,6 +890,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
845
890
|
gram: string;
|
|
846
891
|
kilogram: string;
|
|
847
892
|
};
|
|
893
|
+
ZnVuZGluZ19zb3VyY2VfaWQgbXVzdCBiZSBhbiBpbnRlZ2Vy: string;
|
|
848
894
|
T25seSByZXNpZGVudGlhbCBkZWxpdmVyeSBhZGRyZXNzZXMgYXJlIGFsbG93ZWQgZm9yIFVQUyBHcm91bmQgU2F2ZXIu: string;
|
|
849
895
|
"VGhlIHNlbGVjdGVkIHNlcnZpY2UgaW5jbHVkZXMgaW5zdXJhbmNlIGZvciBhbiBpbnN1cmVkIGFtb3VudCB1cCB0byAkMTAwLgo=": string;
|
|
850
896
|
"VGhlIHNlbGVjdGVkIHNlcnZpY2UgaW5jbHVkZXMgaW5zdXJhbmNlIGZvciBhbiBpbnN1cmVkIGFtb3VudCB1cCB0byAkNTAuCg==": string;
|
|
@@ -59,6 +59,7 @@ export declare const Element: ({ resources, ...props }: ShipmentsGridProps & {
|
|
|
59
59
|
schedulePickup: string;
|
|
60
60
|
showItems: string;
|
|
61
61
|
void: string;
|
|
62
|
+
download: string;
|
|
62
63
|
};
|
|
63
64
|
fields: {
|
|
64
65
|
dimensions: string;
|
|
@@ -78,6 +79,7 @@ export declare const Element: ({ resources, ...props }: ShipmentsGridProps & {
|
|
|
78
79
|
multipleShippingServices: string;
|
|
79
80
|
sections: {
|
|
80
81
|
labels: string;
|
|
82
|
+
shipmentSummary: string;
|
|
81
83
|
};
|
|
82
84
|
noLabels: string;
|
|
83
85
|
};
|
|
@@ -167,8 +169,48 @@ export declare const Element: ({ resources, ...props }: ShipmentsGridProps & {
|
|
|
167
169
|
};
|
|
168
170
|
};
|
|
169
171
|
"register-carrier": {
|
|
170
|
-
formTitle:
|
|
171
|
-
|
|
172
|
+
formTitle: {
|
|
173
|
+
default: string;
|
|
174
|
+
new: string;
|
|
175
|
+
edit: string;
|
|
176
|
+
};
|
|
177
|
+
notifications: {
|
|
178
|
+
error: {
|
|
179
|
+
title: string;
|
|
180
|
+
};
|
|
181
|
+
};
|
|
182
|
+
};
|
|
183
|
+
"rate-details": {
|
|
184
|
+
total: string;
|
|
185
|
+
subtotal: string;
|
|
186
|
+
registerVat: string;
|
|
187
|
+
concepts: {
|
|
188
|
+
confirmation: string;
|
|
189
|
+
uncategorized: string;
|
|
190
|
+
shipping: string;
|
|
191
|
+
insurance: string;
|
|
192
|
+
confirm: string;
|
|
193
|
+
discount: string;
|
|
194
|
+
fuel_charge: string;
|
|
195
|
+
additional_fees: string;
|
|
196
|
+
tariff: string;
|
|
197
|
+
tax: string;
|
|
198
|
+
delivery: string;
|
|
199
|
+
handling: string;
|
|
200
|
+
special_goods: string;
|
|
201
|
+
pickup: string;
|
|
202
|
+
location_fee: string;
|
|
203
|
+
oversize: string;
|
|
204
|
+
returns: string;
|
|
205
|
+
notifications: string;
|
|
206
|
+
tip: string;
|
|
207
|
+
duties_and_taxes: string;
|
|
208
|
+
brokerage_fee: string;
|
|
209
|
+
admin_fee: string;
|
|
210
|
+
adjustment: string;
|
|
211
|
+
auctane_service_fee: string;
|
|
212
|
+
product_price: string;
|
|
213
|
+
};
|
|
172
214
|
};
|
|
173
215
|
"purchase-label": {
|
|
174
216
|
title: string;
|
|
@@ -281,7 +323,10 @@ export declare const Element: ({ resources, ...props }: ShipmentsGridProps & {
|
|
|
281
323
|
today: string;
|
|
282
324
|
viewMap: string;
|
|
283
325
|
otherLocations: string;
|
|
284
|
-
|
|
326
|
+
noServicePointsForService: string;
|
|
327
|
+
error: string;
|
|
328
|
+
paperless: string;
|
|
329
|
+
localTimeDisclaimer: string;
|
|
285
330
|
};
|
|
286
331
|
shipToAddressFormFields: string;
|
|
287
332
|
sections: {
|
|
@@ -785,6 +830,7 @@ export declare const Element: ({ resources, ...props }: ShipmentsGridProps & {
|
|
|
785
830
|
gram: string;
|
|
786
831
|
kilogram: string;
|
|
787
832
|
};
|
|
833
|
+
ZnVuZGluZ19zb3VyY2VfaWQgbXVzdCBiZSBhbiBpbnRlZ2Vy: string;
|
|
788
834
|
T25seSByZXNpZGVudGlhbCBkZWxpdmVyeSBhZGRyZXNzZXMgYXJlIGFsbG93ZWQgZm9yIFVQUyBHcm91bmQgU2F2ZXIu: string;
|
|
789
835
|
"VGhlIHNlbGVjdGVkIHNlcnZpY2UgaW5jbHVkZXMgaW5zdXJhbmNlIGZvciBhbiBpbnN1cmVkIGFtb3VudCB1cCB0byAkMTAwLgo=": string;
|
|
790
836
|
"VGhlIHNlbGVjdGVkIHNlcnZpY2UgaW5jbHVkZXMgaW5zdXJhbmNlIGZvciBhbiBpbnN1cmVkIGFtb3VudCB1cCB0byAkNTAuCg==": string;
|
|
@@ -69,6 +69,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
69
69
|
schedulePickup: string;
|
|
70
70
|
showItems: string;
|
|
71
71
|
void: string;
|
|
72
|
+
download: string;
|
|
72
73
|
};
|
|
73
74
|
fields: {
|
|
74
75
|
dimensions: string;
|
|
@@ -88,6 +89,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
88
89
|
multipleShippingServices: string;
|
|
89
90
|
sections: {
|
|
90
91
|
labels: string;
|
|
92
|
+
shipmentSummary: string;
|
|
91
93
|
};
|
|
92
94
|
noLabels: string;
|
|
93
95
|
};
|
|
@@ -177,8 +179,48 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
177
179
|
};
|
|
178
180
|
};
|
|
179
181
|
"register-carrier": {
|
|
180
|
-
formTitle:
|
|
181
|
-
|
|
182
|
+
formTitle: {
|
|
183
|
+
default: string;
|
|
184
|
+
new: string;
|
|
185
|
+
edit: string;
|
|
186
|
+
};
|
|
187
|
+
notifications: {
|
|
188
|
+
error: {
|
|
189
|
+
title: string;
|
|
190
|
+
};
|
|
191
|
+
};
|
|
192
|
+
};
|
|
193
|
+
"rate-details": {
|
|
194
|
+
total: string;
|
|
195
|
+
subtotal: string;
|
|
196
|
+
registerVat: string;
|
|
197
|
+
concepts: {
|
|
198
|
+
confirmation: string;
|
|
199
|
+
uncategorized: string;
|
|
200
|
+
shipping: string;
|
|
201
|
+
insurance: string;
|
|
202
|
+
confirm: string;
|
|
203
|
+
discount: string;
|
|
204
|
+
fuel_charge: string;
|
|
205
|
+
additional_fees: string;
|
|
206
|
+
tariff: string;
|
|
207
|
+
tax: string;
|
|
208
|
+
delivery: string;
|
|
209
|
+
handling: string;
|
|
210
|
+
special_goods: string;
|
|
211
|
+
pickup: string;
|
|
212
|
+
location_fee: string;
|
|
213
|
+
oversize: string;
|
|
214
|
+
returns: string;
|
|
215
|
+
notifications: string;
|
|
216
|
+
tip: string;
|
|
217
|
+
duties_and_taxes: string;
|
|
218
|
+
brokerage_fee: string;
|
|
219
|
+
admin_fee: string;
|
|
220
|
+
adjustment: string;
|
|
221
|
+
auctane_service_fee: string;
|
|
222
|
+
product_price: string;
|
|
223
|
+
};
|
|
182
224
|
};
|
|
183
225
|
"purchase-label": {
|
|
184
226
|
title: string;
|
|
@@ -291,7 +333,10 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
291
333
|
today: string;
|
|
292
334
|
viewMap: string;
|
|
293
335
|
otherLocations: string;
|
|
294
|
-
|
|
336
|
+
noServicePointsForService: string;
|
|
337
|
+
error: string;
|
|
338
|
+
paperless: string;
|
|
339
|
+
localTimeDisclaimer: string;
|
|
295
340
|
};
|
|
296
341
|
shipToAddressFormFields: string;
|
|
297
342
|
sections: {
|
|
@@ -795,6 +840,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
795
840
|
gram: string;
|
|
796
841
|
kilogram: string;
|
|
797
842
|
};
|
|
843
|
+
ZnVuZGluZ19zb3VyY2VfaWQgbXVzdCBiZSBhbiBpbnRlZ2Vy: string;
|
|
798
844
|
T25seSByZXNpZGVudGlhbCBkZWxpdmVyeSBhZGRyZXNzZXMgYXJlIGFsbG93ZWQgZm9yIFVQUyBHcm91bmQgU2F2ZXIu: string;
|
|
799
845
|
"VGhlIHNlbGVjdGVkIHNlcnZpY2UgaW5jbHVkZXMgaW5zdXJhbmNlIGZvciBhbiBpbnN1cmVkIGFtb3VudCB1cCB0byAkMTAwLgo=": string;
|
|
800
846
|
"VGhlIHNlbGVjdGVkIHNlcnZpY2UgaW5jbHVkZXMgaW5zdXJhbmNlIGZvciBhbiBpbnN1cmVkIGFtb3VudCB1cCB0byAkNTAuCg==": string;
|