@shipengine/elements 1.5.0 → 1.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 (127) hide show
  1. package/index.cjs +13000 -12540
  2. package/index.js +13018 -12569
  3. package/package.json +5 -7
  4. package/src/components/address-preference-context/address-preference-context.d.ts +2 -1
  5. package/src/components/auto-funding-form/auto-funding-form.styles.d.ts +4 -8
  6. package/src/components/date-range-select/date-range-select.d.ts +1 -2
  7. package/src/components/field/create-field-controller.d.ts +2 -1
  8. package/src/components/field/date-picker/date-picker.d.ts +2 -6
  9. package/src/components/field/rate-card/rate-card.d.ts +3 -1
  10. package/src/components/field/rate-card/rate-card.styles.d.ts +1 -0
  11. package/src/components/field-label/field-label.d.ts +2 -1
  12. package/src/components/history/history-card/history-card.d.ts +5 -2
  13. package/src/components/index.d.ts +5 -2
  14. package/src/components/service-point-display/service-point-display.d.ts +1 -1
  15. package/src/components/service-point-display/service-point-display.styles.d.ts +8 -0
  16. package/src/components/templates/address-display/address-display.d.ts +2 -1
  17. package/src/components/templates/connected-carrier-list/connected-carrier-row/connected-carrier-row.styles.d.ts +17 -0
  18. package/src/components/templates/index.d.ts +1 -4
  19. package/src/components/templates/label/label.styles.d.ts +0 -6
  20. package/src/components/templates/product-form/product-form-schema.d.ts +0 -12
  21. package/src/components/templates/pudo-rate-tabs/pudo-rate-tabs.d.ts +6 -1
  22. package/src/components/templates/rate-form/rate-form.d.ts +2 -1
  23. package/src/components/templates/rate-form/rate-form.styles.d.ts +2 -4
  24. package/src/components/templates/shipment-form/shipment-schema.d.ts +0 -50
  25. package/src/components/{templates/warehouse-form → warehouse-form}/warehouse-form.d.ts +1 -1
  26. package/src/elements/external-carriers/external-carriers.d.ts +817 -9
  27. package/src/elements/index.d.ts +7 -2
  28. package/src/elements/label-layout/index.d.ts +1 -0
  29. package/src/elements/label-layout/label-layout-element.d.ts +785 -0
  30. package/src/elements/labels-grid/labels-grid.d.ts +9 -1
  31. package/src/elements/list-carriers/list-carriers.d.ts +810 -1
  32. package/src/elements/manage-funding/index.d.ts +1 -0
  33. package/src/elements/manage-funding/manage-funding-element.d.ts +785 -0
  34. package/src/elements/manage-warehouses/manage-warehouses.d.ts +805 -1
  35. package/src/elements/payment-method-settings/index.d.ts +1 -0
  36. package/src/elements/payment-method-settings/payment-method-settings-element.d.ts +785 -0
  37. package/src/elements/{configure-shipment → purchase-label}/configure-shipment.d.ts +1 -12
  38. package/src/elements/purchase-label/hooks/index.d.ts +8 -0
  39. package/src/elements/purchase-label/hooks/use-configure-shipment.d.ts +1 -1
  40. package/src/elements/{configure-shipment → purchase-label}/hooks/use-rates-form.d.ts +1 -1
  41. package/src/elements/{configure-shipment → purchase-label}/hooks/use-rates-with-cache.d.ts +1 -1
  42. package/src/elements/{configure-shipment → purchase-label}/hooks/use-request-preferred-rates.d.ts +1 -1
  43. package/src/elements/{configure-shipment → purchase-label}/hooks/use-request-rates.d.ts +2 -1
  44. package/src/elements/purchase-label/purchase-label.d.ts +29 -49
  45. package/src/elements/shipments-grid/shipments-grid.d.ts +9 -1
  46. package/src/elements/theme-creator/theme-creator.d.ts +9 -1
  47. package/src/elements/unit-settings/index.d.ts +1 -0
  48. package/src/elements/unit-settings/unit-settings-element.d.ts +785 -0
  49. package/src/elements/view-shipment/view-shipment.d.ts +12 -2
  50. package/src/elements/void-label/void-label.d.ts +9 -1
  51. package/src/elements/wallet-history/index.d.ts +1 -0
  52. package/src/elements/wallet-history/wallet-history-element.d.ts +785 -0
  53. package/src/features/external-carriers/external-carriers.d.ts +10 -0
  54. package/src/features/external-carriers/index.d.ts +1 -0
  55. package/src/features/index.d.ts +7 -0
  56. package/src/features/label-layout/index.d.ts +2 -0
  57. package/src/features/label-layout/label-layout.d.ts +2 -0
  58. package/src/features/label-layout/use-label-layout.d.ts +7 -0
  59. package/src/features/list-carriers/hooks/index.d.ts +2 -0
  60. package/src/{hooks → features/list-carriers/hooks}/use-carrier-metadata.d.ts +1 -1
  61. package/src/{components/templates → features/list-carriers}/list-carriers-row/list-carriers-row.d.ts +2 -2
  62. package/src/features/list-carriers/list-carriers.d.ts +9 -0
  63. package/src/features/manage-funding/manage-funding.d.ts +16 -0
  64. package/src/features/manage-warehouses/manage-warehouses.d.ts +1 -0
  65. package/src/{components → features}/unit-settings/unit-settings.d.ts +0 -5
  66. package/src/features/wallet-history/wallet-history.styles.d.ts +10 -10
  67. package/src/hooks/index.d.ts +0 -1
  68. package/src/hooks/options/use-rate-options.d.ts +1 -1
  69. package/src/locales/en/index.d.ts +9 -1
  70. package/src/types/index.d.ts +1 -0
  71. package/src/types/preferred-rates.d.ts +13 -0
  72. package/src/utilities/date.d.ts +2 -1
  73. package/src/utilities/feature-flags.d.ts +1 -1
  74. package/src/utilities/index.d.ts +1 -0
  75. package/src/utilities/tracking-status-formatter.d.ts +1 -0
  76. package/src/{elements → workflows}/account-settings/account-settings.d.ts +14 -50
  77. package/src/workflows/account-settings/use-get-panel-props.d.ts +4 -0
  78. package/src/{elements → workflows}/connect-carrier/connect-carrier.d.ts +9 -1
  79. package/src/workflows/index.d.ts +3 -0
  80. package/src/workflows/onboarding/components/onboarding-wizard/onboarding-wizard.d.ts +1 -1
  81. package/src/workflows/onboarding/components/ship-from-address-step/ship-from-address-step.d.ts +1 -1
  82. package/src/workflows/onboarding/components/ship-from-address-step/use-ship-from-address-step.d.ts +1 -1
  83. package/src/workflows/onboarding/onboarding.d.ts +10 -2
  84. package/src/workflows/purchase-label-workflow/index.d.ts +1 -0
  85. package/src/{elements/shipengine-workflow/label-workflow.d.ts → workflows/purchase-label-workflow/purchase-label-workflow.d.ts} +19 -21
  86. package/src/components/date-range-select/date-range-select.styles.d.ts +0 -7
  87. package/src/components/field/date-picker/date-picker.styles.d.ts +0 -3
  88. package/src/components/label-layout/index.d.ts +0 -3
  89. package/src/components/label-layout/label-layout-purchase.d.ts +0 -5
  90. package/src/components/label-layout/label-layout-settings.d.ts +0 -7
  91. package/src/components/label-layout/label-layout.d.ts +0 -9
  92. package/src/components/manage-funding/manage-funding.d.ts +0 -35
  93. package/src/components/templates/account-settings/account-settings.d.ts +0 -10
  94. package/src/components/templates/account-settings/index.d.ts +0 -1
  95. package/src/components/templates/list-carriers/list-carriers.d.ts +0 -16
  96. package/src/components/templates/manage-warehouses/manage-warehouses.d.ts +0 -11
  97. package/src/elements/configure-shipment/hooks/index.d.ts +0 -8
  98. package/src/elements/configure-shipment/index.d.ts +0 -1
  99. package/src/elements/shipengine-workflow/index.d.ts +0 -1
  100. /package/src/components/{templates/edit-billing-form → edit-billing-form}/edit-billing-form.d.ts +0 -0
  101. /package/src/components/{templates/edit-billing-form → edit-billing-form}/edit-billing-form.styles.d.ts +0 -0
  102. /package/src/components/{templates/edit-billing-form → edit-billing-form}/index.d.ts +0 -0
  103. /package/src/components/{templates/wallet-card → wallet-card}/index.d.ts +0 -0
  104. /package/src/components/{templates/wallet-card → wallet-card}/wallet-card.d.ts +0 -0
  105. /package/src/components/{templates/wallet-card → wallet-card}/wallet-card.styles.d.ts +0 -0
  106. /package/src/components/{templates/warehouse-form → warehouse-form}/index.d.ts +0 -0
  107. /package/src/components/{templates/warehouse-form → warehouse-form}/warehouse-form-schema.d.ts +0 -0
  108. /package/src/elements/{configure-shipment → purchase-label}/hooks/use-address.d.ts +0 -0
  109. /package/src/elements/{configure-shipment → purchase-label}/hooks/use-customs.d.ts +0 -0
  110. /package/src/elements/{configure-shipment → purchase-label}/hooks/use-presets.d.ts +0 -0
  111. /package/src/elements/{configure-shipment → purchase-label}/hooks/use-shipment-form.d.ts +0 -0
  112. /package/src/{components → features}/label-layout/label-layout.styles.d.ts +0 -0
  113. /package/src/{elements → features}/list-carriers/hooks/use-list-connected-carriers.d.ts +0 -0
  114. /package/src/{components/templates → features}/list-carriers/index.d.ts +0 -0
  115. /package/src/{components/templates → features/list-carriers}/list-carriers-row/index.d.ts +0 -0
  116. /package/src/{components/templates → features/list-carriers}/list-carriers-row/list-carriers-row.styles.d.ts +0 -0
  117. /package/src/{components/templates → features}/list-carriers/list-carriers.styles.d.ts +0 -0
  118. /package/src/{components → features}/manage-funding/index.d.ts +0 -0
  119. /package/src/{components/templates → features}/manage-warehouses/index.d.ts +0 -0
  120. /package/src/{components/templates → features}/manage-warehouses/manage-warehouse.styles.d.ts +0 -0
  121. /package/src/{components/templates → features/manage-warehouses}/warehouse-display/index.d.ts +0 -0
  122. /package/src/{components/templates → features/manage-warehouses}/warehouse-display/warehouse-display.d.ts +0 -0
  123. /package/src/{components → features}/payment-method-settings/index.d.ts +0 -0
  124. /package/src/{components → features}/payment-method-settings/payment-method-settings.d.ts +0 -0
  125. /package/src/{components → features}/unit-settings/index.d.ts +0 -0
  126. /package/src/{elements → workflows}/account-settings/index.d.ts +0 -0
  127. /package/src/{elements → workflows}/connect-carrier/index.d.ts +0 -0
