@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.
@@ -36,9 +36,11 @@ export declare const FdoVnEInvoiceCustomerBaseProfile: z.ZodObject<z.extendShape
36
36
  legalName: z.ZodString;
37
37
  }>, "strip", z.ZodTypeAny, {
38
38
  nickname?: string | null | undefined;
39
- type: "individual" | "company";
39
+ email: string;
40
40
  _id: string;
41
+ type: "individual" | "company";
41
42
  name: string;
43
+ phoneNumber: string;
42
44
  address: {
43
45
  coordinates?: number[] | null | undefined;
44
46
  line2?: string | null | undefined;
@@ -48,15 +50,15 @@ export declare const FdoVnEInvoiceCustomerBaseProfile: z.ZodObject<z.extendShape
48
50
  city: string;
49
51
  postcode: string;
50
52
  };
51
- email: string;
52
- phoneNumber: string;
53
53
  userId: string;
54
54
  legalName: string;
55
55
  }, {
56
56
  nickname?: string | null | undefined;
57
- type: "individual" | "company";
57
+ email: string;
58
58
  _id: string;
59
+ type: "individual" | "company";
59
60
  name: string;
61
+ phoneNumber: string;
60
62
  address: {
61
63
  coordinates?: number[] | null | undefined;
62
64
  line2?: string | null | undefined;
@@ -66,8 +68,6 @@ export declare const FdoVnEInvoiceCustomerBaseProfile: z.ZodObject<z.extendShape
66
68
  city: string;
67
69
  postcode: string;
68
70
  };
69
- email: string;
70
- phoneNumber: string;
71
71
  userId: string;
72
72
  legalName: string;
73
73
  }>;
