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