@feedmepos/mf-e-invoice 0.0.53 → 0.0.54

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.
@@ -1,7 +1,8 @@
1
1
  import type { FdtoEInvoiceItemSetting } from "@/store";
2
- import { FdoMyEInvoiceMerchantProfile, FdoMyEInvoiceSetting, FdoMyEInvoiceSubmission, FdoThEInvoiceMerchantProfile, FdoThEInvoiceSubmission } from "@feedmepos/core/entity";
3
- export type AnyEInvoiceMerchantProfile = FdoMyEInvoiceMerchantProfile | FdoThEInvoiceMerchantProfile;
4
- export type AnyEInvoiceSubmission = FdoMyEInvoiceSubmission | FdoThEInvoiceSubmission;
2
+ import type { FdoThEInvoiceMerchantProfile, FdoThEInvoiceSubmission, FdoVnEInvoiceMerchantProfile, FdoVnEInvoiceSubmission } from "@/type";
3
+ import { FdoMyEInvoiceMerchantProfile, FdoMyEInvoiceSetting, FdoMyEInvoiceSubmission } from "@feedmepos/core/entity";
4
+ export type AnyEInvoiceMerchantProfile = FdoMyEInvoiceMerchantProfile | FdoThEInvoiceMerchantProfile | FdoVnEInvoiceMerchantProfile;
5
+ export type AnyEInvoiceSubmission = FdoMyEInvoiceSubmission | FdoThEInvoiceSubmission | FdoVnEInvoiceSubmission;
5
6
  export declare const api: {
6
7
  getRestaurantProfile: typeof getRestaurantProfile;
7
8
  getMarketingProfile: typeof getMarketingProfile;
@@ -18,6 +19,7 @@ export declare const api: {
18
19
  sendSubmissionEmail: typeof sendSubmissionEmail;
19
20
  submitConsolidateInvoices: typeof submitConsolidateInvoices;
20
21
  getVnPdfLink: typeof getVnPdfLink;
22
+ getDownloadFile: typeof getDownloadFile;
21
23
  };
22
24
  declare function getRestaurantProfile(restaurantId: string, custom?: CustomApiConfig): Promise<AnyEInvoiceMerchantProfile | null>;
23
25
  declare function getMarketingProfile(businessId: string, custom?: CustomApiConfig): Promise<AnyEInvoiceMerchantProfile | null>;
@@ -39,11 +41,12 @@ declare function getSubmissions(merchantId: string, filter: {
39
41
  }, custom?: CustomApiConfig): Promise<AnyEInvoiceSubmission[]>;
40
42
  declare function getBusinessMenu(businessId: string, custom?: CustomApiConfig): Promise<FdtoEInvoiceItemSetting[]>;
41
43
  declare function getBusinessMarketingMenu(businessId: string, custom?: CustomApiConfig): Promise<FdtoEInvoiceItemSetting[]>;
42
- declare function getVnPdfLink({ transactionId, restaurantId, businessId }: {
44
+ declare function getVnPdfLink({ transactionId, restaurantId, businessId, }: {
43
45
  transactionId: string;
44
46
  businessId: string;
45
47
  restaurantId: string;
46
48
  }): Promise<any>;
49
+ declare function getDownloadFile(data: any): Promise<any>;
47
50
  interface CustomApiConfig {
48
51
  businessId?: string;
49
52
  userToken?: string;
package/dist/app.js CHANGED
@@ -1,28 +1,28 @@
1
- import { defineComponent as n, resolveComponent as r, createBlock as m, createCommentVNode as p, unref as c, openBlock as i } from "vue";
2
- import { useCoreStore as u } from "@feedmepos/mf-common";
3
- const h = /* @__PURE__ */ n({
1
+ import { defineComponent as t, resolveComponent as n, createBlock as r, createCommentVNode as m, unref as p, openBlock as c } from "vue";
2
+ import { useCoreStore as i } from "@feedmepos/mf-common";
3
+ const B = /* @__PURE__ */ t({
4
4
  __name: "App",
5
- setup(e) {
6
- const { currentBusiness: s } = u();
5
+ setup(u) {
6
+ const { currentBusiness: o } = i();
7
7
  return (a, _) => {
8
- const t = r("RouterView");
9
- return c(s) ? (i(), m(t, { key: 0 })) : p("", !0);
8
+ const s = n("RouterView");
9
+ return p(o) ? (c(), r(s, { key: 0 })) : m("", !0);
10
10
  };
11
11
  }
12
- }), o = {
12
+ }), e = {
13
13
  submissions: "SUBMISSION"
14
- }, B = [
14
+ }, C = [
15
15
  {
16
16
  path: "/",
17
- redirect: { name: o.submissions }
17
+ redirect: { name: e.submissions }
18
18
  },
19
19
  {
20
20
  path: "/submissions",
21
- name: o.submissions,
22
- component: () => import("./EInvoice-El02J1ap.js").then((e) => e.E)
21
+ name: e.submissions,
22
+ component: () => import("./EInvoice-D0j3h3xU.js")
23
23
  }
24
24
  ];
25
25
  export {
26
- h as FmApp,
27
- B as routers
26
+ B as FmApp,
27
+ C as routers
28
28
  };
package/dist/main.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import "./assets/main.css";
2
1
  import "@feedmepos/mf-common/style.css";
2
+ import "./assets/main.css";