@feedmepos/mf-e-invoice 0.0.65 → 0.0.66

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.
Files changed (38) hide show
  1. package/dist/{EInvoice-B9lJ3ijP.js → EInvoice-fX0w9fK-.js} +2068 -2068
  2. package/dist/app.js +1 -1
  3. package/dist/store/index.d.ts +446 -464
  4. package/dist/tsconfig.app.tsbuildinfo +1 -1
  5. package/dist/type/index.d.ts +2 -0
  6. package/dist/type/malaysia/components/accounting-party.dto.d.ts +625 -0
  7. package/dist/type/malaysia/components/allowance.dto.d.ts +33 -0
  8. package/dist/type/malaysia/components/billing.dto.d.ts +198 -0
  9. package/dist/type/malaysia/components/invoice-line.dto.d.ts +601 -0
  10. package/dist/type/malaysia/components/payment.dto.d.ts +38 -0
  11. package/dist/type/malaysia/components/signature.dto.d.ts +8988 -0
  12. package/dist/type/malaysia/components/tax.dto.d.ts +410 -0
  13. package/dist/type/malaysia/e-invoice-profile.do.d.ts +1756 -0
  14. package/dist/type/malaysia/e-invoice.do.d.ts +4808 -0
  15. package/dist/type/malaysia/e-invoice.dto.d.ts +5146 -0
  16. package/dist/type/malaysia/e-invoice.enum.d.ts +5 -0
  17. package/dist/type/malaysia/index.d.ts +11 -0
  18. package/dist/type/profile/e-invoice-base-profile.do.d.ts +136 -0
  19. package/dist/type/profile/e-invoice-profile.enum.d.ts +7 -0
  20. package/dist/type/profile/e-invoice.enum.d.ts +9 -0
  21. package/dist/type/report-invoice.dto.d.ts +123 -0
  22. package/dist/type/thailand/e-invoice-profile.do.d.ts +128 -128
  23. package/dist/type/thailand/e-invoice.do.d.ts +110 -110
  24. package/dist/type/thailand/e-invoice.dto.d.ts +76 -76
  25. package/dist/type/vietnam/e-invoice-profile.do.d.ts +108 -108
  26. package/dist/type/vietnam/e-invoice.do.d.ts +56 -56
  27. package/dist/type/vietnam/e-invoice.dto.d.ts +13 -13
  28. package/dist/types.d.ts +2 -3
  29. package/dist/views/EInvoiceCopyDialog.vue.d.ts +14 -14
  30. package/dist/views/manager/malaysia/MalaysiaItemSettingsDialog.vue.d.ts +1 -1
  31. package/dist/views/manager/malaysia/MalaysiaProfileDialog.vue.d.ts +1 -1
  32. package/dist/views/manager/malaysia/data.d.ts +2 -1
  33. package/dist/views/manager/malaysia/malaysia.d.ts +2 -1
  34. package/dist/views/manager/manager.d.ts +2 -2
  35. package/dist/views/manager/thailand/thailand.d.ts +2 -2
  36. package/dist/views/manager/vietnam/VietnamItemSettingsDialog.vue.d.ts +2 -2
  37. package/dist/views/submission.d.ts +2 -1
  38. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { z } from 'zod';
1
+ import { z } from "zod";
2
2
  export declare const FdoThEInvoiceCustomerBaseProfile: z.ZodObject<z.extendShape<{
3
3
  _id: z.ZodEffects<z.ZodString, string, string>;
4
4
  type: z.ZodEnum<["individual", "company"]>;
@@ -35,12 +35,11 @@ export declare const FdoThEInvoiceCustomerBaseProfile: z.ZodObject<z.extendShape
35
35
  email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
36
36
  tinNo: z.ZodString;
37
37
  }>, "strip", z.ZodTypeAny, {
38
- email?: string | null | undefined;
39
38
  nickname?: string | null | undefined;
40
- tinNo: string;
41
- _id: string;
39
+ email?: string | null | undefined;
42
40
  type: "individual" | "company";
43
41
  name: string;
42
+ _id: string;
44
43
  phoneNumber: string;
45
44
  address: {
46
45
  coordinates?: number[] | null | undefined;
@@ -52,13 +51,13 @@ export declare const FdoThEInvoiceCustomerBaseProfile: z.ZodObject<z.extendShape
52
51
  postcode: string;
53
52
  };
54
53
  userId: string;
54
+ tinNo: string;
55
55
  }, {
56
- email?: string | null | undefined;
57
56
  nickname?: string | null | undefined;
58
- tinNo: string;
59
- _id: string;
57
+ email?: string | null | undefined;
60
58
  type: "individual" | "company";
61
59
  name: string;
60
+ _id: string;
62
61
  phoneNumber: string;
63
62
  address: {
64
63
  coordinates?: number[] | null | undefined;
@@ -70,6 +69,7 @@ export declare const FdoThEInvoiceCustomerBaseProfile: z.ZodObject<z.extendShape
70
69
  postcode: string;
71
70
  };
72
71
  userId: string;
72
+ tinNo: string;
73
73
  }>;
