@feedmepos/mf-e-invoice 0.0.68 → 0.0.69
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.
- package/dist/{EInvoice-vYf-dUfJ.js → EInvoice-Cpl_Bojv.js} +2876 -2842
- package/dist/api/index.d.ts +2 -2
- package/dist/app.js +1 -1
- package/dist/store/index.d.ts +30 -0
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/type/thailand/e-invoice-profile.do.d.ts +27 -0
- package/dist/type/thailand/e-invoice.do.d.ts +22 -0
- package/package.json +1 -1
package/dist/api/index.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export declare const api: {
|
|
|
17
17
|
getBusinessMarketingMenu: typeof getBusinessMarketingMenu;
|
|
18
18
|
sendSubmissionEmail: typeof sendSubmissionEmail;
|
|
19
19
|
submitConsolidateInvoices: typeof submitConsolidateInvoices;
|
|
20
|
-
|
|
20
|
+
getPdfLink: typeof getPdfLink;
|
|
21
21
|
getDownloadFile: typeof getDownloadFile;
|
|
22
22
|
};
|
|
23
23
|
declare function getRestaurantProfile(restaurantId: string, custom?: CustomApiConfig): Promise<AnyEInvoiceMerchantProfile | null>;
|
|
@@ -40,7 +40,7 @@ declare function getSubmissions(merchantId: string, filter: {
|
|
|
40
40
|
}, custom?: CustomApiConfig): Promise<AnyEInvoiceSubmission[]>;
|
|
41
41
|
declare function getBusinessMenu(businessId: string, custom?: CustomApiConfig): Promise<FdtoEInvoiceItemSetting[]>;
|
|
42
42
|
declare function getBusinessMarketingMenu(businessId: string, custom?: CustomApiConfig): Promise<FdtoEInvoiceItemSetting[]>;
|
|
43
|
-
declare function
|
|
43
|
+
declare function getPdfLink({ transactionId, restaurantId, businessId, }: {
|
|
44
44
|
transactionId: string;
|
|
45
45
|
businessId: string;
|
|
46
46
|
restaurantId: string;
|
package/dist/app.js
CHANGED
package/dist/store/index.d.ts
CHANGED
|
@@ -54,6 +54,7 @@ export declare const useStore: import("pinia").StoreDefinition<"mf-e-invoice-app
|
|
|
54
54
|
email?: string | null | undefined;
|
|
55
55
|
queryToken?: string | null | undefined;
|
|
56
56
|
branchCode?: string | null | undefined;
|
|
57
|
+
accessToken?: string | null | undefined;
|
|
57
58
|
type: "marketing";
|
|
58
59
|
name: string;
|
|
59
60
|
_id: string;
|
|
@@ -126,6 +127,7 @@ export declare const useStore: import("pinia").StoreDefinition<"mf-e-invoice-app
|
|
|
126
127
|
msicCode: string;
|
|
127
128
|
sstRegNo: string;
|
|
128
129
|
branchCode?: string | null | undefined;
|
|
130
|
+
accessToken?: string | null | undefined;
|
|
129
131
|
taxRegNo: string;
|
|
130
132
|
} | {
|
|
131
133
|
phoneNo?: string | null | undefined;
|
|
@@ -163,6 +165,7 @@ export declare const useStore: import("pinia").StoreDefinition<"mf-e-invoice-app
|
|
|
163
165
|
email: string;
|
|
164
166
|
queryToken?: string | null | undefined;
|
|
165
167
|
branchCode?: string | null | undefined;
|
|
168
|
+
accessToken?: string | null | undefined;
|
|
166
169
|
type: "marketing";
|
|
167
170
|
name: string;
|
|
168
171
|
_id: string;
|
|
@@ -191,6 +194,7 @@ export declare const useStore: import("pinia").StoreDefinition<"mf-e-invoice-app
|
|
|
191
194
|
email: string;
|
|
192
195
|
queryToken?: string | null | undefined;
|
|
193
196
|
branchCode?: string | null | undefined;
|
|
197
|
+
accessToken?: string | null | undefined;
|
|
194
198
|
type: "marketing";
|
|
195
199
|
name: string;
|
|
196
200
|
_id: string;
|
|
@@ -278,6 +282,7 @@ export declare const useStore: import("pinia").StoreDefinition<"mf-e-invoice-app
|
|
|
278
282
|
tinNo: string;
|
|
279
283
|
email: string;
|
|
280
284
|
branchCode?: string | null | undefined;
|
|
285
|
+
accessToken?: string | null | undefined;
|
|
281
286
|
taxRegNo: string;
|
|
282
287
|
};
|
|
283
288
|
businessId: string;
|
|
@@ -321,6 +326,7 @@ export declare const useStore: import("pinia").StoreDefinition<"mf-e-invoice-app
|
|
|
321
326
|
email?: string | null | undefined;
|
|
322
327
|
queryToken?: string | null | undefined;
|
|
323
328
|
branchCode?: string | null | undefined;
|
|
329
|
+
accessToken?: string | null | undefined;
|
|
324
330
|
type: "marketing";
|
|
325
331
|
name: string;
|
|
326
332
|
_id: string;
|
|
@@ -393,6 +399,7 @@ export declare const useStore: import("pinia").StoreDefinition<"mf-e-invoice-app
|
|
|
393
399
|
msicCode: string;
|
|
394
400
|
sstRegNo: string;
|
|
395
401
|
branchCode?: string | null | undefined;
|
|
402
|
+
accessToken?: string | null | undefined;
|
|
396
403
|
taxRegNo: string;
|
|
397
404
|
} | {
|
|
398
405
|
phoneNo?: string | null | undefined;
|
|
@@ -430,6 +437,7 @@ export declare const useStore: import("pinia").StoreDefinition<"mf-e-invoice-app
|
|
|
430
437
|
email: string;
|
|
431
438
|
queryToken?: string | null | undefined;
|
|
432
439
|
branchCode?: string | null | undefined;
|
|
440
|
+
accessToken?: string | null | undefined;
|
|
433
441
|
type: "marketing";
|
|
434
442
|
name: string;
|
|
435
443
|
_id: string;
|
|
@@ -458,6 +466,7 @@ export declare const useStore: import("pinia").StoreDefinition<"mf-e-invoice-app
|
|
|
458
466
|
email: string;
|
|
459
467
|
queryToken?: string | null | undefined;
|
|
460
468
|
branchCode?: string | null | undefined;
|
|
469
|
+
accessToken?: string | null | undefined;
|
|
461
470
|
type: "marketing";
|
|
462
471
|
name: string;
|
|
463
472
|
_id: string;
|
|
@@ -545,6 +554,7 @@ export declare const useStore: import("pinia").StoreDefinition<"mf-e-invoice-app
|
|
|
545
554
|
tinNo: string;
|
|
546
555
|
email: string;
|
|
547
556
|
branchCode?: string | null | undefined;
|
|
557
|
+
accessToken?: string | null | undefined;
|
|
548
558
|
taxRegNo: string;
|
|
549
559
|
};
|
|
550
560
|
businessId: string;
|
|
@@ -665,6 +675,7 @@ export declare const useStore: import("pinia").StoreDefinition<"mf-e-invoice-app
|
|
|
665
675
|
email?: string | null | undefined;
|
|
666
676
|
queryToken?: string | null | undefined;
|
|
667
677
|
branchCode?: string | null | undefined;
|
|
678
|
+
accessToken?: string | null | undefined;
|
|
668
679
|
type: "marketing";
|
|
669
680
|
name: string;
|
|
670
681
|
_id: string;
|
|
@@ -737,6 +748,7 @@ export declare const useStore: import("pinia").StoreDefinition<"mf-e-invoice-app
|
|
|
737
748
|
msicCode: string;
|
|
738
749
|
sstRegNo: string;
|
|
739
750
|
branchCode?: string | null | undefined;
|
|
751
|
+
accessToken?: string | null | undefined;
|
|
740
752
|
taxRegNo: string;
|
|
741
753
|
} | {
|
|
742
754
|
phoneNo?: string | null | undefined;
|
|
@@ -774,6 +786,7 @@ export declare const useStore: import("pinia").StoreDefinition<"mf-e-invoice-app
|
|
|
774
786
|
email: string;
|
|
775
787
|
queryToken?: string | null | undefined;
|
|
776
788
|
branchCode?: string | null | undefined;
|
|
789
|
+
accessToken?: string | null | undefined;
|
|
777
790
|
type: "marketing";
|
|
778
791
|
name: string;
|
|
779
792
|
_id: string;
|
|
@@ -802,6 +815,7 @@ export declare const useStore: import("pinia").StoreDefinition<"mf-e-invoice-app
|
|
|
802
815
|
email: string;
|
|
803
816
|
queryToken?: string | null | undefined;
|
|
804
817
|
branchCode?: string | null | undefined;
|
|
818
|
+
accessToken?: string | null | undefined;
|
|
805
819
|
type: "marketing";
|
|
806
820
|
name: string;
|
|
807
821
|
_id: string;
|
|
@@ -889,6 +903,7 @@ export declare const useStore: import("pinia").StoreDefinition<"mf-e-invoice-app
|
|
|
889
903
|
tinNo: string;
|
|
890
904
|
email: string;
|
|
891
905
|
branchCode?: string | null | undefined;
|
|
906
|
+
accessToken?: string | null | undefined;
|
|
892
907
|
taxRegNo: string;
|
|
893
908
|
};
|
|
894
909
|
businessId: string;
|
|
@@ -932,6 +947,7 @@ export declare const useStore: import("pinia").StoreDefinition<"mf-e-invoice-app
|
|
|
932
947
|
email?: string | null | undefined;
|
|
933
948
|
queryToken?: string | null | undefined;
|
|
934
949
|
branchCode?: string | null | undefined;
|
|
950
|
+
accessToken?: string | null | undefined;
|
|
935
951
|
type: "marketing";
|
|
936
952
|
name: string;
|
|
937
953
|
_id: string;
|
|
@@ -1004,6 +1020,7 @@ export declare const useStore: import("pinia").StoreDefinition<"mf-e-invoice-app
|
|
|
1004
1020
|
msicCode: string;
|
|
1005
1021
|
sstRegNo: string;
|
|
1006
1022
|
branchCode?: string | null | undefined;
|
|
1023
|
+
accessToken?: string | null | undefined;
|
|
1007
1024
|
taxRegNo: string;
|
|
1008
1025
|
} | {
|
|
1009
1026
|
phoneNo?: string | null | undefined;
|
|
@@ -1041,6 +1058,7 @@ export declare const useStore: import("pinia").StoreDefinition<"mf-e-invoice-app
|
|
|
1041
1058
|
email: string;
|
|
1042
1059
|
queryToken?: string | null | undefined;
|
|
1043
1060
|
branchCode?: string | null | undefined;
|
|
1061
|
+
accessToken?: string | null | undefined;
|
|
1044
1062
|
type: "marketing";
|
|
1045
1063
|
name: string;
|
|
1046
1064
|
_id: string;
|
|
@@ -1069,6 +1087,7 @@ export declare const useStore: import("pinia").StoreDefinition<"mf-e-invoice-app
|
|
|
1069
1087
|
email: string;
|
|
1070
1088
|
queryToken?: string | null | undefined;
|
|
1071
1089
|
branchCode?: string | null | undefined;
|
|
1090
|
+
accessToken?: string | null | undefined;
|
|
1072
1091
|
type: "marketing";
|
|
1073
1092
|
name: string;
|
|
1074
1093
|
_id: string;
|
|
@@ -1156,6 +1175,7 @@ export declare const useStore: import("pinia").StoreDefinition<"mf-e-invoice-app
|
|
|
1156
1175
|
tinNo: string;
|
|
1157
1176
|
email: string;
|
|
1158
1177
|
branchCode?: string | null | undefined;
|
|
1178
|
+
accessToken?: string | null | undefined;
|
|
1159
1179
|
taxRegNo: string;
|
|
1160
1180
|
};
|
|
1161
1181
|
businessId: string;
|
|
@@ -1276,6 +1296,7 @@ export declare const useStore: import("pinia").StoreDefinition<"mf-e-invoice-app
|
|
|
1276
1296
|
email?: string | null | undefined;
|
|
1277
1297
|
queryToken?: string | null | undefined;
|
|
1278
1298
|
branchCode?: string | null | undefined;
|
|
1299
|
+
accessToken?: string | null | undefined;
|
|
1279
1300
|
type: "marketing";
|
|
1280
1301
|
name: string;
|
|
1281
1302
|
_id: string;
|
|
@@ -1348,6 +1369,7 @@ export declare const useStore: import("pinia").StoreDefinition<"mf-e-invoice-app
|
|
|
1348
1369
|
msicCode: string;
|
|
1349
1370
|
sstRegNo: string;
|
|
1350
1371
|
branchCode?: string | null | undefined;
|
|
1372
|
+
accessToken?: string | null | undefined;
|
|
1351
1373
|
taxRegNo: string;
|
|
1352
1374
|
} | {
|
|
1353
1375
|
phoneNo?: string | null | undefined;
|
|
@@ -1385,6 +1407,7 @@ export declare const useStore: import("pinia").StoreDefinition<"mf-e-invoice-app
|
|
|
1385
1407
|
email: string;
|
|
1386
1408
|
queryToken?: string | null | undefined;
|
|
1387
1409
|
branchCode?: string | null | undefined;
|
|
1410
|
+
accessToken?: string | null | undefined;
|
|
1388
1411
|
type: "marketing";
|
|
1389
1412
|
name: string;
|
|
1390
1413
|
_id: string;
|
|
@@ -1413,6 +1436,7 @@ export declare const useStore: import("pinia").StoreDefinition<"mf-e-invoice-app
|
|
|
1413
1436
|
email: string;
|
|
1414
1437
|
queryToken?: string | null | undefined;
|
|
1415
1438
|
branchCode?: string | null | undefined;
|
|
1439
|
+
accessToken?: string | null | undefined;
|
|
1416
1440
|
type: "marketing";
|
|
1417
1441
|
name: string;
|
|
1418
1442
|
_id: string;
|
|
@@ -1500,6 +1524,7 @@ export declare const useStore: import("pinia").StoreDefinition<"mf-e-invoice-app
|
|
|
1500
1524
|
tinNo: string;
|
|
1501
1525
|
email: string;
|
|
1502
1526
|
branchCode?: string | null | undefined;
|
|
1527
|
+
accessToken?: string | null | undefined;
|
|
1503
1528
|
taxRegNo: string;
|
|
1504
1529
|
};
|
|
1505
1530
|
businessId: string;
|
|
@@ -1543,6 +1568,7 @@ export declare const useStore: import("pinia").StoreDefinition<"mf-e-invoice-app
|
|
|
1543
1568
|
email?: string | null | undefined;
|
|
1544
1569
|
queryToken?: string | null | undefined;
|
|
1545
1570
|
branchCode?: string | null | undefined;
|
|
1571
|
+
accessToken?: string | null | undefined;
|
|
1546
1572
|
type: "marketing";
|
|
1547
1573
|
name: string;
|
|
1548
1574
|
_id: string;
|
|
@@ -1615,6 +1641,7 @@ export declare const useStore: import("pinia").StoreDefinition<"mf-e-invoice-app
|
|
|
1615
1641
|
msicCode: string;
|
|
1616
1642
|
sstRegNo: string;
|
|
1617
1643
|
branchCode?: string | null | undefined;
|
|
1644
|
+
accessToken?: string | null | undefined;
|
|
1618
1645
|
taxRegNo: string;
|
|
1619
1646
|
} | {
|
|
1620
1647
|
phoneNo?: string | null | undefined;
|
|
@@ -1652,6 +1679,7 @@ export declare const useStore: import("pinia").StoreDefinition<"mf-e-invoice-app
|
|
|
1652
1679
|
email: string;
|
|
1653
1680
|
queryToken?: string | null | undefined;
|
|
1654
1681
|
branchCode?: string | null | undefined;
|
|
1682
|
+
accessToken?: string | null | undefined;
|
|
1655
1683
|
type: "marketing";
|
|
1656
1684
|
name: string;
|
|
1657
1685
|
_id: string;
|
|
@@ -1680,6 +1708,7 @@ export declare const useStore: import("pinia").StoreDefinition<"mf-e-invoice-app
|
|
|
1680
1708
|
email: string;
|
|
1681
1709
|
queryToken?: string | null | undefined;
|
|
1682
1710
|
branchCode?: string | null | undefined;
|
|
1711
|
+
accessToken?: string | null | undefined;
|
|
1683
1712
|
type: "marketing";
|
|
1684
1713
|
name: string;
|
|
1685
1714
|
_id: string;
|
|
@@ -1767,6 +1796,7 @@ export declare const useStore: import("pinia").StoreDefinition<"mf-e-invoice-app
|
|
|
1767
1796
|
tinNo: string;
|
|
1768
1797
|
email: string;
|
|
1769
1798
|
branchCode?: string | null | undefined;
|
|
1799
|
+
accessToken?: string | null | undefined;
|
|
1770
1800
|
taxRegNo: string;
|
|
1771
1801
|
};
|
|
1772
1802
|
businessId: string;
|