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