gap-nodejs-sdk 1.0.59 → 1.0.62

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.
Files changed (106) hide show
  1. package/dist/gap-sdk.js +1 -1
  2. package/dist/go_check_in_api/1.0.0/api/category.d.ts +7 -0
  3. package/dist/go_check_in_api/1.0.0/api/category.d.ts.map +1 -1
  4. package/dist/go_check_in_api/1.0.0/api/category.js +58 -0
  5. package/dist/go_check_in_api/1.0.0/api/index.d.ts +1 -1
  6. package/dist/go_check_in_api/1.0.0/api/index.d.ts.map +1 -1
  7. package/dist/go_check_in_api/1.0.0/api/index.js +1 -1
  8. package/dist/go_check_in_api/1.0.0/api/service.d.ts +14 -0
  9. package/dist/go_check_in_api/1.0.0/api/service.d.ts.map +1 -0
  10. package/dist/go_check_in_api/1.0.0/api/service.js +61 -0
  11. package/dist/go_check_in_api/1.0.0/endpoints/category.d.ts +5 -1
  12. package/dist/go_check_in_api/1.0.0/endpoints/category.d.ts.map +1 -1
  13. package/dist/go_check_in_api/1.0.0/endpoints/category.js +5 -1
  14. package/dist/go_check_in_api/1.0.0/endpoints/index.d.ts +1 -1
  15. package/dist/go_check_in_api/1.0.0/endpoints/index.d.ts.map +1 -1
  16. package/dist/go_check_in_api/1.0.0/endpoints/index.js +1 -1
  17. package/dist/go_check_in_api/1.0.0/endpoints/service.d.ts +9 -0
  18. package/dist/go_check_in_api/1.0.0/endpoints/service.d.ts.map +1 -0
  19. package/dist/go_check_in_api/1.0.0/endpoints/service.js +7 -0
  20. package/dist/go_check_in_api/1.0.0/interfaces/service.d.ts +3 -0
  21. package/dist/go_check_in_api/1.0.0/interfaces/service.d.ts.map +1 -0
  22. package/dist/go_check_in_api/1.0.0/interfaces/service.js +2 -0
  23. package/dist/go_check_in_api/1.0.0/models/category.d.ts +2 -1
  24. package/dist/go_check_in_api/1.0.0/models/category.d.ts.map +1 -1
  25. package/dist/go_check_in_api/1.0.0/models/category.js +45 -3
  26. package/dist/go_check_in_api/1.0.0/models/index.d.ts +1 -1
  27. package/dist/go_check_in_api/1.0.0/models/index.d.ts.map +1 -1
  28. package/dist/go_check_in_api/1.0.0/models/index.js +1 -1
  29. package/dist/go_check_in_api/1.0.0/models/service.d.ts +2 -0
  30. package/dist/go_check_in_api/1.0.0/models/service.d.ts.map +1 -0
  31. package/dist/go_check_in_api/1.0.0/models/service.js +24 -0
  32. package/dist/go_check_in_api/1.0.0/types/request/category.d.ts +33 -2
  33. package/dist/go_check_in_api/1.0.0/types/request/category.d.ts.map +1 -1
  34. package/dist/go_check_in_api/1.0.0/types/request/index.d.ts +1 -1
  35. package/dist/go_check_in_api/1.0.0/types/request/index.d.ts.map +1 -1
  36. package/dist/go_check_in_api/1.0.0/types/request/index.js +1 -1
  37. package/dist/go_check_in_api/1.0.0/types/request/service.d.ts +52 -0
  38. package/dist/go_check_in_api/1.0.0/types/request/service.d.ts.map +1 -0
  39. package/dist/go_check_in_api/1.0.0/types/request/{services.js → service.js} +0 -0
  40. package/dist/go_check_in_api/1.0.0/types/response/category.d.ts +45 -1
  41. package/dist/go_check_in_api/1.0.0/types/response/category.d.ts.map +1 -1
  42. package/dist/go_check_in_api/1.0.0/types/response/index.d.ts +1 -1
  43. package/dist/go_check_in_api/1.0.0/types/response/index.d.ts.map +1 -1
  44. package/dist/go_check_in_api/1.0.0/types/response/index.js +1 -1
  45. package/dist/go_check_in_api/1.0.0/types/response/service.d.ts +28 -0
  46. package/dist/go_check_in_api/1.0.0/types/response/service.d.ts.map +1 -0
  47. package/dist/go_check_in_api/1.0.0/types/response/{services.js → service.js} +0 -0
  48. package/dist/go_check_in_api/index.d.ts +1 -1
  49. package/dist/go_check_in_api/index.d.ts.map +1 -1
  50. package/dist/go_check_in_api/index.js +1 -1
  51. package/dist/pos_client_api/1.0.0/api/index.d.ts +1 -0
  52. package/dist/pos_client_api/1.0.0/api/index.d.ts.map +1 -1
  53. package/dist/pos_client_api/1.0.0/api/index.js +1 -0
  54. package/dist/pos_client_api/1.0.0/api/product.d.ts +14 -0
  55. package/dist/pos_client_api/1.0.0/api/product.d.ts.map +1 -0
  56. package/dist/pos_client_api/1.0.0/api/product.js +60 -0
  57. package/dist/pos_client_api/1.0.0/endpoints/index.d.ts +1 -0
  58. package/dist/pos_client_api/1.0.0/endpoints/index.d.ts.map +1 -1
  59. package/dist/pos_client_api/1.0.0/endpoints/index.js +1 -0
  60. package/dist/pos_client_api/1.0.0/endpoints/product.d.ts +9 -0
  61. package/dist/pos_client_api/1.0.0/endpoints/product.d.ts.map +1 -0
  62. package/dist/pos_client_api/1.0.0/endpoints/product.js +7 -0
  63. package/dist/pos_client_api/1.0.0/interfaces/product.d.ts +3 -0
  64. package/dist/pos_client_api/1.0.0/interfaces/product.d.ts.map +1 -0
  65. package/dist/pos_client_api/1.0.0/interfaces/product.js +2 -0
  66. package/dist/pos_client_api/1.0.0/models/index.d.ts +1 -0
  67. package/dist/pos_client_api/1.0.0/models/index.d.ts.map +1 -1
  68. package/dist/pos_client_api/1.0.0/models/index.js +1 -0
  69. package/dist/pos_client_api/1.0.0/models/product.d.ts +2 -0
  70. package/dist/pos_client_api/1.0.0/models/product.d.ts.map +1 -0
  71. package/dist/pos_client_api/1.0.0/models/product.js +16 -0
  72. package/dist/pos_client_api/1.0.0/types/request/index.d.ts +1 -0
  73. package/dist/pos_client_api/1.0.0/types/request/index.d.ts.map +1 -1
  74. package/dist/pos_client_api/1.0.0/types/request/index.js +1 -0
  75. package/dist/pos_client_api/1.0.0/types/request/product.d.ts +36 -0
  76. package/dist/pos_client_api/1.0.0/types/request/product.d.ts.map +1 -0
  77. package/dist/pos_client_api/1.0.0/types/request/product.js +1 -0
  78. package/dist/pos_client_api/1.0.0/types/response/index.d.ts +1 -0
  79. package/dist/pos_client_api/1.0.0/types/response/index.d.ts.map +1 -1
  80. package/dist/pos_client_api/1.0.0/types/response/index.js +1 -0
  81. package/dist/pos_client_api/1.0.0/types/response/product.d.ts +19 -0
  82. package/dist/pos_client_api/1.0.0/types/response/product.d.ts.map +1 -0
  83. package/dist/pos_client_api/1.0.0/types/response/product.js +1 -0
  84. package/dist/pos_client_api/index.d.ts +1 -0
  85. package/dist/pos_client_api/index.d.ts.map +1 -1
  86. package/dist/pos_client_api/index.js +1 -0
  87. package/dist/utils/form-data.d.ts +2 -0
  88. package/dist/utils/form-data.d.ts.map +1 -0
  89. package/dist/utils/form-data.js +7 -0
  90. package/package.json +1 -1
  91. package/dist/go_check_in_api/1.0.0/api/services.d.ts +0 -10
  92. package/dist/go_check_in_api/1.0.0/api/services.d.ts.map +0 -1
  93. package/dist/go_check_in_api/1.0.0/api/services.js +0 -18
  94. package/dist/go_check_in_api/1.0.0/endpoints/services.d.ts +0 -5
  95. package/dist/go_check_in_api/1.0.0/endpoints/services.d.ts.map +0 -1
  96. package/dist/go_check_in_api/1.0.0/endpoints/services.js +0 -3
  97. package/dist/go_check_in_api/1.0.0/interfaces/services.d.ts +0 -3
  98. package/dist/go_check_in_api/1.0.0/interfaces/services.d.ts.map +0 -1
  99. package/dist/go_check_in_api/1.0.0/interfaces/services.js +0 -2
  100. package/dist/go_check_in_api/1.0.0/models/services.d.ts +0 -2
  101. package/dist/go_check_in_api/1.0.0/models/services.d.ts.map +0 -1
  102. package/dist/go_check_in_api/1.0.0/models/services.js +0 -6
  103. package/dist/go_check_in_api/1.0.0/types/request/services.d.ts +0 -4
  104. package/dist/go_check_in_api/1.0.0/types/request/services.d.ts.map +0 -1
  105. package/dist/go_check_in_api/1.0.0/types/response/services.d.ts +0 -3
  106. package/dist/go_check_in_api/1.0.0/types/response/services.d.ts.map +0 -1
