@feedmepos/mf-e-invoice 0.0.65 → 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.
- package/dist/{EInvoice-B9lJ3ijP.js → EInvoice-vYf-dUfJ.js} +2100 -2086
- package/dist/api/index.d.ts +1 -2
- package/dist/app.js +1 -1
- package/dist/store/index.d.ts +457 -445
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/type/index.d.ts +2 -0
- package/dist/type/malaysia/components/accounting-party.dto.d.ts +625 -0
- package/dist/type/malaysia/components/allowance.dto.d.ts +33 -0
- package/dist/type/malaysia/components/billing.dto.d.ts +198 -0
- package/dist/type/malaysia/components/invoice-line.dto.d.ts +601 -0
- package/dist/type/malaysia/components/payment.dto.d.ts +38 -0
- package/dist/type/malaysia/components/signature.dto.d.ts +8988 -0
- package/dist/type/malaysia/components/tax.dto.d.ts +410 -0
- package/dist/type/malaysia/e-invoice-profile.do.d.ts +1756 -0
- package/dist/type/malaysia/e-invoice.do.d.ts +4808 -0
- package/dist/type/malaysia/e-invoice.dto.d.ts +5146 -0
- package/dist/type/malaysia/e-invoice.enum.d.ts +5 -0
- package/dist/type/malaysia/index.d.ts +11 -0
- package/dist/type/profile/e-invoice-base-profile.do.d.ts +136 -0
- package/dist/type/profile/e-invoice-profile.enum.d.ts +7 -0
- package/dist/type/profile/e-invoice.enum.d.ts +9 -0
- package/dist/type/report-invoice.dto.d.ts +123 -0
- package/dist/type/thailand/e-invoice-profile.do.d.ts +155 -128
- package/dist/type/thailand/e-invoice.do.d.ts +120 -110
- package/dist/type/thailand/e-invoice.dto.d.ts +76 -76
- package/dist/type/vietnam/e-invoice-profile.do.d.ts +108 -108
- package/dist/type/vietnam/e-invoice.do.d.ts +56 -56
- package/dist/type/vietnam/e-invoice.dto.d.ts +13 -13
- package/dist/types.d.ts +2 -3
- package/dist/views/EInvoiceCopyDialog.vue.d.ts +3 -56
- package/dist/views/manager/malaysia/MalaysiaItemSettingsDialog.vue.d.ts +1 -1
- package/dist/views/manager/malaysia/MalaysiaProfileDialog.vue.d.ts +1 -1
- package/dist/views/manager/malaysia/data.d.ts +2 -1
- package/dist/views/manager/malaysia/malaysia.d.ts +2 -1
- package/dist/views/manager/manager.d.ts +2 -2
- package/dist/views/manager/thailand/thailand.d.ts +2 -2
- package/dist/views/manager/vietnam/VietnamItemSettingsDialog.vue.d.ts +2 -2
- package/dist/views/submission.d.ts +2 -1
- package/package.json +1 -1
|
@@ -44,7 +44,6 @@ export declare const FdoVnEInvoiceSubmissionCustomer: z.ZodDiscriminatedUnion<"t
|
|
|
44
44
|
nickname?: string | null | undefined;
|
|
45
45
|
userId?: string | null | undefined;
|
|
46
46
|
taxCode?: string | null | undefined;
|
|
47
|
-
email: string;
|
|
48
47
|
type: "individual";
|
|
49
48
|
name: string;
|
|
50
49
|
phoneNumber: string;
|
|
@@ -57,13 +56,13 @@ export declare const FdoVnEInvoiceSubmissionCustomer: z.ZodDiscriminatedUnion<"t
|
|
|
57
56
|
city: string;
|
|
58
57
|
postcode: string;
|
|
59
58
|
};
|
|
60
|
-
|
|
59
|
+
email: string;
|
|
61
60
|
identityNo: string;
|
|
61
|
+
legalName: string;
|
|
62
62
|
}, {
|
|
63
63
|
nickname?: string | null | undefined;
|
|
64
64
|
userId?: string | null | undefined;
|
|
65
65
|
taxCode?: string | null | undefined;
|
|
66
|
-
email: string;
|
|
67
66
|
type: "individual";
|
|
68
67
|
name: string;
|
|
69
68
|
phoneNumber: string;
|
|
@@ -76,8 +75,9 @@ export declare const FdoVnEInvoiceSubmissionCustomer: z.ZodDiscriminatedUnion<"t
|
|
|
76
75
|
city: string;
|
|
77
76
|
postcode: string;
|
|
78
77
|
};
|
|
79
|
-
|
|
78
|
+
email: string;
|
|
80
79
|
identityNo: string;
|
|
80
|
+
legalName: string;
|
|
81
81
|
}> | z.ZodObject<z.extendShape<Omit<z.extendShape<z.extendShape<{
|
|
82
82
|
_id: z.ZodEffects<z.ZodString, string, string>;
|
|
83
83
|
type: z.ZodEnum<["individual", "company"]>;
|
|
@@ -123,7 +123,6 @@ export declare const FdoVnEInvoiceSubmissionCustomer: z.ZodDiscriminatedUnion<"t
|
|
|
123
123
|
nickname?: string | null | undefined;
|
|
124
124
|
userId?: string | null | undefined;
|
|
125
125
|
identityNo?: string | null | undefined;
|
|
126
|
-
email: string;
|
|
127
126
|
type: "company";
|
|
128
127
|
name: string;
|
|
129
128
|
phoneNumber: string;
|
|
@@ -136,13 +135,13 @@ export declare const FdoVnEInvoiceSubmissionCustomer: z.ZodDiscriminatedUnion<"t
|
|
|
136
135
|
city: string;
|
|
137
136
|
postcode: string;
|
|
138
137
|
};
|
|
138
|
+
email: string;
|
|
139
139
|
legalName: string;
|
|
140
140
|
taxCode: string;
|
|
141
141
|
}, {
|
|
142
142
|
nickname?: string | null | undefined;
|
|
143
143
|
userId?: string | null | undefined;
|
|
144
144
|
identityNo?: string | null | undefined;
|
|
145
|
-
email: string;
|
|
146
145
|
type: "company";
|
|
147
146
|
name: string;
|
|
148
147
|
phoneNumber: string;
|
|
@@ -155,6 +154,7 @@ export declare const FdoVnEInvoiceSubmissionCustomer: z.ZodDiscriminatedUnion<"t
|
|
|
155
154
|
city: string;
|
|
156
155
|
postcode: string;
|
|
157
156
|
};
|
|
157
|
+
email: string;
|
|
158
158
|
legalName: string;
|
|
159
159
|
taxCode: string;
|
|
160
160
|
}>>;
|
|
@@ -222,23 +222,21 @@ export declare const FdoVnEInvoiceSubmission: z.ZodObject<{
|
|
|
222
222
|
templateId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
223
223
|
isDev: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
224
224
|
}>, "strip", z.ZodTypeAny, {
|
|
225
|
-
queryToken?: string | null | undefined;
|
|
226
225
|
phoneNo?: string | null | undefined;
|
|
227
226
|
active?: string | null | undefined;
|
|
228
227
|
schedule?: {
|
|
229
228
|
day: number;
|
|
230
229
|
hour: number;
|
|
231
230
|
} | null | undefined;
|
|
231
|
+
queryToken?: string | null | undefined;
|
|
232
232
|
appid?: string | null | undefined;
|
|
233
233
|
username?: string | null | undefined;
|
|
234
234
|
password?: string | null | undefined;
|
|
235
235
|
templateId?: string | null | undefined;
|
|
236
236
|
isDev?: boolean | null | undefined;
|
|
237
|
-
email: string;
|
|
238
|
-
tinNo: string;
|
|
239
|
-
_id: string;
|
|
240
237
|
type: "restaurant";
|
|
241
238
|
name: string;
|
|
239
|
+
_id: string;
|
|
242
240
|
address: {
|
|
243
241
|
coordinates?: number[] | null | undefined;
|
|
244
242
|
line2?: string | null | undefined;
|
|
@@ -250,25 +248,25 @@ export declare const FdoVnEInvoiceSubmission: z.ZodObject<{
|
|
|
250
248
|
};
|
|
251
249
|
businessId: string;
|
|
252
250
|
regNo: string;
|
|
251
|
+
tinNo: string;
|
|
252
|
+
email: string;
|
|
253
253
|
restaurantId: string;
|
|
254
254
|
}, {
|
|
255
|
-
queryToken?: string | null | undefined;
|
|
256
255
|
phoneNo?: string | null | undefined;
|
|
257
256
|
active?: string | null | undefined;
|
|
258
257
|
schedule?: {
|
|
259
258
|
day: number;
|
|
260
259
|
hour: number;
|
|
261
260
|
} | null | undefined;
|
|
261
|
+
queryToken?: string | null | undefined;
|
|
262
262
|
appid?: string | null | undefined;
|
|
263
263
|
username?: string | null | undefined;
|
|
264
264
|
password?: string | null | undefined;
|
|
265
265
|
templateId?: string | null | undefined;
|
|
266
266
|
isDev?: boolean | null | undefined;
|
|
267
|
-
email: string;
|
|
268
|
-
tinNo: string;
|
|
269
|
-
_id: string;
|
|
270
267
|
type: "restaurant";
|
|
271
268
|
name: string;
|
|
269
|
+
_id: string;
|
|
272
270
|
address: {
|
|
273
271
|
coordinates?: number[] | null | undefined;
|
|
274
272
|
line2?: string | null | undefined;
|
|
@@ -280,6 +278,8 @@ export declare const FdoVnEInvoiceSubmission: z.ZodObject<{
|
|
|
280
278
|
};
|
|
281
279
|
businessId: string;
|
|
282
280
|
regNo: string;
|
|
281
|
+
tinNo: string;
|
|
282
|
+
email: string;
|
|
283
283
|
restaurantId: string;
|
|
284
284
|
}> | z.ZodObject<z.extendShape<z.extendShape<{
|
|
285
285
|
_id: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -336,23 +336,21 @@ export declare const FdoVnEInvoiceSubmission: z.ZodObject<{
|
|
|
336
336
|
templateId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
337
337
|
isDev: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
338
338
|
}>, "strip", z.ZodTypeAny, {
|
|
339
|
-
queryToken?: string | null | undefined;
|
|
340
339
|
phoneNo?: string | null | undefined;
|
|
341
340
|
active?: string | null | undefined;
|
|
342
341
|
schedule?: {
|
|
343
342
|
day: number;
|
|
344
343
|
hour: number;
|
|
345
344
|
} | null | undefined;
|
|
345
|
+
queryToken?: string | null | undefined;
|
|
346
346
|
appid?: string | null | undefined;
|
|
347
347
|
username?: string | null | undefined;
|
|
348
348
|
password?: string | null | undefined;
|
|
349
349
|
templateId?: string | null | undefined;
|
|
350
350
|
isDev?: boolean | null | undefined;
|
|
351
|
-
email: string;
|
|
352
|
-
tinNo: string;
|
|
353
|
-
_id: string;
|
|
354
351
|
type: "marketing";
|
|
355
352
|
name: string;
|
|
353
|
+
_id: string;
|
|
356
354
|
address: {
|
|
357
355
|
coordinates?: number[] | null | undefined;
|
|
358
356
|
line2?: string | null | undefined;
|
|
@@ -364,24 +362,24 @@ export declare const FdoVnEInvoiceSubmission: z.ZodObject<{
|
|
|
364
362
|
};
|
|
365
363
|
businessId: string;
|
|
366
364
|
regNo: string;
|
|
365
|
+
tinNo: string;
|
|
366
|
+
email: string;
|
|
367
367
|
}, {
|
|
368
|
-
queryToken?: string | null | undefined;
|
|
369
368
|
phoneNo?: string | null | undefined;
|
|
370
369
|
active?: string | null | undefined;
|
|
371
370
|
schedule?: {
|
|
372
371
|
day: number;
|
|
373
372
|
hour: number;
|
|
374
373
|
} | null | undefined;
|
|
374
|
+
queryToken?: string | null | undefined;
|
|
375
375
|
appid?: string | null | undefined;
|
|
376
376
|
username?: string | null | undefined;
|
|
377
377
|
password?: string | null | undefined;
|
|
378
378
|
templateId?: string | null | undefined;
|
|
379
379
|
isDev?: boolean | null | undefined;
|
|
380
|
-
email: string;
|
|
381
|
-
tinNo: string;
|
|
382
|
-
_id: string;
|
|
383
380
|
type: "marketing";
|
|
384
381
|
name: string;
|
|
382
|
+
_id: string;
|
|
385
383
|
address: {
|
|
386
384
|
coordinates?: number[] | null | undefined;
|
|
387
385
|
line2?: string | null | undefined;
|
|
@@ -393,6 +391,8 @@ export declare const FdoVnEInvoiceSubmission: z.ZodObject<{
|
|
|
393
391
|
};
|
|
394
392
|
businessId: string;
|
|
395
393
|
regNo: string;
|
|
394
|
+
tinNo: string;
|
|
395
|
+
email: string;
|
|
396
396
|
}>>;
|
|
397
397
|
customer: z.ZodNullable<z.ZodOptional<z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<z.extendShape<Omit<z.extendShape<z.extendShape<{
|
|
398
398
|
_id: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -439,7 +439,6 @@ export declare const FdoVnEInvoiceSubmission: z.ZodObject<{
|
|
|
439
439
|
nickname?: string | null | undefined;
|
|
440
440
|
userId?: string | null | undefined;
|
|
441
441
|
taxCode?: string | null | undefined;
|
|
442
|
-
email: string;
|
|
443
442
|
type: "individual";
|
|
444
443
|
name: string;
|
|
445
444
|
phoneNumber: string;
|
|
@@ -452,13 +451,13 @@ export declare const FdoVnEInvoiceSubmission: z.ZodObject<{
|
|
|
452
451
|
city: string;
|
|
453
452
|
postcode: string;
|
|
454
453
|
};
|
|
455
|
-
|
|
454
|
+
email: string;
|
|
456
455
|
identityNo: string;
|
|
456
|
+
legalName: string;
|
|
457
457
|
}, {
|
|
458
458
|
nickname?: string | null | undefined;
|
|
459
459
|
userId?: string | null | undefined;
|
|
460
460
|
taxCode?: string | null | undefined;
|
|
461
|
-
email: string;
|
|
462
461
|
type: "individual";
|
|
463
462
|
name: string;
|
|
464
463
|
phoneNumber: string;
|
|
@@ -471,8 +470,9 @@ export declare const FdoVnEInvoiceSubmission: z.ZodObject<{
|
|
|
471
470
|
city: string;
|
|
472
471
|
postcode: string;
|
|
473
472
|
};
|
|
474
|
-
|
|
473
|
+
email: string;
|
|
475
474
|
identityNo: string;
|
|
475
|
+
legalName: string;
|
|
476
476
|
}> | z.ZodObject<z.extendShape<Omit<z.extendShape<z.extendShape<{
|
|
477
477
|
_id: z.ZodEffects<z.ZodString, string, string>;
|
|
478
478
|
type: z.ZodEnum<["individual", "company"]>;
|
|
@@ -518,7 +518,6 @@ export declare const FdoVnEInvoiceSubmission: z.ZodObject<{
|
|
|
518
518
|
nickname?: string | null | undefined;
|
|
519
519
|
userId?: string | null | undefined;
|
|
520
520
|
identityNo?: string | null | undefined;
|
|
521
|
-
email: string;
|
|
522
521
|
type: "company";
|
|
523
522
|
name: string;
|
|
524
523
|
phoneNumber: string;
|
|
@@ -531,13 +530,13 @@ export declare const FdoVnEInvoiceSubmission: z.ZodObject<{
|
|
|
531
530
|
city: string;
|
|
532
531
|
postcode: string;
|
|
533
532
|
};
|
|
533
|
+
email: string;
|
|
534
534
|
legalName: string;
|
|
535
535
|
taxCode: string;
|
|
536
536
|
}, {
|
|
537
537
|
nickname?: string | null | undefined;
|
|
538
538
|
userId?: string | null | undefined;
|
|
539
539
|
identityNo?: string | null | undefined;
|
|
540
|
-
email: string;
|
|
541
540
|
type: "company";
|
|
542
541
|
name: string;
|
|
543
542
|
phoneNumber: string;
|
|
@@ -550,6 +549,7 @@ export declare const FdoVnEInvoiceSubmission: z.ZodObject<{
|
|
|
550
549
|
city: string;
|
|
551
550
|
postcode: string;
|
|
552
551
|
};
|
|
552
|
+
email: string;
|
|
553
553
|
legalName: string;
|
|
554
554
|
taxCode: string;
|
|
555
555
|
}>>>>;
|
|
@@ -560,7 +560,6 @@ export declare const FdoVnEInvoiceSubmission: z.ZodObject<{
|
|
|
560
560
|
nickname?: string | null | undefined;
|
|
561
561
|
userId?: string | null | undefined;
|
|
562
562
|
taxCode?: string | null | undefined;
|
|
563
|
-
email: string;
|
|
564
563
|
type: "individual";
|
|
565
564
|
name: string;
|
|
566
565
|
phoneNumber: string;
|
|
@@ -573,13 +572,13 @@ export declare const FdoVnEInvoiceSubmission: z.ZodObject<{
|
|
|
573
572
|
city: string;
|
|
574
573
|
postcode: string;
|
|
575
574
|
};
|
|
576
|
-
|
|
575
|
+
email: string;
|
|
577
576
|
identityNo: string;
|
|
577
|
+
legalName: string;
|
|
578
578
|
} | {
|
|
579
579
|
nickname?: string | null | undefined;
|
|
580
580
|
userId?: string | null | undefined;
|
|
581
581
|
identityNo?: string | null | undefined;
|
|
582
|
-
email: string;
|
|
583
582
|
type: "company";
|
|
584
583
|
name: string;
|
|
585
584
|
phoneNumber: string;
|
|
@@ -592,33 +591,34 @@ export declare const FdoVnEInvoiceSubmission: z.ZodObject<{
|
|
|
592
591
|
city: string;
|
|
593
592
|
postcode: string;
|
|
594
593
|
};
|
|
594
|
+
email: string;
|
|
595
595
|
legalName: string;
|
|
596
596
|
taxCode: string;
|
|
597
597
|
} | null | undefined;
|
|
598
598
|
invoice?: any;
|
|
599
599
|
req?: any;
|
|
600
600
|
res?: any;
|
|
601
|
+
status: "Valid" | "Invalid" | "InProgress" | "ReadyToSubmit";
|
|
601
602
|
_id: string;
|
|
602
|
-
|
|
603
|
+
ref: string;
|
|
604
|
+
submissionUid: string;
|
|
603
605
|
submissionDate: string;
|
|
604
606
|
merchant: {
|
|
605
|
-
queryToken?: string | null | undefined;
|
|
606
607
|
phoneNo?: string | null | undefined;
|
|
607
608
|
active?: string | null | undefined;
|
|
608
609
|
schedule?: {
|
|
609
610
|
day: number;
|
|
610
611
|
hour: number;
|
|
611
612
|
} | null | undefined;
|
|
613
|
+
queryToken?: string | null | undefined;
|
|
612
614
|
appid?: string | null | undefined;
|
|
613
615
|
username?: string | null | undefined;
|
|
614
616
|
password?: string | null | undefined;
|
|
615
617
|
templateId?: string | null | undefined;
|
|
616
618
|
isDev?: boolean | null | undefined;
|
|
617
|
-
email: string;
|
|
618
|
-
tinNo: string;
|
|
619
|
-
_id: string;
|
|
620
619
|
type: "restaurant";
|
|
621
620
|
name: string;
|
|
621
|
+
_id: string;
|
|
622
622
|
address: {
|
|
623
623
|
coordinates?: number[] | null | undefined;
|
|
624
624
|
line2?: string | null | undefined;
|
|
@@ -630,25 +630,25 @@ export declare const FdoVnEInvoiceSubmission: z.ZodObject<{
|
|
|
630
630
|
};
|
|
631
631
|
businessId: string;
|
|
632
632
|
regNo: string;
|
|
633
|
+
tinNo: string;
|
|
634
|
+
email: string;
|
|
633
635
|
restaurantId: string;
|
|
634
636
|
} | {
|
|
635
|
-
queryToken?: string | null | undefined;
|
|
636
637
|
phoneNo?: string | null | undefined;
|
|
637
638
|
active?: string | null | undefined;
|
|
638
639
|
schedule?: {
|
|
639
640
|
day: number;
|
|
640
641
|
hour: number;
|
|
641
642
|
} | null | undefined;
|
|
643
|
+
queryToken?: string | null | undefined;
|
|
642
644
|
appid?: string | null | undefined;
|
|
643
645
|
username?: string | null | undefined;
|
|
644
646
|
password?: string | null | undefined;
|
|
645
647
|
templateId?: string | null | undefined;
|
|
646
648
|
isDev?: boolean | null | undefined;
|
|
647
|
-
email: string;
|
|
648
|
-
tinNo: string;
|
|
649
|
-
_id: string;
|
|
650
649
|
type: "marketing";
|
|
651
650
|
name: string;
|
|
651
|
+
_id: string;
|
|
652
652
|
address: {
|
|
653
653
|
coordinates?: number[] | null | undefined;
|
|
654
654
|
line2?: string | null | undefined;
|
|
@@ -660,16 +660,15 @@ export declare const FdoVnEInvoiceSubmission: z.ZodObject<{
|
|
|
660
660
|
};
|
|
661
661
|
businessId: string;
|
|
662
662
|
regNo: string;
|
|
663
|
+
tinNo: string;
|
|
664
|
+
email: string;
|
|
663
665
|
};
|
|
664
|
-
ref: string;
|
|
665
|
-
submissionUid: string;
|
|
666
666
|
readyToSubmitDate: string;
|
|
667
667
|
}, {
|
|
668
668
|
customer?: {
|
|
669
669
|
nickname?: string | null | undefined;
|
|
670
670
|
userId?: string | null | undefined;
|
|
671
671
|
taxCode?: string | null | undefined;
|
|
672
|
-
email: string;
|
|
673
672
|
type: "individual";
|
|
674
673
|
name: string;
|
|
675
674
|
phoneNumber: string;
|
|
@@ -682,13 +681,13 @@ export declare const FdoVnEInvoiceSubmission: z.ZodObject<{
|
|
|
682
681
|
city: string;
|
|
683
682
|
postcode: string;
|
|
684
683
|
};
|
|
685
|
-
|
|
684
|
+
email: string;
|
|
686
685
|
identityNo: string;
|
|
686
|
+
legalName: string;
|
|
687
687
|
} | {
|
|
688
688
|
nickname?: string | null | undefined;
|
|
689
689
|
userId?: string | null | undefined;
|
|
690
690
|
identityNo?: string | null | undefined;
|
|
691
|
-
email: string;
|
|
692
691
|
type: "company";
|
|
693
692
|
name: string;
|
|
694
693
|
phoneNumber: string;
|
|
@@ -701,33 +700,34 @@ export declare const FdoVnEInvoiceSubmission: z.ZodObject<{
|
|
|
701
700
|
city: string;
|
|
702
701
|
postcode: string;
|
|
703
702
|
};
|
|
703
|
+
email: string;
|
|
704
704
|
legalName: string;
|
|
705
705
|
taxCode: string;
|
|
706
706
|
} | null | undefined;
|
|
707
707
|
invoice?: any;
|
|
708
708
|
req?: any;
|
|
709
709
|
res?: any;
|
|
710
|
+
status: "Valid" | "Invalid" | "InProgress" | "ReadyToSubmit";
|
|
710
711
|
_id: string;
|
|
711
|
-
|
|
712
|
+
ref: string;
|
|
713
|
+
submissionUid: string;
|
|
712
714
|
submissionDate: string;
|
|
713
715
|
merchant: {
|
|
714
|
-
queryToken?: string | null | undefined;
|
|
715
716
|
phoneNo?: string | null | undefined;
|
|
716
717
|
active?: string | null | undefined;
|
|
717
718
|
schedule?: {
|
|
718
719
|
day: number;
|
|
719
720
|
hour: number;
|
|
720
721
|
} | null | undefined;
|
|
722
|
+
queryToken?: string | null | undefined;
|
|
721
723
|
appid?: string | null | undefined;
|
|
722
724
|
username?: string | null | undefined;
|
|
723
725
|
password?: string | null | undefined;
|
|
724
726
|
templateId?: string | null | undefined;
|
|
725
727
|
isDev?: boolean | null | undefined;
|
|
726
|
-
email: string;
|
|
727
|
-
tinNo: string;
|
|
728
|
-
_id: string;
|
|
729
728
|
type: "restaurant";
|
|
730
729
|
name: string;
|
|
730
|
+
_id: string;
|
|
731
731
|
address: {
|
|
732
732
|
coordinates?: number[] | null | undefined;
|
|
733
733
|
line2?: string | null | undefined;
|
|
@@ -739,25 +739,25 @@ export declare const FdoVnEInvoiceSubmission: z.ZodObject<{
|
|
|
739
739
|
};
|
|
740
740
|
businessId: string;
|
|
741
741
|
regNo: string;
|
|
742
|
+
tinNo: string;
|
|
743
|
+
email: string;
|
|
742
744
|
restaurantId: string;
|
|
743
745
|
} | {
|
|
744
|
-
queryToken?: string | null | undefined;
|
|
745
746
|
phoneNo?: string | null | undefined;
|
|
746
747
|
active?: string | null | undefined;
|
|
747
748
|
schedule?: {
|
|
748
749
|
day: number;
|
|
749
750
|
hour: number;
|
|
750
751
|
} | null | undefined;
|
|
752
|
+
queryToken?: string | null | undefined;
|
|
751
753
|
appid?: string | null | undefined;
|
|
752
754
|
username?: string | null | undefined;
|
|
753
755
|
password?: string | null | undefined;
|
|
754
756
|
templateId?: string | null | undefined;
|
|
755
757
|
isDev?: boolean | null | undefined;
|
|
756
|
-
email: string;
|
|
757
|
-
tinNo: string;
|
|
758
|
-
_id: string;
|
|
759
758
|
type: "marketing";
|
|
760
759
|
name: string;
|
|
760
|
+
_id: string;
|
|
761
761
|
address: {
|
|
762
762
|
coordinates?: number[] | null | undefined;
|
|
763
763
|
line2?: string | null | undefined;
|
|
@@ -769,9 +769,9 @@ export declare const FdoVnEInvoiceSubmission: z.ZodObject<{
|
|
|
769
769
|
};
|
|
770
770
|
businessId: string;
|
|
771
771
|
regNo: string;
|
|
772
|
+
tinNo: string;
|
|
773
|
+
email: string;
|
|
772
774
|
};
|
|
773
|
-
ref: string;
|
|
774
|
-
submissionUid: string;
|
|
775
775
|
readyToSubmitDate: string;
|
|
776
776
|
}>;
|
|
777
777
|
export type FdoVnEInvoiceSubmissionCustomer = z.infer<typeof FdoVnEInvoiceSubmissionCustomer>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { z } from
|
|
1
|
+
import { z } from "zod";
|
|
2
2
|
export declare const FdtoVnPubSubMessage: z.ZodObject<{
|
|
3
3
|
key: z.ZodString;
|
|
4
4
|
topic: z.ZodString;
|
|
@@ -83,7 +83,6 @@ export declare const FdtoVnSubmitEInvoice: z.ZodObject<{
|
|
|
83
83
|
nickname?: string | null | undefined;
|
|
84
84
|
userId?: string | null | undefined;
|
|
85
85
|
taxCode?: string | null | undefined;
|
|
86
|
-
email: string;
|
|
87
86
|
type: "individual";
|
|
88
87
|
name: string;
|
|
89
88
|
phoneNumber: string;
|
|
@@ -96,13 +95,13 @@ export declare const FdtoVnSubmitEInvoice: z.ZodObject<{
|
|
|
96
95
|
city: string;
|
|
97
96
|
postcode: string;
|
|
98
97
|
};
|
|
99
|
-
|
|
98
|
+
email: string;
|
|
100
99
|
identityNo: string;
|
|
100
|
+
legalName: string;
|
|
101
101
|
}, {
|
|
102
102
|
nickname?: string | null | undefined;
|
|
103
103
|
userId?: string | null | undefined;
|
|
104
104
|
taxCode?: string | null | undefined;
|
|
105
|
-
email: string;
|
|
106
105
|
type: "individual";
|
|
107
106
|
name: string;
|
|
108
107
|
phoneNumber: string;
|
|
@@ -115,8 +114,9 @@ export declare const FdtoVnSubmitEInvoice: z.ZodObject<{
|
|
|
115
114
|
city: string;
|
|
116
115
|
postcode: string;
|
|
117
116
|
};
|
|
118
|
-
|
|
117
|
+
email: string;
|
|
119
118
|
identityNo: string;
|
|
119
|
+
legalName: string;
|
|
120
120
|
}> | z.ZodObject<z.extendShape<Omit<z.extendShape<z.extendShape<{
|
|
121
121
|
_id: z.ZodEffects<z.ZodString, string, string>;
|
|
122
122
|
type: z.ZodEnum<["individual", "company"]>;
|
|
@@ -162,7 +162,6 @@ export declare const FdtoVnSubmitEInvoice: z.ZodObject<{
|
|
|
162
162
|
nickname?: string | null | undefined;
|
|
163
163
|
userId?: string | null | undefined;
|
|
164
164
|
identityNo?: string | null | undefined;
|
|
165
|
-
email: string;
|
|
166
165
|
type: "company";
|
|
167
166
|
name: string;
|
|
168
167
|
phoneNumber: string;
|
|
@@ -175,13 +174,13 @@ export declare const FdtoVnSubmitEInvoice: z.ZodObject<{
|
|
|
175
174
|
city: string;
|
|
176
175
|
postcode: string;
|
|
177
176
|
};
|
|
177
|
+
email: string;
|
|
178
178
|
legalName: string;
|
|
179
179
|
taxCode: string;
|
|
180
180
|
}, {
|
|
181
181
|
nickname?: string | null | undefined;
|
|
182
182
|
userId?: string | null | undefined;
|
|
183
183
|
identityNo?: string | null | undefined;
|
|
184
|
-
email: string;
|
|
185
184
|
type: "company";
|
|
186
185
|
name: string;
|
|
187
186
|
phoneNumber: string;
|
|
@@ -194,6 +193,7 @@ export declare const FdtoVnSubmitEInvoice: z.ZodObject<{
|
|
|
194
193
|
city: string;
|
|
195
194
|
postcode: string;
|
|
196
195
|
};
|
|
196
|
+
email: string;
|
|
197
197
|
legalName: string;
|
|
198
198
|
taxCode: string;
|
|
199
199
|
}>>>>;
|
|
@@ -205,7 +205,6 @@ export declare const FdtoVnSubmitEInvoice: z.ZodObject<{
|
|
|
205
205
|
nickname?: string | null | undefined;
|
|
206
206
|
userId?: string | null | undefined;
|
|
207
207
|
taxCode?: string | null | undefined;
|
|
208
|
-
email: string;
|
|
209
208
|
type: "individual";
|
|
210
209
|
name: string;
|
|
211
210
|
phoneNumber: string;
|
|
@@ -218,13 +217,13 @@ export declare const FdtoVnSubmitEInvoice: z.ZodObject<{
|
|
|
218
217
|
city: string;
|
|
219
218
|
postcode: string;
|
|
220
219
|
};
|
|
221
|
-
|
|
220
|
+
email: string;
|
|
222
221
|
identityNo: string;
|
|
222
|
+
legalName: string;
|
|
223
223
|
} | {
|
|
224
224
|
nickname?: string | null | undefined;
|
|
225
225
|
userId?: string | null | undefined;
|
|
226
226
|
identityNo?: string | null | undefined;
|
|
227
|
-
email: string;
|
|
228
227
|
type: "company";
|
|
229
228
|
name: string;
|
|
230
229
|
phoneNumber: string;
|
|
@@ -237,6 +236,7 @@ export declare const FdtoVnSubmitEInvoice: z.ZodObject<{
|
|
|
237
236
|
city: string;
|
|
238
237
|
postcode: string;
|
|
239
238
|
};
|
|
239
|
+
email: string;
|
|
240
240
|
legalName: string;
|
|
241
241
|
taxCode: string;
|
|
242
242
|
} | null | undefined;
|
|
@@ -249,7 +249,6 @@ export declare const FdtoVnSubmitEInvoice: z.ZodObject<{
|
|
|
249
249
|
nickname?: string | null | undefined;
|
|
250
250
|
userId?: string | null | undefined;
|
|
251
251
|
taxCode?: string | null | undefined;
|
|
252
|
-
email: string;
|
|
253
252
|
type: "individual";
|
|
254
253
|
name: string;
|
|
255
254
|
phoneNumber: string;
|
|
@@ -262,13 +261,13 @@ export declare const FdtoVnSubmitEInvoice: z.ZodObject<{
|
|
|
262
261
|
city: string;
|
|
263
262
|
postcode: string;
|
|
264
263
|
};
|
|
265
|
-
|
|
264
|
+
email: string;
|
|
266
265
|
identityNo: string;
|
|
266
|
+
legalName: string;
|
|
267
267
|
} | {
|
|
268
268
|
nickname?: string | null | undefined;
|
|
269
269
|
userId?: string | null | undefined;
|
|
270
270
|
identityNo?: string | null | undefined;
|
|
271
|
-
email: string;
|
|
272
271
|
type: "company";
|
|
273
272
|
name: string;
|
|
274
273
|
phoneNumber: string;
|
|
@@ -281,6 +280,7 @@ export declare const FdtoVnSubmitEInvoice: z.ZodObject<{
|
|
|
281
280
|
city: string;
|
|
282
281
|
postcode: string;
|
|
283
282
|
};
|
|
283
|
+
email: string;
|
|
284
284
|
legalName: string;
|
|
285
285
|
taxCode: string;
|
|
286
286
|
} | null | undefined;
|
package/dist/types.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
import type { FdoVnEInvoiceMarketingProfile, FdoVnEInvoiceMerchantProfile, FdoVnEInvoiceRestaurantProfile } from "./type/vietnam";
|
|
1
|
+
import type { FdoMyEInvoiceMarketingProfile, FdoMyEInvoiceMerchantProfile, FdoMyEInvoiceRestaurantProfile, FdoThEInvoiceMarketingProfile, FdoThEInvoiceMerchantProfile, FdoThEInvoiceRestaurantProfile, FdoVnEInvoiceMarketingProfile, FdoVnEInvoiceMerchantProfile, FdoVnEInvoiceRestaurantProfile } from "@/type";
|
|
2
|
+
import type { F_E_INVOICE_MERCHANT_TYPE } from "./type/profile/e-invoice-profile.enum";
|
|
4
3
|
type BaseMerchantEInvoice = {
|
|
5
4
|
id: string;
|
|
6
5
|
name: string;
|
|
@@ -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
|
-
active?: string | null | undefined;
|
|
10
|
-
phoneNo?: string | null | undefined;
|
|
11
|
-
schedule?: {
|
|
12
|
-
day: number;
|
|
13
|
-
hour: number;
|
|
14
|
-
} | null | undefined;
|
|
15
|
-
queryToken?: string | null | undefined;
|
|
16
|
-
name: string;
|
|
17
|
-
type: "restaurant";
|
|
18
|
-
address: {
|
|
19
|
-
coordinates?: number[] | null | undefined;
|
|
20
|
-
line2?: string | null | undefined;
|
|
21
|
-
state: string;
|
|
22
|
-
country: string;
|
|
23
|
-
line1: string;
|
|
24
|
-
city: string;
|
|
25
|
-
postcode: string;
|
|
26
|
-
};
|
|
27
|
-
email: string;
|
|
28
|
-
_id: string;
|
|
29
|
-
regNo: string;
|
|
30
|
-
sstRegNo: string;
|
|
31
|
-
businessId: string;
|
|
32
|
-
restaurantId: string;
|
|
33
|
-
tinNo: string;
|
|
34
|
-
msicCode: string;
|
|
35
|
-
}[]) => void;
|
|
9
|
+
onCompleted: (value: AnyEInvoiceMerchantProfile[]) => void;
|
|
36
10
|
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
37
|
-
onOnCompleted?: ((value:
|
|
38
|
-
active?: string | null | undefined;
|
|
39
|
-
phoneNo?: string | null | undefined;
|
|
40
|
-
schedule?: {
|
|
41
|
-
day: number;
|
|
42
|
-
hour: number;
|
|
43
|
-
} | null | undefined;
|
|
44
|
-
queryToken?: string | null | undefined;
|
|
45
|
-
name: string;
|
|
46
|
-
type: "restaurant";
|
|
47
|
-
address: {
|
|
48
|
-
coordinates?: number[] | null | undefined;
|
|
49
|
-
line2?: string | null | undefined;
|
|
50
|
-
state: string;
|
|
51
|
-
country: string;
|
|
52
|
-
line1: string;
|
|
53
|
-
city: string;
|
|
54
|
-
postcode: string;
|
|
55
|
-
};
|
|
56
|
-
email: string;
|
|
57
|
-
_id: string;
|
|
58
|
-
regNo: string;
|
|
59
|
-
sstRegNo: string;
|
|
60
|
-
businessId: string;
|
|
61
|
-
restaurantId: string;
|
|
62
|
-
tinNo: string;
|
|
63
|
-
msicCode: string;
|
|
64
|
-
}[]) => any) | undefined;
|
|
11
|
+
onOnCompleted?: ((value: AnyEInvoiceMerchantProfile[]) => any) | undefined;
|
|
65
12
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
66
13
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { FdoMyEInvoiceMerchantProfile } from "@/type";
|
|
2
2
|
declare function showDialog(initialValue: FdoMyEInvoiceMerchantProfile): void;
|
|
3
3
|
declare function hideDialog(): void;
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import type { FdoMyEInvoiceMarketingProfile, FdoMyEInvoiceRestaurantProfile
|
|
1
|
+
import type { FdoMyEInvoiceMarketingProfile, FdoMyEInvoiceRestaurantProfile } from "@/type";
|
|
2
|
+
import type { FdoRestaurant, FdoStoreOption } from "@feedmepos/core/entity";
|
|
2
3
|
export declare function initMalaysiaRestaurantProfile(restaurant: FdoRestaurant): FdoMyEInvoiceRestaurantProfile;
|
|
3
4
|
export declare function initMalaysiaMarketingProfile(businessId: string, store?: FdoStoreOption): FdoMyEInvoiceMarketingProfile;
|