@cmarket/partner-sdk 0.2.1 → 0.4.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/README.md +205 -18
- package/api/partner-v1-api.ts +976 -28
- package/api.ts +0 -1
- package/dist/api/partner-v1-api.d.ts +432 -13
- package/dist/api/partner-v1-api.js +890 -19
- package/dist/api.d.ts +0 -1
- package/dist/api.js +0 -1
- package/dist/esm/api/partner-v1-api.d.ts +432 -13
- package/dist/esm/api/partner-v1-api.js +891 -20
- package/dist/esm/api.d.ts +0 -1
- package/dist/esm/api.js +0 -1
- package/dist/esm/models/create-bid-request-dto.d.ts +2 -3
- package/dist/esm/models/create-bid-request-dto.js +0 -1
- package/dist/esm/models/index.d.ts +0 -2
- package/dist/esm/models/index.js +0 -2
- package/dist/models/create-bid-request-dto.d.ts +2 -3
- package/dist/models/create-bid-request-dto.js +0 -1
- package/dist/models/index.d.ts +0 -2
- package/dist/models/index.js +0 -2
- package/docs/CreateBidRequestDto.md +2 -2
- package/docs/PartnerV1Api.md +651 -7
- package/models/create-bid-request-dto.ts +2 -3
- package/models/index.ts +0 -2
- package/package.json +1 -1
- package/api/partner-v2-api.ts +0 -1076
- package/dist/api/partner-v2-api.d.ts +0 -486
- package/dist/api/partner-v2-api.js +0 -1003
- package/dist/esm/api/partner-v2-api.d.ts +0 -486
- package/dist/esm/api/partner-v2-api.js +0 -996
- package/dist/esm/models/bid-status.d.ts +0 -23
- package/dist/esm/models/bid-status.js +0 -24
- package/dist/esm/models/bid-summary-response-dto.d.ts +0 -30
- package/dist/esm/models/bid-summary-response-dto.js +0 -14
- package/dist/models/bid-status.d.ts +0 -23
- package/dist/models/bid-status.js +0 -27
- package/dist/models/bid-summary-response-dto.d.ts +0 -30
- package/dist/models/bid-summary-response-dto.js +0 -15
- package/docs/BidStatus.md +0 -19
- package/docs/BidSummaryResponseDto.md +0 -26
- package/docs/PartnerV2Api.md +0 -704
- package/models/bid-status.ts +0 -33
- package/models/bid-summary-response-dto.ts +0 -40
|
@@ -35,16 +35,236 @@ const base_1 = require("../base");
|
|
|
35
35
|
const PartnerV1ApiAxiosParamCreator = function (configuration) {
|
|
36
36
|
return {
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
39
|
-
* @summary
|
|
38
|
+
* V5 /acceptanceCompleteSend 후속. scope contracts:write + Idempotency-Key.
|
|
39
|
+
* @summary 검수완료 전송
|
|
40
40
|
* @param {string} bidId
|
|
41
|
+
* @param {CompleteAcceptanceRequestDto} completeAcceptanceRequestDto
|
|
41
42
|
* @param {*} [options] Override http request option.
|
|
42
43
|
* @throws {RequiredError}
|
|
43
44
|
*/
|
|
44
|
-
|
|
45
|
+
completeAcceptance: (bidId_1, completeAcceptanceRequestDto_1, ...args_1) => __awaiter(this, [bidId_1, completeAcceptanceRequestDto_1, ...args_1], void 0, function* (bidId, completeAcceptanceRequestDto, options = {}) {
|
|
45
46
|
// verify required parameter 'bidId' is not null or undefined
|
|
46
|
-
(0, common_1.assertParamExists)('
|
|
47
|
-
|
|
47
|
+
(0, common_1.assertParamExists)('completeAcceptance', 'bidId', bidId);
|
|
48
|
+
// verify required parameter 'completeAcceptanceRequestDto' is not null or undefined
|
|
49
|
+
(0, common_1.assertParamExists)('completeAcceptance', 'completeAcceptanceRequestDto', completeAcceptanceRequestDto);
|
|
50
|
+
const localVarPath = `/v1/bids/{bidId}/acceptance`
|
|
51
|
+
.replace('{bidId}', encodeURIComponent(String(bidId)));
|
|
52
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
53
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
54
|
+
let baseOptions;
|
|
55
|
+
if (configuration) {
|
|
56
|
+
baseOptions = configuration.baseOptions;
|
|
57
|
+
}
|
|
58
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
59
|
+
const localVarHeaderParameter = {};
|
|
60
|
+
const localVarQueryParameter = {};
|
|
61
|
+
// authentication partner-oauth2 required
|
|
62
|
+
// http bearer authentication required
|
|
63
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
64
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
65
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
66
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
67
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
68
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
69
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(completeAcceptanceRequestDto, localVarRequestOptions, configuration);
|
|
70
|
+
return {
|
|
71
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
72
|
+
options: localVarRequestOptions,
|
|
73
|
+
};
|
|
74
|
+
}),
|
|
75
|
+
/**
|
|
76
|
+
* V5 /contractDocumentRec 후속. scope contracts:read.
|
|
77
|
+
* @summary 계약서류 수신 조회
|
|
78
|
+
* @param {string} bidId
|
|
79
|
+
* @param {string} buyerId
|
|
80
|
+
* @param {*} [options] Override http request option.
|
|
81
|
+
* @throws {RequiredError}
|
|
82
|
+
*/
|
|
83
|
+
getBidContractDocuments: (bidId_1, buyerId_1, ...args_1) => __awaiter(this, [bidId_1, buyerId_1, ...args_1], void 0, function* (bidId, buyerId, options = {}) {
|
|
84
|
+
// verify required parameter 'bidId' is not null or undefined
|
|
85
|
+
(0, common_1.assertParamExists)('getBidContractDocuments', 'bidId', bidId);
|
|
86
|
+
// verify required parameter 'buyerId' is not null or undefined
|
|
87
|
+
(0, common_1.assertParamExists)('getBidContractDocuments', 'buyerId', buyerId);
|
|
88
|
+
const localVarPath = `/v1/bids/{bidId}/contract-documents`
|
|
89
|
+
.replace('{bidId}', encodeURIComponent(String(bidId)));
|
|
90
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
91
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
92
|
+
let baseOptions;
|
|
93
|
+
if (configuration) {
|
|
94
|
+
baseOptions = configuration.baseOptions;
|
|
95
|
+
}
|
|
96
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
97
|
+
const localVarHeaderParameter = {};
|
|
98
|
+
const localVarQueryParameter = {};
|
|
99
|
+
// authentication partner-oauth2 required
|
|
100
|
+
// http bearer authentication required
|
|
101
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
102
|
+
if (buyerId !== undefined) {
|
|
103
|
+
localVarQueryParameter['buyerId'] = buyerId;
|
|
104
|
+
}
|
|
105
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
106
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
107
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
108
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
109
|
+
return {
|
|
110
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
111
|
+
options: localVarRequestOptions,
|
|
112
|
+
};
|
|
113
|
+
}),
|
|
114
|
+
/**
|
|
115
|
+
* V5 /contractDocumentRec(bid_puchase_no_list) 후속. 공고번호 리스트를 한 번에 조회. 단건(GET :bidId/contract-documents)은 그대로 유지. scope contracts:read.
|
|
116
|
+
* @summary 계약서류 수신 배치 조회
|
|
117
|
+
* @param {BidContractDocumentsBatchRequestDto} bidContractDocumentsBatchRequestDto
|
|
118
|
+
* @param {*} [options] Override http request option.
|
|
119
|
+
* @throws {RequiredError}
|
|
120
|
+
*/
|
|
121
|
+
getBidContractDocumentsBatch: (bidContractDocumentsBatchRequestDto_1, ...args_1) => __awaiter(this, [bidContractDocumentsBatchRequestDto_1, ...args_1], void 0, function* (bidContractDocumentsBatchRequestDto, options = {}) {
|
|
122
|
+
// verify required parameter 'bidContractDocumentsBatchRequestDto' is not null or undefined
|
|
123
|
+
(0, common_1.assertParamExists)('getBidContractDocumentsBatch', 'bidContractDocumentsBatchRequestDto', bidContractDocumentsBatchRequestDto);
|
|
124
|
+
const localVarPath = `/v1/bids/contract-documents/batch`;
|
|
125
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
126
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
127
|
+
let baseOptions;
|
|
128
|
+
if (configuration) {
|
|
129
|
+
baseOptions = configuration.baseOptions;
|
|
130
|
+
}
|
|
131
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
132
|
+
const localVarHeaderParameter = {};
|
|
133
|
+
const localVarQueryParameter = {};
|
|
134
|
+
// authentication partner-oauth2 required
|
|
135
|
+
// http bearer authentication required
|
|
136
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
137
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
138
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
139
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
140
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
141
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
142
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(bidContractDocumentsBatchRequestDto, localVarRequestOptions, configuration);
|
|
143
|
+
return {
|
|
144
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
145
|
+
options: localVarRequestOptions,
|
|
146
|
+
};
|
|
147
|
+
}),
|
|
148
|
+
/**
|
|
149
|
+
* V5 /entendrec 후속. scope bids:read.
|
|
150
|
+
* @summary 입찰 결과 조회
|
|
151
|
+
* @param {string} bidId
|
|
152
|
+
* @param {string} buyerId
|
|
153
|
+
* @param {*} [options] Override http request option.
|
|
154
|
+
* @throws {RequiredError}
|
|
155
|
+
*/
|
|
156
|
+
getBidResults: (bidId_1, buyerId_1, ...args_1) => __awaiter(this, [bidId_1, buyerId_1, ...args_1], void 0, function* (bidId, buyerId, options = {}) {
|
|
157
|
+
// verify required parameter 'bidId' is not null or undefined
|
|
158
|
+
(0, common_1.assertParamExists)('getBidResults', 'bidId', bidId);
|
|
159
|
+
// verify required parameter 'buyerId' is not null or undefined
|
|
160
|
+
(0, common_1.assertParamExists)('getBidResults', 'buyerId', buyerId);
|
|
161
|
+
const localVarPath = `/v1/bids/{bidId}/results`
|
|
162
|
+
.replace('{bidId}', encodeURIComponent(String(bidId)));
|
|
163
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
164
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
165
|
+
let baseOptions;
|
|
166
|
+
if (configuration) {
|
|
167
|
+
baseOptions = configuration.baseOptions;
|
|
168
|
+
}
|
|
169
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
170
|
+
const localVarHeaderParameter = {};
|
|
171
|
+
const localVarQueryParameter = {};
|
|
172
|
+
// authentication partner-oauth2 required
|
|
173
|
+
// http bearer authentication required
|
|
174
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
175
|
+
if (buyerId !== undefined) {
|
|
176
|
+
localVarQueryParameter['buyerId'] = buyerId;
|
|
177
|
+
}
|
|
178
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
179
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
180
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
181
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
182
|
+
return {
|
|
183
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
184
|
+
options: localVarRequestOptions,
|
|
185
|
+
};
|
|
186
|
+
}),
|
|
187
|
+
/**
|
|
188
|
+
* V5 entendRec(bid_puchase_no_list) 후속 — 여러 공고 결과를 1회 호출로(additive, 단건 유지). 입력 순서를 보존한다. scope bids:read.
|
|
189
|
+
* @summary 입찰결과 배치 조회
|
|
190
|
+
* @param {BidResultsBatchRequestDto} bidResultsBatchRequestDto
|
|
191
|
+
* @param {*} [options] Override http request option.
|
|
192
|
+
* @throws {RequiredError}
|
|
193
|
+
*/
|
|
194
|
+
getBidResultsBatch: (bidResultsBatchRequestDto_1, ...args_1) => __awaiter(this, [bidResultsBatchRequestDto_1, ...args_1], void 0, function* (bidResultsBatchRequestDto, options = {}) {
|
|
195
|
+
// verify required parameter 'bidResultsBatchRequestDto' is not null or undefined
|
|
196
|
+
(0, common_1.assertParamExists)('getBidResultsBatch', 'bidResultsBatchRequestDto', bidResultsBatchRequestDto);
|
|
197
|
+
const localVarPath = `/v1/bids/results/batch`;
|
|
198
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
199
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
200
|
+
let baseOptions;
|
|
201
|
+
if (configuration) {
|
|
202
|
+
baseOptions = configuration.baseOptions;
|
|
203
|
+
}
|
|
204
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
205
|
+
const localVarHeaderParameter = {};
|
|
206
|
+
const localVarQueryParameter = {};
|
|
207
|
+
// authentication partner-oauth2 required
|
|
208
|
+
// http bearer authentication required
|
|
209
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
210
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
211
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
212
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
213
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
214
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
215
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(bidResultsBatchRequestDto, localVarRequestOptions, configuration);
|
|
216
|
+
return {
|
|
217
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
218
|
+
options: localVarRequestOptions,
|
|
219
|
+
};
|
|
220
|
+
}),
|
|
221
|
+
/**
|
|
222
|
+
* V5 /entendrec 정산(사업자·계좌·공급가액/부가세·응찰 품목내역) 후속. scope bids:read. 가격/신원 가시성 매트릭스와 직교한 ERP 정산 데이터 — read-only.
|
|
223
|
+
* @summary 입찰결과 정산정보 조회
|
|
224
|
+
* @param {string} bidId
|
|
225
|
+
* @param {*} [options] Override http request option.
|
|
226
|
+
* @throws {RequiredError}
|
|
227
|
+
*/
|
|
228
|
+
getBidSettlement: (bidId_1, ...args_1) => __awaiter(this, [bidId_1, ...args_1], void 0, function* (bidId, options = {}) {
|
|
229
|
+
// verify required parameter 'bidId' is not null or undefined
|
|
230
|
+
(0, common_1.assertParamExists)('getBidSettlement', 'bidId', bidId);
|
|
231
|
+
const localVarPath = `/v1/bids/{bidId}/settlement`
|
|
232
|
+
.replace('{bidId}', encodeURIComponent(String(bidId)));
|
|
233
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
234
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
235
|
+
let baseOptions;
|
|
236
|
+
if (configuration) {
|
|
237
|
+
baseOptions = configuration.baseOptions;
|
|
238
|
+
}
|
|
239
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
240
|
+
const localVarHeaderParameter = {};
|
|
241
|
+
const localVarQueryParameter = {};
|
|
242
|
+
// authentication partner-oauth2 required
|
|
243
|
+
// http bearer authentication required
|
|
244
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
245
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
246
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
247
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
248
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
249
|
+
return {
|
|
250
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
251
|
+
options: localVarRequestOptions,
|
|
252
|
+
};
|
|
253
|
+
}),
|
|
254
|
+
/**
|
|
255
|
+
* V5 /getGrm 후속. scope contracts:read.
|
|
256
|
+
* @summary 거래명세서 조회
|
|
257
|
+
* @param {string} bidId
|
|
258
|
+
* @param {number} paperCode
|
|
259
|
+
* @param {*} [options] Override http request option.
|
|
260
|
+
* @throws {RequiredError}
|
|
261
|
+
*/
|
|
262
|
+
getBidStatement: (bidId_1, paperCode_1, ...args_1) => __awaiter(this, [bidId_1, paperCode_1, ...args_1], void 0, function* (bidId, paperCode, options = {}) {
|
|
263
|
+
// verify required parameter 'bidId' is not null or undefined
|
|
264
|
+
(0, common_1.assertParamExists)('getBidStatement', 'bidId', bidId);
|
|
265
|
+
// verify required parameter 'paperCode' is not null or undefined
|
|
266
|
+
(0, common_1.assertParamExists)('getBidStatement', 'paperCode', paperCode);
|
|
267
|
+
const localVarPath = `/v1/bids/{bidId}/statement`
|
|
48
268
|
.replace('{bidId}', encodeURIComponent(String(bidId)));
|
|
49
269
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
50
270
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -58,6 +278,9 @@ const PartnerV1ApiAxiosParamCreator = function (configuration) {
|
|
|
58
278
|
// authentication partner-oauth2 required
|
|
59
279
|
// http bearer authentication required
|
|
60
280
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
281
|
+
if (paperCode !== undefined) {
|
|
282
|
+
localVarQueryParameter['paperCode'] = paperCode;
|
|
283
|
+
}
|
|
61
284
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
62
285
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
63
286
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -81,13 +304,217 @@ const PartnerV1ApiAxiosParamCreator = function (configuration) {
|
|
|
81
304
|
if (configuration) {
|
|
82
305
|
baseOptions = configuration.baseOptions;
|
|
83
306
|
}
|
|
84
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
307
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
308
|
+
const localVarHeaderParameter = {};
|
|
309
|
+
const localVarQueryParameter = {};
|
|
310
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
311
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
312
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
313
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
314
|
+
return {
|
|
315
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
316
|
+
options: localVarRequestOptions,
|
|
317
|
+
};
|
|
318
|
+
}),
|
|
319
|
+
/**
|
|
320
|
+
* 유찰 처리(V5 yoochal 패리티). 유찰사유 코드(1~8)·상세를 받아 공고를 유찰 상태로 전환. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
321
|
+
* @summary 유찰 처리
|
|
322
|
+
* @param {MarkBidFailedRequestDto} markBidFailedRequestDto
|
|
323
|
+
* @param {*} [options] Override http request option.
|
|
324
|
+
* @throws {RequiredError}
|
|
325
|
+
*/
|
|
326
|
+
markBidFailed: (markBidFailedRequestDto_1, ...args_1) => __awaiter(this, [markBidFailedRequestDto_1, ...args_1], void 0, function* (markBidFailedRequestDto, options = {}) {
|
|
327
|
+
// verify required parameter 'markBidFailedRequestDto' is not null or undefined
|
|
328
|
+
(0, common_1.assertParamExists)('markBidFailed', 'markBidFailedRequestDto', markBidFailedRequestDto);
|
|
329
|
+
const localVarPath = `/v1/awards/fail`;
|
|
330
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
331
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
332
|
+
let baseOptions;
|
|
333
|
+
if (configuration) {
|
|
334
|
+
baseOptions = configuration.baseOptions;
|
|
335
|
+
}
|
|
336
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
337
|
+
const localVarHeaderParameter = {};
|
|
338
|
+
const localVarQueryParameter = {};
|
|
339
|
+
// authentication partner-oauth2 required
|
|
340
|
+
// http bearer authentication required
|
|
341
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
342
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
343
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
344
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
345
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
346
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
347
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(markBidFailedRequestDto, localVarRequestOptions, configuration);
|
|
348
|
+
return {
|
|
349
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
350
|
+
options: localVarRequestOptions,
|
|
351
|
+
};
|
|
352
|
+
}),
|
|
353
|
+
/**
|
|
354
|
+
* 낙찰 결과 등록. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
355
|
+
* @summary 낙찰 결과 전송
|
|
356
|
+
* @param {RegisterAwardRequestDto} registerAwardRequestDto
|
|
357
|
+
* @param {*} [options] Override http request option.
|
|
358
|
+
* @throws {RequiredError}
|
|
359
|
+
*/
|
|
360
|
+
registerAward: (registerAwardRequestDto_1, ...args_1) => __awaiter(this, [registerAwardRequestDto_1, ...args_1], void 0, function* (registerAwardRequestDto, options = {}) {
|
|
361
|
+
// verify required parameter 'registerAwardRequestDto' is not null or undefined
|
|
362
|
+
(0, common_1.assertParamExists)('registerAward', 'registerAwardRequestDto', registerAwardRequestDto);
|
|
363
|
+
const localVarPath = `/v1/awards`;
|
|
364
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
365
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
366
|
+
let baseOptions;
|
|
367
|
+
if (configuration) {
|
|
368
|
+
baseOptions = configuration.baseOptions;
|
|
369
|
+
}
|
|
370
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
371
|
+
const localVarHeaderParameter = {};
|
|
372
|
+
const localVarQueryParameter = {};
|
|
373
|
+
// authentication partner-oauth2 required
|
|
374
|
+
// http bearer authentication required
|
|
375
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
376
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
377
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
378
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
379
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
380
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
381
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(registerAwardRequestDto, localVarRequestOptions, configuration);
|
|
382
|
+
return {
|
|
383
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
384
|
+
options: localVarRequestOptions,
|
|
385
|
+
};
|
|
386
|
+
}),
|
|
387
|
+
/**
|
|
388
|
+
* 입찰 정보 등록. 스코프 `bids:write` + `Idempotency-Key` 헤더 필수.
|
|
389
|
+
* @summary 입찰 정보 전송(등록)
|
|
390
|
+
* @param {CreateBidRequestDto} createBidRequestDto
|
|
391
|
+
* @param {*} [options] Override http request option.
|
|
392
|
+
* @throws {RequiredError}
|
|
393
|
+
*/
|
|
394
|
+
registerBid: (createBidRequestDto_1, ...args_1) => __awaiter(this, [createBidRequestDto_1, ...args_1], void 0, function* (createBidRequestDto, options = {}) {
|
|
395
|
+
// verify required parameter 'createBidRequestDto' is not null or undefined
|
|
396
|
+
(0, common_1.assertParamExists)('registerBid', 'createBidRequestDto', createBidRequestDto);
|
|
397
|
+
const localVarPath = `/v1/bids`;
|
|
398
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
399
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
400
|
+
let baseOptions;
|
|
401
|
+
if (configuration) {
|
|
402
|
+
baseOptions = configuration.baseOptions;
|
|
403
|
+
}
|
|
404
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
405
|
+
const localVarHeaderParameter = {};
|
|
406
|
+
const localVarQueryParameter = {};
|
|
407
|
+
// authentication partner-oauth2 required
|
|
408
|
+
// http bearer authentication required
|
|
409
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
410
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
411
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
412
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
413
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
414
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
415
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createBidRequestDto, localVarRequestOptions, configuration);
|
|
416
|
+
return {
|
|
417
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
418
|
+
options: localVarRequestOptions,
|
|
419
|
+
};
|
|
420
|
+
}),
|
|
421
|
+
/**
|
|
422
|
+
* V5 /splitInvoiceRequest 후속. scope invoices:write + Idempotency-Key.
|
|
423
|
+
* @summary 계산서 분할 발급 청구
|
|
424
|
+
* @param {RequestSplitInvoiceRequestDto} requestSplitInvoiceRequestDto
|
|
425
|
+
* @param {*} [options] Override http request option.
|
|
426
|
+
* @throws {RequiredError}
|
|
427
|
+
*/
|
|
428
|
+
requestSplitInvoice: (requestSplitInvoiceRequestDto_1, ...args_1) => __awaiter(this, [requestSplitInvoiceRequestDto_1, ...args_1], void 0, function* (requestSplitInvoiceRequestDto, options = {}) {
|
|
429
|
+
// verify required parameter 'requestSplitInvoiceRequestDto' is not null or undefined
|
|
430
|
+
(0, common_1.assertParamExists)('requestSplitInvoice', 'requestSplitInvoiceRequestDto', requestSplitInvoiceRequestDto);
|
|
431
|
+
const localVarPath = `/v1/invoices/split-requests`;
|
|
432
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
433
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
434
|
+
let baseOptions;
|
|
435
|
+
if (configuration) {
|
|
436
|
+
baseOptions = configuration.baseOptions;
|
|
437
|
+
}
|
|
438
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
439
|
+
const localVarHeaderParameter = {};
|
|
440
|
+
const localVarQueryParameter = {};
|
|
441
|
+
// authentication partner-oauth2 required
|
|
442
|
+
// http bearer authentication required
|
|
443
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
444
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
445
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
446
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
447
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
448
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
449
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(requestSplitInvoiceRequestDto, localVarRequestOptions, configuration);
|
|
450
|
+
return {
|
|
451
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
452
|
+
options: localVarRequestOptions,
|
|
453
|
+
};
|
|
454
|
+
}),
|
|
455
|
+
/**
|
|
456
|
+
* 협상에의한계약(H/K) 응찰자별 기술/가격 점수 일괄 입력(V5 nego-eval 패리티). complete=true 면 평가완료 게이트까지 적용해 낙찰 진입 가능. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
457
|
+
* @summary 협상(H/K) 점수평가
|
|
458
|
+
* @param {SubmitNegotiationScoresRequestDto} submitNegotiationScoresRequestDto
|
|
459
|
+
* @param {*} [options] Override http request option.
|
|
460
|
+
* @throws {RequiredError}
|
|
461
|
+
*/
|
|
462
|
+
submitNegotiationScores: (submitNegotiationScoresRequestDto_1, ...args_1) => __awaiter(this, [submitNegotiationScoresRequestDto_1, ...args_1], void 0, function* (submitNegotiationScoresRequestDto, options = {}) {
|
|
463
|
+
// verify required parameter 'submitNegotiationScoresRequestDto' is not null or undefined
|
|
464
|
+
(0, common_1.assertParamExists)('submitNegotiationScores', 'submitNegotiationScoresRequestDto', submitNegotiationScoresRequestDto);
|
|
465
|
+
const localVarPath = `/v1/awards/nego-eval`;
|
|
466
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
467
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
468
|
+
let baseOptions;
|
|
469
|
+
if (configuration) {
|
|
470
|
+
baseOptions = configuration.baseOptions;
|
|
471
|
+
}
|
|
472
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
473
|
+
const localVarHeaderParameter = {};
|
|
474
|
+
const localVarQueryParameter = {};
|
|
475
|
+
// authentication partner-oauth2 required
|
|
476
|
+
// http bearer authentication required
|
|
477
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
478
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
479
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
480
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
481
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
482
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
483
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(submitNegotiationScoresRequestDto, localVarRequestOptions, configuration);
|
|
484
|
+
return {
|
|
485
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
486
|
+
options: localVarRequestOptions,
|
|
487
|
+
};
|
|
488
|
+
}),
|
|
489
|
+
/**
|
|
490
|
+
* 스코프 `files:write` 필수. base64 또는 url 중 하나를 제출한다.
|
|
491
|
+
* @summary 입찰 첨부파일 업로드(base64 또는 url) → fileKey
|
|
492
|
+
* @param {UploadFileRequestDto} uploadFileRequestDto
|
|
493
|
+
* @param {*} [options] Override http request option.
|
|
494
|
+
* @throws {RequiredError}
|
|
495
|
+
*/
|
|
496
|
+
uploadFile: (uploadFileRequestDto_1, ...args_1) => __awaiter(this, [uploadFileRequestDto_1, ...args_1], void 0, function* (uploadFileRequestDto, options = {}) {
|
|
497
|
+
// verify required parameter 'uploadFileRequestDto' is not null or undefined
|
|
498
|
+
(0, common_1.assertParamExists)('uploadFile', 'uploadFileRequestDto', uploadFileRequestDto);
|
|
499
|
+
const localVarPath = `/v1/files`;
|
|
500
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
501
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
502
|
+
let baseOptions;
|
|
503
|
+
if (configuration) {
|
|
504
|
+
baseOptions = configuration.baseOptions;
|
|
505
|
+
}
|
|
506
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
85
507
|
const localVarHeaderParameter = {};
|
|
86
508
|
const localVarQueryParameter = {};
|
|
509
|
+
// authentication partner-oauth2 required
|
|
510
|
+
// http bearer authentication required
|
|
511
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
512
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
87
513
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
88
514
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
89
515
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
90
516
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
517
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(uploadFileRequestDto, localVarRequestOptions, configuration);
|
|
91
518
|
return {
|
|
92
519
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
93
520
|
options: localVarRequestOptions,
|
|
@@ -103,18 +530,118 @@ const PartnerV1ApiFp = function (configuration) {
|
|
|
103
530
|
const localVarAxiosParamCreator = (0, exports.PartnerV1ApiAxiosParamCreator)(configuration);
|
|
104
531
|
return {
|
|
105
532
|
/**
|
|
106
|
-
*
|
|
107
|
-
* @summary
|
|
533
|
+
* V5 /acceptanceCompleteSend 후속. scope contracts:write + Idempotency-Key.
|
|
534
|
+
* @summary 검수완료 전송
|
|
535
|
+
* @param {string} bidId
|
|
536
|
+
* @param {CompleteAcceptanceRequestDto} completeAcceptanceRequestDto
|
|
537
|
+
* @param {*} [options] Override http request option.
|
|
538
|
+
* @throws {RequiredError}
|
|
539
|
+
*/
|
|
540
|
+
completeAcceptance(bidId, completeAcceptanceRequestDto, options) {
|
|
541
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
542
|
+
var _a, _b, _c;
|
|
543
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.completeAcceptance(bidId, completeAcceptanceRequestDto, options);
|
|
544
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
545
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PartnerV1Api.completeAcceptance']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
546
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
547
|
+
});
|
|
548
|
+
},
|
|
549
|
+
/**
|
|
550
|
+
* V5 /contractDocumentRec 후속. scope contracts:read.
|
|
551
|
+
* @summary 계약서류 수신 조회
|
|
552
|
+
* @param {string} bidId
|
|
553
|
+
* @param {string} buyerId
|
|
554
|
+
* @param {*} [options] Override http request option.
|
|
555
|
+
* @throws {RequiredError}
|
|
556
|
+
*/
|
|
557
|
+
getBidContractDocuments(bidId, buyerId, options) {
|
|
558
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
559
|
+
var _a, _b, _c;
|
|
560
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getBidContractDocuments(bidId, buyerId, options);
|
|
561
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
562
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PartnerV1Api.getBidContractDocuments']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
563
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
564
|
+
});
|
|
565
|
+
},
|
|
566
|
+
/**
|
|
567
|
+
* V5 /contractDocumentRec(bid_puchase_no_list) 후속. 공고번호 리스트를 한 번에 조회. 단건(GET :bidId/contract-documents)은 그대로 유지. scope contracts:read.
|
|
568
|
+
* @summary 계약서류 수신 배치 조회
|
|
569
|
+
* @param {BidContractDocumentsBatchRequestDto} bidContractDocumentsBatchRequestDto
|
|
570
|
+
* @param {*} [options] Override http request option.
|
|
571
|
+
* @throws {RequiredError}
|
|
572
|
+
*/
|
|
573
|
+
getBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto, options) {
|
|
574
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
575
|
+
var _a, _b, _c;
|
|
576
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto, options);
|
|
577
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
578
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PartnerV1Api.getBidContractDocumentsBatch']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
579
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
580
|
+
});
|
|
581
|
+
},
|
|
582
|
+
/**
|
|
583
|
+
* V5 /entendrec 후속. scope bids:read.
|
|
584
|
+
* @summary 입찰 결과 조회
|
|
585
|
+
* @param {string} bidId
|
|
586
|
+
* @param {string} buyerId
|
|
587
|
+
* @param {*} [options] Override http request option.
|
|
588
|
+
* @throws {RequiredError}
|
|
589
|
+
*/
|
|
590
|
+
getBidResults(bidId, buyerId, options) {
|
|
591
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
592
|
+
var _a, _b, _c;
|
|
593
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getBidResults(bidId, buyerId, options);
|
|
594
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
595
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PartnerV1Api.getBidResults']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
596
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
597
|
+
});
|
|
598
|
+
},
|
|
599
|
+
/**
|
|
600
|
+
* V5 entendRec(bid_puchase_no_list) 후속 — 여러 공고 결과를 1회 호출로(additive, 단건 유지). 입력 순서를 보존한다. scope bids:read.
|
|
601
|
+
* @summary 입찰결과 배치 조회
|
|
602
|
+
* @param {BidResultsBatchRequestDto} bidResultsBatchRequestDto
|
|
603
|
+
* @param {*} [options] Override http request option.
|
|
604
|
+
* @throws {RequiredError}
|
|
605
|
+
*/
|
|
606
|
+
getBidResultsBatch(bidResultsBatchRequestDto, options) {
|
|
607
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
608
|
+
var _a, _b, _c;
|
|
609
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getBidResultsBatch(bidResultsBatchRequestDto, options);
|
|
610
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
611
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PartnerV1Api.getBidResultsBatch']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
612
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
613
|
+
});
|
|
614
|
+
},
|
|
615
|
+
/**
|
|
616
|
+
* V5 /entendrec 정산(사업자·계좌·공급가액/부가세·응찰 품목내역) 후속. scope bids:read. 가격/신원 가시성 매트릭스와 직교한 ERP 정산 데이터 — read-only.
|
|
617
|
+
* @summary 입찰결과 정산정보 조회
|
|
618
|
+
* @param {string} bidId
|
|
619
|
+
* @param {*} [options] Override http request option.
|
|
620
|
+
* @throws {RequiredError}
|
|
621
|
+
*/
|
|
622
|
+
getBidSettlement(bidId, options) {
|
|
623
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
624
|
+
var _a, _b, _c;
|
|
625
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getBidSettlement(bidId, options);
|
|
626
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
627
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PartnerV1Api.getBidSettlement']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
628
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
629
|
+
});
|
|
630
|
+
},
|
|
631
|
+
/**
|
|
632
|
+
* V5 /getGrm 후속. scope contracts:read.
|
|
633
|
+
* @summary 거래명세서 조회
|
|
108
634
|
* @param {string} bidId
|
|
635
|
+
* @param {number} paperCode
|
|
109
636
|
* @param {*} [options] Override http request option.
|
|
110
637
|
* @throws {RequiredError}
|
|
111
638
|
*/
|
|
112
|
-
|
|
639
|
+
getBidStatement(bidId, paperCode, options) {
|
|
113
640
|
return __awaiter(this, void 0, void 0, function* () {
|
|
114
641
|
var _a, _b, _c;
|
|
115
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
642
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getBidStatement(bidId, paperCode, options);
|
|
116
643
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
117
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PartnerV1Api.
|
|
644
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PartnerV1Api.getBidStatement']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
118
645
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
119
646
|
});
|
|
120
647
|
},
|
|
@@ -133,6 +660,102 @@ const PartnerV1ApiFp = function (configuration) {
|
|
|
133
660
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
134
661
|
});
|
|
135
662
|
},
|
|
663
|
+
/**
|
|
664
|
+
* 유찰 처리(V5 yoochal 패리티). 유찰사유 코드(1~8)·상세를 받아 공고를 유찰 상태로 전환. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
665
|
+
* @summary 유찰 처리
|
|
666
|
+
* @param {MarkBidFailedRequestDto} markBidFailedRequestDto
|
|
667
|
+
* @param {*} [options] Override http request option.
|
|
668
|
+
* @throws {RequiredError}
|
|
669
|
+
*/
|
|
670
|
+
markBidFailed(markBidFailedRequestDto, options) {
|
|
671
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
672
|
+
var _a, _b, _c;
|
|
673
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.markBidFailed(markBidFailedRequestDto, options);
|
|
674
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
675
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PartnerV1Api.markBidFailed']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
676
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
677
|
+
});
|
|
678
|
+
},
|
|
679
|
+
/**
|
|
680
|
+
* 낙찰 결과 등록. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
681
|
+
* @summary 낙찰 결과 전송
|
|
682
|
+
* @param {RegisterAwardRequestDto} registerAwardRequestDto
|
|
683
|
+
* @param {*} [options] Override http request option.
|
|
684
|
+
* @throws {RequiredError}
|
|
685
|
+
*/
|
|
686
|
+
registerAward(registerAwardRequestDto, options) {
|
|
687
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
688
|
+
var _a, _b, _c;
|
|
689
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.registerAward(registerAwardRequestDto, options);
|
|
690
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
691
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PartnerV1Api.registerAward']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
692
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
693
|
+
});
|
|
694
|
+
},
|
|
695
|
+
/**
|
|
696
|
+
* 입찰 정보 등록. 스코프 `bids:write` + `Idempotency-Key` 헤더 필수.
|
|
697
|
+
* @summary 입찰 정보 전송(등록)
|
|
698
|
+
* @param {CreateBidRequestDto} createBidRequestDto
|
|
699
|
+
* @param {*} [options] Override http request option.
|
|
700
|
+
* @throws {RequiredError}
|
|
701
|
+
*/
|
|
702
|
+
registerBid(createBidRequestDto, options) {
|
|
703
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
704
|
+
var _a, _b, _c;
|
|
705
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.registerBid(createBidRequestDto, options);
|
|
706
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
707
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PartnerV1Api.registerBid']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
708
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
709
|
+
});
|
|
710
|
+
},
|
|
711
|
+
/**
|
|
712
|
+
* V5 /splitInvoiceRequest 후속. scope invoices:write + Idempotency-Key.
|
|
713
|
+
* @summary 계산서 분할 발급 청구
|
|
714
|
+
* @param {RequestSplitInvoiceRequestDto} requestSplitInvoiceRequestDto
|
|
715
|
+
* @param {*} [options] Override http request option.
|
|
716
|
+
* @throws {RequiredError}
|
|
717
|
+
*/
|
|
718
|
+
requestSplitInvoice(requestSplitInvoiceRequestDto, options) {
|
|
719
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
720
|
+
var _a, _b, _c;
|
|
721
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.requestSplitInvoice(requestSplitInvoiceRequestDto, options);
|
|
722
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
723
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PartnerV1Api.requestSplitInvoice']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
724
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
725
|
+
});
|
|
726
|
+
},
|
|
727
|
+
/**
|
|
728
|
+
* 협상에의한계약(H/K) 응찰자별 기술/가격 점수 일괄 입력(V5 nego-eval 패리티). complete=true 면 평가완료 게이트까지 적용해 낙찰 진입 가능. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
729
|
+
* @summary 협상(H/K) 점수평가
|
|
730
|
+
* @param {SubmitNegotiationScoresRequestDto} submitNegotiationScoresRequestDto
|
|
731
|
+
* @param {*} [options] Override http request option.
|
|
732
|
+
* @throws {RequiredError}
|
|
733
|
+
*/
|
|
734
|
+
submitNegotiationScores(submitNegotiationScoresRequestDto, options) {
|
|
735
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
736
|
+
var _a, _b, _c;
|
|
737
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.submitNegotiationScores(submitNegotiationScoresRequestDto, options);
|
|
738
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
739
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PartnerV1Api.submitNegotiationScores']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
740
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
741
|
+
});
|
|
742
|
+
},
|
|
743
|
+
/**
|
|
744
|
+
* 스코프 `files:write` 필수. base64 또는 url 중 하나를 제출한다.
|
|
745
|
+
* @summary 입찰 첨부파일 업로드(base64 또는 url) → fileKey
|
|
746
|
+
* @param {UploadFileRequestDto} uploadFileRequestDto
|
|
747
|
+
* @param {*} [options] Override http request option.
|
|
748
|
+
* @throws {RequiredError}
|
|
749
|
+
*/
|
|
750
|
+
uploadFile(uploadFileRequestDto, options) {
|
|
751
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
752
|
+
var _a, _b, _c;
|
|
753
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.uploadFile(uploadFileRequestDto, options);
|
|
754
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
755
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PartnerV1Api.uploadFile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
756
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
757
|
+
});
|
|
758
|
+
},
|
|
136
759
|
};
|
|
137
760
|
};
|
|
138
761
|
exports.PartnerV1ApiFp = PartnerV1ApiFp;
|
|
@@ -143,14 +766,78 @@ const PartnerV1ApiFactory = function (configuration, basePath, axios) {
|
|
|
143
766
|
const localVarFp = (0, exports.PartnerV1ApiFp)(configuration);
|
|
144
767
|
return {
|
|
145
768
|
/**
|
|
146
|
-
*
|
|
147
|
-
* @summary
|
|
769
|
+
* V5 /acceptanceCompleteSend 후속. scope contracts:write + Idempotency-Key.
|
|
770
|
+
* @summary 검수완료 전송
|
|
148
771
|
* @param {string} bidId
|
|
772
|
+
* @param {CompleteAcceptanceRequestDto} completeAcceptanceRequestDto
|
|
149
773
|
* @param {*} [options] Override http request option.
|
|
150
774
|
* @throws {RequiredError}
|
|
151
775
|
*/
|
|
152
|
-
|
|
153
|
-
return localVarFp.
|
|
776
|
+
completeAcceptance(bidId, completeAcceptanceRequestDto, options) {
|
|
777
|
+
return localVarFp.completeAcceptance(bidId, completeAcceptanceRequestDto, options).then((request) => request(axios, basePath));
|
|
778
|
+
},
|
|
779
|
+
/**
|
|
780
|
+
* V5 /contractDocumentRec 후속. scope contracts:read.
|
|
781
|
+
* @summary 계약서류 수신 조회
|
|
782
|
+
* @param {string} bidId
|
|
783
|
+
* @param {string} buyerId
|
|
784
|
+
* @param {*} [options] Override http request option.
|
|
785
|
+
* @throws {RequiredError}
|
|
786
|
+
*/
|
|
787
|
+
getBidContractDocuments(bidId, buyerId, options) {
|
|
788
|
+
return localVarFp.getBidContractDocuments(bidId, buyerId, options).then((request) => request(axios, basePath));
|
|
789
|
+
},
|
|
790
|
+
/**
|
|
791
|
+
* V5 /contractDocumentRec(bid_puchase_no_list) 후속. 공고번호 리스트를 한 번에 조회. 단건(GET :bidId/contract-documents)은 그대로 유지. scope contracts:read.
|
|
792
|
+
* @summary 계약서류 수신 배치 조회
|
|
793
|
+
* @param {BidContractDocumentsBatchRequestDto} bidContractDocumentsBatchRequestDto
|
|
794
|
+
* @param {*} [options] Override http request option.
|
|
795
|
+
* @throws {RequiredError}
|
|
796
|
+
*/
|
|
797
|
+
getBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto, options) {
|
|
798
|
+
return localVarFp.getBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto, options).then((request) => request(axios, basePath));
|
|
799
|
+
},
|
|
800
|
+
/**
|
|
801
|
+
* V5 /entendrec 후속. scope bids:read.
|
|
802
|
+
* @summary 입찰 결과 조회
|
|
803
|
+
* @param {string} bidId
|
|
804
|
+
* @param {string} buyerId
|
|
805
|
+
* @param {*} [options] Override http request option.
|
|
806
|
+
* @throws {RequiredError}
|
|
807
|
+
*/
|
|
808
|
+
getBidResults(bidId, buyerId, options) {
|
|
809
|
+
return localVarFp.getBidResults(bidId, buyerId, options).then((request) => request(axios, basePath));
|
|
810
|
+
},
|
|
811
|
+
/**
|
|
812
|
+
* V5 entendRec(bid_puchase_no_list) 후속 — 여러 공고 결과를 1회 호출로(additive, 단건 유지). 입력 순서를 보존한다. scope bids:read.
|
|
813
|
+
* @summary 입찰결과 배치 조회
|
|
814
|
+
* @param {BidResultsBatchRequestDto} bidResultsBatchRequestDto
|
|
815
|
+
* @param {*} [options] Override http request option.
|
|
816
|
+
* @throws {RequiredError}
|
|
817
|
+
*/
|
|
818
|
+
getBidResultsBatch(bidResultsBatchRequestDto, options) {
|
|
819
|
+
return localVarFp.getBidResultsBatch(bidResultsBatchRequestDto, options).then((request) => request(axios, basePath));
|
|
820
|
+
},
|
|
821
|
+
/**
|
|
822
|
+
* V5 /entendrec 정산(사업자·계좌·공급가액/부가세·응찰 품목내역) 후속. scope bids:read. 가격/신원 가시성 매트릭스와 직교한 ERP 정산 데이터 — read-only.
|
|
823
|
+
* @summary 입찰결과 정산정보 조회
|
|
824
|
+
* @param {string} bidId
|
|
825
|
+
* @param {*} [options] Override http request option.
|
|
826
|
+
* @throws {RequiredError}
|
|
827
|
+
*/
|
|
828
|
+
getBidSettlement(bidId, options) {
|
|
829
|
+
return localVarFp.getBidSettlement(bidId, options).then((request) => request(axios, basePath));
|
|
830
|
+
},
|
|
831
|
+
/**
|
|
832
|
+
* V5 /getGrm 후속. scope contracts:read.
|
|
833
|
+
* @summary 거래명세서 조회
|
|
834
|
+
* @param {string} bidId
|
|
835
|
+
* @param {number} paperCode
|
|
836
|
+
* @param {*} [options] Override http request option.
|
|
837
|
+
* @throws {RequiredError}
|
|
838
|
+
*/
|
|
839
|
+
getBidStatement(bidId, paperCode, options) {
|
|
840
|
+
return localVarFp.getBidStatement(bidId, paperCode, options).then((request) => request(axios, basePath));
|
|
154
841
|
},
|
|
155
842
|
/**
|
|
156
843
|
* ERP 연동 직전 회선·인증 endpoint 동작 확인용.
|
|
@@ -161,6 +848,66 @@ const PartnerV1ApiFactory = function (configuration, basePath, axios) {
|
|
|
161
848
|
healthControllerCheck(options) {
|
|
162
849
|
return localVarFp.healthControllerCheck(options).then((request) => request(axios, basePath));
|
|
163
850
|
},
|
|
851
|
+
/**
|
|
852
|
+
* 유찰 처리(V5 yoochal 패리티). 유찰사유 코드(1~8)·상세를 받아 공고를 유찰 상태로 전환. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
853
|
+
* @summary 유찰 처리
|
|
854
|
+
* @param {MarkBidFailedRequestDto} markBidFailedRequestDto
|
|
855
|
+
* @param {*} [options] Override http request option.
|
|
856
|
+
* @throws {RequiredError}
|
|
857
|
+
*/
|
|
858
|
+
markBidFailed(markBidFailedRequestDto, options) {
|
|
859
|
+
return localVarFp.markBidFailed(markBidFailedRequestDto, options).then((request) => request(axios, basePath));
|
|
860
|
+
},
|
|
861
|
+
/**
|
|
862
|
+
* 낙찰 결과 등록. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
863
|
+
* @summary 낙찰 결과 전송
|
|
864
|
+
* @param {RegisterAwardRequestDto} registerAwardRequestDto
|
|
865
|
+
* @param {*} [options] Override http request option.
|
|
866
|
+
* @throws {RequiredError}
|
|
867
|
+
*/
|
|
868
|
+
registerAward(registerAwardRequestDto, options) {
|
|
869
|
+
return localVarFp.registerAward(registerAwardRequestDto, options).then((request) => request(axios, basePath));
|
|
870
|
+
},
|
|
871
|
+
/**
|
|
872
|
+
* 입찰 정보 등록. 스코프 `bids:write` + `Idempotency-Key` 헤더 필수.
|
|
873
|
+
* @summary 입찰 정보 전송(등록)
|
|
874
|
+
* @param {CreateBidRequestDto} createBidRequestDto
|
|
875
|
+
* @param {*} [options] Override http request option.
|
|
876
|
+
* @throws {RequiredError}
|
|
877
|
+
*/
|
|
878
|
+
registerBid(createBidRequestDto, options) {
|
|
879
|
+
return localVarFp.registerBid(createBidRequestDto, options).then((request) => request(axios, basePath));
|
|
880
|
+
},
|
|
881
|
+
/**
|
|
882
|
+
* V5 /splitInvoiceRequest 후속. scope invoices:write + Idempotency-Key.
|
|
883
|
+
* @summary 계산서 분할 발급 청구
|
|
884
|
+
* @param {RequestSplitInvoiceRequestDto} requestSplitInvoiceRequestDto
|
|
885
|
+
* @param {*} [options] Override http request option.
|
|
886
|
+
* @throws {RequiredError}
|
|
887
|
+
*/
|
|
888
|
+
requestSplitInvoice(requestSplitInvoiceRequestDto, options) {
|
|
889
|
+
return localVarFp.requestSplitInvoice(requestSplitInvoiceRequestDto, options).then((request) => request(axios, basePath));
|
|
890
|
+
},
|
|
891
|
+
/**
|
|
892
|
+
* 협상에의한계약(H/K) 응찰자별 기술/가격 점수 일괄 입력(V5 nego-eval 패리티). complete=true 면 평가완료 게이트까지 적용해 낙찰 진입 가능. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
893
|
+
* @summary 협상(H/K) 점수평가
|
|
894
|
+
* @param {SubmitNegotiationScoresRequestDto} submitNegotiationScoresRequestDto
|
|
895
|
+
* @param {*} [options] Override http request option.
|
|
896
|
+
* @throws {RequiredError}
|
|
897
|
+
*/
|
|
898
|
+
submitNegotiationScores(submitNegotiationScoresRequestDto, options) {
|
|
899
|
+
return localVarFp.submitNegotiationScores(submitNegotiationScoresRequestDto, options).then((request) => request(axios, basePath));
|
|
900
|
+
},
|
|
901
|
+
/**
|
|
902
|
+
* 스코프 `files:write` 필수. base64 또는 url 중 하나를 제출한다.
|
|
903
|
+
* @summary 입찰 첨부파일 업로드(base64 또는 url) → fileKey
|
|
904
|
+
* @param {UploadFileRequestDto} uploadFileRequestDto
|
|
905
|
+
* @param {*} [options] Override http request option.
|
|
906
|
+
* @throws {RequiredError}
|
|
907
|
+
*/
|
|
908
|
+
uploadFile(uploadFileRequestDto, options) {
|
|
909
|
+
return localVarFp.uploadFile(uploadFileRequestDto, options).then((request) => request(axios, basePath));
|
|
910
|
+
},
|
|
164
911
|
};
|
|
165
912
|
};
|
|
166
913
|
exports.PartnerV1ApiFactory = PartnerV1ApiFactory;
|
|
@@ -169,14 +916,78 @@ exports.PartnerV1ApiFactory = PartnerV1ApiFactory;
|
|
|
169
916
|
*/
|
|
170
917
|
class PartnerV1Api extends base_1.BaseAPI {
|
|
171
918
|
/**
|
|
172
|
-
*
|
|
173
|
-
* @summary
|
|
919
|
+
* V5 /acceptanceCompleteSend 후속. scope contracts:write + Idempotency-Key.
|
|
920
|
+
* @summary 검수완료 전송
|
|
174
921
|
* @param {string} bidId
|
|
922
|
+
* @param {CompleteAcceptanceRequestDto} completeAcceptanceRequestDto
|
|
175
923
|
* @param {*} [options] Override http request option.
|
|
176
924
|
* @throws {RequiredError}
|
|
177
925
|
*/
|
|
178
|
-
|
|
179
|
-
return (0, exports.PartnerV1ApiFp)(this.configuration).
|
|
926
|
+
completeAcceptance(bidId, completeAcceptanceRequestDto, options) {
|
|
927
|
+
return (0, exports.PartnerV1ApiFp)(this.configuration).completeAcceptance(bidId, completeAcceptanceRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
928
|
+
}
|
|
929
|
+
/**
|
|
930
|
+
* V5 /contractDocumentRec 후속. scope contracts:read.
|
|
931
|
+
* @summary 계약서류 수신 조회
|
|
932
|
+
* @param {string} bidId
|
|
933
|
+
* @param {string} buyerId
|
|
934
|
+
* @param {*} [options] Override http request option.
|
|
935
|
+
* @throws {RequiredError}
|
|
936
|
+
*/
|
|
937
|
+
getBidContractDocuments(bidId, buyerId, options) {
|
|
938
|
+
return (0, exports.PartnerV1ApiFp)(this.configuration).getBidContractDocuments(bidId, buyerId, options).then((request) => request(this.axios, this.basePath));
|
|
939
|
+
}
|
|
940
|
+
/**
|
|
941
|
+
* V5 /contractDocumentRec(bid_puchase_no_list) 후속. 공고번호 리스트를 한 번에 조회. 단건(GET :bidId/contract-documents)은 그대로 유지. scope contracts:read.
|
|
942
|
+
* @summary 계약서류 수신 배치 조회
|
|
943
|
+
* @param {BidContractDocumentsBatchRequestDto} bidContractDocumentsBatchRequestDto
|
|
944
|
+
* @param {*} [options] Override http request option.
|
|
945
|
+
* @throws {RequiredError}
|
|
946
|
+
*/
|
|
947
|
+
getBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto, options) {
|
|
948
|
+
return (0, exports.PartnerV1ApiFp)(this.configuration).getBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
949
|
+
}
|
|
950
|
+
/**
|
|
951
|
+
* V5 /entendrec 후속. scope bids:read.
|
|
952
|
+
* @summary 입찰 결과 조회
|
|
953
|
+
* @param {string} bidId
|
|
954
|
+
* @param {string} buyerId
|
|
955
|
+
* @param {*} [options] Override http request option.
|
|
956
|
+
* @throws {RequiredError}
|
|
957
|
+
*/
|
|
958
|
+
getBidResults(bidId, buyerId, options) {
|
|
959
|
+
return (0, exports.PartnerV1ApiFp)(this.configuration).getBidResults(bidId, buyerId, options).then((request) => request(this.axios, this.basePath));
|
|
960
|
+
}
|
|
961
|
+
/**
|
|
962
|
+
* V5 entendRec(bid_puchase_no_list) 후속 — 여러 공고 결과를 1회 호출로(additive, 단건 유지). 입력 순서를 보존한다. scope bids:read.
|
|
963
|
+
* @summary 입찰결과 배치 조회
|
|
964
|
+
* @param {BidResultsBatchRequestDto} bidResultsBatchRequestDto
|
|
965
|
+
* @param {*} [options] Override http request option.
|
|
966
|
+
* @throws {RequiredError}
|
|
967
|
+
*/
|
|
968
|
+
getBidResultsBatch(bidResultsBatchRequestDto, options) {
|
|
969
|
+
return (0, exports.PartnerV1ApiFp)(this.configuration).getBidResultsBatch(bidResultsBatchRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
970
|
+
}
|
|
971
|
+
/**
|
|
972
|
+
* V5 /entendrec 정산(사업자·계좌·공급가액/부가세·응찰 품목내역) 후속. scope bids:read. 가격/신원 가시성 매트릭스와 직교한 ERP 정산 데이터 — read-only.
|
|
973
|
+
* @summary 입찰결과 정산정보 조회
|
|
974
|
+
* @param {string} bidId
|
|
975
|
+
* @param {*} [options] Override http request option.
|
|
976
|
+
* @throws {RequiredError}
|
|
977
|
+
*/
|
|
978
|
+
getBidSettlement(bidId, options) {
|
|
979
|
+
return (0, exports.PartnerV1ApiFp)(this.configuration).getBidSettlement(bidId, options).then((request) => request(this.axios, this.basePath));
|
|
980
|
+
}
|
|
981
|
+
/**
|
|
982
|
+
* V5 /getGrm 후속. scope contracts:read.
|
|
983
|
+
* @summary 거래명세서 조회
|
|
984
|
+
* @param {string} bidId
|
|
985
|
+
* @param {number} paperCode
|
|
986
|
+
* @param {*} [options] Override http request option.
|
|
987
|
+
* @throws {RequiredError}
|
|
988
|
+
*/
|
|
989
|
+
getBidStatement(bidId, paperCode, options) {
|
|
990
|
+
return (0, exports.PartnerV1ApiFp)(this.configuration).getBidStatement(bidId, paperCode, options).then((request) => request(this.axios, this.basePath));
|
|
180
991
|
}
|
|
181
992
|
/**
|
|
182
993
|
* ERP 연동 직전 회선·인증 endpoint 동작 확인용.
|
|
@@ -187,5 +998,65 @@ class PartnerV1Api extends base_1.BaseAPI {
|
|
|
187
998
|
healthControllerCheck(options) {
|
|
188
999
|
return (0, exports.PartnerV1ApiFp)(this.configuration).healthControllerCheck(options).then((request) => request(this.axios, this.basePath));
|
|
189
1000
|
}
|
|
1001
|
+
/**
|
|
1002
|
+
* 유찰 처리(V5 yoochal 패리티). 유찰사유 코드(1~8)·상세를 받아 공고를 유찰 상태로 전환. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
1003
|
+
* @summary 유찰 처리
|
|
1004
|
+
* @param {MarkBidFailedRequestDto} markBidFailedRequestDto
|
|
1005
|
+
* @param {*} [options] Override http request option.
|
|
1006
|
+
* @throws {RequiredError}
|
|
1007
|
+
*/
|
|
1008
|
+
markBidFailed(markBidFailedRequestDto, options) {
|
|
1009
|
+
return (0, exports.PartnerV1ApiFp)(this.configuration).markBidFailed(markBidFailedRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
1010
|
+
}
|
|
1011
|
+
/**
|
|
1012
|
+
* 낙찰 결과 등록. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
1013
|
+
* @summary 낙찰 결과 전송
|
|
1014
|
+
* @param {RegisterAwardRequestDto} registerAwardRequestDto
|
|
1015
|
+
* @param {*} [options] Override http request option.
|
|
1016
|
+
* @throws {RequiredError}
|
|
1017
|
+
*/
|
|
1018
|
+
registerAward(registerAwardRequestDto, options) {
|
|
1019
|
+
return (0, exports.PartnerV1ApiFp)(this.configuration).registerAward(registerAwardRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
1020
|
+
}
|
|
1021
|
+
/**
|
|
1022
|
+
* 입찰 정보 등록. 스코프 `bids:write` + `Idempotency-Key` 헤더 필수.
|
|
1023
|
+
* @summary 입찰 정보 전송(등록)
|
|
1024
|
+
* @param {CreateBidRequestDto} createBidRequestDto
|
|
1025
|
+
* @param {*} [options] Override http request option.
|
|
1026
|
+
* @throws {RequiredError}
|
|
1027
|
+
*/
|
|
1028
|
+
registerBid(createBidRequestDto, options) {
|
|
1029
|
+
return (0, exports.PartnerV1ApiFp)(this.configuration).registerBid(createBidRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
1030
|
+
}
|
|
1031
|
+
/**
|
|
1032
|
+
* V5 /splitInvoiceRequest 후속. scope invoices:write + Idempotency-Key.
|
|
1033
|
+
* @summary 계산서 분할 발급 청구
|
|
1034
|
+
* @param {RequestSplitInvoiceRequestDto} requestSplitInvoiceRequestDto
|
|
1035
|
+
* @param {*} [options] Override http request option.
|
|
1036
|
+
* @throws {RequiredError}
|
|
1037
|
+
*/
|
|
1038
|
+
requestSplitInvoice(requestSplitInvoiceRequestDto, options) {
|
|
1039
|
+
return (0, exports.PartnerV1ApiFp)(this.configuration).requestSplitInvoice(requestSplitInvoiceRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
1040
|
+
}
|
|
1041
|
+
/**
|
|
1042
|
+
* 협상에의한계약(H/K) 응찰자별 기술/가격 점수 일괄 입력(V5 nego-eval 패리티). complete=true 면 평가완료 게이트까지 적용해 낙찰 진입 가능. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
1043
|
+
* @summary 협상(H/K) 점수평가
|
|
1044
|
+
* @param {SubmitNegotiationScoresRequestDto} submitNegotiationScoresRequestDto
|
|
1045
|
+
* @param {*} [options] Override http request option.
|
|
1046
|
+
* @throws {RequiredError}
|
|
1047
|
+
*/
|
|
1048
|
+
submitNegotiationScores(submitNegotiationScoresRequestDto, options) {
|
|
1049
|
+
return (0, exports.PartnerV1ApiFp)(this.configuration).submitNegotiationScores(submitNegotiationScoresRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
1050
|
+
}
|
|
1051
|
+
/**
|
|
1052
|
+
* 스코프 `files:write` 필수. base64 또는 url 중 하나를 제출한다.
|
|
1053
|
+
* @summary 입찰 첨부파일 업로드(base64 또는 url) → fileKey
|
|
1054
|
+
* @param {UploadFileRequestDto} uploadFileRequestDto
|
|
1055
|
+
* @param {*} [options] Override http request option.
|
|
1056
|
+
* @throws {RequiredError}
|
|
1057
|
+
*/
|
|
1058
|
+
uploadFile(uploadFileRequestDto, options) {
|
|
1059
|
+
return (0, exports.PartnerV1ApiFp)(this.configuration).uploadFile(uploadFileRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
1060
|
+
}
|
|
190
1061
|
}
|
|
191
1062
|
exports.PartnerV1Api = PartnerV1Api;
|