@@ -113,9 +113,11 @@ export declare const FdoVnEInvoiceIndividualProfile: z.ZodObject<z.extendShape<z
113
113
  }>, "strip", z.ZodTypeAny, {
114
114
  nickname?: string | null | undefined;
115
115
  taxCode?: string | null | undefined;
116
- type: "individual";
116
+ email: string;
117
117
  _id: string;
118
+ type: "individual";
118
119
  name: string;
120
+ phoneNumber: string;
119
121
  address: {
120
122
  coordinates?: number[] | null | undefined;
121
123
  line2?: string | null | undefined;
@@ -125,17 +127,17 @@ export declare const FdoVnEInvoiceIndividualProfile: z.ZodObject<z.extendShape<z
125
127
  city: string;
126
128
  postcode: string;
127
129
  };
128
- email: string;
129
- phoneNumber: string;
130
130
  userId: string;
131
131
  legalName: string;
132
132
  identityNo: string;
133
133
  }, {
134
134
  nickname?: string | null | undefined;
135
135
  taxCode?: string | null | undefined;
136
- type: "individual";
136
+ email: string;
137
137
  _id: string;
138
+ type: "individual";
138
139
  name: string;
140
+ phoneNumber: string;
139
141
  address: {
140
142
  coordinates?: number[] | null | undefined;
141
143
  line2?: string | null | undefined;
@@ -145,8 +147,6 @@ export declare const FdoVnEInvoiceIndividualProfile: z.ZodObject<z.extendShape<z
145
147
  city: string;
146
148
  postcode: string;
147
149
  };
148
- email: string;
149
- phoneNumber: string;
150
150
  userId: string;
151
151
  legalName: string;
152
152
  identityNo: string;
@@ -193,9 +193,11 @@ export declare const FdoVnEInvoiceCompanyProfile: z.ZodObject<z.extendShape<z.ex
193
193
  }>, "strip", z.ZodTypeAny, {
194
194
  nickname?: string | null | undefined;
195
195
  identityNo?: string | null | undefined;
196
- type: "company";
196
+ email: string;
197
197
  _id: string;
198
+ type: "company";
198
199
  name: string;
200
+ phoneNumber: string;
199
201
  address: {
200
202
  coordinates?: number[] | null | undefined;
201
203
  line2?: string | null | undefined;
@@ -205,17 +207,17 @@ export declare const FdoVnEInvoiceCompanyProfile: z.ZodObject<z.extendShape<z.ex
205
207
  city: string;
206
208
  postcode: string;
207
209
  };
208
- email: string;
209
- phoneNumber: string;
210
210
  userId: string;
211
211
  legalName: string;
212
212
  taxCode: string;
213
213
  }, {
214
214
  nickname?: string | null | undefined;
215
215
  identityNo?: string | null | undefined;
216
- type: "company";
216
+ email: string;
217
217
  _id: string;
218
+ type: "company";
218
219
  name: string;
220
+ phoneNumber: string;
219
221
  address: {
220
222
  coordinates?: number[] | null | undefined;
221
223
  line2?: string | null | undefined;
@@ -225,8 +227,6 @@ export declare const FdoVnEInvoiceCompanyProfile: z.ZodObject<z.extendShape<z.ex
225
227
  city: string;
226
228
  postcode: string;
227
229
  };
228
- email: string;
229
- phoneNumber: string;
230
230
  userId: string;
231
231
  legalName: string;
232
232
  taxCode: string;
@@ -273,9 +273,11 @@ export declare const FdoVnEInvoiceCustomerProfile: z.ZodDiscriminatedUnion<"type
273
273
  }>, "strip", z.ZodTypeAny, {
274
274
  nickname?: string | null | undefined;
275
275
  taxCode?: string | null | undefined;
276
- type: "individual";
276
+ email: string;
277
277
  _id: string;
278
+ type: "individual";
278
279
  name: string;
280
+ phoneNumber: string;
279
281
  address: {
280
282
  coordinates?: number[] | null | undefined;
281
283
  line2?: string | null | undefined;
@@ -285,17 +287,17 @@ export declare const FdoVnEInvoiceCustomerProfile: z.ZodDiscriminatedUnion<"type
285
287
  city: string;
286
288
  postcode: string;
287
289
  };
288
- email: string;
289
- phoneNumber: string;
290
290
  userId: string;
291
291
  legalName: string;
292
292
  identityNo: string;
293
293
  }, {
294
294
  nickname?: string | null | undefined;
295
295
  taxCode?: string | null | undefined;
296
- type: "individual";
296
+ email: string;
297
297
  _id: string;
298
+ type: "individual";
298
299
  name: string;
300
+ phoneNumber: string;
299
301
  address: {
300
302
  coordinates?: number[] | null | undefined;
301
303
  line2?: string | null | undefined;
@@ -305,8 +307,6 @@ export declare const FdoVnEInvoiceCustomerProfile: z.ZodDiscriminatedUnion<"type
305
307
  city: string;
306
308
  postcode: string;
307
309
  };
308
- email: string;
309
- phoneNumber: string;
310
310
  userId: string;
311
311
  legalName: string;
312
312
  identityNo: string;
@@ -352,9 +352,11 @@ export declare const FdoVnEInvoiceCustomerProfile: z.ZodDiscriminatedUnion<"type
352
352
  }>, "strip", z.ZodTypeAny, {
353
353
  nickname?: string | null | undefined;
354
354
  identityNo?: string | null | undefined;
355
- type: "company";
355
+ email: string;
356
356
  _id: string;
357
+ type: "company";
357
358
  name: string;
359
+ phoneNumber: string;
358
360
  address: {
359
361
  coordinates?: number[] | null | undefined;
360
362
  line2?: string | null | undefined;
@@ -364,17 +366,17 @@ export declare const FdoVnEInvoiceCustomerProfile: z.ZodDiscriminatedUnion<"type
364
366
  city: string;
365
367
  postcode: string;
366
368
  };
367
- email: string;
368
- phoneNumber: string;
369
369
  userId: string;
370
370
  legalName: string;
371
371
  taxCode: string;
372
372
  }, {
373
373
  nickname?: string | null | undefined;
374
374
  identityNo?: string | null | undefined;
375
- type: "company";
375
+ email: string;
376
376
  _id: string;
377
+ type: "company";
377
378
  name: string;
379
+ phoneNumber: string;
378
380
  address: {
379
381
  coordinates?: number[] | null | undefined;
380
382
  line2?: string | null | undefined;
@@ -384,8 +386,6 @@ export declare const FdoVnEInvoiceCustomerProfile: z.ZodDiscriminatedUnion<"type
384
386
  city: string;
385
387
  postcode: string;
386
388
  };
387
- email: string;
388
- phoneNumber: string;
389
389
  userId: string;
390
390
  legalName: string;
391
391
  taxCode: string;
@@ -432,9 +432,11 @@ export declare const FdoVnEInvoiceCustomerProfileDoc: z.ZodDiscriminatedUnion<"t
432
432
  }>, "strip", z.ZodTypeAny, {
433
433
  nickname?: string | null | undefined;
434
434
  taxCode?: string | null | undefined;
435
- type: "individual";
435
+ email: string;
436
436
  _id: string;
437
+ type: "individual";
437
438
  name: string;
439
+ phoneNumber: string;
438
440
  address: {
439
441
  coordinates?: number[] | null | undefined;
440
442
  line2?: string | null | undefined;
@@ -444,17 +446,17 @@ export declare const FdoVnEInvoiceCustomerProfileDoc: z.ZodDiscriminatedUnion<"t
444
446
  city: string;
445
447
  postcode: string;
446
448
  };
447
- email: string;
448
- phoneNumber: string;
449
449
  userId: string;
450
450
  legalName: string;
451
451
  identityNo: string;
452
452
  }, {
453
453
  nickname?: string | null | undefined;
454
454
  taxCode?: string | null | undefined;
455
- type: "individual";
455
+ email: string;
456
456
  _id: string;
457
+ type: "individual";
457
458
  name: string;
459
+ phoneNumber: string;
458
460
  address: {
459
461
  coordinates?: number[] | null | undefined;
460
462
  line2?: string | null | undefined;
@@ -464,8 +466,6 @@ export declare const FdoVnEInvoiceCustomerProfileDoc: z.ZodDiscriminatedUnion<"t
464
466
  city: string;
465
467
  postcode: string;
466
468
  };
467
- email: string;
468
- phoneNumber: string;
469
469
  userId: string;
470
470
  legalName: string;
471
471
  identityNo: string;
@@ -511,9 +511,11 @@ export declare const FdoVnEInvoiceCustomerProfileDoc: z.ZodDiscriminatedUnion<"t
511
511
  }>, "strip", z.ZodTypeAny, {
512
512
  nickname?: string | null | undefined;
513
513
  identityNo?: string | null | undefined;
514
- type: "company";
514
+ email: string;
515
515
  _id: string;
516
+ type: "company";
516
517
  name: string;
518
+ phoneNumber: string;
517
519
  address: {
518
520
  coordinates?: number[] | null | undefined;
519
521
  line2?: string | null | undefined;
@@ -523,17 +525,17 @@ export declare const FdoVnEInvoiceCustomerProfileDoc: z.ZodDiscriminatedUnion<"t
523
525
  city: string;
524
526
  postcode: string;
525
527
  };
526
- email: string;
527
- phoneNumber: string;
528
528
  userId: string;
529
529
  legalName: string;
530
530
  taxCode: string;
531
531
  }, {
532
532
  nickname?: string | null | undefined;
533
533
  identityNo?: string | null | undefined;
534
- type: "company";
534
+ email: string;
535
535
  _id: string;
536
+ type: "company";
536
537
  name: string;
538
+ phoneNumber: string;
537
539
  address: {
538
540
  coordinates?: number[] | null | undefined;
539
541
  line2?: string | null | undefined;
@@ -543,8 +545,6 @@ export declare const FdoVnEInvoiceCustomerProfileDoc: z.ZodDiscriminatedUnion<"t
543
545
  city: string;
544
546
  postcode: string;
545
547
  };
546
- email: string;
547
- phoneNumber: string;
548
548
  userId: string;
549
549
  legalName: string;
550
550
  taxCode: string;
@@ -591,8 +591,10 @@ export declare const FdoVnEInvoiceCustomerProfileSchema: z.ZodDiscriminatedUnion
591
591
  }>, "_id">, "strip", z.ZodTypeAny, {
592
592
  nickname?: string | null | undefined;
593
593
  taxCode?: string | null | undefined;
594
+ email: string;
594
595
  type: "individual";
595
596
  name: string;
597
+ phoneNumber: string;
596
598
  address: {
597
599
  coordinates?: number[] | null | undefined;
598
600
  line2?: string | null | undefined;
@@ -602,16 +604,16 @@ export declare const FdoVnEInvoiceCustomerProfileSchema: z.ZodDiscriminatedUnion
602
604
  city: string;
603
605
  postcode: string;
604
606
  };
605
- email: string;
606
- phoneNumber: string;
607
607
  userId: string;
608
608
  legalName: string;
609
609
  identityNo: string;
610
610
  }, {
611
611
  nickname?: string | null | undefined;
612
612
  taxCode?: string | null | undefined;
613
+ email: string;
613
614
  type: "individual";
614
615
  name: string;
616
+ phoneNumber: string;
615
617
  address: {
616
618
  coordinates?: number[] | null | undefined;
617
619
  line2?: string | null | undefined;
@@ -621,8 +623,6 @@ export declare const FdoVnEInvoiceCustomerProfileSchema: z.ZodDiscriminatedUnion
621
623
  city: string;
622
624
  postcode: string;
623
625
  };
624
- email: string;
625
- phoneNumber: string;
626
626
  userId: string;
627
627
  legalName: string;
628
628
  identityNo: string;
@@ -668,8 +668,10 @@ export declare const FdoVnEInvoiceCustomerProfileSchema: z.ZodDiscriminatedUnion
668
668
  }>, "_id">, "strip", z.ZodTypeAny, {
669
669
  nickname?: string | null | undefined;
670
670
  identityNo?: string | null | undefined;
671
+ email: string;
671
672
  type: "company";
672
673
  name: string;
674
+ phoneNumber: string;
673
675
  address: {
674
676
  coordinates?: number[] | null | undefined;
675
677
  line2?: string | null | undefined;
@@ -679,16 +681,16 @@ export declare const FdoVnEInvoiceCustomerProfileSchema: z.ZodDiscriminatedUnion
679
681
  city: string;
680
682
  postcode: string;
681
683
  };
682
- email: string;
683
- phoneNumber: string;
684
684
  userId: string;
685
685
  legalName: string;
686
686
  taxCode: string;
687
687
  }, {
688
688
  nickname?: string | null | undefined;
689
689
  identityNo?: string | null | undefined;
690
+ email: string;
690
691
  type: "company";
691
692
  name: string;
693
+ phoneNumber: string;
692
694
  address: {
693
695
  coordinates?: number[] | null | undefined;
694
696
  line2?: string | null | undefined;
@@ -698,8 +700,6 @@ export declare const FdoVnEInvoiceCustomerProfileSchema: z.ZodDiscriminatedUnion
698
700
  city: string;
699
701
  postcode: string;
700
702
  };
701
- email: string;
702
- phoneNumber: string;
703
703
  userId: string;
704
704
  legalName: string;
705
705
  taxCode: string;
@@ -779,7 +779,6 @@ export declare const FdoVnEInvoiceMerchantBaseProfile: z.ZodObject<z.extendShape
779
779
  phoneNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
780
780
  }, {
781
781
  active: z.ZodNullable<z.ZodOptional<z.ZodString>>;
782
- sstRegNo: z.ZodString;
783
782
  email: z.ZodString;
784
783
  schedule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
785
784
  day: z.ZodNumber;
@@ -793,18 +792,17 @@ export declare const FdoVnEInvoiceMerchantBaseProfile: z.ZodObject<z.extendShape
793
792
  }>>>;
