gap-nodejs-sdk 1.0.683 → 1.0.685
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.
|
@@ -11,8 +11,8 @@ export default class TimeKeeping extends Base implements TimeKeepingAbstractClas
|
|
|
11
11
|
static updateTimeKeeping(data: Request.UpdateTimeKeepingRequest): Promise<null>;
|
|
12
12
|
static removeTimeKeeping(data: Request.RemoveTimeKeepingRequest): Promise<null>;
|
|
13
13
|
static getTimeKeepingListStaff(data: Request.GetTimeKeepingListStaffRequest): Promise<Array<Response.GetTimeKeepingListStaffResponse>>;
|
|
14
|
-
static postTimeKeepingCheckIn(data: Request.PostTimeKeepingCheckInRequest): Promise<
|
|
15
|
-
static postTimeKeepingCheckOut(data: Request.PostTimeKeepingCheckOutRequest): Promise<
|
|
14
|
+
static postTimeKeepingCheckIn(data: Request.PostTimeKeepingCheckInRequest): Promise<Response.GetTimeKeepingListStaffResponse>;
|
|
15
|
+
static postTimeKeepingCheckOut(data: Request.PostTimeKeepingCheckOutRequest): Promise<Response.GetTimeKeepingListStaffResponse>;
|
|
16
16
|
static postTimeKeepingCheckOutAll(data: Request.PostTimeKeepingCheckOutAllRequest): Promise<null>;
|
|
17
17
|
}
|
|
18
18
|
//# sourceMappingURL=time_keeping.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"time_keeping.d.ts","sourceRoot":"","sources":["../../../../../src/api/pos_client_api/1.0.0/api/time_keeping.ts"],"names":[],"mappings":"AACA,OAAO,wBAAwB,MAAM,4BAA4B,CAAC;AAClE,OAAO,IAAI,MAAM,uBAAuB,CAAC;AACzC,OAAO,EAAC,aAAa,EAAC,MAAM,uBAAuB,CAAC;AACpD,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAC,oBAAoB,EAAC,MAAM,mBAAmB,CAAC;AAIvD,MAAM,C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AC,IAAI,EAAE,OAAO,CAAC,wBAAwB;WAWxD,iBAAiB,CAAC,IAAI,EAAE,OAAO,CAAC,wBAAwB;WAWxD,uBAAuB,CAAC,IAAI,EAAE,OAAO,CAAC,8BAA8B,GAAG,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC,+BAA+B,CAAC,CAAC;WAU/H,sBAAsB,CAAC,IAAI,EAAE,OAAO,CAAC,6BAA6B,GAAG,OAAO,CAAC,QAAQ,CAAC,+BAA+B,CAAC;WAUtH,uBAAuB,CAAC,IAAI,EAAE,OAAO,CAAC,8BAA8B,GAAG,OAAO,CAAC,QAAQ,CAAC,+BAA+B,CAAC;WAUxH,0BAA0B,CAAC,IAAI,EAAE,OAAO,CAAC,iCAAiC;CASjG"}
|
|
@@ -56,21 +56,23 @@ export default class TimeKeeping extends Base {
|
|
|
56
56
|
});
|
|
57
57
|
}
|
|
58
58
|
static postTimeKeepingCheckIn(data) {
|
|
59
|
+
var _a;
|
|
59
60
|
return __awaiter(this, void 0, void 0, function* () {
|
|
60
|
-
yield this.client.post({
|
|
61
|
+
const response = yield this.client.post({
|
|
61
62
|
path: time_keeping.POST_TIME_KEEPING_CHECK_IN,
|
|
62
63
|
data: data
|
|
63
64
|
});
|
|
64
|
-
return null;
|
|
65
|
+
return Model.TimeKeepingListStaffModel((_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data);
|
|
65
66
|
});
|
|
66
67
|
}
|
|
67
68
|
static postTimeKeepingCheckOut(data) {
|
|
69
|
+
var _a;
|
|
68
70
|
return __awaiter(this, void 0, void 0, function* () {
|
|
69
|
-
this.client.post({
|
|
71
|
+
const response = yield this.client.post({
|
|
70
72
|
path: time_keeping.POST_TIME_KEEPING_CHECK_OUT,
|
|
71
73
|
data: data
|
|
72
74
|
});
|
|
73
|
-
return null;
|
|
75
|
+
return Model.TimeKeepingListStaffModel((_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data);
|
|
74
76
|
});
|
|
75
77
|
}
|
|
76
78
|
static postTimeKeepingCheckOutAll(data) {
|