@feedmepos/mf-e-invoice 0.0.66 → 0.0.68

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.
@@ -747,6 +747,7 @@ export declare const FdoThEInvoiceMerchantBaseProfile: z.ZodObject<z.extendShape
747
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
+ taxRegNo: z.ZodString;
750
751
  }>, "strip", z.ZodTypeAny, {
751
752
  phoneNo?: string | null | undefined;
752
753
  email?: string | null | undefined;
@@ -767,6 +768,7 @@ export declare const FdoThEInvoiceMerchantBaseProfile: z.ZodObject<z.extendShape
767
768
  businessId: string;
768
769
  regNo: string;
769
770
  tinNo: string;
771
+ taxRegNo: string;
770
772
  }, {
771
773
  phoneNo?: string | null | undefined;
772
774
  email?: string | null | undefined;
@@ -787,6 +789,7 @@ export declare const FdoThEInvoiceMerchantBaseProfile: z.ZodObject<z.extendShape
787
789
  businessId: string;
788
790
  regNo: string;
789
791
  tinNo: string;
792
+ taxRegNo: string;
790
793
  }>;
791
794
  export declare const FdoThEInvoiceRestaurantProfile: z.ZodObject<z.extendShape<z.extendShape<{
792
795
  _id: z.ZodEffects<z.ZodString, string, string>;
@@ -825,6 +828,7 @@ export declare const FdoThEInvoiceRestaurantProfile: z.ZodObject<z.extendShape<z
825
828
  branchCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
826
829
  email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
827
830
  queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
831
+ taxRegNo: z.ZodString;
828
832
  }>, {
829
833
  type: z.ZodLiteral<"restaurant">;
830
834
  restaurantId: z.ZodString;
@@ -849,6 +853,7 @@ export declare const FdoThEInvoiceRestaurantProfile: z.ZodObject<z.extendShape<z
849
853
  regNo: string;
850
854
  tinNo: string;
851
855
  restaurantId: string;
856
+ taxRegNo: string;
852
857
  }, {
853
858
  phoneNo?: string | null | undefined;
854
859
  email?: string | null | undefined;
@@ -870,6 +875,7 @@ export declare const FdoThEInvoiceRestaurantProfile: z.ZodObject<z.extendShape<z
870
875
  regNo: string;
871
876
  tinNo: string;
872
877
  restaurantId: string;
878
+ taxRegNo: string;
873
879
  }>;
874
880
  export declare const FdoThEInvoiceMarketingProfile: z.ZodObject<z.extendShape<z.extendShape<{
875
881
  _id: z.ZodEffects<z.ZodString, string, string>;
@@ -908,6 +914,7 @@ export declare const FdoThEInvoiceMarketingProfile: z.ZodObject<z.extendShape<z.
908
914
  branchCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
909
915
  email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
910
916
  queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
917
+ taxRegNo: z.ZodString;
911
918
  }>, {
912
919
  type: z.ZodLiteral<"marketing">;
913
920
  }>, "strip", z.ZodTypeAny, {
@@ -930,6 +937,7 @@ export declare const FdoThEInvoiceMarketingProfile: z.ZodObject<z.extendShape<z.
930
937
  businessId: string;
931
938
  regNo: string;
932
939
  tinNo: string;
940
+ taxRegNo: string;
933
941
  }, {
934
942
  phoneNo?: string | null | undefined;
935
943
  email?: string | null | undefined;
@@ -950,6 +958,7 @@ export declare const FdoThEInvoiceMarketingProfile: z.ZodObject<z.extendShape<z.
950
958
  businessId: string;
951
959
  regNo: string;
952
960
  tinNo: string;
961
+ taxRegNo: string;
953
962
  }>;