@@ -1,7 +1,14 @@
1
1
  import CategoryAbstractClass from "../interfaces/category";
2
2
  import Base from "../../../base/Base";
3
3
  import { GapApiVersion } from "../../../base_type";
4
+ import * as Request from "../types/request";
5
+ import * as Response from "../types/response";
4
6
  export default class Category extends Base implements CategoryAbstractClass {
5
7
  static API_VERSION: GapApiVersion;
8
+ static sortCheckInCategory(data: Request.ShortCheckInCategoryRequest): Promise<Response.ShortCheckInCategoryResponse>;
9
+ static getCheckInListCategory(data: Request.GetCheckInListCategoryRequest): Promise<Response.GetCheckInListCategoryResponse>;
10
+ static updateCheckInCategory(data: Request.UpdateCheckInCategoryRequest): Promise<Response.UpdateCheckInCategoryResponse>;
11
+ static deleteCheckInCategory(data: Request.DeleteCheckInCategoryRequest): Promise<Response.DeleteCheckInCategoryResponse>;
12
+ static createCheckInCategory(data: Request.CreateCheckInCategoryRequest): Promise<Response.CreateCheckInCategoryResponse>;
6
13
  }
7
14
  //# sourceMappingURL=category.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"category.d.ts","sourceRoot":"","sources":["../../../../src/go_check_in_api/1.0.0/api/category.ts"],"names":[],"mappings":"AACA,OAAO,qBAAqB,MAAM,wBAAwB,CAAC;AAC3D,OAAO,IAAI,MAAM,oBAAoB,CAAC;AACtC,OAAO,EAAC,aAAa,EAAC,MAAM,oBAAoB,CAAC;AAKjD,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,IAAK,YAAW,qBAAqB;IACvE,OAAc,WAAW,gBAAoB;CAChD"}
