@shopby/shop-sdk 1.7.14 → 1.8.1
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.
- package/build/src/{admin.d.ts → domain/admin.d.ts} +2 -2
- package/build/src/{admin.js → domain/admin.js} +0 -0
- package/build/src/domain/admin.js.map +1 -0
- package/build/src/{auth.d.ts → domain/auth.d.ts} +2 -2
- package/build/src/{auth.js → domain/auth.js} +0 -0
- package/build/src/domain/auth.js.map +1 -0
- package/build/src/{claim.d.ts → domain/claim.d.ts} +2 -2
- package/build/src/{claim.js → domain/claim.js} +0 -0
- package/build/src/domain/claim.js.map +1 -0
- package/build/src/{display.d.ts → domain/display.d.ts} +1 -2
- package/build/src/{display.js → domain/display.js} +0 -0
- package/build/src/domain/display.js.map +1 -0
- package/build/src/{manage.d.ts → domain/manage.d.ts} +7 -7
- package/build/src/{manage.js → domain/manage.js} +0 -0
- package/build/src/domain/manage.js.map +1 -0
- package/build/src/{marketing.d.ts → domain/marketing.d.ts} +1 -1
- package/build/src/{marketing.js → domain/marketing.js} +1 -1
- package/build/src/domain/marketing.js.map +1 -0
- package/build/src/{member.d.ts → domain/member.d.ts} +1 -2
- package/build/src/{member.js → domain/member.js} +0 -0
- package/build/src/domain/member.js.map +1 -0
- package/build/src/{order.d.ts → domain/order.d.ts} +2 -1
- package/build/src/{order.js → domain/order.js} +0 -0
- package/build/src/domain/order.js.map +1 -0
- package/build/src/{product.d.ts → domain/product.d.ts} +4 -4
- package/build/src/{product.js → domain/product.js} +0 -0
- package/build/src/domain/product.js.map +1 -0
- package/build/src/{promotion.d.ts → domain/promotion.d.ts} +1 -1
- package/build/src/{promotion.js → domain/promotion.js} +0 -0
- package/build/src/domain/promotion.js.map +1 -0
- package/build/src/index.d.ts +276 -2
- package/build/src/index.js +13 -13
- package/build/src/index.js.map +1 -1
- package/build/src/middlewares/index.d.ts +1 -1
- package/build/src/{storage.d.ts → storage/image.d.ts} +4 -4
- package/build/src/{storage.js → storage/image.js} +3 -3
- package/build/src/storage/image.js.map +1 -0
- package/build/types/common/country/index.d.ts +2 -0
- package/build/types/common/country/index.js +3 -0
- package/build/types/common/country/index.js.map +1 -0
- package/build/types/common/country/maps/index.d.ts +87 -0
- package/build/types/common/country/maps/index.js +88 -0
- package/build/types/common/country/maps/index.js.map +1 -0
- package/build/types/common/country/unions/index.d.ts +2 -0
- package/build/types/common/country/unions/index.js +2 -0
- package/build/types/common/country/unions/index.js.map +1 -0
- package/build/types/common/index.d.ts +5 -0
- package/build/types/common/index.js +6 -0
- package/build/types/common/index.js.map +1 -0
- package/build/types/common/maps.d.ts +46 -0
- package/build/types/common/maps.js +48 -0
- package/build/types/common/maps.js.map +1 -0
- package/build/types/common/period/index.d.ts +7 -0
- package/build/types/common/period/index.js +3 -0
- package/build/types/common/period/index.js.map +1 -0
- package/build/types/common/period/maps/index.d.ts +9 -0
- package/build/types/common/period/maps/index.js +10 -0
- package/build/types/common/period/maps/index.js.map +1 -0
- package/build/types/common/period/unions/index.d.ts +2 -0
- package/build/types/common/period/unions/index.js +2 -0
- package/build/types/common/period/unions/index.js.map +1 -0
- package/build/types/common/types/index.d.ts +2 -0
- package/build/types/common/types/index.js +3 -0
- package/build/types/common/types/index.js.map +1 -0
- package/build/types/common/types/literal.d.ts +4 -0
- package/build/types/common/types/literal.js +2 -0
- package/build/types/common/types/literal.js.map +1 -0
- package/build/types/common/types/specific.d.ts +12 -0
- package/build/types/common/types/specific.js +2 -0
- package/build/types/common/types/specific.js.map +1 -0
- package/build/types/{enum.d.ts → common/unions.d.ts} +2 -3
- package/build/types/common/unions.js +2 -0
- package/build/types/common/unions.js.map +1 -0
- package/build/types/{admin.d.ts → domain/admin/index.d.ts} +0 -0
- package/build/types/domain/admin/index.js +2 -0
- package/build/types/domain/admin/index.js.map +1 -0
- package/build/types/{auth.d.ts → domain/auth/index.d.ts} +1 -1
- package/build/types/domain/auth/index.js +2 -0
- package/build/types/domain/auth/index.js.map +1 -0
- package/build/types/{claim.d.ts → domain/claim/index.d.ts} +0 -0
- package/build/types/domain/claim/index.js +2 -0
- package/build/types/domain/claim/index.js.map +1 -0
- package/build/types/{display.d.ts → domain/display/index.d.ts} +2 -1
- package/build/types/domain/display/index.js +2 -0
- package/build/types/domain/display/index.js.map +1 -0
- package/build/types/{root.js → domain/index.d.ts} +0 -6
- package/build/types/domain/index.js +9 -0
- package/build/types/domain/index.js.map +1 -0
- package/build/types/{manage.d.ts → domain/manage/index.d.ts} +92 -46
- package/build/types/domain/manage/index.js +2 -0
- package/build/types/domain/manage/index.js.map +1 -0
- package/build/types/{member.d.ts → domain/member/index.d.ts} +0 -0
- package/build/types/domain/member/index.js +2 -0
- package/build/types/domain/member/index.js.map +1 -0
- package/build/types/{order.d.ts → domain/order/index.d.ts} +3 -3
- package/build/types/domain/order/index.js +2 -0
- package/build/types/domain/order/index.js.map +1 -0
- package/build/types/domain/product/amount/index.d.ts +21 -0
- package/build/types/domain/product/amount/index.js +2 -0
- package/build/types/domain/product/amount/index.js.map +1 -0
- package/build/types/domain/product/amount/maps/index.d.ts +11 -0
- package/build/types/domain/product/amount/maps/index.js +12 -0
- package/build/types/domain/product/amount/maps/index.js.map +1 -0
- package/build/types/domain/product/amount/unions/index.d.ts +6 -0
- package/build/types/domain/product/amount/unions/index.js +2 -0
- package/build/types/domain/product/amount/unions/index.js.map +1 -0
- package/build/types/domain/product/category/index.d.ts +9 -0
- package/build/types/domain/product/category/index.js +2 -0
- package/build/types/domain/product/category/index.js.map +1 -0
- package/build/types/domain/product/core/index.d.ts +113 -0
- package/build/types/domain/product/core/index.js +2 -0
- package/build/types/domain/product/core/index.js.map +1 -0
- package/build/types/domain/product/core/maps/index.d.ts +53 -0
- package/build/types/domain/product/core/maps/index.js +54 -0
- package/build/types/domain/product/core/maps/index.js.map +1 -0
- package/build/types/domain/product/core/unions/index.d.ts +11 -0
- package/build/types/domain/product/core/unions/index.js +2 -0
- package/build/types/domain/product/core/unions/index.js.map +1 -0
- package/build/types/domain/product/delivery/index.d.ts +46 -0
- package/build/types/domain/product/delivery/index.js +2 -0
- package/build/types/domain/product/delivery/index.js.map +1 -0
- package/build/types/domain/product/delivery/maps/index.d.ts +12 -0
- package/build/types/domain/product/delivery/maps/index.js +13 -0
- package/build/types/domain/product/delivery/maps/index.js.map +1 -0
- package/build/types/domain/product/delivery/unions/index.d.ts +3 -0
- package/build/types/domain/product/delivery/unions/index.js +2 -0
- package/build/types/domain/product/delivery/unions/index.js.map +1 -0
- package/build/types/domain/product/index.d.ts +76 -0
- package/build/types/domain/product/index.js +2 -0
- package/build/types/domain/product/index.js.map +1 -0
- package/build/types/domain/product/option/index.d.ts +37 -0
- package/build/types/domain/product/option/index.js +2 -0
- package/build/types/domain/product/option/index.js.map +1 -0
- package/build/types/domain/product/option/unions/index.d.ts +4 -0
- package/build/types/domain/product/option/unions/index.js +2 -0
- package/build/types/domain/product/option/unions/index.js.map +1 -0
- package/build/types/domain/product/partner/index.d.ts +11 -0
- package/build/types/domain/product/partner/index.js +2 -0
- package/build/types/domain/product/partner/index.js.map +1 -0
- package/build/types/domain/product/rental/index.d.ts +5 -0
- package/build/types/domain/product/rental/index.js +2 -0
- package/build/types/domain/product/rental/index.js.map +1 -0
- package/build/types/domain/product/reservation/index.d.ts +7 -0
- package/build/types/domain/product/reservation/index.js +2 -0
- package/build/types/domain/product/reservation/index.js.map +1 -0
- package/build/types/http/index.d.ts +30 -0
- package/build/types/http/index.js +2 -0
- package/build/types/http/index.js.map +1 -0
- package/build/types/index.d.ts +6 -0
- package/build/types/index.js +7 -0
- package/build/types/index.js.map +1 -0
- package/build/types/{storage.d.ts → storage/image/index.d.ts} +1 -1
- package/build/types/storage/image/index.js +2 -0
- package/build/types/storage/image/index.js.map +1 -0
- package/build/types/storage/index.d.ts +1 -0
- package/build/types/storage/index.js +2 -0
- package/build/types/storage/index.js.map +1 -0
- package/package.json +1 -1
- package/build/src/admin.js.map +0 -1
- package/build/src/auth.js.map +0 -1
- package/build/src/claim.js.map +0 -1
- package/build/src/display.js.map +0 -1
- package/build/src/manage.js.map +0 -1
- package/build/src/marketing.js.map +0 -1
- package/build/src/member.js.map +0 -1
- package/build/src/order.js.map +0 -1
- package/build/src/product.js.map +0 -1
- package/build/src/promotion.js.map +0 -1
- package/build/src/storage.js.map +0 -1
- package/build/types/admin.js +0 -2
- package/build/types/admin.js.map +0 -1
- package/build/types/auth.js +0 -2
- package/build/types/auth.js.map +0 -1
- package/build/types/claim.js +0 -2
- package/build/types/claim.js.map +0 -1
- package/build/types/design.d.ts +0 -4
- package/build/types/design.js +0 -2
- package/build/types/design.js.map +0 -1
- package/build/types/display.js +0 -2
- package/build/types/display.js.map +0 -1
- package/build/types/enum.js +0 -2
- package/build/types/enum.js.map +0 -1
- package/build/types/manage.js +0 -2
- package/build/types/manage.js.map +0 -1
- package/build/types/map.d.ts +0 -142
- package/build/types/map.js +0 -2
- package/build/types/map.js.map +0 -1
- package/build/types/member.js +0 -2
- package/build/types/member.js.map +0 -1
- package/build/types/order.js +0 -2
- package/build/types/order.js.map +0 -1
- package/build/types/product.d.ts +0 -30
- package/build/types/product.js +0 -2
- package/build/types/product.js.map +0 -1
- package/build/types/root.d.ts +0 -325
- package/build/types/root.js.map +0 -1
- package/build/types/storage.js +0 -2
- package/build/types/storage.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../types/domain/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { PageTypes } from '
|
|
1
|
+
import { RequestConfig } from '../../http';
|
|
2
|
+
import { DirectionTypes, InquiryStatus, PageTypes, SearchTypes } from '../../common/unions';
|
|
3
3
|
export interface PostBoardsBoardNoArticlesRequest {
|
|
4
4
|
pathVariable: {
|
|
5
5
|
boardNo: string;
|
|
@@ -240,7 +240,7 @@ export interface BoardsConfigurationsProductReviewConfigReviewAccumulationPhotoR
|
|
|
240
240
|
amount?: number;
|
|
241
241
|
contentLength?: number;
|
|
242
242
|
}
|
|
243
|
-
export interface
|
|
243
|
+
export interface PostInquiriesRequest {
|
|
244
244
|
requestBody: {
|
|
245
245
|
inquiryTypeNo: number;
|
|
246
246
|
inquiryTitle: string;
|
|
@@ -251,8 +251,89 @@ export interface Inquiries {
|
|
|
251
251
|
answerEmailSendYn: boolean;
|
|
252
252
|
};
|
|
253
253
|
}
|
|
254
|
-
export interface
|
|
254
|
+
export interface GetInquiriesRequest {
|
|
255
|
+
queryString: {
|
|
256
|
+
pageNumber: number;
|
|
257
|
+
pageSize: number;
|
|
258
|
+
hasTotalCount: boolean;
|
|
259
|
+
inquiryTypeNo: number;
|
|
260
|
+
inquiryStatus?: InquiryStatus;
|
|
261
|
+
inquiryStatuses?: string;
|
|
262
|
+
startYmd: string;
|
|
263
|
+
endYmd: string;
|
|
264
|
+
keyward: string;
|
|
265
|
+
searchType: SearchTypes;
|
|
266
|
+
};
|
|
267
|
+
}
|
|
268
|
+
export interface GetInquiriesResponse {
|
|
269
|
+
totalCount: number;
|
|
270
|
+
items: InquiriesItems[];
|
|
271
|
+
}
|
|
272
|
+
export interface InquiriesItems {
|
|
255
273
|
inquiryNo: number;
|
|
274
|
+
orderNo?: string;
|
|
275
|
+
productNo?: number;
|
|
276
|
+
productName?: string;
|
|
277
|
+
inquiryTitle: string;
|
|
278
|
+
inquiryContent: string;
|
|
279
|
+
answerSmsSend: boolean;
|
|
280
|
+
answerEmailSend: boolean;
|
|
281
|
+
registerNo?: number;
|
|
282
|
+
registerYmdt: string;
|
|
283
|
+
inquiryStatus: InquiryStatus;
|
|
284
|
+
inquiryType: InquiriesInquiryType;
|
|
285
|
+
answer: InquiriesAnswer;
|
|
286
|
+
imageUrls: string[];
|
|
287
|
+
originalImageUrls: string[];
|
|
288
|
+
issuerName: string;
|
|
289
|
+
}
|
|
290
|
+
export interface PutInquiresInquiryNoRequest {
|
|
291
|
+
pathVariable: {
|
|
292
|
+
inquiryNo: number;
|
|
293
|
+
};
|
|
294
|
+
requestBody: {
|
|
295
|
+
inquiryTitle: string;
|
|
296
|
+
inquiryContent: string;
|
|
297
|
+
originalFileName: string[];
|
|
298
|
+
uploadedFileName: string[];
|
|
299
|
+
answerSmsSendYn: boolean;
|
|
300
|
+
answerEmailSendYn: boolean;
|
|
301
|
+
};
|
|
302
|
+
}
|
|
303
|
+
export interface PostInquiriesResponse {
|
|
304
|
+
inquiryNo: number;
|
|
305
|
+
}
|
|
306
|
+
export interface GetInquiriesInquiryNoRequest {
|
|
307
|
+
pathVariable: {
|
|
308
|
+
inquiryNo: number;
|
|
309
|
+
};
|
|
310
|
+
}
|
|
311
|
+
export interface DeleteInquiriesInquiryNoRequest {
|
|
312
|
+
pathVariable: {
|
|
313
|
+
inquiryNo: number;
|
|
314
|
+
};
|
|
315
|
+
}
|
|
316
|
+
export interface GetInquiriesInquiryNoResponse {
|
|
317
|
+
inquiryNo: number;
|
|
318
|
+
orderNo?: string;
|
|
319
|
+
productNo?: number;
|
|
320
|
+
productName?: string;
|
|
321
|
+
inquiryTitle: string;
|
|
322
|
+
inquiryContent: string;
|
|
323
|
+
answerSmsSend: boolean;
|
|
324
|
+
answerEmailSend: boolean;
|
|
325
|
+
registerNo?: number;
|
|
326
|
+
registerYmdt: string;
|
|
327
|
+
inquiryStatus: string;
|
|
328
|
+
inquiryType: InquiriesInquiryNoInquiryType;
|
|
329
|
+
answer: InquiriesInquiryNoAnswer;
|
|
330
|
+
imageUrls: string[];
|
|
331
|
+
originalImageUrls: string[];
|
|
332
|
+
issuerName: string;
|
|
333
|
+
}
|
|
334
|
+
export interface InquiriesInquiryNoFiles {
|
|
335
|
+
originalFileName: string;
|
|
336
|
+
uploadedFileName: string;
|
|
256
337
|
}
|
|
257
338
|
export interface InquiriesAnswer {
|
|
258
339
|
answerRegisterYmdt?: string;
|
|
@@ -260,27 +341,9 @@ export interface InquiriesAnswer {
|
|
|
260
341
|
answerNo?: number;
|
|
261
342
|
}
|
|
262
343
|
export interface InquiriesInquiryType {
|
|
263
|
-
inquiryTypeDescription
|
|
264
|
-
inquiryTypeNo
|
|
265
|
-
inquiryTypeName
|
|
266
|
-
}
|
|
267
|
-
export interface InquiriesItems {
|
|
268
|
-
answerSmsSend?: boolean;
|
|
269
|
-
inquiryType?: InquiriesInquiryType;
|
|
270
|
-
orderNo?: string;
|
|
271
|
-
answerEmailSend?: boolean;
|
|
272
|
-
issuerName?: string;
|
|
273
|
-
originalImageUrls?: Array<object | boolean | string | number>;
|
|
274
|
-
inquiryStatus?: string;
|
|
275
|
-
productName?: string;
|
|
276
|
-
registerNo?: number;
|
|
277
|
-
inquiryTitle?: string;
|
|
278
|
-
answer?: InquiriesAnswer;
|
|
279
|
-
imageUrls?: Array<object | boolean | string | number>;
|
|
280
|
-
inquiryContent?: string;
|
|
281
|
-
productNo?: number;
|
|
282
|
-
registerYmdt?: string;
|
|
283
|
-
inquiryNo?: number;
|
|
344
|
+
inquiryTypeDescription: string;
|
|
345
|
+
inquiryTypeNo: number;
|
|
346
|
+
inquiryTypeName: string;
|
|
284
347
|
}
|
|
285
348
|
export interface InquiriesConfigurations {
|
|
286
349
|
replyUsed?: boolean;
|
|
@@ -299,33 +362,16 @@ export interface InquiriesConfigurations {
|
|
|
299
362
|
mallNo?: number;
|
|
300
363
|
smsUsed?: boolean;
|
|
301
364
|
}
|
|
302
|
-
export interface InquiriesInquiryNo {
|
|
303
|
-
answerSmsSend?: boolean;
|
|
304
|
-
inquiryType?: InquiriesInquiryNoInquiryType;
|
|
305
|
-
orderNo?: string;
|
|
306
|
-
answerEmailSend?: boolean;
|
|
307
|
-
issuerName?: string;
|
|
308
|
-
originalImageUrls?: Array<object | boolean | string | number>;
|
|
309
|
-
inquiryStatus?: string;
|
|
310
|
-
productName?: string;
|
|
311
|
-
registerNo?: number;
|
|
312
|
-
inquiryTitle?: string;
|
|
313
|
-
answer?: InquiriesInquiryNoAnswer;
|
|
314
|
-
imageUrls?: Array<object | boolean | string | number>;
|
|
315
|
-
inquiryContent?: string;
|
|
316
|
-
productNo?: number;
|
|
317
|
-
registerYmdt?: string;
|
|
318
|
-
inquiryNo?: number;
|
|
319
|
-
}
|
|
320
365
|
export interface InquiriesInquiryNoAnswer {
|
|
321
366
|
answerRegisterYmdt?: string;
|
|
322
367
|
answerContent?: string;
|
|
323
368
|
answerNo?: number;
|
|
369
|
+
file?: InquiriesInquiryNoFiles[];
|
|
324
370
|
}
|
|
325
371
|
export interface InquiriesInquiryNoInquiryType {
|
|
326
|
-
inquiryTypeDescription
|
|
327
|
-
inquiryTypeNo
|
|
328
|
-
inquiryTypeName
|
|
372
|
+
inquiryTypeDescription: string;
|
|
373
|
+
inquiryTypeNo: number;
|
|
374
|
+
inquiryTypeName: string;
|
|
329
375
|
}
|
|
330
376
|
export interface PageScriptsRequest extends RequestConfig {
|
|
331
377
|
queryString: {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../types/domain/manage/index.ts"],"names":[],"mappings":""}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../types/domain/member/index.ts"],"names":[],"mappings":""}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AddressType, AgreementType, CashReceiptIssuePurposeType, CountryCode,
|
|
1
|
+
import { AddressType, AgreementType, CashReceiptIssuePurposeType, CountryCode, Week, DeliveryConditionType, DeliveryPayType, GroupDeliveryAmtType, OptionType, OrderChannelType, PayType, PgType, RecurringCycle, RecurringCycleType, ShippingAreaType, Yn } from '../../common';
|
|
2
2
|
/**
|
|
3
3
|
* path: /order-configs
|
|
4
4
|
*/
|
|
@@ -60,7 +60,7 @@ export interface GetOrderSheetsOrderSheetNoResponse {
|
|
|
60
60
|
appliedCoupons: AppliedCoupon;
|
|
61
61
|
availablePayTypes: Array<{
|
|
62
62
|
payType: PayType;
|
|
63
|
-
pgTypes: PgType;
|
|
63
|
+
pgTypes: PgType[];
|
|
64
64
|
}>;
|
|
65
65
|
tradeBankAccountInfos: TradeBankAccountInfo[];
|
|
66
66
|
invalidProducts: OrderProduct[];
|
|
@@ -207,7 +207,7 @@ export interface DeliveryDate {
|
|
|
207
207
|
startYmdt: string;
|
|
208
208
|
endYmdy: string;
|
|
209
209
|
};
|
|
210
|
-
daysOfWeek:
|
|
210
|
+
daysOfWeek: Week;
|
|
211
211
|
daysAfterPurchase: number;
|
|
212
212
|
}
|
|
213
213
|
export interface OrderProductOption {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../types/domain/order/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { DiscountUnit } from './unions';
|
|
2
|
+
export interface ProductPrice {
|
|
3
|
+
unitPrice: number;
|
|
4
|
+
immediateDiscountAmt: number;
|
|
5
|
+
unitName: string;
|
|
6
|
+
accumulationAmtWhenBuyConfirm: number;
|
|
7
|
+
salePrice: number;
|
|
8
|
+
minSalePrice: number;
|
|
9
|
+
immediateDiscountUnitType: DiscountUnit;
|
|
10
|
+
contentsIfPausing: string;
|
|
11
|
+
accumulationRate: number;
|
|
12
|
+
additionDiscountUnitType: DiscountUnit;
|
|
13
|
+
additionDiscountValue: number;
|
|
14
|
+
unitNameType: string;
|
|
15
|
+
maxAdditionDiscountAmt: number;
|
|
16
|
+
maxSalePrice: number;
|
|
17
|
+
maxCouponAmt: number;
|
|
18
|
+
couponDiscountAmt: number;
|
|
19
|
+
maxDiscountAmount: number;
|
|
20
|
+
additionDiscountAmt: number;
|
|
21
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../types/domain/product/amount/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../types/domain/product/amount/maps/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,CAAC,IAAM,iBAAiB,GAAG;IAC/B,GAAG,EAAE,IAAI;IACT,IAAI,EAAE,IAAI;CACX,CAAC;AAEF,MAAM,CAAC,IAAM,sBAAsB,GAAG;IACpC,MAAM,EAAE,GAAG;IACX,OAAO,EAAE,GAAG;CACb,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { DISCOUNT_UNIT_MAP, DISCOUNT_UNIT_TYPE_MAP } from '../maps';
|
|
2
|
+
/**
|
|
3
|
+
* WARN: SHOP API 에서 정액/정률 을 표현하는 방식이 2가지가 존재.
|
|
4
|
+
*/
|
|
5
|
+
export declare type DiscountUnit = keyof typeof DISCOUNT_UNIT_MAP;
|
|
6
|
+
export declare type DiscountUnitType = keyof typeof DISCOUNT_UNIT_TYPE_MAP;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../types/domain/product/amount/unions/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../types/domain/product/category/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { DateYmdt, HTMLString, JSONString, URLString, Yn, ShippingAreaType } from '../../../common';
|
|
2
|
+
import { ProductType, ProductCertificationType, ProductStickerType, ProductSalePeriodType, ProductGroup, BrandNameType, CertificationNo, ProductClassType, SaleStatus } from './unions';
|
|
3
|
+
import { DiscountUnitType } from '../amount/unions';
|
|
4
|
+
export interface ProductBaseInfo {
|
|
5
|
+
productType: ProductType;
|
|
6
|
+
productName: string;
|
|
7
|
+
productNameEn: string;
|
|
8
|
+
productNo: number;
|
|
9
|
+
registerYmdt: DateYmdt;
|
|
10
|
+
expirationYmdt: DateYmdt;
|
|
11
|
+
saleStartYmdt: DateYmdt;
|
|
12
|
+
saleEndYmdt: DateYmdt;
|
|
13
|
+
productManagementCd: string;
|
|
14
|
+
content: string;
|
|
15
|
+
placeOriginEtcLabel: string;
|
|
16
|
+
dutyInfo: JSONString;
|
|
17
|
+
contentHeader: string;
|
|
18
|
+
optionImageViewable: boolean;
|
|
19
|
+
deliveryCustomerInfo: string;
|
|
20
|
+
customPropertise: ProductCustomProperties[];
|
|
21
|
+
usableRestockNoti: number;
|
|
22
|
+
contentFooter: HTMLString;
|
|
23
|
+
certificationType: ProductCertificationType;
|
|
24
|
+
manufactureYmdt: DateYmdt;
|
|
25
|
+
accumulationUseYn: Yn;
|
|
26
|
+
stickerLabels: string[];
|
|
27
|
+
certifications: ProductCertification[];
|
|
28
|
+
promotionText: string;
|
|
29
|
+
salePeriodType: ProductSalePeriodType;
|
|
30
|
+
stickerInfos: ProductStickerInfo[];
|
|
31
|
+
hsCode: string;
|
|
32
|
+
productGroup: ProductGroup;
|
|
33
|
+
imageUrls: URLString[];
|
|
34
|
+
placeOriginLabel: string;
|
|
35
|
+
purchaseGuide: string;
|
|
36
|
+
}
|
|
37
|
+
export interface ProductCustomProperties {
|
|
38
|
+
propValueNo: number;
|
|
39
|
+
multipleSelectionYn: Yn;
|
|
40
|
+
propValue: string;
|
|
41
|
+
propName: string;
|
|
42
|
+
propNo: string;
|
|
43
|
+
}
|
|
44
|
+
export interface ProductCertification {
|
|
45
|
+
date: string;
|
|
46
|
+
no: CertificationNo;
|
|
47
|
+
code: string;
|
|
48
|
+
organization: string;
|
|
49
|
+
type: string;
|
|
50
|
+
target: string;
|
|
51
|
+
}
|
|
52
|
+
export interface ProductStickerInfo {
|
|
53
|
+
name: string;
|
|
54
|
+
label: string;
|
|
55
|
+
type: ProductStickerType;
|
|
56
|
+
}
|
|
57
|
+
export interface ProductShippingInfo {
|
|
58
|
+
shippingConfig: ProductShippingConfig;
|
|
59
|
+
shippingAvailable: boolean;
|
|
60
|
+
}
|
|
61
|
+
export interface ProductShippingConfig {
|
|
62
|
+
templateNo: number;
|
|
63
|
+
shippingAreaPartnerNo: number;
|
|
64
|
+
shippingAreaType: ShippingAreaType;
|
|
65
|
+
internationalShippingAvailable: boolean;
|
|
66
|
+
combinable: boolean;
|
|
67
|
+
}
|
|
68
|
+
export interface ProductStock {
|
|
69
|
+
saleCnt: number;
|
|
70
|
+
mainStockCnt: number;
|
|
71
|
+
stockCnt: number;
|
|
72
|
+
}
|
|
73
|
+
export interface ProductBrand {
|
|
74
|
+
nameType: BrandNameType;
|
|
75
|
+
name: string;
|
|
76
|
+
nameEn: string;
|
|
77
|
+
brandNo: number;
|
|
78
|
+
logoImageUrl: URLString;
|
|
79
|
+
}
|
|
80
|
+
export interface ProductLimitation {
|
|
81
|
+
minBuyCnt: number;
|
|
82
|
+
maxBuyTimeCnt: number;
|
|
83
|
+
maxBuyDays: number;
|
|
84
|
+
maxBuyPeriodCnt: number;
|
|
85
|
+
maxBuyPersonCnt: number;
|
|
86
|
+
refundable: boolean;
|
|
87
|
+
naverPayHandling: boolean;
|
|
88
|
+
memberOnly: boolean;
|
|
89
|
+
canAddToCart: boolean;
|
|
90
|
+
}
|
|
91
|
+
export interface ProductRegularDelivery {
|
|
92
|
+
discount: ProductDiscount;
|
|
93
|
+
}
|
|
94
|
+
export interface ProductDiscount {
|
|
95
|
+
type: DiscountUnitType;
|
|
96
|
+
value: number;
|
|
97
|
+
}
|
|
98
|
+
export interface ProductCounter {
|
|
99
|
+
myInquiryCnt: number;
|
|
100
|
+
inquiryCnt: number;
|
|
101
|
+
likeCnt: number;
|
|
102
|
+
reviewCnt: number;
|
|
103
|
+
}
|
|
104
|
+
export interface ProductPartnerNotice {
|
|
105
|
+
title: string;
|
|
106
|
+
content: string;
|
|
107
|
+
}
|
|
108
|
+
export interface ProductStatus {
|
|
109
|
+
productClassType: ProductClassType;
|
|
110
|
+
display: boolean;
|
|
111
|
+
soldout: boolean;
|
|
112
|
+
saleStatusType: SaleStatus;
|
|
113
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../types/domain/product/core/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
export declare const CERTIFICATION_NO_MAP: {
|
|
2
|
+
1: string;
|
|
3
|
+
2: string;
|
|
4
|
+
3: string;
|
|
5
|
+
4: string;
|
|
6
|
+
5: string;
|
|
7
|
+
6: string;
|
|
8
|
+
7: string;
|
|
9
|
+
8: string;
|
|
10
|
+
9: string;
|
|
11
|
+
10: string;
|
|
12
|
+
11: string;
|
|
13
|
+
12: string;
|
|
14
|
+
13: string;
|
|
15
|
+
14: string;
|
|
16
|
+
15: string;
|
|
17
|
+
16: string;
|
|
18
|
+
17: string;
|
|
19
|
+
18: string;
|
|
20
|
+
19: string;
|
|
21
|
+
20: string;
|
|
22
|
+
21: string;
|
|
23
|
+
22: string;
|
|
24
|
+
23: string;
|
|
25
|
+
24: string;
|
|
26
|
+
25: string;
|
|
27
|
+
26: string;
|
|
28
|
+
27: string;
|
|
29
|
+
28: string;
|
|
30
|
+
29: string;
|
|
31
|
+
30: string;
|
|
32
|
+
31: string;
|
|
33
|
+
32: string;
|
|
34
|
+
33: string;
|
|
35
|
+
};
|
|
36
|
+
export declare const BRAND_NAME_TYPE_MAP: {
|
|
37
|
+
NAME_KO: string;
|
|
38
|
+
NAME_EN: string;
|
|
39
|
+
NONE: string;
|
|
40
|
+
};
|
|
41
|
+
export declare const PRODUCT_CLASS_TYPE_MAP: {
|
|
42
|
+
DEFAULT: string;
|
|
43
|
+
EVENT: string;
|
|
44
|
+
OFFLINE: string;
|
|
45
|
+
RENTAL: string;
|
|
46
|
+
};
|
|
47
|
+
export declare const SALE_STATUS_MAP: {
|
|
48
|
+
READY: string;
|
|
49
|
+
ONSALE: string;
|
|
50
|
+
FINISHED: string;
|
|
51
|
+
STOP: string;
|
|
52
|
+
PROHIBITION: string;
|
|
53
|
+
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
export var CERTIFICATION_NO_MAP = {
|
|
2
|
+
1: '공산품 안전인증공산품 안전인증',
|
|
3
|
+
2: '공산품 자율안전확인',
|
|
4
|
+
3: '공산품 어린이보호포장',
|
|
5
|
+
4: '공산품 안전품질표기',
|
|
6
|
+
5: '전기용품 안전인증',
|
|
7
|
+
6: '전기용품 자율안전확인',
|
|
8
|
+
7: '전기용품 공급자적합성',
|
|
9
|
+
8: '방송통신기자재 적합인증',
|
|
10
|
+
9: '방송통신기자재 적합등록',
|
|
11
|
+
10: '방송통신기자재 잠정인증',
|
|
12
|
+
11: '어린이제품 안전인증',
|
|
13
|
+
12: '어린이제품 안전확인',
|
|
14
|
+
13: '어린이제품 공급자적합성 확인',
|
|
15
|
+
14: '친환경농산물인증 - 유기농산물',
|
|
16
|
+
15: '친환경농산물인증 - 유기농축산물',
|
|
17
|
+
16: '친환경농산물인증 - 무농약농산물',
|
|
18
|
+
17: '친환경농산물인증 - 무항생제축산물',
|
|
19
|
+
18: '친환경농산물인증 - 저농약농산물',
|
|
20
|
+
19: '농산물우수관리인증(GAP)',
|
|
21
|
+
20: '이력추적관리농산물',
|
|
22
|
+
21: '가공식품산업표준KS인증',
|
|
23
|
+
22: '전통식품품질인증',
|
|
24
|
+
23: '유기가공식품인증',
|
|
25
|
+
24: '수산물품질인증',
|
|
26
|
+
25: '수산특산품질인증',
|
|
27
|
+
26: '수산전통식품품질인증',
|
|
28
|
+
27: 'HACCP',
|
|
29
|
+
28: '축산물등급판정확인서',
|
|
30
|
+
29: '도축검사증명서',
|
|
31
|
+
30: 'GMP - 우수건강기능식품제조기준',
|
|
32
|
+
31: '건강기능식품 광고사전심의',
|
|
33
|
+
32: '술품질인증 - 가형',
|
|
34
|
+
33: '술품질인증 - 나형',
|
|
35
|
+
};
|
|
36
|
+
export var BRAND_NAME_TYPE_MAP = {
|
|
37
|
+
NAME_KO: '한글',
|
|
38
|
+
NAME_EN: '영문',
|
|
39
|
+
NONE: '없음',
|
|
40
|
+
};
|
|
41
|
+
export var PRODUCT_CLASS_TYPE_MAP = {
|
|
42
|
+
DEFAULT: '일반상품',
|
|
43
|
+
EVENT: '이벤트상품',
|
|
44
|
+
OFFLINE: '오프라인상품',
|
|
45
|
+
RENTAL: '렌탈상품',
|
|
46
|
+
};
|
|
47
|
+
export var SALE_STATUS_MAP = {
|
|
48
|
+
READY: '판매대기',
|
|
49
|
+
ONSALE: '판매중',
|
|
50
|
+
FINISHED: '판매종료',
|
|
51
|
+
STOP: '판매중지',
|
|
52
|
+
PROHIBITION: '판매금지',
|
|
53
|
+
};
|
|
54
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../types/domain/product/core/maps/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAM,oBAAoB,GAAG;IAClC,CAAC,EAAE,kBAAkB;IACrB,CAAC,EAAE,YAAY;IACf,CAAC,EAAE,aAAa;IAChB,CAAC,EAAE,YAAY;IACf,CAAC,EAAE,WAAW;IACd,CAAC,EAAE,aAAa;IAChB,CAAC,EAAE,aAAa;IAChB,CAAC,EAAE,cAAc;IACjB,CAAC,EAAE,cAAc;IACjB,EAAE,EAAE,cAAc;IAClB,EAAE,EAAE,YAAY;IAChB,EAAE,EAAE,YAAY;IAChB,EAAE,EAAE,iBAAiB;IACrB,EAAE,EAAE,kBAAkB;IACtB,EAAE,EAAE,mBAAmB;IACvB,EAAE,EAAE,mBAAmB;IACvB,EAAE,EAAE,oBAAoB;IACxB,EAAE,EAAE,mBAAmB;IACvB,EAAE,EAAE,gBAAgB;IACpB,EAAE,EAAE,WAAW;IACf,EAAE,EAAE,cAAc;IAClB,EAAE,EAAE,UAAU;IACd,EAAE,EAAE,UAAU;IACd,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,UAAU;IACd,EAAE,EAAE,YAAY;IAChB,EAAE,EAAE,OAAO;IACX,EAAE,EAAE,YAAY;IAChB,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,oBAAoB;IACxB,EAAE,EAAE,eAAe;IACnB,EAAE,EAAE,YAAY;IAChB,EAAE,EAAE,YAAY;CACjB,CAAC;AAEF,MAAM,CAAC,IAAM,mBAAmB,GAAG;IACjC,OAAO,EAAE,IAAI;IACb,OAAO,EAAE,IAAI;IACb,IAAI,EAAE,IAAI;CACX,CAAC;AAEF,MAAM,CAAC,IAAM,sBAAsB,GAAG;IACpC,OAAO,EAAE,MAAM;IACf,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,QAAQ;IACjB,MAAM,EAAE,MAAM;CACf,CAAC;AAEF,MAAM,CAAC,IAAM,eAAe,GAAG;IAC7B,KAAK,EAAE,MAAM;IACb,MAAM,EAAE,KAAK;IACb,QAAQ,EAAE,MAAM;IAChB,IAAI,EAAE,MAAM;IACZ,WAAW,EAAE,MAAM;CACpB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BRAND_NAME_TYPE_MAP, CERTIFICATION_NO_MAP, PRODUCT_CLASS_TYPE_MAP, SALE_STATUS_MAP } from '../maps';
|
|
2
|
+
export declare type ProductType = 'DEFAULT' | 'EVENT' | 'OFFLINE' | 'RENTAL';
|
|
3
|
+
export declare type ProductCertificationType = 'TARGET' | 'NOT_TARGET' | 'DETAIL_PAGE';
|
|
4
|
+
export declare type ProductSalePeriodType = 'REGULAR' | 'PERIOD';
|
|
5
|
+
export declare type ProductStickerType = 'TEXT' | 'IMAGE';
|
|
6
|
+
export declare type ProductGroup = 'DELIVERY' | 'SERVICE';
|
|
7
|
+
export declare type ProductSaleMethodType = 'PURCHASE' | 'CONSIGNMENT';
|
|
8
|
+
export declare type BrandNameType = keyof typeof BRAND_NAME_TYPE_MAP;
|
|
9
|
+
export declare type CertificationNo = keyof typeof CERTIFICATION_NO_MAP;
|
|
10
|
+
export declare type ProductClassType = keyof typeof PRODUCT_CLASS_TYPE_MAP;
|
|
11
|
+
export declare type SaleStatus = keyof typeof SALE_STATUS_MAP;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../types/domain/product/core/unions/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { CountryCode, Period, Week, Yn } from '../../../common';
|
|
2
|
+
import { DeliveryCondition, DeliveryType } from './unions';
|
|
3
|
+
export interface ProductDeliveryDate {
|
|
4
|
+
period: Period;
|
|
5
|
+
daysOfWeek: Week;
|
|
6
|
+
daysAfterPurchase: number;
|
|
7
|
+
}
|
|
8
|
+
export interface ProductDeliveryFee {
|
|
9
|
+
deliveryConditionType: DeliveryCondition;
|
|
10
|
+
aboveDeliveryAmt: number;
|
|
11
|
+
deliveryCompanyTypeLabel: string;
|
|
12
|
+
deliveryType: DeliveryType;
|
|
13
|
+
deliveryCompanyType: string;
|
|
14
|
+
defaultDeliveryConditionLabel: string;
|
|
15
|
+
remoteDeliveryAreaFees: RemoteDeliveryAreaFees;
|
|
16
|
+
deliveryAmtLabels: string[];
|
|
17
|
+
deliveryAmt: number;
|
|
18
|
+
deliveryPrePayment: boolean;
|
|
19
|
+
deliveryConditionDetails: DeliveryConditionDetail[];
|
|
20
|
+
perOrderCnt: number;
|
|
21
|
+
deliveryCustomerInfo: string;
|
|
22
|
+
returnDeliveryAmt: number;
|
|
23
|
+
returnWarehouse: ReturnWarehouse;
|
|
24
|
+
}
|
|
25
|
+
export interface RemoteDeliveryAreaFees {
|
|
26
|
+
address: string;
|
|
27
|
+
extraDeliveryAmt: number;
|
|
28
|
+
}
|
|
29
|
+
export interface DeliveryConditionDetail {
|
|
30
|
+
deliveryAmt: number;
|
|
31
|
+
below: number;
|
|
32
|
+
aboveOrEqual: number;
|
|
33
|
+
}
|
|
34
|
+
export interface ReturnWarehouse {
|
|
35
|
+
warehouseAddressType: 'ADDRESS' | 'SUBSTITUTION';
|
|
36
|
+
partnerNo: number;
|
|
37
|
+
addressStr: string;
|
|
38
|
+
address: string;
|
|
39
|
+
defaultReleaseWarehouseYn: Yn;
|
|
40
|
+
countryCd: CountryCode;
|
|
41
|
+
defaultReturnWarehouseYn: Yn;
|
|
42
|
+
detailAddress: string;
|
|
43
|
+
zipCd: string;
|
|
44
|
+
warehouseName: string;
|
|
45
|
+
warehouseNo: number;
|
|
46
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../types/domain/product/delivery/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const DELIVERY_CONDITION_TYPE_MAP: {
|
|
2
|
+
FREE: string;
|
|
3
|
+
CONDITIONAL: string;
|
|
4
|
+
FIXED_FEE: string;
|
|
5
|
+
QUANTITY_PROPOSITIONAL_FEE: string;
|
|
6
|
+
PRICE_FEE: string;
|
|
7
|
+
QUANTITY_FEE: string;
|
|
8
|
+
};
|
|
9
|
+
export declare const DELIVERY_TYPE_MAP: {
|
|
10
|
+
PARCEL_DELIVERY: string;
|
|
11
|
+
DIRECT_DELIVERY: string;
|
|
12
|
+
};
|