794
793
  queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
795
794
  }>, "strip", z.ZodTypeAny, {
795
+ queryToken?: string | null | undefined;
796
796
  phoneNo?: string | null | undefined;
797
797
  active?: string | null | undefined;
798
798
  schedule?: {
799
799
  day: number;
800
800
  hour: number;
801
801
  } | null | undefined;
802
- queryToken?: string | null | undefined;
803
- type: "restaurant" | "marketing";
804
- _id: string;
805
- businessId: string;
806
- regNo: string;
802
+ email: string;
807
803
  tinNo: string;
804
+ _id: string;
805
+ type: "restaurant" | "marketing";
808
806
  name: string;
809
807
  address: {
810
808
  coordinates?: number[] | null | undefined;
@@ -815,21 +813,20 @@ export declare const FdoVnEInvoiceMerchantBaseProfile: z.ZodObject<z.extendShape
815
813
  city: string;
816
814
  postcode: string;
817
815
  };
818
- sstRegNo: string;
819
- email: string;
816
+ businessId: string;
817
+ regNo: string;
820
818
  }, {
819
+ queryToken?: string | null | undefined;
821
820
  phoneNo?: string | null | undefined;
822
821
  active?: string | null | undefined;
823
822
  schedule?: {
824
823
  day: number;
825
824
  hour: number;
826
825
  } | null | undefined;
827
- queryToken?: string | null | undefined;
828
- type: "restaurant" | "marketing";
829
- _id: string;
830
- businessId: string;
831
- regNo: string;
826
+ email: string;
832
827
  tinNo: string;
828
+ _id: string;
829
+ type: "restaurant" | "marketing";
833
830
  name: string;
834
831
  address: {
835
832
  coordinates?: number[] | null | undefined;
@@ -840,8 +837,8 @@ export declare const FdoVnEInvoiceMerchantBaseProfile: z.ZodObject<z.extendShape
840
837
  city: string;
841
838
  postcode: string;
842
839
  };
843
- sstRegNo: string;
844
- email: string;
840
+ businessId: string;
841
+ regNo: string;
845
842
  }>;
