@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/dist/api.d.ts
CHANGED
package/dist/api.js
CHANGED
|
@@ -29,4 +29,3 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
29
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
30
|
__exportStar(require("./api/oauth-api"), exports);
|
|
31
31
|
__exportStar(require("./api/partner-v1-api"), exports);
|
|
32
|
-
__exportStar(require("./api/partner-v2-api"), exports);
|
|
@@ -12,20 +12,91 @@
|
|
|
12
12
|
import type { Configuration } from '../configuration';
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
-
import type {
|
|
15
|
+
import type { AcceptanceResultResponseDto } from '../models';
|
|
16
|
+
import type { AwardRegisteredResponseDto } from '../models';
|
|
17
|
+
import type { BidContractDocumentsBatchRequestDto } from '../models';
|
|
18
|
+
import type { BidContractDocumentsResponseDto } from '../models';
|
|
19
|
+
import type { BidCreatedResponseDto } from '../models';
|
|
20
|
+
import type { BidFailedResponseDto } from '../models';
|
|
21
|
+
import type { BidResultsBatchRequestDto } from '../models';
|
|
22
|
+
import type { BidResultsResponseDto } from '../models';
|
|
23
|
+
import type { BidSettlementResponseDto } from '../models';
|
|
24
|
+
import type { BidStatementResponseDto } from '../models';
|
|
25
|
+
import type { CompleteAcceptanceRequestDto } from '../models';
|
|
26
|
+
import type { CreateBidRequestDto } from '../models';
|
|
27
|
+
import type { FileUploadedResponseDto } from '../models';
|
|
16
28
|
import type { HealthResponseDto } from '../models';
|
|
29
|
+
import type { MarkBidFailedRequestDto } from '../models';
|
|
30
|
+
import type { NegotiationScoredResponseDto } from '../models';
|
|
31
|
+
import type { RegisterAwardRequestDto } from '../models';
|
|
32
|
+
import type { RequestSplitInvoiceRequestDto } from '../models';
|
|
33
|
+
import type { SplitInvoiceResponseDto } from '../models';
|
|
34
|
+
import type { SubmitNegotiationScoresRequestDto } from '../models';
|
|
35
|
+
import type { UploadFileRequestDto } from '../models';
|
|
17
36
|
/**
|
|
18
37
|
* PartnerV1Api - axios parameter creator
|
|
19
38
|
*/
|
|
20
39
|
export declare const PartnerV1ApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21
40
|
/**
|
|
22
|
-
*
|
|
23
|
-
* @summary
|
|
41
|
+
* V5 /acceptanceCompleteSend 후속. scope contracts:write + Idempotency-Key.
|
|
42
|
+
* @summary 검수완료 전송
|
|
24
43
|
* @param {string} bidId
|
|
44
|
+
* @param {CompleteAcceptanceRequestDto} completeAcceptanceRequestDto
|
|
25
45
|
* @param {*} [options] Override http request option.
|
|
26
46
|
* @throws {RequiredError}
|
|
27
47
|
*/
|
|
28
|
-
|
|
48
|
+
completeAcceptance: (bidId: string, completeAcceptanceRequestDto: CompleteAcceptanceRequestDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
49
|
+
/**
|
|
50
|
+
* V5 /contractDocumentRec 후속. scope contracts:read.
|
|
51
|
+
* @summary 계약서류 수신 조회
|
|
52
|
+
* @param {string} bidId
|
|
53
|
+
* @param {string} buyerId
|
|
54
|
+
* @param {*} [options] Override http request option.
|
|
55
|
+
* @throws {RequiredError}
|
|
56
|
+
*/
|
|
57
|
+
getBidContractDocuments: (bidId: string, buyerId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
58
|
+
/**
|
|
59
|
+
* V5 /contractDocumentRec(bid_puchase_no_list) 후속. 공고번호 리스트를 한 번에 조회. 단건(GET :bidId/contract-documents)은 그대로 유지. scope contracts:read.
|
|
60
|
+
* @summary 계약서류 수신 배치 조회
|
|
61
|
+
* @param {BidContractDocumentsBatchRequestDto} bidContractDocumentsBatchRequestDto
|
|
62
|
+
* @param {*} [options] Override http request option.
|
|
63
|
+
* @throws {RequiredError}
|
|
64
|
+
*/
|
|
65
|
+
getBidContractDocumentsBatch: (bidContractDocumentsBatchRequestDto: BidContractDocumentsBatchRequestDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
66
|
+
/**
|
|
67
|
+
* V5 /entendrec 후속. scope bids:read.
|
|
68
|
+
* @summary 입찰 결과 조회
|
|
69
|
+
* @param {string} bidId
|
|
70
|
+
* @param {string} buyerId
|
|
71
|
+
* @param {*} [options] Override http request option.
|
|
72
|
+
* @throws {RequiredError}
|
|
73
|
+
*/
|
|
74
|
+
getBidResults: (bidId: string, buyerId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
75
|
+
/**
|
|
76
|
+
* V5 entendRec(bid_puchase_no_list) 후속 — 여러 공고 결과를 1회 호출로(additive, 단건 유지). 입력 순서를 보존한다. scope bids:read.
|
|
77
|
+
* @summary 입찰결과 배치 조회
|
|
78
|
+
* @param {BidResultsBatchRequestDto} bidResultsBatchRequestDto
|
|
79
|
+
* @param {*} [options] Override http request option.
|
|
80
|
+
* @throws {RequiredError}
|
|
81
|
+
*/
|
|
82
|
+
getBidResultsBatch: (bidResultsBatchRequestDto: BidResultsBatchRequestDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
83
|
+
/**
|
|
84
|
+
* V5 /entendrec 정산(사업자·계좌·공급가액/부가세·응찰 품목내역) 후속. scope bids:read. 가격/신원 가시성 매트릭스와 직교한 ERP 정산 데이터 — read-only.
|
|
85
|
+
* @summary 입찰결과 정산정보 조회
|
|
86
|
+
* @param {string} bidId
|
|
87
|
+
* @param {*} [options] Override http request option.
|
|
88
|
+
* @throws {RequiredError}
|
|
89
|
+
*/
|
|
90
|
+
getBidSettlement: (bidId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
91
|
+
/**
|
|
92
|
+
* V5 /getGrm 후속. scope contracts:read.
|
|
93
|
+
* @summary 거래명세서 조회
|
|
94
|
+
* @param {string} bidId
|
|
95
|
+
* @param {number} paperCode
|
|
96
|
+
* @param {*} [options] Override http request option.
|
|
97
|
+
* @throws {RequiredError}
|
|
98
|
+
*/
|
|
99
|
+
getBidStatement: (bidId: string, paperCode: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
29
100
|
/**
|
|
30
101
|
* ERP 연동 직전 회선·인증 endpoint 동작 확인용.
|
|
31
102
|
* @summary Partner API 헬스체크
|
|
@@ -33,19 +104,119 @@ export declare const PartnerV1ApiAxiosParamCreator: (configuration?: Configurati
|
|
|
33
104
|
* @throws {RequiredError}
|
|
34
105
|
*/
|
|
35
106
|
healthControllerCheck: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
107
|
+
/**
|
|
108
|
+
* 유찰 처리(V5 yoochal 패리티). 유찰사유 코드(1~8)·상세를 받아 공고를 유찰 상태로 전환. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
109
|
+
* @summary 유찰 처리
|
|
110
|
+
* @param {MarkBidFailedRequestDto} markBidFailedRequestDto
|
|
111
|
+
* @param {*} [options] Override http request option.
|
|
112
|
+
* @throws {RequiredError}
|
|
113
|
+
*/
|
|
114
|
+
markBidFailed: (markBidFailedRequestDto: MarkBidFailedRequestDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
115
|
+
/**
|
|
116
|
+
* 낙찰 결과 등록. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
117
|
+
* @summary 낙찰 결과 전송
|
|
118
|
+
* @param {RegisterAwardRequestDto} registerAwardRequestDto
|
|
119
|
+
* @param {*} [options] Override http request option.
|
|
120
|
+
* @throws {RequiredError}
|
|
121
|
+
*/
|
|
122
|
+
registerAward: (registerAwardRequestDto: RegisterAwardRequestDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
123
|
+
/**
|
|
124
|
+
* 입찰 정보 등록. 스코프 `bids:write` + `Idempotency-Key` 헤더 필수.
|
|
125
|
+
* @summary 입찰 정보 전송(등록)
|
|
126
|
+
* @param {CreateBidRequestDto} createBidRequestDto
|
|
127
|
+
* @param {*} [options] Override http request option.
|
|
128
|
+
* @throws {RequiredError}
|
|
129
|
+
*/
|
|
130
|
+
registerBid: (createBidRequestDto: CreateBidRequestDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
131
|
+
/**
|
|
132
|
+
* V5 /splitInvoiceRequest 후속. scope invoices:write + Idempotency-Key.
|
|
133
|
+
* @summary 계산서 분할 발급 청구
|
|
134
|
+
* @param {RequestSplitInvoiceRequestDto} requestSplitInvoiceRequestDto
|
|
135
|
+
* @param {*} [options] Override http request option.
|
|
136
|
+
* @throws {RequiredError}
|
|
137
|
+
*/
|
|
138
|
+
requestSplitInvoice: (requestSplitInvoiceRequestDto: RequestSplitInvoiceRequestDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
139
|
+
/**
|
|
140
|
+
* 협상에의한계약(H/K) 응찰자별 기술/가격 점수 일괄 입력(V5 nego-eval 패리티). complete=true 면 평가완료 게이트까지 적용해 낙찰 진입 가능. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
141
|
+
* @summary 협상(H/K) 점수평가
|
|
142
|
+
* @param {SubmitNegotiationScoresRequestDto} submitNegotiationScoresRequestDto
|
|
143
|
+
* @param {*} [options] Override http request option.
|
|
144
|
+
* @throws {RequiredError}
|
|
145
|
+
*/
|
|
146
|
+
submitNegotiationScores: (submitNegotiationScoresRequestDto: SubmitNegotiationScoresRequestDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
147
|
+
/**
|
|
148
|
+
* 스코프 `files:write` 필수. base64 또는 url 중 하나를 제출한다.
|
|
149
|
+
* @summary 입찰 첨부파일 업로드(base64 또는 url) → fileKey
|
|
150
|
+
* @param {UploadFileRequestDto} uploadFileRequestDto
|
|
151
|
+
* @param {*} [options] Override http request option.
|
|
152
|
+
* @throws {RequiredError}
|
|
153
|
+
*/
|
|
154
|
+
uploadFile: (uploadFileRequestDto: UploadFileRequestDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
36
155
|
};
|
|
37
156
|
/**
|
|
38
157
|
* PartnerV1Api - functional programming interface
|
|
39
158
|
*/
|
|
40
159
|
export declare const PartnerV1ApiFp: (configuration?: Configuration) => {
|
|
41
160
|
/**
|
|
42
|
-
*
|
|
43
|
-
* @summary
|
|
161
|
+
* V5 /acceptanceCompleteSend 후속. scope contracts:write + Idempotency-Key.
|
|
162
|
+
* @summary 검수완료 전송
|
|
44
163
|
* @param {string} bidId
|
|
164
|
+
* @param {CompleteAcceptanceRequestDto} completeAcceptanceRequestDto
|
|
45
165
|
* @param {*} [options] Override http request option.
|
|
46
166
|
* @throws {RequiredError}
|
|
47
167
|
*/
|
|
48
|
-
|
|
168
|
+
completeAcceptance(bidId: string, completeAcceptanceRequestDto: CompleteAcceptanceRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AcceptanceResultResponseDto>>;
|
|
169
|
+
/**
|
|
170
|
+
* V5 /contractDocumentRec 후속. scope contracts:read.
|
|
171
|
+
* @summary 계약서류 수신 조회
|
|
172
|
+
* @param {string} bidId
|
|
173
|
+
* @param {string} buyerId
|
|
174
|
+
* @param {*} [options] Override http request option.
|
|
175
|
+
* @throws {RequiredError}
|
|
176
|
+
*/
|
|
177
|
+
getBidContractDocuments(bidId: string, buyerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BidContractDocumentsResponseDto>>;
|
|
178
|
+
/**
|
|
179
|
+
* V5 /contractDocumentRec(bid_puchase_no_list) 후속. 공고번호 리스트를 한 번에 조회. 단건(GET :bidId/contract-documents)은 그대로 유지. scope contracts:read.
|
|
180
|
+
* @summary 계약서류 수신 배치 조회
|
|
181
|
+
* @param {BidContractDocumentsBatchRequestDto} bidContractDocumentsBatchRequestDto
|
|
182
|
+
* @param {*} [options] Override http request option.
|
|
183
|
+
* @throws {RequiredError}
|
|
184
|
+
*/
|
|
185
|
+
getBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto: BidContractDocumentsBatchRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BidContractDocumentsResponseDto>>>;
|
|
186
|
+
/**
|
|
187
|
+
* V5 /entendrec 후속. scope bids:read.
|
|
188
|
+
* @summary 입찰 결과 조회
|
|
189
|
+
* @param {string} bidId
|
|
190
|
+
* @param {string} buyerId
|
|
191
|
+
* @param {*} [options] Override http request option.
|
|
192
|
+
* @throws {RequiredError}
|
|
193
|
+
*/
|
|
194
|
+
getBidResults(bidId: string, buyerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BidResultsResponseDto>>;
|
|
195
|
+
/**
|
|
196
|
+
* V5 entendRec(bid_puchase_no_list) 후속 — 여러 공고 결과를 1회 호출로(additive, 단건 유지). 입력 순서를 보존한다. scope bids:read.
|
|
197
|
+
* @summary 입찰결과 배치 조회
|
|
198
|
+
* @param {BidResultsBatchRequestDto} bidResultsBatchRequestDto
|
|
199
|
+
* @param {*} [options] Override http request option.
|
|
200
|
+
* @throws {RequiredError}
|
|
201
|
+
*/
|
|
202
|
+
getBidResultsBatch(bidResultsBatchRequestDto: BidResultsBatchRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BidResultsResponseDto>>>;
|
|
203
|
+
/**
|
|
204
|
+
* V5 /entendrec 정산(사업자·계좌·공급가액/부가세·응찰 품목내역) 후속. scope bids:read. 가격/신원 가시성 매트릭스와 직교한 ERP 정산 데이터 — read-only.
|
|
205
|
+
* @summary 입찰결과 정산정보 조회
|
|
206
|
+
* @param {string} bidId
|
|
207
|
+
* @param {*} [options] Override http request option.
|
|
208
|
+
* @throws {RequiredError}
|
|
209
|
+
*/
|
|
210
|
+
getBidSettlement(bidId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BidSettlementResponseDto>>;
|
|
211
|
+
/**
|
|
212
|
+
* V5 /getGrm 후속. scope contracts:read.
|
|
213
|
+
* @summary 거래명세서 조회
|
|
214
|
+
* @param {string} bidId
|
|
215
|
+
* @param {number} paperCode
|
|
216
|
+
* @param {*} [options] Override http request option.
|
|
217
|
+
* @throws {RequiredError}
|
|
218
|
+
*/
|
|
219
|
+
getBidStatement(bidId: string, paperCode: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BidStatementResponseDto>>;
|
|
49
220
|
/**
|
|
50
221
|
* ERP 연동 직전 회선·인증 endpoint 동작 확인용.
|
|
51
222
|
* @summary Partner API 헬스체크
|
|
@@ -53,19 +224,119 @@ export declare const PartnerV1ApiFp: (configuration?: Configuration) => {
|
|
|
53
224
|
* @throws {RequiredError}
|
|
54
225
|
*/
|
|
55
226
|
healthControllerCheck(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HealthResponseDto>>;
|
|
227
|
+
/**
|
|
228
|
+
* 유찰 처리(V5 yoochal 패리티). 유찰사유 코드(1~8)·상세를 받아 공고를 유찰 상태로 전환. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
229
|
+
* @summary 유찰 처리
|
|
230
|
+
* @param {MarkBidFailedRequestDto} markBidFailedRequestDto
|
|
231
|
+
* @param {*} [options] Override http request option.
|
|
232
|
+
* @throws {RequiredError}
|
|
233
|
+
*/
|
|
234
|
+
markBidFailed(markBidFailedRequestDto: MarkBidFailedRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BidFailedResponseDto>>;
|
|
235
|
+
/**
|
|
236
|
+
* 낙찰 결과 등록. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
237
|
+
* @summary 낙찰 결과 전송
|
|
238
|
+
* @param {RegisterAwardRequestDto} registerAwardRequestDto
|
|
239
|
+
* @param {*} [options] Override http request option.
|
|
240
|
+
* @throws {RequiredError}
|
|
241
|
+
*/
|
|
242
|
+
registerAward(registerAwardRequestDto: RegisterAwardRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AwardRegisteredResponseDto>>;
|
|
243
|
+
/**
|
|
244
|
+
* 입찰 정보 등록. 스코프 `bids:write` + `Idempotency-Key` 헤더 필수.
|
|
245
|
+
* @summary 입찰 정보 전송(등록)
|
|
246
|
+
* @param {CreateBidRequestDto} createBidRequestDto
|
|
247
|
+
* @param {*} [options] Override http request option.
|
|
248
|
+
* @throws {RequiredError}
|
|
249
|
+
*/
|
|
250
|
+
registerBid(createBidRequestDto: CreateBidRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BidCreatedResponseDto>>;
|
|
251
|
+
/**
|
|
252
|
+
* V5 /splitInvoiceRequest 후속. scope invoices:write + Idempotency-Key.
|
|
253
|
+
* @summary 계산서 분할 발급 청구
|
|
254
|
+
* @param {RequestSplitInvoiceRequestDto} requestSplitInvoiceRequestDto
|
|
255
|
+
* @param {*} [options] Override http request option.
|
|
256
|
+
* @throws {RequiredError}
|
|
257
|
+
*/
|
|
258
|
+
requestSplitInvoice(requestSplitInvoiceRequestDto: RequestSplitInvoiceRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SplitInvoiceResponseDto>>;
|
|
259
|
+
/**
|
|
260
|
+
* 협상에의한계약(H/K) 응찰자별 기술/가격 점수 일괄 입력(V5 nego-eval 패리티). complete=true 면 평가완료 게이트까지 적용해 낙찰 진입 가능. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
261
|
+
* @summary 협상(H/K) 점수평가
|
|
262
|
+
* @param {SubmitNegotiationScoresRequestDto} submitNegotiationScoresRequestDto
|
|
263
|
+
* @param {*} [options] Override http request option.
|
|
264
|
+
* @throws {RequiredError}
|
|
265
|
+
*/
|
|
266
|
+
submitNegotiationScores(submitNegotiationScoresRequestDto: SubmitNegotiationScoresRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NegotiationScoredResponseDto>>;
|
|
267
|
+
/**
|
|
268
|
+
* 스코프 `files:write` 필수. base64 또는 url 중 하나를 제출한다.
|
|
269
|
+
* @summary 입찰 첨부파일 업로드(base64 또는 url) → fileKey
|
|
270
|
+
* @param {UploadFileRequestDto} uploadFileRequestDto
|
|
271
|
+
* @param {*} [options] Override http request option.
|
|
272
|
+
* @throws {RequiredError}
|
|
273
|
+
*/
|
|
274
|
+
uploadFile(uploadFileRequestDto: UploadFileRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FileUploadedResponseDto>>;
|
|
56
275
|
};
|
|
57
276
|
/**
|
|
58
277
|
* PartnerV1Api - factory interface
|
|
59
278
|
*/
|
|
60
279
|
export declare const PartnerV1ApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
61
280
|
/**
|
|
62
|
-
*
|
|
63
|
-
* @summary
|
|
281
|
+
* V5 /acceptanceCompleteSend 후속. scope contracts:write + Idempotency-Key.
|
|
282
|
+
* @summary 검수완료 전송
|
|
64
283
|
* @param {string} bidId
|
|
284
|
+
* @param {CompleteAcceptanceRequestDto} completeAcceptanceRequestDto
|
|
65
285
|
* @param {*} [options] Override http request option.
|
|
66
286
|
* @throws {RequiredError}
|
|
67
287
|
*/
|
|
68
|
-
|
|
288
|
+
completeAcceptance(bidId: string, completeAcceptanceRequestDto: CompleteAcceptanceRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<AcceptanceResultResponseDto>;
|
|
289
|
+
/**
|
|
290
|
+
* V5 /contractDocumentRec 후속. scope contracts:read.
|
|
291
|
+
* @summary 계약서류 수신 조회
|
|
292
|
+
* @param {string} bidId
|
|
293
|
+
* @param {string} buyerId
|
|
294
|
+
* @param {*} [options] Override http request option.
|
|
295
|
+
* @throws {RequiredError}
|
|
296
|
+
*/
|
|
297
|
+
getBidContractDocuments(bidId: string, buyerId: string, options?: RawAxiosRequestConfig): AxiosPromise<BidContractDocumentsResponseDto>;
|
|
298
|
+
/**
|
|
299
|
+
* V5 /contractDocumentRec(bid_puchase_no_list) 후속. 공고번호 리스트를 한 번에 조회. 단건(GET :bidId/contract-documents)은 그대로 유지. scope contracts:read.
|
|
300
|
+
* @summary 계약서류 수신 배치 조회
|
|
301
|
+
* @param {BidContractDocumentsBatchRequestDto} bidContractDocumentsBatchRequestDto
|
|
302
|
+
* @param {*} [options] Override http request option.
|
|
303
|
+
* @throws {RequiredError}
|
|
304
|
+
*/
|
|
305
|
+
getBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto: BidContractDocumentsBatchRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<Array<BidContractDocumentsResponseDto>>;
|
|
306
|
+
/**
|
|
307
|
+
* V5 /entendrec 후속. scope bids:read.
|
|
308
|
+
* @summary 입찰 결과 조회
|
|
309
|
+
* @param {string} bidId
|
|
310
|
+
* @param {string} buyerId
|
|
311
|
+
* @param {*} [options] Override http request option.
|
|
312
|
+
* @throws {RequiredError}
|
|
313
|
+
*/
|
|
314
|
+
getBidResults(bidId: string, buyerId: string, options?: RawAxiosRequestConfig): AxiosPromise<BidResultsResponseDto>;
|
|
315
|
+
/**
|
|
316
|
+
* V5 entendRec(bid_puchase_no_list) 후속 — 여러 공고 결과를 1회 호출로(additive, 단건 유지). 입력 순서를 보존한다. scope bids:read.
|
|
317
|
+
* @summary 입찰결과 배치 조회
|
|
318
|
+
* @param {BidResultsBatchRequestDto} bidResultsBatchRequestDto
|
|
319
|
+
* @param {*} [options] Override http request option.
|
|
320
|
+
* @throws {RequiredError}
|
|
321
|
+
*/
|
|
322
|
+
getBidResultsBatch(bidResultsBatchRequestDto: BidResultsBatchRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<Array<BidResultsResponseDto>>;
|
|
323
|
+
/**
|
|
324
|
+
* V5 /entendrec 정산(사업자·계좌·공급가액/부가세·응찰 품목내역) 후속. scope bids:read. 가격/신원 가시성 매트릭스와 직교한 ERP 정산 데이터 — read-only.
|
|
325
|
+
* @summary 입찰결과 정산정보 조회
|
|
326
|
+
* @param {string} bidId
|
|
327
|
+
* @param {*} [options] Override http request option.
|
|
328
|
+
* @throws {RequiredError}
|
|
329
|
+
*/
|
|
330
|
+
getBidSettlement(bidId: string, options?: RawAxiosRequestConfig): AxiosPromise<BidSettlementResponseDto>;
|
|
331
|
+
/**
|
|
332
|
+
* V5 /getGrm 후속. scope contracts:read.
|
|
333
|
+
* @summary 거래명세서 조회
|
|
334
|
+
* @param {string} bidId
|
|
335
|
+
* @param {number} paperCode
|
|
336
|
+
* @param {*} [options] Override http request option.
|
|
337
|
+
* @throws {RequiredError}
|
|
338
|
+
*/
|
|
339
|
+
getBidStatement(bidId: string, paperCode: number, options?: RawAxiosRequestConfig): AxiosPromise<BidStatementResponseDto>;
|
|
69
340
|
/**
|
|
70
341
|
* ERP 연동 직전 회선·인증 endpoint 동작 확인용.
|
|
71
342
|
* @summary Partner API 헬스체크
|
|
@@ -73,19 +344,119 @@ export declare const PartnerV1ApiFactory: (configuration?: Configuration, basePa
|
|
|
73
344
|
* @throws {RequiredError}
|
|
74
345
|
*/
|
|
75
346
|
healthControllerCheck(options?: RawAxiosRequestConfig): AxiosPromise<HealthResponseDto>;
|
|
347
|
+
/**
|
|
348
|
+
* 유찰 처리(V5 yoochal 패리티). 유찰사유 코드(1~8)·상세를 받아 공고를 유찰 상태로 전환. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
349
|
+
* @summary 유찰 처리
|
|
350
|
+
* @param {MarkBidFailedRequestDto} markBidFailedRequestDto
|
|
351
|
+
* @param {*} [options] Override http request option.
|
|
352
|
+
* @throws {RequiredError}
|
|
353
|
+
*/
|
|
354
|
+
markBidFailed(markBidFailedRequestDto: MarkBidFailedRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<BidFailedResponseDto>;
|
|
355
|
+
/**
|
|
356
|
+
* 낙찰 결과 등록. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
357
|
+
* @summary 낙찰 결과 전송
|
|
358
|
+
* @param {RegisterAwardRequestDto} registerAwardRequestDto
|
|
359
|
+
* @param {*} [options] Override http request option.
|
|
360
|
+
* @throws {RequiredError}
|
|
361
|
+
*/
|
|
362
|
+
registerAward(registerAwardRequestDto: RegisterAwardRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<AwardRegisteredResponseDto>;
|
|
363
|
+
/**
|
|
364
|
+
* 입찰 정보 등록. 스코프 `bids:write` + `Idempotency-Key` 헤더 필수.
|
|
365
|
+
* @summary 입찰 정보 전송(등록)
|
|
366
|
+
* @param {CreateBidRequestDto} createBidRequestDto
|
|
367
|
+
* @param {*} [options] Override http request option.
|
|
368
|
+
* @throws {RequiredError}
|
|
369
|
+
*/
|
|
370
|
+
registerBid(createBidRequestDto: CreateBidRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<BidCreatedResponseDto>;
|
|
371
|
+
/**
|
|
372
|
+
* V5 /splitInvoiceRequest 후속. scope invoices:write + Idempotency-Key.
|
|
373
|
+
* @summary 계산서 분할 발급 청구
|
|
374
|
+
* @param {RequestSplitInvoiceRequestDto} requestSplitInvoiceRequestDto
|
|
375
|
+
* @param {*} [options] Override http request option.
|
|
376
|
+
* @throws {RequiredError}
|
|
377
|
+
*/
|
|
378
|
+
requestSplitInvoice(requestSplitInvoiceRequestDto: RequestSplitInvoiceRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<SplitInvoiceResponseDto>;
|
|
379
|
+
/**
|
|
380
|
+
* 협상에의한계약(H/K) 응찰자별 기술/가격 점수 일괄 입력(V5 nego-eval 패리티). complete=true 면 평가완료 게이트까지 적용해 낙찰 진입 가능. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
381
|
+
* @summary 협상(H/K) 점수평가
|
|
382
|
+
* @param {SubmitNegotiationScoresRequestDto} submitNegotiationScoresRequestDto
|
|
383
|
+
* @param {*} [options] Override http request option.
|
|
384
|
+
* @throws {RequiredError}
|
|
385
|
+
*/
|
|
386
|
+
submitNegotiationScores(submitNegotiationScoresRequestDto: SubmitNegotiationScoresRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<NegotiationScoredResponseDto>;
|
|
387
|
+
/**
|
|
388
|
+
* 스코프 `files:write` 필수. base64 또는 url 중 하나를 제출한다.
|
|
389
|
+
* @summary 입찰 첨부파일 업로드(base64 또는 url) → fileKey
|
|
390
|
+
* @param {UploadFileRequestDto} uploadFileRequestDto
|
|
391
|
+
* @param {*} [options] Override http request option.
|
|
392
|
+
* @throws {RequiredError}
|
|
393
|
+
*/
|
|
394
|
+
uploadFile(uploadFileRequestDto: UploadFileRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<FileUploadedResponseDto>;
|
|
76
395
|
};
|
|
77
396
|
/**
|
|
78
397
|
* PartnerV1Api - object-oriented interface
|
|
79
398
|
*/
|
|
80
399
|
export declare class PartnerV1Api extends BaseAPI {
|
|
81
400
|
/**
|
|
82
|
-
*
|
|
83
|
-
* @summary
|
|
401
|
+
* V5 /acceptanceCompleteSend 후속. scope contracts:write + Idempotency-Key.
|
|
402
|
+
* @summary 검수완료 전송
|
|
84
403
|
* @param {string} bidId
|
|
404
|
+
* @param {CompleteAcceptanceRequestDto} completeAcceptanceRequestDto
|
|
85
405
|
* @param {*} [options] Override http request option.
|
|
86
406
|
* @throws {RequiredError}
|
|
87
407
|
*/
|
|
88
|
-
|
|
408
|
+
completeAcceptance(bidId: string, completeAcceptanceRequestDto: CompleteAcceptanceRequestDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AcceptanceResultResponseDto, any, {}>>;
|
|
409
|
+
/**
|
|
410
|
+
* V5 /contractDocumentRec 후속. scope contracts:read.
|
|
411
|
+
* @summary 계약서류 수신 조회
|
|
412
|
+
* @param {string} bidId
|
|
413
|
+
* @param {string} buyerId
|
|
414
|
+
* @param {*} [options] Override http request option.
|
|
415
|
+
* @throws {RequiredError}
|
|
416
|
+
*/
|
|
417
|
+
getBidContractDocuments(bidId: string, buyerId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BidContractDocumentsResponseDto, any, {}>>;
|
|
418
|
+
/**
|
|
419
|
+
* V5 /contractDocumentRec(bid_puchase_no_list) 후속. 공고번호 리스트를 한 번에 조회. 단건(GET :bidId/contract-documents)은 그대로 유지. scope contracts:read.
|
|
420
|
+
* @summary 계약서류 수신 배치 조회
|
|
421
|
+
* @param {BidContractDocumentsBatchRequestDto} bidContractDocumentsBatchRequestDto
|
|
422
|
+
* @param {*} [options] Override http request option.
|
|
423
|
+
* @throws {RequiredError}
|
|
424
|
+
*/
|
|
425
|
+
getBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto: BidContractDocumentsBatchRequestDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BidContractDocumentsResponseDto[], any, {}>>;
|
|
426
|
+
/**
|
|
427
|
+
* V5 /entendrec 후속. scope bids:read.
|
|
428
|
+
* @summary 입찰 결과 조회
|
|
429
|
+
* @param {string} bidId
|
|
430
|
+
* @param {string} buyerId
|
|
431
|
+
* @param {*} [options] Override http request option.
|
|
432
|
+
* @throws {RequiredError}
|
|
433
|
+
*/
|
|
434
|
+
getBidResults(bidId: string, buyerId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BidResultsResponseDto, any, {}>>;
|
|
435
|
+
/**
|
|
436
|
+
* V5 entendRec(bid_puchase_no_list) 후속 — 여러 공고 결과를 1회 호출로(additive, 단건 유지). 입력 순서를 보존한다. scope bids:read.
|
|
437
|
+
* @summary 입찰결과 배치 조회
|
|
438
|
+
* @param {BidResultsBatchRequestDto} bidResultsBatchRequestDto
|
|
439
|
+
* @param {*} [options] Override http request option.
|
|
440
|
+
* @throws {RequiredError}
|
|
441
|
+
*/
|
|
442
|
+
getBidResultsBatch(bidResultsBatchRequestDto: BidResultsBatchRequestDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BidResultsResponseDto[], any, {}>>;
|
|
443
|
+
/**
|
|
444
|
+
* V5 /entendrec 정산(사업자·계좌·공급가액/부가세·응찰 품목내역) 후속. scope bids:read. 가격/신원 가시성 매트릭스와 직교한 ERP 정산 데이터 — read-only.
|
|
445
|
+
* @summary 입찰결과 정산정보 조회
|
|
446
|
+
* @param {string} bidId
|
|
447
|
+
* @param {*} [options] Override http request option.
|
|
448
|
+
* @throws {RequiredError}
|
|
449
|
+
*/
|
|
450
|
+
getBidSettlement(bidId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BidSettlementResponseDto, any, {}>>;
|
|
451
|
+
/**
|
|
452
|
+
* V5 /getGrm 후속. scope contracts:read.
|
|
453
|
+
* @summary 거래명세서 조회
|
|
454
|
+
* @param {string} bidId
|
|
455
|
+
* @param {number} paperCode
|
|
456
|
+
* @param {*} [options] Override http request option.
|
|
457
|
+
* @throws {RequiredError}
|
|
458
|
+
*/
|
|
459
|
+
getBidStatement(bidId: string, paperCode: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BidStatementResponseDto, any, {}>>;
|
|
89
460
|
/**
|
|
90
461
|
* ERP 연동 직전 회선·인증 endpoint 동작 확인용.
|
|
91
462
|
* @summary Partner API 헬스체크
|
|
@@ -93,4 +464,52 @@ export declare class PartnerV1Api extends BaseAPI {
|
|
|
93
464
|
* @throws {RequiredError}
|
|
94
465
|
*/
|
|
95
466
|
healthControllerCheck(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HealthResponseDto, any, {}>>;
|
|
467
|
+
/**
|
|
468
|
+
* 유찰 처리(V5 yoochal 패리티). 유찰사유 코드(1~8)·상세를 받아 공고를 유찰 상태로 전환. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
469
|
+
* @summary 유찰 처리
|
|
470
|
+
* @param {MarkBidFailedRequestDto} markBidFailedRequestDto
|
|
471
|
+
* @param {*} [options] Override http request option.
|
|
472
|
+
* @throws {RequiredError}
|
|
473
|
+
*/
|
|
474
|
+
markBidFailed(markBidFailedRequestDto: MarkBidFailedRequestDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BidFailedResponseDto, any, {}>>;
|
|
475
|
+
/**
|
|
476
|
+
* 낙찰 결과 등록. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
477
|
+
* @summary 낙찰 결과 전송
|
|
478
|
+
* @param {RegisterAwardRequestDto} registerAwardRequestDto
|
|
479
|
+
* @param {*} [options] Override http request option.
|
|
480
|
+
* @throws {RequiredError}
|
|
481
|
+
*/
|
|
482
|
+
registerAward(registerAwardRequestDto: RegisterAwardRequestDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AwardRegisteredResponseDto, any, {}>>;
|
|
483
|
+
/**
|
|
484
|
+
* 입찰 정보 등록. 스코프 `bids:write` + `Idempotency-Key` 헤더 필수.
|
|
485
|
+
* @summary 입찰 정보 전송(등록)
|
|
486
|
+
* @param {CreateBidRequestDto} createBidRequestDto
|
|
487
|
+
* @param {*} [options] Override http request option.
|
|
488
|
+
* @throws {RequiredError}
|
|
489
|
+
*/
|
|
490
|
+
registerBid(createBidRequestDto: CreateBidRequestDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BidCreatedResponseDto, any, {}>>;
|
|
491
|
+
/**
|
|
492
|
+
* V5 /splitInvoiceRequest 후속. scope invoices:write + Idempotency-Key.
|
|
493
|
+
* @summary 계산서 분할 발급 청구
|
|
494
|
+
* @param {RequestSplitInvoiceRequestDto} requestSplitInvoiceRequestDto
|
|
495
|
+
* @param {*} [options] Override http request option.
|
|
496
|
+
* @throws {RequiredError}
|
|
497
|
+
*/
|
|
498
|
+
requestSplitInvoice(requestSplitInvoiceRequestDto: RequestSplitInvoiceRequestDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SplitInvoiceResponseDto, any, {}>>;
|
|
499
|
+
/**
|
|
500
|
+
* 협상에의한계약(H/K) 응찰자별 기술/가격 점수 일괄 입력(V5 nego-eval 패리티). complete=true 면 평가완료 게이트까지 적용해 낙찰 진입 가능. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
501
|
+
* @summary 협상(H/K) 점수평가
|
|
502
|
+
* @param {SubmitNegotiationScoresRequestDto} submitNegotiationScoresRequestDto
|
|
503
|
+
* @param {*} [options] Override http request option.
|
|
504
|
+
* @throws {RequiredError}
|
|
505
|
+
*/
|
|
506
|
+
submitNegotiationScores(submitNegotiationScoresRequestDto: SubmitNegotiationScoresRequestDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<NegotiationScoredResponseDto, any, {}>>;
|
|
507
|
+
/**
|
|
508
|
+
* 스코프 `files:write` 필수. base64 또는 url 중 하나를 제출한다.
|
|
509
|
+
* @summary 입찰 첨부파일 업로드(base64 또는 url) → fileKey
|
|
510
|
+
* @param {UploadFileRequestDto} uploadFileRequestDto
|
|
511
|
+
* @param {*} [options] Override http request option.
|
|
512
|
+
* @throws {RequiredError}
|
|
513
|
+
*/
|
|
514
|
+
uploadFile(uploadFileRequestDto: UploadFileRequestDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FileUploadedResponseDto, any, {}>>;
|
|
96
515
|
}
|