@carsayo/types 1.1.2 → 1.1.4

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 (109) hide show
  1. package/dist/data/bankcode.js +66 -0
  2. package/dist/data/banner.js +45 -0
  3. package/dist/data/board.js +35 -0
  4. package/dist/data/car.js +923 -0
  5. package/dist/data/carPopularCategory.js +28 -0
  6. package/dist/data/collaborator.js +14 -0
  7. package/dist/data/index.js +28 -0
  8. package/dist/data/popup.js +27 -0
  9. package/dist/data/purchase.js +25 -0
  10. package/dist/data/region.js +264 -0
  11. package/dist/data/role.js +114 -0
  12. package/dist/data/system.js +28 -0
  13. package/dist/data/term.js +180 -0
  14. package/dist/index.js +18 -0
  15. package/dist/types/index.js +18 -0
  16. package/dist/types/modules/banner/dto.d.ts +4 -4
  17. package/dist/types/modules/banner/dto.js +2 -0
  18. package/dist/types/modules/banner/index.js +18 -0
  19. package/dist/types/modules/banner/interface.js +2 -0
  20. package/dist/types/modules/board/dto.d.ts +33 -33
  21. package/dist/types/modules/board/dto.js +3 -0
  22. package/dist/types/modules/board/index.js +19 -0
  23. package/dist/types/modules/board/interface.js +2 -0
  24. package/dist/types/modules/board/type.js +8 -0
  25. package/dist/types/modules/car/dto.d.ts +14 -14
  26. package/dist/types/modules/car/dto.js +2 -0
  27. package/dist/types/modules/car/index.js +19 -0
  28. package/dist/types/modules/car/interface.js +2 -0
  29. package/dist/types/modules/car/type.js +13 -0
  30. package/dist/types/modules/collaborator/dto.d.ts +1 -1
  31. package/dist/types/modules/collaborator/dto.js +3 -0
  32. package/dist/types/modules/collaborator/index.js +17 -0
  33. package/dist/types/modules/common/index.js +18 -0
  34. package/dist/types/modules/common/interface.js +2 -0
  35. package/dist/types/modules/common/type.js +25 -0
  36. package/dist/types/modules/file/dto.d.ts +3 -2
  37. package/dist/types/modules/file/dto.js +3 -0
  38. package/dist/types/modules/file/index.js +19 -0
  39. package/dist/types/modules/file/interface.js +2 -0
  40. package/dist/types/modules/file/type.js +15 -0
  41. package/dist/types/modules/history/dto.d.ts +3 -2
  42. package/dist/types/modules/history/dto.js +3 -0
  43. package/dist/types/modules/history/index.js +18 -0
  44. package/dist/types/modules/history/interface.js +2 -0
  45. package/dist/types/modules/index.js +31 -0
  46. package/dist/types/modules/inquiry/dto.d.ts +9 -9
  47. package/dist/types/modules/inquiry/dto.js +2 -0
  48. package/dist/types/modules/inquiry/index.js +19 -0
  49. package/dist/types/modules/inquiry/interface.d.ts +1 -1
  50. package/dist/types/modules/inquiry/interface.js +2 -0
  51. package/dist/types/modules/inquiry/type.js +15 -0
  52. package/dist/types/modules/member/dto.d.ts +55 -54
  53. package/dist/types/modules/member/dto.js +3 -0
  54. package/dist/types/modules/member/index.js +19 -0
  55. package/dist/types/modules/member/interface.js +2 -0
  56. package/dist/types/modules/member/type.js +67 -0
  57. package/dist/types/modules/notification/dto.d.ts +2 -2
  58. package/dist/types/modules/notification/dto.js +3 -0
  59. package/dist/types/modules/notification/index.js +19 -0
  60. package/dist/types/modules/notification/interface.js +2 -0
  61. package/dist/types/modules/notification/type.js +7 -0
  62. package/dist/types/modules/order/dto.d.ts +47 -46
  63. package/dist/types/modules/order/dto.js +9 -0
  64. package/dist/types/modules/order/index.js +19 -0
  65. package/dist/types/modules/order/interface.js +2 -0
  66. package/dist/types/modules/order/type.js +148 -0
  67. package/dist/types/modules/popup/dto.d.ts +4 -4
  68. package/dist/types/modules/popup/dto.js +3 -0
  69. package/dist/types/modules/popup/index.js +18 -0
  70. package/dist/types/modules/popup/interface.js +2 -0
  71. package/dist/types/modules/purchase/dto.d.ts +2 -2
  72. package/dist/types/modules/purchase/dto.js +3 -0
  73. package/dist/types/modules/purchase/index.js +19 -0
  74. package/dist/types/modules/purchase/interface.js +2 -0
  75. package/dist/types/modules/purchase/type.js +13 -0
  76. package/dist/types/modules/system/dto.d.ts +2 -2
  77. package/dist/types/modules/system/dto.js +3 -0
  78. package/dist/types/modules/system/index.js +18 -0
  79. package/dist/types/modules/system/interface.js +2 -0
  80. package/dist/types/modules/term/dto.d.ts +13 -13
  81. package/dist/types/modules/term/dto.js +3 -0
  82. package/dist/types/modules/term/index.js +18 -0
  83. package/dist/types/modules/term/interface.js +2 -0
  84. package/dist/types/providers/coocon-usedcar/dto.d.ts +1 -1
  85. package/dist/types/providers/coocon-usedcar/dto.js +3 -0
  86. package/dist/types/providers/coocon-usedcar/index.js +18 -0
  87. package/dist/types/providers/coocon-usedcar/interface.js +7 -0
  88. package/dist/types/providers/firebase-message/dto.d.ts +4 -4
  89. package/dist/types/providers/firebase-message/dto.js +3 -0
  90. package/dist/types/providers/firebase-message/index.js +18 -0
  91. package/dist/types/providers/firebase-message/interface.js +2 -0
  92. package/dist/types/providers/gabia-sms/dto.d.ts +2 -2
  93. package/dist/types/providers/gabia-sms/dto.js +3 -0
  94. package/dist/types/providers/gabia-sms/index.js +17 -0
  95. package/dist/types/providers/index.js +23 -0
  96. package/dist/types/providers/mailer/dto.d.ts +1 -1
  97. package/dist/types/providers/mailer/dto.js +3 -0
  98. package/dist/types/providers/mailer/index.js +17 -0
  99. package/dist/types/providers/niceapi/dto.d.ts +4 -4
  100. package/dist/types/providers/niceapi/dto.js +3 -0
  101. package/dist/types/providers/niceapi/index.js +18 -0
  102. package/dist/types/providers/niceapi/interface.js +2 -0
  103. package/dist/types/providers/nicepayment/dto.d.ts +7 -7
  104. package/dist/types/providers/nicepayment/dto.js +9 -0
  105. package/dist/types/providers/nicepayment/index.js +19 -0
  106. package/dist/types/providers/nicepayment/interface.js +2 -0
  107. package/dist/types/providers/nicepayment/type.js +37 -0
  108. package/package.json +2 -5
  109. package/dist/validator/IsNullable.d.ts +0 -3
