sk-front-lib 0.17.44 → 0.17.46

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 (258) hide show
  1. package/api/model/api-config.d.ts +6 -0
  2. package/api/model/api-pageable-param.d.ts +11 -0
  3. package/api/model/api-pageable.d.ts +11 -0
  4. package/api/model/api-response.d.ts +8 -0
  5. package/api/model/index.d.ts +4 -0
  6. package/api/package.json +10 -0
  7. package/api/public_api.d.ts +3 -0
  8. package/api/sk-api.module.d.ts +12 -0
  9. package/api/sk-api.service.d.ts +34 -0
  10. package/api/sk-front-lib-api.d.ts +5 -0
  11. package/article/package.json +10 -0
  12. package/article/public_api.d.ts +6 -0
  13. package/article/sk-article-editor-server.component.d.ts +23 -0
  14. package/article/sk-article-editor.component.d.ts +27 -0
  15. package/article/sk-article-server.module.d.ts +10 -0
  16. package/article/sk-article.module.d.ts +9 -0
  17. package/article/sk-article.service.d.ts +96 -0
  18. package/article/sk-froala-editor.directive.d.ts +40 -0
  19. package/article/sk-front-lib-article.d.ts +5 -0
  20. package/crud/package.json +10 -0
  21. package/crud/public_api.d.ts +24 -0
  22. package/crud/sk-account.service.d.ts +16 -0
  23. package/crud/sk-affiliate.service.d.ts +38 -0
  24. package/crud/sk-auth-admin.guard.d.ts +13 -0
  25. package/crud/sk-auth.guard.d.ts +13 -0
  26. package/crud/sk-auth.service.d.ts +33 -0
  27. package/crud/sk-board.service.d.ts +21 -0
  28. package/crud/sk-brand.service.d.ts +19 -0
  29. package/crud/sk-cart.service.d.ts +72 -0
  30. package/crud/sk-category.service.d.ts +28 -0
  31. package/crud/sk-comment.service.d.ts +15 -0
  32. package/crud/sk-config.service.d.ts +13 -0
  33. package/crud/sk-contact.service.d.ts +15 -0
  34. package/crud/sk-coupon.service.d.ts +24 -0
  35. package/crud/sk-document.service.d.ts +51 -0
  36. package/crud/sk-etc.service.d.ts +12 -0
  37. package/crud/sk-file.service.d.ts +18 -0
  38. package/crud/sk-front-lib-crud.d.ts +5 -0
  39. package/crud/sk-keyword.service.d.ts +19 -0
  40. package/crud/sk-order.service.d.ts +45 -0
  41. package/crud/sk-point.service.d.ts +17 -0
  42. package/crud/sk-product.service.d.ts +84 -0
  43. package/crud/sk-promotion.service.d.ts +41 -0
  44. package/crud/sk-search.service.d.ts +12 -0
  45. package/crud/sk-store.service.d.ts +17 -0
  46. package/crud/sk-user.service.d.ts +25 -0
  47. package/esm2020/api/model/api-config.mjs +2 -0
  48. package/esm2020/api/model/api-pageable-param.mjs +29 -0
  49. package/esm2020/api/model/api-pageable.mjs +3 -0
  50. package/esm2020/api/model/api-response.mjs +3 -0
  51. package/esm2020/api/model/index.mjs +4 -0
  52. package/esm2020/api/public_api.mjs +4 -0
  53. package/esm2020/api/sk-api.module.mjs +35 -0
  54. package/esm2020/api/sk-api.service.mjs +145 -0
  55. package/esm2020/api/sk-front-lib-api.mjs +5 -0
  56. package/esm2020/article/public_api.mjs +7 -0
  57. package/esm2020/article/sk-article-editor-server.component.mjs +51 -0
  58. package/esm2020/article/sk-article-editor.component.mjs +93 -0
  59. package/esm2020/article/sk-article-server.module.mjs +33 -0
  60. package/esm2020/article/sk-article.module.mjs +32 -0
  61. package/esm2020/article/sk-article.service.mjs +248 -0
  62. package/esm2020/article/sk-froala-editor.directive.mjs +325 -0
  63. package/esm2020/article/sk-front-lib-article.mjs +5 -0
  64. package/esm2020/crud/public_api.mjs +25 -0
  65. package/esm2020/crud/sk-account.service.mjs +36 -0
  66. package/esm2020/crud/sk-affiliate.service.mjs +94 -0
  67. package/esm2020/crud/sk-auth-admin.guard.mjs +31 -0
  68. package/esm2020/crud/sk-auth.guard.mjs +31 -0
  69. package/esm2020/crud/sk-auth.service.mjs +67 -0
  70. package/esm2020/crud/sk-board.service.mjs +54 -0
  71. package/esm2020/crud/sk-brand.service.mjs +46 -0
  72. package/esm2020/crud/sk-cart.service.mjs +256 -0
  73. package/esm2020/crud/sk-category.service.mjs +63 -0
  74. package/esm2020/crud/sk-comment.service.mjs +43 -0
  75. package/esm2020/crud/sk-config.service.mjs +31 -0
  76. package/esm2020/crud/sk-contact.service.mjs +39 -0
  77. package/esm2020/crud/sk-coupon.service.mjs +62 -0
  78. package/esm2020/crud/sk-document.service.mjs +110 -0
  79. package/esm2020/crud/sk-etc.service.mjs +25 -0
  80. package/esm2020/crud/sk-file.service.mjs +37 -0
  81. package/esm2020/crud/sk-front-lib-crud.mjs +5 -0
  82. package/esm2020/crud/sk-keyword.service.mjs +46 -0
  83. package/esm2020/crud/sk-order.service.mjs +133 -0
  84. package/esm2020/crud/sk-point.service.mjs +45 -0
  85. package/esm2020/crud/sk-product.service.mjs +168 -0
  86. package/esm2020/crud/sk-promotion.service.mjs +84 -0
  87. package/esm2020/crud/sk-search.service.mjs +25 -0
  88. package/esm2020/crud/sk-store.service.mjs +47 -0
  89. package/esm2020/crud/sk-user.service.mjs +73 -0
  90. package/esm2020/google-analytics/google-analytics-router.module.mjs +30 -0
  91. package/esm2020/google-analytics/google-analytics.module.mjs +40 -0
  92. package/esm2020/google-analytics/initializers/google-analytics-router.initializer.mjs +24 -0
  93. package/esm2020/google-analytics/initializers/google-analytics.initializer.mjs +46 -0
  94. package/esm2020/google-analytics/interfaces/google-analytics-command.mjs +2 -0
  95. package/esm2020/google-analytics/interfaces/google-analytics-settings.mjs +2 -0
  96. package/esm2020/google-analytics/public_api.mjs +11 -0
  97. package/esm2020/google-analytics/services/google-analytics.service.mjs +223 -0
  98. package/esm2020/google-analytics/sk-front-lib-google-analytics.mjs +5 -0
  99. package/esm2020/google-analytics/tokens/google-analytics-settings-token.mjs +5 -0
  100. package/esm2020/google-analytics/types/ga-action.type.mjs +2 -0
  101. package/esm2020/google-analytics/types/ga-bind.type.mjs +2 -0
  102. package/esm2020/image/public_api.mjs +3 -0
  103. package/esm2020/image/sk-front-lib-image.mjs +5 -0
  104. package/esm2020/image/sk-image.component.mjs +262 -0
  105. package/esm2020/image/sk-image.module.mjs +43 -0
  106. package/{esm2022 → esm2020}/lib/sk-byte.pipe.mjs +4 -4
  107. package/{esm2022 → esm2020}/lib/sk-date-time.pipe.mjs +4 -4
  108. package/{esm2022 → esm2020}/lib/sk-date.pipe.mjs +4 -4
  109. package/esm2020/lib/sk-front-lib.module.mjs +41 -0
  110. package/{esm2022 → esm2020}/lib/sk-keys.pipe.mjs +4 -4
  111. package/{esm2022 → esm2020}/lib/sk-time.pipe.mjs +4 -4
  112. package/esm2020/model/lib/article.mjs +11 -0
  113. package/esm2020/model/lib/audit.mjs +12 -0
  114. package/esm2020/model/lib/auth.mjs +2 -0
  115. package/esm2020/model/lib/board.mjs +21 -0
  116. package/esm2020/model/lib/cart.mjs +29 -0
  117. package/esm2020/model/lib/comment.mjs +25 -0
  118. package/esm2020/model/lib/contact.mjs +28 -0
  119. package/esm2020/model/lib/coupon.mjs +23 -0
  120. package/esm2020/model/lib/document.mjs +49 -0
  121. package/esm2020/model/lib/etc.mjs +57 -0
  122. package/esm2020/model/lib/file.mjs +8 -0
  123. package/esm2020/model/lib/filetype.mjs +179 -0
  124. package/esm2020/model/lib/grid.mjs +83 -0
  125. package/esm2020/model/lib/nicepay.mjs +81 -0
  126. package/esm2020/model/lib/order.mjs +106 -0
  127. package/esm2020/model/lib/payment.mjs +30 -0
  128. package/esm2020/model/lib/point.mjs +47 -0
  129. package/esm2020/model/lib/product-series.mjs +2 -0
  130. package/esm2020/model/lib/product.mjs +156 -0
  131. package/esm2020/model/lib/promotion.mjs +80 -0
  132. package/esm2020/model/lib/shipping.mjs +37 -0
  133. package/esm2020/model/lib/user.mjs +61 -0
  134. package/esm2020/model/public_api.mjs +23 -0
  135. package/esm2020/model/sk-front-lib-model.mjs +5 -0
  136. package/esm2020/search-address/dialog/dialog.component.mjs +27 -0
  137. package/esm2020/search-address/public_api.mjs +4 -0
  138. package/esm2020/search-address/sk-front-lib-search-address.mjs +5 -0
  139. package/esm2020/search-address/sk-search-address.directive.mjs +41 -0
  140. package/esm2020/search-address/sk-search-address.model.mjs +8 -0
  141. package/esm2020/search-address/sk-search-address.module.mjs +52 -0
  142. package/esm2020/search-address/sk-search-address.service.mjs +65 -0
  143. package/esm2020/uploader/public_api.mjs +4 -0
  144. package/esm2020/uploader/sk-front-lib-uploader.mjs +5 -0
  145. package/esm2020/uploader/sk-uploader-file-item.model.mjs +95 -0
  146. package/esm2020/uploader/sk-uploader.animation.mjs +47 -0
  147. package/esm2020/uploader/sk-uploader.class.mjs +188 -0
  148. package/esm2020/uploader/sk-uploader.component.mjs +120 -0
  149. package/esm2020/uploader/sk-uploader.directive.mjs +44 -0
  150. package/esm2020/uploader/sk-uploader.module.mjs +62 -0
  151. package/fesm2015/sk-front-lib-api.mjs +218 -0
  152. package/fesm2015/sk-front-lib-api.mjs.map +1 -0
  153. package/fesm2015/sk-front-lib-article.mjs +762 -0
  154. package/fesm2015/sk-front-lib-article.mjs.map +1 -0
  155. package/fesm2015/sk-front-lib-crud.mjs +1529 -0
  156. package/fesm2015/sk-front-lib-crud.mjs.map +1 -0
  157. package/fesm2015/sk-front-lib-google-analytics.mjs +361 -0
  158. package/fesm2015/sk-front-lib-google-analytics.mjs.map +1 -0
  159. package/fesm2015/sk-front-lib-image.mjs +306 -0
  160. package/fesm2015/sk-front-lib-image.mjs.map +1 -0
  161. package/fesm2015/sk-front-lib-model.mjs +1105 -0
  162. package/fesm2015/sk-front-lib-model.mjs.map +1 -0
  163. package/fesm2015/sk-front-lib-search-address.mjs +188 -0
  164. package/fesm2015/sk-front-lib-search-address.mjs.map +1 -0
  165. package/fesm2015/sk-front-lib-uploader.mjs +551 -0
  166. package/fesm2015/sk-front-lib-uploader.mjs.map +1 -0
  167. package/{fesm2022 → fesm2015}/sk-front-lib.mjs +27 -27
  168. package/{fesm2022 → fesm2015}/sk-front-lib.mjs.map +1 -1
  169. package/fesm2020/sk-front-lib-api.mjs +216 -0
  170. package/fesm2020/sk-front-lib-api.mjs.map +1 -0
  171. package/fesm2020/sk-front-lib-article.mjs +771 -0
  172. package/fesm2020/sk-front-lib-article.mjs.map +1 -0
  173. package/fesm2020/sk-front-lib-crud.mjs +1525 -0
  174. package/fesm2020/sk-front-lib-crud.mjs.map +1 -0
  175. package/fesm2020/sk-front-lib-google-analytics.mjs +358 -0
  176. package/fesm2020/sk-front-lib-google-analytics.mjs.map +1 -0
  177. package/fesm2020/sk-front-lib-image.mjs +309 -0
  178. package/fesm2020/sk-front-lib-image.mjs.map +1 -0
  179. package/fesm2020/sk-front-lib-model.mjs +1105 -0
  180. package/fesm2020/sk-front-lib-model.mjs.map +1 -0
  181. package/fesm2020/sk-front-lib-search-address.mjs +186 -0
  182. package/fesm2020/sk-front-lib-search-address.mjs.map +1 -0
  183. package/fesm2020/sk-front-lib-uploader.mjs +549 -0
  184. package/fesm2020/sk-front-lib-uploader.mjs.map +1 -0
  185. package/fesm2020/sk-front-lib.mjs +538 -0
  186. package/fesm2020/sk-front-lib.mjs.map +1 -0
  187. package/google-analytics/google-analytics-router.module.d.ts +8 -0
  188. package/google-analytics/google-analytics.module.d.ts +10 -0
  189. package/google-analytics/initializers/google-analytics-router.initializer.d.ts +5 -0
  190. package/google-analytics/initializers/google-analytics.initializer.d.ts +4 -0
  191. package/google-analytics/interfaces/google-analytics-command.d.ts +4 -0
  192. package/google-analytics/interfaces/google-analytics-settings.d.ts +6 -0
  193. package/google-analytics/package.json +10 -0
  194. package/google-analytics/public_api.d.ts +10 -0
  195. package/google-analytics/services/google-analytics.service.d.ts +85 -0
  196. package/google-analytics/sk-front-lib-google-analytics.d.ts +5 -0
  197. package/google-analytics/tokens/google-analytics-settings-token.d.ts +3 -0
  198. package/google-analytics/types/ga-action.type.d.ts +1 -0
  199. package/google-analytics/types/ga-bind.type.d.ts +1 -0
  200. package/image/package.json +10 -0
  201. package/image/public_api.d.ts +3 -0
  202. package/image/sk-front-lib-image.d.ts +5 -0
  203. package/image/sk-image.component.d.ts +112 -0
  204. package/image/sk-image.module.d.ts +12 -0
  205. package/lib/sk-byte.pipe.d.ts +1 -1
  206. package/lib/sk-date-time.pipe.d.ts +1 -1
  207. package/lib/sk-date.pipe.d.ts +1 -1
  208. package/lib/sk-keys.pipe.d.ts +1 -1
  209. package/lib/sk-time.pipe.d.ts +1 -1
  210. package/model/lib/article.d.ts +13 -0
  211. package/model/lib/audit.d.ts +13 -0
  212. package/model/lib/auth.d.ts +8 -0
  213. package/model/lib/board.d.ts +39 -0
  214. package/model/lib/cart.d.ts +45 -0
  215. package/model/lib/comment.d.ts +43 -0
  216. package/model/lib/contact.d.ts +40 -0
  217. package/model/lib/coupon.d.ts +116 -0
  218. package/model/lib/document.d.ts +104 -0
  219. package/model/lib/etc.d.ts +220 -0
  220. package/model/lib/file.d.ts +24 -0
  221. package/model/lib/filetype.d.ts +10 -0
  222. package/model/lib/grid.d.ts +97 -0
  223. package/model/lib/nicepay.d.ts +39 -0
  224. package/model/lib/order.d.ts +163 -0
  225. package/model/lib/payment.d.ts +27 -0
  226. package/model/lib/point.d.ts +30 -0
  227. package/model/lib/product-series.d.ts +25 -0
  228. package/model/lib/product.d.ts +308 -0
  229. package/model/lib/promotion.d.ts +169 -0
  230. package/model/lib/shipping.d.ts +44 -0
  231. package/model/lib/user.d.ts +54 -0
  232. package/model/package.json +10 -0
  233. package/model/public_api.d.ts +22 -0
  234. package/model/sk-front-lib-model.d.ts +5 -0
  235. package/package.json +77 -7
  236. package/search-address/dialog/dialog.component.d.ts +13 -0
  237. package/search-address/package.json +10 -0
  238. package/search-address/public_api.d.ts +3 -0
  239. package/search-address/sk-front-lib-search-address.d.ts +5 -0
  240. package/search-address/sk-search-address.directive.d.ts +15 -0
  241. package/search-address/sk-search-address.model.d.ts +40 -0
  242. package/search-address/sk-search-address.module.d.ts +14 -0
  243. package/search-address/sk-search-address.service.d.ts +13 -0
  244. package/uploader/package.json +10 -0
  245. package/uploader/public_api.d.ts +4 -0
  246. package/uploader/sk-front-lib-uploader.d.ts +5 -0
  247. package/uploader/sk-uploader-file-item.model.d.ts +29 -0
  248. package/uploader/sk-uploader.animation.d.ts +1 -0
  249. package/uploader/sk-uploader.class.d.ts +47 -0
  250. package/uploader/sk-uploader.component.d.ts +28 -0
  251. package/uploader/sk-uploader.directive.d.ts +15 -0
  252. package/uploader/sk-uploader.module.d.ts +16 -0
  253. package/esm2022/lib/sk-front-lib.module.mjs +0 -41
  254. /package/{esm2022 → esm2020}/lib/sk-animations.mjs +0 -0
  255. /package/{esm2022 → esm2020}/lib/sk-utils.mjs +0 -0
  256. /package/{esm2022 → esm2020}/public-api.mjs +0 -0
  257. /package/{esm2022 → esm2020}/sk-front-lib.mjs +0 -0
  258. /package/{index.d.ts → sk-front-lib.d.ts} +0 -0
