@cmarket/partner-sdk 9.7.0 → 10.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -9
- package/api/oauth-api.ts +1 -1
- package/api/partner-v1-api.ts +51 -51
- package/api/partner-v2-api.ts +141 -67
- package/api.ts +1 -1
- 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 +34 -34
- package/dist/api/partner-v1-api.js +43 -43
- package/dist/api/partner-v2-api.d.ts +95 -61
- package/dist/api/partner-v2-api.js +125 -57
- package/dist/api.d.ts +1 -1
- package/dist/api.js +1 -1
- 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 +34 -34
- package/dist/esm/api/partner-v1-api.js +43 -43
- package/dist/esm/api/partner-v2-api.d.ts +95 -61
- package/dist/esm/api/partner-v2-api.js +125 -57
- package/dist/esm/api.d.ts +1 -1
- package/dist/esm/api.js +1 -1
- 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 +1 -1
- package/dist/esm/models/acceptance-result-response-dto.js +1 -1
- package/dist/esm/models/acceptance-result-v1-response-dto.d.ts +21 -0
- package/dist/esm/models/{bid-results-batch-request-dto.js → acceptance-result-v1-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/award-registered-v2-response-dto.d.ts +29 -0
- package/dist/esm/models/award-registered-v2-response-dto.js +16 -0
- 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-bond-v1-dto.d.ts +27 -0
- package/dist/esm/models/bid-bond-v1-dto.js +18 -0
- package/dist/esm/models/{bid-contract-documents-batch-request-dto.d.ts → bid-contract-documents-batch-v1-request-dto.d.ts} +2 -2
- package/dist/esm/models/{bid-contract-documents-batch-request-dto.js → bid-contract-documents-batch-v1-request-dto.js} +1 -1
- package/dist/{models/bid-contract-documents-response-dto.d.ts → esm/models/bid-contract-documents-v1-response-dto.d.ts} +2 -2
- package/dist/esm/models/{request-split-invoice-request-dto.js → bid-contract-documents-v1-response-dto.js} +1 -1
- 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 +3 -3
- package/dist/esm/models/bid-document-dto.js +1 -1
- package/dist/esm/models/bid-document-v1-dto.d.ts +25 -0
- package/dist/esm/models/{bid-contract-documents-response-dto.js → bid-document-v1-dto.js} +1 -1
- package/dist/esm/models/bid-failed-response-dto.d.ts +1 -1
- package/dist/esm/models/bid-failed-response-dto.js +1 -1
- package/dist/esm/models/bid-failed-v2-response-dto.d.ts +25 -0
- package/dist/esm/models/bid-failed-v2-response-dto.js +16 -0
- package/dist/esm/models/bid-failure-reason.d.ts +1 -1
- package/dist/esm/models/bid-failure-reason.js +1 -1
- 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-item-v1-dto.d.ts +37 -0
- package/dist/esm/models/bid-item-v1-dto.js +14 -0
- package/dist/esm/models/bid-manager-dto.d.ts +3 -3
- package/dist/esm/models/bid-manager-dto.js +1 -1
- package/dist/esm/models/bid-manager-v1-dto.d.ts +33 -0
- package/dist/esm/models/bid-manager-v1-dto.js +14 -0
- package/dist/esm/models/bid-public-status.d.ts +23 -0
- package/dist/esm/models/bid-public-status.js +24 -0
- package/dist/esm/models/bid-registered-response-dto.d.ts +17 -0
- package/dist/esm/models/bid-registered-response-dto.js +14 -0
- package/dist/esm/models/bid-result-participant-attachment-dto.d.ts +4 -4
- package/dist/esm/models/bid-result-participant-attachment-dto.js +1 -1
- package/dist/esm/models/bid-result-participant-dto.d.ts +8 -8
- package/dist/esm/models/bid-result-participant-dto.js +1 -1
- package/dist/esm/models/bid-result-v1-attachment-dto.d.ts +1 -1
- package/dist/esm/models/bid-result-v1-attachment-dto.js +1 -1
- package/dist/esm/models/bid-result-v1-bid-product-info-dto.d.ts +1 -1
- package/dist/esm/models/bid-result-v1-bid-product-info-dto.js +1 -1
- package/dist/esm/models/bid-result-v1-participant-dto.d.ts +1 -1
- package/dist/esm/models/bid-result-v1-participant-dto.js +1 -1
- package/dist/esm/models/bid-result-v1-product-dto.d.ts +1 -1
- package/dist/esm/models/bid-result-v1-product-dto.js +1 -1
- package/dist/{models/bid-results-batch-request-dto.d.ts → esm/models/bid-results-batch-v1-request-dto.d.ts} +2 -2
- package/dist/esm/models/bid-results-batch-v1-request-dto.js +14 -0
- package/dist/esm/models/bid-results-response-dto.d.ts +7 -7
- package/dist/esm/models/bid-results-response-dto.js +1 -1
- package/dist/esm/models/bid-results-v1-response-dto.d.ts +1 -1
- package/dist/esm/models/bid-results-v1-response-dto.js +1 -1
- package/dist/esm/models/bid-settlement-line-item-dto.d.ts +11 -11
- package/dist/esm/models/bid-settlement-line-item-dto.js +1 -1
- package/dist/esm/models/bid-settlement-participant-dto.d.ts +22 -26
- package/dist/esm/models/bid-settlement-participant-dto.js +2 -5
- package/dist/esm/models/bid-settlement-response-dto.d.ts +1 -1
- package/dist/esm/models/bid-settlement-response-dto.js +1 -1
- package/dist/esm/models/bid-statement-response-dto.d.ts +4 -4
- package/dist/esm/models/bid-statement-response-dto.js +1 -1
- package/dist/esm/models/bid-statement-v1-response-dto.d.ts +1 -1
- package/dist/esm/models/bid-statement-v1-response-dto.js +1 -1
- package/dist/esm/models/bid-status.d.ts +1 -1
- package/dist/esm/models/bid-status.js +1 -1
- package/dist/esm/models/bid-updated-response-dto.d.ts +3 -3
- package/dist/esm/models/bid-updated-response-dto.js +1 -1
- package/dist/esm/models/complete-acceptance-request-dto.d.ts +1 -1
- package/dist/esm/models/complete-acceptance-request-dto.js +1 -1
- package/dist/esm/models/complete-acceptance-v1-request-dto.d.ts +1 -1
- package/dist/esm/models/complete-acceptance-v1-request-dto.js +1 -1
- package/dist/esm/models/contract-document-item-dto.d.ts +1 -1
- package/dist/esm/models/contract-document-item-dto.js +1 -1
- package/dist/esm/models/contract-documents-regenerated-response-dto.d.ts +1 -1
- package/dist/esm/models/contract-documents-regenerated-response-dto.js +1 -1
- package/dist/esm/models/create-bid-request-dto.d.ts +68 -97
- package/dist/esm/models/create-bid-request-dto.js +32 -49
- package/dist/esm/models/create-bid-v1-request-dto.d.ts +14 -14
- package/dist/esm/models/create-bid-v1-request-dto.js +1 -1
- package/dist/esm/models/embed-launch-request-dto.d.ts +3 -2
- package/dist/esm/models/embed-launch-request-dto.js +2 -1
- package/dist/esm/models/embed-launch-response-dto.d.ts +1 -1
- package/dist/esm/models/embed-launch-response-dto.js +1 -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/hierarchical-region-v1-dto.d.ts +21 -0
- package/dist/esm/models/hierarchical-region-v1-dto.js +14 -0
- package/dist/esm/models/index.d.ts +19 -5
- package/dist/esm/models/index.js +19 -5
- package/dist/esm/models/invoice-completed-response-dto.d.ts +1 -1
- package/dist/esm/models/invoice-completed-response-dto.js +1 -1
- package/dist/esm/models/issue-tax-invoice-request-dto.d.ts +3 -3
- package/dist/esm/models/issue-tax-invoice-request-dto.js +1 -1
- package/dist/esm/models/mark-bid-failed-request-dto.d.ts +17 -11
- package/dist/esm/models/mark-bid-failed-request-dto.js +11 -2
- package/dist/esm/models/mark-bid-failed-v1-request-dto.d.ts +1 -1
- package/dist/esm/models/mark-bid-failed-v1-request-dto.js +1 -1
- package/dist/esm/models/negotiation-score-v1-dto.d.ts +1 -1
- package/dist/esm/models/negotiation-score-v1-dto.js +1 -1
- package/dist/esm/models/negotiation-scored-response-dto.d.ts +1 -1
- package/dist/esm/models/negotiation-scored-response-dto.js +1 -1
- package/dist/esm/models/oauth-error-response-dto.d.ts +1 -1
- package/dist/esm/models/oauth-error-response-dto.js +1 -1
- package/dist/esm/models/preconditions-dto.d.ts +11 -11
- package/dist/esm/models/preconditions-dto.js +1 -1
- package/dist/esm/models/preconditions-v1-dto.d.ts +88 -0
- package/dist/esm/models/preconditions-v1-dto.js +44 -0
- package/dist/esm/models/problem-details-dto.d.ts +1 -1
- package/dist/esm/models/problem-details-dto.js +1 -1
- package/dist/esm/models/register-award-request-dto.d.ts +7 -11
- package/dist/esm/models/register-award-request-dto.js +1 -1
- package/dist/esm/models/register-award-v1-request-dto.d.ts +1 -1
- package/dist/esm/models/register-award-v1-request-dto.js +1 -1
- package/dist/{models/request-split-invoice-request-dto.d.ts → esm/models/request-split-invoice-v1-request-dto.d.ts} +2 -2
- package/dist/esm/models/request-split-invoice-v1-request-dto.js +14 -0
- package/dist/esm/models/simulate-sandbox-bid-request-dto.d.ts +22 -0
- package/dist/esm/models/simulate-sandbox-bid-request-dto.js +17 -0
- package/dist/esm/models/simulate-sandbox-bid-response-dto.d.ts +34 -0
- package/dist/esm/models/simulate-sandbox-bid-response-dto.js +17 -0
- package/dist/esm/models/{split-invoice-response-dto.d.ts → split-invoice-v1-response-dto.d.ts} +2 -2
- package/dist/esm/models/split-invoice-v1-response-dto.js +14 -0
- package/dist/esm/models/statement-document-dto.d.ts +3 -3
- package/dist/esm/models/statement-document-dto.js +1 -1
- package/dist/esm/models/statement-product-dto.d.ts +2 -2
- package/dist/esm/models/statement-product-dto.js +1 -1
- package/dist/esm/models/statement-v1-document-dto.d.ts +1 -1
- package/dist/esm/models/statement-v1-document-dto.js +1 -1
- package/dist/esm/models/statement-v1-product-dto.d.ts +1 -1
- package/dist/esm/models/statement-v1-product-dto.js +1 -1
- package/dist/esm/models/submit-negotiation-scores-v1-request-dto.d.ts +1 -1
- package/dist/esm/models/submit-negotiation-scores-v1-request-dto.js +1 -1
- package/dist/esm/models/supplier-tax-type.d.ts +19 -0
- package/dist/esm/models/supplier-tax-type.js +20 -0
- package/dist/esm/models/tax-invoice-issued-response-dto.d.ts +6 -6
- package/dist/esm/models/tax-invoice-issued-response-dto.js +1 -1
- 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/update-bid-request-dto.d.ts +70 -96
- package/dist/esm/models/update-bid-request-dto.js +32 -53
- 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 +1 -1
- package/dist/models/acceptance-result-response-dto.js +1 -1
- package/dist/models/acceptance-result-v1-response-dto.d.ts +21 -0
- package/dist/models/{bid-contract-documents-batch-request-dto.js → acceptance-result-v1-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/award-registered-v2-response-dto.d.ts +29 -0
- package/dist/models/award-registered-v2-response-dto.js +19 -0
- package/dist/models/bid-bond-dto.d.ts +1 -1
- package/dist/models/bid-bond-dto.js +1 -1
- package/dist/models/bid-bond-v1-dto.d.ts +27 -0
- package/dist/models/bid-bond-v1-dto.js +21 -0
- package/dist/models/{bid-contract-documents-batch-request-dto.d.ts → bid-contract-documents-batch-v1-request-dto.d.ts} +2 -2
- package/dist/models/{bid-contract-documents-response-dto.js → bid-contract-documents-batch-v1-request-dto.js} +1 -1
- package/dist/{esm/models/bid-contract-documents-response-dto.d.ts → models/bid-contract-documents-v1-response-dto.d.ts} +2 -2
- package/dist/models/{bid-results-batch-request-dto.js → bid-contract-documents-v1-response-dto.js} +1 -1
- 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 +3 -3
- package/dist/models/bid-document-dto.js +1 -1
- package/dist/models/bid-document-v1-dto.d.ts +25 -0
- package/dist/models/{request-split-invoice-request-dto.js → bid-document-v1-dto.js} +1 -1
- package/dist/models/bid-failed-response-dto.d.ts +1 -1
- package/dist/models/bid-failed-response-dto.js +1 -1
- package/dist/models/bid-failed-v2-response-dto.d.ts +25 -0
- package/dist/models/bid-failed-v2-response-dto.js +19 -0
- package/dist/models/bid-failure-reason.d.ts +1 -1
- package/dist/models/bid-failure-reason.js +1 -1
- package/dist/models/bid-item-dto.d.ts +1 -1
- package/dist/models/bid-item-dto.js +1 -1
- package/dist/models/bid-item-v1-dto.d.ts +37 -0
- package/dist/models/bid-item-v1-dto.js +15 -0
- package/dist/models/bid-manager-dto.d.ts +3 -3
- package/dist/models/bid-manager-dto.js +1 -1
- package/dist/models/bid-manager-v1-dto.d.ts +33 -0
- package/dist/models/bid-manager-v1-dto.js +15 -0
- package/dist/models/bid-public-status.d.ts +23 -0
- package/dist/models/bid-public-status.js +27 -0
- package/dist/models/bid-registered-response-dto.d.ts +17 -0
- package/dist/models/bid-registered-response-dto.js +15 -0
- package/dist/models/bid-result-participant-attachment-dto.d.ts +4 -4
- package/dist/models/bid-result-participant-attachment-dto.js +1 -1
- package/dist/models/bid-result-participant-dto.d.ts +8 -8
- package/dist/models/bid-result-participant-dto.js +1 -1
- package/dist/models/bid-result-v1-attachment-dto.d.ts +1 -1
- package/dist/models/bid-result-v1-attachment-dto.js +1 -1
- package/dist/models/bid-result-v1-bid-product-info-dto.d.ts +1 -1
- package/dist/models/bid-result-v1-bid-product-info-dto.js +1 -1
- package/dist/models/bid-result-v1-participant-dto.d.ts +1 -1
- package/dist/models/bid-result-v1-participant-dto.js +1 -1
- package/dist/models/bid-result-v1-product-dto.d.ts +1 -1
- package/dist/models/bid-result-v1-product-dto.js +1 -1
- package/dist/{esm/models/bid-results-batch-request-dto.d.ts → models/bid-results-batch-v1-request-dto.d.ts} +2 -2
- package/dist/models/bid-results-batch-v1-request-dto.js +15 -0
- package/dist/models/bid-results-response-dto.d.ts +7 -7
- package/dist/models/bid-results-response-dto.js +1 -1
- package/dist/models/bid-results-v1-response-dto.d.ts +1 -1
- package/dist/models/bid-results-v1-response-dto.js +1 -1
- package/dist/models/bid-settlement-line-item-dto.d.ts +11 -11
- package/dist/models/bid-settlement-line-item-dto.js +1 -1
- package/dist/models/bid-settlement-participant-dto.d.ts +22 -26
- package/dist/models/bid-settlement-participant-dto.js +1 -6
- package/dist/models/bid-settlement-response-dto.d.ts +1 -1
- package/dist/models/bid-settlement-response-dto.js +1 -1
- package/dist/models/bid-statement-response-dto.d.ts +4 -4
- package/dist/models/bid-statement-response-dto.js +1 -1
- package/dist/models/bid-statement-v1-response-dto.d.ts +1 -1
- package/dist/models/bid-statement-v1-response-dto.js +1 -1
- package/dist/models/bid-status.d.ts +1 -1
- package/dist/models/bid-status.js +1 -1
- package/dist/models/bid-updated-response-dto.d.ts +3 -3
- package/dist/models/bid-updated-response-dto.js +1 -1
- package/dist/models/complete-acceptance-request-dto.d.ts +1 -1
- package/dist/models/complete-acceptance-request-dto.js +1 -1
- package/dist/models/complete-acceptance-v1-request-dto.d.ts +1 -1
- package/dist/models/complete-acceptance-v1-request-dto.js +1 -1
- package/dist/models/contract-document-item-dto.d.ts +1 -1
- package/dist/models/contract-document-item-dto.js +1 -1
- package/dist/models/contract-documents-regenerated-response-dto.d.ts +1 -1
- package/dist/models/contract-documents-regenerated-response-dto.js +1 -1
- package/dist/models/create-bid-request-dto.d.ts +68 -97
- package/dist/models/create-bid-request-dto.js +33 -50
- package/dist/models/create-bid-v1-request-dto.d.ts +14 -14
- package/dist/models/create-bid-v1-request-dto.js +1 -1
- package/dist/models/embed-launch-request-dto.d.ts +3 -2
- package/dist/models/embed-launch-request-dto.js +2 -1
- package/dist/models/embed-launch-response-dto.d.ts +1 -1
- package/dist/models/embed-launch-response-dto.js +1 -1
- 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/hierarchical-region-v1-dto.d.ts +21 -0
- package/dist/models/hierarchical-region-v1-dto.js +15 -0
- package/dist/models/index.d.ts +19 -5
- package/dist/models/index.js +19 -5
- package/dist/models/invoice-completed-response-dto.d.ts +1 -1
- package/dist/models/invoice-completed-response-dto.js +1 -1
- package/dist/models/issue-tax-invoice-request-dto.d.ts +3 -3
- package/dist/models/issue-tax-invoice-request-dto.js +1 -1
- package/dist/models/mark-bid-failed-request-dto.d.ts +17 -11
- package/dist/models/mark-bid-failed-request-dto.js +12 -1
- package/dist/models/mark-bid-failed-v1-request-dto.d.ts +1 -1
- package/dist/models/mark-bid-failed-v1-request-dto.js +1 -1
- package/dist/models/negotiation-score-v1-dto.d.ts +1 -1
- package/dist/models/negotiation-score-v1-dto.js +1 -1
- package/dist/models/negotiation-scored-response-dto.d.ts +1 -1
- package/dist/models/negotiation-scored-response-dto.js +1 -1
- package/dist/models/oauth-error-response-dto.d.ts +1 -1
- package/dist/models/oauth-error-response-dto.js +1 -1
- package/dist/models/preconditions-dto.d.ts +11 -11
- package/dist/models/preconditions-dto.js +1 -1
- package/dist/models/preconditions-v1-dto.d.ts +88 -0
- package/dist/models/preconditions-v1-dto.js +47 -0
- package/dist/models/problem-details-dto.d.ts +1 -1
- package/dist/models/problem-details-dto.js +1 -1
- package/dist/models/register-award-request-dto.d.ts +7 -11
- package/dist/models/register-award-request-dto.js +1 -1
- package/dist/models/register-award-v1-request-dto.d.ts +1 -1
- package/dist/models/register-award-v1-request-dto.js +1 -1
- package/dist/{esm/models/request-split-invoice-request-dto.d.ts → models/request-split-invoice-v1-request-dto.d.ts} +2 -2
- package/dist/models/request-split-invoice-v1-request-dto.js +15 -0
- package/dist/models/simulate-sandbox-bid-request-dto.d.ts +22 -0
- package/dist/models/simulate-sandbox-bid-request-dto.js +20 -0
- package/dist/models/simulate-sandbox-bid-response-dto.d.ts +34 -0
- package/dist/models/simulate-sandbox-bid-response-dto.js +20 -0
- package/dist/models/{split-invoice-response-dto.d.ts → split-invoice-v1-response-dto.d.ts} +2 -2
- package/dist/models/split-invoice-v1-response-dto.js +15 -0
- package/dist/models/statement-document-dto.d.ts +3 -3
- package/dist/models/statement-document-dto.js +1 -1
- package/dist/models/statement-product-dto.d.ts +2 -2
- package/dist/models/statement-product-dto.js +1 -1
- package/dist/models/statement-v1-document-dto.d.ts +1 -1
- package/dist/models/statement-v1-document-dto.js +1 -1
- package/dist/models/statement-v1-product-dto.d.ts +1 -1
- package/dist/models/statement-v1-product-dto.js +1 -1
- package/dist/models/submit-negotiation-scores-v1-request-dto.d.ts +1 -1
- package/dist/models/submit-negotiation-scores-v1-request-dto.js +1 -1
- package/dist/models/supplier-tax-type.d.ts +19 -0
- package/dist/models/supplier-tax-type.js +23 -0
- package/dist/models/tax-invoice-issued-response-dto.d.ts +6 -6
- package/dist/models/tax-invoice-issued-response-dto.js +1 -1
- 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/update-bid-request-dto.d.ts +70 -96
- package/dist/models/update-bid-request-dto.js +33 -54
- package/dist/models/upload-file-request-dto.d.ts +1 -1
- package/dist/models/upload-file-request-dto.js +1 -1
- package/docs/AcceptanceResultV1ResponseDto.md +22 -0
- package/docs/AwardRegisteredV2ResponseDto.md +24 -0
- package/docs/BidBondV1Dto.md +22 -0
- package/docs/{BidContractDocumentsBatchRequestDto.md → BidContractDocumentsBatchV1RequestDto.md} +3 -3
- package/docs/{BidContractDocumentsResponseDto.md → BidContractDocumentsV1ResponseDto.md} +3 -3
- package/docs/BidDocumentDto.md +2 -2
- package/docs/BidDocumentV1Dto.md +24 -0
- package/docs/BidFailedV2ResponseDto.md +22 -0
- package/docs/BidItemV1Dto.md +30 -0
- package/docs/BidManagerDto.md +2 -2
- package/docs/BidManagerV1Dto.md +28 -0
- package/docs/BidPublicStatus.md +19 -0
- package/docs/BidRegisteredResponseDto.md +20 -0
- package/docs/BidResultParticipantAttachmentDto.md +3 -3
- package/docs/BidResultParticipantDto.md +7 -7
- package/docs/{BidResultsBatchRequestDto.md → BidResultsBatchV1RequestDto.md} +3 -3
- package/docs/BidResultsResponseDto.md +4 -4
- package/docs/BidSettlementLineItemDto.md +10 -10
- package/docs/BidSettlementParticipantDto.md +20 -20
- package/docs/BidStatementResponseDto.md +3 -3
- package/docs/BidUpdatedResponseDto.md +2 -2
- package/docs/CreateBidRequestDto.md +30 -34
- package/docs/CreateBidV1RequestDto.md +7 -7
- package/docs/EmbedLaunchRequestDto.md +1 -1
- package/docs/HierarchicalRegionV1Dto.md +22 -0
- package/docs/IssueTaxInvoiceRequestDto.md +2 -2
- package/docs/MarkBidFailedRequestDto.md +4 -6
- package/docs/PartnerV1Api.md +19 -19
- package/docs/PartnerV2Api.md +82 -22
- package/docs/PreconditionsDto.md +10 -10
- package/docs/PreconditionsV1Dto.md +38 -0
- package/docs/RegisterAwardRequestDto.md +6 -8
- package/docs/{RequestSplitInvoiceRequestDto.md → RequestSplitInvoiceV1RequestDto.md} +3 -3
- package/docs/SimulateSandboxBidRequestDto.md +20 -0
- package/docs/SimulateSandboxBidResponseDto.md +26 -0
- package/docs/{SplitInvoiceResponseDto.md → SplitInvoiceV1ResponseDto.md} +3 -3
- package/docs/StatementDocumentDto.md +2 -2
- package/docs/StatementProductDto.md +2 -2
- package/docs/SupplierTaxType.md +11 -0
- package/docs/TaxInvoiceIssuedResponseDto.md +7 -7
- package/docs/UpdateBidRequestDto.md +32 -32
- package/index.ts +1 -1
- package/models/acceptance-result-response-dto.ts +1 -1
- package/models/acceptance-result-v1-response-dto.ts +27 -0
- package/models/award-registered-response-dto.ts +1 -1
- package/models/award-registered-v2-response-dto.ts +38 -0
- package/models/bid-bond-dto.ts +1 -1
- package/models/bid-bond-v1-dto.ts +36 -0
- package/models/{bid-contract-documents-batch-request-dto.ts → bid-contract-documents-batch-v1-request-dto.ts} +2 -2
- package/models/{bid-contract-documents-response-dto.ts → bid-contract-documents-v1-response-dto.ts} +2 -2
- package/models/bid-created-response-dto.ts +1 -1
- package/models/bid-document-dto.ts +3 -3
- package/models/bid-document-v1-dto.ts +31 -0
- package/models/bid-failed-response-dto.ts +1 -1
- package/models/bid-failed-v2-response-dto.ts +34 -0
- package/models/bid-failure-reason.ts +1 -1
- package/models/bid-item-dto.ts +1 -1
- package/models/bid-item-v1-dto.ts +43 -0
- package/models/bid-manager-dto.ts +3 -3
- package/models/bid-manager-v1-dto.ts +39 -0
- package/models/bid-public-status.ts +33 -0
- package/models/bid-registered-response-dto.ts +23 -0
- package/models/bid-result-participant-attachment-dto.ts +4 -4
- package/models/bid-result-participant-dto.ts +8 -8
- package/models/bid-result-v1-attachment-dto.ts +1 -1
- package/models/bid-result-v1-bid-product-info-dto.ts +1 -1
- package/models/bid-result-v1-participant-dto.ts +1 -1
- package/models/bid-result-v1-product-dto.ts +1 -1
- package/models/{bid-results-batch-request-dto.ts → bid-results-batch-v1-request-dto.ts} +2 -2
- package/models/bid-results-response-dto.ts +8 -8
- package/models/bid-results-v1-response-dto.ts +1 -1
- package/models/bid-settlement-line-item-dto.ts +11 -11
- package/models/bid-settlement-participant-dto.ts +24 -27
- package/models/bid-settlement-response-dto.ts +1 -1
- package/models/bid-statement-response-dto.ts +4 -4
- package/models/bid-statement-v1-response-dto.ts +1 -1
- package/models/bid-status.ts +1 -1
- package/models/bid-updated-response-dto.ts +3 -3
- package/models/complete-acceptance-request-dto.ts +1 -1
- package/models/complete-acceptance-v1-request-dto.ts +1 -1
- package/models/contract-document-item-dto.ts +1 -1
- package/models/contract-documents-regenerated-response-dto.ts +1 -1
- package/models/create-bid-request-dto.ts +68 -101
- package/models/create-bid-v1-request-dto.ts +14 -14
- package/models/embed-launch-request-dto.ts +3 -2
- package/models/embed-launch-response-dto.ts +1 -1
- 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/hierarchical-region-v1-dto.ts +27 -0
- package/models/index.ts +19 -5
- package/models/invoice-completed-response-dto.ts +1 -1
- package/models/issue-tax-invoice-request-dto.ts +3 -3
- package/models/mark-bid-failed-request-dto.ts +18 -13
- package/models/mark-bid-failed-v1-request-dto.ts +1 -1
- package/models/negotiation-score-v1-dto.ts +1 -1
- package/models/negotiation-scored-response-dto.ts +1 -1
- package/models/oauth-error-response-dto.ts +1 -1
- package/models/preconditions-dto.ts +11 -11
- package/models/preconditions-v1-dto.ts +101 -0
- package/models/problem-details-dto.ts +1 -1
- package/models/register-award-request-dto.ts +7 -11
- package/models/register-award-v1-request-dto.ts +1 -1
- package/models/{request-split-invoice-request-dto.ts → request-split-invoice-v1-request-dto.ts} +2 -2
- package/models/simulate-sandbox-bid-request-dto.ts +31 -0
- package/models/simulate-sandbox-bid-response-dto.ts +43 -0
- package/models/{split-invoice-response-dto.ts → split-invoice-v1-response-dto.ts} +2 -2
- package/models/statement-document-dto.ts +3 -3
- package/models/statement-product-dto.ts +2 -2
- package/models/statement-v1-document-dto.ts +1 -1
- package/models/statement-v1-product-dto.ts +1 -1
- package/models/submit-negotiation-scores-v1-request-dto.ts +1 -1
- package/models/supplier-tax-type.ts +29 -0
- package/models/tax-invoice-issued-response-dto.ts +6 -6
- package/models/token-request-dto.ts +1 -1
- package/models/token-response-dto.ts +1 -1
- package/models/update-bid-request-dto.ts +70 -101
- package/models/upload-file-request-dto.ts +1 -1
- package/package.json +1 -1
- package/dist/esm/models/split-invoice-response-dto.js +0 -14
- package/dist/models/split-invoice-response-dto.js +0 -15
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* CMARKET V6 Partner API
|
|
5
5
|
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. `X-Platform-Id`(cate_set.api_id) / `X-Platform-Secret`(cate_set.api_secret, MD5-hex) 헤더로 전송.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 10.0.0
|
|
8
8
|
* Contact: semo.io.kr@gmail.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -76,7 +76,7 @@ export const PartnerV2ApiAxiosParamCreator = function (configuration) {
|
|
|
76
76
|
};
|
|
77
77
|
}),
|
|
78
78
|
/**
|
|
79
|
-
* 공급사로부터 계산서를 수령한 뒤, 계약을 완료처리 상태로 강제 전환합니다. **호출 시점:** 낙찰·계약 완료 후 공급사 계산서를 오프라인으로 수령했을 때. **부수효과:** -
|
|
79
|
+
* 공급사로부터 계산서를 수령한 뒤, 계약을 완료처리 상태로 강제 전환합니다. **호출 시점:** 낙찰·계약 완료 후 공급사 계산서를 오프라인으로 수령했을 때. **부수효과:** - 결제완료·계산서 발급 상태가 기록되고 발급일자가 현재 시각으로 설정됩니다. **소유권:** 공고는 요청 파트너 키가 소유한 발주처 명의여야 합니다(타 발주처 공고 → 403). **이미 완료:** 이미 완료처리된 공고 재호출 → 409. **필수 스코프:** `contracts:write` **멱등성:** `Idempotency-Key` 헤더 필수.
|
|
80
80
|
* @summary 정산 마감(송장 강제완료)
|
|
81
81
|
* @param {string} bidId
|
|
82
82
|
* @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
|
|
@@ -149,18 +149,15 @@ export const PartnerV2ApiAxiosParamCreator = function (configuration) {
|
|
|
149
149
|
};
|
|
150
150
|
}),
|
|
151
151
|
/**
|
|
152
|
-
*
|
|
152
|
+
* 공고의 응찰 참여 업체·순위·낙찰 여부를 조회한다. scope bids:read.
|
|
153
153
|
* @summary 입찰 결과 조회
|
|
154
154
|
* @param {string} bidId
|
|
155
|
-
* @param {string} buyerId 공고 명의 회원 ID (멀티테넌트 가시성 키).
|
|
156
155
|
* @param {*} [options] Override http request option.
|
|
157
156
|
* @throws {RequiredError}
|
|
158
157
|
*/
|
|
159
|
-
getBidResults: (bidId_1,
|
|
158
|
+
getBidResults: (bidId_1, ...args_1) => __awaiter(this, [bidId_1, ...args_1], void 0, function* (bidId, options = {}) {
|
|
160
159
|
// verify required parameter 'bidId' is not null or undefined
|
|
161
160
|
assertParamExists('getBidResults', 'bidId', bidId);
|
|
162
|
-
// verify required parameter 'buyerId' is not null or undefined
|
|
163
|
-
assertParamExists('getBidResults', 'buyerId', buyerId);
|
|
164
161
|
const localVarPath = `/v2/bids/{bidId}/results`
|
|
165
162
|
.replace('{bidId}', encodeURIComponent(String(bidId)));
|
|
166
163
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -175,9 +172,6 @@ export const PartnerV2ApiAxiosParamCreator = function (configuration) {
|
|
|
175
172
|
// authentication partner-oauth2 required
|
|
176
173
|
// http bearer authentication required
|
|
177
174
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
178
|
-
if (buyerId !== undefined) {
|
|
179
|
-
localVarQueryParameter['buyerId'] = buyerId;
|
|
180
|
-
}
|
|
181
175
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
182
176
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
183
177
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -188,7 +182,7 @@ export const PartnerV2ApiAxiosParamCreator = function (configuration) {
|
|
|
188
182
|
};
|
|
189
183
|
}),
|
|
190
184
|
/**
|
|
191
|
-
*
|
|
185
|
+
* 낙찰 공급사의 사업자·계좌·공급가액/부가세·응찰 품목내역을 조회한다. scope bids:read. 가시성 마스킹과 직교한 정산 데이터 — read-only.
|
|
192
186
|
* @summary 입찰결과 정산정보 조회
|
|
193
187
|
* @param {string} bidId
|
|
194
188
|
* @param {*} [options] Override http request option.
|
|
@@ -221,7 +215,7 @@ export const PartnerV2ApiAxiosParamCreator = function (configuration) {
|
|
|
221
215
|
};
|
|
222
216
|
}),
|
|
223
217
|
/**
|
|
224
|
-
*
|
|
218
|
+
* 낙찰 계약의 거래명세서(문서·품목 라인)를 조회한다. scope contracts:read.
|
|
225
219
|
* @summary 거래명세서 조회
|
|
226
220
|
* @param {string} bidId
|
|
227
221
|
* @param {number} paperCode
|
|
@@ -286,9 +280,9 @@ export const PartnerV2ApiAxiosParamCreator = function (configuration) {
|
|
|
286
280
|
};
|
|
287
281
|
}),
|
|
288
282
|
/**
|
|
289
|
-
* 낙찰 공급사가 확정된 공고에 대해 세금계산서를
|
|
283
|
+
* 낙찰 공급사가 확정된 공고에 대해 세금계산서를 발행합니다. **호출 시점:** 낙찰자 선정(계약진행) 이후. 과세/면세를 자동 분리해 발행합니다. **부수효과:** - 세금계산서가 국세청에 발행되고 공고가 발행 완료로 마킹됩니다. - 이미 발행됐거나 분할 청구가 진행 중이면 409 로 거절됩니다. **소유권:** 발행 대상 공고가 API 키에 바인딩된 발주처 소유가 아니면 403. **필수 스코프:** `contracts:write` **멱등성:** `Idempotency-Key` 헤더 필수. 동일 키 + 동일 body 재전송 시 24시간 내 캐시 응답 반환.
|
|
290
284
|
* @summary 세금계산서 발행
|
|
291
|
-
* @param {string} bidId
|
|
285
|
+
* @param {string} bidId 공고 식별자(등록 응답의 bidId).
|
|
292
286
|
* @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
|
|
293
287
|
* @param {IssueTaxInvoiceRequestDto} issueTaxInvoiceRequestDto
|
|
294
288
|
* @param {*} [options] Override http request option.
|
|
@@ -330,7 +324,7 @@ export const PartnerV2ApiAxiosParamCreator = function (configuration) {
|
|
|
330
324
|
};
|
|
331
325
|
}),
|
|
332
326
|
/**
|
|
333
|
-
* 공고를 유찰 상태로 전환합니다.
|
|
327
|
+
* 공고를 유찰 상태로 전환합니다. **호출 시점:** 입찰 마감 후 유찰 사유가 확정되었을 때. 공고가 입찰완료(마감) 상태에서 호출합니다. **부수효과:** - 공고 상태가 유찰(FAILED)로 전환됩니다. - 유찰사유 코드와 상세가 기록됩니다. **유찰사유 값 목록(failureReasonCode — 공개값):** | 값 | 의미 | |------|------| | `ABOVE_TARGET_PRICE` | 예정가격 초과 | | `DEPT_MISMATCH` | 자격 미달 | | `NEEDS_EXPERTISE` | 전문성 필요 | | `OTHER` | 기타 (`failureReasonDetail` 필수) | | `NO_PARTICIPANT` | 참가자 없음 | | `SINGLE_PARTICIPANT` | 단독 참가 | | `LESS_THAN_TWO` | 2인 미만 | | `BELOW_MINIMUM` | 최저가 미달 | **발주처:** API 키에 바인딩된 발주처로 자동 스코프됩니다(요청 body 에 buyerId 를 넣지 않습니다). **필수 스코프:** `awards:write` **멱등성:** `Idempotency-Key` 헤더 필수.
|
|
334
328
|
* @summary 유찰 처리
|
|
335
329
|
* @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
|
|
336
330
|
* @param {MarkBidFailedRequestDto} markBidFailedRequestDto
|
|
@@ -409,7 +403,7 @@ export const PartnerV2ApiAxiosParamCreator = function (configuration) {
|
|
|
409
403
|
};
|
|
410
404
|
}),
|
|
411
405
|
/**
|
|
412
|
-
* 낙찰 결과를 등록하고 공고를 낙찰 상태로 전환합니다.
|
|
406
|
+
* 낙찰 결과를 등록하고 공고를 낙찰 상태로 전환합니다. **호출 시점:** 입찰 마감 후 낙찰자가 확정되었을 때. 공고가 입찰완료(마감) 상태에서 호출합니다. **부수효과:** - 공고 상태가 낙찰(AWARDED)로 전환됩니다. - 낙찰자(공급사)의 응찰 건이 낙찰 처리됩니다. - 협상 방식(H/K) 공고는 이 엔드포인트 전에 `/v1/awards/nego-eval` 로 평가 완료가 필요합니다. **발주처:** API 키에 바인딩된 발주처로 자동 스코프됩니다(요청 body 에 buyerId 를 넣지 않습니다). **필수 스코프:** `awards:write` **멱등성:** `Idempotency-Key` 헤더 필수. 동일 키 + 동일 body 재전송 시 24시간 내 캐시 응답 반환.
|
|
413
407
|
* @summary 낙찰 결과 전송
|
|
414
408
|
* @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
|
|
415
409
|
* @param {RegisterAwardRequestDto} registerAwardRequestDto
|
|
@@ -483,9 +477,47 @@ export const PartnerV2ApiAxiosParamCreator = function (configuration) {
|
|
|
483
477
|
};
|
|
484
478
|
}),
|
|
485
479
|
/**
|
|
486
|
-
*
|
|
480
|
+
* 샌드박스 공고에 합성 응찰을 추가하거나 낙찰대기로 마감하는 **영업 데모 전용** 시뮬입니다. **샌드박스 키 전용:** 토큰에 `sandboxBuyerId` 가 없는 운영 키로는 호출할 수 없습니다(403 `sandbox-only`). **단계(`phase`):** - `join` — 합성 공급사 명의로 응찰 1건을 추가합니다(멱등 — 최대 2건, 이미 2건이면 no-op). - `close` — 공고를 낙찰대기(PENDING_AWARD)로 전이해 낙찰결과 조회 게이트를 엽니다(이미 마감이면 no-op). **안전장치:** 실제 write(합성 응찰 INSERT·상태 전이)는 backend 가 `SANDBOX_BUYER_ID` 소유 공고에 한해서만 수행합니다. 실 발주처 공고는 절대 건드리지 않습니다(fail-closed). **필수 스코프:** `bids:write`
|
|
481
|
+
* @summary 샌드박스 응찰/마감 시뮬 (영업 데모 전용)
|
|
482
|
+
* @param {string} bidId 샌드박스 공고 ID(= backend bidId).
|
|
483
|
+
* @param {SimulateSandboxBidRequestDto} simulateSandboxBidRequestDto
|
|
484
|
+
* @param {*} [options] Override http request option.
|
|
485
|
+
* @throws {RequiredError}
|
|
486
|
+
*/
|
|
487
|
+
simulateSandboxBid: (bidId_1, simulateSandboxBidRequestDto_1, ...args_1) => __awaiter(this, [bidId_1, simulateSandboxBidRequestDto_1, ...args_1], void 0, function* (bidId, simulateSandboxBidRequestDto, options = {}) {
|
|
488
|
+
// verify required parameter 'bidId' is not null or undefined
|
|
489
|
+
assertParamExists('simulateSandboxBid', 'bidId', bidId);
|
|
490
|
+
// verify required parameter 'simulateSandboxBidRequestDto' is not null or undefined
|
|
491
|
+
assertParamExists('simulateSandboxBid', 'simulateSandboxBidRequestDto', simulateSandboxBidRequestDto);
|
|
492
|
+
const localVarPath = `/v2/sandbox/bids/{bidId}/simulate`
|
|
493
|
+
.replace('{bidId}', encodeURIComponent(String(bidId)));
|
|
494
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
495
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
496
|
+
let baseOptions;
|
|
497
|
+
if (configuration) {
|
|
498
|
+
baseOptions = configuration.baseOptions;
|
|
499
|
+
}
|
|
500
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
501
|
+
const localVarHeaderParameter = {};
|
|
502
|
+
const localVarQueryParameter = {};
|
|
503
|
+
// authentication partner-oauth2 required
|
|
504
|
+
// http bearer authentication required
|
|
505
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
506
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
507
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
508
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
509
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
510
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
511
|
+
localVarRequestOptions.data = serializeDataIfNeeded(simulateSandboxBidRequestDto, localVarRequestOptions, configuration);
|
|
512
|
+
return {
|
|
513
|
+
url: toPathString(localVarUrlObj),
|
|
514
|
+
options: localVarRequestOptions,
|
|
515
|
+
};
|
|
516
|
+
}),
|
|
517
|
+
/**
|
|
518
|
+
* 등록된 공고의 내용을 수정합니다. 스코프 `bids:write` + `Idempotency-Key` 헤더 필수. 진행중/초안 상태의 공고만 수정할 수 있습니다. **부수효과:** - 변경 내용이 반영되고 수정이력이 기록됩니다. - `hideEdit=true` 면 변경이력을 비공개 처리하고 노출 카운터 증가를 생략합니다. **수정 제약:** - 낙찰방법(awardMethod)은 수정 불가(잠금). - 참여자가 있으면 입찰방식/면허/예산/품목 일부가 잠깁니다. - 마감/취소된 공고는 수정할 수 없습니다. 한 섹션을 수정하려면 해당 섹션의 필수 필드를 함께 보내야 합니다(부분 섹션은 거부됨).
|
|
487
519
|
* @summary 입찰 공고 수정
|
|
488
|
-
* @param {string} bidId
|
|
520
|
+
* @param {string} bidId 공고 식별자(등록 응답의 bidId).
|
|
489
521
|
* @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환.
|
|
490
522
|
* @param {UpdateBidRequestDto} updateBidRequestDto
|
|
491
523
|
* @param {*} [options] Override http request option.
|
|
@@ -587,7 +619,7 @@ export const PartnerV2ApiFp = function (configuration) {
|
|
|
587
619
|
});
|
|
588
620
|
},
|
|
589
621
|
/**
|
|
590
|
-
* 공급사로부터 계산서를 수령한 뒤, 계약을 완료처리 상태로 강제 전환합니다. **호출 시점:** 낙찰·계약 완료 후 공급사 계산서를 오프라인으로 수령했을 때. **부수효과:** -
|
|
622
|
+
* 공급사로부터 계산서를 수령한 뒤, 계약을 완료처리 상태로 강제 전환합니다. **호출 시점:** 낙찰·계약 완료 후 공급사 계산서를 오프라인으로 수령했을 때. **부수효과:** - 결제완료·계산서 발급 상태가 기록되고 발급일자가 현재 시각으로 설정됩니다. **소유권:** 공고는 요청 파트너 키가 소유한 발주처 명의여야 합니다(타 발주처 공고 → 403). **이미 완료:** 이미 완료처리된 공고 재호출 → 409. **필수 스코프:** `contracts:write` **멱등성:** `Idempotency-Key` 헤더 필수.
|
|
591
623
|
* @summary 정산 마감(송장 강제완료)
|
|
592
624
|
* @param {string} bidId
|
|
593
625
|
* @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
|
|
@@ -620,24 +652,23 @@ export const PartnerV2ApiFp = function (configuration) {
|
|
|
620
652
|
});
|
|
621
653
|
},
|
|
622
654
|
/**
|
|
623
|
-
*
|
|
655
|
+
* 공고의 응찰 참여 업체·순위·낙찰 여부를 조회한다. scope bids:read.
|
|
624
656
|
* @summary 입찰 결과 조회
|
|
625
657
|
* @param {string} bidId
|
|
626
|
-
* @param {string} buyerId 공고 명의 회원 ID (멀티테넌트 가시성 키).
|
|
627
658
|
* @param {*} [options] Override http request option.
|
|
628
659
|
* @throws {RequiredError}
|
|
629
660
|
*/
|
|
630
|
-
getBidResults(bidId,
|
|
661
|
+
getBidResults(bidId, options) {
|
|
631
662
|
return __awaiter(this, void 0, void 0, function* () {
|
|
632
663
|
var _a, _b, _c;
|
|
633
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getBidResults(bidId,
|
|
664
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getBidResults(bidId, options);
|
|
634
665
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
635
666
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PartnerV2Api.getBidResults']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
636
667
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
637
668
|
});
|
|
638
669
|
},
|
|
639
670
|
/**
|
|
640
|
-
*
|
|
671
|
+
* 낙찰 공급사의 사업자·계좌·공급가액/부가세·응찰 품목내역을 조회한다. scope bids:read. 가시성 마스킹과 직교한 정산 데이터 — read-only.
|
|
641
672
|
* @summary 입찰결과 정산정보 조회
|
|
642
673
|
* @param {string} bidId
|
|
643
674
|
* @param {*} [options] Override http request option.
|
|
@@ -653,7 +684,7 @@ export const PartnerV2ApiFp = function (configuration) {
|
|
|
653
684
|
});
|
|
654
685
|
},
|
|
655
686
|
/**
|
|
656
|
-
*
|
|
687
|
+
* 낙찰 계약의 거래명세서(문서·품목 라인)를 조회한다. scope contracts:read.
|
|
657
688
|
* @summary 거래명세서 조회
|
|
658
689
|
* @param {string} bidId
|
|
659
690
|
* @param {number} paperCode
|
|
@@ -685,9 +716,9 @@ export const PartnerV2ApiFp = function (configuration) {
|
|
|
685
716
|
});
|
|
686
717
|
},
|
|
687
718
|
/**
|
|
688
|
-
* 낙찰 공급사가 확정된 공고에 대해 세금계산서를
|
|
719
|
+
* 낙찰 공급사가 확정된 공고에 대해 세금계산서를 발행합니다. **호출 시점:** 낙찰자 선정(계약진행) 이후. 과세/면세를 자동 분리해 발행합니다. **부수효과:** - 세금계산서가 국세청에 발행되고 공고가 발행 완료로 마킹됩니다. - 이미 발행됐거나 분할 청구가 진행 중이면 409 로 거절됩니다. **소유권:** 발행 대상 공고가 API 키에 바인딩된 발주처 소유가 아니면 403. **필수 스코프:** `contracts:write` **멱등성:** `Idempotency-Key` 헤더 필수. 동일 키 + 동일 body 재전송 시 24시간 내 캐시 응답 반환.
|
|
689
720
|
* @summary 세금계산서 발행
|
|
690
|
-
* @param {string} bidId
|
|
721
|
+
* @param {string} bidId 공고 식별자(등록 응답의 bidId).
|
|
691
722
|
* @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
|
|
692
723
|
* @param {IssueTaxInvoiceRequestDto} issueTaxInvoiceRequestDto
|
|
693
724
|
* @param {*} [options] Override http request option.
|
|
@@ -703,7 +734,7 @@ export const PartnerV2ApiFp = function (configuration) {
|
|
|
703
734
|
});
|
|
704
735
|
},
|
|
705
736
|
/**
|
|
706
|
-
* 공고를 유찰 상태로 전환합니다.
|
|
737
|
+
* 공고를 유찰 상태로 전환합니다. **호출 시점:** 입찰 마감 후 유찰 사유가 확정되었을 때. 공고가 입찰완료(마감) 상태에서 호출합니다. **부수효과:** - 공고 상태가 유찰(FAILED)로 전환됩니다. - 유찰사유 코드와 상세가 기록됩니다. **유찰사유 값 목록(failureReasonCode — 공개값):** | 값 | 의미 | |------|------| | `ABOVE_TARGET_PRICE` | 예정가격 초과 | | `DEPT_MISMATCH` | 자격 미달 | | `NEEDS_EXPERTISE` | 전문성 필요 | | `OTHER` | 기타 (`failureReasonDetail` 필수) | | `NO_PARTICIPANT` | 참가자 없음 | | `SINGLE_PARTICIPANT` | 단독 참가 | | `LESS_THAN_TWO` | 2인 미만 | | `BELOW_MINIMUM` | 최저가 미달 | **발주처:** API 키에 바인딩된 발주처로 자동 스코프됩니다(요청 body 에 buyerId 를 넣지 않습니다). **필수 스코프:** `awards:write` **멱등성:** `Idempotency-Key` 헤더 필수.
|
|
707
738
|
* @summary 유찰 처리
|
|
708
739
|
* @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
|
|
709
740
|
* @param {MarkBidFailedRequestDto} markBidFailedRequestDto
|
|
@@ -737,7 +768,7 @@ export const PartnerV2ApiFp = function (configuration) {
|
|
|
737
768
|
});
|
|
738
769
|
},
|
|
739
770
|
/**
|
|
740
|
-
* 낙찰 결과를 등록하고 공고를 낙찰 상태로 전환합니다.
|
|
771
|
+
* 낙찰 결과를 등록하고 공고를 낙찰 상태로 전환합니다. **호출 시점:** 입찰 마감 후 낙찰자가 확정되었을 때. 공고가 입찰완료(마감) 상태에서 호출합니다. **부수효과:** - 공고 상태가 낙찰(AWARDED)로 전환됩니다. - 낙찰자(공급사)의 응찰 건이 낙찰 처리됩니다. - 협상 방식(H/K) 공고는 이 엔드포인트 전에 `/v1/awards/nego-eval` 로 평가 완료가 필요합니다. **발주처:** API 키에 바인딩된 발주처로 자동 스코프됩니다(요청 body 에 buyerId 를 넣지 않습니다). **필수 스코프:** `awards:write` **멱등성:** `Idempotency-Key` 헤더 필수. 동일 키 + 동일 body 재전송 시 24시간 내 캐시 응답 반환.
|
|
741
772
|
* @summary 낙찰 결과 전송
|
|
742
773
|
* @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
|
|
743
774
|
* @param {RegisterAwardRequestDto} registerAwardRequestDto
|
|
@@ -770,9 +801,26 @@ export const PartnerV2ApiFp = function (configuration) {
|
|
|
770
801
|
});
|
|
771
802
|
},
|
|
772
803
|
/**
|
|
773
|
-
*
|
|
804
|
+
* 샌드박스 공고에 합성 응찰을 추가하거나 낙찰대기로 마감하는 **영업 데모 전용** 시뮬입니다. **샌드박스 키 전용:** 토큰에 `sandboxBuyerId` 가 없는 운영 키로는 호출할 수 없습니다(403 `sandbox-only`). **단계(`phase`):** - `join` — 합성 공급사 명의로 응찰 1건을 추가합니다(멱등 — 최대 2건, 이미 2건이면 no-op). - `close` — 공고를 낙찰대기(PENDING_AWARD)로 전이해 낙찰결과 조회 게이트를 엽니다(이미 마감이면 no-op). **안전장치:** 실제 write(합성 응찰 INSERT·상태 전이)는 backend 가 `SANDBOX_BUYER_ID` 소유 공고에 한해서만 수행합니다. 실 발주처 공고는 절대 건드리지 않습니다(fail-closed). **필수 스코프:** `bids:write`
|
|
805
|
+
* @summary 샌드박스 응찰/마감 시뮬 (영업 데모 전용)
|
|
806
|
+
* @param {string} bidId 샌드박스 공고 ID(= backend bidId).
|
|
807
|
+
* @param {SimulateSandboxBidRequestDto} simulateSandboxBidRequestDto
|
|
808
|
+
* @param {*} [options] Override http request option.
|
|
809
|
+
* @throws {RequiredError}
|
|
810
|
+
*/
|
|
811
|
+
simulateSandboxBid(bidId, simulateSandboxBidRequestDto, options) {
|
|
812
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
813
|
+
var _a, _b, _c;
|
|
814
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.simulateSandboxBid(bidId, simulateSandboxBidRequestDto, options);
|
|
815
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
816
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PartnerV2Api.simulateSandboxBid']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
817
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
818
|
+
});
|
|
819
|
+
},
|
|
820
|
+
/**
|
|
821
|
+
* 등록된 공고의 내용을 수정합니다. 스코프 `bids:write` + `Idempotency-Key` 헤더 필수. 진행중/초안 상태의 공고만 수정할 수 있습니다. **부수효과:** - 변경 내용이 반영되고 수정이력이 기록됩니다. - `hideEdit=true` 면 변경이력을 비공개 처리하고 노출 카운터 증가를 생략합니다. **수정 제약:** - 낙찰방법(awardMethod)은 수정 불가(잠금). - 참여자가 있으면 입찰방식/면허/예산/품목 일부가 잠깁니다. - 마감/취소된 공고는 수정할 수 없습니다. 한 섹션을 수정하려면 해당 섹션의 필수 필드를 함께 보내야 합니다(부분 섹션은 거부됨).
|
|
774
822
|
* @summary 입찰 공고 수정
|
|
775
|
-
* @param {string} bidId
|
|
823
|
+
* @param {string} bidId 공고 식별자(등록 응답의 bidId).
|
|
776
824
|
* @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환.
|
|
777
825
|
* @param {UpdateBidRequestDto} updateBidRequestDto
|
|
778
826
|
* @param {*} [options] Override http request option.
|
|
@@ -824,7 +872,7 @@ export const PartnerV2ApiFactory = function (configuration, basePath, axios) {
|
|
|
824
872
|
return localVarFp.completeAcceptance(bidId, idempotencyKey, completeAcceptanceRequestDto, options).then((request) => request(axios, basePath));
|
|
825
873
|
},
|
|
826
874
|
/**
|
|
827
|
-
* 공급사로부터 계산서를 수령한 뒤, 계약을 완료처리 상태로 강제 전환합니다. **호출 시점:** 낙찰·계약 완료 후 공급사 계산서를 오프라인으로 수령했을 때. **부수효과:** -
|
|
875
|
+
* 공급사로부터 계산서를 수령한 뒤, 계약을 완료처리 상태로 강제 전환합니다. **호출 시점:** 낙찰·계약 완료 후 공급사 계산서를 오프라인으로 수령했을 때. **부수효과:** - 결제완료·계산서 발급 상태가 기록되고 발급일자가 현재 시각으로 설정됩니다. **소유권:** 공고는 요청 파트너 키가 소유한 발주처 명의여야 합니다(타 발주처 공고 → 403). **이미 완료:** 이미 완료처리된 공고 재호출 → 409. **필수 스코프:** `contracts:write` **멱등성:** `Idempotency-Key` 헤더 필수.
|
|
828
876
|
* @summary 정산 마감(송장 강제완료)
|
|
829
877
|
* @param {string} bidId
|
|
830
878
|
* @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
|
|
@@ -845,18 +893,17 @@ export const PartnerV2ApiFactory = function (configuration, basePath, axios) {
|
|
|
845
893
|
return localVarFp.createEmbedLaunch(embedLaunchRequestDto, options).then((request) => request(axios, basePath));
|
|
846
894
|
},
|
|
847
895
|
/**
|
|
848
|
-
*
|
|
896
|
+
* 공고의 응찰 참여 업체·순위·낙찰 여부를 조회한다. scope bids:read.
|
|
849
897
|
* @summary 입찰 결과 조회
|
|
850
898
|
* @param {string} bidId
|
|
851
|
-
* @param {string} buyerId 공고 명의 회원 ID (멀티테넌트 가시성 키).
|
|
852
899
|
* @param {*} [options] Override http request option.
|
|
853
900
|
* @throws {RequiredError}
|
|
854
901
|
*/
|
|
855
|
-
getBidResults(bidId,
|
|
856
|
-
return localVarFp.getBidResults(bidId,
|
|
902
|
+
getBidResults(bidId, options) {
|
|
903
|
+
return localVarFp.getBidResults(bidId, options).then((request) => request(axios, basePath));
|
|
857
904
|
},
|
|
858
905
|
/**
|
|
859
|
-
*
|
|
906
|
+
* 낙찰 공급사의 사업자·계좌·공급가액/부가세·응찰 품목내역을 조회한다. scope bids:read. 가시성 마스킹과 직교한 정산 데이터 — read-only.
|
|
860
907
|
* @summary 입찰결과 정산정보 조회
|
|
861
908
|
* @param {string} bidId
|
|
862
909
|
* @param {*} [options] Override http request option.
|
|
@@ -866,7 +913,7 @@ export const PartnerV2ApiFactory = function (configuration, basePath, axios) {
|
|
|
866
913
|
return localVarFp.getBidSettlement(bidId, options).then((request) => request(axios, basePath));
|
|
867
914
|
},
|
|
868
915
|
/**
|
|
869
|
-
*
|
|
916
|
+
* 낙찰 계약의 거래명세서(문서·품목 라인)를 조회한다. scope contracts:read.
|
|
870
917
|
* @summary 거래명세서 조회
|
|
871
918
|
* @param {string} bidId
|
|
872
919
|
* @param {number} paperCode
|
|
@@ -886,9 +933,9 @@ export const PartnerV2ApiFactory = function (configuration, basePath, axios) {
|
|
|
886
933
|
return localVarFp.healthControllerCheck(options).then((request) => request(axios, basePath));
|
|
887
934
|
},
|
|
888
935
|
/**
|
|
889
|
-
* 낙찰 공급사가 확정된 공고에 대해 세금계산서를
|
|
936
|
+
* 낙찰 공급사가 확정된 공고에 대해 세금계산서를 발행합니다. **호출 시점:** 낙찰자 선정(계약진행) 이후. 과세/면세를 자동 분리해 발행합니다. **부수효과:** - 세금계산서가 국세청에 발행되고 공고가 발행 완료로 마킹됩니다. - 이미 발행됐거나 분할 청구가 진행 중이면 409 로 거절됩니다. **소유권:** 발행 대상 공고가 API 키에 바인딩된 발주처 소유가 아니면 403. **필수 스코프:** `contracts:write` **멱등성:** `Idempotency-Key` 헤더 필수. 동일 키 + 동일 body 재전송 시 24시간 내 캐시 응답 반환.
|
|
890
937
|
* @summary 세금계산서 발행
|
|
891
|
-
* @param {string} bidId
|
|
938
|
+
* @param {string} bidId 공고 식별자(등록 응답의 bidId).
|
|
892
939
|
* @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
|
|
893
940
|
* @param {IssueTaxInvoiceRequestDto} issueTaxInvoiceRequestDto
|
|
894
941
|
* @param {*} [options] Override http request option.
|
|
@@ -898,7 +945,7 @@ export const PartnerV2ApiFactory = function (configuration, basePath, axios) {
|
|
|
898
945
|
return localVarFp.issueTaxInvoice(bidId, idempotencyKey, issueTaxInvoiceRequestDto, options).then((request) => request(axios, basePath));
|
|
899
946
|
},
|
|
900
947
|
/**
|
|
901
|
-
* 공고를 유찰 상태로 전환합니다.
|
|
948
|
+
* 공고를 유찰 상태로 전환합니다. **호출 시점:** 입찰 마감 후 유찰 사유가 확정되었을 때. 공고가 입찰완료(마감) 상태에서 호출합니다. **부수효과:** - 공고 상태가 유찰(FAILED)로 전환됩니다. - 유찰사유 코드와 상세가 기록됩니다. **유찰사유 값 목록(failureReasonCode — 공개값):** | 값 | 의미 | |------|------| | `ABOVE_TARGET_PRICE` | 예정가격 초과 | | `DEPT_MISMATCH` | 자격 미달 | | `NEEDS_EXPERTISE` | 전문성 필요 | | `OTHER` | 기타 (`failureReasonDetail` 필수) | | `NO_PARTICIPANT` | 참가자 없음 | | `SINGLE_PARTICIPANT` | 단독 참가 | | `LESS_THAN_TWO` | 2인 미만 | | `BELOW_MINIMUM` | 최저가 미달 | **발주처:** API 키에 바인딩된 발주처로 자동 스코프됩니다(요청 body 에 buyerId 를 넣지 않습니다). **필수 스코프:** `awards:write` **멱등성:** `Idempotency-Key` 헤더 필수.
|
|
902
949
|
* @summary 유찰 처리
|
|
903
950
|
* @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
|
|
904
951
|
* @param {MarkBidFailedRequestDto} markBidFailedRequestDto
|
|
@@ -920,7 +967,7 @@ export const PartnerV2ApiFactory = function (configuration, basePath, axios) {
|
|
|
920
967
|
return localVarFp.regenerateContractDocuments(bidId, idempotencyKey, options).then((request) => request(axios, basePath));
|
|
921
968
|
},
|
|
922
969
|
/**
|
|
923
|
-
* 낙찰 결과를 등록하고 공고를 낙찰 상태로 전환합니다.
|
|
970
|
+
* 낙찰 결과를 등록하고 공고를 낙찰 상태로 전환합니다. **호출 시점:** 입찰 마감 후 낙찰자가 확정되었을 때. 공고가 입찰완료(마감) 상태에서 호출합니다. **부수효과:** - 공고 상태가 낙찰(AWARDED)로 전환됩니다. - 낙찰자(공급사)의 응찰 건이 낙찰 처리됩니다. - 협상 방식(H/K) 공고는 이 엔드포인트 전에 `/v1/awards/nego-eval` 로 평가 완료가 필요합니다. **발주처:** API 키에 바인딩된 발주처로 자동 스코프됩니다(요청 body 에 buyerId 를 넣지 않습니다). **필수 스코프:** `awards:write` **멱등성:** `Idempotency-Key` 헤더 필수. 동일 키 + 동일 body 재전송 시 24시간 내 캐시 응답 반환.
|
|
924
971
|
* @summary 낙찰 결과 전송
|
|
925
972
|
* @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
|
|
926
973
|
* @param {RegisterAwardRequestDto} registerAwardRequestDto
|
|
@@ -941,9 +988,20 @@ export const PartnerV2ApiFactory = function (configuration, basePath, axios) {
|
|
|
941
988
|
return localVarFp.registerBid(createBidRequestDto, options).then((request) => request(axios, basePath));
|
|
942
989
|
},
|
|
943
990
|
/**
|
|
944
|
-
*
|
|
991
|
+
* 샌드박스 공고에 합성 응찰을 추가하거나 낙찰대기로 마감하는 **영업 데모 전용** 시뮬입니다. **샌드박스 키 전용:** 토큰에 `sandboxBuyerId` 가 없는 운영 키로는 호출할 수 없습니다(403 `sandbox-only`). **단계(`phase`):** - `join` — 합성 공급사 명의로 응찰 1건을 추가합니다(멱등 — 최대 2건, 이미 2건이면 no-op). - `close` — 공고를 낙찰대기(PENDING_AWARD)로 전이해 낙찰결과 조회 게이트를 엽니다(이미 마감이면 no-op). **안전장치:** 실제 write(합성 응찰 INSERT·상태 전이)는 backend 가 `SANDBOX_BUYER_ID` 소유 공고에 한해서만 수행합니다. 실 발주처 공고는 절대 건드리지 않습니다(fail-closed). **필수 스코프:** `bids:write`
|
|
992
|
+
* @summary 샌드박스 응찰/마감 시뮬 (영업 데모 전용)
|
|
993
|
+
* @param {string} bidId 샌드박스 공고 ID(= backend bidId).
|
|
994
|
+
* @param {SimulateSandboxBidRequestDto} simulateSandboxBidRequestDto
|
|
995
|
+
* @param {*} [options] Override http request option.
|
|
996
|
+
* @throws {RequiredError}
|
|
997
|
+
*/
|
|
998
|
+
simulateSandboxBid(bidId, simulateSandboxBidRequestDto, options) {
|
|
999
|
+
return localVarFp.simulateSandboxBid(bidId, simulateSandboxBidRequestDto, options).then((request) => request(axios, basePath));
|
|
1000
|
+
},
|
|
1001
|
+
/**
|
|
1002
|
+
* 등록된 공고의 내용을 수정합니다. 스코프 `bids:write` + `Idempotency-Key` 헤더 필수. 진행중/초안 상태의 공고만 수정할 수 있습니다. **부수효과:** - 변경 내용이 반영되고 수정이력이 기록됩니다. - `hideEdit=true` 면 변경이력을 비공개 처리하고 노출 카운터 증가를 생략합니다. **수정 제약:** - 낙찰방법(awardMethod)은 수정 불가(잠금). - 참여자가 있으면 입찰방식/면허/예산/품목 일부가 잠깁니다. - 마감/취소된 공고는 수정할 수 없습니다. 한 섹션을 수정하려면 해당 섹션의 필수 필드를 함께 보내야 합니다(부분 섹션은 거부됨).
|
|
945
1003
|
* @summary 입찰 공고 수정
|
|
946
|
-
* @param {string} bidId
|
|
1004
|
+
* @param {string} bidId 공고 식별자(등록 응답의 bidId).
|
|
947
1005
|
* @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환.
|
|
948
1006
|
* @param {UpdateBidRequestDto} updateBidRequestDto
|
|
949
1007
|
* @param {*} [options] Override http request option.
|
|
@@ -981,7 +1039,7 @@ export class PartnerV2Api extends BaseAPI {
|
|
|
981
1039
|
return PartnerV2ApiFp(this.configuration).completeAcceptance(bidId, idempotencyKey, completeAcceptanceRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
982
1040
|
}
|
|
983
1041
|
/**
|
|
984
|
-
* 공급사로부터 계산서를 수령한 뒤, 계약을 완료처리 상태로 강제 전환합니다. **호출 시점:** 낙찰·계약 완료 후 공급사 계산서를 오프라인으로 수령했을 때. **부수효과:** -
|
|
1042
|
+
* 공급사로부터 계산서를 수령한 뒤, 계약을 완료처리 상태로 강제 전환합니다. **호출 시점:** 낙찰·계약 완료 후 공급사 계산서를 오프라인으로 수령했을 때. **부수효과:** - 결제완료·계산서 발급 상태가 기록되고 발급일자가 현재 시각으로 설정됩니다. **소유권:** 공고는 요청 파트너 키가 소유한 발주처 명의여야 합니다(타 발주처 공고 → 403). **이미 완료:** 이미 완료처리된 공고 재호출 → 409. **필수 스코프:** `contracts:write` **멱등성:** `Idempotency-Key` 헤더 필수.
|
|
985
1043
|
* @summary 정산 마감(송장 강제완료)
|
|
986
1044
|
* @param {string} bidId
|
|
987
1045
|
* @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
|
|
@@ -1002,18 +1060,17 @@ export class PartnerV2Api extends BaseAPI {
|
|
|
1002
1060
|
return PartnerV2ApiFp(this.configuration).createEmbedLaunch(embedLaunchRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
1003
1061
|
}
|
|
1004
1062
|
/**
|
|
1005
|
-
*
|
|
1063
|
+
* 공고의 응찰 참여 업체·순위·낙찰 여부를 조회한다. scope bids:read.
|
|
1006
1064
|
* @summary 입찰 결과 조회
|
|
1007
1065
|
* @param {string} bidId
|
|
1008
|
-
* @param {string} buyerId 공고 명의 회원 ID (멀티테넌트 가시성 키).
|
|
1009
1066
|
* @param {*} [options] Override http request option.
|
|
1010
1067
|
* @throws {RequiredError}
|
|
1011
1068
|
*/
|
|
1012
|
-
getBidResults(bidId,
|
|
1013
|
-
return PartnerV2ApiFp(this.configuration).getBidResults(bidId,
|
|
1069
|
+
getBidResults(bidId, options) {
|
|
1070
|
+
return PartnerV2ApiFp(this.configuration).getBidResults(bidId, options).then((request) => request(this.axios, this.basePath));
|
|
1014
1071
|
}
|
|
1015
1072
|
/**
|
|
1016
|
-
*
|
|
1073
|
+
* 낙찰 공급사의 사업자·계좌·공급가액/부가세·응찰 품목내역을 조회한다. scope bids:read. 가시성 마스킹과 직교한 정산 데이터 — read-only.
|
|
1017
1074
|
* @summary 입찰결과 정산정보 조회
|
|
1018
1075
|
* @param {string} bidId
|
|
1019
1076
|
* @param {*} [options] Override http request option.
|
|
@@ -1023,7 +1080,7 @@ export class PartnerV2Api extends BaseAPI {
|
|
|
1023
1080
|
return PartnerV2ApiFp(this.configuration).getBidSettlement(bidId, options).then((request) => request(this.axios, this.basePath));
|
|
1024
1081
|
}
|
|
1025
1082
|
/**
|
|
1026
|
-
*
|
|
1083
|
+
* 낙찰 계약의 거래명세서(문서·품목 라인)를 조회한다. scope contracts:read.
|
|
1027
1084
|
* @summary 거래명세서 조회
|
|
1028
1085
|
* @param {string} bidId
|
|
1029
1086
|
* @param {number} paperCode
|
|
@@ -1043,9 +1100,9 @@ export class PartnerV2Api extends BaseAPI {
|
|
|
1043
1100
|
return PartnerV2ApiFp(this.configuration).healthControllerCheck(options).then((request) => request(this.axios, this.basePath));
|
|
1044
1101
|
}
|
|
1045
1102
|
/**
|
|
1046
|
-
* 낙찰 공급사가 확정된 공고에 대해 세금계산서를
|
|
1103
|
+
* 낙찰 공급사가 확정된 공고에 대해 세금계산서를 발행합니다. **호출 시점:** 낙찰자 선정(계약진행) 이후. 과세/면세를 자동 분리해 발행합니다. **부수효과:** - 세금계산서가 국세청에 발행되고 공고가 발행 완료로 마킹됩니다. - 이미 발행됐거나 분할 청구가 진행 중이면 409 로 거절됩니다. **소유권:** 발행 대상 공고가 API 키에 바인딩된 발주처 소유가 아니면 403. **필수 스코프:** `contracts:write` **멱등성:** `Idempotency-Key` 헤더 필수. 동일 키 + 동일 body 재전송 시 24시간 내 캐시 응답 반환.
|
|
1047
1104
|
* @summary 세금계산서 발행
|
|
1048
|
-
* @param {string} bidId
|
|
1105
|
+
* @param {string} bidId 공고 식별자(등록 응답의 bidId).
|
|
1049
1106
|
* @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
|
|
1050
1107
|
* @param {IssueTaxInvoiceRequestDto} issueTaxInvoiceRequestDto
|
|
1051
1108
|
* @param {*} [options] Override http request option.
|
|
@@ -1055,7 +1112,7 @@ export class PartnerV2Api extends BaseAPI {
|
|
|
1055
1112
|
return PartnerV2ApiFp(this.configuration).issueTaxInvoice(bidId, idempotencyKey, issueTaxInvoiceRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
1056
1113
|
}
|
|
1057
1114
|
/**
|
|
1058
|
-
* 공고를 유찰 상태로 전환합니다.
|
|
1115
|
+
* 공고를 유찰 상태로 전환합니다. **호출 시점:** 입찰 마감 후 유찰 사유가 확정되었을 때. 공고가 입찰완료(마감) 상태에서 호출합니다. **부수효과:** - 공고 상태가 유찰(FAILED)로 전환됩니다. - 유찰사유 코드와 상세가 기록됩니다. **유찰사유 값 목록(failureReasonCode — 공개값):** | 값 | 의미 | |------|------| | `ABOVE_TARGET_PRICE` | 예정가격 초과 | | `DEPT_MISMATCH` | 자격 미달 | | `NEEDS_EXPERTISE` | 전문성 필요 | | `OTHER` | 기타 (`failureReasonDetail` 필수) | | `NO_PARTICIPANT` | 참가자 없음 | | `SINGLE_PARTICIPANT` | 단독 참가 | | `LESS_THAN_TWO` | 2인 미만 | | `BELOW_MINIMUM` | 최저가 미달 | **발주처:** API 키에 바인딩된 발주처로 자동 스코프됩니다(요청 body 에 buyerId 를 넣지 않습니다). **필수 스코프:** `awards:write` **멱등성:** `Idempotency-Key` 헤더 필수.
|
|
1059
1116
|
* @summary 유찰 처리
|
|
1060
1117
|
* @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
|
|
1061
1118
|
* @param {MarkBidFailedRequestDto} markBidFailedRequestDto
|
|
@@ -1077,7 +1134,7 @@ export class PartnerV2Api extends BaseAPI {
|
|
|
1077
1134
|
return PartnerV2ApiFp(this.configuration).regenerateContractDocuments(bidId, idempotencyKey, options).then((request) => request(this.axios, this.basePath));
|
|
1078
1135
|
}
|
|
1079
1136
|
/**
|
|
1080
|
-
* 낙찰 결과를 등록하고 공고를 낙찰 상태로 전환합니다.
|
|
1137
|
+
* 낙찰 결과를 등록하고 공고를 낙찰 상태로 전환합니다. **호출 시점:** 입찰 마감 후 낙찰자가 확정되었을 때. 공고가 입찰완료(마감) 상태에서 호출합니다. **부수효과:** - 공고 상태가 낙찰(AWARDED)로 전환됩니다. - 낙찰자(공급사)의 응찰 건이 낙찰 처리됩니다. - 협상 방식(H/K) 공고는 이 엔드포인트 전에 `/v1/awards/nego-eval` 로 평가 완료가 필요합니다. **발주처:** API 키에 바인딩된 발주처로 자동 스코프됩니다(요청 body 에 buyerId 를 넣지 않습니다). **필수 스코프:** `awards:write` **멱등성:** `Idempotency-Key` 헤더 필수. 동일 키 + 동일 body 재전송 시 24시간 내 캐시 응답 반환.
|
|
1081
1138
|
* @summary 낙찰 결과 전송
|
|
1082
1139
|
* @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
|
|
1083
1140
|
* @param {RegisterAwardRequestDto} registerAwardRequestDto
|
|
@@ -1098,9 +1155,20 @@ export class PartnerV2Api extends BaseAPI {
|
|
|
1098
1155
|
return PartnerV2ApiFp(this.configuration).registerBid(createBidRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
1099
1156
|
}
|
|
1100
1157
|
/**
|
|
1101
|
-
*
|
|
1158
|
+
* 샌드박스 공고에 합성 응찰을 추가하거나 낙찰대기로 마감하는 **영업 데모 전용** 시뮬입니다. **샌드박스 키 전용:** 토큰에 `sandboxBuyerId` 가 없는 운영 키로는 호출할 수 없습니다(403 `sandbox-only`). **단계(`phase`):** - `join` — 합성 공급사 명의로 응찰 1건을 추가합니다(멱등 — 최대 2건, 이미 2건이면 no-op). - `close` — 공고를 낙찰대기(PENDING_AWARD)로 전이해 낙찰결과 조회 게이트를 엽니다(이미 마감이면 no-op). **안전장치:** 실제 write(합성 응찰 INSERT·상태 전이)는 backend 가 `SANDBOX_BUYER_ID` 소유 공고에 한해서만 수행합니다. 실 발주처 공고는 절대 건드리지 않습니다(fail-closed). **필수 스코프:** `bids:write`
|
|
1159
|
+
* @summary 샌드박스 응찰/마감 시뮬 (영업 데모 전용)
|
|
1160
|
+
* @param {string} bidId 샌드박스 공고 ID(= backend bidId).
|
|
1161
|
+
* @param {SimulateSandboxBidRequestDto} simulateSandboxBidRequestDto
|
|
1162
|
+
* @param {*} [options] Override http request option.
|
|
1163
|
+
* @throws {RequiredError}
|
|
1164
|
+
*/
|
|
1165
|
+
simulateSandboxBid(bidId, simulateSandboxBidRequestDto, options) {
|
|
1166
|
+
return PartnerV2ApiFp(this.configuration).simulateSandboxBid(bidId, simulateSandboxBidRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
1167
|
+
}
|
|
1168
|
+
/**
|
|
1169
|
+
* 등록된 공고의 내용을 수정합니다. 스코프 `bids:write` + `Idempotency-Key` 헤더 필수. 진행중/초안 상태의 공고만 수정할 수 있습니다. **부수효과:** - 변경 내용이 반영되고 수정이력이 기록됩니다. - `hideEdit=true` 면 변경이력을 비공개 처리하고 노출 카운터 증가를 생략합니다. **수정 제약:** - 낙찰방법(awardMethod)은 수정 불가(잠금). - 참여자가 있으면 입찰방식/면허/예산/품목 일부가 잠깁니다. - 마감/취소된 공고는 수정할 수 없습니다. 한 섹션을 수정하려면 해당 섹션의 필수 필드를 함께 보내야 합니다(부분 섹션은 거부됨).
|
|
1102
1170
|
* @summary 입찰 공고 수정
|
|
1103
|
-
* @param {string} bidId
|
|
1171
|
+
* @param {string} bidId 공고 식별자(등록 응답의 bidId).
|
|
1104
1172
|
* @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환.
|
|
1105
1173
|
* @param {UpdateBidRequestDto} updateBidRequestDto
|
|
1106
1174
|
* @param {*} [options] Override http request option.
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* CMARKET V6 Partner API
|
|
3
3
|
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. `X-Platform-Id`(cate_set.api_id) / `X-Platform-Secret`(cate_set.api_secret, MD5-hex) 헤더로 전송.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 10.0.0
|
|
6
6
|
* Contact: semo.io.kr@gmail.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* CMARKET V6 Partner API
|
|
5
5
|
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. `X-Platform-Id`(cate_set.api_id) / `X-Platform-Secret`(cate_set.api_secret, MD5-hex) 헤더로 전송.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 10.0.0
|
|
8
8
|
* Contact: semo.io.kr@gmail.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* CMARKET V6 Partner API
|
|
3
3
|
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. `X-Platform-Id`(cate_set.api_id) / `X-Platform-Secret`(cate_set.api_secret, MD5-hex) 헤더로 전송.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 10.0.0
|
|
6
6
|
* Contact: semo.io.kr@gmail.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/base.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* CMARKET V6 Partner API
|
|
5
5
|
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. `X-Platform-Id`(cate_set.api_id) / `X-Platform-Secret`(cate_set.api_secret, MD5-hex) 헤더로 전송.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 10.0.0
|
|
8
8
|
* Contact: semo.io.kr@gmail.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* CMARKET V6 Partner API
|
|
3
3
|
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. `X-Platform-Id`(cate_set.api_id) / `X-Platform-Secret`(cate_set.api_secret, MD5-hex) 헤더로 전송.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 10.0.0
|
|
6
6
|
* Contact: semo.io.kr@gmail.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* CMARKET V6 Partner API
|
|
5
5
|
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. `X-Platform-Id`(cate_set.api_id) / `X-Platform-Secret`(cate_set.api_secret, MD5-hex) 헤더로 전송.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 10.0.0
|
|
8
8
|
* Contact: semo.io.kr@gmail.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* CMARKET V6 Partner API
|
|
3
3
|
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. `X-Platform-Id`(cate_set.api_id) / `X-Platform-Secret`(cate_set.api_secret, MD5-hex) 헤더로 전송.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 10.0.0
|
|
6
6
|
* Contact: semo.io.kr@gmail.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* CMARKET V6 Partner API
|
|
4
4
|
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. `X-Platform-Id`(cate_set.api_id) / `X-Platform-Secret`(cate_set.api_secret, MD5-hex) 헤더로 전송.
|
|
5
5
|
*
|
|
6
|
-
* The version of the OpenAPI document:
|
|
6
|
+
* The version of the OpenAPI document: 10.0.0
|
|
7
7
|
* Contact: semo.io.kr@gmail.com
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* CMARKET V6 Partner API
|
|
3
3
|
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. `X-Platform-Id`(cate_set.api_id) / `X-Platform-Secret`(cate_set.api_secret, MD5-hex) 헤더로 전송.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 10.0.0
|
|
6
6
|
* Contact: semo.io.kr@gmail.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* CMARKET V6 Partner API
|
|
5
5
|
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. `X-Platform-Id`(cate_set.api_id) / `X-Platform-Secret`(cate_set.api_secret, MD5-hex) 헤더로 전송.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 10.0.0
|
|
8
8
|
* Contact: semo.io.kr@gmail.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|