74
74
  export declare const FdoThEInvoiceIndividualProfile: z.ZodObject<z.extendShape<z.extendShape<{
75
75
  _id: z.ZodEffects<z.ZodString, string, string>;
@@ -110,13 +110,12 @@ export declare const FdoThEInvoiceIndividualProfile: z.ZodObject<z.extendShape<z
110
110
  type: z.ZodLiteral<"individual">;
111
111
  branchCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
112
112
  }>, "strip", z.ZodTypeAny, {
113
- email?: string | null | undefined;
114
113
  nickname?: string | null | undefined;
114
+ email?: string | null | undefined;
115
115
  branchCode?: string | null | undefined;
116
- tinNo: string;
117
- _id: string;
118
116
  type: "individual";
119
117
  name: string;
118
+ _id: string;
120
119
  phoneNumber: string;
121
120
  address: {
122
121
  coordinates?: number[] | null | undefined;
@@ -128,14 +127,14 @@ export declare const FdoThEInvoiceIndividualProfile: z.ZodObject<z.extendShape<z
128
127
  postcode: string;
129
128
  };
130
129
  userId: string;
130
+ tinNo: string;
131
131
  }, {
132
- email?: string | null | undefined;
133
132
  nickname?: string | null | undefined;
133
+ email?: string | null | undefined;
134
134
  branchCode?: string | null | undefined;
135
- tinNo: string;
136
- _id: string;
137
135
  type: "individual";
138
136
  name: string;
137
+ _id: string;
139
138
  phoneNumber: string;
140
139
  address: {
141
140
  coordinates?: number[] | null | undefined;
@@ -147,6 +146,7 @@ export declare const FdoThEInvoiceIndividualProfile: z.ZodObject<z.extendShape<z
147
146
  postcode: string;
148
147
  };
149
148
  userId: string;
149
+ tinNo: string;
150
150
  }>;
151
151
  export declare const FdoThEInvoiceCompanyProfile: z.ZodObject<z.extendShape<z.extendShape<{
152
152
  _id: z.ZodEffects<z.ZodString, string, string>;
@@ -187,12 +187,11 @@ export declare const FdoThEInvoiceCompanyProfile: z.ZodObject<z.extendShape<z.ex
187
187
  type: z.ZodLiteral<"company">;
188
188
  branchCode: z.ZodString;
189
189
  }>, "strip", z.ZodTypeAny, {
190
- email?: string | null | undefined;
191
190
  nickname?: string | null | undefined;
192
- tinNo: string;
193
- _id: string;
191
+ email?: string | null | undefined;
194
192
  type: "company";
195
193
  name: string;
194
+ _id: string;
196
195
  phoneNumber: string;
197
196
  address: {
198
197
  coordinates?: number[] | null | undefined;
@@ -204,14 +203,14 @@ export declare const FdoThEInvoiceCompanyProfile: z.ZodObject<z.extendShape<z.ex
204
203
  postcode: string;
205
204
  };
206
205
  userId: string;
206
+ tinNo: string;
207
207
  branchCode: string;
208
208
  }, {
209
- email?: string | null | undefined;
210
209
  nickname?: string | null | undefined;
211
- tinNo: string;
212
- _id: string;
210
+ email?: string | null | undefined;
213
211
  type: "company";
214
212
  name: string;
213
+ _id: string;
215
214
  phoneNumber: string;
216
215
  address: {
217
216
  coordinates?: number[] | null | undefined;
@@ -223,6 +222,7 @@ export declare const FdoThEInvoiceCompanyProfile: z.ZodObject<z.extendShape<z.ex
223
222
  postcode: string;
224
223
  };
225
224
  userId: string;
225
+ tinNo: string;
226
226
  branchCode: string;
227
227
  }>;
