@restaround/react 1.3.42 → 1.4.1

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.
Files changed (202) hide show
  1. package/dist/components/PublicMenu/Categories.d.ts +2 -1
  2. package/dist/components/PublicMenu/OrderDrawer/OrderTable/OrderTableUI.d.ts +13 -0
  3. package/dist/components/PublicMenu/OrderDrawer/OrderTable/index.d.ts +1 -0
  4. package/dist/components/PublicMenu/OrderMethods/OrderMethods.d.ts +11 -0
  5. package/dist/components/PublicMenu/OrderMethods/OrderMethods.types.d.ts +8 -0
  6. package/dist/components/PublicMenu/OrderMethods/index.d.ts +1 -0
  7. package/dist/components/PublicMenu/OrderPaymentSummary/OrderPaymentSummary.d.ts +11 -0
  8. package/dist/components/PublicMenu/OrderPaymentSummary/index.d.ts +1 -0
  9. package/dist/components/PublicMenu/ProductAddons/ProductAddons.d.ts +4 -2
  10. package/dist/components/PublicMenu/ProductDetails/ProductDetailsUI.d.ts +28 -0
  11. package/dist/components/PublicMenu/ProductInOrder/ProductInOrder.d.ts +5 -1
  12. package/dist/components/PublicMenu/ProductVariants/ProductVariants.d.ts +4 -2
  13. package/dist/components/PublicMenu/ProductsGridItem/ProductsGridItem.d.ts +2 -8
  14. package/dist/components/PublicMenu/ProductsGridItem/ProductsGridItem.types.d.ts +10 -0
  15. package/dist/components/PublicMenu/ProductsGridItem/ProductsGridItemContainer.d.ts +4 -0
  16. package/dist/components/PublicMenu/ProductsGridItem/index.d.ts +1 -0
  17. package/dist/hooks/index.d.ts +1 -0
  18. package/dist/hooks/product.d.ts +0 -6
  19. package/dist/index.d.ts +8 -0
  20. package/dist/index.esm.js +1 -1
  21. package/dist/index.esm.js.map +1 -1
  22. package/dist/index.js +1 -1
  23. package/dist/index.js.map +1 -1
  24. package/dist/models/components/PublicMenu/OrderMethods/OrderMethods.types.d.ts +8 -0
  25. package/dist/models/components/PublicMenu/ProductsGridItem/ProductsGridItem.types.d.ts +10 -0
  26. package/dist/models/constants/env.d.ts +1 -0
  27. package/dist/models/hooks/translation.d.ts +5 -0
  28. package/dist/models/index.d.ts +2 -0
  29. package/dist/models/models/index.d.ts +2 -0
  30. package/dist/models/modules/addon/utils.d.ts +14 -0
  31. package/dist/models/modules/branch/hooks.d.ts +2 -0
  32. package/dist/models/modules/business/hooks.d.ts +2 -0
  33. package/dist/models/modules/common/services.d.ts +1 -0
  34. package/dist/models/modules/customer/hooks.d.ts +4 -0
  35. package/dist/models/modules/customer/services.d.ts +9 -0
  36. package/dist/models/modules/feature/constants.d.ts +4 -0
  37. package/dist/models/modules/feature/hooks.d.ts +2 -0
  38. package/dist/models/modules/feature/utils.d.ts +2 -0
  39. package/dist/models/modules/order/constants.d.ts +17 -0
  40. package/dist/models/modules/order/hooks.d.ts +31 -0
  41. package/dist/models/modules/order/index.d.ts +5 -0
  42. package/dist/models/modules/order/services.d.ts +4 -0
  43. package/dist/models/modules/order/utils.d.ts +29 -0
  44. package/dist/models/modules/product/hooks.d.ts +6 -0
  45. package/dist/models/modules/product/index.d.ts +3 -0
  46. package/dist/models/modules/product/utils.d.ts +47 -0
  47. package/dist/models/modules/view/constants.d.ts +13 -0
  48. package/dist/models/modules/view/services.d.ts +2 -0
  49. package/dist/models/services/api/index.d.ts +5 -0
  50. package/dist/models/services/translation/index.d.ts +3 -0
  51. package/dist/models/services/translation/locales/az/auth.d.ts +7 -0
  52. package/dist/models/services/translation/locales/az/common.d.ts +6 -0
  53. package/dist/models/services/translation/locales/az/customer.d.ts +17 -0
  54. package/dist/models/services/translation/locales/az/error.d.ts +19 -0
  55. package/dist/models/services/translation/locales/az/events.d.ts +8 -0
  56. package/dist/models/services/translation/locales/az/index.d.ts +129 -0
  57. package/dist/models/services/translation/locales/az/order.d.ts +41 -0
  58. package/dist/models/services/translation/locales/az/pricing.d.ts +35 -0
  59. package/dist/models/services/translation/locales/en/auth.d.ts +2 -0
  60. package/dist/models/services/translation/locales/en/common.d.ts +2 -0
  61. package/dist/models/services/translation/locales/en/customer.d.ts +2 -0
  62. package/dist/models/services/translation/locales/en/error.d.ts +15 -0
  63. package/dist/models/services/translation/locales/en/events.d.ts +2 -0
  64. package/dist/models/services/translation/locales/en/index.d.ts +23 -0
  65. package/dist/models/services/translation/locales/en/order.d.ts +2 -0
  66. package/dist/models/services/translation/locales/en/pricing.d.ts +2 -0
  67. package/dist/models/services/translation/locales/et/auth.d.ts +7 -0
  68. package/dist/models/services/translation/locales/et/common.d.ts +6 -0
  69. package/dist/models/services/translation/locales/et/customer.d.ts +17 -0
  70. package/dist/models/services/translation/locales/et/error.d.ts +19 -0
  71. package/dist/models/services/translation/locales/et/events.d.ts +8 -0
  72. package/dist/models/services/translation/locales/et/index.d.ts +128 -0
  73. package/dist/models/services/translation/locales/et/order.d.ts +42 -0
  74. package/dist/models/services/translation/locales/et/pricing.d.ts +33 -0
  75. package/dist/models/services/translation/locales/index.d.ts +661 -0
  76. package/dist/models/services/translation/locales/nl/auth.d.ts +7 -0
  77. package/dist/models/services/translation/locales/nl/common.d.ts +6 -0
  78. package/dist/models/services/translation/locales/nl/customer.d.ts +17 -0
  79. package/dist/models/services/translation/locales/nl/error.d.ts +19 -0
  80. package/dist/models/services/translation/locales/nl/events.d.ts +8 -0
  81. package/dist/models/services/translation/locales/nl/index.d.ts +128 -0
  82. package/dist/models/services/translation/locales/nl/order.d.ts +42 -0
  83. package/dist/models/services/translation/locales/nl/pricing.d.ts +33 -0
  84. package/dist/models/services/translation/locales/ru/auth.d.ts +7 -0
  85. package/dist/models/services/translation/locales/ru/common.d.ts +6 -0
  86. package/dist/models/services/translation/locales/ru/customer.d.ts +17 -0
  87. package/dist/models/services/translation/locales/ru/error.d.ts +19 -0
  88. package/dist/models/services/translation/locales/ru/events.d.ts +8 -0
  89. package/dist/models/services/translation/locales/ru/index.d.ts +128 -0
  90. package/dist/models/services/translation/locales/ru/order.d.ts +42 -0
  91. package/dist/models/services/translation/locales/ru/pricing.d.ts +33 -0
  92. package/dist/models/services/translation/locales/tr/auth.d.ts +7 -0
  93. package/dist/models/services/translation/locales/tr/common.d.ts +6 -0
  94. package/dist/models/services/translation/locales/tr/customer.d.ts +17 -0
  95. package/dist/models/services/translation/locales/tr/error.d.ts +19 -0
  96. package/dist/models/services/translation/locales/tr/events.d.ts +8 -0
  97. package/dist/models/services/translation/locales/tr/index.d.ts +128 -0
  98. package/dist/models/services/translation/locales/tr/order.d.ts +42 -0
  99. package/dist/models/services/translation/locales/tr/pricing.d.ts +33 -0
  100. package/dist/models/store/index.d.ts +7 -0
  101. package/dist/models/store/order.d.ts +41 -0
  102. package/dist/models/utils/common.d.ts +1 -0
  103. package/dist/modules/order/constants.d.ts +2 -1
  104. package/dist/modules/order/hooks.d.ts +5 -9
  105. package/dist/modules/order/utils.d.ts +1 -1
  106. package/dist/modules/product/hooks.d.ts +6 -0
  107. package/dist/modules/product/index.d.ts +1 -0
  108. package/dist/modules/product/utils.d.ts +6 -6
  109. package/dist/services/translation/locales/az/index.d.ts +1 -1
  110. package/dist/services/translation/locales/az/order.d.ts +1 -1
  111. package/dist/services/translation/locales/et/index.d.ts +1 -1
  112. package/dist/services/translation/locales/et/order.d.ts +1 -1
  113. package/dist/services/translation/locales/index.d.ts +5 -5
  114. package/dist/services/translation/locales/nl/index.d.ts +1 -1
  115. package/dist/services/translation/locales/nl/order.d.ts +1 -1
  116. package/dist/services/translation/locales/ru/index.d.ts +1 -1
  117. package/dist/services/translation/locales/ru/order.d.ts +1 -1
  118. package/dist/services/translation/locales/tr/index.d.ts +1 -1
  119. package/dist/services/translation/locales/tr/order.d.ts +1 -1
  120. package/dist/store/order.d.ts +8 -3
  121. package/dist/styles/ui.css +1 -1
  122. package/dist/styles/ui.css.map +1 -1
  123. package/dist/utils/components/PublicMenu/OrderMethods/OrderMethods.types.d.ts +8 -0
  124. package/dist/utils/components/PublicMenu/ProductsGridItem/ProductsGridItem.types.d.ts +10 -0
  125. package/dist/utils/constants/env.d.ts +1 -0
  126. package/dist/utils/hooks/translation.d.ts +5 -0
  127. package/dist/utils/index.esm.js +1 -1
  128. package/dist/utils/index.esm.js.map +1 -1
  129. package/dist/utils/index.js +1 -1
  130. package/dist/utils/index.js.map +1 -1
  131. package/dist/utils/models/index.d.ts +2 -0
  132. package/dist/utils/modules/branch/hooks.d.ts +2 -0
  133. package/dist/utils/modules/business/hooks.d.ts +2 -0
  134. package/dist/utils/modules/common/services.d.ts +1 -0
  135. package/dist/utils/modules/customer/hooks.d.ts +4 -0
  136. package/dist/utils/modules/customer/services.d.ts +9 -0
  137. package/dist/utils/modules/feature/hooks.d.ts +2 -0
  138. package/dist/utils/modules/order/constants.d.ts +2 -1
  139. package/dist/utils/modules/order/hooks.d.ts +31 -0
  140. package/dist/utils/modules/order/index.d.ts +5 -0
  141. package/dist/utils/modules/order/services.d.ts +4 -0
  142. package/dist/utils/modules/order/utils.d.ts +1 -1
  143. package/dist/utils/modules/product/hooks.d.ts +6 -0
  144. package/dist/utils/modules/product/index.d.ts +3 -0
  145. package/dist/utils/modules/product/utils.d.ts +6 -6
  146. package/dist/utils/modules/view/constants.d.ts +13 -0
  147. package/dist/utils/modules/view/services.d.ts +2 -0
  148. package/dist/utils/services/api/index.d.ts +5 -0
  149. package/dist/utils/services/translation/index.d.ts +3 -0
  150. package/dist/utils/services/translation/locales/az/auth.d.ts +7 -0
  151. package/dist/utils/services/translation/locales/az/common.d.ts +6 -0
  152. package/dist/utils/services/translation/locales/az/customer.d.ts +17 -0
  153. package/dist/utils/services/translation/locales/az/error.d.ts +19 -0
  154. package/dist/utils/services/translation/locales/az/events.d.ts +8 -0
  155. package/dist/utils/services/translation/locales/az/index.d.ts +129 -0
  156. package/dist/utils/services/translation/locales/az/order.d.ts +41 -0
  157. package/dist/utils/services/translation/locales/az/pricing.d.ts +35 -0
  158. package/dist/utils/services/translation/locales/en/auth.d.ts +2 -0
  159. package/dist/utils/services/translation/locales/en/common.d.ts +2 -0
  160. package/dist/utils/services/translation/locales/en/customer.d.ts +2 -0
  161. package/dist/utils/services/translation/locales/en/error.d.ts +15 -0
  162. package/dist/utils/services/translation/locales/en/events.d.ts +2 -0
  163. package/dist/utils/services/translation/locales/en/index.d.ts +23 -0
  164. package/dist/utils/services/translation/locales/en/order.d.ts +2 -0
  165. package/dist/utils/services/translation/locales/en/pricing.d.ts +2 -0
  166. package/dist/utils/services/translation/locales/et/auth.d.ts +7 -0
  167. package/dist/utils/services/translation/locales/et/common.d.ts +6 -0
  168. package/dist/utils/services/translation/locales/et/customer.d.ts +17 -0
  169. package/dist/utils/services/translation/locales/et/error.d.ts +19 -0
  170. package/dist/utils/services/translation/locales/et/events.d.ts +8 -0
  171. package/dist/utils/services/translation/locales/et/index.d.ts +128 -0
  172. package/dist/utils/services/translation/locales/et/order.d.ts +42 -0
  173. package/dist/utils/services/translation/locales/et/pricing.d.ts +33 -0
  174. package/dist/utils/services/translation/locales/index.d.ts +661 -0
  175. package/dist/utils/services/translation/locales/nl/auth.d.ts +7 -0
  176. package/dist/utils/services/translation/locales/nl/common.d.ts +6 -0
  177. package/dist/utils/services/translation/locales/nl/customer.d.ts +17 -0
  178. package/dist/utils/services/translation/locales/nl/error.d.ts +19 -0
  179. package/dist/utils/services/translation/locales/nl/events.d.ts +8 -0
  180. package/dist/utils/services/translation/locales/nl/index.d.ts +128 -0
  181. package/dist/utils/services/translation/locales/nl/order.d.ts +42 -0
  182. package/dist/utils/services/translation/locales/nl/pricing.d.ts +33 -0
  183. package/dist/utils/services/translation/locales/ru/auth.d.ts +7 -0
  184. package/dist/utils/services/translation/locales/ru/common.d.ts +6 -0
  185. package/dist/utils/services/translation/locales/ru/customer.d.ts +17 -0
  186. package/dist/utils/services/translation/locales/ru/error.d.ts +19 -0
  187. package/dist/utils/services/translation/locales/ru/events.d.ts +8 -0
  188. package/dist/utils/services/translation/locales/ru/index.d.ts +128 -0
  189. package/dist/utils/services/translation/locales/ru/order.d.ts +42 -0
  190. package/dist/utils/services/translation/locales/ru/pricing.d.ts +33 -0
  191. package/dist/utils/services/translation/locales/tr/auth.d.ts +7 -0
  192. package/dist/utils/services/translation/locales/tr/common.d.ts +6 -0
  193. package/dist/utils/services/translation/locales/tr/customer.d.ts +17 -0
  194. package/dist/utils/services/translation/locales/tr/error.d.ts +19 -0
  195. package/dist/utils/services/translation/locales/tr/events.d.ts +8 -0
  196. package/dist/utils/services/translation/locales/tr/index.d.ts +128 -0
  197. package/dist/utils/services/translation/locales/tr/order.d.ts +42 -0
  198. package/dist/utils/services/translation/locales/tr/pricing.d.ts +33 -0
  199. package/dist/utils/store/index.d.ts +7 -0
  200. package/dist/utils/store/order.d.ts +41 -0
  201. package/package.json +5 -5
  202. /package/dist/components/PublicMenu/OrderDrawer/{OrderTable.d.ts → OrderTable/OrderTable.d.ts} +0 -0
