@shopby/shop-sdk 1.78.66 → 1.78.68
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.
|
@@ -347,7 +347,7 @@ export interface Price {
|
|
|
347
347
|
couponDiscountInfo: CouponDiscountInfo;
|
|
348
348
|
additionalDiscountInfo: AdditionalDiscountInfo;
|
|
349
349
|
}
|
|
350
|
-
export interface
|
|
350
|
+
export interface ExtraProductFlatOption {
|
|
351
351
|
isRequiredOption: boolean;
|
|
352
352
|
optionNo: number;
|
|
353
353
|
optionName: string;
|
|
@@ -355,12 +355,27 @@ export interface ExtraProductOption {
|
|
|
355
355
|
addPrice: number;
|
|
356
356
|
stockCnt: number;
|
|
357
357
|
}
|
|
358
|
+
export interface ExtraProductMultiLevelOptionBase {
|
|
359
|
+
label: string;
|
|
360
|
+
value: string;
|
|
361
|
+
isRequiredOption: boolean;
|
|
362
|
+
}
|
|
363
|
+
export interface ExtraProductMultiLevelOption extends ExtraProductMultiLevelOptionBase {
|
|
364
|
+
children: ExtraProductMultiLevelOption[] | null;
|
|
365
|
+
}
|
|
358
366
|
export interface ExtraProductInput {
|
|
359
367
|
inputMatchingType: OptionInputMatchingType;
|
|
360
368
|
inputLabel: string;
|
|
361
369
|
required: boolean;
|
|
362
370
|
inputNo: number;
|
|
363
371
|
}
|
|
372
|
+
export interface ExtraProductOptionInfo {
|
|
373
|
+
optionType: OptionType;
|
|
374
|
+
optionSelectType: OptionSelectType;
|
|
375
|
+
flatOptions: ExtraProductFlatOption[];
|
|
376
|
+
multiOptions: ExtraProductMultiLevelOption[];
|
|
377
|
+
inputs: ExtraProductInput[];
|
|
378
|
+
}
|
|
364
379
|
export interface ExtraProduct {
|
|
365
380
|
productNo: number;
|
|
366
381
|
productName: string;
|
|
@@ -368,11 +383,12 @@ export interface ExtraProduct {
|
|
|
368
383
|
paymentMeans: PayType[];
|
|
369
384
|
imageUrl: string;
|
|
370
385
|
minorPurchaseYn: Yn;
|
|
371
|
-
|
|
372
|
-
options: ExtraProductOption[];
|
|
373
|
-
inputs: ExtraProductInput[];
|
|
386
|
+
optionInfo: ExtraProductOptionInfo;
|
|
374
387
|
}
|
|
375
|
-
export declare type GetProductsProductNoExtraProductResponse =
|
|
388
|
+
export declare type GetProductsProductNoExtraProductResponse = {
|
|
389
|
+
extraProductTitle: string;
|
|
390
|
+
extraProducts: Array<ExtraProduct>;
|
|
391
|
+
};
|
|
376
392
|
export declare type StickerType = 'IMAGE' | 'TEXT';
|
|
377
393
|
export declare type Sticker = {
|
|
378
394
|
type: StickerType;
|