228
228
  export declare const FdoThEInvoiceCustomerProfile: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<z.extendShape<z.extendShape<{
@@ -264,13 +264,12 @@ export declare const FdoThEInvoiceCustomerProfile: z.ZodDiscriminatedUnion<"type
264
264
  type: z.ZodLiteral<"individual">;
265
265
  branchCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
266
266
  }>, "strip", z.ZodTypeAny, {
267
- email?: string | null | undefined;
268
267
  nickname?: string | null | undefined;
268
+ email?: string | null | undefined;
269
269
  branchCode?: string | null | undefined;
270
- tinNo: string;
271
- _id: string;
272
270
  type: "individual";
273
271
  name: string;
272
+ _id: string;
274
273
  phoneNumber: string;
275
274
  address: {
276
275
  coordinates?: number[] | null | undefined;
@@ -282,14 +281,14 @@ export declare const FdoThEInvoiceCustomerProfile: z.ZodDiscriminatedUnion<"type
282
281
  postcode: string;
283
282
  };
284
283
  userId: string;
284
+ tinNo: string;
285
285
  }, {
286
- email?: string | null | undefined;
287
286
  nickname?: string | null | undefined;
287
+ email?: string | null | undefined;
288
288
  branchCode?: string | null | undefined;
289
- tinNo: string;
290
- _id: string;
291
289
  type: "individual";
292
290
  name: string;
291
+ _id: string;
293
292
  phoneNumber: string;
294
293
  address: {
295
294
  coordinates?: number[] | null | undefined;
@@ -301,6 +300,7 @@ export declare const FdoThEInvoiceCustomerProfile: z.ZodDiscriminatedUnion<"type
301
300
  postcode: string;
302
301
  };
303
302
  userId: string;
303
+ tinNo: string;
304
304
  }> | z.ZodObject<z.extendShape<z.extendShape<{
305
305
  _id: z.ZodEffects<z.ZodString, string, string>;
306
306
  type: z.ZodEnum<["individual", "company"]>;
@@ -340,12 +340,11 @@ export declare const FdoThEInvoiceCustomerProfile: z.ZodDiscriminatedUnion<"type
340
340
  type: z.ZodLiteral<"company">;
341
341
  branchCode: z.ZodString;
342
342
  }>, "strip", z.ZodTypeAny, {
343
- email?: string | null | undefined;
344
343
  nickname?: string | null | undefined;
345
- tinNo: string;
346
- _id: string;
344
+ email?: string | null | undefined;
347
345
  type: "company";
348
346
  name: string;
347
+ _id: string;
349
348
  phoneNumber: string;
350
349
  address: {
351
350
  coordinates?: number[] | null | undefined;
@@ -357,14 +356,14 @@ export declare const FdoThEInvoiceCustomerProfile: z.ZodDiscriminatedUnion<"type
357
356
  postcode: string;
358
357
  };
359
358
  userId: string;
359
+ tinNo: string;
360
360
  branchCode: string;
361
361
  }, {
362
- email?: string | null | undefined;
363
362
  nickname?: string | null | undefined;
364
- tinNo: string;
365
- _id: string;
363
+ email?: string | null | undefined;
366
364
  type: "company";
367
365
  name: string;
366
+ _id: string;
368
367
  phoneNumber: string;
369
368
  address: {
370
369
  coordinates?: number[] | null | undefined;
@@ -376,6 +375,7 @@ export declare const FdoThEInvoiceCustomerProfile: z.ZodDiscriminatedUnion<"type
376
375
  postcode: string;
377
376
  };
378
377
  userId: string;
378
+ tinNo: string;
379
379
  branchCode: string;
380
380
  }>>;
381
381
  export declare const FdoThEInvoiceCustomerProfileDoc: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<z.extendShape<z.extendShape<{
@@ -417,13 +417,12 @@ export declare const FdoThEInvoiceCustomerProfileDoc: z.ZodDiscriminatedUnion<"t
417
417
  type: z.ZodLiteral<"individual">;
418
418
  branchCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
419
419
  }>, "strip", z.ZodTypeAny, {
420
- email?: string | null | undefined;
421
420
  nickname?: string | null | undefined;
421
+ email?: string | null | undefined;
422
422
  branchCode?: string | null | undefined;
423
- tinNo: string;
424
- _id: string;
425
423
  type: "individual";
426
424
  name: string;
425
+ _id: string;
427
426
  phoneNumber: string;
428
427
  address: {
429
428
  coordinates?: number[] | null | undefined;
@@ -435,14 +434,14 @@ export declare const FdoThEInvoiceCustomerProfileDoc: z.ZodDiscriminatedUnion<"t
435
434
  postcode: string;
436
435
  };
437
436
  userId: string;
437
+ tinNo: string;
438
438
  }, {
439
- email?: string | null | undefined;
440
439
  nickname?: string | null | undefined;
440
+ email?: string | null | undefined;
441
441
  branchCode?: string | null | undefined;
442
- tinNo: string;
443
- _id: string;
444
442
  type: "individual";
445
443
  name: string;
444
+ _id: string;
446
445
  phoneNumber: string;
447
446
  address: {
448
447
  coordinates?: number[] | null | undefined;
@@ -454,6 +453,7 @@ export declare const FdoThEInvoiceCustomerProfileDoc: z.ZodDiscriminatedUnion<"t
454
453
  postcode: string;
455
454
  };
456
455
  userId: string;
456
+ tinNo: string;
457
457
  }> | z.ZodObject<z.extendShape<z.extendShape<{
458
458
  _id: z.ZodEffects<z.ZodString, string, string>;
459
459
  type: z.ZodEnum<["individual", "company"]>;
@@ -493,12 +493,11 @@ export declare const FdoThEInvoiceCustomerProfileDoc: z.ZodDiscriminatedUnion<"t
493
493
  type: z.ZodLiteral<"company">;
494
494
  branchCode: z.ZodString;
495
495
  }>, "strip", z.ZodTypeAny, {
496
- email?: string | null | undefined;
497
496
  nickname?: string | null | undefined;
498
- tinNo: string;
499
- _id: string;
497
+ email?: string | null | undefined;
500
498
  type: "company";
501
499
  name: string;
500
+ _id: string;
502
501
  phoneNumber: string;
503
502
  address: {
504
503
  coordinates?: number[] | null | undefined;
@@ -510,14 +509,14 @@ export declare const FdoThEInvoiceCustomerProfileDoc: z.ZodDiscriminatedUnion<"t
510
509
  postcode: string;
511
510
  };
512
511
  userId: string;
512
+ tinNo: string;
513
513
  branchCode: string;
514
514
  }, {
515
- email?: string | null | undefined;
516
515
  nickname?: string | null | undefined;
517
- tinNo: string;
518
- _id: string;
516
+ email?: string | null | undefined;
519
517
  type: "company";
520
518
  name: string;
519
+ _id: string;
521
520
  phoneNumber: string;
522
521
  address: {
523
522
  coordinates?: number[] | null | undefined;
@@ -529,6 +528,7 @@ export declare const FdoThEInvoiceCustomerProfileDoc: z.ZodDiscriminatedUnion<"t
529
528
  postcode: string;
530
529
  };
531
530
  userId: string;
531
+ tinNo: string;
532
532
  branchCode: string;
533
533
  }>>;