@@ -0,0 +1,9 @@
1
+ import * as viewModels from "../view/models";
2
+ import { AuthResponse, Customer, CustomerUpdatePayload } from "./models";
3
+ export declare const getCustomer: () => Promise<Customer>;
4
+ export declare const loginCustomer: (phoneNumber: string) => Promise<{
5
+ status: number;
6
+ }>;
7
+ export declare const verifyOTP: (otp: string, phoneNumber: string) => Promise<AuthResponse>;
8
+ export declare const update: (payload: CustomerUpdatePayload) => Promise<any>;
9
+ export declare const getCustomerDistance: (branchCoordinates: viewModels.Coordinates, customerCoordinates: viewModels.Coordinates) => Promise<number>;
@@ -0,0 +1,2 @@
1
+ import { type Feature } from "./models";
2
+ export declare const useFeatureActive: (feature: Feature) => boolean;
@@ -12,5 +12,6 @@ export declare enum OrderErrors {
12
12
  FIELD_REQUIRED_ERROR = "This field is required",
13
13
  TABLE_NOT_SELECTED = "Please select a table",
14
14
  ADDRESS_IS_EMPTY = "Please enter an address",
15
- EMPTY_ITEMS = "Please choose product"
15
+ EMPTY_ITEMS = "Please choose product",
16
+ BRANCH_NOT_SELECTED = "Please select a branch"
16
17
  }
