@feedmepos/mf-e-invoice 0.0.70 → 0.0.72

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.
@@ -749,12 +749,14 @@ export declare const FdoThEInvoiceMerchantBaseProfile: z.ZodObject<z.extendShape
749
749
  queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
750
750
  taxRegNo: z.ZodString;
751
751
  accessToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
752
+ eTaxImage: z.ZodNullable<z.ZodOptional<z.ZodString>>;
752
753
  }>, "strip", z.ZodTypeAny, {
753
754
  phoneNo?: string | null | undefined;
754
755
  email?: string | null | undefined;
755
756
  queryToken?: string | null | undefined;
756
757
  branchCode?: string | null | undefined;
757
758
  accessToken?: string | null | undefined;
759
+ eTaxImage?: string | null | undefined;
758
760
  type: "restaurant" | "marketing";
759
761
  name: string;
760
762
  _id: string;
@@ -777,6 +779,7 @@ export declare const FdoThEInvoiceMerchantBaseProfile: z.ZodObject<z.extendShape
777
779
  queryToken?: string | null | undefined;
778
780
  branchCode?: string | null | undefined;
779
781
  accessToken?: string | null | undefined;
782
+ eTaxImage?: string | null | undefined;
780
783
  type: "restaurant" | "marketing";
781
784
  name: string;
782
785
  _id: string;
@@ -833,6 +836,7 @@ export declare const FdoThEInvoiceRestaurantProfile: z.ZodObject<z.extendShape<z
833
836
  queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
834
837
  taxRegNo: z.ZodString;
835
838
  accessToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
839
+ eTaxImage: z.ZodNullable<z.ZodOptional<z.ZodString>>;
836
840
  }>, {
837
841
  type: z.ZodLiteral<"restaurant">;
838
842
  restaurantId: z.ZodString;
@@ -842,6 +846,7 @@ export declare const FdoThEInvoiceRestaurantProfile: z.ZodObject<z.extendShape<z
842
846
  queryToken?: string | null | undefined;
843
847
  branchCode?: string | null | undefined;
844
848
  accessToken?: string | null | undefined;
849
+ eTaxImage?: string | null | undefined;
845
850
  type: "restaurant";
846
851
  name: string;
847
852
  _id: string;
@@ -865,6 +870,7 @@ export declare const FdoThEInvoiceRestaurantProfile: z.ZodObject<z.extendShape<z
865
870
  queryToken?: string | null | undefined;
866
871
  branchCode?: string | null | undefined;
867
872
  accessToken?: string | null | undefined;
873
+ eTaxImage?: string | null | undefined;
868
874
  type: "restaurant";
869
875
  name: string;
870
876
  _id: string;
@@ -922,6 +928,7 @@ export declare const FdoThEInvoiceMarketingProfile: z.ZodObject<z.extendShape<z.
922
928
  queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
923
929
  taxRegNo: z.ZodString;
924
930
  accessToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
931
+ eTaxImage: z.ZodNullable<z.ZodOptional<z.ZodString>>;
925
932
  }>, {
926
933
  type: z.ZodLiteral<"marketing">;
927
934
  }>, "strip", z.ZodTypeAny, {
@@ -930,6 +937,7 @@ export declare const FdoThEInvoiceMarketingProfile: z.ZodObject<z.extendShape<z.
930
937
  queryToken?: string | null | undefined;
931
938
  branchCode?: string | null | undefined;
932
939
  accessToken?: string | null | undefined;
940
+ eTaxImage?: string | null | undefined;
933
941
  type: "marketing";
934
942
  name: string;
935
943
  _id: string;
@@ -952,6 +960,7 @@ export declare const FdoThEInvoiceMarketingProfile: z.ZodObject<z.extendShape<z.
952
960
  queryToken?: string | null | undefined;
953
961
  branchCode?: string | null | undefined;
954
962
  accessToken?: string | null | undefined;
963
+ eTaxImage?: string | null | undefined;
955
964
  type: "marketing";
956
965
  name: string;
957
966
  _id: string;
@@ -1008,6 +1017,7 @@ export declare const FdoThEInvoiceMerchantProfile: z.ZodDiscriminatedUnion<"type
1008
1017
  queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1009
1018
  taxRegNo: z.ZodString;
1010
1019
  accessToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1020
+ eTaxImage: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1011
1021
  }>, {
1012
1022
  type: z.ZodLiteral<"restaurant">;
1013
1023
  restaurantId: z.ZodString;
@@ -1017,6 +1027,7 @@ export declare const FdoThEInvoiceMerchantProfile: z.ZodDiscriminatedUnion<"type
1017
1027
  queryToken?: string | null | undefined;
1018
1028
  branchCode?: string | null | undefined;
1019
1029
  accessToken?: string | null | undefined;
1030
+ eTaxImage?: string | null | undefined;
1020
1031
  type: "restaurant";
1021
1032
  name: string;
1022
1033
  _id: string;
@@ -1040,6 +1051,7 @@ export declare const FdoThEInvoiceMerchantProfile: z.ZodDiscriminatedUnion<"type
1040
1051
  queryToken?: string | null | undefined;
1041
1052
  branchCode?: string | null | undefined;
1042
1053
  accessToken?: string | null | undefined;
1054
+ eTaxImage?: string | null | undefined;
1043
1055
  type: "restaurant";
1044
1056
  name: string;
1045
1057
  _id: string;
@@ -1096,6 +1108,7 @@ export declare const FdoThEInvoiceMerchantProfile: z.ZodDiscriminatedUnion<"type
1096
1108
  queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1097
1109
  taxRegNo: z.ZodString;
1098
1110
  accessToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1111
+ eTaxImage: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1099
1112
  }>, {
1100
1113
  type: z.ZodLiteral<"marketing">;
1101
1114
  }>, "strip", z.ZodTypeAny, {
@@ -1104,6 +1117,7 @@ export declare const FdoThEInvoiceMerchantProfile: z.ZodDiscriminatedUnion<"type
1104
1117
  queryToken?: string | null | undefined;
1105
1118
  branchCode?: string | null | undefined;
1106
1119
  accessToken?: string | null | undefined;
1120
+ eTaxImage?: string | null | undefined;
1107
1121
  type: "marketing";
1108
1122
  name: string;
1109
1123
  _id: string;
@@ -1126,6 +1140,7 @@ export declare const FdoThEInvoiceMerchantProfile: z.ZodDiscriminatedUnion<"type
1126
1140
  queryToken?: string | null | undefined;
1127
1141
  branchCode?: string | null | undefined;
1128
1142
  accessToken?: string | null | undefined;
1143
+ eTaxImage?: string | null | undefined;
1129
1144
  type: "marketing";
1130
1145
  name: string;
1131
1146
  _id: string;
@@ -1182,6 +1197,7 @@ export declare const FdoThEInvoiceMerchantProfileDoc: z.ZodDiscriminatedUnion<"t
1182
1197
  queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1183
1198
  taxRegNo: z.ZodString;
1184
1199
  accessToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1200
+ eTaxImage: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1185
1201
  }>, {
1186
1202
  type: z.ZodLiteral<"restaurant">;
1187
1203
  restaurantId: z.ZodString;
@@ -1191,6 +1207,7 @@ export declare const FdoThEInvoiceMerchantProfileDoc: z.ZodDiscriminatedUnion<"t
1191
1207
  queryToken?: string | null | undefined;
1192
1208
  branchCode?: string | null | undefined;
1193
1209
  accessToken?: string | null | undefined;
1210
+ eTaxImage?: string | null | undefined;
1194
1211
  type: "restaurant";
1195
1212
  name: string;
1196
1213
  _id: string;
@@ -1214,6 +1231,7 @@ export declare const FdoThEInvoiceMerchantProfileDoc: z.ZodDiscriminatedUnion<"t
1214
1231
  queryToken?: string | null | undefined;
1215
1232
  branchCode?: string | null | undefined;
1216
1233
  accessToken?: string | null | undefined;
1234
+ eTaxImage?: string | null | undefined;
1217
1235
  type: "restaurant";
1218
1236
  name: string;
1219
1237
  _id: string;
@@ -1270,6 +1288,7 @@ export declare const FdoThEInvoiceMerchantProfileDoc: z.ZodDiscriminatedUnion<"t
1270
1288
  queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1271
1289
  taxRegNo: z.ZodString;
1272
1290
  accessToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1291
+ eTaxImage: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1273
1292
  }>, {
1274
1293
  type: z.ZodLiteral<"marketing">;
1275
1294
  }>, "strip", z.ZodTypeAny, {
@@ -1278,6 +1297,7 @@ export declare const FdoThEInvoiceMerchantProfileDoc: z.ZodDiscriminatedUnion<"t
1278
1297
  queryToken?: string | null | undefined;
1279
1298
  branchCode?: string | null | undefined;
1280
1299
  accessToken?: string | null | undefined;
1300
+ eTaxImage?: string | null | undefined;
1281
1301
  type: "marketing";
1282
1302
  name: string;
1283
1303
  _id: string;
@@ -1300,6 +1320,7 @@ export declare const FdoThEInvoiceMerchantProfileDoc: z.ZodDiscriminatedUnion<"t
1300
1320
  queryToken?: string | null | undefined;
1301
1321
  branchCode?: string | null | undefined;
1302
1322
  accessToken?: string | null | undefined;
1323
+ eTaxImage?: string | null | undefined;
1303
1324
  type: "marketing";
1304
1325
  name: string;
1305
1326
  _id: string;
@@ -1356,6 +1377,7 @@ export declare const FdoThEInvoiceMerchantProfileSchema: z.ZodDiscriminatedUnion
1356
1377
  queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1357
1378
  taxRegNo: z.ZodString;
1358
1379
  accessToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1380
+ eTaxImage: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1359
1381
  }>, {
1360
1382
  type: z.ZodLiteral<"restaurant">;
1361
1383
  restaurantId: z.ZodString;
@@ -1365,6 +1387,7 @@ export declare const FdoThEInvoiceMerchantProfileSchema: z.ZodDiscriminatedUnion
1365
1387
  queryToken?: string | null | undefined;
1366
1388
  branchCode?: string | null | undefined;
1367
1389
  accessToken?: string | null | undefined;
1390
+ eTaxImage?: string | null | undefined;
1368
1391
  type: "restaurant";
1369
1392
  name: string;
1370
1393
  address: {
@@ -1387,6 +1410,7 @@ export declare const FdoThEInvoiceMerchantProfileSchema: z.ZodDiscriminatedUnion
1387
1410
  queryToken?: string | null | undefined;
1388
1411
  branchCode?: string | null | undefined;
1389
1412
  accessToken?: string | null | undefined;
1413
+ eTaxImage?: string | null | undefined;
1390
1414
  type: "restaurant";
1391
1415
  name: string;
1392
1416
  address: {
@@ -1442,6 +1466,7 @@ export declare const FdoThEInvoiceMerchantProfileSchema: z.ZodDiscriminatedUnion
1442
1466
  queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1443
1467
  taxRegNo: z.ZodString;
1444
1468
  accessToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1469
+ eTaxImage: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1445
1470
  }>, {
1446
1471
  type: z.ZodLiteral<"marketing">;
1447
1472
  }>, "_id">, "strip", z.ZodTypeAny, {
@@ -1450,6 +1475,7 @@ export declare const FdoThEInvoiceMerchantProfileSchema: z.ZodDiscriminatedUnion
1450
1475
  queryToken?: string | null | undefined;
1451
1476
  branchCode?: string | null | undefined;
1452
1477
  accessToken?: string | null | undefined;
1478
+ eTaxImage?: string | null | undefined;
1453
1479
  type: "marketing";
1454
1480
  name: string;
1455
1481
  address: {
@@ -1471,6 +1497,7 @@ export declare const FdoThEInvoiceMerchantProfileSchema: z.ZodDiscriminatedUnion
1471
1497
  queryToken?: string | null | undefined;
1472
1498
  branchCode?: string | null | undefined;
1473
1499
  accessToken?: string | null | undefined;
1500
+ eTaxImage?: string | null | undefined;
1474
1501
  type: "marketing";
1475
1502
  name: string;
1476
1503
  address: {
@@ -233,6 +233,7 @@ export declare const FdoThEInvoiceBillRef: z.ZodObject<{
233
233
  }>;
234
234
  export declare const FdoThEInvoiceSubmission: z.ZodObject<{
235
235
  _id: z.ZodEffects<z.ZodString, string, string>;
236
+ ref: z.ZodString;
236
237
  submissionDate: z.ZodEffects<z.ZodString, string, string>;
237
238
  submissionUid: z.ZodString;
238
239
  merchant: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<z.extendShape<z.extendShape<{
@@ -274,6 +275,7 @@ export declare const FdoThEInvoiceSubmission: z.ZodObject<{
274
275
  queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
275
276
  taxRegNo: z.ZodString;
276
277
  accessToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
278
+ eTaxImage: z.ZodNullable<z.ZodOptional<z.ZodString>>;
277
279
  }>, {
278
280
  type: z.ZodLiteral<"restaurant">;
279
281
  restaurantId: z.ZodString;
@@ -283,6 +285,7 @@ export declare const FdoThEInvoiceSubmission: z.ZodObject<{
283
285
  queryToken?: string | null | undefined;
284
286
  branchCode?: string | null | undefined;
285
287
  accessToken?: string | null | undefined;
288
+ eTaxImage?: string | null | undefined;
286
289
  type: "restaurant";
287
290
  name: string;
288
291
  _id: string;
@@ -306,6 +309,7 @@ export declare const FdoThEInvoiceSubmission: z.ZodObject<{
306
309
  queryToken?: string | null | undefined;
307
310
  branchCode?: string | null | undefined;
308
311
  accessToken?: string | null | undefined;
312
+ eTaxImage?: string | null | undefined;
309
313
  type: "restaurant";
310
314
  name: string;
311
315
  _id: string;
@@ -362,6 +366,7 @@ export declare const FdoThEInvoiceSubmission: z.ZodObject<{
362
366
  queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
363
367
  taxRegNo: z.ZodString;
364
368
  accessToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
369
+ eTaxImage: z.ZodNullable<z.ZodOptional<z.ZodString>>;
365
370
  }>, {
366
371
  type: z.ZodLiteral<"marketing">;
367
372
  }>, "strip", z.ZodTypeAny, {
@@ -370,6 +375,7 @@ export declare const FdoThEInvoiceSubmission: z.ZodObject<{
370
375
  queryToken?: string | null | undefined;
371
376
  branchCode?: string | null | undefined;
372
377
  accessToken?: string | null | undefined;
378
+ eTaxImage?: string | null | undefined;
373
379
  type: "marketing";
374
380
  name: string;
375
381
  _id: string;
@@ -392,6 +398,7 @@ export declare const FdoThEInvoiceSubmission: z.ZodObject<{
392
398
  queryToken?: string | null | undefined;
393
399
  branchCode?: string | null | undefined;
394
400
  accessToken?: string | null | undefined;
401
+ eTaxImage?: string | null | undefined;
395
402
  type: "marketing";
396
403
  name: string;
397
404
  _id: string;
@@ -643,6 +650,7 @@ export declare const FdoThEInvoiceSubmission: z.ZodObject<{
643
650
  precision: number;
644
651
  };
645
652
  }>;
653
+ status: z.ZodEnum<["InProgress", "Valid", "Invalid"]>;
646
654
  updatedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
647
655
  req: z.ZodAny;
648
656
  res: z.ZodAny;
@@ -651,7 +659,9 @@ export declare const FdoThEInvoiceSubmission: z.ZodObject<{
651
659
  updatedAt?: string | null | undefined;
652
660
  req?: any;
653
661
  res?: any;
662
+ status: "Valid" | "Invalid" | "InProgress";
654
663
  _id: string;
664
+ ref: string;
655
665
  submissionUid: string;
656
666
  submissionDate: string;
657
667
  merchant: {
@@ -660,6 +670,7 @@ export declare const FdoThEInvoiceSubmission: z.ZodObject<{
660
670
  queryToken?: string | null | undefined;
661
671
  branchCode?: string | null | undefined;
662
672
  accessToken?: string | null | undefined;
673
+ eTaxImage?: string | null | undefined;
663
674
  type: "restaurant";
664
675
  name: string;
665
676
  _id: string;
@@ -683,6 +694,7 @@ export declare const FdoThEInvoiceSubmission: z.ZodObject<{
683
694
  queryToken?: string | null | undefined;
684
695
  branchCode?: string | null | undefined;
685
696
  accessToken?: string | null | undefined;
697
+ eTaxImage?: string | null | undefined;
686
698
  type: "marketing";
687
699
  name: string;
688
700
  _id: string;
@@ -762,7 +774,9 @@ export declare const FdoThEInvoiceSubmission: z.ZodObject<{
762
774
  updatedAt?: string | null | undefined;
763
775
  req?: any;
764
776
  res?: any;
777
+ status: "Valid" | "Invalid" | "InProgress";
765
778
  _id: string;
779
+ ref: string;
766
780
  submissionUid: string;
767
781
  submissionDate: string;
768
782
  merchant: {
@@ -771,6 +785,7 @@ export declare const FdoThEInvoiceSubmission: z.ZodObject<{
771
785
  queryToken?: string | null | undefined;
772
786
  branchCode?: string | null | undefined;
773
787
  accessToken?: string | null | undefined;
788
+ eTaxImage?: string | null | undefined;
774
789
  type: "restaurant";
775
790
  name: string;
776
791
  _id: string;
@@ -794,6 +809,7 @@ export declare const FdoThEInvoiceSubmission: z.ZodObject<{
794
809
  queryToken?: string | null | undefined;
795
810
  branchCode?: string | null | undefined;
796
811
  accessToken?: string | null | undefined;
812
+ eTaxImage?: string | null | undefined;
797
813
  type: "marketing";
798
814
  name: string;
799
815
  _id: string;
@@ -0,0 +1,3 @@
1
+ import { z } from "zod";
2
+ export declare const F_TH_EINVOICE_SUBMISSION_STATUS: z.ZodEnum<["InProgress", "Valid", "Invalid"]>;
3
+ export type F_TH_EINVOICE_SUBMISSION_STATUS = z.infer<typeof F_TH_EINVOICE_SUBMISSION_STATUS>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-e-invoice",
3
- "version": "0.0.70",
3
+ "version": "0.0.72",
4
4
  "files": [
5
5
  "dist"
6
6
  ],