534
534
  export declare const FdoThEInvoiceCustomerProfileSchema: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<Omit<z.extendShape<z.extendShape<{
@@ -570,10 +570,9 @@ export declare const FdoThEInvoiceCustomerProfileSchema: z.ZodDiscriminatedUnion
570
570
  type: z.ZodLiteral<"individual">;
571
571
  branchCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
572
572
  }>, "_id">, "strip", z.ZodTypeAny, {
573
- email?: string | null | undefined;
574
573
  nickname?: string | null | undefined;
574
+ email?: string | null | undefined;
575
575
  branchCode?: string | null | undefined;
576
- tinNo: string;
577
576
  type: "individual";
578
577
  name: string;
579
578
  phoneNumber: string;
@@ -587,11 +586,11 @@ export declare const FdoThEInvoiceCustomerProfileSchema: z.ZodDiscriminatedUnion
587
586
  postcode: string;
588
587
  };
589
588
  userId: string;
589
+ tinNo: string;
590
590
  }, {
591
- email?: string | null | undefined;
592
591
  nickname?: string | null | undefined;
592
+ email?: string | null | undefined;
593
593
  branchCode?: string | null | undefined;
594
- tinNo: string;
595
594
  type: "individual";
596
595
  name: string;
597
596
  phoneNumber: string;
@@ -605,6 +604,7 @@ export declare const FdoThEInvoiceCustomerProfileSchema: z.ZodDiscriminatedUnion
605
604
  postcode: string;
606
605
  };
607
606
  userId: string;
607
+ tinNo: string;
608
608
  }> | z.ZodObject<Omit<z.extendShape<z.extendShape<{
609
609
  _id: z.ZodEffects<z.ZodString, string, string>;
610
610
  type: z.ZodEnum<["individual", "company"]>;
@@ -644,9 +644,8 @@ export declare const FdoThEInvoiceCustomerProfileSchema: z.ZodDiscriminatedUnion
644
644
  type: z.ZodLiteral<"company">;
645
645
  branchCode: z.ZodString;
646
646
  }>, "_id">, "strip", z.ZodTypeAny, {
647
- email?: string | null | undefined;
648
647
  nickname?: string | null | undefined;
649
- tinNo: string;
648
+ email?: string | null | undefined;
650
649
  type: "company";
651
650
  name: string;
652
651
  phoneNumber: string;
@@ -660,11 +659,11 @@ export declare const FdoThEInvoiceCustomerProfileSchema: z.ZodDiscriminatedUnion
660
659
  postcode: string;
661
660
  };
662
661
  userId: string;
662
+ tinNo: string;
663
663
  branchCode: string;
664
664
  }, {
665
- email?: string | null | undefined;
666
665
  nickname?: string | null | undefined;
667
- tinNo: string;
666
+ email?: string | null | undefined;
668
667
  type: "company";
669
668
  name: string;
670
669
  phoneNumber: string;
@@ -678,6 +677,7 @@ export declare const FdoThEInvoiceCustomerProfileSchema: z.ZodDiscriminatedUnion
678
677
  postcode: string;
679
678
  };
680
679
  userId: string;
680
+ tinNo: string;
681
681
  branchCode: string;
682
682
  }>>;
683
683
  export declare const FdoThEInvoiceItemInfo: z.ZodObject<{
@@ -744,17 +744,17 @@ export declare const FdoThEInvoiceMerchantBaseProfile: z.ZodObject<z.extendShape
744
744
  }>;
745
745
  phoneNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
746
746
  }, {
747
- branchCode: z.ZodString;
747
+ branchCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
748
748
  email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
749
749
  queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
750
750
  }>, "strip", z.ZodTypeAny, {
751
+ phoneNo?: string | null | undefined;
751
752
  email?: string | null | undefined;
752
753
  queryToken?: string | null | undefined;
753
- phoneNo?: string | null | undefined;
754
- tinNo: string;
755
- _id: string;
754
+ branchCode?: string | null | undefined;
756
755
  type: "restaurant" | "marketing";
757
756
  name: string;
757
+ _id: string;
758
758
  address: {
759
759
  coordinates?: number[] | null | undefined;
760
760
  line2?: string | null | undefined;
@@ -764,17 +764,17 @@ export declare const FdoThEInvoiceMerchantBaseProfile: z.ZodObject<z.extendShape
764
764
  city: string;
765
765
  postcode: string;
766
766
  };
767
- branchCode: string;
768
767
  businessId: string;
769
768
  regNo: string;
769
+ tinNo: string;
770
770
  }, {
771
+ phoneNo?: string | null | undefined;
771
772
  email?: string | null | undefined;
772
773
  queryToken?: string | null | undefined;
773
- phoneNo?: string | null | undefined;
774
- tinNo: string;
775
- _id: string;
774
+ branchCode?: string | null | undefined;
776
775
  type: "restaurant" | "marketing";
777
776
  name: string;
777
+ _id: string;
778
778
  address: {
779
779
  coordinates?: number[] | null | undefined;
780
780
  line2?: string | null | undefined;
@@ -784,9 +784,9 @@ export declare const FdoThEInvoiceMerchantBaseProfile: z.ZodObject<z.extendShape
784
784
  city: string;
785
785
  postcode: string;
786
786
  };
787
- branchCode: string;
788
787
  businessId: string;
789
788
  regNo: string;
789
+ tinNo: string;
790
790
  }>;
