@cmarket/partner-sdk 0.2.1 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,7 +5,20 @@ All URIs are relative to *http://localhost*
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
7
  |[**bidsControllerFindOne**](#bidscontrollerfindone) | **GET** /v1/bids/{bidId} | 공고 단건 조회|
8
+ |[**completeAcceptance**](#completeacceptance) | **POST** /v1/bids/{bidId}/acceptance | 검수완료 전송|
9
+ |[**getBidContractDocuments**](#getbidcontractdocuments) | **GET** /v1/bids/{bidId}/contract-documents | 계약서류 수신 조회|
10
+ |[**getBidContractDocumentsBatch**](#getbidcontractdocumentsbatch) | **POST** /v1/bids/contract-documents/batch | 계약서류 수신 배치 조회|
11
+ |[**getBidResults**](#getbidresults) | **GET** /v1/bids/{bidId}/results | 입찰 결과 조회|
12
+ |[**getBidResultsBatch**](#getbidresultsbatch) | **POST** /v1/bids/results/batch | 입찰결과 배치 조회|
13
+ |[**getBidSettlement**](#getbidsettlement) | **GET** /v1/bids/{bidId}/settlement | 입찰결과 정산정보 조회|
14
+ |[**getBidStatement**](#getbidstatement) | **GET** /v1/bids/{bidId}/statement | 거래명세서 조회|
8
15
  |[**healthControllerCheck**](#healthcontrollercheck) | **GET** /v1/health | Partner API 헬스체크|
16
+ |[**markBidFailed**](#markbidfailed) | **POST** /v1/awards/fail | 유찰 처리|
17
+ |[**registerAward**](#registeraward) | **POST** /v1/awards | 낙찰 결과 전송|
18
+ |[**registerBid**](#registerbid) | **POST** /v1/bids | 입찰 정보 전송(등록)|
19
+ |[**requestSplitInvoice**](#requestsplitinvoice) | **POST** /v1/invoices/split-requests | 계산서 분할 발급 청구|
20
+ |[**submitNegotiationScores**](#submitnegotiationscores) | **POST** /v1/awards/nego-eval | 협상(H/K) 점수평가|
21
+ |[**uploadFile**](#uploadfile) | **POST** /v1/files | 입찰 첨부파일 업로드(base64 또는 url) → fileKey|
9
22
 
10
23
  # **bidsControllerFindOne**
11
24
  > BidSummaryResponseDto bidsControllerFindOne()
@@ -59,6 +72,378 @@ const { status, data } = await apiInstance.bidsControllerFindOne(
59
72
 
60
73
  [[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
74
 
75
+ # **completeAcceptance**
76
+ > AcceptanceResultResponseDto completeAcceptance(completeAcceptanceRequestDto)
77
+
78
+ V5 /acceptanceCompleteSend 후속. scope contracts:write + Idempotency-Key.
79
+
80
+ ### Example
81
+
82
+ ```typescript
83
+ import {
84
+ PartnerV1Api,
85
+ Configuration,
86
+ CompleteAcceptanceRequestDto
87
+ } from '@cmarket/partner-sdk';
88
+
89
+ const configuration = new Configuration();
90
+ const apiInstance = new PartnerV1Api(configuration);
91
+
92
+ let bidId: string; // (default to undefined)
93
+ let completeAcceptanceRequestDto: CompleteAcceptanceRequestDto; //
94
+
95
+ const { status, data } = await apiInstance.completeAcceptance(
96
+ bidId,
97
+ completeAcceptanceRequestDto
98
+ );
99
+ ```
100
+
101
+ ### Parameters
102
+
103
+ |Name | Type | Description | Notes|
104
+ |------------- | ------------- | ------------- | -------------|
105
+ | **completeAcceptanceRequestDto** | **CompleteAcceptanceRequestDto**| | |
106
+ | **bidId** | [**string**] | | defaults to undefined|
107
+
108
+
109
+ ### Return type
110
+
111
+ **AcceptanceResultResponseDto**
112
+
113
+ ### Authorization
114
+
115
+ [partner-oauth2](../README.md#partner-oauth2)
116
+
117
+ ### HTTP request headers
118
+
119
+ - **Content-Type**: application/json
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
+ # **getBidContractDocuments**
131
+ > BidContractDocumentsResponseDto getBidContractDocuments()
132
+
133
+ V5 /contractDocumentRec 후속. scope contracts:read.
134
+
135
+ ### Example
136
+
137
+ ```typescript
138
+ import {
139
+ PartnerV1Api,
140
+ Configuration
141
+ } from '@cmarket/partner-sdk';
142
+
143
+ const configuration = new Configuration();
144
+ const apiInstance = new PartnerV1Api(configuration);
145
+
146
+ let bidId: string; // (default to undefined)
147
+ let buyerId: string; // (default to undefined)
148
+
149
+ const { status, data } = await apiInstance.getBidContractDocuments(
150
+ bidId,
151
+ buyerId
152
+ );
153
+ ```
154
+
155
+ ### Parameters
156
+
157
+ |Name | Type | Description | Notes|
158
+ |------------- | ------------- | ------------- | -------------|
159
+ | **bidId** | [**string**] | | defaults to undefined|
160
+ | **buyerId** | [**string**] | | defaults to undefined|
161
+
162
+
163
+ ### Return type
164
+
165
+ **BidContractDocumentsResponseDto**
166
+
167
+ ### Authorization
168
+
169
+ [partner-oauth2](../README.md#partner-oauth2)
170
+
171
+ ### HTTP request headers
172
+
173
+ - **Content-Type**: Not defined
174
+ - **Accept**: application/json
175
+
176
+
177
+ ### HTTP response details
178
+ | Status code | Description | Response headers |
179
+ |-------------|-------------|------------------|
180
+ |**200** | | - |
181
+
182
+ [[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)
183
+
184
+ # **getBidContractDocumentsBatch**
185
+ > Array<BidContractDocumentsResponseDto> getBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto)
186
+
187
+ V5 /contractDocumentRec(bid_puchase_no_list) 후속. 공고번호 리스트를 한 번에 조회. 단건(GET :bidId/contract-documents)은 그대로 유지. scope contracts:read.
188
+
189
+ ### Example
190
+
191
+ ```typescript
192
+ import {
193
+ PartnerV1Api,
194
+ Configuration,
195
+ BidContractDocumentsBatchRequestDto
196
+ } from '@cmarket/partner-sdk';
197
+
198
+ const configuration = new Configuration();
199
+ const apiInstance = new PartnerV1Api(configuration);
200
+
201
+ let bidContractDocumentsBatchRequestDto: BidContractDocumentsBatchRequestDto; //
202
+
203
+ const { status, data } = await apiInstance.getBidContractDocumentsBatch(
204
+ bidContractDocumentsBatchRequestDto
205
+ );
206
+ ```
207
+
208
+ ### Parameters
209
+
210
+ |Name | Type | Description | Notes|
211
+ |------------- | ------------- | ------------- | -------------|
212
+ | **bidContractDocumentsBatchRequestDto** | **BidContractDocumentsBatchRequestDto**| | |
213
+
214
+
215
+ ### Return type
216
+
217
+ **Array<BidContractDocumentsResponseDto>**
218
+
219
+ ### Authorization
220
+
221
+ [partner-oauth2](../README.md#partner-oauth2)
222
+
223
+ ### HTTP request headers
224
+
225
+ - **Content-Type**: application/json
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
+ # **getBidResults**
237
+ > BidResultsResponseDto getBidResults()
238
+
239
+ V5 /entendrec 후속. scope bids:read.
240
+
241
+ ### Example
242
+
243
+ ```typescript
244
+ import {
245
+ PartnerV1Api,
246
+ Configuration
247
+ } from '@cmarket/partner-sdk';
248
+
249
+ const configuration = new Configuration();
250
+ const apiInstance = new PartnerV1Api(configuration);
251
+
252
+ let bidId: string; // (default to undefined)
253
+ let buyerId: string; // (default to undefined)
254
+
255
+ const { status, data } = await apiInstance.getBidResults(
256
+ bidId,
257
+ buyerId
258
+ );
259
+ ```
260
+
261
+ ### Parameters
262
+
263
+ |Name | Type | Description | Notes|
264
+ |------------- | ------------- | ------------- | -------------|
265
+ | **bidId** | [**string**] | | defaults to undefined|
266
+ | **buyerId** | [**string**] | | defaults to undefined|
267
+
268
+
269
+ ### Return type
270
+
271
+ **BidResultsResponseDto**
272
+
273
+ ### Authorization
274
+
275
+ [partner-oauth2](../README.md#partner-oauth2)
276
+
277
+ ### HTTP request headers
278
+
279
+ - **Content-Type**: Not defined
280
+ - **Accept**: application/json
281
+
282
+
283
+ ### HTTP response details
284
+ | Status code | Description | Response headers |
285
+ |-------------|-------------|------------------|
286
+ |**200** | | - |
287
+
288
+ [[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)
289
+
290
+ # **getBidResultsBatch**
291
+ > Array<BidResultsResponseDto> getBidResultsBatch(bidResultsBatchRequestDto)
292
+
293
+ V5 entendRec(bid_puchase_no_list) 후속 — 여러 공고 결과를 1회 호출로(additive, 단건 유지). 입력 순서를 보존한다. scope bids:read.
294
+
295
+ ### Example
296
+
297
+ ```typescript
298
+ import {
299
+ PartnerV1Api,
300
+ Configuration,
301
+ BidResultsBatchRequestDto
302
+ } from '@cmarket/partner-sdk';
303
+
304
+ const configuration = new Configuration();
305
+ const apiInstance = new PartnerV1Api(configuration);
306
+
307
+ let bidResultsBatchRequestDto: BidResultsBatchRequestDto; //
308
+
309
+ const { status, data } = await apiInstance.getBidResultsBatch(
310
+ bidResultsBatchRequestDto
311
+ );
312
+ ```
313
+
314
+ ### Parameters
315
+
316
+ |Name | Type | Description | Notes|
317
+ |------------- | ------------- | ------------- | -------------|
318
+ | **bidResultsBatchRequestDto** | **BidResultsBatchRequestDto**| | |
319
+
320
+
321
+ ### Return type
322
+
323
+ **Array<BidResultsResponseDto>**
324
+
325
+ ### Authorization
326
+
327
+ [partner-oauth2](../README.md#partner-oauth2)
328
+
329
+ ### HTTP request headers
330
+
331
+ - **Content-Type**: application/json
332
+ - **Accept**: application/json
333
+
334
+
335
+ ### HTTP response details
336
+ | Status code | Description | Response headers |
337
+ |-------------|-------------|------------------|
338
+ |**200** | | - |
339
+
340
+ [[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)
341
+
342
+ # **getBidSettlement**
343
+ > BidSettlementResponseDto getBidSettlement()
344
+
345
+ V5 /entendrec 정산(사업자·계좌·공급가액/부가세·응찰 품목내역) 후속. scope bids:read. 가격/신원 가시성 매트릭스와 직교한 ERP 정산 데이터 — read-only.
346
+
347
+ ### Example
348
+
349
+ ```typescript
350
+ import {
351
+ PartnerV1Api,
352
+ Configuration
353
+ } from '@cmarket/partner-sdk';
354
+
355
+ const configuration = new Configuration();
356
+ const apiInstance = new PartnerV1Api(configuration);
357
+
358
+ let bidId: string; // (default to undefined)
359
+
360
+ const { status, data } = await apiInstance.getBidSettlement(
361
+ bidId
362
+ );
363
+ ```
364
+
365
+ ### Parameters
366
+
367
+ |Name | Type | Description | Notes|
368
+ |------------- | ------------- | ------------- | -------------|
369
+ | **bidId** | [**string**] | | defaults to undefined|
370
+
371
+
372
+ ### Return type
373
+
374
+ **BidSettlementResponseDto**
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
+ # **getBidStatement**
394
+ > BidStatementResponseDto getBidStatement()
395
+
396
+ V5 /getGrm 후속. scope contracts:read.
397
+
398
+ ### Example
399
+
400
+ ```typescript
401
+ import {
402
+ PartnerV1Api,
403
+ Configuration
404
+ } from '@cmarket/partner-sdk';
405
+
406
+ const configuration = new Configuration();
407
+ const apiInstance = new PartnerV1Api(configuration);
408
+
409
+ let bidId: string; // (default to undefined)
410
+ let paperCode: number; // (default to undefined)
411
+
412
+ const { status, data } = await apiInstance.getBidStatement(
413
+ bidId,
414
+ paperCode
415
+ );
416
+ ```
417
+
418
+ ### Parameters
419
+
420
+ |Name | Type | Description | Notes|
421
+ |------------- | ------------- | ------------- | -------------|
422
+ | **bidId** | [**string**] | | defaults to undefined|
423
+ | **paperCode** | [**number**] | | defaults to undefined|
424
+
425
+
426
+ ### Return type
427
+
428
+ **BidStatementResponseDto**
429
+
430
+ ### Authorization
431
+
432
+ [partner-oauth2](../README.md#partner-oauth2)
433
+
434
+ ### HTTP request headers
435
+
436
+ - **Content-Type**: Not defined
437
+ - **Accept**: application/json
438
+
439
+
440
+ ### HTTP response details
441
+ | Status code | Description | Response headers |
442
+ |-------------|-------------|------------------|
443
+ |**200** | | - |
444
+
445
+ [[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)
446
+
62
447
  # **healthControllerCheck**
63
448
  > HealthResponseDto healthControllerCheck()
64
449
 
@@ -103,3 +488,315 @@ No authorization required
103
488
 
104
489
  [[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
490
 
491
+ # **markBidFailed**
492
+ > BidFailedResponseDto markBidFailed(markBidFailedRequestDto)
493
+
494
+ 유찰 처리(V5 yoochal 패리티). 유찰사유 코드(1~8)·상세를 받아 공고를 유찰 상태로 전환. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
495
+
496
+ ### Example
497
+
498
+ ```typescript
499
+ import {
500
+ PartnerV1Api,
501
+ Configuration,
502
+ MarkBidFailedRequestDto
503
+ } from '@cmarket/partner-sdk';
504
+
505
+ const configuration = new Configuration();
506
+ const apiInstance = new PartnerV1Api(configuration);
507
+
508
+ let markBidFailedRequestDto: MarkBidFailedRequestDto; //
509
+
510
+ const { status, data } = await apiInstance.markBidFailed(
511
+ markBidFailedRequestDto
512
+ );
513
+ ```
514
+
515
+ ### Parameters
516
+
517
+ |Name | Type | Description | Notes|
518
+ |------------- | ------------- | ------------- | -------------|
519
+ | **markBidFailedRequestDto** | **MarkBidFailedRequestDto**| | |
520
+
521
+
522
+ ### Return type
523
+
524
+ **BidFailedResponseDto**
525
+
526
+ ### Authorization
527
+
528
+ [partner-oauth2](../README.md#partner-oauth2)
529
+
530
+ ### HTTP request headers
531
+
532
+ - **Content-Type**: application/json
533
+ - **Accept**: application/json
534
+
535
+
536
+ ### HTTP response details
537
+ | Status code | Description | Response headers |
538
+ |-------------|-------------|------------------|
539
+ |**201** | | - |
540
+
541
+ [[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)
542
+
543
+ # **registerAward**
544
+ > AwardRegisteredResponseDto registerAward(registerAwardRequestDto)
545
+
546
+ 낙찰 결과 등록. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
547
+
548
+ ### Example
549
+
550
+ ```typescript
551
+ import {
552
+ PartnerV1Api,
553
+ Configuration,
554
+ RegisterAwardRequestDto
555
+ } from '@cmarket/partner-sdk';
556
+
557
+ const configuration = new Configuration();
558
+ const apiInstance = new PartnerV1Api(configuration);
559
+
560
+ let registerAwardRequestDto: RegisterAwardRequestDto; //
561
+
562
+ const { status, data } = await apiInstance.registerAward(
563
+ registerAwardRequestDto
564
+ );
565
+ ```
566
+
567
+ ### Parameters
568
+
569
+ |Name | Type | Description | Notes|
570
+ |------------- | ------------- | ------------- | -------------|
571
+ | **registerAwardRequestDto** | **RegisterAwardRequestDto**| | |
572
+
573
+
574
+ ### Return type
575
+
576
+ **AwardRegisteredResponseDto**
577
+
578
+ ### Authorization
579
+
580
+ [partner-oauth2](../README.md#partner-oauth2)
581
+
582
+ ### HTTP request headers
583
+
584
+ - **Content-Type**: application/json
585
+ - **Accept**: application/json
586
+
587
+
588
+ ### HTTP response details
589
+ | Status code | Description | Response headers |
590
+ |-------------|-------------|------------------|
591
+ |**201** | | - |
592
+
593
+ [[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)
594
+
595
+ # **registerBid**
596
+ > BidCreatedResponseDto registerBid(createBidRequestDto)
597
+
598
+ 입찰 정보 등록. 스코프 `bids:write` + `Idempotency-Key` 헤더 필수.
599
+
600
+ ### Example
601
+
602
+ ```typescript
603
+ import {
604
+ PartnerV1Api,
605
+ Configuration,
606
+ CreateBidRequestDto
607
+ } from '@cmarket/partner-sdk';
608
+
609
+ const configuration = new Configuration();
610
+ const apiInstance = new PartnerV1Api(configuration);
611
+
612
+ let createBidRequestDto: CreateBidRequestDto; //
613
+
614
+ const { status, data } = await apiInstance.registerBid(
615
+ createBidRequestDto
616
+ );
617
+ ```
618
+
619
+ ### Parameters
620
+
621
+ |Name | Type | Description | Notes|
622
+ |------------- | ------------- | ------------- | -------------|
623
+ | **createBidRequestDto** | **CreateBidRequestDto**| | |
624
+
625
+
626
+ ### Return type
627
+
628
+ **BidCreatedResponseDto**
629
+
630
+ ### Authorization
631
+
632
+ [partner-oauth2](../README.md#partner-oauth2)
633
+
634
+ ### HTTP request headers
635
+
636
+ - **Content-Type**: application/json
637
+ - **Accept**: application/json
638
+
639
+
640
+ ### HTTP response details
641
+ | Status code | Description | Response headers |
642
+ |-------------|-------------|------------------|
643
+ |**201** | | - |
644
+
645
+ [[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)
646
+
647
+ # **requestSplitInvoice**
648
+ > SplitInvoiceResponseDto requestSplitInvoice(requestSplitInvoiceRequestDto)
649
+
650
+ V5 /splitInvoiceRequest 후속. scope invoices:write + Idempotency-Key.
651
+
652
+ ### Example
653
+
654
+ ```typescript
655
+ import {
656
+ PartnerV1Api,
657
+ Configuration,
658
+ RequestSplitInvoiceRequestDto
659
+ } from '@cmarket/partner-sdk';
660
+
661
+ const configuration = new Configuration();
662
+ const apiInstance = new PartnerV1Api(configuration);
663
+
664
+ let requestSplitInvoiceRequestDto: RequestSplitInvoiceRequestDto; //
665
+
666
+ const { status, data } = await apiInstance.requestSplitInvoice(
667
+ requestSplitInvoiceRequestDto
668
+ );
669
+ ```
670
+
671
+ ### Parameters
672
+
673
+ |Name | Type | Description | Notes|
674
+ |------------- | ------------- | ------------- | -------------|
675
+ | **requestSplitInvoiceRequestDto** | **RequestSplitInvoiceRequestDto**| | |
676
+
677
+
678
+ ### Return type
679
+
680
+ **SplitInvoiceResponseDto**
681
+
682
+ ### Authorization
683
+
684
+ [partner-oauth2](../README.md#partner-oauth2)
685
+
686
+ ### HTTP request headers
687
+
688
+ - **Content-Type**: application/json
689
+ - **Accept**: application/json
690
+
691
+
692
+ ### HTTP response details
693
+ | Status code | Description | Response headers |
694
+ |-------------|-------------|------------------|
695
+ |**200** | | - |
696
+
697
+ [[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)
698
+
699
+ # **submitNegotiationScores**
700
+ > NegotiationScoredResponseDto submitNegotiationScores(submitNegotiationScoresRequestDto)
701
+
702
+ 협상에의한계약(H/K) 응찰자별 기술/가격 점수 일괄 입력(V5 nego-eval 패리티). complete=true 면 평가완료 게이트까지 적용해 낙찰 진입 가능. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
703
+
704
+ ### Example
705
+
706
+ ```typescript
707
+ import {
708
+ PartnerV1Api,
709
+ Configuration,
710
+ SubmitNegotiationScoresRequestDto
711
+ } from '@cmarket/partner-sdk';
712
+
713
+ const configuration = new Configuration();
714
+ const apiInstance = new PartnerV1Api(configuration);
715
+
716
+ let submitNegotiationScoresRequestDto: SubmitNegotiationScoresRequestDto; //
717
+
718
+ const { status, data } = await apiInstance.submitNegotiationScores(
719
+ submitNegotiationScoresRequestDto
720
+ );
721
+ ```
722
+
723
+ ### Parameters
724
+
725
+ |Name | Type | Description | Notes|
726
+ |------------- | ------------- | ------------- | -------------|
727
+ | **submitNegotiationScoresRequestDto** | **SubmitNegotiationScoresRequestDto**| | |
728
+
729
+
730
+ ### Return type
731
+
732
+ **NegotiationScoredResponseDto**
733
+
734
+ ### Authorization
735
+
736
+ [partner-oauth2](../README.md#partner-oauth2)
737
+
738
+ ### HTTP request headers
739
+
740
+ - **Content-Type**: application/json
741
+ - **Accept**: application/json
742
+
743
+
744
+ ### HTTP response details
745
+ | Status code | Description | Response headers |
746
+ |-------------|-------------|------------------|
747
+ |**201** | | - |
748
+
749
+ [[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)
750
+
751
+ # **uploadFile**
752
+ > FileUploadedResponseDto uploadFile(uploadFileRequestDto)
753
+
754
+ 스코프 `files:write` 필수. base64 또는 url 중 하나를 제출한다.
755
+
756
+ ### Example
757
+
758
+ ```typescript
759
+ import {
760
+ PartnerV1Api,
761
+ Configuration,
762
+ UploadFileRequestDto
763
+ } from '@cmarket/partner-sdk';
764
+
765
+ const configuration = new Configuration();
766
+ const apiInstance = new PartnerV1Api(configuration);
767
+
768
+ let uploadFileRequestDto: UploadFileRequestDto; //
769
+
770
+ const { status, data } = await apiInstance.uploadFile(
771
+ uploadFileRequestDto
772
+ );
773
+ ```
774
+
775
+ ### Parameters
776
+
777
+ |Name | Type | Description | Notes|
778
+ |------------- | ------------- | ------------- | -------------|
779
+ | **uploadFileRequestDto** | **UploadFileRequestDto**| | |
780
+
781
+
782
+ ### Return type
783
+
784
+ **FileUploadedResponseDto**
785
+
786
+ ### Authorization
787
+
788
+ [partner-oauth2](../README.md#partner-oauth2)
789
+
790
+ ### HTTP request headers
791
+
792
+ - **Content-Type**: application/json
793
+ - **Accept**: application/json
794
+
795
+
796
+ ### HTTP response details
797
+ | Status code | Description | Response headers |
798
+ |-------------|-------------|------------------|
799
+ |**201** | | - |
800
+
801
+ [[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)
802
+
@@ -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
  /**