gap-nodejs-sdk 1.0.388 → 1.0.389

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.
@@ -1 +1 @@
1
- {"version":3,"file":"staff.d.ts","sourceRoot":"","sources":["../../../../../src/api/pos_client_api/1.0.0/models/staff.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAA;AAE7C,wBAAgB,UAAU,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,oBAAoB,CAqBnE;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,8BAA8B,CAQvF;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,yBAAyB,CAyBjF"}
1
+ {"version":3,"file":"staff.d.ts","sourceRoot":"","sources":["../../../../../src/api/pos_client_api/1.0.0/models/staff.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAA;AAE7C,wBAAgB,UAAU,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,oBAAoB,CAqBnE;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,8BAA8B,CASvF;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,yBAAyB,CAyBjF"}
@@ -22,13 +22,14 @@ export function StaffModel(data) {
22
22
  };
23
23
  }
24
24
  export function StaffByCheckoutModel(data) {
25
- var _a, _b, _c, _d, _e;
25
+ var _a, _b, _c, _d, _e, _f;
26
26
  return {
27
27
  user_id: (_a = data === null || data === void 0 ? void 0 : data.user_id) !== null && _a !== void 0 ? _a : null,
28
28
  name: (_b = data === null || data === void 0 ? void 0 : data.name) !== null && _b !== void 0 ? _b : null,
29
29
  image_url: (_c = data === null || data === void 0 ? void 0 : data.image_url) !== null && _c !== void 0 ? _c : null,
30
30
  color_code: (_d = data === null || data === void 0 ? void 0 : data.color_code) !== null && _d !== void 0 ? _d : null,
31
31
  sub_total: (_e = data === null || data === void 0 ? void 0 : data.sub_total) !== null && _e !== void 0 ? _e : null,
32
+ service_sub_total: (_f = data === null || data === void 0 ? void 0 : data.service_sub_total) !== null && _f !== void 0 ? _f : null,
32
33
  };
33
34
  }
34
35
  export function StaffTurnChartModel(data) {
@@ -37,6 +37,7 @@ export declare type GetStaffListByCheckoutResponse = Nullable<{
37
37
  image_url?: string;
38
38
  color_code: string;
39
39
  sub_total: number;
40
+ service_sub_total: number;
40
41
  }>;
41
42
  export declare type GetStaffTurnChartResponse = Nullable<{
42
43
  staff: Staff[];
@@ -1 +1 @@
1
- {"version":3,"file":"staff.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/response/staff.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,aAAK,UAAU,GAAG,QAAQ,CAAC;IACvB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;CACrB,CAAC,CAAA;AAEF,aAAK,KAAK,GAAG,QAAQ,CAAC;IAClB,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,EAAE,UAAU,EAAE,CAAA;IACxB,oBAAoB,EAAE,MAAM,CAAA;IAC5B,uBAAuB,EAAE,MAAM,CAAA;IAC/B,0BAA0B,EAAE,MAAM,CAAA;IAClC,6BAA6B,EAAE,MAAM,CAAA;IACrC,UAAU,E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