@zenky/storefront-api 0.0.20 → 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 +6 -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;
@@ -1208,12 +1209,17 @@ export interface OrderCheckoutResult {
1208
1209
  online_payment: {
1209
1210
  required: boolean;
1210
1211
  payment_page_url: string | null;
1212
+ transaction_id: string | null;
1211
1213
  };
1212
1214
  order: Order;
1213
1215
  }
1214
1216
  export interface ConfirmOrderRequest {
1215
1217
  code: string | number;
1216
1218
  }
1219
+ export interface OrderConfirmationResult {
1220
+ success: boolean;
1221
+ token: string | null;
1222
+ }
1217
1223
  export interface OrderPromotionReward {
1218
1224
  id: string;
1219
1225
  promotion_id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zenky/storefront-api",
3
- "version": "0.0.20",
3
+ "version": "0.0.22",
4
4
  "description": "Zenky Storefront API SDK",
5
5
  "author": "Timur Zurbaev <hello@zurbaev.ru>",
6
6
  "license": "MIT",