@@ -0,0 +1,31 @@
1
+ import { Order, OrderItem, OrderPayload, OrderType, PaymentMethod, SelectedAddons } from "./models";
2
+ export declare const useOrderPriceDetails: () => {
3
+ totalPriceWithTax: number;
4
+ totalPriceWithoutTax: number;
5
+ totalTax: number;
6
+ };
7
+ export declare const usePrepareOrder: (existingOrderData?: Partial<Order>) => OrderPayload;
8
+ export declare const useTotalOrderItemsCount: () => number;
9
+ export declare const useOrderItemsTotalPrice: () => {
10
+ totalPrice: number;
11
+ formattedTotalPrice: string;
12
+ };
13
+ export declare const useProductQuantityInOrder: ({ productId, variantId, selectedAddons, }: {
14
+ productId: number;
15
+ variantId?: number | null;
16
+ selectedAddons: SelectedAddons;
17
+ }) => number;
18
+ export declare const useProductQuantityInOrderWithAllVariants: (productId: number) => number;
19
+ export declare const useOrderItemPrice: (item: OrderItem) => {
20
+ totalPrice: number;
21
+ formattedTotalPrice: string;
22
+ };
23
+ export declare const useOrderActiveForBusiness: () => boolean;
24
+ export declare const useDeliveryDistanceError: () => string | null;
25
+ export declare const useDeliveryAmountError: () => string | null;
26
+ export declare const useOrderErrorInDetails: () => string | null;
27
+ export declare const useInitialOrder: ({ defaultOrderType, defaultPaymentMethod, defaultBranchId, }: {
28
+ defaultOrderType: OrderType;
29
+ defaultPaymentMethod: PaymentMethod;
30
+ defaultBranchId: number;
31
+ }) => Partial<Order>;
@@ -0,0 +1,5 @@
1
+ export * as models from "./models";
2
+ export * as utils from "./utils";
3
+ export * as hooks from "./hooks";
4
+ export * as constants from "./constants";
5
+ export * as services from "./services";
@@ -0,0 +1,4 @@
1
+ import { OrderPayload } from "./models";
2
+ export declare const createOrder: (order: OrderPayload) => Promise<{
3
+ trackingId: string;
4
+ }>;
@@ -13,7 +13,7 @@ export declare const getOrderPrice: (order: Order, currency: string, language: s
13
13
  totalWithTax: number;
14
14
  totalWithTaxFormatted: string;
15
15
  };
