@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.
@@ -78,79 +78,6 @@ const PartnerV2ApiAxiosParamCreator = function (configuration) {
78
78
  options: localVarRequestOptions,
79
79
  };
80
80
  }),
81
- /**
82
- * V5 /contractDocumentRec 후속. scope contracts:read.
83
- * @summary 계약서류 수신 조회
84
- * @param {string} bidId
85
- * @param {string} buyerId 공고 명의 회원 ID(b2b_member.member_id).
86
- * @param {*} [options] Override http request option.
87
- * @throws {RequiredError}
88
- */
89
- getBidContractDocuments: (bidId_1, buyerId_1, ...args_1) => __awaiter(this, [bidId_1, buyerId_1, ...args_1], void 0, function* (bidId, buyerId, options = {}) {
90
- // verify required parameter 'bidId' is not null or undefined
91
- (0, common_1.assertParamExists)('getBidContractDocuments', 'bidId', bidId);
92
- // verify required parameter 'buyerId' is not null or undefined
93
- (0, common_1.assertParamExists)('getBidContractDocuments', 'buyerId', buyerId);
94
- const localVarPath = `/v2/bids/{bidId}/contract-documents`
95
- .replace('{bidId}', encodeURIComponent(String(bidId)));
96
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
97
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
98
- let baseOptions;
99
- if (configuration) {
100
- baseOptions = configuration.baseOptions;
101
- }
102
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
103
- const localVarHeaderParameter = {};
104
- const localVarQueryParameter = {};
105
- // authentication partner-oauth2 required
106
- // http bearer authentication required
107
- yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
108
- if (buyerId !== undefined) {
109
- localVarQueryParameter['buyerId'] = buyerId;
110
- }
111
- localVarHeaderParameter['Accept'] = 'application/json';
112
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
113
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
114
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
115
- return {
116
- url: (0, common_1.toPathString)(localVarUrlObj),
117
- options: localVarRequestOptions,
118
- };
119
- }),
120
- /**
121
- * V5 /contractDocumentRec(bid_puchase_no_list) 후속. 공고번호 리스트를 한 번에 조회. 단건(GET :bidId/contract-documents)은 그대로 유지. scope contracts:read.
122
- * @summary 계약서류 수신 배치 조회
123
- * @param {BidContractDocumentsBatchRequestDto} bidContractDocumentsBatchRequestDto
124
- * @param {*} [options] Override http request option.
125
- * @throws {RequiredError}
126
- */
127
- getBidContractDocumentsBatch: (bidContractDocumentsBatchRequestDto_1, ...args_1) => __awaiter(this, [bidContractDocumentsBatchRequestDto_1, ...args_1], void 0, function* (bidContractDocumentsBatchRequestDto, options = {}) {
128
- // verify required parameter 'bidContractDocumentsBatchRequestDto' is not null or undefined
129
- (0, common_1.assertParamExists)('getBidContractDocumentsBatch', 'bidContractDocumentsBatchRequestDto', bidContractDocumentsBatchRequestDto);
130
- const localVarPath = `/v2/bids/contract-documents/batch`;
131
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
132
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
133
- let baseOptions;
134
- if (configuration) {
135
- baseOptions = configuration.baseOptions;
136
- }
137
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
138
- const localVarHeaderParameter = {};
139
- const localVarQueryParameter = {};
140
- // authentication partner-oauth2 required
141
- // http bearer authentication required
142
- yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
143
- localVarHeaderParameter['Content-Type'] = 'application/json';
144
- localVarHeaderParameter['Accept'] = 'application/json';
145
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
146
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
147
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
148
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(bidContractDocumentsBatchRequestDto, localVarRequestOptions, configuration);
149
- return {
150
- url: (0, common_1.toPathString)(localVarUrlObj),
151
- options: localVarRequestOptions,
152
- };
153
- }),
154
81
  /**
155
82
  * V5 /entendrec 후속. scope bids:read.
156
83
  * @summary 입찰 결과 조회
@@ -190,40 +117,6 @@ const PartnerV2ApiAxiosParamCreator = function (configuration) {
190
117
  options: localVarRequestOptions,
191
118
  };
192
119
  }),
193
- /**
194
- * V5 entendRec(bid_puchase_no_list) 후속 — 여러 공고 결과를 1회 호출로(additive, 단건 유지). bidIds(공고 식별자) 또는 purchaseNos(구매번호) 중 하나 — purchaseNos 는 각 PO 의 가장 최근 공고로 해소. 입력 순서를 보존한다. scope bids:read.
195
- * @summary 입찰결과 배치 조회
196
- * @param {BidResultsBatchRequestDto} bidResultsBatchRequestDto
197
- * @param {*} [options] Override http request option.
198
- * @throws {RequiredError}
199
- */
200
- getBidResultsBatch: (bidResultsBatchRequestDto_1, ...args_1) => __awaiter(this, [bidResultsBatchRequestDto_1, ...args_1], void 0, function* (bidResultsBatchRequestDto, options = {}) {
201
- // verify required parameter 'bidResultsBatchRequestDto' is not null or undefined
202
- (0, common_1.assertParamExists)('getBidResultsBatch', 'bidResultsBatchRequestDto', bidResultsBatchRequestDto);
203
- const localVarPath = `/v2/bids/results/batch`;
204
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
205
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
206
- let baseOptions;
207
- if (configuration) {
208
- baseOptions = configuration.baseOptions;
209
- }
210
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
211
- const localVarHeaderParameter = {};
212
- const localVarQueryParameter = {};
213
- // authentication partner-oauth2 required
214
- // http bearer authentication required
215
- yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
216
- localVarHeaderParameter['Content-Type'] = 'application/json';
217
- localVarHeaderParameter['Accept'] = 'application/json';
218
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
219
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
220
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
221
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(bidResultsBatchRequestDto, localVarRequestOptions, configuration);
222
- return {
223
- url: (0, common_1.toPathString)(localVarUrlObj),
224
- options: localVarRequestOptions,
225
- };
226
- }),
227
120
  /**
228
121
  * V5 /entendrec 정산(사업자·계좌·공급가액/부가세·응찰 품목내역) 후속. scope bids:read. 가격/신원 가시성 매트릭스와 직교한 ERP 정산 데이터 — read-only.
229
122
  * @summary 입찰결과 정산정보 조회
@@ -436,86 +329,6 @@ const PartnerV2ApiAxiosParamCreator = function (configuration) {
436
329
  options: localVarRequestOptions,
437
330
  };
438
331
  }),
439
- /**
440
- * 세금계산서 분할 발급 청구를 기록합니다. 발급 엔진이 아니라 \"분할 발급 청구 요청을 접수\"하는 엔드포인트입니다. **V5 대응:** `splitInvoiceRequest` — BidApi.xml `splitInvoice` 액션의 V6 후속. **호출 시점:** 검수완료 후 세금계산서를 분할 발급받고자 할 때. 공급가액과 부가세를 나누어 청구합니다. **부수효과:** - 분할 발급 청구가 기록됩니다(실제 세금계산서 발급은 별도 프로세스). - 작성일자(`issueDate`)는 미래 일자 불가(I5 — V5 `PgBidApiService:220-235` 패리티). 오늘 날짜는 허용. - `issueDate` 미지정 시 backend 기본값 적용. **금액 단위:** 원(KRW) 정수. `supplyAmount`(공급가액) + `vat`(부가세) 합산이 실제 청구 총액. **필수 스코프:** `invoices:write` **멱등성:** `Idempotency-Key` 헤더 필수.
441
- * @summary 계산서 분할 발급 청구
442
- * @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
443
- * @param {RequestSplitInvoiceRequestDto} requestSplitInvoiceRequestDto
444
- * @param {*} [options] Override http request option.
445
- * @throws {RequiredError}
446
- */
447
- requestSplitInvoice: (idempotencyKey_1, requestSplitInvoiceRequestDto_1, ...args_1) => __awaiter(this, [idempotencyKey_1, requestSplitInvoiceRequestDto_1, ...args_1], void 0, function* (idempotencyKey, requestSplitInvoiceRequestDto, options = {}) {
448
- // verify required parameter 'idempotencyKey' is not null or undefined
449
- (0, common_1.assertParamExists)('requestSplitInvoice', 'idempotencyKey', idempotencyKey);
450
- // verify required parameter 'requestSplitInvoiceRequestDto' is not null or undefined
451
- (0, common_1.assertParamExists)('requestSplitInvoice', 'requestSplitInvoiceRequestDto', requestSplitInvoiceRequestDto);
452
- const localVarPath = `/v2/invoices/split-requests`;
453
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
454
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
455
- let baseOptions;
456
- if (configuration) {
457
- baseOptions = configuration.baseOptions;
458
- }
459
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
460
- const localVarHeaderParameter = {};
461
- const localVarQueryParameter = {};
462
- // authentication partner-oauth2 required
463
- // http bearer authentication required
464
- yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
465
- localVarHeaderParameter['Content-Type'] = 'application/json';
466
- localVarHeaderParameter['Accept'] = 'application/json';
467
- if (idempotencyKey != null) {
468
- localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey);
469
- }
470
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
471
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
472
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
473
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(requestSplitInvoiceRequestDto, localVarRequestOptions, configuration);
474
- return {
475
- url: (0, common_1.toPathString)(localVarUrlObj),
476
- options: localVarRequestOptions,
477
- };
478
- }),
479
- /**
480
- * 협상에의한계약(낙찰방법 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` 헤더 필수.
481
- * @summary 협상(H/K) 점수평가
482
- * @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
483
- * @param {SubmitNegotiationScoresRequestDto} submitNegotiationScoresRequestDto
484
- * @param {*} [options] Override http request option.
485
- * @throws {RequiredError}
486
- */
487
- submitNegotiationScores: (idempotencyKey_1, submitNegotiationScoresRequestDto_1, ...args_1) => __awaiter(this, [idempotencyKey_1, submitNegotiationScoresRequestDto_1, ...args_1], void 0, function* (idempotencyKey, submitNegotiationScoresRequestDto, options = {}) {
488
- // verify required parameter 'idempotencyKey' is not null or undefined
489
- (0, common_1.assertParamExists)('submitNegotiationScores', 'idempotencyKey', idempotencyKey);
490
- // verify required parameter 'submitNegotiationScoresRequestDto' is not null or undefined
491
- (0, common_1.assertParamExists)('submitNegotiationScores', 'submitNegotiationScoresRequestDto', submitNegotiationScoresRequestDto);
492
- const localVarPath = `/v2/awards/nego-eval`;
493
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
494
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
495
- let baseOptions;
496
- if (configuration) {
497
- baseOptions = configuration.baseOptions;
498
- }
499
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
500
- const localVarHeaderParameter = {};
501
- const localVarQueryParameter = {};
502
- // authentication partner-oauth2 required
503
- // http bearer authentication required
504
- yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
505
- localVarHeaderParameter['Content-Type'] = 'application/json';
506
- localVarHeaderParameter['Accept'] = 'application/json';
507
- if (idempotencyKey != null) {
508
- localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey);
509
- }
510
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
511
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
512
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
513
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(submitNegotiationScoresRequestDto, localVarRequestOptions, configuration);
514
- return {
515
- url: (0, common_1.toPathString)(localVarUrlObj),
516
- options: localVarRequestOptions,
517
- };
518
- }),
519
332
  /**
520
333
  * 스코프 `files:write` + `Idempotency-Key` 헤더 필수. base64 또는 url 중 정확히 하나를 제출한다.
521
334
  * @summary 입찰 첨부파일 업로드(base64 또는 url) → fileKey
@@ -577,39 +390,6 @@ const PartnerV2ApiFp = function (configuration) {
577
390
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
578
391
  });
579
392
  },
580
- /**
581
- * V5 /contractDocumentRec 후속. scope contracts:read.
582
- * @summary 계약서류 수신 조회
583
- * @param {string} bidId
584
- * @param {string} buyerId 공고 명의 회원 ID(b2b_member.member_id).
585
- * @param {*} [options] Override http request option.
586
- * @throws {RequiredError}
587
- */
588
- getBidContractDocuments(bidId, buyerId, options) {
589
- return __awaiter(this, void 0, void 0, function* () {
590
- var _a, _b, _c;
591
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getBidContractDocuments(bidId, buyerId, options);
592
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
593
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PartnerV2Api.getBidContractDocuments']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
594
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
595
- });
596
- },
597
- /**
598
- * V5 /contractDocumentRec(bid_puchase_no_list) 후속. 공고번호 리스트를 한 번에 조회. 단건(GET :bidId/contract-documents)은 그대로 유지. scope contracts:read.
599
- * @summary 계약서류 수신 배치 조회
600
- * @param {BidContractDocumentsBatchRequestDto} bidContractDocumentsBatchRequestDto
601
- * @param {*} [options] Override http request option.
602
- * @throws {RequiredError}
603
- */
604
- getBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto, options) {
605
- return __awaiter(this, void 0, void 0, function* () {
606
- var _a, _b, _c;
607
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto, options);
608
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
609
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PartnerV2Api.getBidContractDocumentsBatch']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
610
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
611
- });
612
- },
613
393
  /**
614
394
  * V5 /entendrec 후속. scope bids:read.
615
395
  * @summary 입찰 결과 조회
@@ -627,22 +407,6 @@ const PartnerV2ApiFp = function (configuration) {
627
407
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
628
408
  });
629
409
  },
630
- /**
631
- * V5 entendRec(bid_puchase_no_list) 후속 — 여러 공고 결과를 1회 호출로(additive, 단건 유지). bidIds(공고 식별자) 또는 purchaseNos(구매번호) 중 하나 — purchaseNos 는 각 PO 의 가장 최근 공고로 해소. 입력 순서를 보존한다. scope bids:read.
632
- * @summary 입찰결과 배치 조회
633
- * @param {BidResultsBatchRequestDto} bidResultsBatchRequestDto
634
- * @param {*} [options] Override http request option.
635
- * @throws {RequiredError}
636
- */
637
- getBidResultsBatch(bidResultsBatchRequestDto, options) {
638
- return __awaiter(this, void 0, void 0, function* () {
639
- var _a, _b, _c;
640
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getBidResultsBatch(bidResultsBatchRequestDto, options);
641
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
642
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PartnerV2Api.getBidResultsBatch']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
643
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
644
- });
645
- },
646
410
  /**
647
411
  * V5 /entendrec 정산(사업자·계좌·공급가액/부가세·응찰 품목내역) 후속. scope bids:read. 가격/신원 가시성 매트릭스와 직교한 ERP 정산 데이터 — read-only.
648
412
  * @summary 입찰결과 정산정보 조회
@@ -741,40 +505,6 @@ const PartnerV2ApiFp = function (configuration) {
741
505
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
742
506
  });
743
507
  },
744
- /**
745
- * 세금계산서 분할 발급 청구를 기록합니다. 발급 엔진이 아니라 \"분할 발급 청구 요청을 접수\"하는 엔드포인트입니다. **V5 대응:** `splitInvoiceRequest` — BidApi.xml `splitInvoice` 액션의 V6 후속. **호출 시점:** 검수완료 후 세금계산서를 분할 발급받고자 할 때. 공급가액과 부가세를 나누어 청구합니다. **부수효과:** - 분할 발급 청구가 기록됩니다(실제 세금계산서 발급은 별도 프로세스). - 작성일자(`issueDate`)는 미래 일자 불가(I5 — V5 `PgBidApiService:220-235` 패리티). 오늘 날짜는 허용. - `issueDate` 미지정 시 backend 기본값 적용. **금액 단위:** 원(KRW) 정수. `supplyAmount`(공급가액) + `vat`(부가세) 합산이 실제 청구 총액. **필수 스코프:** `invoices:write` **멱등성:** `Idempotency-Key` 헤더 필수.
746
- * @summary 계산서 분할 발급 청구
747
- * @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
748
- * @param {RequestSplitInvoiceRequestDto} requestSplitInvoiceRequestDto
749
- * @param {*} [options] Override http request option.
750
- * @throws {RequiredError}
751
- */
752
- requestSplitInvoice(idempotencyKey, requestSplitInvoiceRequestDto, options) {
753
- return __awaiter(this, void 0, void 0, function* () {
754
- var _a, _b, _c;
755
- const localVarAxiosArgs = yield localVarAxiosParamCreator.requestSplitInvoice(idempotencyKey, requestSplitInvoiceRequestDto, options);
756
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
757
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PartnerV2Api.requestSplitInvoice']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
758
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
759
- });
760
- },
761
- /**
762
- * 협상에의한계약(낙찰방법 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` 헤더 필수.
763
- * @summary 협상(H/K) 점수평가
764
- * @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
765
- * @param {SubmitNegotiationScoresRequestDto} submitNegotiationScoresRequestDto
766
- * @param {*} [options] Override http request option.
767
- * @throws {RequiredError}
768
- */
769
- submitNegotiationScores(idempotencyKey, submitNegotiationScoresRequestDto, options) {
770
- return __awaiter(this, void 0, void 0, function* () {
771
- var _a, _b, _c;
772
- const localVarAxiosArgs = yield localVarAxiosParamCreator.submitNegotiationScores(idempotencyKey, submitNegotiationScoresRequestDto, options);
773
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
774
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PartnerV2Api.submitNegotiationScores']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
775
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
776
- });
777
- },
778
508
  /**
779
509
  * 스코프 `files:write` + `Idempotency-Key` 헤더 필수. base64 또는 url 중 정확히 하나를 제출한다.
780
510
  * @summary 입찰 첨부파일 업로드(base64 또는 url) → fileKey
@@ -812,27 +542,6 @@ const PartnerV2ApiFactory = function (configuration, basePath, axios) {
812
542
  completeAcceptance(bidId, idempotencyKey, completeAcceptanceRequestDto, options) {
813
543
  return localVarFp.completeAcceptance(bidId, idempotencyKey, completeAcceptanceRequestDto, options).then((request) => request(axios, basePath));
814
544
  },
815
- /**
816
- * V5 /contractDocumentRec 후속. scope contracts:read.
817
- * @summary 계약서류 수신 조회
818
- * @param {string} bidId
819
- * @param {string} buyerId 공고 명의 회원 ID(b2b_member.member_id).
820
- * @param {*} [options] Override http request option.
821
- * @throws {RequiredError}
822
- */
823
- getBidContractDocuments(bidId, buyerId, options) {
824
- return localVarFp.getBidContractDocuments(bidId, buyerId, options).then((request) => request(axios, basePath));
825
- },
826
- /**
827
- * V5 /contractDocumentRec(bid_puchase_no_list) 후속. 공고번호 리스트를 한 번에 조회. 단건(GET :bidId/contract-documents)은 그대로 유지. scope contracts:read.
828
- * @summary 계약서류 수신 배치 조회
829
- * @param {BidContractDocumentsBatchRequestDto} bidContractDocumentsBatchRequestDto
830
- * @param {*} [options] Override http request option.
831
- * @throws {RequiredError}
832
- */
833
- getBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto, options) {
834
- return localVarFp.getBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto, options).then((request) => request(axios, basePath));
835
- },
836
545
  /**
837
546
  * V5 /entendrec 후속. scope bids:read.
838
547
  * @summary 입찰 결과 조회
@@ -844,16 +553,6 @@ const PartnerV2ApiFactory = function (configuration, basePath, axios) {
844
553
  getBidResults(bidId, buyerId, options) {
845
554
  return localVarFp.getBidResults(bidId, buyerId, options).then((request) => request(axios, basePath));
846
555
  },
847
- /**
848
- * V5 entendRec(bid_puchase_no_list) 후속 — 여러 공고 결과를 1회 호출로(additive, 단건 유지). bidIds(공고 식별자) 또는 purchaseNos(구매번호) 중 하나 — purchaseNos 는 각 PO 의 가장 최근 공고로 해소. 입력 순서를 보존한다. scope bids:read.
849
- * @summary 입찰결과 배치 조회
850
- * @param {BidResultsBatchRequestDto} bidResultsBatchRequestDto
851
- * @param {*} [options] Override http request option.
852
- * @throws {RequiredError}
853
- */
854
- getBidResultsBatch(bidResultsBatchRequestDto, options) {
855
- return localVarFp.getBidResultsBatch(bidResultsBatchRequestDto, options).then((request) => request(axios, basePath));
856
- },
857
556
  /**
858
557
  * V5 /entendrec 정산(사업자·계좌·공급가액/부가세·응찰 품목내역) 후속. scope bids:read. 가격/신원 가시성 매트릭스와 직교한 ERP 정산 데이터 — read-only.
859
558
  * @summary 입찰결과 정산정보 조회
@@ -916,28 +615,6 @@ const PartnerV2ApiFactory = function (configuration, basePath, axios) {
916
615
  registerBid(createBidRequestDto, options) {
917
616
  return localVarFp.registerBid(createBidRequestDto, options).then((request) => request(axios, basePath));
918
617
  },
919
- /**
920
- * 세금계산서 분할 발급 청구를 기록합니다. 발급 엔진이 아니라 \"분할 발급 청구 요청을 접수\"하는 엔드포인트입니다. **V5 대응:** `splitInvoiceRequest` — BidApi.xml `splitInvoice` 액션의 V6 후속. **호출 시점:** 검수완료 후 세금계산서를 분할 발급받고자 할 때. 공급가액과 부가세를 나누어 청구합니다. **부수효과:** - 분할 발급 청구가 기록됩니다(실제 세금계산서 발급은 별도 프로세스). - 작성일자(`issueDate`)는 미래 일자 불가(I5 — V5 `PgBidApiService:220-235` 패리티). 오늘 날짜는 허용. - `issueDate` 미지정 시 backend 기본값 적용. **금액 단위:** 원(KRW) 정수. `supplyAmount`(공급가액) + `vat`(부가세) 합산이 실제 청구 총액. **필수 스코프:** `invoices:write` **멱등성:** `Idempotency-Key` 헤더 필수.
921
- * @summary 계산서 분할 발급 청구
922
- * @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
923
- * @param {RequestSplitInvoiceRequestDto} requestSplitInvoiceRequestDto
924
- * @param {*} [options] Override http request option.
925
- * @throws {RequiredError}
926
- */
927
- requestSplitInvoice(idempotencyKey, requestSplitInvoiceRequestDto, options) {
928
- return localVarFp.requestSplitInvoice(idempotencyKey, requestSplitInvoiceRequestDto, options).then((request) => request(axios, basePath));
929
- },
930
- /**
931
- * 협상에의한계약(낙찰방법 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` 헤더 필수.
932
- * @summary 협상(H/K) 점수평가
933
- * @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
934
- * @param {SubmitNegotiationScoresRequestDto} submitNegotiationScoresRequestDto
935
- * @param {*} [options] Override http request option.
936
- * @throws {RequiredError}
937
- */
938
- submitNegotiationScores(idempotencyKey, submitNegotiationScoresRequestDto, options) {
939
- return localVarFp.submitNegotiationScores(idempotencyKey, submitNegotiationScoresRequestDto, options).then((request) => request(axios, basePath));
940
- },
941
618
  /**
942
619
  * 스코프 `files:write` + `Idempotency-Key` 헤더 필수. base64 또는 url 중 정확히 하나를 제출한다.
943
620
  * @summary 입찰 첨부파일 업로드(base64 또는 url) → fileKey
@@ -967,27 +644,6 @@ class PartnerV2Api extends base_1.BaseAPI {
967
644
  completeAcceptance(bidId, idempotencyKey, completeAcceptanceRequestDto, options) {
968
645
  return (0, exports.PartnerV2ApiFp)(this.configuration).completeAcceptance(bidId, idempotencyKey, completeAcceptanceRequestDto, options).then((request) => request(this.axios, this.basePath));
969
646
  }
970
- /**
971
- * V5 /contractDocumentRec 후속. scope contracts:read.
972
- * @summary 계약서류 수신 조회
973
- * @param {string} bidId
974
- * @param {string} buyerId 공고 명의 회원 ID(b2b_member.member_id).
975
- * @param {*} [options] Override http request option.
976
- * @throws {RequiredError}
977
- */
978
- getBidContractDocuments(bidId, buyerId, options) {
979
- return (0, exports.PartnerV2ApiFp)(this.configuration).getBidContractDocuments(bidId, buyerId, options).then((request) => request(this.axios, this.basePath));
980
- }
981
- /**
982
- * V5 /contractDocumentRec(bid_puchase_no_list) 후속. 공고번호 리스트를 한 번에 조회. 단건(GET :bidId/contract-documents)은 그대로 유지. scope contracts:read.
983
- * @summary 계약서류 수신 배치 조회
984
- * @param {BidContractDocumentsBatchRequestDto} bidContractDocumentsBatchRequestDto
985
- * @param {*} [options] Override http request option.
986
- * @throws {RequiredError}
987
- */
988
- getBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto, options) {
989
- return (0, exports.PartnerV2ApiFp)(this.configuration).getBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto, options).then((request) => request(this.axios, this.basePath));
990
- }
991
647
  /**
992
648
  * V5 /entendrec 후속. scope bids:read.
993
649
  * @summary 입찰 결과 조회
@@ -999,16 +655,6 @@ class PartnerV2Api extends base_1.BaseAPI {
999
655
  getBidResults(bidId, buyerId, options) {
1000
656
  return (0, exports.PartnerV2ApiFp)(this.configuration).getBidResults(bidId, buyerId, options).then((request) => request(this.axios, this.basePath));
1001
657
  }
1002
- /**
1003
- * V5 entendRec(bid_puchase_no_list) 후속 — 여러 공고 결과를 1회 호출로(additive, 단건 유지). bidIds(공고 식별자) 또는 purchaseNos(구매번호) 중 하나 — purchaseNos 는 각 PO 의 가장 최근 공고로 해소. 입력 순서를 보존한다. scope bids:read.
1004
- * @summary 입찰결과 배치 조회
1005
- * @param {BidResultsBatchRequestDto} bidResultsBatchRequestDto
1006
- * @param {*} [options] Override http request option.
1007
- * @throws {RequiredError}
1008
- */
1009
- getBidResultsBatch(bidResultsBatchRequestDto, options) {
1010
- return (0, exports.PartnerV2ApiFp)(this.configuration).getBidResultsBatch(bidResultsBatchRequestDto, options).then((request) => request(this.axios, this.basePath));
1011
- }
1012
658
  /**
1013
659
  * V5 /entendrec 정산(사업자·계좌·공급가액/부가세·응찰 품목내역) 후속. scope bids:read. 가격/신원 가시성 매트릭스와 직교한 ERP 정산 데이터 — read-only.
1014
660
  * @summary 입찰결과 정산정보 조회
@@ -1071,28 +717,6 @@ class PartnerV2Api extends base_1.BaseAPI {
1071
717
  registerBid(createBidRequestDto, options) {
1072
718
  return (0, exports.PartnerV2ApiFp)(this.configuration).registerBid(createBidRequestDto, options).then((request) => request(this.axios, this.basePath));
1073
719
  }
1074
- /**
1075
- * 세금계산서 분할 발급 청구를 기록합니다. 발급 엔진이 아니라 \"분할 발급 청구 요청을 접수\"하는 엔드포인트입니다. **V5 대응:** `splitInvoiceRequest` — BidApi.xml `splitInvoice` 액션의 V6 후속. **호출 시점:** 검수완료 후 세금계산서를 분할 발급받고자 할 때. 공급가액과 부가세를 나누어 청구합니다. **부수효과:** - 분할 발급 청구가 기록됩니다(실제 세금계산서 발급은 별도 프로세스). - 작성일자(`issueDate`)는 미래 일자 불가(I5 — V5 `PgBidApiService:220-235` 패리티). 오늘 날짜는 허용. - `issueDate` 미지정 시 backend 기본값 적용. **금액 단위:** 원(KRW) 정수. `supplyAmount`(공급가액) + `vat`(부가세) 합산이 실제 청구 총액. **필수 스코프:** `invoices:write` **멱등성:** `Idempotency-Key` 헤더 필수.
1076
- * @summary 계산서 분할 발급 청구
1077
- * @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
1078
- * @param {RequestSplitInvoiceRequestDto} requestSplitInvoiceRequestDto
1079
- * @param {*} [options] Override http request option.
1080
- * @throws {RequiredError}
1081
- */
1082
- requestSplitInvoice(idempotencyKey, requestSplitInvoiceRequestDto, options) {
1083
- return (0, exports.PartnerV2ApiFp)(this.configuration).requestSplitInvoice(idempotencyKey, requestSplitInvoiceRequestDto, options).then((request) => request(this.axios, this.basePath));
1084
- }
1085
- /**
1086
- * 협상에의한계약(낙찰방법 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` 헤더 필수.
1087
- * @summary 협상(H/K) 점수평가
1088
- * @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
1089
- * @param {SubmitNegotiationScoresRequestDto} submitNegotiationScoresRequestDto
1090
- * @param {*} [options] Override http request option.
1091
- * @throws {RequiredError}
1092
- */
1093
- submitNegotiationScores(idempotencyKey, submitNegotiationScoresRequestDto, options) {
1094
- return (0, exports.PartnerV2ApiFp)(this.configuration).submitNegotiationScores(idempotencyKey, submitNegotiationScoresRequestDto, options).then((request) => request(this.axios, this.basePath));
1095
- }
1096
720
  /**
1097
721
  * 스코프 `files:write` + `Idempotency-Key` 헤더 필수. base64 또는 url 중 정확히 하나를 제출한다.
1098
722
  * @summary 입찰 첨부파일 업로드(base64 또는 url) → fileKey