@daeryun/dr_components 1.2.18 → 1.2.20

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 (241) hide show
  1. package/dist/cjs/tsconfig-cjs.tsbuildinfo +1 -1
  2. package/dist/components/Daeryuntalk/ChatButton.jsx +1 -1
  3. package/dist/components/Daeryuntalk/ChatButton.tsx +1 -1
  4. package/dist/components/Daeryuntalk/ChatWidget.d.ts +1 -0
  5. package/dist/components/Daeryuntalk/ChatWidget.jsx +114 -31
  6. package/dist/components/Daeryuntalk/ChatWidget.tsx +120 -37
  7. package/dist/components/Daeryuntalk/Viewer/TbPcViewer.tsx +0 -9
  8. package/dist/components/Daeryuntalk/index.jsx +17 -1
  9. package/dist/components/Daeryuntalk/index.tsx +26 -2
  10. package/dist/components/DaeryuntalkBackup/ChatButton.d.ts +11 -0
  11. package/dist/components/DaeryuntalkBackup/ChatButton.jsx +123 -0
  12. package/dist/components/DaeryuntalkBackup/ChatButton.tsx +157 -0
  13. package/dist/components/DaeryuntalkBackup/ChatConversation.d.ts +21 -0
  14. package/dist/components/DaeryuntalkBackup/ChatConversation.jsx +259 -0
  15. package/dist/components/DaeryuntalkBackup/ChatConversation.tsx +390 -0
  16. package/dist/components/DaeryuntalkBackup/ChatConversationItem/ChatConversationHeader.d.ts +16 -0
  17. package/dist/components/DaeryuntalkBackup/ChatConversationItem/ChatConversationHeader.jsx +50 -0
  18. package/dist/components/DaeryuntalkBackup/ChatConversationItem/ChatConversationHeader.tsx +108 -0
  19. package/dist/components/DaeryuntalkBackup/ChatHomeView.d.ts +14 -0
  20. package/dist/components/DaeryuntalkBackup/ChatHomeView.jsx +147 -0
  21. package/dist/components/DaeryuntalkBackup/ChatHomeView.tsx +262 -0
  22. package/dist/components/DaeryuntalkBackup/ChatInput.d.ts +8 -0
  23. package/dist/components/DaeryuntalkBackup/ChatInput.jsx +64 -0
  24. package/dist/components/DaeryuntalkBackup/ChatInput.tsx +98 -0
  25. package/dist/components/DaeryuntalkBackup/ChatItem/AgeCheckBox.d.ts +6 -0
  26. package/dist/components/DaeryuntalkBackup/ChatItem/AgeCheckBox.jsx +19 -0
  27. package/dist/components/DaeryuntalkBackup/ChatItem/AgeCheckBox.tsx +27 -0
  28. package/dist/components/DaeryuntalkBackup/ChatItem/ChatFile.d.ts +10 -0
  29. package/dist/components/DaeryuntalkBackup/ChatItem/ChatFile.jsx +165 -0
  30. package/dist/components/DaeryuntalkBackup/ChatItem/ChatFile.tsx +244 -0
  31. package/dist/components/DaeryuntalkBackup/ChatItem/ChatLoading.d.ts +6 -0
  32. package/dist/components/DaeryuntalkBackup/ChatItem/ChatLoading.jsx +12 -0
  33. package/dist/components/DaeryuntalkBackup/ChatItem/ChatLoading.tsx +25 -0
  34. package/dist/components/DaeryuntalkBackup/ChatItem/ChatPrivacyAuth.d.ts +8 -0
  35. package/dist/components/DaeryuntalkBackup/ChatItem/ChatPrivacyAuth.jsx +100 -0
  36. package/dist/components/DaeryuntalkBackup/ChatItem/ChatPrivacyAuth.tsx +135 -0
  37. package/dist/components/DaeryuntalkBackup/ChatItem/ChatWrapper.d.ts +8 -0
  38. package/dist/components/DaeryuntalkBackup/ChatItem/ChatWrapper.jsx +14 -0
  39. package/dist/components/DaeryuntalkBackup/ChatItem/ChatWrapper.tsx +26 -0
  40. package/dist/components/DaeryuntalkBackup/ChatItem/RichText.d.ts +7 -0
  41. package/dist/components/DaeryuntalkBackup/ChatItem/RichText.jsx +37 -0
  42. package/dist/components/DaeryuntalkBackup/ChatItem/RichText.tsx +45 -0
  43. package/dist/components/DaeryuntalkBackup/ChatItem/TimeWrapper.d.ts +9 -0
  44. package/dist/components/DaeryuntalkBackup/ChatItem/TimeWrapper.jsx +10 -0
  45. package/dist/components/DaeryuntalkBackup/ChatItem/TimeWrapper.tsx +21 -0
  46. package/dist/components/DaeryuntalkBackup/ChatItem/TypingComp.d.ts +3 -0
  47. package/dist/components/DaeryuntalkBackup/ChatItem/TypingComp.jsx +34 -0
  48. package/dist/components/DaeryuntalkBackup/ChatItem/TypingComp.tsx +43 -0
  49. package/dist/components/DaeryuntalkBackup/ChatItem/WorkFlowAuthForm.d.ts +8 -0
  50. package/dist/components/DaeryuntalkBackup/ChatItem/WorkFlowAuthForm.jsx +20 -0
  51. package/dist/components/DaeryuntalkBackup/ChatItem/WorkFlowAuthForm.tsx +32 -0
  52. package/dist/components/DaeryuntalkBackup/ChatItem/WorkFlowClickData.d.ts +7 -0
  53. package/dist/components/DaeryuntalkBackup/ChatItem/WorkFlowClickData.jsx +21 -0
  54. package/dist/components/DaeryuntalkBackup/ChatItem/WorkFlowClickData.tsx +37 -0
  55. package/dist/components/DaeryuntalkBackup/ChatItem/WorkFlowImg.d.ts +9 -0
  56. package/dist/components/DaeryuntalkBackup/ChatItem/WorkFlowImg.jsx +178 -0
  57. package/dist/components/DaeryuntalkBackup/ChatItem/WorkFlowImg.tsx +233 -0
  58. package/dist/components/DaeryuntalkBackup/ChatMessage.d.ts +20 -0
  59. package/dist/components/DaeryuntalkBackup/ChatMessage.jsx +198 -0
  60. package/dist/components/DaeryuntalkBackup/ChatMessage.tsx +295 -0
  61. package/dist/components/DaeryuntalkBackup/ChatObject/FieldWorkObject.d.ts +9 -0
  62. package/dist/components/DaeryuntalkBackup/ChatObject/FieldWorkObject.jsx +39 -0
  63. package/dist/components/DaeryuntalkBackup/ChatObject/FieldWorkObject.tsx +75 -0
  64. package/dist/components/DaeryuntalkBackup/ChatObject/ObjectBack.d.ts +7 -0
  65. package/dist/components/DaeryuntalkBackup/ChatObject/ObjectBack.jsx +20 -0
  66. package/dist/components/DaeryuntalkBackup/ChatObject/ObjectBack.tsx +39 -0
  67. package/dist/components/DaeryuntalkBackup/ChatObject/ObjectButton.d.ts +10 -0
  68. package/dist/components/DaeryuntalkBackup/ChatObject/ObjectButton.jsx +138 -0
  69. package/dist/components/DaeryuntalkBackup/ChatObject/ObjectButton.tsx +177 -0
  70. package/dist/components/DaeryuntalkBackup/ChatWidget.d.ts +13 -0
  71. package/dist/components/DaeryuntalkBackup/ChatWidget.jsx +154 -0
  72. package/dist/components/DaeryuntalkBackup/ChatWidget.tsx +221 -0
  73. package/dist/components/DaeryuntalkBackup/DaeryuntalkContext.d.ts +103 -0
  74. package/dist/components/DaeryuntalkBackup/DaeryuntalkContext.jsx +207 -0
  75. package/dist/components/DaeryuntalkBackup/DaeryuntalkContext.tsx +350 -0
  76. package/dist/components/DaeryuntalkBackup/DateSeparator.d.ts +6 -0
  77. package/dist/components/DaeryuntalkBackup/DateSeparator.jsx +14 -0
  78. package/dist/components/DaeryuntalkBackup/DateSeparator.tsx +24 -0
  79. package/dist/components/DaeryuntalkBackup/FixedErrorBox.d.ts +7 -0
  80. package/dist/components/DaeryuntalkBackup/FixedErrorBox.jsx +34 -0
  81. package/dist/components/DaeryuntalkBackup/FixedErrorBox.tsx +73 -0
  82. package/dist/components/DaeryuntalkBackup/History/AuthForm.d.ts +10 -0
  83. package/dist/components/DaeryuntalkBackup/History/AuthForm.jsx +157 -0
  84. package/dist/components/DaeryuntalkBackup/History/AuthForm.tsx +206 -0
  85. package/dist/components/DaeryuntalkBackup/HistoryView.d.ts +19 -0
  86. package/dist/components/DaeryuntalkBackup/HistoryView.jsx +94 -0
  87. package/dist/components/DaeryuntalkBackup/HistoryView.tsx +182 -0
  88. package/dist/components/DaeryuntalkBackup/HomeView.d.ts +12 -0
  89. package/dist/components/DaeryuntalkBackup/HomeView.jsx +178 -0
  90. package/dist/components/DaeryuntalkBackup/HomeView.tsx +261 -0
  91. package/dist/components/DaeryuntalkBackup/NavigationFooter.d.ts +11 -0
  92. package/dist/components/DaeryuntalkBackup/NavigationFooter.jsx +44 -0
  93. package/dist/components/DaeryuntalkBackup/NavigationFooter.tsx +98 -0
  94. package/dist/components/DaeryuntalkBackup/NoticeMessage.d.ts +7 -0
  95. package/dist/components/DaeryuntalkBackup/NoticeMessage.jsx +40 -0
  96. package/dist/components/DaeryuntalkBackup/NoticeMessage.tsx +60 -0
  97. package/dist/components/DaeryuntalkBackup/Tiptap/DisabledInput.d.ts +6 -0
  98. package/dist/components/DaeryuntalkBackup/Tiptap/DisabledInput.jsx +17 -0
  99. package/dist/components/DaeryuntalkBackup/Tiptap/DisabledInput.tsx +28 -0
  100. package/dist/components/DaeryuntalkBackup/Tiptap/Tiptap.d.ts +20 -0
  101. package/dist/components/DaeryuntalkBackup/Tiptap/Tiptap.jsx +130 -0
  102. package/dist/components/DaeryuntalkBackup/Tiptap/Tiptap.tsx +181 -0
  103. package/dist/components/DaeryuntalkBackup/Toast/DaeryuntalkToastProvider.d.ts +23 -0
  104. package/dist/components/DaeryuntalkBackup/Toast/DaeryuntalkToastProvider.jsx +40 -0
  105. package/dist/components/DaeryuntalkBackup/Toast/DaeryuntalkToastProvider.tsx +70 -0
  106. package/dist/components/DaeryuntalkBackup/Toast/Toast.d.ts +11 -0
  107. package/dist/components/DaeryuntalkBackup/Toast/Toast.jsx +64 -0
  108. package/dist/components/DaeryuntalkBackup/Toast/Toast.tsx +98 -0
  109. package/dist/components/DaeryuntalkBackup/Toast/ToastRender.d.ts +1 -0
  110. package/dist/components/DaeryuntalkBackup/Toast/ToastRender.jsx +22 -0
  111. package/dist/components/DaeryuntalkBackup/Toast/ToastRender.tsx +30 -0
  112. package/dist/components/DaeryuntalkBackup/Viewer/ImageViewer.d.ts +9 -0
  113. package/dist/components/DaeryuntalkBackup/Viewer/ImageViewer.jsx +98 -0
  114. package/dist/components/DaeryuntalkBackup/Viewer/ImageViewer.tsx +138 -0
  115. package/dist/components/DaeryuntalkBackup/Viewer/MobileViewer.d.ts +18 -0
  116. package/dist/components/DaeryuntalkBackup/Viewer/MobileViewer.jsx +104 -0
  117. package/dist/components/DaeryuntalkBackup/Viewer/MobileViewer.tsx +182 -0
  118. package/dist/components/DaeryuntalkBackup/Viewer/TbPcViewer.d.ts +24 -0
  119. package/dist/components/DaeryuntalkBackup/Viewer/TbPcViewer.jsx +141 -0
  120. package/dist/components/DaeryuntalkBackup/Viewer/TbPcViewer.tsx +278 -0
  121. package/dist/components/DaeryuntalkBackup/ViewportHandler.d.ts +6 -0
  122. package/dist/components/DaeryuntalkBackup/ViewportHandler.jsx +25 -0
  123. package/dist/components/DaeryuntalkBackup/ViewportHandler.tsx +32 -0
  124. package/dist/components/DaeryuntalkBackup/_api/daeryuntalk/index.d.ts +177 -0
  125. package/dist/components/DaeryuntalkBackup/_api/daeryuntalk/index.js +801 -0
  126. package/dist/components/DaeryuntalkBackup/_api/daeryuntalk/index.ts +1097 -0
  127. package/dist/components/DaeryuntalkBackup/_api/daeryuntalk/type/response.d.ts +131 -0
  128. package/dist/components/DaeryuntalkBackup/_api/daeryuntalk/type/response.js +1 -0
  129. package/dist/components/DaeryuntalkBackup/_api/daeryuntalk/type/response.ts +159 -0
  130. package/dist/components/DaeryuntalkBackup/_api/index.d.ts +6 -0
  131. package/dist/components/DaeryuntalkBackup/_api/index.js +6 -0
  132. package/dist/components/DaeryuntalkBackup/_api/index.ts +7 -0
  133. package/dist/components/DaeryuntalkBackup/_enums/ags_check_status.d.ts +5 -0
  134. package/dist/components/DaeryuntalkBackup/_enums/ags_check_status.js +9 -0
  135. package/dist/components/DaeryuntalkBackup/_enums/ags_check_status.ts +9 -0
  136. package/dist/components/DaeryuntalkBackup/_enums/ask-status.d.ts +13 -0
  137. package/dist/components/DaeryuntalkBackup/_enums/ask-status.js +25 -0
  138. package/dist/components/DaeryuntalkBackup/_enums/ask-status.ts +26 -0
  139. package/dist/components/DaeryuntalkBackup/_enums/error.d.ts +109 -0
  140. package/dist/components/DaeryuntalkBackup/_enums/error.js +254 -0
  141. package/dist/components/DaeryuntalkBackup/_enums/error.ts +289 -0
  142. package/dist/components/DaeryuntalkBackup/_enums/message_type.d.ts +6 -0
  143. package/dist/components/DaeryuntalkBackup/_enums/message_type.js +13 -0
  144. package/dist/components/DaeryuntalkBackup/_enums/message_type.ts +13 -0
  145. package/dist/components/DaeryuntalkBackup/_enums/sender_type.d.ts +8 -0
  146. package/dist/components/DaeryuntalkBackup/_enums/sender_type.js +16 -0
  147. package/dist/components/DaeryuntalkBackup/_enums/sender_type.ts +16 -0
  148. package/dist/components/DaeryuntalkBackup/_enums/socket_type.d.ts +34 -0
  149. package/dist/components/DaeryuntalkBackup/_enums/socket_type.js +46 -0
  150. package/dist/components/DaeryuntalkBackup/_enums/socket_type.ts +56 -0
  151. package/dist/components/DaeryuntalkBackup/_enums/template.d.ts +32 -0
  152. package/dist/components/DaeryuntalkBackup/_enums/template.js +76 -0
  153. package/dist/components/DaeryuntalkBackup/_enums/template.ts +81 -0
  154. package/dist/components/DaeryuntalkBackup/_enums/work_flow_object_expose.d.ts +33 -0
  155. package/dist/components/DaeryuntalkBackup/_enums/work_flow_object_expose.js +66 -0
  156. package/dist/components/DaeryuntalkBackup/_enums/work_flow_object_expose.ts +71 -0
  157. package/dist/components/DaeryuntalkBackup/_hooks/talkprovider/useChatHandler.d.ts +48 -0
  158. package/dist/components/DaeryuntalkBackup/_hooks/talkprovider/useChatHandler.js +465 -0
  159. package/dist/components/DaeryuntalkBackup/_hooks/talkprovider/useChatHandler.ts +595 -0
  160. package/dist/components/DaeryuntalkBackup/_hooks/talkprovider/useFullURL.d.ts +1 -0
  161. package/dist/components/DaeryuntalkBackup/_hooks/talkprovider/useFullURL.jsx +15 -0
  162. package/dist/components/DaeryuntalkBackup/_hooks/talkprovider/useFullURL.tsx +17 -0
  163. package/dist/components/DaeryuntalkBackup/_hooks/talkprovider/useHistoryHandler.d.ts +24 -0
  164. package/dist/components/DaeryuntalkBackup/_hooks/talkprovider/useHistoryHandler.js +112 -0
  165. package/dist/components/DaeryuntalkBackup/_hooks/talkprovider/useHistoryHandler.ts +144 -0
  166. package/dist/components/DaeryuntalkBackup/_hooks/talkprovider/useSocketEventHandler.d.ts +44 -0
  167. package/dist/components/DaeryuntalkBackup/_hooks/talkprovider/useSocketEventHandler.js +534 -0
  168. package/dist/components/DaeryuntalkBackup/_hooks/talkprovider/useSocketEventHandler.ts +706 -0
  169. package/dist/components/DaeryuntalkBackup/_hooks/talkprovider/useViewerHook.d.ts +8 -0
  170. package/dist/components/DaeryuntalkBackup/_hooks/talkprovider/useViewerHook.js +18 -0
  171. package/dist/components/DaeryuntalkBackup/_hooks/talkprovider/useViewerHook.ts +23 -0
  172. package/dist/components/DaeryuntalkBackup/_hooks/talkprovider/useWorkFlow.d.ts +9 -0
  173. package/dist/components/DaeryuntalkBackup/_hooks/talkprovider/useWorkFlow.js +109 -0
  174. package/dist/components/DaeryuntalkBackup/_hooks/talkprovider/useWorkFlow.ts +121 -0
  175. package/dist/components/DaeryuntalkBackup/_hooks/useHoverScrollbar.d.ts +12 -0
  176. package/dist/components/DaeryuntalkBackup/_hooks/useHoverScrollbar.js +48 -0
  177. package/dist/components/DaeryuntalkBackup/_hooks/useHoverScrollbar.ts +73 -0
  178. package/dist/components/DaeryuntalkBackup/_hooks/useScrollShadow.d.ts +7 -0
  179. package/dist/components/DaeryuntalkBackup/_hooks/useScrollShadow.js +42 -0
  180. package/dist/components/DaeryuntalkBackup/_hooks/useScrollShadow.ts +52 -0
  181. package/dist/components/DaeryuntalkBackup/_hooks/useWindowSize.d.ts +6 -0
  182. package/dist/components/DaeryuntalkBackup/_hooks/useWindowSize.js +20 -0
  183. package/dist/components/DaeryuntalkBackup/_hooks/useWindowSize.ts +30 -0
  184. package/dist/components/DaeryuntalkBackup/_hooks/view/useChatSocketState.d.ts +2 -0
  185. package/dist/components/DaeryuntalkBackup/_hooks/view/useChatSocketState.js +26 -0
  186. package/dist/components/DaeryuntalkBackup/_hooks/view/useChatSocketState.ts +43 -0
  187. package/dist/components/DaeryuntalkBackup/_hooks/view/useHistoryView.d.ts +27 -0
  188. package/dist/components/DaeryuntalkBackup/_hooks/view/useHistoryView.js +80 -0
  189. package/dist/components/DaeryuntalkBackup/_hooks/view/useHistoryView.ts +101 -0
  190. package/dist/components/DaeryuntalkBackup/_hooks/view/useHomeView.d.ts +18 -0
  191. package/dist/components/DaeryuntalkBackup/_hooks/view/useHomeView.js +66 -0
  192. package/dist/components/DaeryuntalkBackup/_hooks/view/useHomeView.ts +75 -0
  193. package/dist/components/DaeryuntalkBackup/_lib/index.d.ts +7 -0
  194. package/dist/components/DaeryuntalkBackup/_lib/index.js +103 -0
  195. package/dist/components/DaeryuntalkBackup/_lib/index.ts +136 -0
  196. package/dist/components/DaeryuntalkBackup/_lib/utils.d.ts +17 -0
  197. package/dist/components/DaeryuntalkBackup/_lib/utils.js +94 -0
  198. package/dist/components/DaeryuntalkBackup/_lib/utils.ts +119 -0
  199. package/dist/components/DaeryuntalkBackup/_types/message.d.ts +92 -0
  200. package/dist/components/DaeryuntalkBackup/_types/message.js +25 -0
  201. package/dist/components/DaeryuntalkBackup/_types/message.ts +156 -0
  202. package/dist/components/DaeryuntalkBackup/_types/message_object.d.ts +17 -0
  203. package/dist/components/DaeryuntalkBackup/_types/message_object.js +1 -0
  204. package/dist/components/DaeryuntalkBackup/_types/message_object.ts +18 -0
  205. package/dist/components/DaeryuntalkBackup/_types/socket/workflow.d.ts +15 -0
  206. package/dist/components/DaeryuntalkBackup/_types/socket/workflow.js +1 -0
  207. package/dist/components/DaeryuntalkBackup/_types/socket/workflow.ts +15 -0
  208. package/dist/components/DaeryuntalkBackup/_ui/ShadowBox.d.ts +6 -0
  209. package/dist/components/DaeryuntalkBackup/_ui/ShadowBox.jsx +5 -0
  210. package/dist/components/DaeryuntalkBackup/_ui/ShadowBox.tsx +15 -0
  211. package/dist/components/DaeryuntalkBackup/_ui/buttons/Button1.d.ts +10 -0
  212. package/dist/components/DaeryuntalkBackup/_ui/buttons/Button1.jsx +12 -0
  213. package/dist/components/DaeryuntalkBackup/_ui/buttons/Button1.tsx +29 -0
  214. package/dist/components/DaeryuntalkBackup/_ui/buttons/Button2.d.ts +10 -0
  215. package/dist/components/DaeryuntalkBackup/_ui/buttons/Button2.jsx +12 -0
  216. package/dist/components/DaeryuntalkBackup/_ui/buttons/Button2.tsx +29 -0
  217. package/dist/components/DaeryuntalkBackup/_ui/buttons/Button3.d.ts +10 -0
  218. package/dist/components/DaeryuntalkBackup/_ui/buttons/Button3.jsx +12 -0
  219. package/dist/components/DaeryuntalkBackup/_ui/buttons/Button3.tsx +29 -0
  220. package/dist/components/DaeryuntalkBackup/_ui/buttons/Button4.d.ts +10 -0
  221. package/dist/components/DaeryuntalkBackup/_ui/buttons/Button4.jsx +12 -0
  222. package/dist/components/DaeryuntalkBackup/_ui/buttons/Button4.tsx +29 -0
  223. package/dist/components/DaeryuntalkBackup/_ui/checkboxs/CheckBox1.d.ts +8 -0
  224. package/dist/components/DaeryuntalkBackup/_ui/checkboxs/CheckBox1.jsx +15 -0
  225. package/dist/components/DaeryuntalkBackup/_ui/checkboxs/CheckBox1.tsx +38 -0
  226. package/dist/components/DaeryuntalkBackup/_ui/checkboxs/CheckBox2.d.ts +8 -0
  227. package/dist/components/DaeryuntalkBackup/_ui/checkboxs/CheckBox2.jsx +21 -0
  228. package/dist/components/DaeryuntalkBackup/_ui/checkboxs/CheckBox2.tsx +50 -0
  229. package/dist/components/DaeryuntalkBackup/_ui/inputs/Input1.d.ts +12 -0
  230. package/dist/components/DaeryuntalkBackup/_ui/inputs/Input1.jsx +9 -0
  231. package/dist/components/DaeryuntalkBackup/_ui/inputs/Input1.tsx +39 -0
  232. package/dist/components/DaeryuntalkBackup/_ui/inputs/Input2.d.ts +13 -0
  233. package/dist/components/DaeryuntalkBackup/_ui/inputs/Input2.jsx +10 -0
  234. package/dist/components/DaeryuntalkBackup/_ui/inputs/Input2.tsx +43 -0
  235. package/dist/components/DaeryuntalkBackup/index.d.ts +8 -0
  236. package/dist/components/DaeryuntalkBackup/index.jsx +190 -0
  237. package/dist/components/DaeryuntalkBackup/index.tsx +261 -0
  238. package/dist/components/common/integrate/index.d.ts +1 -1
  239. package/dist/styles/globals.css +415 -414
  240. package/dist/tsconfig.tsbuildinfo +1 -1
  241. package/package.json +5 -1
