@ubnt/store.core 9.28.0-beta.4 → 9.28.0-beta.6
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/CHANGELOG.md +12 -0
- package/lib/assets/close2.svg +3 -2
- package/lib/assets/close3.svg +2 -3
- package/lib/assets/minus4.svg +8 -8
- package/lib/assets/minus5.svg +8 -8
- package/lib/assets/plus5.svg +9 -9
- package/lib/assets/plus6.svg +9 -9
- package/lib/assets/ucgMax.jpg +0 -0
- package/lib/assets/ucgMax2.jpg +0 -0
- package/lib/assets/udmPro.jpg +0 -0
- package/lib/assets/udmPro2.jpg +0 -0
- package/lib/assets/udmProMax.jpg +0 -0
- package/lib/assets/udmProMax2.jpg +0 -0
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.js +1 -1
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.mjs +1 -1
- package/lib/components/FeaturesSection_deprecated/assets/close.svg.js +1 -1
- package/lib/components/FeaturesSection_deprecated/assets/close.svg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgMax.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgMax.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmPro.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmPro.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProMax.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProMax.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/ucgMax.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/ucgMax.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/udmPro.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/udmPro.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/udmProMax.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/udmProMax.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/data/BaseStation.js +2 -2
- package/lib/components/ModelCompareV3/data/BaseStation.js.map +1 -1
- package/lib/components/ModelCompareV3/data/BaseStation.mjs +2 -2
- package/lib/components/ModelCompareV3/data/BaseStation.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/CloudGateways.js +9 -9
- package/lib/components/ModelCompareV3/data/CloudGateways.mjs +6 -6
- package/lib/components/ModelCompareV3/data/products/ucgMax.js +1 -1
- package/lib/components/ModelCompareV3/data/products/ucgMax.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/udmPro.js +1 -1
- package/lib/components/ModelCompareV3/data/products/udmPro.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProMax.js +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProMax.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.mjs +2 -2
- package/lib/components/VideoPlayerNew/VideoPlayer.js +1 -1
- package/lib/components/VideoPlayerNew/VideoPlayer.mjs +1 -1
- package/lib/components/VideoPlayerNew/assets/close.svg.js +1 -1
- package/lib/components/VideoPlayerNew/assets/close.svg.mjs +2 -2
- package/lib/constants/icons/options/colors/black.svg.js +5 -5
- package/lib/constants/icons/options/colors/index.js +3 -3
- package/lib/constants/icons/options/styles/black.svg.js +5 -5
- package/lib/constants/icons/options/styles/index.js +3 -3
- package/lib/constants/optionIcons.js +6 -6
- package/lib/constants/optionIcons.mjs +4 -4
- package/lib/constants/proStoreCategories/mapping/index.d.ts +1 -0
- package/lib/constants/proStoreCategories/mapping/index.js +5 -0
- package/lib/constants/proStoreCategories/mapping/index.js.map +1 -1
- package/lib/constants/proStoreCategories/mapping/index.mjs +5 -0
- package/lib/constants/proStoreCategories/mapping/index.mjs.map +1 -1
- package/lib/constants/proStoreCategories/mapping/uisp.d.ts +1 -0
- package/lib/constants/proStoreCategories/mapping/uisp.js +1 -0
- package/lib/constants/proStoreCategories/mapping/uisp.js.map +1 -1
- package/lib/constants/proStoreCategories/mapping/uisp.mjs +1 -0
- package/lib/constants/proStoreCategories/mapping/uisp.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/ar.json.js +1 -0
- package/lib/constants/proStoreCategories/translations/ar.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/ar.json.mjs +1 -0
- package/lib/constants/proStoreCategories/translations/ar.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/de.json.js +1 -0
- package/lib/constants/proStoreCategories/translations/de.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/de.json.mjs +1 -0
- package/lib/constants/proStoreCategories/translations/de.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/el.json.js +1 -0
- package/lib/constants/proStoreCategories/translations/el.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/el.json.mjs +1 -0
- package/lib/constants/proStoreCategories/translations/el.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/en.json.js +1 -0
- package/lib/constants/proStoreCategories/translations/en.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/en.json.mjs +1 -0
- package/lib/constants/proStoreCategories/translations/en.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/es.json.js +1 -0
- package/lib/constants/proStoreCategories/translations/es.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/es.json.mjs +1 -0
- package/lib/constants/proStoreCategories/translations/es.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/fr.json.js +1 -0
- package/lib/constants/proStoreCategories/translations/fr.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/fr.json.mjs +1 -0
- package/lib/constants/proStoreCategories/translations/fr.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/it.json.js +1 -0
- package/lib/constants/proStoreCategories/translations/it.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/it.json.mjs +1 -0
- package/lib/constants/proStoreCategories/translations/it.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/ja.json.js +1 -0
- package/lib/constants/proStoreCategories/translations/ja.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/ja.json.mjs +1 -0
- package/lib/constants/proStoreCategories/translations/ja.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/pt-BR.json.js +1 -0
- package/lib/constants/proStoreCategories/translations/pt-BR.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs +1 -0
- package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.js +1 -0
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs +1 -0
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js +1 -0
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs +1 -0
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs.map +1 -1
- package/lib/utils/address.d.ts +278 -62
- package/lib/utils/address.js +11 -8
- package/lib/utils/address.js.map +1 -1
- package/lib/utils/address.mjs +11 -8
- package/lib/utils/address.mjs.map +1 -1
- package/lib/utils/validations/lastNameSuperRefinement.d.ts +10 -0
- package/lib/utils/validations/lastNameSuperRefinement.js +23 -0
- package/lib/utils/validations/lastNameSuperRefinement.js.map +1 -0
- package/lib/utils/validations/lastNameSuperRefinement.mjs +20 -0
- package/lib/utils/validations/lastNameSuperRefinement.mjs.map +1 -0
- package/package.json +1 -1
package/lib/utils/address.d.ts
CHANGED
|
@@ -21,8 +21,8 @@ export declare const shouldAddressHaveSeparatedStreetAndHouseNumber: (country: C
|
|
|
21
21
|
*/
|
|
22
22
|
export declare const getCountrySpecificAddressFormFields: <TPathPrefix extends string>(country: CountryCode, { pathPrefix }: {
|
|
23
23
|
pathPrefix: TPathPrefix;
|
|
24
|
-
}) => (`${TPathPrefix}type` | `${TPathPrefix}firstName` | `${TPathPrefix}
|
|
25
|
-
export declare const getBaseAddressSchema: ({ countries, errorMap,
|
|
24
|
+
}) => (`${TPathPrefix}type` | `${TPathPrefix}firstName` | `${TPathPrefix}lastName` | `${TPathPrefix}phoneNumber` | `${TPathPrefix}additionalInfo` | `${TPathPrefix}taxId` | `${TPathPrefix}businessName` | `${TPathPrefix}stateRegistrationNumber` | `${TPathPrefix}businessVatId` | `${TPathPrefix}country` | `${TPathPrefix}address1` | `${TPathPrefix}city` | `${TPathPrefix}address2` | `${TPathPrefix}neighborhood` | `${TPathPrefix}province` | `${TPathPrefix}postalCode`)[];
|
|
25
|
+
export declare const getBaseAddressSchema: ({ countries, errorMap, }: BaseAddressSchemaArgs) => z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
26
26
|
address1: z.ZodString;
|
|
27
27
|
address2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
city: z.ZodString;
|
|
@@ -111,7 +111,7 @@ export declare const getBaseAddressSchema: ({ countries, errorMap, addressUsageT
|
|
|
111
111
|
province?: string | null | undefined;
|
|
112
112
|
postalCode?: string | null | undefined;
|
|
113
113
|
}>;
|
|
114
|
-
export declare const getAddressSchema: ({ countries, validateTaxIdExternally, errorMap, addressUsageType, }: AddressSchemaArgs) => z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodIntersection<z.ZodObject<{
|
|
114
|
+
export declare const getAddressSchema: ({ countries, validateTaxIdExternally, errorMap, addressUsageType, }: AddressSchemaArgs) => z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodIntersection<z.ZodObject<{
|
|
115
115
|
type: z.ZodNativeEnum<typeof AddressType>;
|
|
116
116
|
businessName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
117
117
|
/**
|
|
@@ -127,8 +127,8 @@ export declare const getAddressSchema: ({ countries, validateTaxIdExternally, er
|
|
|
127
127
|
}, "strip", z.ZodTypeAny, {
|
|
128
128
|
type: AddressType;
|
|
129
129
|
firstName: string;
|
|
130
|
-
phoneNumber: string;
|
|
131
130
|
lastName: string;
|
|
131
|
+
phoneNumber: string;
|
|
132
132
|
additionalInfo?: string | null | undefined;
|
|
133
133
|
taxId?: string | null | undefined;
|
|
134
134
|
businessName?: string | null | undefined;
|
|
@@ -137,8 +137,8 @@ export declare const getAddressSchema: ({ countries, validateTaxIdExternally, er
|
|
|
137
137
|
}, {
|
|
138
138
|
type: AddressType;
|
|
139
139
|
firstName: string;
|
|
140
|
-
phoneNumber: string;
|
|
141
140
|
lastName: string;
|
|
141
|
+
phoneNumber: string;
|
|
142
142
|
additionalInfo?: string | null | undefined;
|
|
143
143
|
taxId?: string | null | undefined;
|
|
144
144
|
businessName?: string | null | undefined;
|
|
@@ -235,8 +235,8 @@ export declare const getAddressSchema: ({ countries, validateTaxIdExternally, er
|
|
|
235
235
|
}>>, {
|
|
236
236
|
type: AddressType;
|
|
237
237
|
firstName: string;
|
|
238
|
-
phoneNumber: string;
|
|
239
238
|
lastName: string;
|
|
239
|
+
phoneNumber: string;
|
|
240
240
|
additionalInfo?: string | null | undefined;
|
|
241
241
|
taxId?: string | null | undefined;
|
|
242
242
|
businessName?: string | null | undefined;
|
|
@@ -253,8 +253,8 @@ export declare const getAddressSchema: ({ countries, validateTaxIdExternally, er
|
|
|
253
253
|
}, {
|
|
254
254
|
type: AddressType;
|
|
255
255
|
firstName: string;
|
|
256
|
-
phoneNumber: string;
|
|
257
256
|
lastName: string;
|
|
257
|
+
phoneNumber: string;
|
|
258
258
|
additionalInfo?: string | null | undefined;
|
|
259
259
|
taxId?: string | null | undefined;
|
|
260
260
|
businessName?: string | null | undefined;
|
|
@@ -271,8 +271,8 @@ export declare const getAddressSchema: ({ countries, validateTaxIdExternally, er
|
|
|
271
271
|
}>, {
|
|
272
272
|
type: AddressType;
|
|
273
273
|
firstName: string;
|
|
274
|
-
phoneNumber: string;
|
|
275
274
|
lastName: string;
|
|
275
|
+
phoneNumber: string;
|
|
276
276
|
additionalInfo?: string | null | undefined;
|
|
277
277
|
taxId?: string | null | undefined;
|
|
278
278
|
businessName?: string | null | undefined;
|
|
@@ -289,8 +289,8 @@ export declare const getAddressSchema: ({ countries, validateTaxIdExternally, er
|
|
|
289
289
|
}, {
|
|
290
290
|
type: AddressType;
|
|
291
291
|
firstName: string;
|
|
292
|
-
phoneNumber: string;
|
|
293
292
|
lastName: string;
|
|
293
|
+
phoneNumber: string;
|
|
294
294
|
additionalInfo?: string | null | undefined;
|
|
295
295
|
taxId?: string | null | undefined;
|
|
296
296
|
businessName?: string | null | undefined;
|
|
@@ -307,8 +307,8 @@ export declare const getAddressSchema: ({ countries, validateTaxIdExternally, er
|
|
|
307
307
|
}>, {
|
|
308
308
|
type: AddressType;
|
|
309
309
|
firstName: string;
|
|
310
|
-
phoneNumber: string;
|
|
311
310
|
lastName: string;
|
|
311
|
+
phoneNumber: string;
|
|
312
312
|
additionalInfo?: string | null | undefined;
|
|
313
313
|
taxId?: string | null | undefined;
|
|
314
314
|
businessName?: string | null | undefined;
|
|
@@ -325,8 +325,8 @@ export declare const getAddressSchema: ({ countries, validateTaxIdExternally, er
|
|
|
325
325
|
}, {
|
|
326
326
|
type: AddressType;
|
|
327
327
|
firstName: string;
|
|
328
|
-
phoneNumber: string;
|
|
329
328
|
lastName: string;
|
|
329
|
+
phoneNumber: string;
|
|
330
330
|
additionalInfo?: string | null | undefined;
|
|
331
331
|
taxId?: string | null | undefined;
|
|
332
332
|
businessName?: string | null | undefined;
|
|
@@ -343,8 +343,8 @@ export declare const getAddressSchema: ({ countries, validateTaxIdExternally, er
|
|
|
343
343
|
}>, {
|
|
344
344
|
type: AddressType;
|
|
345
345
|
firstName: string;
|
|
346
|
-
phoneNumber: string;
|
|
347
346
|
lastName: string;
|
|
347
|
+
phoneNumber: string;
|
|
348
348
|
additionalInfo?: string | null | undefined;
|
|
349
349
|
taxId?: string | null | undefined;
|
|
350
350
|
businessName?: string | null | undefined;
|
|
@@ -361,8 +361,44 @@ export declare const getAddressSchema: ({ countries, validateTaxIdExternally, er
|
|
|
361
361
|
}, {
|
|
362
362
|
type: AddressType;
|
|
363
363
|
firstName: string;
|
|
364
|
+
lastName: string;
|
|
364
365
|
phoneNumber: string;
|
|
366
|
+
additionalInfo?: string | null | undefined;
|
|
367
|
+
taxId?: string | null | undefined;
|
|
368
|
+
businessName?: string | null | undefined;
|
|
369
|
+
stateRegistrationNumber?: string | null | undefined;
|
|
370
|
+
businessVatId?: string | null | undefined;
|
|
371
|
+
} & {
|
|
372
|
+
country: CountryCode;
|
|
373
|
+
address1: string;
|
|
374
|
+
city: string;
|
|
375
|
+
address2?: string | null | undefined;
|
|
376
|
+
neighborhood?: string | null | undefined;
|
|
377
|
+
province?: string | null | undefined;
|
|
378
|
+
postalCode?: string | null | undefined;
|
|
379
|
+
}>, {
|
|
380
|
+
type: AddressType;
|
|
381
|
+
firstName: string;
|
|
365
382
|
lastName: string;
|
|
383
|
+
phoneNumber: string;
|
|
384
|
+
additionalInfo?: string | null | undefined;
|
|
385
|
+
taxId?: string | null | undefined;
|
|
386
|
+
businessName?: string | null | undefined;
|
|
387
|
+
stateRegistrationNumber?: string | null | undefined;
|
|
388
|
+
businessVatId?: string | null | undefined;
|
|
389
|
+
} & {
|
|
390
|
+
country: CountryCode;
|
|
391
|
+
address1: string;
|
|
392
|
+
city: string;
|
|
393
|
+
address2?: string | null | undefined;
|
|
394
|
+
neighborhood?: string | null | undefined;
|
|
395
|
+
province?: string | null | undefined;
|
|
396
|
+
postalCode?: string | null | undefined;
|
|
397
|
+
}, {
|
|
398
|
+
type: AddressType;
|
|
399
|
+
firstName: string;
|
|
400
|
+
lastName: string;
|
|
401
|
+
phoneNumber: string;
|
|
366
402
|
additionalInfo?: string | null | undefined;
|
|
367
403
|
taxId?: string | null | undefined;
|
|
368
404
|
businessName?: string | null | undefined;
|
|
@@ -383,7 +419,7 @@ export declare const getCreateCustomerAddressSchema: (args: AddressSchemaArgs) =
|
|
|
383
419
|
isDefault?: boolean | null | undefined;
|
|
384
420
|
}, {
|
|
385
421
|
isDefault?: boolean | null | undefined;
|
|
386
|
-
}>, z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodIntersection<z.ZodObject<{
|
|
422
|
+
}>, z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodIntersection<z.ZodObject<{
|
|
387
423
|
type: z.ZodNativeEnum<typeof AddressType>;
|
|
388
424
|
businessName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
389
425
|
/**
|
|
@@ -399,8 +435,8 @@ export declare const getCreateCustomerAddressSchema: (args: AddressSchemaArgs) =
|
|
|
399
435
|
}, "strip", z.ZodTypeAny, {
|
|
400
436
|
type: AddressType;
|
|
401
437
|
firstName: string;
|
|
402
|
-
phoneNumber: string;
|
|
403
438
|
lastName: string;
|
|
439
|
+
phoneNumber: string;
|
|
404
440
|
additionalInfo?: string | null | undefined;
|
|
405
441
|
taxId?: string | null | undefined;
|
|
406
442
|
businessName?: string | null | undefined;
|
|
@@ -409,8 +445,8 @@ export declare const getCreateCustomerAddressSchema: (args: AddressSchemaArgs) =
|
|
|
409
445
|
}, {
|
|
410
446
|
type: AddressType;
|
|
411
447
|
firstName: string;
|
|
412
|
-
phoneNumber: string;
|
|
413
448
|
lastName: string;
|
|
449
|
+
phoneNumber: string;
|
|
414
450
|
additionalInfo?: string | null | undefined;
|
|
415
451
|
taxId?: string | null | undefined;
|
|
416
452
|
businessName?: string | null | undefined;
|
|
@@ -507,8 +543,8 @@ export declare const getCreateCustomerAddressSchema: (args: AddressSchemaArgs) =
|
|
|
507
543
|
}>>, {
|
|
508
544
|
type: AddressType;
|
|
509
545
|
firstName: string;
|
|
510
|
-
phoneNumber: string;
|
|
511
546
|
lastName: string;
|
|
547
|
+
phoneNumber: string;
|
|
512
548
|
additionalInfo?: string | null | undefined;
|
|
513
549
|
taxId?: string | null | undefined;
|
|
514
550
|
businessName?: string | null | undefined;
|
|
@@ -525,8 +561,8 @@ export declare const getCreateCustomerAddressSchema: (args: AddressSchemaArgs) =
|
|
|
525
561
|
}, {
|
|
526
562
|
type: AddressType;
|
|
527
563
|
firstName: string;
|
|
528
|
-
phoneNumber: string;
|
|
529
564
|
lastName: string;
|
|
565
|
+
phoneNumber: string;
|
|
530
566
|
additionalInfo?: string | null | undefined;
|
|
531
567
|
taxId?: string | null | undefined;
|
|
532
568
|
businessName?: string | null | undefined;
|
|
@@ -543,8 +579,8 @@ export declare const getCreateCustomerAddressSchema: (args: AddressSchemaArgs) =
|
|
|
543
579
|
}>, {
|
|
544
580
|
type: AddressType;
|
|
545
581
|
firstName: string;
|
|
546
|
-
phoneNumber: string;
|
|
547
582
|
lastName: string;
|
|
583
|
+
phoneNumber: string;
|
|
548
584
|
additionalInfo?: string | null | undefined;
|
|
549
585
|
taxId?: string | null | undefined;
|
|
550
586
|
businessName?: string | null | undefined;
|
|
@@ -561,8 +597,8 @@ export declare const getCreateCustomerAddressSchema: (args: AddressSchemaArgs) =
|
|
|
561
597
|
}, {
|
|
562
598
|
type: AddressType;
|
|
563
599
|
firstName: string;
|
|
564
|
-
phoneNumber: string;
|
|
565
600
|
lastName: string;
|
|
601
|
+
phoneNumber: string;
|
|
566
602
|
additionalInfo?: string | null | undefined;
|
|
567
603
|
taxId?: string | null | undefined;
|
|
568
604
|
businessName?: string | null | undefined;
|
|
@@ -579,8 +615,8 @@ export declare const getCreateCustomerAddressSchema: (args: AddressSchemaArgs) =
|
|
|
579
615
|
}>, {
|
|
580
616
|
type: AddressType;
|
|
581
617
|
firstName: string;
|
|
582
|
-
phoneNumber: string;
|
|
583
618
|
lastName: string;
|
|
619
|
+
phoneNumber: string;
|
|
584
620
|
additionalInfo?: string | null | undefined;
|
|
585
621
|
taxId?: string | null | undefined;
|
|
586
622
|
businessName?: string | null | undefined;
|
|
@@ -597,8 +633,8 @@ export declare const getCreateCustomerAddressSchema: (args: AddressSchemaArgs) =
|
|
|
597
633
|
}, {
|
|
598
634
|
type: AddressType;
|
|
599
635
|
firstName: string;
|
|
600
|
-
phoneNumber: string;
|
|
601
636
|
lastName: string;
|
|
637
|
+
phoneNumber: string;
|
|
602
638
|
additionalInfo?: string | null | undefined;
|
|
603
639
|
taxId?: string | null | undefined;
|
|
604
640
|
businessName?: string | null | undefined;
|
|
@@ -615,8 +651,8 @@ export declare const getCreateCustomerAddressSchema: (args: AddressSchemaArgs) =
|
|
|
615
651
|
}>, {
|
|
616
652
|
type: AddressType;
|
|
617
653
|
firstName: string;
|
|
618
|
-
phoneNumber: string;
|
|
619
654
|
lastName: string;
|
|
655
|
+
phoneNumber: string;
|
|
620
656
|
additionalInfo?: string | null | undefined;
|
|
621
657
|
taxId?: string | null | undefined;
|
|
622
658
|
businessName?: string | null | undefined;
|
|
@@ -633,8 +669,44 @@ export declare const getCreateCustomerAddressSchema: (args: AddressSchemaArgs) =
|
|
|
633
669
|
}, {
|
|
634
670
|
type: AddressType;
|
|
635
671
|
firstName: string;
|
|
672
|
+
lastName: string;
|
|
673
|
+
phoneNumber: string;
|
|
674
|
+
additionalInfo?: string | null | undefined;
|
|
675
|
+
taxId?: string | null | undefined;
|
|
676
|
+
businessName?: string | null | undefined;
|
|
677
|
+
stateRegistrationNumber?: string | null | undefined;
|
|
678
|
+
businessVatId?: string | null | undefined;
|
|
679
|
+
} & {
|
|
680
|
+
country: CountryCode;
|
|
681
|
+
address1: string;
|
|
682
|
+
city: string;
|
|
683
|
+
address2?: string | null | undefined;
|
|
684
|
+
neighborhood?: string | null | undefined;
|
|
685
|
+
province?: string | null | undefined;
|
|
686
|
+
postalCode?: string | null | undefined;
|
|
687
|
+
}>, {
|
|
688
|
+
type: AddressType;
|
|
689
|
+
firstName: string;
|
|
690
|
+
lastName: string;
|
|
636
691
|
phoneNumber: string;
|
|
692
|
+
additionalInfo?: string | null | undefined;
|
|
693
|
+
taxId?: string | null | undefined;
|
|
694
|
+
businessName?: string | null | undefined;
|
|
695
|
+
stateRegistrationNumber?: string | null | undefined;
|
|
696
|
+
businessVatId?: string | null | undefined;
|
|
697
|
+
} & {
|
|
698
|
+
country: CountryCode;
|
|
699
|
+
address1: string;
|
|
700
|
+
city: string;
|
|
701
|
+
address2?: string | null | undefined;
|
|
702
|
+
neighborhood?: string | null | undefined;
|
|
703
|
+
province?: string | null | undefined;
|
|
704
|
+
postalCode?: string | null | undefined;
|
|
705
|
+
}, {
|
|
706
|
+
type: AddressType;
|
|
707
|
+
firstName: string;
|
|
637
708
|
lastName: string;
|
|
709
|
+
phoneNumber: string;
|
|
638
710
|
additionalInfo?: string | null | undefined;
|
|
639
711
|
taxId?: string | null | undefined;
|
|
640
712
|
businessName?: string | null | undefined;
|
|
@@ -661,7 +733,7 @@ export declare const getUpdateCustomerAddressSchema: (args: AddressSchemaArgs) =
|
|
|
661
733
|
isDefault?: boolean | null | undefined;
|
|
662
734
|
}, {
|
|
663
735
|
isDefault?: boolean | null | undefined;
|
|
664
|
-
}>, z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodIntersection<z.ZodObject<{
|
|
736
|
+
}>, z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodIntersection<z.ZodObject<{
|
|
665
737
|
type: z.ZodNativeEnum<typeof AddressType>;
|
|
666
738
|
businessName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
667
739
|
/**
|
|
@@ -677,8 +749,8 @@ export declare const getUpdateCustomerAddressSchema: (args: AddressSchemaArgs) =
|
|
|
677
749
|
}, "strip", z.ZodTypeAny, {
|
|
678
750
|
type: AddressType;
|
|
679
751
|
firstName: string;
|
|
680
|
-
phoneNumber: string;
|
|
681
752
|
lastName: string;
|
|
753
|
+
phoneNumber: string;
|
|
682
754
|
additionalInfo?: string | null | undefined;
|
|
683
755
|
taxId?: string | null | undefined;
|
|
684
756
|
businessName?: string | null | undefined;
|
|
@@ -687,8 +759,8 @@ export declare const getUpdateCustomerAddressSchema: (args: AddressSchemaArgs) =
|
|
|
687
759
|
}, {
|
|
688
760
|
type: AddressType;
|
|
689
761
|
firstName: string;
|
|
690
|
-
phoneNumber: string;
|
|
691
762
|
lastName: string;
|
|
763
|
+
phoneNumber: string;
|
|
692
764
|
additionalInfo?: string | null | undefined;
|
|
693
765
|
taxId?: string | null | undefined;
|
|
694
766
|
businessName?: string | null | undefined;
|
|
@@ -785,8 +857,8 @@ export declare const getUpdateCustomerAddressSchema: (args: AddressSchemaArgs) =
|
|
|
785
857
|
}>>, {
|
|
786
858
|
type: AddressType;
|
|
787
859
|
firstName: string;
|
|
788
|
-
phoneNumber: string;
|
|
789
860
|
lastName: string;
|
|
861
|
+
phoneNumber: string;
|
|
790
862
|
additionalInfo?: string | null | undefined;
|
|
791
863
|
taxId?: string | null | undefined;
|
|
792
864
|
businessName?: string | null | undefined;
|
|
@@ -803,8 +875,8 @@ export declare const getUpdateCustomerAddressSchema: (args: AddressSchemaArgs) =
|
|
|
803
875
|
}, {
|
|
804
876
|
type: AddressType;
|
|
805
877
|
firstName: string;
|
|
806
|
-
phoneNumber: string;
|
|
807
878
|
lastName: string;
|
|
879
|
+
phoneNumber: string;
|
|
808
880
|
additionalInfo?: string | null | undefined;
|
|
809
881
|
taxId?: string | null | undefined;
|
|
810
882
|
businessName?: string | null | undefined;
|
|
@@ -821,8 +893,8 @@ export declare const getUpdateCustomerAddressSchema: (args: AddressSchemaArgs) =
|
|
|
821
893
|
}>, {
|
|
822
894
|
type: AddressType;
|
|
823
895
|
firstName: string;
|
|
824
|
-
phoneNumber: string;
|
|
825
896
|
lastName: string;
|
|
897
|
+
phoneNumber: string;
|
|
826
898
|
additionalInfo?: string | null | undefined;
|
|
827
899
|
taxId?: string | null | undefined;
|
|
828
900
|
businessName?: string | null | undefined;
|
|
@@ -839,8 +911,8 @@ export declare const getUpdateCustomerAddressSchema: (args: AddressSchemaArgs) =
|
|
|
839
911
|
}, {
|
|
840
912
|
type: AddressType;
|
|
841
913
|
firstName: string;
|
|
842
|
-
phoneNumber: string;
|
|
843
914
|
lastName: string;
|
|
915
|
+
phoneNumber: string;
|
|
844
916
|
additionalInfo?: string | null | undefined;
|
|
845
917
|
taxId?: string | null | undefined;
|
|
846
918
|
businessName?: string | null | undefined;
|
|
@@ -857,8 +929,8 @@ export declare const getUpdateCustomerAddressSchema: (args: AddressSchemaArgs) =
|
|
|
857
929
|
}>, {
|
|
858
930
|
type: AddressType;
|
|
859
931
|
firstName: string;
|
|
860
|
-
phoneNumber: string;
|
|
861
932
|
lastName: string;
|
|
933
|
+
phoneNumber: string;
|
|
862
934
|
additionalInfo?: string | null | undefined;
|
|
863
935
|
taxId?: string | null | undefined;
|
|
864
936
|
businessName?: string | null | undefined;
|
|
@@ -875,8 +947,8 @@ export declare const getUpdateCustomerAddressSchema: (args: AddressSchemaArgs) =
|
|
|
875
947
|
}, {
|
|
876
948
|
type: AddressType;
|
|
877
949
|
firstName: string;
|
|
878
|
-
phoneNumber: string;
|
|
879
950
|
lastName: string;
|
|
951
|
+
phoneNumber: string;
|
|
880
952
|
additionalInfo?: string | null | undefined;
|
|
881
953
|
taxId?: string | null | undefined;
|
|
882
954
|
businessName?: string | null | undefined;
|
|
@@ -893,8 +965,8 @@ export declare const getUpdateCustomerAddressSchema: (args: AddressSchemaArgs) =
|
|
|
893
965
|
}>, {
|
|
894
966
|
type: AddressType;
|
|
895
967
|
firstName: string;
|
|
896
|
-
phoneNumber: string;
|
|
897
968
|
lastName: string;
|
|
969
|
+
phoneNumber: string;
|
|
898
970
|
additionalInfo?: string | null | undefined;
|
|
899
971
|
taxId?: string | null | undefined;
|
|
900
972
|
businessName?: string | null | undefined;
|
|
@@ -911,8 +983,44 @@ export declare const getUpdateCustomerAddressSchema: (args: AddressSchemaArgs) =
|
|
|
911
983
|
}, {
|
|
912
984
|
type: AddressType;
|
|
913
985
|
firstName: string;
|
|
986
|
+
lastName: string;
|
|
987
|
+
phoneNumber: string;
|
|
988
|
+
additionalInfo?: string | null | undefined;
|
|
989
|
+
taxId?: string | null | undefined;
|
|
990
|
+
businessName?: string | null | undefined;
|
|
991
|
+
stateRegistrationNumber?: string | null | undefined;
|
|
992
|
+
businessVatId?: string | null | undefined;
|
|
993
|
+
} & {
|
|
994
|
+
country: CountryCode;
|
|
995
|
+
address1: string;
|
|
996
|
+
city: string;
|
|
997
|
+
address2?: string | null | undefined;
|
|
998
|
+
neighborhood?: string | null | undefined;
|
|
999
|
+
province?: string | null | undefined;
|
|
1000
|
+
postalCode?: string | null | undefined;
|
|
1001
|
+
}>, {
|
|
1002
|
+
type: AddressType;
|
|
1003
|
+
firstName: string;
|
|
1004
|
+
lastName: string;
|
|
914
1005
|
phoneNumber: string;
|
|
1006
|
+
additionalInfo?: string | null | undefined;
|
|
1007
|
+
taxId?: string | null | undefined;
|
|
1008
|
+
businessName?: string | null | undefined;
|
|
1009
|
+
stateRegistrationNumber?: string | null | undefined;
|
|
1010
|
+
businessVatId?: string | null | undefined;
|
|
1011
|
+
} & {
|
|
1012
|
+
country: CountryCode;
|
|
1013
|
+
address1: string;
|
|
1014
|
+
city: string;
|
|
1015
|
+
address2?: string | null | undefined;
|
|
1016
|
+
neighborhood?: string | null | undefined;
|
|
1017
|
+
province?: string | null | undefined;
|
|
1018
|
+
postalCode?: string | null | undefined;
|
|
1019
|
+
}, {
|
|
1020
|
+
type: AddressType;
|
|
1021
|
+
firstName: string;
|
|
915
1022
|
lastName: string;
|
|
1023
|
+
phoneNumber: string;
|
|
916
1024
|
additionalInfo?: string | null | undefined;
|
|
917
1025
|
taxId?: string | null | undefined;
|
|
918
1026
|
businessName?: string | null | undefined;
|
|
@@ -936,7 +1044,7 @@ export declare const getUpdateOrderAddressSchema: (args: AddressSchemaArgs) => z
|
|
|
936
1044
|
}, {
|
|
937
1045
|
customerAddressId?: string | null | undefined;
|
|
938
1046
|
saveForFutureUse?: boolean | null | undefined;
|
|
939
|
-
}>, z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodIntersection<z.ZodObject<{
|
|
1047
|
+
}>, z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodIntersection<z.ZodObject<{
|
|
940
1048
|
type: z.ZodNativeEnum<typeof AddressType>;
|
|
941
1049
|
businessName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
942
1050
|
/**
|
|
@@ -952,8 +1060,8 @@ export declare const getUpdateOrderAddressSchema: (args: AddressSchemaArgs) => z
|
|
|
952
1060
|
}, "strip", z.ZodTypeAny, {
|
|
953
1061
|
type: AddressType;
|
|
954
1062
|
firstName: string;
|
|
955
|
-
phoneNumber: string;
|
|
956
1063
|
lastName: string;
|
|
1064
|
+
phoneNumber: string;
|
|
957
1065
|
additionalInfo?: string | null | undefined;
|
|
958
1066
|
taxId?: string | null | undefined;
|
|
959
1067
|
businessName?: string | null | undefined;
|
|
@@ -962,8 +1070,8 @@ export declare const getUpdateOrderAddressSchema: (args: AddressSchemaArgs) => z
|
|
|
962
1070
|
}, {
|
|
963
1071
|
type: AddressType;
|
|
964
1072
|
firstName: string;
|
|
965
|
-
phoneNumber: string;
|
|
966
1073
|
lastName: string;
|
|
1074
|
+
phoneNumber: string;
|
|
967
1075
|
additionalInfo?: string | null | undefined;
|
|
968
1076
|
taxId?: string | null | undefined;
|
|
969
1077
|
businessName?: string | null | undefined;
|
|
@@ -1060,8 +1168,8 @@ export declare const getUpdateOrderAddressSchema: (args: AddressSchemaArgs) => z
|
|
|
1060
1168
|
}>>, {
|
|
1061
1169
|
type: AddressType;
|
|
1062
1170
|
firstName: string;
|
|
1063
|
-
phoneNumber: string;
|
|
1064
1171
|
lastName: string;
|
|
1172
|
+
phoneNumber: string;
|
|
1065
1173
|
additionalInfo?: string | null | undefined;
|
|
1066
1174
|
taxId?: string | null | undefined;
|
|
1067
1175
|
businessName?: string | null | undefined;
|
|
@@ -1078,8 +1186,8 @@ export declare const getUpdateOrderAddressSchema: (args: AddressSchemaArgs) => z
|
|
|
1078
1186
|
}, {
|
|
1079
1187
|
type: AddressType;
|
|
1080
1188
|
firstName: string;
|
|
1081
|
-
phoneNumber: string;
|
|
1082
1189
|
lastName: string;
|
|
1190
|
+
phoneNumber: string;
|
|
1083
1191
|
additionalInfo?: string | null | undefined;
|
|
1084
1192
|
taxId?: string | null | undefined;
|
|
1085
1193
|
businessName?: string | null | undefined;
|
|
@@ -1096,8 +1204,8 @@ export declare const getUpdateOrderAddressSchema: (args: AddressSchemaArgs) => z
|
|
|
1096
1204
|
}>, {
|
|
1097
1205
|
type: AddressType;
|
|
1098
1206
|
firstName: string;
|
|
1099
|
-
phoneNumber: string;
|
|
1100
1207
|
lastName: string;
|
|
1208
|
+
phoneNumber: string;
|
|
1101
1209
|
additionalInfo?: string | null | undefined;
|
|
1102
1210
|
taxId?: string | null | undefined;
|
|
1103
1211
|
businessName?: string | null | undefined;
|
|
@@ -1114,8 +1222,8 @@ export declare const getUpdateOrderAddressSchema: (args: AddressSchemaArgs) => z
|
|
|
1114
1222
|
}, {
|
|
1115
1223
|
type: AddressType;
|
|
1116
1224
|
firstName: string;
|
|
1117
|
-
phoneNumber: string;
|
|
1118
1225
|
lastName: string;
|
|
1226
|
+
phoneNumber: string;
|
|
1119
1227
|
additionalInfo?: string | null | undefined;
|
|
1120
1228
|
taxId?: string | null | undefined;
|
|
1121
1229
|
businessName?: string | null | undefined;
|
|
@@ -1132,8 +1240,8 @@ export declare const getUpdateOrderAddressSchema: (args: AddressSchemaArgs) => z
|
|
|
1132
1240
|
}>, {
|
|
1133
1241
|
type: AddressType;
|
|
1134
1242
|
firstName: string;
|
|
1135
|
-
phoneNumber: string;
|
|
1136
1243
|
lastName: string;
|
|
1244
|
+
phoneNumber: string;
|
|
1137
1245
|
additionalInfo?: string | null | undefined;
|
|
1138
1246
|
taxId?: string | null | undefined;
|
|
1139
1247
|
businessName?: string | null | undefined;
|
|
@@ -1150,8 +1258,8 @@ export declare const getUpdateOrderAddressSchema: (args: AddressSchemaArgs) => z
|
|
|
1150
1258
|
}, {
|
|
1151
1259
|
type: AddressType;
|
|
1152
1260
|
firstName: string;
|
|
1153
|
-
phoneNumber: string;
|
|
1154
1261
|
lastName: string;
|
|
1262
|
+
phoneNumber: string;
|
|
1155
1263
|
additionalInfo?: string | null | undefined;
|
|
1156
1264
|
taxId?: string | null | undefined;
|
|
1157
1265
|
businessName?: string | null | undefined;
|
|
@@ -1168,8 +1276,8 @@ export declare const getUpdateOrderAddressSchema: (args: AddressSchemaArgs) => z
|
|
|
1168
1276
|
}>, {
|
|
1169
1277
|
type: AddressType;
|
|
1170
1278
|
firstName: string;
|
|
1171
|
-
phoneNumber: string;
|
|
1172
1279
|
lastName: string;
|
|
1280
|
+
phoneNumber: string;
|
|
1173
1281
|
additionalInfo?: string | null | undefined;
|
|
1174
1282
|
taxId?: string | null | undefined;
|
|
1175
1283
|
businessName?: string | null | undefined;
|
|
@@ -1186,8 +1294,44 @@ export declare const getUpdateOrderAddressSchema: (args: AddressSchemaArgs) => z
|
|
|
1186
1294
|
}, {
|
|
1187
1295
|
type: AddressType;
|
|
1188
1296
|
firstName: string;
|
|
1297
|
+
lastName: string;
|
|
1189
1298
|
phoneNumber: string;
|
|
1299
|
+
additionalInfo?: string | null | undefined;
|
|
1300
|
+
taxId?: string | null | undefined;
|
|
1301
|
+
businessName?: string | null | undefined;
|
|
1302
|
+
stateRegistrationNumber?: string | null | undefined;
|
|
1303
|
+
businessVatId?: string | null | undefined;
|
|
1304
|
+
} & {
|
|
1305
|
+
country: CountryCode;
|
|
1306
|
+
address1: string;
|
|
1307
|
+
city: string;
|
|
1308
|
+
address2?: string | null | undefined;
|
|
1309
|
+
neighborhood?: string | null | undefined;
|
|
1310
|
+
province?: string | null | undefined;
|
|
1311
|
+
postalCode?: string | null | undefined;
|
|
1312
|
+
}>, {
|
|
1313
|
+
type: AddressType;
|
|
1314
|
+
firstName: string;
|
|
1190
1315
|
lastName: string;
|
|
1316
|
+
phoneNumber: string;
|
|
1317
|
+
additionalInfo?: string | null | undefined;
|
|
1318
|
+
taxId?: string | null | undefined;
|
|
1319
|
+
businessName?: string | null | undefined;
|
|
1320
|
+
stateRegistrationNumber?: string | null | undefined;
|
|
1321
|
+
businessVatId?: string | null | undefined;
|
|
1322
|
+
} & {
|
|
1323
|
+
country: CountryCode;
|
|
1324
|
+
address1: string;
|
|
1325
|
+
city: string;
|
|
1326
|
+
address2?: string | null | undefined;
|
|
1327
|
+
neighborhood?: string | null | undefined;
|
|
1328
|
+
province?: string | null | undefined;
|
|
1329
|
+
postalCode?: string | null | undefined;
|
|
1330
|
+
}, {
|
|
1331
|
+
type: AddressType;
|
|
1332
|
+
firstName: string;
|
|
1333
|
+
lastName: string;
|
|
1334
|
+
phoneNumber: string;
|
|
1191
1335
|
additionalInfo?: string | null | undefined;
|
|
1192
1336
|
taxId?: string | null | undefined;
|
|
1193
1337
|
businessName?: string | null | undefined;
|
|
@@ -1217,7 +1361,7 @@ export declare const getAddressFieldsSchema: (args: AddressSchemaArgs) => z.ZodI
|
|
|
1217
1361
|
isDefault?: boolean | null | undefined;
|
|
1218
1362
|
}, {
|
|
1219
1363
|
isDefault?: boolean | null | undefined;
|
|
1220
|
-
}>, z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodIntersection<z.ZodObject<{
|
|
1364
|
+
}>, z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodIntersection<z.ZodObject<{
|
|
1221
1365
|
type: z.ZodNativeEnum<typeof AddressType>;
|
|
1222
1366
|
businessName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1223
1367
|
/**
|
|
@@ -1233,8 +1377,8 @@ export declare const getAddressFieldsSchema: (args: AddressSchemaArgs) => z.ZodI
|
|
|
1233
1377
|
}, "strip", z.ZodTypeAny, {
|
|
1234
1378
|
type: AddressType;
|
|
1235
1379
|
firstName: string;
|
|
1236
|
-
phoneNumber: string;
|
|
1237
1380
|
lastName: string;
|
|
1381
|
+
phoneNumber: string;
|
|
1238
1382
|
additionalInfo?: string | null | undefined;
|
|
1239
1383
|
taxId?: string | null | undefined;
|
|
1240
1384
|
businessName?: string | null | undefined;
|
|
@@ -1243,8 +1387,8 @@ export declare const getAddressFieldsSchema: (args: AddressSchemaArgs) => z.ZodI
|
|
|
1243
1387
|
}, {
|
|
1244
1388
|
type: AddressType;
|
|
1245
1389
|
firstName: string;
|
|
1246
|
-
phoneNumber: string;
|
|
1247
1390
|
lastName: string;
|
|
1391
|
+
phoneNumber: string;
|
|
1248
1392
|
additionalInfo?: string | null | undefined;
|
|
1249
1393
|
taxId?: string | null | undefined;
|
|
1250
1394
|
businessName?: string | null | undefined;
|
|
@@ -1341,8 +1485,8 @@ export declare const getAddressFieldsSchema: (args: AddressSchemaArgs) => z.ZodI
|
|
|
1341
1485
|
}>>, {
|
|
1342
1486
|
type: AddressType;
|
|
1343
1487
|
firstName: string;
|
|
1344
|
-
phoneNumber: string;
|
|
1345
1488
|
lastName: string;
|
|
1489
|
+
phoneNumber: string;
|
|
1346
1490
|
additionalInfo?: string | null | undefined;
|
|
1347
1491
|
taxId?: string | null | undefined;
|
|
1348
1492
|
businessName?: string | null | undefined;
|
|
@@ -1359,8 +1503,8 @@ export declare const getAddressFieldsSchema: (args: AddressSchemaArgs) => z.ZodI
|
|
|
1359
1503
|
}, {
|
|
1360
1504
|
type: AddressType;
|
|
1361
1505
|
firstName: string;
|
|
1362
|
-
phoneNumber: string;
|
|
1363
1506
|
lastName: string;
|
|
1507
|
+
phoneNumber: string;
|
|
1364
1508
|
additionalInfo?: string | null | undefined;
|
|
1365
1509
|
taxId?: string | null | undefined;
|
|
1366
1510
|
businessName?: string | null | undefined;
|
|
@@ -1377,8 +1521,8 @@ export declare const getAddressFieldsSchema: (args: AddressSchemaArgs) => z.ZodI
|
|
|
1377
1521
|
}>, {
|
|
1378
1522
|
type: AddressType;
|
|
1379
1523
|
firstName: string;
|
|
1380
|
-
phoneNumber: string;
|
|
1381
1524
|
lastName: string;
|
|
1525
|
+
phoneNumber: string;
|
|
1382
1526
|
additionalInfo?: string | null | undefined;
|
|
1383
1527
|
taxId?: string | null | undefined;
|
|
1384
1528
|
businessName?: string | null | undefined;
|
|
@@ -1395,8 +1539,8 @@ export declare const getAddressFieldsSchema: (args: AddressSchemaArgs) => z.ZodI
|
|
|
1395
1539
|
}, {
|
|
1396
1540
|
type: AddressType;
|
|
1397
1541
|
firstName: string;
|
|
1398
|
-
phoneNumber: string;
|
|
1399
1542
|
lastName: string;
|
|
1543
|
+
phoneNumber: string;
|
|
1400
1544
|
additionalInfo?: string | null | undefined;
|
|
1401
1545
|
taxId?: string | null | undefined;
|
|
1402
1546
|
businessName?: string | null | undefined;
|
|
@@ -1413,8 +1557,8 @@ export declare const getAddressFieldsSchema: (args: AddressSchemaArgs) => z.ZodI
|
|
|
1413
1557
|
}>, {
|
|
1414
1558
|
type: AddressType;
|
|
1415
1559
|
firstName: string;
|
|
1416
|
-
phoneNumber: string;
|
|
1417
1560
|
lastName: string;
|
|
1561
|
+
phoneNumber: string;
|
|
1418
1562
|
additionalInfo?: string | null | undefined;
|
|
1419
1563
|
taxId?: string | null | undefined;
|
|
1420
1564
|
businessName?: string | null | undefined;
|
|
@@ -1431,8 +1575,8 @@ export declare const getAddressFieldsSchema: (args: AddressSchemaArgs) => z.ZodI
|
|
|
1431
1575
|
}, {
|
|
1432
1576
|
type: AddressType;
|
|
1433
1577
|
firstName: string;
|
|
1434
|
-
phoneNumber: string;
|
|
1435
1578
|
lastName: string;
|
|
1579
|
+
phoneNumber: string;
|
|
1436
1580
|
additionalInfo?: string | null | undefined;
|
|
1437
1581
|
taxId?: string | null | undefined;
|
|
1438
1582
|
businessName?: string | null | undefined;
|
|
@@ -1449,8 +1593,8 @@ export declare const getAddressFieldsSchema: (args: AddressSchemaArgs) => z.ZodI
|
|
|
1449
1593
|
}>, {
|
|
1450
1594
|
type: AddressType;
|
|
1451
1595
|
firstName: string;
|
|
1452
|
-
phoneNumber: string;
|
|
1453
1596
|
lastName: string;
|
|
1597
|
+
phoneNumber: string;
|
|
1454
1598
|
additionalInfo?: string | null | undefined;
|
|
1455
1599
|
taxId?: string | null | undefined;
|
|
1456
1600
|
businessName?: string | null | undefined;
|
|
@@ -1467,8 +1611,44 @@ export declare const getAddressFieldsSchema: (args: AddressSchemaArgs) => z.ZodI
|
|
|
1467
1611
|
}, {
|
|
1468
1612
|
type: AddressType;
|
|
1469
1613
|
firstName: string;
|
|
1614
|
+
lastName: string;
|
|
1615
|
+
phoneNumber: string;
|
|
1616
|
+
additionalInfo?: string | null | undefined;
|
|
1617
|
+
taxId?: string | null | undefined;
|
|
1618
|
+
businessName?: string | null | undefined;
|
|
1619
|
+
stateRegistrationNumber?: string | null | undefined;
|
|
1620
|
+
businessVatId?: string | null | undefined;
|
|
1621
|
+
} & {
|
|
1622
|
+
country: CountryCode;
|
|
1623
|
+
address1: string;
|
|
1624
|
+
city: string;
|
|
1625
|
+
address2?: string | null | undefined;
|
|
1626
|
+
neighborhood?: string | null | undefined;
|
|
1627
|
+
province?: string | null | undefined;
|
|
1628
|
+
postalCode?: string | null | undefined;
|
|
1629
|
+
}>, {
|
|
1630
|
+
type: AddressType;
|
|
1631
|
+
firstName: string;
|
|
1632
|
+
lastName: string;
|
|
1470
1633
|
phoneNumber: string;
|
|
1634
|
+
additionalInfo?: string | null | undefined;
|
|
1635
|
+
taxId?: string | null | undefined;
|
|
1636
|
+
businessName?: string | null | undefined;
|
|
1637
|
+
stateRegistrationNumber?: string | null | undefined;
|
|
1638
|
+
businessVatId?: string | null | undefined;
|
|
1639
|
+
} & {
|
|
1640
|
+
country: CountryCode;
|
|
1641
|
+
address1: string;
|
|
1642
|
+
city: string;
|
|
1643
|
+
address2?: string | null | undefined;
|
|
1644
|
+
neighborhood?: string | null | undefined;
|
|
1645
|
+
province?: string | null | undefined;
|
|
1646
|
+
postalCode?: string | null | undefined;
|
|
1647
|
+
}, {
|
|
1648
|
+
type: AddressType;
|
|
1649
|
+
firstName: string;
|
|
1471
1650
|
lastName: string;
|
|
1651
|
+
phoneNumber: string;
|
|
1472
1652
|
additionalInfo?: string | null | undefined;
|
|
1473
1653
|
taxId?: string | null | undefined;
|
|
1474
1654
|
businessName?: string | null | undefined;
|
|
@@ -1491,7 +1671,7 @@ export declare const getAddressFieldsSchema: (args: AddressSchemaArgs) => z.ZodI
|
|
|
1491
1671
|
}, {
|
|
1492
1672
|
customerAddressId?: string | null | undefined;
|
|
1493
1673
|
saveForFutureUse?: boolean | null | undefined;
|
|
1494
|
-
}>, z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodIntersection<z.ZodObject<{
|
|
1674
|
+
}>, z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodIntersection<z.ZodObject<{
|
|
1495
1675
|
type: z.ZodNativeEnum<typeof AddressType>;
|
|
1496
1676
|
businessName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1497
1677
|
/**
|
|
@@ -1507,8 +1687,8 @@ export declare const getAddressFieldsSchema: (args: AddressSchemaArgs) => z.ZodI
|
|
|
1507
1687
|
}, "strip", z.ZodTypeAny, {
|
|
1508
1688
|
type: AddressType;
|
|
1509
1689
|
firstName: string;
|
|
1510
|
-
phoneNumber: string;
|
|
1511
1690
|
lastName: string;
|
|
1691
|
+
phoneNumber: string;
|
|
1512
1692
|
additionalInfo?: string | null | undefined;
|
|
1513
1693
|
taxId?: string | null | undefined;
|
|
1514
1694
|
businessName?: string | null | undefined;
|
|
@@ -1517,8 +1697,8 @@ export declare const getAddressFieldsSchema: (args: AddressSchemaArgs) => z.ZodI
|
|
|
1517
1697
|
}, {
|
|
1518
1698
|
type: AddressType;
|
|
1519
1699
|
firstName: string;
|
|
1520
|
-
phoneNumber: string;
|
|
1521
1700
|
lastName: string;
|
|
1701
|
+
phoneNumber: string;
|
|
1522
1702
|
additionalInfo?: string | null | undefined;
|
|
1523
1703
|
taxId?: string | null | undefined;
|
|
1524
1704
|
businessName?: string | null | undefined;
|
|
@@ -1615,8 +1795,8 @@ export declare const getAddressFieldsSchema: (args: AddressSchemaArgs) => z.ZodI
|
|
|
1615
1795
|
}>>, {
|
|
1616
1796
|
type: AddressType;
|
|
1617
1797
|
firstName: string;
|
|
1618
|
-
phoneNumber: string;
|
|
1619
1798
|
lastName: string;
|
|
1799
|
+
phoneNumber: string;
|
|
1620
1800
|
additionalInfo?: string | null | undefined;
|
|
1621
1801
|
taxId?: string | null | undefined;
|
|
1622
1802
|
businessName?: string | null | undefined;
|
|
@@ -1633,8 +1813,8 @@ export declare const getAddressFieldsSchema: (args: AddressSchemaArgs) => z.ZodI
|
|
|
1633
1813
|
}, {
|
|
1634
1814
|
type: AddressType;
|
|
1635
1815
|
firstName: string;
|
|
1636
|
-
phoneNumber: string;
|
|
1637
1816
|
lastName: string;
|
|
1817
|
+
phoneNumber: string;
|
|
1638
1818
|
additionalInfo?: string | null | undefined;
|
|
1639
1819
|
taxId?: string | null | undefined;
|
|
1640
1820
|
businessName?: string | null | undefined;
|
|
@@ -1651,8 +1831,8 @@ export declare const getAddressFieldsSchema: (args: AddressSchemaArgs) => z.ZodI
|
|
|
1651
1831
|
}>, {
|
|
1652
1832
|
type: AddressType;
|
|
1653
1833
|
firstName: string;
|
|
1654
|
-
phoneNumber: string;
|
|
1655
1834
|
lastName: string;
|
|
1835
|
+
phoneNumber: string;
|
|
1656
1836
|
additionalInfo?: string | null | undefined;
|
|
1657
1837
|
taxId?: string | null | undefined;
|
|
1658
1838
|
businessName?: string | null | undefined;
|
|
@@ -1669,8 +1849,8 @@ export declare const getAddressFieldsSchema: (args: AddressSchemaArgs) => z.ZodI
|
|
|
1669
1849
|
}, {
|
|
1670
1850
|
type: AddressType;
|
|
1671
1851
|
firstName: string;
|
|
1672
|
-
phoneNumber: string;
|
|
1673
1852
|
lastName: string;
|
|
1853
|
+
phoneNumber: string;
|
|
1674
1854
|
additionalInfo?: string | null | undefined;
|
|
1675
1855
|
taxId?: string | null | undefined;
|
|
1676
1856
|
businessName?: string | null | undefined;
|
|
@@ -1687,8 +1867,8 @@ export declare const getAddressFieldsSchema: (args: AddressSchemaArgs) => z.ZodI
|
|
|
1687
1867
|
}>, {
|
|
1688
1868
|
type: AddressType;
|
|
1689
1869
|
firstName: string;
|
|
1690
|
-
phoneNumber: string;
|
|
1691
1870
|
lastName: string;
|
|
1871
|
+
phoneNumber: string;
|
|
1692
1872
|
additionalInfo?: string | null | undefined;
|
|
1693
1873
|
taxId?: string | null | undefined;
|
|
1694
1874
|
businessName?: string | null | undefined;
|
|
@@ -1705,8 +1885,8 @@ export declare const getAddressFieldsSchema: (args: AddressSchemaArgs) => z.ZodI
|
|
|
1705
1885
|
}, {
|
|
1706
1886
|
type: AddressType;
|
|
1707
1887
|
firstName: string;
|
|
1708
|
-
phoneNumber: string;
|
|
1709
1888
|
lastName: string;
|
|
1889
|
+
phoneNumber: string;
|
|
1710
1890
|
additionalInfo?: string | null | undefined;
|
|
1711
1891
|
taxId?: string | null | undefined;
|
|
1712
1892
|
businessName?: string | null | undefined;
|
|
@@ -1723,8 +1903,8 @@ export declare const getAddressFieldsSchema: (args: AddressSchemaArgs) => z.ZodI
|
|
|
1723
1903
|
}>, {
|
|
1724
1904
|
type: AddressType;
|
|
1725
1905
|
firstName: string;
|
|
1726
|
-
phoneNumber: string;
|
|
1727
1906
|
lastName: string;
|
|
1907
|
+
phoneNumber: string;
|
|
1728
1908
|
additionalInfo?: string | null | undefined;
|
|
1729
1909
|
taxId?: string | null | undefined;
|
|
1730
1910
|
businessName?: string | null | undefined;
|
|
@@ -1741,8 +1921,44 @@ export declare const getAddressFieldsSchema: (args: AddressSchemaArgs) => z.ZodI
|
|
|
1741
1921
|
}, {
|
|
1742
1922
|
type: AddressType;
|
|
1743
1923
|
firstName: string;
|
|
1924
|
+
lastName: string;
|
|
1925
|
+
phoneNumber: string;
|
|
1926
|
+
additionalInfo?: string | null | undefined;
|
|
1927
|
+
taxId?: string | null | undefined;
|
|
1928
|
+
businessName?: string | null | undefined;
|
|
1929
|
+
stateRegistrationNumber?: string | null | undefined;
|
|
1930
|
+
businessVatId?: string | null | undefined;
|
|
1931
|
+
} & {
|
|
1932
|
+
country: CountryCode;
|
|
1933
|
+
address1: string;
|
|
1934
|
+
city: string;
|
|
1935
|
+
address2?: string | null | undefined;
|
|
1936
|
+
neighborhood?: string | null | undefined;
|
|
1937
|
+
province?: string | null | undefined;
|
|
1938
|
+
postalCode?: string | null | undefined;
|
|
1939
|
+
}>, {
|
|
1940
|
+
type: AddressType;
|
|
1941
|
+
firstName: string;
|
|
1942
|
+
lastName: string;
|
|
1744
1943
|
phoneNumber: string;
|
|
1944
|
+
additionalInfo?: string | null | undefined;
|
|
1945
|
+
taxId?: string | null | undefined;
|
|
1946
|
+
businessName?: string | null | undefined;
|
|
1947
|
+
stateRegistrationNumber?: string | null | undefined;
|
|
1948
|
+
businessVatId?: string | null | undefined;
|
|
1949
|
+
} & {
|
|
1950
|
+
country: CountryCode;
|
|
1951
|
+
address1: string;
|
|
1952
|
+
city: string;
|
|
1953
|
+
address2?: string | null | undefined;
|
|
1954
|
+
neighborhood?: string | null | undefined;
|
|
1955
|
+
province?: string | null | undefined;
|
|
1956
|
+
postalCode?: string | null | undefined;
|
|
1957
|
+
}, {
|
|
1958
|
+
type: AddressType;
|
|
1959
|
+
firstName: string;
|
|
1745
1960
|
lastName: string;
|
|
1961
|
+
phoneNumber: string;
|
|
1746
1962
|
additionalInfo?: string | null | undefined;
|
|
1747
1963
|
taxId?: string | null | undefined;
|
|
1748
1964
|
businessName?: string | null | undefined;
|