846
843
  export declare const FdoVnEInvoiceRestaurantProfile: z.ZodObject<z.extendShape<z.extendShape<{
847
844
  _id: z.ZodEffects<z.ZodString, string, string>;
@@ -878,7 +875,6 @@ export declare const FdoVnEInvoiceRestaurantProfile: z.ZodObject<z.extendShape<z
878
875
  phoneNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
879
876
  }, {
880
877
  active: z.ZodNullable<z.ZodOptional<z.ZodString>>;
881
- sstRegNo: z.ZodString;
882
878
  email: z.ZodString;
883
879
  schedule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
884
880
  day: z.ZodNumber;
@@ -900,23 +896,22 @@ export declare const FdoVnEInvoiceRestaurantProfile: z.ZodObject<z.extendShape<z
900
896
  templateId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
901
897
  isDev: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
902
898
  }>, "strip", z.ZodTypeAny, {
899
+ queryToken?: string | null | undefined;
903
900
  phoneNo?: string | null | undefined;
904
901
  active?: string | null | undefined;
905
902
  schedule?: {
906
903
  day: number;
907
904
  hour: number;
908
905
  } | null | undefined;
909
- queryToken?: string | null | undefined;
910
- password?: string | null | undefined;
911
906
  appid?: string | null | undefined;
912
907
  username?: string | null | undefined;
908
+ password?: string | null | undefined;
913
909
  templateId?: string | null | undefined;
914
910
  isDev?: boolean | null | undefined;
915
- type: "restaurant";
916
- _id: string;
917
- businessId: string;
918
- regNo: string;
911
+ email: string;
919
912
  tinNo: string;
913
+ _id: string;
914
+ type: "restaurant";
920
915
  name: string;
921
916
  address: {
922
917
  coordinates?: number[] | null | undefined;
@@ -927,27 +922,26 @@ export declare const FdoVnEInvoiceRestaurantProfile: z.ZodObject<z.extendShape<z
927
922
  city: string;
928
923
  postcode: string;
929
924
  };
930
- sstRegNo: string;
931
- email: string;
925
+ businessId: string;
926
+ regNo: string;
932
927
  restaurantId: string;
933
928
  }, {
929
+ queryToken?: string | null | undefined;
934
930
  phoneNo?: string | null | undefined;
935
931
  active?: string | null | undefined;
936
932
  schedule?: {
937
933
  day: number;
938
934
  hour: number;
939
935
  } | null | undefined;
940
- queryToken?: string | null | undefined;
941
- password?: string | null | undefined;
942
936
  appid?: string | null | undefined;
943
937
  username?: string | null | undefined;
938
+ password?: string | null | undefined;
944
939
  templateId?: string | null | undefined;
945
940
  isDev?: boolean | null | undefined;
946
- type: "restaurant";
947
- _id: string;
948
- businessId: string;
949
- regNo: string;
941
+ email: string;
950
942
  tinNo: string;
943
+ _id: string;
944
+ type: "restaurant";
951
945
  name: string;
952
946
  address: {
953
947
  coordinates?: number[] | null | undefined;
@@ -958,8 +952,8 @@ export declare const FdoVnEInvoiceRestaurantProfile: z.ZodObject<z.extendShape<z
958
952
  city: string;
959
953
  postcode: string;
960
954
  };
961
- sstRegNo: string;
962
- email: string;
955
+ businessId: string;
956
+ regNo: string;
963
957
  restaurantId: string;
964
958
  }>;
965
959
  export declare const FdoVnEInvoiceMarketingProfile: z.ZodObject<z.extendShape<z.extendShape<{
@@ -997,7 +991,6 @@ export declare const FdoVnEInvoiceMarketingProfile: z.ZodObject<z.extendShape<z.
997
991
  phoneNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
998
992
  }, {
999
993
  active: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1000
- sstRegNo: z.ZodString;
1001
994
  email: z.ZodString;
1002
995
  schedule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1003
996
  day: z.ZodNumber;
@@ -1018,23 +1011,22 @@ export declare const FdoVnEInvoiceMarketingProfile: z.ZodObject<z.extendShape<z.
1018
1011
  templateId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1019
1012
  isDev: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1020
1013
  }>, "strip", z.ZodTypeAny, {
1014
+ queryToken?: string | null | undefined;
1021
1015
  phoneNo?: string | null | undefined;
1022
1016
  active?: string | null | undefined;
1023
1017
  schedule?: {
1024
1018
  day: number;
1025
1019
  hour: number;
1026
1020
  } | null | undefined;
1027
- queryToken?: string | null | undefined;
1028
- password?: string | null | undefined;
1029
1021
  appid?: string | null | undefined;
1030
1022
  username?: string | null | undefined;
1023
+ password?: string | null | undefined;
1031
1024
  templateId?: string | null | undefined;
1032
1025
  isDev?: boolean | null | undefined;
1033
- type: "marketing";
1034
- _id: string;
1035
- businessId: string;
1036
- regNo: string;
1026
+ email: string;
1037
1027
  tinNo: string;
1028
+ _id: string;
1029
+ type: "marketing";
1038
1030
  name: string;
1039
1031
  address: {
1040
1032
  coordinates?: number[] | null | undefined;
@@ -1045,26 +1037,25 @@ export declare const FdoVnEInvoiceMarketingProfile: z.ZodObject<z.extendShape<z.
1045
1037
  city: string;
1046
1038
  postcode: string;
1047
1039
  };
1048
- sstRegNo: string;
1049
- email: string;
1040
+ businessId: string;
1041
+ regNo: string;
1050
1042
  }, {
1043
+ queryToken?: string | null | undefined;
1051
1044
  phoneNo?: string | null | undefined;
1052
1045
  active?: string | null | undefined;
1053
1046
  schedule?: {
1054
1047
  day: number;
1055
1048
  hour: number;
1056
1049
  } | null | undefined;
1057
- queryToken?: string | null | undefined;
1058
- password?: string | null | undefined;
1059
1050
  appid?: string | null | undefined;
1060
1051
  username?: string | null | undefined;
1052
+ password?: string | null | undefined;
1061
1053
  templateId?: string | null | undefined;
1062
1054
  isDev?: boolean | null | undefined;
1063
- type: "marketing";
1064
- _id: string;
1065
- businessId: string;
1066
- regNo: string;
1055
+ email: string;
1067
1056
  tinNo: string;
1057
+ _id: string;
1058
+ type: "marketing";
1068
1059
  name: string;
1069
1060
  address: {
1070
1061
  coordinates?: number[] | null | undefined;
@@ -1075,8 +1066,8 @@ export declare const FdoVnEInvoiceMarketingProfile: z.ZodObject<z.extendShape<z.
1075
1066
  city: string;
1076
1067
  postcode: string;
1077
1068
  };
1078
- sstRegNo: string;
1079
- email: string;
1069
+ businessId: string;
1070
+ regNo: string;
1080
1071
  }>;
