gap-nodejs-sdk 1.0.333 → 1.0.334
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.
- package/dist/api/go_check_in_api/1.0.0/api/checkin.d.ts +12 -0
- package/dist/api/go_check_in_api/1.0.0/api/checkin.d.ts.map +1 -0
- package/dist/api/go_check_in_api/1.0.0/api/checkin.js +38 -0
- package/dist/api/go_check_in_api/1.0.0/api/index.d.ts +2 -0
- package/dist/api/go_check_in_api/1.0.0/api/index.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/api/index.js +2 -0
- package/dist/api/go_check_in_api/1.0.0/api/reward.d.ts +16 -0
- package/dist/api/go_check_in_api/1.0.0/api/reward.d.ts.map +1 -0
- package/dist/api/go_check_in_api/1.0.0/api/reward.js +67 -0
- package/dist/api/go_check_in_api/1.0.0/endpoints/checkin.d.ts +7 -0
- package/dist/api/go_check_in_api/1.0.0/endpoints/checkin.d.ts.map +1 -0
- package/dist/api/go_check_in_api/1.0.0/endpoints/checkin.js +5 -0
- package/dist/api/go_check_in_api/1.0.0/endpoints/index.d.ts +2 -0
- package/dist/api/go_check_in_api/1.0.0/endpoints/index.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/endpoints/index.js +2 -0
- package/dist/api/go_check_in_api/1.0.0/endpoints/reward.d.ts +10 -0
- package/dist/api/go_check_in_api/1.0.0/endpoints/reward.d.ts.map +1 -0
- package/dist/api/go_check_in_api/1.0.0/endpoints/reward.js +8 -0
- package/dist/api/go_check_in_api/1.0.0/interfaces/checkin.d.ts +3 -0
- package/dist/api/go_check_in_api/1.0.0/interfaces/checkin.d.ts.map +1 -0
- package/dist/api/go_check_in_api/1.0.0/interfaces/checkin.js +2 -0
- package/dist/api/go_check_in_api/1.0.0/interfaces/reward.d.ts +3 -0
- package/dist/api/go_check_in_api/1.0.0/interfaces/reward.d.ts.map +1 -0
- package/dist/api/go_check_in_api/1.0.0/interfaces/reward.js +2 -0
- package/dist/api/go_check_in_api/1.0.0/models/checkin.d.ts +152 -0
- package/dist/api/go_check_in_api/1.0.0/models/checkin.d.ts.map +1 -0
- package/dist/api/go_check_in_api/1.0.0/models/checkin.js +287 -0
- package/dist/api/go_check_in_api/1.0.0/models/index.d.ts +2 -0
- package/dist/api/go_check_in_api/1.0.0/models/index.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/models/index.js +2 -0
- package/dist/api/go_check_in_api/1.0.0/models/reward.d.ts +30 -0
- package/dist/api/go_check_in_api/1.0.0/models/reward.d.ts.map +1 -0
- package/dist/api/go_check_in_api/1.0.0/models/reward.js +35 -0
- package/dist/api/go_check_in_api/1.0.0/types/request/checkin.d.ts +14 -0
- package/dist/api/go_check_in_api/1.0.0/types/request/checkin.d.ts.map +1 -0
- package/dist/api/go_check_in_api/1.0.0/types/request/checkin.js +1 -0
- package/dist/api/go_check_in_api/1.0.0/types/request/index.d.ts +2 -0
- package/dist/api/go_check_in_api/1.0.0/types/request/index.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/request/index.js +2 -0
- package/dist/api/go_check_in_api/1.0.0/types/request/reward.d.ts +24 -0
- package/dist/api/go_check_in_api/1.0.0/types/request/reward.d.ts.map +1 -0
- package/dist/api/go_check_in_api/1.0.0/types/request/reward.js +1 -0
- package/dist/api/go_check_in_api/1.0.0/types/response/checkin.d.ts +278 -0
- package/dist/api/go_check_in_api/1.0.0/types/response/checkin.d.ts.map +1 -0
- package/dist/api/go_check_in_api/1.0.0/types/response/checkin.js +1 -0
- package/dist/api/go_check_in_api/1.0.0/types/response/index.d.ts +2 -0
- package/dist/api/go_check_in_api/1.0.0/types/response/index.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/index.js +2 -0
- package/dist/api/go_check_in_api/1.0.0/types/response/reward.d.ts +37 -0
- package/dist/api/go_check_in_api/1.0.0/types/response/reward.d.ts.map +1 -0
- package/dist/api/go_check_in_api/1.0.0/types/response/reward.js +1 -0
- package/dist/api/go_check_in_api/index.d.ts +1 -0
- package/dist/api/go_check_in_api/index.d.ts.map +1 -1
- package/dist/api/go_check_in_api/index.js +1 -0
- package/dist/gap-sdk.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import CategoryAbstractClass from "../interfaces/category";
|
|
2
|
+
import Base from "../../../../base/Base";
|
|
3
|
+
import { GapApiVersion } from "../../../../base_type";
|
|
4
|
+
import * as Request from "../types/request";
|
|
5
|
+
import * as Response from "../types/response";
|
|
6
|
+
export default class Checkin extends Base implements CategoryAbstractClass {
|
|
7
|
+
static API_VERSION: GapApiVersion;
|
|
8
|
+
static getCheckinList(query: Request.GetCheckinListRequest): Promise<Response.GetCheckinListResponse>;
|
|
9
|
+
static updateInServiceStatus(data: Request.UpdateInServiceStatusRequest): Promise<Response.UpdateStatusResponse>;
|
|
10
|
+
static updateSmsSend(data: Request.UpdateSmsSendRequest): Promise<Response.UpdateStatusResponse>;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=checkin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkin.d.ts","sourceRoot":"","sources":["../../../../../src/api/go_check_in_api/1.0.0/api/checkin.ts"],"names":[],"mappings":"AACA,OAAO,qBAAqB,MAAM,wBAAwB,CAAC;AAC3D,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;AAK9C,MAAM,CAAC,OAAO,OAAO,OAAQ,SAAQ,IAAK,YAAW,qBAAqB;IACtE,OAAc,WAAW,gBAAoB;WAEzB,cAAc,CAAC,KAAK,EAAE,OAAO,CAAC,qBAAqB,GAAG,OAAO,CAAC,QAAQ,CAAC,sBAAsB,CAAC;WAU9F,qBAAqB,CAAC,IAAI,EAAE,OAAO,CAAC,4BAA4B,GAAG,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAAC;WAUzG,aAAa,CAAC,IAAI,EAAE,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAAC;CAShH"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { __awaiter } from "tslib";
|
|
2
|
+
import { checkin } from "../endpoints";
|
|
3
|
+
import Base from "../../../../base/Base";
|
|
4
|
+
import { GapApiVersion } from "../../../../base_type";
|
|
5
|
+
import * as Model from "../models";
|
|
6
|
+
export default class Checkin extends Base {
|
|
7
|
+
static getCheckinList(query) {
|
|
8
|
+
var _a, _b;
|
|
9
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
10
|
+
const response = yield this.client.get({
|
|
11
|
+
path: checkin.GET_CHECKIN_LIST,
|
|
12
|
+
query: query
|
|
13
|
+
});
|
|
14
|
+
return (((_b = (_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.items) || []).map(item => Model.CheckinListModel(item));
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
static updateInServiceStatus(data) {
|
|
18
|
+
var _a;
|
|
19
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
20
|
+
const response = yield this.client.post({
|
|
21
|
+
path: checkin.UPDATE_IN_SERVICE_STATUS,
|
|
22
|
+
data: data,
|
|
23
|
+
});
|
|
24
|
+
return Model.UpdateStatusModel((_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data);
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
static updateSmsSend(data) {
|
|
28
|
+
var _a;
|
|
29
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
30
|
+
const response = yield this.client.post({
|
|
31
|
+
path: checkin.UPDATE_SMS_SENT,
|
|
32
|
+
data: data,
|
|
33
|
+
});
|
|
34
|
+
return Model.UpdateStatusModel((_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data);
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
Checkin.API_VERSION = GapApiVersion.V1;
|
|
@@ -8,5 +8,7 @@ export { default as Notification } from "./notification";
|
|
|
8
8
|
export { default as Customer } from "./customer";
|
|
9
9
|
export { default as Business } from "./business";
|
|
10
10
|
export { default as Campaign } from "./campaign";
|
|
11
|
+
export { default as Checkin } from "./checkin";
|
|
11
12
|
export { default as Group } from "./group";
|
|
13
|
+
export { default as Reward } from "./reward";
|
|
12
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/api/go_check_in_api/1.0.0/api/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,IAAI,QAAQ,EAAC,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAC,OAAO,IAAI,MAAM,EAAC,MAAM,UAAU,CAAC;AAC3C,OAAO,EAAC,OAAO,IAAI,OAAO,EAAC,MAAM,WAAW,CAAC;AAC7C,OAAO,EAAC,OAAO,IAAI,QAAQ,EAAC,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAC,OAAO,IAAI,GAAG,EAAC,MAAM,OAAO,CAAC;AACrC,OAAO,EAAC,OAAO,IAAI,KAAK,EAAC,MAAM,SAAS,CAAC;AACzC,OAAO,EAAC,OAAO,IAAI,YAAY,EAAC,MAAM,gBAAgB,CAAC;AACvD,OAAO,EAAC,OAAO,IAAI,QAAQ,EAAC,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAC,OAAO,IAAI,QAAQ,EAAC,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAC,OAAO,IAAI,QAAQ,EAAC,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAC,OAAO,IAAI,KAAK,EAAC,MAAM,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/api/go_check_in_api/1.0.0/api/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,IAAI,QAAQ,EAAC,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAC,OAAO,IAAI,MAAM,EAAC,MAAM,UAAU,CAAC;AAC3C,OAAO,EAAC,OAAO,IAAI,OAAO,EAAC,MAAM,WAAW,CAAC;AAC7C,OAAO,EAAC,OAAO,IAAI,QAAQ,EAAC,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAC,OAAO,IAAI,GAAG,EAAC,MAAM,OAAO,CAAC;AACrC,OAAO,EAAC,OAAO,IAAI,KAAK,EAAC,MAAM,SAAS,CAAC;AACzC,OAAO,EAAC,OAAO,IAAI,YAAY,EAAC,MAAM,gBAAgB,CAAC;AACvD,OAAO,EAAC,OAAO,IAAI,QAAQ,EAAC,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAC,OAAO,IAAI,QAAQ,EAAC,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAC,OAAO,IAAI,QAAQ,EAAC,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAC,OAAO,IAAI,OAAO,EAAC,MAAM,WAAW,CAAC;AAC7C,OAAO,EAAC,OAAO,IAAI,KAAK,EAAC,MAAM,SAAS,CAAC;AACzC,OAAO,EAAC,OAAO,IAAI,MAAM,EAAC,MAAM,UAAU,CAAC"}
|
|
@@ -8,4 +8,6 @@ export { default as Notification } from "./notification";
|
|
|
8
8
|
export { default as Customer } from "./customer";
|
|
9
9
|
export { default as Business } from "./business";
|
|
10
10
|
export { default as Campaign } from "./campaign";
|
|
11
|
+
export { default as Checkin } from "./checkin";
|
|
11
12
|
export { default as Group } from "./group";
|
|
13
|
+
export { default as Reward } from "./reward";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import GroupAbstractClass from "../interfaces/customer";
|
|
2
|
+
import Base from "../../../../base/Base";
|
|
3
|
+
import { GapApiVersion } from "../../../../base_type";
|
|
4
|
+
import * as Request from "../types/request";
|
|
5
|
+
import * as Response from "../types/response";
|
|
6
|
+
import { DataWithMetaResponse } from "../../../../types";
|
|
7
|
+
export default class Group extends Base implements GroupAbstractClass {
|
|
8
|
+
static API_VERSION: GapApiVersion;
|
|
9
|
+
static getListReward(query: Request.GetListRewardRequest): Promise<DataWithMetaResponse<Response.GetListRewardResponse>>;
|
|
10
|
+
static createReward(data: Request.CreateRewardRequest): Promise<Response.CreateRewardResponse>;
|
|
11
|
+
static updateReward(data: Request.UpdateRewardRequest): Promise<Response.UpdateRewardResponse>;
|
|
12
|
+
static deleteReward(query: Request.DeleteRewardRequest): Promise<Response.DeleteRewardResponse>;
|
|
13
|
+
static getRewardHistory(query: Request.GetRewardHistoryRequest): Promise<DataWithMetaResponse<Response.GetRewardHistoryResponse>>;
|
|
14
|
+
static exportRewardHistory(query?: Request.ExportRewardHistoryRequest): Promise<Response.ExportRewardHistoryResponse>;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=reward.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reward.d.ts","sourceRoot":"","sources":["../../../../../src/api/go_check_in_api/1.0.0/api/reward.ts"],"names":[],"mappings":"AACA,OAAO,kBAAkB,MAAM,wBAAwB,CAAC;AACxD,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;AAG9C,OAAO,EAAC,oBAAoB,EAAC,MAAM,mBAAmB,CAAC;AAGvD,MAAM,CAAC,OAAO,OAAO,KAAM,SAAQ,IAAK,YAAW,kBAAkB;IACjE,OAAc,WAAW,gBAAoB;WAEzB,aAAa,CAAC,KAAK,EAAE,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,oBAAoB,CAAC,QAAQ,CAAC,qBAAqB,CAAC,CAAC;WAUjH,YAAY,CAAC,IAAI,EAAE,OAAO,CAAC,mBAAmB,GAAG,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAAC;WAWvF,YAAY,CAAC,IAAI,EAAE,OAAO,CAAC,mBAAmB,GAAG,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAAC;WAWvF,YAAY,CAAC,KAAK,EAAE,OAAO,CAAC,mBAAmB,GAAG,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAAC;WAUxF,gBAAgB,CAAC,KAAK,EAAE,OAAO,CAAC,uBAAuB,GAAG,OAAO,CAAC,oBAAoB,CAAC,QAAQ,CAAC,wBAAwB,CAAC,CAAC;WAU1H,mBAAmB,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC,0BAA0B,GAAG,OAAO,CAAC,QAAQ,CAAC,2BAA2B,CAAC;CAQrI"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { __awaiter } from "tslib";
|
|
2
|
+
import { reward } from "../endpoints";
|
|
3
|
+
import Base from "../../../../base/Base";
|
|
4
|
+
import { GapApiVersion } from "../../../../base_type";
|
|
5
|
+
import * as Model from "../models";
|
|
6
|
+
import { objectToFormData } from "../../../../utils/form-data";
|
|
7
|
+
import { DataWithMetaModel } from "../../../../models";
|
|
8
|
+
export default class Group extends Base {
|
|
9
|
+
static getListReward(query) {
|
|
10
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11
|
+
const response = yield this.client.get({
|
|
12
|
+
path: reward.GET_LIST_REWARD,
|
|
13
|
+
query: query
|
|
14
|
+
});
|
|
15
|
+
return DataWithMetaModel(response, Model.RewardModel);
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
static createReward(data) {
|
|
19
|
+
var _a;
|
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
+
const formData = objectToFormData(data);
|
|
22
|
+
const response = yield this.client.post({
|
|
23
|
+
path: reward.CREATE_REWARD,
|
|
24
|
+
data: formData
|
|
25
|
+
});
|
|
26
|
+
return Model.RewardModel((_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data);
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
static updateReward(data) {
|
|
30
|
+
var _a;
|
|
31
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
32
|
+
const formData = objectToFormData(data);
|
|
33
|
+
const response = yield this.client.post({
|
|
34
|
+
path: reward.UPDATE_REWARD,
|
|
35
|
+
data: formData
|
|
36
|
+
});
|
|
37
|
+
return Model.RewardModel((_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data);
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
static deleteReward(query) {
|
|
41
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
42
|
+
const response = yield this.client.get({
|
|
43
|
+
path: reward.DELETE_REWARD,
|
|
44
|
+
query: query
|
|
45
|
+
});
|
|
46
|
+
return null;
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
static getRewardHistory(query) {
|
|
50
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
51
|
+
const response = yield this.client.get({
|
|
52
|
+
path: reward.GET_REWARD_HISTORY,
|
|
53
|
+
query: query
|
|
54
|
+
});
|
|
55
|
+
return DataWithMetaModel(response, Model.RewardHistoryModel);
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
static exportRewardHistory(query) {
|
|
59
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
60
|
+
return yield this.client.get({
|
|
61
|
+
path: reward.EXPORT_REWARD_HISTORY,
|
|
62
|
+
query: query
|
|
63
|
+
});
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
Group.API_VERSION = GapApiVersion.V1;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkin.d.ts","sourceRoot":"","sources":["../../../../../src/api/go_check_in_api/1.0.0/endpoints/checkin.ts"],"names":[],"mappings":";;;;;AAAA,wBAIC"}
|
|
@@ -8,5 +8,7 @@ export { default as notification } from "./notification";
|
|
|
8
8
|
export { default as customer } from "./customer";
|
|
9
9
|
export { default as business } from "./business";
|
|
10
10
|
export { default as campaign } from "./campaign";
|
|
11
|
+
export { default as checkin } from "./checkin";
|
|
11
12
|
export { default as group } from "./group";
|
|
13
|
+
export { default as reward } from "./reward";
|
|
12
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/api/go_check_in_api/1.0.0/endpoints/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,IAAI,QAAQ,EAAC,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAC,OAAO,IAAI,MAAM,EAAC,MAAM,UAAU,CAAC;AAC3C,OAAO,EAAC,OAAO,IAAI,OAAO,EAAC,MAAM,WAAW,CAAC;AAC7C,OAAO,EAAC,OAAO,IAAI,QAAQ,EAAC,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAC,OAAO,IAAI,GAAG,EAAC,MAAM,OAAO,CAAC;AACrC,OAAO,EAAC,OAAO,IAAI,KAAK,EAAC,MAAM,SAAS,CAAC;AACzC,OAAO,EAAC,OAAO,IAAI,YAAY,EAAC,MAAM,gBAAgB,CAAC;AACvD,OAAO,EAAC,OAAO,IAAI,QAAQ,EAAC,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAC,OAAO,IAAI,QAAQ,EAAC,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAC,OAAO,IAAI,QAAQ,EAAC,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAC,OAAO,IAAI,KAAK,EAAC,MAAM,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/api/go_check_in_api/1.0.0/endpoints/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,IAAI,QAAQ,EAAC,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAC,OAAO,IAAI,MAAM,EAAC,MAAM,UAAU,CAAC;AAC3C,OAAO,EAAC,OAAO,IAAI,OAAO,EAAC,MAAM,WAAW,CAAC;AAC7C,OAAO,EAAC,OAAO,IAAI,QAAQ,EAAC,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAC,OAAO,IAAI,GAAG,EAAC,MAAM,OAAO,CAAC;AACrC,OAAO,EAAC,OAAO,IAAI,KAAK,EAAC,MAAM,SAAS,CAAC;AACzC,OAAO,EAAC,OAAO,IAAI,YAAY,EAAC,MAAM,gBAAgB,CAAC;AACvD,OAAO,EAAC,OAAO,IAAI,QAAQ,EAAC,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAC,OAAO,IAAI,QAAQ,EAAC,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAC,OAAO,IAAI,QAAQ,EAAC,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAC,OAAO,IAAI,OAAO,EAAC,MAAM,WAAW,CAAC;AAC7C,OAAO,EAAC,OAAO,IAAI,KAAK,EAAC,MAAM,SAAS,CAAC;AACzC,OAAO,EAAC,OAAO,IAAI,MAAM,EAAC,MAAM,UAAU,CAAC"}
|
|
@@ -8,4 +8,6 @@ export { default as notification } from "./notification";
|
|
|
8
8
|
export { default as customer } from "./customer";
|
|
9
9
|
export { default as business } from "./business";
|
|
10
10
|
export { default as campaign } from "./campaign";
|
|
11
|
+
export { default as checkin } from "./checkin";
|
|
11
12
|
export { default as group } from "./group";
|
|
13
|
+
export { default as reward } from "./reward";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
GET_LIST_REWARD: string;
|
|
3
|
+
CREATE_REWARD: string;
|
|
4
|
+
UPDATE_REWARD: string;
|
|
5
|
+
DELETE_REWARD: string;
|
|
6
|
+
GET_REWARD_HISTORY: string;
|
|
7
|
+
EXPORT_REWARD_HISTORY: string;
|
|
8
|
+
};
|
|
9
|
+
export default _default;
|
|
10
|
+
//# sourceMappingURL=reward.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reward.d.ts","sourceRoot":"","sources":["../../../../../src/api/go_check_in_api/1.0.0/endpoints/reward.ts"],"names":[],"mappings":";;;;;;;;AAAA,wBAOC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
GET_LIST_REWARD: '/v1/gocheckin/group/form/remove-customers',
|
|
3
|
+
CREATE_REWARD: '/v1/gocheckin/reward/form/create',
|
|
4
|
+
UPDATE_REWARD: '/v1/gocheckin/reward/form/update',
|
|
5
|
+
DELETE_REWARD: '/v1/gocheckin/reward/form/delete',
|
|
6
|
+
GET_REWARD_HISTORY: '/v1/gocheckin/reward/site/history',
|
|
7
|
+
EXPORT_REWARD_HISTORY: '/v1/gocheckin/reward/site/export-history',
|
|
8
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkin.d.ts","sourceRoot":"","sources":["../../../../../src/api/go_check_in_api/1.0.0/interfaces/checkin.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,OAAO;CACpC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reward.d.ts","sourceRoot":"","sources":["../../../../../src/api/go_check_in_api/1.0.0/interfaces/reward.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,MAAM;CACnC"}
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
export declare const CheckinListModel: (data: any) => {
|
|
2
|
+
id: any;
|
|
3
|
+
customer_id: any;
|
|
4
|
+
create_at: any;
|
|
5
|
+
status: any;
|
|
6
|
+
update_at: any;
|
|
7
|
+
attachment: any;
|
|
8
|
+
type: any;
|
|
9
|
+
show_on_wait_list: any;
|
|
10
|
+
counter: any;
|
|
11
|
+
number_checkin: any;
|
|
12
|
+
customer: {
|
|
13
|
+
id: any;
|
|
14
|
+
first_name: any;
|
|
15
|
+
last_name: any;
|
|
16
|
+
full_name: any;
|
|
17
|
+
phone: any;
|
|
18
|
+
email: any;
|
|
19
|
+
address: any;
|
|
20
|
+
city: any;
|
|
21
|
+
state: any;
|
|
22
|
+
country: any;
|
|
23
|
+
gender: any;
|
|
24
|
+
birthday: any;
|
|
25
|
+
create_at: any;
|
|
26
|
+
update_at: any;
|
|
27
|
+
status: any;
|
|
28
|
+
group_id: any;
|
|
29
|
+
note: any;
|
|
30
|
+
parent_id: any;
|
|
31
|
+
rating: any;
|
|
32
|
+
is_yelp: any;
|
|
33
|
+
reachable_email: any;
|
|
34
|
+
reachable_push: any;
|
|
35
|
+
reachable_sms: any;
|
|
36
|
+
visit_count: any;
|
|
37
|
+
last_visited: any;
|
|
38
|
+
image_url: any;
|
|
39
|
+
address2: any;
|
|
40
|
+
postal_code: any;
|
|
41
|
+
is_send_sms: any;
|
|
42
|
+
is_import: any;
|
|
43
|
+
is_checked_in: any;
|
|
44
|
+
is_blocked_from_booking: any;
|
|
45
|
+
source: any;
|
|
46
|
+
current_point: any;
|
|
47
|
+
lifetime_point: any;
|
|
48
|
+
type: any;
|
|
49
|
+
yelp: any;
|
|
50
|
+
last_review: any;
|
|
51
|
+
review_type: any;
|
|
52
|
+
};
|
|
53
|
+
customer_point: {
|
|
54
|
+
customer_id: any;
|
|
55
|
+
point: any;
|
|
56
|
+
created_at: any;
|
|
57
|
+
update_at: any;
|
|
58
|
+
lifetime_point: any;
|
|
59
|
+
};
|
|
60
|
+
check_out: {
|
|
61
|
+
id: any;
|
|
62
|
+
customer_id: any;
|
|
63
|
+
created_at: any;
|
|
64
|
+
update_at: any;
|
|
65
|
+
owner_id: any;
|
|
66
|
+
checkin_id: any;
|
|
67
|
+
status: any;
|
|
68
|
+
note: any;
|
|
69
|
+
total_price: any;
|
|
70
|
+
discount: any;
|
|
71
|
+
user_id: any;
|
|
72
|
+
point_bonus: any;
|
|
73
|
+
sms_sent: any;
|
|
74
|
+
order_id: any;
|
|
75
|
+
};
|
|
76
|
+
promotions: any;
|
|
77
|
+
services: any;
|
|
78
|
+
staffs: any;
|
|
79
|
+
rewards: any;
|
|
80
|
+
customer_checkin_services: any;
|
|
81
|
+
products: any;
|
|
82
|
+
groups: any;
|
|
83
|
+
};
|
|
84
|
+
export declare const UpdateStatusModel: (data: any) => {
|
|
85
|
+
id: any;
|
|
86
|
+
customer_id: any;
|
|
87
|
+
created_at: any;
|
|
88
|
+
update_at: any;
|
|
89
|
+
owner_id: any;
|
|
90
|
+
checkin_id: any;
|
|
91
|
+
status: any;
|
|
92
|
+
note: any;
|
|
93
|
+
total_price: any;
|
|
94
|
+
discount: any;
|
|
95
|
+
user_id: any;
|
|
96
|
+
point_bonus: any;
|
|
97
|
+
sms_sent: any;
|
|
98
|
+
order_id: any;
|
|
99
|
+
check_in: any;
|
|
100
|
+
survey: any;
|
|
101
|
+
staff: any;
|
|
102
|
+
customer: {
|
|
103
|
+
full_name: any;
|
|
104
|
+
phone: any;
|
|
105
|
+
email: any;
|
|
106
|
+
note: any;
|
|
107
|
+
current_point: any;
|
|
108
|
+
lifetime_point: any;
|
|
109
|
+
create_at: any;
|
|
110
|
+
type: any;
|
|
111
|
+
last_visited: any;
|
|
112
|
+
number_checkin: any;
|
|
113
|
+
yelp: any;
|
|
114
|
+
last_review: any;
|
|
115
|
+
review_type: any;
|
|
116
|
+
};
|
|
117
|
+
customer_point: {
|
|
118
|
+
customer_id: any;
|
|
119
|
+
point: any;
|
|
120
|
+
created_at: any;
|
|
121
|
+
update_at: any;
|
|
122
|
+
lifetime_point: any;
|
|
123
|
+
};
|
|
124
|
+
redeem: any;
|
|
125
|
+
promotion: any;
|
|
126
|
+
list_redeem: any;
|
|
127
|
+
list_promotion: any;
|
|
128
|
+
invoice: {
|
|
129
|
+
id: any;
|
|
130
|
+
checkout_id: any;
|
|
131
|
+
customer_id: any;
|
|
132
|
+
customer_name: any;
|
|
133
|
+
customer_phone: any;
|
|
134
|
+
promotion_code: any;
|
|
135
|
+
redeem_id: any;
|
|
136
|
+
total_discount: any;
|
|
137
|
+
has_tax: any;
|
|
138
|
+
tax_price: any;
|
|
139
|
+
total_before_discount: any;
|
|
140
|
+
total_after_discount: any;
|
|
141
|
+
total_after_tax: any;
|
|
142
|
+
payment_method: any;
|
|
143
|
+
employee_id: any;
|
|
144
|
+
employee_name: any;
|
|
145
|
+
status: any;
|
|
146
|
+
created_at: any;
|
|
147
|
+
updated_at: any;
|
|
148
|
+
type: any;
|
|
149
|
+
invoice_details: any;
|
|
150
|
+
};
|
|
151
|
+
};
|
|
152
|
+
//# sourceMappingURL=checkin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkin.d.ts","sourceRoot":"","sources":["../../../../../src/api/go_check_in_api/1.0.0/models/checkin.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,SAAU,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuBzC,CAAA;AAwJD,eAAO,MAAM,iBAAiB,SAAU,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+C1C,CAAA"}
|