@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
package/api/partner-v2-api.ts
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).
|
|
@@ -24,11 +24,11 @@ import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError
|
|
|
24
24
|
// @ts-ignore
|
|
25
25
|
import type { AcceptanceResultResponseDto } from '../models';
|
|
26
26
|
// @ts-ignore
|
|
27
|
-
import type {
|
|
27
|
+
import type { AwardRegisteredV2ResponseDto } from '../models';
|
|
28
28
|
// @ts-ignore
|
|
29
|
-
import type {
|
|
29
|
+
import type { BidFailedV2ResponseDto } from '../models';
|
|
30
30
|
// @ts-ignore
|
|
31
|
-
import type {
|
|
31
|
+
import type { BidRegisteredResponseDto } from '../models';
|
|
32
32
|
// @ts-ignore
|
|
33
33
|
import type { BidResultsResponseDto } from '../models';
|
|
34
34
|
// @ts-ignore
|
|
@@ -62,6 +62,10 @@ import type { ProblemDetailsDto } from '../models';
|
|
|
62
62
|
// @ts-ignore
|
|
63
63
|
import type { RegisterAwardRequestDto } from '../models';
|
|
64
64
|
// @ts-ignore
|
|
65
|
+
import type { SimulateSandboxBidRequestDto } from '../models';
|
|
66
|
+
// @ts-ignore
|
|
67
|
+
import type { SimulateSandboxBidResponseDto } from '../models';
|
|
68
|
+
// @ts-ignore
|
|
65
69
|
import type { TaxInvoiceIssuedResponseDto } from '../models';
|
|
66
70
|
// @ts-ignore
|
|
67
71
|
import type { UpdateBidRequestDto } from '../models';
|
|
@@ -122,7 +126,7 @@ export const PartnerV2ApiAxiosParamCreator = function (configuration?: Configura
|
|
|
122
126
|
};
|
|
123
127
|
},
|
|
124
128
|
/**
|
|
125
|
-
* 공급사로부터 계산서를 수령한 뒤, 계약을 완료처리 상태로 강제 전환합니다. **호출 시점:** 낙찰·계약 완료 후 공급사 계산서를 오프라인으로 수령했을 때. **부수효과:** -
|
|
129
|
+
* 공급사로부터 계산서를 수령한 뒤, 계약을 완료처리 상태로 강제 전환합니다. **호출 시점:** 낙찰·계약 완료 후 공급사 계산서를 오프라인으로 수령했을 때. **부수효과:** - 결제완료·계산서 발급 상태가 기록되고 발급일자가 현재 시각으로 설정됩니다. **소유권:** 공고는 요청 파트너 키가 소유한 발주처 명의여야 합니다(타 발주처 공고 → 403). **이미 완료:** 이미 완료처리된 공고 재호출 → 409. **필수 스코프:** `contracts:write` **멱등성:** `Idempotency-Key` 헤더 필수.
|
|
126
130
|
* @summary 정산 마감(송장 강제완료)
|
|
127
131
|
* @param {string} bidId
|
|
128
132
|
* @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
|
|
@@ -205,18 +209,15 @@ export const PartnerV2ApiAxiosParamCreator = function (configuration?: Configura
|
|
|
205
209
|
};
|
|
206
210
|
},
|
|
207
211
|
/**
|
|
208
|
-
*
|
|
212
|
+
* 공고의 응찰 참여 업체·순위·낙찰 여부를 조회한다. scope bids:read.
|
|
209
213
|
* @summary 입찰 결과 조회
|
|
210
214
|
* @param {string} bidId
|
|
211
|
-
* @param {string} buyerId 공고 명의 회원 ID (멀티테넌트 가시성 키).
|
|
212
215
|
* @param {*} [options] Override http request option.
|
|
213
216
|
* @throws {RequiredError}
|
|
214
217
|
*/
|
|
215
|
-
getBidResults: async (bidId: string,
|
|
218
|
+
getBidResults: async (bidId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
216
219
|
// verify required parameter 'bidId' is not null or undefined
|
|
217
220
|
assertParamExists('getBidResults', 'bidId', bidId)
|
|
218
|
-
// verify required parameter 'buyerId' is not null or undefined
|
|
219
|
-
assertParamExists('getBidResults', 'buyerId', buyerId)
|
|
220
221
|
const localVarPath = `/v2/bids/{bidId}/results`
|
|
221
222
|
.replace('{bidId}', encodeURIComponent(String(bidId)));
|
|
222
223
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -234,10 +235,6 @@ export const PartnerV2ApiAxiosParamCreator = function (configuration?: Configura
|
|
|
234
235
|
// http bearer authentication required
|
|
235
236
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
236
237
|
|
|
237
|
-
if (buyerId !== undefined) {
|
|
238
|
-
localVarQueryParameter['buyerId'] = buyerId;
|
|
239
|
-
}
|
|
240
|
-
|
|
241
238
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
242
239
|
|
|
243
240
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -250,7 +247,7 @@ export const PartnerV2ApiAxiosParamCreator = function (configuration?: Configura
|
|
|
250
247
|
};
|
|
251
248
|
},
|
|
252
249
|
/**
|
|
253
|
-
*
|
|
250
|
+
* 낙찰 공급사의 사업자·계좌·공급가액/부가세·응찰 품목내역을 조회한다. scope bids:read. 가시성 마스킹과 직교한 정산 데이터 — read-only.
|
|
254
251
|
* @summary 입찰결과 정산정보 조회
|
|
255
252
|
* @param {string} bidId
|
|
256
253
|
* @param {*} [options] Override http request option.
|
|
@@ -288,7 +285,7 @@ export const PartnerV2ApiAxiosParamCreator = function (configuration?: Configura
|
|
|
288
285
|
};
|
|
289
286
|
},
|
|
290
287
|
/**
|
|
291
|
-
*
|
|
288
|
+
* 낙찰 계약의 거래명세서(문서·품목 라인)를 조회한다. scope contracts:read.
|
|
292
289
|
* @summary 거래명세서 조회
|
|
293
290
|
* @param {string} bidId
|
|
294
291
|
* @param {number} paperCode
|
|
@@ -363,9 +360,9 @@ export const PartnerV2ApiAxiosParamCreator = function (configuration?: Configura
|
|
|
363
360
|
};
|
|
364
361
|
},
|
|
365
362
|
/**
|
|
366
|
-
* 낙찰 공급사가 확정된 공고에 대해 세금계산서를
|
|
363
|
+
* 낙찰 공급사가 확정된 공고에 대해 세금계산서를 발행합니다. **호출 시점:** 낙찰자 선정(계약진행) 이후. 과세/면세를 자동 분리해 발행합니다. **부수효과:** - 세금계산서가 국세청에 발행되고 공고가 발행 완료로 마킹됩니다. - 이미 발행됐거나 분할 청구가 진행 중이면 409 로 거절됩니다. **소유권:** 발행 대상 공고가 API 키에 바인딩된 발주처 소유가 아니면 403. **필수 스코프:** `contracts:write` **멱등성:** `Idempotency-Key` 헤더 필수. 동일 키 + 동일 body 재전송 시 24시간 내 캐시 응답 반환.
|
|
367
364
|
* @summary 세금계산서 발행
|
|
368
|
-
* @param {string} bidId
|
|
365
|
+
* @param {string} bidId 공고 식별자(등록 응답의 bidId).
|
|
369
366
|
* @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
|
|
370
367
|
* @param {IssueTaxInvoiceRequestDto} issueTaxInvoiceRequestDto
|
|
371
368
|
* @param {*} [options] Override http request option.
|
|
@@ -412,7 +409,7 @@ export const PartnerV2ApiAxiosParamCreator = function (configuration?: Configura
|
|
|
412
409
|
};
|
|
413
410
|
},
|
|
414
411
|
/**
|
|
415
|
-
* 공고를 유찰 상태로 전환합니다.
|
|
412
|
+
* 공고를 유찰 상태로 전환합니다. **호출 시점:** 입찰 마감 후 유찰 사유가 확정되었을 때. 공고가 입찰완료(마감) 상태에서 호출합니다. **부수효과:** - 공고 상태가 유찰(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` 헤더 필수.
|
|
416
413
|
* @summary 유찰 처리
|
|
417
414
|
* @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
|
|
418
415
|
* @param {MarkBidFailedRequestDto} markBidFailedRequestDto
|
|
@@ -501,7 +498,7 @@ export const PartnerV2ApiAxiosParamCreator = function (configuration?: Configura
|
|
|
501
498
|
};
|
|
502
499
|
},
|
|
503
500
|
/**
|
|
504
|
-
* 낙찰 결과를 등록하고 공고를 낙찰 상태로 전환합니다.
|
|
501
|
+
* 낙찰 결과를 등록하고 공고를 낙찰 상태로 전환합니다. **호출 시점:** 입찰 마감 후 낙찰자가 확정되었을 때. 공고가 입찰완료(마감) 상태에서 호출합니다. **부수효과:** - 공고 상태가 낙찰(AWARDED)로 전환됩니다. - 낙찰자(공급사)의 응찰 건이 낙찰 처리됩니다. - 협상 방식(H/K) 공고는 이 엔드포인트 전에 `/v1/awards/nego-eval` 로 평가 완료가 필요합니다. **발주처:** API 키에 바인딩된 발주처로 자동 스코프됩니다(요청 body 에 buyerId 를 넣지 않습니다). **필수 스코프:** `awards:write` **멱등성:** `Idempotency-Key` 헤더 필수. 동일 키 + 동일 body 재전송 시 24시간 내 캐시 응답 반환.
|
|
505
502
|
* @summary 낙찰 결과 전송
|
|
506
503
|
* @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
|
|
507
504
|
* @param {RegisterAwardRequestDto} registerAwardRequestDto
|
|
@@ -585,9 +582,52 @@ export const PartnerV2ApiAxiosParamCreator = function (configuration?: Configura
|
|
|
585
582
|
};
|
|
586
583
|
},
|
|
587
584
|
/**
|
|
588
|
-
*
|
|
585
|
+
* 샌드박스 공고에 합성 응찰을 추가하거나 낙찰대기로 마감하는 **영업 데모 전용** 시뮬입니다. **샌드박스 키 전용:** 토큰에 `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`
|
|
586
|
+
* @summary 샌드박스 응찰/마감 시뮬 (영업 데모 전용)
|
|
587
|
+
* @param {string} bidId 샌드박스 공고 ID(= backend bidId).
|
|
588
|
+
* @param {SimulateSandboxBidRequestDto} simulateSandboxBidRequestDto
|
|
589
|
+
* @param {*} [options] Override http request option.
|
|
590
|
+
* @throws {RequiredError}
|
|
591
|
+
*/
|
|
592
|
+
simulateSandboxBid: async (bidId: string, simulateSandboxBidRequestDto: SimulateSandboxBidRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
593
|
+
// verify required parameter 'bidId' is not null or undefined
|
|
594
|
+
assertParamExists('simulateSandboxBid', 'bidId', bidId)
|
|
595
|
+
// verify required parameter 'simulateSandboxBidRequestDto' is not null or undefined
|
|
596
|
+
assertParamExists('simulateSandboxBid', 'simulateSandboxBidRequestDto', simulateSandboxBidRequestDto)
|
|
597
|
+
const localVarPath = `/v2/sandbox/bids/{bidId}/simulate`
|
|
598
|
+
.replace('{bidId}', encodeURIComponent(String(bidId)));
|
|
599
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
600
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
601
|
+
let baseOptions;
|
|
602
|
+
if (configuration) {
|
|
603
|
+
baseOptions = configuration.baseOptions;
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
607
|
+
const localVarHeaderParameter = {} as any;
|
|
608
|
+
const localVarQueryParameter = {} as any;
|
|
609
|
+
|
|
610
|
+
// authentication partner-oauth2 required
|
|
611
|
+
// http bearer authentication required
|
|
612
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
613
|
+
|
|
614
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
615
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
616
|
+
|
|
617
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
618
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
619
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
620
|
+
localVarRequestOptions.data = serializeDataIfNeeded(simulateSandboxBidRequestDto, localVarRequestOptions, configuration)
|
|
621
|
+
|
|
622
|
+
return {
|
|
623
|
+
url: toPathString(localVarUrlObj),
|
|
624
|
+
options: localVarRequestOptions,
|
|
625
|
+
};
|
|
626
|
+
},
|
|
627
|
+
/**
|
|
628
|
+
* 등록된 공고의 내용을 수정합니다. 스코프 `bids:write` + `Idempotency-Key` 헤더 필수. 진행중/초안 상태의 공고만 수정할 수 있습니다. **부수효과:** - 변경 내용이 반영되고 수정이력이 기록됩니다. - `hideEdit=true` 면 변경이력을 비공개 처리하고 노출 카운터 증가를 생략합니다. **수정 제약:** - 낙찰방법(awardMethod)은 수정 불가(잠금). - 참여자가 있으면 입찰방식/면허/예산/품목 일부가 잠깁니다. - 마감/취소된 공고는 수정할 수 없습니다. 한 섹션을 수정하려면 해당 섹션의 필수 필드를 함께 보내야 합니다(부분 섹션은 거부됨).
|
|
589
629
|
* @summary 입찰 공고 수정
|
|
590
|
-
* @param {string} bidId
|
|
630
|
+
* @param {string} bidId 공고 식별자(등록 응답의 bidId).
|
|
591
631
|
* @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환.
|
|
592
632
|
* @param {UpdateBidRequestDto} updateBidRequestDto
|
|
593
633
|
* @param {*} [options] Override http request option.
|
|
@@ -697,7 +737,7 @@ export const PartnerV2ApiFp = function(configuration?: Configuration) {
|
|
|
697
737
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
698
738
|
},
|
|
699
739
|
/**
|
|
700
|
-
* 공급사로부터 계산서를 수령한 뒤, 계약을 완료처리 상태로 강제 전환합니다. **호출 시점:** 낙찰·계약 완료 후 공급사 계산서를 오프라인으로 수령했을 때. **부수효과:** -
|
|
740
|
+
* 공급사로부터 계산서를 수령한 뒤, 계약을 완료처리 상태로 강제 전환합니다. **호출 시점:** 낙찰·계약 완료 후 공급사 계산서를 오프라인으로 수령했을 때. **부수효과:** - 결제완료·계산서 발급 상태가 기록되고 발급일자가 현재 시각으로 설정됩니다. **소유권:** 공고는 요청 파트너 키가 소유한 발주처 명의여야 합니다(타 발주처 공고 → 403). **이미 완료:** 이미 완료처리된 공고 재호출 → 409. **필수 스코프:** `contracts:write` **멱등성:** `Idempotency-Key` 헤더 필수.
|
|
701
741
|
* @summary 정산 마감(송장 강제완료)
|
|
702
742
|
* @param {string} bidId
|
|
703
743
|
* @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
|
|
@@ -724,21 +764,20 @@ export const PartnerV2ApiFp = function(configuration?: Configuration) {
|
|
|
724
764
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
725
765
|
},
|
|
726
766
|
/**
|
|
727
|
-
*
|
|
767
|
+
* 공고의 응찰 참여 업체·순위·낙찰 여부를 조회한다. scope bids:read.
|
|
728
768
|
* @summary 입찰 결과 조회
|
|
729
769
|
* @param {string} bidId
|
|
730
|
-
* @param {string} buyerId 공고 명의 회원 ID (멀티테넌트 가시성 키).
|
|
731
770
|
* @param {*} [options] Override http request option.
|
|
732
771
|
* @throws {RequiredError}
|
|
733
772
|
*/
|
|
734
|
-
async getBidResults(bidId: string,
|
|
735
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getBidResults(bidId,
|
|
773
|
+
async getBidResults(bidId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BidResultsResponseDto>> {
|
|
774
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getBidResults(bidId, options);
|
|
736
775
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
737
776
|
const localVarOperationServerBasePath = operationServerMap['PartnerV2Api.getBidResults']?.[localVarOperationServerIndex]?.url;
|
|
738
777
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
739
778
|
},
|
|
740
779
|
/**
|
|
741
|
-
*
|
|
780
|
+
* 낙찰 공급사의 사업자·계좌·공급가액/부가세·응찰 품목내역을 조회한다. scope bids:read. 가시성 마스킹과 직교한 정산 데이터 — read-only.
|
|
742
781
|
* @summary 입찰결과 정산정보 조회
|
|
743
782
|
* @param {string} bidId
|
|
744
783
|
* @param {*} [options] Override http request option.
|
|
@@ -751,7 +790,7 @@ export const PartnerV2ApiFp = function(configuration?: Configuration) {
|
|
|
751
790
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
752
791
|
},
|
|
753
792
|
/**
|
|
754
|
-
*
|
|
793
|
+
* 낙찰 계약의 거래명세서(문서·품목 라인)를 조회한다. scope contracts:read.
|
|
755
794
|
* @summary 거래명세서 조회
|
|
756
795
|
* @param {string} bidId
|
|
757
796
|
* @param {number} paperCode
|
|
@@ -777,9 +816,9 @@ export const PartnerV2ApiFp = function(configuration?: Configuration) {
|
|
|
777
816
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
778
817
|
},
|
|
779
818
|
/**
|
|
780
|
-
* 낙찰 공급사가 확정된 공고에 대해 세금계산서를
|
|
819
|
+
* 낙찰 공급사가 확정된 공고에 대해 세금계산서를 발행합니다. **호출 시점:** 낙찰자 선정(계약진행) 이후. 과세/면세를 자동 분리해 발행합니다. **부수효과:** - 세금계산서가 국세청에 발행되고 공고가 발행 완료로 마킹됩니다. - 이미 발행됐거나 분할 청구가 진행 중이면 409 로 거절됩니다. **소유권:** 발행 대상 공고가 API 키에 바인딩된 발주처 소유가 아니면 403. **필수 스코프:** `contracts:write` **멱등성:** `Idempotency-Key` 헤더 필수. 동일 키 + 동일 body 재전송 시 24시간 내 캐시 응답 반환.
|
|
781
820
|
* @summary 세금계산서 발행
|
|
782
|
-
* @param {string} bidId
|
|
821
|
+
* @param {string} bidId 공고 식별자(등록 응답의 bidId).
|
|
783
822
|
* @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
|
|
784
823
|
* @param {IssueTaxInvoiceRequestDto} issueTaxInvoiceRequestDto
|
|
785
824
|
* @param {*} [options] Override http request option.
|
|
@@ -792,14 +831,14 @@ export const PartnerV2ApiFp = function(configuration?: Configuration) {
|
|
|
792
831
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
793
832
|
},
|
|
794
833
|
/**
|
|
795
|
-
* 공고를 유찰 상태로 전환합니다.
|
|
834
|
+
* 공고를 유찰 상태로 전환합니다. **호출 시점:** 입찰 마감 후 유찰 사유가 확정되었을 때. 공고가 입찰완료(마감) 상태에서 호출합니다. **부수효과:** - 공고 상태가 유찰(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` 헤더 필수.
|
|
796
835
|
* @summary 유찰 처리
|
|
797
836
|
* @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
|
|
798
837
|
* @param {MarkBidFailedRequestDto} markBidFailedRequestDto
|
|
799
838
|
* @param {*} [options] Override http request option.
|
|
800
839
|
* @throws {RequiredError}
|
|
801
840
|
*/
|
|
802
|
-
async markBidFailed(idempotencyKey: string, markBidFailedRequestDto: MarkBidFailedRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
841
|
+
async markBidFailed(idempotencyKey: string, markBidFailedRequestDto: MarkBidFailedRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BidFailedV2ResponseDto>> {
|
|
803
842
|
const localVarAxiosArgs = await localVarAxiosParamCreator.markBidFailed(idempotencyKey, markBidFailedRequestDto, options);
|
|
804
843
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
805
844
|
const localVarOperationServerBasePath = operationServerMap['PartnerV2Api.markBidFailed']?.[localVarOperationServerIndex]?.url;
|
|
@@ -820,14 +859,14 @@ export const PartnerV2ApiFp = function(configuration?: Configuration) {
|
|
|
820
859
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
821
860
|
},
|
|
822
861
|
/**
|
|
823
|
-
* 낙찰 결과를 등록하고 공고를 낙찰 상태로 전환합니다.
|
|
862
|
+
* 낙찰 결과를 등록하고 공고를 낙찰 상태로 전환합니다. **호출 시점:** 입찰 마감 후 낙찰자가 확정되었을 때. 공고가 입찰완료(마감) 상태에서 호출합니다. **부수효과:** - 공고 상태가 낙찰(AWARDED)로 전환됩니다. - 낙찰자(공급사)의 응찰 건이 낙찰 처리됩니다. - 협상 방식(H/K) 공고는 이 엔드포인트 전에 `/v1/awards/nego-eval` 로 평가 완료가 필요합니다. **발주처:** API 키에 바인딩된 발주처로 자동 스코프됩니다(요청 body 에 buyerId 를 넣지 않습니다). **필수 스코프:** `awards:write` **멱등성:** `Idempotency-Key` 헤더 필수. 동일 키 + 동일 body 재전송 시 24시간 내 캐시 응답 반환.
|
|
824
863
|
* @summary 낙찰 결과 전송
|
|
825
864
|
* @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
|
|
826
865
|
* @param {RegisterAwardRequestDto} registerAwardRequestDto
|
|
827
866
|
* @param {*} [options] Override http request option.
|
|
828
867
|
* @throws {RequiredError}
|
|
829
868
|
*/
|
|
830
|
-
async registerAward(idempotencyKey: string, registerAwardRequestDto: RegisterAwardRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
869
|
+
async registerAward(idempotencyKey: string, registerAwardRequestDto: RegisterAwardRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AwardRegisteredV2ResponseDto>> {
|
|
831
870
|
const localVarAxiosArgs = await localVarAxiosParamCreator.registerAward(idempotencyKey, registerAwardRequestDto, options);
|
|
832
871
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
833
872
|
const localVarOperationServerBasePath = operationServerMap['PartnerV2Api.registerAward']?.[localVarOperationServerIndex]?.url;
|
|
@@ -840,16 +879,30 @@ export const PartnerV2ApiFp = function(configuration?: Configuration) {
|
|
|
840
879
|
* @param {*} [options] Override http request option.
|
|
841
880
|
* @throws {RequiredError}
|
|
842
881
|
*/
|
|
843
|
-
async registerBid(createBidRequestDto: CreateBidRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
882
|
+
async registerBid(createBidRequestDto: CreateBidRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BidRegisteredResponseDto>> {
|
|
844
883
|
const localVarAxiosArgs = await localVarAxiosParamCreator.registerBid(createBidRequestDto, options);
|
|
845
884
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
846
885
|
const localVarOperationServerBasePath = operationServerMap['PartnerV2Api.registerBid']?.[localVarOperationServerIndex]?.url;
|
|
847
886
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
848
887
|
},
|
|
849
888
|
/**
|
|
850
|
-
*
|
|
889
|
+
* 샌드박스 공고에 합성 응찰을 추가하거나 낙찰대기로 마감하는 **영업 데모 전용** 시뮬입니다. **샌드박스 키 전용:** 토큰에 `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`
|
|
890
|
+
* @summary 샌드박스 응찰/마감 시뮬 (영업 데모 전용)
|
|
891
|
+
* @param {string} bidId 샌드박스 공고 ID(= backend bidId).
|
|
892
|
+
* @param {SimulateSandboxBidRequestDto} simulateSandboxBidRequestDto
|
|
893
|
+
* @param {*} [options] Override http request option.
|
|
894
|
+
* @throws {RequiredError}
|
|
895
|
+
*/
|
|
896
|
+
async simulateSandboxBid(bidId: string, simulateSandboxBidRequestDto: SimulateSandboxBidRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SimulateSandboxBidResponseDto>> {
|
|
897
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.simulateSandboxBid(bidId, simulateSandboxBidRequestDto, options);
|
|
898
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
899
|
+
const localVarOperationServerBasePath = operationServerMap['PartnerV2Api.simulateSandboxBid']?.[localVarOperationServerIndex]?.url;
|
|
900
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
901
|
+
},
|
|
902
|
+
/**
|
|
903
|
+
* 등록된 공고의 내용을 수정합니다. 스코프 `bids:write` + `Idempotency-Key` 헤더 필수. 진행중/초안 상태의 공고만 수정할 수 있습니다. **부수효과:** - 변경 내용이 반영되고 수정이력이 기록됩니다. - `hideEdit=true` 면 변경이력을 비공개 처리하고 노출 카운터 증가를 생략합니다. **수정 제약:** - 낙찰방법(awardMethod)은 수정 불가(잠금). - 참여자가 있으면 입찰방식/면허/예산/품목 일부가 잠깁니다. - 마감/취소된 공고는 수정할 수 없습니다. 한 섹션을 수정하려면 해당 섹션의 필수 필드를 함께 보내야 합니다(부분 섹션은 거부됨).
|
|
851
904
|
* @summary 입찰 공고 수정
|
|
852
|
-
* @param {string} bidId
|
|
905
|
+
* @param {string} bidId 공고 식별자(등록 응답의 bidId).
|
|
853
906
|
* @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환.
|
|
854
907
|
* @param {UpdateBidRequestDto} updateBidRequestDto
|
|
855
908
|
* @param {*} [options] Override http request option.
|
|
@@ -896,7 +949,7 @@ export const PartnerV2ApiFactory = function (configuration?: Configuration, base
|
|
|
896
949
|
return localVarFp.completeAcceptance(bidId, idempotencyKey, completeAcceptanceRequestDto, options).then((request) => request(axios, basePath));
|
|
897
950
|
},
|
|
898
951
|
/**
|
|
899
|
-
* 공급사로부터 계산서를 수령한 뒤, 계약을 완료처리 상태로 강제 전환합니다. **호출 시점:** 낙찰·계약 완료 후 공급사 계산서를 오프라인으로 수령했을 때. **부수효과:** -
|
|
952
|
+
* 공급사로부터 계산서를 수령한 뒤, 계약을 완료처리 상태로 강제 전환합니다. **호출 시점:** 낙찰·계약 완료 후 공급사 계산서를 오프라인으로 수령했을 때. **부수효과:** - 결제완료·계산서 발급 상태가 기록되고 발급일자가 현재 시각으로 설정됩니다. **소유권:** 공고는 요청 파트너 키가 소유한 발주처 명의여야 합니다(타 발주처 공고 → 403). **이미 완료:** 이미 완료처리된 공고 재호출 → 409. **필수 스코프:** `contracts:write` **멱등성:** `Idempotency-Key` 헤더 필수.
|
|
900
953
|
* @summary 정산 마감(송장 강제완료)
|
|
901
954
|
* @param {string} bidId
|
|
902
955
|
* @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
|
|
@@ -917,18 +970,17 @@ export const PartnerV2ApiFactory = function (configuration?: Configuration, base
|
|
|
917
970
|
return localVarFp.createEmbedLaunch(embedLaunchRequestDto, options).then((request) => request(axios, basePath));
|
|
918
971
|
},
|
|
919
972
|
/**
|
|
920
|
-
*
|
|
973
|
+
* 공고의 응찰 참여 업체·순위·낙찰 여부를 조회한다. scope bids:read.
|
|
921
974
|
* @summary 입찰 결과 조회
|
|
922
975
|
* @param {string} bidId
|
|
923
|
-
* @param {string} buyerId 공고 명의 회원 ID (멀티테넌트 가시성 키).
|
|
924
976
|
* @param {*} [options] Override http request option.
|
|
925
977
|
* @throws {RequiredError}
|
|
926
978
|
*/
|
|
927
|
-
getBidResults(bidId: string,
|
|
928
|
-
return localVarFp.getBidResults(bidId,
|
|
979
|
+
getBidResults(bidId: string, options?: RawAxiosRequestConfig): AxiosPromise<BidResultsResponseDto> {
|
|
980
|
+
return localVarFp.getBidResults(bidId, options).then((request) => request(axios, basePath));
|
|
929
981
|
},
|
|
930
982
|
/**
|
|
931
|
-
*
|
|
983
|
+
* 낙찰 공급사의 사업자·계좌·공급가액/부가세·응찰 품목내역을 조회한다. scope bids:read. 가시성 마스킹과 직교한 정산 데이터 — read-only.
|
|
932
984
|
* @summary 입찰결과 정산정보 조회
|
|
933
985
|
* @param {string} bidId
|
|
934
986
|
* @param {*} [options] Override http request option.
|
|
@@ -938,7 +990,7 @@ export const PartnerV2ApiFactory = function (configuration?: Configuration, base
|
|
|
938
990
|
return localVarFp.getBidSettlement(bidId, options).then((request) => request(axios, basePath));
|
|
939
991
|
},
|
|
940
992
|
/**
|
|
941
|
-
*
|
|
993
|
+
* 낙찰 계약의 거래명세서(문서·품목 라인)를 조회한다. scope contracts:read.
|
|
942
994
|
* @summary 거래명세서 조회
|
|
943
995
|
* @param {string} bidId
|
|
944
996
|
* @param {number} paperCode
|
|
@@ -958,9 +1010,9 @@ export const PartnerV2ApiFactory = function (configuration?: Configuration, base
|
|
|
958
1010
|
return localVarFp.healthControllerCheck(options).then((request) => request(axios, basePath));
|
|
959
1011
|
},
|
|
960
1012
|
/**
|
|
961
|
-
* 낙찰 공급사가 확정된 공고에 대해 세금계산서를
|
|
1013
|
+
* 낙찰 공급사가 확정된 공고에 대해 세금계산서를 발행합니다. **호출 시점:** 낙찰자 선정(계약진행) 이후. 과세/면세를 자동 분리해 발행합니다. **부수효과:** - 세금계산서가 국세청에 발행되고 공고가 발행 완료로 마킹됩니다. - 이미 발행됐거나 분할 청구가 진행 중이면 409 로 거절됩니다. **소유권:** 발행 대상 공고가 API 키에 바인딩된 발주처 소유가 아니면 403. **필수 스코프:** `contracts:write` **멱등성:** `Idempotency-Key` 헤더 필수. 동일 키 + 동일 body 재전송 시 24시간 내 캐시 응답 반환.
|
|
962
1014
|
* @summary 세금계산서 발행
|
|
963
|
-
* @param {string} bidId
|
|
1015
|
+
* @param {string} bidId 공고 식별자(등록 응답의 bidId).
|
|
964
1016
|
* @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
|
|
965
1017
|
* @param {IssueTaxInvoiceRequestDto} issueTaxInvoiceRequestDto
|
|
966
1018
|
* @param {*} [options] Override http request option.
|
|
@@ -970,14 +1022,14 @@ export const PartnerV2ApiFactory = function (configuration?: Configuration, base
|
|
|
970
1022
|
return localVarFp.issueTaxInvoice(bidId, idempotencyKey, issueTaxInvoiceRequestDto, options).then((request) => request(axios, basePath));
|
|
971
1023
|
},
|
|
972
1024
|
/**
|
|
973
|
-
* 공고를 유찰 상태로 전환합니다.
|
|
1025
|
+
* 공고를 유찰 상태로 전환합니다. **호출 시점:** 입찰 마감 후 유찰 사유가 확정되었을 때. 공고가 입찰완료(마감) 상태에서 호출합니다. **부수효과:** - 공고 상태가 유찰(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` 헤더 필수.
|
|
974
1026
|
* @summary 유찰 처리
|
|
975
1027
|
* @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
|
|
976
1028
|
* @param {MarkBidFailedRequestDto} markBidFailedRequestDto
|
|
977
1029
|
* @param {*} [options] Override http request option.
|
|
978
1030
|
* @throws {RequiredError}
|
|
979
1031
|
*/
|
|
980
|
-
markBidFailed(idempotencyKey: string, markBidFailedRequestDto: MarkBidFailedRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1032
|
+
markBidFailed(idempotencyKey: string, markBidFailedRequestDto: MarkBidFailedRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<BidFailedV2ResponseDto> {
|
|
981
1033
|
return localVarFp.markBidFailed(idempotencyKey, markBidFailedRequestDto, options).then((request) => request(axios, basePath));
|
|
982
1034
|
},
|
|
983
1035
|
/**
|
|
@@ -992,14 +1044,14 @@ export const PartnerV2ApiFactory = function (configuration?: Configuration, base
|
|
|
992
1044
|
return localVarFp.regenerateContractDocuments(bidId, idempotencyKey, options).then((request) => request(axios, basePath));
|
|
993
1045
|
},
|
|
994
1046
|
/**
|
|
995
|
-
* 낙찰 결과를 등록하고 공고를 낙찰 상태로 전환합니다.
|
|
1047
|
+
* 낙찰 결과를 등록하고 공고를 낙찰 상태로 전환합니다. **호출 시점:** 입찰 마감 후 낙찰자가 확정되었을 때. 공고가 입찰완료(마감) 상태에서 호출합니다. **부수효과:** - 공고 상태가 낙찰(AWARDED)로 전환됩니다. - 낙찰자(공급사)의 응찰 건이 낙찰 처리됩니다. - 협상 방식(H/K) 공고는 이 엔드포인트 전에 `/v1/awards/nego-eval` 로 평가 완료가 필요합니다. **발주처:** API 키에 바인딩된 발주처로 자동 스코프됩니다(요청 body 에 buyerId 를 넣지 않습니다). **필수 스코프:** `awards:write` **멱등성:** `Idempotency-Key` 헤더 필수. 동일 키 + 동일 body 재전송 시 24시간 내 캐시 응답 반환.
|
|
996
1048
|
* @summary 낙찰 결과 전송
|
|
997
1049
|
* @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
|
|
998
1050
|
* @param {RegisterAwardRequestDto} registerAwardRequestDto
|
|
999
1051
|
* @param {*} [options] Override http request option.
|
|
1000
1052
|
* @throws {RequiredError}
|
|
1001
1053
|
*/
|
|
1002
|
-
registerAward(idempotencyKey: string, registerAwardRequestDto: RegisterAwardRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1054
|
+
registerAward(idempotencyKey: string, registerAwardRequestDto: RegisterAwardRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<AwardRegisteredV2ResponseDto> {
|
|
1003
1055
|
return localVarFp.registerAward(idempotencyKey, registerAwardRequestDto, options).then((request) => request(axios, basePath));
|
|
1004
1056
|
},
|
|
1005
1057
|
/**
|
|
@@ -1009,13 +1061,24 @@ export const PartnerV2ApiFactory = function (configuration?: Configuration, base
|
|
|
1009
1061
|
* @param {*} [options] Override http request option.
|
|
1010
1062
|
* @throws {RequiredError}
|
|
1011
1063
|
*/
|
|
1012
|
-
registerBid(createBidRequestDto: CreateBidRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1064
|
+
registerBid(createBidRequestDto: CreateBidRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<BidRegisteredResponseDto> {
|
|
1013
1065
|
return localVarFp.registerBid(createBidRequestDto, options).then((request) => request(axios, basePath));
|
|
1014
1066
|
},
|
|
1015
1067
|
/**
|
|
1016
|
-
*
|
|
1068
|
+
* 샌드박스 공고에 합성 응찰을 추가하거나 낙찰대기로 마감하는 **영업 데모 전용** 시뮬입니다. **샌드박스 키 전용:** 토큰에 `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`
|
|
1069
|
+
* @summary 샌드박스 응찰/마감 시뮬 (영업 데모 전용)
|
|
1070
|
+
* @param {string} bidId 샌드박스 공고 ID(= backend bidId).
|
|
1071
|
+
* @param {SimulateSandboxBidRequestDto} simulateSandboxBidRequestDto
|
|
1072
|
+
* @param {*} [options] Override http request option.
|
|
1073
|
+
* @throws {RequiredError}
|
|
1074
|
+
*/
|
|
1075
|
+
simulateSandboxBid(bidId: string, simulateSandboxBidRequestDto: SimulateSandboxBidRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<SimulateSandboxBidResponseDto> {
|
|
1076
|
+
return localVarFp.simulateSandboxBid(bidId, simulateSandboxBidRequestDto, options).then((request) => request(axios, basePath));
|
|
1077
|
+
},
|
|
1078
|
+
/**
|
|
1079
|
+
* 등록된 공고의 내용을 수정합니다. 스코프 `bids:write` + `Idempotency-Key` 헤더 필수. 진행중/초안 상태의 공고만 수정할 수 있습니다. **부수효과:** - 변경 내용이 반영되고 수정이력이 기록됩니다. - `hideEdit=true` 면 변경이력을 비공개 처리하고 노출 카운터 증가를 생략합니다. **수정 제약:** - 낙찰방법(awardMethod)은 수정 불가(잠금). - 참여자가 있으면 입찰방식/면허/예산/품목 일부가 잠깁니다. - 마감/취소된 공고는 수정할 수 없습니다. 한 섹션을 수정하려면 해당 섹션의 필수 필드를 함께 보내야 합니다(부분 섹션은 거부됨).
|
|
1017
1080
|
* @summary 입찰 공고 수정
|
|
1018
|
-
* @param {string} bidId
|
|
1081
|
+
* @param {string} bidId 공고 식별자(등록 응답의 bidId).
|
|
1019
1082
|
* @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환.
|
|
1020
1083
|
* @param {UpdateBidRequestDto} updateBidRequestDto
|
|
1021
1084
|
* @param {*} [options] Override http request option.
|
|
@@ -1055,7 +1118,7 @@ export class PartnerV2Api extends BaseAPI {
|
|
|
1055
1118
|
}
|
|
1056
1119
|
|
|
1057
1120
|
/**
|
|
1058
|
-
* 공급사로부터 계산서를 수령한 뒤, 계약을 완료처리 상태로 강제 전환합니다. **호출 시점:** 낙찰·계약 완료 후 공급사 계산서를 오프라인으로 수령했을 때. **부수효과:** -
|
|
1121
|
+
* 공급사로부터 계산서를 수령한 뒤, 계약을 완료처리 상태로 강제 전환합니다. **호출 시점:** 낙찰·계약 완료 후 공급사 계산서를 오프라인으로 수령했을 때. **부수효과:** - 결제완료·계산서 발급 상태가 기록되고 발급일자가 현재 시각으로 설정됩니다. **소유권:** 공고는 요청 파트너 키가 소유한 발주처 명의여야 합니다(타 발주처 공고 → 403). **이미 완료:** 이미 완료처리된 공고 재호출 → 409. **필수 스코프:** `contracts:write` **멱등성:** `Idempotency-Key` 헤더 필수.
|
|
1059
1122
|
* @summary 정산 마감(송장 강제완료)
|
|
1060
1123
|
* @param {string} bidId
|
|
1061
1124
|
* @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
|
|
@@ -1078,19 +1141,18 @@ export class PartnerV2Api extends BaseAPI {
|
|
|
1078
1141
|
}
|
|
1079
1142
|
|
|
1080
1143
|
/**
|
|
1081
|
-
*
|
|
1144
|
+
* 공고의 응찰 참여 업체·순위·낙찰 여부를 조회한다. scope bids:read.
|
|
1082
1145
|
* @summary 입찰 결과 조회
|
|
1083
1146
|
* @param {string} bidId
|
|
1084
|
-
* @param {string} buyerId 공고 명의 회원 ID (멀티테넌트 가시성 키).
|
|
1085
1147
|
* @param {*} [options] Override http request option.
|
|
1086
1148
|
* @throws {RequiredError}
|
|
1087
1149
|
*/
|
|
1088
|
-
public getBidResults(bidId: string,
|
|
1089
|
-
return PartnerV2ApiFp(this.configuration).getBidResults(bidId,
|
|
1150
|
+
public getBidResults(bidId: string, options?: RawAxiosRequestConfig) {
|
|
1151
|
+
return PartnerV2ApiFp(this.configuration).getBidResults(bidId, options).then((request) => request(this.axios, this.basePath));
|
|
1090
1152
|
}
|
|
1091
1153
|
|
|
1092
1154
|
/**
|
|
1093
|
-
*
|
|
1155
|
+
* 낙찰 공급사의 사업자·계좌·공급가액/부가세·응찰 품목내역을 조회한다. scope bids:read. 가시성 마스킹과 직교한 정산 데이터 — read-only.
|
|
1094
1156
|
* @summary 입찰결과 정산정보 조회
|
|
1095
1157
|
* @param {string} bidId
|
|
1096
1158
|
* @param {*} [options] Override http request option.
|
|
@@ -1101,7 +1163,7 @@ export class PartnerV2Api extends BaseAPI {
|
|
|
1101
1163
|
}
|
|
1102
1164
|
|
|
1103
1165
|
/**
|
|
1104
|
-
*
|
|
1166
|
+
* 낙찰 계약의 거래명세서(문서·품목 라인)를 조회한다. scope contracts:read.
|
|
1105
1167
|
* @summary 거래명세서 조회
|
|
1106
1168
|
* @param {string} bidId
|
|
1107
1169
|
* @param {number} paperCode
|
|
@@ -1123,9 +1185,9 @@ export class PartnerV2Api extends BaseAPI {
|
|
|
1123
1185
|
}
|
|
1124
1186
|
|
|
1125
1187
|
/**
|
|
1126
|
-
* 낙찰 공급사가 확정된 공고에 대해 세금계산서를
|
|
1188
|
+
* 낙찰 공급사가 확정된 공고에 대해 세금계산서를 발행합니다. **호출 시점:** 낙찰자 선정(계약진행) 이후. 과세/면세를 자동 분리해 발행합니다. **부수효과:** - 세금계산서가 국세청에 발행되고 공고가 발행 완료로 마킹됩니다. - 이미 발행됐거나 분할 청구가 진행 중이면 409 로 거절됩니다. **소유권:** 발행 대상 공고가 API 키에 바인딩된 발주처 소유가 아니면 403. **필수 스코프:** `contracts:write` **멱등성:** `Idempotency-Key` 헤더 필수. 동일 키 + 동일 body 재전송 시 24시간 내 캐시 응답 반환.
|
|
1127
1189
|
* @summary 세금계산서 발행
|
|
1128
|
-
* @param {string} bidId
|
|
1190
|
+
* @param {string} bidId 공고 식별자(등록 응답의 bidId).
|
|
1129
1191
|
* @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
|
|
1130
1192
|
* @param {IssueTaxInvoiceRequestDto} issueTaxInvoiceRequestDto
|
|
1131
1193
|
* @param {*} [options] Override http request option.
|
|
@@ -1136,7 +1198,7 @@ export class PartnerV2Api extends BaseAPI {
|
|
|
1136
1198
|
}
|
|
1137
1199
|
|
|
1138
1200
|
/**
|
|
1139
|
-
* 공고를 유찰 상태로 전환합니다.
|
|
1201
|
+
* 공고를 유찰 상태로 전환합니다. **호출 시점:** 입찰 마감 후 유찰 사유가 확정되었을 때. 공고가 입찰완료(마감) 상태에서 호출합니다. **부수효과:** - 공고 상태가 유찰(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` 헤더 필수.
|
|
1140
1202
|
* @summary 유찰 처리
|
|
1141
1203
|
* @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
|
|
1142
1204
|
* @param {MarkBidFailedRequestDto} markBidFailedRequestDto
|
|
@@ -1160,7 +1222,7 @@ export class PartnerV2Api extends BaseAPI {
|
|
|
1160
1222
|
}
|
|
1161
1223
|
|
|
1162
1224
|
/**
|
|
1163
|
-
* 낙찰 결과를 등록하고 공고를 낙찰 상태로 전환합니다.
|
|
1225
|
+
* 낙찰 결과를 등록하고 공고를 낙찰 상태로 전환합니다. **호출 시점:** 입찰 마감 후 낙찰자가 확정되었을 때. 공고가 입찰완료(마감) 상태에서 호출합니다. **부수효과:** - 공고 상태가 낙찰(AWARDED)로 전환됩니다. - 낙찰자(공급사)의 응찰 건이 낙찰 처리됩니다. - 협상 방식(H/K) 공고는 이 엔드포인트 전에 `/v1/awards/nego-eval` 로 평가 완료가 필요합니다. **발주처:** API 키에 바인딩된 발주처로 자동 스코프됩니다(요청 body 에 buyerId 를 넣지 않습니다). **필수 스코프:** `awards:write` **멱등성:** `Idempotency-Key` 헤더 필수. 동일 키 + 동일 body 재전송 시 24시간 내 캐시 응답 반환.
|
|
1164
1226
|
* @summary 낙찰 결과 전송
|
|
1165
1227
|
* @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
|
|
1166
1228
|
* @param {RegisterAwardRequestDto} registerAwardRequestDto
|
|
@@ -1183,9 +1245,21 @@ export class PartnerV2Api extends BaseAPI {
|
|
|
1183
1245
|
}
|
|
1184
1246
|
|
|
1185
1247
|
/**
|
|
1186
|
-
*
|
|
1248
|
+
* 샌드박스 공고에 합성 응찰을 추가하거나 낙찰대기로 마감하는 **영업 데모 전용** 시뮬입니다. **샌드박스 키 전용:** 토큰에 `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`
|
|
1249
|
+
* @summary 샌드박스 응찰/마감 시뮬 (영업 데모 전용)
|
|
1250
|
+
* @param {string} bidId 샌드박스 공고 ID(= backend bidId).
|
|
1251
|
+
* @param {SimulateSandboxBidRequestDto} simulateSandboxBidRequestDto
|
|
1252
|
+
* @param {*} [options] Override http request option.
|
|
1253
|
+
* @throws {RequiredError}
|
|
1254
|
+
*/
|
|
1255
|
+
public simulateSandboxBid(bidId: string, simulateSandboxBidRequestDto: SimulateSandboxBidRequestDto, options?: RawAxiosRequestConfig) {
|
|
1256
|
+
return PartnerV2ApiFp(this.configuration).simulateSandboxBid(bidId, simulateSandboxBidRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
1257
|
+
}
|
|
1258
|
+
|
|
1259
|
+
/**
|
|
1260
|
+
* 등록된 공고의 내용을 수정합니다. 스코프 `bids:write` + `Idempotency-Key` 헤더 필수. 진행중/초안 상태의 공고만 수정할 수 있습니다. **부수효과:** - 변경 내용이 반영되고 수정이력이 기록됩니다. - `hideEdit=true` 면 변경이력을 비공개 처리하고 노출 카운터 증가를 생략합니다. **수정 제약:** - 낙찰방법(awardMethod)은 수정 불가(잠금). - 참여자가 있으면 입찰방식/면허/예산/품목 일부가 잠깁니다. - 마감/취소된 공고는 수정할 수 없습니다. 한 섹션을 수정하려면 해당 섹션의 필수 필드를 함께 보내야 합니다(부분 섹션은 거부됨).
|
|
1187
1261
|
* @summary 입찰 공고 수정
|
|
1188
|
-
* @param {string} bidId
|
|
1262
|
+
* @param {string} bidId 공고 식별자(등록 응답의 bidId).
|
|
1189
1263
|
* @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환.
|
|
1190
1264
|
* @param {UpdateBidRequestDto} updateBidRequestDto
|
|
1191
1265
|
* @param {*} [options] Override http request option.
|
package/api.ts
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/base.ts
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/common.ts
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).
|