@shipengine/elements 2.4.0 → 2.5.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/actions-menu.js +1 -1
- package/components.js +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
- package/src/components/actions-menu/actions-menu.d.ts +2 -1
- package/src/components/error-state/error-state.d.ts +6 -0
- package/src/{workflows/onboarding/components/account-registration-step/account-registration-step.styles.d.ts → components/error-state/error-state.styles.d.ts} +9 -5
- package/src/components/error-state/index.d.ts +1 -0
- package/src/components/index.d.ts +1 -0
- package/src/components/templates/address-display/address-display.d.ts +2 -1
- package/src/components/templates/wallet-form/wallet-form.d.ts +1 -1
- package/src/components/warehouse-form/warehouse-form-schema.d.ts +4 -1
- package/src/components/warehouse-form/warehouse-form.d.ts +2 -1
- package/src/elements/label-layout/label-layout-element.d.ts +44 -15
- package/src/elements/labels-grid/hooks/use-labels-grid.d.ts +1 -0
- package/src/elements/labels-grid/labels-grid.d.ts +79 -44
- package/src/elements/labels-grid/labels-grid.styles.d.ts +7 -1
- package/src/elements/manage-carriers/manage-carriers.d.ts +44 -15
- package/src/elements/manage-external-carriers/manage-external-carriers.d.ts +66 -16
- package/src/elements/manage-funding/manage-funding-element.d.ts +44 -15
- package/src/elements/manage-warehouses/manage-warehouses.d.ts +44 -15
- package/src/elements/payment-method-settings/payment-method-settings-element.d.ts +44 -15
- package/src/elements/purchase-label/purchase-label.d.ts +54 -28
- package/src/elements/shipment-summary/shipment-summary.d.ts +51 -19
- package/src/elements/shipments-grid/hooks/use-shipments-grid.d.ts +161 -0
- package/src/elements/shipments-grid/shipments-grid.d.ts +128 -23
- package/src/elements/shipments-grid/shipments-grid.styles.d.ts +11 -0
- package/src/elements/theme-creator/theme-creator.d.ts +44 -15
- package/src/elements/transaction-history/transaction-history-element.d.ts +44 -15
- package/src/elements/unit-settings/unit-settings-element.d.ts +44 -15
- package/src/elements/vat-settings/vat-settings-element.d.ts +44 -15
- package/src/elements/void-label/void-label.d.ts +56 -26
- package/src/locales/en/index.d.ts +44 -15
- package/src/workflows/account-settings/account-settings.d.ts +44 -15
- package/src/workflows/carrier-services/carrier-services.d.ts +44 -15
- package/src/workflows/connect-external-carrier/connect-external-carrier.d.ts +44 -15
- package/src/workflows/label-workflow/label-workflow.d.ts +10 -29
- package/src/workflows/onboarding/components/confirmation-and-submission-step/confirmation-and-submission-step.d.ts +12 -0
- package/src/workflows/onboarding/components/confirmation-and-submission-step/index.d.ts +2 -0
- package/src/workflows/onboarding/components/confirmation-and-submission-step/use-confirmation-and-submission-step.d.ts +19 -0
- package/src/workflows/onboarding/components/funding-step/funding-step.d.ts +7 -0
- package/src/workflows/onboarding/components/funding-step/index.d.ts +1 -0
- package/src/workflows/onboarding/components/onboarding-wizard/onboarding-wizard.d.ts +1 -2
- package/src/workflows/onboarding/components/onboarding-wizard/onboarding-wizard.styles.d.ts +3 -0
- package/src/workflows/onboarding/components/ship-from-address-step/index.d.ts +0 -1
- package/src/workflows/onboarding/components/ship-from-address-step/ship-from-address-step.d.ts +3 -2
- package/src/workflows/onboarding/components/step-header/step-header.d.ts +3 -2
- package/src/workflows/onboarding/components/{funding-and-carrier-connection-step/funding-and-carrier-connection-step.styles.d.ts → step-header/step-header.styles.d.ts} +5 -8
- package/src/workflows/onboarding/components/welcome-page/index.d.ts +1 -0
- package/src/workflows/onboarding/components/welcome-page/welcome-page.d.ts +4 -0
- package/src/workflows/onboarding/onboarding.d.ts +46 -19
- package/suspend-text.js +1 -1
- package/transaction-history-element.js +1 -1
- package/use-unit-settings.js +1 -1
- package/usePager.js +1 -1
- package/wallet-form.js +1 -1
- package/workflows.js +1 -1
- package/src/workflows/onboarding/components/account-registration-form/account-registration-form-schema.d.ts +0 -13
- package/src/workflows/onboarding/components/account-registration-form/account-registration-form.d.ts +0 -4
- package/src/workflows/onboarding/components/account-registration-form/index.d.ts +0 -1
- package/src/workflows/onboarding/components/account-registration-step/account-registration-step.d.ts +0 -5
- package/src/workflows/onboarding/components/account-registration-step/index.d.ts +0 -2
- package/src/workflows/onboarding/components/account-registration-step/use-account-registration-step.d.ts +0 -7
- package/src/workflows/onboarding/components/funding-and-carrier-connection-step/funding-and-carrier-connection-step.d.ts +0 -9
- package/src/workflows/onboarding/components/funding-and-carrier-connection-step/index.d.ts +0 -2
- package/src/workflows/onboarding/components/funding-and-carrier-connection-step/use-funding-and-carrier-connection-step.d.ts +0 -25
- package/src/workflows/onboarding/components/ship-from-address-step/use-ship-from-address-step.d.ts +0 -9
|
@@ -306,7 +306,6 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
306
306
|
setup: {
|
|
307
307
|
title: string;
|
|
308
308
|
subtitle: string;
|
|
309
|
-
hiddenTermsSubtitle: string;
|
|
310
309
|
descriptionTitle: string;
|
|
311
310
|
description: string;
|
|
312
311
|
};
|
|
@@ -314,7 +313,6 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
314
313
|
title: string;
|
|
315
314
|
cardSubTitle: string;
|
|
316
315
|
addressSubTitle: string;
|
|
317
|
-
info: string;
|
|
318
316
|
};
|
|
319
317
|
vatSettings: {
|
|
320
318
|
title: string;
|
|
@@ -328,7 +326,6 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
328
326
|
title: string;
|
|
329
327
|
};
|
|
330
328
|
info: {
|
|
331
|
-
title: string;
|
|
332
329
|
description: string;
|
|
333
330
|
};
|
|
334
331
|
poBox: {
|
|
@@ -350,11 +347,6 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
350
347
|
billing: {
|
|
351
348
|
title: string;
|
|
352
349
|
subtitleCard: string;
|
|
353
|
-
/**
|
|
354
|
-
* `onAddressValidation` is an async/sync callback function that will be invoked on each Address
|
|
355
|
-
* validation request. For example, whenever you update the `Ship To Address` or
|
|
356
|
-
* `Ship From Address` for a given shipment.
|
|
357
|
-
*/
|
|
358
350
|
subtitleBilling: string;
|
|
359
351
|
};
|
|
360
352
|
};
|
|
@@ -538,18 +530,15 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
538
530
|
};
|
|
539
531
|
onboarding: {
|
|
540
532
|
title: string;
|
|
541
|
-
|
|
542
|
-
accountRegistration: {
|
|
543
|
-
action: string;
|
|
533
|
+
confirmation: {
|
|
544
534
|
title: string;
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
messageLine2: string;
|
|
535
|
+
warehouse: string;
|
|
536
|
+
billingAddress: string;
|
|
537
|
+
paymentMethod: string;
|
|
538
|
+
action: string;
|
|
550
539
|
};
|
|
551
540
|
stepLabel: {
|
|
552
|
-
|
|
541
|
+
confirmation: string;
|
|
553
542
|
termsAgreement: string;
|
|
554
543
|
shipFromAddress: string;
|
|
555
544
|
fundingAndCarrierConnection: string;
|
|
@@ -566,14 +555,7 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
566
555
|
};
|
|
567
556
|
};
|
|
568
557
|
success: {
|
|
569
|
-
title: string;
|
|
570
|
-
*`getPreferredRates is an async/sync optional callback function that will be invoked each time rates are caculated.
|
|
571
|
-
* This is an optional callback function that returns an array of ShipEngine rates. The rates from this response will
|
|
572
|
-
* be spliced into the normal get rates response the Elements makes internally. If a service code matches a service
|
|
573
|
-
* code on a rate returned from getPreferredRates, the rate returned from getPreferredRates will not be shown in the
|
|
574
|
-
* rate form. These preferred rates will be displayed with a set of UI enhancements that incude a dynamic cost savings
|
|
575
|
-
* flag and green checkmark when the rate is selected.
|
|
576
|
-
*/
|
|
558
|
+
title: string;
|
|
577
559
|
subtitle: string;
|
|
578
560
|
action: string;
|
|
579
561
|
};
|
|
@@ -594,6 +576,10 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
594
576
|
aHR0cHM6Ly93d3cucHVyb2xhdG9yLmNvbS9mci9tb2RhbGl0ZXMtZXQtY29uZGl0aW9ucy1kZS1zZXJ2aWNl: string;
|
|
595
577
|
aHR0cHM6Ly93d3cucHVyb2xhdG9yLmNvbS9lbi90ZXJtcy1hbmQtY29uZGl0aW9ucy1zZXJ2aWNl: string;
|
|
596
578
|
};
|
|
579
|
+
/**
|
|
580
|
+
* `onBeforeRateSave` is an async/sync callback function that will be invoked before each time a user
|
|
581
|
+
* saves a rate.
|
|
582
|
+
*/
|
|
597
583
|
termsAndAgreementTitles: {
|
|
598
584
|
"WW9kZWwgRGlyZWN0IC0gVGVybXMgYW5kIENvbmRpdGlvbnMgKOKAnFRlcm1z4oCdKQ==": string;
|
|
599
585
|
"RXZyaSBTZW5kIFRlcm1zICYgQ29uZGl0aW9ucw==": string;
|
|
@@ -603,6 +589,14 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
603
589
|
"UHVyb2xhdG9yIFRlcm1zIGFuZCBDb25kaXRpb25zIG9mIFNlcnZpY2U=": string;
|
|
604
590
|
UHVyb2xhdG9yIE1vZGFsaXTDqXMgZXQgY29uZGl0aW9ucyBkZSBzZXJ2aWNl: string;
|
|
605
591
|
};
|
|
592
|
+
tooltip: {
|
|
593
|
+
warehouse: string;
|
|
594
|
+
};
|
|
595
|
+
welcomePage: {
|
|
596
|
+
title: string;
|
|
597
|
+
message: string;
|
|
598
|
+
action: string;
|
|
599
|
+
};
|
|
606
600
|
};
|
|
607
601
|
"manage-warehouses": {
|
|
608
602
|
title: string;
|
|
@@ -711,18 +705,38 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
711
705
|
};
|
|
712
706
|
"list-shipments": {
|
|
713
707
|
title: string;
|
|
708
|
+
none: string;
|
|
714
709
|
headers: {
|
|
715
710
|
created: string;
|
|
716
|
-
|
|
711
|
+
modified: string;
|
|
712
|
+
shipping: string;
|
|
717
713
|
shipmentId: string;
|
|
718
|
-
|
|
719
|
-
|
|
714
|
+
parcels: string;
|
|
715
|
+
recipient: string;
|
|
716
|
+
status: string;
|
|
717
|
+
};
|
|
718
|
+
status: {
|
|
719
|
+
cancelled: string;
|
|
720
|
+
purchased: string;
|
|
721
|
+
readyToBuy: string;
|
|
722
|
+
processing: string;
|
|
720
723
|
};
|
|
721
724
|
actions: {
|
|
722
725
|
download: {
|
|
723
726
|
pdf: string;
|
|
724
727
|
};
|
|
725
728
|
};
|
|
729
|
+
emptyState: {
|
|
730
|
+
title: string;
|
|
731
|
+
subtitle: string;
|
|
732
|
+
filtersTitle: string;
|
|
733
|
+
filtersSubtitle: string;
|
|
734
|
+
viewAll: string;
|
|
735
|
+
};
|
|
736
|
+
errorMessages: {
|
|
737
|
+
title: string;
|
|
738
|
+
subtitle: string;
|
|
739
|
+
};
|
|
726
740
|
};
|
|
727
741
|
"list-labels": {
|
|
728
742
|
title: string;
|
|
@@ -756,6 +770,10 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
756
770
|
void: string;
|
|
757
771
|
printForms: string;
|
|
758
772
|
};
|
|
773
|
+
errorMessages: {
|
|
774
|
+
title: string;
|
|
775
|
+
subtitle: string;
|
|
776
|
+
};
|
|
759
777
|
};
|
|
760
778
|
"connect-carrier": {
|
|
761
779
|
actions: {
|
|
@@ -970,6 +988,7 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
970
988
|
emailIsRequired: string;
|
|
971
989
|
unknown: string;
|
|
972
990
|
noRatesAvailable: string;
|
|
991
|
+
refreshAndTryAgain: string;
|
|
973
992
|
};
|
|
974
993
|
errorTypes: {
|
|
975
994
|
accountStatus: string;
|
|
@@ -1063,6 +1082,11 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
1063
1082
|
invalidStateProvince: string;
|
|
1064
1083
|
invalidString: string;
|
|
1065
1084
|
nonnegative: string;
|
|
1085
|
+
/**
|
|
1086
|
+
* # Purchase Label Component Props
|
|
1087
|
+
*
|
|
1088
|
+
* @see {@link PurchaseLabel.Component | The **Common Props** used in the `<PurchaseLabel /> component`}
|
|
1089
|
+
*/
|
|
1066
1090
|
nonnegativeList: string;
|
|
1067
1091
|
positive: string;
|
|
1068
1092
|
positiveList: string;
|
|
@@ -1084,6 +1108,7 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
1084
1108
|
agreeToTerms: string;
|
|
1085
1109
|
carriersTitle: string;
|
|
1086
1110
|
fundingSourceTitle: string;
|
|
1111
|
+
shipEngineTitle: string;
|
|
1087
1112
|
};
|
|
1088
1113
|
weight: {
|
|
1089
1114
|
ounces: string;
|
|
@@ -1108,6 +1133,7 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
1108
1133
|
printForms: string;
|
|
1109
1134
|
edit: string;
|
|
1110
1135
|
remove: string;
|
|
1136
|
+
viewDetails: string;
|
|
1111
1137
|
};
|
|
1112
1138
|
};
|
|
1113
1139
|
ZnVuZGluZ19zb3VyY2VfaWQgbXVzdCBiZSBhbiBpbnRlZ2Vy: string;
|
|
@@ -206,7 +206,6 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
206
206
|
setup: {
|
|
207
207
|
title: string;
|
|
208
208
|
subtitle: string;
|
|
209
|
-
hiddenTermsSubtitle: string;
|
|
210
209
|
descriptionTitle: string;
|
|
211
210
|
description: string;
|
|
212
211
|
};
|
|
@@ -214,7 +213,6 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
214
213
|
title: string;
|
|
215
214
|
cardSubTitle: string;
|
|
216
215
|
addressSubTitle: string;
|
|
217
|
-
info: string;
|
|
218
216
|
};
|
|
219
217
|
vatSettings: {
|
|
220
218
|
title: string;
|
|
@@ -228,15 +226,10 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
228
226
|
title: string;
|
|
229
227
|
};
|
|
230
228
|
info: {
|
|
231
|
-
title: string;
|
|
232
229
|
description: string;
|
|
233
230
|
};
|
|
234
231
|
poBox: {
|
|
235
232
|
title: string;
|
|
236
|
-
/**
|
|
237
|
-
* `onClickVoidLabel` is a callback function that will be invoked when the user clicks the
|
|
238
|
-
* `Void Label` button.
|
|
239
|
-
*/
|
|
240
233
|
description: string;
|
|
241
234
|
};
|
|
242
235
|
carrier: {
|
|
@@ -435,18 +428,15 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
435
428
|
};
|
|
436
429
|
onboarding: {
|
|
437
430
|
title: string;
|
|
438
|
-
|
|
439
|
-
accountRegistration: {
|
|
440
|
-
action: string;
|
|
431
|
+
confirmation: {
|
|
441
432
|
title: string;
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
messageLine2: string;
|
|
433
|
+
warehouse: string;
|
|
434
|
+
billingAddress: string;
|
|
435
|
+
paymentMethod: string;
|
|
436
|
+
action: string;
|
|
447
437
|
};
|
|
448
438
|
stepLabel: {
|
|
449
|
-
|
|
439
|
+
confirmation: string;
|
|
450
440
|
termsAgreement: string;
|
|
451
441
|
shipFromAddress: string;
|
|
452
442
|
fundingAndCarrierConnection: string;
|
|
@@ -493,6 +483,14 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
493
483
|
"UHVyb2xhdG9yIFRlcm1zIGFuZCBDb25kaXRpb25zIG9mIFNlcnZpY2U=": string;
|
|
494
484
|
UHVyb2xhdG9yIE1vZGFsaXTDqXMgZXQgY29uZGl0aW9ucyBkZSBzZXJ2aWNl: string;
|
|
495
485
|
};
|
|
486
|
+
tooltip: {
|
|
487
|
+
warehouse: string;
|
|
488
|
+
};
|
|
489
|
+
welcomePage: {
|
|
490
|
+
title: string;
|
|
491
|
+
message: string;
|
|
492
|
+
action: string;
|
|
493
|
+
};
|
|
496
494
|
};
|
|
497
495
|
"manage-warehouses": {
|
|
498
496
|
title: string;
|
|
@@ -601,18 +599,45 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
601
599
|
};
|
|
602
600
|
"list-shipments": {
|
|
603
601
|
title: string;
|
|
602
|
+
none: string;
|
|
604
603
|
headers: {
|
|
605
604
|
created: string;
|
|
606
|
-
|
|
605
|
+
modified: string;
|
|
606
|
+
shipping: string;
|
|
607
607
|
shipmentId: string;
|
|
608
|
-
|
|
609
|
-
|
|
608
|
+
parcels: string;
|
|
609
|
+
recipient: string;
|
|
610
|
+
status: string;
|
|
611
|
+
};
|
|
612
|
+
status: {
|
|
613
|
+
cancelled: string;
|
|
614
|
+
purchased: string;
|
|
615
|
+
readyToBuy: string;
|
|
616
|
+
processing: string;
|
|
610
617
|
};
|
|
618
|
+
/**
|
|
619
|
+
* # Shipment Summary Component Props
|
|
620
|
+
*
|
|
621
|
+
* - These are the base props that will be passed into the `<ShipmentSummary />` component.
|
|
622
|
+
*
|
|
623
|
+
* @see {@link ShipmentSummary.Component | This prop types usage in the `<ShipmentSummary />` component}
|
|
624
|
+
*/
|
|
611
625
|
actions: {
|
|
612
626
|
download: {
|
|
613
627
|
pdf: string;
|
|
614
628
|
};
|
|
615
629
|
};
|
|
630
|
+
emptyState: {
|
|
631
|
+
title: string;
|
|
632
|
+
subtitle: string;
|
|
633
|
+
filtersTitle: string;
|
|
634
|
+
filtersSubtitle: string;
|
|
635
|
+
viewAll: string;
|
|
636
|
+
};
|
|
637
|
+
errorMessages: {
|
|
638
|
+
title: string;
|
|
639
|
+
subtitle: string;
|
|
640
|
+
};
|
|
616
641
|
};
|
|
617
642
|
"list-labels": {
|
|
618
643
|
title: string;
|
|
@@ -646,6 +671,10 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
646
671
|
void: string;
|
|
647
672
|
printForms: string;
|
|
648
673
|
};
|
|
674
|
+
errorMessages: {
|
|
675
|
+
title: string;
|
|
676
|
+
subtitle: string;
|
|
677
|
+
};
|
|
649
678
|
};
|
|
650
679
|
"connect-carrier": {
|
|
651
680
|
actions: {
|
|
@@ -848,6 +877,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
848
877
|
emailIsRequired: string;
|
|
849
878
|
unknown: string;
|
|
850
879
|
noRatesAvailable: string;
|
|
880
|
+
refreshAndTryAgain: string;
|
|
851
881
|
};
|
|
852
882
|
errorTypes: {
|
|
853
883
|
accountStatus: string;
|
|
@@ -962,6 +992,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
962
992
|
agreeToTerms: string;
|
|
963
993
|
carriersTitle: string;
|
|
964
994
|
fundingSourceTitle: string;
|
|
995
|
+
shipEngineTitle: string;
|
|
965
996
|
};
|
|
966
997
|
weight: {
|
|
967
998
|
ounces: string;
|
|
@@ -986,6 +1017,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
986
1017
|
printForms: string;
|
|
987
1018
|
edit: string;
|
|
988
1019
|
remove: string;
|
|
1020
|
+
viewDetails: string;
|
|
989
1021
|
};
|
|
990
1022
|
};
|
|
991
1023
|
ZnVuZGluZ19zb3VyY2VfaWQgbXVzdCBiZSBhbiBpbnRlZ2Vy: string;
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { SE } from "@shipengine/js-api";
|
|
3
|
+
import { IGridFilters } from "../../../components";
|
|
4
|
+
import { ShipmentsGridProps } from "../shipments-grid";
|
|
5
|
+
export declare const useShipmentsGrid: ({ shipmentStatus, showShipmentIdFilter, }: ShipmentsGridProps) => {
|
|
6
|
+
clearAllFilters: () => void;
|
|
7
|
+
filters: IGridFilters;
|
|
8
|
+
getGridData: () => {
|
|
9
|
+
serviceName: string | null | undefined;
|
|
10
|
+
addressValidation?: SE.AddressValidation | undefined;
|
|
11
|
+
advancedOptions?: {
|
|
12
|
+
additionalHandling?: boolean | undefined;
|
|
13
|
+
ancillaryEndorsementsOption?: string | undefined;
|
|
14
|
+
billToAccount?: string | undefined;
|
|
15
|
+
billToCountryCode?: string | undefined;
|
|
16
|
+
billToParty?: SE.BillToParties | undefined;
|
|
17
|
+
billToPostalCode?: string | undefined;
|
|
18
|
+
collectOnDelivery?: {
|
|
19
|
+
paymentAmount: SE.Money;
|
|
20
|
+
paymentType: SE.PaymentTypes;
|
|
21
|
+
} | undefined;
|
|
22
|
+
containsAlcohol?: boolean | undefined;
|
|
23
|
+
customField1?: string | undefined;
|
|
24
|
+
customField2?: string | undefined;
|
|
25
|
+
customField3?: string | undefined;
|
|
26
|
+
deliveredDutyPaid?: boolean | undefined;
|
|
27
|
+
dryIce?: boolean | undefined;
|
|
28
|
+
dryIceWeight?: SE.WeightWithUnit | undefined;
|
|
29
|
+
eventNotification?: boolean | undefined;
|
|
30
|
+
fedexFreight?: {
|
|
31
|
+
bookingConfirmation?: string | undefined;
|
|
32
|
+
shipperLoadAndCount?: string | undefined;
|
|
33
|
+
} | undefined;
|
|
34
|
+
freightClass?: string | undefined;
|
|
35
|
+
limitedQuantity?: boolean | undefined;
|
|
36
|
+
nonMachinable?: boolean | undefined;
|
|
37
|
+
originType?: SE.OriginTypes | undefined;
|
|
38
|
+
ownDocumentUpload?: boolean | undefined;
|
|
39
|
+
returnPickupAttempts?: number | undefined;
|
|
40
|
+
saturdayDelivery?: boolean | undefined;
|
|
41
|
+
shipperRelease?: boolean | undefined;
|
|
42
|
+
thirdPartyConsignee?: boolean | undefined;
|
|
43
|
+
useUpsGroundFreightPricing?: boolean | undefined;
|
|
44
|
+
} | undefined;
|
|
45
|
+
carrierId: string;
|
|
46
|
+
comparisonRateType?: string | undefined;
|
|
47
|
+
confirmation: SE.ConfirmationType;
|
|
48
|
+
createdAt: string;
|
|
49
|
+
customs?: SE.Customs | undefined;
|
|
50
|
+
externalOrderId?: string | undefined;
|
|
51
|
+
externalShipmentId?: string | undefined;
|
|
52
|
+
insuranceProvider: SE.InsuranceProviderType;
|
|
53
|
+
isReturn?: boolean | undefined;
|
|
54
|
+
items: SE.ShipmentItem[];
|
|
55
|
+
modifiedAt: string;
|
|
56
|
+
orderSourceCode: SE.OrderSourceCode | null;
|
|
57
|
+
originType?: SE.OriginTypes | undefined;
|
|
58
|
+
packages: SE.ShipmentPackage[];
|
|
59
|
+
returnTo: SE.Address | null;
|
|
60
|
+
serviceCode: string | null;
|
|
61
|
+
shipDate?: string | undefined;
|
|
62
|
+
shipFrom: SE.Address | null;
|
|
63
|
+
shipmentId: string;
|
|
64
|
+
shipmentNumber?: string | undefined;
|
|
65
|
+
shipmentStatus: SE.ShipmentStatus;
|
|
66
|
+
shippingRuleId?: string | undefined;
|
|
67
|
+
shipTo: SE.Address;
|
|
68
|
+
tags: {
|
|
69
|
+
name: string;
|
|
70
|
+
}[];
|
|
71
|
+
taxIdentifiers?: SE.TaxIdentifier[] | undefined;
|
|
72
|
+
totalWeight: SE.WeightWithUnit;
|
|
73
|
+
validateAddress?: SE.AddressValidationOptions | undefined;
|
|
74
|
+
warehouseId?: string | undefined;
|
|
75
|
+
}[];
|
|
76
|
+
isAnyFilterActive: boolean;
|
|
77
|
+
isError: boolean;
|
|
78
|
+
isLoading: boolean;
|
|
79
|
+
pageConfig: {
|
|
80
|
+
currentPage: number;
|
|
81
|
+
pagerProps: {
|
|
82
|
+
currentPage: number;
|
|
83
|
+
currentPageSize: number;
|
|
84
|
+
onPageSelect: (page: number) => void;
|
|
85
|
+
onPageSizeSelect: (pageSize: number) => void;
|
|
86
|
+
};
|
|
87
|
+
pagesAmount: number;
|
|
88
|
+
pageSize: number;
|
|
89
|
+
totalElements: number;
|
|
90
|
+
};
|
|
91
|
+
setFilters: import("react").Dispatch<import("react").SetStateAction<IGridFilters>>;
|
|
92
|
+
shipments: {
|
|
93
|
+
serviceName: string | null | undefined;
|
|
94
|
+
addressValidation?: SE.AddressValidation | undefined;
|
|
95
|
+
advancedOptions?: {
|
|
96
|
+
additionalHandling?: boolean | undefined;
|
|
97
|
+
ancillaryEndorsementsOption?: string | undefined;
|
|
98
|
+
billToAccount?: string | undefined;
|
|
99
|
+
billToCountryCode?: string | undefined;
|
|
100
|
+
billToParty?: SE.BillToParties | undefined;
|
|
101
|
+
billToPostalCode?: string | undefined;
|
|
102
|
+
collectOnDelivery?: {
|
|
103
|
+
paymentAmount: SE.Money;
|
|
104
|
+
paymentType: SE.PaymentTypes;
|
|
105
|
+
} | undefined;
|
|
106
|
+
containsAlcohol?: boolean | undefined;
|
|
107
|
+
customField1?: string | undefined;
|
|
108
|
+
customField2?: string | undefined;
|
|
109
|
+
customField3?: string | undefined;
|
|
110
|
+
deliveredDutyPaid?: boolean | undefined;
|
|
111
|
+
dryIce?: boolean | undefined;
|
|
112
|
+
dryIceWeight?: SE.WeightWithUnit | undefined;
|
|
113
|
+
eventNotification?: boolean | undefined;
|
|
114
|
+
fedexFreight?: {
|
|
115
|
+
bookingConfirmation?: string | undefined;
|
|
116
|
+
shipperLoadAndCount?: string | undefined;
|
|
117
|
+
} | undefined;
|
|
118
|
+
freightClass?: string | undefined;
|
|
119
|
+
limitedQuantity?: boolean | undefined;
|
|
120
|
+
nonMachinable?: boolean | undefined;
|
|
121
|
+
originType?: SE.OriginTypes | undefined;
|
|
122
|
+
ownDocumentUpload?: boolean | undefined;
|
|
123
|
+
returnPickupAttempts?: number | undefined;
|
|
124
|
+
saturdayDelivery?: boolean | undefined;
|
|
125
|
+
shipperRelease?: boolean | undefined;
|
|
126
|
+
thirdPartyConsignee?: boolean | undefined;
|
|
127
|
+
useUpsGroundFreightPricing?: boolean | undefined;
|
|
128
|
+
} | undefined;
|
|
129
|
+
carrierId: string;
|
|
130
|
+
comparisonRateType?: string | undefined;
|
|
131
|
+
confirmation: SE.ConfirmationType;
|
|
132
|
+
createdAt: string;
|
|
133
|
+
customs?: SE.Customs | undefined;
|
|
134
|
+
externalOrderId?: string | undefined;
|
|
135
|
+
externalShipmentId?: string | undefined;
|
|
136
|
+
insuranceProvider: SE.InsuranceProviderType;
|
|
137
|
+
isReturn?: boolean | undefined;
|
|
138
|
+
items: SE.ShipmentItem[];
|
|
139
|
+
modifiedAt: string;
|
|
140
|
+
orderSourceCode: SE.OrderSourceCode | null;
|
|
141
|
+
originType?: SE.OriginTypes | undefined;
|
|
142
|
+
packages: SE.ShipmentPackage[];
|
|
143
|
+
returnTo: SE.Address | null;
|
|
144
|
+
serviceCode: string | null;
|
|
145
|
+
shipDate?: string | undefined;
|
|
146
|
+
shipFrom: SE.Address | null;
|
|
147
|
+
shipmentId: string;
|
|
148
|
+
shipmentNumber?: string | undefined;
|
|
149
|
+
shipmentStatus: SE.ShipmentStatus;
|
|
150
|
+
shippingRuleId?: string | undefined;
|
|
151
|
+
shipTo: SE.Address;
|
|
152
|
+
tags: {
|
|
153
|
+
name: string;
|
|
154
|
+
}[];
|
|
155
|
+
taxIdentifiers?: SE.TaxIdentifier[] | undefined;
|
|
156
|
+
totalWeight: SE.WeightWithUnit;
|
|
157
|
+
validateAddress?: SE.AddressValidationOptions | undefined;
|
|
158
|
+
warehouseId?: string | undefined;
|
|
159
|
+
}[] | undefined;
|
|
160
|
+
shouldShowFilters: boolean;
|
|
161
|
+
};
|