@shopby/shop-sdk 1.78.65 → 1.78.66
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.
|
@@ -3,7 +3,7 @@ import { ProductFreeGiftCondition, ProductStickerInfo } from './core/index';
|
|
|
3
3
|
import { ShippingAreaType, DeliveryConditionType, PayType } from './../order/unions';
|
|
4
4
|
import { BrandNameType, ProductSalePeriodType, ProductType, SaleStatus } from './core/unions/index';
|
|
5
5
|
import { OptionalAccessTokenRequest, RequestConfig } from '../../http';
|
|
6
|
-
import { OptionSelectType, OptionType } from './option/unions';
|
|
6
|
+
import { OptionInputMatchingType, OptionSelectType, OptionType } from './option/unions';
|
|
7
7
|
import { ProductFlatOption, ProductMultiLevelOption, ProductOptionInput } from './option';
|
|
8
8
|
import { ProductReservation } from './reservation';
|
|
9
9
|
import { RentalInfo } from './rental';
|
|
@@ -348,19 +348,29 @@ export interface Price {
|
|
|
348
348
|
additionalDiscountInfo: AdditionalDiscountInfo;
|
|
349
349
|
}
|
|
350
350
|
export interface ExtraProductOption {
|
|
351
|
+
isRequiredOption: boolean;
|
|
351
352
|
optionNo: number;
|
|
352
353
|
optionName: string;
|
|
353
354
|
optionValue: string;
|
|
354
355
|
addPrice: number;
|
|
355
356
|
stockCnt: number;
|
|
356
357
|
}
|
|
358
|
+
export interface ExtraProductInput {
|
|
359
|
+
inputMatchingType: OptionInputMatchingType;
|
|
360
|
+
inputLabel: string;
|
|
361
|
+
required: boolean;
|
|
362
|
+
inputNo: number;
|
|
363
|
+
}
|
|
357
364
|
export interface ExtraProduct {
|
|
358
365
|
productNo: number;
|
|
366
|
+
productName: string;
|
|
359
367
|
price: Price;
|
|
360
368
|
paymentMeans: PayType[];
|
|
361
369
|
imageUrl: string;
|
|
362
370
|
minorPurchaseYn: Yn;
|
|
371
|
+
optionType: OptionType;
|
|
363
372
|
options: ExtraProductOption[];
|
|
373
|
+
inputs: ExtraProductInput[];
|
|
364
374
|
}
|
|
365
375
|
export declare type GetProductsProductNoExtraProductResponse = Array<ExtraProduct>;
|
|
366
376
|
export declare type StickerType = 'IMAGE' | 'TEXT';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../types/domain/product/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../types/domain/product/index.ts"],"names":[],"mappings":"AAmDA,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC"}
|