791
791
  export declare const FdoThEInvoiceRestaurantProfile: z.ZodObject<z.extendShape<z.extendShape<{
792
792
  _id: z.ZodEffects<z.ZodString, string, string>;
@@ -822,20 +822,20 @@ export declare const FdoThEInvoiceRestaurantProfile: z.ZodObject<z.extendShape<z
822
822
  }>;
823
823
  phoneNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
824
824
  }, {
825
- branchCode: z.ZodString;
825
+ branchCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
826
826
  email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
827
827
  queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
828
828
  }>, {
829
829
  type: z.ZodLiteral<"restaurant">;
830
830
  restaurantId: z.ZodString;
831
831
  }>, "strip", z.ZodTypeAny, {
832
+ phoneNo?: string | null | undefined;
832
833
  email?: string | null | undefined;
833
834
  queryToken?: string | null | undefined;
834
- phoneNo?: string | null | undefined;
835
- tinNo: string;
836
- _id: string;
835
+ branchCode?: string | null | undefined;
837
836
  type: "restaurant";
838
837
  name: string;
838
+ _id: string;
839
839
  address: {
840
840
  coordinates?: number[] | null | undefined;
841
841
  line2?: string | null | undefined;
@@ -845,18 +845,18 @@ export declare const FdoThEInvoiceRestaurantProfile: z.ZodObject<z.extendShape<z
845
845
  city: string;
846
846
  postcode: string;
847
847
  };
848
- branchCode: string;
849
848
  businessId: string;
850
849
  regNo: string;
850
+ tinNo: string;
851
851
  restaurantId: string;
852
852
  }, {
853
+ phoneNo?: string | null | undefined;
853
854
  email?: string | null | undefined;
854
855
  queryToken?: string | null | undefined;
855
- phoneNo?: string | null | undefined;
856
- tinNo: string;
857
- _id: string;
856
+ branchCode?: string | null | undefined;
858
857
  type: "restaurant";
859
858
  name: string;
859
+ _id: string;
860
860
  address: {
861
861
  coordinates?: number[] | null | undefined;
862
862
  line2?: string | null | undefined;
@@ -866,9 +866,9 @@ export declare const FdoThEInvoiceRestaurantProfile: z.ZodObject<z.extendShape<z
866
866
  city: string;
867
867
  postcode: string;
868
868
  };
869
- branchCode: string;
870
869
  businessId: string;
871
870
  regNo: string;
871
+ tinNo: string;
872
872
  restaurantId: string;
873
873
  }>;
874
874
  export declare const FdoThEInvoiceMarketingProfile: z.ZodObject<z.extendShape<z.extendShape<{
@@ -905,19 +905,19 @@ export declare const FdoThEInvoiceMarketingProfile: z.ZodObject<z.extendShape<z.
905
905
  }>;
906
906
  phoneNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
907
907
  }, {
908
- branchCode: z.ZodString;
908
+ branchCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
909
909
  email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
910
910
  queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
911
911
  }>, {
912
912
  type: z.ZodLiteral<"marketing">;
913
913
  }>, "strip", z.ZodTypeAny, {
914
+ phoneNo?: string | null | undefined;
914
915
  email?: string | null | undefined;
915
916
  queryToken?: string | null | undefined;
916
- phoneNo?: string | null | undefined;
917
- tinNo: string;
918
- _id: string;
917
+ branchCode?: string | null | undefined;
919
918
  type: "marketing";
920
919
  name: string;
920
+ _id: string;
921
921
  address: {
922
922
  coordinates?: number[] | null | undefined;
923
923
  line2?: string | null | undefined;
@@ -927,17 +927,17 @@ export declare const FdoThEInvoiceMarketingProfile: z.ZodObject<z.extendShape<z.
927
927
  city: string;
928
928
  postcode: string;
929
929
  };
930
- branchCode: string;
931
930
  businessId: string;
932
931
  regNo: string;
932
+ tinNo: string;
933
933
  }, {
934
+ phoneNo?: string | null | undefined;
934
935
  email?: string | null | undefined;
935
936
  queryToken?: string | null | undefined;
936
- phoneNo?: string | null | undefined;
937
- tinNo: string;
938
- _id: string;
937
+ branchCode?: string | null | undefined;
939
938
  type: "marketing";
940
939
  name: string;
940
+ _id: string;
941
941
  address: {
942
942
  coordinates?: number[] | null | undefined;
943
943
  line2?: string | null | undefined;
@@ -947,9 +947,9 @@ export declare const FdoThEInvoiceMarketingProfile: z.ZodObject<z.extendShape<z.
947
947
  city: string;
948
948
  postcode: string;
949
949
  };
950
- branchCode: string;
951
950
  businessId: string;
952
951
  regNo: string;
952
+ tinNo: string;
953
953
  }>;
