@carsayo/types 1.1.892079 → 1.1.892080

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 (247) hide show
  1. package/package.json +1 -1
  2. package/dist/data/bankcode.d.ts +0 -167
  3. package/dist/data/bankcode.js +0 -66
  4. package/dist/data/board.d.ts +0 -74
  5. package/dist/data/board.js +0 -56
  6. package/dist/data/car.d.ts +0 -822
  7. package/dist/data/car.js +0 -895
  8. package/dist/data/carOptionRelationCategory.d.ts +0 -20
  9. package/dist/data/carOptionRelationCategory.js +0 -28
  10. package/dist/data/carPopularCategory.d.ts +0 -20
  11. package/dist/data/carPopularCategory.js +0 -28
  12. package/dist/data/collaborator.d.ts +0 -9
  13. package/dist/data/collaborator.js +0 -18
  14. package/dist/data/index.d.ts +0 -11
  15. package/dist/data/index.js +0 -27
  16. package/dist/data/purchase.d.ts +0 -18
  17. package/dist/data/purchase.js +0 -25
  18. package/dist/data/region.d.ts +0 -1226
  19. package/dist/data/region.js +0 -267
  20. package/dist/data/role.d.ts +0 -121
  21. package/dist/data/role.js +0 -150
  22. package/dist/data/sell_car.d.ts +0 -57
  23. package/dist/data/sell_car.js +0 -71
  24. package/dist/data/system.d.ts +0 -19
  25. package/dist/data/system.js +0 -28
  26. package/dist/data/term.d.ts +0 -349
  27. package/dist/data/term.js +0 -395
  28. package/dist/index.d.ts +0 -2
  29. package/dist/index.js +0 -18
  30. package/dist/types/index.d.ts +0 -2
  31. package/dist/types/index.js +0 -18
  32. package/dist/types/modules/accidentReport/dto.d.ts +0 -73
  33. package/dist/types/modules/accidentReport/dto.js +0 -2
  34. package/dist/types/modules/accidentReport/index.d.ts +0 -3
  35. package/dist/types/modules/accidentReport/index.js +0 -19
  36. package/dist/types/modules/accidentReport/interface.d.ts +0 -309
  37. package/dist/types/modules/accidentReport/interface.js +0 -2
  38. package/dist/types/modules/accidentReport/type.d.ts +0 -36
  39. package/dist/types/modules/accidentReport/type.js +0 -35
  40. package/dist/types/modules/board/dto.d.ts +0 -189
  41. package/dist/types/modules/board/dto.js +0 -3
  42. package/dist/types/modules/board/index.d.ts +0 -3
  43. package/dist/types/modules/board/index.js +0 -19
  44. package/dist/types/modules/board/interface.d.ts +0 -233
  45. package/dist/types/modules/board/interface.js +0 -2
  46. package/dist/types/modules/board/type.d.ts +0 -30
  47. package/dist/types/modules/board/type.js +0 -8
  48. package/dist/types/modules/car/dto.d.ts +0 -404
  49. package/dist/types/modules/car/dto.js +0 -15
  50. package/dist/types/modules/car/index.d.ts +0 -3
  51. package/dist/types/modules/car/index.js +0 -19
  52. package/dist/types/modules/car/interface.d.ts +0 -594
  53. package/dist/types/modules/car/interface.js +0 -2
  54. package/dist/types/modules/car/type.d.ts +0 -11
  55. package/dist/types/modules/car/type.js +0 -13
  56. package/dist/types/modules/chat/constants.d.ts +0 -2
  57. package/dist/types/modules/chat/constants.js +0 -5
  58. package/dist/types/modules/chat/dto.d.ts +0 -4
  59. package/dist/types/modules/chat/dto.js +0 -2
  60. package/dist/types/modules/chat/index.d.ts +0 -6
  61. package/dist/types/modules/chat/index.js +0 -22
  62. package/dist/types/modules/chat/type.d.ts +0 -117
  63. package/dist/types/modules/chat/type.js +0 -17
  64. package/dist/types/modules/chat/type.opponent.additionalInfo.d.ts +0 -7
  65. package/dist/types/modules/chat/type.opponent.additionalInfo.js +0 -2
  66. package/dist/types/modules/chat/type.room.additionalInfo.d.ts +0 -52
  67. package/dist/types/modules/chat/type.room.additionalInfo.js +0 -2
  68. package/dist/types/modules/chat/type.socket.d.ts +0 -46
  69. package/dist/types/modules/chat/type.socket.js +0 -2
  70. package/dist/types/modules/collaborator/dto.d.ts +0 -10
  71. package/dist/types/modules/collaborator/dto.js +0 -3
  72. package/dist/types/modules/collaborator/index.d.ts +0 -1
  73. package/dist/types/modules/collaborator/index.js +0 -17
  74. package/dist/types/modules/common/enum.d.ts +0 -65
  75. package/dist/types/modules/common/enum.js +0 -69
  76. package/dist/types/modules/common/index.d.ts +0 -3
  77. package/dist/types/modules/common/index.js +0 -19
  78. package/dist/types/modules/common/interface.d.ts +0 -40
  79. package/dist/types/modules/common/interface.js +0 -2
  80. package/dist/types/modules/common/type.d.ts +0 -14
  81. package/dist/types/modules/common/type.js +0 -13
  82. package/dist/types/modules/data/dto.d.ts +0 -4
  83. package/dist/types/modules/data/dto.js +0 -7
  84. package/dist/types/modules/data/index.d.ts +0 -2
  85. package/dist/types/modules/data/index.js +0 -18
  86. package/dist/types/modules/data/interface.d.ts +0 -6
  87. package/dist/types/modules/data/interface.js +0 -2
  88. package/dist/types/modules/file/dto.d.ts +0 -18
  89. package/dist/types/modules/file/dto.js +0 -3
  90. package/dist/types/modules/file/index.d.ts +0 -3
  91. package/dist/types/modules/file/index.js +0 -19
  92. package/dist/types/modules/file/interface.d.ts +0 -26
  93. package/dist/types/modules/file/interface.js +0 -2
  94. package/dist/types/modules/file/type.d.ts +0 -13
  95. package/dist/types/modules/file/type.js +0 -15
  96. package/dist/types/modules/history/dto.d.ts +0 -13
  97. package/dist/types/modules/history/dto.js +0 -3
  98. package/dist/types/modules/history/index.d.ts +0 -2
  99. package/dist/types/modules/history/index.js +0 -18
  100. package/dist/types/modules/history/interface.d.ts +0 -12
  101. package/dist/types/modules/history/interface.js +0 -2
  102. package/dist/types/modules/index.d.ts +0 -20
  103. package/dist/types/modules/index.js +0 -36
  104. package/dist/types/modules/inquiry/dto.d.ts +0 -79
  105. package/dist/types/modules/inquiry/dto.js +0 -2
  106. package/dist/types/modules/inquiry/index.d.ts +0 -3
  107. package/dist/types/modules/inquiry/index.js +0 -19
  108. package/dist/types/modules/inquiry/interface.d.ts +0 -37
  109. package/dist/types/modules/inquiry/interface.js +0 -2
  110. package/dist/types/modules/inquiry/type.d.ts +0 -14
  111. package/dist/types/modules/inquiry/type.js +0 -15
  112. package/dist/types/modules/insurance/dto.d.ts +0 -88
  113. package/dist/types/modules/insurance/dto.js +0 -3
  114. package/dist/types/modules/insurance/index.d.ts +0 -2
  115. package/dist/types/modules/insurance/index.js +0 -18
  116. package/dist/types/modules/insurance/interface.d.ts +0 -58
  117. package/dist/types/modules/insurance/interface.js +0 -2
  118. package/dist/types/modules/member/dto.d.ts +0 -677
  119. package/dist/types/modules/member/dto.js +0 -3
  120. package/dist/types/modules/member/index.d.ts +0 -3
  121. package/dist/types/modules/member/index.js +0 -19
  122. package/dist/types/modules/member/interface.d.ts +0 -696
  123. package/dist/types/modules/member/interface.js +0 -2
  124. package/dist/types/modules/member/type.d.ts +0 -92
  125. package/dist/types/modules/member/type.js +0 -86
  126. package/dist/types/modules/message/dto.d.ts +0 -15
  127. package/dist/types/modules/message/dto.js +0 -2
  128. package/dist/types/modules/message/index.d.ts +0 -3
  129. package/dist/types/modules/message/index.js +0 -19
  130. package/dist/types/modules/message/interface.d.ts +0 -20
  131. package/dist/types/modules/message/interface.js +0 -2
  132. package/dist/types/modules/message/type.d.ts +0 -22
  133. package/dist/types/modules/message/type.js +0 -22
  134. package/dist/types/modules/notification/dto.d.ts +0 -13
  135. package/dist/types/modules/notification/dto.js +0 -3
  136. package/dist/types/modules/notification/index.d.ts +0 -3
  137. package/dist/types/modules/notification/index.js +0 -19
  138. package/dist/types/modules/notification/interface.d.ts +0 -19
  139. package/dist/types/modules/notification/interface.js +0 -2
  140. package/dist/types/modules/notification/type.d.ts +0 -5
  141. package/dist/types/modules/notification/type.js +0 -7
  142. package/dist/types/modules/order/dto.d.ts +0 -446
  143. package/dist/types/modules/order/dto.js +0 -16
  144. package/dist/types/modules/order/index.d.ts +0 -3
  145. package/dist/types/modules/order/index.js +0 -19
  146. package/dist/types/modules/order/interface.d.ts +0 -913
  147. package/dist/types/modules/order/interface.js +0 -2
  148. package/dist/types/modules/order/type.d.ts +0 -160
  149. package/dist/types/modules/order/type.js +0 -147
  150. package/dist/types/modules/partners/dto.d.ts +0 -37
  151. package/dist/types/modules/partners/dto.js +0 -11
  152. package/dist/types/modules/partners/index.d.ts +0 -3
  153. package/dist/types/modules/partners/index.js +0 -19
  154. package/dist/types/modules/partners/interface.d.ts +0 -40
  155. package/dist/types/modules/partners/interface.js +0 -2
  156. package/dist/types/modules/partners/type.d.ts +0 -12
  157. package/dist/types/modules/partners/type.js +0 -13
  158. package/dist/types/modules/purchase/dto.d.ts +0 -9
  159. package/dist/types/modules/purchase/dto.js +0 -3
  160. package/dist/types/modules/purchase/index.d.ts +0 -2
  161. package/dist/types/modules/purchase/index.js +0 -18
  162. package/dist/types/modules/purchase/interface.d.ts +0 -22
  163. package/dist/types/modules/purchase/interface.js +0 -2
  164. package/dist/types/modules/purchase/type.d.ts +0 -11
  165. package/dist/types/modules/purchase/type.js +0 -13
  166. package/dist/types/modules/repair/constant.d.ts +0 -28
  167. package/dist/types/modules/repair/constant.js +0 -139
  168. package/dist/types/modules/repair/constants.d.ts +0 -23
  169. package/dist/types/modules/repair/constants.js +0 -52
  170. package/dist/types/modules/repair/dto.d.ts +0 -96
  171. package/dist/types/modules/repair/dto.js +0 -2
  172. package/dist/types/modules/repair/index.d.ts +0 -4
  173. package/dist/types/modules/repair/index.js +0 -20
  174. package/dist/types/modules/repair/interface.d.ts +0 -659
  175. package/dist/types/modules/repair/interface.js +0 -2
  176. package/dist/types/modules/repair/type.d.ts +0 -64
  177. package/dist/types/modules/repair/type.js +0 -71
  178. package/dist/types/modules/sellMyCar/constant.d.ts +0 -54
  179. package/dist/types/modules/sellMyCar/constant.js +0 -117
  180. package/dist/types/modules/sellMyCar/dto-admin.d.ts +0 -258
  181. package/dist/types/modules/sellMyCar/dto-admin.js +0 -2
  182. package/dist/types/modules/sellMyCar/dto.d.ts +0 -186
  183. package/dist/types/modules/sellMyCar/dto.js +0 -15
  184. package/dist/types/modules/sellMyCar/index.d.ts +0 -9
  185. package/dist/types/modules/sellMyCar/index.js +0 -25
  186. package/dist/types/modules/sellMyCar/interface-admin.d.ts +0 -85
  187. package/dist/types/modules/sellMyCar/interface-admin.js +0 -23
  188. package/dist/types/modules/sellMyCar/interface-faq.d.ts +0 -52
  189. package/dist/types/modules/sellMyCar/interface-faq.js +0 -22
  190. package/dist/types/modules/sellMyCar/interface-member.d.ts +0 -252
  191. package/dist/types/modules/sellMyCar/interface-member.js +0 -16
  192. package/dist/types/modules/sellMyCar/interface-notice.d.ts +0 -28
  193. package/dist/types/modules/sellMyCar/interface-notice.js +0 -2
  194. package/dist/types/modules/sellMyCar/interface.d.ts +0 -1075
  195. package/dist/types/modules/sellMyCar/interface.js +0 -7
  196. package/dist/types/modules/sellMyCar/type.d.ts +0 -203
  197. package/dist/types/modules/sellMyCar/type.js +0 -199
  198. package/dist/types/modules/system/dto.d.ts +0 -13
  199. package/dist/types/modules/system/dto.js +0 -3
  200. package/dist/types/modules/system/index.d.ts +0 -2
  201. package/dist/types/modules/system/index.js +0 -18
  202. package/dist/types/modules/system/interface.d.ts +0 -18
  203. package/dist/types/modules/system/interface.js +0 -2
  204. package/dist/types/modules/term/dto.d.ts +0 -171
  205. package/dist/types/modules/term/dto.js +0 -3
  206. package/dist/types/modules/term/index.d.ts +0 -3
  207. package/dist/types/modules/term/index.js +0 -19
  208. package/dist/types/modules/term/interface.d.ts +0 -52
  209. package/dist/types/modules/term/interface.js +0 -2
  210. package/dist/types/modules/term/type.d.ts +0 -11
  211. package/dist/types/modules/term/type.js +0 -13
  212. package/dist/types/providers/coocon-usedcar/constant.d.ts +0 -46
  213. package/dist/types/providers/coocon-usedcar/constant.js +0 -673
  214. package/dist/types/providers/coocon-usedcar/constants.d.ts +0 -46
  215. package/dist/types/providers/coocon-usedcar/constants.js +0 -673
  216. package/dist/types/providers/coocon-usedcar/dto.d.ts +0 -23
  217. package/dist/types/providers/coocon-usedcar/dto.js +0 -3
  218. package/dist/types/providers/coocon-usedcar/index.d.ts +0 -3
  219. package/dist/types/providers/coocon-usedcar/index.js +0 -19
  220. package/dist/types/providers/coocon-usedcar/interface.d.ts +0 -305
  221. package/dist/types/providers/coocon-usedcar/interface.js +0 -2
  222. package/dist/types/providers/firebase-message/dto.d.ts +0 -56
  223. package/dist/types/providers/firebase-message/dto.js +0 -3
  224. package/dist/types/providers/firebase-message/index.d.ts +0 -2
  225. package/dist/types/providers/firebase-message/index.js +0 -18
  226. package/dist/types/providers/firebase-message/interface.d.ts +0 -4
  227. package/dist/types/providers/firebase-message/interface.js +0 -2
  228. package/dist/types/providers/gabia-sms/dto.d.ts +0 -31
  229. package/dist/types/providers/gabia-sms/dto.js +0 -3
  230. package/dist/types/providers/gabia-sms/index.d.ts +0 -1
  231. package/dist/types/providers/gabia-sms/index.js +0 -17
  232. package/dist/types/providers/index.d.ts +0 -5
  233. package/dist/types/providers/index.js +0 -21
  234. package/dist/types/providers/niceapi/dto.d.ts +0 -15
  235. package/dist/types/providers/niceapi/dto.js +0 -3
  236. package/dist/types/providers/niceapi/index.d.ts +0 -2
  237. package/dist/types/providers/niceapi/index.js +0 -18
  238. package/dist/types/providers/niceapi/interface.d.ts +0 -25
  239. package/dist/types/providers/niceapi/interface.js +0 -2
  240. package/dist/types/providers/nicepayment/dto.d.ts +0 -60
  241. package/dist/types/providers/nicepayment/dto.js +0 -9
  242. package/dist/types/providers/nicepayment/index.d.ts +0 -3
  243. package/dist/types/providers/nicepayment/index.js +0 -19
  244. package/dist/types/providers/nicepayment/interface.d.ts +0 -168
  245. package/dist/types/providers/nicepayment/interface.js +0 -2
  246. package/dist/types/providers/nicepayment/type.d.ts +0 -36
  247. package/dist/types/providers/nicepayment/type.js +0 -37