@@ -0,0 +1,40 @@
1
+ import { ISkUser } from "./user";
2
+ import { ISkFile } from "./file";
3
+ import { ISkProductDetail } from "./product";
4
+ import { ISkOrderDetail } from "./order";
5
+ import { IAudit } from "./audit";
6
+ export declare enum SkContactStatus {
7
+ Open = "OPEN",
8
+ Close = "CLOSE"
9
+ }
10
+ export declare enum SkContactType {
11
+ Normal = "NORMAL",
12
+ BeforeBuy = "BEFOREBUY",
13
+ Technical = "TECHNICAL",
14
+ Software = "SOFTWARE",
15
+ AS = "AS"
16
+ }
17
+ export declare function getSkContactTypeText(type: SkContactType): "1:1 문의" | "구매전 상담" | "기술지원" | "전자배송상품" | "AS 문의";
18
+ export interface ISkContact extends IAudit {
19
+ id?: number;
20
+ status?: SkContactStatus;
21
+ type?: SkContactType;
22
+ user?: ISkUser;
23
+ userName?: string;
24
+ email?: string;
25
+ phone?: string;
26
+ title?: string;
27
+ content?: string;
28
+ attachment?: ISkFile;
29
+ product?: ISkProductDetail;
30
+ order?: ISkOrderDetail;
31
+ seller?: string;
32
+ serialNumber?: string;
33
+ buyDate?: string;
34
+ answers?: ISkContactAnswer[];
35
+ }
36
+ export interface ISkContactAnswer extends IAudit {
37
+ id?: number;
38
+ user?: ISkUser;
39
+ content?: string;
40
+ }
@@ -0,0 +1,116 @@
1
+ import { IAudit } from './audit';
2
+ import { ISkIdTitleValue, SkBrand, SkCategory, SkSubCategoryItem, SkValueType } from './etc';
3
+ import { ISkOrderList } from './order';
4
+ import { SkProductListItem } from './product';
5
+ import { ISkUser } from './user';
6
+ export declare enum SkCouponType {
7
+ Code = "CODE",
8
+ Inject = "INJECT"
9
+ }
10
+ export declare enum SkCouponTarget {
11
+ All = "ALL",
12
+ Brand = "BRAND",
13
+ Category = "CATEGORY",
14
+ SubCategory = "SUBCATEGORY",
15
+ Product = "PRODUCT"
16
+ }
17
+ export declare enum SkCouponTrigger {
18
+ None = "NONE",
19
+ All = "ALL",
20
+ Brand = "BRAND",
21
+ Category = "CATEGORY",
22
+ SubCategory = "SUBCATEGORY",
23
+ Product = "PRODUCT"
24
+ }
25
+ export interface ISkCouponCount {
26
+ total?: number;
27
+ trash?: number;
28
+ }
29
+ export interface ISkCouponListItem extends IAudit {
30
+ id?: number;
31
+ title?: string;
32
+ type?: SkCouponType;
33
+ startDate?: string;
34
+ endDate?: string;
35
+ expireStartDate?: string;
36
+ expireEndDate?: string;
37
+ forever?: boolean;
38
+ singleCode?: string;
39
+ activated?: boolean;
40
+ }
41
+ export interface ISkCouponDetail extends ISkCouponListItem {
42
+ usableWithOthers?: boolean;
43
+ duplicatable?: boolean;
44
+ anonymous?: boolean;
45
+ total?: number;
46
+ used?: number;
47
+ couponTarget?: SkCouponTarget;
48
+ couponTargetBrands?: SkBrand[];
49
+ couponTargetCategories?: SkCategory[];
50
+ couponTargetSubCategories?: SkSubCategoryItem[];
51
+ couponTargetProducts?: SkProductListItem[];
52
+ couponTrigger?: SkCouponTrigger;
53
+ couponTriggerAmount?: number;
54
+ couponTriggerBrands?: SkBrand[];
55
+ couponTriggerCategories?: SkCategory[];
56
+ couponTriggerSubCategories?: SkSubCategoryItem[];
57
+ couponTriggerProducts?: SkProductListItem[];
58
+ discountAmount?: number;
59
+ discountType?: SkValueType;
60
+ minUsablePrice?: number;
61
+ }
62
+ export interface ISkCouponTicket {
63
+ id?: number;
64
+ code?: string;
65
+ coupon?: ISkCouponDetail;
66
+ order?: ISkOrderList;
67
+ user?: ISkUser;
68
+ }
69
+ export interface ISkCouponTriggerUpdate {
70
+ couponTrigger?: SkCouponTrigger;
71
+ couponTriggerAmount?: number;
72
+ couponTriggerBrandIds?: number[];
73
+ couponTriggerCategoryIds?: number[];
74
+ couponTriggerSubCategoryIds?: number[];
75
+ couponTriggerProductIds?: number[];
76
+ }
77
+ export interface ISkUserCouponInfo {
78
+ id?: number;
79
+ title?: string;
80
+ code?: string;
81
+ startDate?: string;
82
+ endDate?: string;
83
+ forever?: boolean;
84
+ activated?: boolean;
85
+ usableWithOthers?: boolean;
86
+ couponTarget?: SkCouponTarget;
87
+ couponTargetBrands?: ISkIdTitleValue[];
88
+ couponTargetCategories?: ISkIdTitleValue[];
89
+ couponTargetSubCategories?: ISkIdTitleValue[];
90
+ couponTargetProducts?: ISkIdTitleValue[];
91
+ discountAmount?: number;
92
+ discountType?: SkValueType;
93
+ minUsablePrice?: number;
94
+ orderId?: string;
95
+ paidDate?: string;
96
+ }
97
+ export interface ISkUserCouponInfo {
98
+ id?: number;
99
+ title?: string;
100
+ code?: string;
101
+ startDate?: string;
102
+ endDate?: string;
103
+ forever?: boolean;
104
+ activated?: boolean;
105
+ usableWithOthers?: boolean;
106
+ couponTarget?: SkCouponTarget;
107
+ couponTargetBrands?: ISkIdTitleValue[];
108
+ couponTargetCategories?: ISkIdTitleValue[];
109
+ couponTargetSubCategories?: ISkIdTitleValue[];
110
+ couponTargetProducts?: ISkIdTitleValue[];
111
+ discountAmount?: number;
112
+ discountType?: SkValueType;
113
+ minUsablePrice?: number;
114
+ orderId?: string;
115
+ paidDate?: string;
116
+ }
@@ -0,0 +1,104 @@
1
+ import { Audit, IAudit } from "./audit";
2
+ import { ISkFile, SkFile } from "./file";
3
+ import { ISkArticle, SkArticle } from "./article";
4
+ import { ISkBoard, SkBoard } from "./board";
5
+ import { ISkProduct, SkProduct } from "./product";
6
+ import { SkCategory, SkOpengraph } from "./etc";
7
+ import { ISkUser, SkUser } from "./user";
8
+ export interface SkDocumentCount {
9
+ total?: number;
10
+ trash?: number;
11
+ }
12
+ export interface ISkDocumentSibling {
13
+ id?: number;
14
+ url?: string;
15
+ }
16
+ export declare enum SkDocumentType {
17
+ Editorial = "EDITORIAL",
18
+ Studio = "STUDIO",
19
+ Post = "POST",
20
+ Page = "PAGE"
21
+ }
22
+ export interface ISkDocumentAttachment {
23
+ id?: number;
24
+ file?: any;
25
+ title?: string;
26
+ url?: string;
27
+ }
28
+ export declare class SkDocumentAttachment {
29
+ id: number;
30
+ file: SkFile;
31
+ title: string;
32
+ url: string;
33
+ constructor(data?: ISkDocumentAttachment);
34
+ }
35
+ export interface ISkDocument extends IAudit {
36
+ id?: number;
37
+ type?: SkDocumentType;
38
+ url?: string;
39
+ title?: string;
40
+ author?: ISkUser;
41
+ activate?: boolean;
42
+ published?: boolean;
43
+ secret?: boolean;
44
+ notice?: boolean;
45
+ article?: ISkArticle;
46
+ image?: ISkFile;
47
+ imageAlt?: ISkFile;
48
+ board?: ISkBoard;
49
+ category?: SkCategory;
50
+ linkedProduct?: ISkProduct[];
51
+ attachment?: ISkDocumentAttachment[];
52
+ viewCount?: number;
53
+ listOrder?: number;
54
+ opengraph?: SkOpengraph;
55
+ }
56
+ export declare class SkDocument extends Audit {
57
+ id: number;
58
+ type: SkDocumentType;
59
+ url: string;
60
+ title: string;
61
+ author: SkUser;
62
+ activate: boolean;
63
+ published: boolean;
64
+ secret: boolean;
65
+ notice: boolean;
66
+ article: SkArticle;
67
+ image: SkFile;
68
+ imageAlt: SkFile;
69
+ board: SkBoard;
70
+ category: SkCategory;
71
+ linkedProduct: SkProduct[];
72
+ attachment: SkDocumentAttachment[];
73
+ viewCount: number;
74
+ listOrder: number;
75
+ opengraph: SkOpengraph;
76
+ constructor(data?: ISkDocument);
77
+ isEmpty(): boolean;
78
+ }
79
+ export interface ISkDocumentPublicList {
80
+ id?: number;
81
+ url?: string;
82
+ type?: SkDocumentType;
83
+ category?: SkCategory;
84
+ title?: string;
85
+ boardUrl?: string;
86
+ boardName?: string;
87
+ desc?: String;
88
+ image?: ISkFile;
89
+ imageAlt?: ISkFile;
90
+ subImages?: number[];
91
+ authorId?: number;
92
+ authorNickname?: string;
93
+ authorEmail?: string;
94
+ createdDate?: string;
95
+ }
96
+ export interface ISkDocumentPublish {
97
+ id?: number;
98
+ documentId?: number;
99
+ published?: boolean;
100
+ notice?: boolean;
101
+ listOrder?: boolean;
102
+ actionDate?: string;
103
+ activated?: boolean;
104
+ }
@@ -0,0 +1,220 @@
1
+ import { ApiPageable } from 'sk-front-lib/api';
2
+ import { ISkArticle } from './article';
3
+ import { IAudit } from './audit';
4
+ import { ISkDocumentPublicList } from './document';
5
+ import { ISkFile } from './file';
6
+ import { SkProduct, SkProductListItem } from './product';
7
+ import { ISkPromotionPublicList } from './promotion';
8
+ import { ISkUser } from './user';
9
+ export interface SkOpengraph {
10
+ ogAutoFill?: boolean;
11
+ ogTitle?: string;
12
+ ogDesc?: string;
13
+ ogImage?: ISkFile;
14
+ }
15
+ export interface SkNaverEpEmbed {
16
+ naverepShow?: boolean;
17
+ naverepCustom?: boolean;
18
+ naverepTitle?: string;
19
+ naverepCategory?: string;
20
+ }
21
+ export interface SkCatalogEmbed {
22
+ catalogShow?: boolean;
23
+ catalogCustom?: boolean;
24
+ catalogTitle?: string;
25
+ catalogCategory?: number;
26
+ }
27
+ export declare enum SkValueType {
28
+ Amount = "AMOUNT",
29
+ Percent = "PERCENT",
30
+ Fixed = "FIXED",
31
+ Custom = "CUSTOM"
32
+ }
33
+ export declare enum SkGiftType {
34
+ Real = "REAL",
35
+ Custom = "CUSTOM"
36
+ }
37
+ export interface SkBrand {
38
+ id?: number;
39
+ title?: string;
40
+ content?: string;
41
+ showDistribution?: boolean;
42
+ listOrder?: number;
43
+ image?: ISkFile;
44
+ opengraph?: SkOpengraph;
45
+ selected?: boolean;
46
+ disabled?: boolean;
47
+ hidden?: boolean;
48
+ }
49
+ export declare enum SkCategoryType {
50
+ Product = "PRODUCT",
51
+ Promotion = "PROMOTION",
52
+ Editorial = "EDITORIAL",
53
+ Studio = "STUDIO",
54
+ Board = "BOARD"
55
+ }
56
+ export interface SkSubCategoryItem {
57
+ id?: number;
58
+ title?: string;
59
+ selected?: boolean;
60
+ disabled?: boolean;
61
+ hidden?: boolean;
62
+ }
63
+ export interface SkSubCategory {
64
+ id?: number;
65
+ title?: string;
66
+ children?: SkSubCategoryItem[];
67
+ }
68
+ export interface SkCategory {
69
+ id?: number;
70
+ title?: string;
71
+ selected?: boolean;
72
+ disabled?: boolean;
73
+ hidden?: boolean;
74
+ type?: SkCategoryType;
75
+ subCategories?: SkSubCategory[];
76
+ opengraph?: SkOpengraph;
77
+ }
78
+ export interface SkKeyword {
79
+ id?: number;
80
+ title?: string;
81
+ }
82
+ export interface ISkAddress {
83
+ id?: number;
84
+ title?: string;
85
+ receiverName?: string;
86
+ email?: string;
87
+ phone?: string;
88
+ phone2?: string;
89
+ zipCode?: string;
90
+ address?: string;
91
+ address2?: string;
92
+ isDefault?: boolean;
93
+ }
94
+ export interface ISkStore {
95
+ id?: number;
96
+ name?: string;
97
+ url?: string;
98
+ address?: string;
99
+ phone?: string;
100
+ email?: string;
101
+ mapKakaoUrl?: string;
102
+ mapNaverUrl?: string;
103
+ mapGoogleUrl?: string;
104
+ mapEmbedUrl?: string;
105
+ showDistribution?: boolean;
106
+ brands?: SkBrand[];
107
+ }
108
+ export declare class SkStore {
109
+ id: number;
110
+ name: string;
111
+ url: string;
112
+ address: string;
113
+ phone: string;
114
+ email: string;
115
+ mapKakaoUrl: string;
116
+ mapNaverUrl: string;
117
+ mapGoogleUrl: string;
118
+ mapEmbedUrl: string;
119
+ showDistribution: boolean;
120
+ brands: SkBrand[];
121
+ constructor(data?: ISkStore);
122
+ }
123
+ export interface ISkSearchResult {
124
+ product?: ApiPageable<SkProductListItem>;
125
+ promotion?: ApiPageable<ISkPromotionPublicList>;
126
+ editorial?: ApiPageable<ISkDocumentPublicList>;
127
+ studio?: ApiPageable<ISkDocumentPublicList>;
128
+ etc?: ApiPageable<ISkDocumentPublicList>;
129
+ }
130
+ export interface ISkSearchKeyword {
131
+ id?: number;
132
+ keyword?: string;
133
+ }
134
+ export interface ISkShippingFee {
135
+ id?: number;
136
+ zipCodeStart?: string;
137
+ zipCodeEnd?: string;
138
+ address?: string;
139
+ fee?: number;
140
+ }
141
+ export interface ISkIdTitleValue {
142
+ id?: number | string;
143
+ title?: string;
144
+ value?: string;
145
+ }
146
+ export interface SkBank {
147
+ id?: number;
148
+ name?: string;
149
+ }
150
+ export declare enum SkAffiliateRequestStatus {
151
+ Wait = "WAIT",
152
+ Approve = "APPROVE",
153
+ Deny = "DENY"
154
+ }
155
+ export declare enum SkAffiliateTargetType {
156
+ None = "NONE",
157
+ All = "ALL",
158
+ Brand = "BRAND",
159
+ Category = "CATEGORY",
160
+ Product = "PRODUCT"
161
+ }
162
+ export declare enum SkAffiliateTargetApply {
163
+ Include = "INCLUDE",
164
+ Exclude = "EXCLUDE"
165
+ }
166
+ export interface ISkAffiliateTarget {
167
+ id?: number;
168
+ type?: SkAffiliateTargetType;
169
+ apply?: SkAffiliateTargetApply;
170
+ orderIndex?: number;
171
+ startDate?: string;
172
+ endDate?: string;
173
+ brand?: SkBrand;
174
+ category?: SkCategory;
175
+ products?: SkProduct[];
176
+ rebateAmount?: number;
177
+ rebateType?: SkValueType;
178
+ activated?: boolean;
179
+ }
180
+ export interface ISkAffiliateRequest extends IAudit {
181
+ id: string;
182
+ status: SkAffiliateRequestStatus;
183
+ user: ISkUser;
184
+ name: string;
185
+ phoneNumber: string;
186
+ social?: string;
187
+ desc: ISkArticle;
188
+ attachment?: ISkFile;
189
+ denyReason?: string;
190
+ }
191
+ export interface ISkAffiliateStatsItem {
192
+ date?: string;
193
+ count?: number;
194
+ sum?: number;
195
+ sum2?: number;
196
+ rank?: {
197
+ id?: number;
198
+ name?: string;
199
+ count?: number;
200
+ sum?: number;
201
+ sum2?: number;
202
+ }[];
203
+ }
204
+ export interface ISkAffiliateRebateMonthly {
205
+ id?: number;
206
+ year?: number;
207
+ month?: number;
208
+ totalRebatePoint?: number;
209
+ totalOrderCount?: number;
210
+ totalProductView?: number;
211
+ pointPaid?: boolean;
212
+ paidDate?: boolean;
213
+ }
214
+ export interface ISkAffiliateStats {
215
+ dailyProductView?: ISkAffiliateStatsItem[];
216
+ dailyPurchase?: ISkAffiliateStatsItem[];
217
+ monthlyProductView?: ISkAffiliateStatsItem[];
218
+ monthlyPurchase?: ISkAffiliateStatsItem[];
219
+ monthlyRebates?: ISkAffiliateRebateMonthly[];
220
+ }
@@ -0,0 +1,24 @@
1
+ import { Audit, IAudit } from './audit';
2
+ export interface ISkFile extends IAudit {
3
+ id?: number;
4
+ mime?: string;
5
+ fileSize?: number;
6
+ sourceFilename?: string;
7
+ ext?: string;
8
+ uploadedFilename?: string;
9
+ uploadedPath?: string;
10
+ isValid?: boolean;
11
+ isPrivate?: boolean;
12
+ }
13
+ export declare class SkFile extends Audit {
14
+ id: number;
15
+ mime: string;
16
+ fileSize: number;
17
+ sourceFilename: string;
18
+ ext: string;
19
+ uploadedFilename: string;
20
+ uploadedPath: string;
21
+ isValid: boolean;
22
+ isPrivate: boolean;
23
+ constructor(data?: ISkFile);
24
+ }
@@ -0,0 +1,10 @@
1
+ import { SkFile } from './file';
2
+ export declare class FileType {
3
+ static mime_doc: string[];
4
+ static mime_xsl: string[];
5
+ static mime_ppt: string[];
6
+ static mime_psd: string[];
7
+ static mime_compress: string[];
8
+ static getMimeClass(file: SkFile | File): string;
9
+ static fileTypeDetection(inputFilename: string): string;
10
+ }
@@ -0,0 +1,97 @@
1
+ export declare enum SkGridItemType {
2
+ Icon = "Icon",
3
+ Image = "Image",
4
+ SlidePromotion = "SlidePromotion",
5
+ SlideShop = "SlideShop",
6
+ SlideEditorial = "SlideEditorial",
7
+ SlideStudio = "SlideStudio",
8
+ SlideCustom = "SlideCustom"
9
+ }
10
+ export interface ISkGridItemIconData {
11
+ iconType?: 'material' | 'custom';
12
+ icon?: string;
13
+ title?: string;
14
+ url?: string;
15
+ }
16
+ export declare class SkGridItemIconData {
17
+ iconType: 'material' | 'custom';
18
+ icon: string;
19
+ title: string;
20
+ url: string;
21
+ constructor(data?: ISkGridItemIconData);
22
+ }
23
+ export interface ISkGridItemImageData {
24
+ src?: string | number;
25
+ title?: string;
26
+ url?: string;
27
+ }
28
+ export declare class SkGridItemImageData {
29
+ src: string | number;
30
+ title: string;
31
+ url: string;
32
+ constructor(data?: ISkGridItemImageData);
33
+ }
34
+ export interface ISkGridItemSlideDataCustomFormat {
35
+ imageId?: number;
36
+ type?: string;
37
+ title?: string;
38
+ desc?: string;
39
+ link?: string;
40
+ }
41
+ export interface ISkGridItemSlideData {
42
+ target?: 'featured' | 'latest' | string;
43
+ count?: number;
44
+ list?: any[] | number[] | ISkGridItemSlideDataCustomFormat[];
45
+ lastImageId?: number;
46
+ }
47
+ export declare class SkGridItemSlideData {
48
+ target: 'featured' | 'latest' | string;
49
+ count: number;
50
+ list: any[] | number[] | ISkGridItemSlideDataCustomFormat[];
51
+ lastImageId?: number;
52
+ constructor(data?: ISkGridItemSlideData);
53
+ }
54
+ export interface ISkGridItem {
55
+ rowspan?: number;
56
+ colspan?: number;
57
+ type?: SkGridItemType;
58
+ value?: ISkGridItemSlideData | ISkGridItemIconData | ISkGridItemImageData;
59
+ url?: string;
60
+ }
61
+ export declare class SkGridItem {
62
+ rowspan: number;
63
+ colspan: number;
64
+ type: SkGridItemType;
65
+ value: SkGridItemSlideData | SkGridItemIconData | SkGridItemImageData;
66
+ constructor(data?: ISkGridItem);
67
+ }
68
+ export interface ISkGridData {
69
+ cols?: number;
70
+ gutterSize?: number;
71
+ aspect?: string;
72
+ items?: ISkGridItem[];
73
+ }
74
+ export declare class SkGridData {
75
+ cols: number;
76
+ gutterSize: number;
77
+ aspect: string;
78
+ items: SkGridItem[];
79
+ constructor(data?: ISkGridData);
80
+ setItems(items: ISkGridItem[]): void;
81
+ setItem(item: ISkGridItem): void;
82
+ updateItem(index: number, item: ISkGridItem): void;
83
+ removeItem(index: number): void;
84
+ }
85
+ export interface ISkMobileMainData {
86
+ editorials?: SkGridItemSlideData;
87
+ studios?: SkGridItemSlideData;
88
+ promotions?: SkGridItemSlideData;
89
+ products?: SkGridItemSlideData;
90
+ }
91
+ export declare class SkMobileMainData {
92
+ editorials: SkGridItemSlideData;
93
+ studios: SkGridItemSlideData;
94
+ promotions: SkGridItemSlideData;
95
+ products: SkGridItemSlideData;
96
+ constructor(data?: ISkMobileMainData);
97
+ }
@@ -0,0 +1,39 @@
1
+ export declare enum SkNicePayCreditCards {
2
+ BC = "01",
3
+ KB = "02",
4
+ KEB = "03",
5
+ Samsung = "04",
6
+ Shinhan = "06",
7
+ Hyundae = "07",
8
+ Lotte = "08",
9
+ Hanmi = "09",
10
+ SHanmi = "10",
11
+ City = "11",
12
+ NH = "12",
13
+ SuHyup = "13",
14
+ PyungHwa = "14",
15
+ Woori = "15",
16
+ HanaSK = "16",
17
+ DongName = "17",
18
+ JuTaek = "18",
19
+ ChoHeung = "19",
20
+ ChuckHyup = "20",
21
+ Gwangju = "21",
22
+ Jeonbuk = "22",
23
+ Jeju = "23",
24
+ KDBC = "24",
25
+ VISA = "25",
26
+ MASTER = "26",
27
+ Diners = "27",
28
+ AMX = "28",
29
+ JCB = "29",
30
+ SKOKCashbag = "31",
31
+ ePost = "32",
32
+ FSB = "33",
33
+ UnionPay = "34",
34
+ KFCC = "35",
35
+ KDB = "36",
36
+ Kakao = "37",
37
+ KBank = "38"
38
+ }
39
+ export declare function getNicePayCreditCardTitle(value: SkNicePayCreditCards): string;