954
954
  export declare const FdoThEInvoiceMerchantProfile: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<z.extendShape<z.extendShape<{
955
955
  _id: z.ZodEffects<z.ZodString, string, string>;
@@ -985,20 +985,20 @@ export declare const FdoThEInvoiceMerchantProfile: z.ZodDiscriminatedUnion<"type
985
985
  }>;
986
986
  phoneNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
987
987
  }, {
988
- branchCode: z.ZodString;
988
+ branchCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
989
989
  email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
990
990
  queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
991
991
  }>, {
992
992
  type: z.ZodLiteral<"restaurant">;
993
993
  restaurantId: z.ZodString;
994
994
  }>, "strip", z.ZodTypeAny, {
995
+ phoneNo?: string | null | undefined;
995
996
  email?: string | null | undefined;
996
997
  queryToken?: string | null | undefined;
997
- phoneNo?: string | null | undefined;
998
- tinNo: string;
999
- _id: string;
998
+ branchCode?: string | null | undefined;
1000
999
  type: "restaurant";
1001
1000
  name: string;
1001
+ _id: string;
1002
1002
  address: {
1003
1003
  coordinates?: number[] | null | undefined;
1004
1004
  line2?: string | null | undefined;
@@ -1008,18 +1008,18 @@ export declare const FdoThEInvoiceMerchantProfile: z.ZodDiscriminatedUnion<"type
1008
1008
  city: string;
1009
1009
  postcode: string;
1010
1010
  };
1011
- branchCode: string;
1012
1011
  businessId: string;
1013
1012
  regNo: string;
1013
+ tinNo: string;
1014
1014
  restaurantId: string;
1015
1015
  }, {
1016
+ phoneNo?: string | null | undefined;
1016
1017
  email?: string | null | undefined;
1017
1018
  queryToken?: string | null | undefined;
1018
- phoneNo?: string | null | undefined;
1019
- tinNo: string;
1020
- _id: string;
1019
+ branchCode?: string | null | undefined;
1021
1020
  type: "restaurant";
1022
1021
  name: string;
1022
+ _id: string;
1023
1023
  address: {
1024
1024
  coordinates?: number[] | null | undefined;
1025
1025
  line2?: string | null | undefined;
@@ -1029,9 +1029,9 @@ export declare const FdoThEInvoiceMerchantProfile: z.ZodDiscriminatedUnion<"type
1029
1029
  city: string;
1030
1030
  postcode: string;
1031
1031
  };
1032
- branchCode: string;
1033
1032
  businessId: string;
1034
1033
  regNo: string;
1034
+ tinNo: string;
1035
1035
  restaurantId: string;
1036
1036
  }> | z.ZodObject<z.extendShape<z.extendShape<{
1037
1037
  _id: z.ZodEffects<z.ZodString, string, string>;
@@ -1067,19 +1067,19 @@ export declare const FdoThEInvoiceMerchantProfile: z.ZodDiscriminatedUnion<"type
1067
1067
  }>;
1068
1068
  phoneNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1069
1069
  }, {
1070
- branchCode: z.ZodString;
1070
+ branchCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1071
1071
  email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1072
1072
  queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1073
1073
  }>, {
1074
1074
  type: z.ZodLiteral<"marketing">;
1075
1075
  }>, "strip", z.ZodTypeAny, {
1076
+ phoneNo?: string | null | undefined;
1076
1077
  email?: string | null | undefined;
1077
1078
  queryToken?: string | null | undefined;
1078
- phoneNo?: string | null | undefined;
1079
- tinNo: string;
1080
- _id: string;
1079
+ branchCode?: string | null | undefined;
1081
1080
  type: "marketing";
1082
1081
  name: string;
1082
+ _id: string;
1083
1083
  address: {
1084
1084
  coordinates?: number[] | null | undefined;
1085
1085
  line2?: string | null | undefined;
@@ -1089,17 +1089,17 @@ export declare const FdoThEInvoiceMerchantProfile: z.ZodDiscriminatedUnion<"type
1089
1089
  city: string;
1090
1090
  postcode: string;
1091
1091
  };
1092
- branchCode: string;
1093
1092
  businessId: string;
1094
1093
  regNo: string;
1094
+ tinNo: string;
1095
1095
  }, {
1096
+ phoneNo?: string | null | undefined;
1096
1097
  email?: string | null | undefined;
1097
1098
  queryToken?: string | null | undefined;
1098
- phoneNo?: string | null | undefined;
1099
- tinNo: string;
1100
- _id: string;
1099
+ branchCode?: string | null | undefined;
1101
1100
  type: "marketing";
1102
1101
  name: string;
1102
+ _id: string;
1103
1103
  address: {
1104
1104
  coordinates?: number[] | null | undefined;
1105
1105
  line2?: string | null | undefined;
@@ -1109,9 +1109,9 @@ export declare const FdoThEInvoiceMerchantProfile: z.ZodDiscriminatedUnion<"type
1109
1109
  city: string;
1110
1110
  postcode: string;
1111
1111
  };
1112
- branchCode: string;
1113
1112
  businessId: string;
1114
1113
  regNo: string;
1114
+ tinNo: string;
1115
1115
  }>>;
