gap-nodejs-sdk 1.0.429 → 1.0.430

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.
@@ -278,7 +278,7 @@ export function GetSalaryDetailModel(data) {
278
278
  date: (_a = data === null || data === void 0 ? void 0 : data.date) !== null && _a !== void 0 ? _a : null,
279
279
  salary: {
280
280
  name: (_c = (_b = data === null || data === void 0 ? void 0 : data.salary) === null || _b === void 0 ? void 0 : _b.name) !== null && _c !== void 0 ? _c : null,
281
- total_salary: (_e = (_d = data === null || data === void 0 ? void 0 : data.salary) === null || _d === void 0 ? void 0 : _d.name) !== null && _e !== void 0 ? _e : null,
281
+ total_salary: (_e = (_d = data === null || data === void 0 ? void 0 : data.salary) === null || _d === void 0 ? void 0 : _d.total_salary) !== null && _e !== void 0 ? _e : null,
282
282
  user_id: (_g = (_f = data === null || data === void 0 ? void 0 : data.salary) === null || _f === void 0 ? void 0 : _f.name) !== null && _g !== void 0 ? _g : null,
283
283
  },
284
284
  work_hours: (_h = data === null || data === void 0 ? void 0 : data.work_hours) !== null && _h !== void 0 ? _h : null
@@ -55,7 +55,7 @@ export type GetSiteIncomeDetailRequest = {
55
55
  };
56
56
  export type GetSalaryDetailRequest = {
57
57
  start_date: string;
58
- end_date: number;
58
+ end_date: string;
59
59
  staff_id: number;
60
60
  };
61
61
  //# sourceMappingURL=payroll.d.ts.map