16
- export declare const generateOrderItemsId: (productId: number, variantId: number | null, selectedAddons: SelectedAddons) => string;
16
+ export declare const generateOrderItemsId: (productId: number, variantId: number | null, selectedAddons?: SelectedAddons) => string;
17
17
  export declare const getOrderItemPrice: (orderItem: OrderItem) => {
18
18
  totalGross: number;
19
19
  totalNet: number;
@@ -0,0 +1,6 @@
1
+ import * as orderModels from "src/modules/order/models";
2
+ export declare const useProductQuantity: ({ productId, variantId, selectedAddons, }: {
3
+ productId: number;
4
+ variantId?: number;
5
+ selectedAddons: orderModels.SelectedAddons;
6
+ }) => number;
@@ -0,0 +1,3 @@
1
+ export * as models from "./models";
2
+ export * as utils from "./utils";
3
+ export * as hooks from "./hooks";
@@ -1,20 +1,20 @@
1
1
  import { Product, ProductTranslation, ProductVariant, ProductVariantTranslation } from "./models";
2
2
  import { MenuAddon } from "src/modules/addon/models";
3
3
  import * as orderModels from "src/modules/order/models";
4
- export declare const getProductTranslation: (product: Product, language: string) => ProductTranslation;
5
- export declare const getProductRawPrice: (product: Product, quantity?: number) => number;
6
- export declare const getProductPrice: (product: Product, currency: string, language: string, quantity?: number) => {
4
+ export declare const getProductTranslation: (product: Pick<Product, "translations">, language: string) => ProductTranslation;
5
+ export declare const getProductRawPrice: (product: Pick<Product, "price" | "vat">, quantity?: number) => number;
6
+ export declare const getProductPrice: (product: Pick<Product, "price" | "vat">, currency: string, language: string, quantity?: number) => {
7
7
  totalPrice: number;
8
8
  formattedTotalPrice: string;
9
9
  };
10
- export declare const getProductVariant: (product: Product, variantId: number) => ProductVariant;
10
+ export declare const getProductVariant: (product: Pick<Product, "variants">, variantId: number) => ProductVariant;
11
11
  export declare const getSelectedOptionsTotalPrice: (product: Product, selectedAddons: orderModels.SelectedAddons, quantity: number) => number;
12
- export declare const getProductVariantRawPrice: (variantId: number, product: Product, quantity?: number) => number;
12
+ export declare const getProductVariantRawPrice: (variantId: number, product: Pick<Product, "variants" | "vat">, quantity?: number) => number;
13
13
  export declare const getProductVariantPrice: ({ variantId, currency, language, product, quantity, }: {
14
14
  variantId: number;
15
15
  currency?: string;
16
16
  language?: string;
17
- product: Product;
17
+ product: Pick<Product, "variants" | "vat">;
18
18
  quantity?: number;
19
19
  }) => {
20
20
  totalPrice: number;
@@ -0,0 +1,13 @@
1
+ export declare const MODALS: {
2
+ ADD_UPDATE_NOTES: string;
3
+ AUTH: string;
4
+ ADD_UPDATE_ADDRESS: string;
5
+ };
6
+ export declare const SUPPORTED_LOCALES: string[];
7
+ export declare const DEFAULT_LANGUAGE = "en";
8
+ export declare const DEFAULT_CURRENCY = "AZN";
9
+ export declare const SUPPORTED_COUNTRIES: {
10
+ name: string;
11
+ code: string;
12
+ phoneCode: string;
13
+ }[];
@@ -0,0 +1,2 @@
1
+ import { Storage } from "@sorocraft/js-utils";
2
+ export declare const storage: Storage;
@@ -0,0 +1,5 @@
1
+ export declare const API: {
2
+ post: (endpoint: string, body: any) => Promise<any>;
3
+ patch: (endpoint: string, body: any) => Promise<any>;
4
+ get: (endpoint: string) => Promise<any>;
5
+ };
@@ -0,0 +1,3 @@
1
+ export declare const getTranslations: (locale: string, ns: string) => {
2
+ t: (key: string, options?: Record<string, string>) => string;
3
+ };
@@ -0,0 +1,7 @@
1
+ declare const _default: {
2
+ "Create an account or log in": string;
3
+ "Phone number": string;
4
+ "I don't have an email": string;
5
+ "We sent a confirmation code to {{address}}": string;
6
+ };
7
+ export default _default;
@@ -0,0 +1,6 @@
1
+ declare const _default: {
2
+ Save: string;
3
+ Cancel: string;
4
+ Continue: string;
5
+ };
6
+ export default _default;
@@ -0,0 +1,17 @@
1
+ declare const _default: {
2
+ "Unknown address": string;
3
+ "No address available": string;
4
+ "Update Delivery Address": string;
5
+ Country: string;
6
+ City: string;
7
+ "Baker Street": string;
8
+ Address: string;
9
+ "House number": string;
10
+ "Additional number": string;
11
+ "Example: Door code is 555": string;
12
+ "Delivery Instructions": string;
13
+ Azerbaijan: string;
14
+ Floor: string;
15
+ "Enter address": string;
16
+ };
17
+ export default _default;
@@ -0,0 +1,19 @@
1
+ declare const _default: {
2
+ SOMETHING_WRONG: string;
3
+ FIELD_REQUIRED: string;
4
+ "Azerbaijani numbers must be 9 digits and start with 50, 51, 10, 55, 99, 70, 77, 60": string;
5
+ "Unsupported country code": string;
6
+ "Invalid OTP": string;
7
+ INVALID_OTP: string;
8
+ OTP_RATE_LIMIT_EXCEEDED: string;
9
+ "Invalid Email Address": string;
10
+ FEATURE_NOT_AVAILABLE_FOR_SEGMENT: string;
11
+ ORDER_TYPE_DISABLED_FOR_BUSINESS: string;
12
+ COUNTRY_REQUIRED: string;
13
+ CITY_REQUIRED: string;
14
+ STREET_REQUIRED: string;
15
+ STREET_NUMBER_REQUIRED: string;
16
+ OUT_OF_DELIVERY_RANGE: string;
17
+ NO_ORDER_TYPE: string;
18
+ };
19
+ export default _default;
@@ -0,0 +1,8 @@
1
+ declare const _default: {
2
+ Events: string;
3
+ "Scrolled to Category": string;
4
+ "Category Selected": string;
5
+ "Product Details": string;
6
+ "Product Added to Order": string;
7
+ };
8
+ export default _default;
@@ -0,0 +1,129 @@
1
+ declare const _default: {
2
+ error: {
3
+ SOMETHING_WRONG: string;
4
+ FIELD_REQUIRED: string;
5
+ "Azerbaijani numbers must be 9 digits and start with 50, 51, 10, 55, 99, 70, 77, 60": string;
6
+ "Unsupported country code": string;
7
+ "Invalid OTP": string;
8
+ INVALID_OTP: string;
9
+ OTP_RATE_LIMIT_EXCEEDED: string;
10
+ "Invalid Email Address": string;
11
+ FEATURE_NOT_AVAILABLE_FOR_SEGMENT: string;
12
+ ORDER_TYPE_DISABLED_FOR_BUSINESS: string;
13
+ COUNTRY_REQUIRED: string;
14
+ CITY_REQUIRED: string;
15
+ STREET_REQUIRED: string;
16
+ STREET_NUMBER_REQUIRED: string;
17
+ OUT_OF_DELIVERY_RANGE: string;
18
+ NO_ORDER_TYPE: string;
19
+ };
20
+ common: {
21
+ Save: string;
22
+ Cancel: string;
23
+ Continue: string;
24
+ };
25
+ order: {
26
+ "View order": string;
27
+ "Remove from order": string;
28
+ "Update order": string;
29
+ "Add to order": string;
30
+ Add: string;
31
+ "Your order": string;
32
+ Subtotal: string;
33
+ "Empty order": string;
34
+ "You don't have any items in your order": string;
35
+ "Add items": string;
36
+ "Add an order note": string;
37
+ "Specify any allergies, special requests, or ingredients you want to add or remove": string;
38
+ "Your Order is Completed!": string;
39
+ "Thank you! We've received your order and it will be delivered shortly.": string;
40
+ Delivery: string;
41
+ "Dine in": string;
42
+ Pickup: string;
43
+ Cash: string;
44
+ "POS Terminal": string;
45
+ "Order summary": string;
46
+ Items: string;
47
+ Tax: string;
48
+ Total: string;
49
+ "Special instructions, allergies, etc.": string;
50
+ "Go to checkout": string;
51
+ "Place order": string;
52
+ Continue: string;
53
+ "Not available": string;
54
+ "In order": string;
55
+ "Product choices": string;
56
+ "Track order": string;
57
+ "Minimum order amount for delivery is {{amount}}": string;
58
+ "This field is required": string;
59
+ "Please select a table": string;
60
+ "Please enter an address": string;
61
+ "Please choose product": string;
62
+ Table: string;
63
+ "Select Table": string;
64
+ };
65
+ customer: {
66
+ "Unknown address": string;
67
+ "No address available": string;
68
+ "Update Delivery Address": string;
69
+ Country: string;
70
+ City: string;
71
+ "Baker Street": string;
72
+ Address: string;
73
+ "House number": string;
74
+ "Additional number": string;
75
+ "Example: Door code is 555": string;
76
+ "Delivery Instructions": string;
77
+ Azerbaijan: string;
78
+ Floor: string;
79
+ "Enter address": string;
80
+ };
81
+ auth: {
82
+ "Create an account or log in": string;
83
+ "Phone number": string;
84
+ "I don't have an email": string;
85
+ "We sent a confirmation code to {{address}}": string;
86
+ };
87
+ events: {
88
+ Events: string;
89
+ "Scrolled to Category": string;
90
+ "Category Selected": string;
91
+ "Product Details": string;
92
+ "Product Added to Order": string;
93
+ };
94
+ pricing: {
95
+ "Get Started": string;
96
+ "Choose Plan": string;
97
+ "Smart QR Menu": string;
98
+ "Link-in-bio": string;
99
+ "Menu Analytics": string;
100
+ "Unlimited Products": string;
101
+ "Unlimited Categories": string;
102
+ "Product variants": string;
103
+ "Product options": string;
104
+ "Sales reports": string;
105
+ "24/7 Support": string;
106
+ "Multiple Branches": string;
107
+ "Order Management": string;
108
+ "Table Management": string;
109
+ "Mobile App for Owners & Staff": string;
110
+ "Point of Sale (POS)": string;
111
+ "Delivery Management": string;
112
+ "Third-Party Delivery Integrations": string;
113
+ "RestaroundPay with Mobile": string;
114
+ "Event management": string;
115
+ "Unlimited Users": string;
116
+ "/ month": string;
117
+ monthly: string;
118
+ annually: string;
119
+ "Flexible Plans for Every Business - Simple Pricing, More Value!": string;
120
+ "Choose a pricing plan that fits your business. Subscribe monthly or annually and save more with long-term plans!": string;
121
+ Appetizer: string;
122
+ "Main Course": string;
123
+ "Unlimited Languages": string;
124
+ "30-day money-back guarantee": string;
125
+ "Limited Time Only": string;
126
+ "/ lifetime": string;
127
+ };
128
+ };
129
+ export default _default;
@@ -0,0 +1,41 @@
1
+ declare const _default: {
2
+ "View order": string;
3
+ "Remove from order": string;
4
+ "Update order": string;
5
+ "Add to order": string;
6
+ Add: string;
7
+ "Your order": string;
8
+ Subtotal: string;
9
+ "Empty order": string;
10
+ "You don't have any items in your order": string;
11
+ "Add items": string;
12
+ "Add an order note": string;
13
+ "Specify any allergies, special requests, or ingredients you want to add or remove": string;
14
+ "Your Order is Completed!": string;
15
+ "Thank you! We've received your order and it will be delivered shortly.": string;
16
+ Delivery: string;
17
+ "Dine in": string;
18
+ Pickup: string;
19
+ Cash: string;
20
+ "POS Terminal": string;
21
+ "Order summary": string;
22
+ Items: string;
23
+ Tax: string;
24
+ Total: string;
25
+ "Special instructions, allergies, etc.": string;
26
+ "Go to checkout": string;
27
+ "Place order": string;
28
+ Continue: string;
29
+ "Not available": string;
30
+ "In order": string;
31
+ "Product choices": string;
32
+ "Track order": string;
33
+ "Minimum order amount for delivery is {{amount}}": string;
34
+ "This field is required": string;
35
+ "Please select a table": string;
36
+ "Please enter an address": string;
37
+ "Please choose product": string;
38
+ Table: string;
39
+ "Select Table": string;
40
+ };
41
+ export default _default;
@@ -0,0 +1,35 @@
1
+ declare const _default: {
2
+ "Get Started": string;
3
+ "Choose Plan": string;
4
+ "Smart QR Menu": string;
5
+ "Link-in-bio": string;
6
+ "Menu Analytics": string;
7
+ "Unlimited Products": string;
8
+ "Unlimited Categories": string;
9
+ "Product variants": string;
10
+ "Product options": string;
11
+ "Sales reports": string;
12
+ "24/7 Support": string;
13
+ "Multiple Branches": string;
14
+ "Order Management": string;
15
+ "Table Management": string;
16
+ "Mobile App for Owners & Staff": string;
17
+ "Point of Sale (POS)": string;
18
+ "Delivery Management": string;
19
+ "Third-Party Delivery Integrations": string;
20
+ "RestaroundPay with Mobile": string;
21
+ "Event management": string;
22
+ "Unlimited Users": string;
23
+ "/ month": string;
24
+ monthly: string;
25
+ annually: string;
26
+ "Flexible Plans for Every Business - Simple Pricing, More Value!": string;
27
+ "Choose a pricing plan that fits your business. Subscribe monthly or annually and save more with long-term plans!": string;
28
+ Appetizer: string;
29
+ "Main Course": string;
30
+ "Unlimited Languages": string;
31
+ "30-day money-back guarantee": string;
32
+ "Limited Time Only": string;
33
+ "/ lifetime": string;
34
+ };
35
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: {};
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: {};
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: {};
2
+ export default _default;
@@ -0,0 +1,15 @@
1
+ declare const _default: {
2
+ SOMETHING_WRONG: string;
3
+ FIELD_REQUIRED: string;
4
+ INVALID_OTP: string;
5
+ OTP_RATE_LIMIT_EXCEEDED: string;
6
+ FEATURE_NOT_AVAILABLE_FOR_SEGMENT: string;
7
+ ORDER_TYPE_DISABLED_FOR_BUSINESS: string;
8
+ COUNTRY_REQUIRED: string;
9
+ CITY_REQUIRED: string;
10
+ STREET_REQUIRED: string;
11
+ STREET_NUMBER_REQUIRED: string;
12
+ OUT_OF_DELIVERY_RANGE: string;
13
+ NO_ORDER_TYPE: string;
14
+ };
15
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: {};
2
+ export default _default;
@@ -0,0 +1,23 @@
1
+ declare const _default: {
2
+ error: {
3
+ SOMETHING_WRONG: string;
4
+ FIELD_REQUIRED: string;
5
+ INVALID_OTP: string;
6
+ OTP_RATE_LIMIT_EXCEEDED: string;
7
+ FEATURE_NOT_AVAILABLE_FOR_SEGMENT: string;
8
+ ORDER_TYPE_DISABLED_FOR_BUSINESS: string;
9
+ COUNTRY_REQUIRED: string;
10
+ CITY_REQUIRED: string;
11
+ STREET_REQUIRED: string;
12
+ STREET_NUMBER_REQUIRED: string;
13
+ OUT_OF_DELIVERY_RANGE: string;
14
+ NO_ORDER_TYPE: string;
15
+ };
16
+ common: {};
17
+ order: {};
18
+ customer: {};
19
+ auth: {};
20
+ events: {};
21
+ pricing: {};
22
+ };
23
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: {};
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: {};
2
+ export default _default;
@@ -0,0 +1,7 @@
1
+ declare const _default: {
2
+ "Create an account or log in": string;
3
+ "Phone number": string;
4
+ "I don't have an email": string;
5
+ "We sent a confirmation code to {{address}}": string;
6
+ };
7
+ export default _default;
@@ -0,0 +1,6 @@
1
+ declare const _default: {
2
+ Save: string;
3
+ Cancel: string;
4
+ Continue: string;
5
+ };
6
+ export default _default;
@@ -0,0 +1,17 @@
1
+ declare const _default: {
2
+ "Unknown address": string;
3
+ "No address available": string;
4
+ "Update Delivery Address": string;
5
+ Country: string;
6
+ City: string;
7
+ "Baker Street": string;
8
+ Address: string;
9
+ "House number": string;
10
+ "Additional number": string;
11
+ "Example: Door code is 555": string;
12
+ "Delivery Instructions": string;
13
+ Azerbaijan: string;
14
+ Floor: string;
15
+ "Enter address": string;
16
+ };
17
+ export default _default;
@@ -0,0 +1,19 @@
1
+ declare const _default: {
2
+ SOMETHING_WRONG: string;
3
+ FIELD_REQUIRED: string;
4
+ "Azerbaijani numbers must be 9 digits and start with 50, 51, 10, 55, 99, 70, 77, 60": string;
5
+ "Unsupported country code": string;
6
+ "Invalid OTP": string;
7
+ INVALID_OTP: string;
8
+ OTP_RATE_LIMIT_EXCEEDED: string;
9
+ "Invalid Email Address": string;
10
+ FEATURE_NOT_AVAILABLE_FOR_SEGMENT: string;
11
+ ORDER_TYPE_DISABLED_FOR_BUSINESS: string;
12
+ COUNTRY_REQUIRED: string;
13
+ CITY_REQUIRED: string;
14
+ STREET_REQUIRED: string;
15
+ STREET_NUMBER_REQUIRED: string;
16
+ OUT_OF_DELIVERY_RANGE: string;
17
+ NO_ORDER_TYPE: string;
18
+ };
19
+ export default _default;
@@ -0,0 +1,8 @@
1
+ declare const _default: {
2
+ Events: string;
3
+ "Scrolled to Category": string;
4
+ "Category Selected": string;
5
+ "Product Details": string;
6
+ "Product Added to Order": string;
7
+ };
8
+ export default _default;