1116
1116
  export declare const FdoThEInvoiceMerchantProfileDoc: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<z.extendShape<z.extendShape<{
1117
1117
  _id: z.ZodEffects<z.ZodString, string, string>;
@@ -1147,20 +1147,20 @@ export declare const FdoThEInvoiceMerchantProfileDoc: z.ZodDiscriminatedUnion<"t
1147
1147
  }>;
1148
1148
  phoneNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1149
1149
  }, {
1150
- branchCode: z.ZodString;
1150
+ branchCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1151
1151
  email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1152
1152
  queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1153
1153
  }>, {
1154
1154
  type: z.ZodLiteral<"restaurant">;
1155
1155
  restaurantId: z.ZodString;
1156
1156
  }>, "strip", z.ZodTypeAny, {
1157
+ phoneNo?: string | null | undefined;
1157
1158
  email?: string | null | undefined;
1158
1159
  queryToken?: string | null | undefined;
1159
- phoneNo?: string | null | undefined;
1160
- tinNo: string;
1161
- _id: string;
1160
+ branchCode?: string | null | undefined;
1162
1161
  type: "restaurant";
1163
1162
  name: string;
1163
+ _id: string;
1164
1164
  address: {
1165
1165
  coordinates?: number[] | null | undefined;
1166
1166
  line2?: string | null | undefined;
@@ -1170,18 +1170,18 @@ export declare const FdoThEInvoiceMerchantProfileDoc: z.ZodDiscriminatedUnion<"t
1170
1170
  city: string;
1171
1171
  postcode: string;
1172
1172
  };
1173
- branchCode: string;
1174
1173
  businessId: string;
1175
1174
  regNo: string;
1175
+ tinNo: string;
1176
1176
  restaurantId: string;
1177
1177
  }, {
1178
+ phoneNo?: string | null | undefined;
1178
1179
  email?: string | null | undefined;
1179
1180
  queryToken?: string | null | undefined;
1180
- phoneNo?: string | null | undefined;
1181
- tinNo: string;
1182
- _id: string;
1181
+ branchCode?: string | null | undefined;
1183
1182
  type: "restaurant";
1184
1183
  name: string;
1184
+ _id: string;
1185
1185
  address: {
1186
1186
  coordinates?: number[] | null | undefined;
1187
1187
  line2?: string | null | undefined;
@@ -1191,9 +1191,9 @@ export declare const FdoThEInvoiceMerchantProfileDoc: z.ZodDiscriminatedUnion<"t
1191
1191
  city: string;
1192
1192
  postcode: string;
1193
1193
  };
1194
- branchCode: string;
1195
1194
  businessId: string;
1196
1195
  regNo: string;
1196
+ tinNo: string;
1197
1197
  restaurantId: string;
1198
1198
  }> | z.ZodObject<z.extendShape<z.extendShape<{
1199
1199
  _id: z.ZodEffects<z.ZodString, string, string>;
@@ -1229,19 +1229,19 @@ export declare const FdoThEInvoiceMerchantProfileDoc: z.ZodDiscriminatedUnion<"t
1229
1229
  }>;
1230
1230
  phoneNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1231
1231
  }, {
1232
- branchCode: z.ZodString;
1232
+ branchCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1233
1233
  email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1234
1234
  queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1235
1235
  }>, {
1236
1236
  type: z.ZodLiteral<"marketing">;
1237
1237
  }>, "strip", z.ZodTypeAny, {
1238
+ phoneNo?: string | null | undefined;
1238
1239
  email?: string | null | undefined;
1239
1240
  queryToken?: string | null | undefined;
1240
- phoneNo?: string | null | undefined;
1241
- tinNo: string;
1242
- _id: string;
1241
+ branchCode?: string | null | undefined;
1243
1242
  type: "marketing";
1244
1243
  name: string;
1244
+ _id: string;
1245
1245
  address: {
1246
1246
  coordinates?: number[] | null | undefined;
1247
1247
  line2?: string | null | undefined;
@@ -1251,17 +1251,17 @@ export declare const FdoThEInvoiceMerchantProfileDoc: z.ZodDiscriminatedUnion<"t
1251
1251
  city: string;
1252
1252
  postcode: string;
1253
1253
  };
1254
- branchCode: string;
1255
1254
  businessId: string;
1256
1255
  regNo: string;
1256
+ tinNo: string;
1257
1257
  }, {
1258
+ phoneNo?: string | null | undefined;
1258
1259
  email?: string | null | undefined;
1259
1260
  queryToken?: string | null | undefined;
1260
- phoneNo?: string | null | undefined;
1261
- tinNo: string;
1262
- _id: string;
1261
+ branchCode?: string | null | undefined;
1263
1262
  type: "marketing";
1264
1263
  name: string;
1264
+ _id: string;
1265
1265
  address: {
1266
1266
  coordinates?: number[] | null | undefined;
1267
1267
  line2?: string | null | undefined;
@@ -1271,9 +1271,9 @@ export declare const FdoThEInvoiceMerchantProfileDoc: z.ZodDiscriminatedUnion<"t
1271
1271
  city: string;
1272
1272
  postcode: string;
1273
1273
  };
1274
- branchCode: string;
1275
1274
  businessId: string;
1276
1275
  regNo: string;
1276
+ tinNo: string;
1277
1277
  }>>;