954
963
  export declare const FdoThEInvoiceMerchantProfile: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<z.extendShape<z.extendShape<{
955
964
  _id: z.ZodEffects<z.ZodString, string, string>;
@@ -988,6 +997,7 @@ export declare const FdoThEInvoiceMerchantProfile: z.ZodDiscriminatedUnion<"type
988
997
  branchCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
989
998
  email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
990
999
  queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1000
+ taxRegNo: z.ZodString;
991
1001
  }>, {
992
1002
  type: z.ZodLiteral<"restaurant">;
993
1003
  restaurantId: z.ZodString;
@@ -1012,6 +1022,7 @@ export declare const FdoThEInvoiceMerchantProfile: z.ZodDiscriminatedUnion<"type
1012
1022
  regNo: string;
1013
1023
  tinNo: string;
1014
1024
  restaurantId: string;
1025
+ taxRegNo: string;
1015
1026
  }, {
1016
1027
  phoneNo?: string | null | undefined;
1017
1028
  email?: string | null | undefined;
@@ -1033,6 +1044,7 @@ export declare const FdoThEInvoiceMerchantProfile: z.ZodDiscriminatedUnion<"type
1033
1044
  regNo: string;
1034
1045
  tinNo: string;
1035
1046
  restaurantId: string;
1047
+ taxRegNo: string;
1036
1048
  }> | z.ZodObject<z.extendShape<z.extendShape<{
1037
1049
  _id: z.ZodEffects<z.ZodString, string, string>;
1038
1050
  type: z.ZodEnum<["restaurant", "marketing"]>;
@@ -1070,6 +1082,7 @@ export declare const FdoThEInvoiceMerchantProfile: z.ZodDiscriminatedUnion<"type
1070
1082
  branchCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1071
1083
  email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1072
1084
  queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1085
+ taxRegNo: z.ZodString;
1073
1086
  }>, {
1074
1087
  type: z.ZodLiteral<"marketing">;
1075
1088
  }>, "strip", z.ZodTypeAny, {
@@ -1092,6 +1105,7 @@ export declare const FdoThEInvoiceMerchantProfile: z.ZodDiscriminatedUnion<"type
1092
1105
  businessId: string;
1093
1106
  regNo: string;
1094
1107
  tinNo: string;
1108
+ taxRegNo: string;
1095
1109
  }, {
1096
1110
  phoneNo?: string | null | undefined;
1097
1111
  email?: string | null | undefined;
@@ -1112,6 +1126,7 @@ export declare const FdoThEInvoiceMerchantProfile: z.ZodDiscriminatedUnion<"type
1112
1126
  businessId: string;
1113
1127
  regNo: string;
1114
1128
  tinNo: string;
1129
+ taxRegNo: string;
1115
1130
  }>>;
1116
1131
  export declare const FdoThEInvoiceMerchantProfileDoc: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<z.extendShape<z.extendShape<{
1117
1132
  _id: z.ZodEffects<z.ZodString, string, string>;
@@ -1150,6 +1165,7 @@ export declare const FdoThEInvoiceMerchantProfileDoc: z.ZodDiscriminatedUnion<"t
1150
1165
  branchCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1151
1166
  email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1152
1167
  queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1168
+ taxRegNo: z.ZodString;
1153
1169
  }>, {
1154
1170
  type: z.ZodLiteral<"restaurant">;
1155
1171
  restaurantId: z.ZodString;
@@ -1174,6 +1190,7 @@ export declare const FdoThEInvoiceMerchantProfileDoc: z.ZodDiscriminatedUnion<"t
1174
1190
  regNo: string;
1175
1191
  tinNo: string;
1176
1192
  restaurantId: string;
1193
+ taxRegNo: string;
1177
1194
  }, {
1178
1195
  phoneNo?: string | null | undefined;
1179
1196
  email?: string | null | undefined;
@@ -1195,6 +1212,7 @@ export declare const FdoThEInvoiceMerchantProfileDoc: z.ZodDiscriminatedUnion<"t
1195
1212
  regNo: string;
1196
1213
  tinNo: string;
1197
1214
  restaurantId: string;
1215
+ taxRegNo: string;
1198
1216
  }> | z.ZodObject<z.extendShape<z.extendShape<{
1199
1217
  _id: z.ZodEffects<z.ZodString, string, string>;
1200
1218
  type: z.ZodEnum<["restaurant", "marketing"]>;
@@ -1232,6 +1250,7 @@ export declare const FdoThEInvoiceMerchantProfileDoc: z.ZodDiscriminatedUnion<"t
1232
1250
  branchCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1233
1251
  email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1234
1252
  queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1253
+ taxRegNo: z.ZodString;
1235
1254
  }>, {
1236
1255
  type: z.ZodLiteral<"marketing">;
1237
1256
  }>, "strip", z.ZodTypeAny, {
@@ -1254,6 +1273,7 @@ export declare const FdoThEInvoiceMerchantProfileDoc: z.ZodDiscriminatedUnion<"t
1254
1273
  businessId: string;
1255
1274
  regNo: string;
1256
1275
  tinNo: string;
1276
+ taxRegNo: string;
1257
1277
  }, {
1258
1278
  phoneNo?: string | null | undefined;
1259
1279
  email?: string | null | undefined;
@@ -1274,6 +1294,7 @@ export declare const FdoThEInvoiceMerchantProfileDoc: z.ZodDiscriminatedUnion<"t
1274
1294
  businessId: string;
1275
1295
  regNo: string;
1276
1296
  tinNo: string;
1297
+ taxRegNo: string;
1277
1298
  }>>;
