@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
package/api/partner-v1-api.ts
CHANGED
|
@@ -22,9 +22,49 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
22
22
|
// @ts-ignore
|
|
23
23
|
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
|
24
24
|
// @ts-ignore
|
|
25
|
+
import type { AcceptanceResultResponseDto } from '../models';
|
|
26
|
+
// @ts-ignore
|
|
27
|
+
import type { AwardRegisteredResponseDto } from '../models';
|
|
28
|
+
// @ts-ignore
|
|
29
|
+
import type { BidContractDocumentsBatchRequestDto } from '../models';
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
import type { BidContractDocumentsResponseDto } from '../models';
|
|
32
|
+
// @ts-ignore
|
|
33
|
+
import type { BidCreatedResponseDto } from '../models';
|
|
34
|
+
// @ts-ignore
|
|
35
|
+
import type { BidFailedResponseDto } from '../models';
|
|
36
|
+
// @ts-ignore
|
|
37
|
+
import type { BidResultsBatchRequestDto } from '../models';
|
|
38
|
+
// @ts-ignore
|
|
39
|
+
import type { BidResultsResponseDto } from '../models';
|
|
40
|
+
// @ts-ignore
|
|
41
|
+
import type { BidSettlementResponseDto } from '../models';
|
|
42
|
+
// @ts-ignore
|
|
43
|
+
import type { BidStatementResponseDto } from '../models';
|
|
44
|
+
// @ts-ignore
|
|
25
45
|
import type { BidSummaryResponseDto } from '../models';
|
|
26
46
|
// @ts-ignore
|
|
47
|
+
import type { CompleteAcceptanceRequestDto } from '../models';
|
|
48
|
+
// @ts-ignore
|
|
49
|
+
import type { CreateBidRequestDto } from '../models';
|
|
50
|
+
// @ts-ignore
|
|
51
|
+
import type { FileUploadedResponseDto } from '../models';
|
|
52
|
+
// @ts-ignore
|
|
27
53
|
import type { HealthResponseDto } from '../models';
|
|
54
|
+
// @ts-ignore
|
|
55
|
+
import type { MarkBidFailedRequestDto } from '../models';
|
|
56
|
+
// @ts-ignore
|
|
57
|
+
import type { NegotiationScoredResponseDto } from '../models';
|
|
58
|
+
// @ts-ignore
|
|
59
|
+
import type { RegisterAwardRequestDto } from '../models';
|
|
60
|
+
// @ts-ignore
|
|
61
|
+
import type { RequestSplitInvoiceRequestDto } from '../models';
|
|
62
|
+
// @ts-ignore
|
|
63
|
+
import type { SplitInvoiceResponseDto } from '../models';
|
|
64
|
+
// @ts-ignore
|
|
65
|
+
import type { SubmitNegotiationScoresRequestDto } from '../models';
|
|
66
|
+
// @ts-ignore
|
|
67
|
+
import type { UploadFileRequestDto } from '../models';
|
|
28
68
|
/**
|
|
29
69
|
* PartnerV1Api - axios parameter creator
|
|
30
70
|
*/
|
|
@@ -68,14 +108,536 @@ export const PartnerV1ApiAxiosParamCreator = function (configuration?: Configura
|
|
|
68
108
|
options: localVarRequestOptions,
|
|
69
109
|
};
|
|
70
110
|
},
|
|
111
|
+
/**
|
|
112
|
+
* V5 /acceptanceCompleteSend 후속. scope contracts:write + Idempotency-Key.
|
|
113
|
+
* @summary 검수완료 전송
|
|
114
|
+
* @param {string} bidId
|
|
115
|
+
* @param {CompleteAcceptanceRequestDto} completeAcceptanceRequestDto
|
|
116
|
+
* @param {*} [options] Override http request option.
|
|
117
|
+
* @throws {RequiredError}
|
|
118
|
+
*/
|
|
119
|
+
completeAcceptance: async (bidId: string, completeAcceptanceRequestDto: CompleteAcceptanceRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
120
|
+
// verify required parameter 'bidId' is not null or undefined
|
|
121
|
+
assertParamExists('completeAcceptance', 'bidId', bidId)
|
|
122
|
+
// verify required parameter 'completeAcceptanceRequestDto' is not null or undefined
|
|
123
|
+
assertParamExists('completeAcceptance', 'completeAcceptanceRequestDto', completeAcceptanceRequestDto)
|
|
124
|
+
const localVarPath = `/v1/bids/{bidId}/acceptance`
|
|
125
|
+
.replace('{bidId}', encodeURIComponent(String(bidId)));
|
|
126
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
127
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
128
|
+
let baseOptions;
|
|
129
|
+
if (configuration) {
|
|
130
|
+
baseOptions = configuration.baseOptions;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
134
|
+
const localVarHeaderParameter = {} as any;
|
|
135
|
+
const localVarQueryParameter = {} as any;
|
|
136
|
+
|
|
137
|
+
// authentication partner-oauth2 required
|
|
138
|
+
// http bearer authentication required
|
|
139
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
140
|
+
|
|
141
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
142
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
143
|
+
|
|
144
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
145
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
146
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
147
|
+
localVarRequestOptions.data = serializeDataIfNeeded(completeAcceptanceRequestDto, localVarRequestOptions, configuration)
|
|
148
|
+
|
|
149
|
+
return {
|
|
150
|
+
url: toPathString(localVarUrlObj),
|
|
151
|
+
options: localVarRequestOptions,
|
|
152
|
+
};
|
|
153
|
+
},
|
|
154
|
+
/**
|
|
155
|
+
* V5 /contractDocumentRec 후속. scope contracts:read.
|
|
156
|
+
* @summary 계약서류 수신 조회
|
|
157
|
+
* @param {string} bidId
|
|
158
|
+
* @param {string} buyerId
|
|
159
|
+
* @param {*} [options] Override http request option.
|
|
160
|
+
* @throws {RequiredError}
|
|
161
|
+
*/
|
|
162
|
+
getBidContractDocuments: async (bidId: string, buyerId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
163
|
+
// verify required parameter 'bidId' is not null or undefined
|
|
164
|
+
assertParamExists('getBidContractDocuments', 'bidId', bidId)
|
|
165
|
+
// verify required parameter 'buyerId' is not null or undefined
|
|
166
|
+
assertParamExists('getBidContractDocuments', 'buyerId', buyerId)
|
|
167
|
+
const localVarPath = `/v1/bids/{bidId}/contract-documents`
|
|
168
|
+
.replace('{bidId}', encodeURIComponent(String(bidId)));
|
|
169
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
170
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
171
|
+
let baseOptions;
|
|
172
|
+
if (configuration) {
|
|
173
|
+
baseOptions = configuration.baseOptions;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
177
|
+
const localVarHeaderParameter = {} as any;
|
|
178
|
+
const localVarQueryParameter = {} as any;
|
|
179
|
+
|
|
180
|
+
// authentication partner-oauth2 required
|
|
181
|
+
// http bearer authentication required
|
|
182
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
183
|
+
|
|
184
|
+
if (buyerId !== undefined) {
|
|
185
|
+
localVarQueryParameter['buyerId'] = buyerId;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
189
|
+
|
|
190
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
191
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
192
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
193
|
+
|
|
194
|
+
return {
|
|
195
|
+
url: toPathString(localVarUrlObj),
|
|
196
|
+
options: localVarRequestOptions,
|
|
197
|
+
};
|
|
198
|
+
},
|
|
199
|
+
/**
|
|
200
|
+
* V5 /contractDocumentRec(bid_puchase_no_list) 후속. 공고번호 리스트를 한 번에 조회. 단건(GET :bidId/contract-documents)은 그대로 유지. scope contracts:read.
|
|
201
|
+
* @summary 계약서류 수신 배치 조회
|
|
202
|
+
* @param {BidContractDocumentsBatchRequestDto} bidContractDocumentsBatchRequestDto
|
|
203
|
+
* @param {*} [options] Override http request option.
|
|
204
|
+
* @throws {RequiredError}
|
|
205
|
+
*/
|
|
206
|
+
getBidContractDocumentsBatch: async (bidContractDocumentsBatchRequestDto: BidContractDocumentsBatchRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
207
|
+
// verify required parameter 'bidContractDocumentsBatchRequestDto' is not null or undefined
|
|
208
|
+
assertParamExists('getBidContractDocumentsBatch', 'bidContractDocumentsBatchRequestDto', bidContractDocumentsBatchRequestDto)
|
|
209
|
+
const localVarPath = `/v1/bids/contract-documents/batch`;
|
|
210
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
211
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
212
|
+
let baseOptions;
|
|
213
|
+
if (configuration) {
|
|
214
|
+
baseOptions = configuration.baseOptions;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
218
|
+
const localVarHeaderParameter = {} as any;
|
|
219
|
+
const localVarQueryParameter = {} as any;
|
|
220
|
+
|
|
221
|
+
// authentication partner-oauth2 required
|
|
222
|
+
// http bearer authentication required
|
|
223
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
224
|
+
|
|
225
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
226
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
227
|
+
|
|
228
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
229
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
230
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
231
|
+
localVarRequestOptions.data = serializeDataIfNeeded(bidContractDocumentsBatchRequestDto, localVarRequestOptions, configuration)
|
|
232
|
+
|
|
233
|
+
return {
|
|
234
|
+
url: toPathString(localVarUrlObj),
|
|
235
|
+
options: localVarRequestOptions,
|
|
236
|
+
};
|
|
237
|
+
},
|
|
238
|
+
/**
|
|
239
|
+
* V5 /entendrec 후속. scope bids:read.
|
|
240
|
+
* @summary 입찰 결과 조회
|
|
241
|
+
* @param {string} bidId
|
|
242
|
+
* @param {string} buyerId
|
|
243
|
+
* @param {*} [options] Override http request option.
|
|
244
|
+
* @throws {RequiredError}
|
|
245
|
+
*/
|
|
246
|
+
getBidResults: async (bidId: string, buyerId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
247
|
+
// verify required parameter 'bidId' is not null or undefined
|
|
248
|
+
assertParamExists('getBidResults', 'bidId', bidId)
|
|
249
|
+
// verify required parameter 'buyerId' is not null or undefined
|
|
250
|
+
assertParamExists('getBidResults', 'buyerId', buyerId)
|
|
251
|
+
const localVarPath = `/v1/bids/{bidId}/results`
|
|
252
|
+
.replace('{bidId}', encodeURIComponent(String(bidId)));
|
|
253
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
254
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
255
|
+
let baseOptions;
|
|
256
|
+
if (configuration) {
|
|
257
|
+
baseOptions = configuration.baseOptions;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
261
|
+
const localVarHeaderParameter = {} as any;
|
|
262
|
+
const localVarQueryParameter = {} as any;
|
|
263
|
+
|
|
264
|
+
// authentication partner-oauth2 required
|
|
265
|
+
// http bearer authentication required
|
|
266
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
267
|
+
|
|
268
|
+
if (buyerId !== undefined) {
|
|
269
|
+
localVarQueryParameter['buyerId'] = buyerId;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
273
|
+
|
|
274
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
275
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
276
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
277
|
+
|
|
278
|
+
return {
|
|
279
|
+
url: toPathString(localVarUrlObj),
|
|
280
|
+
options: localVarRequestOptions,
|
|
281
|
+
};
|
|
282
|
+
},
|
|
283
|
+
/**
|
|
284
|
+
* V5 entendRec(bid_puchase_no_list) 후속 — 여러 공고 결과를 1회 호출로(additive, 단건 유지). 입력 순서를 보존한다. scope bids:read.
|
|
285
|
+
* @summary 입찰결과 배치 조회
|
|
286
|
+
* @param {BidResultsBatchRequestDto} bidResultsBatchRequestDto
|
|
287
|
+
* @param {*} [options] Override http request option.
|
|
288
|
+
* @throws {RequiredError}
|
|
289
|
+
*/
|
|
290
|
+
getBidResultsBatch: async (bidResultsBatchRequestDto: BidResultsBatchRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
291
|
+
// verify required parameter 'bidResultsBatchRequestDto' is not null or undefined
|
|
292
|
+
assertParamExists('getBidResultsBatch', 'bidResultsBatchRequestDto', bidResultsBatchRequestDto)
|
|
293
|
+
const localVarPath = `/v1/bids/results/batch`;
|
|
294
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
295
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
296
|
+
let baseOptions;
|
|
297
|
+
if (configuration) {
|
|
298
|
+
baseOptions = configuration.baseOptions;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
302
|
+
const localVarHeaderParameter = {} as any;
|
|
303
|
+
const localVarQueryParameter = {} as any;
|
|
304
|
+
|
|
305
|
+
// authentication partner-oauth2 required
|
|
306
|
+
// http bearer authentication required
|
|
307
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
308
|
+
|
|
309
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
310
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
311
|
+
|
|
312
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
313
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
314
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
315
|
+
localVarRequestOptions.data = serializeDataIfNeeded(bidResultsBatchRequestDto, localVarRequestOptions, configuration)
|
|
316
|
+
|
|
317
|
+
return {
|
|
318
|
+
url: toPathString(localVarUrlObj),
|
|
319
|
+
options: localVarRequestOptions,
|
|
320
|
+
};
|
|
321
|
+
},
|
|
322
|
+
/**
|
|
323
|
+
* V5 /entendrec 정산(사업자·계좌·공급가액/부가세·응찰 품목내역) 후속. scope bids:read. 가격/신원 가시성 매트릭스와 직교한 ERP 정산 데이터 — read-only.
|
|
324
|
+
* @summary 입찰결과 정산정보 조회
|
|
325
|
+
* @param {string} bidId
|
|
326
|
+
* @param {*} [options] Override http request option.
|
|
327
|
+
* @throws {RequiredError}
|
|
328
|
+
*/
|
|
329
|
+
getBidSettlement: async (bidId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
330
|
+
// verify required parameter 'bidId' is not null or undefined
|
|
331
|
+
assertParamExists('getBidSettlement', 'bidId', bidId)
|
|
332
|
+
const localVarPath = `/v1/bids/{bidId}/settlement`
|
|
333
|
+
.replace('{bidId}', encodeURIComponent(String(bidId)));
|
|
334
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
335
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
336
|
+
let baseOptions;
|
|
337
|
+
if (configuration) {
|
|
338
|
+
baseOptions = configuration.baseOptions;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
342
|
+
const localVarHeaderParameter = {} as any;
|
|
343
|
+
const localVarQueryParameter = {} as any;
|
|
344
|
+
|
|
345
|
+
// authentication partner-oauth2 required
|
|
346
|
+
// http bearer authentication required
|
|
347
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
348
|
+
|
|
349
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
350
|
+
|
|
351
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
352
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
353
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
354
|
+
|
|
355
|
+
return {
|
|
356
|
+
url: toPathString(localVarUrlObj),
|
|
357
|
+
options: localVarRequestOptions,
|
|
358
|
+
};
|
|
359
|
+
},
|
|
360
|
+
/**
|
|
361
|
+
* V5 /getGrm 후속. scope contracts:read.
|
|
362
|
+
* @summary 거래명세서 조회
|
|
363
|
+
* @param {string} bidId
|
|
364
|
+
* @param {number} paperCode
|
|
365
|
+
* @param {*} [options] Override http request option.
|
|
366
|
+
* @throws {RequiredError}
|
|
367
|
+
*/
|
|
368
|
+
getBidStatement: async (bidId: string, paperCode: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
369
|
+
// verify required parameter 'bidId' is not null or undefined
|
|
370
|
+
assertParamExists('getBidStatement', 'bidId', bidId)
|
|
371
|
+
// verify required parameter 'paperCode' is not null or undefined
|
|
372
|
+
assertParamExists('getBidStatement', 'paperCode', paperCode)
|
|
373
|
+
const localVarPath = `/v1/bids/{bidId}/statement`
|
|
374
|
+
.replace('{bidId}', encodeURIComponent(String(bidId)));
|
|
375
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
376
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
377
|
+
let baseOptions;
|
|
378
|
+
if (configuration) {
|
|
379
|
+
baseOptions = configuration.baseOptions;
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
383
|
+
const localVarHeaderParameter = {} as any;
|
|
384
|
+
const localVarQueryParameter = {} as any;
|
|
385
|
+
|
|
386
|
+
// authentication partner-oauth2 required
|
|
387
|
+
// http bearer authentication required
|
|
388
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
389
|
+
|
|
390
|
+
if (paperCode !== undefined) {
|
|
391
|
+
localVarQueryParameter['paperCode'] = paperCode;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
395
|
+
|
|
396
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
397
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
398
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
399
|
+
|
|
400
|
+
return {
|
|
401
|
+
url: toPathString(localVarUrlObj),
|
|
402
|
+
options: localVarRequestOptions,
|
|
403
|
+
};
|
|
404
|
+
},
|
|
71
405
|
/**
|
|
72
406
|
* ERP 연동 직전 회선·인증 endpoint 동작 확인용.
|
|
73
407
|
* @summary Partner API 헬스체크
|
|
74
408
|
* @param {*} [options] Override http request option.
|
|
75
409
|
* @throws {RequiredError}
|
|
76
410
|
*/
|
|
77
|
-
healthControllerCheck: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
78
|
-
const localVarPath = `/v1/health`;
|
|
411
|
+
healthControllerCheck: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
412
|
+
const localVarPath = `/v1/health`;
|
|
413
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
414
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
415
|
+
let baseOptions;
|
|
416
|
+
if (configuration) {
|
|
417
|
+
baseOptions = configuration.baseOptions;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
421
|
+
const localVarHeaderParameter = {} as any;
|
|
422
|
+
const localVarQueryParameter = {} as any;
|
|
423
|
+
|
|
424
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
425
|
+
|
|
426
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
427
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
428
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
429
|
+
|
|
430
|
+
return {
|
|
431
|
+
url: toPathString(localVarUrlObj),
|
|
432
|
+
options: localVarRequestOptions,
|
|
433
|
+
};
|
|
434
|
+
},
|
|
435
|
+
/**
|
|
436
|
+
* 유찰 처리(V5 yoochal 패리티). 유찰사유 코드(1~8)·상세를 받아 공고를 유찰 상태로 전환. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
437
|
+
* @summary 유찰 처리
|
|
438
|
+
* @param {MarkBidFailedRequestDto} markBidFailedRequestDto
|
|
439
|
+
* @param {*} [options] Override http request option.
|
|
440
|
+
* @throws {RequiredError}
|
|
441
|
+
*/
|
|
442
|
+
markBidFailed: async (markBidFailedRequestDto: MarkBidFailedRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
443
|
+
// verify required parameter 'markBidFailedRequestDto' is not null or undefined
|
|
444
|
+
assertParamExists('markBidFailed', 'markBidFailedRequestDto', markBidFailedRequestDto)
|
|
445
|
+
const localVarPath = `/v1/awards/fail`;
|
|
446
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
447
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
448
|
+
let baseOptions;
|
|
449
|
+
if (configuration) {
|
|
450
|
+
baseOptions = configuration.baseOptions;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
454
|
+
const localVarHeaderParameter = {} as any;
|
|
455
|
+
const localVarQueryParameter = {} as any;
|
|
456
|
+
|
|
457
|
+
// authentication partner-oauth2 required
|
|
458
|
+
// http bearer authentication required
|
|
459
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
460
|
+
|
|
461
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
462
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
463
|
+
|
|
464
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
465
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
466
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
467
|
+
localVarRequestOptions.data = serializeDataIfNeeded(markBidFailedRequestDto, localVarRequestOptions, configuration)
|
|
468
|
+
|
|
469
|
+
return {
|
|
470
|
+
url: toPathString(localVarUrlObj),
|
|
471
|
+
options: localVarRequestOptions,
|
|
472
|
+
};
|
|
473
|
+
},
|
|
474
|
+
/**
|
|
475
|
+
* 낙찰 결과 등록. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
476
|
+
* @summary 낙찰 결과 전송
|
|
477
|
+
* @param {RegisterAwardRequestDto} registerAwardRequestDto
|
|
478
|
+
* @param {*} [options] Override http request option.
|
|
479
|
+
* @throws {RequiredError}
|
|
480
|
+
*/
|
|
481
|
+
registerAward: async (registerAwardRequestDto: RegisterAwardRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
482
|
+
// verify required parameter 'registerAwardRequestDto' is not null or undefined
|
|
483
|
+
assertParamExists('registerAward', 'registerAwardRequestDto', registerAwardRequestDto)
|
|
484
|
+
const localVarPath = `/v1/awards`;
|
|
485
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
486
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
487
|
+
let baseOptions;
|
|
488
|
+
if (configuration) {
|
|
489
|
+
baseOptions = configuration.baseOptions;
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
493
|
+
const localVarHeaderParameter = {} as any;
|
|
494
|
+
const localVarQueryParameter = {} as any;
|
|
495
|
+
|
|
496
|
+
// authentication partner-oauth2 required
|
|
497
|
+
// http bearer authentication required
|
|
498
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
499
|
+
|
|
500
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
501
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
502
|
+
|
|
503
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
504
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
505
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
506
|
+
localVarRequestOptions.data = serializeDataIfNeeded(registerAwardRequestDto, localVarRequestOptions, configuration)
|
|
507
|
+
|
|
508
|
+
return {
|
|
509
|
+
url: toPathString(localVarUrlObj),
|
|
510
|
+
options: localVarRequestOptions,
|
|
511
|
+
};
|
|
512
|
+
},
|
|
513
|
+
/**
|
|
514
|
+
* 입찰 정보 등록. 스코프 `bids:write` + `Idempotency-Key` 헤더 필수.
|
|
515
|
+
* @summary 입찰 정보 전송(등록)
|
|
516
|
+
* @param {CreateBidRequestDto} createBidRequestDto
|
|
517
|
+
* @param {*} [options] Override http request option.
|
|
518
|
+
* @throws {RequiredError}
|
|
519
|
+
*/
|
|
520
|
+
registerBid: async (createBidRequestDto: CreateBidRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
521
|
+
// verify required parameter 'createBidRequestDto' is not null or undefined
|
|
522
|
+
assertParamExists('registerBid', 'createBidRequestDto', createBidRequestDto)
|
|
523
|
+
const localVarPath = `/v1/bids`;
|
|
524
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
525
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
526
|
+
let baseOptions;
|
|
527
|
+
if (configuration) {
|
|
528
|
+
baseOptions = configuration.baseOptions;
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
532
|
+
const localVarHeaderParameter = {} as any;
|
|
533
|
+
const localVarQueryParameter = {} as any;
|
|
534
|
+
|
|
535
|
+
// authentication partner-oauth2 required
|
|
536
|
+
// http bearer authentication required
|
|
537
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
538
|
+
|
|
539
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
540
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
541
|
+
|
|
542
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
543
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
544
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
545
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createBidRequestDto, localVarRequestOptions, configuration)
|
|
546
|
+
|
|
547
|
+
return {
|
|
548
|
+
url: toPathString(localVarUrlObj),
|
|
549
|
+
options: localVarRequestOptions,
|
|
550
|
+
};
|
|
551
|
+
},
|
|
552
|
+
/**
|
|
553
|
+
* V5 /splitInvoiceRequest 후속. scope invoices:write + Idempotency-Key.
|
|
554
|
+
* @summary 계산서 분할 발급 청구
|
|
555
|
+
* @param {RequestSplitInvoiceRequestDto} requestSplitInvoiceRequestDto
|
|
556
|
+
* @param {*} [options] Override http request option.
|
|
557
|
+
* @throws {RequiredError}
|
|
558
|
+
*/
|
|
559
|
+
requestSplitInvoice: async (requestSplitInvoiceRequestDto: RequestSplitInvoiceRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
560
|
+
// verify required parameter 'requestSplitInvoiceRequestDto' is not null or undefined
|
|
561
|
+
assertParamExists('requestSplitInvoice', 'requestSplitInvoiceRequestDto', requestSplitInvoiceRequestDto)
|
|
562
|
+
const localVarPath = `/v1/invoices/split-requests`;
|
|
563
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
564
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
565
|
+
let baseOptions;
|
|
566
|
+
if (configuration) {
|
|
567
|
+
baseOptions = configuration.baseOptions;
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
571
|
+
const localVarHeaderParameter = {} as any;
|
|
572
|
+
const localVarQueryParameter = {} as any;
|
|
573
|
+
|
|
574
|
+
// authentication partner-oauth2 required
|
|
575
|
+
// http bearer authentication required
|
|
576
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
577
|
+
|
|
578
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
579
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
580
|
+
|
|
581
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
582
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
583
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
584
|
+
localVarRequestOptions.data = serializeDataIfNeeded(requestSplitInvoiceRequestDto, localVarRequestOptions, configuration)
|
|
585
|
+
|
|
586
|
+
return {
|
|
587
|
+
url: toPathString(localVarUrlObj),
|
|
588
|
+
options: localVarRequestOptions,
|
|
589
|
+
};
|
|
590
|
+
},
|
|
591
|
+
/**
|
|
592
|
+
* 협상에의한계약(H/K) 응찰자별 기술/가격 점수 일괄 입력(V5 nego-eval 패리티). complete=true 면 평가완료 게이트까지 적용해 낙찰 진입 가능. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
593
|
+
* @summary 협상(H/K) 점수평가
|
|
594
|
+
* @param {SubmitNegotiationScoresRequestDto} submitNegotiationScoresRequestDto
|
|
595
|
+
* @param {*} [options] Override http request option.
|
|
596
|
+
* @throws {RequiredError}
|
|
597
|
+
*/
|
|
598
|
+
submitNegotiationScores: async (submitNegotiationScoresRequestDto: SubmitNegotiationScoresRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
599
|
+
// verify required parameter 'submitNegotiationScoresRequestDto' is not null or undefined
|
|
600
|
+
assertParamExists('submitNegotiationScores', 'submitNegotiationScoresRequestDto', submitNegotiationScoresRequestDto)
|
|
601
|
+
const localVarPath = `/v1/awards/nego-eval`;
|
|
602
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
603
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
604
|
+
let baseOptions;
|
|
605
|
+
if (configuration) {
|
|
606
|
+
baseOptions = configuration.baseOptions;
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
610
|
+
const localVarHeaderParameter = {} as any;
|
|
611
|
+
const localVarQueryParameter = {} as any;
|
|
612
|
+
|
|
613
|
+
// authentication partner-oauth2 required
|
|
614
|
+
// http bearer authentication required
|
|
615
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
616
|
+
|
|
617
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
618
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
619
|
+
|
|
620
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
621
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
622
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
623
|
+
localVarRequestOptions.data = serializeDataIfNeeded(submitNegotiationScoresRequestDto, localVarRequestOptions, configuration)
|
|
624
|
+
|
|
625
|
+
return {
|
|
626
|
+
url: toPathString(localVarUrlObj),
|
|
627
|
+
options: localVarRequestOptions,
|
|
628
|
+
};
|
|
629
|
+
},
|
|
630
|
+
/**
|
|
631
|
+
* 스코프 `files:write` 필수. base64 또는 url 중 하나를 제출한다.
|
|
632
|
+
* @summary 입찰 첨부파일 업로드(base64 또는 url) → fileKey
|
|
633
|
+
* @param {UploadFileRequestDto} uploadFileRequestDto
|
|
634
|
+
* @param {*} [options] Override http request option.
|
|
635
|
+
* @throws {RequiredError}
|
|
636
|
+
*/
|
|
637
|
+
uploadFile: async (uploadFileRequestDto: UploadFileRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
638
|
+
// verify required parameter 'uploadFileRequestDto' is not null or undefined
|
|
639
|
+
assertParamExists('uploadFile', 'uploadFileRequestDto', uploadFileRequestDto)
|
|
640
|
+
const localVarPath = `/v1/files`;
|
|
79
641
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
80
642
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
81
643
|
let baseOptions;
|
|
@@ -83,15 +645,21 @@ export const PartnerV1ApiAxiosParamCreator = function (configuration?: Configura
|
|
|
83
645
|
baseOptions = configuration.baseOptions;
|
|
84
646
|
}
|
|
85
647
|
|
|
86
|
-
const localVarRequestOptions = { method: '
|
|
648
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
87
649
|
const localVarHeaderParameter = {} as any;
|
|
88
650
|
const localVarQueryParameter = {} as any;
|
|
89
651
|
|
|
652
|
+
// authentication partner-oauth2 required
|
|
653
|
+
// http bearer authentication required
|
|
654
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
655
|
+
|
|
656
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
90
657
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
91
658
|
|
|
92
659
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
93
660
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
94
661
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
662
|
+
localVarRequestOptions.data = serializeDataIfNeeded(uploadFileRequestDto, localVarRequestOptions, configuration)
|
|
95
663
|
|
|
96
664
|
return {
|
|
97
665
|
url: toPathString(localVarUrlObj),
|
|
@@ -120,6 +688,101 @@ export const PartnerV1ApiFp = function(configuration?: Configuration) {
|
|
|
120
688
|
const localVarOperationServerBasePath = operationServerMap['PartnerV1Api.bidsControllerFindOne']?.[localVarOperationServerIndex]?.url;
|
|
121
689
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
122
690
|
},
|
|
691
|
+
/**
|
|
692
|
+
* V5 /acceptanceCompleteSend 후속. scope contracts:write + Idempotency-Key.
|
|
693
|
+
* @summary 검수완료 전송
|
|
694
|
+
* @param {string} bidId
|
|
695
|
+
* @param {CompleteAcceptanceRequestDto} completeAcceptanceRequestDto
|
|
696
|
+
* @param {*} [options] Override http request option.
|
|
697
|
+
* @throws {RequiredError}
|
|
698
|
+
*/
|
|
699
|
+
async completeAcceptance(bidId: string, completeAcceptanceRequestDto: CompleteAcceptanceRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AcceptanceResultResponseDto>> {
|
|
700
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.completeAcceptance(bidId, completeAcceptanceRequestDto, options);
|
|
701
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
702
|
+
const localVarOperationServerBasePath = operationServerMap['PartnerV1Api.completeAcceptance']?.[localVarOperationServerIndex]?.url;
|
|
703
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
704
|
+
},
|
|
705
|
+
/**
|
|
706
|
+
* V5 /contractDocumentRec 후속. scope contracts:read.
|
|
707
|
+
* @summary 계약서류 수신 조회
|
|
708
|
+
* @param {string} bidId
|
|
709
|
+
* @param {string} buyerId
|
|
710
|
+
* @param {*} [options] Override http request option.
|
|
711
|
+
* @throws {RequiredError}
|
|
712
|
+
*/
|
|
713
|
+
async getBidContractDocuments(bidId: string, buyerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BidContractDocumentsResponseDto>> {
|
|
714
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getBidContractDocuments(bidId, buyerId, options);
|
|
715
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
716
|
+
const localVarOperationServerBasePath = operationServerMap['PartnerV1Api.getBidContractDocuments']?.[localVarOperationServerIndex]?.url;
|
|
717
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
718
|
+
},
|
|
719
|
+
/**
|
|
720
|
+
* V5 /contractDocumentRec(bid_puchase_no_list) 후속. 공고번호 리스트를 한 번에 조회. 단건(GET :bidId/contract-documents)은 그대로 유지. scope contracts:read.
|
|
721
|
+
* @summary 계약서류 수신 배치 조회
|
|
722
|
+
* @param {BidContractDocumentsBatchRequestDto} bidContractDocumentsBatchRequestDto
|
|
723
|
+
* @param {*} [options] Override http request option.
|
|
724
|
+
* @throws {RequiredError}
|
|
725
|
+
*/
|
|
726
|
+
async getBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto: BidContractDocumentsBatchRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BidContractDocumentsResponseDto>>> {
|
|
727
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto, options);
|
|
728
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
729
|
+
const localVarOperationServerBasePath = operationServerMap['PartnerV1Api.getBidContractDocumentsBatch']?.[localVarOperationServerIndex]?.url;
|
|
730
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
731
|
+
},
|
|
732
|
+
/**
|
|
733
|
+
* V5 /entendrec 후속. scope bids:read.
|
|
734
|
+
* @summary 입찰 결과 조회
|
|
735
|
+
* @param {string} bidId
|
|
736
|
+
* @param {string} buyerId
|
|
737
|
+
* @param {*} [options] Override http request option.
|
|
738
|
+
* @throws {RequiredError}
|
|
739
|
+
*/
|
|
740
|
+
async getBidResults(bidId: string, buyerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BidResultsResponseDto>> {
|
|
741
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getBidResults(bidId, buyerId, options);
|
|
742
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
743
|
+
const localVarOperationServerBasePath = operationServerMap['PartnerV1Api.getBidResults']?.[localVarOperationServerIndex]?.url;
|
|
744
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
745
|
+
},
|
|
746
|
+
/**
|
|
747
|
+
* V5 entendRec(bid_puchase_no_list) 후속 — 여러 공고 결과를 1회 호출로(additive, 단건 유지). 입력 순서를 보존한다. scope bids:read.
|
|
748
|
+
* @summary 입찰결과 배치 조회
|
|
749
|
+
* @param {BidResultsBatchRequestDto} bidResultsBatchRequestDto
|
|
750
|
+
* @param {*} [options] Override http request option.
|
|
751
|
+
* @throws {RequiredError}
|
|
752
|
+
*/
|
|
753
|
+
async getBidResultsBatch(bidResultsBatchRequestDto: BidResultsBatchRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BidResultsResponseDto>>> {
|
|
754
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getBidResultsBatch(bidResultsBatchRequestDto, options);
|
|
755
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
756
|
+
const localVarOperationServerBasePath = operationServerMap['PartnerV1Api.getBidResultsBatch']?.[localVarOperationServerIndex]?.url;
|
|
757
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
758
|
+
},
|
|
759
|
+
/**
|
|
760
|
+
* V5 /entendrec 정산(사업자·계좌·공급가액/부가세·응찰 품목내역) 후속. scope bids:read. 가격/신원 가시성 매트릭스와 직교한 ERP 정산 데이터 — read-only.
|
|
761
|
+
* @summary 입찰결과 정산정보 조회
|
|
762
|
+
* @param {string} bidId
|
|
763
|
+
* @param {*} [options] Override http request option.
|
|
764
|
+
* @throws {RequiredError}
|
|
765
|
+
*/
|
|
766
|
+
async getBidSettlement(bidId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BidSettlementResponseDto>> {
|
|
767
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getBidSettlement(bidId, options);
|
|
768
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
769
|
+
const localVarOperationServerBasePath = operationServerMap['PartnerV1Api.getBidSettlement']?.[localVarOperationServerIndex]?.url;
|
|
770
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
771
|
+
},
|
|
772
|
+
/**
|
|
773
|
+
* V5 /getGrm 후속. scope contracts:read.
|
|
774
|
+
* @summary 거래명세서 조회
|
|
775
|
+
* @param {string} bidId
|
|
776
|
+
* @param {number} paperCode
|
|
777
|
+
* @param {*} [options] Override http request option.
|
|
778
|
+
* @throws {RequiredError}
|
|
779
|
+
*/
|
|
780
|
+
async getBidStatement(bidId: string, paperCode: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BidStatementResponseDto>> {
|
|
781
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getBidStatement(bidId, paperCode, options);
|
|
782
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
783
|
+
const localVarOperationServerBasePath = operationServerMap['PartnerV1Api.getBidStatement']?.[localVarOperationServerIndex]?.url;
|
|
784
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
785
|
+
},
|
|
123
786
|
/**
|
|
124
787
|
* ERP 연동 직전 회선·인증 endpoint 동작 확인용.
|
|
125
788
|
* @summary Partner API 헬스체크
|
|
@@ -132,6 +795,84 @@ export const PartnerV1ApiFp = function(configuration?: Configuration) {
|
|
|
132
795
|
const localVarOperationServerBasePath = operationServerMap['PartnerV1Api.healthControllerCheck']?.[localVarOperationServerIndex]?.url;
|
|
133
796
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
134
797
|
},
|
|
798
|
+
/**
|
|
799
|
+
* 유찰 처리(V5 yoochal 패리티). 유찰사유 코드(1~8)·상세를 받아 공고를 유찰 상태로 전환. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
800
|
+
* @summary 유찰 처리
|
|
801
|
+
* @param {MarkBidFailedRequestDto} markBidFailedRequestDto
|
|
802
|
+
* @param {*} [options] Override http request option.
|
|
803
|
+
* @throws {RequiredError}
|
|
804
|
+
*/
|
|
805
|
+
async markBidFailed(markBidFailedRequestDto: MarkBidFailedRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BidFailedResponseDto>> {
|
|
806
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.markBidFailed(markBidFailedRequestDto, options);
|
|
807
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
808
|
+
const localVarOperationServerBasePath = operationServerMap['PartnerV1Api.markBidFailed']?.[localVarOperationServerIndex]?.url;
|
|
809
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
810
|
+
},
|
|
811
|
+
/**
|
|
812
|
+
* 낙찰 결과 등록. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
813
|
+
* @summary 낙찰 결과 전송
|
|
814
|
+
* @param {RegisterAwardRequestDto} registerAwardRequestDto
|
|
815
|
+
* @param {*} [options] Override http request option.
|
|
816
|
+
* @throws {RequiredError}
|
|
817
|
+
*/
|
|
818
|
+
async registerAward(registerAwardRequestDto: RegisterAwardRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AwardRegisteredResponseDto>> {
|
|
819
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.registerAward(registerAwardRequestDto, options);
|
|
820
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
821
|
+
const localVarOperationServerBasePath = operationServerMap['PartnerV1Api.registerAward']?.[localVarOperationServerIndex]?.url;
|
|
822
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
823
|
+
},
|
|
824
|
+
/**
|
|
825
|
+
* 입찰 정보 등록. 스코프 `bids:write` + `Idempotency-Key` 헤더 필수.
|
|
826
|
+
* @summary 입찰 정보 전송(등록)
|
|
827
|
+
* @param {CreateBidRequestDto} createBidRequestDto
|
|
828
|
+
* @param {*} [options] Override http request option.
|
|
829
|
+
* @throws {RequiredError}
|
|
830
|
+
*/
|
|
831
|
+
async registerBid(createBidRequestDto: CreateBidRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BidCreatedResponseDto>> {
|
|
832
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.registerBid(createBidRequestDto, options);
|
|
833
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
834
|
+
const localVarOperationServerBasePath = operationServerMap['PartnerV1Api.registerBid']?.[localVarOperationServerIndex]?.url;
|
|
835
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
836
|
+
},
|
|
837
|
+
/**
|
|
838
|
+
* V5 /splitInvoiceRequest 후속. scope invoices:write + Idempotency-Key.
|
|
839
|
+
* @summary 계산서 분할 발급 청구
|
|
840
|
+
* @param {RequestSplitInvoiceRequestDto} requestSplitInvoiceRequestDto
|
|
841
|
+
* @param {*} [options] Override http request option.
|
|
842
|
+
* @throws {RequiredError}
|
|
843
|
+
*/
|
|
844
|
+
async requestSplitInvoice(requestSplitInvoiceRequestDto: RequestSplitInvoiceRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SplitInvoiceResponseDto>> {
|
|
845
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.requestSplitInvoice(requestSplitInvoiceRequestDto, options);
|
|
846
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
847
|
+
const localVarOperationServerBasePath = operationServerMap['PartnerV1Api.requestSplitInvoice']?.[localVarOperationServerIndex]?.url;
|
|
848
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
849
|
+
},
|
|
850
|
+
/**
|
|
851
|
+
* 협상에의한계약(H/K) 응찰자별 기술/가격 점수 일괄 입력(V5 nego-eval 패리티). complete=true 면 평가완료 게이트까지 적용해 낙찰 진입 가능. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
852
|
+
* @summary 협상(H/K) 점수평가
|
|
853
|
+
* @param {SubmitNegotiationScoresRequestDto} submitNegotiationScoresRequestDto
|
|
854
|
+
* @param {*} [options] Override http request option.
|
|
855
|
+
* @throws {RequiredError}
|
|
856
|
+
*/
|
|
857
|
+
async submitNegotiationScores(submitNegotiationScoresRequestDto: SubmitNegotiationScoresRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NegotiationScoredResponseDto>> {
|
|
858
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.submitNegotiationScores(submitNegotiationScoresRequestDto, options);
|
|
859
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
860
|
+
const localVarOperationServerBasePath = operationServerMap['PartnerV1Api.submitNegotiationScores']?.[localVarOperationServerIndex]?.url;
|
|
861
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
862
|
+
},
|
|
863
|
+
/**
|
|
864
|
+
* 스코프 `files:write` 필수. base64 또는 url 중 하나를 제출한다.
|
|
865
|
+
* @summary 입찰 첨부파일 업로드(base64 또는 url) → fileKey
|
|
866
|
+
* @param {UploadFileRequestDto} uploadFileRequestDto
|
|
867
|
+
* @param {*} [options] Override http request option.
|
|
868
|
+
* @throws {RequiredError}
|
|
869
|
+
*/
|
|
870
|
+
async uploadFile(uploadFileRequestDto: UploadFileRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FileUploadedResponseDto>> {
|
|
871
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.uploadFile(uploadFileRequestDto, options);
|
|
872
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
873
|
+
const localVarOperationServerBasePath = operationServerMap['PartnerV1Api.uploadFile']?.[localVarOperationServerIndex]?.url;
|
|
874
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
875
|
+
},
|
|
135
876
|
}
|
|
136
877
|
};
|
|
137
878
|
|
|
@@ -151,6 +892,80 @@ export const PartnerV1ApiFactory = function (configuration?: Configuration, base
|
|
|
151
892
|
bidsControllerFindOne(bidId: string, options?: RawAxiosRequestConfig): AxiosPromise<BidSummaryResponseDto> {
|
|
152
893
|
return localVarFp.bidsControllerFindOne(bidId, options).then((request) => request(axios, basePath));
|
|
153
894
|
},
|
|
895
|
+
/**
|
|
896
|
+
* V5 /acceptanceCompleteSend 후속. scope contracts:write + Idempotency-Key.
|
|
897
|
+
* @summary 검수완료 전송
|
|
898
|
+
* @param {string} bidId
|
|
899
|
+
* @param {CompleteAcceptanceRequestDto} completeAcceptanceRequestDto
|
|
900
|
+
* @param {*} [options] Override http request option.
|
|
901
|
+
* @throws {RequiredError}
|
|
902
|
+
*/
|
|
903
|
+
completeAcceptance(bidId: string, completeAcceptanceRequestDto: CompleteAcceptanceRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<AcceptanceResultResponseDto> {
|
|
904
|
+
return localVarFp.completeAcceptance(bidId, completeAcceptanceRequestDto, options).then((request) => request(axios, basePath));
|
|
905
|
+
},
|
|
906
|
+
/**
|
|
907
|
+
* V5 /contractDocumentRec 후속. scope contracts:read.
|
|
908
|
+
* @summary 계약서류 수신 조회
|
|
909
|
+
* @param {string} bidId
|
|
910
|
+
* @param {string} buyerId
|
|
911
|
+
* @param {*} [options] Override http request option.
|
|
912
|
+
* @throws {RequiredError}
|
|
913
|
+
*/
|
|
914
|
+
getBidContractDocuments(bidId: string, buyerId: string, options?: RawAxiosRequestConfig): AxiosPromise<BidContractDocumentsResponseDto> {
|
|
915
|
+
return localVarFp.getBidContractDocuments(bidId, buyerId, options).then((request) => request(axios, basePath));
|
|
916
|
+
},
|
|
917
|
+
/**
|
|
918
|
+
* V5 /contractDocumentRec(bid_puchase_no_list) 후속. 공고번호 리스트를 한 번에 조회. 단건(GET :bidId/contract-documents)은 그대로 유지. scope contracts:read.
|
|
919
|
+
* @summary 계약서류 수신 배치 조회
|
|
920
|
+
* @param {BidContractDocumentsBatchRequestDto} bidContractDocumentsBatchRequestDto
|
|
921
|
+
* @param {*} [options] Override http request option.
|
|
922
|
+
* @throws {RequiredError}
|
|
923
|
+
*/
|
|
924
|
+
getBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto: BidContractDocumentsBatchRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<Array<BidContractDocumentsResponseDto>> {
|
|
925
|
+
return localVarFp.getBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto, options).then((request) => request(axios, basePath));
|
|
926
|
+
},
|
|
927
|
+
/**
|
|
928
|
+
* V5 /entendrec 후속. scope bids:read.
|
|
929
|
+
* @summary 입찰 결과 조회
|
|
930
|
+
* @param {string} bidId
|
|
931
|
+
* @param {string} buyerId
|
|
932
|
+
* @param {*} [options] Override http request option.
|
|
933
|
+
* @throws {RequiredError}
|
|
934
|
+
*/
|
|
935
|
+
getBidResults(bidId: string, buyerId: string, options?: RawAxiosRequestConfig): AxiosPromise<BidResultsResponseDto> {
|
|
936
|
+
return localVarFp.getBidResults(bidId, buyerId, options).then((request) => request(axios, basePath));
|
|
937
|
+
},
|
|
938
|
+
/**
|
|
939
|
+
* V5 entendRec(bid_puchase_no_list) 후속 — 여러 공고 결과를 1회 호출로(additive, 단건 유지). 입력 순서를 보존한다. scope bids:read.
|
|
940
|
+
* @summary 입찰결과 배치 조회
|
|
941
|
+
* @param {BidResultsBatchRequestDto} bidResultsBatchRequestDto
|
|
942
|
+
* @param {*} [options] Override http request option.
|
|
943
|
+
* @throws {RequiredError}
|
|
944
|
+
*/
|
|
945
|
+
getBidResultsBatch(bidResultsBatchRequestDto: BidResultsBatchRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<Array<BidResultsResponseDto>> {
|
|
946
|
+
return localVarFp.getBidResultsBatch(bidResultsBatchRequestDto, options).then((request) => request(axios, basePath));
|
|
947
|
+
},
|
|
948
|
+
/**
|
|
949
|
+
* V5 /entendrec 정산(사업자·계좌·공급가액/부가세·응찰 품목내역) 후속. scope bids:read. 가격/신원 가시성 매트릭스와 직교한 ERP 정산 데이터 — read-only.
|
|
950
|
+
* @summary 입찰결과 정산정보 조회
|
|
951
|
+
* @param {string} bidId
|
|
952
|
+
* @param {*} [options] Override http request option.
|
|
953
|
+
* @throws {RequiredError}
|
|
954
|
+
*/
|
|
955
|
+
getBidSettlement(bidId: string, options?: RawAxiosRequestConfig): AxiosPromise<BidSettlementResponseDto> {
|
|
956
|
+
return localVarFp.getBidSettlement(bidId, options).then((request) => request(axios, basePath));
|
|
957
|
+
},
|
|
958
|
+
/**
|
|
959
|
+
* V5 /getGrm 후속. scope contracts:read.
|
|
960
|
+
* @summary 거래명세서 조회
|
|
961
|
+
* @param {string} bidId
|
|
962
|
+
* @param {number} paperCode
|
|
963
|
+
* @param {*} [options] Override http request option.
|
|
964
|
+
* @throws {RequiredError}
|
|
965
|
+
*/
|
|
966
|
+
getBidStatement(bidId: string, paperCode: number, options?: RawAxiosRequestConfig): AxiosPromise<BidStatementResponseDto> {
|
|
967
|
+
return localVarFp.getBidStatement(bidId, paperCode, options).then((request) => request(axios, basePath));
|
|
968
|
+
},
|
|
154
969
|
/**
|
|
155
970
|
* ERP 연동 직전 회선·인증 endpoint 동작 확인용.
|
|
156
971
|
* @summary Partner API 헬스체크
|
|
@@ -160,6 +975,66 @@ export const PartnerV1ApiFactory = function (configuration?: Configuration, base
|
|
|
160
975
|
healthControllerCheck(options?: RawAxiosRequestConfig): AxiosPromise<HealthResponseDto> {
|
|
161
976
|
return localVarFp.healthControllerCheck(options).then((request) => request(axios, basePath));
|
|
162
977
|
},
|
|
978
|
+
/**
|
|
979
|
+
* 유찰 처리(V5 yoochal 패리티). 유찰사유 코드(1~8)·상세를 받아 공고를 유찰 상태로 전환. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
980
|
+
* @summary 유찰 처리
|
|
981
|
+
* @param {MarkBidFailedRequestDto} markBidFailedRequestDto
|
|
982
|
+
* @param {*} [options] Override http request option.
|
|
983
|
+
* @throws {RequiredError}
|
|
984
|
+
*/
|
|
985
|
+
markBidFailed(markBidFailedRequestDto: MarkBidFailedRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<BidFailedResponseDto> {
|
|
986
|
+
return localVarFp.markBidFailed(markBidFailedRequestDto, options).then((request) => request(axios, basePath));
|
|
987
|
+
},
|
|
988
|
+
/**
|
|
989
|
+
* 낙찰 결과 등록. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
990
|
+
* @summary 낙찰 결과 전송
|
|
991
|
+
* @param {RegisterAwardRequestDto} registerAwardRequestDto
|
|
992
|
+
* @param {*} [options] Override http request option.
|
|
993
|
+
* @throws {RequiredError}
|
|
994
|
+
*/
|
|
995
|
+
registerAward(registerAwardRequestDto: RegisterAwardRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<AwardRegisteredResponseDto> {
|
|
996
|
+
return localVarFp.registerAward(registerAwardRequestDto, options).then((request) => request(axios, basePath));
|
|
997
|
+
},
|
|
998
|
+
/**
|
|
999
|
+
* 입찰 정보 등록. 스코프 `bids:write` + `Idempotency-Key` 헤더 필수.
|
|
1000
|
+
* @summary 입찰 정보 전송(등록)
|
|
1001
|
+
* @param {CreateBidRequestDto} createBidRequestDto
|
|
1002
|
+
* @param {*} [options] Override http request option.
|
|
1003
|
+
* @throws {RequiredError}
|
|
1004
|
+
*/
|
|
1005
|
+
registerBid(createBidRequestDto: CreateBidRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<BidCreatedResponseDto> {
|
|
1006
|
+
return localVarFp.registerBid(createBidRequestDto, options).then((request) => request(axios, basePath));
|
|
1007
|
+
},
|
|
1008
|
+
/**
|
|
1009
|
+
* V5 /splitInvoiceRequest 후속. scope invoices:write + Idempotency-Key.
|
|
1010
|
+
* @summary 계산서 분할 발급 청구
|
|
1011
|
+
* @param {RequestSplitInvoiceRequestDto} requestSplitInvoiceRequestDto
|
|
1012
|
+
* @param {*} [options] Override http request option.
|
|
1013
|
+
* @throws {RequiredError}
|
|
1014
|
+
*/
|
|
1015
|
+
requestSplitInvoice(requestSplitInvoiceRequestDto: RequestSplitInvoiceRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<SplitInvoiceResponseDto> {
|
|
1016
|
+
return localVarFp.requestSplitInvoice(requestSplitInvoiceRequestDto, options).then((request) => request(axios, basePath));
|
|
1017
|
+
},
|
|
1018
|
+
/**
|
|
1019
|
+
* 협상에의한계약(H/K) 응찰자별 기술/가격 점수 일괄 입력(V5 nego-eval 패리티). complete=true 면 평가완료 게이트까지 적용해 낙찰 진입 가능. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
1020
|
+
* @summary 협상(H/K) 점수평가
|
|
1021
|
+
* @param {SubmitNegotiationScoresRequestDto} submitNegotiationScoresRequestDto
|
|
1022
|
+
* @param {*} [options] Override http request option.
|
|
1023
|
+
* @throws {RequiredError}
|
|
1024
|
+
*/
|
|
1025
|
+
submitNegotiationScores(submitNegotiationScoresRequestDto: SubmitNegotiationScoresRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<NegotiationScoredResponseDto> {
|
|
1026
|
+
return localVarFp.submitNegotiationScores(submitNegotiationScoresRequestDto, options).then((request) => request(axios, basePath));
|
|
1027
|
+
},
|
|
1028
|
+
/**
|
|
1029
|
+
* 스코프 `files:write` 필수. base64 또는 url 중 하나를 제출한다.
|
|
1030
|
+
* @summary 입찰 첨부파일 업로드(base64 또는 url) → fileKey
|
|
1031
|
+
* @param {UploadFileRequestDto} uploadFileRequestDto
|
|
1032
|
+
* @param {*} [options] Override http request option.
|
|
1033
|
+
* @throws {RequiredError}
|
|
1034
|
+
*/
|
|
1035
|
+
uploadFile(uploadFileRequestDto: UploadFileRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<FileUploadedResponseDto> {
|
|
1036
|
+
return localVarFp.uploadFile(uploadFileRequestDto, options).then((request) => request(axios, basePath));
|
|
1037
|
+
},
|
|
163
1038
|
};
|
|
164
1039
|
};
|
|
165
1040
|
|
|
@@ -178,6 +1053,87 @@ export class PartnerV1Api extends BaseAPI {
|
|
|
178
1053
|
return PartnerV1ApiFp(this.configuration).bidsControllerFindOne(bidId, options).then((request) => request(this.axios, this.basePath));
|
|
179
1054
|
}
|
|
180
1055
|
|
|
1056
|
+
/**
|
|
1057
|
+
* V5 /acceptanceCompleteSend 후속. scope contracts:write + Idempotency-Key.
|
|
1058
|
+
* @summary 검수완료 전송
|
|
1059
|
+
* @param {string} bidId
|
|
1060
|
+
* @param {CompleteAcceptanceRequestDto} completeAcceptanceRequestDto
|
|
1061
|
+
* @param {*} [options] Override http request option.
|
|
1062
|
+
* @throws {RequiredError}
|
|
1063
|
+
*/
|
|
1064
|
+
public completeAcceptance(bidId: string, completeAcceptanceRequestDto: CompleteAcceptanceRequestDto, options?: RawAxiosRequestConfig) {
|
|
1065
|
+
return PartnerV1ApiFp(this.configuration).completeAcceptance(bidId, completeAcceptanceRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
1066
|
+
}
|
|
1067
|
+
|
|
1068
|
+
/**
|
|
1069
|
+
* V5 /contractDocumentRec 후속. scope contracts:read.
|
|
1070
|
+
* @summary 계약서류 수신 조회
|
|
1071
|
+
* @param {string} bidId
|
|
1072
|
+
* @param {string} buyerId
|
|
1073
|
+
* @param {*} [options] Override http request option.
|
|
1074
|
+
* @throws {RequiredError}
|
|
1075
|
+
*/
|
|
1076
|
+
public getBidContractDocuments(bidId: string, buyerId: string, options?: RawAxiosRequestConfig) {
|
|
1077
|
+
return PartnerV1ApiFp(this.configuration).getBidContractDocuments(bidId, buyerId, options).then((request) => request(this.axios, this.basePath));
|
|
1078
|
+
}
|
|
1079
|
+
|
|
1080
|
+
/**
|
|
1081
|
+
* V5 /contractDocumentRec(bid_puchase_no_list) 후속. 공고번호 리스트를 한 번에 조회. 단건(GET :bidId/contract-documents)은 그대로 유지. scope contracts:read.
|
|
1082
|
+
* @summary 계약서류 수신 배치 조회
|
|
1083
|
+
* @param {BidContractDocumentsBatchRequestDto} bidContractDocumentsBatchRequestDto
|
|
1084
|
+
* @param {*} [options] Override http request option.
|
|
1085
|
+
* @throws {RequiredError}
|
|
1086
|
+
*/
|
|
1087
|
+
public getBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto: BidContractDocumentsBatchRequestDto, options?: RawAxiosRequestConfig) {
|
|
1088
|
+
return PartnerV1ApiFp(this.configuration).getBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
1089
|
+
}
|
|
1090
|
+
|
|
1091
|
+
/**
|
|
1092
|
+
* V5 /entendrec 후속. scope bids:read.
|
|
1093
|
+
* @summary 입찰 결과 조회
|
|
1094
|
+
* @param {string} bidId
|
|
1095
|
+
* @param {string} buyerId
|
|
1096
|
+
* @param {*} [options] Override http request option.
|
|
1097
|
+
* @throws {RequiredError}
|
|
1098
|
+
*/
|
|
1099
|
+
public getBidResults(bidId: string, buyerId: string, options?: RawAxiosRequestConfig) {
|
|
1100
|
+
return PartnerV1ApiFp(this.configuration).getBidResults(bidId, buyerId, options).then((request) => request(this.axios, this.basePath));
|
|
1101
|
+
}
|
|
1102
|
+
|
|
1103
|
+
/**
|
|
1104
|
+
* V5 entendRec(bid_puchase_no_list) 후속 — 여러 공고 결과를 1회 호출로(additive, 단건 유지). 입력 순서를 보존한다. scope bids:read.
|
|
1105
|
+
* @summary 입찰결과 배치 조회
|
|
1106
|
+
* @param {BidResultsBatchRequestDto} bidResultsBatchRequestDto
|
|
1107
|
+
* @param {*} [options] Override http request option.
|
|
1108
|
+
* @throws {RequiredError}
|
|
1109
|
+
*/
|
|
1110
|
+
public getBidResultsBatch(bidResultsBatchRequestDto: BidResultsBatchRequestDto, options?: RawAxiosRequestConfig) {
|
|
1111
|
+
return PartnerV1ApiFp(this.configuration).getBidResultsBatch(bidResultsBatchRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
1112
|
+
}
|
|
1113
|
+
|
|
1114
|
+
/**
|
|
1115
|
+
* V5 /entendrec 정산(사업자·계좌·공급가액/부가세·응찰 품목내역) 후속. scope bids:read. 가격/신원 가시성 매트릭스와 직교한 ERP 정산 데이터 — read-only.
|
|
1116
|
+
* @summary 입찰결과 정산정보 조회
|
|
1117
|
+
* @param {string} bidId
|
|
1118
|
+
* @param {*} [options] Override http request option.
|
|
1119
|
+
* @throws {RequiredError}
|
|
1120
|
+
*/
|
|
1121
|
+
public getBidSettlement(bidId: string, options?: RawAxiosRequestConfig) {
|
|
1122
|
+
return PartnerV1ApiFp(this.configuration).getBidSettlement(bidId, options).then((request) => request(this.axios, this.basePath));
|
|
1123
|
+
}
|
|
1124
|
+
|
|
1125
|
+
/**
|
|
1126
|
+
* V5 /getGrm 후속. scope contracts:read.
|
|
1127
|
+
* @summary 거래명세서 조회
|
|
1128
|
+
* @param {string} bidId
|
|
1129
|
+
* @param {number} paperCode
|
|
1130
|
+
* @param {*} [options] Override http request option.
|
|
1131
|
+
* @throws {RequiredError}
|
|
1132
|
+
*/
|
|
1133
|
+
public getBidStatement(bidId: string, paperCode: number, options?: RawAxiosRequestConfig) {
|
|
1134
|
+
return PartnerV1ApiFp(this.configuration).getBidStatement(bidId, paperCode, options).then((request) => request(this.axios, this.basePath));
|
|
1135
|
+
}
|
|
1136
|
+
|
|
181
1137
|
/**
|
|
182
1138
|
* ERP 연동 직전 회선·인증 endpoint 동작 확인용.
|
|
183
1139
|
* @summary Partner API 헬스체크
|
|
@@ -187,5 +1143,71 @@ export class PartnerV1Api extends BaseAPI {
|
|
|
187
1143
|
public healthControllerCheck(options?: RawAxiosRequestConfig) {
|
|
188
1144
|
return PartnerV1ApiFp(this.configuration).healthControllerCheck(options).then((request) => request(this.axios, this.basePath));
|
|
189
1145
|
}
|
|
1146
|
+
|
|
1147
|
+
/**
|
|
1148
|
+
* 유찰 처리(V5 yoochal 패리티). 유찰사유 코드(1~8)·상세를 받아 공고를 유찰 상태로 전환. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
1149
|
+
* @summary 유찰 처리
|
|
1150
|
+
* @param {MarkBidFailedRequestDto} markBidFailedRequestDto
|
|
1151
|
+
* @param {*} [options] Override http request option.
|
|
1152
|
+
* @throws {RequiredError}
|
|
1153
|
+
*/
|
|
1154
|
+
public markBidFailed(markBidFailedRequestDto: MarkBidFailedRequestDto, options?: RawAxiosRequestConfig) {
|
|
1155
|
+
return PartnerV1ApiFp(this.configuration).markBidFailed(markBidFailedRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1158
|
+
/**
|
|
1159
|
+
* 낙찰 결과 등록. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
1160
|
+
* @summary 낙찰 결과 전송
|
|
1161
|
+
* @param {RegisterAwardRequestDto} registerAwardRequestDto
|
|
1162
|
+
* @param {*} [options] Override http request option.
|
|
1163
|
+
* @throws {RequiredError}
|
|
1164
|
+
*/
|
|
1165
|
+
public registerAward(registerAwardRequestDto: RegisterAwardRequestDto, options?: RawAxiosRequestConfig) {
|
|
1166
|
+
return PartnerV1ApiFp(this.configuration).registerAward(registerAwardRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
1167
|
+
}
|
|
1168
|
+
|
|
1169
|
+
/**
|
|
1170
|
+
* 입찰 정보 등록. 스코프 `bids:write` + `Idempotency-Key` 헤더 필수.
|
|
1171
|
+
* @summary 입찰 정보 전송(등록)
|
|
1172
|
+
* @param {CreateBidRequestDto} createBidRequestDto
|
|
1173
|
+
* @param {*} [options] Override http request option.
|
|
1174
|
+
* @throws {RequiredError}
|
|
1175
|
+
*/
|
|
1176
|
+
public registerBid(createBidRequestDto: CreateBidRequestDto, options?: RawAxiosRequestConfig) {
|
|
1177
|
+
return PartnerV1ApiFp(this.configuration).registerBid(createBidRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
1178
|
+
}
|
|
1179
|
+
|
|
1180
|
+
/**
|
|
1181
|
+
* V5 /splitInvoiceRequest 후속. scope invoices:write + Idempotency-Key.
|
|
1182
|
+
* @summary 계산서 분할 발급 청구
|
|
1183
|
+
* @param {RequestSplitInvoiceRequestDto} requestSplitInvoiceRequestDto
|
|
1184
|
+
* @param {*} [options] Override http request option.
|
|
1185
|
+
* @throws {RequiredError}
|
|
1186
|
+
*/
|
|
1187
|
+
public requestSplitInvoice(requestSplitInvoiceRequestDto: RequestSplitInvoiceRequestDto, options?: RawAxiosRequestConfig) {
|
|
1188
|
+
return PartnerV1ApiFp(this.configuration).requestSplitInvoice(requestSplitInvoiceRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
1189
|
+
}
|
|
1190
|
+
|
|
1191
|
+
/**
|
|
1192
|
+
* 협상에의한계약(H/K) 응찰자별 기술/가격 점수 일괄 입력(V5 nego-eval 패리티). complete=true 면 평가완료 게이트까지 적용해 낙찰 진입 가능. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
1193
|
+
* @summary 협상(H/K) 점수평가
|
|
1194
|
+
* @param {SubmitNegotiationScoresRequestDto} submitNegotiationScoresRequestDto
|
|
1195
|
+
* @param {*} [options] Override http request option.
|
|
1196
|
+
* @throws {RequiredError}
|
|
1197
|
+
*/
|
|
1198
|
+
public submitNegotiationScores(submitNegotiationScoresRequestDto: SubmitNegotiationScoresRequestDto, options?: RawAxiosRequestConfig) {
|
|
1199
|
+
return PartnerV1ApiFp(this.configuration).submitNegotiationScores(submitNegotiationScoresRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
1200
|
+
}
|
|
1201
|
+
|
|
1202
|
+
/**
|
|
1203
|
+
* 스코프 `files:write` 필수. base64 또는 url 중 하나를 제출한다.
|
|
1204
|
+
* @summary 입찰 첨부파일 업로드(base64 또는 url) → fileKey
|
|
1205
|
+
* @param {UploadFileRequestDto} uploadFileRequestDto
|
|
1206
|
+
* @param {*} [options] Override http request option.
|
|
1207
|
+
* @throws {RequiredError}
|
|
1208
|
+
*/
|
|
1209
|
+
public uploadFile(uploadFileRequestDto: UploadFileRequestDto, options?: RawAxiosRequestConfig) {
|
|
1210
|
+
return PartnerV1ApiFp(this.configuration).uploadFile(uploadFileRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
1211
|
+
}
|
|
190
1212
|
}
|
|
191
1213
|
|