@feedmepos/mf-e-invoice 0.0.4
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/README.md +31 -0
- package/dist/App.vue.d.ts +2 -0
- package/dist/Entry.vue.d.ts +2 -0
- package/dist/api/index.d.ts +30 -0
- package/dist/app.d.ts +2 -0
- package/dist/assets/EInvoice-DF6d2uj1.js +32 -0
- package/dist/assets/index-BUvjBHxd.css +1 -0
- package/dist/assets/index-HMSohM07.js +716 -0
- package/dist/data.d.ts +3 -0
- package/dist/favicon.ico +0 -0
- package/dist/index.html +21 -0
- package/dist/main.d.ts +2 -0
- package/dist/router/index.d.ts +2 -0
- package/dist/router/shared.d.ts +5 -0
- package/dist/store/index.d.ts +65 -0
- package/dist/tsconfig.app.tsbuildinfo +1 -0
- package/dist/types.d.ts +19 -0
- package/dist/views/EInvoice.vue.d.ts +2 -0
- package/dist/views/EInvoiceDialog.vue.d.ts +5 -0
- package/dist/views/EInvoiceItemSettingsDialog.vue.d.ts +21 -0
- package/dist/views/EInvoiceSettingDialog.vue.d.ts +12 -0
- package/dist/views/EInvoiceSubmission.vue.d.ts +274 -0
- package/package.json +73 -0
package/README.md
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# @feedmepos/mf-e-invoice
|
|
2
|
+
|
|
3
|
+
# mf-e-invoice
|
|
4
|
+
|
|
5
|
+
This project was scaffolded using [create-mf-app]. It includes Vue 3, Vite, TypeScript, Vue Router, Pinia, Feedme UI Library, and Tailwind CSS.
|
|
6
|
+
|
|
7
|
+
## Project Setup
|
|
8
|
+
|
|
9
|
+
To get started with the project, run the following commands:
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
pnpm install
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
### Compile and Hot-Reload for Development
|
|
16
|
+
|
|
17
|
+
```sh
|
|
18
|
+
pnpm dev
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
### Type-Check, Compile and Minify for Production
|
|
22
|
+
|
|
23
|
+
```sh
|
|
24
|
+
pnpm build
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
### Lint with [ESLint](https://eslint.org/)
|
|
28
|
+
|
|
29
|
+
```sh
|
|
30
|
+
pnpm lint
|
|
31
|
+
```
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { FdoEInvoiceMarketingProfile, FdoEInvoiceMerchantProfile, FdoEInvoiceRestaurantProfile, FdoEInvoiceSetting, FdoEInvoiceSubmission } from '@feedmepos/core/entity';
|
|
2
|
+
import type { FdoMenuV4 } from '@feedmepos/menu/entity';
|
|
3
|
+
export declare const api: {
|
|
4
|
+
getRestaurantProfile: typeof getRestaurantProfile;
|
|
5
|
+
getMarketingProfile: typeof getMarketingProfile;
|
|
6
|
+
createProfile: typeof createProfile;
|
|
7
|
+
updateProfile: typeof updateProfile;
|
|
8
|
+
getSettings: typeof getSettings;
|
|
9
|
+
updateSettings: typeof updateSettings;
|
|
10
|
+
getSubmissions: typeof getSubmissions;
|
|
11
|
+
getBusinessMenu: typeof getBusinessMenu;
|
|
12
|
+
};
|
|
13
|
+
declare function getRestaurantProfile(restaurantId: string, custom?: CustomApiConfig): Promise<FdoEInvoiceRestaurantProfile | null>;
|
|
14
|
+
declare function getMarketingProfile(businessId: string, custom?: CustomApiConfig): Promise<FdoEInvoiceMarketingProfile | null>;
|
|
15
|
+
declare function createProfile(profile: FdoEInvoiceMerchantProfile, custom?: CustomApiConfig): Promise<any>;
|
|
16
|
+
declare function updateProfile(profile: FdoEInvoiceMerchantProfile, custom?: CustomApiConfig): Promise<any>;
|
|
17
|
+
declare function getSettings(businessId: string, custom?: CustomApiConfig): Promise<FdoEInvoiceSetting>;
|
|
18
|
+
declare function updateSettings(settings: FdoEInvoiceSetting, custom?: CustomApiConfig): Promise<FdoEInvoiceSetting>;
|
|
19
|
+
declare function getSubmissions(merchantId: string, filter: {
|
|
20
|
+
start: string;
|
|
21
|
+
end: string;
|
|
22
|
+
}, custom?: CustomApiConfig): Promise<FdoEInvoiceSubmission[]>;
|
|
23
|
+
declare function getBusinessMenu(businessId: string, custom?: CustomApiConfig): Promise<FdoMenuV4>;
|
|
24
|
+
interface CustomApiConfig {
|
|
25
|
+
businessId?: string;
|
|
26
|
+
userToken?: string;
|
|
27
|
+
}
|
|
28
|
+
export declare function generateBackendUrl(): string;
|
|
29
|
+
export declare function generatePortalBackendUrl(): string;
|
|
30
|
+
export {};
|
package/dist/app.d.ts
ADDED