1278
1299
  export declare const FdoThEInvoiceMerchantProfileSchema: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<Omit<z.extendShape<z.extendShape<{
1279
1300
  _id: z.ZodEffects<z.ZodString, string, string>;
@@ -1312,6 +1333,7 @@ export declare const FdoThEInvoiceMerchantProfileSchema: z.ZodDiscriminatedUnion
1312
1333
  branchCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1313
1334
  email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1314
1335
  queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1336
+ taxRegNo: z.ZodString;
1315
1337
  }>, {
1316
1338
  type: z.ZodLiteral<"restaurant">;
1317
1339
  restaurantId: z.ZodString;
@@ -1335,6 +1357,7 @@ export declare const FdoThEInvoiceMerchantProfileSchema: z.ZodDiscriminatedUnion
1335
1357
  regNo: string;
1336
1358
  tinNo: string;
1337
1359
  restaurantId: string;
1360
+ taxRegNo: string;
1338
1361
  }, {
1339
1362
  phoneNo?: string | null | undefined;
1340
1363
  email?: string | null | undefined;
@@ -1355,6 +1378,7 @@ export declare const FdoThEInvoiceMerchantProfileSchema: z.ZodDiscriminatedUnion
1355
1378
  regNo: string;
1356
1379
  tinNo: string;
1357
1380
  restaurantId: string;
1381
+ taxRegNo: string;
1358
1382
  }> | z.ZodObject<Omit<z.extendShape<z.extendShape<{
1359
1383
  _id: z.ZodEffects<z.ZodString, string, string>;
1360
1384
  type: z.ZodEnum<["restaurant", "marketing"]>;
@@ -1392,6 +1416,7 @@ export declare const FdoThEInvoiceMerchantProfileSchema: z.ZodDiscriminatedUnion
1392
1416
  branchCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1393
1417
  email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1394
1418
  queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1419
+ taxRegNo: z.ZodString;
1395
1420
  }>, {
1396
1421
  type: z.ZodLiteral<"marketing">;
1397
1422
  }>, "_id">, "strip", z.ZodTypeAny, {
@@ -1413,6 +1438,7 @@ export declare const FdoThEInvoiceMerchantProfileSchema: z.ZodDiscriminatedUnion
1413
1438
  businessId: string;
1414
1439
  regNo: string;
1415
1440
  tinNo: string;
1441
+ taxRegNo: string;
1416
1442
  }, {
1417
1443
  phoneNo?: string | null | undefined;
1418
1444
  email?: string | null | undefined;
@@ -1432,6 +1458,7 @@ export declare const FdoThEInvoiceMerchantProfileSchema: z.ZodDiscriminatedUnion
1432
1458
  businessId: string;
1433
1459
  regNo: string;
1434
1460
  tinNo: string;
1461
+ taxRegNo: string;
1435
1462
  }>>;
1436
1463
  export type FdoThEInvoiceCustomerBaseProfile = z.infer<typeof FdoThEInvoiceCustomerBaseProfile>;
1437
1464
  export type FdoThEInvoiceIndividualProfile = z.infer<typeof FdoThEInvoiceIndividualProfile>;