@@ -0,0 +1,180 @@
1
+ "use strict";
2
+ /** 카사요 서비스에서 사용되는 약관
3
+ * @description 회원의 동의를 받는 모든 내용이 포함됩니다
4
+ * @notice 이 파일은 서비스 내 다음 파일들과 일치하여야 합니다
5
+ * @frontend 카사요 앱 리액트 프로젝트, 카사요 어드민 웹
6
+ * @backend Prisma, Main_Service
7
+ */
8
+ Object.defineProperty(exports, "__esModule", { value: true });
9
+ exports.TermCategoryId = exports.TermCategoryData = void 0;
10
+ exports.TermCategoryData = [
11
+ /** 일반회원 가입 약관 */
12
+ {
13
+ id: 10100,
14
+ title: '서비스 이용약관',
15
+ description: '일반 고객의 서비스 이용약관입니다',
16
+ member_type: 'customer',
17
+ dealer_type: null,
18
+ isEssential: true,
19
+ isContent: true,
20
+ isActive: true,
21
+ },
22
+ {
23
+ id: 10200,
24
+ title: '개인정보 처리방침',
25
+ description: '일반 고객의 개인정보 처리방침입니다',
26
+ member_type: 'customer',
27
+ dealer_type: null,
28
+ isEssential: true,
29
+ isContent: true,
30
+ isActive: true,
31
+ },
32
+ {
33
+ id: 10500,
34
+ title: '미스터리 쇼퍼가 아닙니다',
35
+ description: '일반 고객의 미스터리 쇼퍼가 아님을 나타내는 약관',
36
+ member_type: 'customer',
37
+ dealer_type: null,
38
+ isEssential: true,
39
+ isContent: true,
40
+ isActive: true,
41
+ },
42
+ {
43
+ id: 10600,
44
+ title: '실구매자 또는 실판매자입니다',
45
+ description: '일반 고객의 실구매자 또는 실판매자임을 나타내는 약관',
46
+ member_type: 'customer',
47
+ dealer_type: null,
48
+ isEssential: true,
49
+ isContent: true,
50
+ isActive: true,
51
+ },
52
+ {
53
+ id: 10700,
54
+ title: '무분별한 구매/판매 요청은 하지 않습니다',
55
+ description: '일반 고객의 무분별한 구매/판매 요청은 하지 않겠다는 약관',
56
+ member_type: 'customer',
57
+ dealer_type: null,
58
+ isEssential: true,
59
+ isContent: false,
60
+ isActive: true,
61
+ },
62
+ /** 카매니저 약관 */
63
+ {
64
+ id: 20100,
65
+ title: '서비스 이용약관',
66
+ description: '딜러 고객의 서비스 이용약관입니다',
67
+ member_type: 'dealer',
68
+ dealer_type: null,
69
+ isEssential: true,
70
+ isContent: true,
71
+ isActive: true,
72
+ },
73
+ {
74
+ id: 20200,
75
+ title: '개인정보 처리방침',
76
+ description: '카매니저의 수집이용 약관입니다',
77
+ member_type: 'dealer',
78
+ dealer_type: null,
79
+ isEssential: true,
80
+ isContent: true,
81
+ isActive: true,
82
+ },
83
+ /** 신차 카매니저 전용 */
84
+ {
85
+ id: 24090,
86
+ title: '이용방법 & 거래 주의사항',
87
+ description: '신차 카매니저의 서비스 이용 및 거래에 대한 약관입니다',
88
+ member_type: 'dealer',
89
+ dealer_type: 'newcar',
90
+ isEssential: true,
91
+ isContent: true,
92
+ isActive: true,
93
+ },
94
+ {
95
+ id: 24100,
96
+ title: '국내차/수입차 공식 직원입니다.',
97
+ description: '신차 공식 직원인지에 대한 확인',
98
+ member_type: 'dealer',
99
+ dealer_type: 'newcar',
100
+ isEssential: true,
101
+ isContent: true,
102
+ isActive: true,
103
+ },
104
+ /** 중고차 카매니저 전용 */
105
+ {
106
+ id: 25090,
107
+ title: '이용방법 & 거래 주의사항',
108
+ description: '중고차 카매니저의 서비스 이용 및 거래에 대한 약관입니다',
109
+ member_type: 'dealer',
110
+ dealer_type: 'usedcar',
111
+ isEssential: true,
112
+ isContent: true,
113
+ isActive: true,
114
+ },
115
+ {
116
+ id: 25100,
117
+ title: '자동차매매사업조합연합회 소속입니다.',
118
+ description: '중고차 딜러가 자동차매매사업조합연합회 소속인지 여부를 선택합니다',
119
+ member_type: 'dealer',
120
+ dealer_type: 'usedcar',
121
+ isEssential: true,
122
+ isContent: true,
123
+ isActive: true,
124
+ },
125
+ /** 리스렌트 카매니저 전용 */
126
+ {
127
+ id: 26090,
128
+ title: '이용방법 & 거래 주의사항',
129
+ description: '리스렌트 카매니저의 서비스 이용 및 거래에 대한 약관입니다',
130
+ member_type: 'dealer',
131
+ dealer_type: 'leaseRent',
132
+ isEssential: true,
133
+ isContent: true,
134
+ isActive: true,
135
+ },
136
+ {
137
+ id: 26100,
138
+ title: '대출성 상품 판매대리 중개업자입니다.',
139
+ description: '대출성 상품 판매대리 중개업자 자격이 있다는 것에 동의합니다',
140
+ member_type: 'dealer',
141
+ dealer_type: 'leaseRent',
142
+ isEssential: true,
143
+ isContent: true,
144
+ isActive: true,
145
+ },
146
+ /** 공통 동의 내용 */
147
+ {
148
+ id: 95100,
149
+ title: '푸시 알람 수신 동의',
150
+ description: '푸시 알람을 통해 광고성 메시지를 받겠다는 약관',
151
+ member_type: null,
152
+ dealer_type: null,
153
+ isEssential: false,
154
+ isContent: true,
155
+ isActive: true,
156
+ },
157
+ {
158
+ id: 95200,
159
+ title: '메시지 수신 동의',
160
+ description: '문자 메시지를 통해 광고성 메시지를 받겠다는 약관',
161
+ member_type: null,
162
+ dealer_type: null,
163
+ isEssential: false,
164
+ isContent: true,
165
+ isActive: true,
166
+ },
167
+ {
168
+ id: 95300,
169
+ title: '이메일 수신 동의',
170
+ description: '이메일을 통해 광고성 메시지를 받겠다는 약관',
171
+ member_type: null,
172
+ dealer_type: null,
173
+ isEssential: false,
174
+ isContent: true,
175
+ isActive: true,
176
+ },
177
+ ];
178
+ exports.TermCategoryId = exports.TermCategoryData.map((el) => {
179
+ return el.id;
180
+ });
package/dist/index.js ADDED
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./types"), exports);
18
+ __exportStar(require("./data"), exports);
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./modules"), exports);
18
+ __exportStar(require("./providers"), exports);
@@ -1,9 +1,9 @@
1
1
  /** DTO는 서버단에 요청을 보낼 때 사용하는 클래스 유형으로 서버단에서 이 곳에 정의된 대로 유효성 검사를 처리합니다. */