1
+ {"version":3,"file":"category.d.ts","sourceRoot":"","sources":["../../../../src/go_check_in_api/1.0.0/api/category.ts"],"names":[],"mappings":"AACA,OAAO,qBAAqB,MAAM,wBAAwB,CAAC;AAC3D,OAAO,IAAI,MAAM,oBAAoB,CAAC;AACtC,OAAO,EAAC,aAAa,EAAC,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AAI9C,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,IAAK,YAAW,qBAAqB;IACvE,OAAc,WAAW,gBAAoB;WAEzB,mBAAmB,CAAC,IAAI,EAAE,OAAO,CAAC,2BAA2B,GAAG,OAAO,CAAC,QAAQ,CAAC,4BAA4B,CAAC;WAW9G,sBAAsB,CAAC,IAAI,EAAE,OAAO,CAAC,6BAA6B,GAAG,OAAO,CAAC,QAAQ,CAAC,8BAA8B,CAAC;WAQrH,qBAAqB,CAAC,IAAI,EAAE,OAAO,CAAC,4BAA4B,GAAG,OAAO,CAAC,QAAQ,CAAC,6BAA6B,CAAC;WAclH,qBAAqB,CAAC,IAAI,EAAE,OAAO,CAAC,4BAA4B,GAAG,OAAO,CAAC,QAAQ,CAAC,6BAA6B,CAAC;WAUlH,qBAAqB,CAAC,IAAI,EAAE,OAAO,CAAC,4BAA4B,GAAG,OAAO,CAAC,QAAQ,CAAC,6BAA6B,CAAC;CAUzI"}
@@ -1,5 +1,63 @@
1
+ import { __awaiter } from "tslib";
2
+ import * as posEndpoints from "../endpoints";
1
3
  import Base from "../../../base/Base";
2
4
  import { GapApiVersion } from "../../../base_type";
