@shopby/shop-sdk 1.78.62 → 1.78.63
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/domain/product/index.d.ts +6 -1
- package/build/src/domain/product/index.js +20 -0
- package/build/src/domain/product/index.js.map +1 -1
- package/build/src/index.d.ts +2 -0
- package/build/types/domain/order/index.d.ts +14 -2
- package/build/types/domain/order/index.js.map +1 -1
- package/build/types/domain/order/unions.d.ts +1 -0
- package/build/types/domain/product/core/index.d.ts +25 -3
- package/build/types/domain/product/core/unions/index.d.ts +1 -0
- package/build/types/domain/product/index.d.ts +18 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GetGuestRecentProductsRequest, GetGuestRecentProductsResponse, GetProductsProductNoOptionsRequest, GetProductsProductNoOptionsResponse, GetProductsProductNoRelatedProductsRequest, GetProductsProductNoRelatedProductsResponse, GetProductsProductNoRequest, GetProductsProductNoResponse, GetProductsSearchRequest, GetProductsSearchResponse, GetProfileLikeProductsCountResponse, GetProfileLikeProductsRequest, GetProfileLikeProductsResponse, PostProfileLikeProductsRequest, PostProfileLikeProductsResponse, PostProfileRecentProductsRequest, GetAdditionalDiscountsByProductNoRequest, GetAdditionalDiscountsByProductNoResponse, ProductsConfigurationNaverShopping, PostProductsSearchByNosRequest, GetProductsSearchSummaryRequest, GetProductsSearchSummaryResponse, GetProductsExtraInfoRequest, GetProductsExtraInfoResponse, PostProductsRestockRequest } from '../../../types/domain/product';
|
|
1
|
+
import { GetGuestRecentProductsRequest, GetGuestRecentProductsResponse, GetProductsProductNoOptionsRequest, GetProductsProductNoOptionsResponse, GetProductsProductNoRelatedProductsRequest, GetProductsProductNoRelatedProductsResponse, GetProductsProductNoRequest, GetProductsProductNoResponse, GetProductsSearchRequest, GetProductsSearchResponse, GetProfileLikeProductsCountResponse, GetProfileLikeProductsRequest, GetProfileLikeProductsResponse, PostProfileLikeProductsRequest, PostProfileLikeProductsResponse, PostProfileRecentProductsRequest, GetAdditionalDiscountsByProductNoRequest, GetAdditionalDiscountsByProductNoResponse, ProductsConfigurationNaverShopping, PostProductsSearchByNosRequest, GetProductsSearchSummaryRequest, GetProductsSearchSummaryResponse, GetProductsExtraInfoRequest, GetProductsExtraInfoResponse, PostProductsRestockRequest, GetFreeGiftConditionOrderAmountRequest, GetFreeGiftConditionProductNoRequest, GetFreeGiftConditionProductNoResponse, GetFreeGiftConditionOrderAmountResponse } from '../../../types/domain/product';
|
|
2
2
|
import { ResponseData } from '../../../types/http';
|
|
3
3
|
declare const product: (httpRequest: Function) => {
|
|
4
4
|
/**
|
|
@@ -6,6 +6,11 @@ declare const product: (httpRequest: Function) => {
|
|
|
6
6
|
*/
|
|
7
7
|
getDisplayBrands(request: any): Promise<ResponseData<any>>;
|
|
8
8
|
getDisplayBrandsBrandNo(request: any): Promise<ResponseData<any>>;
|
|
9
|
+
/**
|
|
10
|
+
* Free Gift
|
|
11
|
+
*/
|
|
12
|
+
getFreeGiftConditionOrderAmount(request: GetFreeGiftConditionOrderAmountRequest): Promise<ResponseData<GetFreeGiftConditionOrderAmountResponse>>;
|
|
13
|
+
getFreeGiftConditionProductNo(request: GetFreeGiftConditionProductNoRequest): Promise<ResponseData<GetFreeGiftConditionProductNoResponse>>;
|
|
9
14
|
/**
|
|
10
15
|
* Products
|
|
11
16
|
*/
|
|
@@ -19,6 +19,26 @@ var product = function (httpRequest) { return ({
|
|
|
19
19
|
key: 'getDisplayBrandsBrandNo',
|
|
20
20
|
});
|
|
21
21
|
},
|
|
22
|
+
/**
|
|
23
|
+
* Free Gift
|
|
24
|
+
*/
|
|
25
|
+
getFreeGiftConditionOrderAmount: function (request) {
|
|
26
|
+
var queryString = request.queryString;
|
|
27
|
+
return httpRequest({
|
|
28
|
+
method: 'GET',
|
|
29
|
+
url: '/free-gift-condition/order-amount',
|
|
30
|
+
queryString: queryString,
|
|
31
|
+
key: 'getFreeGiftConditionOrderAmount',
|
|
32
|
+
});
|
|
33
|
+
},
|
|
34
|
+
getFreeGiftConditionProductNo: function (request) {
|
|
35
|
+
var productNo = request.pathVariable.productNo;
|
|
36
|
+
return httpRequest({
|
|
37
|
+
method: 'GET',
|
|
38
|
+
url: "/free-gift-condition/".concat(productNo),
|
|
39
|
+
key: 'getFreeGiftConditionProductNo',
|
|
40
|
+
});
|
|
41
|
+
},
|
|
22
42
|
/**
|
|
23
43
|
* Products
|
|
24
44
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/domain/product/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/domain/product/index.ts"],"names":[],"mappings":"AAiCA,IAAM,OAAO,GAAG,UAAC,WAAqB,IAAK,OAAA,CAAC;IAC1C;;OAEG;IACH,gBAAgB,EAAhB,UAAiB,OAAY;QACpB,IAAA,WAAW,GAAI,OAAO,YAAX,CAAY;QAE9B,OAAO,WAAW,CAAC;YACjB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,iBAAiB;YACtB,WAAW,aAAA;YACX,GAAG,EAAE,kBAAkB;SACxB,CAAC,CAAC;IACL,CAAC;IACD,uBAAuB,EAAvB,UAAwB,OAAY;QAEjB,IAAA,OAAO,GACpB,OAAO,qBADa,CACZ;QAEZ,OAAO,WAAW,CAAC;YACjB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,0BAAmB,OAAO,CAAE;YACjC,GAAG,EAAE,yBAAyB;SAC/B,CAAC,CAAC;IACL,CAAC;IACD;;OAEG;IACH,+BAA+B,EAA/B,UACE,OAA+C;QAExC,IAAA,WAAW,GAAI,OAAO,YAAX,CAAY;QAE9B,OAAO,WAAW,CAAC;YACjB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,mCAAmC;YACxC,WAAW,aAAA;YACX,GAAG,EAAE,iCAAiC;SACvC,CAAC,CAAC;IACL,CAAC;IACD,6BAA6B,EAA7B,UACE,OA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;YACjB,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,yBAAyB;YAC9B,GAAG,EAAE,wBAAwB;YAC7B,WAAW,aAAA;YACX,cAAc,gBAAA;SACf,CAAC,CAAC;IACL,CAAC;IAED,oBAAoB,EAApB,UACE,OAAoC;QAE7B,IAAA,WAAW,GAAoB,OAAO,YAA3B,EAAE,cAAc,GAAI,OAAO,eAAX,CAAY;QAE9C,OAAO,WAAW,CAAC;YACjB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,qBAAqB;YAC1B,GAAG,EAAE,sBAAsB;YAC3B,WAAW,aAAA;YACX,cAAc,gBAAA;SACf,CAAC,CAAC;IACL,CAAC;CACF,CAAC,EA3XyC,CA2XzC,CAAC;AAEH,eAAe,OAAO,CAAC"}
|
package/build/src/index.d.ts
CHANGED
|
@@ -306,6 +306,8 @@ export declare const create: ({ baseURL, headerOption, customHttpRequest, versio
|
|
|
306
306
|
product: {
|
|
307
307
|
getDisplayBrands(request: any): Promise<import("../types/http").ResponseData<any>>;
|
|
308
308
|
getDisplayBrandsBrandNo(request: any): Promise<import("../types/http").ResponseData<any>>;
|
|
309
|
+
getFreeGiftConditionOrderAmount(request: import("../types").GetFreeGiftConditionOrderAmountRequest): Promise<import("../types/http").ResponseData<import("../types").GetFreeGiftConditionOrderAmountResponse>>;
|
|
310
|
+
getFreeGiftConditionProductNo(request: import("../types").GetFreeGiftConditionProductNoRequest): Promise<import("../types/http").ResponseData<import("../types").GetFreeGiftConditionProductNoResponse>>;
|
|
309
311
|
getGuestRecentProducts(request: import("../types").GetGuestRecentProductsRequest): Promise<any>;
|
|
310
312
|
getProductsSearch(request: import("../types").GetProductsSearchRequest): Promise<import("../types/http").ResponseData<import("../types").GetProductsSearchResponse>>;
|
|
311
313
|
getProductsSearchSummary(request: import("../types").GetProductsSearchSummaryRequest): Promise<import("../types/http").ResponseData<import("../types").GetProductsSearchSummaryResponse>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AgreementType, CountryCode, Week, Yn, DateYmdt, DateYmd, PhoneNumberString, NumberString, Nullable, PartiallyRequired } from '../../common';
|
|
2
|
-
import { ActionGroupType, AddressType, CashReceiptIssuePurposeType, DefaultOrderStatusType, DeliveryCompanyType, DeliveryConditionType, DeliveryPayType, DeliveryType, GroupDeliveryAmtType, OrderChannelType, OrderOptionType, OrderRequestType, PayType, PgType, ReceiptType, RecurringCycle, RecurringCycleType, ShippingAreaType, TaxType, Bank, BankLabel, Card, CouponTargetType, CouponType, PreviousOrderSearchType, CouponSubType } from './unions';
|
|
2
|
+
import { ActionGroupType, AddressType, CashReceiptIssuePurposeType, DefaultOrderStatusType, DeliveryCompanyType, DeliveryConditionType, DeliveryPayType, DeliveryType, GroupDeliveryAmtType, OrderChannelType, OrderOptionType, OrderRequestType, PayType, PgType, ReceiptType, RecurringCycle, RecurringCycleType, ShippingAreaType, TaxType, Bank, BankLabel, Card, CouponTargetType, CouponType, PreviousOrderSearchType, CouponSubType, FreeGiftOptionCountType } from './unions';
|
|
3
3
|
import { ClaimClassType, ClaimStatusType, ClaimTypeWithNone, NextActionType, RefundType, ReturnWayType } from '../claim/unions';
|
|
4
4
|
import { ClaimAddress, ClaimReasonTypeInfo, ExchangePayInfo } from '../../domain/claim';
|
|
5
5
|
import { OptionalAccessTokenRequest, ResponseData } from '../../http';
|
|
@@ -370,10 +370,16 @@ export interface FreeGiftInfo {
|
|
|
370
370
|
giveStartYmdt: string;
|
|
371
371
|
giveEndYmdt: string;
|
|
372
372
|
giveConditionName: string;
|
|
373
|
+
freeGiftConditionNo: number;
|
|
374
|
+
freeGiftOptionCountType: FreeGiftOptionCountType;
|
|
375
|
+
freeGiftOptionCount: Nullable<number>;
|
|
373
376
|
}
|
|
374
377
|
export interface FreeGift {
|
|
378
|
+
mallOptionNo: number;
|
|
375
379
|
optionValue: string;
|
|
376
380
|
optionName: string;
|
|
381
|
+
mallProductNo: number;
|
|
382
|
+
mallProductMainImageUrl: string;
|
|
377
383
|
productName: string;
|
|
378
384
|
}
|
|
379
385
|
export interface TradeBankAccountInfo {
|
|
@@ -507,6 +513,7 @@ export interface PostOrderSheetsOrderSheetNoCalculateResponse {
|
|
|
507
513
|
appliedCoupons: Nullable<AppliedCoupon>;
|
|
508
514
|
availablePayTypes: PayType[];
|
|
509
515
|
paymentInfo: PaymentInfo;
|
|
516
|
+
freeGiftInfos: FreeGiftInfo[];
|
|
510
517
|
}
|
|
511
518
|
export interface CouponRequest {
|
|
512
519
|
productCoupons?: ProductCouponWithProductNo[];
|
|
@@ -587,7 +594,7 @@ export interface PostOrderSheetsOrderSheetNoCouponsApplyRequest {
|
|
|
587
594
|
};
|
|
588
595
|
requestBody: CouponRequest;
|
|
589
596
|
}
|
|
590
|
-
export declare type PostOrderSheetsOrderSheetNoCouponsApplyResponse = Pick<GetOrderSheetsOrderSheetNoResponse, 'deliveryGroups' | 'appliedCoupons' | 'availablePayTypes' | 'paymentInfo'>;
|
|
597
|
+
export declare type PostOrderSheetsOrderSheetNoCouponsApplyResponse = Pick<GetOrderSheetsOrderSheetNoResponse, 'deliveryGroups' | 'appliedCoupons' | 'availablePayTypes' | 'paymentInfo' | 'freeGiftInfos' | 'internationalPaymentInfo'>;
|
|
591
598
|
/**
|
|
592
599
|
* path: /order-sheets/{orderSheetNo}/coupons/calculate
|
|
593
600
|
*/
|
|
@@ -630,6 +637,10 @@ export interface AgreementTermsAgree {
|
|
|
630
637
|
isAgree: boolean;
|
|
631
638
|
termsType: TermsType;
|
|
632
639
|
}
|
|
640
|
+
export interface UpdateFreeGiftInfo {
|
|
641
|
+
freeGiftConditionNo: number;
|
|
642
|
+
freeGifts: Pick<FreeGift, 'mallOptionNo' | 'mallProductNo'>[];
|
|
643
|
+
}
|
|
633
644
|
export interface PostPaymentsReserveRequest extends OptionalAccessTokenRequest {
|
|
634
645
|
requestBody: {
|
|
635
646
|
clientParams?: {
|
|
@@ -667,6 +678,7 @@ export interface PostPaymentsReserveRequest extends OptionalAccessTokenRequest {
|
|
|
667
678
|
agreementTypes?: TermsType[];
|
|
668
679
|
agreementTermsAgrees?: AgreementTermsAgree[];
|
|
669
680
|
appCardInfo?: Nullable<UpdateAppCardCardInfo>;
|
|
681
|
+
freeGiftInfos?: Nullable<UpdateFreeGiftInfo[]>;
|
|
670
682
|
};
|
|
671
683
|
}
|
|
672
684
|
export interface PostPaymentsReserveResponse {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../types/domain/order/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../types/domain/order/index.ts"],"names":[],"mappings":"AA6DA,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC"}
|
|
@@ -27,3 +27,4 @@ export declare type CouponTargetType = 'ALL_PRODUCT' | 'PRODUCT' | 'BRAND' | 'CA
|
|
|
27
27
|
export declare type CouponType = keyof typeof COUPON_TYPE_MAP;
|
|
28
28
|
export declare type CouponSubType = 'CART' | 'DELIVERY_DEFAULT' | 'DELIVERY_ALL' | 'NONE';
|
|
29
29
|
export declare type PreviousOrderSearchType = keyof typeof PREVIOUS_ORDER_SEARCH_TYPE_MAP;
|
|
30
|
+
export declare type FreeGiftOptionCountType = 'ALL' | 'SELECT';
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { DateYmdt, HTMLString, JSONString, URLString, Yn } from '../../../common';
|
|
2
|
-
import { ProductType, ProductCertificationType, ProductStickerType, ProductSalePeriodType, ProductGroup, BrandNameType, CertificationNo, ProductClassType, SaleStatus } from './unions';
|
|
1
|
+
import { DateYmdt, HTMLString, JSONString, Nullable, URLString, Yn } from '../../../common';
|
|
2
|
+
import { ProductType, ProductCertificationType, ProductStickerType, ProductSalePeriodType, ProductGroup, BrandNameType, CertificationNo, ProductClassType, SaleStatus, LimitedMemberType } from './unions';
|
|
3
3
|
import { DiscountUnitType } from '../amount/unions';
|
|
4
|
-
import { ShippingAreaType } from '../../order/unions';
|
|
4
|
+
import { FreeGiftOptionCountType, ShippingAreaType } from '../../order/unions';
|
|
5
|
+
import { FreeGift } from 'types/domain';
|
|
5
6
|
export interface ImageUrlInfo {
|
|
6
7
|
type: string;
|
|
7
8
|
url: string;
|
|
@@ -117,3 +118,24 @@ export interface ProductStatus {
|
|
|
117
118
|
soldout: boolean;
|
|
118
119
|
saleStatusType: SaleStatus;
|
|
119
120
|
}
|
|
121
|
+
export interface LimitedMember {
|
|
122
|
+
memberGrade: number;
|
|
123
|
+
memberGroup: number;
|
|
124
|
+
}
|
|
125
|
+
export interface ProductFreeGiftCondition {
|
|
126
|
+
limitedMemberType: LimitedMemberType;
|
|
127
|
+
giveStartDateTime: string;
|
|
128
|
+
freeGifts: Omit<FreeGift, 'mallProductMainImageUrl' | 'mallOptionNo' | 'mallProductNo'> & {
|
|
129
|
+
imageUrl: string;
|
|
130
|
+
optionNo: number;
|
|
131
|
+
productNo: number;
|
|
132
|
+
}[];
|
|
133
|
+
giveConditionExplain: string;
|
|
134
|
+
limitedMember: LimitedMember;
|
|
135
|
+
upperPrice: number;
|
|
136
|
+
giveEndDateTime: string;
|
|
137
|
+
giveConditionNo: number;
|
|
138
|
+
giveConditionName: string;
|
|
139
|
+
freeGiftOptionCountType: FreeGiftOptionCountType;
|
|
140
|
+
freeGiftOptionCount: Nullable<number>;
|
|
141
|
+
}
|
|
@@ -9,3 +9,4 @@ export declare type BrandNameType = keyof typeof BRAND_NAME_TYPE_MAP;
|
|
|
9
9
|
export declare type CertificationNo = keyof typeof CERTIFICATION_NO_MAP;
|
|
10
10
|
export declare type ProductClassType = keyof typeof PRODUCT_CLASS_TYPE_MAP;
|
|
11
11
|
export declare type SaleStatus = keyof typeof SALE_STATUS_MAP;
|
|
12
|
+
export declare type LimitedMemberType = 'ALL' | 'MEMBER' | 'TARGET';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DiscountUnit } from './amount/unions';
|
|
2
|
-
import { ProductStickerInfo } from './core/index';
|
|
2
|
+
import { ProductFreeGiftCondition, ProductStickerInfo } from './core/index';
|
|
3
3
|
import { ShippingAreaType, DeliveryConditionType } from './../order/unions';
|
|
4
4
|
import { BrandNameType, ProductSalePeriodType, ProductType, SaleStatus } from './core/unions/index';
|
|
5
5
|
import { OptionalAccessTokenRequest, RequestConfig } from '../../http';
|
|
@@ -87,6 +87,23 @@ export interface GetProductsProductNoOptionsResponse {
|
|
|
87
87
|
immediateDiscountAmt: number;
|
|
88
88
|
isRequiredOption?: boolean;
|
|
89
89
|
}
|
|
90
|
+
export interface GetFreeGiftConditionOrderAmountRequest {
|
|
91
|
+
queryString: {
|
|
92
|
+
orderAmt?: number;
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
export interface GetFreeGiftConditionOrderAmountResponse {
|
|
96
|
+
freeGiftConditions: ProductFreeGiftCondition[];
|
|
97
|
+
totalCount: number;
|
|
98
|
+
}
|
|
99
|
+
export interface GetFreeGiftConditionProductNoRequest {
|
|
100
|
+
pathVariable: {
|
|
101
|
+
productNo: number;
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
export interface GetFreeGiftConditionProductNoResponse {
|
|
105
|
+
freeGiftCondition: ProductFreeGiftCondition;
|
|
106
|
+
}
|
|
90
107
|
export interface GetGuestRecentProductsRequest {
|
|
91
108
|
queryString: {
|
|
92
109
|
mallProductNos: string;
|