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