@open-tender/types 0.4.158 → 0.4.160

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 (237) hide show
  1. package/dist/cjs/index.d.ts +1 -0
  2. package/dist/cjs/index.js +4 -0
  3. package/dist/cjs/types/api/alerts.d.ts +5 -0
  4. package/dist/cjs/types/api/alerts.js +2 -0
  5. package/dist/cjs/types/api/allergens.d.ts +13 -0
  6. package/dist/cjs/types/api/allergens.js +2 -0
  7. package/dist/cjs/types/api/announcements.d.ts +57 -0
  8. package/dist/cjs/types/api/announcements.js +2 -0
  9. package/dist/cjs/types/api/arrivals.d.ts +14 -0
  10. package/dist/cjs/types/api/arrivals.js +2 -0
  11. package/dist/cjs/types/api/cart.d.ts +117 -0
  12. package/dist/cjs/types/api/cart.js +2 -0
  13. package/dist/cjs/types/api/checkout.d.ts +376 -0
  14. package/dist/cjs/types/api/checkout.js +29 -0
  15. package/dist/cjs/types/api/completedOrders.d.ts +42 -0
  16. package/dist/cjs/types/api/completedOrders.js +2 -0
  17. package/dist/cjs/types/api/config.d.ts +567 -0
  18. package/dist/cjs/types/api/config.js +2 -0
  19. package/dist/cjs/types/api/creditCards.d.ts +42 -0
  20. package/dist/cjs/types/api/creditCards.js +2 -0
  21. package/dist/cjs/types/api/customer/account.d.ts +26 -0
  22. package/dist/cjs/types/api/customer/account.js +2 -0
  23. package/dist/cjs/types/api/customer/addresses.d.ts +24 -0
  24. package/dist/cjs/types/api/customer/addresses.js +2 -0
  25. package/dist/cjs/types/api/customer/allergens.d.ts +5 -0
  26. package/dist/cjs/types/api/customer/allergens.js +2 -0
  27. package/dist/cjs/types/api/customer/communicationPreferences.d.ts +12 -0
  28. package/dist/cjs/types/api/customer/communicationPreferences.js +2 -0
  29. package/dist/cjs/types/api/customer/customer.d.ts +55 -0
  30. package/dist/cjs/types/api/customer/customer.js +2 -0
  31. package/dist/cjs/types/api/customer/giftCards.d.ts +37 -0
  32. package/dist/cjs/types/api/customer/giftCards.js +2 -0
  33. package/dist/cjs/types/api/customer/groupOrders.d.ts +62 -0
  34. package/dist/cjs/types/api/customer/groupOrders.js +11 -0
  35. package/dist/cjs/types/api/customer/houseAccounts.d.ts +21 -0
  36. package/dist/cjs/types/api/customer/houseAccounts.js +2 -0
  37. package/dist/cjs/types/api/customer/identify.d.ts +46 -0
  38. package/dist/cjs/types/api/customer/identify.js +2 -0
  39. package/dist/cjs/types/api/customer/index.d.ts +13 -0
  40. package/dist/cjs/types/api/customer/index.js +17 -0
  41. package/dist/cjs/types/api/customer/loyalty.d.ts +70 -0
  42. package/dist/cjs/types/api/customer/loyalty.js +2 -0
  43. package/dist/cjs/types/api/customer/qrcode.d.ts +3 -0
  44. package/dist/cjs/types/api/customer/qrcode.js +2 -0
  45. package/dist/cjs/types/api/customer/thanx.d.ts +26 -0
  46. package/dist/cjs/types/api/customer/thanx.js +2 -0
  47. package/dist/cjs/types/api/customer/tpls.d.ts +76 -0
  48. package/dist/cjs/types/api/customer/tpls.js +2 -0
  49. package/dist/cjs/types/api/devices.d.ts +96 -0
  50. package/dist/cjs/types/api/devices.js +2 -0
  51. package/dist/cjs/types/api/discounts.d.ts +65 -0
  52. package/dist/cjs/types/api/discounts.js +2 -0
  53. package/dist/cjs/types/api/donations.d.ts +13 -0
  54. package/dist/cjs/types/api/donations.js +2 -0
  55. package/dist/cjs/types/api/employee.d.ts +70 -0
  56. package/dist/cjs/types/api/employee.js +2 -0
  57. package/dist/cjs/types/api/errorAlerts.d.ts +9 -0
  58. package/dist/cjs/types/api/errorAlerts.js +2 -0
  59. package/dist/cjs/types/api/favorite.d.ts +13 -0
  60. package/dist/cjs/types/api/favorite.js +2 -0
  61. package/dist/cjs/types/api/giftCard.d.ts +11 -0
  62. package/dist/cjs/types/api/giftCard.js +2 -0
  63. package/dist/cjs/types/api/index.d.ts +36 -0
  64. package/dist/cjs/types/api/index.js +39 -0
  65. package/dist/cjs/types/api/itemTypes.d.ts +15 -0
  66. package/dist/cjs/types/api/itemTypes.js +2 -0
  67. package/dist/cjs/types/api/kds.d.ts +100 -0
  68. package/dist/cjs/types/api/kds.js +2 -0
  69. package/dist/cjs/types/api/kiosk.d.ts +37 -0
  70. package/dist/cjs/types/api/kiosk.js +2 -0
  71. package/dist/cjs/types/api/menu.d.ts +188 -0
  72. package/dist/cjs/types/api/menu.js +2 -0
  73. package/dist/cjs/types/api/menuPages.d.ts +21 -0
  74. package/dist/cjs/types/api/menuPages.js +2 -0
  75. package/dist/cjs/types/api/messages.d.ts +5 -0
  76. package/dist/cjs/types/api/messages.js +2 -0
  77. package/dist/cjs/types/api/notifications.d.ts +5 -0
  78. package/dist/cjs/types/api/notifications.js +2 -0
  79. package/dist/cjs/types/api/offlineAuths.d.ts +12 -0
  80. package/dist/cjs/types/api/offlineAuths.js +2 -0
  81. package/dist/cjs/types/api/order.d.ts +352 -0
  82. package/dist/cjs/types/api/order.js +19 -0
  83. package/dist/cjs/types/api/orders.d.ts +5 -0
  84. package/dist/cjs/types/api/orders.js +2 -0
  85. package/dist/cjs/types/api/refund.d.ts +22 -0
  86. package/dist/cjs/types/api/refund.js +2 -0
  87. package/dist/cjs/types/api/revenueCenter.d.ts +180 -0
  88. package/dist/cjs/types/api/revenueCenter.js +2 -0
  89. package/dist/cjs/types/api/selectOptions.d.ts +7 -0
  90. package/dist/cjs/types/api/selectOptions.js +2 -0
  91. package/dist/cjs/types/api/settings.d.ts +17 -0
  92. package/dist/cjs/types/api/settings.js +2 -0
  93. package/dist/cjs/types/api/store.d.ts +159 -0
  94. package/dist/cjs/types/api/store.js +2 -0
  95. package/dist/cjs/types/api/surcharges.d.ts +15 -0
  96. package/dist/cjs/types/api/surcharges.js +2 -0
  97. package/dist/cjs/types/api/tags.d.ts +13 -0
  98. package/dist/cjs/types/api/tags.js +2 -0
  99. package/dist/cjs/types/api/taxes.d.ts +15 -0
  100. package/dist/cjs/types/api/taxes.js +2 -0
  101. package/dist/cjs/types/api/theme.d.ts +767 -0
  102. package/dist/cjs/types/api/theme.js +2 -0
  103. package/dist/cjs/types/datetimes.d.ts +52 -0
  104. package/dist/cjs/types/datetimes.js +2 -0
  105. package/dist/cjs/types/errors.d.ts +2 -0
  106. package/dist/cjs/types/errors.js +5 -0
  107. package/dist/cjs/types/global.d.ts +58 -0
  108. package/dist/cjs/types/global.js +2 -0
  109. package/dist/cjs/types/index.d.ts +8 -0
  110. package/dist/cjs/types/index.js +11 -0
  111. package/dist/cjs/types/inputs.d.ts +82 -0
  112. package/dist/cjs/types/inputs.js +23 -0
  113. package/dist/cjs/types/pizzaBuilder.d.ts +7 -0
  114. package/dist/cjs/types/pizzaBuilder.js +2 -0
  115. package/dist/cjs/types/request.d.ts +27 -0
  116. package/dist/cjs/types/request.js +2 -0
  117. package/dist/cjs/types/themePos.d.ts +117 -0
  118. package/dist/cjs/types/themePos.js +2 -0
  119. package/dist/esm/index.d.ts +1 -0
  120. package/dist/esm/index.js +1 -0
  121. package/dist/esm/types/api/alerts.d.ts +5 -0
  122. package/dist/esm/types/api/alerts.js +1 -0
  123. package/dist/esm/types/api/allergens.d.ts +13 -0
  124. package/dist/esm/types/api/allergens.js +1 -0
  125. package/dist/esm/types/api/announcements.d.ts +57 -0
  126. package/dist/esm/types/api/announcements.js +1 -0
  127. package/dist/esm/types/api/arrivals.d.ts +14 -0
  128. package/dist/esm/types/api/arrivals.js +1 -0
  129. package/dist/esm/types/api/cart.d.ts +117 -0
  130. package/dist/esm/types/api/cart.js +1 -0
  131. package/dist/esm/types/api/checkout.d.ts +376 -0
  132. package/dist/esm/types/api/checkout.js +20 -0
  133. package/dist/esm/types/api/completedOrders.d.ts +42 -0
  134. package/dist/esm/types/api/completedOrders.js +1 -0
  135. package/dist/esm/types/api/config.d.ts +567 -0
  136. package/dist/esm/types/api/config.js +1 -0
  137. package/dist/esm/types/api/creditCards.d.ts +42 -0
  138. package/dist/esm/types/api/creditCards.js +1 -0
  139. package/dist/esm/types/api/customer/account.d.ts +26 -0
  140. package/dist/esm/types/api/customer/account.js +1 -0
  141. package/dist/esm/types/api/customer/addresses.d.ts +24 -0
  142. package/dist/esm/types/api/customer/addresses.js +1 -0
  143. package/dist/esm/types/api/customer/allergens.d.ts +5 -0
  144. package/dist/esm/types/api/customer/allergens.js +1 -0
  145. package/dist/esm/types/api/customer/communicationPreferences.d.ts +12 -0
  146. package/dist/esm/types/api/customer/communicationPreferences.js +1 -0
  147. package/dist/esm/types/api/customer/customer.d.ts +55 -0
  148. package/dist/esm/types/api/customer/customer.js +1 -0
  149. package/dist/esm/types/api/customer/giftCards.d.ts +37 -0
  150. package/dist/esm/types/api/customer/giftCards.js +1 -0
  151. package/dist/esm/types/api/customer/groupOrders.d.ts +62 -0
  152. package/dist/esm/types/api/customer/groupOrders.js +6 -0
  153. package/dist/esm/types/api/customer/houseAccounts.d.ts +21 -0
  154. package/dist/esm/types/api/customer/houseAccounts.js +1 -0
  155. package/dist/esm/types/api/customer/identify.d.ts +46 -0
  156. package/dist/esm/types/api/customer/identify.js +1 -0
  157. package/dist/esm/types/api/customer/index.d.ts +13 -0
  158. package/dist/esm/types/api/customer/index.js +14 -0
  159. package/dist/esm/types/api/customer/loyalty.d.ts +70 -0
  160. package/dist/esm/types/api/customer/loyalty.js +1 -0
  161. package/dist/esm/types/api/customer/qrcode.d.ts +3 -0
  162. package/dist/esm/types/api/customer/qrcode.js +1 -0
  163. package/dist/esm/types/api/customer/thanx.d.ts +26 -0
  164. package/dist/esm/types/api/customer/thanx.js +1 -0
  165. package/dist/esm/types/api/customer/tpls.d.ts +76 -0
  166. package/dist/esm/types/api/customer/tpls.js +1 -0
  167. package/dist/esm/types/api/devices.d.ts +96 -0
  168. package/dist/esm/types/api/devices.js +1 -0
  169. package/dist/esm/types/api/discounts.d.ts +65 -0
  170. package/dist/esm/types/api/discounts.js +1 -0
  171. package/dist/esm/types/api/donations.d.ts +13 -0
  172. package/dist/esm/types/api/donations.js +1 -0
  173. package/dist/esm/types/api/employee.d.ts +70 -0
  174. package/dist/esm/types/api/employee.js +1 -0
  175. package/dist/esm/types/api/errorAlerts.d.ts +9 -0
  176. package/dist/esm/types/api/errorAlerts.js +1 -0
  177. package/dist/esm/types/api/favorite.d.ts +13 -0
  178. package/dist/esm/types/api/favorite.js +1 -0
  179. package/dist/esm/types/api/giftCard.d.ts +11 -0
  180. package/dist/esm/types/api/giftCard.js +1 -0
  181. package/dist/esm/types/api/index.d.ts +36 -0
  182. package/dist/esm/types/api/index.js +36 -0
  183. package/dist/esm/types/api/itemTypes.d.ts +15 -0
  184. package/dist/esm/types/api/itemTypes.js +1 -0
  185. package/dist/esm/types/api/kds.d.ts +100 -0
  186. package/dist/esm/types/api/kds.js +1 -0
  187. package/dist/esm/types/api/kiosk.d.ts +37 -0
  188. package/dist/esm/types/api/kiosk.js +1 -0
  189. package/dist/esm/types/api/menu.d.ts +188 -0
  190. package/dist/esm/types/api/menu.js +1 -0
  191. package/dist/esm/types/api/menuPages.d.ts +21 -0
  192. package/dist/esm/types/api/menuPages.js +1 -0
  193. package/dist/esm/types/api/messages.d.ts +5 -0
  194. package/dist/esm/types/api/messages.js +1 -0
  195. package/dist/esm/types/api/notifications.d.ts +5 -0
  196. package/dist/esm/types/api/notifications.js +1 -0
  197. package/dist/esm/types/api/offlineAuths.d.ts +12 -0
  198. package/dist/esm/types/api/offlineAuths.js +1 -0
  199. package/dist/esm/types/api/order.d.ts +352 -0
  200. package/dist/esm/types/api/order.js +12 -0
  201. package/dist/esm/types/api/orders.d.ts +5 -0
  202. package/dist/esm/types/api/orders.js +1 -0
  203. package/dist/esm/types/api/refund.d.ts +22 -0
  204. package/dist/esm/types/api/refund.js +1 -0
  205. package/dist/esm/types/api/revenueCenter.d.ts +180 -0
  206. package/dist/esm/types/api/revenueCenter.js +1 -0
  207. package/dist/esm/types/api/selectOptions.d.ts +7 -0
  208. package/dist/esm/types/api/selectOptions.js +1 -0
  209. package/dist/esm/types/api/settings.d.ts +17 -0
  210. package/dist/esm/types/api/settings.js +1 -0
  211. package/dist/esm/types/api/store.d.ts +159 -0
  212. package/dist/esm/types/api/store.js +1 -0
  213. package/dist/esm/types/api/surcharges.d.ts +15 -0
  214. package/dist/esm/types/api/surcharges.js +1 -0
  215. package/dist/esm/types/api/tags.d.ts +13 -0
  216. package/dist/esm/types/api/tags.js +1 -0
  217. package/dist/esm/types/api/taxes.d.ts +15 -0
  218. package/dist/esm/types/api/taxes.js +1 -0
  219. package/dist/esm/types/api/theme.d.ts +767 -0
  220. package/dist/esm/types/api/theme.js +1 -0
  221. package/dist/esm/types/datetimes.d.ts +52 -0
  222. package/dist/esm/types/datetimes.js +1 -0
  223. package/dist/esm/types/errors.d.ts +2 -0
  224. package/dist/esm/types/errors.js +2 -0
  225. package/dist/esm/types/global.d.ts +58 -0
  226. package/dist/esm/types/global.js +1 -0
  227. package/dist/esm/types/index.d.ts +8 -0
  228. package/dist/esm/types/index.js +8 -0
  229. package/dist/esm/types/inputs.d.ts +82 -0
  230. package/dist/esm/types/inputs.js +15 -0
  231. package/dist/esm/types/pizzaBuilder.d.ts +7 -0
  232. package/dist/esm/types/pizzaBuilder.js +1 -0
  233. package/dist/esm/types/request.d.ts +27 -0
  234. package/dist/esm/types/request.js +1 -0
  235. package/dist/esm/types/themePos.d.ts +117 -0
  236. package/dist/esm/types/themePos.js +1 -0
  237. package/package.json +1 -1