@@ -100,7 +100,6 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
100
100
  countryOfOrigin: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
101
101
  description: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
102
102
  harmonizedTariffCode: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
103
- productId: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
104
103
  quantity: z.ZodNumber;
105
104
  value: z.ZodObject<{
106
105
  amount: z.ZodNumber;
@@ -116,7 +115,6 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
116
115
  countryOfOrigin?: string | undefined;
117
116
  description?: string | undefined;
118
117
  harmonizedTariffCode?: string | undefined;
119
- productId?: string | undefined;
120
118
  value: {
121
119
  amount: number;
122
120
  currency: SE.Currency;
@@ -126,7 +124,6 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
126
124
  countryOfOrigin?: string | null | undefined;
127
125
  description?: string | null | undefined;
128
126
  harmonizedTariffCode?: string | null | undefined;
129
- productId?: string | null | undefined;
130
127
  value: {
131
128
  amount: number;
132
129
  currency: SE.Currency;
@@ -136,7 +133,6 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
136
133
  countryOfOrigin: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
137
134
  description: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
138
135
  harmonizedTariffCode: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
139
- productId: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
140
136
  quantity: z.ZodNumber;
141
137
  value: z.ZodObject<{
142
138
  amount: z.ZodNumber;
@@ -152,7 +148,6 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
152
148
  countryOfOrigin?: string | undefined;
153
149
  description?: string | undefined;
154
150
  harmonizedTariffCode?: string | undefined;
155
- productId?: string | undefined;
156
151
  value: {
157
152
  amount: number;
158
153
  currency: SE.Currency;
@@ -162,7 +157,6 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
162
157
  countryOfOrigin?: string | null | undefined;
163
158
  description?: string | null | undefined;
164
159
  harmonizedTariffCode?: string | null | undefined;
165
- productId?: string | null | undefined;
166
160
  value: {
167
161
  amount: number;
168
162
  currency: SE.Currency;
@@ -231,7 +225,6 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
231
225
  countryOfOrigin?: string | undefined;
232
226
  description?: string | undefined;
233
227
  harmonizedTariffCode?: string | undefined;
234
- productId?: string | undefined;
235
228
  value: {
236
229
  amount: number;
237
230
  currency: SE.Currency;
@@ -241,7 +234,6 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
241
234
  countryOfOrigin?: string | undefined;
242
235
  description?: string | undefined;
243
236
  harmonizedTariffCode?: string | undefined;
244
- productId?: string | undefined;
245
237
  value: {
246
238
  amount: number;
247
239
  currency: SE.Currency;
@@ -272,7 +264,6 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
272
264
  countryOfOrigin?: string | null | undefined;
273
265
  description?: string | null | undefined;
274
266
  harmonizedTariffCode?: string | null | undefined;
275
- productId?: string | null | undefined;
276
267
  value: {
277
268
  amount: number;
278
269
  currency: SE.Currency;
@@ -282,7 +273,6 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
282
273
  countryOfOrigin?: string | null | undefined;
283
274
  description?: string | null | undefined;
284
275
  harmonizedTariffCode?: string | null | undefined;
285
- productId?: string | null | undefined;
286
276
  value: {
287
277
  amount: number;
288
278
  currency: SE.Currency;
@@ -354,7 +344,6 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
354
344
  countryOfOrigin?: string | undefined;
355
345
  description?: string | undefined;
356
346
  harmonizedTariffCode?: string | undefined;
357
- productId?: string | undefined;
358
347
  value: {
359
348
  amount: number;
360
349
  currency: SE.Currency;
@@ -364,7 +353,6 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
364
353
  countryOfOrigin?: string | undefined;
365
354
  description?: string | undefined;
366
355
  harmonizedTariffCode?: string | undefined;
367
- productId?: string | undefined;
368
356
  value: {
369
357
  amount: number;
370
358
  currency: SE.Currency;
@@ -415,7 +403,6 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
415
403
  countryOfOrigin?: string | null | undefined;
416
404
  description?: string | null | undefined;
417
405
  harmonizedTariffCode?: string | null | undefined;
418
- productId?: string | null | undefined;
419
406
  value: {
420
407
  amount: number;
421
408
  currency: SE.Currency;
@@ -425,7 +412,6 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
425
412
  countryOfOrigin?: string | null | undefined;
426
413
  description?: string | null | undefined;
427
414
  harmonizedTariffCode?: string | null | undefined;
428
- productId?: string | null | undefined;
429
415
  value: {
430
416
  amount: number;
431
417
  currency: SE.Currency;
@@ -538,7 +524,6 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
538
524
  countryOfOrigin: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
539
525
  description: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
540
526
  harmonizedTariffCode: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
541
- productId: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
542
527
  quantity: z.ZodNumber;
543
528
  value: z.ZodObject<{
544
529
  amount: z.ZodNumber;
@@ -554,7 +539,6 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
554
539
  countryOfOrigin?: string | undefined;
555
540
  description?: string | undefined;
556
541
  harmonizedTariffCode?: string | undefined;
557
- productId?: string | undefined;
558
542
  value: {
559
543
  amount: number;
560
544
  currency: SE.Currency;
@@ -564,7 +548,6 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
564
548
  countryOfOrigin?: string | null | undefined;
565
549
  description?: string | null | undefined;
566
550
  harmonizedTariffCode?: string | null | undefined;
567
- productId?: string | null | undefined;
568
551
  value: {
569
552
  amount: number;
570
553
  currency: SE.Currency;
@@ -574,7 +557,6 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
574
557
  countryOfOrigin: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
575
558
  description: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
576
559
  harmonizedTariffCode: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
577
- productId: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
578
560
  quantity: z.ZodNumber;
579
561
  value: z.ZodObject<{
580
562
  amount: z.ZodNumber;
@@ -590,7 +572,6 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
590
572
  countryOfOrigin?: string | undefined;
591
573
  description?: string | undefined;
592
574
  harmonizedTariffCode?: string | undefined;
593
- productId?: string | undefined;
594
575
  value: {
595
576
  amount: number;
596
577
  currency: SE.Currency;
@@ -600,7 +581,6 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
600
581
  countryOfOrigin?: string | null | undefined;
601
582
  description?: string | null | undefined;
602
583
  harmonizedTariffCode?: string | null | undefined;
603
- productId?: string | null | undefined;
604
584
  value: {
605
585
  amount: number;
606
586
  currency: SE.Currency;
@@ -669,7 +649,6 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
669
649
  countryOfOrigin?: string | undefined;
670
650
  description?: string | undefined;
671
651
  harmonizedTariffCode?: string | undefined;
672
- productId?: string | undefined;
673
652
  value: {
674
653
  amount: number;
675
654
  currency: SE.Currency;
@@ -679,7 +658,6 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
679
658
  countryOfOrigin?: string | undefined;
680
659
  description?: string | undefined;
681
660
  harmonizedTariffCode?: string | undefined;
682
- productId?: string | undefined;
683
661
  value: {
684
662
  amount: number;
685
663
  currency: SE.Currency;
@@ -710,7 +688,6 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
710
688
  countryOfOrigin?: string | null | undefined;
711
689
  description?: string | null | undefined;
712
690
  harmonizedTariffCode?: string | null | undefined;
713
- productId?: string | null | undefined;
714
691
  value: {
715
692
  amount: number;
716
693
  currency: SE.Currency;
@@ -720,7 +697,6 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
720
697
  countryOfOrigin?: string | null | undefined;
721
698
  description?: string | null | undefined;
722
699
  harmonizedTariffCode?: string | null | undefined;
723
- productId?: string | null | undefined;
724
700
  value: {
725
701
  amount: number;
726
702
  currency: SE.Currency;
@@ -825,7 +801,6 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
825
801
  countryOfOrigin: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
826
802
  description: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
827
803
  harmonizedTariffCode: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
828
- productId: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
829
804
  quantity: z.ZodNumber;
830
805
  value: z.ZodObject<{
831
806
  amount: z.ZodNumber;
@@ -841,7 +816,6 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
841
816
  countryOfOrigin?: string | undefined;
842
817
  description?: string | undefined;
843
818
  harmonizedTariffCode?: string | undefined;
844
- productId?: string | undefined;
845
819
  value: {
846
820
  amount: number;
847
821
  currency: SE.Currency;
@@ -851,7 +825,6 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
851
825
  countryOfOrigin?: string | null | undefined;
852
826
  description?: string | null | undefined;
853
827
  harmonizedTariffCode?: string | null | undefined;
854
- productId?: string | null | undefined;
855
828
  value: {
856
829
  amount: number;
857
830
  currency: SE.Currency;
@@ -861,7 +834,6 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
861
834
  countryOfOrigin: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
862
835
  description: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
863
836
  harmonizedTariffCode: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
864
- productId: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
865
837
  quantity: z.ZodNumber;
866
838
  value: z.ZodObject<{
867
839
  amount: z.ZodNumber;
@@ -877,7 +849,6 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
877
849
  countryOfOrigin?: string | undefined;
878
850
  description?: string | undefined;
879
851
  harmonizedTariffCode?: string | undefined;
880
- productId?: string | undefined;
881
852
  value: {
882
853
  amount: number;
883
854
  currency: SE.Currency;
@@ -887,7 +858,6 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
887
858
  countryOfOrigin?: string | null | undefined;
888
859
  description?: string | null | undefined;
889
860
  harmonizedTariffCode?: string | null | undefined;
890
- productId?: string | null | undefined;
891
861
  value: {
892
862
  amount: number;
893
863
  currency: SE.Currency;
@@ -992,7 +962,6 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
992
962
  countryOfOrigin?: string | undefined;
993
963
  description?: string | undefined;
994
964
  harmonizedTariffCode?: string | undefined;
995
- productId?: string | undefined;
996
965
  value: {
997
966
  amount: number;
998
967
  currency: SE.Currency;
@@ -1002,7 +971,6 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
1002
971
  countryOfOrigin?: string | undefined;
1003
972
  description?: string | undefined;
1004
973
  harmonizedTariffCode?: string | undefined;
1005
- productId?: string | undefined;
1006
974
  value: {
1007
975
  amount: number;
1008
976
  currency: SE.Currency;
@@ -1029,7 +997,6 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
1029
997
  countryOfOrigin?: string | null | undefined;
1030
998
  description?: string | null | undefined;
1031
999
  harmonizedTariffCode?: string | null | undefined;
1032
- productId?: string | null | undefined;
1033
1000
  value: {
1034
1001
  amount: number;
1035
1002
  currency: SE.Currency;
@@ -1039,7 +1006,6 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
1039
1006
  countryOfOrigin?: string | null | undefined;
1040
1007
  description?: string | null | undefined;
1041
1008
  harmonizedTariffCode?: string | null | undefined;
1042
- productId?: string | null | undefined;
1043
1009
  value: {
1044
1010
  amount: number;
1045
1011
  currency: SE.Currency;
@@ -1102,7 +1068,6 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
1102
1068
  countryOfOrigin?: string | undefined;
1103
1069
  description?: string | undefined;
1104
1070
  harmonizedTariffCode?: string | undefined;
1105
- productId?: string | undefined;
1106
1071
  value: {
1107
1072
  amount: number;
1108
1073
  currency: SE.Currency;
@@ -1112,7 +1077,6 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
1112
1077
  countryOfOrigin?: string | undefined;
1113
1078
  description?: string | undefined;
1114
1079
  harmonizedTariffCode?: string | undefined;
1115
- productId?: string | undefined;
1116
1080
  value: {
1117
1081
  amount: number;
1118
1082
  currency: SE.Currency;
@@ -1159,7 +1123,6 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
1159
1123
  countryOfOrigin?: string | null | undefined;
1160
1124
  description?: string | null | undefined;
1161
1125
  harmonizedTariffCode?: string | null | undefined;
1162
- productId?: string | null | undefined;
1163
1126
  value: {
1164
1127
  amount: number;
1165
1128
  currency: SE.Currency;
@@ -1169,7 +1132,6 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
1169
1132
  countryOfOrigin?: string | null | undefined;
1170
1133
  description?: string | null | undefined;
1171
1134
  harmonizedTariffCode?: string | null | undefined;
1172
- productId?: string | null | undefined;
1173
1135
  value: {
1174
1136
  amount: number;
1175
1137
  currency: SE.Currency;
@@ -1205,7 +1167,6 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
1205
1167
  countryOfOrigin?: string | undefined;
1206
1168
  description?: string | undefined;
1207
1169
  harmonizedTariffCode?: string | undefined;
1208
- productId?: string | undefined;
1209
1170
  value: {
1210
1171
  amount: number;
1211
1172
  currency: SE.Currency;
@@ -1238,7 +1199,6 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
1238
1199
  countryOfOrigin?: string | undefined;
1239
1200
  description?: string | undefined;
1240
1201
  harmonizedTariffCode?: string | undefined;
1241
- productId?: string | undefined;
1242
1202
  value: {
1243
1203
  amount: number;
1244
1204
  currency: SE.Currency;
@@ -1260,7 +1220,6 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
1260
1220
  countryOfOrigin?: string | undefined;
1261
1221
  description?: string | undefined;
1262
1222
  harmonizedTariffCode?: string | undefined;
1263
- productId?: string | undefined;
1264
1223
  value: {
1265
1224
  amount: number;
1266
1225
  currency: SE.Currency;
@@ -1293,7 +1252,6 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
1293
1252
  countryOfOrigin?: string | undefined;
1294
1253
  description?: string | undefined;
1295
1254
  harmonizedTariffCode?: string | undefined;
1296
- productId?: string | undefined;
1297
1255
  value: {
1298
1256
  amount: number;
1299
1257
  currency: SE.Currency;
@@ -1332,7 +1290,6 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
1332
1290
  countryOfOrigin?: string | undefined;
1333
1291
  description?: string | undefined;
1334
1292
  harmonizedTariffCode?: string | undefined;
1335
- productId?: string | undefined;
1336
1293
  value: {
1337
1294
  amount: number;
1338
1295
  currency: SE.Currency;
@@ -1365,7 +1322,6 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
1365
1322
  countryOfOrigin?: string | undefined;
1366
1323
  description?: string | undefined;
1367
1324
  harmonizedTariffCode?: string | undefined;
1368
- productId?: string | undefined;
1369
1325
  value: {
1370
1326
  amount: number;
1371
1327
  currency: SE.Currency;
@@ -1387,7 +1343,6 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
1387
1343
  countryOfOrigin?: string | undefined;
1388
1344
  description?: string | undefined;
1389
1345
  harmonizedTariffCode?: string | undefined;
1390
- productId?: string | undefined;
1391
1346
  value: {
1392
1347
  amount: number;
1393
1348
  currency: SE.Currency;
@@ -1420,7 +1375,6 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
1420
1375
  countryOfOrigin?: string | undefined;
1421
1376
  description?: string | undefined;
1422
1377
  harmonizedTariffCode?: string | undefined;
1423
- productId?: string | undefined;
1424
1378
  value: {
1425
1379
  amount: number;
1426
1380
  currency: SE.Currency;
@@ -1484,7 +1438,6 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
1484
1438
  countryOfOrigin?: string | null | undefined;
1485
1439
  description?: string | null | undefined;
1486
1440
  harmonizedTariffCode?: string | null | undefined;
1487
- productId?: string | null | undefined;
1488
1441
  value: {
1489
1442
  amount: number;
1490
1443
  currency: SE.Currency;
@@ -1494,7 +1447,6 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
1494
1447
  countryOfOrigin?: string | null | undefined;
1495
1448
  description?: string | null | undefined;
1496
1449
  harmonizedTariffCode?: string | null | undefined;
1497
- productId?: string | null | undefined;
1498
1450
  value: {
1499
1451
  amount: number;
1500
1452
  currency: SE.Currency;
@@ -1543,7 +1495,6 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
1543
1495
  countryOfOrigin?: string | null | undefined;
1544
1496
  description?: string | null | undefined;
1545
1497
  harmonizedTariffCode?: string | null | undefined;
1546
- productId?: string | null | undefined;
1547
1498
  value: {
1548
1499
  amount: number;
1549
1500
  currency: SE.Currency;
@@ -1553,7 +1504,6 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
1553
1504
  countryOfOrigin?: string | null | undefined;
1554
1505
  description?: string | null | undefined;
1555
1506
  harmonizedTariffCode?: string | null | undefined;
1556
- productId?: string | null | undefined;
1557
1507
  value: {
1558
1508
  amount: number;
1559
1509
  currency: SE.Currency;
@@ -1,5 +1,5 @@
1
1
  import { SE } from "@shipengine/alchemy";
2
- import { WarehousePayload } from "../manage-warehouses";
2
+ export type WarehousePayload = Partial<SE.Warehouse> & Pick<SE.Warehouse, "name" | "originAddress" | "isDefault">;
3
3
  export type WarehouseFormProps = {
4
4
  onCancel?: () => void;
5
5
  onDelete?: () => void;