@shipengine/elements 2.4.0 → 2.6.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.
Files changed (67) hide show
  1. package/actions-menu.js +1 -1
  2. package/components.js +1 -1
  3. package/index.js +1 -1
  4. package/package.json +1 -1
  5. package/src/components/actions-menu/actions-menu.d.ts +2 -1
  6. package/src/components/error-state/error-state.d.ts +6 -0
  7. package/src/{workflows/onboarding/components/account-registration-step/account-registration-step.styles.d.ts → components/error-state/error-state.styles.d.ts} +9 -5
  8. package/src/components/error-state/index.d.ts +1 -0
  9. package/src/components/index.d.ts +1 -0
  10. package/src/components/templates/address-display/address-display.d.ts +2 -1
  11. package/src/components/templates/wallet-form/wallet-form.d.ts +1 -1
  12. package/src/components/warehouse-form/warehouse-form-schema.d.ts +4 -1
  13. package/src/components/warehouse-form/warehouse-form.d.ts +2 -1
  14. package/src/elements/label-layout/label-layout-element.d.ts +44 -15
  15. package/src/elements/labels-grid/hooks/use-labels-grid.d.ts +2 -0
  16. package/src/elements/labels-grid/labels-grid.d.ts +79 -44
  17. package/src/elements/labels-grid/labels-grid.styles.d.ts +7 -1
  18. package/src/elements/manage-carriers/manage-carriers.d.ts +44 -15
  19. package/src/elements/manage-external-carriers/manage-external-carriers.d.ts +66 -16
  20. package/src/elements/manage-funding/manage-funding-element.d.ts +44 -15
  21. package/src/elements/manage-warehouses/manage-warehouses.d.ts +44 -15
  22. package/src/elements/payment-method-settings/payment-method-settings-element.d.ts +44 -15
  23. package/src/elements/purchase-label/purchase-label.d.ts +54 -28
  24. package/src/elements/shipment-summary/shipment-summary.d.ts +51 -19
  25. package/src/elements/shipments-grid/hooks/use-shipments-grid.d.ts +162 -0
  26. package/src/elements/shipments-grid/shipments-grid.d.ts +128 -23
  27. package/src/elements/shipments-grid/shipments-grid.styles.d.ts +11 -0
  28. package/src/elements/theme-creator/theme-creator.d.ts +44 -15
  29. package/src/elements/transaction-history/transaction-history-element.d.ts +44 -15
  30. package/src/elements/unit-settings/unit-settings-element.d.ts +44 -15
  31. package/src/elements/vat-settings/vat-settings-element.d.ts +44 -15
  32. package/src/elements/void-label/void-label.d.ts +56 -26
  33. package/src/locales/en/index.d.ts +44 -15
  34. package/src/workflows/account-settings/account-settings.d.ts +44 -15
  35. package/src/workflows/carrier-services/carrier-services.d.ts +44 -15
  36. package/src/workflows/connect-external-carrier/connect-external-carrier.d.ts +44 -15
  37. package/src/workflows/label-workflow/label-workflow.d.ts +31 -29
  38. package/src/workflows/onboarding/components/confirmation-and-submission-step/confirmation-and-submission-step.d.ts +12 -0
  39. package/src/workflows/onboarding/components/confirmation-and-submission-step/index.d.ts +2 -0
  40. package/src/workflows/onboarding/components/confirmation-and-submission-step/use-confirmation-and-submission-step.d.ts +19 -0
  41. package/src/workflows/onboarding/components/funding-step/funding-step.d.ts +7 -0
  42. package/src/workflows/onboarding/components/funding-step/index.d.ts +1 -0
  43. package/src/workflows/onboarding/components/onboarding-wizard/onboarding-wizard.d.ts +1 -2
  44. package/src/workflows/onboarding/components/onboarding-wizard/onboarding-wizard.styles.d.ts +3 -0
  45. package/src/workflows/onboarding/components/ship-from-address-step/index.d.ts +0 -1
  46. package/src/workflows/onboarding/components/ship-from-address-step/ship-from-address-step.d.ts +3 -2
  47. package/src/workflows/onboarding/components/step-header/step-header.d.ts +3 -2
  48. 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
  49. package/src/workflows/onboarding/components/welcome-page/index.d.ts +1 -0
  50. package/src/workflows/onboarding/components/welcome-page/welcome-page.d.ts +4 -0
  51. package/src/workflows/onboarding/onboarding.d.ts +46 -19
  52. package/suspend-text.js +1 -1
  53. package/transaction-history-element.js +1 -1
  54. package/use-unit-settings.js +1 -1
  55. package/usePager.js +1 -1
  56. package/wallet-form.js +1 -1
  57. package/workflows.js +1 -1
  58. package/src/workflows/onboarding/components/account-registration-form/account-registration-form-schema.d.ts +0 -13
  59. package/src/workflows/onboarding/components/account-registration-form/account-registration-form.d.ts +0 -4
  60. package/src/workflows/onboarding/components/account-registration-form/index.d.ts +0 -1
  61. package/src/workflows/onboarding/components/account-registration-step/account-registration-step.d.ts +0 -5
  62. package/src/workflows/onboarding/components/account-registration-step/index.d.ts +0 -2
  63. package/src/workflows/onboarding/components/account-registration-step/use-account-registration-step.d.ts +0 -7
  64. package/src/workflows/onboarding/components/funding-and-carrier-connection-step/funding-and-carrier-connection-step.d.ts +0 -9
  65. package/src/workflows/onboarding/components/funding-and-carrier-connection-step/index.d.ts +0 -2
  66. package/src/workflows/onboarding/components/funding-and-carrier-connection-step/use-funding-and-carrier-connection-step.d.ts +0 -25
  67. 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
