@zenky/storefront-api 0.0.21 → 0.0.22

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 (2) hide show
  1. package/dist/index.d.ts +5 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -43,6 +43,7 @@ export interface Schedule {
43
43
  is_open_now: boolean;
44
44
  opening_at: string | null;
45
45
  closing_at: string | null;
46
+ day_id: string;
46
47
  days: {
47
48
  monday: ScheduleDay | null;
48
49
  tuesday: ScheduleDay | null;
@@ -1215,6 +1216,10 @@ export interface OrderCheckoutResult {
1215
1216
  export interface ConfirmOrderRequest {
1216
1217
  code: string | number;
1217
1218
  }
1219
+ export interface OrderConfirmationResult {
1220
+ success: boolean;
1221
+ token: string | null;
1222
+ }
1218
1223
  export interface OrderPromotionReward {
1219
1224
  id: string;
1220
1225
  promotion_id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zenky/storefront-api",
3
- "version": "0.0.21",
3
+ "version": "0.0.22",
4
4
  "description": "Zenky Storefront API SDK",
5
5
  "author": "Timur Zurbaev <hello@zurbaev.ru>",
6
6
  "license": "MIT",