@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/docs/PartnerV2Api.md
DELETED
|
@@ -1,704 +0,0 @@
|
|
|
1
|
-
# PartnerV2Api
|
|
2
|
-
|
|
3
|
-
All URIs are relative to *http://localhost*
|
|
4
|
-
|
|
5
|
-
|Method | HTTP request | Description|
|
|
6
|
-
|------------- | ------------- | -------------|
|
|
7
|
-
|[**completeAcceptance**](#completeacceptance) | **POST** /v2/bids/{bidId}/acceptance | 검수완료 전송|
|
|
8
|
-
|[**getBidContractDocuments**](#getbidcontractdocuments) | **GET** /v2/bids/{bidId}/contract-documents | 계약서류 수신 조회|
|
|
9
|
-
|[**getBidContractDocumentsBatch**](#getbidcontractdocumentsbatch) | **POST** /v2/bids/contract-documents/batch | 계약서류 수신 배치 조회|
|
|
10
|
-
|[**getBidResults**](#getbidresults) | **GET** /v2/bids/{bidId}/results | 입찰 결과 조회|
|
|
11
|
-
|[**getBidResultsBatch**](#getbidresultsbatch) | **POST** /v2/bids/results/batch | 입찰결과 배치 조회|
|
|
12
|
-
|[**getBidSettlement**](#getbidsettlement) | **GET** /v2/bids/{bidId}/settlement | 입찰결과 정산정보 조회|
|
|
13
|
-
|[**getBidStatement**](#getbidstatement) | **GET** /v2/bids/{bidId}/statement | 거래명세서 조회|
|
|
14
|
-
|[**markBidFailed**](#markbidfailed) | **POST** /v2/awards/fail | 유찰 처리|
|
|
15
|
-
|[**registerAward**](#registeraward) | **POST** /v2/awards | 낙찰 결과 전송|
|
|
16
|
-
|[**registerBid**](#registerbid) | **POST** /v2/bids | 입찰 정보 전송(등록)|
|
|
17
|
-
|[**requestSplitInvoice**](#requestsplitinvoice) | **POST** /v2/invoices/split-requests | 계산서 분할 발급 청구|
|
|
18
|
-
|[**submitNegotiationScores**](#submitnegotiationscores) | **POST** /v2/awards/nego-eval | 협상(H/K) 점수평가|
|
|
19
|
-
|[**uploadFile**](#uploadfile) | **POST** /v2/files | 입찰 첨부파일 업로드(base64 또는 url) → fileKey|
|
|
20
|
-
|
|
21
|
-
# **completeAcceptance**
|
|
22
|
-
> AcceptanceResultResponseDto completeAcceptance(completeAcceptanceRequestDto)
|
|
23
|
-
|
|
24
|
-
V5 /acceptanceCompleteSend 후속. scope contracts:write + Idempotency-Key.
|
|
25
|
-
|
|
26
|
-
### Example
|
|
27
|
-
|
|
28
|
-
```typescript
|
|
29
|
-
import {
|
|
30
|
-
PartnerV2Api,
|
|
31
|
-
Configuration,
|
|
32
|
-
CompleteAcceptanceRequestDto
|
|
33
|
-
} from '@cmarket/partner-sdk';
|
|
34
|
-
|
|
35
|
-
const configuration = new Configuration();
|
|
36
|
-
const apiInstance = new PartnerV2Api(configuration);
|
|
37
|
-
|
|
38
|
-
let bidId: string; // (default to undefined)
|
|
39
|
-
let completeAcceptanceRequestDto: CompleteAcceptanceRequestDto; //
|
|
40
|
-
|
|
41
|
-
const { status, data } = await apiInstance.completeAcceptance(
|
|
42
|
-
bidId,
|
|
43
|
-
completeAcceptanceRequestDto
|
|
44
|
-
);
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
### Parameters
|
|
48
|
-
|
|
49
|
-
|Name | Type | Description | Notes|
|
|
50
|
-
|------------- | ------------- | ------------- | -------------|
|
|
51
|
-
| **completeAcceptanceRequestDto** | **CompleteAcceptanceRequestDto**| | |
|
|
52
|
-
| **bidId** | [**string**] | | defaults to undefined|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
### Return type
|
|
56
|
-
|
|
57
|
-
**AcceptanceResultResponseDto**
|
|
58
|
-
|
|
59
|
-
### Authorization
|
|
60
|
-
|
|
61
|
-
[partner-oauth2](../README.md#partner-oauth2)
|
|
62
|
-
|
|
63
|
-
### HTTP request headers
|
|
64
|
-
|
|
65
|
-
- **Content-Type**: application/json
|
|
66
|
-
- **Accept**: application/json
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
### HTTP response details
|
|
70
|
-
| Status code | Description | Response headers |
|
|
71
|
-
|-------------|-------------|------------------|
|
|
72
|
-
|**200** | | - |
|
|
73
|
-
|
|
74
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
75
|
-
|
|
76
|
-
# **getBidContractDocuments**
|
|
77
|
-
> BidContractDocumentsResponseDto getBidContractDocuments()
|
|
78
|
-
|
|
79
|
-
V5 /contractDocumentRec 후속. scope contracts:read.
|
|
80
|
-
|
|
81
|
-
### Example
|
|
82
|
-
|
|
83
|
-
```typescript
|
|
84
|
-
import {
|
|
85
|
-
PartnerV2Api,
|
|
86
|
-
Configuration
|
|
87
|
-
} from '@cmarket/partner-sdk';
|
|
88
|
-
|
|
89
|
-
const configuration = new Configuration();
|
|
90
|
-
const apiInstance = new PartnerV2Api(configuration);
|
|
91
|
-
|
|
92
|
-
let bidId: string; // (default to undefined)
|
|
93
|
-
let buyerId: string; // (default to undefined)
|
|
94
|
-
|
|
95
|
-
const { status, data } = await apiInstance.getBidContractDocuments(
|
|
96
|
-
bidId,
|
|
97
|
-
buyerId
|
|
98
|
-
);
|
|
99
|
-
```
|
|
100
|
-
|
|
101
|
-
### Parameters
|
|
102
|
-
|
|
103
|
-
|Name | Type | Description | Notes|
|
|
104
|
-
|------------- | ------------- | ------------- | -------------|
|
|
105
|
-
| **bidId** | [**string**] | | defaults to undefined|
|
|
106
|
-
| **buyerId** | [**string**] | | defaults to undefined|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
### Return type
|
|
110
|
-
|
|
111
|
-
**BidContractDocumentsResponseDto**
|
|
112
|
-
|
|
113
|
-
### Authorization
|
|
114
|
-
|
|
115
|
-
[partner-oauth2](../README.md#partner-oauth2)
|
|
116
|
-
|
|
117
|
-
### HTTP request headers
|
|
118
|
-
|
|
119
|
-
- **Content-Type**: Not defined
|
|
120
|
-
- **Accept**: application/json
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
### HTTP response details
|
|
124
|
-
| Status code | Description | Response headers |
|
|
125
|
-
|-------------|-------------|------------------|
|
|
126
|
-
|**200** | | - |
|
|
127
|
-
|
|
128
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
129
|
-
|
|
130
|
-
# **getBidContractDocumentsBatch**
|
|
131
|
-
> Array<BidContractDocumentsResponseDto> getBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto)
|
|
132
|
-
|
|
133
|
-
V5 /contractDocumentRec(bid_puchase_no_list) 후속. 공고번호 리스트를 한 번에 조회. 단건(GET :bidId/contract-documents)은 그대로 유지. scope contracts:read.
|
|
134
|
-
|
|
135
|
-
### Example
|
|
136
|
-
|
|
137
|
-
```typescript
|
|
138
|
-
import {
|
|
139
|
-
PartnerV2Api,
|
|
140
|
-
Configuration,
|
|
141
|
-
BidContractDocumentsBatchRequestDto
|
|
142
|
-
} from '@cmarket/partner-sdk';
|
|
143
|
-
|
|
144
|
-
const configuration = new Configuration();
|
|
145
|
-
const apiInstance = new PartnerV2Api(configuration);
|
|
146
|
-
|
|
147
|
-
let bidContractDocumentsBatchRequestDto: BidContractDocumentsBatchRequestDto; //
|
|
148
|
-
|
|
149
|
-
const { status, data } = await apiInstance.getBidContractDocumentsBatch(
|
|
150
|
-
bidContractDocumentsBatchRequestDto
|
|
151
|
-
);
|
|
152
|
-
```
|
|
153
|
-
|
|
154
|
-
### Parameters
|
|
155
|
-
|
|
156
|
-
|Name | Type | Description | Notes|
|
|
157
|
-
|------------- | ------------- | ------------- | -------------|
|
|
158
|
-
| **bidContractDocumentsBatchRequestDto** | **BidContractDocumentsBatchRequestDto**| | |
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
### Return type
|
|
162
|
-
|
|
163
|
-
**Array<BidContractDocumentsResponseDto>**
|
|
164
|
-
|
|
165
|
-
### Authorization
|
|
166
|
-
|
|
167
|
-
[partner-oauth2](../README.md#partner-oauth2)
|
|
168
|
-
|
|
169
|
-
### HTTP request headers
|
|
170
|
-
|
|
171
|
-
- **Content-Type**: application/json
|
|
172
|
-
- **Accept**: application/json
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
### HTTP response details
|
|
176
|
-
| Status code | Description | Response headers |
|
|
177
|
-
|-------------|-------------|------------------|
|
|
178
|
-
|**200** | | - |
|
|
179
|
-
|
|
180
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
181
|
-
|
|
182
|
-
# **getBidResults**
|
|
183
|
-
> BidResultsResponseDto getBidResults()
|
|
184
|
-
|
|
185
|
-
V5 /entendrec 후속. scope bids:read.
|
|
186
|
-
|
|
187
|
-
### Example
|
|
188
|
-
|
|
189
|
-
```typescript
|
|
190
|
-
import {
|
|
191
|
-
PartnerV2Api,
|
|
192
|
-
Configuration
|
|
193
|
-
} from '@cmarket/partner-sdk';
|
|
194
|
-
|
|
195
|
-
const configuration = new Configuration();
|
|
196
|
-
const apiInstance = new PartnerV2Api(configuration);
|
|
197
|
-
|
|
198
|
-
let bidId: string; // (default to undefined)
|
|
199
|
-
let buyerId: string; // (default to undefined)
|
|
200
|
-
|
|
201
|
-
const { status, data } = await apiInstance.getBidResults(
|
|
202
|
-
bidId,
|
|
203
|
-
buyerId
|
|
204
|
-
);
|
|
205
|
-
```
|
|
206
|
-
|
|
207
|
-
### Parameters
|
|
208
|
-
|
|
209
|
-
|Name | Type | Description | Notes|
|
|
210
|
-
|------------- | ------------- | ------------- | -------------|
|
|
211
|
-
| **bidId** | [**string**] | | defaults to undefined|
|
|
212
|
-
| **buyerId** | [**string**] | | defaults to undefined|
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
### Return type
|
|
216
|
-
|
|
217
|
-
**BidResultsResponseDto**
|
|
218
|
-
|
|
219
|
-
### Authorization
|
|
220
|
-
|
|
221
|
-
[partner-oauth2](../README.md#partner-oauth2)
|
|
222
|
-
|
|
223
|
-
### HTTP request headers
|
|
224
|
-
|
|
225
|
-
- **Content-Type**: Not defined
|
|
226
|
-
- **Accept**: application/json
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
### HTTP response details
|
|
230
|
-
| Status code | Description | Response headers |
|
|
231
|
-
|-------------|-------------|------------------|
|
|
232
|
-
|**200** | | - |
|
|
233
|
-
|
|
234
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
235
|
-
|
|
236
|
-
# **getBidResultsBatch**
|
|
237
|
-
> Array<BidResultsResponseDto> getBidResultsBatch(bidResultsBatchRequestDto)
|
|
238
|
-
|
|
239
|
-
V5 entendRec(bid_puchase_no_list) 후속 — 여러 공고 결과를 1회 호출로(additive, 단건 유지). 입력 순서를 보존한다. scope bids:read.
|
|
240
|
-
|
|
241
|
-
### Example
|
|
242
|
-
|
|
243
|
-
```typescript
|
|
244
|
-
import {
|
|
245
|
-
PartnerV2Api,
|
|
246
|
-
Configuration,
|
|
247
|
-
BidResultsBatchRequestDto
|
|
248
|
-
} from '@cmarket/partner-sdk';
|
|
249
|
-
|
|
250
|
-
const configuration = new Configuration();
|
|
251
|
-
const apiInstance = new PartnerV2Api(configuration);
|
|
252
|
-
|
|
253
|
-
let bidResultsBatchRequestDto: BidResultsBatchRequestDto; //
|
|
254
|
-
|
|
255
|
-
const { status, data } = await apiInstance.getBidResultsBatch(
|
|
256
|
-
bidResultsBatchRequestDto
|
|
257
|
-
);
|
|
258
|
-
```
|
|
259
|
-
|
|
260
|
-
### Parameters
|
|
261
|
-
|
|
262
|
-
|Name | Type | Description | Notes|
|
|
263
|
-
|------------- | ------------- | ------------- | -------------|
|
|
264
|
-
| **bidResultsBatchRequestDto** | **BidResultsBatchRequestDto**| | |
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
### Return type
|
|
268
|
-
|
|
269
|
-
**Array<BidResultsResponseDto>**
|
|
270
|
-
|
|
271
|
-
### Authorization
|
|
272
|
-
|
|
273
|
-
[partner-oauth2](../README.md#partner-oauth2)
|
|
274
|
-
|
|
275
|
-
### HTTP request headers
|
|
276
|
-
|
|
277
|
-
- **Content-Type**: application/json
|
|
278
|
-
- **Accept**: application/json
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
### HTTP response details
|
|
282
|
-
| Status code | Description | Response headers |
|
|
283
|
-
|-------------|-------------|------------------|
|
|
284
|
-
|**200** | | - |
|
|
285
|
-
|
|
286
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
287
|
-
|
|
288
|
-
# **getBidSettlement**
|
|
289
|
-
> BidSettlementResponseDto getBidSettlement()
|
|
290
|
-
|
|
291
|
-
V5 /entendrec 정산(사업자·계좌·공급가액/부가세·응찰 품목내역) 후속. scope bids:read. 가격/신원 가시성 매트릭스와 직교한 ERP 정산 데이터 — read-only.
|
|
292
|
-
|
|
293
|
-
### Example
|
|
294
|
-
|
|
295
|
-
```typescript
|
|
296
|
-
import {
|
|
297
|
-
PartnerV2Api,
|
|
298
|
-
Configuration
|
|
299
|
-
} from '@cmarket/partner-sdk';
|
|
300
|
-
|
|
301
|
-
const configuration = new Configuration();
|
|
302
|
-
const apiInstance = new PartnerV2Api(configuration);
|
|
303
|
-
|
|
304
|
-
let bidId: string; // (default to undefined)
|
|
305
|
-
|
|
306
|
-
const { status, data } = await apiInstance.getBidSettlement(
|
|
307
|
-
bidId
|
|
308
|
-
);
|
|
309
|
-
```
|
|
310
|
-
|
|
311
|
-
### Parameters
|
|
312
|
-
|
|
313
|
-
|Name | Type | Description | Notes|
|
|
314
|
-
|------------- | ------------- | ------------- | -------------|
|
|
315
|
-
| **bidId** | [**string**] | | defaults to undefined|
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
### Return type
|
|
319
|
-
|
|
320
|
-
**BidSettlementResponseDto**
|
|
321
|
-
|
|
322
|
-
### Authorization
|
|
323
|
-
|
|
324
|
-
[partner-oauth2](../README.md#partner-oauth2)
|
|
325
|
-
|
|
326
|
-
### HTTP request headers
|
|
327
|
-
|
|
328
|
-
- **Content-Type**: Not defined
|
|
329
|
-
- **Accept**: application/json
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
### HTTP response details
|
|
333
|
-
| Status code | Description | Response headers |
|
|
334
|
-
|-------------|-------------|------------------|
|
|
335
|
-
|**200** | | - |
|
|
336
|
-
|
|
337
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
338
|
-
|
|
339
|
-
# **getBidStatement**
|
|
340
|
-
> BidStatementResponseDto getBidStatement()
|
|
341
|
-
|
|
342
|
-
V5 /getGrm 후속. scope contracts:read.
|
|
343
|
-
|
|
344
|
-
### Example
|
|
345
|
-
|
|
346
|
-
```typescript
|
|
347
|
-
import {
|
|
348
|
-
PartnerV2Api,
|
|
349
|
-
Configuration
|
|
350
|
-
} from '@cmarket/partner-sdk';
|
|
351
|
-
|
|
352
|
-
const configuration = new Configuration();
|
|
353
|
-
const apiInstance = new PartnerV2Api(configuration);
|
|
354
|
-
|
|
355
|
-
let bidId: string; // (default to undefined)
|
|
356
|
-
let paperCode: number; // (default to undefined)
|
|
357
|
-
|
|
358
|
-
const { status, data } = await apiInstance.getBidStatement(
|
|
359
|
-
bidId,
|
|
360
|
-
paperCode
|
|
361
|
-
);
|
|
362
|
-
```
|
|
363
|
-
|
|
364
|
-
### Parameters
|
|
365
|
-
|
|
366
|
-
|Name | Type | Description | Notes|
|
|
367
|
-
|------------- | ------------- | ------------- | -------------|
|
|
368
|
-
| **bidId** | [**string**] | | defaults to undefined|
|
|
369
|
-
| **paperCode** | [**number**] | | defaults to undefined|
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
### Return type
|
|
373
|
-
|
|
374
|
-
**BidStatementResponseDto**
|
|
375
|
-
|
|
376
|
-
### Authorization
|
|
377
|
-
|
|
378
|
-
[partner-oauth2](../README.md#partner-oauth2)
|
|
379
|
-
|
|
380
|
-
### HTTP request headers
|
|
381
|
-
|
|
382
|
-
- **Content-Type**: Not defined
|
|
383
|
-
- **Accept**: application/json
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
### HTTP response details
|
|
387
|
-
| Status code | Description | Response headers |
|
|
388
|
-
|-------------|-------------|------------------|
|
|
389
|
-
|**200** | | - |
|
|
390
|
-
|
|
391
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
392
|
-
|
|
393
|
-
# **markBidFailed**
|
|
394
|
-
> BidFailedResponseDto markBidFailed(markBidFailedRequestDto)
|
|
395
|
-
|
|
396
|
-
유찰 처리(V5 yoochal 패리티). 유찰사유 코드(1~8)·상세를 받아 공고를 유찰 상태로 전환. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
397
|
-
|
|
398
|
-
### Example
|
|
399
|
-
|
|
400
|
-
```typescript
|
|
401
|
-
import {
|
|
402
|
-
PartnerV2Api,
|
|
403
|
-
Configuration,
|
|
404
|
-
MarkBidFailedRequestDto
|
|
405
|
-
} from '@cmarket/partner-sdk';
|
|
406
|
-
|
|
407
|
-
const configuration = new Configuration();
|
|
408
|
-
const apiInstance = new PartnerV2Api(configuration);
|
|
409
|
-
|
|
410
|
-
let markBidFailedRequestDto: MarkBidFailedRequestDto; //
|
|
411
|
-
|
|
412
|
-
const { status, data } = await apiInstance.markBidFailed(
|
|
413
|
-
markBidFailedRequestDto
|
|
414
|
-
);
|
|
415
|
-
```
|
|
416
|
-
|
|
417
|
-
### Parameters
|
|
418
|
-
|
|
419
|
-
|Name | Type | Description | Notes|
|
|
420
|
-
|------------- | ------------- | ------------- | -------------|
|
|
421
|
-
| **markBidFailedRequestDto** | **MarkBidFailedRequestDto**| | |
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
### Return type
|
|
425
|
-
|
|
426
|
-
**BidFailedResponseDto**
|
|
427
|
-
|
|
428
|
-
### Authorization
|
|
429
|
-
|
|
430
|
-
[partner-oauth2](../README.md#partner-oauth2)
|
|
431
|
-
|
|
432
|
-
### HTTP request headers
|
|
433
|
-
|
|
434
|
-
- **Content-Type**: application/json
|
|
435
|
-
- **Accept**: application/json
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
### HTTP response details
|
|
439
|
-
| Status code | Description | Response headers |
|
|
440
|
-
|-------------|-------------|------------------|
|
|
441
|
-
|**201** | | - |
|
|
442
|
-
|
|
443
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
444
|
-
|
|
445
|
-
# **registerAward**
|
|
446
|
-
> AwardRegisteredResponseDto registerAward(registerAwardRequestDto)
|
|
447
|
-
|
|
448
|
-
낙찰 결과 등록. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
449
|
-
|
|
450
|
-
### Example
|
|
451
|
-
|
|
452
|
-
```typescript
|
|
453
|
-
import {
|
|
454
|
-
PartnerV2Api,
|
|
455
|
-
Configuration,
|
|
456
|
-
RegisterAwardRequestDto
|
|
457
|
-
} from '@cmarket/partner-sdk';
|
|
458
|
-
|
|
459
|
-
const configuration = new Configuration();
|
|
460
|
-
const apiInstance = new PartnerV2Api(configuration);
|
|
461
|
-
|
|
462
|
-
let registerAwardRequestDto: RegisterAwardRequestDto; //
|
|
463
|
-
|
|
464
|
-
const { status, data } = await apiInstance.registerAward(
|
|
465
|
-
registerAwardRequestDto
|
|
466
|
-
);
|
|
467
|
-
```
|
|
468
|
-
|
|
469
|
-
### Parameters
|
|
470
|
-
|
|
471
|
-
|Name | Type | Description | Notes|
|
|
472
|
-
|------------- | ------------- | ------------- | -------------|
|
|
473
|
-
| **registerAwardRequestDto** | **RegisterAwardRequestDto**| | |
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
### Return type
|
|
477
|
-
|
|
478
|
-
**AwardRegisteredResponseDto**
|
|
479
|
-
|
|
480
|
-
### Authorization
|
|
481
|
-
|
|
482
|
-
[partner-oauth2](../README.md#partner-oauth2)
|
|
483
|
-
|
|
484
|
-
### HTTP request headers
|
|
485
|
-
|
|
486
|
-
- **Content-Type**: application/json
|
|
487
|
-
- **Accept**: application/json
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
### HTTP response details
|
|
491
|
-
| Status code | Description | Response headers |
|
|
492
|
-
|-------------|-------------|------------------|
|
|
493
|
-
|**201** | | - |
|
|
494
|
-
|
|
495
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
496
|
-
|
|
497
|
-
# **registerBid**
|
|
498
|
-
> BidCreatedResponseDto registerBid(createBidRequestDto)
|
|
499
|
-
|
|
500
|
-
입찰 정보 등록. 스코프 `bids:write` + `Idempotency-Key` 헤더 필수.
|
|
501
|
-
|
|
502
|
-
### Example
|
|
503
|
-
|
|
504
|
-
```typescript
|
|
505
|
-
import {
|
|
506
|
-
PartnerV2Api,
|
|
507
|
-
Configuration,
|
|
508
|
-
CreateBidRequestDto
|
|
509
|
-
} from '@cmarket/partner-sdk';
|
|
510
|
-
|
|
511
|
-
const configuration = new Configuration();
|
|
512
|
-
const apiInstance = new PartnerV2Api(configuration);
|
|
513
|
-
|
|
514
|
-
let createBidRequestDto: CreateBidRequestDto; //
|
|
515
|
-
|
|
516
|
-
const { status, data } = await apiInstance.registerBid(
|
|
517
|
-
createBidRequestDto
|
|
518
|
-
);
|
|
519
|
-
```
|
|
520
|
-
|
|
521
|
-
### Parameters
|
|
522
|
-
|
|
523
|
-
|Name | Type | Description | Notes|
|
|
524
|
-
|------------- | ------------- | ------------- | -------------|
|
|
525
|
-
| **createBidRequestDto** | **CreateBidRequestDto**| | |
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
### Return type
|
|
529
|
-
|
|
530
|
-
**BidCreatedResponseDto**
|
|
531
|
-
|
|
532
|
-
### Authorization
|
|
533
|
-
|
|
534
|
-
[partner-oauth2](../README.md#partner-oauth2)
|
|
535
|
-
|
|
536
|
-
### HTTP request headers
|
|
537
|
-
|
|
538
|
-
- **Content-Type**: application/json
|
|
539
|
-
- **Accept**: application/json
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
### HTTP response details
|
|
543
|
-
| Status code | Description | Response headers |
|
|
544
|
-
|-------------|-------------|------------------|
|
|
545
|
-
|**201** | | - |
|
|
546
|
-
|
|
547
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
548
|
-
|
|
549
|
-
# **requestSplitInvoice**
|
|
550
|
-
> SplitInvoiceResponseDto requestSplitInvoice(requestSplitInvoiceRequestDto)
|
|
551
|
-
|
|
552
|
-
V5 /splitInvoiceRequest 후속. scope invoices:write + Idempotency-Key.
|
|
553
|
-
|
|
554
|
-
### Example
|
|
555
|
-
|
|
556
|
-
```typescript
|
|
557
|
-
import {
|
|
558
|
-
PartnerV2Api,
|
|
559
|
-
Configuration,
|
|
560
|
-
RequestSplitInvoiceRequestDto
|
|
561
|
-
} from '@cmarket/partner-sdk';
|
|
562
|
-
|
|
563
|
-
const configuration = new Configuration();
|
|
564
|
-
const apiInstance = new PartnerV2Api(configuration);
|
|
565
|
-
|
|
566
|
-
let requestSplitInvoiceRequestDto: RequestSplitInvoiceRequestDto; //
|
|
567
|
-
|
|
568
|
-
const { status, data } = await apiInstance.requestSplitInvoice(
|
|
569
|
-
requestSplitInvoiceRequestDto
|
|
570
|
-
);
|
|
571
|
-
```
|
|
572
|
-
|
|
573
|
-
### Parameters
|
|
574
|
-
|
|
575
|
-
|Name | Type | Description | Notes|
|
|
576
|
-
|------------- | ------------- | ------------- | -------------|
|
|
577
|
-
| **requestSplitInvoiceRequestDto** | **RequestSplitInvoiceRequestDto**| | |
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
### Return type
|
|
581
|
-
|
|
582
|
-
**SplitInvoiceResponseDto**
|
|
583
|
-
|
|
584
|
-
### Authorization
|
|
585
|
-
|
|
586
|
-
[partner-oauth2](../README.md#partner-oauth2)
|
|
587
|
-
|
|
588
|
-
### HTTP request headers
|
|
589
|
-
|
|
590
|
-
- **Content-Type**: application/json
|
|
591
|
-
- **Accept**: application/json
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
### HTTP response details
|
|
595
|
-
| Status code | Description | Response headers |
|
|
596
|
-
|-------------|-------------|------------------|
|
|
597
|
-
|**200** | | - |
|
|
598
|
-
|
|
599
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
600
|
-
|
|
601
|
-
# **submitNegotiationScores**
|
|
602
|
-
> NegotiationScoredResponseDto submitNegotiationScores(submitNegotiationScoresRequestDto)
|
|
603
|
-
|
|
604
|
-
협상에의한계약(H/K) 응찰자별 기술/가격 점수 일괄 입력(V5 nego-eval 패리티). complete=true 면 평가완료 게이트까지 적용해 낙찰 진입 가능. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
605
|
-
|
|
606
|
-
### Example
|
|
607
|
-
|
|
608
|
-
```typescript
|
|
609
|
-
import {
|
|
610
|
-
PartnerV2Api,
|
|
611
|
-
Configuration,
|
|
612
|
-
SubmitNegotiationScoresRequestDto
|
|
613
|
-
} from '@cmarket/partner-sdk';
|
|
614
|
-
|
|
615
|
-
const configuration = new Configuration();
|
|
616
|
-
const apiInstance = new PartnerV2Api(configuration);
|
|
617
|
-
|
|
618
|
-
let submitNegotiationScoresRequestDto: SubmitNegotiationScoresRequestDto; //
|
|
619
|
-
|
|
620
|
-
const { status, data } = await apiInstance.submitNegotiationScores(
|
|
621
|
-
submitNegotiationScoresRequestDto
|
|
622
|
-
);
|
|
623
|
-
```
|
|
624
|
-
|
|
625
|
-
### Parameters
|
|
626
|
-
|
|
627
|
-
|Name | Type | Description | Notes|
|
|
628
|
-
|------------- | ------------- | ------------- | -------------|
|
|
629
|
-
| **submitNegotiationScoresRequestDto** | **SubmitNegotiationScoresRequestDto**| | |
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
### Return type
|
|
633
|
-
|
|
634
|
-
**NegotiationScoredResponseDto**
|
|
635
|
-
|
|
636
|
-
### Authorization
|
|
637
|
-
|
|
638
|
-
[partner-oauth2](../README.md#partner-oauth2)
|
|
639
|
-
|
|
640
|
-
### HTTP request headers
|
|
641
|
-
|
|
642
|
-
- **Content-Type**: application/json
|
|
643
|
-
- **Accept**: application/json
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
### HTTP response details
|
|
647
|
-
| Status code | Description | Response headers |
|
|
648
|
-
|-------------|-------------|------------------|
|
|
649
|
-
|**201** | | - |
|
|
650
|
-
|
|
651
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
652
|
-
|
|
653
|
-
# **uploadFile**
|
|
654
|
-
> FileUploadedResponseDto uploadFile(uploadFileRequestDto)
|
|
655
|
-
|
|
656
|
-
스코프 `files:write` 필수. base64 또는 url 중 하나를 제출한다.
|
|
657
|
-
|
|
658
|
-
### Example
|
|
659
|
-
|
|
660
|
-
```typescript
|
|
661
|
-
import {
|
|
662
|
-
PartnerV2Api,
|
|
663
|
-
Configuration,
|
|
664
|
-
UploadFileRequestDto
|
|
665
|
-
} from '@cmarket/partner-sdk';
|
|
666
|
-
|
|
667
|
-
const configuration = new Configuration();
|
|
668
|
-
const apiInstance = new PartnerV2Api(configuration);
|
|
669
|
-
|
|
670
|
-
let uploadFileRequestDto: UploadFileRequestDto; //
|
|
671
|
-
|
|
672
|
-
const { status, data } = await apiInstance.uploadFile(
|
|
673
|
-
uploadFileRequestDto
|
|
674
|
-
);
|
|
675
|
-
```
|
|
676
|
-
|
|
677
|
-
### Parameters
|
|
678
|
-
|
|
679
|
-
|Name | Type | Description | Notes|
|
|
680
|
-
|------------- | ------------- | ------------- | -------------|
|
|
681
|
-
| **uploadFileRequestDto** | **UploadFileRequestDto**| | |
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
### Return type
|
|
685
|
-
|
|
686
|
-
**FileUploadedResponseDto**
|
|
687
|
-
|
|
688
|
-
### Authorization
|
|
689
|
-
|
|
690
|
-
[partner-oauth2](../README.md#partner-oauth2)
|
|
691
|
-
|
|
692
|
-
### HTTP request headers
|
|
693
|
-
|
|
694
|
-
- **Content-Type**: application/json
|
|
695
|
-
- **Accept**: application/json
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
### HTTP response details
|
|
699
|
-
| Status code | Description | Response headers |
|
|
700
|
-
|-------------|-------------|------------------|
|
|
701
|
-
|**201** | | - |
|
|
702
|
-
|
|
703
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
704
|
-
|