@cmarket/partner-sdk 1.2.0 → 2.0.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 CHANGED
@@ -188,7 +188,7 @@ public class Quickstart {
188
188
 
189
189
  ---
190
190
 
191
- ## @cmarket/partner-sdk@1.2.0
191
+ ## @cmarket/partner-sdk@2.0.0
192
192
 
193
193
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
194
194
 
@@ -226,7 +226,7 @@ navigate to the folder of your consuming project and run one of the following co
226
226
  _published:_
227
227
 
228
228
  ```
229
- npm install @cmarket/partner-sdk@1.2.0 --save
229
+ npm install @cmarket/partner-sdk@2.0.0 --save
230
230
  ```
231
231
 
232
232
  _unPublished (not recommended):_
@@ -252,18 +252,13 @@ Class | Method | HTTP request | Description
252
252
  *PartnerV1Api* | [**v1RequestSplitInvoice**](docs/PartnerV1Api.md#v1requestsplitinvoice) | **POST** /v1/invoices/split-requests | 계산서 분할 발급 청구 — V5 충실
253
253
  *PartnerV1Api* | [**v1SubmitNegotiationScores**](docs/PartnerV1Api.md#v1submitnegotiationscores) | **POST** /v1/awards/nego-eval | 협상(H/K) 점수평가 — V5 충실
254
254
  *PartnerV2Api* | [**completeAcceptance**](docs/PartnerV2Api.md#completeacceptance) | **POST** /v2/bids/{bidId}/acceptance | 검수완료 전송
255
- *PartnerV2Api* | [**getBidContractDocuments**](docs/PartnerV2Api.md#getbidcontractdocuments) | **GET** /v2/bids/{bidId}/contract-documents | 계약서류 수신 조회
256
- *PartnerV2Api* | [**getBidContractDocumentsBatch**](docs/PartnerV2Api.md#getbidcontractdocumentsbatch) | **POST** /v2/bids/contract-documents/batch | 계약서류 수신 배치 조회
257
255
  *PartnerV2Api* | [**getBidResults**](docs/PartnerV2Api.md#getbidresults) | **GET** /v2/bids/{bidId}/results | 입찰 결과 조회
258
- *PartnerV2Api* | [**getBidResultsBatch**](docs/PartnerV2Api.md#getbidresultsbatch) | **POST** /v2/bids/results/batch | 입찰결과 배치 조회
259
256
  *PartnerV2Api* | [**getBidSettlement**](docs/PartnerV2Api.md#getbidsettlement) | **GET** /v2/bids/{bidId}/settlement | 입찰결과 정산정보 조회
260
257
  *PartnerV2Api* | [**getBidStatement**](docs/PartnerV2Api.md#getbidstatement) | **GET** /v2/bids/{bidId}/statement | 거래명세서 조회
261
258
  *PartnerV2Api* | [**healthControllerCheck**](docs/PartnerV2Api.md#healthcontrollercheck) | **GET** /health | Partner API 헬스체크
262
259
  *PartnerV2Api* | [**markBidFailed**](docs/PartnerV2Api.md#markbidfailed) | **POST** /v2/awards/fail | 유찰 처리
263
260
  *PartnerV2Api* | [**registerAward**](docs/PartnerV2Api.md#registeraward) | **POST** /v2/awards | 낙찰 결과 전송
264
261
  *PartnerV2Api* | [**registerBid**](docs/PartnerV2Api.md#registerbid) | **POST** /v2/bids | 입찰 정보 전송(등록)
265
- *PartnerV2Api* | [**requestSplitInvoice**](docs/PartnerV2Api.md#requestsplitinvoice) | **POST** /v2/invoices/split-requests | 계산서 분할 발급 청구
266
- *PartnerV2Api* | [**submitNegotiationScores**](docs/PartnerV2Api.md#submitnegotiationscores) | **POST** /v2/awards/nego-eval | 협상(H/K) 점수평가
267
262
  *PartnerV2Api* | [**uploadFile**](docs/PartnerV2Api.md#uploadfile) | **POST** /v2/files | 입찰 첨부파일 업로드(base64 또는 url) → fileKey
268
263
 
269
264
 
@@ -26,16 +26,10 @@ import type { AcceptanceResultResponseDto } from '../models';
26
26
  // @ts-ignore
27
27
  import type { AwardRegisteredResponseDto } from '../models';
28
28
  // @ts-ignore
29
- import type { BidContractDocumentsBatchRequestDto } from '../models';
30
- // @ts-ignore
31
- import type { BidContractDocumentsResponseDto } from '../models';
32
- // @ts-ignore
33
29
  import type { BidCreatedResponseDto } from '../models';
34
30
  // @ts-ignore
35
31
  import type { BidFailedResponseDto } from '../models';
36
32
  // @ts-ignore
37
- import type { BidResultsBatchRequestDto } from '../models';
38
- // @ts-ignore
39
33
  import type { BidResultsResponseDto } from '../models';
40
34
  // @ts-ignore
41
35
  import type { BidSettlementResponseDto } from '../models';
@@ -52,18 +46,10 @@ import type { HealthResponseDto } from '../models';
52
46
  // @ts-ignore
53
47
  import type { MarkBidFailedRequestDto } from '../models';
54
48
  // @ts-ignore
55
- import type { NegotiationScoredResponseDto } from '../models';
56
- // @ts-ignore
57
49
  import type { ProblemDetailsDto } from '../models';
58
50
  // @ts-ignore
59
51
  import type { RegisterAwardRequestDto } from '../models';
60
52
  // @ts-ignore
61
- import type { RequestSplitInvoiceRequestDto } from '../models';
62
- // @ts-ignore
63
- import type { SplitInvoiceResponseDto } from '../models';
64
- // @ts-ignore
65
- import type { SubmitNegotiationScoresRequestDto } from '../models';
66
- // @ts-ignore
67
53
  import type { UploadFileRequestDto } from '../models';
68
54
  /**
69
55
  * PartnerV2Api - axios parameter creator
@@ -119,90 +105,6 @@ export const PartnerV2ApiAxiosParamCreator = function (configuration?: Configura
119
105
  options: localVarRequestOptions,
120
106
  };
121
107
  },
122
- /**
123
- * V5 /contractDocumentRec 후속. scope contracts:read.
124
- * @summary 계약서류 수신 조회
125
- * @param {string} bidId
126
- * @param {string} buyerId 공고 명의 회원 ID(b2b_member.member_id).
127
- * @param {*} [options] Override http request option.
128
- * @throws {RequiredError}
129
- */
130
- getBidContractDocuments: async (bidId: string, buyerId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
131
- // verify required parameter 'bidId' is not null or undefined
132
- assertParamExists('getBidContractDocuments', 'bidId', bidId)
133
- // verify required parameter 'buyerId' is not null or undefined
134
- assertParamExists('getBidContractDocuments', 'buyerId', buyerId)
135
- const localVarPath = `/v2/bids/{bidId}/contract-documents`
136
- .replace('{bidId}', encodeURIComponent(String(bidId)));
137
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
138
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
139
- let baseOptions;
140
- if (configuration) {
141
- baseOptions = configuration.baseOptions;
142
- }
143
-
144
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
145
- const localVarHeaderParameter = {} as any;
146
- const localVarQueryParameter = {} as any;
147
-
148
- // authentication partner-oauth2 required
149
- // http bearer authentication required
150
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
151
-
152
- if (buyerId !== undefined) {
153
- localVarQueryParameter['buyerId'] = buyerId;
154
- }
155
-
156
- localVarHeaderParameter['Accept'] = 'application/json';
157
-
158
- setSearchParams(localVarUrlObj, localVarQueryParameter);
159
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
160
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
161
-
162
- return {
163
- url: toPathString(localVarUrlObj),
164
- options: localVarRequestOptions,
165
- };
166
- },
167
- /**
168
- * V5 /contractDocumentRec(bid_puchase_no_list) 후속. 공고번호 리스트를 한 번에 조회. 단건(GET :bidId/contract-documents)은 그대로 유지. scope contracts:read.
169
- * @summary 계약서류 수신 배치 조회
170
- * @param {BidContractDocumentsBatchRequestDto} bidContractDocumentsBatchRequestDto
171
- * @param {*} [options] Override http request option.
172
- * @throws {RequiredError}
173
- */
174
- getBidContractDocumentsBatch: async (bidContractDocumentsBatchRequestDto: BidContractDocumentsBatchRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
175
- // verify required parameter 'bidContractDocumentsBatchRequestDto' is not null or undefined
176
- assertParamExists('getBidContractDocumentsBatch', 'bidContractDocumentsBatchRequestDto', bidContractDocumentsBatchRequestDto)
177
- const localVarPath = `/v2/bids/contract-documents/batch`;
178
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
179
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
180
- let baseOptions;
181
- if (configuration) {
182
- baseOptions = configuration.baseOptions;
183
- }
184
-
185
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
186
- const localVarHeaderParameter = {} as any;
187
- const localVarQueryParameter = {} as any;
188
-
189
- // authentication partner-oauth2 required
190
- // http bearer authentication required
191
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
192
-
193
- localVarHeaderParameter['Content-Type'] = 'application/json';
194
- localVarHeaderParameter['Accept'] = 'application/json';
195
-
196
- setSearchParams(localVarUrlObj, localVarQueryParameter);
197
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
198
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
199
- localVarRequestOptions.data = serializeDataIfNeeded(bidContractDocumentsBatchRequestDto, localVarRequestOptions, configuration)
200
-
201
- return {
202
- url: toPathString(localVarUrlObj),
203
- options: localVarRequestOptions,
204
- };
205
- },
206
108
  /**
207
109
  * V5 /entendrec 후속. scope bids:read.
208
110
  * @summary 입찰 결과 조회
@@ -248,45 +150,6 @@ export const PartnerV2ApiAxiosParamCreator = function (configuration?: Configura
248
150
  options: localVarRequestOptions,
249
151
  };
250
152
  },
251
- /**
252
- * V5 entendRec(bid_puchase_no_list) 후속 — 여러 공고 결과를 1회 호출로(additive, 단건 유지). bidIds(공고 식별자) 또는 purchaseNos(구매번호) 중 하나 — purchaseNos 는 각 PO 의 가장 최근 공고로 해소. 입력 순서를 보존한다. scope bids:read.
253
- * @summary 입찰결과 배치 조회
254
- * @param {BidResultsBatchRequestDto} bidResultsBatchRequestDto
255
- * @param {*} [options] Override http request option.
256
- * @throws {RequiredError}
257
- */
258
- getBidResultsBatch: async (bidResultsBatchRequestDto: BidResultsBatchRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
259
- // verify required parameter 'bidResultsBatchRequestDto' is not null or undefined
260
- assertParamExists('getBidResultsBatch', 'bidResultsBatchRequestDto', bidResultsBatchRequestDto)
261
- const localVarPath = `/v2/bids/results/batch`;
262
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
263
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
264
- let baseOptions;
265
- if (configuration) {
266
- baseOptions = configuration.baseOptions;
267
- }
268
-
269
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
270
- const localVarHeaderParameter = {} as any;
271
- const localVarQueryParameter = {} as any;
272
-
273
- // authentication partner-oauth2 required
274
- // http bearer authentication required
275
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
276
-
277
- localVarHeaderParameter['Content-Type'] = 'application/json';
278
- localVarHeaderParameter['Accept'] = 'application/json';
279
-
280
- setSearchParams(localVarUrlObj, localVarQueryParameter);
281
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
282
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
283
- localVarRequestOptions.data = serializeDataIfNeeded(bidResultsBatchRequestDto, localVarRequestOptions, configuration)
284
-
285
- return {
286
- url: toPathString(localVarUrlObj),
287
- options: localVarRequestOptions,
288
- };
289
- },
290
153
  /**
291
154
  * V5 /entendrec 정산(사업자·계좌·공급가액/부가세·응찰 품목내역) 후속. scope bids:read. 가격/신원 가시성 매트릭스와 직교한 ERP 정산 데이터 — read-only.
292
155
  * @summary 입찰결과 정산정보 조회
@@ -529,96 +392,6 @@ export const PartnerV2ApiAxiosParamCreator = function (configuration?: Configura
529
392
  options: localVarRequestOptions,
530
393
  };
531
394
  },
532
- /**
533
- * 세금계산서 분할 발급 청구를 기록합니다. 발급 엔진이 아니라 \"분할 발급 청구 요청을 접수\"하는 엔드포인트입니다. **V5 대응:** `splitInvoiceRequest` — BidApi.xml `splitInvoice` 액션의 V6 후속. **호출 시점:** 검수완료 후 세금계산서를 분할 발급받고자 할 때. 공급가액과 부가세를 나누어 청구합니다. **부수효과:** - 분할 발급 청구가 기록됩니다(실제 세금계산서 발급은 별도 프로세스). - 작성일자(`issueDate`)는 미래 일자 불가(I5 — V5 `PgBidApiService:220-235` 패리티). 오늘 날짜는 허용. - `issueDate` 미지정 시 backend 기본값 적용. **금액 단위:** 원(KRW) 정수. `supplyAmount`(공급가액) + `vat`(부가세) 합산이 실제 청구 총액. **필수 스코프:** `invoices:write` **멱등성:** `Idempotency-Key` 헤더 필수.
534
- * @summary 계산서 분할 발급 청구
535
- * @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
536
- * @param {RequestSplitInvoiceRequestDto} requestSplitInvoiceRequestDto
537
- * @param {*} [options] Override http request option.
538
- * @throws {RequiredError}
539
- */
540
- requestSplitInvoice: async (idempotencyKey: string, requestSplitInvoiceRequestDto: RequestSplitInvoiceRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
541
- // verify required parameter 'idempotencyKey' is not null or undefined
542
- assertParamExists('requestSplitInvoice', 'idempotencyKey', idempotencyKey)
543
- // verify required parameter 'requestSplitInvoiceRequestDto' is not null or undefined
544
- assertParamExists('requestSplitInvoice', 'requestSplitInvoiceRequestDto', requestSplitInvoiceRequestDto)
545
- const localVarPath = `/v2/invoices/split-requests`;
546
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
547
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
548
- let baseOptions;
549
- if (configuration) {
550
- baseOptions = configuration.baseOptions;
551
- }
552
-
553
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
554
- const localVarHeaderParameter = {} as any;
555
- const localVarQueryParameter = {} as any;
556
-
557
- // authentication partner-oauth2 required
558
- // http bearer authentication required
559
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
560
-
561
- localVarHeaderParameter['Content-Type'] = 'application/json';
562
- localVarHeaderParameter['Accept'] = 'application/json';
563
-
564
- if (idempotencyKey != null) {
565
- localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey);
566
- }
567
- setSearchParams(localVarUrlObj, localVarQueryParameter);
568
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
569
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
570
- localVarRequestOptions.data = serializeDataIfNeeded(requestSplitInvoiceRequestDto, localVarRequestOptions, configuration)
571
-
572
- return {
573
- url: toPathString(localVarUrlObj),
574
- options: localVarRequestOptions,
575
- };
576
- },
577
- /**
578
- * 협상에의한계약(낙찰방법 H/K) 응찰자별 기술/가격 점수를 일괄 입력합니다. **V5 대응:** `scsbidSend`(type=nego, 점수입력) — BidApi.xml `nego-eval` 액션의 V6 후속. **호출 시점:** 협상 방식 공고 마감 후 점수 평가를 진행할 때. `complete=true` 를 함께 보내면 평가완료 게이트(V5 `nego_complete_yn=Y`)까지 적용되어 낙찰 진입이 가능합니다. **부수효과:** - 각 응찰자의 기술점수(`techPoint`) 및 가격점수(`bidPoint`, 선택)가 저장됩니다. - `complete=true`인 경우 평가완료 상태로 전환되어 이후 `/v1/awards`로 낙찰 처리가 가능합니다. - 가격점수(`bidPoint`)를 생략하면 backend 가 배점 기준에 따라 자동 계산합니다. **응찰자 식별:** `sequence`(= V5 `buy_seq`, `entendrec` 응답의 `sequence` 필드). **필수 스코프:** `awards:write` **멱등성:** `Idempotency-Key` 헤더 필수.
579
- * @summary 협상(H/K) 점수평가
580
- * @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
581
- * @param {SubmitNegotiationScoresRequestDto} submitNegotiationScoresRequestDto
582
- * @param {*} [options] Override http request option.
583
- * @throws {RequiredError}
584
- */
585
- submitNegotiationScores: async (idempotencyKey: string, submitNegotiationScoresRequestDto: SubmitNegotiationScoresRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
586
- // verify required parameter 'idempotencyKey' is not null or undefined
587
- assertParamExists('submitNegotiationScores', 'idempotencyKey', idempotencyKey)
588
- // verify required parameter 'submitNegotiationScoresRequestDto' is not null or undefined
589
- assertParamExists('submitNegotiationScores', 'submitNegotiationScoresRequestDto', submitNegotiationScoresRequestDto)
590
- const localVarPath = `/v2/awards/nego-eval`;
591
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
592
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
593
- let baseOptions;
594
- if (configuration) {
595
- baseOptions = configuration.baseOptions;
596
- }
597
-
598
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
599
- const localVarHeaderParameter = {} as any;
600
- const localVarQueryParameter = {} as any;
601
-
602
- // authentication partner-oauth2 required
603
- // http bearer authentication required
604
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
605
-
606
- localVarHeaderParameter['Content-Type'] = 'application/json';
607
- localVarHeaderParameter['Accept'] = 'application/json';
608
-
609
- if (idempotencyKey != null) {
610
- localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey);
611
- }
612
- setSearchParams(localVarUrlObj, localVarQueryParameter);
613
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
614
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
615
- localVarRequestOptions.data = serializeDataIfNeeded(submitNegotiationScoresRequestDto, localVarRequestOptions, configuration)
616
-
617
- return {
618
- url: toPathString(localVarUrlObj),
619
- options: localVarRequestOptions,
620
- };
621
- },
622
395
  /**
623
396
  * 스코프 `files:write` + `Idempotency-Key` 헤더 필수. base64 또는 url 중 정확히 하나를 제출한다.
624
397
  * @summary 입찰 첨부파일 업로드(base64 또는 url) → fileKey
@@ -682,33 +455,6 @@ export const PartnerV2ApiFp = function(configuration?: Configuration) {
682
455
  const localVarOperationServerBasePath = operationServerMap['PartnerV2Api.completeAcceptance']?.[localVarOperationServerIndex]?.url;
683
456
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
684
457
  },
685
- /**
686
- * V5 /contractDocumentRec 후속. scope contracts:read.
687
- * @summary 계약서류 수신 조회
688
- * @param {string} bidId
689
- * @param {string} buyerId 공고 명의 회원 ID(b2b_member.member_id).
690
- * @param {*} [options] Override http request option.
691
- * @throws {RequiredError}
692
- */
693
- async getBidContractDocuments(bidId: string, buyerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BidContractDocumentsResponseDto>> {
694
- const localVarAxiosArgs = await localVarAxiosParamCreator.getBidContractDocuments(bidId, buyerId, options);
695
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
696
- const localVarOperationServerBasePath = operationServerMap['PartnerV2Api.getBidContractDocuments']?.[localVarOperationServerIndex]?.url;
697
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
698
- },
699
- /**
700
- * V5 /contractDocumentRec(bid_puchase_no_list) 후속. 공고번호 리스트를 한 번에 조회. 단건(GET :bidId/contract-documents)은 그대로 유지. scope contracts:read.
701
- * @summary 계약서류 수신 배치 조회
702
- * @param {BidContractDocumentsBatchRequestDto} bidContractDocumentsBatchRequestDto
703
- * @param {*} [options] Override http request option.
704
- * @throws {RequiredError}
705
- */
706
- async getBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto: BidContractDocumentsBatchRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BidContractDocumentsResponseDto>>> {
707
- const localVarAxiosArgs = await localVarAxiosParamCreator.getBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto, options);
708
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
709
- const localVarOperationServerBasePath = operationServerMap['PartnerV2Api.getBidContractDocumentsBatch']?.[localVarOperationServerIndex]?.url;
710
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
711
- },
712
458
  /**
713
459
  * V5 /entendrec 후속. scope bids:read.
714
460
  * @summary 입찰 결과 조회
@@ -723,19 +469,6 @@ export const PartnerV2ApiFp = function(configuration?: Configuration) {
723
469
  const localVarOperationServerBasePath = operationServerMap['PartnerV2Api.getBidResults']?.[localVarOperationServerIndex]?.url;
724
470
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
725
471
  },
726
- /**
727
- * V5 entendRec(bid_puchase_no_list) 후속 — 여러 공고 결과를 1회 호출로(additive, 단건 유지). bidIds(공고 식별자) 또는 purchaseNos(구매번호) 중 하나 — purchaseNos 는 각 PO 의 가장 최근 공고로 해소. 입력 순서를 보존한다. scope bids:read.
728
- * @summary 입찰결과 배치 조회
729
- * @param {BidResultsBatchRequestDto} bidResultsBatchRequestDto
730
- * @param {*} [options] Override http request option.
731
- * @throws {RequiredError}
732
- */
733
- async getBidResultsBatch(bidResultsBatchRequestDto: BidResultsBatchRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BidResultsResponseDto>>> {
734
- const localVarAxiosArgs = await localVarAxiosParamCreator.getBidResultsBatch(bidResultsBatchRequestDto, options);
735
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
736
- const localVarOperationServerBasePath = operationServerMap['PartnerV2Api.getBidResultsBatch']?.[localVarOperationServerIndex]?.url;
737
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
738
- },
739
472
  /**
740
473
  * V5 /entendrec 정산(사업자·계좌·공급가액/부가세·응찰 품목내역) 후속. scope bids:read. 가격/신원 가시성 매트릭스와 직교한 ERP 정산 데이터 — read-only.
741
474
  * @summary 입찰결과 정산정보 조회
@@ -816,34 +549,6 @@ export const PartnerV2ApiFp = function(configuration?: Configuration) {
816
549
  const localVarOperationServerBasePath = operationServerMap['PartnerV2Api.registerBid']?.[localVarOperationServerIndex]?.url;
817
550
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
818
551
  },
819
- /**
820
- * 세금계산서 분할 발급 청구를 기록합니다. 발급 엔진이 아니라 \"분할 발급 청구 요청을 접수\"하는 엔드포인트입니다. **V5 대응:** `splitInvoiceRequest` — BidApi.xml `splitInvoice` 액션의 V6 후속. **호출 시점:** 검수완료 후 세금계산서를 분할 발급받고자 할 때. 공급가액과 부가세를 나누어 청구합니다. **부수효과:** - 분할 발급 청구가 기록됩니다(실제 세금계산서 발급은 별도 프로세스). - 작성일자(`issueDate`)는 미래 일자 불가(I5 — V5 `PgBidApiService:220-235` 패리티). 오늘 날짜는 허용. - `issueDate` 미지정 시 backend 기본값 적용. **금액 단위:** 원(KRW) 정수. `supplyAmount`(공급가액) + `vat`(부가세) 합산이 실제 청구 총액. **필수 스코프:** `invoices:write` **멱등성:** `Idempotency-Key` 헤더 필수.
821
- * @summary 계산서 분할 발급 청구
822
- * @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
823
- * @param {RequestSplitInvoiceRequestDto} requestSplitInvoiceRequestDto
824
- * @param {*} [options] Override http request option.
825
- * @throws {RequiredError}
826
- */
827
- async requestSplitInvoice(idempotencyKey: string, requestSplitInvoiceRequestDto: RequestSplitInvoiceRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SplitInvoiceResponseDto>> {
828
- const localVarAxiosArgs = await localVarAxiosParamCreator.requestSplitInvoice(idempotencyKey, requestSplitInvoiceRequestDto, options);
829
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
830
- const localVarOperationServerBasePath = operationServerMap['PartnerV2Api.requestSplitInvoice']?.[localVarOperationServerIndex]?.url;
831
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
832
- },
833
- /**
834
- * 협상에의한계약(낙찰방법 H/K) 응찰자별 기술/가격 점수를 일괄 입력합니다. **V5 대응:** `scsbidSend`(type=nego, 점수입력) — BidApi.xml `nego-eval` 액션의 V6 후속. **호출 시점:** 협상 방식 공고 마감 후 점수 평가를 진행할 때. `complete=true` 를 함께 보내면 평가완료 게이트(V5 `nego_complete_yn=Y`)까지 적용되어 낙찰 진입이 가능합니다. **부수효과:** - 각 응찰자의 기술점수(`techPoint`) 및 가격점수(`bidPoint`, 선택)가 저장됩니다. - `complete=true`인 경우 평가완료 상태로 전환되어 이후 `/v1/awards`로 낙찰 처리가 가능합니다. - 가격점수(`bidPoint`)를 생략하면 backend 가 배점 기준에 따라 자동 계산합니다. **응찰자 식별:** `sequence`(= V5 `buy_seq`, `entendrec` 응답의 `sequence` 필드). **필수 스코프:** `awards:write` **멱등성:** `Idempotency-Key` 헤더 필수.
835
- * @summary 협상(H/K) 점수평가
836
- * @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
837
- * @param {SubmitNegotiationScoresRequestDto} submitNegotiationScoresRequestDto
838
- * @param {*} [options] Override http request option.
839
- * @throws {RequiredError}
840
- */
841
- async submitNegotiationScores(idempotencyKey: string, submitNegotiationScoresRequestDto: SubmitNegotiationScoresRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NegotiationScoredResponseDto>> {
842
- const localVarAxiosArgs = await localVarAxiosParamCreator.submitNegotiationScores(idempotencyKey, submitNegotiationScoresRequestDto, options);
843
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
844
- const localVarOperationServerBasePath = operationServerMap['PartnerV2Api.submitNegotiationScores']?.[localVarOperationServerIndex]?.url;
845
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
846
- },
847
552
  /**
848
553
  * 스코프 `files:write` + `Idempotency-Key` 헤더 필수. base64 또는 url 중 정확히 하나를 제출한다.
849
554
  * @summary 입찰 첨부파일 업로드(base64 또는 url) → fileKey
@@ -878,27 +583,6 @@ export const PartnerV2ApiFactory = function (configuration?: Configuration, base
878
583
  completeAcceptance(bidId: string, idempotencyKey: string, completeAcceptanceRequestDto: CompleteAcceptanceRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<AcceptanceResultResponseDto> {
879
584
  return localVarFp.completeAcceptance(bidId, idempotencyKey, completeAcceptanceRequestDto, options).then((request) => request(axios, basePath));
880
585
  },
881
- /**
882
- * V5 /contractDocumentRec 후속. scope contracts:read.
883
- * @summary 계약서류 수신 조회
884
- * @param {string} bidId
885
- * @param {string} buyerId 공고 명의 회원 ID(b2b_member.member_id).
886
- * @param {*} [options] Override http request option.
887
- * @throws {RequiredError}
888
- */
889
- getBidContractDocuments(bidId: string, buyerId: string, options?: RawAxiosRequestConfig): AxiosPromise<BidContractDocumentsResponseDto> {
890
- return localVarFp.getBidContractDocuments(bidId, buyerId, options).then((request) => request(axios, basePath));
891
- },
892
- /**
893
- * V5 /contractDocumentRec(bid_puchase_no_list) 후속. 공고번호 리스트를 한 번에 조회. 단건(GET :bidId/contract-documents)은 그대로 유지. scope contracts:read.
894
- * @summary 계약서류 수신 배치 조회
895
- * @param {BidContractDocumentsBatchRequestDto} bidContractDocumentsBatchRequestDto
896
- * @param {*} [options] Override http request option.
897
- * @throws {RequiredError}
898
- */
899
- getBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto: BidContractDocumentsBatchRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<Array<BidContractDocumentsResponseDto>> {
900
- return localVarFp.getBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto, options).then((request) => request(axios, basePath));
901
- },
902
586
  /**
903
587
  * V5 /entendrec 후속. scope bids:read.
904
588
  * @summary 입찰 결과 조회
@@ -910,16 +594,6 @@ export const PartnerV2ApiFactory = function (configuration?: Configuration, base
910
594
  getBidResults(bidId: string, buyerId: string, options?: RawAxiosRequestConfig): AxiosPromise<BidResultsResponseDto> {
911
595
  return localVarFp.getBidResults(bidId, buyerId, options).then((request) => request(axios, basePath));
912
596
  },
913
- /**
914
- * V5 entendRec(bid_puchase_no_list) 후속 — 여러 공고 결과를 1회 호출로(additive, 단건 유지). bidIds(공고 식별자) 또는 purchaseNos(구매번호) 중 하나 — purchaseNos 는 각 PO 의 가장 최근 공고로 해소. 입력 순서를 보존한다. scope bids:read.
915
- * @summary 입찰결과 배치 조회
916
- * @param {BidResultsBatchRequestDto} bidResultsBatchRequestDto
917
- * @param {*} [options] Override http request option.
918
- * @throws {RequiredError}
919
- */
920
- getBidResultsBatch(bidResultsBatchRequestDto: BidResultsBatchRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<Array<BidResultsResponseDto>> {
921
- return localVarFp.getBidResultsBatch(bidResultsBatchRequestDto, options).then((request) => request(axios, basePath));
922
- },
923
597
  /**
924
598
  * V5 /entendrec 정산(사업자·계좌·공급가액/부가세·응찰 품목내역) 후속. scope bids:read. 가격/신원 가시성 매트릭스와 직교한 ERP 정산 데이터 — read-only.
925
599
  * @summary 입찰결과 정산정보 조회
@@ -982,28 +656,6 @@ export const PartnerV2ApiFactory = function (configuration?: Configuration, base
982
656
  registerBid(createBidRequestDto: CreateBidRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<BidCreatedResponseDto> {
983
657
  return localVarFp.registerBid(createBidRequestDto, options).then((request) => request(axios, basePath));
984
658
  },
985
- /**
986
- * 세금계산서 분할 발급 청구를 기록합니다. 발급 엔진이 아니라 \"분할 발급 청구 요청을 접수\"하는 엔드포인트입니다. **V5 대응:** `splitInvoiceRequest` — BidApi.xml `splitInvoice` 액션의 V6 후속. **호출 시점:** 검수완료 후 세금계산서를 분할 발급받고자 할 때. 공급가액과 부가세를 나누어 청구합니다. **부수효과:** - 분할 발급 청구가 기록됩니다(실제 세금계산서 발급은 별도 프로세스). - 작성일자(`issueDate`)는 미래 일자 불가(I5 — V5 `PgBidApiService:220-235` 패리티). 오늘 날짜는 허용. - `issueDate` 미지정 시 backend 기본값 적용. **금액 단위:** 원(KRW) 정수. `supplyAmount`(공급가액) + `vat`(부가세) 합산이 실제 청구 총액. **필수 스코프:** `invoices:write` **멱등성:** `Idempotency-Key` 헤더 필수.
987
- * @summary 계산서 분할 발급 청구
988
- * @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
989
- * @param {RequestSplitInvoiceRequestDto} requestSplitInvoiceRequestDto
990
- * @param {*} [options] Override http request option.
991
- * @throws {RequiredError}
992
- */
993
- requestSplitInvoice(idempotencyKey: string, requestSplitInvoiceRequestDto: RequestSplitInvoiceRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<SplitInvoiceResponseDto> {
994
- return localVarFp.requestSplitInvoice(idempotencyKey, requestSplitInvoiceRequestDto, options).then((request) => request(axios, basePath));
995
- },
996
- /**
997
- * 협상에의한계약(낙찰방법 H/K) 응찰자별 기술/가격 점수를 일괄 입력합니다. **V5 대응:** `scsbidSend`(type=nego, 점수입력) — BidApi.xml `nego-eval` 액션의 V6 후속. **호출 시점:** 협상 방식 공고 마감 후 점수 평가를 진행할 때. `complete=true` 를 함께 보내면 평가완료 게이트(V5 `nego_complete_yn=Y`)까지 적용되어 낙찰 진입이 가능합니다. **부수효과:** - 각 응찰자의 기술점수(`techPoint`) 및 가격점수(`bidPoint`, 선택)가 저장됩니다. - `complete=true`인 경우 평가완료 상태로 전환되어 이후 `/v1/awards`로 낙찰 처리가 가능합니다. - 가격점수(`bidPoint`)를 생략하면 backend 가 배점 기준에 따라 자동 계산합니다. **응찰자 식별:** `sequence`(= V5 `buy_seq`, `entendrec` 응답의 `sequence` 필드). **필수 스코프:** `awards:write` **멱등성:** `Idempotency-Key` 헤더 필수.
998
- * @summary 협상(H/K) 점수평가
999
- * @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
1000
- * @param {SubmitNegotiationScoresRequestDto} submitNegotiationScoresRequestDto
1001
- * @param {*} [options] Override http request option.
1002
- * @throws {RequiredError}
1003
- */
1004
- submitNegotiationScores(idempotencyKey: string, submitNegotiationScoresRequestDto: SubmitNegotiationScoresRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<NegotiationScoredResponseDto> {
1005
- return localVarFp.submitNegotiationScores(idempotencyKey, submitNegotiationScoresRequestDto, options).then((request) => request(axios, basePath));
1006
- },
1007
659
  /**
1008
660
  * 스코프 `files:write` + `Idempotency-Key` 헤더 필수. base64 또는 url 중 정확히 하나를 제출한다.
1009
661
  * @summary 입찰 첨부파일 업로드(base64 또는 url) → fileKey
@@ -1034,29 +686,6 @@ export class PartnerV2Api extends BaseAPI {
1034
686
  return PartnerV2ApiFp(this.configuration).completeAcceptance(bidId, idempotencyKey, completeAcceptanceRequestDto, options).then((request) => request(this.axios, this.basePath));
1035
687
  }
1036
688
 
1037
- /**
1038
- * V5 /contractDocumentRec 후속. scope contracts:read.
1039
- * @summary 계약서류 수신 조회
1040
- * @param {string} bidId
1041
- * @param {string} buyerId 공고 명의 회원 ID(b2b_member.member_id).
1042
- * @param {*} [options] Override http request option.
1043
- * @throws {RequiredError}
1044
- */
1045
- public getBidContractDocuments(bidId: string, buyerId: string, options?: RawAxiosRequestConfig) {
1046
- return PartnerV2ApiFp(this.configuration).getBidContractDocuments(bidId, buyerId, options).then((request) => request(this.axios, this.basePath));
1047
- }
1048
-
1049
- /**
1050
- * V5 /contractDocumentRec(bid_puchase_no_list) 후속. 공고번호 리스트를 한 번에 조회. 단건(GET :bidId/contract-documents)은 그대로 유지. scope contracts:read.
1051
- * @summary 계약서류 수신 배치 조회
1052
- * @param {BidContractDocumentsBatchRequestDto} bidContractDocumentsBatchRequestDto
1053
- * @param {*} [options] Override http request option.
1054
- * @throws {RequiredError}
1055
- */
1056
- public getBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto: BidContractDocumentsBatchRequestDto, options?: RawAxiosRequestConfig) {
1057
- return PartnerV2ApiFp(this.configuration).getBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto, options).then((request) => request(this.axios, this.basePath));
1058
- }
1059
-
1060
689
  /**
1061
690
  * V5 /entendrec 후속. scope bids:read.
1062
691
  * @summary 입찰 결과 조회
@@ -1069,17 +698,6 @@ export class PartnerV2Api extends BaseAPI {
1069
698
  return PartnerV2ApiFp(this.configuration).getBidResults(bidId, buyerId, options).then((request) => request(this.axios, this.basePath));
1070
699
  }
1071
700
 
1072
- /**
1073
- * V5 entendRec(bid_puchase_no_list) 후속 — 여러 공고 결과를 1회 호출로(additive, 단건 유지). bidIds(공고 식별자) 또는 purchaseNos(구매번호) 중 하나 — purchaseNos 는 각 PO 의 가장 최근 공고로 해소. 입력 순서를 보존한다. scope bids:read.
1074
- * @summary 입찰결과 배치 조회
1075
- * @param {BidResultsBatchRequestDto} bidResultsBatchRequestDto
1076
- * @param {*} [options] Override http request option.
1077
- * @throws {RequiredError}
1078
- */
1079
- public getBidResultsBatch(bidResultsBatchRequestDto: BidResultsBatchRequestDto, options?: RawAxiosRequestConfig) {
1080
- return PartnerV2ApiFp(this.configuration).getBidResultsBatch(bidResultsBatchRequestDto, options).then((request) => request(this.axios, this.basePath));
1081
- }
1082
-
1083
701
  /**
1084
702
  * V5 /entendrec 정산(사업자·계좌·공급가액/부가세·응찰 품목내역) 후속. scope bids:read. 가격/신원 가시성 매트릭스와 직교한 ERP 정산 데이터 — read-only.
1085
703
  * @summary 입찰결과 정산정보 조회
@@ -1148,30 +766,6 @@ export class PartnerV2Api extends BaseAPI {
1148
766
  return PartnerV2ApiFp(this.configuration).registerBid(createBidRequestDto, options).then((request) => request(this.axios, this.basePath));
1149
767
  }
1150
768
 
1151
- /**
1152
- * 세금계산서 분할 발급 청구를 기록합니다. 발급 엔진이 아니라 \"분할 발급 청구 요청을 접수\"하는 엔드포인트입니다. **V5 대응:** `splitInvoiceRequest` — BidApi.xml `splitInvoice` 액션의 V6 후속. **호출 시점:** 검수완료 후 세금계산서를 분할 발급받고자 할 때. 공급가액과 부가세를 나누어 청구합니다. **부수효과:** - 분할 발급 청구가 기록됩니다(실제 세금계산서 발급은 별도 프로세스). - 작성일자(`issueDate`)는 미래 일자 불가(I5 — V5 `PgBidApiService:220-235` 패리티). 오늘 날짜는 허용. - `issueDate` 미지정 시 backend 기본값 적용. **금액 단위:** 원(KRW) 정수. `supplyAmount`(공급가액) + `vat`(부가세) 합산이 실제 청구 총액. **필수 스코프:** `invoices:write` **멱등성:** `Idempotency-Key` 헤더 필수.
1153
- * @summary 계산서 분할 발급 청구
1154
- * @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
1155
- * @param {RequestSplitInvoiceRequestDto} requestSplitInvoiceRequestDto
1156
- * @param {*} [options] Override http request option.
1157
- * @throws {RequiredError}
1158
- */
1159
- public requestSplitInvoice(idempotencyKey: string, requestSplitInvoiceRequestDto: RequestSplitInvoiceRequestDto, options?: RawAxiosRequestConfig) {
1160
- return PartnerV2ApiFp(this.configuration).requestSplitInvoice(idempotencyKey, requestSplitInvoiceRequestDto, options).then((request) => request(this.axios, this.basePath));
1161
- }
1162
-
1163
- /**
1164
- * 협상에의한계약(낙찰방법 H/K) 응찰자별 기술/가격 점수를 일괄 입력합니다. **V5 대응:** `scsbidSend`(type=nego, 점수입력) — BidApi.xml `nego-eval` 액션의 V6 후속. **호출 시점:** 협상 방식 공고 마감 후 점수 평가를 진행할 때. `complete=true` 를 함께 보내면 평가완료 게이트(V5 `nego_complete_yn=Y`)까지 적용되어 낙찰 진입이 가능합니다. **부수효과:** - 각 응찰자의 기술점수(`techPoint`) 및 가격점수(`bidPoint`, 선택)가 저장됩니다. - `complete=true`인 경우 평가완료 상태로 전환되어 이후 `/v1/awards`로 낙찰 처리가 가능합니다. - 가격점수(`bidPoint`)를 생략하면 backend 가 배점 기준에 따라 자동 계산합니다. **응찰자 식별:** `sequence`(= V5 `buy_seq`, `entendrec` 응답의 `sequence` 필드). **필수 스코프:** `awards:write` **멱등성:** `Idempotency-Key` 헤더 필수.
1165
- * @summary 협상(H/K) 점수평가
1166
- * @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
1167
- * @param {SubmitNegotiationScoresRequestDto} submitNegotiationScoresRequestDto
1168
- * @param {*} [options] Override http request option.
1169
- * @throws {RequiredError}
1170
- */
1171
- public submitNegotiationScores(idempotencyKey: string, submitNegotiationScoresRequestDto: SubmitNegotiationScoresRequestDto, options?: RawAxiosRequestConfig) {
1172
- return PartnerV2ApiFp(this.configuration).submitNegotiationScores(idempotencyKey, submitNegotiationScoresRequestDto, options).then((request) => request(this.axios, this.basePath));
1173
- }
1174
-
1175
769
  /**
1176
770
  * 스코프 `files:write` + `Idempotency-Key` 헤더 필수. base64 또는 url 중 정확히 하나를 제출한다.
1177
771
  * @summary 입찰 첨부파일 업로드(base64 또는 url) → fileKey