1081
1072
  export declare const FdoVnEInvoiceMerchantProfile: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<z.extendShape<z.extendShape<{
1082
1073
  _id: z.ZodEffects<z.ZodString, string, string>;
@@ -1113,7 +1104,6 @@ export declare const FdoVnEInvoiceMerchantProfile: z.ZodDiscriminatedUnion<"type
1113
1104
  phoneNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1114
1105
  }, {
1115
1106
  active: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1116
- sstRegNo: z.ZodString;
1117
1107
  email: z.ZodString;
1118
1108
  schedule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1119
1109
  day: z.ZodNumber;
@@ -1135,23 +1125,22 @@ export declare const FdoVnEInvoiceMerchantProfile: z.ZodDiscriminatedUnion<"type
1135
1125
  templateId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1136
1126
  isDev: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1137
1127
  }>, "strip", z.ZodTypeAny, {
1128
+ queryToken?: string | null | undefined;
1138
1129
  phoneNo?: string | null | undefined;
1139
1130
  active?: string | null | undefined;
1140
1131
  schedule?: {
1141
1132
  day: number;
1142
1133
  hour: number;
1143
1134
  } | null | undefined;
1144
- queryToken?: string | null | undefined;
1145
- password?: string | null | undefined;
1146
1135
  appid?: string | null | undefined;
1147
1136
  username?: string | null | undefined;
1137
+ password?: string | null | undefined;
1148
1138
  templateId?: string | null | undefined;
1149
1139
  isDev?: boolean | null | undefined;
1150
- type: "restaurant";
1151
- _id: string;
1152
- businessId: string;
1153
- regNo: string;
1140
+ email: string;
1154
1141
  tinNo: string;
1142
+ _id: string;
1143
+ type: "restaurant";
1155
1144
  name: string;
1156
1145
  address: {
1157
1146
  coordinates?: number[] | null | undefined;
@@ -1162,27 +1151,26 @@ export declare const FdoVnEInvoiceMerchantProfile: z.ZodDiscriminatedUnion<"type
1162
1151
  city: string;
1163
1152
  postcode: string;
1164
1153
  };
1165
- sstRegNo: string;
1166
- email: string;
1154
+ businessId: string;
1155
+ regNo: string;
1167
1156
  restaurantId: string;
1168
1157
  }, {
1158
+ queryToken?: string | null | undefined;
1169
1159
  phoneNo?: string | null | undefined;
1170
1160
  active?: string | null | undefined;
1171
1161
  schedule?: {
1172
1162
  day: number;
1173
1163
  hour: number;
1174
1164
  } | null | undefined;
1175
- queryToken?: string | null | undefined;
1176
- password?: string | null | undefined;
1177
1165
  appid?: string | null | undefined;
1178
1166
  username?: string | null | undefined;
1167
+ password?: string | null | undefined;
1179
1168
  templateId?: string | null | undefined;
1180
1169
  isDev?: boolean | null | undefined;
1181
- type: "restaurant";
1182
- _id: string;
1183
- businessId: string;
1184
- regNo: string;
1170
+ email: string;
1185
1171
  tinNo: string;
1172
+ _id: string;
1173
+ type: "restaurant";
1186
1174
  name: string;
1187
1175
  address: {
1188
1176
  coordinates?: number[] | null | undefined;
@@ -1193,8 +1181,8 @@ export declare const FdoVnEInvoiceMerchantProfile: z.ZodDiscriminatedUnion<"type
1193
1181
  city: string;
1194
1182
  postcode: string;
1195
1183
  };
1196
- sstRegNo: string;
1197
- email: string;
1184
+ businessId: string;
1185
+ regNo: string;
1198
1186
  restaurantId: string;
1199
1187
  }> | z.ZodObject<z.extendShape<z.extendShape<{
1200
1188
  _id: z.ZodEffects<z.ZodString, string, string>;
@@ -1231,7 +1219,6 @@ export declare const FdoVnEInvoiceMerchantProfile: z.ZodDiscriminatedUnion<"type
1231
1219
  phoneNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1232
1220
  }, {
1233
1221
  active: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1234
- sstRegNo: z.ZodString;
1235
1222
  email: z.ZodString;
1236
1223
  schedule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1237
1224
  day: z.ZodNumber;
@@ -1252,23 +1239,22 @@ export declare const FdoVnEInvoiceMerchantProfile: z.ZodDiscriminatedUnion<"type
1252
1239
  templateId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1253
1240
  isDev: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1254
1241
  }>, "strip", z.ZodTypeAny, {
1242
+ queryToken?: string | null | undefined;
1255
1243
  phoneNo?: string | null | undefined;
1256
1244
  active?: string | null | undefined;
1257
1245
  schedule?: {
1258
1246
  day: number;
1259
1247
  hour: number;
1260
1248
  } | null | undefined;
1261
- queryToken?: string | null | undefined;
1262
- password?: string | null | undefined;
1263
1249
  appid?: string | null | undefined;
1264
1250
  username?: string | null | undefined;
1251
+ password?: string | null | undefined;
1265
1252
  templateId?: string | null | undefined;
1266
1253
  isDev?: boolean | null | undefined;
1267
- type: "marketing";
1268
- _id: string;
1269
- businessId: string;
1270
- regNo: string;
1254
+ email: string;
1271
1255
  tinNo: string;
1256
+ _id: string;
1257
+ type: "marketing";
1272
1258
  name: string;
1273
1259
  address: {
1274
1260
  coordinates?: number[] | null | undefined;
@@ -1279,26 +1265,25 @@ export declare const FdoVnEInvoiceMerchantProfile: z.ZodDiscriminatedUnion<"type
1279
1265
  city: string;
1280
1266
  postcode: string;
1281
1267
  };
1282
- sstRegNo: string;
1283
- email: string;
1268
+ businessId: string;
1269
+ regNo: string;
1284
1270
  }, {
1271
+ queryToken?: string | null | undefined;
1285
1272
  phoneNo?: string | null | undefined;
1286
1273
  active?: string | null | undefined;
1287
1274
  schedule?: {
1288
1275
  day: number;
1289
1276
  hour: number;
1290
1277
  } | null | undefined;
1291
- queryToken?: string | null | undefined;
1292
- password?: string | null | undefined;
1293
1278
  appid?: string | null | undefined;
1294
1279
  username?: string | null | undefined;
1280
+ password?: string | null | undefined;
1295
1281
  templateId?: string | null | undefined;
1296
1282
  isDev?: boolean | null | undefined;
1297
- type: "marketing";
1298
- _id: string;
1299
- businessId: string;
1300
- regNo: string;
1283
+ email: string;
1301
1284
  tinNo: string;
1285
+ _id: string;
1286
+ type: "marketing";
1302
1287
  name: string;
1303
1288
  address: {
1304
1289
  coordinates?: number[] | null | undefined;
@@ -1309,8 +1294,8 @@ export declare const FdoVnEInvoiceMerchantProfile: z.ZodDiscriminatedUnion<"type
1309
1294
  city: string;
1310
1295
  postcode: string;
1311
1296
  };
1312
- sstRegNo: string;
1313
- email: string;
1297
+ businessId: string;
1298
+ regNo: string;
1314
1299
  }>>;
