@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 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,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -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
@@ -0,0 +1,2 @@
1
+ export { default as FmApp } from "./App.vue";
2
+ export { routers } from "@/router/shared";