@@ -1,117 +0,0 @@
1
- import { MemberType } from "../member";
2
- import { ChatOpponentAdditionalInfo } from "./type.opponent.additionalInfo";
3
- import { ChatRoomAdditionalInfo } from "./type.room.additionalInfo";
4
- export type ChatOpponent = {
5
- id: string;
6
- name: string;
7
- name_real: string;
8
- type: MemberType;
9
- profileImage: string | null;
10
- phoneNumber: string;
11
- /** 입맛대로 저장하는 추가 정보 */
12
- additionalInfo?: ChatOpponentAdditionalInfo;
13
- /** 차단 여부 */
14
- isBlocked: boolean;
15
- /** 채팅 푸시 메시지 수신 설정 여부
16
- * @note isRecipientNotiEnabled에서 사용합니다.
17
- */
18
- isRecipientNotiEnabled: boolean;
19
- };
20
- export declare const ChatRoomType: {
21
- /** 사고수리 서비스 채팅 */
22
- readonly repair_service: "repair_service";
23
- /** 사고수리 공업사 직접문의 채팅 */
24
- readonly repair_direct: "repair_direct";
25
- /** [고객용] 내차팔기 관리자 1:1 문의 */
26
- readonly inquiry_sellcar_customer: "inquiry_sellcar_customer";
27
- /** [딜러용] 내차팔기 관리자 1:1 문의 */
28
- readonly inquiry_sellcar_dealer: "inquiry_sellcar_dealer";
29
- };
30
- export type ChatRoomType = keyof typeof ChatRoomType;
31
- export type ChatCreateRoomInfo = {
32
- roomId: string;
33
- carsayoId: string;
34
- partnerId: string;
35
- tags: string[];
36
- additionalInfo?: ChatRoomAdditionalInfo;
37
- type: ChatRoomType;
38
- };
39
- export type ChatRoom = {
40
- id: string;
41
- type: ChatRoomType;
42
- opponent: ChatOpponent;
43
- tag: string[];
44
- additionalInfo?: ChatRoomAdditionalInfo;
45
- /** 룸 생성자 member_id */
46
- creatorId: string;
47
- lastChat: {
48
- content: string;
49
- createdAt: Date;
50
- isRead: boolean;
51
- } | null;
52
- option: {
53
- isAlert: boolean;
54
- isExited: boolean;
55
- };
56
- /** Create OR Update 시간 */
57
- updatedAt: Date;
58
- };
59
- export type ChatMessage = {
60
- id: string;
61
- type: "txt" | "file";
62
- /** 첨부파일 */
63
- files: ChatFile[] | null;
64
- /** 메시지 내용 */
65
- content: string | null;
66
- createdAt: Date;
67
- /** 발송중 여부, 메시지 조회 성공 시 false처리 */
68
- isSending: boolean;
69
- isMyChat: boolean;
70
- isDeleted: boolean;
71
- };
72
- export type ChatBlockMember = {
73
- /** 차단한 사람 id */
74
- blockerId: string;
75
- /** 차단당한 사람 id */
76
- blockedId: string;
77
- blockedAt: Date;
78
- };
79
- /** 서버(MainService)에서 조회한 상대방 정보
80
- * @note 차단 여부 제외 (차단여부는 채팅서버에 있음)
81
- */
82
- export type ChatMemberInfo = Omit<ChatOpponent, "isBlocked">;
83
- export type ChatFile = {
84
- id: string;
85
- name: string;
86
- size: string;
87
- contentType: string;
88
- extension: string;
89
- url: string;
90
- };
91
- export interface SendChatMessageResponse {
92
- /** 상대방에게 푸시 알림 보낼지 여부
93
- * @note true일 경우 상대방에게 푸시 알림 보냄 (API 요청 발송)
94
- */
95
- shouldNotifyRecipient: boolean;
96
- }
97
- export declare const TargetApp: {
98
- readonly carsayo: "카사요";
99
- readonly partners: "파트너스";
100
- };
101
- export type TargetApp = keyof typeof TargetApp;
102
- export interface SendChatPushDTO {
103
- /** 푸시 수신 대상 멤버 id */
104
- memberId: string;
105
- /** 푸시 수신 대상 앱
106
- * @deprecated
107
- */
108
- targetApp?: TargetApp;
109
- /** 푸시 제목
110
- * @deprecated
111
- */
112
- title?: string;
113
- /** 푸시 내용 */
114
- content: string;
115
- /** 푸시 클릭 시 이동할 페이지 */
116
- redirectUrl?: string;
117
- }
@@ -1,17 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TargetApp = exports.ChatRoomType = void 0;
4
- exports.ChatRoomType = {
5
- /** 사고수리 서비스 채팅 */
6
- repair_service: "repair_service",
7
- /** 사고수리 공업사 직접문의 채팅 */
8
- repair_direct: "repair_direct",
9
- /** [고객용] 내차팔기 관리자 1:1 문의 */
10
- inquiry_sellcar_customer: "inquiry_sellcar_customer",
11
- /** [딜러용] 내차팔기 관리자 1:1 문의 */
12
- inquiry_sellcar_dealer: "inquiry_sellcar_dealer",
13
- };
14
- exports.TargetApp = {
15
- carsayo: "카사요",
16
- partners: "파트너스",
17
- };
@@ -1,7 +0,0 @@
1
- import { RepairShop } from "../accidentReport";
2
- import { MemberShort } from "../member";
3
- export type ChatOpponentAdditionalInfo = ChatOpponentAdditionalInfo_Repair;
4
- export type ChatOpponentAdditionalInfo_Repair = {
5
- repairShop: RepairShop | null;
6
- customer: MemberShort | null;
7
- };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,52 +0,0 @@
1
- import { RepairEstimate } from "../repair";
2
- import { SellCarComplexes, SellMyCarOrderMethod } from "../sellMyCar";
3
- export type ChatRoomAdditionalInfo = ChatRoomAdditionalInfo_Repair | ChatRoomAdditionalInfo_SellcarInquiry;
4
- export type ChatRoomAdditionalInfo_Repair = {
5
- /** 견적 요청 ID */
6
- repairId: string;
7
- /** 견적서 Id */
8
- repairBidId: string;
9
- /** 공업사 Id */
10
- repairShopId: string;
11
- /** 고객 Id */
12
- customerId: string;
13
- /** 예상 수리일 */
14
- estimatedPeriod: RepairEstimate["estimatedPeriod"];
15
- };
16
- export type ChatRoomAdditionalInfo_SellcarInquiry = {
17
- /** 견적 요청 ID */
18
- sell_car_order_id: string;
19
- /** 차량명 */
20
- carName: string;
21
- /** 브랜드명 */
22
- makerName: string;
23
- /** 모델명 */
24
- modelName: string;
25
- /** 연식 */
26
- year: number;
27
- /** 주행거리 */
28
- distance: number;
29
- /** 위치 */
30
- location: string;
31
- /** 견적 요청 방법 */
32
- method: SellMyCarOrderMethod;
33
- /** 대화 대상 유형 */
34
- inquiryTargetType: "customer" | "dealer";
35
- customer: {
36
- phone: string;
37
- name_real: string;
38
- };
39
- /** 딜러 채팅방에만 존재 */
40
- dealer: {
41
- phone: string;
42
- name_real: string;
43
- /** 내차팔기 - 소속 매매단지 */
44
- sell_car_complexes: SellCarComplexes | null;
45
- /** 내차팔기 - 소속상사명 */
46
- sell_car_complexes_name: string | null;
47
- /** 내차팔기 - 소속상사 전화번호 */
48
- sell_car_complexes_contact: string | null;
49
- /** 직함 */
50
- sell_car_job_title: string | null;
51
- } | null;
52
- };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,46 +0,0 @@
1
- import { ChatFile, ChatRoomType } from "./type";
2
- import { ChatRoomAdditionalInfo } from "./type.room.additionalInfo";
3
- export interface SocketChatRoomMeta {
4
- type: ChatRoomType;
5
- carsayoId?: string;
6
- partnerId?: string;
7
- tags: string[];
8
- }
9
- export interface SocketChatRoomItem extends SocketChatRoomMeta {
10
- roomId: string;
11
- createdAt: string;
12
- creatorId: string;
13
- additionalInfo?: ChatRoomAdditionalInfo;
14
- carsayo: {
15
- isNotiEnabled: boolean;
16
- lastReadAt: string;
17
- leaveAt?: string;
18
- };
19
- partner: {
20
- isNotiEnabled: boolean;
21
- lastReadAt: string;
22
- leaveAt?: string;
23
- };
24
- lastInfo: {
25
- lastMsgId?: string;
26
- lastMsgContent: {
27
- type?: string;
28
- msg?: string;
29
- };
30
- lastSenderId?: string;
31
- lastSentAt?: string;
32
- };
33
- }
34
- export interface SocketChatContent {
35
- type: "file" | "txt";
36
- msg: string;
37
- fileInfos?: ChatFile[];
38
- }
39
- export interface SocketChatMessageItem {
40
- messageId: string;
41
- content: SocketChatContent;
42
- sentAt: string;
43
- isDelete: boolean;
44
- roomId: string;
45
- senderId: string;
46
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,10 +0,0 @@
1
- /** DTO는 서버단에 요청을 보낼 때 사용하는 클래스 유형으로 서버단에서 이 곳에 정의된 대로 유효성 검사를 처리합니다. */
2
- import { CollaboratorId } from "../../../data";
3
- import { OrderIdDTO } from "../order";
4
- /** 협력사 관리자 - 주문 상세정보 확인 */
5
- export interface GetCollaboratorOrderDetailDTO extends OrderIdDTO {
6
- /**
7
- * @description 해당 소속사 카매니저가 입찰한 주문 리스트 검색
8
- */
9
- collaboratorId: CollaboratorId;
10
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- /** DTO는 서버단에 요청을 보낼 때 사용하는 클래스 유형으로 서버단에서 이 곳에 정의된 대로 유효성 검사를 처리합니다. */
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +0,0 @@
1
- export * from "./dto";
@@ -1,17 +0,0 @@
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);
@@ -1,65 +0,0 @@
1
- export declare enum HttpStatusCode {
2
- Continue = 100,
3
- SwitchingProtocols = 101,
4
- Processing = 102,
5
- EarlyHints = 103,
6
- Ok = 200,
7
- Created = 201,
8
- Accepted = 202,
9
- NonAuthoritativeInformation = 203,
10
- NoContent = 204,
11
- ResetContent = 205,
12
- PartialContent = 206,
13
- MultiStatus = 207,
14
- AlreadyReported = 208,
15
- ImUsed = 226,
16
- MultipleChoices = 300,
17
- MovedPermanently = 301,
18
- Found = 302,
19
- SeeOther = 303,
20
- NotModified = 304,
21
- UseProxy = 305,
22
- Unused = 306,
23
- TemporaryRedirect = 307,
24
- PermanentRedirect = 308,
25
- BadRequest = 400,
26
- Unauthorized = 401,
27
- PaymentRequired = 402,
28
- Forbidden = 403,
29
- NotFound = 404,
30
- MethodNotAllowed = 405,
31
- NotAcceptable = 406,
32
- ProxyAuthenticationRequired = 407,
33
- RequestTimeout = 408,
34
- Conflict = 409,
35
- Gone = 410,
36
- LengthRequired = 411,
37
- PreconditionFailed = 412,
38
- PayloadTooLarge = 413,
39
- UriTooLong = 414,
40
- UnsupportedMediaType = 415,
41
- RangeNotSatisfiable = 416,
42
- ExpectationFailed = 417,
43
- ImATeapot = 418,
44
- MisdirectedRequest = 421,
45
- UnprocessableEntity = 422,
46
- Locked = 423,
47
- FailedDependency = 424,
48
- TooEarly = 425,
49
- UpgradeRequired = 426,
50
- PreconditionRequired = 428,
51
- TooManyRequests = 429,
52
- RequestHeaderFieldsTooLarge = 431,
53
- UnavailableForLegalReasons = 451,
54
- InternalServerError = 500,
55
- NotImplemented = 501,
56
- BadGateway = 502,
57
- ServiceUnavailable = 503,
58
- GatewayTimeout = 504,
59
- HttpVersionNotSupported = 505,
60
- VariantAlsoNegotiates = 506,
61
- InsufficientStorage = 507,
62
- LoopDetected = 508,
63
- NotExtended = 510,
64
- NetworkAuthenticationRequired = 511
65
- }
@@ -1,69 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.HttpStatusCode = void 0;
4
- var HttpStatusCode;
5
- (function (HttpStatusCode) {
6
- HttpStatusCode[HttpStatusCode["Continue"] = 100] = "Continue";
7
- HttpStatusCode[HttpStatusCode["SwitchingProtocols"] = 101] = "SwitchingProtocols";
8
- HttpStatusCode[HttpStatusCode["Processing"] = 102] = "Processing";
9
- HttpStatusCode[HttpStatusCode["EarlyHints"] = 103] = "EarlyHints";
10
- HttpStatusCode[HttpStatusCode["Ok"] = 200] = "Ok";
11
- HttpStatusCode[HttpStatusCode["Created"] = 201] = "Created";
12
- HttpStatusCode[HttpStatusCode["Accepted"] = 202] = "Accepted";
13
- HttpStatusCode[HttpStatusCode["NonAuthoritativeInformation"] = 203] = "NonAuthoritativeInformation";
14
- HttpStatusCode[HttpStatusCode["NoContent"] = 204] = "NoContent";
15
- HttpStatusCode[HttpStatusCode["ResetContent"] = 205] = "ResetContent";
16
- HttpStatusCode[HttpStatusCode["PartialContent"] = 206] = "PartialContent";
17
- HttpStatusCode[HttpStatusCode["MultiStatus"] = 207] = "MultiStatus";
18
- HttpStatusCode[HttpStatusCode["AlreadyReported"] = 208] = "AlreadyReported";
19
- HttpStatusCode[HttpStatusCode["ImUsed"] = 226] = "ImUsed";
20
- HttpStatusCode[HttpStatusCode["MultipleChoices"] = 300] = "MultipleChoices";
21
- HttpStatusCode[HttpStatusCode["MovedPermanently"] = 301] = "MovedPermanently";
22
- HttpStatusCode[HttpStatusCode["Found"] = 302] = "Found";
23
- HttpStatusCode[HttpStatusCode["SeeOther"] = 303] = "SeeOther";
24
- HttpStatusCode[HttpStatusCode["NotModified"] = 304] = "NotModified";
25
- HttpStatusCode[HttpStatusCode["UseProxy"] = 305] = "UseProxy";
26
- HttpStatusCode[HttpStatusCode["Unused"] = 306] = "Unused";
27
- HttpStatusCode[HttpStatusCode["TemporaryRedirect"] = 307] = "TemporaryRedirect";
28
- HttpStatusCode[HttpStatusCode["PermanentRedirect"] = 308] = "PermanentRedirect";
29
- HttpStatusCode[HttpStatusCode["BadRequest"] = 400] = "BadRequest";
30
- HttpStatusCode[HttpStatusCode["Unauthorized"] = 401] = "Unauthorized";
31
- HttpStatusCode[HttpStatusCode["PaymentRequired"] = 402] = "PaymentRequired";
32
- HttpStatusCode[HttpStatusCode["Forbidden"] = 403] = "Forbidden";
33
- HttpStatusCode[HttpStatusCode["NotFound"] = 404] = "NotFound";
34
- HttpStatusCode[HttpStatusCode["MethodNotAllowed"] = 405] = "MethodNotAllowed";
35
- HttpStatusCode[HttpStatusCode["NotAcceptable"] = 406] = "NotAcceptable";
36
- HttpStatusCode[HttpStatusCode["ProxyAuthenticationRequired"] = 407] = "ProxyAuthenticationRequired";
37
- HttpStatusCode[HttpStatusCode["RequestTimeout"] = 408] = "RequestTimeout";
38
- HttpStatusCode[HttpStatusCode["Conflict"] = 409] = "Conflict";
39
- HttpStatusCode[HttpStatusCode["Gone"] = 410] = "Gone";
40
- HttpStatusCode[HttpStatusCode["LengthRequired"] = 411] = "LengthRequired";
41
- HttpStatusCode[HttpStatusCode["PreconditionFailed"] = 412] = "PreconditionFailed";
42
- HttpStatusCode[HttpStatusCode["PayloadTooLarge"] = 413] = "PayloadTooLarge";
43
- HttpStatusCode[HttpStatusCode["UriTooLong"] = 414] = "UriTooLong";
44
- HttpStatusCode[HttpStatusCode["UnsupportedMediaType"] = 415] = "UnsupportedMediaType";
45
- HttpStatusCode[HttpStatusCode["RangeNotSatisfiable"] = 416] = "RangeNotSatisfiable";
46
- HttpStatusCode[HttpStatusCode["ExpectationFailed"] = 417] = "ExpectationFailed";
47
- HttpStatusCode[HttpStatusCode["ImATeapot"] = 418] = "ImATeapot";
48
- HttpStatusCode[HttpStatusCode["MisdirectedRequest"] = 421] = "MisdirectedRequest";
49
- HttpStatusCode[HttpStatusCode["UnprocessableEntity"] = 422] = "UnprocessableEntity";
50
- HttpStatusCode[HttpStatusCode["Locked"] = 423] = "Locked";
51
- HttpStatusCode[HttpStatusCode["FailedDependency"] = 424] = "FailedDependency";
52
- HttpStatusCode[HttpStatusCode["TooEarly"] = 425] = "TooEarly";
53
- HttpStatusCode[HttpStatusCode["UpgradeRequired"] = 426] = "UpgradeRequired";
54
- HttpStatusCode[HttpStatusCode["PreconditionRequired"] = 428] = "PreconditionRequired";
55
- HttpStatusCode[HttpStatusCode["TooManyRequests"] = 429] = "TooManyRequests";
56
- HttpStatusCode[HttpStatusCode["RequestHeaderFieldsTooLarge"] = 431] = "RequestHeaderFieldsTooLarge";
57
- HttpStatusCode[HttpStatusCode["UnavailableForLegalReasons"] = 451] = "UnavailableForLegalReasons";
58
- HttpStatusCode[HttpStatusCode["InternalServerError"] = 500] = "InternalServerError";
59
- HttpStatusCode[HttpStatusCode["NotImplemented"] = 501] = "NotImplemented";
60
- HttpStatusCode[HttpStatusCode["BadGateway"] = 502] = "BadGateway";
61
- HttpStatusCode[HttpStatusCode["ServiceUnavailable"] = 503] = "ServiceUnavailable";
62
- HttpStatusCode[HttpStatusCode["GatewayTimeout"] = 504] = "GatewayTimeout";
63
- HttpStatusCode[HttpStatusCode["HttpVersionNotSupported"] = 505] = "HttpVersionNotSupported";
64
- HttpStatusCode[HttpStatusCode["VariantAlsoNegotiates"] = 506] = "VariantAlsoNegotiates";
65
- HttpStatusCode[HttpStatusCode["InsufficientStorage"] = 507] = "InsufficientStorage";
66
- HttpStatusCode[HttpStatusCode["LoopDetected"] = 508] = "LoopDetected";
67
- HttpStatusCode[HttpStatusCode["NotExtended"] = 510] = "NotExtended";
68
- HttpStatusCode[HttpStatusCode["NetworkAuthenticationRequired"] = 511] = "NetworkAuthenticationRequired";
69
- })(HttpStatusCode || (exports.HttpStatusCode = HttpStatusCode = {}));
@@ -1,3 +0,0 @@
1
- export * from "./interface";
2
- export * from "./type";
3
- export * from "./enum";
@@ -1,19 +0,0 @@
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);
19
- __exportStar(require("./enum"), exports);
@@ -1,40 +0,0 @@
1
- import { SidoId, SigunguId } from "../../../data";
2
- import { HttpStatusCode } from "./enum";
3
- /**
4
- * @description 시도 정보
5
- */
6
- export interface Sido {
7
- id: SidoId;
8
- name: string;
9
- name_short: string;
10
- }
11
- export interface Sigungu {
12
- id: SigunguId;
13
- sido: Sido;
14
- name: string | null;
15
- }
16
- /**
17
- * @description 지역 정보
18
- */
19
- export interface Region {
20
- sidoId: SidoId;
21
- sido: string;
22
- sigunguId: SigunguId;
23
- sigungu: string | null;
24
- }
25
- /** 카사요 앱에서 발생된 모든 에러 응답은 이 양식을 따릅니다. */
26
- export interface CarsayoErrorResponse {
27
- /** 에러 코드
28
- * @example E-EDFOKD1443
29
- */
30
- error: string;
31
- /** 에러 메시지 */
32
- message: string;
33
- statusCode: HttpStatusCode;
34
- /** 에러 발생 요청 경로
35
- * @example /order/commission/finish
36
- */
37
- path: string;
38
- /** 에러 발생 시간 */
39
- timestamp: Date;
40
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,14 +0,0 @@
1
- import { MemberType } from "../member";
2
- export type ContentTarget = null | MemberType;
3
- export declare const DeviceType: {
4
- readonly IOS: "IOS";
5
- readonly Android: "Android";
6
- readonly Web: "Web";
7
- readonly MobileWeb: "MobileWeb";
8
- };
9
- export type DeviceType = keyof typeof DeviceType;
10
- export declare const OrderMethod: {
11
- readonly desc: "desc";
12
- readonly asc: "asc";
13
- };
14
- export type OrderMethod = keyof typeof OrderMethod;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.OrderMethod = exports.DeviceType = void 0;
4
- exports.DeviceType = {
5
- IOS: "IOS",
6
- Android: "Android",
7
- Web: "Web",
8
- MobileWeb: "MobileWeb",
9
- };
10
- exports.OrderMethod = {
11
- desc: "desc",
12
- asc: "asc",
13
- };
@@ -1,4 +0,0 @@
1
- /** DTO는 서버단에 요청을 보낼 때 사용하는 클래스 유형으로 서버단에서 이 곳에 정의된 대로 유효성 검사를 처리합니다. */
2
- export declare class GetHolidayDTO {
3
- year: number;
4
- }
@@ -1,7 +0,0 @@
1
- "use strict";
2
- /** DTO는 서버단에 요청을 보낼 때 사용하는 클래스 유형으로 서버단에서 이 곳에 정의된 대로 유효성 검사를 처리합니다. */
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.GetHolidayDTO = void 0;
5
- class GetHolidayDTO {
6
- }
7
- exports.GetHolidayDTO = GetHolidayDTO;
@@ -1,2 +0,0 @@
1
- export * from "./dto";
2
- export * from "./interface";
@@ -1,18 +0,0 @@
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);
@@ -1,6 +0,0 @@
1
- export interface Holiday {
2
- year: number;
3
- month: number;
4
- locdate: string;
5
- dateName: string;
6
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,18 +0,0 @@
1
- /** DTO는 서버단에 요청을 보낼 때 사용하는 클래스 유형으로 서버단에서 이 곳에 정의된 대로 유효성 검사를 처리합니다. */
2
- export interface FileIdDTO {
3
- fileId: string;
4
- }
5
- export interface GetFileUploadUrlDTO {
6
- fileName: string;
7
- /** @example png */
8
- extension: string;
9
- /**
10
- * @public 공개파일
11
- * @private 비공개 파일, 소유자와 어드민만 확인 가능
12
- */
13
- isPublic: "true" | "false";
14
- /** 적절한 파일 유형을 영문으로 입력해 주세용
15
- * @notice "profileImage"일 경우에는 서버단에서 추가적인 이미지 처리를 합니다. 프로필 이미지 업로드에는 무조건 해 주세용
16
- */
17
- fileType: string | "profileImage";
18
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- /** DTO는 서버단에 요청을 보낼 때 사용하는 클래스 유형으로 서버단에서 이 곳에 정의된 대로 유효성 검사를 처리합니다. */
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +0,0 @@
1
- export * from "./dto";
2
- export * from "./interface";
3
- export * from "./type";
@@ -1,19 +0,0 @@
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);
@@ -1,26 +0,0 @@
1
- import { FileState } from "./type";
2
- export interface FileInfo {
3
- id: string;
4
- member_id: string | null;
5
- name: string;
6
- /** filesize (byte단위) */
7
- size: number | null;
8
- /** image/png */
9
- contentType: string;
10
- /** png */
11
- extension: string;
12
- url: string;
13
- type: string;
14
- state: FileState;
15
- isPublic: boolean;
16
- created_at: Date;
17
- deleted_at: Date | null;
18
- updated_at: Date;
19
- }
20
- export interface GetFileUploadUrlResponseDTO {
21
- /** AWS PUT request Presigned URL */
22
- presignedUrl: string;
23
- fileId: string;
24
- fileUrl: string;
25
- isPublic: boolean;
26
- }