1315
1300
  export declare const FdoVnEInvoiceMerchantProfileDoc: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<z.extendShape<z.extendShape<{
1316
1301
  _id: z.ZodEffects<z.ZodString, string, string>;
@@ -1347,7 +1332,6 @@ export declare const FdoVnEInvoiceMerchantProfileDoc: z.ZodDiscriminatedUnion<"t
1347
1332
  phoneNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1348
1333
  }, {
1349
1334
  active: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1350
- sstRegNo: z.ZodString;
1351
1335
  email: z.ZodString;
1352
1336
  schedule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1353
1337
  day: z.ZodNumber;
@@ -1369,23 +1353,22 @@ export declare const FdoVnEInvoiceMerchantProfileDoc: z.ZodDiscriminatedUnion<"t
1369
1353
  templateId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1370
1354
  isDev: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1371
1355
  }>, "strip", z.ZodTypeAny, {
1356
+ queryToken?: string | null | undefined;
1372
1357
  phoneNo?: string | null | undefined;
1373
1358
  active?: string | null | undefined;
1374
1359
  schedule?: {
1375
1360
  day: number;
1376
1361
  hour: number;
1377
1362
  } | null | undefined;
1378
- queryToken?: string | null | undefined;
1379
- password?: string | null | undefined;
1380
1363
  appid?: string | null | undefined;
1381
1364
  username?: string | null | undefined;
1365
+ password?: string | null | undefined;
1382
1366
  templateId?: string | null | undefined;
1383
1367
  isDev?: boolean | null | undefined;
1384
- type: "restaurant";
1385
- _id: string;
1386
- businessId: string;
1387
- regNo: string;
1368
+ email: string;
1388
1369
  tinNo: string;
1370
+ _id: string;
1371
+ type: "restaurant";
1389
1372
  name: string;
1390
1373
  address: {
1391
1374
  coordinates?: number[] | null | undefined;
@@ -1396,27 +1379,26 @@ export declare const FdoVnEInvoiceMerchantProfileDoc: z.ZodDiscriminatedUnion<"t
1396
1379
  city: string;
1397
1380
  postcode: string;
1398
1381
  };
1399
- sstRegNo: string;
1400
- email: string;
1382
+ businessId: string;
1383
+ regNo: string;
1401
1384
  restaurantId: string;
1402
1385
  }, {
1386
+ queryToken?: string | null | undefined;
1403
1387
  phoneNo?: string | null | undefined;
1404
1388
  active?: string | null | undefined;
1405
1389
  schedule?: {
1406
1390
  day: number;
1407
1391
  hour: number;
1408
1392
  } | null | undefined;
1409
- queryToken?: string | null | undefined;
1410
- password?: string | null | undefined;
1411
1393
  appid?: string | null | undefined;
1412
1394
  username?: string | null | undefined;
1395
+ password?: string | null | undefined;
1413
1396
  templateId?: string | null | undefined;
1414
1397
  isDev?: boolean | null | undefined;
1415
- type: "restaurant";
1416
- _id: string;
1417
- businessId: string;
1418
- regNo: string;
1398
+ email: string;
1419
1399
  tinNo: string;
1400
+ _id: string;
1401
+ type: "restaurant";
1420
1402
  name: string;
1421
1403
  address: {
1422
1404
  coordinates?: number[] | null | undefined;
@@ -1427,8 +1409,8 @@ export declare const FdoVnEInvoiceMerchantProfileDoc: z.ZodDiscriminatedUnion<"t
1427
1409
  city: string;
1428
1410
  postcode: string;
1429
1411
  };
1430
- sstRegNo: string;
1431
- email: string;
1412
+ businessId: string;
1413
+ regNo: string;
1432
1414
  restaurantId: string;
1433
1415
  }> | z.ZodObject<z.extendShape<z.extendShape<{
1434
1416
  _id: z.ZodEffects<z.ZodString, string, string>;
@@ -1465,7 +1447,6 @@ export declare const FdoVnEInvoiceMerchantProfileDoc: z.ZodDiscriminatedUnion<"t
1465
1447
  phoneNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1466
1448
  }, {
1467
1449
  active: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1468
- sstRegNo: z.ZodString;
1469
1450
  email: z.ZodString;
1470
1451
  schedule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1471
1452
  day: z.ZodNumber;
@@ -1486,23 +1467,22 @@ export declare const FdoVnEInvoiceMerchantProfileDoc: z.ZodDiscriminatedUnion<"t
1486
1467
  templateId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1487
1468
  isDev: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1488
1469
  }>, "strip", z.ZodTypeAny, {
1470
+ queryToken?: string | null | undefined;
1489
1471
  phoneNo?: string | null | undefined;
1490
1472
  active?: string | null | undefined;
1491
1473
  schedule?: {
1492
1474
  day: number;
1493
1475
  hour: number;
1494
1476
  } | null | undefined;
1495
- queryToken?: string | null | undefined;
1496
- password?: string | null | undefined;
1497
1477
  appid?: string | null | undefined;
1498
1478
  username?: string | null | undefined;
1479
+ password?: string | null | undefined;
1499
1480
  templateId?: string | null | undefined;
1500
1481
  isDev?: boolean | null | undefined;
1501
- type: "marketing";
1502
- _id: string;
1503
- businessId: string;
1504
- regNo: string;
1482
+ email: string;
1505
1483
  tinNo: string;
1484
+ _id: string;
1485
+ type: "marketing";
1506
1486
  name: string;
1507
1487
  address: {
1508
1488
  coordinates?: number[] | null | undefined;
@@ -1513,26 +1493,25 @@ export declare const FdoVnEInvoiceMerchantProfileDoc: z.ZodDiscriminatedUnion<"t
1513
1493
  city: string;
1514
1494
  postcode: string;
1515
1495
  };
1516
- sstRegNo: string;
1517
- email: string;
1496
+ businessId: string;
1497
+ regNo: string;
1518
1498
  }, {
1499
+ queryToken?: string | null | undefined;
1519
1500
  phoneNo?: string | null | undefined;
1520
1501
  active?: string | null | undefined;
1521
1502
  schedule?: {
1522
1503
  day: number;
1523
1504
  hour: number;
1524
1505
  } | null | undefined;
1525
- queryToken?: string | null | undefined;
1526
- password?: string | null | undefined;
1527
1506
  appid?: string | null | undefined;
1528
1507
  username?: string | null | undefined;
1508
+ password?: string | null | undefined;
1529
1509
  templateId?: string | null | undefined;
1530
1510
  isDev?: boolean | null | undefined;
1531
- type: "marketing";
1532
- _id: string;
1533
- businessId: string;
1534
- regNo: string;
1511
+ email: string;
1535
1512
  tinNo: string;
1513
+ _id: string;
1514
+ type: "marketing";
1536
1515
  name: string;
1537
1516
  address: {
1538
1517
  coordinates?: number[] | null | undefined;
@@ -1543,8 +1522,8 @@ export declare const FdoVnEInvoiceMerchantProfileDoc: z.ZodDiscriminatedUnion<"t
1543
1522
  city: string;
1544
1523
  postcode: string;
1545
1524
  };
1546
- sstRegNo: string;
1547
- email: string;
1525
+ businessId: string;
1526
+ regNo: string;
1548
1527
  }>>;
