@tabres/react 1.0.41 → 1.0.43
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/index.esm.js.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/models/index.d.ts +1 -0
- package/dist/models/models/index.d.ts +1 -0
- package/dist/models/modules/pos/models/compliance.d.ts +9 -0
- package/dist/models/modules/pos/models/index.d.ts +1 -0
- package/dist/modules/pos/models/index.d.ts +1 -0
- package/dist/utils/index.esm.js.map +1 -1
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/models/index.d.ts +1 -0
- package/dist/utils/modules/pos/models/index.d.ts +1 -0
- package/package.json +16 -9
package/dist/models/index.d.ts
CHANGED
|
@@ -12,5 +12,6 @@ export * from "../modules/user/models";
|
|
|
12
12
|
export * from "../modules/category/models";
|
|
13
13
|
export * from "../modules/menu/models";
|
|
14
14
|
export * from "../modules/video/models";
|
|
15
|
+
export * from "../modules/pos/models";
|
|
15
16
|
export * from "../components/PublicMenu/ProductsGridItem/ProductsGridItem.types";
|
|
16
17
|
export * from "../components/PublicMenu/OrderMethods/OrderMethods.types";
|
|
@@ -12,5 +12,6 @@ export * from "../modules/user/models";
|
|
|
12
12
|
export * from "../modules/category/models";
|
|
13
13
|
export * from "../modules/menu/models";
|
|
14
14
|
export * from "../modules/video/models";
|
|
15
|
+
export * from "../modules/pos/models";
|
|
15
16
|
export * from "../components/PublicMenu/ProductsGridItem/ProductsGridItem.types";
|
|
16
17
|
export * from "../components/PublicMenu/OrderMethods/OrderMethods.types";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Whether a restaurant can legally run a generic, NON-government-certified POS for HoReCa:
|
|
3
|
+
* - "restricted": Do not operate — comprehensive sanctions/embargo make a Western POS + payments SaaS illegal/unworkable, regardless of local tax law.
|
|
4
|
+
* - "no": Effectively forbidden — the POS software itself must be government-certified/registered before use (vendor is liable), or POS is banned.
|
|
5
|
+
* - "requires_integration": Allowed, but the business must connect to a government e-tax/e-invoice API or use a certified fiscal device/printer.
|
|
6
|
+
* - "own_risk": No certified/real-time mandate, but strict tax & bookkeeping rules apply and the restaurant is responsible.
|
|
7
|
+
* - "yes": No strict POS rules; an uncertified POS won't get the restaurant (or us) fined.
|
|
8
|
+
*/
|
|
9
|
+
export type PosAllowance = "restricted" | "no" | "requires_integration" | "own_risk" | "yes";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./compliance";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./compliance";
|