@feedmepos/mf-e-invoice 0.0.47 → 0.0.49

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.
@@ -0,0 +1,1793 @@
1
+ import { z } from 'zod';
2
+ export declare const FdoVnEInvoiceCustomerBaseProfile: z.ZodObject<z.extendShape<{
3
+ _id: z.ZodEffects<z.ZodString, string, string>;
4
+ type: z.ZodEnum<["individual", "company"]>;
5
+ nickname: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6
+ name: z.ZodString;
7
+ phoneNumber: z.ZodString;
8
+ address: z.ZodObject<{
9
+ line1: z.ZodString;
10
+ line2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11
+ state: z.ZodString;
12
+ city: z.ZodString;
13
+ postcode: z.ZodString;
14
+ country: z.ZodString;
15
+ coordinates: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
16
+ }, "strip", z.ZodTypeAny, {
17
+ coordinates?: number[] | null | undefined;
18
+ line2?: string | null | undefined;
19
+ state: string;
20
+ country: string;
21
+ line1: string;
22
+ city: string;
23
+ postcode: string;
24
+ }, {
25
+ coordinates?: number[] | null | undefined;
26
+ line2?: string | null | undefined;
27
+ state: string;
28
+ country: string;
29
+ line1: string;
30
+ city: string;
31
+ postcode: string;
32
+ }>;
33
+ userId: z.ZodString;
34
+ }, {
35
+ email: z.ZodString;
36
+ legalName: z.ZodString;
37
+ }>, "strip", z.ZodTypeAny, {
38
+ nickname?: string | null | undefined;
39
+ type: "individual" | "company";
40
+ _id: string;
41
+ name: string;
42
+ address: {
43
+ coordinates?: number[] | null | undefined;
44
+ line2?: string | null | undefined;
45
+ state: string;
46
+ country: string;
47
+ line1: string;
48
+ city: string;
49
+ postcode: string;
50
+ };
51
+ email: string;
52
+ phoneNumber: string;
53
+ userId: string;
54
+ legalName: string;
55
+ }, {
56
+ nickname?: string | null | undefined;
57
+ type: "individual" | "company";
58
+ _id: string;
59
+ name: string;
60
+ address: {
61
+ coordinates?: number[] | null | undefined;
62
+ line2?: string | null | undefined;
63
+ state: string;
64
+ country: string;
65
+ line1: string;
66
+ city: string;
67
+ postcode: string;
68
+ };
69
+ email: string;
70
+ phoneNumber: string;
71
+ userId: string;
72
+ legalName: string;
73
+ }>;
74
+ export declare const FdoVnEInvoiceIndividualProfile: z.ZodObject<z.extendShape<z.extendShape<{
75
+ _id: z.ZodEffects<z.ZodString, string, string>;
76
+ type: z.ZodEnum<["individual", "company"]>;
77
+ nickname: z.ZodNullable<z.ZodOptional<z.ZodString>>;
78
+ name: z.ZodString;
79
+ phoneNumber: z.ZodString;
80
+ address: z.ZodObject<{
81
+ line1: z.ZodString;
82
+ line2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
83
+ state: z.ZodString;
84
+ city: z.ZodString;
85
+ postcode: z.ZodString;
86
+ country: z.ZodString;
87
+ coordinates: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
88
+ }, "strip", z.ZodTypeAny, {
89
+ coordinates?: number[] | null | undefined;
90
+ line2?: string | null | undefined;
91
+ state: string;
92
+ country: string;
93
+ line1: string;
94
+ city: string;
95
+ postcode: string;
96
+ }, {
97
+ coordinates?: number[] | null | undefined;
98
+ line2?: string | null | undefined;
99
+ state: string;
100
+ country: string;
101
+ line1: string;
102
+ city: string;
103
+ postcode: string;
104
+ }>;
105
+ userId: z.ZodString;
106
+ }, {
107
+ email: z.ZodString;
108
+ legalName: z.ZodString;
109
+ }>, {
110
+ type: z.ZodLiteral<"individual">;
111
+ identityNo: z.ZodString;
112
+ taxCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
113
+ }>, "strip", z.ZodTypeAny, {
114
+ nickname?: string | null | undefined;
115
+ taxCode?: string | null | undefined;
116
+ type: "individual";
117
+ _id: string;
118
+ name: string;
119
+ address: {
120
+ coordinates?: number[] | null | undefined;
121
+ line2?: string | null | undefined;
122
+ state: string;
123
+ country: string;
124
+ line1: string;
125
+ city: string;
126
+ postcode: string;
127
+ };
128
+ email: string;
129
+ phoneNumber: string;
130
+ userId: string;
131
+ legalName: string;
132
+ identityNo: string;
133
+ }, {
134
+ nickname?: string | null | undefined;
135
+ taxCode?: string | null | undefined;
136
+ type: "individual";
137
+ _id: string;
138
+ name: string;
139
+ address: {
140
+ coordinates?: number[] | null | undefined;
141
+ line2?: string | null | undefined;
142
+ state: string;
143
+ country: string;
144
+ line1: string;
145
+ city: string;
146
+ postcode: string;
147
+ };
148
+ email: string;
149
+ phoneNumber: string;
150
+ userId: string;
151
+ legalName: string;
152
+ identityNo: string;
153
+ }>;
154
+ export declare const FdoVnEInvoiceCompanyProfile: z.ZodObject<z.extendShape<z.extendShape<{
155
+ _id: z.ZodEffects<z.ZodString, string, string>;
156
+ type: z.ZodEnum<["individual", "company"]>;
157
+ nickname: z.ZodNullable<z.ZodOptional<z.ZodString>>;
158
+ name: z.ZodString;
159
+ phoneNumber: z.ZodString;
160
+ address: z.ZodObject<{
161
+ line1: z.ZodString;
162
+ line2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
163
+ state: z.ZodString;
164
+ city: z.ZodString;
165
+ postcode: z.ZodString;
166
+ country: z.ZodString;
167
+ coordinates: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
168
+ }, "strip", z.ZodTypeAny, {
169
+ coordinates?: number[] | null | undefined;
170
+ line2?: string | null | undefined;
171
+ state: string;
172
+ country: string;
173
+ line1: string;
174
+ city: string;
175
+ postcode: string;
176
+ }, {
177
+ coordinates?: number[] | null | undefined;
178
+ line2?: string | null | undefined;
179
+ state: string;
180
+ country: string;
181
+ line1: string;
182
+ city: string;
183
+ postcode: string;
184
+ }>;
185
+ userId: z.ZodString;
186
+ }, {
187
+ email: z.ZodString;
188
+ legalName: z.ZodString;
189
+ }>, {
190
+ type: z.ZodLiteral<"company">;
191
+ taxCode: z.ZodString;
192
+ identityNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
193
+ }>, "strip", z.ZodTypeAny, {
194
+ nickname?: string | null | undefined;
195
+ identityNo?: string | null | undefined;
196
+ type: "company";
197
+ _id: string;
198
+ name: string;
199
+ address: {
200
+ coordinates?: number[] | null | undefined;
201
+ line2?: string | null | undefined;
202
+ state: string;
203
+ country: string;
204
+ line1: string;
205
+ city: string;
206
+ postcode: string;
207
+ };
208
+ email: string;
209
+ phoneNumber: string;
210
+ userId: string;
211
+ legalName: string;
212
+ taxCode: string;
213
+ }, {
214
+ nickname?: string | null | undefined;
215
+ identityNo?: string | null | undefined;
216
+ type: "company";
217
+ _id: string;
218
+ name: string;
219
+ address: {
220
+ coordinates?: number[] | null | undefined;
221
+ line2?: string | null | undefined;
222
+ state: string;
223
+ country: string;
224
+ line1: string;
225
+ city: string;
226
+ postcode: string;
227
+ };
228
+ email: string;
229
+ phoneNumber: string;
230
+ userId: string;
231
+ legalName: string;
232
+ taxCode: string;
233
+ }>;
234
+ export declare const FdoVnEInvoiceCustomerProfile: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<z.extendShape<z.extendShape<{
235
+ _id: z.ZodEffects<z.ZodString, string, string>;
236
+ type: z.ZodEnum<["individual", "company"]>;
237
+ nickname: z.ZodNullable<z.ZodOptional<z.ZodString>>;
238
+ name: z.ZodString;
239
+ phoneNumber: z.ZodString;
240
+ address: z.ZodObject<{
241
+ line1: z.ZodString;
242
+ line2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
243
+ state: z.ZodString;
244
+ city: z.ZodString;
245
+ postcode: z.ZodString;
246
+ country: z.ZodString;
247
+ coordinates: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
248
+ }, "strip", z.ZodTypeAny, {
249
+ coordinates?: number[] | null | undefined;
250
+ line2?: string | null | undefined;
251
+ state: string;
252
+ country: string;
253
+ line1: string;
254
+ city: string;
255
+ postcode: string;
256
+ }, {
257
+ coordinates?: number[] | null | undefined;
258
+ line2?: string | null | undefined;
259
+ state: string;
260
+ country: string;
261
+ line1: string;
262
+ city: string;
263
+ postcode: string;
264
+ }>;
265
+ userId: z.ZodString;
266
+ }, {
267
+ email: z.ZodString;
268
+ legalName: z.ZodString;
269
+ }>, {
270
+ type: z.ZodLiteral<"individual">;
271
+ identityNo: z.ZodString;
272
+ taxCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
273
+ }>, "strip", z.ZodTypeAny, {
274
+ nickname?: string | null | undefined;
275
+ taxCode?: string | null | undefined;
276
+ type: "individual";
277
+ _id: string;
278
+ name: string;
279
+ address: {
280
+ coordinates?: number[] | null | undefined;
281
+ line2?: string | null | undefined;
282
+ state: string;
283
+ country: string;
284
+ line1: string;
285
+ city: string;
286
+ postcode: string;
287
+ };
288
+ email: string;
289
+ phoneNumber: string;
290
+ userId: string;
291
+ legalName: string;
292
+ identityNo: string;
293
+ }, {
294
+ nickname?: string | null | undefined;
295
+ taxCode?: string | null | undefined;
296
+ type: "individual";
297
+ _id: string;
298
+ name: string;
299
+ address: {
300
+ coordinates?: number[] | null | undefined;
301
+ line2?: string | null | undefined;
302
+ state: string;
303
+ country: string;
304
+ line1: string;
305
+ city: string;
306
+ postcode: string;
307
+ };
308
+ email: string;
309
+ phoneNumber: string;
310
+ userId: string;
311
+ legalName: string;
312
+ identityNo: string;
313
+ }> | z.ZodObject<z.extendShape<z.extendShape<{
314
+ _id: z.ZodEffects<z.ZodString, string, string>;
315
+ type: z.ZodEnum<["individual", "company"]>;
316
+ nickname: z.ZodNullable<z.ZodOptional<z.ZodString>>;
317
+ name: z.ZodString;
318
+ phoneNumber: z.ZodString;
319
+ address: z.ZodObject<{
320
+ line1: z.ZodString;
321
+ line2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
322
+ state: z.ZodString;
323
+ city: z.ZodString;
324
+ postcode: z.ZodString;
325
+ country: z.ZodString;
326
+ coordinates: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
327
+ }, "strip", z.ZodTypeAny, {
328
+ coordinates?: number[] | null | undefined;
329
+ line2?: string | null | undefined;
330
+ state: string;
331
+ country: string;
332
+ line1: string;
333
+ city: string;
334
+ postcode: string;
335
+ }, {
336
+ coordinates?: number[] | null | undefined;
337
+ line2?: string | null | undefined;
338
+ state: string;
339
+ country: string;
340
+ line1: string;
341
+ city: string;
342
+ postcode: string;
343
+ }>;
344
+ userId: z.ZodString;
345
+ }, {
346
+ email: z.ZodString;
347
+ legalName: z.ZodString;
348
+ }>, {
349
+ type: z.ZodLiteral<"company">;
350
+ taxCode: z.ZodString;
351
+ identityNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
352
+ }>, "strip", z.ZodTypeAny, {
353
+ nickname?: string | null | undefined;
354
+ identityNo?: string | null | undefined;
355
+ type: "company";
356
+ _id: string;
357
+ name: string;
358
+ address: {
359
+ coordinates?: number[] | null | undefined;
360
+ line2?: string | null | undefined;
361
+ state: string;
362
+ country: string;
363
+ line1: string;
364
+ city: string;
365
+ postcode: string;
366
+ };
367
+ email: string;
368
+ phoneNumber: string;
369
+ userId: string;
370
+ legalName: string;
371
+ taxCode: string;
372
+ }, {
373
+ nickname?: string | null | undefined;
374
+ identityNo?: string | null | undefined;
375
+ type: "company";
376
+ _id: string;
377
+ name: string;
378
+ address: {
379
+ coordinates?: number[] | null | undefined;
380
+ line2?: string | null | undefined;
381
+ state: string;
382
+ country: string;
383
+ line1: string;
384
+ city: string;
385
+ postcode: string;
386
+ };
387
+ email: string;
388
+ phoneNumber: string;
389
+ userId: string;
390
+ legalName: string;
391
+ taxCode: string;
392
+ }>>;
393
+ export declare const FdoVnEInvoiceCustomerProfileDoc: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<z.extendShape<z.extendShape<{
394
+ _id: z.ZodEffects<z.ZodString, string, string>;
395
+ type: z.ZodEnum<["individual", "company"]>;
396
+ nickname: z.ZodNullable<z.ZodOptional<z.ZodString>>;
397
+ name: z.ZodString;
398
+ phoneNumber: z.ZodString;
399
+ address: z.ZodObject<{
400
+ line1: z.ZodString;
401
+ line2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
402
+ state: z.ZodString;
403
+ city: z.ZodString;
404
+ postcode: z.ZodString;
405
+ country: z.ZodString;
406
+ coordinates: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
407
+ }, "strip", z.ZodTypeAny, {
408
+ coordinates?: number[] | null | undefined;
409
+ line2?: string | null | undefined;
410
+ state: string;
411
+ country: string;
412
+ line1: string;
413
+ city: string;
414
+ postcode: string;
415
+ }, {
416
+ coordinates?: number[] | null | undefined;
417
+ line2?: string | null | undefined;
418
+ state: string;
419
+ country: string;
420
+ line1: string;
421
+ city: string;
422
+ postcode: string;
423
+ }>;
424
+ userId: z.ZodString;
425
+ }, {
426
+ email: z.ZodString;
427
+ legalName: z.ZodString;
428
+ }>, {
429
+ type: z.ZodLiteral<"individual">;
430
+ identityNo: z.ZodString;
431
+ taxCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
432
+ }>, "strip", z.ZodTypeAny, {
433
+ nickname?: string | null | undefined;
434
+ taxCode?: string | null | undefined;
435
+ type: "individual";
436
+ _id: string;
437
+ name: string;
438
+ address: {
439
+ coordinates?: number[] | null | undefined;
440
+ line2?: string | null | undefined;
441
+ state: string;
442
+ country: string;
443
+ line1: string;
444
+ city: string;
445
+ postcode: string;
446
+ };
447
+ email: string;
448
+ phoneNumber: string;
449
+ userId: string;
450
+ legalName: string;
451
+ identityNo: string;
452
+ }, {
453
+ nickname?: string | null | undefined;
454
+ taxCode?: string | null | undefined;
455
+ type: "individual";
456
+ _id: string;
457
+ name: string;
458
+ address: {
459
+ coordinates?: number[] | null | undefined;
460
+ line2?: string | null | undefined;
461
+ state: string;
462
+ country: string;
463
+ line1: string;
464
+ city: string;
465
+ postcode: string;
466
+ };
467
+ email: string;
468
+ phoneNumber: string;
469
+ userId: string;
470
+ legalName: string;
471
+ identityNo: string;
472
+ }> | z.ZodObject<z.extendShape<z.extendShape<{
473
+ _id: z.ZodEffects<z.ZodString, string, string>;
474
+ type: z.ZodEnum<["individual", "company"]>;
475
+ nickname: z.ZodNullable<z.ZodOptional<z.ZodString>>;
476
+ name: z.ZodString;
477
+ phoneNumber: z.ZodString;
478
+ address: z.ZodObject<{
479
+ line1: z.ZodString;
480
+ line2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
481
+ state: z.ZodString;
482
+ city: z.ZodString;
483
+ postcode: z.ZodString;
484
+ country: z.ZodString;
485
+ coordinates: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
486
+ }, "strip", z.ZodTypeAny, {
487
+ coordinates?: number[] | null | undefined;
488
+ line2?: string | null | undefined;
489
+ state: string;
490
+ country: string;
491
+ line1: string;
492
+ city: string;
493
+ postcode: string;
494
+ }, {
495
+ coordinates?: number[] | null | undefined;
496
+ line2?: string | null | undefined;
497
+ state: string;
498
+ country: string;
499
+ line1: string;
500
+ city: string;
501
+ postcode: string;
502
+ }>;
503
+ userId: z.ZodString;
504
+ }, {
505
+ email: z.ZodString;
506
+ legalName: z.ZodString;
507
+ }>, {
508
+ type: z.ZodLiteral<"company">;
509
+ taxCode: z.ZodString;
510
+ identityNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
511
+ }>, "strip", z.ZodTypeAny, {
512
+ nickname?: string | null | undefined;
513
+ identityNo?: string | null | undefined;
514
+ type: "company";
515
+ _id: string;
516
+ name: string;
517
+ address: {
518
+ coordinates?: number[] | null | undefined;
519
+ line2?: string | null | undefined;
520
+ state: string;
521
+ country: string;
522
+ line1: string;
523
+ city: string;
524
+ postcode: string;
525
+ };
526
+ email: string;
527
+ phoneNumber: string;
528
+ userId: string;
529
+ legalName: string;
530
+ taxCode: string;
531
+ }, {
532
+ nickname?: string | null | undefined;
533
+ identityNo?: string | null | undefined;
534
+ type: "company";
535
+ _id: string;
536
+ name: string;
537
+ address: {
538
+ coordinates?: number[] | null | undefined;
539
+ line2?: string | null | undefined;
540
+ state: string;
541
+ country: string;
542
+ line1: string;
543
+ city: string;
544
+ postcode: string;
545
+ };
546
+ email: string;
547
+ phoneNumber: string;
548
+ userId: string;
549
+ legalName: string;
550
+ taxCode: string;
551
+ }>>;
552
+ export declare const FdoVnEInvoiceCustomerProfileSchema: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<Omit<z.extendShape<z.extendShape<{
553
+ _id: z.ZodEffects<z.ZodString, string, string>;
554
+ type: z.ZodEnum<["individual", "company"]>;
555
+ nickname: z.ZodNullable<z.ZodOptional<z.ZodString>>;
556
+ name: z.ZodString;
557
+ phoneNumber: z.ZodString;
558
+ address: z.ZodObject<{
559
+ line1: z.ZodString;
560
+ line2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
561
+ state: z.ZodString;
562
+ city: z.ZodString;
563
+ postcode: z.ZodString;
564
+ country: z.ZodString;
565
+ coordinates: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
566
+ }, "strip", z.ZodTypeAny, {
567
+ coordinates?: number[] | null | undefined;
568
+ line2?: string | null | undefined;
569
+ state: string;
570
+ country: string;
571
+ line1: string;
572
+ city: string;
573
+ postcode: string;
574
+ }, {
575
+ coordinates?: number[] | null | undefined;
576
+ line2?: string | null | undefined;
577
+ state: string;
578
+ country: string;
579
+ line1: string;
580
+ city: string;
581
+ postcode: string;
582
+ }>;
583
+ userId: z.ZodString;
584
+ }, {
585
+ email: z.ZodString;
586
+ legalName: z.ZodString;
587
+ }>, {
588
+ type: z.ZodLiteral<"individual">;
589
+ identityNo: z.ZodString;
590
+ taxCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
591
+ }>, "_id">, "strip", z.ZodTypeAny, {
592
+ nickname?: string | null | undefined;
593
+ taxCode?: string | null | undefined;
594
+ type: "individual";
595
+ name: string;
596
+ address: {
597
+ coordinates?: number[] | null | undefined;
598
+ line2?: string | null | undefined;
599
+ state: string;
600
+ country: string;
601
+ line1: string;
602
+ city: string;
603
+ postcode: string;
604
+ };
605
+ email: string;
606
+ phoneNumber: string;
607
+ userId: string;
608
+ legalName: string;
609
+ identityNo: string;
610
+ }, {
611
+ nickname?: string | null | undefined;
612
+ taxCode?: string | null | undefined;
613
+ type: "individual";
614
+ name: string;
615
+ address: {
616
+ coordinates?: number[] | null | undefined;
617
+ line2?: string | null | undefined;
618
+ state: string;
619
+ country: string;
620
+ line1: string;
621
+ city: string;
622
+ postcode: string;
623
+ };
624
+ email: string;
625
+ phoneNumber: string;
626
+ userId: string;
627
+ legalName: string;
628
+ identityNo: string;
629
+ }> | z.ZodObject<Omit<z.extendShape<z.extendShape<{
630
+ _id: z.ZodEffects<z.ZodString, string, string>;
631
+ type: z.ZodEnum<["individual", "company"]>;
632
+ nickname: z.ZodNullable<z.ZodOptional<z.ZodString>>;
633
+ name: z.ZodString;
634
+ phoneNumber: z.ZodString;
635
+ address: z.ZodObject<{
636
+ line1: z.ZodString;
637
+ line2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
638
+ state: z.ZodString;
639
+ city: z.ZodString;
640
+ postcode: z.ZodString;
641
+ country: z.ZodString;
642
+ coordinates: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
643
+ }, "strip", z.ZodTypeAny, {
644
+ coordinates?: number[] | null | undefined;
645
+ line2?: string | null | undefined;
646
+ state: string;
647
+ country: string;
648
+ line1: string;
649
+ city: string;
650
+ postcode: string;
651
+ }, {
652
+ coordinates?: number[] | null | undefined;
653
+ line2?: string | null | undefined;
654
+ state: string;
655
+ country: string;
656
+ line1: string;
657
+ city: string;
658
+ postcode: string;
659
+ }>;
660
+ userId: z.ZodString;
661
+ }, {
662
+ email: z.ZodString;
663
+ legalName: z.ZodString;
664
+ }>, {
665
+ type: z.ZodLiteral<"company">;
666
+ taxCode: z.ZodString;
667
+ identityNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
668
+ }>, "_id">, "strip", z.ZodTypeAny, {
669
+ nickname?: string | null | undefined;
670
+ identityNo?: string | null | undefined;
671
+ type: "company";
672
+ name: string;
673
+ address: {
674
+ coordinates?: number[] | null | undefined;
675
+ line2?: string | null | undefined;
676
+ state: string;
677
+ country: string;
678
+ line1: string;
679
+ city: string;
680
+ postcode: string;
681
+ };
682
+ email: string;
683
+ phoneNumber: string;
684
+ userId: string;
685
+ legalName: string;
686
+ taxCode: string;
687
+ }, {
688
+ nickname?: string | null | undefined;
689
+ identityNo?: string | null | undefined;
690
+ type: "company";
691
+ name: string;
692
+ address: {
693
+ coordinates?: number[] | null | undefined;
694
+ line2?: string | null | undefined;
695
+ state: string;
696
+ country: string;
697
+ line1: string;
698
+ city: string;
699
+ postcode: string;
700
+ };
701
+ email: string;
702
+ phoneNumber: string;
703
+ userId: string;
704
+ legalName: string;
705
+ taxCode: string;
706
+ }>>;
707
+ export declare const FdoVnEInvoiceItemInfo: z.ZodObject<{
708
+ taxExemptionReason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
709
+ }, "strip", z.ZodTypeAny, {
710
+ taxExemptionReason?: string | null | undefined;
711
+ }, {
712
+ taxExemptionReason?: string | null | undefined;
713
+ }>;
714
+ export declare const FdoVnEInvoiceSetting: z.ZodObject<{
715
+ _id: z.ZodEffects<z.ZodString, string, string>;
716
+ businessId: z.ZodString;
717
+ items: z.ZodRecord<z.ZodString, z.ZodObject<{
718
+ taxExemptionReason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
719
+ }, "strip", z.ZodTypeAny, {
720
+ taxExemptionReason?: string | null | undefined;
721
+ }, {
722
+ taxExemptionReason?: string | null | undefined;
723
+ }>>;
724
+ }, "strip", z.ZodTypeAny, {
725
+ _id: string;
726
+ businessId: string;
727
+ items: Record<string, {
728
+ taxExemptionReason?: string | null | undefined;
729
+ }>;
730
+ }, {
731
+ _id: string;
732
+ businessId: string;
733
+ items: Record<string, {
734
+ taxExemptionReason?: string | null | undefined;
735
+ }>;
736
+ }>;
737
+ export declare const FdoVnEInvoiceSubmissionSchedule: z.ZodObject<{
738
+ day: z.ZodNumber;
739
+ hour: z.ZodNumber;
740
+ }, "strip", z.ZodTypeAny, {
741
+ day: number;
742
+ hour: number;
743
+ }, {
744
+ day: number;
745
+ hour: number;
746
+ }>;
747
+ export declare const FdoVnEInvoiceMerchantBaseProfile: z.ZodObject<z.extendShape<{
748
+ _id: z.ZodEffects<z.ZodString, string, string>;
749
+ type: z.ZodEnum<["restaurant", "marketing"]>;
750
+ businessId: z.ZodString;
751
+ regNo: z.ZodString;
752
+ tinNo: z.ZodString;
753
+ name: z.ZodString;
754
+ address: z.ZodObject<{
755
+ line1: z.ZodString;
756
+ line2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
757
+ state: z.ZodString;
758
+ city: z.ZodString;
759
+ postcode: z.ZodString;
760
+ country: z.ZodString;
761
+ coordinates: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
762
+ }, "strip", z.ZodTypeAny, {
763
+ coordinates?: number[] | null | undefined;
764
+ line2?: string | null | undefined;
765
+ state: string;
766
+ country: string;
767
+ line1: string;
768
+ city: string;
769
+ postcode: string;
770
+ }, {
771
+ coordinates?: number[] | null | undefined;
772
+ line2?: string | null | undefined;
773
+ state: string;
774
+ country: string;
775
+ line1: string;
776
+ city: string;
777
+ postcode: string;
778
+ }>;
779
+ phoneNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
780
+ }, {
781
+ active: z.ZodNullable<z.ZodOptional<z.ZodString>>;
782
+ sstRegNo: z.ZodString;
783
+ email: z.ZodString;
784
+ schedule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
785
+ day: z.ZodNumber;
786
+ hour: z.ZodNumber;
787
+ }, "strip", z.ZodTypeAny, {
788
+ day: number;
789
+ hour: number;
790
+ }, {
791
+ day: number;
792
+ hour: number;
793
+ }>>>;
794
+ queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
795
+ }>, "strip", z.ZodTypeAny, {
796
+ phoneNo?: string | null | undefined;
797
+ active?: string | null | undefined;
798
+ schedule?: {
799
+ day: number;
800
+ hour: number;
801
+ } | null | undefined;
802
+ queryToken?: string | null | undefined;
803
+ type: "restaurant" | "marketing";
804
+ _id: string;
805
+ businessId: string;
806
+ regNo: string;
807
+ tinNo: string;
808
+ name: string;
809
+ address: {
810
+ coordinates?: number[] | null | undefined;
811
+ line2?: string | null | undefined;
812
+ state: string;
813
+ country: string;
814
+ line1: string;
815
+ city: string;
816
+ postcode: string;
817
+ };
818
+ sstRegNo: string;
819
+ email: string;
820
+ }, {
821
+ phoneNo?: string | null | undefined;
822
+ active?: string | null | undefined;
823
+ schedule?: {
824
+ day: number;
825
+ hour: number;
826
+ } | null | undefined;
827
+ queryToken?: string | null | undefined;
828
+ type: "restaurant" | "marketing";
829
+ _id: string;
830
+ businessId: string;
831
+ regNo: string;
832
+ tinNo: string;
833
+ name: string;
834
+ address: {
835
+ coordinates?: number[] | null | undefined;
836
+ line2?: string | null | undefined;
837
+ state: string;
838
+ country: string;
839
+ line1: string;
840
+ city: string;
841
+ postcode: string;
842
+ };
843
+ sstRegNo: string;
844
+ email: string;
845
+ }>;
846
+ export declare const FdoVnEInvoiceRestaurantProfile: z.ZodObject<z.extendShape<z.extendShape<{
847
+ _id: z.ZodEffects<z.ZodString, string, string>;
848
+ type: z.ZodEnum<["restaurant", "marketing"]>;
849
+ businessId: z.ZodString;
850
+ regNo: z.ZodString;
851
+ tinNo: z.ZodString;
852
+ name: z.ZodString;
853
+ address: z.ZodObject<{
854
+ line1: z.ZodString;
855
+ line2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
856
+ state: z.ZodString;
857
+ city: z.ZodString;
858
+ postcode: z.ZodString;
859
+ country: z.ZodString;
860
+ coordinates: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
861
+ }, "strip", z.ZodTypeAny, {
862
+ coordinates?: number[] | null | undefined;
863
+ line2?: string | null | undefined;
864
+ state: string;
865
+ country: string;
866
+ line1: string;
867
+ city: string;
868
+ postcode: string;
869
+ }, {
870
+ coordinates?: number[] | null | undefined;
871
+ line2?: string | null | undefined;
872
+ state: string;
873
+ country: string;
874
+ line1: string;
875
+ city: string;
876
+ postcode: string;
877
+ }>;
878
+ phoneNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
879
+ }, {
880
+ active: z.ZodNullable<z.ZodOptional<z.ZodString>>;
881
+ sstRegNo: z.ZodString;
882
+ email: z.ZodString;
883
+ schedule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
884
+ day: z.ZodNumber;
885
+ hour: z.ZodNumber;
886
+ }, "strip", z.ZodTypeAny, {
887
+ day: number;
888
+ hour: number;
889
+ }, {
890
+ day: number;
891
+ hour: number;
892
+ }>>>;
893
+ queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
894
+ }>, {
895
+ type: z.ZodLiteral<"restaurant">;
896
+ restaurantId: z.ZodString;
897
+ appid: z.ZodNullable<z.ZodOptional<z.ZodString>>;
898
+ username: z.ZodNullable<z.ZodOptional<z.ZodString>>;
899
+ password: z.ZodNullable<z.ZodOptional<z.ZodString>>;
900
+ templateId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
901
+ isDev: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
902
+ }>, "strip", z.ZodTypeAny, {
903
+ phoneNo?: string | null | undefined;
904
+ active?: string | null | undefined;
905
+ schedule?: {
906
+ day: number;
907
+ hour: number;
908
+ } | null | undefined;
909
+ queryToken?: string | null | undefined;
910
+ password?: string | null | undefined;
911
+ appid?: string | null | undefined;
912
+ username?: string | null | undefined;
913
+ templateId?: string | null | undefined;
914
+ isDev?: boolean | null | undefined;
915
+ type: "restaurant";
916
+ _id: string;
917
+ businessId: string;
918
+ regNo: string;
919
+ tinNo: string;
920
+ name: string;
921
+ address: {
922
+ coordinates?: number[] | null | undefined;
923
+ line2?: string | null | undefined;
924
+ state: string;
925
+ country: string;
926
+ line1: string;
927
+ city: string;
928
+ postcode: string;
929
+ };
930
+ sstRegNo: string;
931
+ email: string;
932
+ restaurantId: string;
933
+ }, {
934
+ phoneNo?: string | null | undefined;
935
+ active?: string | null | undefined;
936
+ schedule?: {
937
+ day: number;
938
+ hour: number;
939
+ } | null | undefined;
940
+ queryToken?: string | null | undefined;
941
+ password?: string | null | undefined;
942
+ appid?: string | null | undefined;
943
+ username?: string | null | undefined;
944
+ templateId?: string | null | undefined;
945
+ isDev?: boolean | null | undefined;
946
+ type: "restaurant";
947
+ _id: string;
948
+ businessId: string;
949
+ regNo: string;
950
+ tinNo: string;
951
+ name: string;
952
+ address: {
953
+ coordinates?: number[] | null | undefined;
954
+ line2?: string | null | undefined;
955
+ state: string;
956
+ country: string;
957
+ line1: string;
958
+ city: string;
959
+ postcode: string;
960
+ };
961
+ sstRegNo: string;
962
+ email: string;
963
+ restaurantId: string;
964
+ }>;
965
+ export declare const FdoVnEInvoiceMarketingProfile: z.ZodObject<z.extendShape<z.extendShape<{
966
+ _id: z.ZodEffects<z.ZodString, string, string>;
967
+ type: z.ZodEnum<["restaurant", "marketing"]>;
968
+ businessId: z.ZodString;
969
+ regNo: z.ZodString;
970
+ tinNo: z.ZodString;
971
+ name: z.ZodString;
972
+ address: z.ZodObject<{
973
+ line1: z.ZodString;
974
+ line2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
975
+ state: z.ZodString;
976
+ city: z.ZodString;
977
+ postcode: z.ZodString;
978
+ country: z.ZodString;
979
+ coordinates: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
980
+ }, "strip", z.ZodTypeAny, {
981
+ coordinates?: number[] | null | undefined;
982
+ line2?: string | null | undefined;
983
+ state: string;
984
+ country: string;
985
+ line1: string;
986
+ city: string;
987
+ postcode: string;
988
+ }, {
989
+ coordinates?: number[] | null | undefined;
990
+ line2?: string | null | undefined;
991
+ state: string;
992
+ country: string;
993
+ line1: string;
994
+ city: string;
995
+ postcode: string;
996
+ }>;
997
+ phoneNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
998
+ }, {
999
+ active: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1000
+ sstRegNo: z.ZodString;
1001
+ email: z.ZodString;
1002
+ schedule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1003
+ day: z.ZodNumber;
1004
+ hour: z.ZodNumber;
1005
+ }, "strip", z.ZodTypeAny, {
1006
+ day: number;
1007
+ hour: number;
1008
+ }, {
1009
+ day: number;
1010
+ hour: number;
1011
+ }>>>;
1012
+ queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1013
+ }>, {
1014
+ type: z.ZodLiteral<"marketing">;
1015
+ appid: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1016
+ username: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1017
+ password: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1018
+ templateId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1019
+ isDev: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1020
+ }>, "strip", z.ZodTypeAny, {
1021
+ phoneNo?: string | null | undefined;
1022
+ active?: string | null | undefined;
1023
+ schedule?: {
1024
+ day: number;
1025
+ hour: number;
1026
+ } | null | undefined;
1027
+ queryToken?: string | null | undefined;
1028
+ password?: string | null | undefined;
1029
+ appid?: string | null | undefined;
1030
+ username?: string | null | undefined;
1031
+ templateId?: string | null | undefined;
1032
+ isDev?: boolean | null | undefined;
1033
+ type: "marketing";
1034
+ _id: string;
1035
+ businessId: string;
1036
+ regNo: string;
1037
+ tinNo: string;
1038
+ name: string;
1039
+ address: {
1040
+ coordinates?: number[] | null | undefined;
1041
+ line2?: string | null | undefined;
1042
+ state: string;
1043
+ country: string;
1044
+ line1: string;
1045
+ city: string;
1046
+ postcode: string;
1047
+ };
1048
+ sstRegNo: string;
1049
+ email: string;
1050
+ }, {
1051
+ phoneNo?: string | null | undefined;
1052
+ active?: string | null | undefined;
1053
+ schedule?: {
1054
+ day: number;
1055
+ hour: number;
1056
+ } | null | undefined;
1057
+ queryToken?: string | null | undefined;
1058
+ password?: string | null | undefined;
1059
+ appid?: string | null | undefined;
1060
+ username?: string | null | undefined;
1061
+ templateId?: string | null | undefined;
1062
+ isDev?: boolean | null | undefined;
1063
+ type: "marketing";
1064
+ _id: string;
1065
+ businessId: string;
1066
+ regNo: string;
1067
+ tinNo: string;
1068
+ name: string;
1069
+ address: {
1070
+ coordinates?: number[] | null | undefined;
1071
+ line2?: string | null | undefined;
1072
+ state: string;
1073
+ country: string;
1074
+ line1: string;
1075
+ city: string;
1076
+ postcode: string;
1077
+ };
1078
+ sstRegNo: string;
1079
+ email: string;
1080
+ }>;
1081
+ export declare const FdoVnEInvoiceMerchantProfile: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<z.extendShape<z.extendShape<{
1082
+ _id: z.ZodEffects<z.ZodString, string, string>;
1083
+ type: z.ZodEnum<["restaurant", "marketing"]>;
1084
+ businessId: z.ZodString;
1085
+ regNo: z.ZodString;
1086
+ tinNo: z.ZodString;
1087
+ name: z.ZodString;
1088
+ address: z.ZodObject<{
1089
+ line1: z.ZodString;
1090
+ line2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1091
+ state: z.ZodString;
1092
+ city: z.ZodString;
1093
+ postcode: z.ZodString;
1094
+ country: z.ZodString;
1095
+ coordinates: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
1096
+ }, "strip", z.ZodTypeAny, {
1097
+ coordinates?: number[] | null | undefined;
1098
+ line2?: string | null | undefined;
1099
+ state: string;
1100
+ country: string;
1101
+ line1: string;
1102
+ city: string;
1103
+ postcode: string;
1104
+ }, {
1105
+ coordinates?: number[] | null | undefined;
1106
+ line2?: string | null | undefined;
1107
+ state: string;
1108
+ country: string;
1109
+ line1: string;
1110
+ city: string;
1111
+ postcode: string;
1112
+ }>;
1113
+ phoneNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1114
+ }, {
1115
+ active: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1116
+ sstRegNo: z.ZodString;
1117
+ email: z.ZodString;
1118
+ schedule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1119
+ day: z.ZodNumber;
1120
+ hour: z.ZodNumber;
1121
+ }, "strip", z.ZodTypeAny, {
1122
+ day: number;
1123
+ hour: number;
1124
+ }, {
1125
+ day: number;
1126
+ hour: number;
1127
+ }>>>;
1128
+ queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1129
+ }>, {
1130
+ type: z.ZodLiteral<"restaurant">;
1131
+ restaurantId: z.ZodString;
1132
+ appid: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1133
+ username: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1134
+ password: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1135
+ templateId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1136
+ isDev: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1137
+ }>, "strip", z.ZodTypeAny, {
1138
+ phoneNo?: string | null | undefined;
1139
+ active?: string | null | undefined;
1140
+ schedule?: {
1141
+ day: number;
1142
+ hour: number;
1143
+ } | null | undefined;
1144
+ queryToken?: string | null | undefined;
1145
+ password?: string | null | undefined;
1146
+ appid?: string | null | undefined;
1147
+ username?: string | null | undefined;
1148
+ templateId?: string | null | undefined;
1149
+ isDev?: boolean | null | undefined;
1150
+ type: "restaurant";
1151
+ _id: string;
1152
+ businessId: string;
1153
+ regNo: string;
1154
+ tinNo: string;
1155
+ name: string;
1156
+ address: {
1157
+ coordinates?: number[] | null | undefined;
1158
+ line2?: string | null | undefined;
1159
+ state: string;
1160
+ country: string;
1161
+ line1: string;
1162
+ city: string;
1163
+ postcode: string;
1164
+ };
1165
+ sstRegNo: string;
1166
+ email: string;
1167
+ restaurantId: string;
1168
+ }, {
1169
+ phoneNo?: string | null | undefined;
1170
+ active?: string | null | undefined;
1171
+ schedule?: {
1172
+ day: number;
1173
+ hour: number;
1174
+ } | null | undefined;
1175
+ queryToken?: string | null | undefined;
1176
+ password?: string | null | undefined;
1177
+ appid?: string | null | undefined;
1178
+ username?: string | null | undefined;
1179
+ templateId?: string | null | undefined;
1180
+ isDev?: boolean | null | undefined;
1181
+ type: "restaurant";
1182
+ _id: string;
1183
+ businessId: string;
1184
+ regNo: string;
1185
+ tinNo: string;
1186
+ name: string;
1187
+ address: {
1188
+ coordinates?: number[] | null | undefined;
1189
+ line2?: string | null | undefined;
1190
+ state: string;
1191
+ country: string;
1192
+ line1: string;
1193
+ city: string;
1194
+ postcode: string;
1195
+ };
1196
+ sstRegNo: string;
1197
+ email: string;
1198
+ restaurantId: string;
1199
+ }> | z.ZodObject<z.extendShape<z.extendShape<{
1200
+ _id: z.ZodEffects<z.ZodString, string, string>;
1201
+ type: z.ZodEnum<["restaurant", "marketing"]>;
1202
+ businessId: z.ZodString;
1203
+ regNo: z.ZodString;
1204
+ tinNo: z.ZodString;
1205
+ name: z.ZodString;
1206
+ address: z.ZodObject<{
1207
+ line1: z.ZodString;
1208
+ line2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1209
+ state: z.ZodString;
1210
+ city: z.ZodString;
1211
+ postcode: z.ZodString;
1212
+ country: z.ZodString;
1213
+ coordinates: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
1214
+ }, "strip", z.ZodTypeAny, {
1215
+ coordinates?: number[] | null | undefined;
1216
+ line2?: string | null | undefined;
1217
+ state: string;
1218
+ country: string;
1219
+ line1: string;
1220
+ city: string;
1221
+ postcode: string;
1222
+ }, {
1223
+ coordinates?: number[] | null | undefined;
1224
+ line2?: string | null | undefined;
1225
+ state: string;
1226
+ country: string;
1227
+ line1: string;
1228
+ city: string;
1229
+ postcode: string;
1230
+ }>;
1231
+ phoneNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1232
+ }, {
1233
+ active: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1234
+ sstRegNo: z.ZodString;
1235
+ email: z.ZodString;
1236
+ schedule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1237
+ day: z.ZodNumber;
1238
+ hour: z.ZodNumber;
1239
+ }, "strip", z.ZodTypeAny, {
1240
+ day: number;
1241
+ hour: number;
1242
+ }, {
1243
+ day: number;
1244
+ hour: number;
1245
+ }>>>;
1246
+ queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1247
+ }>, {
1248
+ type: z.ZodLiteral<"marketing">;
1249
+ appid: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1250
+ username: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1251
+ password: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1252
+ templateId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1253
+ isDev: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1254
+ }>, "strip", z.ZodTypeAny, {
1255
+ phoneNo?: string | null | undefined;
1256
+ active?: string | null | undefined;
1257
+ schedule?: {
1258
+ day: number;
1259
+ hour: number;
1260
+ } | null | undefined;
1261
+ queryToken?: string | null | undefined;
1262
+ password?: string | null | undefined;
1263
+ appid?: string | null | undefined;
1264
+ username?: string | null | undefined;
1265
+ templateId?: string | null | undefined;
1266
+ isDev?: boolean | null | undefined;
1267
+ type: "marketing";
1268
+ _id: string;
1269
+ businessId: string;
1270
+ regNo: string;
1271
+ tinNo: string;
1272
+ name: string;
1273
+ address: {
1274
+ coordinates?: number[] | null | undefined;
1275
+ line2?: string | null | undefined;
1276
+ state: string;
1277
+ country: string;
1278
+ line1: string;
1279
+ city: string;
1280
+ postcode: string;
1281
+ };
1282
+ sstRegNo: string;
1283
+ email: string;
1284
+ }, {
1285
+ phoneNo?: string | null | undefined;
1286
+ active?: string | null | undefined;
1287
+ schedule?: {
1288
+ day: number;
1289
+ hour: number;
1290
+ } | null | undefined;
1291
+ queryToken?: string | null | undefined;
1292
+ password?: string | null | undefined;
1293
+ appid?: string | null | undefined;
1294
+ username?: string | null | undefined;
1295
+ templateId?: string | null | undefined;
1296
+ isDev?: boolean | null | undefined;
1297
+ type: "marketing";
1298
+ _id: string;
1299
+ businessId: string;
1300
+ regNo: string;
1301
+ tinNo: string;
1302
+ name: string;
1303
+ address: {
1304
+ coordinates?: number[] | null | undefined;
1305
+ line2?: string | null | undefined;
1306
+ state: string;
1307
+ country: string;
1308
+ line1: string;
1309
+ city: string;
1310
+ postcode: string;
1311
+ };
1312
+ sstRegNo: string;
1313
+ email: string;
1314
+ }>>;
1315
+ export declare const FdoVnEInvoiceMerchantProfileDoc: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<z.extendShape<z.extendShape<{
1316
+ _id: z.ZodEffects<z.ZodString, string, string>;
1317
+ type: z.ZodEnum<["restaurant", "marketing"]>;
1318
+ businessId: z.ZodString;
1319
+ regNo: z.ZodString;
1320
+ tinNo: z.ZodString;
1321
+ name: z.ZodString;
1322
+ address: z.ZodObject<{
1323
+ line1: z.ZodString;
1324
+ line2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1325
+ state: z.ZodString;
1326
+ city: z.ZodString;
1327
+ postcode: z.ZodString;
1328
+ country: z.ZodString;
1329
+ coordinates: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
1330
+ }, "strip", z.ZodTypeAny, {
1331
+ coordinates?: number[] | null | undefined;
1332
+ line2?: string | null | undefined;
1333
+ state: string;
1334
+ country: string;
1335
+ line1: string;
1336
+ city: string;
1337
+ postcode: string;
1338
+ }, {
1339
+ coordinates?: number[] | null | undefined;
1340
+ line2?: string | null | undefined;
1341
+ state: string;
1342
+ country: string;
1343
+ line1: string;
1344
+ city: string;
1345
+ postcode: string;
1346
+ }>;
1347
+ phoneNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1348
+ }, {
1349
+ active: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1350
+ sstRegNo: z.ZodString;
1351
+ email: z.ZodString;
1352
+ schedule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1353
+ day: z.ZodNumber;
1354
+ hour: z.ZodNumber;
1355
+ }, "strip", z.ZodTypeAny, {
1356
+ day: number;
1357
+ hour: number;
1358
+ }, {
1359
+ day: number;
1360
+ hour: number;
1361
+ }>>>;
1362
+ queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1363
+ }>, {
1364
+ type: z.ZodLiteral<"restaurant">;
1365
+ restaurantId: z.ZodString;
1366
+ appid: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1367
+ username: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1368
+ password: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1369
+ templateId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1370
+ isDev: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1371
+ }>, "strip", z.ZodTypeAny, {
1372
+ phoneNo?: string | null | undefined;
1373
+ active?: string | null | undefined;
1374
+ schedule?: {
1375
+ day: number;
1376
+ hour: number;
1377
+ } | null | undefined;
1378
+ queryToken?: string | null | undefined;
1379
+ password?: string | null | undefined;
1380
+ appid?: string | null | undefined;
1381
+ username?: string | null | undefined;
1382
+ templateId?: string | null | undefined;
1383
+ isDev?: boolean | null | undefined;
1384
+ type: "restaurant";
1385
+ _id: string;
1386
+ businessId: string;
1387
+ regNo: string;
1388
+ tinNo: string;
1389
+ name: string;
1390
+ address: {
1391
+ coordinates?: number[] | null | undefined;
1392
+ line2?: string | null | undefined;
1393
+ state: string;
1394
+ country: string;
1395
+ line1: string;
1396
+ city: string;
1397
+ postcode: string;
1398
+ };
1399
+ sstRegNo: string;
1400
+ email: string;
1401
+ restaurantId: string;
1402
+ }, {
1403
+ phoneNo?: string | null | undefined;
1404
+ active?: string | null | undefined;
1405
+ schedule?: {
1406
+ day: number;
1407
+ hour: number;
1408
+ } | null | undefined;
1409
+ queryToken?: string | null | undefined;
1410
+ password?: string | null | undefined;
1411
+ appid?: string | null | undefined;
1412
+ username?: string | null | undefined;
1413
+ templateId?: string | null | undefined;
1414
+ isDev?: boolean | null | undefined;
1415
+ type: "restaurant";
1416
+ _id: string;
1417
+ businessId: string;
1418
+ regNo: string;
1419
+ tinNo: string;
1420
+ name: string;
1421
+ address: {
1422
+ coordinates?: number[] | null | undefined;
1423
+ line2?: string | null | undefined;
1424
+ state: string;
1425
+ country: string;
1426
+ line1: string;
1427
+ city: string;
1428
+ postcode: string;
1429
+ };
1430
+ sstRegNo: string;
1431
+ email: string;
1432
+ restaurantId: string;
1433
+ }> | z.ZodObject<z.extendShape<z.extendShape<{
1434
+ _id: z.ZodEffects<z.ZodString, string, string>;
1435
+ type: z.ZodEnum<["restaurant", "marketing"]>;
1436
+ businessId: z.ZodString;
1437
+ regNo: z.ZodString;
1438
+ tinNo: z.ZodString;
1439
+ name: z.ZodString;
1440
+ address: z.ZodObject<{
1441
+ line1: z.ZodString;
1442
+ line2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1443
+ state: z.ZodString;
1444
+ city: z.ZodString;
1445
+ postcode: z.ZodString;
1446
+ country: z.ZodString;
1447
+ coordinates: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
1448
+ }, "strip", z.ZodTypeAny, {
1449
+ coordinates?: number[] | null | undefined;
1450
+ line2?: string | null | undefined;
1451
+ state: string;
1452
+ country: string;
1453
+ line1: string;
1454
+ city: string;
1455
+ postcode: string;
1456
+ }, {
1457
+ coordinates?: number[] | null | undefined;
1458
+ line2?: string | null | undefined;
1459
+ state: string;
1460
+ country: string;
1461
+ line1: string;
1462
+ city: string;
1463
+ postcode: string;
1464
+ }>;
1465
+ phoneNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1466
+ }, {
1467
+ active: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1468
+ sstRegNo: z.ZodString;
1469
+ email: z.ZodString;
1470
+ schedule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1471
+ day: z.ZodNumber;
1472
+ hour: z.ZodNumber;
1473
+ }, "strip", z.ZodTypeAny, {
1474
+ day: number;
1475
+ hour: number;
1476
+ }, {
1477
+ day: number;
1478
+ hour: number;
1479
+ }>>>;
1480
+ queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1481
+ }>, {
1482
+ type: z.ZodLiteral<"marketing">;
1483
+ appid: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1484
+ username: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1485
+ password: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1486
+ templateId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1487
+ isDev: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1488
+ }>, "strip", z.ZodTypeAny, {
1489
+ phoneNo?: string | null | undefined;
1490
+ active?: string | null | undefined;
1491
+ schedule?: {
1492
+ day: number;
1493
+ hour: number;
1494
+ } | null | undefined;
1495
+ queryToken?: string | null | undefined;
1496
+ password?: string | null | undefined;
1497
+ appid?: string | null | undefined;
1498
+ username?: string | null | undefined;
1499
+ templateId?: string | null | undefined;
1500
+ isDev?: boolean | null | undefined;
1501
+ type: "marketing";
1502
+ _id: string;
1503
+ businessId: string;
1504
+ regNo: string;
1505
+ tinNo: string;
1506
+ name: string;
1507
+ address: {
1508
+ coordinates?: number[] | null | undefined;
1509
+ line2?: string | null | undefined;
1510
+ state: string;
1511
+ country: string;
1512
+ line1: string;
1513
+ city: string;
1514
+ postcode: string;
1515
+ };
1516
+ sstRegNo: string;
1517
+ email: string;
1518
+ }, {
1519
+ phoneNo?: string | null | undefined;
1520
+ active?: string | null | undefined;
1521
+ schedule?: {
1522
+ day: number;
1523
+ hour: number;
1524
+ } | null | undefined;
1525
+ queryToken?: string | null | undefined;
1526
+ password?: string | null | undefined;
1527
+ appid?: string | null | undefined;
1528
+ username?: string | null | undefined;
1529
+ templateId?: string | null | undefined;
1530
+ isDev?: boolean | null | undefined;
1531
+ type: "marketing";
1532
+ _id: string;
1533
+ businessId: string;
1534
+ regNo: string;
1535
+ tinNo: string;
1536
+ name: string;
1537
+ address: {
1538
+ coordinates?: number[] | null | undefined;
1539
+ line2?: string | null | undefined;
1540
+ state: string;
1541
+ country: string;
1542
+ line1: string;
1543
+ city: string;
1544
+ postcode: string;
1545
+ };
1546
+ sstRegNo: string;
1547
+ email: string;
1548
+ }>>;
1549
+ export declare const FdoVnEInvoiceMerchantProfileSchema: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<Omit<z.extendShape<z.extendShape<{
1550
+ _id: z.ZodEffects<z.ZodString, string, string>;
1551
+ type: z.ZodEnum<["restaurant", "marketing"]>;
1552
+ businessId: z.ZodString;
1553
+ regNo: z.ZodString;
1554
+ tinNo: z.ZodString;
1555
+ name: z.ZodString;
1556
+ address: z.ZodObject<{
1557
+ line1: z.ZodString;
1558
+ line2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1559
+ state: z.ZodString;
1560
+ city: z.ZodString;
1561
+ postcode: z.ZodString;
1562
+ country: z.ZodString;
1563
+ coordinates: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
1564
+ }, "strip", z.ZodTypeAny, {
1565
+ coordinates?: number[] | null | undefined;
1566
+ line2?: string | null | undefined;
1567
+ state: string;
1568
+ country: string;
1569
+ line1: string;
1570
+ city: string;
1571
+ postcode: string;
1572
+ }, {
1573
+ coordinates?: number[] | null | undefined;
1574
+ line2?: string | null | undefined;
1575
+ state: string;
1576
+ country: string;
1577
+ line1: string;
1578
+ city: string;
1579
+ postcode: string;
1580
+ }>;
1581
+ phoneNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1582
+ }, {
1583
+ active: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1584
+ sstRegNo: z.ZodString;
1585
+ email: z.ZodString;
1586
+ schedule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1587
+ day: z.ZodNumber;
1588
+ hour: z.ZodNumber;
1589
+ }, "strip", z.ZodTypeAny, {
1590
+ day: number;
1591
+ hour: number;
1592
+ }, {
1593
+ day: number;
1594
+ hour: number;
1595
+ }>>>;
1596
+ queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1597
+ }>, {
1598
+ type: z.ZodLiteral<"restaurant">;
1599
+ restaurantId: z.ZodString;
1600
+ appid: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1601
+ username: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1602
+ password: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1603
+ templateId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1604
+ isDev: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1605
+ }>, "_id">, "strip", z.ZodTypeAny, {
1606
+ phoneNo?: string | null | undefined;
1607
+ active?: string | null | undefined;
1608
+ schedule?: {
1609
+ day: number;
1610
+ hour: number;
1611
+ } | null | undefined;
1612
+ queryToken?: string | null | undefined;
1613
+ password?: string | null | undefined;
1614
+ appid?: string | null | undefined;
1615
+ username?: string | null | undefined;
1616
+ templateId?: string | null | undefined;
1617
+ isDev?: boolean | null | undefined;
1618
+ type: "restaurant";
1619
+ businessId: string;
1620
+ regNo: string;
1621
+ tinNo: string;
1622
+ name: string;
1623
+ address: {
1624
+ coordinates?: number[] | null | undefined;
1625
+ line2?: string | null | undefined;
1626
+ state: string;
1627
+ country: string;
1628
+ line1: string;
1629
+ city: string;
1630
+ postcode: string;
1631
+ };
1632
+ sstRegNo: string;
1633
+ email: string;
1634
+ restaurantId: string;
1635
+ }, {
1636
+ phoneNo?: string | null | undefined;
1637
+ active?: string | null | undefined;
1638
+ schedule?: {
1639
+ day: number;
1640
+ hour: number;
1641
+ } | null | undefined;
1642
+ queryToken?: string | null | undefined;
1643
+ password?: string | null | undefined;
1644
+ appid?: string | null | undefined;
1645
+ username?: string | null | undefined;
1646
+ templateId?: string | null | undefined;
1647
+ isDev?: boolean | null | undefined;
1648
+ type: "restaurant";
1649
+ businessId: string;
1650
+ regNo: string;
1651
+ tinNo: string;
1652
+ name: string;
1653
+ address: {
1654
+ coordinates?: number[] | null | undefined;
1655
+ line2?: string | null | undefined;
1656
+ state: string;
1657
+ country: string;
1658
+ line1: string;
1659
+ city: string;
1660
+ postcode: string;
1661
+ };
1662
+ sstRegNo: string;
1663
+ email: string;
1664
+ restaurantId: string;
1665
+ }> | z.ZodObject<Omit<z.extendShape<z.extendShape<{
1666
+ _id: z.ZodEffects<z.ZodString, string, string>;
1667
+ type: z.ZodEnum<["restaurant", "marketing"]>;
1668
+ businessId: z.ZodString;
1669
+ regNo: z.ZodString;
1670
+ tinNo: z.ZodString;
1671
+ name: z.ZodString;
1672
+ address: z.ZodObject<{
1673
+ line1: z.ZodString;
1674
+ line2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1675
+ state: z.ZodString;
1676
+ city: z.ZodString;
1677
+ postcode: z.ZodString;
1678
+ country: z.ZodString;
1679
+ coordinates: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
1680
+ }, "strip", z.ZodTypeAny, {
1681
+ coordinates?: number[] | null | undefined;
1682
+ line2?: string | null | undefined;
1683
+ state: string;
1684
+ country: string;
1685
+ line1: string;
1686
+ city: string;
1687
+ postcode: string;
1688
+ }, {
1689
+ coordinates?: number[] | null | undefined;
1690
+ line2?: string | null | undefined;
1691
+ state: string;
1692
+ country: string;
1693
+ line1: string;
1694
+ city: string;
1695
+ postcode: string;
1696
+ }>;
1697
+ phoneNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1698
+ }, {
1699
+ active: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1700
+ sstRegNo: z.ZodString;
1701
+ email: z.ZodString;
1702
+ schedule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1703
+ day: z.ZodNumber;
1704
+ hour: z.ZodNumber;
1705
+ }, "strip", z.ZodTypeAny, {
1706
+ day: number;
1707
+ hour: number;
1708
+ }, {
1709
+ day: number;
1710
+ hour: number;
1711
+ }>>>;
1712
+ queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1713
+ }>, {
1714
+ type: z.ZodLiteral<"marketing">;
1715
+ appid: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1716
+ username: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1717
+ password: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1718
+ templateId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1719
+ isDev: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1720
+ }>, "_id">, "strip", z.ZodTypeAny, {
1721
+ phoneNo?: string | null | undefined;
1722
+ active?: string | null | undefined;
1723
+ schedule?: {
1724
+ day: number;
1725
+ hour: number;
1726
+ } | null | undefined;
1727
+ queryToken?: string | null | undefined;
1728
+ password?: string | null | undefined;
1729
+ appid?: string | null | undefined;
1730
+ username?: string | null | undefined;
1731
+ templateId?: string | null | undefined;
1732
+ isDev?: boolean | null | undefined;
1733
+ type: "marketing";
1734
+ businessId: string;
1735
+ regNo: string;
1736
+ tinNo: string;
1737
+ name: string;
1738
+ address: {
1739
+ coordinates?: number[] | null | undefined;
1740
+ line2?: string | null | undefined;
1741
+ state: string;
1742
+ country: string;
1743
+ line1: string;
1744
+ city: string;
1745
+ postcode: string;
1746
+ };
1747
+ sstRegNo: string;
1748
+ email: string;
1749
+ }, {
1750
+ phoneNo?: string | null | undefined;
1751
+ active?: string | null | undefined;
1752
+ schedule?: {
1753
+ day: number;
1754
+ hour: number;
1755
+ } | null | undefined;
1756
+ queryToken?: string | null | undefined;
1757
+ password?: string | null | undefined;
1758
+ appid?: string | null | undefined;
1759
+ username?: string | null | undefined;
1760
+ templateId?: string | null | undefined;
1761
+ isDev?: boolean | null | undefined;
1762
+ type: "marketing";
1763
+ businessId: string;
1764
+ regNo: string;
1765
+ tinNo: string;
1766
+ name: string;
1767
+ address: {
1768
+ coordinates?: number[] | null | undefined;
1769
+ line2?: string | null | undefined;
1770
+ state: string;
1771
+ country: string;
1772
+ line1: string;
1773
+ city: string;
1774
+ postcode: string;
1775
+ };
1776
+ sstRegNo: string;
1777
+ email: string;
1778
+ }>>;
1779
+ export type FdoVnEInvoiceCustomerBaseProfile = z.infer<typeof FdoVnEInvoiceCustomerBaseProfile>;
1780
+ export type FdoVnEInvoiceIndividualProfile = z.infer<typeof FdoVnEInvoiceIndividualProfile>;
1781
+ export type FdoVnEInvoiceCompanyProfile = z.infer<typeof FdoVnEInvoiceCompanyProfile>;
1782
+ export type FdoVnEInvoiceCustomerProfile = z.infer<typeof FdoVnEInvoiceCustomerProfile>;
1783
+ export type FdoVnEInvoiceCustomerProfileDoc = z.infer<typeof FdoVnEInvoiceCustomerProfileDoc>;
1784
+ export type FdoVnEInvoiceCustomerProfileSchema = z.infer<typeof FdoVnEInvoiceCustomerProfileSchema>;
1785
+ export type FdoVnEInvoiceItemInfo = z.infer<typeof FdoVnEInvoiceItemInfo>;
1786
+ export type FdoVnEInvoiceSetting = z.infer<typeof FdoVnEInvoiceSetting>;
1787
+ export type FdoVnEInvoiceSubmissionSchedule = z.infer<typeof FdoVnEInvoiceSubmissionSchedule>;
1788
+ export type FdoVnEInvoiceMerchantBaseProfile = z.infer<typeof FdoVnEInvoiceMerchantBaseProfile>;
1789
+ export type FdoVnEInvoiceRestaurantProfile = z.infer<typeof FdoVnEInvoiceRestaurantProfile>;
1790
+ export type FdoVnEInvoiceMarketingProfile = z.infer<typeof FdoVnEInvoiceMarketingProfile>;
1791
+ export type FdoVnEInvoiceMerchantProfile = z.infer<typeof FdoVnEInvoiceMerchantProfile>;
1792
+ export type FdoVnEInvoiceMerchantProfileDoc = z.infer<typeof FdoVnEInvoiceMerchantProfileDoc>;
1793
+ export type FdoVnEInvoiceMerchantProfileSchema = z.infer<typeof FdoVnEInvoiceMerchantProfileSchema>;