@shopby/shop-sdk 1.40.5 → 1.41.0
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 +7 -0
- package/build/src/domain/manage/index.d.ts +5 -5
- package/build/src/domain/manage/index.js +6 -3
- package/build/src/domain/manage/index.js.map +1 -1
- package/build/src/domain/manage/maps/board.d.ts +11 -0
- package/build/src/domain/manage/maps/board.js +12 -0
- package/build/src/domain/manage/maps/board.js.map +1 -0
- package/build/src/domain/manage/maps/index.d.ts +1 -0
- package/build/src/domain/manage/maps/index.js +1 -0
- package/build/src/domain/manage/maps/index.js.map +1 -1
- package/build/src/index.d.ts +4 -4
- package/build/types/domain/manage/index.d.ts +139 -101
- package/build/types/domain/manage/index.js.map +1 -1
- package/build/types/domain/manage/unions.d.ts +3 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
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.41.0](https://gitlab.e-ncp.com/ncp-client/shop-sdk/compare/v1.40.5...v1.41.0) (2023-02-11)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* manage boards api 스펙에 맞게 업데이트 ([d4f71ce](https://gitlab.e-ncp.com/ncp-client/shop-sdk/commit/d4f71ce9b7e584f81e6375232e8035eea2a0980e))
|
|
11
|
+
|
|
5
12
|
### [1.40.5](https://gitlab.e-ncp.com/ncp-client/shop-sdk/compare/v1.40.4...v1.40.5) (2023-02-11)
|
|
6
13
|
|
|
7
14
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { GetBoardsConfigurationsResponse, DeleteBoardsBoardNoArticlesArticleNoRequest, GetBoardsBoardNoArticlesArticleNoRequest, GetBoardsBoardNoArticlesArticleNoResponse, GetBoardsBoardNoArticlesRequest, GetBoardsBoardNoArticlesResponse, PageScriptsRequest, PageScriptsResponse, PostBoardsBoardNoArticlesRequest, PostInquiriesRequest, GetInquiriesRequest, GetInquiriesResponse, PostInquiriesResponse, PutInquiresInquiryNoRequest, GetInquiriesInquiryNoRequest, DeleteInquiriesInquiryNoRequest, GetInquiriesInquiryNoResponse, GetProfileAccumulationsRequest, GetProfileAccumulationsResponse, GetProfileAccumulationsSummaryRequest, GetProfileAccumulationsSummaryResponse, GetTermsRequest, GetTermsResponse, PostTermsRequest, PostTermsResponse, GetTermsHistoryRequest, GetTermsHistoryResponse, GetTermsTermsNoRequest, GetTermsTermsNoResponse, GetAddressesSearchRequest, GetAddressesSearchResponse, GetBoardsBoardNoCategoriesRequest, GetBoardsBoardNoCategoriesResponse, PutBoardsBoardNoArticlesArticleNoRequest, PutBoardsBoardNoArticlesArticleNoEditableRequest } from '../../../types';
|
|
2
2
|
import { ResponseData } from '../../../types/http';
|
|
3
3
|
declare const manage: (httpRequest: Function) => {
|
|
4
4
|
/**
|
|
@@ -8,14 +8,14 @@ declare const manage: (httpRequest: Function) => {
|
|
|
8
8
|
/**
|
|
9
9
|
* Board
|
|
10
10
|
*/
|
|
11
|
-
getBoardsConfig(): Promise<ResponseData<
|
|
11
|
+
getBoardsConfig(): Promise<ResponseData<GetBoardsConfigurationsResponse>>;
|
|
12
12
|
getBoardsBoardNoArticles(request: GetBoardsBoardNoArticlesRequest): Promise<ResponseData<GetBoardsBoardNoArticlesResponse>>;
|
|
13
13
|
postBoardsBoardNoArticles(request: PostBoardsBoardNoArticlesRequest): Promise<ResponseData<void>>;
|
|
14
|
-
getBoardsBoardNoCategories(request:
|
|
14
|
+
getBoardsBoardNoCategories(request: GetBoardsBoardNoCategoriesRequest): Promise<ResponseData<GetBoardsBoardNoCategoriesResponse>>;
|
|
15
15
|
getBoardsBoardNoArticlesArticleNo(request: GetBoardsBoardNoArticlesArticleNoRequest): Promise<ResponseData<GetBoardsBoardNoArticlesArticleNoResponse>>;
|
|
16
|
-
putBoardsBoardNoArticlesArticleNo(request:
|
|
16
|
+
putBoardsBoardNoArticlesArticleNo(request: PutBoardsBoardNoArticlesArticleNoRequest): Promise<ResponseData<void>>;
|
|
17
17
|
deleteBoardsBoardNoArticlesArticleNo(request: DeleteBoardsBoardNoArticlesArticleNoRequest): Promise<ResponseData<void>>;
|
|
18
|
-
putBoardsBoardNoArticlesArticleNoEditable(request:
|
|
18
|
+
putBoardsBoardNoArticlesArticleNoEditable(request: PutBoardsBoardNoArticlesArticleNoEditableRequest): Promise<ResponseData<void>>;
|
|
19
19
|
/**
|
|
20
20
|
* Holiday
|
|
21
21
|
*/
|
|
@@ -31,11 +31,12 @@ var manage = function (httpRequest) { return ({
|
|
|
31
31
|
});
|
|
32
32
|
},
|
|
33
33
|
postBoardsBoardNoArticles: function (request) {
|
|
34
|
-
var boardNo = request.pathVariable.boardNo, requestBody = request.requestBody;
|
|
34
|
+
var boardNo = request.pathVariable.boardNo, requestBody = request.requestBody, useAccessToken = request.useAccessToken;
|
|
35
35
|
return httpRequest({
|
|
36
36
|
method: 'POST',
|
|
37
37
|
url: "/boards/".concat(boardNo, "/articles"),
|
|
38
38
|
requestBody: requestBody,
|
|
39
|
+
useAccessToken: useAccessToken,
|
|
39
40
|
key: 'postBoardsBoardNoArticles',
|
|
40
41
|
});
|
|
41
42
|
},
|
|
@@ -58,12 +59,13 @@ var manage = function (httpRequest) { return ({
|
|
|
58
59
|
});
|
|
59
60
|
},
|
|
60
61
|
putBoardsBoardNoArticlesArticleNo: function (request) {
|
|
61
|
-
var _a = request.pathVariable, boardNo = _a.boardNo, articleNo = _a.articleNo, requestBody = request.requestBody;
|
|
62
|
+
var _a = request.pathVariable, boardNo = _a.boardNo, articleNo = _a.articleNo, requestBody = request.requestBody, useAccessToken = request.useAccessToken;
|
|
62
63
|
return httpRequest({
|
|
63
64
|
method: 'PUT',
|
|
64
65
|
url: "/boards/".concat(boardNo, "/articles/").concat(articleNo),
|
|
65
66
|
requestBody: requestBody,
|
|
66
67
|
key: 'putBoardsBoardNoArticlesArticleNo',
|
|
68
|
+
useAccessToken: useAccessToken,
|
|
67
69
|
});
|
|
68
70
|
},
|
|
69
71
|
deleteBoardsBoardNoArticlesArticleNo: function (request) {
|
|
@@ -77,12 +79,13 @@ var manage = function (httpRequest) { return ({
|
|
|
77
79
|
});
|
|
78
80
|
},
|
|
79
81
|
putBoardsBoardNoArticlesArticleNoEditable: function (request) {
|
|
80
|
-
var _a = request.pathVariable, boardNo = _a.boardNo, articleNo = _a.articleNo, requestBody = request.requestBody;
|
|
82
|
+
var _a = request.pathVariable, boardNo = _a.boardNo, articleNo = _a.articleNo, requestBody = request.requestBody, useAccessToken = request.useAccessToken;
|
|
81
83
|
return httpRequest({
|
|
82
84
|
method: 'PUT',
|
|
83
85
|
url: "/boards/".concat(boardNo, "/articles/").concat(articleNo, "/editable"),
|
|
84
86
|
requestBody: requestBody,
|
|
85
87
|
key: 'putBoardsBoardNoArticlesArticleNoEditable',
|
|
88
|
+
useAccessToken: useAccessToken
|
|
86
89
|
});
|
|
87
90
|
},
|
|
88
91
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/domain/manage/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/domain/manage/index.ts"],"names":[],"mappings":"AAuCA,IAAM,MAAM,GAAG,UAAC,WAAqB,IAAK,OAAA,CAAC;IACzC;;OAEG;IACH,kBAAkB,EAAlB,UAAmB,EAES;YAD1B,WAAW,iBAAA;QAIX,OAAO,WAAW,CAAC;YACjB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,mBAAmB;YACxB,WAAW,aAAA;YACX,GAAG,EAAE,oBAAoB;SAC1B,CAAC,CAAC;IACL,CAAC;IACD;;OAEG;IACH,eAAe,EAAf;QACE,OAAO,WAAW,CAAC;YACjB,MAAM,EAAE,KA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;AAEH,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const IMAGE_DISPLAY_TYPE: {
|
|
2
|
+
readonly ATTACHMENT: "첨부파일";
|
|
3
|
+
readonly PRODUCT: "상품이미지";
|
|
4
|
+
readonly NOT_USED: "사용안함";
|
|
5
|
+
};
|
|
6
|
+
export declare const BOARD_DISPLAY_TYPE: {
|
|
7
|
+
readonly LIST: "리스트형";
|
|
8
|
+
readonly CARD: "카드형";
|
|
9
|
+
readonly REPLY: "댓글형";
|
|
10
|
+
readonly INQUIRY: "문의형";
|
|
11
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"board.js","sourceRoot":"","sources":["../../../../../src/domain/manage/maps/board.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAM,kBAAkB,GAAG;IAChC,UAAU,EAAE,MAAM;IAClB,OAAO,EAAE,OAAO;IAChB,QAAQ,EAAE,MAAM;CACR,CAAC;AAEX,MAAM,CAAC,IAAM,kBAAkB,GAAG;IAChC,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,KAAK;IACX,KAAK,EAAE,KAAK;IACZ,OAAO,EAAE,KAAK;CACN,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/manage/maps/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AAExB,MAAM,CAAC,IAAM,iBAAiB,GAAG;IAC7B,KAAK,EAAE,KAAK;IACZ,MAAM,EAAE,IAAI;IACZ,KAAK,EAAE,KAAK;CACf,CAAA;AAED,MAAM,CAAC,IAAM,sBAAsB,GAAG;IAClC,GAAG,EAAE,IAAI;IACT,KAAK,EAAE,IAAI;IACX,OAAO,EAAE,IAAI;IACb,MAAM,EAAE,KAAK;CAChB,CAAA;AAED,MAAM,CAAC,IAAM,aAAa,GAAG;IACzB,GAAG,EAAE,MAAM;IACX,IAAI,EAAE,OAAO;CAChB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/manage/maps/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AAExB,MAAM,CAAC,IAAM,iBAAiB,GAAG;IAC7B,KAAK,EAAE,KAAK;IACZ,MAAM,EAAE,IAAI;IACZ,KAAK,EAAE,KAAK;CACf,CAAA;AAED,MAAM,CAAC,IAAM,sBAAsB,GAAG;IAClC,GAAG,EAAE,IAAI;IACT,KAAK,EAAE,IAAI;IACX,OAAO,EAAE,IAAI;IACb,MAAM,EAAE,KAAK;CAChB,CAAA;AAED,MAAM,CAAC,IAAM,aAAa,GAAG;IACzB,GAAG,EAAE,MAAM;IACX,IAAI,EAAE,OAAO;CAChB,CAAA"}
|
package/build/src/index.d.ts
CHANGED
|
@@ -144,14 +144,14 @@ export declare const create: ({ baseURL, headerOption, customHttpRequest, versio
|
|
|
144
144
|
};
|
|
145
145
|
manage: {
|
|
146
146
|
getAddressesSearch({ queryString, }: import("../types").GetAddressesSearchRequest): Promise<import("../types/http").ResponseData<import("../types").GetAddressesSearchResponse>>;
|
|
147
|
-
getBoardsConfig(): Promise<import("../types/http").ResponseData<import("../types").
|
|
147
|
+
getBoardsConfig(): Promise<import("../types/http").ResponseData<import("../types").GetBoardsConfigurationsResponse>>;
|
|
148
148
|
getBoardsBoardNoArticles(request: import("../types").GetBoardsBoardNoArticlesRequest): Promise<import("../types/http").ResponseData<import("../types").GetBoardsBoardNoArticlesResponse>>;
|
|
149
149
|
postBoardsBoardNoArticles(request: import("../types").PostBoardsBoardNoArticlesRequest): Promise<import("../types/http").ResponseData<void>>;
|
|
150
|
-
getBoardsBoardNoCategories(request:
|
|
150
|
+
getBoardsBoardNoCategories(request: import("../types").GetBoardsBoardNoCategoriesRequest): Promise<import("../types/http").ResponseData<import("../types").GetBoardsBoardNoCategoriesResponse>>;
|
|
151
151
|
getBoardsBoardNoArticlesArticleNo(request: import("../types").GetBoardsBoardNoArticlesArticleNoRequest): Promise<import("../types/http").ResponseData<import("../types").GetBoardsBoardNoArticlesArticleNoResponse>>;
|
|
152
|
-
putBoardsBoardNoArticlesArticleNo(request:
|
|
152
|
+
putBoardsBoardNoArticlesArticleNo(request: import("../types").PutBoardsBoardNoArticlesArticleNoRequest): Promise<import("../types/http").ResponseData<void>>;
|
|
153
153
|
deleteBoardsBoardNoArticlesArticleNo(request: import("../types").DeleteBoardsBoardNoArticlesArticleNoRequest): Promise<import("../types/http").ResponseData<void>>;
|
|
154
|
-
putBoardsBoardNoArticlesArticleNoEditable(request:
|
|
154
|
+
putBoardsBoardNoArticlesArticleNoEditable(request: import("../types").PutBoardsBoardNoArticlesArticleNoEditableRequest): Promise<import("../types/http").ResponseData<void>>;
|
|
155
155
|
getHoliday(request: any): Promise<number[]>;
|
|
156
156
|
getInquiries(request: import("../types").GetInquiriesRequest): Promise<import("../types/http").ResponseData<import("../types").GetInquiriesResponse>>;
|
|
157
157
|
postInquiries(request: import("../types").PostInquiriesRequest): Promise<import("../types/http").ResponseData<import("../types").PostInquiriesResponse>>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { RequestConfig } from '../../http';
|
|
2
2
|
import { InquiryStatus, PageType, InquirySearchType } from '../../common/unions';
|
|
3
|
-
import { DateYmd, DateYmdt } from '../../common';
|
|
3
|
+
import { DateYmd, DateYmdt, Nullable } from '../../common';
|
|
4
4
|
import { AccumulationReasonType, ProfileAccumulationsItems } from './accumulation';
|
|
5
5
|
import { OptionalAccessTokenRequest } from '../../http';
|
|
6
|
-
import { ManageSearchType, DirectionType, RegisterType, ModifierType, TermsType } from './unions';
|
|
6
|
+
import { ManageSearchType, DirectionType, RegisterType, ModifierType, TermsType, ImageDisplayType, BoardDisplayType } from './unions';
|
|
7
7
|
export * from './unions';
|
|
8
8
|
export * from './accumulation';
|
|
9
9
|
export interface PostBoardsBoardNoArticlesRequest {
|
|
@@ -13,15 +13,56 @@ export interface PostBoardsBoardNoArticlesRequest {
|
|
|
13
13
|
requestBody: {
|
|
14
14
|
articleTitle: string;
|
|
15
15
|
articleContent: string;
|
|
16
|
-
guestName
|
|
17
|
-
images:
|
|
18
|
-
originalFileName: string;
|
|
19
|
-
uploadedFileName: string;
|
|
20
|
-
}[];
|
|
16
|
+
guestName?: string;
|
|
17
|
+
images: Array<BoardImageFile>;
|
|
21
18
|
parentBoardArticleNo?: string;
|
|
22
19
|
password: string;
|
|
23
20
|
secreted: boolean;
|
|
21
|
+
imageUrls: string[];
|
|
22
|
+
boardCategoryNo: number;
|
|
23
|
+
thumbnailUrl: string;
|
|
24
|
+
tags: Nullable<Array<string>>;
|
|
25
|
+
};
|
|
26
|
+
useAccessToken?: boolean;
|
|
27
|
+
}
|
|
28
|
+
export interface GetBoardsBoardNoCategoriesRequest {
|
|
29
|
+
pathVariable: {
|
|
30
|
+
boardNo: string;
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export declare type GetBoardsBoardNoCategoriesResponse = Array<{
|
|
34
|
+
categoryNo: number;
|
|
35
|
+
label: string;
|
|
36
|
+
}>;
|
|
37
|
+
export declare type BoardImageFile = Record<'originalFileName' | 'uploadedFileName', string>;
|
|
38
|
+
export interface PutBoardsBoardNoArticlesArticleNoRequest {
|
|
39
|
+
pathVariable: {
|
|
40
|
+
boardNo: string;
|
|
41
|
+
articleNo: string;
|
|
42
|
+
};
|
|
43
|
+
requestBody: {
|
|
44
|
+
images: Array<BoardImageFile>;
|
|
45
|
+
password: string;
|
|
46
|
+
articleTitle: string;
|
|
47
|
+
imageUrls: Array<string>;
|
|
48
|
+
articleContent: string;
|
|
49
|
+
boardCategoryNo: number;
|
|
50
|
+
secreted: boolean;
|
|
51
|
+
thumbnailUrl: string;
|
|
52
|
+
tags: Nullable<Array<string>>;
|
|
53
|
+
guestName: string;
|
|
54
|
+
};
|
|
55
|
+
useAccessToken?: boolean;
|
|
56
|
+
}
|
|
57
|
+
export interface PutBoardsBoardNoArticlesArticleNoEditableRequest {
|
|
58
|
+
pathVariable: {
|
|
59
|
+
boardNo: string;
|
|
60
|
+
articleNo: string;
|
|
61
|
+
};
|
|
62
|
+
requestBody: {
|
|
63
|
+
password: Nullable<string>;
|
|
24
64
|
};
|
|
65
|
+
useAccessToken?: boolean;
|
|
25
66
|
}
|
|
26
67
|
export interface GetAddressesSearchRequest {
|
|
27
68
|
queryString: {
|
|
@@ -79,6 +120,7 @@ export interface GetBoardsBoardNoArticlesRequest extends RequestConfig {
|
|
|
79
120
|
endYmd?: string;
|
|
80
121
|
withReplied?: boolean;
|
|
81
122
|
direction?: DirectionType;
|
|
123
|
+
isMine?: boolean;
|
|
82
124
|
};
|
|
83
125
|
}
|
|
84
126
|
export interface GetBoardsBoardNoArticlesResponse {
|
|
@@ -86,23 +128,24 @@ export interface GetBoardsBoardNoArticlesResponse {
|
|
|
86
128
|
items: BoardsBoardNoArticlesItem[];
|
|
87
129
|
}
|
|
88
130
|
export interface BoardsBoardNoArticlesItem {
|
|
89
|
-
modifierNo
|
|
131
|
+
modifierNo: Nullable<number>;
|
|
90
132
|
replied: boolean;
|
|
91
|
-
modifyYmdt: string
|
|
133
|
+
modifyYmdt: Nullable<string>;
|
|
92
134
|
categoryLabel: string;
|
|
93
135
|
registerType: RegisterType;
|
|
94
136
|
title: string;
|
|
95
137
|
secreted: boolean;
|
|
96
|
-
modifierType
|
|
138
|
+
modifierType: Nullable<ModifierType>;
|
|
97
139
|
articleNo: number;
|
|
98
|
-
|
|
140
|
+
tags: Array<string>;
|
|
141
|
+
registerNo: Nullable<number>;
|
|
99
142
|
repliedCnt: number;
|
|
100
143
|
recommendCount: number;
|
|
101
144
|
viewCnt: number;
|
|
102
145
|
imageUrl: string;
|
|
103
146
|
attached: boolean;
|
|
104
147
|
categoryNo: number;
|
|
105
|
-
modifierName
|
|
148
|
+
modifierName: Nullable<string>;
|
|
106
149
|
registerName: string;
|
|
107
150
|
notice: boolean;
|
|
108
151
|
registerYmdt: string;
|
|
@@ -124,6 +167,7 @@ export interface GetBoardsBoardNoArticlesArticleNoRequest extends RequestConfig
|
|
|
124
167
|
};
|
|
125
168
|
queryString?: {
|
|
126
169
|
password?: string;
|
|
170
|
+
withReplied?: boolean;
|
|
127
171
|
};
|
|
128
172
|
useAccessToken: boolean;
|
|
129
173
|
}
|
|
@@ -133,11 +177,11 @@ export interface GetBoardsBoardNoArticlesArticleNoResponse {
|
|
|
133
177
|
categoryLabel: string;
|
|
134
178
|
registerType: RegisterType;
|
|
135
179
|
title: string;
|
|
136
|
-
modifierType: ModifierType
|
|
180
|
+
modifierType: Nullable<ModifierType>;
|
|
137
181
|
content: string;
|
|
138
182
|
articleNo: number;
|
|
139
183
|
childArticles: string[];
|
|
140
|
-
registerNo
|
|
184
|
+
registerNo: Nullable<number>;
|
|
141
185
|
viewCnt: number;
|
|
142
186
|
imageUrl: string;
|
|
143
187
|
categoryNo: number;
|
|
@@ -146,10 +190,11 @@ export interface GetBoardsBoardNoArticlesArticleNoResponse {
|
|
|
146
190
|
notice: boolean;
|
|
147
191
|
memberId: string;
|
|
148
192
|
registerYmdt: string;
|
|
149
|
-
|
|
193
|
+
recommendable: boolean;
|
|
194
|
+
modifierNo: Nullable<number>;
|
|
150
195
|
secreted: boolean;
|
|
151
196
|
tags: string[];
|
|
152
|
-
registerGroupNames: string
|
|
197
|
+
registerGroupNames: Nullable<string>;
|
|
153
198
|
recommendCount: number;
|
|
154
199
|
modifierName: string;
|
|
155
200
|
registerName: string;
|
|
@@ -159,11 +204,11 @@ export interface BoardsBoardNoArticlesArticleNoAttachment {
|
|
|
159
204
|
uploadedFileName: string;
|
|
160
205
|
downloadFileUrl: string;
|
|
161
206
|
}
|
|
162
|
-
export interface
|
|
163
|
-
productReviewConfig
|
|
164
|
-
productInquiryConfig
|
|
165
|
-
boardConfigs
|
|
166
|
-
inquiryConfig
|
|
207
|
+
export interface GetBoardsConfigurationsResponse {
|
|
208
|
+
productReviewConfig: BoardsConfigurationsProductReviewConfig;
|
|
209
|
+
productInquiryConfig: BoardsConfigurationsProductInquiryConfig;
|
|
210
|
+
boardConfigs: Array<BoardsConfigurationsBoardConfig>;
|
|
211
|
+
inquiryConfig: BoardsConfigurationsInquiryConfig;
|
|
167
212
|
}
|
|
168
213
|
export interface DeleteBoardsBoardNoArticlesArticleNoRequest extends RequestConfig {
|
|
169
214
|
pathVariable: {
|
|
@@ -175,80 +220,73 @@ export interface DeleteBoardsBoardNoArticlesArticleNoRequest extends RequestConf
|
|
|
175
220
|
};
|
|
176
221
|
useAccessToken: boolean;
|
|
177
222
|
}
|
|
178
|
-
export interface
|
|
179
|
-
replyUsed
|
|
180
|
-
thumbnailUsed
|
|
181
|
-
guestPostingUsed
|
|
182
|
-
used
|
|
183
|
-
memberPostingUsed
|
|
184
|
-
imageDisplayType
|
|
185
|
-
displayType
|
|
186
|
-
categoryUsed
|
|
187
|
-
attachmentUsed
|
|
188
|
-
name
|
|
189
|
-
secretPostingUsed
|
|
190
|
-
boardId
|
|
191
|
-
categories
|
|
192
|
-
order
|
|
193
|
-
boardNo
|
|
194
|
-
}
|
|
195
|
-
export interface
|
|
196
|
-
categoryNo
|
|
197
|
-
label
|
|
223
|
+
export interface BoardsConfigurationsBoardConfig {
|
|
224
|
+
replyUsed: boolean;
|
|
225
|
+
thumbnailUsed: boolean;
|
|
226
|
+
guestPostingUsed: boolean;
|
|
227
|
+
used: boolean;
|
|
228
|
+
memberPostingUsed: boolean;
|
|
229
|
+
imageDisplayType: ImageDisplayType;
|
|
230
|
+
displayType: BoardDisplayType;
|
|
231
|
+
categoryUsed: boolean;
|
|
232
|
+
attachmentUsed: boolean;
|
|
233
|
+
name: string;
|
|
234
|
+
secretPostingUsed: boolean;
|
|
235
|
+
boardId: string;
|
|
236
|
+
categories: Array<BoardCategory>;
|
|
237
|
+
order: number;
|
|
238
|
+
boardNo: number;
|
|
239
|
+
}
|
|
240
|
+
export interface BoardCategory {
|
|
241
|
+
categoryNo: number;
|
|
242
|
+
label: string;
|
|
198
243
|
}
|
|
199
244
|
export interface BoardsConfigurationsInquiryConfig {
|
|
200
|
-
replyUsed
|
|
201
|
-
guestPostingUsed
|
|
202
|
-
description
|
|
203
|
-
memberPostingUsed
|
|
204
|
-
used
|
|
205
|
-
answerMailTemplateUsed
|
|
206
|
-
imageDisplayType
|
|
207
|
-
answerSmsTemplateUsed
|
|
208
|
-
displayType
|
|
209
|
-
attachmentUsed
|
|
210
|
-
name
|
|
211
|
-
secretPostingUsed
|
|
212
|
-
emailUsed
|
|
213
|
-
mallNo
|
|
214
|
-
smsUsed
|
|
245
|
+
replyUsed: boolean;
|
|
246
|
+
guestPostingUsed: boolean;
|
|
247
|
+
description: string;
|
|
248
|
+
memberPostingUsed: boolean;
|
|
249
|
+
used: boolean;
|
|
250
|
+
answerMailTemplateUsed: boolean;
|
|
251
|
+
imageDisplayType: ImageDisplayType;
|
|
252
|
+
answerSmsTemplateUsed: boolean;
|
|
253
|
+
displayType: BoardDisplayType;
|
|
254
|
+
attachmentUsed: boolean;
|
|
255
|
+
name: string;
|
|
256
|
+
secretPostingUsed: boolean;
|
|
257
|
+
emailUsed: boolean;
|
|
258
|
+
mallNo: number;
|
|
259
|
+
smsUsed: boolean;
|
|
215
260
|
}
|
|
216
261
|
export interface BoardsConfigurationsProductInquiryConfig {
|
|
217
|
-
imageDisplayType
|
|
218
|
-
replyUsed
|
|
219
|
-
displayType
|
|
220
|
-
guestPostingUsed
|
|
221
|
-
attachmentUsed
|
|
222
|
-
name
|
|
223
|
-
secretPostingUsed
|
|
224
|
-
memberPostingUsed
|
|
225
|
-
used
|
|
262
|
+
imageDisplayType: ImageDisplayType;
|
|
263
|
+
replyUsed: boolean;
|
|
264
|
+
displayType: BoardDisplayType;
|
|
265
|
+
guestPostingUsed: boolean;
|
|
266
|
+
attachmentUsed: boolean;
|
|
267
|
+
name: string;
|
|
268
|
+
secretPostingUsed: boolean;
|
|
269
|
+
memberPostingUsed: boolean;
|
|
270
|
+
used: boolean;
|
|
226
271
|
}
|
|
227
272
|
export interface BoardsConfigurationsProductReviewConfig {
|
|
228
|
-
imageDisplayType
|
|
229
|
-
replyUsed
|
|
230
|
-
displayType
|
|
231
|
-
reviewAccumulation
|
|
232
|
-
guestPostingUsed
|
|
233
|
-
attachmentUsed
|
|
234
|
-
name
|
|
235
|
-
secretPostingUsed
|
|
236
|
-
memberPostingUsed
|
|
237
|
-
used
|
|
273
|
+
imageDisplayType: ImageDisplayType;
|
|
274
|
+
replyUsed: boolean;
|
|
275
|
+
displayType: BoardDisplayType;
|
|
276
|
+
reviewAccumulation: BoardsConfigurationsProductReviewConfigReviewAccumulation;
|
|
277
|
+
guestPostingUsed: boolean;
|
|
278
|
+
attachmentUsed: boolean;
|
|
279
|
+
name: string;
|
|
280
|
+
secretPostingUsed: boolean;
|
|
281
|
+
memberPostingUsed: boolean;
|
|
282
|
+
used: boolean;
|
|
238
283
|
}
|
|
239
284
|
export interface BoardsConfigurationsProductReviewConfigReviewAccumulation {
|
|
240
|
-
normalReview
|
|
241
|
-
use
|
|
242
|
-
photoReview
|
|
243
|
-
}
|
|
244
|
-
export interface BoardsConfigurationsProductReviewConfigReviewAccumulationNormalReview {
|
|
245
|
-
amount?: number;
|
|
246
|
-
contentLength?: number;
|
|
247
|
-
}
|
|
248
|
-
export interface BoardsConfigurationsProductReviewConfigReviewAccumulationPhotoReview {
|
|
249
|
-
amount?: number;
|
|
250
|
-
contentLength?: number;
|
|
285
|
+
normalReview: BoardReviewAccumulation;
|
|
286
|
+
use: boolean;
|
|
287
|
+
photoReview: BoardReviewAccumulation;
|
|
251
288
|
}
|
|
289
|
+
export declare type BoardReviewAccumulation = Record<'amount' | 'contentLength', number>;
|
|
252
290
|
export interface PostInquiriesRequest {
|
|
253
291
|
requestBody: {
|
|
254
292
|
inquiryTypeNo: number;
|
|
@@ -355,21 +393,21 @@ export interface InquiriesInquiryType {
|
|
|
355
393
|
inquiryTypeName: string;
|
|
356
394
|
}
|
|
357
395
|
export interface InquiriesConfigurations {
|
|
358
|
-
replyUsed
|
|
359
|
-
guestPostingUsed
|
|
360
|
-
description
|
|
361
|
-
memberPostingUsed
|
|
362
|
-
used
|
|
363
|
-
answerMailTemplateUsed
|
|
364
|
-
imageDisplayType
|
|
365
|
-
answerSmsTemplateUsed
|
|
366
|
-
displayType
|
|
367
|
-
attachmentUsed
|
|
368
|
-
name
|
|
369
|
-
secretPostingUsed
|
|
370
|
-
emailUsed
|
|
371
|
-
mallNo
|
|
372
|
-
smsUsed
|
|
396
|
+
replyUsed: boolean;
|
|
397
|
+
guestPostingUsed: boolean;
|
|
398
|
+
description: string;
|
|
399
|
+
memberPostingUsed: boolean;
|
|
400
|
+
used: boolean;
|
|
401
|
+
answerMailTemplateUsed: boolean;
|
|
402
|
+
imageDisplayType: ImageDisplayType;
|
|
403
|
+
answerSmsTemplateUsed: boolean;
|
|
404
|
+
displayType: BoardDisplayType;
|
|
405
|
+
attachmentUsed: boolean;
|
|
406
|
+
name: string;
|
|
407
|
+
secretPostingUsed: boolean;
|
|
408
|
+
emailUsed: boolean;
|
|
409
|
+
mallNo: number;
|
|
410
|
+
smsUsed: boolean;
|
|
373
411
|
}
|
|
374
412
|
export interface InquiriesInquiryNoAnswer {
|
|
375
413
|
answerRegisterYmdt?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../types/domain/manage/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../types/domain/manage/index.ts"],"names":[],"mappings":"AAsBA,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { REGISTER_TYPE_MAP, MANAGE_SEARCH_TYPE_MAP, DIRECTION_MAP, TERMS_TYPE, TERMS_HISTORY_TYPE } from '../../../src';
|
|
1
|
+
import { REGISTER_TYPE_MAP, MANAGE_SEARCH_TYPE_MAP, DIRECTION_MAP, TERMS_TYPE, TERMS_HISTORY_TYPE, IMAGE_DISPLAY_TYPE, BOARD_DISPLAY_TYPE } from '../../../src';
|
|
2
2
|
export declare type RegisterType = keyof typeof REGISTER_TYPE_MAP;
|
|
3
3
|
export declare type ModifierType = keyof typeof REGISTER_TYPE_MAP;
|
|
4
4
|
export declare type ManageSearchType = keyof typeof MANAGE_SEARCH_TYPE_MAP;
|
|
5
5
|
export declare type DirectionType = keyof typeof DIRECTION_MAP;
|
|
6
6
|
export declare type TermsType = keyof typeof TERMS_TYPE;
|
|
7
7
|
export declare type TermsHistoryType = keyof typeof TERMS_HISTORY_TYPE;
|
|
8
|
+
export declare type ImageDisplayType = keyof typeof IMAGE_DISPLAY_TYPE;
|
|
9
|
+
export declare type BoardDisplayType = keyof typeof BOARD_DISPLAY_TYPE;
|