@cmarket/partner-sdk 0.2.1 → 0.3.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 -15
- package/api/partner-v1-api.ts +1025 -3
- package/api.ts +0 -1
- package/dist/api/partner-v1-api.d.ts +452 -0
- package/dist/api/partner-v1-api.js +974 -34
- package/dist/api.d.ts +0 -1
- package/dist/api.js +0 -1
- package/dist/esm/api/partner-v1-api.d.ts +452 -0
- package/dist/esm/api/partner-v1-api.js +974 -34
- 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 +1 -1
- package/dist/models/create-bid-request-dto.d.ts +1 -1
- package/docs/CreateBidRequestDto.md +1 -1
- package/docs/PartnerV1Api.md +697 -0
- package/models/create-bid-request-dto.ts +1 -1
- 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/docs/PartnerV2Api.md +0 -704
|
@@ -1,996 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* CMARKET V6 Partner API
|
|
5
|
-
* 외부 ERP 연동용 RESTful API.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
-
});
|
|
22
|
-
};
|
|
23
|
-
import globalAxios from 'axios';
|
|
24
|
-
// Some imports not used depending on template conditions
|
|
25
|
-
// @ts-ignore
|
|
26
|
-
import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
27
|
-
// @ts-ignore
|
|
28
|
-
import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
29
|
-
/**
|
|
30
|
-
* PartnerV2Api - axios parameter creator
|
|
31
|
-
*/
|
|
32
|
-
export const PartnerV2ApiAxiosParamCreator = function (configuration) {
|
|
33
|
-
return {
|
|
34
|
-
/**
|
|
35
|
-
* V5 /acceptanceCompleteSend 후속. scope contracts:write + Idempotency-Key.
|
|
36
|
-
* @summary 검수완료 전송
|
|
37
|
-
* @param {string} bidId
|
|
38
|
-
* @param {CompleteAcceptanceRequestDto} completeAcceptanceRequestDto
|
|
39
|
-
* @param {*} [options] Override http request option.
|
|
40
|
-
* @throws {RequiredError}
|
|
41
|
-
*/
|
|
42
|
-
completeAcceptance: (bidId_1, completeAcceptanceRequestDto_1, ...args_1) => __awaiter(this, [bidId_1, completeAcceptanceRequestDto_1, ...args_1], void 0, function* (bidId, completeAcceptanceRequestDto, options = {}) {
|
|
43
|
-
// verify required parameter 'bidId' is not null or undefined
|
|
44
|
-
assertParamExists('completeAcceptance', 'bidId', bidId);
|
|
45
|
-
// verify required parameter 'completeAcceptanceRequestDto' is not null or undefined
|
|
46
|
-
assertParamExists('completeAcceptance', 'completeAcceptanceRequestDto', completeAcceptanceRequestDto);
|
|
47
|
-
const localVarPath = `/v2/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 = `/v2/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 = `/v2/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 = `/v2/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 = `/v2/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 = `/v2/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 = `/v2/bids/{bidId}/statement`
|
|
265
|
-
.replace('{bidId}', encodeURIComponent(String(bidId)));
|
|
266
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
267
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
268
|
-
let baseOptions;
|
|
269
|
-
if (configuration) {
|
|
270
|
-
baseOptions = configuration.baseOptions;
|
|
271
|
-
}
|
|
272
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
273
|
-
const localVarHeaderParameter = {};
|
|
274
|
-
const localVarQueryParameter = {};
|
|
275
|
-
// authentication partner-oauth2 required
|
|
276
|
-
// http bearer authentication required
|
|
277
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
278
|
-
if (paperCode !== undefined) {
|
|
279
|
-
localVarQueryParameter['paperCode'] = paperCode;
|
|
280
|
-
}
|
|
281
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
282
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
283
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
284
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
285
|
-
return {
|
|
286
|
-
url: toPathString(localVarUrlObj),
|
|
287
|
-
options: localVarRequestOptions,
|
|
288
|
-
};
|
|
289
|
-
}),
|
|
290
|
-
/**
|
|
291
|
-
* 유찰 처리(V5 yoochal 패리티). 유찰사유 코드(1~8)·상세를 받아 공고를 유찰 상태로 전환. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
292
|
-
* @summary 유찰 처리
|
|
293
|
-
* @param {MarkBidFailedRequestDto} markBidFailedRequestDto
|
|
294
|
-
* @param {*} [options] Override http request option.
|
|
295
|
-
* @throws {RequiredError}
|
|
296
|
-
*/
|
|
297
|
-
markBidFailed: (markBidFailedRequestDto_1, ...args_1) => __awaiter(this, [markBidFailedRequestDto_1, ...args_1], void 0, function* (markBidFailedRequestDto, options = {}) {
|
|
298
|
-
// verify required parameter 'markBidFailedRequestDto' is not null or undefined
|
|
299
|
-
assertParamExists('markBidFailed', 'markBidFailedRequestDto', markBidFailedRequestDto);
|
|
300
|
-
const localVarPath = `/v2/awards/fail`;
|
|
301
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
302
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
303
|
-
let baseOptions;
|
|
304
|
-
if (configuration) {
|
|
305
|
-
baseOptions = configuration.baseOptions;
|
|
306
|
-
}
|
|
307
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
308
|
-
const localVarHeaderParameter = {};
|
|
309
|
-
const localVarQueryParameter = {};
|
|
310
|
-
// authentication partner-oauth2 required
|
|
311
|
-
// http bearer authentication required
|
|
312
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
313
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
314
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
315
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
316
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
317
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
318
|
-
localVarRequestOptions.data = serializeDataIfNeeded(markBidFailedRequestDto, localVarRequestOptions, configuration);
|
|
319
|
-
return {
|
|
320
|
-
url: toPathString(localVarUrlObj),
|
|
321
|
-
options: localVarRequestOptions,
|
|
322
|
-
};
|
|
323
|
-
}),
|
|
324
|
-
/**
|
|
325
|
-
* 낙찰 결과 등록. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
326
|
-
* @summary 낙찰 결과 전송
|
|
327
|
-
* @param {RegisterAwardRequestDto} registerAwardRequestDto
|
|
328
|
-
* @param {*} [options] Override http request option.
|
|
329
|
-
* @throws {RequiredError}
|
|
330
|
-
*/
|
|
331
|
-
registerAward: (registerAwardRequestDto_1, ...args_1) => __awaiter(this, [registerAwardRequestDto_1, ...args_1], void 0, function* (registerAwardRequestDto, options = {}) {
|
|
332
|
-
// verify required parameter 'registerAwardRequestDto' is not null or undefined
|
|
333
|
-
assertParamExists('registerAward', 'registerAwardRequestDto', registerAwardRequestDto);
|
|
334
|
-
const localVarPath = `/v2/awards`;
|
|
335
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
336
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
337
|
-
let baseOptions;
|
|
338
|
-
if (configuration) {
|
|
339
|
-
baseOptions = configuration.baseOptions;
|
|
340
|
-
}
|
|
341
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
342
|
-
const localVarHeaderParameter = {};
|
|
343
|
-
const localVarQueryParameter = {};
|
|
344
|
-
// authentication partner-oauth2 required
|
|
345
|
-
// http bearer authentication required
|
|
346
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
347
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
348
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
349
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
350
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
351
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
352
|
-
localVarRequestOptions.data = serializeDataIfNeeded(registerAwardRequestDto, localVarRequestOptions, configuration);
|
|
353
|
-
return {
|
|
354
|
-
url: toPathString(localVarUrlObj),
|
|
355
|
-
options: localVarRequestOptions,
|
|
356
|
-
};
|
|
357
|
-
}),
|
|
358
|
-
/**
|
|
359
|
-
* 입찰 정보 등록. 스코프 `bids:write` + `Idempotency-Key` 헤더 필수.
|
|
360
|
-
* @summary 입찰 정보 전송(등록)
|
|
361
|
-
* @param {CreateBidRequestDto} createBidRequestDto
|
|
362
|
-
* @param {*} [options] Override http request option.
|
|
363
|
-
* @throws {RequiredError}
|
|
364
|
-
*/
|
|
365
|
-
registerBid: (createBidRequestDto_1, ...args_1) => __awaiter(this, [createBidRequestDto_1, ...args_1], void 0, function* (createBidRequestDto, options = {}) {
|
|
366
|
-
// verify required parameter 'createBidRequestDto' is not null or undefined
|
|
367
|
-
assertParamExists('registerBid', 'createBidRequestDto', createBidRequestDto);
|
|
368
|
-
const localVarPath = `/v2/bids`;
|
|
369
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
370
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
371
|
-
let baseOptions;
|
|
372
|
-
if (configuration) {
|
|
373
|
-
baseOptions = configuration.baseOptions;
|
|
374
|
-
}
|
|
375
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
376
|
-
const localVarHeaderParameter = {};
|
|
377
|
-
const localVarQueryParameter = {};
|
|
378
|
-
// authentication partner-oauth2 required
|
|
379
|
-
// http bearer authentication required
|
|
380
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
381
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
382
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
383
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
384
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
385
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
386
|
-
localVarRequestOptions.data = serializeDataIfNeeded(createBidRequestDto, localVarRequestOptions, configuration);
|
|
387
|
-
return {
|
|
388
|
-
url: toPathString(localVarUrlObj),
|
|
389
|
-
options: localVarRequestOptions,
|
|
390
|
-
};
|
|
391
|
-
}),
|
|
392
|
-
/**
|
|
393
|
-
* V5 /splitInvoiceRequest 후속. scope invoices:write + Idempotency-Key.
|
|
394
|
-
* @summary 계산서 분할 발급 청구
|
|
395
|
-
* @param {RequestSplitInvoiceRequestDto} requestSplitInvoiceRequestDto
|
|
396
|
-
* @param {*} [options] Override http request option.
|
|
397
|
-
* @throws {RequiredError}
|
|
398
|
-
*/
|
|
399
|
-
requestSplitInvoice: (requestSplitInvoiceRequestDto_1, ...args_1) => __awaiter(this, [requestSplitInvoiceRequestDto_1, ...args_1], void 0, function* (requestSplitInvoiceRequestDto, options = {}) {
|
|
400
|
-
// verify required parameter 'requestSplitInvoiceRequestDto' is not null or undefined
|
|
401
|
-
assertParamExists('requestSplitInvoice', 'requestSplitInvoiceRequestDto', requestSplitInvoiceRequestDto);
|
|
402
|
-
const localVarPath = `/v2/invoices/split-requests`;
|
|
403
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
404
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
405
|
-
let baseOptions;
|
|
406
|
-
if (configuration) {
|
|
407
|
-
baseOptions = configuration.baseOptions;
|
|
408
|
-
}
|
|
409
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
410
|
-
const localVarHeaderParameter = {};
|
|
411
|
-
const localVarQueryParameter = {};
|
|
412
|
-
// authentication partner-oauth2 required
|
|
413
|
-
// http bearer authentication required
|
|
414
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
415
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
416
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
417
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
418
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
419
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
420
|
-
localVarRequestOptions.data = serializeDataIfNeeded(requestSplitInvoiceRequestDto, localVarRequestOptions, configuration);
|
|
421
|
-
return {
|
|
422
|
-
url: toPathString(localVarUrlObj),
|
|
423
|
-
options: localVarRequestOptions,
|
|
424
|
-
};
|
|
425
|
-
}),
|
|
426
|
-
/**
|
|
427
|
-
* 협상에의한계약(H/K) 응찰자별 기술/가격 점수 일괄 입력(V5 nego-eval 패리티). complete=true 면 평가완료 게이트까지 적용해 낙찰 진입 가능. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
428
|
-
* @summary 협상(H/K) 점수평가
|
|
429
|
-
* @param {SubmitNegotiationScoresRequestDto} submitNegotiationScoresRequestDto
|
|
430
|
-
* @param {*} [options] Override http request option.
|
|
431
|
-
* @throws {RequiredError}
|
|
432
|
-
*/
|
|
433
|
-
submitNegotiationScores: (submitNegotiationScoresRequestDto_1, ...args_1) => __awaiter(this, [submitNegotiationScoresRequestDto_1, ...args_1], void 0, function* (submitNegotiationScoresRequestDto, options = {}) {
|
|
434
|
-
// verify required parameter 'submitNegotiationScoresRequestDto' is not null or undefined
|
|
435
|
-
assertParamExists('submitNegotiationScores', 'submitNegotiationScoresRequestDto', submitNegotiationScoresRequestDto);
|
|
436
|
-
const localVarPath = `/v2/awards/nego-eval`;
|
|
437
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
438
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
439
|
-
let baseOptions;
|
|
440
|
-
if (configuration) {
|
|
441
|
-
baseOptions = configuration.baseOptions;
|
|
442
|
-
}
|
|
443
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
444
|
-
const localVarHeaderParameter = {};
|
|
445
|
-
const localVarQueryParameter = {};
|
|
446
|
-
// authentication partner-oauth2 required
|
|
447
|
-
// http bearer authentication required
|
|
448
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
449
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
450
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
451
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
452
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
453
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
454
|
-
localVarRequestOptions.data = serializeDataIfNeeded(submitNegotiationScoresRequestDto, localVarRequestOptions, configuration);
|
|
455
|
-
return {
|
|
456
|
-
url: toPathString(localVarUrlObj),
|
|
457
|
-
options: localVarRequestOptions,
|
|
458
|
-
};
|
|
459
|
-
}),
|
|
460
|
-
/**
|
|
461
|
-
* 스코프 `files:write` 필수. base64 또는 url 중 하나를 제출한다.
|
|
462
|
-
* @summary 입찰 첨부파일 업로드(base64 또는 url) → fileKey
|
|
463
|
-
* @param {UploadFileRequestDto} uploadFileRequestDto
|
|
464
|
-
* @param {*} [options] Override http request option.
|
|
465
|
-
* @throws {RequiredError}
|
|
466
|
-
*/
|
|
467
|
-
uploadFile: (uploadFileRequestDto_1, ...args_1) => __awaiter(this, [uploadFileRequestDto_1, ...args_1], void 0, function* (uploadFileRequestDto, options = {}) {
|
|
468
|
-
// verify required parameter 'uploadFileRequestDto' is not null or undefined
|
|
469
|
-
assertParamExists('uploadFile', 'uploadFileRequestDto', uploadFileRequestDto);
|
|
470
|
-
const localVarPath = `/v2/files`;
|
|
471
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
472
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
473
|
-
let baseOptions;
|
|
474
|
-
if (configuration) {
|
|
475
|
-
baseOptions = configuration.baseOptions;
|
|
476
|
-
}
|
|
477
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
478
|
-
const localVarHeaderParameter = {};
|
|
479
|
-
const localVarQueryParameter = {};
|
|
480
|
-
// authentication partner-oauth2 required
|
|
481
|
-
// http bearer authentication required
|
|
482
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
483
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
484
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
485
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
486
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
487
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
488
|
-
localVarRequestOptions.data = serializeDataIfNeeded(uploadFileRequestDto, localVarRequestOptions, configuration);
|
|
489
|
-
return {
|
|
490
|
-
url: toPathString(localVarUrlObj),
|
|
491
|
-
options: localVarRequestOptions,
|
|
492
|
-
};
|
|
493
|
-
}),
|
|
494
|
-
};
|
|
495
|
-
};
|
|
496
|
-
/**
|
|
497
|
-
* PartnerV2Api - functional programming interface
|
|
498
|
-
*/
|
|
499
|
-
export const PartnerV2ApiFp = function (configuration) {
|
|
500
|
-
const localVarAxiosParamCreator = PartnerV2ApiAxiosParamCreator(configuration);
|
|
501
|
-
return {
|
|
502
|
-
/**
|
|
503
|
-
* V5 /acceptanceCompleteSend 후속. scope contracts:write + Idempotency-Key.
|
|
504
|
-
* @summary 검수완료 전송
|
|
505
|
-
* @param {string} bidId
|
|
506
|
-
* @param {CompleteAcceptanceRequestDto} completeAcceptanceRequestDto
|
|
507
|
-
* @param {*} [options] Override http request option.
|
|
508
|
-
* @throws {RequiredError}
|
|
509
|
-
*/
|
|
510
|
-
completeAcceptance(bidId, completeAcceptanceRequestDto, options) {
|
|
511
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
512
|
-
var _a, _b, _c;
|
|
513
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.completeAcceptance(bidId, completeAcceptanceRequestDto, options);
|
|
514
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
515
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PartnerV2Api.completeAcceptance']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
516
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
517
|
-
});
|
|
518
|
-
},
|
|
519
|
-
/**
|
|
520
|
-
* V5 /contractDocumentRec 후속. scope contracts:read.
|
|
521
|
-
* @summary 계약서류 수신 조회
|
|
522
|
-
* @param {string} bidId
|
|
523
|
-
* @param {string} buyerId
|
|
524
|
-
* @param {*} [options] Override http request option.
|
|
525
|
-
* @throws {RequiredError}
|
|
526
|
-
*/
|
|
527
|
-
getBidContractDocuments(bidId, buyerId, options) {
|
|
528
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
529
|
-
var _a, _b, _c;
|
|
530
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getBidContractDocuments(bidId, buyerId, options);
|
|
531
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
532
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PartnerV2Api.getBidContractDocuments']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
533
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
534
|
-
});
|
|
535
|
-
},
|
|
536
|
-
/**
|
|
537
|
-
* V5 /contractDocumentRec(bid_puchase_no_list) 후속. 공고번호 리스트를 한 번에 조회. 단건(GET :bidId/contract-documents)은 그대로 유지. scope contracts:read.
|
|
538
|
-
* @summary 계약서류 수신 배치 조회
|
|
539
|
-
* @param {BidContractDocumentsBatchRequestDto} bidContractDocumentsBatchRequestDto
|
|
540
|
-
* @param {*} [options] Override http request option.
|
|
541
|
-
* @throws {RequiredError}
|
|
542
|
-
*/
|
|
543
|
-
getBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto, options) {
|
|
544
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
545
|
-
var _a, _b, _c;
|
|
546
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto, options);
|
|
547
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
548
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PartnerV2Api.getBidContractDocumentsBatch']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
549
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
550
|
-
});
|
|
551
|
-
},
|
|
552
|
-
/**
|
|
553
|
-
* V5 /entendrec 후속. scope bids:read.
|
|
554
|
-
* @summary 입찰 결과 조회
|
|
555
|
-
* @param {string} bidId
|
|
556
|
-
* @param {string} buyerId
|
|
557
|
-
* @param {*} [options] Override http request option.
|
|
558
|
-
* @throws {RequiredError}
|
|
559
|
-
*/
|
|
560
|
-
getBidResults(bidId, buyerId, options) {
|
|
561
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
562
|
-
var _a, _b, _c;
|
|
563
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getBidResults(bidId, buyerId, options);
|
|
564
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
565
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PartnerV2Api.getBidResults']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
566
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
567
|
-
});
|
|
568
|
-
},
|
|
569
|
-
/**
|
|
570
|
-
* V5 entendRec(bid_puchase_no_list) 후속 — 여러 공고 결과를 1회 호출로(additive, 단건 유지). 입력 순서를 보존한다. scope bids:read.
|
|
571
|
-
* @summary 입찰결과 배치 조회
|
|
572
|
-
* @param {BidResultsBatchRequestDto} bidResultsBatchRequestDto
|
|
573
|
-
* @param {*} [options] Override http request option.
|
|
574
|
-
* @throws {RequiredError}
|
|
575
|
-
*/
|
|
576
|
-
getBidResultsBatch(bidResultsBatchRequestDto, options) {
|
|
577
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
578
|
-
var _a, _b, _c;
|
|
579
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getBidResultsBatch(bidResultsBatchRequestDto, options);
|
|
580
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
581
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PartnerV2Api.getBidResultsBatch']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
582
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
583
|
-
});
|
|
584
|
-
},
|
|
585
|
-
/**
|
|
586
|
-
* V5 /entendrec 정산(사업자·계좌·공급가액/부가세·응찰 품목내역) 후속. scope bids:read. 가격/신원 가시성 매트릭스와 직교한 ERP 정산 데이터 — read-only.
|
|
587
|
-
* @summary 입찰결과 정산정보 조회
|
|
588
|
-
* @param {string} bidId
|
|
589
|
-
* @param {*} [options] Override http request option.
|
|
590
|
-
* @throws {RequiredError}
|
|
591
|
-
*/
|
|
592
|
-
getBidSettlement(bidId, options) {
|
|
593
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
594
|
-
var _a, _b, _c;
|
|
595
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getBidSettlement(bidId, options);
|
|
596
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
597
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PartnerV2Api.getBidSettlement']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
598
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
599
|
-
});
|
|
600
|
-
},
|
|
601
|
-
/**
|
|
602
|
-
* V5 /getGrm 후속. scope contracts:read.
|
|
603
|
-
* @summary 거래명세서 조회
|
|
604
|
-
* @param {string} bidId
|
|
605
|
-
* @param {number} paperCode
|
|
606
|
-
* @param {*} [options] Override http request option.
|
|
607
|
-
* @throws {RequiredError}
|
|
608
|
-
*/
|
|
609
|
-
getBidStatement(bidId, paperCode, options) {
|
|
610
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
611
|
-
var _a, _b, _c;
|
|
612
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getBidStatement(bidId, paperCode, options);
|
|
613
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
614
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PartnerV2Api.getBidStatement']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
615
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
616
|
-
});
|
|
617
|
-
},
|
|
618
|
-
/**
|
|
619
|
-
* 유찰 처리(V5 yoochal 패리티). 유찰사유 코드(1~8)·상세를 받아 공고를 유찰 상태로 전환. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
620
|
-
* @summary 유찰 처리
|
|
621
|
-
* @param {MarkBidFailedRequestDto} markBidFailedRequestDto
|
|
622
|
-
* @param {*} [options] Override http request option.
|
|
623
|
-
* @throws {RequiredError}
|
|
624
|
-
*/
|
|
625
|
-
markBidFailed(markBidFailedRequestDto, options) {
|
|
626
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
627
|
-
var _a, _b, _c;
|
|
628
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.markBidFailed(markBidFailedRequestDto, options);
|
|
629
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
630
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PartnerV2Api.markBidFailed']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
631
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
632
|
-
});
|
|
633
|
-
},
|
|
634
|
-
/**
|
|
635
|
-
* 낙찰 결과 등록. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
636
|
-
* @summary 낙찰 결과 전송
|
|
637
|
-
* @param {RegisterAwardRequestDto} registerAwardRequestDto
|
|
638
|
-
* @param {*} [options] Override http request option.
|
|
639
|
-
* @throws {RequiredError}
|
|
640
|
-
*/
|
|
641
|
-
registerAward(registerAwardRequestDto, options) {
|
|
642
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
643
|
-
var _a, _b, _c;
|
|
644
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.registerAward(registerAwardRequestDto, options);
|
|
645
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
646
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PartnerV2Api.registerAward']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
647
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
648
|
-
});
|
|
649
|
-
},
|
|
650
|
-
/**
|
|
651
|
-
* 입찰 정보 등록. 스코프 `bids:write` + `Idempotency-Key` 헤더 필수.
|
|
652
|
-
* @summary 입찰 정보 전송(등록)
|
|
653
|
-
* @param {CreateBidRequestDto} createBidRequestDto
|
|
654
|
-
* @param {*} [options] Override http request option.
|
|
655
|
-
* @throws {RequiredError}
|
|
656
|
-
*/
|
|
657
|
-
registerBid(createBidRequestDto, options) {
|
|
658
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
659
|
-
var _a, _b, _c;
|
|
660
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.registerBid(createBidRequestDto, options);
|
|
661
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
662
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PartnerV2Api.registerBid']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
663
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
664
|
-
});
|
|
665
|
-
},
|
|
666
|
-
/**
|
|
667
|
-
* V5 /splitInvoiceRequest 후속. scope invoices:write + Idempotency-Key.
|
|
668
|
-
* @summary 계산서 분할 발급 청구
|
|
669
|
-
* @param {RequestSplitInvoiceRequestDto} requestSplitInvoiceRequestDto
|
|
670
|
-
* @param {*} [options] Override http request option.
|
|
671
|
-
* @throws {RequiredError}
|
|
672
|
-
*/
|
|
673
|
-
requestSplitInvoice(requestSplitInvoiceRequestDto, options) {
|
|
674
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
675
|
-
var _a, _b, _c;
|
|
676
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.requestSplitInvoice(requestSplitInvoiceRequestDto, options);
|
|
677
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
678
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PartnerV2Api.requestSplitInvoice']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
679
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
680
|
-
});
|
|
681
|
-
},
|
|
682
|
-
/**
|
|
683
|
-
* 협상에의한계약(H/K) 응찰자별 기술/가격 점수 일괄 입력(V5 nego-eval 패리티). complete=true 면 평가완료 게이트까지 적용해 낙찰 진입 가능. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
684
|
-
* @summary 협상(H/K) 점수평가
|
|
685
|
-
* @param {SubmitNegotiationScoresRequestDto} submitNegotiationScoresRequestDto
|
|
686
|
-
* @param {*} [options] Override http request option.
|
|
687
|
-
* @throws {RequiredError}
|
|
688
|
-
*/
|
|
689
|
-
submitNegotiationScores(submitNegotiationScoresRequestDto, options) {
|
|
690
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
691
|
-
var _a, _b, _c;
|
|
692
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.submitNegotiationScores(submitNegotiationScoresRequestDto, options);
|
|
693
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
694
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PartnerV2Api.submitNegotiationScores']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
695
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
696
|
-
});
|
|
697
|
-
},
|
|
698
|
-
/**
|
|
699
|
-
* 스코프 `files:write` 필수. base64 또는 url 중 하나를 제출한다.
|
|
700
|
-
* @summary 입찰 첨부파일 업로드(base64 또는 url) → fileKey
|
|
701
|
-
* @param {UploadFileRequestDto} uploadFileRequestDto
|
|
702
|
-
* @param {*} [options] Override http request option.
|
|
703
|
-
* @throws {RequiredError}
|
|
704
|
-
*/
|
|
705
|
-
uploadFile(uploadFileRequestDto, options) {
|
|
706
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
707
|
-
var _a, _b, _c;
|
|
708
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.uploadFile(uploadFileRequestDto, options);
|
|
709
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
710
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PartnerV2Api.uploadFile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
711
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
712
|
-
});
|
|
713
|
-
},
|
|
714
|
-
};
|
|
715
|
-
};
|
|
716
|
-
/**
|
|
717
|
-
* PartnerV2Api - factory interface
|
|
718
|
-
*/
|
|
719
|
-
export const PartnerV2ApiFactory = function (configuration, basePath, axios) {
|
|
720
|
-
const localVarFp = PartnerV2ApiFp(configuration);
|
|
721
|
-
return {
|
|
722
|
-
/**
|
|
723
|
-
* V5 /acceptanceCompleteSend 후속. scope contracts:write + Idempotency-Key.
|
|
724
|
-
* @summary 검수완료 전송
|
|
725
|
-
* @param {string} bidId
|
|
726
|
-
* @param {CompleteAcceptanceRequestDto} completeAcceptanceRequestDto
|
|
727
|
-
* @param {*} [options] Override http request option.
|
|
728
|
-
* @throws {RequiredError}
|
|
729
|
-
*/
|
|
730
|
-
completeAcceptance(bidId, completeAcceptanceRequestDto, options) {
|
|
731
|
-
return localVarFp.completeAcceptance(bidId, completeAcceptanceRequestDto, options).then((request) => request(axios, basePath));
|
|
732
|
-
},
|
|
733
|
-
/**
|
|
734
|
-
* V5 /contractDocumentRec 후속. scope contracts:read.
|
|
735
|
-
* @summary 계약서류 수신 조회
|
|
736
|
-
* @param {string} bidId
|
|
737
|
-
* @param {string} buyerId
|
|
738
|
-
* @param {*} [options] Override http request option.
|
|
739
|
-
* @throws {RequiredError}
|
|
740
|
-
*/
|
|
741
|
-
getBidContractDocuments(bidId, buyerId, options) {
|
|
742
|
-
return localVarFp.getBidContractDocuments(bidId, buyerId, options).then((request) => request(axios, basePath));
|
|
743
|
-
},
|
|
744
|
-
/**
|
|
745
|
-
* V5 /contractDocumentRec(bid_puchase_no_list) 후속. 공고번호 리스트를 한 번에 조회. 단건(GET :bidId/contract-documents)은 그대로 유지. scope contracts:read.
|
|
746
|
-
* @summary 계약서류 수신 배치 조회
|
|
747
|
-
* @param {BidContractDocumentsBatchRequestDto} bidContractDocumentsBatchRequestDto
|
|
748
|
-
* @param {*} [options] Override http request option.
|
|
749
|
-
* @throws {RequiredError}
|
|
750
|
-
*/
|
|
751
|
-
getBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto, options) {
|
|
752
|
-
return localVarFp.getBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto, options).then((request) => request(axios, basePath));
|
|
753
|
-
},
|
|
754
|
-
/**
|
|
755
|
-
* V5 /entendrec 후속. scope bids:read.
|
|
756
|
-
* @summary 입찰 결과 조회
|
|
757
|
-
* @param {string} bidId
|
|
758
|
-
* @param {string} buyerId
|
|
759
|
-
* @param {*} [options] Override http request option.
|
|
760
|
-
* @throws {RequiredError}
|
|
761
|
-
*/
|
|
762
|
-
getBidResults(bidId, buyerId, options) {
|
|
763
|
-
return localVarFp.getBidResults(bidId, buyerId, options).then((request) => request(axios, basePath));
|
|
764
|
-
},
|
|
765
|
-
/**
|
|
766
|
-
* V5 entendRec(bid_puchase_no_list) 후속 — 여러 공고 결과를 1회 호출로(additive, 단건 유지). 입력 순서를 보존한다. scope bids:read.
|
|
767
|
-
* @summary 입찰결과 배치 조회
|
|
768
|
-
* @param {BidResultsBatchRequestDto} bidResultsBatchRequestDto
|
|
769
|
-
* @param {*} [options] Override http request option.
|
|
770
|
-
* @throws {RequiredError}
|
|
771
|
-
*/
|
|
772
|
-
getBidResultsBatch(bidResultsBatchRequestDto, options) {
|
|
773
|
-
return localVarFp.getBidResultsBatch(bidResultsBatchRequestDto, options).then((request) => request(axios, basePath));
|
|
774
|
-
},
|
|
775
|
-
/**
|
|
776
|
-
* V5 /entendrec 정산(사업자·계좌·공급가액/부가세·응찰 품목내역) 후속. scope bids:read. 가격/신원 가시성 매트릭스와 직교한 ERP 정산 데이터 — read-only.
|
|
777
|
-
* @summary 입찰결과 정산정보 조회
|
|
778
|
-
* @param {string} bidId
|
|
779
|
-
* @param {*} [options] Override http request option.
|
|
780
|
-
* @throws {RequiredError}
|
|
781
|
-
*/
|
|
782
|
-
getBidSettlement(bidId, options) {
|
|
783
|
-
return localVarFp.getBidSettlement(bidId, options).then((request) => request(axios, basePath));
|
|
784
|
-
},
|
|
785
|
-
/**
|
|
786
|
-
* V5 /getGrm 후속. scope contracts:read.
|
|
787
|
-
* @summary 거래명세서 조회
|
|
788
|
-
* @param {string} bidId
|
|
789
|
-
* @param {number} paperCode
|
|
790
|
-
* @param {*} [options] Override http request option.
|
|
791
|
-
* @throws {RequiredError}
|
|
792
|
-
*/
|
|
793
|
-
getBidStatement(bidId, paperCode, options) {
|
|
794
|
-
return localVarFp.getBidStatement(bidId, paperCode, options).then((request) => request(axios, basePath));
|
|
795
|
-
},
|
|
796
|
-
/**
|
|
797
|
-
* 유찰 처리(V5 yoochal 패리티). 유찰사유 코드(1~8)·상세를 받아 공고를 유찰 상태로 전환. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
798
|
-
* @summary 유찰 처리
|
|
799
|
-
* @param {MarkBidFailedRequestDto} markBidFailedRequestDto
|
|
800
|
-
* @param {*} [options] Override http request option.
|
|
801
|
-
* @throws {RequiredError}
|
|
802
|
-
*/
|
|
803
|
-
markBidFailed(markBidFailedRequestDto, options) {
|
|
804
|
-
return localVarFp.markBidFailed(markBidFailedRequestDto, options).then((request) => request(axios, basePath));
|
|
805
|
-
},
|
|
806
|
-
/**
|
|
807
|
-
* 낙찰 결과 등록. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
808
|
-
* @summary 낙찰 결과 전송
|
|
809
|
-
* @param {RegisterAwardRequestDto} registerAwardRequestDto
|
|
810
|
-
* @param {*} [options] Override http request option.
|
|
811
|
-
* @throws {RequiredError}
|
|
812
|
-
*/
|
|
813
|
-
registerAward(registerAwardRequestDto, options) {
|
|
814
|
-
return localVarFp.registerAward(registerAwardRequestDto, options).then((request) => request(axios, basePath));
|
|
815
|
-
},
|
|
816
|
-
/**
|
|
817
|
-
* 입찰 정보 등록. 스코프 `bids:write` + `Idempotency-Key` 헤더 필수.
|
|
818
|
-
* @summary 입찰 정보 전송(등록)
|
|
819
|
-
* @param {CreateBidRequestDto} createBidRequestDto
|
|
820
|
-
* @param {*} [options] Override http request option.
|
|
821
|
-
* @throws {RequiredError}
|
|
822
|
-
*/
|
|
823
|
-
registerBid(createBidRequestDto, options) {
|
|
824
|
-
return localVarFp.registerBid(createBidRequestDto, options).then((request) => request(axios, basePath));
|
|
825
|
-
},
|
|
826
|
-
/**
|
|
827
|
-
* V5 /splitInvoiceRequest 후속. scope invoices:write + Idempotency-Key.
|
|
828
|
-
* @summary 계산서 분할 발급 청구
|
|
829
|
-
* @param {RequestSplitInvoiceRequestDto} requestSplitInvoiceRequestDto
|
|
830
|
-
* @param {*} [options] Override http request option.
|
|
831
|
-
* @throws {RequiredError}
|
|
832
|
-
*/
|
|
833
|
-
requestSplitInvoice(requestSplitInvoiceRequestDto, options) {
|
|
834
|
-
return localVarFp.requestSplitInvoice(requestSplitInvoiceRequestDto, options).then((request) => request(axios, basePath));
|
|
835
|
-
},
|
|
836
|
-
/**
|
|
837
|
-
* 협상에의한계약(H/K) 응찰자별 기술/가격 점수 일괄 입력(V5 nego-eval 패리티). complete=true 면 평가완료 게이트까지 적용해 낙찰 진입 가능. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
838
|
-
* @summary 협상(H/K) 점수평가
|
|
839
|
-
* @param {SubmitNegotiationScoresRequestDto} submitNegotiationScoresRequestDto
|
|
840
|
-
* @param {*} [options] Override http request option.
|
|
841
|
-
* @throws {RequiredError}
|
|
842
|
-
*/
|
|
843
|
-
submitNegotiationScores(submitNegotiationScoresRequestDto, options) {
|
|
844
|
-
return localVarFp.submitNegotiationScores(submitNegotiationScoresRequestDto, options).then((request) => request(axios, basePath));
|
|
845
|
-
},
|
|
846
|
-
/**
|
|
847
|
-
* 스코프 `files:write` 필수. base64 또는 url 중 하나를 제출한다.
|
|
848
|
-
* @summary 입찰 첨부파일 업로드(base64 또는 url) → fileKey
|
|
849
|
-
* @param {UploadFileRequestDto} uploadFileRequestDto
|
|
850
|
-
* @param {*} [options] Override http request option.
|
|
851
|
-
* @throws {RequiredError}
|
|
852
|
-
*/
|
|
853
|
-
uploadFile(uploadFileRequestDto, options) {
|
|
854
|
-
return localVarFp.uploadFile(uploadFileRequestDto, options).then((request) => request(axios, basePath));
|
|
855
|
-
},
|
|
856
|
-
};
|
|
857
|
-
};
|
|
858
|
-
/**
|
|
859
|
-
* PartnerV2Api - object-oriented interface
|
|
860
|
-
*/
|
|
861
|
-
export class PartnerV2Api extends BaseAPI {
|
|
862
|
-
/**
|
|
863
|
-
* V5 /acceptanceCompleteSend 후속. scope contracts:write + Idempotency-Key.
|
|
864
|
-
* @summary 검수완료 전송
|
|
865
|
-
* @param {string} bidId
|
|
866
|
-
* @param {CompleteAcceptanceRequestDto} completeAcceptanceRequestDto
|
|
867
|
-
* @param {*} [options] Override http request option.
|
|
868
|
-
* @throws {RequiredError}
|
|
869
|
-
*/
|
|
870
|
-
completeAcceptance(bidId, completeAcceptanceRequestDto, options) {
|
|
871
|
-
return PartnerV2ApiFp(this.configuration).completeAcceptance(bidId, completeAcceptanceRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
872
|
-
}
|
|
873
|
-
/**
|
|
874
|
-
* V5 /contractDocumentRec 후속. scope contracts:read.
|
|
875
|
-
* @summary 계약서류 수신 조회
|
|
876
|
-
* @param {string} bidId
|
|
877
|
-
* @param {string} buyerId
|
|
878
|
-
* @param {*} [options] Override http request option.
|
|
879
|
-
* @throws {RequiredError}
|
|
880
|
-
*/
|
|
881
|
-
getBidContractDocuments(bidId, buyerId, options) {
|
|
882
|
-
return PartnerV2ApiFp(this.configuration).getBidContractDocuments(bidId, buyerId, options).then((request) => request(this.axios, this.basePath));
|
|
883
|
-
}
|
|
884
|
-
/**
|
|
885
|
-
* V5 /contractDocumentRec(bid_puchase_no_list) 후속. 공고번호 리스트를 한 번에 조회. 단건(GET :bidId/contract-documents)은 그대로 유지. scope contracts:read.
|
|
886
|
-
* @summary 계약서류 수신 배치 조회
|
|
887
|
-
* @param {BidContractDocumentsBatchRequestDto} bidContractDocumentsBatchRequestDto
|
|
888
|
-
* @param {*} [options] Override http request option.
|
|
889
|
-
* @throws {RequiredError}
|
|
890
|
-
*/
|
|
891
|
-
getBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto, options) {
|
|
892
|
-
return PartnerV2ApiFp(this.configuration).getBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
893
|
-
}
|
|
894
|
-
/**
|
|
895
|
-
* V5 /entendrec 후속. scope bids:read.
|
|
896
|
-
* @summary 입찰 결과 조회
|
|
897
|
-
* @param {string} bidId
|
|
898
|
-
* @param {string} buyerId
|
|
899
|
-
* @param {*} [options] Override http request option.
|
|
900
|
-
* @throws {RequiredError}
|
|
901
|
-
*/
|
|
902
|
-
getBidResults(bidId, buyerId, options) {
|
|
903
|
-
return PartnerV2ApiFp(this.configuration).getBidResults(bidId, buyerId, options).then((request) => request(this.axios, this.basePath));
|
|
904
|
-
}
|
|
905
|
-
/**
|
|
906
|
-
* V5 entendRec(bid_puchase_no_list) 후속 — 여러 공고 결과를 1회 호출로(additive, 단건 유지). 입력 순서를 보존한다. scope bids:read.
|
|
907
|
-
* @summary 입찰결과 배치 조회
|
|
908
|
-
* @param {BidResultsBatchRequestDto} bidResultsBatchRequestDto
|
|
909
|
-
* @param {*} [options] Override http request option.
|
|
910
|
-
* @throws {RequiredError}
|
|
911
|
-
*/
|
|
912
|
-
getBidResultsBatch(bidResultsBatchRequestDto, options) {
|
|
913
|
-
return PartnerV2ApiFp(this.configuration).getBidResultsBatch(bidResultsBatchRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
914
|
-
}
|
|
915
|
-
/**
|
|
916
|
-
* V5 /entendrec 정산(사업자·계좌·공급가액/부가세·응찰 품목내역) 후속. scope bids:read. 가격/신원 가시성 매트릭스와 직교한 ERP 정산 데이터 — read-only.
|
|
917
|
-
* @summary 입찰결과 정산정보 조회
|
|
918
|
-
* @param {string} bidId
|
|
919
|
-
* @param {*} [options] Override http request option.
|
|
920
|
-
* @throws {RequiredError}
|
|
921
|
-
*/
|
|
922
|
-
getBidSettlement(bidId, options) {
|
|
923
|
-
return PartnerV2ApiFp(this.configuration).getBidSettlement(bidId, options).then((request) => request(this.axios, this.basePath));
|
|
924
|
-
}
|
|
925
|
-
/**
|
|
926
|
-
* V5 /getGrm 후속. scope contracts:read.
|
|
927
|
-
* @summary 거래명세서 조회
|
|
928
|
-
* @param {string} bidId
|
|
929
|
-
* @param {number} paperCode
|
|
930
|
-
* @param {*} [options] Override http request option.
|
|
931
|
-
* @throws {RequiredError}
|
|
932
|
-
*/
|
|
933
|
-
getBidStatement(bidId, paperCode, options) {
|
|
934
|
-
return PartnerV2ApiFp(this.configuration).getBidStatement(bidId, paperCode, options).then((request) => request(this.axios, this.basePath));
|
|
935
|
-
}
|
|
936
|
-
/**
|
|
937
|
-
* 유찰 처리(V5 yoochal 패리티). 유찰사유 코드(1~8)·상세를 받아 공고를 유찰 상태로 전환. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
938
|
-
* @summary 유찰 처리
|
|
939
|
-
* @param {MarkBidFailedRequestDto} markBidFailedRequestDto
|
|
940
|
-
* @param {*} [options] Override http request option.
|
|
941
|
-
* @throws {RequiredError}
|
|
942
|
-
*/
|
|
943
|
-
markBidFailed(markBidFailedRequestDto, options) {
|
|
944
|
-
return PartnerV2ApiFp(this.configuration).markBidFailed(markBidFailedRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
945
|
-
}
|
|
946
|
-
/**
|
|
947
|
-
* 낙찰 결과 등록. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
948
|
-
* @summary 낙찰 결과 전송
|
|
949
|
-
* @param {RegisterAwardRequestDto} registerAwardRequestDto
|
|
950
|
-
* @param {*} [options] Override http request option.
|
|
951
|
-
* @throws {RequiredError}
|
|
952
|
-
*/
|
|
953
|
-
registerAward(registerAwardRequestDto, options) {
|
|
954
|
-
return PartnerV2ApiFp(this.configuration).registerAward(registerAwardRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
955
|
-
}
|
|
956
|
-
/**
|
|
957
|
-
* 입찰 정보 등록. 스코프 `bids:write` + `Idempotency-Key` 헤더 필수.
|
|
958
|
-
* @summary 입찰 정보 전송(등록)
|
|
959
|
-
* @param {CreateBidRequestDto} createBidRequestDto
|
|
960
|
-
* @param {*} [options] Override http request option.
|
|
961
|
-
* @throws {RequiredError}
|
|
962
|
-
*/
|
|
963
|
-
registerBid(createBidRequestDto, options) {
|
|
964
|
-
return PartnerV2ApiFp(this.configuration).registerBid(createBidRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
965
|
-
}
|
|
966
|
-
/**
|
|
967
|
-
* V5 /splitInvoiceRequest 후속. scope invoices:write + Idempotency-Key.
|
|
968
|
-
* @summary 계산서 분할 발급 청구
|
|
969
|
-
* @param {RequestSplitInvoiceRequestDto} requestSplitInvoiceRequestDto
|
|
970
|
-
* @param {*} [options] Override http request option.
|
|
971
|
-
* @throws {RequiredError}
|
|
972
|
-
*/
|
|
973
|
-
requestSplitInvoice(requestSplitInvoiceRequestDto, options) {
|
|
974
|
-
return PartnerV2ApiFp(this.configuration).requestSplitInvoice(requestSplitInvoiceRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
975
|
-
}
|
|
976
|
-
/**
|
|
977
|
-
* 협상에의한계약(H/K) 응찰자별 기술/가격 점수 일괄 입력(V5 nego-eval 패리티). complete=true 면 평가완료 게이트까지 적용해 낙찰 진입 가능. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
978
|
-
* @summary 협상(H/K) 점수평가
|
|
979
|
-
* @param {SubmitNegotiationScoresRequestDto} submitNegotiationScoresRequestDto
|
|
980
|
-
* @param {*} [options] Override http request option.
|
|
981
|
-
* @throws {RequiredError}
|
|
982
|
-
*/
|
|
983
|
-
submitNegotiationScores(submitNegotiationScoresRequestDto, options) {
|
|
984
|
-
return PartnerV2ApiFp(this.configuration).submitNegotiationScores(submitNegotiationScoresRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
985
|
-
}
|
|
986
|
-
/**
|
|
987
|
-
* 스코프 `files:write` 필수. base64 또는 url 중 하나를 제출한다.
|
|
988
|
-
* @summary 입찰 첨부파일 업로드(base64 또는 url) → fileKey
|
|
989
|
-
* @param {UploadFileRequestDto} uploadFileRequestDto
|
|
990
|
-
* @param {*} [options] Override http request option.
|
|
991
|
-
* @throws {RequiredError}
|
|
992
|
-
*/
|
|
993
|
-
uploadFile(uploadFileRequestDto, options) {
|
|
994
|
-
return PartnerV2ApiFp(this.configuration).uploadFile(uploadFileRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
995
|
-
}
|
|
996
|
-
}
|