@cmarket/partner-sdk 0.1.0 → 0.2.1
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 +37 -6
- package/api/oauth-api.ts +1 -1
- package/api/partner-v1-api.ts +13 -13
- package/api/partner-v2-api.ts +800 -9
- package/api.ts +1 -2
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api/oauth-api.d.ts +1 -1
- package/dist/api/oauth-api.js +1 -1
- package/dist/api/partner-v1-api.d.ts +13 -13
- package/dist/api/partner-v1-api.js +13 -13
- package/dist/api/partner-v2-api.d.ts +359 -9
- package/dist/api/partner-v2-api.js +739 -9
- package/dist/api.d.ts +1 -2
- package/dist/api.js +1 -2
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api/oauth-api.d.ts +1 -1
- package/dist/esm/api/oauth-api.js +1 -1
- package/dist/esm/api/partner-v1-api.d.ts +13 -13
- package/dist/esm/api/partner-v1-api.js +13 -13
- package/dist/esm/api/partner-v2-api.d.ts +359 -9
- package/dist/esm/api/partner-v2-api.js +739 -9
- package/dist/esm/api.d.ts +1 -2
- package/dist/esm/api.js +1 -2
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/models/acceptance-result-response-dto.d.ts +21 -0
- package/dist/esm/models/{legacy-envelope-dto.js → acceptance-result-response-dto.js} +1 -1
- package/dist/esm/models/award-registered-response-dto.d.ts +1 -1
- package/dist/esm/models/award-registered-response-dto.js +1 -1
- package/dist/esm/models/bid-bond-dto.d.ts +1 -1
- package/dist/esm/models/bid-bond-dto.js +1 -1
- package/dist/esm/models/bid-contract-documents-batch-request-dto.d.ts +21 -0
- package/dist/esm/models/bid-contract-documents-batch-request-dto.js +14 -0
- package/dist/esm/models/bid-contract-documents-response-dto.d.ts +26 -0
- package/dist/esm/models/bid-contract-documents-response-dto.js +14 -0
- package/dist/esm/models/bid-created-response-dto.d.ts +1 -1
- package/dist/esm/models/bid-created-response-dto.js +1 -1
- package/dist/esm/models/bid-document-dto.d.ts +1 -1
- package/dist/esm/models/bid-document-dto.js +1 -1
- package/dist/esm/models/bid-failed-response-dto.d.ts +21 -0
- package/dist/esm/models/bid-failed-response-dto.js +14 -0
- package/dist/esm/models/bid-failure-reason.d.ts +25 -0
- package/dist/esm/models/bid-failure-reason.js +26 -0
- package/dist/esm/models/bid-item-dto.d.ts +1 -1
- package/dist/esm/models/bid-item-dto.js +1 -1
- package/dist/esm/models/bid-manager-dto.d.ts +9 -1
- package/dist/esm/models/bid-manager-dto.js +1 -1
- package/dist/esm/models/bid-result-participant-dto.d.ts +65 -0
- package/dist/esm/models/bid-result-participant-dto.js +14 -0
- package/dist/esm/models/bid-result-product-dto.d.ts +25 -0
- package/dist/esm/models/bid-result-product-dto.js +14 -0
- package/dist/esm/models/bid-result-winner-dto.d.ts +25 -0
- package/dist/esm/models/bid-result-winner-dto.js +14 -0
- package/dist/esm/models/bid-results-batch-request-dto.d.ts +21 -0
- package/dist/esm/models/bid-results-batch-request-dto.js +14 -0
- package/dist/esm/models/bid-results-response-dto.d.ts +56 -0
- package/dist/esm/models/bid-results-response-dto.js +14 -0
- package/dist/esm/models/bid-settlement-line-item-dto.d.ts +49 -0
- package/dist/esm/models/bid-settlement-line-item-dto.js +14 -0
- package/dist/esm/models/bid-settlement-participant-dto.d.ts +95 -0
- package/dist/esm/models/bid-settlement-participant-dto.js +17 -0
- package/dist/esm/models/bid-settlement-response-dto.d.ts +22 -0
- package/dist/esm/models/bid-settlement-response-dto.js +14 -0
- package/dist/esm/models/bid-statement-response-dto.d.ts +31 -0
- package/dist/esm/models/bid-statement-response-dto.js +14 -0
- package/dist/esm/models/bid-status.d.ts +2 -2
- package/dist/esm/models/bid-status.js +2 -2
- package/dist/esm/models/bid-summary-response-dto.d.ts +5 -5
- package/dist/esm/models/bid-summary-response-dto.js +1 -1
- package/dist/esm/models/complete-acceptance-request-dto.d.ts +65 -0
- package/dist/esm/models/complete-acceptance-request-dto.js +14 -0
- package/dist/esm/models/contract-document-item-dto.d.ts +29 -0
- package/dist/esm/models/contract-document-item-dto.js +14 -0
- package/dist/esm/models/create-bid-request-dto.d.ts +19 -2
- package/dist/esm/models/create-bid-request-dto.js +5 -1
- package/dist/esm/models/file-uploaded-response-dto.d.ts +1 -1
- package/dist/esm/models/file-uploaded-response-dto.js +1 -1
- package/dist/esm/models/health-response-dto.d.ts +1 -1
- package/dist/esm/models/health-response-dto.js +1 -1
- package/dist/esm/models/hierarchical-region-dto.d.ts +1 -1
- package/dist/esm/models/hierarchical-region-dto.js +1 -1
- package/dist/esm/models/index.d.ts +24 -1
- package/dist/esm/models/index.js +24 -1
- package/dist/esm/models/mark-bid-failed-request-dto.d.ts +30 -0
- package/dist/esm/models/mark-bid-failed-request-dto.js +14 -0
- package/dist/esm/models/negotiation-score-dto.d.ts +25 -0
- package/dist/esm/models/negotiation-score-dto.js +14 -0
- package/dist/esm/models/negotiation-scored-response-dto.d.ts +25 -0
- package/dist/esm/models/negotiation-scored-response-dto.js +14 -0
- package/dist/esm/models/preconditions-dto.d.ts +1 -1
- package/dist/esm/models/preconditions-dto.js +1 -1
- package/dist/esm/models/register-award-request-dto.d.ts +10 -2
- package/dist/esm/models/register-award-request-dto.js +1 -1
- package/dist/esm/models/request-split-invoice-request-dto.d.ts +33 -0
- package/dist/esm/models/request-split-invoice-request-dto.js +14 -0
- package/dist/esm/models/split-invoice-response-dto.d.ts +21 -0
- package/dist/esm/models/split-invoice-response-dto.js +14 -0
- package/dist/esm/models/statement-document-dto.d.ts +25 -0
- package/dist/esm/models/statement-document-dto.js +14 -0
- package/dist/esm/models/statement-product-dto.d.ts +49 -0
- package/dist/esm/models/statement-product-dto.js +14 -0
- package/dist/esm/models/submit-negotiation-scores-request-dto.d.ts +30 -0
- package/dist/esm/models/submit-negotiation-scores-request-dto.js +14 -0
- package/dist/esm/models/token-request-dto.d.ts +1 -1
- package/dist/esm/models/token-request-dto.js +1 -1
- package/dist/esm/models/token-response-dto.d.ts +1 -1
- package/dist/esm/models/token-response-dto.js +1 -1
- package/dist/esm/models/upload-file-request-dto.d.ts +1 -1
- package/dist/esm/models/upload-file-request-dto.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/models/acceptance-result-response-dto.d.ts +21 -0
- package/dist/models/{legacy-envelope-dto.js → acceptance-result-response-dto.js} +1 -1
- package/dist/models/award-registered-response-dto.d.ts +1 -1
- package/dist/models/award-registered-response-dto.js +1 -1
- package/dist/models/bid-bond-dto.d.ts +1 -1
- package/dist/models/bid-bond-dto.js +1 -1
- package/dist/models/bid-contract-documents-batch-request-dto.d.ts +21 -0
- package/dist/models/bid-contract-documents-batch-request-dto.js +15 -0
- package/dist/models/bid-contract-documents-response-dto.d.ts +26 -0
- package/dist/models/bid-contract-documents-response-dto.js +15 -0
- package/dist/models/bid-created-response-dto.d.ts +1 -1
- package/dist/models/bid-created-response-dto.js +1 -1
- package/dist/models/bid-document-dto.d.ts +1 -1
- package/dist/models/bid-document-dto.js +1 -1
- package/dist/models/bid-failed-response-dto.d.ts +21 -0
- package/dist/models/bid-failed-response-dto.js +15 -0
- package/dist/models/bid-failure-reason.d.ts +25 -0
- package/dist/models/bid-failure-reason.js +29 -0
- package/dist/models/bid-item-dto.d.ts +1 -1
- package/dist/models/bid-item-dto.js +1 -1
- package/dist/models/bid-manager-dto.d.ts +9 -1
- package/dist/models/bid-manager-dto.js +1 -1
- package/dist/models/bid-result-participant-dto.d.ts +65 -0
- package/dist/models/bid-result-participant-dto.js +15 -0
- package/dist/models/bid-result-product-dto.d.ts +25 -0
- package/dist/models/bid-result-product-dto.js +15 -0
- package/dist/models/bid-result-winner-dto.d.ts +25 -0
- package/dist/models/bid-result-winner-dto.js +15 -0
- package/dist/models/bid-results-batch-request-dto.d.ts +21 -0
- package/dist/models/bid-results-batch-request-dto.js +15 -0
- package/dist/models/bid-results-response-dto.d.ts +56 -0
- package/dist/models/bid-results-response-dto.js +15 -0
- package/dist/models/bid-settlement-line-item-dto.d.ts +49 -0
- package/dist/models/bid-settlement-line-item-dto.js +15 -0
- package/dist/models/bid-settlement-participant-dto.d.ts +95 -0
- package/dist/models/bid-settlement-participant-dto.js +20 -0
- package/dist/models/bid-settlement-response-dto.d.ts +22 -0
- package/dist/models/bid-settlement-response-dto.js +15 -0
- package/dist/models/bid-statement-response-dto.d.ts +31 -0
- package/dist/models/bid-statement-response-dto.js +15 -0
- package/dist/models/bid-status.d.ts +2 -2
- package/dist/models/bid-status.js +2 -2
- package/dist/models/bid-summary-response-dto.d.ts +5 -5
- package/dist/models/bid-summary-response-dto.js +1 -1
- package/dist/models/complete-acceptance-request-dto.d.ts +65 -0
- package/dist/models/complete-acceptance-request-dto.js +15 -0
- package/dist/models/contract-document-item-dto.d.ts +29 -0
- package/dist/models/contract-document-item-dto.js +15 -0
- package/dist/models/create-bid-request-dto.d.ts +19 -2
- package/dist/models/create-bid-request-dto.js +6 -2
- package/dist/models/file-uploaded-response-dto.d.ts +1 -1
- package/dist/models/file-uploaded-response-dto.js +1 -1
- package/dist/models/health-response-dto.d.ts +1 -1
- package/dist/models/health-response-dto.js +1 -1
- package/dist/models/hierarchical-region-dto.d.ts +1 -1
- package/dist/models/hierarchical-region-dto.js +1 -1
- package/dist/models/index.d.ts +24 -1
- package/dist/models/index.js +24 -1
- package/dist/models/mark-bid-failed-request-dto.d.ts +30 -0
- package/dist/models/mark-bid-failed-request-dto.js +15 -0
- package/dist/models/negotiation-score-dto.d.ts +25 -0
- package/dist/models/negotiation-score-dto.js +15 -0
- package/dist/models/negotiation-scored-response-dto.d.ts +25 -0
- package/dist/models/negotiation-scored-response-dto.js +15 -0
- package/dist/models/preconditions-dto.d.ts +1 -1
- package/dist/models/preconditions-dto.js +1 -1
- package/dist/models/register-award-request-dto.d.ts +10 -2
- package/dist/models/register-award-request-dto.js +1 -1
- package/dist/models/request-split-invoice-request-dto.d.ts +33 -0
- package/dist/models/request-split-invoice-request-dto.js +15 -0
- package/dist/models/split-invoice-response-dto.d.ts +21 -0
- package/dist/models/split-invoice-response-dto.js +15 -0
- package/dist/models/statement-document-dto.d.ts +25 -0
- package/dist/models/statement-document-dto.js +15 -0
- package/dist/models/statement-product-dto.d.ts +49 -0
- package/dist/models/statement-product-dto.js +15 -0
- package/dist/models/submit-negotiation-scores-request-dto.d.ts +30 -0
- package/dist/models/submit-negotiation-scores-request-dto.js +15 -0
- package/dist/models/token-request-dto.d.ts +1 -1
- package/dist/models/token-request-dto.js +1 -1
- package/dist/models/token-response-dto.d.ts +1 -1
- package/dist/models/token-response-dto.js +1 -1
- package/dist/models/upload-file-request-dto.d.ts +1 -1
- package/dist/models/upload-file-request-dto.js +1 -1
- package/docs/AcceptanceResultResponseDto.md +22 -0
- package/docs/BidContractDocumentsBatchRequestDto.md +22 -0
- package/docs/BidContractDocumentsResponseDto.md +24 -0
- package/docs/BidFailedResponseDto.md +22 -0
- package/docs/BidFailureReason.md +23 -0
- package/docs/BidManagerDto.md +4 -0
- package/docs/BidResultParticipantDto.md +44 -0
- package/docs/BidResultProductDto.md +24 -0
- package/docs/BidResultWinnerDto.md +24 -0
- package/docs/BidResultsBatchRequestDto.md +22 -0
- package/docs/BidResultsResponseDto.md +38 -0
- package/docs/BidSettlementLineItemDto.md +36 -0
- package/docs/BidSettlementParticipantDto.md +56 -0
- package/docs/BidSettlementResponseDto.md +22 -0
- package/docs/BidStatementResponseDto.md +26 -0
- package/docs/BidStatus.md +1 -1
- package/docs/BidSummaryResponseDto.md +4 -4
- package/docs/CompleteAcceptanceRequestDto.md +44 -0
- package/docs/ContractDocumentItemDto.md +26 -0
- package/docs/CreateBidRequestDto.md +7 -1
- package/docs/MarkBidFailedRequestDto.md +26 -0
- package/docs/NegotiationScoreDto.md +24 -0
- package/docs/NegotiationScoredResponseDto.md +24 -0
- package/docs/PartnerV1Api.md +3 -3
- package/docs/PartnerV2Api.md +540 -2
- package/docs/RegisterAwardRequestDto.md +5 -1
- package/docs/RequestSplitInvoiceRequestDto.md +28 -0
- package/docs/SplitInvoiceResponseDto.md +22 -0
- package/docs/StatementDocumentDto.md +24 -0
- package/docs/StatementProductDto.md +36 -0
- package/docs/SubmitNegotiationScoresRequestDto.md +26 -0
- package/index.ts +1 -1
- package/models/acceptance-result-response-dto.ts +27 -0
- package/models/award-registered-response-dto.ts +1 -1
- package/models/bid-bond-dto.ts +1 -1
- package/models/bid-contract-documents-batch-request-dto.ts +27 -0
- package/models/bid-contract-documents-response-dto.ts +34 -0
- package/models/bid-created-response-dto.ts +1 -1
- package/models/bid-document-dto.ts +1 -1
- package/models/bid-failed-response-dto.ts +27 -0
- package/models/bid-failure-reason.ts +35 -0
- package/models/bid-item-dto.ts +1 -1
- package/models/bid-manager-dto.ts +9 -1
- package/models/bid-result-participant-dto.ts +71 -0
- package/models/bid-result-product-dto.ts +31 -0
- package/models/bid-result-winner-dto.ts +31 -0
- package/models/bid-results-batch-request-dto.ts +27 -0
- package/models/bid-results-response-dto.ts +68 -0
- package/models/bid-settlement-line-item-dto.ts +55 -0
- package/models/bid-settlement-participant-dto.ts +106 -0
- package/models/bid-settlement-response-dto.ts +30 -0
- package/models/bid-statement-response-dto.ts +41 -0
- package/models/bid-status.ts +2 -2
- package/models/bid-summary-response-dto.ts +5 -5
- package/models/complete-acceptance-request-dto.ts +71 -0
- package/models/contract-document-item-dto.ts +35 -0
- package/models/create-bid-request-dto.ts +20 -2
- package/models/file-uploaded-response-dto.ts +1 -1
- package/models/health-response-dto.ts +1 -1
- package/models/hierarchical-region-dto.ts +1 -1
- package/models/index.ts +24 -1
- package/models/mark-bid-failed-request-dto.ts +40 -0
- package/models/negotiation-score-dto.ts +31 -0
- package/models/{legacy-envelope-dto.ts → negotiation-scored-response-dto.ts} +8 -8
- package/models/preconditions-dto.ts +1 -1
- package/models/register-award-request-dto.ts +10 -2
- package/models/request-split-invoice-request-dto.ts +39 -0
- package/models/split-invoice-response-dto.ts +27 -0
- package/models/statement-document-dto.ts +31 -0
- package/models/statement-product-dto.ts +55 -0
- package/models/submit-negotiation-scores-request-dto.ts +38 -0
- package/models/token-request-dto.ts +1 -1
- package/models/token-response-dto.ts +1 -1
- package/models/upload-file-request-dto.ts +1 -1
- package/package.json +1 -1
- package/.openapi-generator/FILES +0 -57
- package/.openapi-generator/VERSION +0 -1
- package/.openapi-generator-ignore +0 -23
- package/api/partner-v1-legacy-api.ts +0 -178
- package/dist/api/partner-v1-legacy-api.d.ts +0 -91
- package/dist/api/partner-v1-legacy-api.js +0 -181
- package/dist/esm/api/partner-v1-legacy-api.d.ts +0 -91
- package/dist/esm/api/partner-v1-legacy-api.js +0 -174
- package/dist/esm/models/legacy-envelope-dto.d.ts +0 -25
- package/dist/models/legacy-envelope-dto.d.ts +0 -25
- package/docs/LegacyEnvelopeDto.md +0 -24
- package/docs/PartnerV1LegacyApi.md +0 -97
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* CMARKET V6 Partner API
|
|
6
|
-
* 외부 ERP 연동용 RESTful API.
|
|
6
|
+
* 외부 ERP 연동용 RESTful API.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0
|
|
9
9
|
*
|
|
@@ -35,7 +35,297 @@ const base_1 = require("../base");
|
|
|
35
35
|
const PartnerV2ApiAxiosParamCreator = function (configuration) {
|
|
36
36
|
return {
|
|
37
37
|
/**
|
|
38
|
-
* V5 /
|
|
38
|
+
* V5 /acceptanceCompleteSend 후속. scope contracts:write + Idempotency-Key.
|
|
39
|
+
* @summary 검수완료 전송
|
|
40
|
+
* @param {string} bidId
|
|
41
|
+
* @param {CompleteAcceptanceRequestDto} completeAcceptanceRequestDto
|
|
42
|
+
* @param {*} [options] Override http request option.
|
|
43
|
+
* @throws {RequiredError}
|
|
44
|
+
*/
|
|
45
|
+
completeAcceptance: (bidId_1, completeAcceptanceRequestDto_1, ...args_1) => __awaiter(this, [bidId_1, completeAcceptanceRequestDto_1, ...args_1], void 0, function* (bidId, completeAcceptanceRequestDto, options = {}) {
|
|
46
|
+
// verify required parameter 'bidId' is not null or undefined
|
|
47
|
+
(0, common_1.assertParamExists)('completeAcceptance', 'bidId', bidId);
|
|
48
|
+
// verify required parameter 'completeAcceptanceRequestDto' is not null or undefined
|
|
49
|
+
(0, common_1.assertParamExists)('completeAcceptance', 'completeAcceptanceRequestDto', completeAcceptanceRequestDto);
|
|
50
|
+
const localVarPath = `/v2/bids/{bidId}/acceptance`
|
|
51
|
+
.replace('{bidId}', encodeURIComponent(String(bidId)));
|
|
52
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
53
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
54
|
+
let baseOptions;
|
|
55
|
+
if (configuration) {
|
|
56
|
+
baseOptions = configuration.baseOptions;
|
|
57
|
+
}
|
|
58
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
59
|
+
const localVarHeaderParameter = {};
|
|
60
|
+
const localVarQueryParameter = {};
|
|
61
|
+
// authentication partner-oauth2 required
|
|
62
|
+
// http bearer authentication required
|
|
63
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
64
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
65
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
66
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
67
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
68
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
69
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(completeAcceptanceRequestDto, localVarRequestOptions, configuration);
|
|
70
|
+
return {
|
|
71
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
72
|
+
options: localVarRequestOptions,
|
|
73
|
+
};
|
|
74
|
+
}),
|
|
75
|
+
/**
|
|
76
|
+
* V5 /contractDocumentRec 후속. scope contracts:read.
|
|
77
|
+
* @summary 계약서류 수신 조회
|
|
78
|
+
* @param {string} bidId
|
|
79
|
+
* @param {string} buyerId
|
|
80
|
+
* @param {*} [options] Override http request option.
|
|
81
|
+
* @throws {RequiredError}
|
|
82
|
+
*/
|
|
83
|
+
getBidContractDocuments: (bidId_1, buyerId_1, ...args_1) => __awaiter(this, [bidId_1, buyerId_1, ...args_1], void 0, function* (bidId, buyerId, options = {}) {
|
|
84
|
+
// verify required parameter 'bidId' is not null or undefined
|
|
85
|
+
(0, common_1.assertParamExists)('getBidContractDocuments', 'bidId', bidId);
|
|
86
|
+
// verify required parameter 'buyerId' is not null or undefined
|
|
87
|
+
(0, common_1.assertParamExists)('getBidContractDocuments', 'buyerId', buyerId);
|
|
88
|
+
const localVarPath = `/v2/bids/{bidId}/contract-documents`
|
|
89
|
+
.replace('{bidId}', encodeURIComponent(String(bidId)));
|
|
90
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
91
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
92
|
+
let baseOptions;
|
|
93
|
+
if (configuration) {
|
|
94
|
+
baseOptions = configuration.baseOptions;
|
|
95
|
+
}
|
|
96
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
97
|
+
const localVarHeaderParameter = {};
|
|
98
|
+
const localVarQueryParameter = {};
|
|
99
|
+
// authentication partner-oauth2 required
|
|
100
|
+
// http bearer authentication required
|
|
101
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
102
|
+
if (buyerId !== undefined) {
|
|
103
|
+
localVarQueryParameter['buyerId'] = buyerId;
|
|
104
|
+
}
|
|
105
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
106
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
107
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
108
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
109
|
+
return {
|
|
110
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
111
|
+
options: localVarRequestOptions,
|
|
112
|
+
};
|
|
113
|
+
}),
|
|
114
|
+
/**
|
|
115
|
+
* V5 /contractDocumentRec(bid_puchase_no_list) 후속. 공고번호 리스트를 한 번에 조회. 단건(GET :bidId/contract-documents)은 그대로 유지. scope contracts:read.
|
|
116
|
+
* @summary 계약서류 수신 배치 조회
|
|
117
|
+
* @param {BidContractDocumentsBatchRequestDto} bidContractDocumentsBatchRequestDto
|
|
118
|
+
* @param {*} [options] Override http request option.
|
|
119
|
+
* @throws {RequiredError}
|
|
120
|
+
*/
|
|
121
|
+
getBidContractDocumentsBatch: (bidContractDocumentsBatchRequestDto_1, ...args_1) => __awaiter(this, [bidContractDocumentsBatchRequestDto_1, ...args_1], void 0, function* (bidContractDocumentsBatchRequestDto, options = {}) {
|
|
122
|
+
// verify required parameter 'bidContractDocumentsBatchRequestDto' is not null or undefined
|
|
123
|
+
(0, common_1.assertParamExists)('getBidContractDocumentsBatch', 'bidContractDocumentsBatchRequestDto', bidContractDocumentsBatchRequestDto);
|
|
124
|
+
const localVarPath = `/v2/bids/contract-documents/batch`;
|
|
125
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
126
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
127
|
+
let baseOptions;
|
|
128
|
+
if (configuration) {
|
|
129
|
+
baseOptions = configuration.baseOptions;
|
|
130
|
+
}
|
|
131
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
132
|
+
const localVarHeaderParameter = {};
|
|
133
|
+
const localVarQueryParameter = {};
|
|
134
|
+
// authentication partner-oauth2 required
|
|
135
|
+
// http bearer authentication required
|
|
136
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
137
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
138
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
139
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
140
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
141
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
142
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(bidContractDocumentsBatchRequestDto, localVarRequestOptions, configuration);
|
|
143
|
+
return {
|
|
144
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
145
|
+
options: localVarRequestOptions,
|
|
146
|
+
};
|
|
147
|
+
}),
|
|
148
|
+
/**
|
|
149
|
+
* V5 /entendrec 후속. scope bids:read.
|
|
150
|
+
* @summary 입찰 결과 조회
|
|
151
|
+
* @param {string} bidId
|
|
152
|
+
* @param {string} buyerId
|
|
153
|
+
* @param {*} [options] Override http request option.
|
|
154
|
+
* @throws {RequiredError}
|
|
155
|
+
*/
|
|
156
|
+
getBidResults: (bidId_1, buyerId_1, ...args_1) => __awaiter(this, [bidId_1, buyerId_1, ...args_1], void 0, function* (bidId, buyerId, options = {}) {
|
|
157
|
+
// verify required parameter 'bidId' is not null or undefined
|
|
158
|
+
(0, common_1.assertParamExists)('getBidResults', 'bidId', bidId);
|
|
159
|
+
// verify required parameter 'buyerId' is not null or undefined
|
|
160
|
+
(0, common_1.assertParamExists)('getBidResults', 'buyerId', buyerId);
|
|
161
|
+
const localVarPath = `/v2/bids/{bidId}/results`
|
|
162
|
+
.replace('{bidId}', encodeURIComponent(String(bidId)));
|
|
163
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
164
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
165
|
+
let baseOptions;
|
|
166
|
+
if (configuration) {
|
|
167
|
+
baseOptions = configuration.baseOptions;
|
|
168
|
+
}
|
|
169
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
170
|
+
const localVarHeaderParameter = {};
|
|
171
|
+
const localVarQueryParameter = {};
|
|
172
|
+
// authentication partner-oauth2 required
|
|
173
|
+
// http bearer authentication required
|
|
174
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
175
|
+
if (buyerId !== undefined) {
|
|
176
|
+
localVarQueryParameter['buyerId'] = buyerId;
|
|
177
|
+
}
|
|
178
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
179
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
180
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
181
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
182
|
+
return {
|
|
183
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
184
|
+
options: localVarRequestOptions,
|
|
185
|
+
};
|
|
186
|
+
}),
|
|
187
|
+
/**
|
|
188
|
+
* V5 entendRec(bid_puchase_no_list) 후속 — 여러 공고 결과를 1회 호출로(additive, 단건 유지). 입력 순서를 보존한다. scope bids:read.
|
|
189
|
+
* @summary 입찰결과 배치 조회
|
|
190
|
+
* @param {BidResultsBatchRequestDto} bidResultsBatchRequestDto
|
|
191
|
+
* @param {*} [options] Override http request option.
|
|
192
|
+
* @throws {RequiredError}
|
|
193
|
+
*/
|
|
194
|
+
getBidResultsBatch: (bidResultsBatchRequestDto_1, ...args_1) => __awaiter(this, [bidResultsBatchRequestDto_1, ...args_1], void 0, function* (bidResultsBatchRequestDto, options = {}) {
|
|
195
|
+
// verify required parameter 'bidResultsBatchRequestDto' is not null or undefined
|
|
196
|
+
(0, common_1.assertParamExists)('getBidResultsBatch', 'bidResultsBatchRequestDto', bidResultsBatchRequestDto);
|
|
197
|
+
const localVarPath = `/v2/bids/results/batch`;
|
|
198
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
199
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
200
|
+
let baseOptions;
|
|
201
|
+
if (configuration) {
|
|
202
|
+
baseOptions = configuration.baseOptions;
|
|
203
|
+
}
|
|
204
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
205
|
+
const localVarHeaderParameter = {};
|
|
206
|
+
const localVarQueryParameter = {};
|
|
207
|
+
// authentication partner-oauth2 required
|
|
208
|
+
// http bearer authentication required
|
|
209
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
210
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
211
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
212
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
213
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
214
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
215
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(bidResultsBatchRequestDto, localVarRequestOptions, configuration);
|
|
216
|
+
return {
|
|
217
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
218
|
+
options: localVarRequestOptions,
|
|
219
|
+
};
|
|
220
|
+
}),
|
|
221
|
+
/**
|
|
222
|
+
* V5 /entendrec 정산(사업자·계좌·공급가액/부가세·응찰 품목내역) 후속. scope bids:read. 가격/신원 가시성 매트릭스와 직교한 ERP 정산 데이터 — read-only.
|
|
223
|
+
* @summary 입찰결과 정산정보 조회
|
|
224
|
+
* @param {string} bidId
|
|
225
|
+
* @param {*} [options] Override http request option.
|
|
226
|
+
* @throws {RequiredError}
|
|
227
|
+
*/
|
|
228
|
+
getBidSettlement: (bidId_1, ...args_1) => __awaiter(this, [bidId_1, ...args_1], void 0, function* (bidId, options = {}) {
|
|
229
|
+
// verify required parameter 'bidId' is not null or undefined
|
|
230
|
+
(0, common_1.assertParamExists)('getBidSettlement', 'bidId', bidId);
|
|
231
|
+
const localVarPath = `/v2/bids/{bidId}/settlement`
|
|
232
|
+
.replace('{bidId}', encodeURIComponent(String(bidId)));
|
|
233
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
234
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
235
|
+
let baseOptions;
|
|
236
|
+
if (configuration) {
|
|
237
|
+
baseOptions = configuration.baseOptions;
|
|
238
|
+
}
|
|
239
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
240
|
+
const localVarHeaderParameter = {};
|
|
241
|
+
const localVarQueryParameter = {};
|
|
242
|
+
// authentication partner-oauth2 required
|
|
243
|
+
// http bearer authentication required
|
|
244
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
245
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
246
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
247
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
248
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
249
|
+
return {
|
|
250
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
251
|
+
options: localVarRequestOptions,
|
|
252
|
+
};
|
|
253
|
+
}),
|
|
254
|
+
/**
|
|
255
|
+
* V5 /getGrm 후속. scope contracts:read.
|
|
256
|
+
* @summary 거래명세서 조회
|
|
257
|
+
* @param {string} bidId
|
|
258
|
+
* @param {number} paperCode
|
|
259
|
+
* @param {*} [options] Override http request option.
|
|
260
|
+
* @throws {RequiredError}
|
|
261
|
+
*/
|
|
262
|
+
getBidStatement: (bidId_1, paperCode_1, ...args_1) => __awaiter(this, [bidId_1, paperCode_1, ...args_1], void 0, function* (bidId, paperCode, options = {}) {
|
|
263
|
+
// verify required parameter 'bidId' is not null or undefined
|
|
264
|
+
(0, common_1.assertParamExists)('getBidStatement', 'bidId', bidId);
|
|
265
|
+
// verify required parameter 'paperCode' is not null or undefined
|
|
266
|
+
(0, common_1.assertParamExists)('getBidStatement', 'paperCode', paperCode);
|
|
267
|
+
const localVarPath = `/v2/bids/{bidId}/statement`
|
|
268
|
+
.replace('{bidId}', encodeURIComponent(String(bidId)));
|
|
269
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
270
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
271
|
+
let baseOptions;
|
|
272
|
+
if (configuration) {
|
|
273
|
+
baseOptions = configuration.baseOptions;
|
|
274
|
+
}
|
|
275
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
276
|
+
const localVarHeaderParameter = {};
|
|
277
|
+
const localVarQueryParameter = {};
|
|
278
|
+
// authentication partner-oauth2 required
|
|
279
|
+
// http bearer authentication required
|
|
280
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
281
|
+
if (paperCode !== undefined) {
|
|
282
|
+
localVarQueryParameter['paperCode'] = paperCode;
|
|
283
|
+
}
|
|
284
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
285
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
286
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
287
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
288
|
+
return {
|
|
289
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
290
|
+
options: localVarRequestOptions,
|
|
291
|
+
};
|
|
292
|
+
}),
|
|
293
|
+
/**
|
|
294
|
+
* 유찰 처리(V5 yoochal 패리티). 유찰사유 코드(1~8)·상세를 받아 공고를 유찰 상태로 전환. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
295
|
+
* @summary 유찰 처리
|
|
296
|
+
* @param {MarkBidFailedRequestDto} markBidFailedRequestDto
|
|
297
|
+
* @param {*} [options] Override http request option.
|
|
298
|
+
* @throws {RequiredError}
|
|
299
|
+
*/
|
|
300
|
+
markBidFailed: (markBidFailedRequestDto_1, ...args_1) => __awaiter(this, [markBidFailedRequestDto_1, ...args_1], void 0, function* (markBidFailedRequestDto, options = {}) {
|
|
301
|
+
// verify required parameter 'markBidFailedRequestDto' is not null or undefined
|
|
302
|
+
(0, common_1.assertParamExists)('markBidFailed', 'markBidFailedRequestDto', markBidFailedRequestDto);
|
|
303
|
+
const localVarPath = `/v2/awards/fail`;
|
|
304
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
305
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
306
|
+
let baseOptions;
|
|
307
|
+
if (configuration) {
|
|
308
|
+
baseOptions = configuration.baseOptions;
|
|
309
|
+
}
|
|
310
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
311
|
+
const localVarHeaderParameter = {};
|
|
312
|
+
const localVarQueryParameter = {};
|
|
313
|
+
// authentication partner-oauth2 required
|
|
314
|
+
// http bearer authentication required
|
|
315
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
316
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
317
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
318
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
319
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
320
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
321
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(markBidFailedRequestDto, localVarRequestOptions, configuration);
|
|
322
|
+
return {
|
|
323
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
324
|
+
options: localVarRequestOptions,
|
|
325
|
+
};
|
|
326
|
+
}),
|
|
327
|
+
/**
|
|
328
|
+
* 낙찰 결과 등록. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
39
329
|
* @summary 낙찰 결과 전송
|
|
40
330
|
* @param {RegisterAwardRequestDto} registerAwardRequestDto
|
|
41
331
|
* @param {*} [options] Override http request option.
|
|
@@ -69,7 +359,7 @@ const PartnerV2ApiAxiosParamCreator = function (configuration) {
|
|
|
69
359
|
};
|
|
70
360
|
}),
|
|
71
361
|
/**
|
|
72
|
-
*
|
|
362
|
+
* 입찰 정보 등록. 스코프 `bids:write` + `Idempotency-Key` 헤더 필수.
|
|
73
363
|
* @summary 입찰 정보 전송(등록)
|
|
74
364
|
* @param {CreateBidRequestDto} createBidRequestDto
|
|
75
365
|
* @param {*} [options] Override http request option.
|
|
@@ -102,6 +392,74 @@ const PartnerV2ApiAxiosParamCreator = function (configuration) {
|
|
|
102
392
|
options: localVarRequestOptions,
|
|
103
393
|
};
|
|
104
394
|
}),
|
|
395
|
+
/**
|
|
396
|
+
* V5 /splitInvoiceRequest 후속. scope invoices:write + Idempotency-Key.
|
|
397
|
+
* @summary 계산서 분할 발급 청구
|
|
398
|
+
* @param {RequestSplitInvoiceRequestDto} requestSplitInvoiceRequestDto
|
|
399
|
+
* @param {*} [options] Override http request option.
|
|
400
|
+
* @throws {RequiredError}
|
|
401
|
+
*/
|
|
402
|
+
requestSplitInvoice: (requestSplitInvoiceRequestDto_1, ...args_1) => __awaiter(this, [requestSplitInvoiceRequestDto_1, ...args_1], void 0, function* (requestSplitInvoiceRequestDto, options = {}) {
|
|
403
|
+
// verify required parameter 'requestSplitInvoiceRequestDto' is not null or undefined
|
|
404
|
+
(0, common_1.assertParamExists)('requestSplitInvoice', 'requestSplitInvoiceRequestDto', requestSplitInvoiceRequestDto);
|
|
405
|
+
const localVarPath = `/v2/invoices/split-requests`;
|
|
406
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
407
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
408
|
+
let baseOptions;
|
|
409
|
+
if (configuration) {
|
|
410
|
+
baseOptions = configuration.baseOptions;
|
|
411
|
+
}
|
|
412
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
413
|
+
const localVarHeaderParameter = {};
|
|
414
|
+
const localVarQueryParameter = {};
|
|
415
|
+
// authentication partner-oauth2 required
|
|
416
|
+
// http bearer authentication required
|
|
417
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
418
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
419
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
420
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
421
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
422
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
423
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(requestSplitInvoiceRequestDto, localVarRequestOptions, configuration);
|
|
424
|
+
return {
|
|
425
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
426
|
+
options: localVarRequestOptions,
|
|
427
|
+
};
|
|
428
|
+
}),
|
|
429
|
+
/**
|
|
430
|
+
* 협상에의한계약(H/K) 응찰자별 기술/가격 점수 일괄 입력(V5 nego-eval 패리티). complete=true 면 평가완료 게이트까지 적용해 낙찰 진입 가능. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
431
|
+
* @summary 협상(H/K) 점수평가
|
|
432
|
+
* @param {SubmitNegotiationScoresRequestDto} submitNegotiationScoresRequestDto
|
|
433
|
+
* @param {*} [options] Override http request option.
|
|
434
|
+
* @throws {RequiredError}
|
|
435
|
+
*/
|
|
436
|
+
submitNegotiationScores: (submitNegotiationScoresRequestDto_1, ...args_1) => __awaiter(this, [submitNegotiationScoresRequestDto_1, ...args_1], void 0, function* (submitNegotiationScoresRequestDto, options = {}) {
|
|
437
|
+
// verify required parameter 'submitNegotiationScoresRequestDto' is not null or undefined
|
|
438
|
+
(0, common_1.assertParamExists)('submitNegotiationScores', 'submitNegotiationScoresRequestDto', submitNegotiationScoresRequestDto);
|
|
439
|
+
const localVarPath = `/v2/awards/nego-eval`;
|
|
440
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
441
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
442
|
+
let baseOptions;
|
|
443
|
+
if (configuration) {
|
|
444
|
+
baseOptions = configuration.baseOptions;
|
|
445
|
+
}
|
|
446
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
447
|
+
const localVarHeaderParameter = {};
|
|
448
|
+
const localVarQueryParameter = {};
|
|
449
|
+
// authentication partner-oauth2 required
|
|
450
|
+
// http bearer authentication required
|
|
451
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
452
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
453
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
454
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
455
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
456
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
457
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(submitNegotiationScoresRequestDto, localVarRequestOptions, configuration);
|
|
458
|
+
return {
|
|
459
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
460
|
+
options: localVarRequestOptions,
|
|
461
|
+
};
|
|
462
|
+
}),
|
|
105
463
|
/**
|
|
106
464
|
* 스코프 `files:write` 필수. base64 또는 url 중 하나를 제출한다.
|
|
107
465
|
* @summary 입찰 첨부파일 업로드(base64 또는 url) → fileKey
|
|
@@ -146,7 +504,139 @@ const PartnerV2ApiFp = function (configuration) {
|
|
|
146
504
|
const localVarAxiosParamCreator = (0, exports.PartnerV2ApiAxiosParamCreator)(configuration);
|
|
147
505
|
return {
|
|
148
506
|
/**
|
|
149
|
-
* V5 /
|
|
507
|
+
* V5 /acceptanceCompleteSend 후속. scope contracts:write + Idempotency-Key.
|
|
508
|
+
* @summary 검수완료 전송
|
|
509
|
+
* @param {string} bidId
|
|
510
|
+
* @param {CompleteAcceptanceRequestDto} completeAcceptanceRequestDto
|
|
511
|
+
* @param {*} [options] Override http request option.
|
|
512
|
+
* @throws {RequiredError}
|
|
513
|
+
*/
|
|
514
|
+
completeAcceptance(bidId, completeAcceptanceRequestDto, options) {
|
|
515
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
516
|
+
var _a, _b, _c;
|
|
517
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.completeAcceptance(bidId, completeAcceptanceRequestDto, options);
|
|
518
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
519
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PartnerV2Api.completeAcceptance']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
520
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
521
|
+
});
|
|
522
|
+
},
|
|
523
|
+
/**
|
|
524
|
+
* V5 /contractDocumentRec 후속. scope contracts:read.
|
|
525
|
+
* @summary 계약서류 수신 조회
|
|
526
|
+
* @param {string} bidId
|
|
527
|
+
* @param {string} buyerId
|
|
528
|
+
* @param {*} [options] Override http request option.
|
|
529
|
+
* @throws {RequiredError}
|
|
530
|
+
*/
|
|
531
|
+
getBidContractDocuments(bidId, buyerId, options) {
|
|
532
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
533
|
+
var _a, _b, _c;
|
|
534
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getBidContractDocuments(bidId, buyerId, options);
|
|
535
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
536
|
+
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;
|
|
537
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
538
|
+
});
|
|
539
|
+
},
|
|
540
|
+
/**
|
|
541
|
+
* V5 /contractDocumentRec(bid_puchase_no_list) 후속. 공고번호 리스트를 한 번에 조회. 단건(GET :bidId/contract-documents)은 그대로 유지. scope contracts:read.
|
|
542
|
+
* @summary 계약서류 수신 배치 조회
|
|
543
|
+
* @param {BidContractDocumentsBatchRequestDto} bidContractDocumentsBatchRequestDto
|
|
544
|
+
* @param {*} [options] Override http request option.
|
|
545
|
+
* @throws {RequiredError}
|
|
546
|
+
*/
|
|
547
|
+
getBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto, options) {
|
|
548
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
549
|
+
var _a, _b, _c;
|
|
550
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto, options);
|
|
551
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
552
|
+
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;
|
|
553
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
554
|
+
});
|
|
555
|
+
},
|
|
556
|
+
/**
|
|
557
|
+
* V5 /entendrec 후속. scope bids:read.
|
|
558
|
+
* @summary 입찰 결과 조회
|
|
559
|
+
* @param {string} bidId
|
|
560
|
+
* @param {string} buyerId
|
|
561
|
+
* @param {*} [options] Override http request option.
|
|
562
|
+
* @throws {RequiredError}
|
|
563
|
+
*/
|
|
564
|
+
getBidResults(bidId, buyerId, options) {
|
|
565
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
566
|
+
var _a, _b, _c;
|
|
567
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getBidResults(bidId, buyerId, options);
|
|
568
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
569
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PartnerV2Api.getBidResults']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
570
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
571
|
+
});
|
|
572
|
+
},
|
|
573
|
+
/**
|
|
574
|
+
* V5 entendRec(bid_puchase_no_list) 후속 — 여러 공고 결과를 1회 호출로(additive, 단건 유지). 입력 순서를 보존한다. scope bids:read.
|
|
575
|
+
* @summary 입찰결과 배치 조회
|
|
576
|
+
* @param {BidResultsBatchRequestDto} bidResultsBatchRequestDto
|
|
577
|
+
* @param {*} [options] Override http request option.
|
|
578
|
+
* @throws {RequiredError}
|
|
579
|
+
*/
|
|
580
|
+
getBidResultsBatch(bidResultsBatchRequestDto, options) {
|
|
581
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
582
|
+
var _a, _b, _c;
|
|
583
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getBidResultsBatch(bidResultsBatchRequestDto, options);
|
|
584
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
585
|
+
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;
|
|
586
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
587
|
+
});
|
|
588
|
+
},
|
|
589
|
+
/**
|
|
590
|
+
* V5 /entendrec 정산(사업자·계좌·공급가액/부가세·응찰 품목내역) 후속. scope bids:read. 가격/신원 가시성 매트릭스와 직교한 ERP 정산 데이터 — read-only.
|
|
591
|
+
* @summary 입찰결과 정산정보 조회
|
|
592
|
+
* @param {string} bidId
|
|
593
|
+
* @param {*} [options] Override http request option.
|
|
594
|
+
* @throws {RequiredError}
|
|
595
|
+
*/
|
|
596
|
+
getBidSettlement(bidId, options) {
|
|
597
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
598
|
+
var _a, _b, _c;
|
|
599
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getBidSettlement(bidId, options);
|
|
600
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
601
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PartnerV2Api.getBidSettlement']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
602
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
603
|
+
});
|
|
604
|
+
},
|
|
605
|
+
/**
|
|
606
|
+
* V5 /getGrm 후속. scope contracts:read.
|
|
607
|
+
* @summary 거래명세서 조회
|
|
608
|
+
* @param {string} bidId
|
|
609
|
+
* @param {number} paperCode
|
|
610
|
+
* @param {*} [options] Override http request option.
|
|
611
|
+
* @throws {RequiredError}
|
|
612
|
+
*/
|
|
613
|
+
getBidStatement(bidId, paperCode, options) {
|
|
614
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
615
|
+
var _a, _b, _c;
|
|
616
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getBidStatement(bidId, paperCode, options);
|
|
617
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
618
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PartnerV2Api.getBidStatement']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
619
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
620
|
+
});
|
|
621
|
+
},
|
|
622
|
+
/**
|
|
623
|
+
* 유찰 처리(V5 yoochal 패리티). 유찰사유 코드(1~8)·상세를 받아 공고를 유찰 상태로 전환. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
624
|
+
* @summary 유찰 처리
|
|
625
|
+
* @param {MarkBidFailedRequestDto} markBidFailedRequestDto
|
|
626
|
+
* @param {*} [options] Override http request option.
|
|
627
|
+
* @throws {RequiredError}
|
|
628
|
+
*/
|
|
629
|
+
markBidFailed(markBidFailedRequestDto, options) {
|
|
630
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
631
|
+
var _a, _b, _c;
|
|
632
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.markBidFailed(markBidFailedRequestDto, options);
|
|
633
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
634
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PartnerV2Api.markBidFailed']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
635
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
636
|
+
});
|
|
637
|
+
},
|
|
638
|
+
/**
|
|
639
|
+
* 낙찰 결과 등록. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
150
640
|
* @summary 낙찰 결과 전송
|
|
151
641
|
* @param {RegisterAwardRequestDto} registerAwardRequestDto
|
|
152
642
|
* @param {*} [options] Override http request option.
|
|
@@ -162,7 +652,7 @@ const PartnerV2ApiFp = function (configuration) {
|
|
|
162
652
|
});
|
|
163
653
|
},
|
|
164
654
|
/**
|
|
165
|
-
*
|
|
655
|
+
* 입찰 정보 등록. 스코프 `bids:write` + `Idempotency-Key` 헤더 필수.
|
|
166
656
|
* @summary 입찰 정보 전송(등록)
|
|
167
657
|
* @param {CreateBidRequestDto} createBidRequestDto
|
|
168
658
|
* @param {*} [options] Override http request option.
|
|
@@ -177,6 +667,38 @@ const PartnerV2ApiFp = function (configuration) {
|
|
|
177
667
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
178
668
|
});
|
|
179
669
|
},
|
|
670
|
+
/**
|
|
671
|
+
* V5 /splitInvoiceRequest 후속. scope invoices:write + Idempotency-Key.
|
|
672
|
+
* @summary 계산서 분할 발급 청구
|
|
673
|
+
* @param {RequestSplitInvoiceRequestDto} requestSplitInvoiceRequestDto
|
|
674
|
+
* @param {*} [options] Override http request option.
|
|
675
|
+
* @throws {RequiredError}
|
|
676
|
+
*/
|
|
677
|
+
requestSplitInvoice(requestSplitInvoiceRequestDto, options) {
|
|
678
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
679
|
+
var _a, _b, _c;
|
|
680
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.requestSplitInvoice(requestSplitInvoiceRequestDto, options);
|
|
681
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
682
|
+
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;
|
|
683
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
684
|
+
});
|
|
685
|
+
},
|
|
686
|
+
/**
|
|
687
|
+
* 협상에의한계약(H/K) 응찰자별 기술/가격 점수 일괄 입력(V5 nego-eval 패리티). complete=true 면 평가완료 게이트까지 적용해 낙찰 진입 가능. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
688
|
+
* @summary 협상(H/K) 점수평가
|
|
689
|
+
* @param {SubmitNegotiationScoresRequestDto} submitNegotiationScoresRequestDto
|
|
690
|
+
* @param {*} [options] Override http request option.
|
|
691
|
+
* @throws {RequiredError}
|
|
692
|
+
*/
|
|
693
|
+
submitNegotiationScores(submitNegotiationScoresRequestDto, options) {
|
|
694
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
695
|
+
var _a, _b, _c;
|
|
696
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.submitNegotiationScores(submitNegotiationScoresRequestDto, options);
|
|
697
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
698
|
+
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;
|
|
699
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
700
|
+
});
|
|
701
|
+
},
|
|
180
702
|
/**
|
|
181
703
|
* 스코프 `files:write` 필수. base64 또는 url 중 하나를 제출한다.
|
|
182
704
|
* @summary 입찰 첨부파일 업로드(base64 또는 url) → fileKey
|
|
@@ -203,7 +725,91 @@ const PartnerV2ApiFactory = function (configuration, basePath, axios) {
|
|
|
203
725
|
const localVarFp = (0, exports.PartnerV2ApiFp)(configuration);
|
|
204
726
|
return {
|
|
205
727
|
/**
|
|
206
|
-
* V5 /
|
|
728
|
+
* V5 /acceptanceCompleteSend 후속. scope contracts:write + Idempotency-Key.
|
|
729
|
+
* @summary 검수완료 전송
|
|
730
|
+
* @param {string} bidId
|
|
731
|
+
* @param {CompleteAcceptanceRequestDto} completeAcceptanceRequestDto
|
|
732
|
+
* @param {*} [options] Override http request option.
|
|
733
|
+
* @throws {RequiredError}
|
|
734
|
+
*/
|
|
735
|
+
completeAcceptance(bidId, completeAcceptanceRequestDto, options) {
|
|
736
|
+
return localVarFp.completeAcceptance(bidId, completeAcceptanceRequestDto, options).then((request) => request(axios, basePath));
|
|
737
|
+
},
|
|
738
|
+
/**
|
|
739
|
+
* V5 /contractDocumentRec 후속. scope contracts:read.
|
|
740
|
+
* @summary 계약서류 수신 조회
|
|
741
|
+
* @param {string} bidId
|
|
742
|
+
* @param {string} buyerId
|
|
743
|
+
* @param {*} [options] Override http request option.
|
|
744
|
+
* @throws {RequiredError}
|
|
745
|
+
*/
|
|
746
|
+
getBidContractDocuments(bidId, buyerId, options) {
|
|
747
|
+
return localVarFp.getBidContractDocuments(bidId, buyerId, options).then((request) => request(axios, basePath));
|
|
748
|
+
},
|
|
749
|
+
/**
|
|
750
|
+
* V5 /contractDocumentRec(bid_puchase_no_list) 후속. 공고번호 리스트를 한 번에 조회. 단건(GET :bidId/contract-documents)은 그대로 유지. scope contracts:read.
|
|
751
|
+
* @summary 계약서류 수신 배치 조회
|
|
752
|
+
* @param {BidContractDocumentsBatchRequestDto} bidContractDocumentsBatchRequestDto
|
|
753
|
+
* @param {*} [options] Override http request option.
|
|
754
|
+
* @throws {RequiredError}
|
|
755
|
+
*/
|
|
756
|
+
getBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto, options) {
|
|
757
|
+
return localVarFp.getBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto, options).then((request) => request(axios, basePath));
|
|
758
|
+
},
|
|
759
|
+
/**
|
|
760
|
+
* V5 /entendrec 후속. scope bids:read.
|
|
761
|
+
* @summary 입찰 결과 조회
|
|
762
|
+
* @param {string} bidId
|
|
763
|
+
* @param {string} buyerId
|
|
764
|
+
* @param {*} [options] Override http request option.
|
|
765
|
+
* @throws {RequiredError}
|
|
766
|
+
*/
|
|
767
|
+
getBidResults(bidId, buyerId, options) {
|
|
768
|
+
return localVarFp.getBidResults(bidId, buyerId, options).then((request) => request(axios, basePath));
|
|
769
|
+
},
|
|
770
|
+
/**
|
|
771
|
+
* V5 entendRec(bid_puchase_no_list) 후속 — 여러 공고 결과를 1회 호출로(additive, 단건 유지). 입력 순서를 보존한다. scope bids:read.
|
|
772
|
+
* @summary 입찰결과 배치 조회
|
|
773
|
+
* @param {BidResultsBatchRequestDto} bidResultsBatchRequestDto
|
|
774
|
+
* @param {*} [options] Override http request option.
|
|
775
|
+
* @throws {RequiredError}
|
|
776
|
+
*/
|
|
777
|
+
getBidResultsBatch(bidResultsBatchRequestDto, options) {
|
|
778
|
+
return localVarFp.getBidResultsBatch(bidResultsBatchRequestDto, options).then((request) => request(axios, basePath));
|
|
779
|
+
},
|
|
780
|
+
/**
|
|
781
|
+
* V5 /entendrec 정산(사업자·계좌·공급가액/부가세·응찰 품목내역) 후속. scope bids:read. 가격/신원 가시성 매트릭스와 직교한 ERP 정산 데이터 — read-only.
|
|
782
|
+
* @summary 입찰결과 정산정보 조회
|
|
783
|
+
* @param {string} bidId
|
|
784
|
+
* @param {*} [options] Override http request option.
|
|
785
|
+
* @throws {RequiredError}
|
|
786
|
+
*/
|
|
787
|
+
getBidSettlement(bidId, options) {
|
|
788
|
+
return localVarFp.getBidSettlement(bidId, options).then((request) => request(axios, basePath));
|
|
789
|
+
},
|
|
790
|
+
/**
|
|
791
|
+
* V5 /getGrm 후속. scope contracts:read.
|
|
792
|
+
* @summary 거래명세서 조회
|
|
793
|
+
* @param {string} bidId
|
|
794
|
+
* @param {number} paperCode
|
|
795
|
+
* @param {*} [options] Override http request option.
|
|
796
|
+
* @throws {RequiredError}
|
|
797
|
+
*/
|
|
798
|
+
getBidStatement(bidId, paperCode, options) {
|
|
799
|
+
return localVarFp.getBidStatement(bidId, paperCode, options).then((request) => request(axios, basePath));
|
|
800
|
+
},
|
|
801
|
+
/**
|
|
802
|
+
* 유찰 처리(V5 yoochal 패리티). 유찰사유 코드(1~8)·상세를 받아 공고를 유찰 상태로 전환. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
803
|
+
* @summary 유찰 처리
|
|
804
|
+
* @param {MarkBidFailedRequestDto} markBidFailedRequestDto
|
|
805
|
+
* @param {*} [options] Override http request option.
|
|
806
|
+
* @throws {RequiredError}
|
|
807
|
+
*/
|
|
808
|
+
markBidFailed(markBidFailedRequestDto, options) {
|
|
809
|
+
return localVarFp.markBidFailed(markBidFailedRequestDto, options).then((request) => request(axios, basePath));
|
|
810
|
+
},
|
|
811
|
+
/**
|
|
812
|
+
* 낙찰 결과 등록. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
207
813
|
* @summary 낙찰 결과 전송
|
|
208
814
|
* @param {RegisterAwardRequestDto} registerAwardRequestDto
|
|
209
815
|
* @param {*} [options] Override http request option.
|
|
@@ -213,7 +819,7 @@ const PartnerV2ApiFactory = function (configuration, basePath, axios) {
|
|
|
213
819
|
return localVarFp.registerAward(registerAwardRequestDto, options).then((request) => request(axios, basePath));
|
|
214
820
|
},
|
|
215
821
|
/**
|
|
216
|
-
*
|
|
822
|
+
* 입찰 정보 등록. 스코프 `bids:write` + `Idempotency-Key` 헤더 필수.
|
|
217
823
|
* @summary 입찰 정보 전송(등록)
|
|
218
824
|
* @param {CreateBidRequestDto} createBidRequestDto
|
|
219
825
|
* @param {*} [options] Override http request option.
|
|
@@ -222,6 +828,26 @@ const PartnerV2ApiFactory = function (configuration, basePath, axios) {
|
|
|
222
828
|
registerBid(createBidRequestDto, options) {
|
|
223
829
|
return localVarFp.registerBid(createBidRequestDto, options).then((request) => request(axios, basePath));
|
|
224
830
|
},
|
|
831
|
+
/**
|
|
832
|
+
* V5 /splitInvoiceRequest 후속. scope invoices:write + Idempotency-Key.
|
|
833
|
+
* @summary 계산서 분할 발급 청구
|
|
834
|
+
* @param {RequestSplitInvoiceRequestDto} requestSplitInvoiceRequestDto
|
|
835
|
+
* @param {*} [options] Override http request option.
|
|
836
|
+
* @throws {RequiredError}
|
|
837
|
+
*/
|
|
838
|
+
requestSplitInvoice(requestSplitInvoiceRequestDto, options) {
|
|
839
|
+
return localVarFp.requestSplitInvoice(requestSplitInvoiceRequestDto, options).then((request) => request(axios, basePath));
|
|
840
|
+
},
|
|
841
|
+
/**
|
|
842
|
+
* 협상에의한계약(H/K) 응찰자별 기술/가격 점수 일괄 입력(V5 nego-eval 패리티). complete=true 면 평가완료 게이트까지 적용해 낙찰 진입 가능. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
843
|
+
* @summary 협상(H/K) 점수평가
|
|
844
|
+
* @param {SubmitNegotiationScoresRequestDto} submitNegotiationScoresRequestDto
|
|
845
|
+
* @param {*} [options] Override http request option.
|
|
846
|
+
* @throws {RequiredError}
|
|
847
|
+
*/
|
|
848
|
+
submitNegotiationScores(submitNegotiationScoresRequestDto, options) {
|
|
849
|
+
return localVarFp.submitNegotiationScores(submitNegotiationScoresRequestDto, options).then((request) => request(axios, basePath));
|
|
850
|
+
},
|
|
225
851
|
/**
|
|
226
852
|
* 스코프 `files:write` 필수. base64 또는 url 중 하나를 제출한다.
|
|
227
853
|
* @summary 입찰 첨부파일 업로드(base64 또는 url) → fileKey
|
|
@@ -240,7 +866,91 @@ exports.PartnerV2ApiFactory = PartnerV2ApiFactory;
|
|
|
240
866
|
*/
|
|
241
867
|
class PartnerV2Api extends base_1.BaseAPI {
|
|
242
868
|
/**
|
|
243
|
-
* V5 /
|
|
869
|
+
* V5 /acceptanceCompleteSend 후속. scope contracts:write + Idempotency-Key.
|
|
870
|
+
* @summary 검수완료 전송
|
|
871
|
+
* @param {string} bidId
|
|
872
|
+
* @param {CompleteAcceptanceRequestDto} completeAcceptanceRequestDto
|
|
873
|
+
* @param {*} [options] Override http request option.
|
|
874
|
+
* @throws {RequiredError}
|
|
875
|
+
*/
|
|
876
|
+
completeAcceptance(bidId, completeAcceptanceRequestDto, options) {
|
|
877
|
+
return (0, exports.PartnerV2ApiFp)(this.configuration).completeAcceptance(bidId, completeAcceptanceRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
878
|
+
}
|
|
879
|
+
/**
|
|
880
|
+
* V5 /contractDocumentRec 후속. scope contracts:read.
|
|
881
|
+
* @summary 계약서류 수신 조회
|
|
882
|
+
* @param {string} bidId
|
|
883
|
+
* @param {string} buyerId
|
|
884
|
+
* @param {*} [options] Override http request option.
|
|
885
|
+
* @throws {RequiredError}
|
|
886
|
+
*/
|
|
887
|
+
getBidContractDocuments(bidId, buyerId, options) {
|
|
888
|
+
return (0, exports.PartnerV2ApiFp)(this.configuration).getBidContractDocuments(bidId, buyerId, options).then((request) => request(this.axios, this.basePath));
|
|
889
|
+
}
|
|
890
|
+
/**
|
|
891
|
+
* V5 /contractDocumentRec(bid_puchase_no_list) 후속. 공고번호 리스트를 한 번에 조회. 단건(GET :bidId/contract-documents)은 그대로 유지. scope contracts:read.
|
|
892
|
+
* @summary 계약서류 수신 배치 조회
|
|
893
|
+
* @param {BidContractDocumentsBatchRequestDto} bidContractDocumentsBatchRequestDto
|
|
894
|
+
* @param {*} [options] Override http request option.
|
|
895
|
+
* @throws {RequiredError}
|
|
896
|
+
*/
|
|
897
|
+
getBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto, options) {
|
|
898
|
+
return (0, exports.PartnerV2ApiFp)(this.configuration).getBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
899
|
+
}
|
|
900
|
+
/**
|
|
901
|
+
* V5 /entendrec 후속. scope bids:read.
|
|
902
|
+
* @summary 입찰 결과 조회
|
|
903
|
+
* @param {string} bidId
|
|
904
|
+
* @param {string} buyerId
|
|
905
|
+
* @param {*} [options] Override http request option.
|
|
906
|
+
* @throws {RequiredError}
|
|
907
|
+
*/
|
|
908
|
+
getBidResults(bidId, buyerId, options) {
|
|
909
|
+
return (0, exports.PartnerV2ApiFp)(this.configuration).getBidResults(bidId, buyerId, options).then((request) => request(this.axios, this.basePath));
|
|
910
|
+
}
|
|
911
|
+
/**
|
|
912
|
+
* V5 entendRec(bid_puchase_no_list) 후속 — 여러 공고 결과를 1회 호출로(additive, 단건 유지). 입력 순서를 보존한다. scope bids:read.
|
|
913
|
+
* @summary 입찰결과 배치 조회
|
|
914
|
+
* @param {BidResultsBatchRequestDto} bidResultsBatchRequestDto
|
|
915
|
+
* @param {*} [options] Override http request option.
|
|
916
|
+
* @throws {RequiredError}
|
|
917
|
+
*/
|
|
918
|
+
getBidResultsBatch(bidResultsBatchRequestDto, options) {
|
|
919
|
+
return (0, exports.PartnerV2ApiFp)(this.configuration).getBidResultsBatch(bidResultsBatchRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
920
|
+
}
|
|
921
|
+
/**
|
|
922
|
+
* V5 /entendrec 정산(사업자·계좌·공급가액/부가세·응찰 품목내역) 후속. scope bids:read. 가격/신원 가시성 매트릭스와 직교한 ERP 정산 데이터 — read-only.
|
|
923
|
+
* @summary 입찰결과 정산정보 조회
|
|
924
|
+
* @param {string} bidId
|
|
925
|
+
* @param {*} [options] Override http request option.
|
|
926
|
+
* @throws {RequiredError}
|
|
927
|
+
*/
|
|
928
|
+
getBidSettlement(bidId, options) {
|
|
929
|
+
return (0, exports.PartnerV2ApiFp)(this.configuration).getBidSettlement(bidId, options).then((request) => request(this.axios, this.basePath));
|
|
930
|
+
}
|
|
931
|
+
/**
|
|
932
|
+
* V5 /getGrm 후속. scope contracts:read.
|
|
933
|
+
* @summary 거래명세서 조회
|
|
934
|
+
* @param {string} bidId
|
|
935
|
+
* @param {number} paperCode
|
|
936
|
+
* @param {*} [options] Override http request option.
|
|
937
|
+
* @throws {RequiredError}
|
|
938
|
+
*/
|
|
939
|
+
getBidStatement(bidId, paperCode, options) {
|
|
940
|
+
return (0, exports.PartnerV2ApiFp)(this.configuration).getBidStatement(bidId, paperCode, options).then((request) => request(this.axios, this.basePath));
|
|
941
|
+
}
|
|
942
|
+
/**
|
|
943
|
+
* 유찰 처리(V5 yoochal 패리티). 유찰사유 코드(1~8)·상세를 받아 공고를 유찰 상태로 전환. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
944
|
+
* @summary 유찰 처리
|
|
945
|
+
* @param {MarkBidFailedRequestDto} markBidFailedRequestDto
|
|
946
|
+
* @param {*} [options] Override http request option.
|
|
947
|
+
* @throws {RequiredError}
|
|
948
|
+
*/
|
|
949
|
+
markBidFailed(markBidFailedRequestDto, options) {
|
|
950
|
+
return (0, exports.PartnerV2ApiFp)(this.configuration).markBidFailed(markBidFailedRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
951
|
+
}
|
|
952
|
+
/**
|
|
953
|
+
* 낙찰 결과 등록. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
244
954
|
* @summary 낙찰 결과 전송
|
|
245
955
|
* @param {RegisterAwardRequestDto} registerAwardRequestDto
|
|
246
956
|
* @param {*} [options] Override http request option.
|
|
@@ -250,7 +960,7 @@ class PartnerV2Api extends base_1.BaseAPI {
|
|
|
250
960
|
return (0, exports.PartnerV2ApiFp)(this.configuration).registerAward(registerAwardRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
251
961
|
}
|
|
252
962
|
/**
|
|
253
|
-
*
|
|
963
|
+
* 입찰 정보 등록. 스코프 `bids:write` + `Idempotency-Key` 헤더 필수.
|
|
254
964
|
* @summary 입찰 정보 전송(등록)
|
|
255
965
|
* @param {CreateBidRequestDto} createBidRequestDto
|
|
256
966
|
* @param {*} [options] Override http request option.
|
|
@@ -259,6 +969,26 @@ class PartnerV2Api extends base_1.BaseAPI {
|
|
|
259
969
|
registerBid(createBidRequestDto, options) {
|
|
260
970
|
return (0, exports.PartnerV2ApiFp)(this.configuration).registerBid(createBidRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
261
971
|
}
|
|
972
|
+
/**
|
|
973
|
+
* V5 /splitInvoiceRequest 후속. scope invoices:write + Idempotency-Key.
|
|
974
|
+
* @summary 계산서 분할 발급 청구
|
|
975
|
+
* @param {RequestSplitInvoiceRequestDto} requestSplitInvoiceRequestDto
|
|
976
|
+
* @param {*} [options] Override http request option.
|
|
977
|
+
* @throws {RequiredError}
|
|
978
|
+
*/
|
|
979
|
+
requestSplitInvoice(requestSplitInvoiceRequestDto, options) {
|
|
980
|
+
return (0, exports.PartnerV2ApiFp)(this.configuration).requestSplitInvoice(requestSplitInvoiceRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
981
|
+
}
|
|
982
|
+
/**
|
|
983
|
+
* 협상에의한계약(H/K) 응찰자별 기술/가격 점수 일괄 입력(V5 nego-eval 패리티). complete=true 면 평가완료 게이트까지 적용해 낙찰 진입 가능. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
984
|
+
* @summary 협상(H/K) 점수평가
|
|
985
|
+
* @param {SubmitNegotiationScoresRequestDto} submitNegotiationScoresRequestDto
|
|
986
|
+
* @param {*} [options] Override http request option.
|
|
987
|
+
* @throws {RequiredError}
|
|
988
|
+
*/
|
|
989
|
+
submitNegotiationScores(submitNegotiationScoresRequestDto, options) {
|
|
990
|
+
return (0, exports.PartnerV2ApiFp)(this.configuration).submitNegotiationScores(submitNegotiationScoresRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
991
|
+
}
|
|
262
992
|
/**
|
|
263
993
|
* 스코프 `files:write` 필수. base64 또는 url 중 하나를 제출한다.
|
|
264
994
|
* @summary 입찰 첨부파일 업로드(base64 또는 url) → fileKey
|