1549
1528
  export declare const FdoVnEInvoiceMerchantProfileSchema: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<Omit<z.extendShape<z.extendShape<{
1550
1529
  _id: z.ZodEffects<z.ZodString, string, string>;
@@ -1581,7 +1560,6 @@ export declare const FdoVnEInvoiceMerchantProfileSchema: z.ZodDiscriminatedUnion
1581
1560
  phoneNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1582
1561
  }, {
1583
1562
  active: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1584
- sstRegNo: z.ZodString;
1585
1563
  email: z.ZodString;
1586
1564
  schedule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1587
1565
  day: z.ZodNumber;
@@ -1603,22 +1581,21 @@ export declare const FdoVnEInvoiceMerchantProfileSchema: z.ZodDiscriminatedUnion
1603
1581
  templateId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1604
1582
  isDev: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1605
1583
  }>, "_id">, "strip", z.ZodTypeAny, {
1584
+ queryToken?: string | null | undefined;
1606
1585
  phoneNo?: string | null | undefined;
1607
1586
  active?: string | null | undefined;
1608
1587
  schedule?: {
1609
1588
  day: number;
1610
1589
  hour: number;
1611
1590
  } | null | undefined;
1612
- queryToken?: string | null | undefined;
1613
- password?: string | null | undefined;
1614
1591
  appid?: string | null | undefined;
1615
1592
  username?: string | null | undefined;
1593
+ password?: string | null | undefined;
1616
1594
  templateId?: string | null | undefined;
1617
1595
  isDev?: boolean | null | undefined;
1618
- type: "restaurant";
1619
- businessId: string;
1620
- regNo: string;
1596
+ email: string;
1621
1597
  tinNo: string;
1598
+ type: "restaurant";
1622
1599
  name: string;
1623
1600
  address: {
1624
1601
  coordinates?: number[] | null | undefined;
@@ -1629,26 +1606,25 @@ export declare const FdoVnEInvoiceMerchantProfileSchema: z.ZodDiscriminatedUnion
1629
1606
  city: string;
1630
1607
  postcode: string;
1631
1608
  };
1632
- sstRegNo: string;
1633
- email: string;
1609
+ businessId: string;
1610
+ regNo: string;
1634
1611
  restaurantId: string;
1635
1612
  }, {
1613
+ queryToken?: string | null | undefined;
1636
1614
  phoneNo?: string | null | undefined;
1637
1615
  active?: string | null | undefined;
1638
1616
  schedule?: {
1639
1617
  day: number;
1640
1618
  hour: number;
1641
1619
  } | null | undefined;
1642
- queryToken?: string | null | undefined;
1643
- password?: string | null | undefined;
1644
1620
  appid?: string | null | undefined;
1645
1621
  username?: string | null | undefined;
1622
+ password?: string | null | undefined;
1646
1623
  templateId?: string | null | undefined;
1647
1624
  isDev?: boolean | null | undefined;
1648
- type: "restaurant";
1649
- businessId: string;
1650
- regNo: string;
1625
+ email: string;
1651
1626
  tinNo: string;
1627
+ type: "restaurant";
1652
1628
  name: string;
1653
1629
  address: {
1654
1630
  coordinates?: number[] | null | undefined;
@@ -1659,8 +1635,8 @@ export declare const FdoVnEInvoiceMerchantProfileSchema: z.ZodDiscriminatedUnion
1659
1635
  city: string;
1660
1636
  postcode: string;
1661
1637
  };
1662
- sstRegNo: string;
1663
- email: string;
1638
+ businessId: string;
1639
+ regNo: string;
1664
1640
  restaurantId: string;
1665
1641
  }> | z.ZodObject<Omit<z.extendShape<z.extendShape<{
1666
1642
  _id: z.ZodEffects<z.ZodString, string, string>;
@@ -1697,7 +1673,6 @@ export declare const FdoVnEInvoiceMerchantProfileSchema: z.ZodDiscriminatedUnion
1697
1673
  phoneNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1698
1674
  }, {
1699
1675
  active: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1700
- sstRegNo: z.ZodString;
1701
1676
  email: z.ZodString;
1702
1677
  schedule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1703
1678
  day: z.ZodNumber;
@@ -1718,22 +1693,21 @@ export declare const FdoVnEInvoiceMerchantProfileSchema: z.ZodDiscriminatedUnion
1718
1693
  templateId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1719
1694
  isDev: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1720
1695
  }>, "_id">, "strip", z.ZodTypeAny, {
1696
+ queryToken?: string | null | undefined;
1721
1697
  phoneNo?: string | null | undefined;
1722
1698
  active?: string | null | undefined;
1723
1699
  schedule?: {
1724
1700
  day: number;
1725
1701
  hour: number;
1726
1702
  } | null | undefined;
1727
- queryToken?: string | null | undefined;
1728
- password?: string | null | undefined;
1729
1703
  appid?: string | null | undefined;
1730
1704
  username?: string | null | undefined;
1705
+ password?: string | null | undefined;
1731
1706
  templateId?: string | null | undefined;
1732
1707
  isDev?: boolean | null | undefined;
1733
- type: "marketing";
1734
- businessId: string;
1735
- regNo: string;
1708
+ email: string;
1736
1709
  tinNo: string;
1710
+ type: "marketing";
1737
1711
  name: string;
1738
1712
  address: {
1739
1713
  coordinates?: number[] | null | undefined;
@@ -1744,25 +1718,24 @@ export declare const FdoVnEInvoiceMerchantProfileSchema: z.ZodDiscriminatedUnion
1744
1718
  city: string;
1745
1719
  postcode: string;
1746
1720
  };
1747
- sstRegNo: string;
1748
- email: string;
1721
+ businessId: string;
1722
+ regNo: string;
1749
1723
  }, {
1724
+ queryToken?: string | null | undefined;
1750
1725
  phoneNo?: string | null | undefined;
1751
1726
  active?: string | null | undefined;
1752
1727
  schedule?: {
1753
1728
  day: number;
1754
1729
  hour: number;
1755
1730
  } | null | undefined;
1756
- queryToken?: string | null | undefined;
1757
- password?: string | null | undefined;
1758
1731
  appid?: string | null | undefined;
1759
1732
  username?: string | null | undefined;
1733
+ password?: string | null | undefined;
1760
1734
  templateId?: string | null | undefined;
1761
1735
  isDev?: boolean | null | undefined;
1762
- type: "marketing";
1763
- businessId: string;
1764
- regNo: string;
1736
+ email: string;
1765
1737
  tinNo: string;
1738
+ type: "marketing";
1766
1739
  name: string;
1767
1740
  address: {
1768
1741
  coordinates?: number[] | null | undefined;
@@ -1773,8 +1746,8 @@ export declare const FdoVnEInvoiceMerchantProfileSchema: z.ZodDiscriminatedUnion
1773
1746
  city: string;
1774
1747
  postcode: string;
1775
1748
  };
1776
- sstRegNo: string;
1777
- email: string;
1749
+ businessId: string;
1750
+ regNo: string;
1778
1751
  }>>;
1779
1752
  export type FdoVnEInvoiceCustomerBaseProfile = z.infer<typeof FdoVnEInvoiceCustomerBaseProfile>;
1780
1753
  export type FdoVnEInvoiceIndividualProfile = z.infer<typeof FdoVnEInvoiceIndividualProfile>;