@deliverart/sdk-js-customer 1.1.4 → 1.1.5
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/dist/index.d.cts +940 -940
- package/dist/index.d.ts +940 -940
- package/package.json +5 -5
package/dist/index.d.cts
CHANGED
|
@@ -154,26 +154,26 @@ declare const writableCustomerSchema: z.ZodObject<Omit<Pick<{
|
|
|
154
154
|
declare const customerAddressSchema: z.ZodObject<{
|
|
155
155
|
id: z.ZodString;
|
|
156
156
|
address: z.ZodObject<{
|
|
157
|
-
line1: z.ZodString
|
|
157
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
158
158
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
159
|
-
city: z.ZodString
|
|
160
|
-
region: z.ZodString
|
|
161
|
-
postalCode: z.ZodString
|
|
162
|
-
country: z.ZodString
|
|
159
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
160
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
161
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
162
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
163
163
|
}, "strip", z.ZodTypeAny, {
|
|
164
|
-
line1
|
|
165
|
-
city: string;
|
|
166
|
-
region: string;
|
|
167
|
-
postalCode: string;
|
|
168
|
-
country: string;
|
|
164
|
+
line1?: string | null | undefined;
|
|
169
165
|
line2?: string | null | undefined;
|
|
166
|
+
city?: string | null | undefined;
|
|
167
|
+
region?: string | null | undefined;
|
|
168
|
+
postalCode?: string | null | undefined;
|
|
169
|
+
country?: string | null | undefined;
|
|
170
170
|
}, {
|
|
171
|
-
line1
|
|
172
|
-
city: string;
|
|
173
|
-
region: string;
|
|
174
|
-
postalCode: string;
|
|
175
|
-
country: string;
|
|
171
|
+
line1?: string | null | undefined;
|
|
176
172
|
line2?: string | null | undefined;
|
|
173
|
+
city?: string | null | undefined;
|
|
174
|
+
region?: string | null | undefined;
|
|
175
|
+
postalCode?: string | null | undefined;
|
|
176
|
+
country?: string | null | undefined;
|
|
177
177
|
}>;
|
|
178
178
|
location: z.ZodObject<{
|
|
179
179
|
latitude: z.ZodNumber;
|
|
@@ -192,12 +192,12 @@ declare const customerAddressSchema: z.ZodObject<{
|
|
|
192
192
|
createdAt: string;
|
|
193
193
|
updatedAt: string;
|
|
194
194
|
address: {
|
|
195
|
-
line1
|
|
196
|
-
city: string;
|
|
197
|
-
region: string;
|
|
198
|
-
postalCode: string;
|
|
199
|
-
country: string;
|
|
195
|
+
line1?: string | null | undefined;
|
|
200
196
|
line2?: string | null | undefined;
|
|
197
|
+
city?: string | null | undefined;
|
|
198
|
+
region?: string | null | undefined;
|
|
199
|
+
postalCode?: string | null | undefined;
|
|
200
|
+
country?: string | null | undefined;
|
|
201
201
|
};
|
|
202
202
|
location: {
|
|
203
203
|
latitude: number;
|
|
@@ -208,12 +208,12 @@ declare const customerAddressSchema: z.ZodObject<{
|
|
|
208
208
|
createdAt: string;
|
|
209
209
|
updatedAt: string;
|
|
210
210
|
address: {
|
|
211
|
-
line1
|
|
212
|
-
city: string;
|
|
213
|
-
region: string;
|
|
214
|
-
postalCode: string;
|
|
215
|
-
country: string;
|
|
211
|
+
line1?: string | null | undefined;
|
|
216
212
|
line2?: string | null | undefined;
|
|
213
|
+
city?: string | null | undefined;
|
|
214
|
+
region?: string | null | undefined;
|
|
215
|
+
postalCode?: string | null | undefined;
|
|
216
|
+
country?: string | null | undefined;
|
|
217
217
|
};
|
|
218
218
|
location: {
|
|
219
219
|
latitude: number;
|
|
@@ -224,26 +224,26 @@ type CustomerAddress = z.infer<typeof customerAddressSchema>;
|
|
|
224
224
|
declare const customerAddressDetailsSchema: z.ZodObject<{
|
|
225
225
|
id: z.ZodString;
|
|
226
226
|
address: z.ZodObject<{
|
|
227
|
-
line1: z.ZodString
|
|
227
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
228
228
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
229
|
-
city: z.ZodString
|
|
230
|
-
region: z.ZodString
|
|
231
|
-
postalCode: z.ZodString
|
|
232
|
-
country: z.ZodString
|
|
229
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
230
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
231
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
232
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
233
233
|
}, "strip", z.ZodTypeAny, {
|
|
234
|
-
line1
|
|
235
|
-
city: string;
|
|
236
|
-
region: string;
|
|
237
|
-
postalCode: string;
|
|
238
|
-
country: string;
|
|
234
|
+
line1?: string | null | undefined;
|
|
239
235
|
line2?: string | null | undefined;
|
|
236
|
+
city?: string | null | undefined;
|
|
237
|
+
region?: string | null | undefined;
|
|
238
|
+
postalCode?: string | null | undefined;
|
|
239
|
+
country?: string | null | undefined;
|
|
240
240
|
}, {
|
|
241
|
-
line1
|
|
242
|
-
city: string;
|
|
243
|
-
region: string;
|
|
244
|
-
postalCode: string;
|
|
245
|
-
country: string;
|
|
241
|
+
line1?: string | null | undefined;
|
|
246
242
|
line2?: string | null | undefined;
|
|
243
|
+
city?: string | null | undefined;
|
|
244
|
+
region?: string | null | undefined;
|
|
245
|
+
postalCode?: string | null | undefined;
|
|
246
|
+
country?: string | null | undefined;
|
|
247
247
|
}>;
|
|
248
248
|
location: z.ZodObject<{
|
|
249
249
|
latitude: z.ZodNumber;
|
|
@@ -264,12 +264,12 @@ declare const customerAddressDetailsSchema: z.ZodObject<{
|
|
|
264
264
|
createdAt: string;
|
|
265
265
|
updatedAt: string;
|
|
266
266
|
address: {
|
|
267
|
-
line1
|
|
268
|
-
city: string;
|
|
269
|
-
region: string;
|
|
270
|
-
postalCode: string;
|
|
271
|
-
country: string;
|
|
267
|
+
line1?: string | null | undefined;
|
|
272
268
|
line2?: string | null | undefined;
|
|
269
|
+
city?: string | null | undefined;
|
|
270
|
+
region?: string | null | undefined;
|
|
271
|
+
postalCode?: string | null | undefined;
|
|
272
|
+
country?: string | null | undefined;
|
|
273
273
|
};
|
|
274
274
|
location: {
|
|
275
275
|
latitude: number;
|
|
@@ -281,12 +281,12 @@ declare const customerAddressDetailsSchema: z.ZodObject<{
|
|
|
281
281
|
createdAt: string;
|
|
282
282
|
updatedAt: string;
|
|
283
283
|
address: {
|
|
284
|
-
line1
|
|
285
|
-
city: string;
|
|
286
|
-
region: string;
|
|
287
|
-
postalCode: string;
|
|
288
|
-
country: string;
|
|
284
|
+
line1?: string | null | undefined;
|
|
289
285
|
line2?: string | null | undefined;
|
|
286
|
+
city?: string | null | undefined;
|
|
287
|
+
region?: string | null | undefined;
|
|
288
|
+
postalCode?: string | null | undefined;
|
|
289
|
+
country?: string | null | undefined;
|
|
290
290
|
};
|
|
291
291
|
location: {
|
|
292
292
|
latitude: number;
|
|
@@ -298,26 +298,26 @@ type CustomerAddressDetails = z.infer<typeof customerAddressDetailsSchema>;
|
|
|
298
298
|
declare const writableCreateCustomerAddressSchema: z.ZodObject<Pick<{
|
|
299
299
|
id: z.ZodString;
|
|
300
300
|
address: z.ZodObject<{
|
|
301
|
-
line1: z.ZodString
|
|
301
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
302
302
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
303
|
-
city: z.ZodString
|
|
304
|
-
region: z.ZodString
|
|
305
|
-
postalCode: z.ZodString
|
|
306
|
-
country: z.ZodString
|
|
303
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
304
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
305
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
306
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
307
307
|
}, "strip", z.ZodTypeAny, {
|
|
308
|
-
line1
|
|
309
|
-
city: string;
|
|
310
|
-
region: string;
|
|
311
|
-
postalCode: string;
|
|
312
|
-
country: string;
|
|
308
|
+
line1?: string | null | undefined;
|
|
313
309
|
line2?: string | null | undefined;
|
|
310
|
+
city?: string | null | undefined;
|
|
311
|
+
region?: string | null | undefined;
|
|
312
|
+
postalCode?: string | null | undefined;
|
|
313
|
+
country?: string | null | undefined;
|
|
314
314
|
}, {
|
|
315
|
-
line1
|
|
316
|
-
city: string;
|
|
317
|
-
region: string;
|
|
318
|
-
postalCode: string;
|
|
319
|
-
country: string;
|
|
315
|
+
line1?: string | null | undefined;
|
|
320
316
|
line2?: string | null | undefined;
|
|
317
|
+
city?: string | null | undefined;
|
|
318
|
+
region?: string | null | undefined;
|
|
319
|
+
postalCode?: string | null | undefined;
|
|
320
|
+
country?: string | null | undefined;
|
|
321
321
|
}>;
|
|
322
322
|
location: z.ZodObject<{
|
|
323
323
|
latitude: z.ZodNumber;
|
|
@@ -335,48 +335,48 @@ declare const writableCreateCustomerAddressSchema: z.ZodObject<Pick<{
|
|
|
335
335
|
customer: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/customers/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/customers/:id">>;
|
|
336
336
|
}, "address" | "customer">, "strip", z.ZodTypeAny, {
|
|
337
337
|
address: {
|
|
338
|
-
line1
|
|
339
|
-
city: string;
|
|
340
|
-
region: string;
|
|
341
|
-
postalCode: string;
|
|
342
|
-
country: string;
|
|
338
|
+
line1?: string | null | undefined;
|
|
343
339
|
line2?: string | null | undefined;
|
|
340
|
+
city?: string | null | undefined;
|
|
341
|
+
region?: string | null | undefined;
|
|
342
|
+
postalCode?: string | null | undefined;
|
|
343
|
+
country?: string | null | undefined;
|
|
344
344
|
};
|
|
345
345
|
customer: _deliverart_sdk_js_global_types.IriObject<"/customers/:id">;
|
|
346
346
|
}, {
|
|
347
347
|
address: {
|
|
348
|
-
line1
|
|
349
|
-
city: string;
|
|
350
|
-
region: string;
|
|
351
|
-
postalCode: string;
|
|
352
|
-
country: string;
|
|
348
|
+
line1?: string | null | undefined;
|
|
353
349
|
line2?: string | null | undefined;
|
|
350
|
+
city?: string | null | undefined;
|
|
351
|
+
region?: string | null | undefined;
|
|
352
|
+
postalCode?: string | null | undefined;
|
|
353
|
+
country?: string | null | undefined;
|
|
354
354
|
};
|
|
355
355
|
customer: string | _deliverart_sdk_js_global_types.IriObject<"/customers/:id">;
|
|
356
356
|
}>;
|
|
357
357
|
declare const writableCustomerAddressSchema: z.ZodObject<Omit<Pick<{
|
|
358
358
|
id: z.ZodString;
|
|
359
359
|
address: z.ZodObject<{
|
|
360
|
-
line1: z.ZodString
|
|
360
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
361
361
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
362
|
-
city: z.ZodString
|
|
363
|
-
region: z.ZodString
|
|
364
|
-
postalCode: z.ZodString
|
|
365
|
-
country: z.ZodString
|
|
362
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
363
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
364
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
365
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
366
366
|
}, "strip", z.ZodTypeAny, {
|
|
367
|
-
line1
|
|
368
|
-
city: string;
|
|
369
|
-
region: string;
|
|
370
|
-
postalCode: string;
|
|
371
|
-
country: string;
|
|
367
|
+
line1?: string | null | undefined;
|
|
372
368
|
line2?: string | null | undefined;
|
|
369
|
+
city?: string | null | undefined;
|
|
370
|
+
region?: string | null | undefined;
|
|
371
|
+
postalCode?: string | null | undefined;
|
|
372
|
+
country?: string | null | undefined;
|
|
373
373
|
}, {
|
|
374
|
-
line1
|
|
375
|
-
city: string;
|
|
376
|
-
region: string;
|
|
377
|
-
postalCode: string;
|
|
378
|
-
country: string;
|
|
374
|
+
line1?: string | null | undefined;
|
|
379
375
|
line2?: string | null | undefined;
|
|
376
|
+
city?: string | null | undefined;
|
|
377
|
+
region?: string | null | undefined;
|
|
378
|
+
postalCode?: string | null | undefined;
|
|
379
|
+
country?: string | null | undefined;
|
|
380
380
|
}>;
|
|
381
381
|
location: z.ZodObject<{
|
|
382
382
|
latitude: z.ZodNumber;
|
|
@@ -394,21 +394,21 @@ declare const writableCustomerAddressSchema: z.ZodObject<Omit<Pick<{
|
|
|
394
394
|
customer: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/customers/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/customers/:id">>;
|
|
395
395
|
}, "address" | "customer">, "customer">, "strip", z.ZodTypeAny, {
|
|
396
396
|
address: {
|
|
397
|
-
line1
|
|
398
|
-
city: string;
|
|
399
|
-
region: string;
|
|
400
|
-
postalCode: string;
|
|
401
|
-
country: string;
|
|
397
|
+
line1?: string | null | undefined;
|
|
402
398
|
line2?: string | null | undefined;
|
|
399
|
+
city?: string | null | undefined;
|
|
400
|
+
region?: string | null | undefined;
|
|
401
|
+
postalCode?: string | null | undefined;
|
|
402
|
+
country?: string | null | undefined;
|
|
403
403
|
};
|
|
404
404
|
}, {
|
|
405
405
|
address: {
|
|
406
|
-
line1
|
|
407
|
-
city: string;
|
|
408
|
-
region: string;
|
|
409
|
-
postalCode: string;
|
|
410
|
-
country: string;
|
|
406
|
+
line1?: string | null | undefined;
|
|
411
407
|
line2?: string | null | undefined;
|
|
408
|
+
city?: string | null | undefined;
|
|
409
|
+
region?: string | null | undefined;
|
|
410
|
+
postalCode?: string | null | undefined;
|
|
411
|
+
country?: string | null | undefined;
|
|
412
412
|
};
|
|
413
413
|
}>;
|
|
414
414
|
declare const customerBusinessProfileSchema: z.ZodObject<{
|
|
@@ -417,26 +417,26 @@ declare const customerBusinessProfileSchema: z.ZodObject<{
|
|
|
417
417
|
vat: z.ZodString;
|
|
418
418
|
taxCode: z.ZodString;
|
|
419
419
|
billingAddress: z.ZodObject<{
|
|
420
|
-
line1: z.ZodString
|
|
420
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
421
421
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
422
|
-
city: z.ZodString
|
|
423
|
-
region: z.ZodString
|
|
424
|
-
postalCode: z.ZodString
|
|
425
|
-
country: z.ZodString
|
|
422
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
423
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
424
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
425
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
426
426
|
}, "strip", z.ZodTypeAny, {
|
|
427
|
-
line1
|
|
428
|
-
city: string;
|
|
429
|
-
region: string;
|
|
430
|
-
postalCode: string;
|
|
431
|
-
country: string;
|
|
427
|
+
line1?: string | null | undefined;
|
|
432
428
|
line2?: string | null | undefined;
|
|
429
|
+
city?: string | null | undefined;
|
|
430
|
+
region?: string | null | undefined;
|
|
431
|
+
postalCode?: string | null | undefined;
|
|
432
|
+
country?: string | null | undefined;
|
|
433
433
|
}, {
|
|
434
|
-
line1
|
|
435
|
-
city: string;
|
|
436
|
-
region: string;
|
|
437
|
-
postalCode: string;
|
|
438
|
-
country: string;
|
|
434
|
+
line1?: string | null | undefined;
|
|
439
435
|
line2?: string | null | undefined;
|
|
436
|
+
city?: string | null | undefined;
|
|
437
|
+
region?: string | null | undefined;
|
|
438
|
+
postalCode?: string | null | undefined;
|
|
439
|
+
country?: string | null | undefined;
|
|
440
440
|
}>;
|
|
441
441
|
billingData: z.ZodEffects<z.ZodObject<{
|
|
442
442
|
sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -464,12 +464,12 @@ declare const customerBusinessProfileSchema: z.ZodObject<{
|
|
|
464
464
|
vat: string;
|
|
465
465
|
taxCode: string;
|
|
466
466
|
billingAddress: {
|
|
467
|
-
line1
|
|
468
|
-
city: string;
|
|
469
|
-
region: string;
|
|
470
|
-
postalCode: string;
|
|
471
|
-
country: string;
|
|
467
|
+
line1?: string | null | undefined;
|
|
472
468
|
line2?: string | null | undefined;
|
|
469
|
+
city?: string | null | undefined;
|
|
470
|
+
region?: string | null | undefined;
|
|
471
|
+
postalCode?: string | null | undefined;
|
|
472
|
+
country?: string | null | undefined;
|
|
473
473
|
};
|
|
474
474
|
billingData: {
|
|
475
475
|
sdi?: string | null | undefined;
|
|
@@ -483,12 +483,12 @@ declare const customerBusinessProfileSchema: z.ZodObject<{
|
|
|
483
483
|
vat: string;
|
|
484
484
|
taxCode: string;
|
|
485
485
|
billingAddress: {
|
|
486
|
-
line1
|
|
487
|
-
city: string;
|
|
488
|
-
region: string;
|
|
489
|
-
postalCode: string;
|
|
490
|
-
country: string;
|
|
486
|
+
line1?: string | null | undefined;
|
|
491
487
|
line2?: string | null | undefined;
|
|
488
|
+
city?: string | null | undefined;
|
|
489
|
+
region?: string | null | undefined;
|
|
490
|
+
postalCode?: string | null | undefined;
|
|
491
|
+
country?: string | null | undefined;
|
|
492
492
|
};
|
|
493
493
|
billingData: {
|
|
494
494
|
sdi?: string | null | undefined;
|
|
@@ -502,26 +502,26 @@ declare const customerBusinessProfileDetailsSchema: z.ZodObject<{
|
|
|
502
502
|
vat: z.ZodString;
|
|
503
503
|
taxCode: z.ZodString;
|
|
504
504
|
billingAddress: z.ZodObject<{
|
|
505
|
-
line1: z.ZodString
|
|
505
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
506
506
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
507
|
-
city: z.ZodString
|
|
508
|
-
region: z.ZodString
|
|
509
|
-
postalCode: z.ZodString
|
|
510
|
-
country: z.ZodString
|
|
507
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
508
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
509
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
510
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
511
511
|
}, "strip", z.ZodTypeAny, {
|
|
512
|
-
line1
|
|
513
|
-
city: string;
|
|
514
|
-
region: string;
|
|
515
|
-
postalCode: string;
|
|
516
|
-
country: string;
|
|
512
|
+
line1?: string | null | undefined;
|
|
517
513
|
line2?: string | null | undefined;
|
|
514
|
+
city?: string | null | undefined;
|
|
515
|
+
region?: string | null | undefined;
|
|
516
|
+
postalCode?: string | null | undefined;
|
|
517
|
+
country?: string | null | undefined;
|
|
518
518
|
}, {
|
|
519
|
-
line1
|
|
520
|
-
city: string;
|
|
521
|
-
region: string;
|
|
522
|
-
postalCode: string;
|
|
523
|
-
country: string;
|
|
519
|
+
line1?: string | null | undefined;
|
|
524
520
|
line2?: string | null | undefined;
|
|
521
|
+
city?: string | null | undefined;
|
|
522
|
+
region?: string | null | undefined;
|
|
523
|
+
postalCode?: string | null | undefined;
|
|
524
|
+
country?: string | null | undefined;
|
|
525
525
|
}>;
|
|
526
526
|
billingData: z.ZodEffects<z.ZodObject<{
|
|
527
527
|
sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -552,12 +552,12 @@ declare const customerBusinessProfileDetailsSchema: z.ZodObject<{
|
|
|
552
552
|
vat: string;
|
|
553
553
|
taxCode: string;
|
|
554
554
|
billingAddress: {
|
|
555
|
-
line1
|
|
556
|
-
city: string;
|
|
557
|
-
region: string;
|
|
558
|
-
postalCode: string;
|
|
559
|
-
country: string;
|
|
555
|
+
line1?: string | null | undefined;
|
|
560
556
|
line2?: string | null | undefined;
|
|
557
|
+
city?: string | null | undefined;
|
|
558
|
+
region?: string | null | undefined;
|
|
559
|
+
postalCode?: string | null | undefined;
|
|
560
|
+
country?: string | null | undefined;
|
|
561
561
|
};
|
|
562
562
|
billingData: {
|
|
563
563
|
sdi?: string | null | undefined;
|
|
@@ -572,12 +572,12 @@ declare const customerBusinessProfileDetailsSchema: z.ZodObject<{
|
|
|
572
572
|
vat: string;
|
|
573
573
|
taxCode: string;
|
|
574
574
|
billingAddress: {
|
|
575
|
-
line1
|
|
576
|
-
city: string;
|
|
577
|
-
region: string;
|
|
578
|
-
postalCode: string;
|
|
579
|
-
country: string;
|
|
575
|
+
line1?: string | null | undefined;
|
|
580
576
|
line2?: string | null | undefined;
|
|
577
|
+
city?: string | null | undefined;
|
|
578
|
+
region?: string | null | undefined;
|
|
579
|
+
postalCode?: string | null | undefined;
|
|
580
|
+
country?: string | null | undefined;
|
|
581
581
|
};
|
|
582
582
|
billingData: {
|
|
583
583
|
sdi?: string | null | undefined;
|
|
@@ -591,26 +591,26 @@ declare const writableCreateCustomerBusinessProfileSchema: z.ZodObject<Pick<{
|
|
|
591
591
|
vat: z.ZodString;
|
|
592
592
|
taxCode: z.ZodString;
|
|
593
593
|
billingAddress: z.ZodObject<{
|
|
594
|
-
line1: z.ZodString
|
|
594
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
595
595
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
596
|
-
city: z.ZodString
|
|
597
|
-
region: z.ZodString
|
|
598
|
-
postalCode: z.ZodString
|
|
599
|
-
country: z.ZodString
|
|
596
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
597
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
598
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
599
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
600
600
|
}, "strip", z.ZodTypeAny, {
|
|
601
|
-
line1
|
|
602
|
-
city: string;
|
|
603
|
-
region: string;
|
|
604
|
-
postalCode: string;
|
|
605
|
-
country: string;
|
|
601
|
+
line1?: string | null | undefined;
|
|
606
602
|
line2?: string | null | undefined;
|
|
603
|
+
city?: string | null | undefined;
|
|
604
|
+
region?: string | null | undefined;
|
|
605
|
+
postalCode?: string | null | undefined;
|
|
606
|
+
country?: string | null | undefined;
|
|
607
607
|
}, {
|
|
608
|
-
line1
|
|
609
|
-
city: string;
|
|
610
|
-
region: string;
|
|
611
|
-
postalCode: string;
|
|
612
|
-
country: string;
|
|
608
|
+
line1?: string | null | undefined;
|
|
613
609
|
line2?: string | null | undefined;
|
|
610
|
+
city?: string | null | undefined;
|
|
611
|
+
region?: string | null | undefined;
|
|
612
|
+
postalCode?: string | null | undefined;
|
|
613
|
+
country?: string | null | undefined;
|
|
614
614
|
}>;
|
|
615
615
|
billingData: z.ZodEffects<z.ZodObject<{
|
|
616
616
|
sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -638,12 +638,12 @@ declare const writableCreateCustomerBusinessProfileSchema: z.ZodObject<Pick<{
|
|
|
638
638
|
vat: string;
|
|
639
639
|
taxCode: string;
|
|
640
640
|
billingAddress: {
|
|
641
|
-
line1
|
|
642
|
-
city: string;
|
|
643
|
-
region: string;
|
|
644
|
-
postalCode: string;
|
|
645
|
-
country: string;
|
|
641
|
+
line1?: string | null | undefined;
|
|
646
642
|
line2?: string | null | undefined;
|
|
643
|
+
city?: string | null | undefined;
|
|
644
|
+
region?: string | null | undefined;
|
|
645
|
+
postalCode?: string | null | undefined;
|
|
646
|
+
country?: string | null | undefined;
|
|
647
647
|
};
|
|
648
648
|
billingData: {
|
|
649
649
|
sdi?: string | null | undefined;
|
|
@@ -655,12 +655,12 @@ declare const writableCreateCustomerBusinessProfileSchema: z.ZodObject<Pick<{
|
|
|
655
655
|
vat: string;
|
|
656
656
|
taxCode: string;
|
|
657
657
|
billingAddress: {
|
|
658
|
-
line1
|
|
659
|
-
city: string;
|
|
660
|
-
region: string;
|
|
661
|
-
postalCode: string;
|
|
662
|
-
country: string;
|
|
658
|
+
line1?: string | null | undefined;
|
|
663
659
|
line2?: string | null | undefined;
|
|
660
|
+
city?: string | null | undefined;
|
|
661
|
+
region?: string | null | undefined;
|
|
662
|
+
postalCode?: string | null | undefined;
|
|
663
|
+
country?: string | null | undefined;
|
|
664
664
|
};
|
|
665
665
|
billingData: {
|
|
666
666
|
sdi?: string | null | undefined;
|
|
@@ -673,26 +673,26 @@ declare const writableCustomerBusinessProfileSchema: z.ZodObject<Omit<Pick<{
|
|
|
673
673
|
vat: z.ZodString;
|
|
674
674
|
taxCode: z.ZodString;
|
|
675
675
|
billingAddress: z.ZodObject<{
|
|
676
|
-
line1: z.ZodString
|
|
676
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
677
677
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
678
|
-
city: z.ZodString
|
|
679
|
-
region: z.ZodString
|
|
680
|
-
postalCode: z.ZodString
|
|
681
|
-
country: z.ZodString
|
|
678
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
679
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
680
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
681
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
682
682
|
}, "strip", z.ZodTypeAny, {
|
|
683
|
-
line1
|
|
684
|
-
city: string;
|
|
685
|
-
region: string;
|
|
686
|
-
postalCode: string;
|
|
687
|
-
country: string;
|
|
683
|
+
line1?: string | null | undefined;
|
|
688
684
|
line2?: string | null | undefined;
|
|
685
|
+
city?: string | null | undefined;
|
|
686
|
+
region?: string | null | undefined;
|
|
687
|
+
postalCode?: string | null | undefined;
|
|
688
|
+
country?: string | null | undefined;
|
|
689
689
|
}, {
|
|
690
|
-
line1
|
|
691
|
-
city: string;
|
|
692
|
-
region: string;
|
|
693
|
-
postalCode: string;
|
|
694
|
-
country: string;
|
|
690
|
+
line1?: string | null | undefined;
|
|
695
691
|
line2?: string | null | undefined;
|
|
692
|
+
city?: string | null | undefined;
|
|
693
|
+
region?: string | null | undefined;
|
|
694
|
+
postalCode?: string | null | undefined;
|
|
695
|
+
country?: string | null | undefined;
|
|
696
696
|
}>;
|
|
697
697
|
billingData: z.ZodEffects<z.ZodObject<{
|
|
698
698
|
sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -719,12 +719,12 @@ declare const writableCustomerBusinessProfileSchema: z.ZodObject<Omit<Pick<{
|
|
|
719
719
|
vat: string;
|
|
720
720
|
taxCode: string;
|
|
721
721
|
billingAddress: {
|
|
722
|
-
line1
|
|
723
|
-
city: string;
|
|
724
|
-
region: string;
|
|
725
|
-
postalCode: string;
|
|
726
|
-
country: string;
|
|
722
|
+
line1?: string | null | undefined;
|
|
727
723
|
line2?: string | null | undefined;
|
|
724
|
+
city?: string | null | undefined;
|
|
725
|
+
region?: string | null | undefined;
|
|
726
|
+
postalCode?: string | null | undefined;
|
|
727
|
+
country?: string | null | undefined;
|
|
728
728
|
};
|
|
729
729
|
billingData: {
|
|
730
730
|
sdi?: string | null | undefined;
|
|
@@ -735,12 +735,12 @@ declare const writableCustomerBusinessProfileSchema: z.ZodObject<Omit<Pick<{
|
|
|
735
735
|
vat: string;
|
|
736
736
|
taxCode: string;
|
|
737
737
|
billingAddress: {
|
|
738
|
-
line1
|
|
739
|
-
city: string;
|
|
740
|
-
region: string;
|
|
741
|
-
postalCode: string;
|
|
742
|
-
country: string;
|
|
738
|
+
line1?: string | null | undefined;
|
|
743
739
|
line2?: string | null | undefined;
|
|
740
|
+
city?: string | null | undefined;
|
|
741
|
+
region?: string | null | undefined;
|
|
742
|
+
postalCode?: string | null | undefined;
|
|
743
|
+
country?: string | null | undefined;
|
|
744
744
|
};
|
|
745
745
|
billingData: {
|
|
746
746
|
sdi?: string | null | undefined;
|
|
@@ -843,46 +843,46 @@ type CustomersQueryParams = z.infer<typeof customersQuerySchema>;
|
|
|
843
843
|
|
|
844
844
|
declare const createCustomerAddressInputSchema: z.ZodObject<{
|
|
845
845
|
address: z.ZodObject<{
|
|
846
|
-
line1: z.ZodString
|
|
846
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
847
847
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
848
|
-
city: z.ZodString
|
|
849
|
-
region: z.ZodString
|
|
850
|
-
postalCode: z.ZodString
|
|
851
|
-
country: z.ZodString
|
|
848
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
849
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
850
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
851
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
852
852
|
}, "strip", z.ZodTypeAny, {
|
|
853
|
-
line1
|
|
854
|
-
city: string;
|
|
855
|
-
region: string;
|
|
856
|
-
postalCode: string;
|
|
857
|
-
country: string;
|
|
853
|
+
line1?: string | null | undefined;
|
|
858
854
|
line2?: string | null | undefined;
|
|
855
|
+
city?: string | null | undefined;
|
|
856
|
+
region?: string | null | undefined;
|
|
857
|
+
postalCode?: string | null | undefined;
|
|
858
|
+
country?: string | null | undefined;
|
|
859
859
|
}, {
|
|
860
|
-
line1
|
|
861
|
-
city: string;
|
|
862
|
-
region: string;
|
|
863
|
-
postalCode: string;
|
|
864
|
-
country: string;
|
|
860
|
+
line1?: string | null | undefined;
|
|
865
861
|
line2?: string | null | undefined;
|
|
862
|
+
city?: string | null | undefined;
|
|
863
|
+
region?: string | null | undefined;
|
|
864
|
+
postalCode?: string | null | undefined;
|
|
865
|
+
country?: string | null | undefined;
|
|
866
866
|
}>;
|
|
867
867
|
customer: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/customers/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/customers/:id">>;
|
|
868
868
|
}, "strip", z.ZodTypeAny, {
|
|
869
869
|
address: {
|
|
870
|
-
line1
|
|
871
|
-
city: string;
|
|
872
|
-
region: string;
|
|
873
|
-
postalCode: string;
|
|
874
|
-
country: string;
|
|
870
|
+
line1?: string | null | undefined;
|
|
875
871
|
line2?: string | null | undefined;
|
|
872
|
+
city?: string | null | undefined;
|
|
873
|
+
region?: string | null | undefined;
|
|
874
|
+
postalCode?: string | null | undefined;
|
|
875
|
+
country?: string | null | undefined;
|
|
876
876
|
};
|
|
877
877
|
customer: _deliverart_sdk_js_global_types.IriObject<"/customers/:id">;
|
|
878
878
|
}, {
|
|
879
879
|
address: {
|
|
880
|
-
line1
|
|
881
|
-
city: string;
|
|
882
|
-
region: string;
|
|
883
|
-
postalCode: string;
|
|
884
|
-
country: string;
|
|
880
|
+
line1?: string | null | undefined;
|
|
885
881
|
line2?: string | null | undefined;
|
|
882
|
+
city?: string | null | undefined;
|
|
883
|
+
region?: string | null | undefined;
|
|
884
|
+
postalCode?: string | null | undefined;
|
|
885
|
+
country?: string | null | undefined;
|
|
886
886
|
};
|
|
887
887
|
customer: string | _deliverart_sdk_js_global_types.IriObject<"/customers/:id">;
|
|
888
888
|
}>;
|
|
@@ -890,26 +890,26 @@ type CreateCustomerAddressInput = z.input<typeof createCustomerAddressInputSchem
|
|
|
890
890
|
declare const createCustomerAddressResponseSchema: z.ZodObject<{
|
|
891
891
|
id: z.ZodString;
|
|
892
892
|
address: z.ZodObject<{
|
|
893
|
-
line1: z.ZodString
|
|
893
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
894
894
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
895
|
-
city: z.ZodString
|
|
896
|
-
region: z.ZodString
|
|
897
|
-
postalCode: z.ZodString
|
|
898
|
-
country: z.ZodString
|
|
895
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
896
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
897
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
898
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
899
899
|
}, "strip", z.ZodTypeAny, {
|
|
900
|
-
line1
|
|
901
|
-
city: string;
|
|
902
|
-
region: string;
|
|
903
|
-
postalCode: string;
|
|
904
|
-
country: string;
|
|
900
|
+
line1?: string | null | undefined;
|
|
905
901
|
line2?: string | null | undefined;
|
|
902
|
+
city?: string | null | undefined;
|
|
903
|
+
region?: string | null | undefined;
|
|
904
|
+
postalCode?: string | null | undefined;
|
|
905
|
+
country?: string | null | undefined;
|
|
906
906
|
}, {
|
|
907
|
-
line1
|
|
908
|
-
city: string;
|
|
909
|
-
region: string;
|
|
910
|
-
postalCode: string;
|
|
911
|
-
country: string;
|
|
907
|
+
line1?: string | null | undefined;
|
|
912
908
|
line2?: string | null | undefined;
|
|
909
|
+
city?: string | null | undefined;
|
|
910
|
+
region?: string | null | undefined;
|
|
911
|
+
postalCode?: string | null | undefined;
|
|
912
|
+
country?: string | null | undefined;
|
|
913
913
|
}>;
|
|
914
914
|
location: z.ZodObject<{
|
|
915
915
|
latitude: z.ZodNumber;
|
|
@@ -930,12 +930,12 @@ declare const createCustomerAddressResponseSchema: z.ZodObject<{
|
|
|
930
930
|
createdAt: string;
|
|
931
931
|
updatedAt: string;
|
|
932
932
|
address: {
|
|
933
|
-
line1
|
|
934
|
-
city: string;
|
|
935
|
-
region: string;
|
|
936
|
-
postalCode: string;
|
|
937
|
-
country: string;
|
|
933
|
+
line1?: string | null | undefined;
|
|
938
934
|
line2?: string | null | undefined;
|
|
935
|
+
city?: string | null | undefined;
|
|
936
|
+
region?: string | null | undefined;
|
|
937
|
+
postalCode?: string | null | undefined;
|
|
938
|
+
country?: string | null | undefined;
|
|
939
939
|
};
|
|
940
940
|
location: {
|
|
941
941
|
latitude: number;
|
|
@@ -947,12 +947,12 @@ declare const createCustomerAddressResponseSchema: z.ZodObject<{
|
|
|
947
947
|
createdAt: string;
|
|
948
948
|
updatedAt: string;
|
|
949
949
|
address: {
|
|
950
|
-
line1
|
|
951
|
-
city: string;
|
|
952
|
-
region: string;
|
|
953
|
-
postalCode: string;
|
|
954
|
-
country: string;
|
|
950
|
+
line1?: string | null | undefined;
|
|
955
951
|
line2?: string | null | undefined;
|
|
952
|
+
city?: string | null | undefined;
|
|
953
|
+
region?: string | null | undefined;
|
|
954
|
+
postalCode?: string | null | undefined;
|
|
955
|
+
country?: string | null | undefined;
|
|
956
956
|
};
|
|
957
957
|
location: {
|
|
958
958
|
latitude: number;
|
|
@@ -967,72 +967,72 @@ declare class CreateCustomerAddress extends AbstractApiRequest<typeof createCust
|
|
|
967
967
|
readonly accept = "application/json";
|
|
968
968
|
readonly inputSchema: z.ZodObject<{
|
|
969
969
|
address: z.ZodObject<{
|
|
970
|
-
line1: z.ZodString
|
|
970
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
971
971
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
972
|
-
city: z.ZodString
|
|
973
|
-
region: z.ZodString
|
|
974
|
-
postalCode: z.ZodString
|
|
975
|
-
country: z.ZodString
|
|
972
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
973
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
974
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
975
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
976
976
|
}, "strip", z.ZodTypeAny, {
|
|
977
|
-
line1
|
|
978
|
-
city: string;
|
|
979
|
-
region: string;
|
|
980
|
-
postalCode: string;
|
|
981
|
-
country: string;
|
|
977
|
+
line1?: string | null | undefined;
|
|
982
978
|
line2?: string | null | undefined;
|
|
979
|
+
city?: string | null | undefined;
|
|
980
|
+
region?: string | null | undefined;
|
|
981
|
+
postalCode?: string | null | undefined;
|
|
982
|
+
country?: string | null | undefined;
|
|
983
983
|
}, {
|
|
984
|
-
line1
|
|
985
|
-
city: string;
|
|
986
|
-
region: string;
|
|
987
|
-
postalCode: string;
|
|
988
|
-
country: string;
|
|
984
|
+
line1?: string | null | undefined;
|
|
989
985
|
line2?: string | null | undefined;
|
|
986
|
+
city?: string | null | undefined;
|
|
987
|
+
region?: string | null | undefined;
|
|
988
|
+
postalCode?: string | null | undefined;
|
|
989
|
+
country?: string | null | undefined;
|
|
990
990
|
}>;
|
|
991
991
|
customer: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/customers/:id">, any, string | _deliverart_sdk_js_global_types.IriObject<"/customers/:id">>;
|
|
992
992
|
}, "strip", z.ZodTypeAny, {
|
|
993
993
|
address: {
|
|
994
|
-
line1
|
|
995
|
-
city: string;
|
|
996
|
-
region: string;
|
|
997
|
-
postalCode: string;
|
|
998
|
-
country: string;
|
|
994
|
+
line1?: string | null | undefined;
|
|
999
995
|
line2?: string | null | undefined;
|
|
996
|
+
city?: string | null | undefined;
|
|
997
|
+
region?: string | null | undefined;
|
|
998
|
+
postalCode?: string | null | undefined;
|
|
999
|
+
country?: string | null | undefined;
|
|
1000
1000
|
};
|
|
1001
1001
|
customer: _deliverart_sdk_js_global_types.IriObject<"/customers/:id">;
|
|
1002
1002
|
}, {
|
|
1003
1003
|
address: {
|
|
1004
|
-
line1
|
|
1005
|
-
city: string;
|
|
1006
|
-
region: string;
|
|
1007
|
-
postalCode: string;
|
|
1008
|
-
country: string;
|
|
1004
|
+
line1?: string | null | undefined;
|
|
1009
1005
|
line2?: string | null | undefined;
|
|
1006
|
+
city?: string | null | undefined;
|
|
1007
|
+
region?: string | null | undefined;
|
|
1008
|
+
postalCode?: string | null | undefined;
|
|
1009
|
+
country?: string | null | undefined;
|
|
1010
1010
|
};
|
|
1011
1011
|
customer: string | _deliverart_sdk_js_global_types.IriObject<"/customers/:id">;
|
|
1012
1012
|
}>;
|
|
1013
1013
|
readonly outputSchema: z.ZodObject<{
|
|
1014
1014
|
id: z.ZodString;
|
|
1015
1015
|
address: z.ZodObject<{
|
|
1016
|
-
line1: z.ZodString
|
|
1016
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1017
1017
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1018
|
-
city: z.ZodString
|
|
1019
|
-
region: z.ZodString
|
|
1020
|
-
postalCode: z.ZodString
|
|
1021
|
-
country: z.ZodString
|
|
1018
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1019
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1020
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1021
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1022
1022
|
}, "strip", z.ZodTypeAny, {
|
|
1023
|
-
line1
|
|
1024
|
-
city: string;
|
|
1025
|
-
region: string;
|
|
1026
|
-
postalCode: string;
|
|
1027
|
-
country: string;
|
|
1023
|
+
line1?: string | null | undefined;
|
|
1028
1024
|
line2?: string | null | undefined;
|
|
1025
|
+
city?: string | null | undefined;
|
|
1026
|
+
region?: string | null | undefined;
|
|
1027
|
+
postalCode?: string | null | undefined;
|
|
1028
|
+
country?: string | null | undefined;
|
|
1029
1029
|
}, {
|
|
1030
|
-
line1
|
|
1031
|
-
city: string;
|
|
1032
|
-
region: string;
|
|
1033
|
-
postalCode: string;
|
|
1034
|
-
country: string;
|
|
1030
|
+
line1?: string | null | undefined;
|
|
1035
1031
|
line2?: string | null | undefined;
|
|
1032
|
+
city?: string | null | undefined;
|
|
1033
|
+
region?: string | null | undefined;
|
|
1034
|
+
postalCode?: string | null | undefined;
|
|
1035
|
+
country?: string | null | undefined;
|
|
1036
1036
|
}>;
|
|
1037
1037
|
location: z.ZodObject<{
|
|
1038
1038
|
latitude: z.ZodNumber;
|
|
@@ -1053,12 +1053,12 @@ declare class CreateCustomerAddress extends AbstractApiRequest<typeof createCust
|
|
|
1053
1053
|
createdAt: string;
|
|
1054
1054
|
updatedAt: string;
|
|
1055
1055
|
address: {
|
|
1056
|
-
line1
|
|
1057
|
-
city: string;
|
|
1058
|
-
region: string;
|
|
1059
|
-
postalCode: string;
|
|
1060
|
-
country: string;
|
|
1056
|
+
line1?: string | null | undefined;
|
|
1061
1057
|
line2?: string | null | undefined;
|
|
1058
|
+
city?: string | null | undefined;
|
|
1059
|
+
region?: string | null | undefined;
|
|
1060
|
+
postalCode?: string | null | undefined;
|
|
1061
|
+
country?: string | null | undefined;
|
|
1062
1062
|
};
|
|
1063
1063
|
location: {
|
|
1064
1064
|
latitude: number;
|
|
@@ -1070,12 +1070,12 @@ declare class CreateCustomerAddress extends AbstractApiRequest<typeof createCust
|
|
|
1070
1070
|
createdAt: string;
|
|
1071
1071
|
updatedAt: string;
|
|
1072
1072
|
address: {
|
|
1073
|
-
line1
|
|
1074
|
-
city: string;
|
|
1075
|
-
region: string;
|
|
1076
|
-
postalCode: string;
|
|
1077
|
-
country: string;
|
|
1073
|
+
line1?: string | null | undefined;
|
|
1078
1074
|
line2?: string | null | undefined;
|
|
1075
|
+
city?: string | null | undefined;
|
|
1076
|
+
region?: string | null | undefined;
|
|
1077
|
+
postalCode?: string | null | undefined;
|
|
1078
|
+
country?: string | null | undefined;
|
|
1079
1079
|
};
|
|
1080
1080
|
location: {
|
|
1081
1081
|
latitude: number;
|
|
@@ -1109,26 +1109,26 @@ type GetCustomerAddressDetailsInput = z.input<typeof getCustomerAddressDetailsIn
|
|
|
1109
1109
|
declare const getCustomerAddressDetailsResponseSchema: z.ZodObject<{
|
|
1110
1110
|
id: z.ZodString;
|
|
1111
1111
|
address: z.ZodObject<{
|
|
1112
|
-
line1: z.ZodString
|
|
1112
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1113
1113
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1114
|
-
city: z.ZodString
|
|
1115
|
-
region: z.ZodString
|
|
1116
|
-
postalCode: z.ZodString
|
|
1117
|
-
country: z.ZodString
|
|
1114
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1115
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1116
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1117
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1118
1118
|
}, "strip", z.ZodTypeAny, {
|
|
1119
|
-
line1
|
|
1120
|
-
city: string;
|
|
1121
|
-
region: string;
|
|
1122
|
-
postalCode: string;
|
|
1123
|
-
country: string;
|
|
1119
|
+
line1?: string | null | undefined;
|
|
1124
1120
|
line2?: string | null | undefined;
|
|
1121
|
+
city?: string | null | undefined;
|
|
1122
|
+
region?: string | null | undefined;
|
|
1123
|
+
postalCode?: string | null | undefined;
|
|
1124
|
+
country?: string | null | undefined;
|
|
1125
1125
|
}, {
|
|
1126
|
-
line1
|
|
1127
|
-
city: string;
|
|
1128
|
-
region: string;
|
|
1129
|
-
postalCode: string;
|
|
1130
|
-
country: string;
|
|
1126
|
+
line1?: string | null | undefined;
|
|
1131
1127
|
line2?: string | null | undefined;
|
|
1128
|
+
city?: string | null | undefined;
|
|
1129
|
+
region?: string | null | undefined;
|
|
1130
|
+
postalCode?: string | null | undefined;
|
|
1131
|
+
country?: string | null | undefined;
|
|
1132
1132
|
}>;
|
|
1133
1133
|
location: z.ZodObject<{
|
|
1134
1134
|
latitude: z.ZodNumber;
|
|
@@ -1149,12 +1149,12 @@ declare const getCustomerAddressDetailsResponseSchema: z.ZodObject<{
|
|
|
1149
1149
|
createdAt: string;
|
|
1150
1150
|
updatedAt: string;
|
|
1151
1151
|
address: {
|
|
1152
|
-
line1
|
|
1153
|
-
city: string;
|
|
1154
|
-
region: string;
|
|
1155
|
-
postalCode: string;
|
|
1156
|
-
country: string;
|
|
1152
|
+
line1?: string | null | undefined;
|
|
1157
1153
|
line2?: string | null | undefined;
|
|
1154
|
+
city?: string | null | undefined;
|
|
1155
|
+
region?: string | null | undefined;
|
|
1156
|
+
postalCode?: string | null | undefined;
|
|
1157
|
+
country?: string | null | undefined;
|
|
1158
1158
|
};
|
|
1159
1159
|
location: {
|
|
1160
1160
|
latitude: number;
|
|
@@ -1166,12 +1166,12 @@ declare const getCustomerAddressDetailsResponseSchema: z.ZodObject<{
|
|
|
1166
1166
|
createdAt: string;
|
|
1167
1167
|
updatedAt: string;
|
|
1168
1168
|
address: {
|
|
1169
|
-
line1
|
|
1170
|
-
city: string;
|
|
1171
|
-
region: string;
|
|
1172
|
-
postalCode: string;
|
|
1173
|
-
country: string;
|
|
1169
|
+
line1?: string | null | undefined;
|
|
1174
1170
|
line2?: string | null | undefined;
|
|
1171
|
+
city?: string | null | undefined;
|
|
1172
|
+
region?: string | null | undefined;
|
|
1173
|
+
postalCode?: string | null | undefined;
|
|
1174
|
+
country?: string | null | undefined;
|
|
1175
1175
|
};
|
|
1176
1176
|
location: {
|
|
1177
1177
|
latitude: number;
|
|
@@ -1188,26 +1188,26 @@ declare class GetCustomerAddressDetails extends AbstractApiRequest<typeof getCus
|
|
|
1188
1188
|
readonly outputSchema: z.ZodObject<{
|
|
1189
1189
|
id: z.ZodString;
|
|
1190
1190
|
address: z.ZodObject<{
|
|
1191
|
-
line1: z.ZodString
|
|
1191
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1192
1192
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1193
|
-
city: z.ZodString
|
|
1194
|
-
region: z.ZodString
|
|
1195
|
-
postalCode: z.ZodString
|
|
1196
|
-
country: z.ZodString
|
|
1193
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1194
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1195
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1196
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1197
1197
|
}, "strip", z.ZodTypeAny, {
|
|
1198
|
-
line1
|
|
1199
|
-
city: string;
|
|
1200
|
-
region: string;
|
|
1201
|
-
postalCode: string;
|
|
1202
|
-
country: string;
|
|
1198
|
+
line1?: string | null | undefined;
|
|
1203
1199
|
line2?: string | null | undefined;
|
|
1200
|
+
city?: string | null | undefined;
|
|
1201
|
+
region?: string | null | undefined;
|
|
1202
|
+
postalCode?: string | null | undefined;
|
|
1203
|
+
country?: string | null | undefined;
|
|
1204
1204
|
}, {
|
|
1205
|
-
line1
|
|
1206
|
-
city: string;
|
|
1207
|
-
region: string;
|
|
1208
|
-
postalCode: string;
|
|
1209
|
-
country: string;
|
|
1205
|
+
line1?: string | null | undefined;
|
|
1210
1206
|
line2?: string | null | undefined;
|
|
1207
|
+
city?: string | null | undefined;
|
|
1208
|
+
region?: string | null | undefined;
|
|
1209
|
+
postalCode?: string | null | undefined;
|
|
1210
|
+
country?: string | null | undefined;
|
|
1211
1211
|
}>;
|
|
1212
1212
|
location: z.ZodObject<{
|
|
1213
1213
|
latitude: z.ZodNumber;
|
|
@@ -1228,12 +1228,12 @@ declare class GetCustomerAddressDetails extends AbstractApiRequest<typeof getCus
|
|
|
1228
1228
|
createdAt: string;
|
|
1229
1229
|
updatedAt: string;
|
|
1230
1230
|
address: {
|
|
1231
|
-
line1
|
|
1232
|
-
city: string;
|
|
1233
|
-
region: string;
|
|
1234
|
-
postalCode: string;
|
|
1235
|
-
country: string;
|
|
1231
|
+
line1?: string | null | undefined;
|
|
1236
1232
|
line2?: string | null | undefined;
|
|
1233
|
+
city?: string | null | undefined;
|
|
1234
|
+
region?: string | null | undefined;
|
|
1235
|
+
postalCode?: string | null | undefined;
|
|
1236
|
+
country?: string | null | undefined;
|
|
1237
1237
|
};
|
|
1238
1238
|
location: {
|
|
1239
1239
|
latitude: number;
|
|
@@ -1245,12 +1245,12 @@ declare class GetCustomerAddressDetails extends AbstractApiRequest<typeof getCus
|
|
|
1245
1245
|
createdAt: string;
|
|
1246
1246
|
updatedAt: string;
|
|
1247
1247
|
address: {
|
|
1248
|
-
line1
|
|
1249
|
-
city: string;
|
|
1250
|
-
region: string;
|
|
1251
|
-
postalCode: string;
|
|
1252
|
-
country: string;
|
|
1248
|
+
line1?: string | null | undefined;
|
|
1253
1249
|
line2?: string | null | undefined;
|
|
1250
|
+
city?: string | null | undefined;
|
|
1251
|
+
region?: string | null | undefined;
|
|
1252
|
+
postalCode?: string | null | undefined;
|
|
1253
|
+
country?: string | null | undefined;
|
|
1254
1254
|
};
|
|
1255
1255
|
location: {
|
|
1256
1256
|
latitude: number;
|
|
@@ -1310,26 +1310,26 @@ declare const getCustomerAddressesResponseSchema: z.ZodObject<{
|
|
|
1310
1310
|
data: z.ZodArray<z.ZodObject<{
|
|
1311
1311
|
id: z.ZodString;
|
|
1312
1312
|
address: z.ZodObject<{
|
|
1313
|
-
line1: z.ZodString
|
|
1313
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1314
1314
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1315
|
-
city: z.ZodString
|
|
1316
|
-
region: z.ZodString
|
|
1317
|
-
postalCode: z.ZodString
|
|
1318
|
-
country: z.ZodString
|
|
1315
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1316
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1317
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1318
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1319
1319
|
}, "strip", z.ZodTypeAny, {
|
|
1320
|
-
line1
|
|
1321
|
-
city: string;
|
|
1322
|
-
region: string;
|
|
1323
|
-
postalCode: string;
|
|
1324
|
-
country: string;
|
|
1320
|
+
line1?: string | null | undefined;
|
|
1325
1321
|
line2?: string | null | undefined;
|
|
1322
|
+
city?: string | null | undefined;
|
|
1323
|
+
region?: string | null | undefined;
|
|
1324
|
+
postalCode?: string | null | undefined;
|
|
1325
|
+
country?: string | null | undefined;
|
|
1326
1326
|
}, {
|
|
1327
|
-
line1
|
|
1328
|
-
city: string;
|
|
1329
|
-
region: string;
|
|
1330
|
-
postalCode: string;
|
|
1331
|
-
country: string;
|
|
1327
|
+
line1?: string | null | undefined;
|
|
1332
1328
|
line2?: string | null | undefined;
|
|
1329
|
+
city?: string | null | undefined;
|
|
1330
|
+
region?: string | null | undefined;
|
|
1331
|
+
postalCode?: string | null | undefined;
|
|
1332
|
+
country?: string | null | undefined;
|
|
1333
1333
|
}>;
|
|
1334
1334
|
location: z.ZodObject<{
|
|
1335
1335
|
latitude: z.ZodNumber;
|
|
@@ -1348,12 +1348,12 @@ declare const getCustomerAddressesResponseSchema: z.ZodObject<{
|
|
|
1348
1348
|
createdAt: string;
|
|
1349
1349
|
updatedAt: string;
|
|
1350
1350
|
address: {
|
|
1351
|
-
line1
|
|
1352
|
-
city: string;
|
|
1353
|
-
region: string;
|
|
1354
|
-
postalCode: string;
|
|
1355
|
-
country: string;
|
|
1351
|
+
line1?: string | null | undefined;
|
|
1356
1352
|
line2?: string | null | undefined;
|
|
1353
|
+
city?: string | null | undefined;
|
|
1354
|
+
region?: string | null | undefined;
|
|
1355
|
+
postalCode?: string | null | undefined;
|
|
1356
|
+
country?: string | null | undefined;
|
|
1357
1357
|
};
|
|
1358
1358
|
location: {
|
|
1359
1359
|
latitude: number;
|
|
@@ -1364,12 +1364,12 @@ declare const getCustomerAddressesResponseSchema: z.ZodObject<{
|
|
|
1364
1364
|
createdAt: string;
|
|
1365
1365
|
updatedAt: string;
|
|
1366
1366
|
address: {
|
|
1367
|
-
line1
|
|
1368
|
-
city: string;
|
|
1369
|
-
region: string;
|
|
1370
|
-
postalCode: string;
|
|
1371
|
-
country: string;
|
|
1367
|
+
line1?: string | null | undefined;
|
|
1372
1368
|
line2?: string | null | undefined;
|
|
1369
|
+
city?: string | null | undefined;
|
|
1370
|
+
region?: string | null | undefined;
|
|
1371
|
+
postalCode?: string | null | undefined;
|
|
1372
|
+
country?: string | null | undefined;
|
|
1373
1373
|
};
|
|
1374
1374
|
location: {
|
|
1375
1375
|
latitude: number;
|
|
@@ -1404,12 +1404,12 @@ declare const getCustomerAddressesResponseSchema: z.ZodObject<{
|
|
|
1404
1404
|
createdAt: string;
|
|
1405
1405
|
updatedAt: string;
|
|
1406
1406
|
address: {
|
|
1407
|
-
line1
|
|
1408
|
-
city: string;
|
|
1409
|
-
region: string;
|
|
1410
|
-
postalCode: string;
|
|
1411
|
-
country: string;
|
|
1407
|
+
line1?: string | null | undefined;
|
|
1412
1408
|
line2?: string | null | undefined;
|
|
1409
|
+
city?: string | null | undefined;
|
|
1410
|
+
region?: string | null | undefined;
|
|
1411
|
+
postalCode?: string | null | undefined;
|
|
1412
|
+
country?: string | null | undefined;
|
|
1413
1413
|
};
|
|
1414
1414
|
location: {
|
|
1415
1415
|
latitude: number;
|
|
@@ -1430,12 +1430,12 @@ declare const getCustomerAddressesResponseSchema: z.ZodObject<{
|
|
|
1430
1430
|
createdAt: string;
|
|
1431
1431
|
updatedAt: string;
|
|
1432
1432
|
address: {
|
|
1433
|
-
line1
|
|
1434
|
-
city: string;
|
|
1435
|
-
region: string;
|
|
1436
|
-
postalCode: string;
|
|
1437
|
-
country: string;
|
|
1433
|
+
line1?: string | null | undefined;
|
|
1438
1434
|
line2?: string | null | undefined;
|
|
1435
|
+
city?: string | null | undefined;
|
|
1436
|
+
region?: string | null | undefined;
|
|
1437
|
+
postalCode?: string | null | undefined;
|
|
1438
|
+
country?: string | null | undefined;
|
|
1439
1439
|
};
|
|
1440
1440
|
location: {
|
|
1441
1441
|
latitude: number;
|
|
@@ -1461,26 +1461,26 @@ declare class GetCustomerAddresses extends AbstractApiRequest<typeof getCustomer
|
|
|
1461
1461
|
data: z.ZodArray<z.ZodObject<{
|
|
1462
1462
|
id: z.ZodString;
|
|
1463
1463
|
address: z.ZodObject<{
|
|
1464
|
-
line1: z.ZodString
|
|
1464
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1465
1465
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1466
|
-
city: z.ZodString
|
|
1467
|
-
region: z.ZodString
|
|
1468
|
-
postalCode: z.ZodString
|
|
1469
|
-
country: z.ZodString
|
|
1466
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1467
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1468
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1469
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1470
1470
|
}, "strip", z.ZodTypeAny, {
|
|
1471
|
-
line1
|
|
1472
|
-
city: string;
|
|
1473
|
-
region: string;
|
|
1474
|
-
postalCode: string;
|
|
1475
|
-
country: string;
|
|
1471
|
+
line1?: string | null | undefined;
|
|
1476
1472
|
line2?: string | null | undefined;
|
|
1473
|
+
city?: string | null | undefined;
|
|
1474
|
+
region?: string | null | undefined;
|
|
1475
|
+
postalCode?: string | null | undefined;
|
|
1476
|
+
country?: string | null | undefined;
|
|
1477
1477
|
}, {
|
|
1478
|
-
line1
|
|
1479
|
-
city: string;
|
|
1480
|
-
region: string;
|
|
1481
|
-
postalCode: string;
|
|
1482
|
-
country: string;
|
|
1478
|
+
line1?: string | null | undefined;
|
|
1483
1479
|
line2?: string | null | undefined;
|
|
1480
|
+
city?: string | null | undefined;
|
|
1481
|
+
region?: string | null | undefined;
|
|
1482
|
+
postalCode?: string | null | undefined;
|
|
1483
|
+
country?: string | null | undefined;
|
|
1484
1484
|
}>;
|
|
1485
1485
|
location: z.ZodObject<{
|
|
1486
1486
|
latitude: z.ZodNumber;
|
|
@@ -1499,12 +1499,12 @@ declare class GetCustomerAddresses extends AbstractApiRequest<typeof getCustomer
|
|
|
1499
1499
|
createdAt: string;
|
|
1500
1500
|
updatedAt: string;
|
|
1501
1501
|
address: {
|
|
1502
|
-
line1
|
|
1503
|
-
city: string;
|
|
1504
|
-
region: string;
|
|
1505
|
-
postalCode: string;
|
|
1506
|
-
country: string;
|
|
1502
|
+
line1?: string | null | undefined;
|
|
1507
1503
|
line2?: string | null | undefined;
|
|
1504
|
+
city?: string | null | undefined;
|
|
1505
|
+
region?: string | null | undefined;
|
|
1506
|
+
postalCode?: string | null | undefined;
|
|
1507
|
+
country?: string | null | undefined;
|
|
1508
1508
|
};
|
|
1509
1509
|
location: {
|
|
1510
1510
|
latitude: number;
|
|
@@ -1515,12 +1515,12 @@ declare class GetCustomerAddresses extends AbstractApiRequest<typeof getCustomer
|
|
|
1515
1515
|
createdAt: string;
|
|
1516
1516
|
updatedAt: string;
|
|
1517
1517
|
address: {
|
|
1518
|
-
line1
|
|
1519
|
-
city: string;
|
|
1520
|
-
region: string;
|
|
1521
|
-
postalCode: string;
|
|
1522
|
-
country: string;
|
|
1518
|
+
line1?: string | null | undefined;
|
|
1523
1519
|
line2?: string | null | undefined;
|
|
1520
|
+
city?: string | null | undefined;
|
|
1521
|
+
region?: string | null | undefined;
|
|
1522
|
+
postalCode?: string | null | undefined;
|
|
1523
|
+
country?: string | null | undefined;
|
|
1524
1524
|
};
|
|
1525
1525
|
location: {
|
|
1526
1526
|
latitude: number;
|
|
@@ -1555,12 +1555,12 @@ declare class GetCustomerAddresses extends AbstractApiRequest<typeof getCustomer
|
|
|
1555
1555
|
createdAt: string;
|
|
1556
1556
|
updatedAt: string;
|
|
1557
1557
|
address: {
|
|
1558
|
-
line1
|
|
1559
|
-
city: string;
|
|
1560
|
-
region: string;
|
|
1561
|
-
postalCode: string;
|
|
1562
|
-
country: string;
|
|
1558
|
+
line1?: string | null | undefined;
|
|
1563
1559
|
line2?: string | null | undefined;
|
|
1560
|
+
city?: string | null | undefined;
|
|
1561
|
+
region?: string | null | undefined;
|
|
1562
|
+
postalCode?: string | null | undefined;
|
|
1563
|
+
country?: string | null | undefined;
|
|
1564
1564
|
};
|
|
1565
1565
|
location: {
|
|
1566
1566
|
latitude: number;
|
|
@@ -1581,12 +1581,12 @@ declare class GetCustomerAddresses extends AbstractApiRequest<typeof getCustomer
|
|
|
1581
1581
|
createdAt: string;
|
|
1582
1582
|
updatedAt: string;
|
|
1583
1583
|
address: {
|
|
1584
|
-
line1
|
|
1585
|
-
city: string;
|
|
1586
|
-
region: string;
|
|
1587
|
-
postalCode: string;
|
|
1588
|
-
country: string;
|
|
1584
|
+
line1?: string | null | undefined;
|
|
1589
1585
|
line2?: string | null | undefined;
|
|
1586
|
+
city?: string | null | undefined;
|
|
1587
|
+
region?: string | null | undefined;
|
|
1588
|
+
postalCode?: string | null | undefined;
|
|
1589
|
+
country?: string | null | undefined;
|
|
1590
1590
|
};
|
|
1591
1591
|
location: {
|
|
1592
1592
|
latitude: number;
|
|
@@ -1689,26 +1689,26 @@ type GetCustomerAddressesForCustomerInput = z.input<typeof getCustomerAddressesF
|
|
|
1689
1689
|
declare const getCustomerAddressesForCustomerResponseSchema: z.ZodArray<z.ZodObject<{
|
|
1690
1690
|
id: z.ZodString;
|
|
1691
1691
|
address: z.ZodObject<{
|
|
1692
|
-
line1: z.ZodString
|
|
1692
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1693
1693
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1694
|
-
city: z.ZodString
|
|
1695
|
-
region: z.ZodString
|
|
1696
|
-
postalCode: z.ZodString
|
|
1697
|
-
country: z.ZodString
|
|
1694
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1695
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1696
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1697
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1698
1698
|
}, "strip", z.ZodTypeAny, {
|
|
1699
|
-
line1
|
|
1700
|
-
city: string;
|
|
1701
|
-
region: string;
|
|
1702
|
-
postalCode: string;
|
|
1703
|
-
country: string;
|
|
1699
|
+
line1?: string | null | undefined;
|
|
1704
1700
|
line2?: string | null | undefined;
|
|
1701
|
+
city?: string | null | undefined;
|
|
1702
|
+
region?: string | null | undefined;
|
|
1703
|
+
postalCode?: string | null | undefined;
|
|
1704
|
+
country?: string | null | undefined;
|
|
1705
1705
|
}, {
|
|
1706
|
-
line1
|
|
1707
|
-
city: string;
|
|
1708
|
-
region: string;
|
|
1709
|
-
postalCode: string;
|
|
1710
|
-
country: string;
|
|
1706
|
+
line1?: string | null | undefined;
|
|
1711
1707
|
line2?: string | null | undefined;
|
|
1708
|
+
city?: string | null | undefined;
|
|
1709
|
+
region?: string | null | undefined;
|
|
1710
|
+
postalCode?: string | null | undefined;
|
|
1711
|
+
country?: string | null | undefined;
|
|
1712
1712
|
}>;
|
|
1713
1713
|
location: z.ZodObject<{
|
|
1714
1714
|
latitude: z.ZodNumber;
|
|
@@ -1727,12 +1727,12 @@ declare const getCustomerAddressesForCustomerResponseSchema: z.ZodArray<z.ZodObj
|
|
|
1727
1727
|
createdAt: string;
|
|
1728
1728
|
updatedAt: string;
|
|
1729
1729
|
address: {
|
|
1730
|
-
line1
|
|
1731
|
-
city: string;
|
|
1732
|
-
region: string;
|
|
1733
|
-
postalCode: string;
|
|
1734
|
-
country: string;
|
|
1730
|
+
line1?: string | null | undefined;
|
|
1735
1731
|
line2?: string | null | undefined;
|
|
1732
|
+
city?: string | null | undefined;
|
|
1733
|
+
region?: string | null | undefined;
|
|
1734
|
+
postalCode?: string | null | undefined;
|
|
1735
|
+
country?: string | null | undefined;
|
|
1736
1736
|
};
|
|
1737
1737
|
location: {
|
|
1738
1738
|
latitude: number;
|
|
@@ -1743,12 +1743,12 @@ declare const getCustomerAddressesForCustomerResponseSchema: z.ZodArray<z.ZodObj
|
|
|
1743
1743
|
createdAt: string;
|
|
1744
1744
|
updatedAt: string;
|
|
1745
1745
|
address: {
|
|
1746
|
-
line1
|
|
1747
|
-
city: string;
|
|
1748
|
-
region: string;
|
|
1749
|
-
postalCode: string;
|
|
1750
|
-
country: string;
|
|
1746
|
+
line1?: string | null | undefined;
|
|
1751
1747
|
line2?: string | null | undefined;
|
|
1748
|
+
city?: string | null | undefined;
|
|
1749
|
+
region?: string | null | undefined;
|
|
1750
|
+
postalCode?: string | null | undefined;
|
|
1751
|
+
country?: string | null | undefined;
|
|
1752
1752
|
};
|
|
1753
1753
|
location: {
|
|
1754
1754
|
latitude: number;
|
|
@@ -1764,26 +1764,26 @@ declare class GetCustomerAddressesForCustomer extends AbstractApiRequest<typeof
|
|
|
1764
1764
|
readonly outputSchema: z.ZodArray<z.ZodObject<{
|
|
1765
1765
|
id: z.ZodString;
|
|
1766
1766
|
address: z.ZodObject<{
|
|
1767
|
-
line1: z.ZodString
|
|
1767
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1768
1768
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1769
|
-
city: z.ZodString
|
|
1770
|
-
region: z.ZodString
|
|
1771
|
-
postalCode: z.ZodString
|
|
1772
|
-
country: z.ZodString
|
|
1769
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1770
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1771
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1772
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1773
1773
|
}, "strip", z.ZodTypeAny, {
|
|
1774
|
-
line1
|
|
1775
|
-
city: string;
|
|
1776
|
-
region: string;
|
|
1777
|
-
postalCode: string;
|
|
1778
|
-
country: string;
|
|
1774
|
+
line1?: string | null | undefined;
|
|
1779
1775
|
line2?: string | null | undefined;
|
|
1776
|
+
city?: string | null | undefined;
|
|
1777
|
+
region?: string | null | undefined;
|
|
1778
|
+
postalCode?: string | null | undefined;
|
|
1779
|
+
country?: string | null | undefined;
|
|
1780
1780
|
}, {
|
|
1781
|
-
line1
|
|
1782
|
-
city: string;
|
|
1783
|
-
region: string;
|
|
1784
|
-
postalCode: string;
|
|
1785
|
-
country: string;
|
|
1781
|
+
line1?: string | null | undefined;
|
|
1786
1782
|
line2?: string | null | undefined;
|
|
1783
|
+
city?: string | null | undefined;
|
|
1784
|
+
region?: string | null | undefined;
|
|
1785
|
+
postalCode?: string | null | undefined;
|
|
1786
|
+
country?: string | null | undefined;
|
|
1787
1787
|
}>;
|
|
1788
1788
|
location: z.ZodObject<{
|
|
1789
1789
|
latitude: z.ZodNumber;
|
|
@@ -1802,12 +1802,12 @@ declare class GetCustomerAddressesForCustomer extends AbstractApiRequest<typeof
|
|
|
1802
1802
|
createdAt: string;
|
|
1803
1803
|
updatedAt: string;
|
|
1804
1804
|
address: {
|
|
1805
|
-
line1
|
|
1806
|
-
city: string;
|
|
1807
|
-
region: string;
|
|
1808
|
-
postalCode: string;
|
|
1809
|
-
country: string;
|
|
1805
|
+
line1?: string | null | undefined;
|
|
1810
1806
|
line2?: string | null | undefined;
|
|
1807
|
+
city?: string | null | undefined;
|
|
1808
|
+
region?: string | null | undefined;
|
|
1809
|
+
postalCode?: string | null | undefined;
|
|
1810
|
+
country?: string | null | undefined;
|
|
1811
1811
|
};
|
|
1812
1812
|
location: {
|
|
1813
1813
|
latitude: number;
|
|
@@ -1818,12 +1818,12 @@ declare class GetCustomerAddressesForCustomer extends AbstractApiRequest<typeof
|
|
|
1818
1818
|
createdAt: string;
|
|
1819
1819
|
updatedAt: string;
|
|
1820
1820
|
address: {
|
|
1821
|
-
line1
|
|
1822
|
-
city: string;
|
|
1823
|
-
region: string;
|
|
1824
|
-
postalCode: string;
|
|
1825
|
-
country: string;
|
|
1821
|
+
line1?: string | null | undefined;
|
|
1826
1822
|
line2?: string | null | undefined;
|
|
1823
|
+
city?: string | null | undefined;
|
|
1824
|
+
region?: string | null | undefined;
|
|
1825
|
+
postalCode?: string | null | undefined;
|
|
1826
|
+
country?: string | null | undefined;
|
|
1827
1827
|
};
|
|
1828
1828
|
location: {
|
|
1829
1829
|
latitude: number;
|
|
@@ -1876,70 +1876,70 @@ declare class GetCustomerAddressesForCustomer extends AbstractApiRequest<typeof
|
|
|
1876
1876
|
|
|
1877
1877
|
declare const updateCustomerAddressInputSchema: z.ZodObject<{
|
|
1878
1878
|
address: z.ZodOptional<z.ZodObject<{
|
|
1879
|
-
line1: z.ZodString
|
|
1879
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1880
1880
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1881
|
-
city: z.ZodString
|
|
1882
|
-
region: z.ZodString
|
|
1883
|
-
postalCode: z.ZodString
|
|
1884
|
-
country: z.ZodString
|
|
1881
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1882
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1883
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1884
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1885
1885
|
}, "strip", z.ZodTypeAny, {
|
|
1886
|
-
line1
|
|
1887
|
-
city: string;
|
|
1888
|
-
region: string;
|
|
1889
|
-
postalCode: string;
|
|
1890
|
-
country: string;
|
|
1886
|
+
line1?: string | null | undefined;
|
|
1891
1887
|
line2?: string | null | undefined;
|
|
1888
|
+
city?: string | null | undefined;
|
|
1889
|
+
region?: string | null | undefined;
|
|
1890
|
+
postalCode?: string | null | undefined;
|
|
1891
|
+
country?: string | null | undefined;
|
|
1892
1892
|
}, {
|
|
1893
|
-
line1
|
|
1894
|
-
city: string;
|
|
1895
|
-
region: string;
|
|
1896
|
-
postalCode: string;
|
|
1897
|
-
country: string;
|
|
1893
|
+
line1?: string | null | undefined;
|
|
1898
1894
|
line2?: string | null | undefined;
|
|
1895
|
+
city?: string | null | undefined;
|
|
1896
|
+
region?: string | null | undefined;
|
|
1897
|
+
postalCode?: string | null | undefined;
|
|
1898
|
+
country?: string | null | undefined;
|
|
1899
1899
|
}>>;
|
|
1900
1900
|
}, "strip", z.ZodTypeAny, {
|
|
1901
1901
|
address?: {
|
|
1902
|
-
line1
|
|
1903
|
-
city: string;
|
|
1904
|
-
region: string;
|
|
1905
|
-
postalCode: string;
|
|
1906
|
-
country: string;
|
|
1902
|
+
line1?: string | null | undefined;
|
|
1907
1903
|
line2?: string | null | undefined;
|
|
1904
|
+
city?: string | null | undefined;
|
|
1905
|
+
region?: string | null | undefined;
|
|
1906
|
+
postalCode?: string | null | undefined;
|
|
1907
|
+
country?: string | null | undefined;
|
|
1908
1908
|
} | undefined;
|
|
1909
1909
|
}, {
|
|
1910
1910
|
address?: {
|
|
1911
|
-
line1
|
|
1912
|
-
city: string;
|
|
1913
|
-
region: string;
|
|
1914
|
-
postalCode: string;
|
|
1915
|
-
country: string;
|
|
1911
|
+
line1?: string | null | undefined;
|
|
1916
1912
|
line2?: string | null | undefined;
|
|
1913
|
+
city?: string | null | undefined;
|
|
1914
|
+
region?: string | null | undefined;
|
|
1915
|
+
postalCode?: string | null | undefined;
|
|
1916
|
+
country?: string | null | undefined;
|
|
1917
1917
|
} | undefined;
|
|
1918
1918
|
}>;
|
|
1919
1919
|
type UpdateCustomerAddressInput = z.input<typeof updateCustomerAddressInputSchema>;
|
|
1920
1920
|
declare const updateCustomerAddressResponseSchema: z.ZodObject<{
|
|
1921
1921
|
id: z.ZodString;
|
|
1922
1922
|
address: z.ZodObject<{
|
|
1923
|
-
line1: z.ZodString
|
|
1923
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1924
1924
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1925
|
-
city: z.ZodString
|
|
1926
|
-
region: z.ZodString
|
|
1927
|
-
postalCode: z.ZodString
|
|
1928
|
-
country: z.ZodString
|
|
1925
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1926
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1927
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1928
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1929
1929
|
}, "strip", z.ZodTypeAny, {
|
|
1930
|
-
line1
|
|
1931
|
-
city: string;
|
|
1932
|
-
region: string;
|
|
1933
|
-
postalCode: string;
|
|
1934
|
-
country: string;
|
|
1930
|
+
line1?: string | null | undefined;
|
|
1935
1931
|
line2?: string | null | undefined;
|
|
1932
|
+
city?: string | null | undefined;
|
|
1933
|
+
region?: string | null | undefined;
|
|
1934
|
+
postalCode?: string | null | undefined;
|
|
1935
|
+
country?: string | null | undefined;
|
|
1936
1936
|
}, {
|
|
1937
|
-
line1
|
|
1938
|
-
city: string;
|
|
1939
|
-
region: string;
|
|
1940
|
-
postalCode: string;
|
|
1941
|
-
country: string;
|
|
1937
|
+
line1?: string | null | undefined;
|
|
1942
1938
|
line2?: string | null | undefined;
|
|
1939
|
+
city?: string | null | undefined;
|
|
1940
|
+
region?: string | null | undefined;
|
|
1941
|
+
postalCode?: string | null | undefined;
|
|
1942
|
+
country?: string | null | undefined;
|
|
1943
1943
|
}>;
|
|
1944
1944
|
location: z.ZodObject<{
|
|
1945
1945
|
latitude: z.ZodNumber;
|
|
@@ -1960,12 +1960,12 @@ declare const updateCustomerAddressResponseSchema: z.ZodObject<{
|
|
|
1960
1960
|
createdAt: string;
|
|
1961
1961
|
updatedAt: string;
|
|
1962
1962
|
address: {
|
|
1963
|
-
line1
|
|
1964
|
-
city: string;
|
|
1965
|
-
region: string;
|
|
1966
|
-
postalCode: string;
|
|
1967
|
-
country: string;
|
|
1963
|
+
line1?: string | null | undefined;
|
|
1968
1964
|
line2?: string | null | undefined;
|
|
1965
|
+
city?: string | null | undefined;
|
|
1966
|
+
region?: string | null | undefined;
|
|
1967
|
+
postalCode?: string | null | undefined;
|
|
1968
|
+
country?: string | null | undefined;
|
|
1969
1969
|
};
|
|
1970
1970
|
location: {
|
|
1971
1971
|
latitude: number;
|
|
@@ -1977,12 +1977,12 @@ declare const updateCustomerAddressResponseSchema: z.ZodObject<{
|
|
|
1977
1977
|
createdAt: string;
|
|
1978
1978
|
updatedAt: string;
|
|
1979
1979
|
address: {
|
|
1980
|
-
line1
|
|
1981
|
-
city: string;
|
|
1982
|
-
region: string;
|
|
1983
|
-
postalCode: string;
|
|
1984
|
-
country: string;
|
|
1980
|
+
line1?: string | null | undefined;
|
|
1985
1981
|
line2?: string | null | undefined;
|
|
1982
|
+
city?: string | null | undefined;
|
|
1983
|
+
region?: string | null | undefined;
|
|
1984
|
+
postalCode?: string | null | undefined;
|
|
1985
|
+
country?: string | null | undefined;
|
|
1986
1986
|
};
|
|
1987
1987
|
location: {
|
|
1988
1988
|
latitude: number;
|
|
@@ -1997,69 +1997,69 @@ declare class UpdateCustomerAddress extends AbstractApiRequest<typeof updateCust
|
|
|
1997
1997
|
readonly accept = "application/json";
|
|
1998
1998
|
readonly inputSchema: z.ZodObject<{
|
|
1999
1999
|
address: z.ZodOptional<z.ZodObject<{
|
|
2000
|
-
line1: z.ZodString
|
|
2000
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2001
2001
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2002
|
-
city: z.ZodString
|
|
2003
|
-
region: z.ZodString
|
|
2004
|
-
postalCode: z.ZodString
|
|
2005
|
-
country: z.ZodString
|
|
2002
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2003
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2004
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2005
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2006
2006
|
}, "strip", z.ZodTypeAny, {
|
|
2007
|
-
line1
|
|
2008
|
-
city: string;
|
|
2009
|
-
region: string;
|
|
2010
|
-
postalCode: string;
|
|
2011
|
-
country: string;
|
|
2007
|
+
line1?: string | null | undefined;
|
|
2012
2008
|
line2?: string | null | undefined;
|
|
2009
|
+
city?: string | null | undefined;
|
|
2010
|
+
region?: string | null | undefined;
|
|
2011
|
+
postalCode?: string | null | undefined;
|
|
2012
|
+
country?: string | null | undefined;
|
|
2013
2013
|
}, {
|
|
2014
|
-
line1
|
|
2015
|
-
city: string;
|
|
2016
|
-
region: string;
|
|
2017
|
-
postalCode: string;
|
|
2018
|
-
country: string;
|
|
2014
|
+
line1?: string | null | undefined;
|
|
2019
2015
|
line2?: string | null | undefined;
|
|
2016
|
+
city?: string | null | undefined;
|
|
2017
|
+
region?: string | null | undefined;
|
|
2018
|
+
postalCode?: string | null | undefined;
|
|
2019
|
+
country?: string | null | undefined;
|
|
2020
2020
|
}>>;
|
|
2021
2021
|
}, "strip", z.ZodTypeAny, {
|
|
2022
2022
|
address?: {
|
|
2023
|
-
line1
|
|
2024
|
-
city: string;
|
|
2025
|
-
region: string;
|
|
2026
|
-
postalCode: string;
|
|
2027
|
-
country: string;
|
|
2023
|
+
line1?: string | null | undefined;
|
|
2028
2024
|
line2?: string | null | undefined;
|
|
2025
|
+
city?: string | null | undefined;
|
|
2026
|
+
region?: string | null | undefined;
|
|
2027
|
+
postalCode?: string | null | undefined;
|
|
2028
|
+
country?: string | null | undefined;
|
|
2029
2029
|
} | undefined;
|
|
2030
2030
|
}, {
|
|
2031
2031
|
address?: {
|
|
2032
|
-
line1
|
|
2033
|
-
city: string;
|
|
2034
|
-
region: string;
|
|
2035
|
-
postalCode: string;
|
|
2036
|
-
country: string;
|
|
2032
|
+
line1?: string | null | undefined;
|
|
2037
2033
|
line2?: string | null | undefined;
|
|
2034
|
+
city?: string | null | undefined;
|
|
2035
|
+
region?: string | null | undefined;
|
|
2036
|
+
postalCode?: string | null | undefined;
|
|
2037
|
+
country?: string | null | undefined;
|
|
2038
2038
|
} | undefined;
|
|
2039
2039
|
}>;
|
|
2040
2040
|
readonly outputSchema: z.ZodObject<{
|
|
2041
2041
|
id: z.ZodString;
|
|
2042
2042
|
address: z.ZodObject<{
|
|
2043
|
-
line1: z.ZodString
|
|
2043
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2044
2044
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2045
|
-
city: z.ZodString
|
|
2046
|
-
region: z.ZodString
|
|
2047
|
-
postalCode: z.ZodString
|
|
2048
|
-
country: z.ZodString
|
|
2045
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2046
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2047
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2048
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2049
2049
|
}, "strip", z.ZodTypeAny, {
|
|
2050
|
-
line1
|
|
2051
|
-
city: string;
|
|
2052
|
-
region: string;
|
|
2053
|
-
postalCode: string;
|
|
2054
|
-
country: string;
|
|
2050
|
+
line1?: string | null | undefined;
|
|
2055
2051
|
line2?: string | null | undefined;
|
|
2052
|
+
city?: string | null | undefined;
|
|
2053
|
+
region?: string | null | undefined;
|
|
2054
|
+
postalCode?: string | null | undefined;
|
|
2055
|
+
country?: string | null | undefined;
|
|
2056
2056
|
}, {
|
|
2057
|
-
line1
|
|
2058
|
-
city: string;
|
|
2059
|
-
region: string;
|
|
2060
|
-
postalCode: string;
|
|
2061
|
-
country: string;
|
|
2057
|
+
line1?: string | null | undefined;
|
|
2062
2058
|
line2?: string | null | undefined;
|
|
2059
|
+
city?: string | null | undefined;
|
|
2060
|
+
region?: string | null | undefined;
|
|
2061
|
+
postalCode?: string | null | undefined;
|
|
2062
|
+
country?: string | null | undefined;
|
|
2063
2063
|
}>;
|
|
2064
2064
|
location: z.ZodObject<{
|
|
2065
2065
|
latitude: z.ZodNumber;
|
|
@@ -2080,12 +2080,12 @@ declare class UpdateCustomerAddress extends AbstractApiRequest<typeof updateCust
|
|
|
2080
2080
|
createdAt: string;
|
|
2081
2081
|
updatedAt: string;
|
|
2082
2082
|
address: {
|
|
2083
|
-
line1
|
|
2084
|
-
city: string;
|
|
2085
|
-
region: string;
|
|
2086
|
-
postalCode: string;
|
|
2087
|
-
country: string;
|
|
2083
|
+
line1?: string | null | undefined;
|
|
2088
2084
|
line2?: string | null | undefined;
|
|
2085
|
+
city?: string | null | undefined;
|
|
2086
|
+
region?: string | null | undefined;
|
|
2087
|
+
postalCode?: string | null | undefined;
|
|
2088
|
+
country?: string | null | undefined;
|
|
2089
2089
|
};
|
|
2090
2090
|
location: {
|
|
2091
2091
|
latitude: number;
|
|
@@ -2097,12 +2097,12 @@ declare class UpdateCustomerAddress extends AbstractApiRequest<typeof updateCust
|
|
|
2097
2097
|
createdAt: string;
|
|
2098
2098
|
updatedAt: string;
|
|
2099
2099
|
address: {
|
|
2100
|
-
line1
|
|
2101
|
-
city: string;
|
|
2102
|
-
region: string;
|
|
2103
|
-
postalCode: string;
|
|
2104
|
-
country: string;
|
|
2100
|
+
line1?: string | null | undefined;
|
|
2105
2101
|
line2?: string | null | undefined;
|
|
2102
|
+
city?: string | null | undefined;
|
|
2103
|
+
region?: string | null | undefined;
|
|
2104
|
+
postalCode?: string | null | undefined;
|
|
2105
|
+
country?: string | null | undefined;
|
|
2106
2106
|
};
|
|
2107
2107
|
location: {
|
|
2108
2108
|
latitude: number;
|
|
@@ -2123,26 +2123,26 @@ declare const createCustomerBusinessProfileInputSchema: z.ZodObject<{
|
|
|
2123
2123
|
vat: z.ZodString;
|
|
2124
2124
|
taxCode: z.ZodString;
|
|
2125
2125
|
billingAddress: z.ZodObject<{
|
|
2126
|
-
line1: z.ZodString
|
|
2126
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2127
2127
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2128
|
-
city: z.ZodString
|
|
2129
|
-
region: z.ZodString
|
|
2130
|
-
postalCode: z.ZodString
|
|
2131
|
-
country: z.ZodString
|
|
2128
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2129
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2130
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2131
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2132
2132
|
}, "strip", z.ZodTypeAny, {
|
|
2133
|
-
line1
|
|
2134
|
-
city: string;
|
|
2135
|
-
region: string;
|
|
2136
|
-
postalCode: string;
|
|
2137
|
-
country: string;
|
|
2133
|
+
line1?: string | null | undefined;
|
|
2138
2134
|
line2?: string | null | undefined;
|
|
2135
|
+
city?: string | null | undefined;
|
|
2136
|
+
region?: string | null | undefined;
|
|
2137
|
+
postalCode?: string | null | undefined;
|
|
2138
|
+
country?: string | null | undefined;
|
|
2139
2139
|
}, {
|
|
2140
|
-
line1
|
|
2141
|
-
city: string;
|
|
2142
|
-
region: string;
|
|
2143
|
-
postalCode: string;
|
|
2144
|
-
country: string;
|
|
2140
|
+
line1?: string | null | undefined;
|
|
2145
2141
|
line2?: string | null | undefined;
|
|
2142
|
+
city?: string | null | undefined;
|
|
2143
|
+
region?: string | null | undefined;
|
|
2144
|
+
postalCode?: string | null | undefined;
|
|
2145
|
+
country?: string | null | undefined;
|
|
2146
2146
|
}>;
|
|
2147
2147
|
billingData: z.ZodEffects<z.ZodObject<{
|
|
2148
2148
|
sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -2166,12 +2166,12 @@ declare const createCustomerBusinessProfileInputSchema: z.ZodObject<{
|
|
|
2166
2166
|
vat: string;
|
|
2167
2167
|
taxCode: string;
|
|
2168
2168
|
billingAddress: {
|
|
2169
|
-
line1
|
|
2170
|
-
city: string;
|
|
2171
|
-
region: string;
|
|
2172
|
-
postalCode: string;
|
|
2173
|
-
country: string;
|
|
2169
|
+
line1?: string | null | undefined;
|
|
2174
2170
|
line2?: string | null | undefined;
|
|
2171
|
+
city?: string | null | undefined;
|
|
2172
|
+
region?: string | null | undefined;
|
|
2173
|
+
postalCode?: string | null | undefined;
|
|
2174
|
+
country?: string | null | undefined;
|
|
2175
2175
|
};
|
|
2176
2176
|
billingData: {
|
|
2177
2177
|
sdi?: string | null | undefined;
|
|
@@ -2183,12 +2183,12 @@ declare const createCustomerBusinessProfileInputSchema: z.ZodObject<{
|
|
|
2183
2183
|
vat: string;
|
|
2184
2184
|
taxCode: string;
|
|
2185
2185
|
billingAddress: {
|
|
2186
|
-
line1
|
|
2187
|
-
city: string;
|
|
2188
|
-
region: string;
|
|
2189
|
-
postalCode: string;
|
|
2190
|
-
country: string;
|
|
2186
|
+
line1?: string | null | undefined;
|
|
2191
2187
|
line2?: string | null | undefined;
|
|
2188
|
+
city?: string | null | undefined;
|
|
2189
|
+
region?: string | null | undefined;
|
|
2190
|
+
postalCode?: string | null | undefined;
|
|
2191
|
+
country?: string | null | undefined;
|
|
2192
2192
|
};
|
|
2193
2193
|
billingData: {
|
|
2194
2194
|
sdi?: string | null | undefined;
|
|
@@ -2202,26 +2202,26 @@ declare const createCustomerBusinessProfileResponseSchema: z.ZodObject<{
|
|
|
2202
2202
|
vat: z.ZodString;
|
|
2203
2203
|
taxCode: z.ZodString;
|
|
2204
2204
|
billingAddress: z.ZodObject<{
|
|
2205
|
-
line1: z.ZodString
|
|
2205
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2206
2206
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2207
|
-
city: z.ZodString
|
|
2208
|
-
region: z.ZodString
|
|
2209
|
-
postalCode: z.ZodString
|
|
2210
|
-
country: z.ZodString
|
|
2207
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2208
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2209
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2210
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2211
2211
|
}, "strip", z.ZodTypeAny, {
|
|
2212
|
-
line1
|
|
2213
|
-
city: string;
|
|
2214
|
-
region: string;
|
|
2215
|
-
postalCode: string;
|
|
2216
|
-
country: string;
|
|
2212
|
+
line1?: string | null | undefined;
|
|
2217
2213
|
line2?: string | null | undefined;
|
|
2214
|
+
city?: string | null | undefined;
|
|
2215
|
+
region?: string | null | undefined;
|
|
2216
|
+
postalCode?: string | null | undefined;
|
|
2217
|
+
country?: string | null | undefined;
|
|
2218
2218
|
}, {
|
|
2219
|
-
line1
|
|
2220
|
-
city: string;
|
|
2221
|
-
region: string;
|
|
2222
|
-
postalCode: string;
|
|
2223
|
-
country: string;
|
|
2219
|
+
line1?: string | null | undefined;
|
|
2224
2220
|
line2?: string | null | undefined;
|
|
2221
|
+
city?: string | null | undefined;
|
|
2222
|
+
region?: string | null | undefined;
|
|
2223
|
+
postalCode?: string | null | undefined;
|
|
2224
|
+
country?: string | null | undefined;
|
|
2225
2225
|
}>;
|
|
2226
2226
|
billingData: z.ZodEffects<z.ZodObject<{
|
|
2227
2227
|
sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -2252,12 +2252,12 @@ declare const createCustomerBusinessProfileResponseSchema: z.ZodObject<{
|
|
|
2252
2252
|
vat: string;
|
|
2253
2253
|
taxCode: string;
|
|
2254
2254
|
billingAddress: {
|
|
2255
|
-
line1
|
|
2256
|
-
city: string;
|
|
2257
|
-
region: string;
|
|
2258
|
-
postalCode: string;
|
|
2259
|
-
country: string;
|
|
2255
|
+
line1?: string | null | undefined;
|
|
2260
2256
|
line2?: string | null | undefined;
|
|
2257
|
+
city?: string | null | undefined;
|
|
2258
|
+
region?: string | null | undefined;
|
|
2259
|
+
postalCode?: string | null | undefined;
|
|
2260
|
+
country?: string | null | undefined;
|
|
2261
2261
|
};
|
|
2262
2262
|
billingData: {
|
|
2263
2263
|
sdi?: string | null | undefined;
|
|
@@ -2272,12 +2272,12 @@ declare const createCustomerBusinessProfileResponseSchema: z.ZodObject<{
|
|
|
2272
2272
|
vat: string;
|
|
2273
2273
|
taxCode: string;
|
|
2274
2274
|
billingAddress: {
|
|
2275
|
-
line1
|
|
2276
|
-
city: string;
|
|
2277
|
-
region: string;
|
|
2278
|
-
postalCode: string;
|
|
2279
|
-
country: string;
|
|
2275
|
+
line1?: string | null | undefined;
|
|
2280
2276
|
line2?: string | null | undefined;
|
|
2277
|
+
city?: string | null | undefined;
|
|
2278
|
+
region?: string | null | undefined;
|
|
2279
|
+
postalCode?: string | null | undefined;
|
|
2280
|
+
country?: string | null | undefined;
|
|
2281
2281
|
};
|
|
2282
2282
|
billingData: {
|
|
2283
2283
|
sdi?: string | null | undefined;
|
|
@@ -2295,26 +2295,26 @@ declare class CreateCustomerBusinessProfile extends AbstractApiRequest<typeof cr
|
|
|
2295
2295
|
vat: z.ZodString;
|
|
2296
2296
|
taxCode: z.ZodString;
|
|
2297
2297
|
billingAddress: z.ZodObject<{
|
|
2298
|
-
line1: z.ZodString
|
|
2298
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2299
2299
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2300
|
-
city: z.ZodString
|
|
2301
|
-
region: z.ZodString
|
|
2302
|
-
postalCode: z.ZodString
|
|
2303
|
-
country: z.ZodString
|
|
2300
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2301
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2302
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2303
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2304
2304
|
}, "strip", z.ZodTypeAny, {
|
|
2305
|
-
line1
|
|
2306
|
-
city: string;
|
|
2307
|
-
region: string;
|
|
2308
|
-
postalCode: string;
|
|
2309
|
-
country: string;
|
|
2305
|
+
line1?: string | null | undefined;
|
|
2310
2306
|
line2?: string | null | undefined;
|
|
2307
|
+
city?: string | null | undefined;
|
|
2308
|
+
region?: string | null | undefined;
|
|
2309
|
+
postalCode?: string | null | undefined;
|
|
2310
|
+
country?: string | null | undefined;
|
|
2311
2311
|
}, {
|
|
2312
|
-
line1
|
|
2313
|
-
city: string;
|
|
2314
|
-
region: string;
|
|
2315
|
-
postalCode: string;
|
|
2316
|
-
country: string;
|
|
2312
|
+
line1?: string | null | undefined;
|
|
2317
2313
|
line2?: string | null | undefined;
|
|
2314
|
+
city?: string | null | undefined;
|
|
2315
|
+
region?: string | null | undefined;
|
|
2316
|
+
postalCode?: string | null | undefined;
|
|
2317
|
+
country?: string | null | undefined;
|
|
2318
2318
|
}>;
|
|
2319
2319
|
billingData: z.ZodEffects<z.ZodObject<{
|
|
2320
2320
|
sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -2338,12 +2338,12 @@ declare class CreateCustomerBusinessProfile extends AbstractApiRequest<typeof cr
|
|
|
2338
2338
|
vat: string;
|
|
2339
2339
|
taxCode: string;
|
|
2340
2340
|
billingAddress: {
|
|
2341
|
-
line1
|
|
2342
|
-
city: string;
|
|
2343
|
-
region: string;
|
|
2344
|
-
postalCode: string;
|
|
2345
|
-
country: string;
|
|
2341
|
+
line1?: string | null | undefined;
|
|
2346
2342
|
line2?: string | null | undefined;
|
|
2343
|
+
city?: string | null | undefined;
|
|
2344
|
+
region?: string | null | undefined;
|
|
2345
|
+
postalCode?: string | null | undefined;
|
|
2346
|
+
country?: string | null | undefined;
|
|
2347
2347
|
};
|
|
2348
2348
|
billingData: {
|
|
2349
2349
|
sdi?: string | null | undefined;
|
|
@@ -2355,12 +2355,12 @@ declare class CreateCustomerBusinessProfile extends AbstractApiRequest<typeof cr
|
|
|
2355
2355
|
vat: string;
|
|
2356
2356
|
taxCode: string;
|
|
2357
2357
|
billingAddress: {
|
|
2358
|
-
line1
|
|
2359
|
-
city: string;
|
|
2360
|
-
region: string;
|
|
2361
|
-
postalCode: string;
|
|
2362
|
-
country: string;
|
|
2358
|
+
line1?: string | null | undefined;
|
|
2363
2359
|
line2?: string | null | undefined;
|
|
2360
|
+
city?: string | null | undefined;
|
|
2361
|
+
region?: string | null | undefined;
|
|
2362
|
+
postalCode?: string | null | undefined;
|
|
2363
|
+
country?: string | null | undefined;
|
|
2364
2364
|
};
|
|
2365
2365
|
billingData: {
|
|
2366
2366
|
sdi?: string | null | undefined;
|
|
@@ -2373,26 +2373,26 @@ declare class CreateCustomerBusinessProfile extends AbstractApiRequest<typeof cr
|
|
|
2373
2373
|
vat: z.ZodString;
|
|
2374
2374
|
taxCode: z.ZodString;
|
|
2375
2375
|
billingAddress: z.ZodObject<{
|
|
2376
|
-
line1: z.ZodString
|
|
2376
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2377
2377
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2378
|
-
city: z.ZodString
|
|
2379
|
-
region: z.ZodString
|
|
2380
|
-
postalCode: z.ZodString
|
|
2381
|
-
country: z.ZodString
|
|
2378
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2379
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2380
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2381
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2382
2382
|
}, "strip", z.ZodTypeAny, {
|
|
2383
|
-
line1
|
|
2384
|
-
city: string;
|
|
2385
|
-
region: string;
|
|
2386
|
-
postalCode: string;
|
|
2387
|
-
country: string;
|
|
2383
|
+
line1?: string | null | undefined;
|
|
2388
2384
|
line2?: string | null | undefined;
|
|
2385
|
+
city?: string | null | undefined;
|
|
2386
|
+
region?: string | null | undefined;
|
|
2387
|
+
postalCode?: string | null | undefined;
|
|
2388
|
+
country?: string | null | undefined;
|
|
2389
2389
|
}, {
|
|
2390
|
-
line1
|
|
2391
|
-
city: string;
|
|
2392
|
-
region: string;
|
|
2393
|
-
postalCode: string;
|
|
2394
|
-
country: string;
|
|
2390
|
+
line1?: string | null | undefined;
|
|
2395
2391
|
line2?: string | null | undefined;
|
|
2392
|
+
city?: string | null | undefined;
|
|
2393
|
+
region?: string | null | undefined;
|
|
2394
|
+
postalCode?: string | null | undefined;
|
|
2395
|
+
country?: string | null | undefined;
|
|
2396
2396
|
}>;
|
|
2397
2397
|
billingData: z.ZodEffects<z.ZodObject<{
|
|
2398
2398
|
sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -2423,12 +2423,12 @@ declare class CreateCustomerBusinessProfile extends AbstractApiRequest<typeof cr
|
|
|
2423
2423
|
vat: string;
|
|
2424
2424
|
taxCode: string;
|
|
2425
2425
|
billingAddress: {
|
|
2426
|
-
line1
|
|
2427
|
-
city: string;
|
|
2428
|
-
region: string;
|
|
2429
|
-
postalCode: string;
|
|
2430
|
-
country: string;
|
|
2426
|
+
line1?: string | null | undefined;
|
|
2431
2427
|
line2?: string | null | undefined;
|
|
2428
|
+
city?: string | null | undefined;
|
|
2429
|
+
region?: string | null | undefined;
|
|
2430
|
+
postalCode?: string | null | undefined;
|
|
2431
|
+
country?: string | null | undefined;
|
|
2432
2432
|
};
|
|
2433
2433
|
billingData: {
|
|
2434
2434
|
sdi?: string | null | undefined;
|
|
@@ -2443,12 +2443,12 @@ declare class CreateCustomerBusinessProfile extends AbstractApiRequest<typeof cr
|
|
|
2443
2443
|
vat: string;
|
|
2444
2444
|
taxCode: string;
|
|
2445
2445
|
billingAddress: {
|
|
2446
|
-
line1
|
|
2447
|
-
city: string;
|
|
2448
|
-
region: string;
|
|
2449
|
-
postalCode: string;
|
|
2450
|
-
country: string;
|
|
2446
|
+
line1?: string | null | undefined;
|
|
2451
2447
|
line2?: string | null | undefined;
|
|
2448
|
+
city?: string | null | undefined;
|
|
2449
|
+
region?: string | null | undefined;
|
|
2450
|
+
postalCode?: string | null | undefined;
|
|
2451
|
+
country?: string | null | undefined;
|
|
2452
2452
|
};
|
|
2453
2453
|
billingData: {
|
|
2454
2454
|
sdi?: string | null | undefined;
|
|
@@ -2484,26 +2484,26 @@ declare const getCustomerBusinessProfileDetailsResponseSchema: z.ZodObject<{
|
|
|
2484
2484
|
vat: z.ZodString;
|
|
2485
2485
|
taxCode: z.ZodString;
|
|
2486
2486
|
billingAddress: z.ZodObject<{
|
|
2487
|
-
line1: z.ZodString
|
|
2487
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2488
2488
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2489
|
-
city: z.ZodString
|
|
2490
|
-
region: z.ZodString
|
|
2491
|
-
postalCode: z.ZodString
|
|
2492
|
-
country: z.ZodString
|
|
2489
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2490
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2491
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2492
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2493
2493
|
}, "strip", z.ZodTypeAny, {
|
|
2494
|
-
line1
|
|
2495
|
-
city: string;
|
|
2496
|
-
region: string;
|
|
2497
|
-
postalCode: string;
|
|
2498
|
-
country: string;
|
|
2494
|
+
line1?: string | null | undefined;
|
|
2499
2495
|
line2?: string | null | undefined;
|
|
2496
|
+
city?: string | null | undefined;
|
|
2497
|
+
region?: string | null | undefined;
|
|
2498
|
+
postalCode?: string | null | undefined;
|
|
2499
|
+
country?: string | null | undefined;
|
|
2500
2500
|
}, {
|
|
2501
|
-
line1
|
|
2502
|
-
city: string;
|
|
2503
|
-
region: string;
|
|
2504
|
-
postalCode: string;
|
|
2505
|
-
country: string;
|
|
2501
|
+
line1?: string | null | undefined;
|
|
2506
2502
|
line2?: string | null | undefined;
|
|
2503
|
+
city?: string | null | undefined;
|
|
2504
|
+
region?: string | null | undefined;
|
|
2505
|
+
postalCode?: string | null | undefined;
|
|
2506
|
+
country?: string | null | undefined;
|
|
2507
2507
|
}>;
|
|
2508
2508
|
billingData: z.ZodEffects<z.ZodObject<{
|
|
2509
2509
|
sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -2534,12 +2534,12 @@ declare const getCustomerBusinessProfileDetailsResponseSchema: z.ZodObject<{
|
|
|
2534
2534
|
vat: string;
|
|
2535
2535
|
taxCode: string;
|
|
2536
2536
|
billingAddress: {
|
|
2537
|
-
line1
|
|
2538
|
-
city: string;
|
|
2539
|
-
region: string;
|
|
2540
|
-
postalCode: string;
|
|
2541
|
-
country: string;
|
|
2537
|
+
line1?: string | null | undefined;
|
|
2542
2538
|
line2?: string | null | undefined;
|
|
2539
|
+
city?: string | null | undefined;
|
|
2540
|
+
region?: string | null | undefined;
|
|
2541
|
+
postalCode?: string | null | undefined;
|
|
2542
|
+
country?: string | null | undefined;
|
|
2543
2543
|
};
|
|
2544
2544
|
billingData: {
|
|
2545
2545
|
sdi?: string | null | undefined;
|
|
@@ -2554,12 +2554,12 @@ declare const getCustomerBusinessProfileDetailsResponseSchema: z.ZodObject<{
|
|
|
2554
2554
|
vat: string;
|
|
2555
2555
|
taxCode: string;
|
|
2556
2556
|
billingAddress: {
|
|
2557
|
-
line1
|
|
2558
|
-
city: string;
|
|
2559
|
-
region: string;
|
|
2560
|
-
postalCode: string;
|
|
2561
|
-
country: string;
|
|
2557
|
+
line1?: string | null | undefined;
|
|
2562
2558
|
line2?: string | null | undefined;
|
|
2559
|
+
city?: string | null | undefined;
|
|
2560
|
+
region?: string | null | undefined;
|
|
2561
|
+
postalCode?: string | null | undefined;
|
|
2562
|
+
country?: string | null | undefined;
|
|
2563
2563
|
};
|
|
2564
2564
|
billingData: {
|
|
2565
2565
|
sdi?: string | null | undefined;
|
|
@@ -2578,26 +2578,26 @@ declare class GetCustomerBusinessProfileDetails extends AbstractApiRequest<typeo
|
|
|
2578
2578
|
vat: z.ZodString;
|
|
2579
2579
|
taxCode: z.ZodString;
|
|
2580
2580
|
billingAddress: z.ZodObject<{
|
|
2581
|
-
line1: z.ZodString
|
|
2581
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2582
2582
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2583
|
-
city: z.ZodString
|
|
2584
|
-
region: z.ZodString
|
|
2585
|
-
postalCode: z.ZodString
|
|
2586
|
-
country: z.ZodString
|
|
2583
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2584
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2585
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2586
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2587
2587
|
}, "strip", z.ZodTypeAny, {
|
|
2588
|
-
line1
|
|
2589
|
-
city: string;
|
|
2590
|
-
region: string;
|
|
2591
|
-
postalCode: string;
|
|
2592
|
-
country: string;
|
|
2588
|
+
line1?: string | null | undefined;
|
|
2593
2589
|
line2?: string | null | undefined;
|
|
2590
|
+
city?: string | null | undefined;
|
|
2591
|
+
region?: string | null | undefined;
|
|
2592
|
+
postalCode?: string | null | undefined;
|
|
2593
|
+
country?: string | null | undefined;
|
|
2594
2594
|
}, {
|
|
2595
|
-
line1
|
|
2596
|
-
city: string;
|
|
2597
|
-
region: string;
|
|
2598
|
-
postalCode: string;
|
|
2599
|
-
country: string;
|
|
2595
|
+
line1?: string | null | undefined;
|
|
2600
2596
|
line2?: string | null | undefined;
|
|
2597
|
+
city?: string | null | undefined;
|
|
2598
|
+
region?: string | null | undefined;
|
|
2599
|
+
postalCode?: string | null | undefined;
|
|
2600
|
+
country?: string | null | undefined;
|
|
2601
2601
|
}>;
|
|
2602
2602
|
billingData: z.ZodEffects<z.ZodObject<{
|
|
2603
2603
|
sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -2628,12 +2628,12 @@ declare class GetCustomerBusinessProfileDetails extends AbstractApiRequest<typeo
|
|
|
2628
2628
|
vat: string;
|
|
2629
2629
|
taxCode: string;
|
|
2630
2630
|
billingAddress: {
|
|
2631
|
-
line1
|
|
2632
|
-
city: string;
|
|
2633
|
-
region: string;
|
|
2634
|
-
postalCode: string;
|
|
2635
|
-
country: string;
|
|
2631
|
+
line1?: string | null | undefined;
|
|
2636
2632
|
line2?: string | null | undefined;
|
|
2633
|
+
city?: string | null | undefined;
|
|
2634
|
+
region?: string | null | undefined;
|
|
2635
|
+
postalCode?: string | null | undefined;
|
|
2636
|
+
country?: string | null | undefined;
|
|
2637
2637
|
};
|
|
2638
2638
|
billingData: {
|
|
2639
2639
|
sdi?: string | null | undefined;
|
|
@@ -2648,12 +2648,12 @@ declare class GetCustomerBusinessProfileDetails extends AbstractApiRequest<typeo
|
|
|
2648
2648
|
vat: string;
|
|
2649
2649
|
taxCode: string;
|
|
2650
2650
|
billingAddress: {
|
|
2651
|
-
line1
|
|
2652
|
-
city: string;
|
|
2653
|
-
region: string;
|
|
2654
|
-
postalCode: string;
|
|
2655
|
-
country: string;
|
|
2651
|
+
line1?: string | null | undefined;
|
|
2656
2652
|
line2?: string | null | undefined;
|
|
2653
|
+
city?: string | null | undefined;
|
|
2654
|
+
region?: string | null | undefined;
|
|
2655
|
+
postalCode?: string | null | undefined;
|
|
2656
|
+
country?: string | null | undefined;
|
|
2657
2657
|
};
|
|
2658
2658
|
billingData: {
|
|
2659
2659
|
sdi?: string | null | undefined;
|
|
@@ -2727,26 +2727,26 @@ declare const getCustomerBusinessProfilesResponseSchema: z.ZodObject<{
|
|
|
2727
2727
|
vat: z.ZodString;
|
|
2728
2728
|
taxCode: z.ZodString;
|
|
2729
2729
|
billingAddress: z.ZodObject<{
|
|
2730
|
-
line1: z.ZodString
|
|
2730
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2731
2731
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2732
|
-
city: z.ZodString
|
|
2733
|
-
region: z.ZodString
|
|
2734
|
-
postalCode: z.ZodString
|
|
2735
|
-
country: z.ZodString
|
|
2732
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2733
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2734
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2735
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2736
2736
|
}, "strip", z.ZodTypeAny, {
|
|
2737
|
-
line1
|
|
2738
|
-
city: string;
|
|
2739
|
-
region: string;
|
|
2740
|
-
postalCode: string;
|
|
2741
|
-
country: string;
|
|
2737
|
+
line1?: string | null | undefined;
|
|
2742
2738
|
line2?: string | null | undefined;
|
|
2739
|
+
city?: string | null | undefined;
|
|
2740
|
+
region?: string | null | undefined;
|
|
2741
|
+
postalCode?: string | null | undefined;
|
|
2742
|
+
country?: string | null | undefined;
|
|
2743
2743
|
}, {
|
|
2744
|
-
line1
|
|
2745
|
-
city: string;
|
|
2746
|
-
region: string;
|
|
2747
|
-
postalCode: string;
|
|
2748
|
-
country: string;
|
|
2744
|
+
line1?: string | null | undefined;
|
|
2749
2745
|
line2?: string | null | undefined;
|
|
2746
|
+
city?: string | null | undefined;
|
|
2747
|
+
region?: string | null | undefined;
|
|
2748
|
+
postalCode?: string | null | undefined;
|
|
2749
|
+
country?: string | null | undefined;
|
|
2750
2750
|
}>;
|
|
2751
2751
|
billingData: z.ZodEffects<z.ZodObject<{
|
|
2752
2752
|
sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -2774,12 +2774,12 @@ declare const getCustomerBusinessProfilesResponseSchema: z.ZodObject<{
|
|
|
2774
2774
|
vat: string;
|
|
2775
2775
|
taxCode: string;
|
|
2776
2776
|
billingAddress: {
|
|
2777
|
-
line1
|
|
2778
|
-
city: string;
|
|
2779
|
-
region: string;
|
|
2780
|
-
postalCode: string;
|
|
2781
|
-
country: string;
|
|
2777
|
+
line1?: string | null | undefined;
|
|
2782
2778
|
line2?: string | null | undefined;
|
|
2779
|
+
city?: string | null | undefined;
|
|
2780
|
+
region?: string | null | undefined;
|
|
2781
|
+
postalCode?: string | null | undefined;
|
|
2782
|
+
country?: string | null | undefined;
|
|
2783
2783
|
};
|
|
2784
2784
|
billingData: {
|
|
2785
2785
|
sdi?: string | null | undefined;
|
|
@@ -2793,12 +2793,12 @@ declare const getCustomerBusinessProfilesResponseSchema: z.ZodObject<{
|
|
|
2793
2793
|
vat: string;
|
|
2794
2794
|
taxCode: string;
|
|
2795
2795
|
billingAddress: {
|
|
2796
|
-
line1
|
|
2797
|
-
city: string;
|
|
2798
|
-
region: string;
|
|
2799
|
-
postalCode: string;
|
|
2800
|
-
country: string;
|
|
2796
|
+
line1?: string | null | undefined;
|
|
2801
2797
|
line2?: string | null | undefined;
|
|
2798
|
+
city?: string | null | undefined;
|
|
2799
|
+
region?: string | null | undefined;
|
|
2800
|
+
postalCode?: string | null | undefined;
|
|
2801
|
+
country?: string | null | undefined;
|
|
2802
2802
|
};
|
|
2803
2803
|
billingData: {
|
|
2804
2804
|
sdi?: string | null | undefined;
|
|
@@ -2836,12 +2836,12 @@ declare const getCustomerBusinessProfilesResponseSchema: z.ZodObject<{
|
|
|
2836
2836
|
vat: string;
|
|
2837
2837
|
taxCode: string;
|
|
2838
2838
|
billingAddress: {
|
|
2839
|
-
line1
|
|
2840
|
-
city: string;
|
|
2841
|
-
region: string;
|
|
2842
|
-
postalCode: string;
|
|
2843
|
-
country: string;
|
|
2839
|
+
line1?: string | null | undefined;
|
|
2844
2840
|
line2?: string | null | undefined;
|
|
2841
|
+
city?: string | null | undefined;
|
|
2842
|
+
region?: string | null | undefined;
|
|
2843
|
+
postalCode?: string | null | undefined;
|
|
2844
|
+
country?: string | null | undefined;
|
|
2845
2845
|
};
|
|
2846
2846
|
billingData: {
|
|
2847
2847
|
sdi?: string | null | undefined;
|
|
@@ -2865,12 +2865,12 @@ declare const getCustomerBusinessProfilesResponseSchema: z.ZodObject<{
|
|
|
2865
2865
|
vat: string;
|
|
2866
2866
|
taxCode: string;
|
|
2867
2867
|
billingAddress: {
|
|
2868
|
-
line1
|
|
2869
|
-
city: string;
|
|
2870
|
-
region: string;
|
|
2871
|
-
postalCode: string;
|
|
2872
|
-
country: string;
|
|
2868
|
+
line1?: string | null | undefined;
|
|
2873
2869
|
line2?: string | null | undefined;
|
|
2870
|
+
city?: string | null | undefined;
|
|
2871
|
+
region?: string | null | undefined;
|
|
2872
|
+
postalCode?: string | null | undefined;
|
|
2873
|
+
country?: string | null | undefined;
|
|
2874
2874
|
};
|
|
2875
2875
|
billingData: {
|
|
2876
2876
|
sdi?: string | null | undefined;
|
|
@@ -2899,26 +2899,26 @@ declare class GetCustomerBusinessProfiles extends AbstractApiRequest<typeof getC
|
|
|
2899
2899
|
vat: z.ZodString;
|
|
2900
2900
|
taxCode: z.ZodString;
|
|
2901
2901
|
billingAddress: z.ZodObject<{
|
|
2902
|
-
line1: z.ZodString
|
|
2902
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2903
2903
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2904
|
-
city: z.ZodString
|
|
2905
|
-
region: z.ZodString
|
|
2906
|
-
postalCode: z.ZodString
|
|
2907
|
-
country: z.ZodString
|
|
2904
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2905
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2906
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2907
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2908
2908
|
}, "strip", z.ZodTypeAny, {
|
|
2909
|
-
line1
|
|
2910
|
-
city: string;
|
|
2911
|
-
region: string;
|
|
2912
|
-
postalCode: string;
|
|
2913
|
-
country: string;
|
|
2909
|
+
line1?: string | null | undefined;
|
|
2914
2910
|
line2?: string | null | undefined;
|
|
2911
|
+
city?: string | null | undefined;
|
|
2912
|
+
region?: string | null | undefined;
|
|
2913
|
+
postalCode?: string | null | undefined;
|
|
2914
|
+
country?: string | null | undefined;
|
|
2915
2915
|
}, {
|
|
2916
|
-
line1
|
|
2917
|
-
city: string;
|
|
2918
|
-
region: string;
|
|
2919
|
-
postalCode: string;
|
|
2920
|
-
country: string;
|
|
2916
|
+
line1?: string | null | undefined;
|
|
2921
2917
|
line2?: string | null | undefined;
|
|
2918
|
+
city?: string | null | undefined;
|
|
2919
|
+
region?: string | null | undefined;
|
|
2920
|
+
postalCode?: string | null | undefined;
|
|
2921
|
+
country?: string | null | undefined;
|
|
2922
2922
|
}>;
|
|
2923
2923
|
billingData: z.ZodEffects<z.ZodObject<{
|
|
2924
2924
|
sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -2946,12 +2946,12 @@ declare class GetCustomerBusinessProfiles extends AbstractApiRequest<typeof getC
|
|
|
2946
2946
|
vat: string;
|
|
2947
2947
|
taxCode: string;
|
|
2948
2948
|
billingAddress: {
|
|
2949
|
-
line1
|
|
2950
|
-
city: string;
|
|
2951
|
-
region: string;
|
|
2952
|
-
postalCode: string;
|
|
2953
|
-
country: string;
|
|
2949
|
+
line1?: string | null | undefined;
|
|
2954
2950
|
line2?: string | null | undefined;
|
|
2951
|
+
city?: string | null | undefined;
|
|
2952
|
+
region?: string | null | undefined;
|
|
2953
|
+
postalCode?: string | null | undefined;
|
|
2954
|
+
country?: string | null | undefined;
|
|
2955
2955
|
};
|
|
2956
2956
|
billingData: {
|
|
2957
2957
|
sdi?: string | null | undefined;
|
|
@@ -2965,12 +2965,12 @@ declare class GetCustomerBusinessProfiles extends AbstractApiRequest<typeof getC
|
|
|
2965
2965
|
vat: string;
|
|
2966
2966
|
taxCode: string;
|
|
2967
2967
|
billingAddress: {
|
|
2968
|
-
line1
|
|
2969
|
-
city: string;
|
|
2970
|
-
region: string;
|
|
2971
|
-
postalCode: string;
|
|
2972
|
-
country: string;
|
|
2968
|
+
line1?: string | null | undefined;
|
|
2973
2969
|
line2?: string | null | undefined;
|
|
2970
|
+
city?: string | null | undefined;
|
|
2971
|
+
region?: string | null | undefined;
|
|
2972
|
+
postalCode?: string | null | undefined;
|
|
2973
|
+
country?: string | null | undefined;
|
|
2974
2974
|
};
|
|
2975
2975
|
billingData: {
|
|
2976
2976
|
sdi?: string | null | undefined;
|
|
@@ -3008,12 +3008,12 @@ declare class GetCustomerBusinessProfiles extends AbstractApiRequest<typeof getC
|
|
|
3008
3008
|
vat: string;
|
|
3009
3009
|
taxCode: string;
|
|
3010
3010
|
billingAddress: {
|
|
3011
|
-
line1
|
|
3012
|
-
city: string;
|
|
3013
|
-
region: string;
|
|
3014
|
-
postalCode: string;
|
|
3015
|
-
country: string;
|
|
3011
|
+
line1?: string | null | undefined;
|
|
3016
3012
|
line2?: string | null | undefined;
|
|
3013
|
+
city?: string | null | undefined;
|
|
3014
|
+
region?: string | null | undefined;
|
|
3015
|
+
postalCode?: string | null | undefined;
|
|
3016
|
+
country?: string | null | undefined;
|
|
3017
3017
|
};
|
|
3018
3018
|
billingData: {
|
|
3019
3019
|
sdi?: string | null | undefined;
|
|
@@ -3037,12 +3037,12 @@ declare class GetCustomerBusinessProfiles extends AbstractApiRequest<typeof getC
|
|
|
3037
3037
|
vat: string;
|
|
3038
3038
|
taxCode: string;
|
|
3039
3039
|
billingAddress: {
|
|
3040
|
-
line1
|
|
3041
|
-
city: string;
|
|
3042
|
-
region: string;
|
|
3043
|
-
postalCode: string;
|
|
3044
|
-
country: string;
|
|
3040
|
+
line1?: string | null | undefined;
|
|
3045
3041
|
line2?: string | null | undefined;
|
|
3042
|
+
city?: string | null | undefined;
|
|
3043
|
+
region?: string | null | undefined;
|
|
3044
|
+
postalCode?: string | null | undefined;
|
|
3045
|
+
country?: string | null | undefined;
|
|
3046
3046
|
};
|
|
3047
3047
|
billingData: {
|
|
3048
3048
|
sdi?: string | null | undefined;
|
|
@@ -3172,26 +3172,26 @@ declare const getCustomerBusinessProfilesForCustomerResponseSchema: z.ZodArray<z
|
|
|
3172
3172
|
vat: z.ZodString;
|
|
3173
3173
|
taxCode: z.ZodString;
|
|
3174
3174
|
billingAddress: z.ZodObject<{
|
|
3175
|
-
line1: z.ZodString
|
|
3175
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3176
3176
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3177
|
-
city: z.ZodString
|
|
3178
|
-
region: z.ZodString
|
|
3179
|
-
postalCode: z.ZodString
|
|
3180
|
-
country: z.ZodString
|
|
3177
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3178
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3179
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3180
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3181
3181
|
}, "strip", z.ZodTypeAny, {
|
|
3182
|
-
line1
|
|
3183
|
-
city: string;
|
|
3184
|
-
region: string;
|
|
3185
|
-
postalCode: string;
|
|
3186
|
-
country: string;
|
|
3182
|
+
line1?: string | null | undefined;
|
|
3187
3183
|
line2?: string | null | undefined;
|
|
3184
|
+
city?: string | null | undefined;
|
|
3185
|
+
region?: string | null | undefined;
|
|
3186
|
+
postalCode?: string | null | undefined;
|
|
3187
|
+
country?: string | null | undefined;
|
|
3188
3188
|
}, {
|
|
3189
|
-
line1
|
|
3190
|
-
city: string;
|
|
3191
|
-
region: string;
|
|
3192
|
-
postalCode: string;
|
|
3193
|
-
country: string;
|
|
3189
|
+
line1?: string | null | undefined;
|
|
3194
3190
|
line2?: string | null | undefined;
|
|
3191
|
+
city?: string | null | undefined;
|
|
3192
|
+
region?: string | null | undefined;
|
|
3193
|
+
postalCode?: string | null | undefined;
|
|
3194
|
+
country?: string | null | undefined;
|
|
3195
3195
|
}>;
|
|
3196
3196
|
billingData: z.ZodEffects<z.ZodObject<{
|
|
3197
3197
|
sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -3219,12 +3219,12 @@ declare const getCustomerBusinessProfilesForCustomerResponseSchema: z.ZodArray<z
|
|
|
3219
3219
|
vat: string;
|
|
3220
3220
|
taxCode: string;
|
|
3221
3221
|
billingAddress: {
|
|
3222
|
-
line1
|
|
3223
|
-
city: string;
|
|
3224
|
-
region: string;
|
|
3225
|
-
postalCode: string;
|
|
3226
|
-
country: string;
|
|
3222
|
+
line1?: string | null | undefined;
|
|
3227
3223
|
line2?: string | null | undefined;
|
|
3224
|
+
city?: string | null | undefined;
|
|
3225
|
+
region?: string | null | undefined;
|
|
3226
|
+
postalCode?: string | null | undefined;
|
|
3227
|
+
country?: string | null | undefined;
|
|
3228
3228
|
};
|
|
3229
3229
|
billingData: {
|
|
3230
3230
|
sdi?: string | null | undefined;
|
|
@@ -3238,12 +3238,12 @@ declare const getCustomerBusinessProfilesForCustomerResponseSchema: z.ZodArray<z
|
|
|
3238
3238
|
vat: string;
|
|
3239
3239
|
taxCode: string;
|
|
3240
3240
|
billingAddress: {
|
|
3241
|
-
line1
|
|
3242
|
-
city: string;
|
|
3243
|
-
region: string;
|
|
3244
|
-
postalCode: string;
|
|
3245
|
-
country: string;
|
|
3241
|
+
line1?: string | null | undefined;
|
|
3246
3242
|
line2?: string | null | undefined;
|
|
3243
|
+
city?: string | null | undefined;
|
|
3244
|
+
region?: string | null | undefined;
|
|
3245
|
+
postalCode?: string | null | undefined;
|
|
3246
|
+
country?: string | null | undefined;
|
|
3247
3247
|
};
|
|
3248
3248
|
billingData: {
|
|
3249
3249
|
sdi?: string | null | undefined;
|
|
@@ -3262,26 +3262,26 @@ declare class GetCustomerBusinessProfilesForCustomer extends AbstractApiRequest<
|
|
|
3262
3262
|
vat: z.ZodString;
|
|
3263
3263
|
taxCode: z.ZodString;
|
|
3264
3264
|
billingAddress: z.ZodObject<{
|
|
3265
|
-
line1: z.ZodString
|
|
3265
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3266
3266
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3267
|
-
city: z.ZodString
|
|
3268
|
-
region: z.ZodString
|
|
3269
|
-
postalCode: z.ZodString
|
|
3270
|
-
country: z.ZodString
|
|
3267
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3268
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3269
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3270
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3271
3271
|
}, "strip", z.ZodTypeAny, {
|
|
3272
|
-
line1
|
|
3273
|
-
city: string;
|
|
3274
|
-
region: string;
|
|
3275
|
-
postalCode: string;
|
|
3276
|
-
country: string;
|
|
3272
|
+
line1?: string | null | undefined;
|
|
3277
3273
|
line2?: string | null | undefined;
|
|
3274
|
+
city?: string | null | undefined;
|
|
3275
|
+
region?: string | null | undefined;
|
|
3276
|
+
postalCode?: string | null | undefined;
|
|
3277
|
+
country?: string | null | undefined;
|
|
3278
3278
|
}, {
|
|
3279
|
-
line1
|
|
3280
|
-
city: string;
|
|
3281
|
-
region: string;
|
|
3282
|
-
postalCode: string;
|
|
3283
|
-
country: string;
|
|
3279
|
+
line1?: string | null | undefined;
|
|
3284
3280
|
line2?: string | null | undefined;
|
|
3281
|
+
city?: string | null | undefined;
|
|
3282
|
+
region?: string | null | undefined;
|
|
3283
|
+
postalCode?: string | null | undefined;
|
|
3284
|
+
country?: string | null | undefined;
|
|
3285
3285
|
}>;
|
|
3286
3286
|
billingData: z.ZodEffects<z.ZodObject<{
|
|
3287
3287
|
sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -3309,12 +3309,12 @@ declare class GetCustomerBusinessProfilesForCustomer extends AbstractApiRequest<
|
|
|
3309
3309
|
vat: string;
|
|
3310
3310
|
taxCode: string;
|
|
3311
3311
|
billingAddress: {
|
|
3312
|
-
line1
|
|
3313
|
-
city: string;
|
|
3314
|
-
region: string;
|
|
3315
|
-
postalCode: string;
|
|
3316
|
-
country: string;
|
|
3312
|
+
line1?: string | null | undefined;
|
|
3317
3313
|
line2?: string | null | undefined;
|
|
3314
|
+
city?: string | null | undefined;
|
|
3315
|
+
region?: string | null | undefined;
|
|
3316
|
+
postalCode?: string | null | undefined;
|
|
3317
|
+
country?: string | null | undefined;
|
|
3318
3318
|
};
|
|
3319
3319
|
billingData: {
|
|
3320
3320
|
sdi?: string | null | undefined;
|
|
@@ -3328,12 +3328,12 @@ declare class GetCustomerBusinessProfilesForCustomer extends AbstractApiRequest<
|
|
|
3328
3328
|
vat: string;
|
|
3329
3329
|
taxCode: string;
|
|
3330
3330
|
billingAddress: {
|
|
3331
|
-
line1
|
|
3332
|
-
city: string;
|
|
3333
|
-
region: string;
|
|
3334
|
-
postalCode: string;
|
|
3335
|
-
country: string;
|
|
3331
|
+
line1?: string | null | undefined;
|
|
3336
3332
|
line2?: string | null | undefined;
|
|
3333
|
+
city?: string | null | undefined;
|
|
3334
|
+
region?: string | null | undefined;
|
|
3335
|
+
postalCode?: string | null | undefined;
|
|
3336
|
+
country?: string | null | undefined;
|
|
3337
3337
|
};
|
|
3338
3338
|
billingData: {
|
|
3339
3339
|
sdi?: string | null | undefined;
|
|
@@ -3401,26 +3401,26 @@ declare const updateCustomerBusinessProfileInputSchema: z.ZodObject<{
|
|
|
3401
3401
|
vat: z.ZodOptional<z.ZodString>;
|
|
3402
3402
|
taxCode: z.ZodOptional<z.ZodString>;
|
|
3403
3403
|
billingAddress: z.ZodOptional<z.ZodObject<{
|
|
3404
|
-
line1: z.ZodString
|
|
3404
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3405
3405
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3406
|
-
city: z.ZodString
|
|
3407
|
-
region: z.ZodString
|
|
3408
|
-
postalCode: z.ZodString
|
|
3409
|
-
country: z.ZodString
|
|
3406
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3407
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3408
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3409
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3410
3410
|
}, "strip", z.ZodTypeAny, {
|
|
3411
|
-
line1
|
|
3412
|
-
city: string;
|
|
3413
|
-
region: string;
|
|
3414
|
-
postalCode: string;
|
|
3415
|
-
country: string;
|
|
3411
|
+
line1?: string | null | undefined;
|
|
3416
3412
|
line2?: string | null | undefined;
|
|
3413
|
+
city?: string | null | undefined;
|
|
3414
|
+
region?: string | null | undefined;
|
|
3415
|
+
postalCode?: string | null | undefined;
|
|
3416
|
+
country?: string | null | undefined;
|
|
3417
3417
|
}, {
|
|
3418
|
-
line1
|
|
3419
|
-
city: string;
|
|
3420
|
-
region: string;
|
|
3421
|
-
postalCode: string;
|
|
3422
|
-
country: string;
|
|
3418
|
+
line1?: string | null | undefined;
|
|
3423
3419
|
line2?: string | null | undefined;
|
|
3420
|
+
city?: string | null | undefined;
|
|
3421
|
+
region?: string | null | undefined;
|
|
3422
|
+
postalCode?: string | null | undefined;
|
|
3423
|
+
country?: string | null | undefined;
|
|
3424
3424
|
}>>;
|
|
3425
3425
|
billingData: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
3426
3426
|
sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -3443,12 +3443,12 @@ declare const updateCustomerBusinessProfileInputSchema: z.ZodObject<{
|
|
|
3443
3443
|
vat?: string | undefined;
|
|
3444
3444
|
taxCode?: string | undefined;
|
|
3445
3445
|
billingAddress?: {
|
|
3446
|
-
line1
|
|
3447
|
-
city: string;
|
|
3448
|
-
region: string;
|
|
3449
|
-
postalCode: string;
|
|
3450
|
-
country: string;
|
|
3446
|
+
line1?: string | null | undefined;
|
|
3451
3447
|
line2?: string | null | undefined;
|
|
3448
|
+
city?: string | null | undefined;
|
|
3449
|
+
region?: string | null | undefined;
|
|
3450
|
+
postalCode?: string | null | undefined;
|
|
3451
|
+
country?: string | null | undefined;
|
|
3452
3452
|
} | undefined;
|
|
3453
3453
|
billingData?: {
|
|
3454
3454
|
sdi?: string | null | undefined;
|
|
@@ -3459,12 +3459,12 @@ declare const updateCustomerBusinessProfileInputSchema: z.ZodObject<{
|
|
|
3459
3459
|
vat?: string | undefined;
|
|
3460
3460
|
taxCode?: string | undefined;
|
|
3461
3461
|
billingAddress?: {
|
|
3462
|
-
line1
|
|
3463
|
-
city: string;
|
|
3464
|
-
region: string;
|
|
3465
|
-
postalCode: string;
|
|
3466
|
-
country: string;
|
|
3462
|
+
line1?: string | null | undefined;
|
|
3467
3463
|
line2?: string | null | undefined;
|
|
3464
|
+
city?: string | null | undefined;
|
|
3465
|
+
region?: string | null | undefined;
|
|
3466
|
+
postalCode?: string | null | undefined;
|
|
3467
|
+
country?: string | null | undefined;
|
|
3468
3468
|
} | undefined;
|
|
3469
3469
|
billingData?: {
|
|
3470
3470
|
sdi?: string | null | undefined;
|
|
@@ -3478,26 +3478,26 @@ declare const updateCustomerBusinessProfileResponseSchema: z.ZodObject<{
|
|
|
3478
3478
|
vat: z.ZodString;
|
|
3479
3479
|
taxCode: z.ZodString;
|
|
3480
3480
|
billingAddress: z.ZodObject<{
|
|
3481
|
-
line1: z.ZodString
|
|
3481
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3482
3482
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3483
|
-
city: z.ZodString
|
|
3484
|
-
region: z.ZodString
|
|
3485
|
-
postalCode: z.ZodString
|
|
3486
|
-
country: z.ZodString
|
|
3483
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3484
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3485
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3486
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3487
3487
|
}, "strip", z.ZodTypeAny, {
|
|
3488
|
-
line1
|
|
3489
|
-
city: string;
|
|
3490
|
-
region: string;
|
|
3491
|
-
postalCode: string;
|
|
3492
|
-
country: string;
|
|
3488
|
+
line1?: string | null | undefined;
|
|
3493
3489
|
line2?: string | null | undefined;
|
|
3490
|
+
city?: string | null | undefined;
|
|
3491
|
+
region?: string | null | undefined;
|
|
3492
|
+
postalCode?: string | null | undefined;
|
|
3493
|
+
country?: string | null | undefined;
|
|
3494
3494
|
}, {
|
|
3495
|
-
line1
|
|
3496
|
-
city: string;
|
|
3497
|
-
region: string;
|
|
3498
|
-
postalCode: string;
|
|
3499
|
-
country: string;
|
|
3495
|
+
line1?: string | null | undefined;
|
|
3500
3496
|
line2?: string | null | undefined;
|
|
3497
|
+
city?: string | null | undefined;
|
|
3498
|
+
region?: string | null | undefined;
|
|
3499
|
+
postalCode?: string | null | undefined;
|
|
3500
|
+
country?: string | null | undefined;
|
|
3501
3501
|
}>;
|
|
3502
3502
|
billingData: z.ZodEffects<z.ZodObject<{
|
|
3503
3503
|
sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -3528,12 +3528,12 @@ declare const updateCustomerBusinessProfileResponseSchema: z.ZodObject<{
|
|
|
3528
3528
|
vat: string;
|
|
3529
3529
|
taxCode: string;
|
|
3530
3530
|
billingAddress: {
|
|
3531
|
-
line1
|
|
3532
|
-
city: string;
|
|
3533
|
-
region: string;
|
|
3534
|
-
postalCode: string;
|
|
3535
|
-
country: string;
|
|
3531
|
+
line1?: string | null | undefined;
|
|
3536
3532
|
line2?: string | null | undefined;
|
|
3533
|
+
city?: string | null | undefined;
|
|
3534
|
+
region?: string | null | undefined;
|
|
3535
|
+
postalCode?: string | null | undefined;
|
|
3536
|
+
country?: string | null | undefined;
|
|
3537
3537
|
};
|
|
3538
3538
|
billingData: {
|
|
3539
3539
|
sdi?: string | null | undefined;
|
|
@@ -3548,12 +3548,12 @@ declare const updateCustomerBusinessProfileResponseSchema: z.ZodObject<{
|
|
|
3548
3548
|
vat: string;
|
|
3549
3549
|
taxCode: string;
|
|
3550
3550
|
billingAddress: {
|
|
3551
|
-
line1
|
|
3552
|
-
city: string;
|
|
3553
|
-
region: string;
|
|
3554
|
-
postalCode: string;
|
|
3555
|
-
country: string;
|
|
3551
|
+
line1?: string | null | undefined;
|
|
3556
3552
|
line2?: string | null | undefined;
|
|
3553
|
+
city?: string | null | undefined;
|
|
3554
|
+
region?: string | null | undefined;
|
|
3555
|
+
postalCode?: string | null | undefined;
|
|
3556
|
+
country?: string | null | undefined;
|
|
3557
3557
|
};
|
|
3558
3558
|
billingData: {
|
|
3559
3559
|
sdi?: string | null | undefined;
|
|
@@ -3570,26 +3570,26 @@ declare class UpdateCustomerBusinessProfile extends AbstractApiRequest<typeof up
|
|
|
3570
3570
|
vat: z.ZodOptional<z.ZodString>;
|
|
3571
3571
|
taxCode: z.ZodOptional<z.ZodString>;
|
|
3572
3572
|
billingAddress: z.ZodOptional<z.ZodObject<{
|
|
3573
|
-
line1: z.ZodString
|
|
3573
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3574
3574
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3575
|
-
city: z.ZodString
|
|
3576
|
-
region: z.ZodString
|
|
3577
|
-
postalCode: z.ZodString
|
|
3578
|
-
country: z.ZodString
|
|
3575
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3576
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3577
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3578
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3579
3579
|
}, "strip", z.ZodTypeAny, {
|
|
3580
|
-
line1
|
|
3581
|
-
city: string;
|
|
3582
|
-
region: string;
|
|
3583
|
-
postalCode: string;
|
|
3584
|
-
country: string;
|
|
3580
|
+
line1?: string | null | undefined;
|
|
3585
3581
|
line2?: string | null | undefined;
|
|
3582
|
+
city?: string | null | undefined;
|
|
3583
|
+
region?: string | null | undefined;
|
|
3584
|
+
postalCode?: string | null | undefined;
|
|
3585
|
+
country?: string | null | undefined;
|
|
3586
3586
|
}, {
|
|
3587
|
-
line1
|
|
3588
|
-
city: string;
|
|
3589
|
-
region: string;
|
|
3590
|
-
postalCode: string;
|
|
3591
|
-
country: string;
|
|
3587
|
+
line1?: string | null | undefined;
|
|
3592
3588
|
line2?: string | null | undefined;
|
|
3589
|
+
city?: string | null | undefined;
|
|
3590
|
+
region?: string | null | undefined;
|
|
3591
|
+
postalCode?: string | null | undefined;
|
|
3592
|
+
country?: string | null | undefined;
|
|
3593
3593
|
}>>;
|
|
3594
3594
|
billingData: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
3595
3595
|
sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -3612,12 +3612,12 @@ declare class UpdateCustomerBusinessProfile extends AbstractApiRequest<typeof up
|
|
|
3612
3612
|
vat?: string | undefined;
|
|
3613
3613
|
taxCode?: string | undefined;
|
|
3614
3614
|
billingAddress?: {
|
|
3615
|
-
line1
|
|
3616
|
-
city: string;
|
|
3617
|
-
region: string;
|
|
3618
|
-
postalCode: string;
|
|
3619
|
-
country: string;
|
|
3615
|
+
line1?: string | null | undefined;
|
|
3620
3616
|
line2?: string | null | undefined;
|
|
3617
|
+
city?: string | null | undefined;
|
|
3618
|
+
region?: string | null | undefined;
|
|
3619
|
+
postalCode?: string | null | undefined;
|
|
3620
|
+
country?: string | null | undefined;
|
|
3621
3621
|
} | undefined;
|
|
3622
3622
|
billingData?: {
|
|
3623
3623
|
sdi?: string | null | undefined;
|
|
@@ -3628,12 +3628,12 @@ declare class UpdateCustomerBusinessProfile extends AbstractApiRequest<typeof up
|
|
|
3628
3628
|
vat?: string | undefined;
|
|
3629
3629
|
taxCode?: string | undefined;
|
|
3630
3630
|
billingAddress?: {
|
|
3631
|
-
line1
|
|
3632
|
-
city: string;
|
|
3633
|
-
region: string;
|
|
3634
|
-
postalCode: string;
|
|
3635
|
-
country: string;
|
|
3631
|
+
line1?: string | null | undefined;
|
|
3636
3632
|
line2?: string | null | undefined;
|
|
3633
|
+
city?: string | null | undefined;
|
|
3634
|
+
region?: string | null | undefined;
|
|
3635
|
+
postalCode?: string | null | undefined;
|
|
3636
|
+
country?: string | null | undefined;
|
|
3637
3637
|
} | undefined;
|
|
3638
3638
|
billingData?: {
|
|
3639
3639
|
sdi?: string | null | undefined;
|
|
@@ -3646,26 +3646,26 @@ declare class UpdateCustomerBusinessProfile extends AbstractApiRequest<typeof up
|
|
|
3646
3646
|
vat: z.ZodString;
|
|
3647
3647
|
taxCode: z.ZodString;
|
|
3648
3648
|
billingAddress: z.ZodObject<{
|
|
3649
|
-
line1: z.ZodString
|
|
3649
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3650
3650
|
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3651
|
-
city: z.ZodString
|
|
3652
|
-
region: z.ZodString
|
|
3653
|
-
postalCode: z.ZodString
|
|
3654
|
-
country: z.ZodString
|
|
3651
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3652
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3653
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3654
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3655
3655
|
}, "strip", z.ZodTypeAny, {
|
|
3656
|
-
line1
|
|
3657
|
-
city: string;
|
|
3658
|
-
region: string;
|
|
3659
|
-
postalCode: string;
|
|
3660
|
-
country: string;
|
|
3656
|
+
line1?: string | null | undefined;
|
|
3661
3657
|
line2?: string | null | undefined;
|
|
3658
|
+
city?: string | null | undefined;
|
|
3659
|
+
region?: string | null | undefined;
|
|
3660
|
+
postalCode?: string | null | undefined;
|
|
3661
|
+
country?: string | null | undefined;
|
|
3662
3662
|
}, {
|
|
3663
|
-
line1
|
|
3664
|
-
city: string;
|
|
3665
|
-
region: string;
|
|
3666
|
-
postalCode: string;
|
|
3667
|
-
country: string;
|
|
3663
|
+
line1?: string | null | undefined;
|
|
3668
3664
|
line2?: string | null | undefined;
|
|
3665
|
+
city?: string | null | undefined;
|
|
3666
|
+
region?: string | null | undefined;
|
|
3667
|
+
postalCode?: string | null | undefined;
|
|
3668
|
+
country?: string | null | undefined;
|
|
3669
3669
|
}>;
|
|
3670
3670
|
billingData: z.ZodEffects<z.ZodObject<{
|
|
3671
3671
|
sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -3696,12 +3696,12 @@ declare class UpdateCustomerBusinessProfile extends AbstractApiRequest<typeof up
|
|
|
3696
3696
|
vat: string;
|
|
3697
3697
|
taxCode: string;
|
|
3698
3698
|
billingAddress: {
|
|
3699
|
-
line1
|
|
3700
|
-
city: string;
|
|
3701
|
-
region: string;
|
|
3702
|
-
postalCode: string;
|
|
3703
|
-
country: string;
|
|
3699
|
+
line1?: string | null | undefined;
|
|
3704
3700
|
line2?: string | null | undefined;
|
|
3701
|
+
city?: string | null | undefined;
|
|
3702
|
+
region?: string | null | undefined;
|
|
3703
|
+
postalCode?: string | null | undefined;
|
|
3704
|
+
country?: string | null | undefined;
|
|
3705
3705
|
};
|
|
3706
3706
|
billingData: {
|
|
3707
3707
|
sdi?: string | null | undefined;
|
|
@@ -3716,12 +3716,12 @@ declare class UpdateCustomerBusinessProfile extends AbstractApiRequest<typeof up
|
|
|
3716
3716
|
vat: string;
|
|
3717
3717
|
taxCode: string;
|
|
3718
3718
|
billingAddress: {
|
|
3719
|
-
line1
|
|
3720
|
-
city: string;
|
|
3721
|
-
region: string;
|
|
3722
|
-
postalCode: string;
|
|
3723
|
-
country: string;
|
|
3719
|
+
line1?: string | null | undefined;
|
|
3724
3720
|
line2?: string | null | undefined;
|
|
3721
|
+
city?: string | null | undefined;
|
|
3722
|
+
region?: string | null | undefined;
|
|
3723
|
+
postalCode?: string | null | undefined;
|
|
3724
|
+
country?: string | null | undefined;
|
|
3725
3725
|
};
|
|
3726
3726
|
billingData: {
|
|
3727
3727
|
sdi?: string | null | undefined;
|