@longvansoftware/storefront-js-client 4.0.9 → 4.1.0

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.
@@ -24,5 +24,5 @@ export declare class PortalService extends Service {
24
24
  getClass(studentId?: string): Promise<any>;
25
25
  getMenus(menuId: string): Promise<any>;
26
26
  getBooking(query?: Record<string, any>): Promise<any>;
27
- bookingSchedule(data: Record<string, any>): Promise<void>;
27
+ bookingSchedule(data: Record<string, any>): Promise<any>;
28
28
  }
@@ -336,6 +336,7 @@ class PortalService extends serviceSDK_1.Service {
336
336
  const endpoint = `/dynamic-collection/public/v2/schedule/actionBooking`;
337
337
  try {
338
338
  const response = yield this.restApiCallWithNoToken(endpoint, method, data);
339
+ return response;
339
340
  }
340
341
  catch (error) {
341
342
  throw error;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@longvansoftware/storefront-js-client",
3
- "version": "4.0.9",
3
+ "version": "4.1.0",
4
4
  "main": "dist/src/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "files": [