@@ -271,6 +271,7 @@ export declare const FdoThEInvoiceSubmission: z.ZodObject<{
271
271
  branchCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
272
272
  email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
273
273
  queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
274
+ taxRegNo: z.ZodString;
274
275
  }>, {
275
276
  type: z.ZodLiteral<"restaurant">;
276
277
  restaurantId: z.ZodString;
@@ -295,6 +296,7 @@ export declare const FdoThEInvoiceSubmission: z.ZodObject<{
295
296
  regNo: string;
296
297
  tinNo: string;
297
298
  restaurantId: string;
299
+ taxRegNo: string;
298
300
  }, {
299
301
  phoneNo?: string | null | undefined;
300
302
  email?: string | null | undefined;
@@ -316,6 +318,7 @@ export declare const FdoThEInvoiceSubmission: z.ZodObject<{
316
318
  regNo: string;
317
319
  tinNo: string;
318
320
  restaurantId: string;
321
+ taxRegNo: string;
319
322
  }> | z.ZodObject<z.extendShape<z.extendShape<{
320
323
  _id: z.ZodEffects<z.ZodString, string, string>;
321
324
  type: z.ZodEnum<["restaurant", "marketing"]>;
@@ -353,6 +356,7 @@ export declare const FdoThEInvoiceSubmission: z.ZodObject<{
353
356
  branchCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
354
357
  email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
355
358
  queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
359
+ taxRegNo: z.ZodString;
356
360
  }>, {
357
361
  type: z.ZodLiteral<"marketing">;
358
362
  }>, "strip", z.ZodTypeAny, {
@@ -375,6 +379,7 @@ export declare const FdoThEInvoiceSubmission: z.ZodObject<{
375
379
  businessId: string;
376
380
  regNo: string;
377
381
  tinNo: string;
382
+ taxRegNo: string;
378
383
  }, {
379
384
  phoneNo?: string | null | undefined;
380
385
  email?: string | null | undefined;
@@ -395,6 +400,7 @@ export declare const FdoThEInvoiceSubmission: z.ZodObject<{
395
400
  businessId: string;
396
401
  regNo: string;
397
402
  tinNo: string;
403
+ taxRegNo: string;
398
404
  }>>;
399
405
  posId: z.ZodString;
400
406
  customer: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<z.extendShape<Omit<z.extendShape<z.extendShape<{
@@ -655,6 +661,7 @@ export declare const FdoThEInvoiceSubmission: z.ZodObject<{
655
661
  regNo: string;
656
662
  tinNo: string;
657
663
  restaurantId: string;
664
+ taxRegNo: string;
658
665
  } | {
659
666
  phoneNo?: string | null | undefined;
660
667
  email?: string | null | undefined;
@@ -675,6 +682,7 @@ export declare const FdoThEInvoiceSubmission: z.ZodObject<{
675
682
  businessId: string;
676
683
  regNo: string;
677
684
  tinNo: string;
685
+ taxRegNo: string;
678
686
  };
679
687
  customer: {
680
688
  nickname?: string | null | undefined;
@@ -758,6 +766,7 @@ export declare const FdoThEInvoiceSubmission: z.ZodObject<{
758
766
  regNo: string;
759
767
  tinNo: string;
760
768
  restaurantId: string;
769
+ taxRegNo: string;
761
770
  } | {
762
771
  phoneNo?: string | null | undefined;
763
772
  email?: string | null | undefined;
@@ -778,6 +787,7 @@ export declare const FdoThEInvoiceSubmission: z.ZodObject<{
778
787
  businessId: string;
779
788
  regNo: string;
780
789
  tinNo: string;
790
+ taxRegNo: string;
781
791
  };
782
792
  customer: {
783
793
  nickname?: string | null | undefined;
@@ -1,3 +1,4 @@
1
+ import { type AnyEInvoiceMerchantProfile } from "@/api";
1
2
  import type { RestaurantEInvoice } from "@/types";
2
3
  declare function showDialog(restaurant: RestaurantEInvoice): void;
3
4
  declare function hideDialog(): void;
@@ -5,62 +6,8 @@ declare const _default: import("vue").DefineComponent<{}, {
5
6
  show: typeof showDialog;
6
7
  hide: typeof hideDialog;
7
8
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
- onCompleted: (value: {
9
- phoneNo?: string | null | undefined;
10
- active?: string | null | undefined;
11
- schedule?: {
12
- day: number;
13
- hour: number;
14
- } | null | undefined;
15
- queryToken?: string | null | undefined;
16
- type: "restaurant";
17
- name: string;
18
- _id: string;
19
- address: {
20
- coordinates?: number[] | null | undefined;
21
- line2?: string | null | undefined;
22
- state: string;
23
- country: string;
24
- line1: string;
25
- city: string;
26
- postcode: string;
27
- };
28
- businessId: string;
29
- regNo: string;
30
- tinNo: string;
31
- email: string;
32
- msicCode: string;
33
- sstRegNo: string;
34
- restaurantId: string;
35
- }[]) => void;
9
+ onCompleted: (value: AnyEInvoiceMerchantProfile[]) => void;
36
10
  }, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
37
- onOnCompleted?: ((value: {
38
- phoneNo?: string | null | undefined;
39
- active?: string | null | undefined;
40
- schedule?: {
41
- day: number;
42
- hour: number;
43
- } | null | undefined;
44
- queryToken?: string | null | undefined;
45
- type: "restaurant";
46
- name: string;
47
- _id: string;
48
- address: {
49
- coordinates?: number[] | null | undefined;
50
- line2?: string | null | undefined;
51
- state: string;
52
- country: string;
53
- line1: string;
54
- city: string;
55
- postcode: string;
56
- };
57
- businessId: string;
58
- regNo: string;
59
- tinNo: string;
60
- email: string;
61
- msicCode: string;
62
- sstRegNo: string;
63
- restaurantId: string;
64
- }[]) => any) | undefined;
11
+ onOnCompleted?: ((value: AnyEInvoiceMerchantProfile[]) => any) | undefined;
65
12
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
66
13
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-e-invoice",
3
- "version": "0.0.66",
3
+ "version": "0.0.68",
4
4
  "files": [
5
5
  "dist"
6
6
  ],