@shopby/shop-sdk 1.63.15 → 1.63.17
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/CHANGELOG.md +14 -0
- package/build/src/domain/product/index.d.ts +2 -1
- package/build/src/domain/product/index.js +7 -0
- package/build/src/domain/product/index.js.map +1 -1
- package/build/src/index.d.ts +1 -0
- package/build/types/domain/order/index.d.ts +15 -0
- package/build/types/domain/product/index.d.ts +5 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [1.63.17](https://gitlab.e-ncp.com/ncp-client/shop-sdk/compare/v1.63.16...v1.63.17) (2023-09-15)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* 네이버 쇼핑 설정정보 조회 api 추가 ([1efd080](https://gitlab.e-ncp.com/ncp-client/shop-sdk/commit/1efd0809094d7d93d8be10f3e9a1fda169c8dbd9))
|
|
11
|
+
|
|
12
|
+
### [1.63.16](https://gitlab.e-ncp.com/ncp-client/shop-sdk/compare/v1.63.15...v1.63.16) (2023-09-12)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* 주문서 조회 시 필수 약관 및 추가 약관 동의 항목 리스트 타입 추가 ([6212c14](https://gitlab.e-ncp.com/ncp-client/shop-sdk/commit/6212c1413f5e91203099bdfeb5804aabbca9c540))
|
|
18
|
+
|
|
5
19
|
### [1.63.15](https://gitlab.e-ncp.com/ncp-client/shop-sdk/compare/v1.63.14...v1.63.15) (2023-09-08)
|
|
6
20
|
|
|
7
21
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GetGuestRecentProductsRequest, GetGuestRecentProductsResponse, GetProductsProductNoOptionsRequest, GetProductsProductNoOptionsResponse, GetProductsProductNoRelatedProductsRequest, GetProductsProductNoRelatedProductsResponse, GetProductsProductNoRequest, GetProductsProductNoResponse, GetProductsSearchRequest, GetProductsSearchResponse, GetProfileLikeProductsCountResponse, GetProfileLikeProductsRequest, GetProfileLikeProductsResponse, PostProfileLikeProductsRequest, PostProfileLikeProductsResponse, PostProfileRecentProductsRequest, GetAdditionalDiscountsByProductNoRequest, GetAdditionalDiscountsByProductNoResponse } 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 } from '../../../types/domain/product';
|
|
2
2
|
import { ResponseData } from '../../../types/http';
|
|
3
3
|
declare const product: (httpRequest: Function) => {
|
|
4
4
|
/**
|
|
@@ -39,5 +39,6 @@ declare const product: (httpRequest: Function) => {
|
|
|
39
39
|
getShopbyProductsDisplay(request: any): Promise<ResponseData<any>>;
|
|
40
40
|
getShopbyProductsProductNoUrlShortening(request: any): Promise<ResponseData<any>>;
|
|
41
41
|
getAdditionalDiscountsByProductNo(request: GetAdditionalDiscountsByProductNoRequest): Promise<ResponseData<GetAdditionalDiscountsByProductNoResponse>>;
|
|
42
|
+
getProductsConfigurationNaverShopping(): Promise<ProductsConfigurationNaverShopping>;
|
|
42
43
|
};
|
|
43
44
|
export default product;
|
|
@@ -215,6 +215,13 @@ var product = function (httpRequest) { return ({
|
|
|
215
215
|
useAccessToken: useAccessToken,
|
|
216
216
|
});
|
|
217
217
|
},
|
|
218
|
+
getProductsConfigurationNaverShopping: function () {
|
|
219
|
+
return httpRequest({
|
|
220
|
+
method: 'GET',
|
|
221
|
+
url: '/products/configuration/naver-shopping',
|
|
222
|
+
key: 'getProductsConfigurationNaverShopping',
|
|
223
|
+
});
|
|
224
|
+
},
|
|
218
225
|
}); };
|
|
219
226
|
export default product;
|
|
220
227
|
//# sourceMappingURL=index.js.map
|
|
@@ -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":"AAuBA,IAAM,OAAO,GAAG,UAAC,WAAqB,IAAK,OAAA,CAAC;IAC1C;;OAEG;IACH,gBAAgB,EAAhB,UAAiB,OAAY;QACnB,IAAA,WAAW,GAAK,OAAO,YAAZ,CAAa;QAEhC,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;QAEhB,IAAA,OAAO,GACrB,OAAO,qBADc,CACb;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,sBAAsB,EAAtB,UACE,OAAsC;QAE9B,IAAA,WAAW,GAAK,OAAO,YAAZ,CAAa;QAEhC,OAAO,WAAW,CAAC;YACjB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,wBAAwB;YAC7B,WAAW,aAAA;YACX,GAAG,EAAE,wBAAwB;SAC9B,CAAC,CAAC;IACL,CAAC;IACD,iBAAiB,EAAjB,UACE,OAAiC;QAE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Option, customHttpRequest, versio
|
|
|
273
273
|
getShopbyProductsDisplay(request: any): Promise<import("../types/http").ResponseData<any>>;
|
|
274
274
|
getShopbyProductsProductNoUrlShortening(request: any): Promise<import("../types/http").ResponseData<any>>;
|
|
275
275
|
getAdditionalDiscountsByProductNo(request: import("../types").GetAdditionalDiscountsByProductNoRequest): Promise<import("../types/http").ResponseData<import("../types").GetAdditionalDiscountsByProductNoResponse>>;
|
|
276
|
+
getProductsConfigurationNaverShopping(): Promise<import("../types").ProductsConfigurationNaverShopping>;
|
|
276
277
|
};
|
|
277
278
|
promotion: {
|
|
278
279
|
getCoupons(request: import("../types").GetCouponsRequest): Promise<import("../types/http").ResponseData<import("../types").GetCouponsResponse>>;
|
|
@@ -225,6 +225,19 @@ export interface GetOrderSheetsOrderSheetNoRequest extends OptionalAccessTokenRe
|
|
|
225
225
|
includeMemberAddress?: boolean;
|
|
226
226
|
};
|
|
227
227
|
}
|
|
228
|
+
export interface OrderSheetTermsInfo {
|
|
229
|
+
contents: string;
|
|
230
|
+
termsName: string;
|
|
231
|
+
termsType: TermsType[];
|
|
232
|
+
termsNo: number;
|
|
233
|
+
}
|
|
234
|
+
export interface OrderSheetCustomTermsInfo {
|
|
235
|
+
customTermsNo: number;
|
|
236
|
+
contents: string;
|
|
237
|
+
termsName: string;
|
|
238
|
+
required: boolean;
|
|
239
|
+
termsNameEng: string;
|
|
240
|
+
}
|
|
228
241
|
export interface GetOrderSheetsOrderSheetNoResponse {
|
|
229
242
|
rentalInfos: Omit<RentalInfo, 'creditRating'>[];
|
|
230
243
|
deliveryGroups: DeliveryGroup[];
|
|
@@ -248,6 +261,8 @@ export interface GetOrderSheetsOrderSheetNoResponse {
|
|
|
248
261
|
orderSheetAddress: OrderSheetAddress;
|
|
249
262
|
paymentInfo: PaymentInfo;
|
|
250
263
|
foreignPartners: ForeignPartner[];
|
|
264
|
+
termsInfos: OrderSheetTermsInfo[];
|
|
265
|
+
customTermsInfos: OrderSheetCustomTermsInfo[];
|
|
251
266
|
}
|
|
252
267
|
export interface ForeignPartner {
|
|
253
268
|
partnerName: string;
|
|
@@ -348,3 +348,8 @@ export interface GetAdditionalDiscountsByProductNoResponse {
|
|
|
348
348
|
isQuantityDiscount: boolean;
|
|
349
349
|
maxSalePrice: Nullable<number>;
|
|
350
350
|
}
|
|
351
|
+
export interface ProductsConfigurationNaverShopping {
|
|
352
|
+
supportsNaverShopping: boolean;
|
|
353
|
+
agreedToCollectingCPAOrder: boolean;
|
|
354
|
+
authenticationKey: string;
|
|
355
|
+
}
|