gap-nodejs-sdk 1.0.337 → 1.0.338
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/index.d.ts +1 -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 +1 -0
- package/dist/api/go_check_in_api/1.0.0/api/review.d.ts +19 -0
- package/dist/api/go_check_in_api/1.0.0/api/review.d.ts.map +1 -0
- package/dist/api/go_check_in_api/1.0.0/api/review.js +111 -0
- package/dist/api/go_check_in_api/1.0.0/api/reward.d.ts +2 -2
- package/dist/api/go_check_in_api/1.0.0/api/reward.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/api/reward.js +2 -2
- package/dist/api/go_check_in_api/1.0.0/endpoints/index.d.ts +1 -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 +1 -0
- package/dist/api/go_check_in_api/1.0.0/endpoints/review.d.ts +14 -0
- package/dist/api/go_check_in_api/1.0.0/endpoints/review.d.ts.map +1 -0
- package/dist/api/go_check_in_api/1.0.0/endpoints/review.js +12 -0
- package/dist/api/go_check_in_api/1.0.0/interfaces/review.d.ts +3 -0
- package/dist/api/go_check_in_api/1.0.0/interfaces/review.d.ts.map +1 -0
- package/dist/api/go_check_in_api/1.0.0/interfaces/review.js +2 -0
- package/dist/api/go_check_in_api/1.0.0/models/index.d.ts +1 -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 +1 -0
- package/dist/api/go_check_in_api/1.0.0/models/review.d.ts +19 -0
- package/dist/api/go_check_in_api/1.0.0/models/review.d.ts.map +1 -0
- package/dist/api/go_check_in_api/1.0.0/models/review.js +26 -0
- package/dist/api/go_check_in_api/1.0.0/types/request/index.d.ts +1 -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 +1 -0
- package/dist/api/go_check_in_api/1.0.0/types/request/review.d.ts +31 -0
- package/dist/api/go_check_in_api/1.0.0/types/request/review.d.ts.map +1 -0
- package/dist/api/go_check_in_api/1.0.0/types/request/review.js +1 -0
- package/dist/api/go_check_in_api/1.0.0/types/response/index.d.ts +1 -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 +1 -0
- package/dist/api/go_check_in_api/1.0.0/types/response/review.d.ts +35 -0
- package/dist/api/go_check_in_api/1.0.0/types/response/review.d.ts.map +1 -0
- package/dist/api/go_check_in_api/1.0.0/types/response/review.js +1 -0
- package/dist/gap-sdk.js +1 -1
- package/package.json +1 -1
|
@@ -11,4 +11,5 @@ export { default as Campaign } from "./campaign";
|
|
|
11
11
|
export { default as Checkin } from "./checkin";
|
|
12
12
|
export { default as Group } from "./group";
|
|
13
13
|
export { default as Reward } from "./reward";
|
|
14
|
+
export { default as Review } from "./review";
|
|
14
15
|
//# 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,EA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K,EAAC,MAAM,SAAS,CAAC;AACzC,OAAO,EAAC,OAAO,IAAI,MAAM,EAAC,MAAM,UAAU,CAAC;AAC3C,OAAO,EAAC,OAAO,IAAI,MAAM,EAAC,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import ReviewAbstractClass 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
|
+
export default class Review extends Base implements ReviewAbstractClass {
|
|
7
|
+
static API_VERSION: GapApiVersion;
|
|
8
|
+
static getCheckinReviewList(query: Request.GetCheckinReviewListRequest): Promise<Response.GetCheckinReviewListResponse>;
|
|
9
|
+
static activeCheckinReview(query: Request.ActiveCheckinReviewRequest): Promise<Response.ActiveCheckinReviewResponse>;
|
|
10
|
+
static inactiveCheckinReview(query: Request.InactiveCheckinReviewRequest): Promise<Response.InactiveCheckinReviewResponse>;
|
|
11
|
+
static createCheckinReviewContent(data: Request.CreateCheckinReviewContentRequest): Promise<Response.CreateCheckinReviewContentResponse>;
|
|
12
|
+
static deleteCheckinReviewContent(query: Request.DeleteCheckinReviewContentRequest): Promise<Response.DeleteCheckinReviewContentResponse>;
|
|
13
|
+
static getGoogleReviewList(query: Request.GetGoogleReviewListRequest): Promise<Response.GetGoogleReviewListResponse>;
|
|
14
|
+
static activeGoogleReview(query: Request.ActiveGoogleReviewRequest): Promise<Response.ActiveGoogleReviewResponse>;
|
|
15
|
+
static inactiveGoogleReview(query: Request.InactiveGoogleReviewRequest): Promise<Response.InactiveGoogleReviewResponse>;
|
|
16
|
+
static createGoogleReviewContent(data: Request.CreateGoogleReviewContentRequest): Promise<Response.CreateGoogleReviewContentResponse>;
|
|
17
|
+
static deleteGoogleReviewContent(query: Request.DeleteGoogleReviewContentRequest): Promise<Response.DeleteGoogleReviewContentResponse>;
|
|
18
|
+
}
|
|
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AAC,QAAQ,CAAC,4BAA4B,CAAC;WAUhH,yBAAyB,CAAC,IAAI,EAAE,OAAO,CAAC,gCAAgC,GAAG,OAAO,CAAC,QAAQ,CAAC,iCAAiC,CAAC;WAW9H,yBAAyB,CAAC,KAAK,EAAE,OAAO,CAAC,gCAAgC,GAAG,OAAO,CAAC,QAAQ,CAAC,iCAAiC,CAAC;CAStJ"}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { __awaiter } from "tslib";
|
|
2
|
+
import { review } 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
|
+
export default class Review extends Base {
|
|
8
|
+
static getCheckinReviewList(query) {
|
|
9
|
+
var _a;
|
|
10
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11
|
+
const response = yield this.client.get({
|
|
12
|
+
path: review.GET_CHECKIN_REVIEW_LIST,
|
|
13
|
+
query: query
|
|
14
|
+
});
|
|
15
|
+
return Model.GetReviewListModel((_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data);
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
static activeCheckinReview(query) {
|
|
19
|
+
var _a;
|
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
+
const response = yield this.client.get({
|
|
22
|
+
path: review.ACTIVE_CHECKIN_REVIEW,
|
|
23
|
+
query: query
|
|
24
|
+
});
|
|
25
|
+
return (_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.message;
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
static inactiveCheckinReview(query) {
|
|
29
|
+
var _a;
|
|
30
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
31
|
+
const response = yield this.client.get({
|
|
32
|
+
path: review.INACTIVE_CHECKIN_REVIEW,
|
|
33
|
+
query: query
|
|
34
|
+
});
|
|
35
|
+
return (_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.message;
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
static createCheckinReviewContent(data) {
|
|
39
|
+
var _a;
|
|
40
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
41
|
+
const formData = objectToFormData(data);
|
|
42
|
+
const response = yield this.client.post({
|
|
43
|
+
path: review.CREATE_CHECKIN_REVIEW_CONTENT,
|
|
44
|
+
data: formData
|
|
45
|
+
});
|
|
46
|
+
return Model.ReviewDetailModel((_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data);
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
static deleteCheckinReviewContent(query) {
|
|
50
|
+
var _a;
|
|
51
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
52
|
+
const response = yield this.client.get({
|
|
53
|
+
path: review.DELETE_CHECKIN_REVIEW_CONTENT,
|
|
54
|
+
query: query
|
|
55
|
+
});
|
|
56
|
+
return (_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.message;
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
static getGoogleReviewList(query) {
|
|
60
|
+
var _a;
|
|
61
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
62
|
+
const response = yield this.client.get({
|
|
63
|
+
path: review.GET_GOOGLE_REVIEW_LIST,
|
|
64
|
+
query: query
|
|
65
|
+
});
|
|
66
|
+
return Model.GetReviewListModel((_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data);
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
static activeGoogleReview(query) {
|
|
70
|
+
var _a;
|
|
71
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
72
|
+
const response = yield this.client.get({
|
|
73
|
+
path: review.ACTIVE_GOOGLE_REVIEW,
|
|
74
|
+
query: query
|
|
75
|
+
});
|
|
76
|
+
return (_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.message;
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
static inactiveGoogleReview(query) {
|
|
80
|
+
var _a;
|
|
81
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
82
|
+
const response = yield this.client.get({
|
|
83
|
+
path: review.INACTIVE_GOOGLE_REVIEW,
|
|
84
|
+
query: query
|
|
85
|
+
});
|
|
86
|
+
return (_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.message;
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
static createGoogleReviewContent(data) {
|
|
90
|
+
var _a;
|
|
91
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
92
|
+
const formData = objectToFormData(data);
|
|
93
|
+
const response = yield this.client.post({
|
|
94
|
+
path: review.CREATE_GOOGLE_REVIEW_CONTENT,
|
|
95
|
+
data: formData
|
|
96
|
+
});
|
|
97
|
+
return Model.ReviewDetailModel((_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data);
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
static deleteGoogleReviewContent(query) {
|
|
101
|
+
var _a;
|
|
102
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
103
|
+
const response = yield this.client.get({
|
|
104
|
+
path: review.DELETE_GOOGLE_REVIEW_CONTENT,
|
|
105
|
+
query: query
|
|
106
|
+
});
|
|
107
|
+
return (_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.message;
|
|
108
|
+
});
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
Review.API_VERSION = GapApiVersion.V1;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
1
|
+
import RewardAbstractClass from "../interfaces/reward";
|
|
2
2
|
import Base from "../../../../base/Base";
|
|
3
3
|
import { GapApiVersion } from "../../../../base_type";
|
|
4
4
|
import * as Request from "../types/request";
|
|
5
5
|
import * as Response from "../types/response";
|
|
6
6
|
import { DataWithMetaResponse } from "../../../../types";
|
|
7
|
-
export default class
|
|
7
|
+
export default class Reward extends Base implements RewardAbstractClass {
|
|
8
8
|
static API_VERSION: GapApiVersion;
|
|
9
9
|
static getListReward(query: Request.GetListRewardRequest): Promise<DataWithMetaResponse<Response.GetListRewardResponse>>;
|
|
10
10
|
static createReward(data: Request.CreateRewardRequest): Promise<Response.CreateRewardResponse>;
|
|
@@ -1 +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,
|
|
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,mBAAmB,MAAM,sBAAsB,CAAC;AACvD,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,MAAO,SAAQ,IAAK,YAAW,mBAAmB;IACnE,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;WAcvF,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"}
|
|
@@ -5,7 +5,7 @@ import { GapApiVersion } from "../../../../base_type";
|
|
|
5
5
|
import * as Model from "../models";
|
|
6
6
|
import { objectToFormData } from "../../../../utils/form-data";
|
|
7
7
|
import { DataWithMetaModel } from "../../../../models";
|
|
8
|
-
export default class
|
|
8
|
+
export default class Reward extends Base {
|
|
9
9
|
static getListReward(query) {
|
|
10
10
|
return __awaiter(this, void 0, void 0, function* () {
|
|
11
11
|
const response = yield this.client.get({
|
|
@@ -67,4 +67,4 @@ export default class Group extends Base {
|
|
|
67
67
|
});
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
|
-
|
|
70
|
+
Reward.API_VERSION = GapApiVersion.V1;
|
|
@@ -11,4 +11,5 @@ export { default as campaign } from "./campaign";
|
|
|
11
11
|
export { default as checkin } from "./checkin";
|
|
12
12
|
export { default as group } from "./group";
|
|
13
13
|
export { default as reward } from "./reward";
|
|
14
|
+
export { default as review } from "./review";
|
|
14
15
|
//# 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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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;AAC3C,OAAO,EAAC,OAAO,IAAI,MAAM,EAAC,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
GET_CHECKIN_REVIEW_LIST: string;
|
|
3
|
+
ACTIVE_CHECKIN_REVIEW: string;
|
|
4
|
+
INACTIVE_CHECKIN_REVIEW: string;
|
|
5
|
+
CREATE_CHECKIN_REVIEW_CONTENT: string;
|
|
6
|
+
DELETE_CHECKIN_REVIEW_CONTENT: string;
|
|
7
|
+
GET_GOOGLE_REVIEW_LIST: string;
|
|
8
|
+
ACTIVE_GOOGLE_REVIEW: string;
|
|
9
|
+
INACTIVE_GOOGLE_REVIEW: string;
|
|
10
|
+
CREATE_GOOGLE_REVIEW_CONTENT: string;
|
|
11
|
+
DELETE_GOOGLE_REVIEW_CONTENT: string;
|
|
12
|
+
};
|
|
13
|
+
export default _default;
|
|
14
|
+
//# sourceMappingURL=review.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"review.d.ts","sourceRoot":"","sources":["../../../../../src/api/go_check_in_api/1.0.0/endpoints/review.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,wBAYC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
GET_CHECKIN_REVIEW_LIST: '/v1/gocheckin/review/gocheckin/list',
|
|
3
|
+
ACTIVE_CHECKIN_REVIEW: '/v1/gocheckin/review/gocheckin/active',
|
|
4
|
+
INACTIVE_CHECKIN_REVIEW: '/v1/gocheckin/review/gocheckin/inactive',
|
|
5
|
+
CREATE_CHECKIN_REVIEW_CONTENT: '/v1/gocheckin/review/gocheckin/create-content',
|
|
6
|
+
DELETE_CHECKIN_REVIEW_CONTENT: '/v1/gocheckin/review/gocheckin/delete-content',
|
|
7
|
+
GET_GOOGLE_REVIEW_LIST: '/v1/gocheckin/review/google-review/list',
|
|
8
|
+
ACTIVE_GOOGLE_REVIEW: '/v1/gocheckin/review/google-review/active',
|
|
9
|
+
INACTIVE_GOOGLE_REVIEW: '/v1/gocheckin/review/google-review/inactive',
|
|
10
|
+
CREATE_GOOGLE_REVIEW_CONTENT: '/v1/gocheckin/review/google-review/create-content',
|
|
11
|
+
DELETE_GOOGLE_REVIEW_CONTENT: '/v1/gocheckin/review/google-review/delete-content',
|
|
12
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"review.d.ts","sourceRoot":"","sources":["../../../../../src/api/go_check_in_api/1.0.0/interfaces/review.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,MAAM;CACnC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/api/go_check_in_api/1.0.0/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA;AAC1B,cAAc,OAAO,CAAA;AACrB,cAAc,SAAS,CAAA;AACvB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA;AACzB,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/api/go_check_in_api/1.0.0/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA;AAC1B,cAAc,OAAO,CAAA;AACrB,cAAc,SAAS,CAAA;AACvB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA;AACzB,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const GetReviewListModel: (data: any) => {
|
|
2
|
+
good_review: {
|
|
3
|
+
active: any;
|
|
4
|
+
content: any;
|
|
5
|
+
};
|
|
6
|
+
bad_review: {
|
|
7
|
+
active: any;
|
|
8
|
+
content: any;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export declare const ReviewDetailModel: (data: any) => {
|
|
12
|
+
system: any;
|
|
13
|
+
type: any;
|
|
14
|
+
content: any;
|
|
15
|
+
status: any;
|
|
16
|
+
created_at: any;
|
|
17
|
+
id: any;
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=review.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"review.d.ts","sourceRoot":"","sources":["../../../../../src/api/go_check_in_api/1.0.0/models/review.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,kBAAkB,SAAU,GAAG;;;;;;;;;CAG1C,CAAC;AACH,eAAO,MAAM,iBAAiB,SAAU,GAAG;;;;;;;CAOzC,CAAA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
const ReviewContentModel = (data) => {
|
|
2
|
+
var _a, _b;
|
|
3
|
+
return ({
|
|
4
|
+
id: (_a = data === null || data === void 0 ? void 0 : data.id) !== null && _a !== void 0 ? _a : null,
|
|
5
|
+
content: (_b = data === null || data === void 0 ? void 0 : data.content) !== null && _b !== void 0 ? _b : null,
|
|
6
|
+
});
|
|
7
|
+
};
|
|
8
|
+
const ReviewModel = (data) => {
|
|
9
|
+
var _a;
|
|
10
|
+
return ({
|
|
11
|
+
active: (_a = data === null || data === void 0 ? void 0 : data.active) !== null && _a !== void 0 ? _a : null,
|
|
12
|
+
content: ((data === null || data === void 0 ? void 0 : data.content) || []).map(ReviewContentModel),
|
|
13
|
+
});
|
|
14
|
+
};
|
|
15
|
+
export const GetReviewListModel = (data) => ({
|
|
16
|
+
good_review: ReviewModel(data === null || data === void 0 ? void 0 : data.good_review),
|
|
17
|
+
bad_review: ReviewModel(data === null || data === void 0 ? void 0 : data.bad_review),
|
|
18
|
+
});
|
|
19
|
+
export const ReviewDetailModel = (data) => ({
|
|
20
|
+
system: data === null || data === void 0 ? void 0 : data.system,
|
|
21
|
+
type: data === null || data === void 0 ? void 0 : data.type,
|
|
22
|
+
content: data === null || data === void 0 ? void 0 : data.content,
|
|
23
|
+
status: data === null || data === void 0 ? void 0 : data.status,
|
|
24
|
+
created_at: data === null || data === void 0 ? void 0 : data.created_at,
|
|
25
|
+
id: data === null || data === void 0 ? void 0 : data.id,
|
|
26
|
+
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/request/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,OAAO,CAAC;AACtB,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/request/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,OAAO,CAAC;AACtB,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export type GetCheckinReviewListRequest = {};
|
|
2
|
+
export type ActiveCheckinReviewRequest = {
|
|
3
|
+
type: string;
|
|
4
|
+
};
|
|
5
|
+
export type InactiveCheckinReviewRequest = {
|
|
6
|
+
type: string;
|
|
7
|
+
};
|
|
8
|
+
export type CreateCheckinReviewContentRequest = {
|
|
9
|
+
system: string;
|
|
10
|
+
type: string;
|
|
11
|
+
content: string;
|
|
12
|
+
};
|
|
13
|
+
export type DeleteCheckinReviewContentRequest = {
|
|
14
|
+
id: number;
|
|
15
|
+
};
|
|
16
|
+
export type GetGoogleReviewListRequest = {};
|
|
17
|
+
export type ActiveGoogleReviewRequest = {
|
|
18
|
+
type: string;
|
|
19
|
+
};
|
|
20
|
+
export type InactiveGoogleReviewRequest = {
|
|
21
|
+
type: string;
|
|
22
|
+
};
|
|
23
|
+
export type CreateGoogleReviewContentRequest = {
|
|
24
|
+
system: string;
|
|
25
|
+
type: string;
|
|
26
|
+
content: string;
|
|
27
|
+
};
|
|
28
|
+
export type DeleteGoogleReviewContentRequest = {
|
|
29
|
+
id: number;
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=review.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"review.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/request/review.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,2BAA2B,GAAG,EAAE,CAAC;AAC7C,MAAM,MAAM,0BAA0B,GAAG;IACrC,IAAI,EAAE,MAAM,CAAC;CAChB,CAAC;AACF,MAAM,MAAM,4BAA4B,GAAG;IACvC,IAAI,EAAE,MAAM,CAAC;CAChB,CAAC;AACF,MAAM,MAAM,iCAAiC,GAAG;IAC5C,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACnB,CAAA;AACD,MAAM,MAAM,iCAAiC,GAAG;IAC5C,EAAE,EAAE,MAAM,CAAA;CACb,CAAA;AAED,MAAM,MAAM,0BAA0B,GAAG,EAAE,CAAC;AAC5C,MAAM,MAAM,yBAAyB,GAAG;IACpC,IAAI,EAAE,MAAM,CAAC;CAChB,CAAC;AACF,MAAM,MAAM,2BAA2B,GAAG;IACtC,IAAI,EAAE,MAAM,CAAC;CAChB,CAAC;AACF,MAAM,MAAM,gCAAgC,GAAG;IAC3C,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACnB,CAAA;AACD,MAAM,MAAM,gCAAgC,GAAG;IAC3C,EAAE,EAAE,MAAM,CAAA;CACb,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/response/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,OAAO,CAAC;AACtB,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/response/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,OAAO,CAAC;AACtB,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Nullable } from "../../../../../base_type";
|
|
2
|
+
type ReviewDetail = {
|
|
3
|
+
system: string;
|
|
4
|
+
type: string;
|
|
5
|
+
content: string;
|
|
6
|
+
status: number;
|
|
7
|
+
created_at: Date;
|
|
8
|
+
id: number;
|
|
9
|
+
};
|
|
10
|
+
type ReviewContent = {
|
|
11
|
+
id: number;
|
|
12
|
+
content: string;
|
|
13
|
+
};
|
|
14
|
+
type Review = {
|
|
15
|
+
active: number;
|
|
16
|
+
content: ReviewContent[];
|
|
17
|
+
};
|
|
18
|
+
export type GetCheckinReviewListResponse = Nullable<{
|
|
19
|
+
good_review: Review;
|
|
20
|
+
bad_review: Review;
|
|
21
|
+
}>;
|
|
22
|
+
export type ActiveCheckinReviewResponse = string;
|
|
23
|
+
export type InactiveCheckinReviewResponse = string;
|
|
24
|
+
export type CreateCheckinReviewContentResponse = ReviewDetail;
|
|
25
|
+
export type DeleteCheckinReviewContentResponse = string;
|
|
26
|
+
export type GetGoogleReviewListResponse = Nullable<{
|
|
27
|
+
good_review: Review;
|
|
28
|
+
bad_review: Review;
|
|
29
|
+
}>;
|
|
30
|
+
export type ActiveGoogleReviewResponse = string;
|
|
31
|
+
export type InactiveGoogleReviewResponse = string;
|
|
32
|
+
export type CreateGoogleReviewContentResponse = ReviewDetail;
|
|
33
|
+
export type DeleteGoogleReviewContentResponse = string;
|
|
34
|
+
export {};
|
|
35
|
+
//# sourceMappingURL=review.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"review.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/response/review.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,KAAK,YAAY,GAAG;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,IAAI,CAAC;IACjB,EAAE,EAAE,MAAM,CAAC;CACd,CAAA;AACD,KAAK,aAAa,GAAG;IACjB,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;CACnB,CAAA;AACD,KAAK,MAAM,GAAG;IACV,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,aAAa,EAAE,CAAC;CAC5B,CAAA;AAED,MAAM,MAAM,4BAA4B,GAAG,QAAQ,CAAC;IAChD,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;CACtB,CAAC,CAAA;AACF,MAAM,MAAM,2BAA2B,GAAG,MAAM,CAAC;AACjD,MAAM,MAAM,6BAA6B,GAAG,MAAM,CAAC;AACnD,MAAM,MAAM,kCAAkC,GAAG,YAAY,CAAC;AAC9D,MAAM,MAAM,kCAAkC,GAAG,MAAM,CAAC;AAExD,MAAM,MAAM,2BAA2B,GAAG,QAAQ,CAAC;IAC/C,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;CACtB,CAAC,CAAA;AACF,MAAM,MAAM,0BAA0B,GAAG,MAAM,CAAC;AAChD,MAAM,MAAM,4BAA4B,GAAG,MAAM,CAAC;AAClD,MAAM,MAAM,iCAAiC,GAAG,YAAY,CAAC;AAC7D,MAAM,MAAM,iCAAiC,GAAG,MAAM,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|