@feedmepos/mf-e-invoice 0.0.53 → 0.0.55

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,1449 @@
1
+ import { z } from 'zod';
2
+ export declare const FdoThEInvoiceCustomerBaseProfile: 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.ZodNullable<z.ZodOptional<z.ZodString>>;
36
+ tinNo: z.ZodString;
37
+ }>, "strip", z.ZodTypeAny, {
38
+ email?: string | null | undefined;
39
+ nickname?: string | null | undefined;
40
+ tinNo: string;
41
+ _id: string;
42
+ type: "individual" | "company";
43
+ name: string;
44
+ phoneNumber: string;
45
+ address: {
46
+ coordinates?: number[] | null | undefined;
47
+ line2?: string | null | undefined;
48
+ state: string;
49
+ country: string;
50
+ line1: string;
51
+ city: string;
52
+ postcode: string;
53
+ };
54
+ userId: string;
55
+ }, {
56
+ email?: string | null | undefined;
57
+ nickname?: string | null | undefined;
58
+ tinNo: string;
59
+ _id: string;
60
+ type: "individual" | "company";
61
+ name: string;
62
+ phoneNumber: string;
63
+ address: {
64
+ coordinates?: number[] | null | undefined;
65
+ line2?: string | null | undefined;
66
+ state: string;
67
+ country: string;
68
+ line1: string;
69
+ city: string;
70
+ postcode: string;
71
+ };
72
+ userId: string;
73
+ }>;
74
+ export declare const FdoThEInvoiceIndividualProfile: 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.ZodNullable<z.ZodOptional<z.ZodString>>;
108
+ tinNo: z.ZodString;
109
+ }>, {
110
+ type: z.ZodLiteral<"individual">;
111
+ branchCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
112
+ }>, "strip", z.ZodTypeAny, {
113
+ email?: string | null | undefined;
114
+ nickname?: string | null | undefined;
115
+ branchCode?: string | null | undefined;
116
+ tinNo: string;
117
+ _id: string;
118
+ type: "individual";
119
+ name: string;
120
+ phoneNumber: string;
121
+ address: {
122
+ coordinates?: number[] | null | undefined;
123
+ line2?: string | null | undefined;
124
+ state: string;
125
+ country: string;
126
+ line1: string;
127
+ city: string;
128
+ postcode: string;
129
+ };
130
+ userId: string;
131
+ }, {
132
+ email?: string | null | undefined;
133
+ nickname?: string | null | undefined;
134
+ branchCode?: string | null | undefined;
135
+ tinNo: string;
136
+ _id: string;
137
+ type: "individual";
138
+ name: string;
139
+ phoneNumber: string;
140
+ address: {
141
+ coordinates?: number[] | null | undefined;
142
+ line2?: string | null | undefined;
143
+ state: string;
144
+ country: string;
145
+ line1: string;
146
+ city: string;
147
+ postcode: string;
148
+ };
149
+ userId: string;
150
+ }>;
151
+ export declare const FdoThEInvoiceCompanyProfile: z.ZodObject<z.extendShape<z.extendShape<{
152
+ _id: z.ZodEffects<z.ZodString, string, string>;
153
+ type: z.ZodEnum<["individual", "company"]>;
154
+ nickname: z.ZodNullable<z.ZodOptional<z.ZodString>>;
155
+ name: z.ZodString;
156
+ phoneNumber: z.ZodString;
157
+ address: z.ZodObject<{
158
+ line1: z.ZodString;
159
+ line2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
160
+ state: z.ZodString;
161
+ city: z.ZodString;
162
+ postcode: z.ZodString;
163
+ country: z.ZodString;
164
+ coordinates: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
165
+ }, "strip", z.ZodTypeAny, {
166
+ coordinates?: number[] | null | undefined;
167
+ line2?: string | null | undefined;
168
+ state: string;
169
+ country: string;
170
+ line1: string;
171
+ city: string;
172
+ postcode: string;
173
+ }, {
174
+ coordinates?: number[] | null | undefined;
175
+ line2?: string | null | undefined;
176
+ state: string;
177
+ country: string;
178
+ line1: string;
179
+ city: string;
180
+ postcode: string;
181
+ }>;
182
+ userId: z.ZodString;
183
+ }, {
184
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
185
+ tinNo: z.ZodString;
186
+ }>, {
187
+ type: z.ZodLiteral<"company">;
188
+ branchCode: z.ZodString;
189
+ }>, "strip", z.ZodTypeAny, {
190
+ email?: string | null | undefined;
191
+ nickname?: string | null | undefined;
192
+ tinNo: string;
193
+ _id: string;
194
+ type: "company";
195
+ name: string;
196
+ phoneNumber: string;
197
+ address: {
198
+ coordinates?: number[] | null | undefined;
199
+ line2?: string | null | undefined;
200
+ state: string;
201
+ country: string;
202
+ line1: string;
203
+ city: string;
204
+ postcode: string;
205
+ };
206
+ userId: string;
207
+ branchCode: string;
208
+ }, {
209
+ email?: string | null | undefined;
210
+ nickname?: string | null | undefined;
211
+ tinNo: string;
212
+ _id: string;
213
+ type: "company";
214
+ name: string;
215
+ phoneNumber: string;
216
+ address: {
217
+ coordinates?: number[] | null | undefined;
218
+ line2?: string | null | undefined;
219
+ state: string;
220
+ country: string;
221
+ line1: string;
222
+ city: string;
223
+ postcode: string;
224
+ };
225
+ userId: string;
226
+ branchCode: string;
227
+ }>;
228
+ export declare const FdoThEInvoiceCustomerProfile: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<z.extendShape<z.extendShape<{
229
+ _id: z.ZodEffects<z.ZodString, string, string>;
230
+ type: z.ZodEnum<["individual", "company"]>;
231
+ nickname: z.ZodNullable<z.ZodOptional<z.ZodString>>;
232
+ name: z.ZodString;
233
+ phoneNumber: z.ZodString;
234
+ address: z.ZodObject<{
235
+ line1: z.ZodString;
236
+ line2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
237
+ state: z.ZodString;
238
+ city: z.ZodString;
239
+ postcode: z.ZodString;
240
+ country: z.ZodString;
241
+ coordinates: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
242
+ }, "strip", z.ZodTypeAny, {
243
+ coordinates?: number[] | null | undefined;
244
+ line2?: string | null | undefined;
245
+ state: string;
246
+ country: string;
247
+ line1: string;
248
+ city: string;
249
+ postcode: string;
250
+ }, {
251
+ coordinates?: number[] | null | undefined;
252
+ line2?: string | null | undefined;
253
+ state: string;
254
+ country: string;
255
+ line1: string;
256
+ city: string;
257
+ postcode: string;
258
+ }>;
259
+ userId: z.ZodString;
260
+ }, {
261
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
262
+ tinNo: z.ZodString;
263
+ }>, {
264
+ type: z.ZodLiteral<"individual">;
265
+ branchCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
266
+ }>, "strip", z.ZodTypeAny, {
267
+ email?: string | null | undefined;
268
+ nickname?: string | null | undefined;
269
+ branchCode?: string | null | undefined;
270
+ tinNo: string;
271
+ _id: string;
272
+ type: "individual";
273
+ name: string;
274
+ phoneNumber: string;
275
+ address: {
276
+ coordinates?: number[] | null | undefined;
277
+ line2?: string | null | undefined;
278
+ state: string;
279
+ country: string;
280
+ line1: string;
281
+ city: string;
282
+ postcode: string;
283
+ };
284
+ userId: string;
285
+ }, {
286
+ email?: string | null | undefined;
287
+ nickname?: string | null | undefined;
288
+ branchCode?: string | null | undefined;
289
+ tinNo: string;
290
+ _id: string;
291
+ type: "individual";
292
+ name: string;
293
+ phoneNumber: string;
294
+ address: {
295
+ coordinates?: number[] | null | undefined;
296
+ line2?: string | null | undefined;
297
+ state: string;
298
+ country: string;
299
+ line1: string;
300
+ city: string;
301
+ postcode: string;
302
+ };
303
+ userId: string;
304
+ }> | z.ZodObject<z.extendShape<z.extendShape<{
305
+ _id: z.ZodEffects<z.ZodString, string, string>;
306
+ type: z.ZodEnum<["individual", "company"]>;
307
+ nickname: z.ZodNullable<z.ZodOptional<z.ZodString>>;
308
+ name: z.ZodString;
309
+ phoneNumber: z.ZodString;
310
+ address: z.ZodObject<{
311
+ line1: z.ZodString;
312
+ line2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
313
+ state: z.ZodString;
314
+ city: z.ZodString;
315
+ postcode: z.ZodString;
316
+ country: z.ZodString;
317
+ coordinates: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
318
+ }, "strip", z.ZodTypeAny, {
319
+ coordinates?: number[] | null | undefined;
320
+ line2?: string | null | undefined;
321
+ state: string;
322
+ country: string;
323
+ line1: string;
324
+ city: string;
325
+ postcode: string;
326
+ }, {
327
+ coordinates?: number[] | null | undefined;
328
+ line2?: string | null | undefined;
329
+ state: string;
330
+ country: string;
331
+ line1: string;
332
+ city: string;
333
+ postcode: string;
334
+ }>;
335
+ userId: z.ZodString;
336
+ }, {
337
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
338
+ tinNo: z.ZodString;
339
+ }>, {
340
+ type: z.ZodLiteral<"company">;
341
+ branchCode: z.ZodString;
342
+ }>, "strip", z.ZodTypeAny, {
343
+ email?: string | null | undefined;
344
+ nickname?: string | null | undefined;
345
+ tinNo: string;
346
+ _id: string;
347
+ type: "company";
348
+ name: string;
349
+ phoneNumber: string;
350
+ address: {
351
+ coordinates?: number[] | null | undefined;
352
+ line2?: string | null | undefined;
353
+ state: string;
354
+ country: string;
355
+ line1: string;
356
+ city: string;
357
+ postcode: string;
358
+ };
359
+ userId: string;
360
+ branchCode: string;
361
+ }, {
362
+ email?: string | null | undefined;
363
+ nickname?: string | null | undefined;
364
+ tinNo: string;
365
+ _id: string;
366
+ type: "company";
367
+ name: string;
368
+ phoneNumber: string;
369
+ address: {
370
+ coordinates?: number[] | null | undefined;
371
+ line2?: string | null | undefined;
372
+ state: string;
373
+ country: string;
374
+ line1: string;
375
+ city: string;
376
+ postcode: string;
377
+ };
378
+ userId: string;
379
+ branchCode: string;
380
+ }>>;
381
+ export declare const FdoThEInvoiceCustomerProfileDoc: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<z.extendShape<z.extendShape<{
382
+ _id: z.ZodEffects<z.ZodString, string, string>;
383
+ type: z.ZodEnum<["individual", "company"]>;
384
+ nickname: z.ZodNullable<z.ZodOptional<z.ZodString>>;
385
+ name: z.ZodString;
386
+ phoneNumber: z.ZodString;
387
+ address: z.ZodObject<{
388
+ line1: z.ZodString;
389
+ line2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
390
+ state: z.ZodString;
391
+ city: z.ZodString;
392
+ postcode: z.ZodString;
393
+ country: z.ZodString;
394
+ coordinates: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
395
+ }, "strip", z.ZodTypeAny, {
396
+ coordinates?: number[] | null | undefined;
397
+ line2?: string | null | undefined;
398
+ state: string;
399
+ country: string;
400
+ line1: string;
401
+ city: string;
402
+ postcode: string;
403
+ }, {
404
+ coordinates?: number[] | null | undefined;
405
+ line2?: string | null | undefined;
406
+ state: string;
407
+ country: string;
408
+ line1: string;
409
+ city: string;
410
+ postcode: string;
411
+ }>;
412
+ userId: z.ZodString;
413
+ }, {
414
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
415
+ tinNo: z.ZodString;
416
+ }>, {
417
+ type: z.ZodLiteral<"individual">;
418
+ branchCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
419
+ }>, "strip", z.ZodTypeAny, {
420
+ email?: string | null | undefined;
421
+ nickname?: string | null | undefined;
422
+ branchCode?: string | null | undefined;
423
+ tinNo: string;
424
+ _id: string;
425
+ type: "individual";
426
+ name: string;
427
+ phoneNumber: string;
428
+ address: {
429
+ coordinates?: number[] | null | undefined;
430
+ line2?: string | null | undefined;
431
+ state: string;
432
+ country: string;
433
+ line1: string;
434
+ city: string;
435
+ postcode: string;
436
+ };
437
+ userId: string;
438
+ }, {
439
+ email?: string | null | undefined;
440
+ nickname?: string | null | undefined;
441
+ branchCode?: string | null | undefined;
442
+ tinNo: string;
443
+ _id: string;
444
+ type: "individual";
445
+ name: string;
446
+ phoneNumber: string;
447
+ address: {
448
+ coordinates?: number[] | null | undefined;
449
+ line2?: string | null | undefined;
450
+ state: string;
451
+ country: string;
452
+ line1: string;
453
+ city: string;
454
+ postcode: string;
455
+ };
456
+ userId: string;
457
+ }> | z.ZodObject<z.extendShape<z.extendShape<{
458
+ _id: z.ZodEffects<z.ZodString, string, string>;
459
+ type: z.ZodEnum<["individual", "company"]>;
460
+ nickname: z.ZodNullable<z.ZodOptional<z.ZodString>>;
461
+ name: z.ZodString;
462
+ phoneNumber: z.ZodString;
463
+ address: z.ZodObject<{
464
+ line1: z.ZodString;
465
+ line2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
466
+ state: z.ZodString;
467
+ city: z.ZodString;
468
+ postcode: z.ZodString;
469
+ country: z.ZodString;
470
+ coordinates: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
471
+ }, "strip", z.ZodTypeAny, {
472
+ coordinates?: number[] | null | undefined;
473
+ line2?: string | null | undefined;
474
+ state: string;
475
+ country: string;
476
+ line1: string;
477
+ city: string;
478
+ postcode: string;
479
+ }, {
480
+ coordinates?: number[] | null | undefined;
481
+ line2?: string | null | undefined;
482
+ state: string;
483
+ country: string;
484
+ line1: string;
485
+ city: string;
486
+ postcode: string;
487
+ }>;
488
+ userId: z.ZodString;
489
+ }, {
490
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
491
+ tinNo: z.ZodString;
492
+ }>, {
493
+ type: z.ZodLiteral<"company">;
494
+ branchCode: z.ZodString;
495
+ }>, "strip", z.ZodTypeAny, {
496
+ email?: string | null | undefined;
497
+ nickname?: string | null | undefined;
498
+ tinNo: string;
499
+ _id: string;
500
+ type: "company";
501
+ name: string;
502
+ phoneNumber: string;
503
+ address: {
504
+ coordinates?: number[] | null | undefined;
505
+ line2?: string | null | undefined;
506
+ state: string;
507
+ country: string;
508
+ line1: string;
509
+ city: string;
510
+ postcode: string;
511
+ };
512
+ userId: string;
513
+ branchCode: string;
514
+ }, {
515
+ email?: string | null | undefined;
516
+ nickname?: string | null | undefined;
517
+ tinNo: string;
518
+ _id: string;
519
+ type: "company";
520
+ name: string;
521
+ phoneNumber: string;
522
+ address: {
523
+ coordinates?: number[] | null | undefined;
524
+ line2?: string | null | undefined;
525
+ state: string;
526
+ country: string;
527
+ line1: string;
528
+ city: string;
529
+ postcode: string;
530
+ };
531
+ userId: string;
532
+ branchCode: string;
533
+ }>>;
534
+ export declare const FdoThEInvoiceCustomerProfileSchema: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<Omit<z.extendShape<z.extendShape<{
535
+ _id: z.ZodEffects<z.ZodString, string, string>;
536
+ type: z.ZodEnum<["individual", "company"]>;
537
+ nickname: z.ZodNullable<z.ZodOptional<z.ZodString>>;
538
+ name: z.ZodString;
539
+ phoneNumber: z.ZodString;
540
+ address: z.ZodObject<{
541
+ line1: z.ZodString;
542
+ line2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
543
+ state: z.ZodString;
544
+ city: z.ZodString;
545
+ postcode: z.ZodString;
546
+ country: z.ZodString;
547
+ coordinates: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
548
+ }, "strip", z.ZodTypeAny, {
549
+ coordinates?: number[] | null | undefined;
550
+ line2?: string | null | undefined;
551
+ state: string;
552
+ country: string;
553
+ line1: string;
554
+ city: string;
555
+ postcode: string;
556
+ }, {
557
+ coordinates?: number[] | null | undefined;
558
+ line2?: string | null | undefined;
559
+ state: string;
560
+ country: string;
561
+ line1: string;
562
+ city: string;
563
+ postcode: string;
564
+ }>;
565
+ userId: z.ZodString;
566
+ }, {
567
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
568
+ tinNo: z.ZodString;
569
+ }>, {
570
+ type: z.ZodLiteral<"individual">;
571
+ branchCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
572
+ }>, "_id">, "strip", z.ZodTypeAny, {
573
+ email?: string | null | undefined;
574
+ nickname?: string | null | undefined;
575
+ branchCode?: string | null | undefined;
576
+ tinNo: string;
577
+ type: "individual";
578
+ name: string;
579
+ phoneNumber: string;
580
+ address: {
581
+ coordinates?: number[] | null | undefined;
582
+ line2?: string | null | undefined;
583
+ state: string;
584
+ country: string;
585
+ line1: string;
586
+ city: string;
587
+ postcode: string;
588
+ };
589
+ userId: string;
590
+ }, {
591
+ email?: string | null | undefined;
592
+ nickname?: string | null | undefined;
593
+ branchCode?: string | null | undefined;
594
+ tinNo: string;
595
+ type: "individual";
596
+ name: string;
597
+ phoneNumber: string;
598
+ address: {
599
+ coordinates?: number[] | null | undefined;
600
+ line2?: string | null | undefined;
601
+ state: string;
602
+ country: string;
603
+ line1: string;
604
+ city: string;
605
+ postcode: string;
606
+ };
607
+ userId: string;
608
+ }> | z.ZodObject<Omit<z.extendShape<z.extendShape<{
609
+ _id: z.ZodEffects<z.ZodString, string, string>;
610
+ type: z.ZodEnum<["individual", "company"]>;
611
+ nickname: z.ZodNullable<z.ZodOptional<z.ZodString>>;
612
+ name: z.ZodString;
613
+ phoneNumber: z.ZodString;
614
+ address: z.ZodObject<{
615
+ line1: z.ZodString;
616
+ line2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
617
+ state: z.ZodString;
618
+ city: z.ZodString;
619
+ postcode: z.ZodString;
620
+ country: z.ZodString;
621
+ coordinates: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
622
+ }, "strip", z.ZodTypeAny, {
623
+ coordinates?: number[] | null | undefined;
624
+ line2?: string | null | undefined;
625
+ state: string;
626
+ country: string;
627
+ line1: string;
628
+ city: string;
629
+ postcode: string;
630
+ }, {
631
+ coordinates?: number[] | null | undefined;
632
+ line2?: string | null | undefined;
633
+ state: string;
634
+ country: string;
635
+ line1: string;
636
+ city: string;
637
+ postcode: string;
638
+ }>;
639
+ userId: z.ZodString;
640
+ }, {
641
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
642
+ tinNo: z.ZodString;
643
+ }>, {
644
+ type: z.ZodLiteral<"company">;
645
+ branchCode: z.ZodString;
646
+ }>, "_id">, "strip", z.ZodTypeAny, {
647
+ email?: string | null | undefined;
648
+ nickname?: string | null | undefined;
649
+ tinNo: string;
650
+ type: "company";
651
+ name: string;
652
+ phoneNumber: string;
653
+ address: {
654
+ coordinates?: number[] | null | undefined;
655
+ line2?: string | null | undefined;
656
+ state: string;
657
+ country: string;
658
+ line1: string;
659
+ city: string;
660
+ postcode: string;
661
+ };
662
+ userId: string;
663
+ branchCode: string;
664
+ }, {
665
+ email?: string | null | undefined;
666
+ nickname?: string | null | undefined;
667
+ tinNo: string;
668
+ type: "company";
669
+ name: string;
670
+ phoneNumber: string;
671
+ address: {
672
+ coordinates?: number[] | null | undefined;
673
+ line2?: string | null | undefined;
674
+ state: string;
675
+ country: string;
676
+ line1: string;
677
+ city: string;
678
+ postcode: string;
679
+ };
680
+ userId: string;
681
+ branchCode: string;
682
+ }>>;
683
+ export declare const FdoThEInvoiceItemInfo: z.ZodObject<{
684
+ taxExemptionReason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
685
+ }, "strip", z.ZodTypeAny, {
686
+ taxExemptionReason?: string | null | undefined;
687
+ }, {
688
+ taxExemptionReason?: string | null | undefined;
689
+ }>;
690
+ export declare const FdoThEInvoiceSetting: z.ZodObject<{
691
+ _id: z.ZodEffects<z.ZodString, string, string>;
692
+ businessId: z.ZodString;
693
+ items: z.ZodRecord<z.ZodString, z.ZodObject<{
694
+ taxExemptionReason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
695
+ }, "strip", z.ZodTypeAny, {
696
+ taxExemptionReason?: string | null | undefined;
697
+ }, {
698
+ taxExemptionReason?: string | null | undefined;
699
+ }>>;
700
+ }, "strip", z.ZodTypeAny, {
701
+ _id: string;
702
+ businessId: string;
703
+ items: Record<string, {
704
+ taxExemptionReason?: string | null | undefined;
705
+ }>;
706
+ }, {
707
+ _id: string;
708
+ businessId: string;
709
+ items: Record<string, {
710
+ taxExemptionReason?: string | null | undefined;
711
+ }>;
712
+ }>;
713
+ export declare const FdoThEInvoiceMerchantBaseProfile: z.ZodObject<z.extendShape<{
714
+ _id: z.ZodEffects<z.ZodString, string, string>;
715
+ type: z.ZodEnum<["restaurant", "marketing"]>;
716
+ businessId: z.ZodString;
717
+ regNo: z.ZodString;
718
+ tinNo: z.ZodString;
719
+ name: z.ZodString;
720
+ address: z.ZodObject<{
721
+ line1: z.ZodString;
722
+ line2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
723
+ state: z.ZodString;
724
+ city: z.ZodString;
725
+ postcode: z.ZodString;
726
+ country: z.ZodString;
727
+ coordinates: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
728
+ }, "strip", z.ZodTypeAny, {
729
+ coordinates?: number[] | null | undefined;
730
+ line2?: string | null | undefined;
731
+ state: string;
732
+ country: string;
733
+ line1: string;
734
+ city: string;
735
+ postcode: string;
736
+ }, {
737
+ coordinates?: number[] | null | undefined;
738
+ line2?: string | null | undefined;
739
+ state: string;
740
+ country: string;
741
+ line1: string;
742
+ city: string;
743
+ postcode: string;
744
+ }>;
745
+ phoneNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
746
+ }, {
747
+ branchCode: z.ZodString;
748
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
749
+ queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
750
+ }>, "strip", z.ZodTypeAny, {
751
+ email?: string | null | undefined;
752
+ queryToken?: string | null | undefined;
753
+ phoneNo?: string | null | undefined;
754
+ tinNo: string;
755
+ _id: string;
756
+ type: "restaurant" | "marketing";
757
+ name: string;
758
+ address: {
759
+ coordinates?: number[] | null | undefined;
760
+ line2?: string | null | undefined;
761
+ state: string;
762
+ country: string;
763
+ line1: string;
764
+ city: string;
765
+ postcode: string;
766
+ };
767
+ branchCode: string;
768
+ businessId: string;
769
+ regNo: string;
770
+ }, {
771
+ email?: string | null | undefined;
772
+ queryToken?: string | null | undefined;
773
+ phoneNo?: string | null | undefined;
774
+ tinNo: string;
775
+ _id: string;
776
+ type: "restaurant" | "marketing";
777
+ name: string;
778
+ address: {
779
+ coordinates?: number[] | null | undefined;
780
+ line2?: string | null | undefined;
781
+ state: string;
782
+ country: string;
783
+ line1: string;
784
+ city: string;
785
+ postcode: string;
786
+ };
787
+ branchCode: string;
788
+ businessId: string;
789
+ regNo: string;
790
+ }>;
791
+ export declare const FdoThEInvoiceRestaurantProfile: z.ZodObject<z.extendShape<z.extendShape<{
792
+ _id: z.ZodEffects<z.ZodString, string, string>;
793
+ type: z.ZodEnum<["restaurant", "marketing"]>;
794
+ businessId: z.ZodString;
795
+ regNo: z.ZodString;
796
+ tinNo: z.ZodString;
797
+ name: z.ZodString;
798
+ address: z.ZodObject<{
799
+ line1: z.ZodString;
800
+ line2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
801
+ state: z.ZodString;
802
+ city: z.ZodString;
803
+ postcode: z.ZodString;
804
+ country: z.ZodString;
805
+ coordinates: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
806
+ }, "strip", z.ZodTypeAny, {
807
+ coordinates?: number[] | null | undefined;
808
+ line2?: string | null | undefined;
809
+ state: string;
810
+ country: string;
811
+ line1: string;
812
+ city: string;
813
+ postcode: string;
814
+ }, {
815
+ coordinates?: number[] | null | undefined;
816
+ line2?: string | null | undefined;
817
+ state: string;
818
+ country: string;
819
+ line1: string;
820
+ city: string;
821
+ postcode: string;
822
+ }>;
823
+ phoneNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
824
+ }, {
825
+ branchCode: z.ZodString;
826
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
827
+ queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
828
+ }>, {
829
+ type: z.ZodLiteral<"restaurant">;
830
+ restaurantId: z.ZodString;
831
+ }>, "strip", z.ZodTypeAny, {
832
+ email?: string | null | undefined;
833
+ queryToken?: string | null | undefined;
834
+ phoneNo?: string | null | undefined;
835
+ tinNo: string;
836
+ _id: string;
837
+ type: "restaurant";
838
+ name: string;
839
+ address: {
840
+ coordinates?: number[] | null | undefined;
841
+ line2?: string | null | undefined;
842
+ state: string;
843
+ country: string;
844
+ line1: string;
845
+ city: string;
846
+ postcode: string;
847
+ };
848
+ branchCode: string;
849
+ businessId: string;
850
+ regNo: string;
851
+ restaurantId: string;
852
+ }, {
853
+ email?: string | null | undefined;
854
+ queryToken?: string | null | undefined;
855
+ phoneNo?: string | null | undefined;
856
+ tinNo: string;
857
+ _id: string;
858
+ type: "restaurant";
859
+ name: string;
860
+ address: {
861
+ coordinates?: number[] | null | undefined;
862
+ line2?: string | null | undefined;
863
+ state: string;
864
+ country: string;
865
+ line1: string;
866
+ city: string;
867
+ postcode: string;
868
+ };
869
+ branchCode: string;
870
+ businessId: string;
871
+ regNo: string;
872
+ restaurantId: string;
873
+ }>;
874
+ export declare const FdoThEInvoiceMarketingProfile: z.ZodObject<z.extendShape<z.extendShape<{
875
+ _id: z.ZodEffects<z.ZodString, string, string>;
876
+ type: z.ZodEnum<["restaurant", "marketing"]>;
877
+ businessId: z.ZodString;
878
+ regNo: z.ZodString;
879
+ tinNo: z.ZodString;
880
+ name: z.ZodString;
881
+ address: z.ZodObject<{
882
+ line1: z.ZodString;
883
+ line2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
884
+ state: z.ZodString;
885
+ city: z.ZodString;
886
+ postcode: z.ZodString;
887
+ country: z.ZodString;
888
+ coordinates: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
889
+ }, "strip", z.ZodTypeAny, {
890
+ coordinates?: number[] | null | undefined;
891
+ line2?: string | null | undefined;
892
+ state: string;
893
+ country: string;
894
+ line1: string;
895
+ city: string;
896
+ postcode: string;
897
+ }, {
898
+ coordinates?: number[] | null | undefined;
899
+ line2?: string | null | undefined;
900
+ state: string;
901
+ country: string;
902
+ line1: string;
903
+ city: string;
904
+ postcode: string;
905
+ }>;
906
+ phoneNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
907
+ }, {
908
+ branchCode: z.ZodString;
909
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
910
+ queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
911
+ }>, {
912
+ type: z.ZodLiteral<"marketing">;
913
+ }>, "strip", z.ZodTypeAny, {
914
+ email?: string | null | undefined;
915
+ queryToken?: string | null | undefined;
916
+ phoneNo?: string | null | undefined;
917
+ tinNo: string;
918
+ _id: string;
919
+ type: "marketing";
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
+ branchCode: string;
931
+ businessId: string;
932
+ regNo: string;
933
+ }, {
934
+ email?: string | null | undefined;
935
+ queryToken?: string | null | undefined;
936
+ phoneNo?: string | null | undefined;
937
+ tinNo: string;
938
+ _id: string;
939
+ type: "marketing";
940
+ name: string;
941
+ address: {
942
+ coordinates?: number[] | null | undefined;
943
+ line2?: string | null | undefined;
944
+ state: string;
945
+ country: string;
946
+ line1: string;
947
+ city: string;
948
+ postcode: string;
949
+ };
950
+ branchCode: string;
951
+ businessId: string;
952
+ regNo: string;
953
+ }>;
954
+ export declare const FdoThEInvoiceMerchantProfile: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<z.extendShape<z.extendShape<{
955
+ _id: z.ZodEffects<z.ZodString, string, string>;
956
+ type: z.ZodEnum<["restaurant", "marketing"]>;
957
+ businessId: z.ZodString;
958
+ regNo: z.ZodString;
959
+ tinNo: z.ZodString;
960
+ name: z.ZodString;
961
+ address: z.ZodObject<{
962
+ line1: z.ZodString;
963
+ line2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
964
+ state: z.ZodString;
965
+ city: z.ZodString;
966
+ postcode: z.ZodString;
967
+ country: z.ZodString;
968
+ coordinates: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
969
+ }, "strip", z.ZodTypeAny, {
970
+ coordinates?: number[] | null | undefined;
971
+ line2?: string | null | undefined;
972
+ state: string;
973
+ country: string;
974
+ line1: string;
975
+ city: string;
976
+ postcode: string;
977
+ }, {
978
+ coordinates?: number[] | null | undefined;
979
+ line2?: string | null | undefined;
980
+ state: string;
981
+ country: string;
982
+ line1: string;
983
+ city: string;
984
+ postcode: string;
985
+ }>;
986
+ phoneNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
987
+ }, {
988
+ branchCode: z.ZodString;
989
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
990
+ queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
991
+ }>, {
992
+ type: z.ZodLiteral<"restaurant">;
993
+ restaurantId: z.ZodString;
994
+ }>, "strip", z.ZodTypeAny, {
995
+ email?: string | null | undefined;
996
+ queryToken?: string | null | undefined;
997
+ phoneNo?: string | null | undefined;
998
+ tinNo: string;
999
+ _id: string;
1000
+ type: "restaurant";
1001
+ name: string;
1002
+ address: {
1003
+ coordinates?: number[] | null | undefined;
1004
+ line2?: string | null | undefined;
1005
+ state: string;
1006
+ country: string;
1007
+ line1: string;
1008
+ city: string;
1009
+ postcode: string;
1010
+ };
1011
+ branchCode: string;
1012
+ businessId: string;
1013
+ regNo: string;
1014
+ restaurantId: string;
1015
+ }, {
1016
+ email?: string | null | undefined;
1017
+ queryToken?: string | null | undefined;
1018
+ phoneNo?: string | null | undefined;
1019
+ tinNo: string;
1020
+ _id: string;
1021
+ type: "restaurant";
1022
+ name: string;
1023
+ address: {
1024
+ coordinates?: number[] | null | undefined;
1025
+ line2?: string | null | undefined;
1026
+ state: string;
1027
+ country: string;
1028
+ line1: string;
1029
+ city: string;
1030
+ postcode: string;
1031
+ };
1032
+ branchCode: string;
1033
+ businessId: string;
1034
+ regNo: string;
1035
+ restaurantId: string;
1036
+ }> | z.ZodObject<z.extendShape<z.extendShape<{
1037
+ _id: z.ZodEffects<z.ZodString, string, string>;
1038
+ type: z.ZodEnum<["restaurant", "marketing"]>;
1039
+ businessId: z.ZodString;
1040
+ regNo: z.ZodString;
1041
+ tinNo: z.ZodString;
1042
+ name: z.ZodString;
1043
+ address: z.ZodObject<{
1044
+ line1: z.ZodString;
1045
+ line2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1046
+ state: z.ZodString;
1047
+ city: z.ZodString;
1048
+ postcode: z.ZodString;
1049
+ country: z.ZodString;
1050
+ coordinates: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
1051
+ }, "strip", z.ZodTypeAny, {
1052
+ coordinates?: number[] | null | undefined;
1053
+ line2?: string | null | undefined;
1054
+ state: string;
1055
+ country: string;
1056
+ line1: string;
1057
+ city: string;
1058
+ postcode: string;
1059
+ }, {
1060
+ coordinates?: number[] | null | undefined;
1061
+ line2?: string | null | undefined;
1062
+ state: string;
1063
+ country: string;
1064
+ line1: string;
1065
+ city: string;
1066
+ postcode: string;
1067
+ }>;
1068
+ phoneNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1069
+ }, {
1070
+ branchCode: z.ZodString;
1071
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1072
+ queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1073
+ }>, {
1074
+ type: z.ZodLiteral<"marketing">;
1075
+ }>, "strip", z.ZodTypeAny, {
1076
+ email?: string | null | undefined;
1077
+ queryToken?: string | null | undefined;
1078
+ phoneNo?: string | null | undefined;
1079
+ tinNo: string;
1080
+ _id: string;
1081
+ type: "marketing";
1082
+ name: string;
1083
+ address: {
1084
+ coordinates?: number[] | null | undefined;
1085
+ line2?: string | null | undefined;
1086
+ state: string;
1087
+ country: string;
1088
+ line1: string;
1089
+ city: string;
1090
+ postcode: string;
1091
+ };
1092
+ branchCode: string;
1093
+ businessId: string;
1094
+ regNo: string;
1095
+ }, {
1096
+ email?: string | null | undefined;
1097
+ queryToken?: string | null | undefined;
1098
+ phoneNo?: string | null | undefined;
1099
+ tinNo: string;
1100
+ _id: string;
1101
+ type: "marketing";
1102
+ name: string;
1103
+ address: {
1104
+ coordinates?: number[] | null | undefined;
1105
+ line2?: string | null | undefined;
1106
+ state: string;
1107
+ country: string;
1108
+ line1: string;
1109
+ city: string;
1110
+ postcode: string;
1111
+ };
1112
+ branchCode: string;
1113
+ businessId: string;
1114
+ regNo: string;
1115
+ }>>;
1116
+ export declare const FdoThEInvoiceMerchantProfileDoc: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<z.extendShape<z.extendShape<{
1117
+ _id: z.ZodEffects<z.ZodString, string, string>;
1118
+ type: z.ZodEnum<["restaurant", "marketing"]>;
1119
+ businessId: z.ZodString;
1120
+ regNo: z.ZodString;
1121
+ tinNo: z.ZodString;
1122
+ name: z.ZodString;
1123
+ address: z.ZodObject<{
1124
+ line1: z.ZodString;
1125
+ line2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1126
+ state: z.ZodString;
1127
+ city: z.ZodString;
1128
+ postcode: z.ZodString;
1129
+ country: z.ZodString;
1130
+ coordinates: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
1131
+ }, "strip", z.ZodTypeAny, {
1132
+ coordinates?: number[] | null | undefined;
1133
+ line2?: string | null | undefined;
1134
+ state: string;
1135
+ country: string;
1136
+ line1: string;
1137
+ city: string;
1138
+ postcode: string;
1139
+ }, {
1140
+ coordinates?: number[] | null | undefined;
1141
+ line2?: string | null | undefined;
1142
+ state: string;
1143
+ country: string;
1144
+ line1: string;
1145
+ city: string;
1146
+ postcode: string;
1147
+ }>;
1148
+ phoneNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1149
+ }, {
1150
+ branchCode: z.ZodString;
1151
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1152
+ queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1153
+ }>, {
1154
+ type: z.ZodLiteral<"restaurant">;
1155
+ restaurantId: z.ZodString;
1156
+ }>, "strip", z.ZodTypeAny, {
1157
+ email?: string | null | undefined;
1158
+ queryToken?: string | null | undefined;
1159
+ phoneNo?: string | null | undefined;
1160
+ tinNo: string;
1161
+ _id: string;
1162
+ type: "restaurant";
1163
+ name: string;
1164
+ address: {
1165
+ coordinates?: number[] | null | undefined;
1166
+ line2?: string | null | undefined;
1167
+ state: string;
1168
+ country: string;
1169
+ line1: string;
1170
+ city: string;
1171
+ postcode: string;
1172
+ };
1173
+ branchCode: string;
1174
+ businessId: string;
1175
+ regNo: string;
1176
+ restaurantId: string;
1177
+ }, {
1178
+ email?: string | null | undefined;
1179
+ queryToken?: string | null | undefined;
1180
+ phoneNo?: string | null | undefined;
1181
+ tinNo: string;
1182
+ _id: string;
1183
+ type: "restaurant";
1184
+ name: string;
1185
+ address: {
1186
+ coordinates?: number[] | null | undefined;
1187
+ line2?: string | null | undefined;
1188
+ state: string;
1189
+ country: string;
1190
+ line1: string;
1191
+ city: string;
1192
+ postcode: string;
1193
+ };
1194
+ branchCode: string;
1195
+ businessId: string;
1196
+ regNo: string;
1197
+ restaurantId: string;
1198
+ }> | z.ZodObject<z.extendShape<z.extendShape<{
1199
+ _id: z.ZodEffects<z.ZodString, string, string>;
1200
+ type: z.ZodEnum<["restaurant", "marketing"]>;
1201
+ businessId: z.ZodString;
1202
+ regNo: z.ZodString;
1203
+ tinNo: z.ZodString;
1204
+ name: z.ZodString;
1205
+ address: z.ZodObject<{
1206
+ line1: z.ZodString;
1207
+ line2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1208
+ state: z.ZodString;
1209
+ city: z.ZodString;
1210
+ postcode: z.ZodString;
1211
+ country: z.ZodString;
1212
+ coordinates: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
1213
+ }, "strip", z.ZodTypeAny, {
1214
+ coordinates?: number[] | null | undefined;
1215
+ line2?: string | null | undefined;
1216
+ state: string;
1217
+ country: string;
1218
+ line1: string;
1219
+ city: string;
1220
+ postcode: string;
1221
+ }, {
1222
+ coordinates?: number[] | null | undefined;
1223
+ line2?: string | null | undefined;
1224
+ state: string;
1225
+ country: string;
1226
+ line1: string;
1227
+ city: string;
1228
+ postcode: string;
1229
+ }>;
1230
+ phoneNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1231
+ }, {
1232
+ branchCode: z.ZodString;
1233
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1234
+ queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1235
+ }>, {
1236
+ type: z.ZodLiteral<"marketing">;
1237
+ }>, "strip", z.ZodTypeAny, {
1238
+ email?: string | null | undefined;
1239
+ queryToken?: string | null | undefined;
1240
+ phoneNo?: string | null | undefined;
1241
+ tinNo: string;
1242
+ _id: string;
1243
+ type: "marketing";
1244
+ name: string;
1245
+ address: {
1246
+ coordinates?: number[] | null | undefined;
1247
+ line2?: string | null | undefined;
1248
+ state: string;
1249
+ country: string;
1250
+ line1: string;
1251
+ city: string;
1252
+ postcode: string;
1253
+ };
1254
+ branchCode: string;
1255
+ businessId: string;
1256
+ regNo: string;
1257
+ }, {
1258
+ email?: string | null | undefined;
1259
+ queryToken?: string | null | undefined;
1260
+ phoneNo?: string | null | undefined;
1261
+ tinNo: string;
1262
+ _id: string;
1263
+ type: "marketing";
1264
+ name: string;
1265
+ address: {
1266
+ coordinates?: number[] | null | undefined;
1267
+ line2?: string | null | undefined;
1268
+ state: string;
1269
+ country: string;
1270
+ line1: string;
1271
+ city: string;
1272
+ postcode: string;
1273
+ };
1274
+ branchCode: string;
1275
+ businessId: string;
1276
+ regNo: string;
1277
+ }>>;
1278
+ export declare const FdoThEInvoiceMerchantProfileSchema: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<Omit<z.extendShape<z.extendShape<{
1279
+ _id: z.ZodEffects<z.ZodString, string, string>;
1280
+ type: z.ZodEnum<["restaurant", "marketing"]>;
1281
+ businessId: z.ZodString;
1282
+ regNo: z.ZodString;
1283
+ tinNo: z.ZodString;
1284
+ name: z.ZodString;
1285
+ address: z.ZodObject<{
1286
+ line1: z.ZodString;
1287
+ line2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1288
+ state: z.ZodString;
1289
+ city: z.ZodString;
1290
+ postcode: z.ZodString;
1291
+ country: z.ZodString;
1292
+ coordinates: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
1293
+ }, "strip", z.ZodTypeAny, {
1294
+ coordinates?: number[] | null | undefined;
1295
+ line2?: string | null | undefined;
1296
+ state: string;
1297
+ country: string;
1298
+ line1: string;
1299
+ city: string;
1300
+ postcode: string;
1301
+ }, {
1302
+ coordinates?: number[] | null | undefined;
1303
+ line2?: string | null | undefined;
1304
+ state: string;
1305
+ country: string;
1306
+ line1: string;
1307
+ city: string;
1308
+ postcode: string;
1309
+ }>;
1310
+ phoneNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1311
+ }, {
1312
+ branchCode: z.ZodString;
1313
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1314
+ queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1315
+ }>, {
1316
+ type: z.ZodLiteral<"restaurant">;
1317
+ restaurantId: z.ZodString;
1318
+ }>, "_id">, "strip", z.ZodTypeAny, {
1319
+ email?: string | null | undefined;
1320
+ queryToken?: string | null | undefined;
1321
+ phoneNo?: string | null | undefined;
1322
+ tinNo: string;
1323
+ type: "restaurant";
1324
+ name: string;
1325
+ address: {
1326
+ coordinates?: number[] | null | undefined;
1327
+ line2?: string | null | undefined;
1328
+ state: string;
1329
+ country: string;
1330
+ line1: string;
1331
+ city: string;
1332
+ postcode: string;
1333
+ };
1334
+ branchCode: string;
1335
+ businessId: string;
1336
+ regNo: string;
1337
+ restaurantId: string;
1338
+ }, {
1339
+ email?: string | null | undefined;
1340
+ queryToken?: string | null | undefined;
1341
+ phoneNo?: string | null | undefined;
1342
+ tinNo: string;
1343
+ type: "restaurant";
1344
+ name: string;
1345
+ address: {
1346
+ coordinates?: number[] | null | undefined;
1347
+ line2?: string | null | undefined;
1348
+ state: string;
1349
+ country: string;
1350
+ line1: string;
1351
+ city: string;
1352
+ postcode: string;
1353
+ };
1354
+ branchCode: string;
1355
+ businessId: string;
1356
+ regNo: string;
1357
+ restaurantId: string;
1358
+ }> | z.ZodObject<Omit<z.extendShape<z.extendShape<{
1359
+ _id: z.ZodEffects<z.ZodString, string, string>;
1360
+ type: z.ZodEnum<["restaurant", "marketing"]>;
1361
+ businessId: z.ZodString;
1362
+ regNo: z.ZodString;
1363
+ tinNo: z.ZodString;
1364
+ name: z.ZodString;
1365
+ address: z.ZodObject<{
1366
+ line1: z.ZodString;
1367
+ line2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1368
+ state: z.ZodString;
1369
+ city: z.ZodString;
1370
+ postcode: z.ZodString;
1371
+ country: z.ZodString;
1372
+ coordinates: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
1373
+ }, "strip", z.ZodTypeAny, {
1374
+ coordinates?: number[] | null | undefined;
1375
+ line2?: string | null | undefined;
1376
+ state: string;
1377
+ country: string;
1378
+ line1: string;
1379
+ city: string;
1380
+ postcode: string;
1381
+ }, {
1382
+ coordinates?: number[] | null | undefined;
1383
+ line2?: string | null | undefined;
1384
+ state: string;
1385
+ country: string;
1386
+ line1: string;
1387
+ city: string;
1388
+ postcode: string;
1389
+ }>;
1390
+ phoneNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1391
+ }, {
1392
+ branchCode: z.ZodString;
1393
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1394
+ queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1395
+ }>, {
1396
+ type: z.ZodLiteral<"marketing">;
1397
+ }>, "_id">, "strip", z.ZodTypeAny, {
1398
+ email?: string | null | undefined;
1399
+ queryToken?: string | null | undefined;
1400
+ phoneNo?: string | null | undefined;
1401
+ tinNo: string;
1402
+ type: "marketing";
1403
+ name: string;
1404
+ address: {
1405
+ coordinates?: number[] | null | undefined;
1406
+ line2?: string | null | undefined;
1407
+ state: string;
1408
+ country: string;
1409
+ line1: string;
1410
+ city: string;
1411
+ postcode: string;
1412
+ };
1413
+ branchCode: string;
1414
+ businessId: string;
1415
+ regNo: string;
1416
+ }, {
1417
+ email?: string | null | undefined;
1418
+ queryToken?: string | null | undefined;
1419
+ phoneNo?: string | null | undefined;
1420
+ tinNo: string;
1421
+ type: "marketing";
1422
+ name: string;
1423
+ address: {
1424
+ coordinates?: number[] | null | undefined;
1425
+ line2?: string | null | undefined;
1426
+ state: string;
1427
+ country: string;
1428
+ line1: string;
1429
+ city: string;
1430
+ postcode: string;
1431
+ };
1432
+ branchCode: string;
1433
+ businessId: string;
1434
+ regNo: string;
1435
+ }>>;
1436
+ export type FdoThEInvoiceCustomerBaseProfile = z.infer<typeof FdoThEInvoiceCustomerBaseProfile>;
1437
+ export type FdoThEInvoiceIndividualProfile = z.infer<typeof FdoThEInvoiceIndividualProfile>;
1438
+ export type FdoThEInvoiceCompanyProfile = z.infer<typeof FdoThEInvoiceCompanyProfile>;
1439
+ export type FdoThEInvoiceCustomerProfile = z.infer<typeof FdoThEInvoiceCustomerProfile>;
1440
+ export type FdoThEInvoiceCustomerProfileDoc = z.infer<typeof FdoThEInvoiceCustomerProfileDoc>;
1441
+ export type FdoThEInvoiceCustomerProfileSchema = z.infer<typeof FdoThEInvoiceCustomerProfileSchema>;
1442
+ export type FdoThEInvoiceItemInfo = z.infer<typeof FdoThEInvoiceItemInfo>;
1443
+ export type FdoThEInvoiceSetting = z.infer<typeof FdoThEInvoiceSetting>;
1444
+ export type FdoThEInvoiceMerchantBaseProfile = z.infer<typeof FdoThEInvoiceMerchantBaseProfile>;
1445
+ export type FdoThEInvoiceRestaurantProfile = z.infer<typeof FdoThEInvoiceRestaurantProfile>;
1446
+ export type FdoThEInvoiceMarketingProfile = z.infer<typeof FdoThEInvoiceMarketingProfile>;
1447
+ export type FdoThEInvoiceMerchantProfile = z.infer<typeof FdoThEInvoiceMerchantProfile>;
1448
+ export type FdoThEInvoiceMerchantProfileDoc = z.infer<typeof FdoThEInvoiceMerchantProfileDoc>;
1449
+ export type FdoThEInvoiceMerchantProfileSchema = z.infer<typeof FdoThEInvoiceMerchantProfileSchema>;