@@ -0,0 +1,767 @@
1
+ export declare type ThemeFlexDirection = 'row' | 'row-reverse' | 'column' | 'column-reverse';
2
+ export declare type ThemeJustifyContent = 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around';
3
+ export declare type ThemeFontSmoothing = 'none' | 'auto' | 'antialiased' | 'subpixel-antialiased';
4
+ export declare type ThemeTextTransform = 'none' | 'uppercase' | 'lowercase' | 'capitalize';
5
+ export declare type ThemeTextAlignment = 'left' | 'right' | 'center' | 'justify';
6
+ export declare type ThemeBackgroundSize = 'cover' | 'contain' | '100% auto' | 'auto 100%';
7
+ export declare type ThemeAlertType = 'alert' | 'error' | 'success' | 'toast';
8
+ export interface ThemeAlert extends Record<string, string> {
9
+ bgColor: string;
10
+ color: string;
11
+ }
12
+ export interface ThemeColorsBase extends Record<string, string> {
13
+ alert: string;
14
+ allergens: string;
15
+ dark: string;
16
+ error: string;
17
+ light: string;
18
+ primary: string;
19
+ secondary: string;
20
+ success: string;
21
+ tertiary: string;
22
+ toast: string;
23
+ }
24
+ export interface ThemeBackgroundColors extends ThemeColorsBase {
25
+ highlight: string;
26
+ hamburgerMenu: string;
27
+ home: string;
28
+ checkout: string;
29
+ tabNavigator: string;
30
+ homeIcon: string;
31
+ }
32
+ export interface ThemeBorder extends Record<string, string> {
33
+ color: string;
34
+ radius: string;
35
+ radiusSmall: string;
36
+ width: string;
37
+ widthApp: string;
38
+ }
39
+ export interface ThemeBoxShadow extends Record<string, string> {
40
+ appBig: string;
41
+ appSmall: string;
42
+ inset: string;
43
+ outer: string;
44
+ }
45
+ export interface ThemeBreakpoints extends Record<string, string> {
46
+ laptop: string;
47
+ mobile: string;
48
+ narrow: string;
49
+ tablet: string;
50
+ }
51
+ export interface ThemeColors extends ThemeColorsBase {
52
+ title: string;
53
+ }
54
+ export interface ThemeButtonColor extends Record<string, string> {
55
+ color: string;
56
+ bgColor: string;
57
+ borderColor: string;
58
+ }
59
+ export interface ThemeButtonLargeColor extends ThemeButtonColor {
60
+ iconColor: string;
61
+ subtitleColor: string;
62
+ }
63
+ export interface ThemeButtonColors extends Record<string, ThemeButtonColor | ThemeButtonLargeColor> {
64
+ cart: ThemeButtonColor;
65
+ cartHover: ThemeButtonColor;
66
+ header: ThemeButtonColor;
67
+ headerHover: ThemeButtonColor;
68
+ large: ThemeButtonLargeColor;
69
+ largeHover: ThemeButtonLargeColor;
70
+ light: ThemeButtonColor;
71
+ lightHover: ThemeButtonColor;
72
+ primary: ThemeButtonColor;
73
+ primaryHover: ThemeButtonColor;
74
+ secondary: ThemeButtonColor;
75
+ secondaryHover: ThemeButtonColor;
76
+ }
77
+ export interface ThemeButtonSize extends Record<string, string | boolean> {
78
+ borderRadius: string;
79
+ borderWidth: string;
80
+ borderWidthApp: string;
81
+ family: string;
82
+ fontMobile: string;
83
+ fontSize: string;
84
+ fontSmoothing: ThemeFontSmoothing;
85
+ fontStyle: string;
86
+ letterSpacing: string;
87
+ padding: string;
88
+ textTransform: ThemeTextTransform;
89
+ weight: string;
90
+ }
91
+ export interface ThemeButtonLargeSize extends ThemeButtonSize {
92
+ minHeight: string;
93
+ minHeightMobile: string;
94
+ showButtonApp: boolean;
95
+ showIcons: boolean;
96
+ showIconsMobile: boolean;
97
+ showSubtitle: boolean;
98
+ showSubtitleMobile: boolean;
99
+ subtitleFontMobile: string;
100
+ subtitleFontSize: string;
101
+ subtitleFontSizeMobile: string;
102
+ subtitleFontWeight: string;
103
+ subtitleMarginTop: string;
104
+ subtitleMarginTopMobile: string;
105
+ titleFontMobile: string;
106
+ titleFontSize: string;
107
+ titleFontSizeMobile: string;
108
+ titleFontWeight: string;
109
+ titleMarginLeft: string;
110
+ titleMarginLeftMobile: string;
111
+ titleMarginTop: string;
112
+ titleMarginTopMobile: string;
113
+ }
114
+ export interface ThemeButtonSizes extends Record<string, ThemeButtonSize | ThemeButtonLargeSize> {
115
+ big: ThemeButtonSize;
116
+ default: ThemeButtonSize;
117
+ header: ThemeButtonSize;
118
+ large: ThemeButtonLargeSize;
119
+ small: ThemeButtonSize;
120
+ }
121
+ export interface ThemeButtons extends Record<string, ThemeButtonColors | ThemeButtonSizes> {
122
+ colors: ThemeButtonColors;
123
+ sizes: ThemeButtonSizes;
124
+ }
125
+ export interface ThemeCard extends Record<string, string | boolean | number> {
126
+ bgColor: string;
127
+ borderColor: string;
128
+ borderRadius: string;
129
+ borderWidth: string;
130
+ borderWidthApp: string;
131
+ boxShadow: string;
132
+ displayAsCard: boolean;
133
+ overrideFontColors: boolean;
134
+ padding: string;
135
+ paddingApp: string;
136
+ textColor: string;
137
+ textSize: string;
138
+ textSizeMobile: string;
139
+ titleColor: string;
140
+ titleSize: string;
141
+ titleSizeMobile: string;
142
+ }
143
+ export interface ThemeCardItem extends ThemeCard {
144
+ caloriesColor: string;
145
+ caloriesSize: string;
146
+ caloriesSizeMobile: string;
147
+ imageAsImg: boolean;
148
+ imageAspectRatio: number;
149
+ imageBgSize: ThemeBackgroundSize;
150
+ priceColor: string;
151
+ priceSize: string;
152
+ priceSizeMobile: string;
153
+ }
154
+ export interface ThemeCards extends Record<string, ThemeCard | ThemeCardItem> {
155
+ default: ThemeCard;
156
+ form: ThemeCard;
157
+ menuItem: ThemeCardItem;
158
+ modifier: ThemeCardItem;
159
+ }
160
+ export declare type ThemeCategoryDisplayType = 'LIST' | 'CARDS' | 'SQUARES';
161
+ export declare type ThemeCategoryLineType = 'none' | 'underline' | 'overline';
162
+ export interface ThemeCategory extends Record<string, string | number | boolean> {
163
+ backgroundColor: string;
164
+ backgroundColorHover: string;
165
+ borderRadius: string;
166
+ boxShadow: string;
167
+ containerMaxWidth: string;
168
+ displayType: ThemeCategoryDisplayType;
169
+ gap: string;
170
+ gapDouble: string;
171
+ gapHalf: string;
172
+ imageBgSize: ThemeBackgroundSize;
173
+ imageBorderRadius: string;
174
+ imagePadding: string;
175
+ imageRatio: number;
176
+ imageScale: number;
177
+ imageScaleHover: number;
178
+ imageBoxShadow: string;
179
+ justifyContent: ThemeJustifyContent;
180
+ lineHeight: string;
181
+ lineMargin: string;
182
+ lineType: ThemeCategoryLineType;
183
+ lineWidth: string;
184
+ maxWidth: string;
185
+ minWidth: string;
186
+ overlayColor: string;
187
+ overlayOpacity: number;
188
+ overlayOpacityHover: number;
189
+ paddingBottom: string;
190
+ paddingHorizontal: string;
191
+ paddingTop: string;
192
+ perRow: number;
193
+ showDescription: boolean;
194
+ subtitleColor: string;
195
+ subtitleColorHover: string;
196
+ subtitleSize: string;
197
+ textAlign: ThemeJustifyContent;
198
+ textAlignVertical: ThemeJustifyContent;
199
+ textAlignment: ThemeTextAlignment;
200
+ titleColor: string;
201
+ titleColorHover: string;
202
+ titleSize: string;
203
+ transition: string;
204
+ width: string;
205
+ }
206
+ export interface ThemeCategories extends Record<string, ThemeCategory> {
207
+ desktop: ThemeCategory;
208
+ mobile: ThemeCategory;
209
+ }
210
+ export interface ThemeCount extends Record<string, string | boolean> {
211
+ bgColor: string;
212
+ borderColor: string;
213
+ borderWidth: string;
214
+ borderWidthApp: string;
215
+ color: string;
216
+ family: string;
217
+ fontMobile: string;
218
+ fontSize: string;
219
+ fontSizeMobile: string;
220
+ fontSmoothing: ThemeFontSmoothing;
221
+ fontStyle: string;
222
+ hide: boolean;
223
+ paddingBottom: string;
224
+ paddingTop: string;
225
+ weight: string;
226
+ }
227
+ export interface ThemeCounts extends Record<string, ThemeCount> {
228
+ alerts: ThemeCount;
229
+ quantity: ThemeCount;
230
+ }
231
+ export interface ThemeFavorite extends Record<string, string> {
232
+ iconSize: string;
233
+ size: string;
234
+ }
235
+ export declare type ThemeFontSize = 'big' | 'giga' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'main' | 'mega' | 'small' | 'tera' | 'xBig' | 'xSmall' | 'xxBig' | 'xxSmall';
236
+ export declare type ThemeFontSizes = Record<string, string> & {
237
+ [keys in ThemeFontSize]: string;
238
+ };
239
+ export interface ThemeFont extends Record<string, string | ThemeFontSizes | undefined | number> {
240
+ color: string;
241
+ family: string;
242
+ fontSize?: string;
243
+ fontMobile: string;
244
+ fontSmoothing: ThemeFontSmoothing;
245
+ fontStyle: string;
246
+ letterSpacing: string;
247
+ lineHeight: number;
248
+ lineHeights?: ThemeFontSizes;
249
+ textTransform: ThemeTextTransform;
250
+ url?: string;
251
+ weight: string;
252
+ }
253
+ export interface ThemeFonts extends Record<string, ThemeFont | ThemeFontSizes | undefined> {
254
+ body: ThemeFont;
255
+ headings: ThemeFont;
256
+ headline: ThemeFont;
257
+ lineHeights?: ThemeFontSizes;
258
+ preface: ThemeFont;
259
+ sizes: ThemeFontSizes;
260
+ sizesMobile: ThemeFontSizes;
261
+ }
262
+ export interface ThemeHeader extends Record<string, string> {
263
+ primary: string;
264
+ primaryBorder: string;
265
+ stuck: string;
266
+ stuckBorder: string;
267
+ }
268
+ export interface ThemeIcons extends Record<string, number> {
269
+ strokeWidth: number;
270
+ }
271
+ export interface ThemeInputsLabel extends Record<string, string> {
272
+ fontSize: string;
273
+ fontSizeMobile: string;
274
+ left: string;
275
+ lineHeight: string;
276
+ offset: string;
277
+ padding: string;
278
+ top: string;
279
+ }
280
+ export interface ThemeInputs extends Record<string, string | boolean | ThemeInputsLabel> {
281
+ bgColor: string;
282
+ bgColorFocus: string;
283
+ borderColor: string;
284
+ borderColorFocus: string;
285
+ borderStyle: string;
286
+ borderWidth: string;
287
+ borderWidthApp: string;
288
+ bottomBorderOnly: boolean;
289
+ boxShadow: string;
290
+ color: string;
291
+ colorFocus: string;
292
+ family: string;
293
+ fontMobile: string;
294
+ fontSize: string;
295
+ fontSizeMobile: string;
296
+ fontSmoothing: ThemeFontSmoothing;
297
+ iconLeft: string;
298
+ iconPadding: string;
299
+ label: ThemeInputsLabel;
300
+ letterSpacing: string;
301
+ lineHeight: string;
302
+ padding: string;
303
+ paddingBottom: string;
304
+ paddingBottomActive: string;
305
+ paddingHorizontal: string;
306
+ paddingTop: string;
307
+ paddingTopActive: string;
308
+ paddingVertical: string;
309
+ placeholderColor: string;
310
+ radius: string;
311
+ selectPaddingBottom: string;
312
+ selectSize: string;
313
+ selectSizeMobile: string;
314
+ showIcon: boolean;
315
+ showLabel: boolean;
316
+ showOutline: boolean;
317
+ textTransform: ThemeTextTransform;
318
+ weight: string;
319
+ }
320
+ export declare type ThemeItemSizeType = 'BUTTONS' | 'ACCORDION';
321
+ export interface ThemeItemStyles extends Record<string, string | number | boolean> {
322
+ imageAsImg: number;
323
+ imageAspectRatio: number;
324
+ imageBgSize: ThemeBackgroundSize;
325
+ imageHeight: string;
326
+ imageMargin: string;
327
+ imageMaxHeight: string;
328
+ imageMinHeight: string;
329
+ imagePadding: string;
330
+ imagePaddingAll: string;
331
+ maxWidth: string;
332
+ padding: string;
333
+ showSizeModImages: boolean;
334
+ sizeType: ThemeItemSizeType;
335
+ }
336
+ export interface ThemeItem extends Record<string, ThemeItemStyles> {
337
+ desktop: ThemeItemStyles;
338
+ mobile: ThemeItemStyles;
339
+ }
340
+ export interface ThemeItemsStyles extends Record<string, string | number> {
341
+ containerMaxWidth: string;
342
+ gap: string;
343
+ gapDouble: string;
344
+ gapHalf: string;
345
+ justifyContent: string;
346
+ marginBottom: string;
347
+ minWidth: string;
348
+ perRow: number;
349
+ width: string;
350
+ }
351
+ export interface ThemeItems extends Record<string, ThemeItemsStyles> {
352
+ desktop: ThemeItemsStyles;
353
+ mobile: ThemeItemsStyles;
354
+ }
355
+ export interface ThemeLayout extends Record<string, string> {
356
+ containerMaxWidth: string;
357
+ headerHeightApp: string;
358
+ headerHeightSite: string;
359
+ headerHeightSiteMobile: string;
360
+ margin: string;
361
+ marginMobile: string;
362
+ maxWidth: string;
363
+ menuHeroHeight: string;
364
+ menuHeroHeightMobile: string;
365
+ navHeight: string;
366
+ navHeightApp: string;
367
+ navHeightMobile: string;
368
+ padding: string;
369
+ paddingMobile: string;
370
+ }
371
+ export interface ThemeLink extends Record<string, string> {
372
+ color: string;
373
+ hover: string;
374
+ }
375
+ export declare type ThemeLinkType = 'customize' | 'dark' | 'light' | 'primary';
376
+ export interface ThemeLinks extends Record<string, string | ThemeLink> {
377
+ customize: ThemeLink;
378
+ dark: ThemeLink;
379
+ light: ThemeLink;
380
+ primary: ThemeLink;
381
+ textDecoration: string;
382
+ transition: string;
383
+ }
384
+ export interface ThemeLogo extends Record<string, string> {
385
+ marginTop: string;
386
+ marginTopMobile: string;
387
+ width: string;
388
+ widthMobile: string;
389
+ }
390
+ export interface ThemeMenuItemsContainer extends Record<string, string | number> {
391
+ maxWidth: string;
392
+ gap: string;
393
+ gapHalf: string;
394
+ gapHalfMobile: string;
395
+ gapMobile: string;
396
+ justifyContent: ThemeJustifyContent;
397
+ margin: string;
398
+ marginMobile: string;
399
+ padding: string;
400
+ paddingMobile: string;
401
+ perRow: number;
402
+ perRowMobile: number;
403
+ }
404
+ export interface ThemeMenuItemsBox extends Record<string, string | number> {
405
+ bgColor: string;
406
+ bgColorHover: string;
407
+ border: string;
408
+ borderColor: string;
409
+ borderColorHover: string;
410
+ borderMobile: string;
411
+ borderRadius: string;
412
+ borderRadiusMobile: string;
413
+ boxShadow: string;
414
+ boxShadowHover: string;
415
+ margin: string;
416
+ marginMobile: string;
417
+ minWidth: string;
418
+ minWidthMobile: string;
419
+ padding: string;
420
+ paddingMobile: string;
421
+ width: string;
422
+ widthMobile: string;
423
+ }
424
+ export declare type ThemeImagePosition = 'TOP' | 'BOTTOM' | 'LEFT' | 'RIGHT' | 'HIDDEN';
425
+ export interface ThemeMenuItemsImage extends Record<string, string | number | boolean> {
426
+ asImg: boolean;
427
+ aspectRatio: number;
428
+ bgColor: string;
429
+ bgSize: ThemeBackgroundSize;
430
+ border: string;
431
+ borderColor: string;
432
+ borderMobile: string;
433
+ borderRadius: string;
434
+ borderRadiusMobile: string;
435
+ boxShadow: string;
436
+ margin: string;
437
+ marginMobile: string;
438
+ minWidth: string;
439
+ minWidthMobile: string;
440
+ padding: string;
441
+ paddingMobile: string;
442
+ position: ThemeImagePosition;
443
+ }
444
+ export declare type ThemeMenuItemsContentDescription = 'SHOW' | 'HIDE' | 'SHORT';
445
+ export declare type ThemeMenuItemsContentLayout = 'PRICE_RIGHT' | 'PRICE_BELOW' | 'PRICE_LAST';
446
+ export interface ThemeMenuItemsContent extends Record<string, string> {
447
+ description: ThemeMenuItemsContentDescription;
448
+ descriptionMobile: ThemeMenuItemsContentDescription;
449
+ layout: ThemeMenuItemsContentLayout;
450
+ layoutMobile: ThemeMenuItemsContentLayout;
451
+ padding: string;
452
+ paddingMobile: string;
453
+ }
454
+ export declare type ThemeMenuItemsButtonsDisplay = 'SHOW' | 'HIDE' | 'MINIMAL';
455
+ export declare type ThemeMenuItemsButtonsColor = 'primary' | 'secondary' | 'cart' | 'light';
456
+ export interface ThemeMenuItemsButtons extends Record<string, string> {
457
+ color: ThemeMenuItemsButtonsColor;
458
+ display: ThemeMenuItemsButtonsDisplay;
459
+ displayMobile: ThemeMenuItemsButtonsDisplay;
460
+ flexDirection: ThemeFlexDirection;
461
+ gap: string;
462
+ gapMobile: string;
463
+ justifyContent: ThemeJustifyContent;
464
+ padding: string;
465
+ paddingMobile: string;
466
+ }
467
+ export interface ThemeMenuItemsText extends Record<string, string | undefined> {
468
+ color: string;
469
+ colorHover: string;
470
+ fontSize: string;
471
+ fontSizeMobile: string;
472
+ lineHeight?: string;
473
+ padding: string;
474
+ paddingMobile: string;
475
+ }
476
+ export interface ThemeMenuItemsTags extends Record<string, string | undefined> {
477
+ displayType: 'IMAGE' | 'TEXT' | 'BOTH' | 'HIDDEN';
478
+ color: string;
479
+ colorHover: string;
480
+ fontSize: string;
481
+ fontSizeMobile: string;
482
+ gap: string;
483
+ gapMobile: string;
484
+ letterSpacing: string;
485
+ lineHeight?: string;
486
+ prefix: string;
487
+ textTransform: ThemeTextTransform;
488
+ width: string;
489
+ widthMobile: string;
490
+ }
491
+ export interface ThemeMenuItemsTagsAllergens extends Record<string, string> {
492
+ justifyContent: ThemeJustifyContent;
493
+ gap: string;
494
+ gapMobile: string;
495
+ flexDirection: ThemeFlexDirection;
496
+ padding: string;
497
+ paddingMobile: string;
498
+ }
499
+ export interface ThemeMenuItems extends Record<string, ThemeMenuItemsText | ThemeMenuItemsContainer | ThemeMenuItemsBox | ThemeMenuItemsImage | ThemeMenuItemsContent | ThemeMenuItemsButtons | ThemeMenuItemsTags | ThemeMenuItemsTagsAllergens> {
500
+ allergens: ThemeMenuItemsTags;
501
+ box: ThemeMenuItemsBox;
502
+ buttons: ThemeMenuItemsButtons;
503
+ calories: ThemeMenuItemsText;
504
+ container: ThemeMenuItemsContainer;
505
+ content: ThemeMenuItemsContent;
506
+ image: ThemeMenuItemsImage;
507
+ price: ThemeMenuItemsText;
508
+ tags: ThemeMenuItemsTags;
509
+ tagsAllergens: ThemeMenuItemsTagsAllergens;
510
+ text: ThemeMenuItemsText;
511
+ title: ThemeMenuItemsText;
512
+ }
513
+ export interface ThemeTagsContainer extends Record<string, string | number> {
514
+ bgColor: string;
515
+ bgColorStuck: string;
516
+ displayType: 'IMAGE' | 'TEXT' | 'BOTH';
517
+ gap: string;
518
+ gapHalf: string;
519
+ gapMobile: string;
520
+ gapMobileHalf: string;
521
+ justifyContent: ThemeJustifyContent;
522
+ margin: string;
523
+ marginMobile: string;
524
+ maxWidth: string;
525
+ padding: string;
526
+ paddingMobile: string;
527
+ }
528
+ export interface ThemeTagsBox extends Record<string, string | number> {
529
+ bgColor: string;
530
+ bgColorHover: string;
531
+ border: string;
532
+ borderColor: string;
533
+ borderColorHover: string;
534
+ borderMobile: string;
535
+ borderRadius: string;
536
+ borderRadiusMobile: string;
537
+ boxShadow: string;
538
+ boxShadowHover: string;
539
+ margin: string;
540
+ marginMobile: string;
541
+ minWidth: string;
542
+ minWidthMobile: string;
543
+ padding: string;
544
+ paddingMobile: string;
545
+ transition: string;
546
+ width: string;
547
+ widthMobile: string;
548
+ }
549
+ export interface ThemeTagsImage extends Record<string, string | number | boolean> {
550
+ asImg: boolean;
551
+ aspectRatio: number;
552
+ bgColor: string;
553
+ bgSize: ThemeBackgroundSize;
554
+ border: string;
555
+ borderColor: string;
556
+ borderMobile: string;
557
+ borderRadius: string;
558
+ borderRadiusMobile: string;
559
+ boxShadow: string;
560
+ margin: string;
561
+ marginMobile: string;
562
+ minWidth: string;
563
+ minWidthMobile: string;
564
+ padding: string;
565
+ paddingMobile: string;
566
+ position: ThemeImagePosition;
567
+ }
568
+ export interface ThemeTagsText extends Record<string, string> {
569
+ color: string;
570
+ colorHover: string;
571
+ fontSize: string;
572
+ fontSizeMobile: string;
573
+ }
574
+ export interface ThemeTags extends Record<string, ThemeTagsBox | ThemeTagsContainer | ThemeTagsImage | ThemeTagsText> {
575
+ box: ThemeTagsBox;
576
+ container: ThemeTagsContainer;
577
+ image: ThemeTagsImage;
578
+ text: ThemeTagsText;
579
+ }
580
+ export interface ThemeModifiersText extends Record<string, string> {
581
+ color: string;
582
+ fontSize: string;
583
+ hoverColor: string;
584
+ selectedColor: string;
585
+ }
586
+ export interface ThemeModifiersColors extends Record<string, string> {
587
+ bgColor: string;
588
+ borderColor: string;
589
+ }
590
+ export declare type ThemeModifiersBoxType = 'DEFAULT' | 'CARDS' | 'SQUARES' | 'SIMPLE';
591
+ export interface ThemeModifiersBox extends Record<string, string | number> {
592
+ border: string;
593
+ borderMobile: string;
594
+ borderRadius: string;
595
+ boxShadow: string;
596
+ gap: string;
597
+ gapHalf: string;
598
+ layout: ThemeModifiersBoxType;
599
+ margin: string;
600
+ marginMobile: string;
601
+ minHeight: string;
602
+ minHeightWithGap: string;
603
+ minWidth: string;
604
+ padding: string;
605
+ paddingMobile: string;
606
+ perRow: number;
607
+ transition: string;
608
+ width: string;
609
+ }
610
+ export interface ThemeModifiersImage extends Record<string, string | boolean> {
611
+ asImg: boolean;
612
+ bgColor: string;
613
+ bgSize: ThemeBackgroundSize;
614
+ border: string;
615
+ borderColor: string;
616
+ borderRadius: string;
617
+ boxShadow: string;
618
+ height: string;
619
+ margin: string;
620
+ padding: string;
621
+ width: string;
622
+ }
623
+ export interface ThemeModifiersContent extends Record<string, string> {
624
+ padding: string;
625
+ }
626
+ export interface ThemeModifiers extends Record<string, ThemeModifiersText | ThemeModifiersColors | ThemeModifiersBox | ThemeModifiersImage | ThemeModifiersContent> {
627
+ box: ThemeModifiersBox;
628
+ calories: ThemeModifiersText;
629
+ colors: ThemeModifiersColors;
630
+ content: ThemeModifiersContent;
631
+ hoverColors: ThemeModifiersColors;
632
+ image: ThemeModifiersImage;
633
+ price: ThemeModifiersText;
634
+ selectedColors: ThemeModifiersColors;
635
+ text: ThemeModifiersText;
636
+ title: ThemeModifiersText;
637
+ }
638
+ export interface ThemeBottomTabsBox {
639
+ bgColor: string;
640
+ borderColor: string;
641
+ borderRadius: string;
642
+ borderWidth: string;
643
+ boxShadow: string;
644
+ gap: string;
645
+ justifyContent: ThemeJustifyContent;
646
+ padding: string;
647
+ }
648
+ export interface ThemeBottomTabsButtons {
649
+ color: string;
650
+ family: string;
651
+ fontMobile: string;
652
+ fontSize: string;
653
+ fontSmoothing: ThemeFontSmoothing;
654
+ fontStyle: string;
655
+ letterSpacing: string;
656
+ lineHeight: string;
657
+ lineHeights?: ThemeFontSizes;
658
+ padding: string;
659
+ textTransform: ThemeTextTransform;
660
+ weight: string;
661
+ }
662
+ export interface ThemeBottomTabsIcons {
663
+ color: string;
664
+ display: boolean;
665
+ padding: string;
666
+ position: ThemeImagePosition;
667
+ size: number;
668
+ strokeWidth: number;
669
+ }
670
+ export interface ThemeBottomTabs extends Record<string, ThemeBottomTabsBox | ThemeBottomTabsButtons | ThemeBottomTabsIcons> {
671
+ box: ThemeBottomTabsBox;
672
+ buttons: ThemeBottomTabsButtons;
673
+ icons: ThemeBottomTabsIcons;
674
+ }
675
+ export interface ThemeOverlay extends Record<string, string> {
676
+ alert: string;
677
+ dark: string;
678
+ light: string;
679
+ primary: string;
680
+ secondary: string;
681
+ tertiary: string;
682
+ }
683
+ export interface ThemeWelcomeStyles extends Record<string, string | boolean | number> {
684
+ buttonPaddingLeft: string;
685
+ buttonPaddingRight: string;
686
+ marginBottom: string;
687
+ marginTop: string;
688
+ showIcons: boolean;
689
+ subtitleLineHeight: number;
690
+ subtitleMarginTop: string;
691
+ subtitleSize: string;
692
+ textAlign: ThemeTextAlignment;
693
+ titleLineHeight: number;
694
+ titleMarginLeft: string;
695
+ titleSize: string;
696
+ }
697
+ export interface ThemeWelcome extends Record<string, ThemeWelcomeStyles> {
698
+ desktop: ThemeWelcomeStyles;
699
+ mobile: ThemeWelcomeStyles;
700
+ }
701
+ export declare type ThemeLoyaltyAccountWidgetType = 'ACCOUNT_SUMMERY' | 'WELCOME_BACK';
702
+ export interface ThemeLoyaltyAccountWidget {
703
+ type: ThemeLoyaltyAccountWidgetType;
704
+ bgColor: string;
705
+ borderRadius: string;
706
+ boxShadow: string;
707
+ padding: string;
708
+ }
709
+ export interface ThemeLoyaltyPointsShopCard {
710
+ padding: string;
711
+ paddingMobile: string;
712
+ imageBoxShadow: string;
713
+ }
714
+ export interface ThemeLoyaltyRewardCard {
715
+ padding: string;
716
+ paddingMobile: string;
717
+ imageBoxShadow: string;
718
+ }
719
+ export interface ThemeLoyalty {
720
+ accountWidget: ThemeLoyaltyAccountWidget;
721
+ pointsShopCard: ThemeLoyaltyPointsShopCard;
722
+ rewardsCard: ThemeLoyaltyRewardCard;
723
+ }
724
+ export interface Theme {
725
+ alert: ThemeAlert;
726
+ bgColors: ThemeBackgroundColors;
727
+ boldWeight: string;
728
+ border: ThemeBorder;
729
+ bottomTabs: ThemeBottomTabs;
730
+ boxShadow: ThemeBoxShadow;
731
+ breakpoints: ThemeBreakpoints;
732
+ buttons: ThemeButtons;
733
+ cards: ThemeCards;
734
+ categories: ThemeCategories;
735
+ colors: ThemeColors;
736
+ counts: ThemeCounts;
737
+ error: ThemeAlert;
738
+ favorite: ThemeFavorite;
739
+ fonts: ThemeFonts;
740
+ header: ThemeHeader;
741
+ icons: ThemeIcons;
742
+ inputs: ThemeInputs;
743
+ item: ThemeItem;
744
+ items: ThemeItems;
745
+ layout: ThemeLayout;
746
+ lineHeight: string;
747
+ links: ThemeLinks;
748
+ logo: ThemeLogo;
749
+ logoFooter: ThemeLogo;
750
+ tags: ThemeTags;
751
+ menuItems: ThemeMenuItems;
752
+ modifiers: ThemeModifiers;
753
+ overlay: ThemeOverlay;
754
+ success: ThemeAlert;
755
+ toast: ThemeAlert;
756
+ welcome: ThemeWelcome;
757
+ loyalty: ThemeLoyalty;
758
+ }
759
+ export interface ThemeWelcomeStylesApp extends Omit<ThemeWelcomeStyles, 'titleLineHeight' | 'subtitleLineHeight'> {
760
+ titleLineHeight: string;
761
+ subtitleLineHeight: string;
762
+ }
763
+ export interface AppTheme extends Omit<Theme, 'welcome' | 'item' | 'categories'> {
764
+ welcome: ThemeWelcomeStylesApp;
765
+ item: ThemeItemStyles;
766
+ categories: ThemeCategory;
767
+ }