@shopby/shop-sdk 1.63.17 → 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
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.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
|
+
|
|
5
19
|
### [1.63.17](https://gitlab.e-ncp.com/ncp-client/shop-sdk/compare/v1.63.16...v1.63.17) (2023-09-15)
|
|
6
20
|
|
|
7
21
|
|
|
@@ -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"}
|
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>>;
|
|
@@ -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
|
+
}
|