- inlineTitle: string;
542
- accountRegistration: {
543
- action: string;
533
+ confirmation: {
544
534
  title: string;
545
- subtitle: string;
546
- welcome: string;
547
- messageLine1: string;
548
- partnerMessageLine1: string;
549
- messageLine2: string;
535
+ warehouse: string;
536
+ billingAddress: string;
537
+ paymentMethod: string;
538
+ action: string;
550
539
  };
551
540
  stepLabel: {
552
- accountRegistration: string;
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
- download: string;
711
+ modified: string;
712
+ shipping: string;
717
713
  shipmentId: string;
718
- shipDate: string;
719
- shipTo: string;
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
- inlineTitle: string;
439
- accountRegistration: {
440
- action: string;
431
+ confirmation: {
441
432
  title: string;
442
- subtitle: string;
443
- welcome: string;
444
- messageLine1: string;
445
- partnerMessageLine1: string;
446
- messageLine2: string;
433
+ warehouse: string;
434
+ billingAddress: string;
435
+ paymentMethod: string;
436
+ action: string;
447
437
  };
448
438
  stepLabel: {
449
- accountRegistration: string;
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
- download: string;
605
+ modified: string;
606
+ shipping: string;
607
607
  shipmentId: string;
608
- shipDate: string;
609
- shipTo: string;
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,162 @@
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
+ showPagination: boolean;
90
+ totalElements: number;
91
+ };
92
+ setFilters: import("react").Dispatch<import("react").SetStateAction<IGridFilters>>;
93
+ shipments: {
94
+ serviceName: string | null | undefined;
95
+ addressValidation?: SE.AddressValidation | undefined;
96
+ advancedOptions?: {
97
+ additionalHandling?: boolean | undefined;
98
+ ancillaryEndorsementsOption?: string | undefined;
99
+ billToAccount?: string | undefined;
100
+ billToCountryCode?: string | undefined;
101
+ billToParty?: SE.BillToParties | undefined;
102
+ billToPostalCode?: string | undefined;
103
+ collectOnDelivery?: {
104
+ paymentAmount: SE.Money;
105
+ paymentType: SE.PaymentTypes;
106
+ } | undefined;
107
+ containsAlcohol?: boolean | undefined;
108
+ customField1?: string | undefined;
109
+ customField2?: string | undefined;
110
+ customField3?: string | undefined;
111
+ deliveredDutyPaid?: boolean | undefined;
112
+ dryIce?: boolean | undefined;
113
+ dryIceWeight?: SE.WeightWithUnit | undefined;
114
+ eventNotification?: boolean | undefined;
115
+ fedexFreight?: {
116
+ bookingConfirmation?: string | undefined;
117
+ shipperLoadAndCount?: string | undefined;
118
+ } | undefined;
119
+ freightClass?: string | undefined;
120
+ limitedQuantity?: boolean | undefined;
121
+ nonMachinable?: boolean | undefined;
122
+ originType?: SE.OriginTypes | undefined;
123
+ ownDocumentUpload?: boolean | undefined;
124
+ returnPickupAttempts?: number | undefined;
125
+ saturdayDelivery?: boolean | undefined;
126
+ shipperRelease?: boolean | undefined;
127
+ thirdPartyConsignee?: boolean | undefined;
128
+ useUpsGroundFreightPricing?: boolean | undefined;
129
+ } | undefined;
130
+ carrierId: string;
131
+ comparisonRateType?: string | undefined;
132
+ confirmation: SE.ConfirmationType;
133
+ createdAt: string;
134
+ customs?: SE.Customs | undefined;
135
+ externalOrderId?: string | undefined;
136
+ externalShipmentId?: string | undefined;
137
+ insuranceProvider: SE.InsuranceProviderType;
138
+ isReturn?: boolean | undefined;
139
+ items: SE.ShipmentItem[];
140
+ modifiedAt: string;
141
+ orderSourceCode: SE.OrderSourceCode | null;
142
+ originType?: SE.OriginTypes | undefined;
143
+ packages: SE.ShipmentPackage[];
144
+ returnTo: SE.Address | null;
145
+ serviceCode: string | null;
146
+ shipDate?: string | undefined;
147
+ shipFrom: SE.Address | null;
148
+ shipmentId: string;
149
+ shipmentNumber?: string | undefined;
150
+ shipmentStatus: SE.ShipmentStatus;
151
+ shippingRuleId?: string | undefined;
152
+ shipTo: SE.Address;
153
+ tags: {
154
+ name: string;
155
+ }[];
156
+ taxIdentifiers?: SE.TaxIdentifier[] | undefined;
157
+ totalWeight: SE.WeightWithUnit;
158
+ validateAddress?: SE.AddressValidationOptions | undefined;
159
+ warehouseId?: string | undefined;
160
+ }[] | undefined;
161
+ shouldShowFilters: boolean;
162
+ };