@@ -0,0 +1,131 @@
1
+ import { AgeCheckStatusEnums } from "../../../_enums/ags_check_status";
2
+ export interface IDaeryunTalkResponseWrapper<T = unknown> {
3
+ result_info: {
4
+ result_cd: string;
5
+ result_type_cd: string;
6
+ result_msg: string;
7
+ };
8
+ data: T;
9
+ }
10
+ export interface IAuthConnectionDataResponse {
11
+ token: string;
12
+ connection_id: string;
13
+ channel_number: string;
14
+ }
15
+ export interface WebSocketInitDataResponse {
16
+ connection_url: string;
17
+ connection_token: string;
18
+ }
19
+ export interface IChatInquiryMainDataResponse {
20
+ answer_speed_message: string;
21
+ channel_explanation: string;
22
+ channel_logo_image_url: string;
23
+ channel_name: string;
24
+ channel_number: string;
25
+ progress_inquiry_number: string;
26
+ salutation: string;
27
+ sleeve_image_url: string;
28
+ }
29
+ export interface ChatInquiryCreateDataResponse {
30
+ chat_inquiry_number: string;
31
+ }
32
+ export interface MessageBlock {
33
+ type: string;
34
+ value: string;
35
+ icon_url?: string;
36
+ }
37
+ export interface WorkFlowInfo {
38
+ work_flow_number: string;
39
+ option_exposure_yn: boolean;
40
+ image_url: string;
41
+ }
42
+ export interface FormInputType {
43
+ type: string;
44
+ label: string;
45
+ value: string;
46
+ read_only: boolean;
47
+ binding_key: string;
48
+ }
49
+ export interface FormType {
50
+ type: string;
51
+ inputs: FormInputType[];
52
+ submitted_at: string | null;
53
+ }
54
+ export interface richText {
55
+ version: number;
56
+ html_content: string;
57
+ structured_data: any | null;
58
+ }
59
+ export interface FileItem {
60
+ file_number: string;
61
+ file_key: string;
62
+ name: string;
63
+ type: 'image' | 'file';
64
+ content_type: string;
65
+ size: number;
66
+ sequence: number;
67
+ thumbnail_url: string;
68
+ original_url: string;
69
+ }
70
+ export interface ChatMessage {
71
+ message_number: string;
72
+ message_type: string;
73
+ message_status: string;
74
+ sender_type: string;
75
+ user_key: string;
76
+ inquiry_number: string;
77
+ template_type: string;
78
+ created_at: string;
79
+ updated_at: string;
80
+ language: string;
81
+ plain_text: string;
82
+ rich_text: richText;
83
+ blocks: MessageBlock[];
84
+ work_flow: WorkFlowInfo;
85
+ timestamp: number;
86
+ form: FormType;
87
+ files?: FileItem[];
88
+ }
89
+ export interface ObjectList {
90
+ object_number: string;
91
+ object_name: string;
92
+ icon_image_url: string;
93
+ sequence: number;
94
+ action_code: string;
95
+ object_ui_code: string;
96
+ link_url: string;
97
+ }
98
+ export interface ObjectExposeInfo {
99
+ expose_object_list_yn: boolean;
100
+ message_number?: string;
101
+ work_flow_number?: string;
102
+ object_list?: ObjectList[];
103
+ work_flow_progress_stack?: string[];
104
+ object_group_ui_code?: string;
105
+ }
106
+ export interface ChatInquiryDetailDataResponse {
107
+ age_consent_state_code: AgeCheckStatusEnums;
108
+ chat_inquiry_state_code?: string;
109
+ object_expose_info: ObjectExposeInfo;
110
+ work_flow_progress_stack: string[];
111
+ }
112
+ export interface SendMessageResponse {
113
+ message: ChatMessage;
114
+ }
115
+ export interface ChatInquiryMessageListDataResponse {
116
+ message_list: ChatMessage[];
117
+ next_page_yn: boolean;
118
+ }
119
+ export interface History {
120
+ chat_inquiry_number: string;
121
+ customer_name: string;
122
+ recent_message_content: string;
123
+ recent_message_date_time: string;
124
+ unread_message_count: number;
125
+ }
126
+ export interface HistoryListResponse {
127
+ chat_inquiry_list: History[];
128
+ }
129
+ export interface RequestConfirmNumberResponse {
130
+ temp_number: string;
131
+ }
@@ -0,0 +1,159 @@
1
+ import { AgeCheckStatusEnums } from "../../../_enums/ags_check_status";
2
+
3
+
4
+
5
+ export interface IDaeryunTalkResponseWrapper<T = unknown> {
6
+ result_info: {
7
+ result_cd: string;
8
+ result_type_cd: string;
9
+ result_msg: string;
10
+ };
11
+ data: T;
12
+ }
13
+
14
+ export interface IAuthConnectionDataResponse {
15
+ token: string;
16
+ connection_id: string;
17
+ channel_number: string;
18
+ }
19
+
20
+ export interface WebSocketInitDataResponse {
21
+ connection_url: string;
22
+ connection_token: string;
23
+ }
24
+
25
+ export interface IChatInquiryMainDataResponse {
26
+ answer_speed_message: string;
27
+ channel_explanation: string;
28
+ channel_logo_image_url: string;
29
+ channel_name: string;
30
+ channel_number: string;
31
+ progress_inquiry_number: string;
32
+ salutation: string;
33
+ sleeve_image_url: string;
34
+ }
35
+
36
+ export interface ChatInquiryCreateDataResponse {
37
+ chat_inquiry_number: string;
38
+ }
39
+
40
+ // 메시지 블록 타입 정의
41
+ export interface MessageBlock {
42
+ type: string;
43
+ value: string;
44
+ icon_url?: string;
45
+ }
46
+
47
+ export interface WorkFlowInfo {
48
+ work_flow_number: string; // 워크플로우 번호
49
+ option_exposure_yn: boolean; // 옵션 노출 여부
50
+ image_url: string;
51
+ }
52
+
53
+ export interface FormInputType {
54
+ type: string;
55
+ label: string;
56
+ value: string;
57
+ read_only: boolean;
58
+ binding_key: string;
59
+ }
60
+
61
+ export interface FormType {
62
+ type: string;
63
+ inputs: FormInputType[];
64
+ submitted_at: string | null;
65
+ }
66
+
67
+ export interface richText {
68
+ version: number;
69
+ html_content: string;
70
+ structured_data: any | null;
71
+ }
72
+
73
+ export interface FileItem {
74
+ file_number: string;
75
+ file_key: string;
76
+ name: string;
77
+ type: 'image' | 'file'; // 확장 가능
78
+ content_type: string;
79
+ size: number;
80
+ sequence: number;
81
+ thumbnail_url: string;
82
+ original_url: string;
83
+ }
84
+
85
+ // 채팅 메시지 타입 정의
86
+ export interface ChatMessage {
87
+ message_number: string; // 메시지 고유 번호
88
+ message_type: string; // 메시지 타입 코드 (예: MSP00200003, enum InquiryMessageType 사용 가능)
89
+ message_status: string; // 메시지 상태 (예: 'CREATED')
90
+ sender_type: string; // 발신자 타입 (예: MSP00100001, enum MessageType 사용 가능)
91
+ user_key: string; // 사용자 키 (비어있을 수 있음)
92
+ inquiry_number: string; // 문의 고유 번호
93
+ template_type: string; // 템플릿 타입 코드 (예: MSP00300201, enum WorkflowMessageTemplateType 등 사용 가능)
94
+ created_at: string; // 생성일시 (ISO 형식)
95
+ updated_at: string; // 수정일시 (ISO 형식)
96
+ language: string; // 언어 코드 (예: 'ko')
97
+ plain_text: string; // 메시지 내용 (줄바꿈 포함)
98
+ rich_text: richText;
99
+ blocks: MessageBlock[]; // 메시지 블록 배열
100
+ work_flow: WorkFlowInfo; // 워크플로우 정보
101
+ timestamp: number; //나노초까지 들어간 시간
102
+ form: FormType;
103
+ files?: FileItem[];
104
+ }
105
+
106
+ export interface ObjectList {
107
+ object_number: string;
108
+ object_name: string;
109
+ icon_image_url: string;
110
+ sequence: number;
111
+ action_code: string;
112
+ object_ui_code: string;
113
+ link_url: string;
114
+ }
115
+
116
+ // 오브젝트 정보
117
+ export interface ObjectExposeInfo {
118
+ expose_object_list_yn: boolean;
119
+ message_number?: string;
120
+ work_flow_number?: string;
121
+ object_list?: ObjectList[];
122
+ work_flow_progress_stack?: string[];
123
+ object_group_ui_code?: string;
124
+ }
125
+
126
+ // 채팅 문의 상세 데이터 타입 정의
127
+ export interface ChatInquiryDetailDataResponse {
128
+ age_consent_state_code: AgeCheckStatusEnums; // 연령 체크 여부 확인
129
+ chat_inquiry_state_code?: string; // 채팅 문의 상태 코드
130
+ object_expose_info: ObjectExposeInfo; // 오브젝트 노출 정보
131
+ work_flow_progress_stack: string[]; // 워크플로우 스택
132
+ }
133
+
134
+ export interface SendMessageResponse {
135
+ message: ChatMessage;
136
+ }
137
+
138
+ // 메세지 리스트
139
+ export interface ChatInquiryMessageListDataResponse {
140
+ message_list: ChatMessage[];
141
+ next_page_yn: boolean;
142
+ }
143
+
144
+ export interface History {
145
+ chat_inquiry_number: string; // 채팅문의번호
146
+ customer_name: string; // 고객명
147
+ recent_message_content: string; // 최근메시지내용
148
+ recent_message_date_time: string; // 최근메시지일시 (ISO 8601 등의 문자열 형식)
149
+ unread_message_count: number; // 안읽은메시지개수
150
+ }
151
+
152
+ //
153
+ export interface HistoryListResponse {
154
+ chat_inquiry_list: History[];
155
+ }
156
+
157
+ export interface RequestConfirmNumberResponse {
158
+ temp_number: string;
159
+ }
@@ -0,0 +1,6 @@
1
+ /**
2
+ * API 모듈 인덱스 2025-04-23
3
+ *
4
+ * Daeryuntalk API 모듈 내보내기
5
+ */
6
+ export * from './daeryuntalk';
@@ -0,0 +1,6 @@
1
+ /**
2
+ * API 모듈 인덱스 2025-04-23
3
+ *
4
+ * Daeryuntalk API 모듈 내보내기
5
+ */
6
+ export * from './daeryuntalk';
@@ -0,0 +1,7 @@
1
+ /**
2
+ * API 모듈 인덱스 2025-04-23
3
+ *
4
+ * Daeryuntalk API 모듈 내보내기
5
+ */
6
+
7
+ export * from './daeryuntalk';
@@ -0,0 +1,5 @@
1
+ export declare enum AgeCheckStatusEnums {
2
+ DISAGREED = "AGE00100001",
3
+ AGREED = "AGE00100002"
4
+ }
5
+ export declare const AgeCheckStatusLabel: Record<AgeCheckStatusEnums, string>;
@@ -0,0 +1,9 @@
1
+ export var AgeCheckStatusEnums;
2
+ (function (AgeCheckStatusEnums) {
3
+ AgeCheckStatusEnums["DISAGREED"] = "AGE00100001";
4
+ AgeCheckStatusEnums["AGREED"] = "AGE00100002";
5
+ })(AgeCheckStatusEnums || (AgeCheckStatusEnums = {}));
6
+ export const AgeCheckStatusLabel = {
7
+ [AgeCheckStatusEnums.DISAGREED]: '미동의',
8
+ [AgeCheckStatusEnums.AGREED]: '동의'
9
+ };
@@ -0,0 +1,9 @@
1
+ export enum AgeCheckStatusEnums {
2
+ DISAGREED = 'AGE00100001',
3
+ AGREED = 'AGE00100002'
4
+ }
5
+
6
+ export const AgeCheckStatusLabel: Record<AgeCheckStatusEnums, string> = {
7
+ [AgeCheckStatusEnums.DISAGREED]: '미동의',
8
+ [AgeCheckStatusEnums.AGREED]: '동의'
9
+ };
@@ -0,0 +1,13 @@
1
+ export declare enum InquiryStatusEnum {
2
+ OPEN = "CHI00800001",
3
+ PERSONAL_INFO = "CHI00800002",
4
+ CLOSED = "CHI00800003"
5
+ }
6
+ export declare const InquiryStatusTextMap: Record<InquiryStatusEnum, string>;
7
+ export declare enum InquiryInteriorStateCode {
8
+ CREATED = "CHI00900001",
9
+ IN_PROGRESS = "CHI00900002",
10
+ PENDING = "CHI00900003",
11
+ CLOSED = "CHI00900004"
12
+ }
13
+ export declare const InquiryInteriorStateCodeLabel: Record<InquiryInteriorStateCode, string>;
@@ -0,0 +1,25 @@
1
+ export var InquiryStatusEnum;
2
+ (function (InquiryStatusEnum) {
3
+ InquiryStatusEnum["OPEN"] = "CHI00800001";
4
+ InquiryStatusEnum["PERSONAL_INFO"] = "CHI00800002";
5
+ InquiryStatusEnum["CLOSED"] = "CHI00800003";
6
+ })(InquiryStatusEnum || (InquiryStatusEnum = {}));
7
+ export const InquiryStatusTextMap = {
8
+ [InquiryStatusEnum.OPEN]: '오픈문의중',
9
+ [InquiryStatusEnum.PERSONAL_INFO]: '개인정보제공문의중',
10
+ [InquiryStatusEnum.CLOSED]: '종료'
11
+ };
12
+ export var InquiryInteriorStateCode;
13
+ (function (InquiryInteriorStateCode) {
14
+ InquiryInteriorStateCode["CREATED"] = "CHI00900001";
15
+ InquiryInteriorStateCode["IN_PROGRESS"] = "CHI00900002";
16
+ InquiryInteriorStateCode["PENDING"] = "CHI00900003";
17
+ InquiryInteriorStateCode["CLOSED"] = "CHI00900004";
18
+ })(InquiryInteriorStateCode || (InquiryInteriorStateCode = {}));
19
+ // 문의 상태 코드 → 이름 매핑
20
+ export const InquiryInteriorStateCodeLabel = {
21
+ [InquiryInteriorStateCode.CREATED]: '생성',
22
+ [InquiryInteriorStateCode.IN_PROGRESS]: '진행중',
23
+ [InquiryInteriorStateCode.PENDING]: '보류중',
24
+ [InquiryInteriorStateCode.CLOSED]: '종료'
25
+ };
@@ -0,0 +1,26 @@
1
+ export enum InquiryStatusEnum {
2
+ OPEN = 'CHI00800001',
3
+ PERSONAL_INFO = 'CHI00800002',
4
+ CLOSED = 'CHI00800003'
5
+ }
6
+
7
+ export const InquiryStatusTextMap: Record<InquiryStatusEnum, string> = {
8
+ [InquiryStatusEnum.OPEN]: '오픈문의중',
9
+ [InquiryStatusEnum.PERSONAL_INFO]: '개인정보제공문의중',
10
+ [InquiryStatusEnum.CLOSED]: '종료'
11
+ };
12
+
13
+ export enum InquiryInteriorStateCode {
14
+ CREATED = 'CHI00900001',
15
+ IN_PROGRESS = 'CHI00900002',
16
+ PENDING = 'CHI00900003',
17
+ CLOSED = 'CHI00900004'
18
+ }
19
+
20
+ // 문의 상태 코드 → 이름 매핑
21
+ export const InquiryInteriorStateCodeLabel: Record<InquiryInteriorStateCode, string> = {
22
+ [InquiryInteriorStateCode.CREATED]: '생성',
23
+ [InquiryInteriorStateCode.IN_PROGRESS]: '진행중',
24
+ [InquiryInteriorStateCode.PENDING]: '보류중',
25
+ [InquiryInteriorStateCode.CLOSED]: '종료'
26
+ };
@@ -0,0 +1,109 @@
1
+ import { IDaeryunTalkResponseWrapper } from '../_api/daeryuntalk/type/response';
2
+ export declare const getErrorMessageMap: (serverData: IDaeryunTalkResponseWrapper<any>, cusmtomErrorMsg?: string) => string;
3
+ export declare enum ErrorEnum {
4
+ SYSTEM_ERROR = "E000100001",
5
+ SERVICE_CONNECTION_ERROR = "E000100002",
6
+ DB_CONNECTION_ERROR = "E000100003",
7
+ MONGODB_CONNECTION_ERROR = "E000100004",
8
+ REDIS_CONNECTION_ERROR = "E000100005",
9
+ INFO_FETCH_ERROR = "E000100006",
10
+ INFO_SAVE_ERROR = "E000100007",
11
+ INFO_UPDATE_ERROR = "E000100008",
12
+ INFO_DELETE_ERROR = "E000100009",
13
+ INFO_PROCESSING_ERROR_1 = "E000100010",
14
+ INFO_PROCESSING_ERROR_2 = "E000100011",
15
+ LOGIN_REQUIRED_1 = "E000200001",
16
+ LOGIN_REQUIRED_2 = "E000200002",
17
+ LOGIN_REQUIRED_3 = "E000200003",
18
+ SYNC_INFO_ERROR = "E000200004",
19
+ OPERATOR_SAVE_ERROR_1 = "E000300001",
20
+ OPERATOR_FETCH_ERROR = "E000300002",
21
+ OPERATOR_SAVE_ERROR_2 = "E000300003",
22
+ USER_CONFIRM_ERROR_1 = "E000300004",
23
+ USER_CONFIRM_ERROR_2 = "E000300005",
24
+ INVALID_PHONE_FORMAT = "E000300006",
25
+ TAG_FETCH_ERROR_1 = "E000400001",
26
+ TAG_LIMIT_EXCEEDED = "E000400002",
27
+ TAG_SAVE_ERROR = "E000400003",
28
+ TAG_DELETE_ERROR = "E000400004",
29
+ TAG_UPDATE_ERROR = "E000400005",
30
+ TAG_FETCH_ERROR_2 = "E000400006",
31
+ TAG_PROCESSING_ERROR = "E000400007",
32
+ TAG_DUPLICATED = "E000400008",
33
+ MANAGER_FETCH_ERROR = "E000500001",
34
+ MANAGER_ONLY_ACCESS = "E000500002",
35
+ MANAGER_ASSIGN_ERROR = "E000500003",
36
+ MANAGER_UNASSIGN_ERROR = "E000500004",
37
+ CHAT_FETCH_ERROR_1 = "E000600001",
38
+ CHAT_UPDATE_ERROR = "E000600002",
39
+ CHAT_DELETE_ERROR = "E000600003",
40
+ CHAT_HOLD_ERROR = "E000600004",
41
+ CHAT_NO_BUSINESS_CODE = "E000600005",
42
+ CHAT_STATUS_CHANGE_ERROR = "E000600006",
43
+ CHAT_SAVE_ERROR = "E000600007",
44
+ CHAT_PROCESS_ERROR_1 = "E000600008",
45
+ CHAT_HOLD_NOT_FOUND = "E000600009",
46
+ CHAT_TAG_NOT_REGISTERED = "E000600010",
47
+ CHAT_FETCH_ERROR_2 = "E000600011",
48
+ CHAT_MEMO_SAVE_ERROR = "E000600012",
49
+ CHAT_PROCESS_ERROR_2 = "E000600013",
50
+ CHAT_PROCESS_ERROR_3 = "E000600014",
51
+ CHAT_PROCESS_ERROR_4 = "E000600015",
52
+ CHAT_EXIT_ERROR = "E000600016",
53
+ CHAT_LIST_FETCH_ERROR = "E000600017",
54
+ CHAT_LIST_NO_AUTH_1 = "E000600018",
55
+ CHAT_LIST_NO_AUTH_2 = "E000600019",
56
+ MESSAGE_SAVE_ERROR = "E000600020",
57
+ CHAT_NO_ACCESS_AUTH = "E000600021",
58
+ CHANNEL_FETCH_ERROR = "E000700001",
59
+ CHANNEL_SAVE_ERROR = "E000700002",
60
+ CHANNEL_CREATE_ERROR = "E000700003",
61
+ NOTIFY_FETCH_ERROR = "E000800001",
62
+ NOTIFY_DELETE_ERROR = "E000800002",
63
+ NOTIFY_SAVE_ERROR_1 = "E000800003",
64
+ NOTIFY_PRIVACY_REJECT = "E000800004",
65
+ NOTIFY_SAVE_ERROR_2 = "E000800005",
66
+ NOTIFY_SEND_ERROR = "E000800006",
67
+ FAVORITE_DELETE_ERROR = "E000900001",
68
+ FAVORITE_FETCH_ERROR_1 = "E000900002",
69
+ FAVORITE_SAVE_ERROR = "E000900003",
70
+ FAVORITE_FETCH_ERROR_2 = "E000900004",
71
+ FILE_DELETE_ERROR_1 = "E001000001",
72
+ FILE_FETCH_ERROR = "E001000002",
73
+ FILE_DELETE_ERROR_2 = "E001000003",
74
+ HISTORY_AUTH_DELETE_ERROR = "E001100001",
75
+ PARTICIPANT_DELETE_ERROR = "E001200001",
76
+ PARTICIPANT_SAVE_ERROR = "E001200002",
77
+ PARTICIPANT_PROCESS_ERROR = "E001200003",
78
+ PARTICIPANT_UPDATE_ERROR = "E001200004",
79
+ MESSAGE_SEND_ERROR = "E001300001",
80
+ MESSAGE_RECALL_ERROR = "E001300002",
81
+ MESSAGE_RECALL_INVALID = "E001300003",
82
+ MESSAGE_RECALL_NO_AUTH = "E001300004",
83
+ MESSAGE_RECALL_EXPIRED = "E001300005",
84
+ MESSAGE_RECALL_NOT_ALLOWED = "E001300006",
85
+ MESSAGE_INVALID_INPUT = "E001300007",
86
+ MESSAGE_SEND_NO_AUTH = "E001300008",
87
+ MACRO_FETCH_ERROR = "E001400001",
88
+ MACRO_SAVE_ERROR_1 = "E001400002",
89
+ MACRO_SAVE_ERROR_2 = "E001400003",
90
+ MACRO_PROCESS_ERROR = "E001400004",
91
+ MACRO_FAVORITE_SAVE_ERROR = "E001400005",
92
+ MACRO_FAVORITE_DELETE_ERROR = "E001400006",
93
+ MACRO_DUPLICATED_NAME = "E001400007",
94
+ CE_SYSTEM_ERROR = "CE000100001",
95
+ CE_REQUEST_INVALID_1 = "CE000200001",
96
+ CE_REQUEST_INVALID_2 = "CE000200002",
97
+ CE_REQUEST_INVALID_3 = "CE000200003",
98
+ CE_AUTH_FAILED_1 = "CE000300001",
99
+ CE_AUTH_FAILED_2 = "CE000300002",
100
+ CE_AUTH_FAILED_3 = "CE000300003",
101
+ CE_SYSTEM_ERROR_2 = "CE000300004",
102
+ CE_TOKEN_EXPIRED = "CE000300005",
103
+ CE_SYSTEM_ERROR_3 = "CE000300006",
104
+ CE_AUTH_CODE_INVALID = "CE000300007",
105
+ CE_AUTH_TIME_EXPIRED = "CE000300008",
106
+ CE_TRY_AGAIN = "CE000300009",
107
+ CE_AUTH_CODE_RESEND = "CE000300010"
108
+ }
109
+ export declare const errorMessageMap: Record<string, string>;