@shopby/shop-sdk 1.63.16 → 1.63.19
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 +21 -0
- package/build/src/domain/admin/index.d.ts +2 -1
- package/build/src/domain/admin/index.js +7 -0
- package/build/src/domain/admin/index.js.map +1 -1
- 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 +2 -0
- package/build/types/domain/admin/index.d.ts +10 -0
- package/build/types/domain/product/index.d.ts +5 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,27 @@
|
|
|
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.19](https://gitlab.e-ncp.com/ncp-client/shop-sdk/compare/v1.63.18...v1.63.19) (2023-09-18)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* 다국어 리턴 type 변경 ([2d0a735](https://gitlab.e-ncp.com/ncp-client/shop-sdk/commit/2d0a735fe7855dd67dea788515aebc7a4c8b1cc9))
|
|
11
|
+
|
|
12
|
+
### [1.63.18](https://gitlab.e-ncp.com/ncp-client/shop-sdk/compare/v1.63.17...v1.63.18) (2023-09-18)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* 현재 몰의 다국어, 환율 설정 조회 api 추가 ([0b44622](https://gitlab.e-ncp.com/ncp-client/shop-sdk/commit/0b44622613a1f5ae49ca057ca2b8e4c171a569ef))
|
|
18
|
+
|
|
19
|
+
### [1.63.17](https://gitlab.e-ncp.com/ncp-client/shop-sdk/compare/v1.63.16...v1.63.17) (2023-09-15)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Bug Fixes
|
|
23
|
+
|
|
24
|
+
* 네이버 쇼핑 설정정보 조회 api 추가 ([1efd080](https://gitlab.e-ncp.com/ncp-client/shop-sdk/commit/1efd0809094d7d93d8be10f3e9a1fda169c8dbd9))
|
|
25
|
+
|
|
5
26
|
### [1.63.16](https://gitlab.e-ncp.com/ncp-client/shop-sdk/compare/v1.63.15...v1.63.16) (2023-09-12)
|
|
6
27
|
|
|
7
28
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ResponseData } from '../../../types/http';
|
|
2
|
-
import { Mall, MallsPartnersResponse, MallsSslResponse } from '../../../types/domain/admin';
|
|
2
|
+
import { Mall, MallsInternationalization, MallsPartnersResponse, MallsSslResponse } from '../../../types/domain/admin';
|
|
3
3
|
declare const admin: (httpRequest: Function) => {
|
|
4
4
|
/**
|
|
5
5
|
* Mall
|
|
@@ -7,5 +7,6 @@ declare const admin: (httpRequest: Function) => {
|
|
|
7
7
|
getMalls(): Promise<ResponseData<Mall>>;
|
|
8
8
|
getMallsPartners(): Promise<ResponseData<MallsPartnersResponse[]>>;
|
|
9
9
|
getMallsSsl(): Promise<ResponseData<MallsSslResponse[]>>;
|
|
10
|
+
getMallsInternationalization(): Promise<ResponseData<MallsInternationalization>>;
|
|
10
11
|
};
|
|
11
12
|
export default admin;
|
|
@@ -23,6 +23,13 @@ var admin = function (httpRequest) { return ({
|
|
|
23
23
|
key: 'getMallsSsl',
|
|
24
24
|
});
|
|
25
25
|
},
|
|
26
|
+
getMallsInternationalization: function () {
|
|
27
|
+
return httpRequest({
|
|
28
|
+
method: 'GET',
|
|
29
|
+
url: '/malls/internationalization',
|
|
30
|
+
key: 'getMallsInternationalization',
|
|
31
|
+
});
|
|
32
|
+
},
|
|
26
33
|
}); };
|
|
27
34
|
export default admin;
|
|
28
35
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/domain/admin/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/domain/admin/index.ts"],"names":[],"mappings":"AAQA,IAAM,KAAK,GAAG,UAAC,WAAqB,IAAK,OAAA,CAAC;IACxC;;OAEG;IACH,QAAQ,EAAR;QACE,OAAO,WAAW,CAAC;YACjB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,QAAQ;YACb,GAAG,EAAE,UAAU;SAChB,CAAC,CAAC;IACL,CAAC;IACD,gBAAgB,EAAhB;QACE,OAAO,WAAW,CAAC;YACjB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,iBAAiB;YACtB,GAAG,EAAE,kBAAkB;SACxB,CAAC,CAAC;IACL,CAAC;IACD,WAAW,EAAX;QACE,OAAO,WAAW,CAAC;YACjB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,YAAY;YACjB,GAAG,EAAE,aAAa;SACnB,CAAC,CAAC;IACL,CAAC;IACD,4BAA4B,EAA5B;QAGE,OAAO,WAAW,CAAC;YACjB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,6BAA6B;YAClC,GAAG,EAAE,8BAA8B;SACpC,CAAC,CAAC;IACL,CAAC;CACF,CAAC,EAlCuC,CAkCvC,CAAC;AAEH,eAAe,KAAK,CAAC"}
|
|
@@ -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;QAEzB,IAAA,WAAW,GAAqB,OAAO,YAA5B,EAAE,cAAc,GAAK,OAAO,eAAZ,CAAa;QAEhD,OAAO,WAAW,CAAC;YACjB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,kBAAkB;YACvB,WAAW,aAAA;YACX,GAAG,EAAE,mBAAmB;YACxB,cAAc,gBAAA;SACf,CAAC,CAAC;IACL,CAAC;IACD,2BAA2B,EAA3B,UAA4B,OAAY;QAC9B,IAAA,WAAW,GAAK,OAAO,YAAZ,CAAa;QAEhC,OAAO,WAAW,CAAC;YACjB,MAAM,EAAE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jB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,0BAA0B;YAC/B,GAAG,EAAE,0BAA0B;SAChC,CAAC,CAAC;IACL,CAAC;IACD,uCAAuC,EAAvC,UACE,OAAY;QAGM,IAAA,SAAS,GACvB,OAAO,uBADgB,CACf;QAEZ,OAAO,WAAW,CAAC;YACjB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,2BAAoB,SAAS,oBAAiB;YACnD,GAAG,EAAE,yCAAyC;SAC/C,CAAC,CAAC;IACL,CAAC;IACD,iCAAiC,EAAjC,UACE,OAAiD;QAEzC,IAAA,WAAW,GAAqB,OAAO,YAA5B,EAAE,cAAc,GAAK,OAAO,eAAZ,CAAa;QAEhD,OAAO,WAAW,CAAC;YACjB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,qCAAqC;YAC1C,GAAG,EAAE,mCAAmC;YACxC,WAAW,aAAA;YACX,cAAc,gBAAA;SACf,CAAC,CAAC;IACL,CAAC;IACD,qCAAqC,EAArC;QACE,OAAO,WAAW,CAAC;YACjB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,wCAAwC;YAC7C,GAAG,EAAE,uCAAuC;SAC7C,CAAC,CAAC;IACL,CAAC;CACF,CAAC,EAjSyC,CAiSzC,CAAC;AAEH,eAAe,OAAO,CAAC"}
|
package/build/src/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export declare const create: ({ baseURL, headerOption, customHttpRequest, versio
|
|
|
4
4
|
getMalls(): Promise<import("../types/http").ResponseData<import("../types").Mall>>;
|
|
5
5
|
getMallsPartners(): Promise<import("../types/http").ResponseData<import("../types").MallsPartnersResponse[]>>;
|
|
6
6
|
getMallsSsl(): Promise<import("../types/http").ResponseData<import("../types").MallsSslResponse[]>>;
|
|
7
|
+
getMallsInternationalization(): Promise<import("../types/http").ResponseData<import("../types").MallsInternationalization>>;
|
|
7
8
|
};
|
|
8
9
|
auth: {
|
|
9
10
|
getAuthentications(request: import("../types").GetAuthenticationsRequest): Promise<import("../types/http").ResponseData<void>>;
|
|
@@ -273,6 +274,7 @@ export declare const create: ({ baseURL, headerOption, customHttpRequest, versio
|
|
|
273
274
|
getShopbyProductsDisplay(request: any): Promise<import("../types/http").ResponseData<any>>;
|
|
274
275
|
getShopbyProductsProductNoUrlShortening(request: any): Promise<import("../types/http").ResponseData<any>>;
|
|
275
276
|
getAdditionalDiscountsByProductNo(request: import("../types").GetAdditionalDiscountsByProductNoRequest): Promise<import("../types/http").ResponseData<import("../types").GetAdditionalDiscountsByProductNoResponse>>;
|
|
277
|
+
getProductsConfigurationNaverShopping(): Promise<import("../types").ProductsConfigurationNaverShopping>;
|
|
276
278
|
};
|
|
277
279
|
promotion: {
|
|
278
280
|
getCoupons(request: import("../types").GetCouponsRequest): Promise<import("../types/http").ResponseData<import("../types").GetCouponsResponse>>;
|
|
@@ -293,3 +293,13 @@ export interface MallsSslResponse {
|
|
|
293
293
|
domain: string;
|
|
294
294
|
trustSeal: string;
|
|
295
295
|
}
|
|
296
|
+
export declare type MallLanguagesType = 'KO' | 'EN' | 'JA' | 'ZH-CN';
|
|
297
|
+
export declare type ExchangeType = 'KRW' | 'USD' | 'JPY' | 'CNY';
|
|
298
|
+
export interface MallCurrenciesInfo {
|
|
299
|
+
exchangeTo: ExchangeType;
|
|
300
|
+
exchangeRate: string;
|
|
301
|
+
}
|
|
302
|
+
export interface MallsInternationalization {
|
|
303
|
+
languages: MallLanguagesType[];
|
|
304
|
+
currencies: MallCurrenciesInfo[];
|
|
305
|
+
}
|
|
@@ -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
|
+
}
|