@shipengine/elements 1.5.1 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs +14782 -14386
- package/index.js +14797 -14413
- package/package.json +5 -7
- package/src/components/address-preference-context/address-preference-context.d.ts +2 -1
- package/src/components/auto-funding-form/auto-funding-form.styles.d.ts +4 -8
- package/src/components/collapsible-panel/collapsible-panel.d.ts +6 -1
- package/src/components/collapsible-panel/collapsible-panel.styles.d.ts +1 -1
- package/src/components/date-range-select/date-range-select.d.ts +1 -2
- package/src/components/field/create-field-controller.d.ts +2 -1
- package/src/components/field/date-picker/date-picker.d.ts +2 -6
- package/src/components/field/rate-card/cost-breakdown/cost-breakdown.d.ts +1 -1
- package/src/components/field/rate-card/rate-card.d.ts +3 -1
- package/src/components/field/rate-card/rate-card.styles.d.ts +1 -0
- package/src/components/field-label/field-label.d.ts +2 -1
- package/src/components/history/history-card/history-card.d.ts +5 -2
- package/src/components/index.d.ts +5 -2
- package/src/components/service-point-display/service-point-display.d.ts +1 -1
- package/src/components/service-point-display/service-point-display.styles.d.ts +8 -0
- package/src/components/templates/address-display/address-display.d.ts +2 -1
- package/src/components/templates/address-form/address-schema.d.ts +2 -0
- package/src/components/templates/connected-carrier-list/connected-carrier-row/connected-carrier-row.styles.d.ts +17 -0
- package/src/components/templates/index.d.ts +1 -4
- package/src/components/templates/label/label.styles.d.ts +0 -6
- package/src/components/templates/product-form/product-form-schema.d.ts +0 -12
- package/src/components/templates/pudo-rate-tabs/pudo-rate-tabs.d.ts +6 -1
- package/src/components/templates/rate-form/rate-form.d.ts +4 -2
- package/src/components/templates/rate-form/rate-form.styles.d.ts +2 -4
- package/src/components/templates/shipment-form/shipment-schema.d.ts +0 -50
- package/src/components/templates/wallet-form/wallet-schema.d.ts +46 -2
- package/src/components/{templates/warehouse-form → warehouse-form}/warehouse-form.d.ts +1 -1
- package/src/elements/external-carriers/external-carriers.d.ts +819 -9
- package/src/elements/index.d.ts +7 -3
- package/src/elements/label-layout/index.d.ts +1 -0
- package/src/elements/label-layout/label-layout-element.d.ts +791 -0
- package/src/elements/labels-grid/labels-grid.d.ts +16 -2
- package/src/elements/manage-funding/index.d.ts +1 -0
- package/src/elements/manage-funding/manage-funding-element.d.ts +791 -0
- package/src/elements/manage-warehouses/manage-warehouses.d.ts +791 -21
- package/src/elements/payment-method-settings/index.d.ts +1 -0
- package/src/elements/payment-method-settings/payment-method-settings-element.d.ts +791 -0
- package/src/elements/{configure-shipment → purchase-label}/configure-shipment.d.ts +1 -12
- package/src/elements/purchase-label/hooks/index.d.ts +8 -0
- package/src/elements/purchase-label/hooks/use-configure-shipment.d.ts +1 -1
- package/src/elements/{configure-shipment → purchase-label}/hooks/use-rates-form.d.ts +1 -1
- package/src/elements/{configure-shipment → purchase-label}/hooks/use-rates-with-cache.d.ts +1 -1
- package/src/elements/{configure-shipment → purchase-label}/hooks/use-request-preferred-rates.d.ts +1 -1
- package/src/elements/{configure-shipment → purchase-label}/hooks/use-request-rates.d.ts +2 -1
- package/src/elements/purchase-label/purchase-label.d.ts +36 -50
- package/src/elements/shipengine-carriers/index.d.ts +1 -0
- package/src/elements/shipengine-carriers/shipengine-carriers.d.ts +854 -0
- package/src/elements/shipments-grid/shipments-grid.d.ts +16 -2
- package/src/elements/theme-creator/theme-creator.d.ts +16 -2
- package/src/elements/unit-settings/index.d.ts +1 -0
- package/src/elements/unit-settings/unit-settings-element.d.ts +791 -0
- package/src/elements/view-shipment/view-shipment.d.ts +29 -15
- package/src/elements/void-label/void-label.d.ts +25 -12
- package/src/elements/wallet-history/index.d.ts +1 -0
- package/src/elements/wallet-history/wallet-history-element.d.ts +791 -0
- package/src/features/external-carriers/external-carriers.d.ts +10 -0
- package/src/features/external-carriers/index.d.ts +1 -0
- package/src/features/index.d.ts +7 -0
- package/src/features/label-layout/index.d.ts +2 -0
- package/src/features/label-layout/label-layout.d.ts +7 -0
- package/src/features/label-layout/use-label-layout.d.ts +7 -0
- package/src/features/manage-funding/manage-funding.d.ts +16 -0
- package/src/features/manage-warehouses/index.d.ts +2 -0
- package/src/features/manage-warehouses/manage-warehouses.d.ts +16 -0
- package/src/features/manage-warehouses/use-manage-warehouses.d.ts +15 -0
- package/src/features/shipengine-carriers/hooks/index.d.ts +2 -0
- package/src/features/shipengine-carriers/hooks/use-carrier-metadata.d.ts +13 -0
- package/src/features/shipengine-carriers/index.d.ts +1 -0
- package/src/features/shipengine-carriers/shipengine-carriers-row/index.d.ts +1 -0
- package/src/features/shipengine-carriers/shipengine-carriers-row/shipengine-carriers-row.d.ts +9 -0
- package/src/features/shipengine-carriers/shipengine-carriers.d.ts +10 -0
- package/src/features/unit-settings/index.d.ts +2 -0
- package/src/features/unit-settings/unit-settings.d.ts +9 -0
- package/src/features/unit-settings/use-unit-settings.d.ts +10 -0
- package/src/features/wallet-history/wallet-history.styles.d.ts +10 -10
- package/src/hooks/index.d.ts +0 -1
- package/src/hooks/options/use-rate-options.d.ts +1 -1
- package/src/locales/en/index.d.ts +16 -2
- package/src/types/carrier-metadata.d.ts +3 -0
- package/src/types/index.d.ts +1 -0
- package/src/types/preferred-rates.d.ts +13 -0
- package/src/utilities/date.d.ts +2 -1
- package/src/utilities/feature-flags.d.ts +5 -2
- package/src/utilities/index.d.ts +1 -0
- package/src/utilities/tracking-status-formatter.d.ts +1 -0
- package/src/{elements → workflows}/account-settings/account-settings.d.ts +25 -58
- package/src/workflows/account-settings/use-get-panel-props.d.ts +10 -0
- package/src/{elements → workflows}/connect-carrier/connect-carrier.d.ts +16 -2
- package/src/workflows/index.d.ts +3 -0
- package/src/workflows/manage-wallet-workflow/index.d.ts +1 -0
- package/src/workflows/manage-wallet-workflow/manage-wallet-workflow.d.ts +828 -0
- package/src/workflows/manage-wallet-workflow/use-get-wallet-panel-props.d.ts +4 -0
- package/src/workflows/onboarding/components/onboarding-wizard/onboarding-wizard.d.ts +2 -2
- package/src/workflows/onboarding/components/ship-from-address-step/ship-from-address-step.d.ts +1 -1
- package/src/workflows/onboarding/components/ship-from-address-step/use-ship-from-address-step.d.ts +1 -1
- package/src/workflows/onboarding/components/terms-agreement-form/terms-agreement-form.d.ts +2 -1
- package/src/workflows/onboarding/onboarding.d.ts +21 -8
- package/src/workflows/purchase-label-workflow/index.d.ts +1 -0
- package/src/{elements/shipengine-workflow/label-workflow.d.ts → workflows/purchase-label-workflow/purchase-label-workflow.d.ts} +19 -21
- package/src/components/date-range-select/date-range-select.styles.d.ts +0 -7
- package/src/components/field/date-picker/date-picker.styles.d.ts +0 -3
- package/src/components/label-layout/index.d.ts +0 -3
- package/src/components/label-layout/label-layout-purchase.d.ts +0 -5
- package/src/components/label-layout/label-layout-settings.d.ts +0 -7
- package/src/components/label-layout/label-layout.d.ts +0 -9
- package/src/components/manage-funding/manage-funding.d.ts +0 -35
- package/src/components/templates/account-settings/account-settings.d.ts +0 -10
- package/src/components/templates/account-settings/index.d.ts +0 -1
- package/src/components/templates/list-carriers/index.d.ts +0 -1
- package/src/components/templates/list-carriers/list-carriers.d.ts +0 -16
- package/src/components/templates/list-carriers-row/index.d.ts +0 -1
- package/src/components/templates/list-carriers-row/list-carriers-row.d.ts +0 -9
- package/src/components/templates/manage-warehouses/index.d.ts +0 -1
- package/src/components/templates/manage-warehouses/manage-warehouses.d.ts +0 -11
- package/src/components/unit-settings/index.d.ts +0 -1
- package/src/components/unit-settings/unit-settings.d.ts +0 -6
- package/src/elements/configure-shipment/hooks/index.d.ts +0 -8
- package/src/elements/configure-shipment/index.d.ts +0 -1
- package/src/elements/list-carriers/index.d.ts +0 -1
- package/src/elements/list-carriers/list-carriers.d.ts +0 -36
- package/src/elements/shipengine-workflow/index.d.ts +0 -1
- package/src/hooks/use-carrier-metadata.d.ts +0 -10
- /package/src/components/{templates/edit-billing-form → edit-billing-form}/edit-billing-form.d.ts +0 -0
- /package/src/components/{templates/edit-billing-form → edit-billing-form}/edit-billing-form.styles.d.ts +0 -0
- /package/src/components/{templates/edit-billing-form → edit-billing-form}/index.d.ts +0 -0
- /package/src/components/{templates/wallet-card → wallet-card}/index.d.ts +0 -0
- /package/src/components/{templates/wallet-card → wallet-card}/wallet-card.d.ts +0 -0
- /package/src/components/{templates/wallet-card → wallet-card}/wallet-card.styles.d.ts +0 -0
- /package/src/components/{templates/warehouse-form → warehouse-form}/index.d.ts +0 -0
- /package/src/components/{templates/warehouse-form → warehouse-form}/warehouse-form-schema.d.ts +0 -0
- /package/src/elements/{configure-shipment → purchase-label}/hooks/use-address.d.ts +0 -0
- /package/src/elements/{configure-shipment → purchase-label}/hooks/use-customs.d.ts +0 -0
- /package/src/elements/{configure-shipment → purchase-label}/hooks/use-presets.d.ts +0 -0
- /package/src/elements/{configure-shipment → purchase-label}/hooks/use-shipment-form.d.ts +0 -0
- /package/src/{components → features}/label-layout/label-layout.styles.d.ts +0 -0
- /package/src/{components → features}/manage-funding/index.d.ts +0 -0
- /package/src/{components/templates → features}/manage-warehouses/manage-warehouse.styles.d.ts +0 -0
- /package/src/{components/templates → features/manage-warehouses}/warehouse-display/index.d.ts +0 -0
- /package/src/{components/templates → features/manage-warehouses}/warehouse-display/warehouse-display.d.ts +0 -0
- /package/src/{components → features}/payment-method-settings/index.d.ts +0 -0
- /package/src/{components → features}/payment-method-settings/payment-method-settings.d.ts +0 -0
- /package/src/{elements/list-carriers → features/shipengine-carriers}/hooks/use-list-connected-carriers.d.ts +0 -0
- /package/src/{components/templates/list-carriers-row/list-carriers-row.styles.d.ts → features/shipengine-carriers/shipengine-carriers-row/shipengine-carriers-row.styles.d.ts} +0 -0
- /package/src/{components/templates/list-carriers/list-carriers.styles.d.ts → features/shipengine-carriers/shipengine-carriers.styles.d.ts} +0 -0
- /package/src/{elements → workflows}/account-settings/index.d.ts +0 -0
- /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;
|
|
@@ -5,7 +5,7 @@ export declare const walletEmailSchemas: {
|
|
|
5
5
|
emailRequired: z.ZodString;
|
|
6
6
|
};
|
|
7
7
|
export type EmailRequirementOption = keyof typeof walletEmailSchemas;
|
|
8
|
-
export declare const getBillingAddressSchema: (emailRequirement: EmailRequirementOption) => z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<z.extendShape<{
|
|
8
|
+
export declare const getBillingAddressSchema: (emailRequirement: EmailRequirementOption) => z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<z.extendShape<{
|
|
9
9
|
addressLine1: z.ZodString;
|
|
10
10
|
addressLine2: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
|
|
11
11
|
cityLocality: z.ZodString;
|
|
@@ -110,12 +110,34 @@ export declare const getBillingAddressSchema: (emailRequirement: EmailRequiremen
|
|
|
110
110
|
name: string;
|
|
111
111
|
phone: string;
|
|
112
112
|
postalCode: string;
|
|
113
|
+
}>, {
|
|
114
|
+
addressLine2?: string | undefined;
|
|
115
|
+
email?: string | undefined;
|
|
116
|
+
addressLine1: string;
|
|
117
|
+
cityLocality: string;
|
|
118
|
+
companyName: string;
|
|
119
|
+
countryCode: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BN" | "BG" | "BF" | "BI" | "CA" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FM" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "AN" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "VI" | "UM" | "US" | "UY" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW";
|
|
120
|
+
name: string;
|
|
121
|
+
phone: string;
|
|
122
|
+
postalCode: string;
|
|
123
|
+
stateProvince: string;
|
|
124
|
+
}, {
|
|
125
|
+
addressLine2?: string | null | undefined;
|
|
126
|
+
email?: string | null | undefined;
|
|
127
|
+
stateProvince?: string | null | undefined;
|
|
128
|
+
addressLine1: string;
|
|
129
|
+
cityLocality: string;
|
|
130
|
+
companyName: string;
|
|
131
|
+
countryCode: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BN" | "BG" | "BF" | "BI" | "CA" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FM" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "AN" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "VI" | "UM" | "US" | "UY" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW";
|
|
132
|
+
name: string;
|
|
133
|
+
phone: string;
|
|
134
|
+
postalCode: string;
|
|
113
135
|
}>;
|
|
114
136
|
type BillingAddressSchema = ReturnType<typeof getBillingAddressSchema>;
|
|
115
137
|
export type BillingAddressFields = z.input<BillingAddressSchema>;
|
|
116
138
|
export type BillingAddressPayload = z.output<BillingAddressSchema>;
|
|
117
139
|
export declare const getWalletSchema: (emailRequirement: EmailRequirementOption) => z.ZodObject<{
|
|
118
|
-
address: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<z.extendShape<{
|
|
140
|
+
address: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<z.extendShape<{
|
|
119
141
|
addressLine1: z.ZodString;
|
|
120
142
|
addressLine2: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
|
|
121
143
|
cityLocality: z.ZodString;
|
|
@@ -220,6 +242,28 @@ export declare const getWalletSchema: (emailRequirement: EmailRequirementOption)
|
|
|
220
242
|
name: string;
|
|
221
243
|
phone: string;
|
|
222
244
|
postalCode: string;
|
|
245
|
+
}>, {
|
|
246
|
+
addressLine2?: string | undefined;
|
|
247
|
+
email?: string | undefined;
|
|
248
|
+
addressLine1: string;
|
|
249
|
+
cityLocality: string;
|
|
250
|
+
companyName: string;
|
|
251
|
+
countryCode: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BN" | "BG" | "BF" | "BI" | "CA" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FM" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "AN" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "VI" | "UM" | "US" | "UY" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW";
|
|
252
|
+
name: string;
|
|
253
|
+
phone: string;
|
|
254
|
+
postalCode: string;
|
|
255
|
+
stateProvince: string;
|
|
256
|
+
}, {
|
|
257
|
+
addressLine2?: string | null | undefined;
|
|
258
|
+
email?: string | null | undefined;
|
|
259
|
+
stateProvince?: string | null | undefined;
|
|
260
|
+
addressLine1: string;
|
|
261
|
+
cityLocality: string;
|
|
262
|
+
companyName: string;
|
|
263
|
+
countryCode: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BN" | "BG" | "BF" | "BI" | "CA" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FM" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "AN" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "VI" | "UM" | "US" | "UY" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW";
|
|
264
|
+
name: string;
|
|
265
|
+
phone: string;
|
|
266
|
+
postalCode: string;
|
|
223
267
|
}>;
|
|
224
268
|
creditCard: z.ZodEffects<z.ZodObject<{
|
|
225
269
|
cvv: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SE } from "@shipengine/alchemy";
|
|
2
|
-
|
|
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;
|