@feedmepos/mf-e-invoice 0.0.39 → 0.0.40-prod
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-BFxF9IT4.js → EInvoice-T-RmYKjp.js} +20866 -20734
- package/dist/app.js +1 -1
- package/dist/{index.es-viiXSAfM.js → index.es-CHYHn3Sq.js} +11 -7
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/views/manager/manager.d.ts +5 -1
- package/dist/views/manager/vietnam/VietnamItemSettingsDialog.vue.d.ts +21 -0
- package/dist/views/manager/vietnam/VietnamProfileDialog.vue.d.ts +16 -0
- package/dist/views/manager/vietnam/VietnamSettingDialog.vue.d.ts +5 -0
- package/dist/views/manager/vietnam/data.d.ts +11 -0
- package/dist/views/manager/vietnam/submission.d.ts +4 -0
- package/dist/views/manager/vietnam/submission.test.d.ts +1 -0
- package/dist/views/manager/vietnam/vietnam.d.ts +13 -0
- package/package.json +1 -1
|
@@ -15,7 +15,11 @@ export type SubmissionDocument = {
|
|
|
15
15
|
bills?: Field[][];
|
|
16
16
|
};
|
|
17
17
|
export type Submission = {
|
|
18
|
-
raw: FdoMyEInvoiceSubmission | FdoThEInvoiceSubmission
|
|
18
|
+
raw: FdoMyEInvoiceSubmission | FdoThEInvoiceSubmission | (FdoMyEInvoiceSubmission & {
|
|
19
|
+
appid: string;
|
|
20
|
+
username: string;
|
|
21
|
+
password: string;
|
|
22
|
+
});
|
|
19
23
|
submissionSummary: Field[];
|
|
20
24
|
submissionDetails: Field[];
|
|
21
25
|
merchant: Field[];
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { FdoMyEInvoiceItemInfo } from "@feedmepos/core/entity";
|
|
2
|
+
export interface ItemOption {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
exempted: boolean;
|
|
6
|
+
}
|
|
7
|
+
declare function showDialog(initialValue: Record<string, FdoMyEInvoiceItemInfo>, options: ItemOption[]): void;
|
|
8
|
+
declare function hideDialog(): void;
|
|
9
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
|
10
|
+
show: typeof showDialog;
|
|
11
|
+
hide: typeof hideDialog;
|
|
12
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
onComplete: (items: Record<string, {
|
|
14
|
+
taxExemptionReason?: string | null | undefined;
|
|
15
|
+
}>) => void;
|
|
16
|
+
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
17
|
+
onOnComplete?: ((items: Record<string, {
|
|
18
|
+
taxExemptionReason?: string | null | undefined;
|
|
19
|
+
}>) => any) | undefined;
|
|
20
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type FdoMyEInvoiceMerchantProfile } from "@feedmepos/core/entity";
|
|
2
|
+
declare function showDialog(initialValue: FdoMyEInvoiceMerchantProfile & {
|
|
3
|
+
appid: string;
|
|
4
|
+
username: string;
|
|
5
|
+
password: string;
|
|
6
|
+
}): void;
|
|
7
|
+
declare function hideDialog(): void;
|
|
8
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
|
9
|
+
show: typeof showDialog;
|
|
10
|
+
hide: typeof hideDialog;
|
|
11
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
+
onCompleted: () => void;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
14
|
+
onOnCompleted?: (() => any) | undefined;
|
|
15
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
+
show: () => void;
|
|
3
|
+
hide: () => void;
|
|
4
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { FdoMyEInvoiceMarketingProfile, FdoMyEInvoiceRestaurantProfile, FdoRestaurant, FdoStoreOption } from "@feedmepos/core/entity";
|
|
2
|
+
export declare function initVietnamRestaurantProfile(restaurant: FdoRestaurant): FdoMyEInvoiceRestaurantProfile & {
|
|
3
|
+
appid: string;
|
|
4
|
+
username: string;
|
|
5
|
+
password: string;
|
|
6
|
+
};
|
|
7
|
+
export declare function initVietnamMarketingProfile(businessId: string, store?: FdoStoreOption): FdoMyEInvoiceMarketingProfile & {
|
|
8
|
+
appid: string;
|
|
9
|
+
username: string;
|
|
10
|
+
password: string;
|
|
11
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type Submission, type SubmissionDocument } from "../manager";
|
|
2
|
+
export declare function formatVietnamSubmission(submission: any): Submission;
|
|
3
|
+
export declare function formatDocument(submission: any): SubmissionDocument;
|
|
4
|
+
export declare function convertToCSV(submission: Submission): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FdoMyEInvoiceMarketingProfile, FdoMyEInvoiceRestaurantProfile, type FdoMyEInvoiceSubmission, FdoRestaurant, FdoStoreOption } from "@feedmepos/core/entity";
|
|
2
|
+
import { EInvoiceManager, type Submission } from "../manager";
|
|
3
|
+
declare class VietnamManager extends EInvoiceManager {
|
|
4
|
+
get settingDialogComponent(): import("vue").DefineComponent<{}, {
|
|
5
|
+
show: () => void;
|
|
6
|
+
hide: () => void;
|
|
7
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
8
|
+
formatSubmission(submission: FdoMyEInvoiceSubmission): Submission;
|
|
9
|
+
initRestaurantProfile(restaurant: FdoRestaurant): FdoMyEInvoiceRestaurantProfile;
|
|
10
|
+
initMarketingProfile(businessId: string, store?: FdoStoreOption): FdoMyEInvoiceMarketingProfile;
|
|
11
|
+
}
|
|
12
|
+
export declare const vietnamManager: VietnamManager;
|
|
13
|
+
export {};
|