@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
package/api/partner-v2-api.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* CMARKET V6 Partner API
|
|
5
|
-
* 외부 ERP 연동용 RESTful API.
|
|
5
|
+
* 외부 ERP 연동용 RESTful API.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
8
|
*
|
|
@@ -22,16 +22,44 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
22
22
|
// @ts-ignore
|
|
23
23
|
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
|
24
24
|
// @ts-ignore
|
|
25
|
+
import type { AcceptanceResultResponseDto } from '../models';
|
|
26
|
+
// @ts-ignore
|
|
25
27
|
import type { AwardRegisteredResponseDto } from '../models';
|
|
26
28
|
// @ts-ignore
|
|
29
|
+
import type { BidContractDocumentsBatchRequestDto } from '../models';
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
import type { BidContractDocumentsResponseDto } from '../models';
|
|
32
|
+
// @ts-ignore
|
|
27
33
|
import type { BidCreatedResponseDto } from '../models';
|
|
28
34
|
// @ts-ignore
|
|
35
|
+
import type { BidFailedResponseDto } from '../models';
|
|
36
|
+
// @ts-ignore
|
|
37
|
+
import type { BidResultsBatchRequestDto } from '../models';
|
|
38
|
+
// @ts-ignore
|
|
39
|
+
import type { BidResultsResponseDto } from '../models';
|
|
40
|
+
// @ts-ignore
|
|
41
|
+
import type { BidSettlementResponseDto } from '../models';
|
|
42
|
+
// @ts-ignore
|
|
43
|
+
import type { BidStatementResponseDto } from '../models';
|
|
44
|
+
// @ts-ignore
|
|
45
|
+
import type { CompleteAcceptanceRequestDto } from '../models';
|
|
46
|
+
// @ts-ignore
|
|
29
47
|
import type { CreateBidRequestDto } from '../models';
|
|
30
48
|
// @ts-ignore
|
|
31
49
|
import type { FileUploadedResponseDto } from '../models';
|
|
32
50
|
// @ts-ignore
|
|
51
|
+
import type { MarkBidFailedRequestDto } from '../models';
|
|
52
|
+
// @ts-ignore
|
|
53
|
+
import type { NegotiationScoredResponseDto } from '../models';
|
|
54
|
+
// @ts-ignore
|
|
33
55
|
import type { RegisterAwardRequestDto } from '../models';
|
|
34
56
|
// @ts-ignore
|
|
57
|
+
import type { RequestSplitInvoiceRequestDto } from '../models';
|
|
58
|
+
// @ts-ignore
|
|
59
|
+
import type { SplitInvoiceResponseDto } from '../models';
|
|
60
|
+
// @ts-ignore
|
|
61
|
+
import type { SubmitNegotiationScoresRequestDto } from '../models';
|
|
62
|
+
// @ts-ignore
|
|
35
63
|
import type { UploadFileRequestDto } from '../models';
|
|
36
64
|
/**
|
|
37
65
|
* PartnerV2Api - axios parameter creator
|
|
@@ -39,7 +67,340 @@ import type { UploadFileRequestDto } from '../models';
|
|
|
39
67
|
export const PartnerV2ApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
40
68
|
return {
|
|
41
69
|
/**
|
|
42
|
-
* V5 /
|
|
70
|
+
* V5 /acceptanceCompleteSend 후속. scope contracts:write + Idempotency-Key.
|
|
71
|
+
* @summary 검수완료 전송
|
|
72
|
+
* @param {string} bidId
|
|
73
|
+
* @param {CompleteAcceptanceRequestDto} completeAcceptanceRequestDto
|
|
74
|
+
* @param {*} [options] Override http request option.
|
|
75
|
+
* @throws {RequiredError}
|
|
76
|
+
*/
|
|
77
|
+
completeAcceptance: async (bidId: string, completeAcceptanceRequestDto: CompleteAcceptanceRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
78
|
+
// verify required parameter 'bidId' is not null or undefined
|
|
79
|
+
assertParamExists('completeAcceptance', 'bidId', bidId)
|
|
80
|
+
// verify required parameter 'completeAcceptanceRequestDto' is not null or undefined
|
|
81
|
+
assertParamExists('completeAcceptance', 'completeAcceptanceRequestDto', completeAcceptanceRequestDto)
|
|
82
|
+
const localVarPath = `/v2/bids/{bidId}/acceptance`
|
|
83
|
+
.replace('{bidId}', encodeURIComponent(String(bidId)));
|
|
84
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
85
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
86
|
+
let baseOptions;
|
|
87
|
+
if (configuration) {
|
|
88
|
+
baseOptions = configuration.baseOptions;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
92
|
+
const localVarHeaderParameter = {} as any;
|
|
93
|
+
const localVarQueryParameter = {} as any;
|
|
94
|
+
|
|
95
|
+
// authentication partner-oauth2 required
|
|
96
|
+
// http bearer authentication required
|
|
97
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
98
|
+
|
|
99
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
100
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
101
|
+
|
|
102
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
103
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
104
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
105
|
+
localVarRequestOptions.data = serializeDataIfNeeded(completeAcceptanceRequestDto, localVarRequestOptions, configuration)
|
|
106
|
+
|
|
107
|
+
return {
|
|
108
|
+
url: toPathString(localVarUrlObj),
|
|
109
|
+
options: localVarRequestOptions,
|
|
110
|
+
};
|
|
111
|
+
},
|
|
112
|
+
/**
|
|
113
|
+
* V5 /contractDocumentRec 후속. scope contracts:read.
|
|
114
|
+
* @summary 계약서류 수신 조회
|
|
115
|
+
* @param {string} bidId
|
|
116
|
+
* @param {string} buyerId
|
|
117
|
+
* @param {*} [options] Override http request option.
|
|
118
|
+
* @throws {RequiredError}
|
|
119
|
+
*/
|
|
120
|
+
getBidContractDocuments: async (bidId: string, buyerId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
121
|
+
// verify required parameter 'bidId' is not null or undefined
|
|
122
|
+
assertParamExists('getBidContractDocuments', 'bidId', bidId)
|
|
123
|
+
// verify required parameter 'buyerId' is not null or undefined
|
|
124
|
+
assertParamExists('getBidContractDocuments', 'buyerId', buyerId)
|
|
125
|
+
const localVarPath = `/v2/bids/{bidId}/contract-documents`
|
|
126
|
+
.replace('{bidId}', encodeURIComponent(String(bidId)));
|
|
127
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
128
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
129
|
+
let baseOptions;
|
|
130
|
+
if (configuration) {
|
|
131
|
+
baseOptions = configuration.baseOptions;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
135
|
+
const localVarHeaderParameter = {} as any;
|
|
136
|
+
const localVarQueryParameter = {} as any;
|
|
137
|
+
|
|
138
|
+
// authentication partner-oauth2 required
|
|
139
|
+
// http bearer authentication required
|
|
140
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
141
|
+
|
|
142
|
+
if (buyerId !== undefined) {
|
|
143
|
+
localVarQueryParameter['buyerId'] = buyerId;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
147
|
+
|
|
148
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
149
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
150
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
151
|
+
|
|
152
|
+
return {
|
|
153
|
+
url: toPathString(localVarUrlObj),
|
|
154
|
+
options: localVarRequestOptions,
|
|
155
|
+
};
|
|
156
|
+
},
|
|
157
|
+
/**
|
|
158
|
+
* V5 /contractDocumentRec(bid_puchase_no_list) 후속. 공고번호 리스트를 한 번에 조회. 단건(GET :bidId/contract-documents)은 그대로 유지. scope contracts:read.
|
|
159
|
+
* @summary 계약서류 수신 배치 조회
|
|
160
|
+
* @param {BidContractDocumentsBatchRequestDto} bidContractDocumentsBatchRequestDto
|
|
161
|
+
* @param {*} [options] Override http request option.
|
|
162
|
+
* @throws {RequiredError}
|
|
163
|
+
*/
|
|
164
|
+
getBidContractDocumentsBatch: async (bidContractDocumentsBatchRequestDto: BidContractDocumentsBatchRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
165
|
+
// verify required parameter 'bidContractDocumentsBatchRequestDto' is not null or undefined
|
|
166
|
+
assertParamExists('getBidContractDocumentsBatch', 'bidContractDocumentsBatchRequestDto', bidContractDocumentsBatchRequestDto)
|
|
167
|
+
const localVarPath = `/v2/bids/contract-documents/batch`;
|
|
168
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
169
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
170
|
+
let baseOptions;
|
|
171
|
+
if (configuration) {
|
|
172
|
+
baseOptions = configuration.baseOptions;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
176
|
+
const localVarHeaderParameter = {} as any;
|
|
177
|
+
const localVarQueryParameter = {} as any;
|
|
178
|
+
|
|
179
|
+
// authentication partner-oauth2 required
|
|
180
|
+
// http bearer authentication required
|
|
181
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
182
|
+
|
|
183
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
184
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
185
|
+
|
|
186
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
187
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
188
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
189
|
+
localVarRequestOptions.data = serializeDataIfNeeded(bidContractDocumentsBatchRequestDto, localVarRequestOptions, configuration)
|
|
190
|
+
|
|
191
|
+
return {
|
|
192
|
+
url: toPathString(localVarUrlObj),
|
|
193
|
+
options: localVarRequestOptions,
|
|
194
|
+
};
|
|
195
|
+
},
|
|
196
|
+
/**
|
|
197
|
+
* V5 /entendrec 후속. scope bids:read.
|
|
198
|
+
* @summary 입찰 결과 조회
|
|
199
|
+
* @param {string} bidId
|
|
200
|
+
* @param {string} buyerId
|
|
201
|
+
* @param {*} [options] Override http request option.
|
|
202
|
+
* @throws {RequiredError}
|
|
203
|
+
*/
|
|
204
|
+
getBidResults: async (bidId: string, buyerId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
205
|
+
// verify required parameter 'bidId' is not null or undefined
|
|
206
|
+
assertParamExists('getBidResults', 'bidId', bidId)
|
|
207
|
+
// verify required parameter 'buyerId' is not null or undefined
|
|
208
|
+
assertParamExists('getBidResults', 'buyerId', buyerId)
|
|
209
|
+
const localVarPath = `/v2/bids/{bidId}/results`
|
|
210
|
+
.replace('{bidId}', encodeURIComponent(String(bidId)));
|
|
211
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
212
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
213
|
+
let baseOptions;
|
|
214
|
+
if (configuration) {
|
|
215
|
+
baseOptions = configuration.baseOptions;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
219
|
+
const localVarHeaderParameter = {} as any;
|
|
220
|
+
const localVarQueryParameter = {} as any;
|
|
221
|
+
|
|
222
|
+
// authentication partner-oauth2 required
|
|
223
|
+
// http bearer authentication required
|
|
224
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
225
|
+
|
|
226
|
+
if (buyerId !== undefined) {
|
|
227
|
+
localVarQueryParameter['buyerId'] = buyerId;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
231
|
+
|
|
232
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
233
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
234
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
235
|
+
|
|
236
|
+
return {
|
|
237
|
+
url: toPathString(localVarUrlObj),
|
|
238
|
+
options: localVarRequestOptions,
|
|
239
|
+
};
|
|
240
|
+
},
|
|
241
|
+
/**
|
|
242
|
+
* V5 entendRec(bid_puchase_no_list) 후속 — 여러 공고 결과를 1회 호출로(additive, 단건 유지). 입력 순서를 보존한다. scope bids:read.
|
|
243
|
+
* @summary 입찰결과 배치 조회
|
|
244
|
+
* @param {BidResultsBatchRequestDto} bidResultsBatchRequestDto
|
|
245
|
+
* @param {*} [options] Override http request option.
|
|
246
|
+
* @throws {RequiredError}
|
|
247
|
+
*/
|
|
248
|
+
getBidResultsBatch: async (bidResultsBatchRequestDto: BidResultsBatchRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
249
|
+
// verify required parameter 'bidResultsBatchRequestDto' is not null or undefined
|
|
250
|
+
assertParamExists('getBidResultsBatch', 'bidResultsBatchRequestDto', bidResultsBatchRequestDto)
|
|
251
|
+
const localVarPath = `/v2/bids/results/batch`;
|
|
252
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
253
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
254
|
+
let baseOptions;
|
|
255
|
+
if (configuration) {
|
|
256
|
+
baseOptions = configuration.baseOptions;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
260
|
+
const localVarHeaderParameter = {} as any;
|
|
261
|
+
const localVarQueryParameter = {} as any;
|
|
262
|
+
|
|
263
|
+
// authentication partner-oauth2 required
|
|
264
|
+
// http bearer authentication required
|
|
265
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
266
|
+
|
|
267
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
268
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
269
|
+
|
|
270
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
271
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
272
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
273
|
+
localVarRequestOptions.data = serializeDataIfNeeded(bidResultsBatchRequestDto, localVarRequestOptions, configuration)
|
|
274
|
+
|
|
275
|
+
return {
|
|
276
|
+
url: toPathString(localVarUrlObj),
|
|
277
|
+
options: localVarRequestOptions,
|
|
278
|
+
};
|
|
279
|
+
},
|
|
280
|
+
/**
|
|
281
|
+
* V5 /entendrec 정산(사업자·계좌·공급가액/부가세·응찰 품목내역) 후속. scope bids:read. 가격/신원 가시성 매트릭스와 직교한 ERP 정산 데이터 — read-only.
|
|
282
|
+
* @summary 입찰결과 정산정보 조회
|
|
283
|
+
* @param {string} bidId
|
|
284
|
+
* @param {*} [options] Override http request option.
|
|
285
|
+
* @throws {RequiredError}
|
|
286
|
+
*/
|
|
287
|
+
getBidSettlement: async (bidId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
288
|
+
// verify required parameter 'bidId' is not null or undefined
|
|
289
|
+
assertParamExists('getBidSettlement', 'bidId', bidId)
|
|
290
|
+
const localVarPath = `/v2/bids/{bidId}/settlement`
|
|
291
|
+
.replace('{bidId}', encodeURIComponent(String(bidId)));
|
|
292
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
293
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
294
|
+
let baseOptions;
|
|
295
|
+
if (configuration) {
|
|
296
|
+
baseOptions = configuration.baseOptions;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
300
|
+
const localVarHeaderParameter = {} as any;
|
|
301
|
+
const localVarQueryParameter = {} as any;
|
|
302
|
+
|
|
303
|
+
// authentication partner-oauth2 required
|
|
304
|
+
// http bearer authentication required
|
|
305
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
306
|
+
|
|
307
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
308
|
+
|
|
309
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
310
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
311
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
312
|
+
|
|
313
|
+
return {
|
|
314
|
+
url: toPathString(localVarUrlObj),
|
|
315
|
+
options: localVarRequestOptions,
|
|
316
|
+
};
|
|
317
|
+
},
|
|
318
|
+
/**
|
|
319
|
+
* V5 /getGrm 후속. scope contracts:read.
|
|
320
|
+
* @summary 거래명세서 조회
|
|
321
|
+
* @param {string} bidId
|
|
322
|
+
* @param {number} paperCode
|
|
323
|
+
* @param {*} [options] Override http request option.
|
|
324
|
+
* @throws {RequiredError}
|
|
325
|
+
*/
|
|
326
|
+
getBidStatement: async (bidId: string, paperCode: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
327
|
+
// verify required parameter 'bidId' is not null or undefined
|
|
328
|
+
assertParamExists('getBidStatement', 'bidId', bidId)
|
|
329
|
+
// verify required parameter 'paperCode' is not null or undefined
|
|
330
|
+
assertParamExists('getBidStatement', 'paperCode', paperCode)
|
|
331
|
+
const localVarPath = `/v2/bids/{bidId}/statement`
|
|
332
|
+
.replace('{bidId}', encodeURIComponent(String(bidId)));
|
|
333
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
334
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
335
|
+
let baseOptions;
|
|
336
|
+
if (configuration) {
|
|
337
|
+
baseOptions = configuration.baseOptions;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
341
|
+
const localVarHeaderParameter = {} as any;
|
|
342
|
+
const localVarQueryParameter = {} as any;
|
|
343
|
+
|
|
344
|
+
// authentication partner-oauth2 required
|
|
345
|
+
// http bearer authentication required
|
|
346
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
347
|
+
|
|
348
|
+
if (paperCode !== undefined) {
|
|
349
|
+
localVarQueryParameter['paperCode'] = paperCode;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
353
|
+
|
|
354
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
355
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
356
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
357
|
+
|
|
358
|
+
return {
|
|
359
|
+
url: toPathString(localVarUrlObj),
|
|
360
|
+
options: localVarRequestOptions,
|
|
361
|
+
};
|
|
362
|
+
},
|
|
363
|
+
/**
|
|
364
|
+
* 유찰 처리(V5 yoochal 패리티). 유찰사유 코드(1~8)·상세를 받아 공고를 유찰 상태로 전환. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
365
|
+
* @summary 유찰 처리
|
|
366
|
+
* @param {MarkBidFailedRequestDto} markBidFailedRequestDto
|
|
367
|
+
* @param {*} [options] Override http request option.
|
|
368
|
+
* @throws {RequiredError}
|
|
369
|
+
*/
|
|
370
|
+
markBidFailed: async (markBidFailedRequestDto: MarkBidFailedRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
371
|
+
// verify required parameter 'markBidFailedRequestDto' is not null or undefined
|
|
372
|
+
assertParamExists('markBidFailed', 'markBidFailedRequestDto', markBidFailedRequestDto)
|
|
373
|
+
const localVarPath = `/v2/awards/fail`;
|
|
374
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
375
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
376
|
+
let baseOptions;
|
|
377
|
+
if (configuration) {
|
|
378
|
+
baseOptions = configuration.baseOptions;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
382
|
+
const localVarHeaderParameter = {} as any;
|
|
383
|
+
const localVarQueryParameter = {} as any;
|
|
384
|
+
|
|
385
|
+
// authentication partner-oauth2 required
|
|
386
|
+
// http bearer authentication required
|
|
387
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
388
|
+
|
|
389
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
390
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
391
|
+
|
|
392
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
393
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
394
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
395
|
+
localVarRequestOptions.data = serializeDataIfNeeded(markBidFailedRequestDto, localVarRequestOptions, configuration)
|
|
396
|
+
|
|
397
|
+
return {
|
|
398
|
+
url: toPathString(localVarUrlObj),
|
|
399
|
+
options: localVarRequestOptions,
|
|
400
|
+
};
|
|
401
|
+
},
|
|
402
|
+
/**
|
|
403
|
+
* 낙찰 결과 등록. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
43
404
|
* @summary 낙찰 결과 전송
|
|
44
405
|
* @param {RegisterAwardRequestDto} registerAwardRequestDto
|
|
45
406
|
* @param {*} [options] Override http request option.
|
|
@@ -78,7 +439,7 @@ export const PartnerV2ApiAxiosParamCreator = function (configuration?: Configura
|
|
|
78
439
|
};
|
|
79
440
|
},
|
|
80
441
|
/**
|
|
81
|
-
*
|
|
442
|
+
* 입찰 정보 등록. 스코프 `bids:write` + `Idempotency-Key` 헤더 필수.
|
|
82
443
|
* @summary 입찰 정보 전송(등록)
|
|
83
444
|
* @param {CreateBidRequestDto} createBidRequestDto
|
|
84
445
|
* @param {*} [options] Override http request option.
|
|
@@ -116,6 +477,84 @@ export const PartnerV2ApiAxiosParamCreator = function (configuration?: Configura
|
|
|
116
477
|
options: localVarRequestOptions,
|
|
117
478
|
};
|
|
118
479
|
},
|
|
480
|
+
/**
|
|
481
|
+
* V5 /splitInvoiceRequest 후속. scope invoices:write + Idempotency-Key.
|
|
482
|
+
* @summary 계산서 분할 발급 청구
|
|
483
|
+
* @param {RequestSplitInvoiceRequestDto} requestSplitInvoiceRequestDto
|
|
484
|
+
* @param {*} [options] Override http request option.
|
|
485
|
+
* @throws {RequiredError}
|
|
486
|
+
*/
|
|
487
|
+
requestSplitInvoice: async (requestSplitInvoiceRequestDto: RequestSplitInvoiceRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
488
|
+
// verify required parameter 'requestSplitInvoiceRequestDto' is not null or undefined
|
|
489
|
+
assertParamExists('requestSplitInvoice', 'requestSplitInvoiceRequestDto', requestSplitInvoiceRequestDto)
|
|
490
|
+
const localVarPath = `/v2/invoices/split-requests`;
|
|
491
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
492
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
493
|
+
let baseOptions;
|
|
494
|
+
if (configuration) {
|
|
495
|
+
baseOptions = configuration.baseOptions;
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
499
|
+
const localVarHeaderParameter = {} as any;
|
|
500
|
+
const localVarQueryParameter = {} as any;
|
|
501
|
+
|
|
502
|
+
// authentication partner-oauth2 required
|
|
503
|
+
// http bearer authentication required
|
|
504
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
505
|
+
|
|
506
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
507
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
508
|
+
|
|
509
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
510
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
511
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
512
|
+
localVarRequestOptions.data = serializeDataIfNeeded(requestSplitInvoiceRequestDto, localVarRequestOptions, configuration)
|
|
513
|
+
|
|
514
|
+
return {
|
|
515
|
+
url: toPathString(localVarUrlObj),
|
|
516
|
+
options: localVarRequestOptions,
|
|
517
|
+
};
|
|
518
|
+
},
|
|
519
|
+
/**
|
|
520
|
+
* 협상에의한계약(H/K) 응찰자별 기술/가격 점수 일괄 입력(V5 nego-eval 패리티). complete=true 면 평가완료 게이트까지 적용해 낙찰 진입 가능. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
521
|
+
* @summary 협상(H/K) 점수평가
|
|
522
|
+
* @param {SubmitNegotiationScoresRequestDto} submitNegotiationScoresRequestDto
|
|
523
|
+
* @param {*} [options] Override http request option.
|
|
524
|
+
* @throws {RequiredError}
|
|
525
|
+
*/
|
|
526
|
+
submitNegotiationScores: async (submitNegotiationScoresRequestDto: SubmitNegotiationScoresRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
527
|
+
// verify required parameter 'submitNegotiationScoresRequestDto' is not null or undefined
|
|
528
|
+
assertParamExists('submitNegotiationScores', 'submitNegotiationScoresRequestDto', submitNegotiationScoresRequestDto)
|
|
529
|
+
const localVarPath = `/v2/awards/nego-eval`;
|
|
530
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
531
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
532
|
+
let baseOptions;
|
|
533
|
+
if (configuration) {
|
|
534
|
+
baseOptions = configuration.baseOptions;
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
538
|
+
const localVarHeaderParameter = {} as any;
|
|
539
|
+
const localVarQueryParameter = {} as any;
|
|
540
|
+
|
|
541
|
+
// authentication partner-oauth2 required
|
|
542
|
+
// http bearer authentication required
|
|
543
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
544
|
+
|
|
545
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
546
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
547
|
+
|
|
548
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
549
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
550
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
551
|
+
localVarRequestOptions.data = serializeDataIfNeeded(submitNegotiationScoresRequestDto, localVarRequestOptions, configuration)
|
|
552
|
+
|
|
553
|
+
return {
|
|
554
|
+
url: toPathString(localVarUrlObj),
|
|
555
|
+
options: localVarRequestOptions,
|
|
556
|
+
};
|
|
557
|
+
},
|
|
119
558
|
/**
|
|
120
559
|
* 스코프 `files:write` 필수. base64 또는 url 중 하나를 제출한다.
|
|
121
560
|
* @summary 입찰 첨부파일 업로드(base64 또는 url) → fileKey
|
|
@@ -165,7 +604,115 @@ export const PartnerV2ApiFp = function(configuration?: Configuration) {
|
|
|
165
604
|
const localVarAxiosParamCreator = PartnerV2ApiAxiosParamCreator(configuration)
|
|
166
605
|
return {
|
|
167
606
|
/**
|
|
168
|
-
* V5 /
|
|
607
|
+
* V5 /acceptanceCompleteSend 후속. scope contracts:write + Idempotency-Key.
|
|
608
|
+
* @summary 검수완료 전송
|
|
609
|
+
* @param {string} bidId
|
|
610
|
+
* @param {CompleteAcceptanceRequestDto} completeAcceptanceRequestDto
|
|
611
|
+
* @param {*} [options] Override http request option.
|
|
612
|
+
* @throws {RequiredError}
|
|
613
|
+
*/
|
|
614
|
+
async completeAcceptance(bidId: string, completeAcceptanceRequestDto: CompleteAcceptanceRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AcceptanceResultResponseDto>> {
|
|
615
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.completeAcceptance(bidId, completeAcceptanceRequestDto, options);
|
|
616
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
617
|
+
const localVarOperationServerBasePath = operationServerMap['PartnerV2Api.completeAcceptance']?.[localVarOperationServerIndex]?.url;
|
|
618
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
619
|
+
},
|
|
620
|
+
/**
|
|
621
|
+
* V5 /contractDocumentRec 후속. scope contracts:read.
|
|
622
|
+
* @summary 계약서류 수신 조회
|
|
623
|
+
* @param {string} bidId
|
|
624
|
+
* @param {string} buyerId
|
|
625
|
+
* @param {*} [options] Override http request option.
|
|
626
|
+
* @throws {RequiredError}
|
|
627
|
+
*/
|
|
628
|
+
async getBidContractDocuments(bidId: string, buyerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BidContractDocumentsResponseDto>> {
|
|
629
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getBidContractDocuments(bidId, buyerId, options);
|
|
630
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
631
|
+
const localVarOperationServerBasePath = operationServerMap['PartnerV2Api.getBidContractDocuments']?.[localVarOperationServerIndex]?.url;
|
|
632
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
633
|
+
},
|
|
634
|
+
/**
|
|
635
|
+
* V5 /contractDocumentRec(bid_puchase_no_list) 후속. 공고번호 리스트를 한 번에 조회. 단건(GET :bidId/contract-documents)은 그대로 유지. scope contracts:read.
|
|
636
|
+
* @summary 계약서류 수신 배치 조회
|
|
637
|
+
* @param {BidContractDocumentsBatchRequestDto} bidContractDocumentsBatchRequestDto
|
|
638
|
+
* @param {*} [options] Override http request option.
|
|
639
|
+
* @throws {RequiredError}
|
|
640
|
+
*/
|
|
641
|
+
async getBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto: BidContractDocumentsBatchRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BidContractDocumentsResponseDto>>> {
|
|
642
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto, options);
|
|
643
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
644
|
+
const localVarOperationServerBasePath = operationServerMap['PartnerV2Api.getBidContractDocumentsBatch']?.[localVarOperationServerIndex]?.url;
|
|
645
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
646
|
+
},
|
|
647
|
+
/**
|
|
648
|
+
* V5 /entendrec 후속. scope bids:read.
|
|
649
|
+
* @summary 입찰 결과 조회
|
|
650
|
+
* @param {string} bidId
|
|
651
|
+
* @param {string} buyerId
|
|
652
|
+
* @param {*} [options] Override http request option.
|
|
653
|
+
* @throws {RequiredError}
|
|
654
|
+
*/
|
|
655
|
+
async getBidResults(bidId: string, buyerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BidResultsResponseDto>> {
|
|
656
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getBidResults(bidId, buyerId, options);
|
|
657
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
658
|
+
const localVarOperationServerBasePath = operationServerMap['PartnerV2Api.getBidResults']?.[localVarOperationServerIndex]?.url;
|
|
659
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
660
|
+
},
|
|
661
|
+
/**
|
|
662
|
+
* V5 entendRec(bid_puchase_no_list) 후속 — 여러 공고 결과를 1회 호출로(additive, 단건 유지). 입력 순서를 보존한다. scope bids:read.
|
|
663
|
+
* @summary 입찰결과 배치 조회
|
|
664
|
+
* @param {BidResultsBatchRequestDto} bidResultsBatchRequestDto
|
|
665
|
+
* @param {*} [options] Override http request option.
|
|
666
|
+
* @throws {RequiredError}
|
|
667
|
+
*/
|
|
668
|
+
async getBidResultsBatch(bidResultsBatchRequestDto: BidResultsBatchRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BidResultsResponseDto>>> {
|
|
669
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getBidResultsBatch(bidResultsBatchRequestDto, options);
|
|
670
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
671
|
+
const localVarOperationServerBasePath = operationServerMap['PartnerV2Api.getBidResultsBatch']?.[localVarOperationServerIndex]?.url;
|
|
672
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
673
|
+
},
|
|
674
|
+
/**
|
|
675
|
+
* V5 /entendrec 정산(사업자·계좌·공급가액/부가세·응찰 품목내역) 후속. scope bids:read. 가격/신원 가시성 매트릭스와 직교한 ERP 정산 데이터 — read-only.
|
|
676
|
+
* @summary 입찰결과 정산정보 조회
|
|
677
|
+
* @param {string} bidId
|
|
678
|
+
* @param {*} [options] Override http request option.
|
|
679
|
+
* @throws {RequiredError}
|
|
680
|
+
*/
|
|
681
|
+
async getBidSettlement(bidId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BidSettlementResponseDto>> {
|
|
682
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getBidSettlement(bidId, options);
|
|
683
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
684
|
+
const localVarOperationServerBasePath = operationServerMap['PartnerV2Api.getBidSettlement']?.[localVarOperationServerIndex]?.url;
|
|
685
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
686
|
+
},
|
|
687
|
+
/**
|
|
688
|
+
* V5 /getGrm 후속. scope contracts:read.
|
|
689
|
+
* @summary 거래명세서 조회
|
|
690
|
+
* @param {string} bidId
|
|
691
|
+
* @param {number} paperCode
|
|
692
|
+
* @param {*} [options] Override http request option.
|
|
693
|
+
* @throws {RequiredError}
|
|
694
|
+
*/
|
|
695
|
+
async getBidStatement(bidId: string, paperCode: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BidStatementResponseDto>> {
|
|
696
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getBidStatement(bidId, paperCode, options);
|
|
697
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
698
|
+
const localVarOperationServerBasePath = operationServerMap['PartnerV2Api.getBidStatement']?.[localVarOperationServerIndex]?.url;
|
|
699
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
700
|
+
},
|
|
701
|
+
/**
|
|
702
|
+
* 유찰 처리(V5 yoochal 패리티). 유찰사유 코드(1~8)·상세를 받아 공고를 유찰 상태로 전환. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
703
|
+
* @summary 유찰 처리
|
|
704
|
+
* @param {MarkBidFailedRequestDto} markBidFailedRequestDto
|
|
705
|
+
* @param {*} [options] Override http request option.
|
|
706
|
+
* @throws {RequiredError}
|
|
707
|
+
*/
|
|
708
|
+
async markBidFailed(markBidFailedRequestDto: MarkBidFailedRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BidFailedResponseDto>> {
|
|
709
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.markBidFailed(markBidFailedRequestDto, options);
|
|
710
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
711
|
+
const localVarOperationServerBasePath = operationServerMap['PartnerV2Api.markBidFailed']?.[localVarOperationServerIndex]?.url;
|
|
712
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
713
|
+
},
|
|
714
|
+
/**
|
|
715
|
+
* 낙찰 결과 등록. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
169
716
|
* @summary 낙찰 결과 전송
|
|
170
717
|
* @param {RegisterAwardRequestDto} registerAwardRequestDto
|
|
171
718
|
* @param {*} [options] Override http request option.
|
|
@@ -178,7 +725,7 @@ export const PartnerV2ApiFp = function(configuration?: Configuration) {
|
|
|
178
725
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
179
726
|
},
|
|
180
727
|
/**
|
|
181
|
-
*
|
|
728
|
+
* 입찰 정보 등록. 스코프 `bids:write` + `Idempotency-Key` 헤더 필수.
|
|
182
729
|
* @summary 입찰 정보 전송(등록)
|
|
183
730
|
* @param {CreateBidRequestDto} createBidRequestDto
|
|
184
731
|
* @param {*} [options] Override http request option.
|
|
@@ -190,6 +737,32 @@ export const PartnerV2ApiFp = function(configuration?: Configuration) {
|
|
|
190
737
|
const localVarOperationServerBasePath = operationServerMap['PartnerV2Api.registerBid']?.[localVarOperationServerIndex]?.url;
|
|
191
738
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
192
739
|
},
|
|
740
|
+
/**
|
|
741
|
+
* V5 /splitInvoiceRequest 후속. scope invoices:write + Idempotency-Key.
|
|
742
|
+
* @summary 계산서 분할 발급 청구
|
|
743
|
+
* @param {RequestSplitInvoiceRequestDto} requestSplitInvoiceRequestDto
|
|
744
|
+
* @param {*} [options] Override http request option.
|
|
745
|
+
* @throws {RequiredError}
|
|
746
|
+
*/
|
|
747
|
+
async requestSplitInvoice(requestSplitInvoiceRequestDto: RequestSplitInvoiceRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SplitInvoiceResponseDto>> {
|
|
748
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.requestSplitInvoice(requestSplitInvoiceRequestDto, options);
|
|
749
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
750
|
+
const localVarOperationServerBasePath = operationServerMap['PartnerV2Api.requestSplitInvoice']?.[localVarOperationServerIndex]?.url;
|
|
751
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
752
|
+
},
|
|
753
|
+
/**
|
|
754
|
+
* 협상에의한계약(H/K) 응찰자별 기술/가격 점수 일괄 입력(V5 nego-eval 패리티). complete=true 면 평가완료 게이트까지 적용해 낙찰 진입 가능. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
755
|
+
* @summary 협상(H/K) 점수평가
|
|
756
|
+
* @param {SubmitNegotiationScoresRequestDto} submitNegotiationScoresRequestDto
|
|
757
|
+
* @param {*} [options] Override http request option.
|
|
758
|
+
* @throws {RequiredError}
|
|
759
|
+
*/
|
|
760
|
+
async submitNegotiationScores(submitNegotiationScoresRequestDto: SubmitNegotiationScoresRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NegotiationScoredResponseDto>> {
|
|
761
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.submitNegotiationScores(submitNegotiationScoresRequestDto, options);
|
|
762
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
763
|
+
const localVarOperationServerBasePath = operationServerMap['PartnerV2Api.submitNegotiationScores']?.[localVarOperationServerIndex]?.url;
|
|
764
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
765
|
+
},
|
|
193
766
|
/**
|
|
194
767
|
* 스코프 `files:write` 필수. base64 또는 url 중 하나를 제출한다.
|
|
195
768
|
* @summary 입찰 첨부파일 업로드(base64 또는 url) → fileKey
|
|
@@ -213,7 +786,91 @@ export const PartnerV2ApiFactory = function (configuration?: Configuration, base
|
|
|
213
786
|
const localVarFp = PartnerV2ApiFp(configuration)
|
|
214
787
|
return {
|
|
215
788
|
/**
|
|
216
|
-
* V5 /
|
|
789
|
+
* V5 /acceptanceCompleteSend 후속. scope contracts:write + Idempotency-Key.
|
|
790
|
+
* @summary 검수완료 전송
|
|
791
|
+
* @param {string} bidId
|
|
792
|
+
* @param {CompleteAcceptanceRequestDto} completeAcceptanceRequestDto
|
|
793
|
+
* @param {*} [options] Override http request option.
|
|
794
|
+
* @throws {RequiredError}
|
|
795
|
+
*/
|
|
796
|
+
completeAcceptance(bidId: string, completeAcceptanceRequestDto: CompleteAcceptanceRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<AcceptanceResultResponseDto> {
|
|
797
|
+
return localVarFp.completeAcceptance(bidId, completeAcceptanceRequestDto, options).then((request) => request(axios, basePath));
|
|
798
|
+
},
|
|
799
|
+
/**
|
|
800
|
+
* V5 /contractDocumentRec 후속. scope contracts:read.
|
|
801
|
+
* @summary 계약서류 수신 조회
|
|
802
|
+
* @param {string} bidId
|
|
803
|
+
* @param {string} buyerId
|
|
804
|
+
* @param {*} [options] Override http request option.
|
|
805
|
+
* @throws {RequiredError}
|
|
806
|
+
*/
|
|
807
|
+
getBidContractDocuments(bidId: string, buyerId: string, options?: RawAxiosRequestConfig): AxiosPromise<BidContractDocumentsResponseDto> {
|
|
808
|
+
return localVarFp.getBidContractDocuments(bidId, buyerId, options).then((request) => request(axios, basePath));
|
|
809
|
+
},
|
|
810
|
+
/**
|
|
811
|
+
* V5 /contractDocumentRec(bid_puchase_no_list) 후속. 공고번호 리스트를 한 번에 조회. 단건(GET :bidId/contract-documents)은 그대로 유지. scope contracts:read.
|
|
812
|
+
* @summary 계약서류 수신 배치 조회
|
|
813
|
+
* @param {BidContractDocumentsBatchRequestDto} bidContractDocumentsBatchRequestDto
|
|
814
|
+
* @param {*} [options] Override http request option.
|
|
815
|
+
* @throws {RequiredError}
|
|
816
|
+
*/
|
|
817
|
+
getBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto: BidContractDocumentsBatchRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<Array<BidContractDocumentsResponseDto>> {
|
|
818
|
+
return localVarFp.getBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto, options).then((request) => request(axios, basePath));
|
|
819
|
+
},
|
|
820
|
+
/**
|
|
821
|
+
* V5 /entendrec 후속. scope bids:read.
|
|
822
|
+
* @summary 입찰 결과 조회
|
|
823
|
+
* @param {string} bidId
|
|
824
|
+
* @param {string} buyerId
|
|
825
|
+
* @param {*} [options] Override http request option.
|
|
826
|
+
* @throws {RequiredError}
|
|
827
|
+
*/
|
|
828
|
+
getBidResults(bidId: string, buyerId: string, options?: RawAxiosRequestConfig): AxiosPromise<BidResultsResponseDto> {
|
|
829
|
+
return localVarFp.getBidResults(bidId, buyerId, options).then((request) => request(axios, basePath));
|
|
830
|
+
},
|
|
831
|
+
/**
|
|
832
|
+
* V5 entendRec(bid_puchase_no_list) 후속 — 여러 공고 결과를 1회 호출로(additive, 단건 유지). 입력 순서를 보존한다. scope bids:read.
|
|
833
|
+
* @summary 입찰결과 배치 조회
|
|
834
|
+
* @param {BidResultsBatchRequestDto} bidResultsBatchRequestDto
|
|
835
|
+
* @param {*} [options] Override http request option.
|
|
836
|
+
* @throws {RequiredError}
|
|
837
|
+
*/
|
|
838
|
+
getBidResultsBatch(bidResultsBatchRequestDto: BidResultsBatchRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<Array<BidResultsResponseDto>> {
|
|
839
|
+
return localVarFp.getBidResultsBatch(bidResultsBatchRequestDto, options).then((request) => request(axios, basePath));
|
|
840
|
+
},
|
|
841
|
+
/**
|
|
842
|
+
* V5 /entendrec 정산(사업자·계좌·공급가액/부가세·응찰 품목내역) 후속. scope bids:read. 가격/신원 가시성 매트릭스와 직교한 ERP 정산 데이터 — read-only.
|
|
843
|
+
* @summary 입찰결과 정산정보 조회
|
|
844
|
+
* @param {string} bidId
|
|
845
|
+
* @param {*} [options] Override http request option.
|
|
846
|
+
* @throws {RequiredError}
|
|
847
|
+
*/
|
|
848
|
+
getBidSettlement(bidId: string, options?: RawAxiosRequestConfig): AxiosPromise<BidSettlementResponseDto> {
|
|
849
|
+
return localVarFp.getBidSettlement(bidId, options).then((request) => request(axios, basePath));
|
|
850
|
+
},
|
|
851
|
+
/**
|
|
852
|
+
* V5 /getGrm 후속. scope contracts:read.
|
|
853
|
+
* @summary 거래명세서 조회
|
|
854
|
+
* @param {string} bidId
|
|
855
|
+
* @param {number} paperCode
|
|
856
|
+
* @param {*} [options] Override http request option.
|
|
857
|
+
* @throws {RequiredError}
|
|
858
|
+
*/
|
|
859
|
+
getBidStatement(bidId: string, paperCode: number, options?: RawAxiosRequestConfig): AxiosPromise<BidStatementResponseDto> {
|
|
860
|
+
return localVarFp.getBidStatement(bidId, paperCode, options).then((request) => request(axios, basePath));
|
|
861
|
+
},
|
|
862
|
+
/**
|
|
863
|
+
* 유찰 처리(V5 yoochal 패리티). 유찰사유 코드(1~8)·상세를 받아 공고를 유찰 상태로 전환. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
864
|
+
* @summary 유찰 처리
|
|
865
|
+
* @param {MarkBidFailedRequestDto} markBidFailedRequestDto
|
|
866
|
+
* @param {*} [options] Override http request option.
|
|
867
|
+
* @throws {RequiredError}
|
|
868
|
+
*/
|
|
869
|
+
markBidFailed(markBidFailedRequestDto: MarkBidFailedRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<BidFailedResponseDto> {
|
|
870
|
+
return localVarFp.markBidFailed(markBidFailedRequestDto, options).then((request) => request(axios, basePath));
|
|
871
|
+
},
|
|
872
|
+
/**
|
|
873
|
+
* 낙찰 결과 등록. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
217
874
|
* @summary 낙찰 결과 전송
|
|
218
875
|
* @param {RegisterAwardRequestDto} registerAwardRequestDto
|
|
219
876
|
* @param {*} [options] Override http request option.
|
|
@@ -223,7 +880,7 @@ export const PartnerV2ApiFactory = function (configuration?: Configuration, base
|
|
|
223
880
|
return localVarFp.registerAward(registerAwardRequestDto, options).then((request) => request(axios, basePath));
|
|
224
881
|
},
|
|
225
882
|
/**
|
|
226
|
-
*
|
|
883
|
+
* 입찰 정보 등록. 스코프 `bids:write` + `Idempotency-Key` 헤더 필수.
|
|
227
884
|
* @summary 입찰 정보 전송(등록)
|
|
228
885
|
* @param {CreateBidRequestDto} createBidRequestDto
|
|
229
886
|
* @param {*} [options] Override http request option.
|
|
@@ -232,6 +889,26 @@ export const PartnerV2ApiFactory = function (configuration?: Configuration, base
|
|
|
232
889
|
registerBid(createBidRequestDto: CreateBidRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<BidCreatedResponseDto> {
|
|
233
890
|
return localVarFp.registerBid(createBidRequestDto, options).then((request) => request(axios, basePath));
|
|
234
891
|
},
|
|
892
|
+
/**
|
|
893
|
+
* V5 /splitInvoiceRequest 후속. scope invoices:write + Idempotency-Key.
|
|
894
|
+
* @summary 계산서 분할 발급 청구
|
|
895
|
+
* @param {RequestSplitInvoiceRequestDto} requestSplitInvoiceRequestDto
|
|
896
|
+
* @param {*} [options] Override http request option.
|
|
897
|
+
* @throws {RequiredError}
|
|
898
|
+
*/
|
|
899
|
+
requestSplitInvoice(requestSplitInvoiceRequestDto: RequestSplitInvoiceRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<SplitInvoiceResponseDto> {
|
|
900
|
+
return localVarFp.requestSplitInvoice(requestSplitInvoiceRequestDto, options).then((request) => request(axios, basePath));
|
|
901
|
+
},
|
|
902
|
+
/**
|
|
903
|
+
* 협상에의한계약(H/K) 응찰자별 기술/가격 점수 일괄 입력(V5 nego-eval 패리티). complete=true 면 평가완료 게이트까지 적용해 낙찰 진입 가능. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
904
|
+
* @summary 협상(H/K) 점수평가
|
|
905
|
+
* @param {SubmitNegotiationScoresRequestDto} submitNegotiationScoresRequestDto
|
|
906
|
+
* @param {*} [options] Override http request option.
|
|
907
|
+
* @throws {RequiredError}
|
|
908
|
+
*/
|
|
909
|
+
submitNegotiationScores(submitNegotiationScoresRequestDto: SubmitNegotiationScoresRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<NegotiationScoredResponseDto> {
|
|
910
|
+
return localVarFp.submitNegotiationScores(submitNegotiationScoresRequestDto, options).then((request) => request(axios, basePath));
|
|
911
|
+
},
|
|
235
912
|
/**
|
|
236
913
|
* 스코프 `files:write` 필수. base64 또는 url 중 하나를 제출한다.
|
|
237
914
|
* @summary 입찰 첨부파일 업로드(base64 또는 url) → fileKey
|
|
@@ -250,7 +927,99 @@ export const PartnerV2ApiFactory = function (configuration?: Configuration, base
|
|
|
250
927
|
*/
|
|
251
928
|
export class PartnerV2Api extends BaseAPI {
|
|
252
929
|
/**
|
|
253
|
-
* V5 /
|
|
930
|
+
* V5 /acceptanceCompleteSend 후속. scope contracts:write + Idempotency-Key.
|
|
931
|
+
* @summary 검수완료 전송
|
|
932
|
+
* @param {string} bidId
|
|
933
|
+
* @param {CompleteAcceptanceRequestDto} completeAcceptanceRequestDto
|
|
934
|
+
* @param {*} [options] Override http request option.
|
|
935
|
+
* @throws {RequiredError}
|
|
936
|
+
*/
|
|
937
|
+
public completeAcceptance(bidId: string, completeAcceptanceRequestDto: CompleteAcceptanceRequestDto, options?: RawAxiosRequestConfig) {
|
|
938
|
+
return PartnerV2ApiFp(this.configuration).completeAcceptance(bidId, completeAcceptanceRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
939
|
+
}
|
|
940
|
+
|
|
941
|
+
/**
|
|
942
|
+
* V5 /contractDocumentRec 후속. scope contracts:read.
|
|
943
|
+
* @summary 계약서류 수신 조회
|
|
944
|
+
* @param {string} bidId
|
|
945
|
+
* @param {string} buyerId
|
|
946
|
+
* @param {*} [options] Override http request option.
|
|
947
|
+
* @throws {RequiredError}
|
|
948
|
+
*/
|
|
949
|
+
public getBidContractDocuments(bidId: string, buyerId: string, options?: RawAxiosRequestConfig) {
|
|
950
|
+
return PartnerV2ApiFp(this.configuration).getBidContractDocuments(bidId, buyerId, options).then((request) => request(this.axios, this.basePath));
|
|
951
|
+
}
|
|
952
|
+
|
|
953
|
+
/**
|
|
954
|
+
* V5 /contractDocumentRec(bid_puchase_no_list) 후속. 공고번호 리스트를 한 번에 조회. 단건(GET :bidId/contract-documents)은 그대로 유지. scope contracts:read.
|
|
955
|
+
* @summary 계약서류 수신 배치 조회
|
|
956
|
+
* @param {BidContractDocumentsBatchRequestDto} bidContractDocumentsBatchRequestDto
|
|
957
|
+
* @param {*} [options] Override http request option.
|
|
958
|
+
* @throws {RequiredError}
|
|
959
|
+
*/
|
|
960
|
+
public getBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto: BidContractDocumentsBatchRequestDto, options?: RawAxiosRequestConfig) {
|
|
961
|
+
return PartnerV2ApiFp(this.configuration).getBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
962
|
+
}
|
|
963
|
+
|
|
964
|
+
/**
|
|
965
|
+
* V5 /entendrec 후속. scope bids:read.
|
|
966
|
+
* @summary 입찰 결과 조회
|
|
967
|
+
* @param {string} bidId
|
|
968
|
+
* @param {string} buyerId
|
|
969
|
+
* @param {*} [options] Override http request option.
|
|
970
|
+
* @throws {RequiredError}
|
|
971
|
+
*/
|
|
972
|
+
public getBidResults(bidId: string, buyerId: string, options?: RawAxiosRequestConfig) {
|
|
973
|
+
return PartnerV2ApiFp(this.configuration).getBidResults(bidId, buyerId, options).then((request) => request(this.axios, this.basePath));
|
|
974
|
+
}
|
|
975
|
+
|
|
976
|
+
/**
|
|
977
|
+
* V5 entendRec(bid_puchase_no_list) 후속 — 여러 공고 결과를 1회 호출로(additive, 단건 유지). 입력 순서를 보존한다. scope bids:read.
|
|
978
|
+
* @summary 입찰결과 배치 조회
|
|
979
|
+
* @param {BidResultsBatchRequestDto} bidResultsBatchRequestDto
|
|
980
|
+
* @param {*} [options] Override http request option.
|
|
981
|
+
* @throws {RequiredError}
|
|
982
|
+
*/
|
|
983
|
+
public getBidResultsBatch(bidResultsBatchRequestDto: BidResultsBatchRequestDto, options?: RawAxiosRequestConfig) {
|
|
984
|
+
return PartnerV2ApiFp(this.configuration).getBidResultsBatch(bidResultsBatchRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
985
|
+
}
|
|
986
|
+
|
|
987
|
+
/**
|
|
988
|
+
* V5 /entendrec 정산(사업자·계좌·공급가액/부가세·응찰 품목내역) 후속. scope bids:read. 가격/신원 가시성 매트릭스와 직교한 ERP 정산 데이터 — read-only.
|
|
989
|
+
* @summary 입찰결과 정산정보 조회
|
|
990
|
+
* @param {string} bidId
|
|
991
|
+
* @param {*} [options] Override http request option.
|
|
992
|
+
* @throws {RequiredError}
|
|
993
|
+
*/
|
|
994
|
+
public getBidSettlement(bidId: string, options?: RawAxiosRequestConfig) {
|
|
995
|
+
return PartnerV2ApiFp(this.configuration).getBidSettlement(bidId, options).then((request) => request(this.axios, this.basePath));
|
|
996
|
+
}
|
|
997
|
+
|
|
998
|
+
/**
|
|
999
|
+
* V5 /getGrm 후속. scope contracts:read.
|
|
1000
|
+
* @summary 거래명세서 조회
|
|
1001
|
+
* @param {string} bidId
|
|
1002
|
+
* @param {number} paperCode
|
|
1003
|
+
* @param {*} [options] Override http request option.
|
|
1004
|
+
* @throws {RequiredError}
|
|
1005
|
+
*/
|
|
1006
|
+
public getBidStatement(bidId: string, paperCode: number, options?: RawAxiosRequestConfig) {
|
|
1007
|
+
return PartnerV2ApiFp(this.configuration).getBidStatement(bidId, paperCode, options).then((request) => request(this.axios, this.basePath));
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
/**
|
|
1011
|
+
* 유찰 처리(V5 yoochal 패리티). 유찰사유 코드(1~8)·상세를 받아 공고를 유찰 상태로 전환. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
1012
|
+
* @summary 유찰 처리
|
|
1013
|
+
* @param {MarkBidFailedRequestDto} markBidFailedRequestDto
|
|
1014
|
+
* @param {*} [options] Override http request option.
|
|
1015
|
+
* @throws {RequiredError}
|
|
1016
|
+
*/
|
|
1017
|
+
public markBidFailed(markBidFailedRequestDto: MarkBidFailedRequestDto, options?: RawAxiosRequestConfig) {
|
|
1018
|
+
return PartnerV2ApiFp(this.configuration).markBidFailed(markBidFailedRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
1019
|
+
}
|
|
1020
|
+
|
|
1021
|
+
/**
|
|
1022
|
+
* 낙찰 결과 등록. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
254
1023
|
* @summary 낙찰 결과 전송
|
|
255
1024
|
* @param {RegisterAwardRequestDto} registerAwardRequestDto
|
|
256
1025
|
* @param {*} [options] Override http request option.
|
|
@@ -261,7 +1030,7 @@ export class PartnerV2Api extends BaseAPI {
|
|
|
261
1030
|
}
|
|
262
1031
|
|
|
263
1032
|
/**
|
|
264
|
-
*
|
|
1033
|
+
* 입찰 정보 등록. 스코프 `bids:write` + `Idempotency-Key` 헤더 필수.
|
|
265
1034
|
* @summary 입찰 정보 전송(등록)
|
|
266
1035
|
* @param {CreateBidRequestDto} createBidRequestDto
|
|
267
1036
|
* @param {*} [options] Override http request option.
|
|
@@ -271,6 +1040,28 @@ export class PartnerV2Api extends BaseAPI {
|
|
|
271
1040
|
return PartnerV2ApiFp(this.configuration).registerBid(createBidRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
272
1041
|
}
|
|
273
1042
|
|
|
1043
|
+
/**
|
|
1044
|
+
* V5 /splitInvoiceRequest 후속. scope invoices:write + Idempotency-Key.
|
|
1045
|
+
* @summary 계산서 분할 발급 청구
|
|
1046
|
+
* @param {RequestSplitInvoiceRequestDto} requestSplitInvoiceRequestDto
|
|
1047
|
+
* @param {*} [options] Override http request option.
|
|
1048
|
+
* @throws {RequiredError}
|
|
1049
|
+
*/
|
|
1050
|
+
public requestSplitInvoice(requestSplitInvoiceRequestDto: RequestSplitInvoiceRequestDto, options?: RawAxiosRequestConfig) {
|
|
1051
|
+
return PartnerV2ApiFp(this.configuration).requestSplitInvoice(requestSplitInvoiceRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
1052
|
+
}
|
|
1053
|
+
|
|
1054
|
+
/**
|
|
1055
|
+
* 협상에의한계약(H/K) 응찰자별 기술/가격 점수 일괄 입력(V5 nego-eval 패리티). complete=true 면 평가완료 게이트까지 적용해 낙찰 진입 가능. 스코프 `awards:write` + `Idempotency-Key` 헤더 필수.
|
|
1056
|
+
* @summary 협상(H/K) 점수평가
|
|
1057
|
+
* @param {SubmitNegotiationScoresRequestDto} submitNegotiationScoresRequestDto
|
|
1058
|
+
* @param {*} [options] Override http request option.
|
|
1059
|
+
* @throws {RequiredError}
|
|
1060
|
+
*/
|
|
1061
|
+
public submitNegotiationScores(submitNegotiationScoresRequestDto: SubmitNegotiationScoresRequestDto, options?: RawAxiosRequestConfig) {
|
|
1062
|
+
return PartnerV2ApiFp(this.configuration).submitNegotiationScores(submitNegotiationScoresRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
1063
|
+
}
|
|
1064
|
+
|
|
274
1065
|
/**
|
|
275
1066
|
* 스코프 `files:write` 필수. base64 또는 url 중 하나를 제출한다.
|
|
276
1067
|
* @summary 입찰 첨부파일 업로드(base64 또는 url) → fileKey
|