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