2
2
  import { BannerCategoryId } from "../../../data";
3
- export declare class BannerCategoryIdDTO {
3
+ export interface BannerCategoryIdDTO {
4
4
  categoryId: BannerCategoryId;
5
5
  }
6
- export declare class BannerCreateDTO {
6
+ export interface BannerCreateDTO {
7
7
  categoryId: BannerCategoryId;
8
8
  title?: string;
9
9
  /** 배너로 사용할 파일 아이디 */
@@ -15,7 +15,7 @@ export declare class BannerCreateDTO {
15
15
  /** 배너가 노출 종료되는 시기를 정의합니다 */
16
16
  ended_at?: Date;
17
17
  }
18
- export declare class BannerUpdateDTO {
18
+ export interface BannerUpdateDTO {
19
19
  bannerId: number;
20
20
  /** null일 경우 값을 제거합니다 */
21
21
  title?: string | null;
@@ -30,6 +30,6 @@ export declare class BannerUpdateDTO {
30
30
  /** 배너가 노출 종료되는 시기를 정의합니다 */
31
31
  ended_at?: Date | null;
32
32
  }
33
- export declare class BannerIdDTO {
33
+ export interface BannerIdDTO {
34
34
  bannerId: number;
35
35
  }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./dto"), exports);
18
+ __exportStar(require("./interface"), exports);
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -2,11 +2,11 @@
2
2
  import { Post_LikeHateState } from "./type";
3
3
  import { BoardKey } from "../../../data";
4
4
  /** 게시판 상세정보 가져오기 */
5
- export declare class GetBoardInfoDTO {
5
+ export interface GetBoardInfoDTO {
6
6
  boardKey: BoardKey;
7
7
  }
8
8
  /** 글 작성 */
9
- export declare class CreatePostDTO {
9
+ export interface CreatePostDTO {
10
10
  /** 글이 작성될 게시판 */
11
11
  boardKey: BoardKey;
12
12
  title: string;
@@ -26,7 +26,7 @@ export declare class CreatePostDTO {
26
26
  guest_password?: string;
27
27
  }
28
28
  /** 글 수정 */
29
- export declare class UpdatePostDTO {
29
+ export interface UpdatePostDTO {
30
30
  boardKey: BoardKey;
31
31
  postId: number;
32
32
  title?: string;
@@ -46,26 +46,26 @@ export declare class UpdatePostDTO {
46
46
  guest_password?: string;
47
47
  }
48
48
  /** 글 제거 */
49
- export declare class DeletePostDTO {
49
+ export interface DeletePostDTO {
50
50
  boardKey: BoardKey;
51
51
  postId: number;
52
52
  /** 비회원 작성 글일 경우 삭제시 해당 글 비밀번호를 입력하여야 합니다 */
53
53
  guest_password?: string;
54
54
  }
55
- export declare class GetPostDTO {
55
+ export interface GetPostDTO {
56
56
  boardKey: BoardKey;
57
57
  postId: number;
58
58
  /** 비회원 작성 글이며 비공개 글일 경우 해당 글의 비밀번호를 필요로 합니다 */
59
59
  guest_password?: string;
60
60
  }
61
61
  /** 글 신고하기 */
62
- export declare class ReportPostDTO {
62
+ export interface ReportPostDTO {
63
63
  boardKey: BoardKey;
64
64
  postId: number;
65
65
  content: string;
66
66
  }
67
67
  /** 글 좋아요,싫어요 업데이트 */
68
- export declare class LikeHatePostDTO {
68
+ export interface LikeHatePostDTO {
69
69
  boardKey: BoardKey;
70
70
  postId: number;
71
71
  state: Post_LikeHateState;
@@ -73,13 +73,13 @@ export declare class LikeHatePostDTO {
73
73
  /** 글 밴 먹이기
74
74
  * @notice 어드민만 가능합니다
75
75
  */
76
- export declare class UpdatePostBanStatusDTO {
76
+ export interface UpdatePostBanStatusDTO {
77
77
  boardKey: BoardKey;
78
78
  postId: number;
79
79
  isBanned: boolean;
80
80
  }
81
81
  /** 댓글 작성 */
82
- export declare class CreateCommentDTO {
82
+ export interface CreateCommentDTO {
83
83
  boardKey: BoardKey;
84
84
  postId: number;
85
85
  content: string;
@@ -89,7 +89,7 @@ export declare class CreateCommentDTO {
89
89
  guest_password?: string;
90
90
  }
91
91
  /** 대댓글 작성 */
92
- export declare class CreateCommentReplyDTO {
92
+ export interface CreateCommentReplyDTO {
93
93
  boardKey: BoardKey;
94
94
  commentId: number;
95
95
  content: string;
@@ -99,7 +99,7 @@ export declare class CreateCommentReplyDTO {
99
99
  guest_password?: string;
100
100
  }
101
101
  /** 댓글 수정 */
102
- export declare class UpdateCommentDTO {
102
+ export interface UpdateCommentDTO {
103
103
  boardKey: BoardKey;
104
104
  commentId: number;
105
105
  content: string;
@@ -108,7 +108,7 @@ export declare class UpdateCommentDTO {
108
108
  guest_password?: string;
109
109
  }
110
110
  /** 대댓글 수정 */
111
- export declare class UpdateCommentReplyDTO {
111
+ export interface UpdateCommentReplyDTO {
112
112
  boardKey: BoardKey;
113
113
  replyId: number;
114
114
  content: string;
@@ -117,51 +117,39 @@ export declare class UpdateCommentReplyDTO {
117
117
  guest_password?: string;
118
118
  }
119
119
  /** 댓글 삭제 */
120
- export declare class DeleteCommentDTO {
120
+ export interface DeleteCommentDTO {
121
121
  boardKey: BoardKey;
122
122
  commentId: number;
123
123
  /** 비회원 작성 댓글일 경우 삭제시 해당 글 비밀번호를 입력하여야 합니다 */
124
124
  guest_password?: string;
125
125
  }
126
126
  /** 대댓글 삭제 */
127
- export declare class DeleteCommentReplyDTO {
127
+ export interface DeleteCommentReplyDTO {
128
128
  boardKey: BoardKey;
129
129
  replyId: number;
130
130
  /** 비회원 작성 대댓글일 경우 삭제시 해당 글 비밀번호를 입력하여야 합니다 */
131
131
  guest_password?: string;
132
132
  }
133
133
  /** 댓글 밴 먹이기 */
134
- export declare class UpdateCommentBanStatusDTO {
134
+ export interface UpdateCommentBanStatusDTO {
135
135
  boardKey: BoardKey;
136
136
  commentId: number;
137
137
  isBanned: boolean;
138
138
  }
139
139
  /** 대댓글 밴 먹이기 */
140
- export declare class UpdateCommentReplyBanStatusDTO {
140
+ export interface UpdateCommentReplyBanStatusDTO {
141
141
  boardKey: BoardKey;
142
142
  replyId: number;
143
143
  isBanned: boolean;
144
144
  }
145
145
  /** 댓글, 대댓글 신고하기 */
146
- export declare class ReportCommentAndCommentReplyDTO {
146
+ export interface ReportCommentAndCommentReplyDTO {
147
147
  boardKey: BoardKey;
148
148
  commentId?: number;
149
149
  replyId?: number;
150
150
  content: string;
151
151
  }
152
- /**
153
- * @description 글 리스트 검색
154
- * @description Offset Paging 방식의 검색
155
- */
156
- export declare class GetPostListDTO {
157
- boardKey: BoardKey;
158
- skip?: number;
159
- take: number;
160
- categoryId?: number;
161
- option: SecrchPostOptionDTO | null;
162
- search: SecrchPostDTO | null;
163
- }
164
- export declare class SecrchPostOptionDTO {
152
+ export interface SecrchPostOptionDTO {
165
153
  /**
166
154
  * isPublic이 false인 비공개 글도 검색해 리스트에 넣는지 여부
167
155
  */
@@ -171,18 +159,30 @@ export declare class SecrchPostOptionDTO {
171
159
  */
172
160
  showBanned?: boolean;
173
161
  }
174
- export declare class SecrchPostDTO {
162
+ export interface SecrchPostDTO {
175
163
  nickname?: string;
176
164
  title?: string;
177
165
  content?: string;
178
166
  }
167
+ /**
168
+ * @description 글 리스트 검색
169
+ * @description Offset Paging 방식의 검색
170
+ */
171
+ export interface GetPostListDTO {
172
+ boardKey: BoardKey;
173
+ skip?: number;
174
+ take: number;
175
+ categoryId?: number;
176
+ option: SecrchPostOptionDTO | null;
177
+ search: SecrchPostDTO | null;
178
+ }
179
179
  /** 글 조회수 증가 */
180
- export declare class AddBoardClickCount {
180
+ export interface AddBoardClickCount {
181
181
  boardKey: BoardKey;
182
182
  postId: number;
183
183
  }
184
184
  /** 고정 글 설정 */
185
- export declare class SetImportantPostDTO {
185
+ export interface SetImportantPostDTO {
186
186
  boardKey: BoardKey;
187
187
  postId: number;
188
188
  isImportant: boolean;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ /** DTO는 서버단에 요청을 보낼 때 사용하는 클래스 유형으로 서버단에서 이 곳에 정의된 대로 유효성 검사를 처리합니다. */
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./dto"), exports);
18
+ __exportStar(require("./interface"), exports);
19
+ __exportStar(require("./type"), exports);
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Post_LikeHateState = void 0;
4
+ exports.Post_LikeHateState = {
5
+ like: "like",
6
+ hate: "hate",
7
+ normal: "normal",
8
+ };
@@ -1,6 +1,6 @@
1
1
  /** DTO는 서버단에 요청을 보낼 때 사용하는 클래스 유형으로 서버단에서 이 곳에 정의된 대로 유효성 검사를 처리합니다. */
2
2
  import { CarMakerId, PopularCarCategoryId } from "../../../data";
3
- export declare class GetCarModelDTO {
3
+ export interface GetCarModelDTO {
4
4
  carMakerId: CarMakerId;
5
5
  /**
6
6
  * 가격 정보가 없는 모델도 같이 검색하는 옵션
@@ -9,25 +9,25 @@ export declare class GetCarModelDTO {
9
9
  */
10
10
  withoutPriceModel?: boolean;
11
11
  }
12
- export declare class GetCarTrimDTO {
12
+ export interface GetCarTrimDTO {
13
13
  carModelId: number;
14
14
  }
15
- export declare class GetCarGradeDTO {
15
+ export interface GetCarGradeDTO {
16
16
  carTrimId: number;
17
17
  }
18
- export declare class GetCarColorDTO {
18
+ export interface GetCarColorDTO {
19
19
  carGradeId: number;
20
20
  }
21
- export declare class GetCarOptionDTO {
21
+ export interface GetCarOptionDTO {
22
22
  carGradeId: number;
23
23
  }
24
24
  /** 차량 좋아요 정보 업데이트 */
25
- export declare class UpdateInterestCarDTO {
25
+ export interface UpdateInterestCarDTO {
26
26
  carModelId: number;
27
27
  isInterest: boolean;
28
28
  }
29
29
  /** 인기차량 설정 */
30
- export declare class SetCarPopularDTO {
30
+ export interface SetCarPopularDTO {
31
31
  name: string;
32
32
  description: string;
33
33
  carModelId: number;
@@ -38,24 +38,24 @@ export declare class SetCarPopularDTO {
38
38
  orderWeight?: number;
39
39
  }
40
40
  /** 인기차량 제거 */
41
- export declare class DeleteCarPopularDTO {
41
+ export interface DeleteCarPopularDTO {
42
42
  id: number;
43
43
  }
44
- export declare class SearchCarDTO {
44
+ export interface SearchCarDTO {
45
45
  skip?: number;
46
46
  take: number;
47
47
  keyword: string;
48
48
  }
49
- export declare class CreateCarSearchKeywordDTO {
49
+ export interface CreateCarSearchKeywordDTO {
50
50
  keyword: string;
51
51
  }
52
- export declare class DeleteCarSearchKeywordDTO {
52
+ export interface DeleteCarSearchKeywordDTO {
53
53
  id: number;
54
54
  }
55
- export declare class GetCarDTO {
55
+ export interface GetCarDTO {
56
56
  carId: string;
57
57
  }
58
- export declare class CarDataDTO {
58
+ export interface CarDataDTO {
59
59
  id: string;
60
60
  isPublic: boolean;
61
61
  isForeign: boolean | null;
@@ -67,6 +67,6 @@ export declare class CarDataDTO {
67
67
  car_LINK_option: CarOptionDTO[] | null;
68
68
  isDefaultOption: boolean | null;
69
69
  }
70
- export declare class CarOptionDTO {
70
+ export interface CarOptionDTO {
71
71
  car_optionId: number;
72
72
  }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./dto"), exports);
18
+ __exportStar(require("./interface"), exports);
19
+ __exportStar(require("./type"), exports);
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CarMakerType = void 0;
4
+ /**
5
+ * @domestic 국산차
6
+ * @imported 수입차
7
+ * @etc 기타
8
+ */
9
+ exports.CarMakerType = {
10
+ domestic: "domestic",
11
+ imported: "imported",
12
+ etc: "etc",
13
+ };
@@ -2,7 +2,7 @@
2
2
  import { CollaboratorId } from "../../../data";
3
3
  import { OrderIdDTO } from "../order";
4
4
  /** 협력사 관리자 - 주문 상세정보 확인 */
5
- export declare class GetCollaboratorOrderDetailDTO extends OrderIdDTO {
5
+ export interface GetCollaboratorOrderDetailDTO extends OrderIdDTO {
6
6
  /**
7
7
  * @description 해당 소속사 카매니저가 입찰한 주문 리스트 검색
8
8
  */
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ /** DTO는 서버단에 요청을 보낼 때 사용하는 클래스 유형으로 서버단에서 이 곳에 정의된 대로 유효성 검사를 처리합니다. */
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./dto"), exports);
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./interface"), exports);
18
+ __exportStar(require("./type"), exports);