@open-tender/types 0.2.103 → 0.2.105

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.
@@ -8,6 +8,16 @@ export interface ConfigApp {
8
8
  brandId: string;
9
9
  clientId: string;
10
10
  }
11
+ export declare type ConfigPageType = 'ACCOUNT' | 'CHECKOUT' | 'CONFIRMATION' | 'GUEST' | 'ITEM' | 'ORDER_TYPES' | 'LOCATIONS' | 'MENU' | 'MENU_CATEGORY' | 'UPSELL';
12
+ export interface ConfigPageElement {
13
+ props: Record<string, string>;
14
+ text: Record<string, string> | null;
15
+ }
16
+ export interface ConfigPage {
17
+ desktop: Record<string, ConfigPageElement>;
18
+ mobile: Record<string, ConfigPageElement>;
19
+ }
20
+ export declare type ConfigPages = Record<ConfigPageType, ConfigPage>;
11
21
  export interface ConfigAcceptMarketing {
12
22
  default: boolean;
13
23
  description: string;
@@ -8,6 +8,16 @@ export interface ConfigApp {
8
8
  brandId: string;
9
9
  clientId: string;
10
10
  }
11
+ export declare type ConfigPageType = 'ACCOUNT' | 'CHECKOUT' | 'CONFIRMATION' | 'GUEST' | 'ITEM' | 'ORDER_TYPES' | 'LOCATIONS' | 'MENU' | 'MENU_CATEGORY' | 'UPSELL';
12
+ export interface ConfigPageElement {
13
+ props: Record<string, string>;
14
+ text: Record<string, string> | null;
15
+ }
16
+ export interface ConfigPage {
17
+ desktop: Record<string, ConfigPageElement>;
18
+ mobile: Record<string, ConfigPageElement>;
19
+ }
20
+ export declare type ConfigPages = Record<ConfigPageType, ConfigPage>;
11
21
  export interface ConfigAcceptMarketing {
12
22
  default: boolean;
13
23
  description: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/types",
3
- "version": "0.2.103",
3
+ "version": "0.2.105",
4
4
  "description": "A library of types for use with Open Tender applications that utilize our cloud-based Order API.",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",