5
+ import * as Model from "../models";
6
+ import { objectToFormData } from "../../../utils/form-data";
3
7
  export default class Category extends Base {
8
+ static sortCheckInCategory(data) {
9
+ return __awaiter(this, void 0, void 0, function* () {
10
+ const formData = objectToFormData(data);
11
+ yield this.client.post({
12
+ path: posEndpoints.category.SORT_CATEGORY,
13
+ data: formData
14
+ });
15
+ return null;
16
+ });
17
+ }
18
+ static getCheckInListCategory(data) {
19
+ var _a, _b;
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const response = yield this.client.get({
22
+ path: posEndpoints.category.GET_LIST_CATEGORY,
23
+ query: data,
24
+ });
25
+ 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.CheckInCategoryModel(item));
26
+ });
27
+ }
28
+ static updateCheckInCategory(data) {
29
+ var _a;
30
+ return __awaiter(this, void 0, void 0, function* () {
31
+ const formData = objectToFormData(data.data);
32
+ const response = yield this.client.post({
33
+ path: posEndpoints.category.UPDATE_CATEGORY,
34
+ query: {
35
+ id: data.id
36
+ },
37
+ data: formData,
38
+ });
39
+ return Model.CheckInCategory2Model((_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data);
40
+ });
41
+ }
42
+ static deleteCheckInCategory(data) {
43
+ return __awaiter(this, void 0, void 0, function* () {
44
+ yield this.client.get({
45
+ path: posEndpoints.category.DELETE_CATEGORY,
46
+ query: data
47
+ });
48
+ return null;
49
+ });
50
+ }
51
+ static createCheckInCategory(data) {
52
+ var _a;
53
+ return __awaiter(this, void 0, void 0, function* () {
54
+ const formData = objectToFormData(data);
55
+ const response = yield this.client.post({
56
+ path: posEndpoints.category.CREATE_CATEGORY,
57
+ data: formData
58
+ });
59
+ return Model.CheckInCategory2Model((_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data);
60
+ });
61
+ }
4
62
  }
5
63
  Category.API_VERSION = GapApiVersion.V1;
@@ -1,5 +1,5 @@
1
1
  export { default as Settings } from "./settings";
2
2
  export { default as Ticket } from "./ticket";
3
- export { default as Services } from "./services";
3
+ export { default as Service } from "./service";
4
4
  export { default as Category } from "./category";
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/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,QAAQ,EAAC,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAC,OAAO,IAAI,QAAQ,EAAC,MAAM,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/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"}
@@ -1,4 +1,4 @@
1
1
  export { default as Settings } from "./settings";
2
2
  export { default as Ticket } from "./ticket";
3
- export { default as Services } from "./services";
3
+ export { default as Service } from "./service";
4
4
  export { default as Category } from "./category";
@@ -0,0 +1,14 @@
1
+ import ServiceAbstractClass from "../interfaces/service";
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 Services extends Base implements ServiceAbstractClass {
7
+ static API_VERSION: GapApiVersion;
8
+ static sortCheckInService(data: Request.ShortCheckInServiceRequest): Promise<Response.ShortCheckInServiceResponse>;
9
+ static getCheckInListService(data: Request.GetCheckInListServiceRequest): Promise<Response.GetCheckInListServiceResponse>;
10
+ static updateCheckInService(data: Request.UpdateCheckInServiceRequest): Promise<Response.UpdateCheckInServiceResponse>;
11
+ static deleteCheckInService(data: Request.DeleteCheckInServiceRequest): Promise<Response.DeleteCheckInServiceResponse>;
12
+ static createCheckInService(data: Request.CreateCheckInServiceRequest): Promise<Response.CreateCheckInServiceResponse>;
13
+ }
14
+ //# sourceMappingURL=service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../../src/go_check_in_api/1.0.0/api/service.ts"],"names":[],"mappings":"AACA,OAAO,oBAAoB,MAAM,uBAAuB,CAAC;AACzD,OAAO,IAAI,MAAM,oBAAoB,CAAC;AACtC,OAAO,EAAC,aAAa,EAAC,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AAI9C,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,IAAK,YAAW,oBAAoB;IACtE,OAAc,WAAW,gBAAoB;WAEzB,kBAAkB,CAAC,IAAI,EAAE,OAAO,CAAC,0BAA0B,GAAG,OAAO,CAAC,QAAQ,CAAC,2BAA2B,CAAC;WAW3G,qBAAqB,CAAC,IAAI,EAAE,OAAO,CAAC,4BAA4B,GAAG,OAAO,CAAC,QAAQ,CAAC,6BAA6B,CAAC;WAUlH,oBAAoB,CAAC,IAAI,EAAE,OAAO,CAAC,2BAA2B,GAAG,OAAO,CAAC,QAAQ,CAAC,4BAA4B,CAAC;WAY/G,oBAAoB,CAAC,IAAI,EAAE,OAAO,CAAC,2BAA2B,GAAG,OAAO,CAAC,QAAQ,CAAC,4BAA4B,CAAC;WAU/G,oBAAoB,CAAC,IAAI,EAAE,OAAO,CAAC,2BAA2B,GAAG,OAAO,CAAC,QAAQ,CAAC,4BAA4B,CAAC;CAUtI"}
@@ -0,0 +1,61 @@
1
+ import { __awaiter } from "tslib";
2
+ import * as posEndpoints 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 Services extends Base {
8
+ static sortCheckInService(data) {
9
+ return __awaiter(this, void 0, void 0, function* () {
10
+ const formData = objectToFormData(data);
11
+ yield this.client.post({
12
+ path: posEndpoints.service.SORT_SERVICE,
13
+ data: formData
14
+ });
15
+ return null;
16
+ });
17
+ }
18
+ static getCheckInListService(data) {
19
+ var _a, _b;
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const response = yield this.client.get({
22
+ path: posEndpoints.service.GET_LIST_SERVICE,
23
+ query: data
24
+ });
25
+ return (((_b = (_a = response.results) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.item) || []).map(item => Model.CheckInServiceModel(item));
26
+ });
27
+ }
28
+ static updateCheckInService(data) {
29
+ var _a;
30
+ return __awaiter(this, void 0, void 0, function* () {
31
+ const formData = objectToFormData(data.data);
32
+ const response = yield this.client.post({
33
+ path: posEndpoints.service.GET_LIST_SERVICE,
34
+ query: data,
35
+ data: formData,
36
+ });
37
+ return Model.CheckInServiceModel((_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data);
38
+ });
39
+ }
40
+ static deleteCheckInService(data) {
41
+ return __awaiter(this, void 0, void 0, function* () {
42
+ yield this.client.post({
43
+ path: posEndpoints.service.DELETE_SERVICE,
44
+ data: data
45
+ });
46
+ return null;
47
+ });
48
+ }
49
+ static createCheckInService(data) {
50
+ var _a;
51
+ return __awaiter(this, void 0, void 0, function* () {
52
+ const formData = objectToFormData(data);
53
+ const response = yield this.client.post({
54
+ path: posEndpoints.service.CREATE_SERVICE,
55
+ data: formData
56
+ });
57
+ return Model.CheckInServiceModel((_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data);
58
+ });
59
+ }
60
+ }
61
+ Services.API_VERSION = GapApiVersion.V1;
@@ -1,5 +1,9 @@
1
1
  declare const _default: {
2
- GET_TICKET_TEMPLATE: string;
2
+ SORT_CATEGORY: string;
3
+ GET_LIST_CATEGORY: string;
4
+ UPDATE_CATEGORY: string;
5
+ DELETE_CATEGORY: string;
6
+ CREATE_CATEGORY: string;
3
7
  };
4
8
  export default _default;
5
9
  //# sourceMappingURL=category.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"category.d.ts","sourceRoot":"","sources":["../../../../src/go_check_in_api/1.0.0/endpoints/category.ts"],"names":[],"mappings":";;;AAAA,wBAEC"}
1
+ {"version":3,"file":"category.d.ts","sourceRoot":"","sources":["../../../../src/go_check_in_api/1.0.0/endpoints/category.ts"],"names":[],"mappings":";;;;;;;AAAA,wBAMC"}
@@ -1,3 +1,7 @@
1
1
  export default {
2
- GET_TICKET_TEMPLATE: '/v1/gocheckin/ticket/site/template',
2
+ SORT_CATEGORY: '/v1/gocheckin/category/form/sort-category',
3
+ GET_LIST_CATEGORY: '/v1/gocheckin/category/site/list',
4
+ UPDATE_CATEGORY: '/v1/gocheckin/category/form/update',
5
+ DELETE_CATEGORY: '/v1/gocheckin/category/form/delete',
6
+ CREATE_CATEGORY: '/v1/gocheckin/category/form/create',
3
7
  };
@@ -1,5 +1,5 @@
1
1
  export { default as settings } from "./settings";
2
2
  export { default as ticket } from "./ticket";
3
- export { default as service } from "./services";
3
+ export { default as service } from "./service";
4
4
  export { default as category } from "./category";
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/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,YAAY,CAAC;AAC9C,OAAO,EAAC,OAAO,IAAI,QAAQ,EAAC,MAAM,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/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"}
@@ -1,4 +1,4 @@
1
1
  export { default as settings } from "./settings";
2
2
  export { default as ticket } from "./ticket";
3
- export { default as service } from "./services";
3
+ export { default as service } from "./service";
4
4
  export { default as category } from "./category";
@@ -0,0 +1,9 @@
1
+ declare const _default: {
2
+ SORT_SERVICE: string;
3
+ GET_LIST_SERVICE: string;
4
+ UPDATE_SERVICE: string;
5
+ DELETE_SERVICE: string;
6
+ CREATE_SERVICE: string;
7
+ };
8
+ export default _default;
9
+ //# sourceMappingURL=service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../../src/go_check_in_api/1.0.0/endpoints/service.ts"],"names":[],"mappings":";;;;;;;AAAA,wBAMC"}
@@ -0,0 +1,7 @@
1
+ export default {
2
+ SORT_SERVICE: '/v1/gocheckin/service/form/sort',
3
+ GET_LIST_SERVICE: '/v1/gocheckin/service/site/list',
4
+ UPDATE_SERVICE: '/v1/gocheckin/service/form/update',
5
+ DELETE_SERVICE: '/v1/gocheckin/service/form/delete',
6
+ CREATE_SERVICE: '/v1/gocheckin/service/form/create',
7
+ };
@@ -0,0 +1,3 @@
1
+ export default abstract class Service {
2
+ }
3
+ //# sourceMappingURL=service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../../src/go_check_in_api/1.0.0/interfaces/service.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,OAAO;CACpC"}
@@ -0,0 +1,2 @@
1
+ export default class Service {
2
+ }
@@ -1,2 +1,3 @@
1
- export declare function BModel(data: any): any;
1
+ export declare function CheckInCategoryModel(data: any): any;
2
+ export declare function CheckInCategory2Model(data: any): any;
2
3
  //# sourceMappingURL=category.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"category.d.ts","sourceRoot":"","sources":["../../../../src/go_check_in_api/1.0.0/models/category.ts"],"names":[],"mappings":"AAEA,wBAAgB,MAAM,CAAC,IAAI,EAAE,GAAG,GAAG,GAAG,CAIrC"}
1
+ {"version":3,"file":"category.d.ts","sourceRoot":"","sources":["../../../../src/go_check_in_api/1.0.0/models/category.ts"],"names":[],"mappings":"AAEA,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,GAAG,CAwBnD;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,GAAG,CAoBpD"}
@@ -1,6 +1,48 @@
1
- export function BModel(data) {
2
- var _a;
1
+ export function CheckInCategoryModel(data) {
2
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2;
3
3
  return {
4
- test: (_a = data === null || data === void 0 ? void 0 : data.test) !== null && _a !== void 0 ? _a : null
4
+ id: (_a = data === null || data === void 0 ? void 0 : data.id) !== null && _a !== void 0 ? _a : null,
5
+ name: (_b = data === null || data === void 0 ? void 0 : data.name) !== null && _b !== void 0 ? _b : null,
6
+ priority: (_c = data === null || data === void 0 ? void 0 : data.priority) !== null && _c !== void 0 ? _c : null,
7
+ created_at: (_d = data === null || data === void 0 ? void 0 : data.created_at) !== null && _d !== void 0 ? _d : null,
8
+ group_id: (_e = data === null || data === void 0 ? void 0 : data.group_id) !== null && _e !== void 0 ? _e : null,
9
+ status: (_f = data === null || data === void 0 ? void 0 : data.status) !== null && _f !== void 0 ? _f : null,
10
+ type: (_g = data === null || data === void 0 ? void 0 : data.type) !== null && _g !== void 0 ? _g : null,
11
+ color_detail: {
12
+ type: (_j = (_h = data === null || data === void 0 ? void 0 : data.color_detail) === null || _h === void 0 ? void 0 : _h.type) !== null && _j !== void 0 ? _j : null,
13
+ id: (_l = (_k = data === null || data === void 0 ? void 0 : data.color_detail) === null || _k === void 0 ? void 0 : _k.id) !== null && _l !== void 0 ? _l : null,
14
+ item_id: (_o = (_m = data === null || data === void 0 ? void 0 : data.color_detail) === null || _m === void 0 ? void 0 : _m.item_id) !== null && _o !== void 0 ? _o : null,
15
+ color_code: (_q = (_p = data === null || data === void 0 ? void 0 : data.color_detail) === null || _p === void 0 ? void 0 : _p.color_code) !== null && _q !== void 0 ? _q : null,
16
+ priority: (_s = (_r = data === null || data === void 0 ? void 0 : data.color_detail) === null || _r === void 0 ? void 0 : _r.priority) !== null && _s !== void 0 ? _s : null,
17
+ created_at: (_u = (_t = data === null || data === void 0 ? void 0 : data.color_detail) === null || _t === void 0 ? void 0 : _t.created_at) !== null && _u !== void 0 ? _u : null,
18
+ updated_at: (_w = (_v = data === null || data === void 0 ? void 0 : data.color_detail) === null || _v === void 0 ? void 0 : _v.updated_at) !== null && _w !== void 0 ? _w : null,
19
+ status: (_y = (_x = data === null || data === void 0 ? void 0 : data.color_detail) === null || _x === void 0 ? void 0 : _x.status) !== null && _y !== void 0 ? _y : null,
20
+ },
21
+ description: (_z = data === null || data === void 0 ? void 0 : data.description) !== null && _z !== void 0 ? _z : null,
22
+ parent_id: (_0 = data === null || data === void 0 ? void 0 : data.parent_id) !== null && _0 !== void 0 ? _0 : null,
23
+ owner_id: (_1 = data === null || data === void 0 ? void 0 : data.owner_id) !== null && _1 !== void 0 ? _1 : null,
24
+ created_by: (_2 = data === null || data === void 0 ? void 0 : data.created_by) !== null && _2 !== void 0 ? _2 : null,
25
+ };
26
+ }
27
+ export function CheckInCategory2Model(data) {
28
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y;
29
+ return {
30
+ id: (_a = data === null || data === void 0 ? void 0 : data.id) !== null && _a !== void 0 ? _a : null,
31
+ name: (_b = data === null || data === void 0 ? void 0 : data.name) !== null && _b !== void 0 ? _b : null,
32
+ priority: (_c = data === null || data === void 0 ? void 0 : data.priority) !== null && _c !== void 0 ? _c : null,
33
+ created_at: (_d = data === null || data === void 0 ? void 0 : data.created_at) !== null && _d !== void 0 ? _d : null,
34
+ group_id: (_e = data === null || data === void 0 ? void 0 : data.group_id) !== null && _e !== void 0 ? _e : null,
35
+ status: (_f = data === null || data === void 0 ? void 0 : data.status) !== null && _f !== void 0 ? _f : null,
36
+ type: (_g = data === null || data === void 0 ? void 0 : data.type) !== null && _g !== void 0 ? _g : null,
37
+ color_detail: {
38
+ type: (_j = (_h = data === null || data === void 0 ? void 0 : data.color_detail) === null || _h === void 0 ? void 0 : _h.type) !== null && _j !== void 0 ? _j : null,
39
+ id: (_l = (_k = data === null || data === void 0 ? void 0 : data.color_detail) === null || _k === void 0 ? void 0 : _k.id) !== null && _l !== void 0 ? _l : null,
40
+ item_id: (_o = (_m = data === null || data === void 0 ? void 0 : data.color_detail) === null || _m === void 0 ? void 0 : _m.item_id) !== null && _o !== void 0 ? _o : null,
41
+ color_code: (_q = (_p = data === null || data === void 0 ? void 0 : data.color_detail) === null || _p === void 0 ? void 0 : _p.color_code) !== null && _q !== void 0 ? _q : null,
42
+ priority: (_s = (_r = data === null || data === void 0 ? void 0 : data.color_detail) === null || _r === void 0 ? void 0 : _r.priority) !== null && _s !== void 0 ? _s : null,
43
+ created_at: (_u = (_t = data === null || data === void 0 ? void 0 : data.color_detail) === null || _t === void 0 ? void 0 : _t.created_at) !== null && _u !== void 0 ? _u : null,
44
+ updated_at: (_w = (_v = data === null || data === void 0 ? void 0 : data.color_detail) === null || _v === void 0 ? void 0 : _v.updated_at) !== null && _w !== void 0 ? _w : null,
45
+ status: (_y = (_x = data === null || data === void 0 ? void 0 : data.color_detail) === null || _x === void 0 ? void 0 : _x.status) !== null && _y !== void 0 ? _y : null
46
+ }
5
47
  };
6
48
  }
@@ -1,5 +1,5 @@
1
1
  export * from "./settings";
2
2
  export * from "./ticket";
3
- export * from "./services";
3
+ export * from "./service";
4
4
  export * from "./category";
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/go_check_in_api/1.0.0/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,UAAU,CAAA;AACxB,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/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"}
@@ -1,4 +1,4 @@
1
1
  export * from "./settings";
2
2
  export * from "./ticket";
3
- export * from "./services";
3
+ export * from "./service";
4
4
  export * from "./category";
@@ -0,0 +1,2 @@
1
+ export declare function CheckInServiceModel(data: any): any;
2
+ //# sourceMappingURL=service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../../src/go_check_in_api/1.0.0/models/service.ts"],"names":[],"mappings":"AAEA,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,GAAG,CAsBlD"}
@@ -0,0 +1,24 @@
1
+ export function CheckInServiceModel(data) {
2
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u;
3
+ return {
4
+ id: (_a = data === null || data === void 0 ? void 0 : data.id) !== null && _a !== void 0 ? _a : null,
5
+ name: (_b = data === null || data === void 0 ? void 0 : data.id) !== null && _b !== void 0 ? _b : null,
6
+ create_at: (_c = data === null || data === void 0 ? void 0 : data.id) !== null && _c !== void 0 ? _c : null,
7
+ status: (_d = data === null || data === void 0 ? void 0 : data.id) !== null && _d !== void 0 ? _d : null,
8
+ priority: (_e = data === null || data === void 0 ? void 0 : data.id) !== null && _e !== void 0 ? _e : null,
9
+ category_id: (_f = data === null || data === void 0 ? void 0 : data.id) !== null && _f !== void 0 ? _f : null,
10
+ price: (_g = data === null || data === void 0 ? void 0 : data.id) !== null && _g !== void 0 ? _g : null,
11
+ note: (_h = data === null || data === void 0 ? void 0 : data.id) !== null && _h !== void 0 ? _h : null,
12
+ point_bonus: (_j = data === null || data === void 0 ? void 0 : data.id) !== null && _j !== void 0 ? _j : null,
13
+ duration: (_k = data === null || data === void 0 ? void 0 : data.id) !== null && _k !== void 0 ? _k : null,
14
+ buffer_time: (_l = data === null || data === void 0 ? void 0 : data.id) !== null && _l !== void 0 ? _l : null,
15
+ web_booking_visible: (_m = data === null || data === void 0 ? void 0 : data.id) !== null && _m !== void 0 ? _m : null,
16
+ group_id: (_o = data === null || data === void 0 ? void 0 : data.id) !== null && _o !== void 0 ? _o : null,
17
+ supply_share: (_p = data === null || data === void 0 ? void 0 : data.id) !== null && _p !== void 0 ? _p : null,
18
+ show_on_checkin: (_q = data === null || data === void 0 ? void 0 : data.id) !== null && _q !== void 0 ? _q : null,
19
+ show_on_booking: (_r = data === null || data === void 0 ? void 0 : data.id) !== null && _r !== void 0 ? _r : null,
20
+ show_on_pos: (_s = data === null || data === void 0 ? void 0 : data.id) !== null && _s !== void 0 ? _s : null,
21
+ image_base_url: (_t = data === null || data === void 0 ? void 0 : data.id) !== null && _t !== void 0 ? _t : null,
22
+ image_path: (_u = data === null || data === void 0 ? void 0 : data.id) !== null && _u !== void 0 ? _u : null,
23
+ };
24
+ }
@@ -1,4 +1,35 @@
1
- export declare type Test = {
2
- type?: string;
1
+ export declare type ShortCheckInCategoryRequest = {
2
+ categories: string;
3
+ statusFilter: number;
4
+ };
5
+ export declare type GetCheckInListCategoryRequest = {
6
+ status?: number;
7
+ };
8
+ export declare type UpdateCheckInCategoryRequest = {
9
+ id: number;
10
+ data: {
11
+ id: number;
12
+ name: string;
13
+ color_code: string;
14
+ page: number;
15
+ 'per-page': number;
16
+ status: string;
17
+ type: string;
18
+ statusFilter: number;
19
+ };
20
+ };
21
+ export declare type DeleteCheckInCategoryRequest = {
22
+ id: number;
23
+ page?: number;
24
+ 'per-page'?: number;
25
+ type: string;
26
+ statusFilter: number;
27
+ };
28
+ export declare type CreateCheckInCategoryRequest = {
29
+ name: string;
30
+ color_code: string;
31
+ type: string;
32
+ statusFilter: number;
33
+ status: string;
3
34
  };
4
35
  //# sourceMappingURL=category.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"category.d.ts","sourceRoot":"","sources":["../../../../../src/go_check_in_api/1.0.0/types/request/category.ts"],"names":[],"mappings":"AAAA,oBAAY,IAAI,GAAG;IACf,IAAI,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA"}
1
+ {"version":3,"file":"category.d.ts","sourceRoot":"","sources":["../../../../../src/go_check_in_api/1.0.0/types/request/category.ts"],"names":[],"mappings":"AAAA,oBAAY,2BAA2B,GAAG;IACtC,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAA;CACvB,CAAA;AAED,oBAAY,6BAA6B,GAAG;IACxC,MAAM,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,oBAAY,4BAA4B,GAAG;IACvC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE;QACF,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM,CAAC;QACb,UAAU,EAAE,MAAM,CAAC;QACnB,IAAI,EAAE,MAAM,CAAC;QACb,UAAU,EAAE,MAAM,CAAC;QACnB,MAAM,EAAE,MAAM,CAAC;QACf,IAAI,EAAE,MAAM,CAAC;QACb,YAAY,EAAE,MAAM,CAAC;KACxB,CAAA;CACJ,CAAA;AAED,oBAAY,4BAA4B,GAAG;IACvC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;CACxB,CAAA;AAED,oBAAY,4BAA4B,GAAG;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;CAClB,CAAA"}
@@ -1,5 +1,5 @@
1
1
  export * from './settings';
2
2
  export * from './ticket';
3
- export * from './services';
3
+ export * from './service';
4
4
  export * from './category';
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/go_check_in_api/1.0.0/types/request/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/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"}
@@ -1,4 +1,4 @@
1
1
  export * from './settings';
2
2
  export * from './ticket';
3
- export * from './services';
3
+ export * from './service';
4
4
  export * from './category';
@@ -0,0 +1,52 @@
1
+ export declare type ShortCheckInServiceRequest = {
2
+ items: string;
3
+ };
4
+ export declare type GetCheckInListServiceRequest = {
5
+ category_id: 176;
6
+ status: 1;
7
+ };
8
+ export declare type UpdateCheckInServiceRequest = {
9
+ id: number;
10
+ data: {
11
+ id: number;
12
+ name: string;
13
+ category_id: number;
14
+ price: number;
15
+ web_booking_visible: number;
16
+ note: string;
17
+ duration: number;
18
+ group_id: string;
19
+ status: number;
20
+ supply_share: number;
21
+ show_on_checkin: number;
22
+ show_on_booking: number;
23
+ show_on_pos: number;
24
+ image_path: string;
25
+ image_base_url: string;
26
+ statusFilter: number;
27
+ };
28
+ };
29
+ export declare type DeleteCheckInServiceRequest = {
30
+ id: number;
31
+ category_id: number;
32
+ statusFilter: number;
33
+ };
34
+ export declare type CreateCheckInServiceRequest = {
35
+ name: string;
36
+ category_id: number;
37
+ cate_name: string;
38
+ image_path: string;
39
+ image_base_url: null;
40
+ web_booking_visible: number;
41
+ price: number;
42
+ note: string;
43
+ duration: number;
44
+ group_id: string;
45
+ supply_share: number;
46
+ status: number;
47
+ show_on_checkin: number;
48
+ show_on_booking: number;
49
+ show_on_pos: number;
50
+ statusFilter: number;
51
+ };
52
+ //# sourceMappingURL=service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../../../src/go_check_in_api/1.0.0/types/request/service.ts"],"names":[],"mappings":"AAAA,oBAAY,0BAA0B,GAAG;IACrC,KAAK,EAAE,MAAM,CAAC;CACjB,CAAA;AAED,oBAAY,4BAA4B,GAAG;IACvC,WAAW,EAAE,GAAG,CAAA;IAChB,MAAM,EAAE,CAAC,CAAC;CACb,CAAA;AAED,oBAAY,2BAA2B,GAAG;IACtC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE;QACF,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM,CAAC;QACb,WAAW,EAAE,MAAM,CAAC;QACpB,KAAK,EAAE,MAAM,CAAC;QACd,mBAAmB,EAAE,MAAM,CAAA;QAC3B,IAAI,EAAE,MAAM,CAAC;QACb,QAAQ,EAAE,MAAM,CAAC;QACjB,QAAQ,EAAE,MAAM,CAAC;QACjB,MAAM,EAAE,MAAM,CAAA;QACd,YAAY,EAAE,MAAM,CAAA;QACpB,eAAe,EAAE,MAAM,CAAA;QACvB,eAAe,EAAE,MAAM,CAAA;QACvB,WAAW,EAAE,MAAM,CAAA;QACnB,UAAU,EAAE,MAAM,CAAA;QAClB,cAAc,EAAE,MAAM,CAAA;QACtB,YAAY,EAAE,MAAM,CAAA;KACvB,CAAA;CACJ,CAAA;AAED,oBAAY,2BAA2B,GAAG;IACtC,EAAE,EAAE,MAAM,CAAA;IACV,WAAW,EAAE,MAAM,CAAA;IACnB,YAAY,EAAE,MAAM,CAAA;CACvB,CAAA;AAED,oBAAY,2BAA2B,GAAG;IACtC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,IAAI,CAAC;IACrB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,MAAM,CAAC;IACxB,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;CACxB,CAAA"}
@@ -1,3 +1,47 @@
1
1
  import { Nullable } from "../../../../base_type";
2
- export declare type Fest = Nullable<{}>;
2
+ export declare type ShortCheckInCategoryResponse = null;
3
+ export declare type GetCheckInListCategoryResponse = Nullable<{
4
+ id: number;
5
+ name: string;
6
+ priority: number;
7
+ created_at: string;
8
+ group_id: any;
9
+ status: string;
10
+ type: string;
11
+ color_detail: {
12
+ type: number;
13
+ id: number;
14
+ item_id: number;
15
+ color_code: string;
16
+ priority: number;
17
+ created_at: string;
18
+ updated_at: string;
19
+ status: number;
20
+ };
21
+ description: any;
22
+ parent_id: any;
23
+ owner_id: any;
24
+ created_by: any;
25
+ }[]>;
26
+ export declare type UpdateCheckInCategoryResponse = Nullable<{
27
+ id: number;
28
+ name: string;
29
+ priority: number;
30
+ created_at: string;
31
+ group_id: any;
32
+ status: string;
33
+ type: string;
34
+ color_detail: {
35
+ type: number;
36
+ id: number;
37
+ item_id: number;
38
+ color_code: string;
39
+ priority: number;
40
+ created_at: string;
41
+ updated_at: string;
42
+ status: number;
43
+ };
44
+ }>;
45
+ export declare type DeleteCheckInCategoryResponse = null;
46
+ export declare type CreateCheckInCategoryResponse = UpdateCheckInCategoryResponse;
3
47
  //# sourceMappingURL=category.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"category.d.ts","sourceRoot":"","sources":["../../../../../src/go_check_in_api/1.0.0/types/response/category.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,uBAAuB,CAAC;AAE/C,oBAAY,IAAI,GAAG,QAAQ,CAAC,EAE3B,CAAC,CAAA"}
1
+ {"version":3,"file":"category.d.ts","sourceRoot":"","sources":["../../../../../src/go_check_in_api/1.0.0/types/response/category.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,uBAAuB,CAAC;AAE/C,oBAAY,4BAA4B,GAAG,IAAI,CAAC;AAEhD,oBAAY,8BAA8B,GAAG,QAAQ,CAAC;IAClD,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,GAAG,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,YAAY,EAAE;QACV,IAAI,EAAE,MAAM,CAAA;QACZ,EAAE,EAAE,MAAM,CAAA;QACV,OAAO,EAAE,MAAM,CAAA;QACf,UAAU,EAAE,MAAM,CAAA;QAClB,QAAQ,EAAE,MAAM,CAAA;QAChB,UAAU,EAAE,MAAM,CAAA;QAClB,UAAU,EAAE,MAAM,CAAA;QAClB,MAAM,EAAE,MAAM,CAAA;KACjB,CAAA;IACD,WAAW,EAAE,GAAG,CAAA;IAChB,SAAS,EAAE,GAAG,CAAA;IACd,QAAQ,EAAE,GAAG,CAAA;IACb,UAAU,EAAE,GAAG,CAAA;CAClB,EAAE,CAAC,CAAA;AAEJ,oBAAY,6BAA6B,GAAG,QAAQ,CAAC;IACjD,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,GAAG,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,YAAY,EAAE;QACV,IAAI,EAAE,MAAM,CAAA;QACZ,EAAE,EAAE,MAAM,CAAA;QACV,OAAO,EAAE,MAAM,CAAA;QACf,UAAU,EAAE,MAAM,CAAA;QAClB,QAAQ,EAAE,MAAM,CAAA;QAChB,UAAU,EAAE,MAAM,CAAA;QAClB,UAAU,EAAE,MAAM,CAAA;QAClB,MAAM,EAAE,MAAM,CAAA;KACjB,CAAA;CACJ,CAAC,CAAA;AAEF,oBAAY,6BAA6B,GAAG,IAAI,CAAC;AAEjD,oBAAY,6BAA6B,GAAG,6BAA6B,CAAA"}
@@ -1,5 +1,5 @@
1
1
  export * from './settings';
2
2
  export * from './ticket';
3
- export * from './services';
3
+ export * from './service';
4
4
  export * from './category';
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/go_check_in_api/1.0.0/types/response/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/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"}
@@ -1,4 +1,4 @@
1
1
  export * from './settings';
2
2
  export * from './ticket';
3
- export * from './services';
3
+ export * from './service';
4
4
  export * from './category';