1278
1278
  export declare const FdoThEInvoiceMerchantProfileSchema: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<Omit<z.extendShape<z.extendShape<{
1279
1279
  _id: z.ZodEffects<z.ZodString, string, string>;
@@ -1309,17 +1309,17 @@ export declare const FdoThEInvoiceMerchantProfileSchema: z.ZodDiscriminatedUnion
1309
1309
  }>;
1310
1310
  phoneNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1311
1311
  }, {
1312
- branchCode: z.ZodString;
1312
+ branchCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1313
1313
  email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1314
1314
  queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1315
1315
  }>, {
1316
1316
  type: z.ZodLiteral<"restaurant">;
1317
1317
  restaurantId: z.ZodString;
1318
1318
  }>, "_id">, "strip", z.ZodTypeAny, {
1319
+ phoneNo?: string | null | undefined;
1319
1320
  email?: string | null | undefined;
1320
1321
  queryToken?: string | null | undefined;
1321
- phoneNo?: string | null | undefined;
1322
- tinNo: string;
1322
+ branchCode?: string | null | undefined;
1323
1323
  type: "restaurant";
1324
1324
  name: string;
1325
1325
  address: {
@@ -1331,15 +1331,15 @@ export declare const FdoThEInvoiceMerchantProfileSchema: z.ZodDiscriminatedUnion
1331
1331
  city: string;
1332
1332
  postcode: string;
1333
1333
  };
1334
- branchCode: string;
1335
1334
  businessId: string;
1336
1335
  regNo: string;
1336
+ tinNo: string;
1337
1337
  restaurantId: string;
1338
1338
  }, {
1339
+ phoneNo?: string | null | undefined;
1339
1340
  email?: string | null | undefined;
1340
1341
  queryToken?: string | null | undefined;
1341
- phoneNo?: string | null | undefined;
1342
- tinNo: string;
1342
+ branchCode?: string | null | undefined;
1343
1343
  type: "restaurant";
1344
1344
  name: string;
1345
1345
  address: {
@@ -1351,9 +1351,9 @@ export declare const FdoThEInvoiceMerchantProfileSchema: z.ZodDiscriminatedUnion
1351
1351
  city: string;
1352
1352
  postcode: string;
1353
1353
  };
1354
- branchCode: string;
1355
1354
  businessId: string;
1356
1355
  regNo: string;
1356
+ tinNo: string;
1357
1357
  restaurantId: string;
1358
1358
  }> | z.ZodObject<Omit<z.extendShape<z.extendShape<{
1359
1359
  _id: z.ZodEffects<z.ZodString, string, string>;
@@ -1389,16 +1389,16 @@ export declare const FdoThEInvoiceMerchantProfileSchema: z.ZodDiscriminatedUnion
1389
1389
  }>;
1390
1390
  phoneNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1391
1391
  }, {
1392
- branchCode: z.ZodString;
1392
+ branchCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1393
1393
  email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1394
1394
  queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1395
1395
  }>, {
1396
1396
  type: z.ZodLiteral<"marketing">;
1397
1397
  }>, "_id">, "strip", z.ZodTypeAny, {
1398
+ phoneNo?: string | null | undefined;
1398
1399
  email?: string | null | undefined;
1399
1400
  queryToken?: string | null | undefined;
1400
- phoneNo?: string | null | undefined;
1401
- tinNo: string;
1401
+ branchCode?: string | null | undefined;
1402
1402
  type: "marketing";
1403
1403
  name: string;
1404
1404
  address: {
@@ -1410,14 +1410,14 @@ export declare const FdoThEInvoiceMerchantProfileSchema: z.ZodDiscriminatedUnion
1410
1410
  city: string;
1411
1411
  postcode: string;
1412
1412
  };
1413
- branchCode: string;
1414
1413
  businessId: string;
1415
1414
  regNo: string;
1415
+ tinNo: string;
1416
1416
  }, {
1417
+ phoneNo?: string | null | undefined;
1417
1418
  email?: string | null | undefined;
1418
1419
  queryToken?: string | null | undefined;
1419
- phoneNo?: string | null | undefined;
1420
- tinNo: string;
1420
+ branchCode?: string | null | undefined;
1421
1421
  type: "marketing";
1422
1422
  name: string;
1423
1423
  address: {
@@ -1429,9 +1429,9 @@ export declare const FdoThEInvoiceMerchantProfileSchema: z.ZodDiscriminatedUnion
1429
1429
  city: string;
1430
1430
  postcode: string;
1431
1431
  };
1432
- branchCode: string;
1433
1432
  businessId: string;
1434
1433
  regNo: string;
1434
+ tinNo: string;
1435
1435
  }>>;
1436
1436
  export type FdoThEInvoiceCustomerBaseProfile = z.infer<typeof FdoThEInvoiceCustomerBaseProfile>;
1437
1437
  export type FdoThEInvoiceIndividualProfile = z.infer<typeof FdoThEInvoiceIndividualProfile>;