@cmarket/partner-sdk 6.0.0 → 9.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 +16 -6
- package/api/oauth-api.ts +1 -1
- package/api/partner-v1-api.ts +82 -82
- package/api/partner-v2-api.ts +5 -5
- 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 +54 -54
- package/dist/api/partner-v1-api.js +71 -71
- package/dist/api/partner-v2-api.d.ts +5 -5
- package/dist/api/partner-v2-api.js +5 -5
- 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 +54 -54
- package/dist/esm/api/partner-v1-api.js +71 -71
- package/dist/esm/api/partner-v2-api.d.ts +5 -5
- package/dist/esm/api/partner-v2-api.js +5 -5
- 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/award-registered-response-dto.d.ts +1 -1
- package/dist/esm/models/award-registered-response-dto.js +1 -1
- package/dist/esm/models/bid-bond-dto.d.ts +1 -1
- package/dist/esm/models/bid-bond-dto.js +1 -1
- package/dist/esm/models/bid-contract-documents-batch-request-dto.d.ts +1 -1
- package/dist/esm/models/bid-contract-documents-batch-request-dto.js +1 -1
- package/dist/esm/models/bid-contract-documents-response-dto.d.ts +1 -1
- package/dist/esm/models/bid-contract-documents-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 +1 -1
- package/dist/esm/models/bid-document-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-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-manager-dto.d.ts +1 -1
- package/dist/esm/models/bid-manager-dto.js +1 -1
- package/dist/esm/models/bid-result-participant-attachment-dto.d.ts +1 -1
- package/dist/esm/models/bid-result-participant-attachment-dto.js +1 -1
- package/dist/esm/models/bid-result-participant-dto.d.ts +1 -1
- package/dist/esm/models/bid-result-participant-dto.js +1 -1
- package/dist/esm/models/bid-result-v1-attachment-dto.d.ts +21 -0
- package/dist/esm/models/{negotiation-score-dto.js → bid-result-v1-attachment-dto.js} +1 -1
- package/dist/esm/models/bid-result-v1-participant-dto.d.ts +154 -0
- package/dist/esm/models/{submit-negotiation-scores-request-dto.js → bid-result-v1-participant-dto.js} +1 -1
- package/dist/esm/models/bid-results-batch-request-dto.d.ts +1 -1
- package/dist/esm/models/bid-results-batch-request-dto.js +1 -1
- package/dist/esm/models/bid-results-response-dto.d.ts +1 -125
- package/dist/esm/models/bid-results-response-dto.js +1 -1
- package/dist/esm/models/bid-results-v1-response-dto.d.ts +155 -0
- package/dist/esm/models/bid-results-v1-response-dto.js +14 -0
- package/dist/esm/models/bid-settlement-line-item-dto.d.ts +1 -1
- package/dist/esm/models/bid-settlement-line-item-dto.js +1 -1
- package/dist/esm/models/bid-settlement-participant-dto.d.ts +1 -1
- package/dist/esm/models/bid-settlement-participant-dto.js +1 -1
- 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 +1 -1
- package/dist/esm/models/bid-statement-response-dto.js +1 -1
- package/dist/esm/models/bid-statement-v1-response-dto.d.ts +31 -0
- package/dist/esm/models/bid-statement-v1-response-dto.js +14 -0
- package/dist/esm/models/bid-status.d.ts +1 -1
- package/dist/esm/models/bid-status.js +1 -1
- package/dist/esm/models/complete-acceptance-request-dto.d.ts +2 -46
- package/dist/esm/models/complete-acceptance-request-dto.js +1 -1
- package/dist/esm/models/complete-acceptance-v1-request-dto.d.ts +65 -0
- package/dist/esm/models/complete-acceptance-v1-request-dto.js +14 -0
- 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/create-bid-request-dto.d.ts +1 -31
- package/dist/esm/models/create-bid-request-dto.js +1 -9
- package/dist/esm/models/create-bid-v1-request-dto.d.ts +329 -0
- package/dist/esm/models/create-bid-v1-request-dto.js +116 -0
- package/dist/esm/models/file-uploaded-response-dto.d.ts +1 -1
- package/dist/esm/models/file-uploaded-response-dto.js +1 -1
- package/dist/esm/models/health-response-dto.d.ts +1 -1
- package/dist/esm/models/health-response-dto.js +1 -1
- package/dist/esm/models/hierarchical-region-dto.d.ts +1 -1
- package/dist/esm/models/hierarchical-region-dto.js +1 -1
- package/dist/esm/models/index.d.ts +12 -2
- package/dist/esm/models/index.js +12 -2
- package/dist/esm/models/mark-bid-failed-request-dto.d.ts +1 -1
- package/dist/esm/models/mark-bid-failed-request-dto.js +1 -1
- package/dist/esm/models/mark-bid-failed-v1-request-dto.d.ts +30 -0
- package/dist/esm/models/mark-bid-failed-v1-request-dto.js +14 -0
- package/dist/esm/models/{negotiation-score-dto.d.ts → negotiation-score-v1-dto.d.ts} +2 -2
- package/dist/esm/models/negotiation-score-v1-dto.js +14 -0
- 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 +1 -1
- package/dist/esm/models/preconditions-dto.js +1 -1
- 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 +1 -1
- package/dist/esm/models/register-award-request-dto.js +1 -1
- package/dist/esm/models/register-award-v1-request-dto.d.ts +33 -0
- package/dist/esm/models/register-award-v1-request-dto.js +14 -0
- package/dist/esm/models/request-split-invoice-request-dto.d.ts +1 -1
- package/dist/esm/models/request-split-invoice-request-dto.js +1 -1
- package/dist/esm/models/split-invoice-response-dto.d.ts +1 -1
- package/dist/esm/models/split-invoice-response-dto.js +1 -1
- package/dist/esm/models/statement-document-dto.d.ts +1 -1
- package/dist/esm/models/statement-document-dto.js +1 -1
- package/dist/esm/models/statement-product-dto.d.ts +1 -1
- package/dist/esm/models/statement-product-dto.js +1 -1
- package/dist/esm/models/statement-v1-document-dto.d.ts +29 -0
- package/dist/esm/models/statement-v1-document-dto.js +14 -0
- package/dist/esm/models/statement-v1-product-dto.d.ts +49 -0
- package/dist/esm/models/statement-v1-product-dto.js +14 -0
- package/dist/esm/models/{submit-negotiation-scores-request-dto.d.ts → submit-negotiation-scores-v1-request-dto.d.ts} +4 -4
- package/dist/esm/models/submit-negotiation-scores-v1-request-dto.js +14 -0
- package/dist/esm/models/token-request-dto.d.ts +1 -1
- package/dist/esm/models/token-request-dto.js +1 -1
- package/dist/esm/models/token-response-dto.d.ts +1 -1
- package/dist/esm/models/token-response-dto.js +1 -1
- package/dist/esm/models/upload-file-request-dto.d.ts +1 -1
- package/dist/esm/models/upload-file-request-dto.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/models/acceptance-result-response-dto.d.ts +1 -1
- package/dist/models/acceptance-result-response-dto.js +1 -1
- package/dist/models/award-registered-response-dto.d.ts +1 -1
- package/dist/models/award-registered-response-dto.js +1 -1
- package/dist/models/bid-bond-dto.d.ts +1 -1
- package/dist/models/bid-bond-dto.js +1 -1
- package/dist/models/bid-contract-documents-batch-request-dto.d.ts +1 -1
- package/dist/models/bid-contract-documents-batch-request-dto.js +1 -1
- package/dist/models/bid-contract-documents-response-dto.d.ts +1 -1
- package/dist/models/bid-contract-documents-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 +1 -1
- package/dist/models/bid-document-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-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-manager-dto.d.ts +1 -1
- package/dist/models/bid-manager-dto.js +1 -1
- package/dist/models/bid-result-participant-attachment-dto.d.ts +1 -1
- package/dist/models/bid-result-participant-attachment-dto.js +1 -1
- package/dist/models/bid-result-participant-dto.d.ts +1 -1
- package/dist/models/bid-result-participant-dto.js +1 -1
- package/dist/models/bid-result-v1-attachment-dto.d.ts +21 -0
- package/dist/models/{negotiation-score-dto.js → bid-result-v1-attachment-dto.js} +1 -1
- package/dist/models/bid-result-v1-participant-dto.d.ts +154 -0
- package/dist/models/{submit-negotiation-scores-request-dto.js → bid-result-v1-participant-dto.js} +1 -1
- package/dist/models/bid-results-batch-request-dto.d.ts +1 -1
- package/dist/models/bid-results-batch-request-dto.js +1 -1
- package/dist/models/bid-results-response-dto.d.ts +1 -125
- package/dist/models/bid-results-response-dto.js +1 -1
- package/dist/models/bid-results-v1-response-dto.d.ts +155 -0
- package/dist/models/bid-results-v1-response-dto.js +15 -0
- package/dist/models/bid-settlement-line-item-dto.d.ts +1 -1
- package/dist/models/bid-settlement-line-item-dto.js +1 -1
- package/dist/models/bid-settlement-participant-dto.d.ts +1 -1
- package/dist/models/bid-settlement-participant-dto.js +1 -1
- 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 +1 -1
- package/dist/models/bid-statement-response-dto.js +1 -1
- package/dist/models/bid-statement-v1-response-dto.d.ts +31 -0
- package/dist/models/bid-statement-v1-response-dto.js +15 -0
- package/dist/models/bid-status.d.ts +1 -1
- package/dist/models/bid-status.js +1 -1
- package/dist/models/complete-acceptance-request-dto.d.ts +2 -46
- package/dist/models/complete-acceptance-request-dto.js +1 -1
- package/dist/models/complete-acceptance-v1-request-dto.d.ts +65 -0
- package/dist/models/complete-acceptance-v1-request-dto.js +15 -0
- package/dist/models/contract-document-item-dto.d.ts +1 -1
- package/dist/models/contract-document-item-dto.js +1 -1
- package/dist/models/create-bid-request-dto.d.ts +1 -31
- package/dist/models/create-bid-request-dto.js +2 -10
- package/dist/models/create-bid-v1-request-dto.d.ts +329 -0
- package/dist/models/create-bid-v1-request-dto.js +119 -0
- package/dist/models/file-uploaded-response-dto.d.ts +1 -1
- package/dist/models/file-uploaded-response-dto.js +1 -1
- package/dist/models/health-response-dto.d.ts +1 -1
- package/dist/models/health-response-dto.js +1 -1
- package/dist/models/hierarchical-region-dto.d.ts +1 -1
- package/dist/models/hierarchical-region-dto.js +1 -1
- package/dist/models/index.d.ts +12 -2
- package/dist/models/index.js +12 -2
- package/dist/models/mark-bid-failed-request-dto.d.ts +1 -1
- package/dist/models/mark-bid-failed-request-dto.js +1 -1
- package/dist/models/mark-bid-failed-v1-request-dto.d.ts +30 -0
- package/dist/models/mark-bid-failed-v1-request-dto.js +15 -0
- package/dist/models/{negotiation-score-dto.d.ts → negotiation-score-v1-dto.d.ts} +2 -2
- package/dist/models/negotiation-score-v1-dto.js +15 -0
- 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 +1 -1
- package/dist/models/preconditions-dto.js +1 -1
- 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 +1 -1
- package/dist/models/register-award-request-dto.js +1 -1
- package/dist/models/register-award-v1-request-dto.d.ts +33 -0
- package/dist/models/register-award-v1-request-dto.js +15 -0
- package/dist/models/request-split-invoice-request-dto.d.ts +1 -1
- package/dist/models/request-split-invoice-request-dto.js +1 -1
- package/dist/models/split-invoice-response-dto.d.ts +1 -1
- package/dist/models/split-invoice-response-dto.js +1 -1
- package/dist/models/statement-document-dto.d.ts +1 -1
- package/dist/models/statement-document-dto.js +1 -1
- package/dist/models/statement-product-dto.d.ts +1 -1
- package/dist/models/statement-product-dto.js +1 -1
- package/dist/models/statement-v1-document-dto.d.ts +29 -0
- package/dist/models/statement-v1-document-dto.js +15 -0
- package/dist/models/statement-v1-product-dto.d.ts +49 -0
- package/dist/models/statement-v1-product-dto.js +15 -0
- package/dist/models/{submit-negotiation-scores-request-dto.d.ts → submit-negotiation-scores-v1-request-dto.d.ts} +4 -4
- package/dist/models/submit-negotiation-scores-v1-request-dto.js +15 -0
- package/dist/models/token-request-dto.d.ts +1 -1
- package/dist/models/token-request-dto.js +1 -1
- package/dist/models/token-response-dto.d.ts +1 -1
- package/dist/models/token-response-dto.js +1 -1
- package/dist/models/upload-file-request-dto.d.ts +1 -1
- package/dist/models/upload-file-request-dto.js +1 -1
- package/docs/BidResultV1AttachmentDto.md +22 -0
- package/docs/BidResultV1ParticipantDto.md +88 -0
- package/docs/BidResultsResponseDto.md +0 -62
- package/docs/BidResultsV1ResponseDto.md +88 -0
- package/docs/BidStatementV1ResponseDto.md +26 -0
- package/docs/CompleteAcceptanceRequestDto.md +1 -23
- package/docs/CompleteAcceptanceV1RequestDto.md +44 -0
- package/docs/CreateBidRequestDto.md +0 -10
- package/docs/CreateBidV1RequestDto.md +112 -0
- package/docs/MarkBidFailedV1RequestDto.md +26 -0
- package/docs/{NegotiationScoreDto.md → NegotiationScoreV1Dto.md} +3 -3
- package/docs/PartnerV1Api.md +29 -29
- package/docs/PartnerV2Api.md +1 -1
- package/docs/RegisterAwardV1RequestDto.md +28 -0
- package/docs/StatementV1DocumentDto.md +26 -0
- package/docs/StatementV1ProductDto.md +36 -0
- package/docs/{SubmitNegotiationScoresRequestDto.md → SubmitNegotiationScoresV1RequestDto.md} +4 -4
- package/index.ts +1 -1
- package/models/acceptance-result-response-dto.ts +1 -1
- package/models/award-registered-response-dto.ts +1 -1
- package/models/bid-bond-dto.ts +1 -1
- package/models/bid-contract-documents-batch-request-dto.ts +1 -1
- package/models/bid-contract-documents-response-dto.ts +1 -1
- package/models/bid-created-response-dto.ts +1 -1
- package/models/bid-document-dto.ts +1 -1
- package/models/bid-failed-response-dto.ts +1 -1
- package/models/bid-failure-reason.ts +1 -1
- package/models/bid-item-dto.ts +1 -1
- package/models/bid-manager-dto.ts +1 -1
- package/models/bid-result-participant-attachment-dto.ts +1 -1
- package/models/bid-result-participant-dto.ts +1 -1
- package/models/bid-result-v1-attachment-dto.ts +27 -0
- package/models/bid-result-v1-participant-dto.ts +162 -0
- package/models/bid-results-batch-request-dto.ts +1 -1
- package/models/bid-results-response-dto.ts +1 -125
- package/models/bid-results-v1-response-dto.ts +167 -0
- package/models/bid-settlement-line-item-dto.ts +1 -1
- package/models/bid-settlement-participant-dto.ts +1 -1
- package/models/bid-settlement-response-dto.ts +1 -1
- package/models/bid-statement-response-dto.ts +1 -1
- package/models/bid-statement-v1-response-dto.ts +41 -0
- package/models/bid-status.ts +1 -1
- package/models/complete-acceptance-request-dto.ts +2 -46
- package/models/complete-acceptance-v1-request-dto.ts +71 -0
- package/models/contract-document-item-dto.ts +1 -1
- package/models/create-bid-request-dto.ts +1 -33
- package/models/create-bid-v1-request-dto.ts +367 -0
- package/models/file-uploaded-response-dto.ts +1 -1
- package/models/health-response-dto.ts +1 -1
- package/models/hierarchical-region-dto.ts +1 -1
- package/models/index.ts +12 -2
- package/models/mark-bid-failed-request-dto.ts +1 -1
- package/models/mark-bid-failed-v1-request-dto.ts +40 -0
- package/models/{negotiation-score-dto.ts → negotiation-score-v1-dto.ts} +2 -2
- package/models/negotiation-scored-response-dto.ts +1 -1
- package/models/oauth-error-response-dto.ts +1 -1
- package/models/preconditions-dto.ts +1 -1
- package/models/problem-details-dto.ts +1 -1
- package/models/register-award-request-dto.ts +1 -1
- package/models/register-award-v1-request-dto.ts +39 -0
- package/models/request-split-invoice-request-dto.ts +1 -1
- package/models/split-invoice-response-dto.ts +1 -1
- package/models/statement-document-dto.ts +1 -1
- package/models/statement-product-dto.ts +1 -1
- package/models/statement-v1-document-dto.ts +35 -0
- package/models/statement-v1-product-dto.ts +55 -0
- package/models/{submit-negotiation-scores-request-dto.ts → submit-negotiation-scores-v1-request-dto.ts} +4 -4
- package/models/token-request-dto.ts +1 -1
- package/models/token-response-dto.ts +1 -1
- package/models/upload-file-request-dto.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ CMARKET V6 Partner API 의 공식 클라이언트 SDK — 외부 ERP 가 입찰
|
|
|
13
13
|
TypeScript / Node (npm):
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
|
-
npm install @cmarket/partner-sdk@
|
|
16
|
+
npm install @cmarket/partner-sdk@9.0.0
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
Java (Maven):
|
|
@@ -22,7 +22,7 @@ Java (Maven):
|
|
|
22
22
|
<dependency>
|
|
23
23
|
<groupId>net.c-market</groupId>
|
|
24
24
|
<artifactId>partner-sdk</artifactId>
|
|
25
|
-
<version>
|
|
25
|
+
<version>9.0.0</version>
|
|
26
26
|
</dependency>
|
|
27
27
|
```
|
|
28
28
|
|
|
@@ -288,7 +288,7 @@ curl -X POST "$BASE/v2/bids" \
|
|
|
288
288
|
|
|
289
289
|
---
|
|
290
290
|
|
|
291
|
-
## @cmarket/partner-sdk@
|
|
291
|
+
## @cmarket/partner-sdk@9.0.0
|
|
292
292
|
|
|
293
293
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
294
294
|
|
|
@@ -326,7 +326,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
326
326
|
_published:_
|
|
327
327
|
|
|
328
328
|
```
|
|
329
|
-
npm install @cmarket/partner-sdk@
|
|
329
|
+
npm install @cmarket/partner-sdk@9.0.0 --save
|
|
330
330
|
```
|
|
331
331
|
|
|
332
332
|
_unPublished (not recommended):_
|
|
@@ -377,31 +377,41 @@ Class | Method | HTTP request | Description
|
|
|
377
377
|
- [BidManagerDto](docs/BidManagerDto.md)
|
|
378
378
|
- [BidResultParticipantAttachmentDto](docs/BidResultParticipantAttachmentDto.md)
|
|
379
379
|
- [BidResultParticipantDto](docs/BidResultParticipantDto.md)
|
|
380
|
+
- [BidResultV1AttachmentDto](docs/BidResultV1AttachmentDto.md)
|
|
381
|
+
- [BidResultV1ParticipantDto](docs/BidResultV1ParticipantDto.md)
|
|
380
382
|
- [BidResultsBatchRequestDto](docs/BidResultsBatchRequestDto.md)
|
|
381
383
|
- [BidResultsResponseDto](docs/BidResultsResponseDto.md)
|
|
384
|
+
- [BidResultsV1ResponseDto](docs/BidResultsV1ResponseDto.md)
|
|
382
385
|
- [BidSettlementLineItemDto](docs/BidSettlementLineItemDto.md)
|
|
383
386
|
- [BidSettlementParticipantDto](docs/BidSettlementParticipantDto.md)
|
|
384
387
|
- [BidSettlementResponseDto](docs/BidSettlementResponseDto.md)
|
|
385
388
|
- [BidStatementResponseDto](docs/BidStatementResponseDto.md)
|
|
389
|
+
- [BidStatementV1ResponseDto](docs/BidStatementV1ResponseDto.md)
|
|
386
390
|
- [BidStatus](docs/BidStatus.md)
|
|
387
391
|
- [CompleteAcceptanceRequestDto](docs/CompleteAcceptanceRequestDto.md)
|
|
392
|
+
- [CompleteAcceptanceV1RequestDto](docs/CompleteAcceptanceV1RequestDto.md)
|
|
388
393
|
- [ContractDocumentItemDto](docs/ContractDocumentItemDto.md)
|
|
389
394
|
- [CreateBidRequestDto](docs/CreateBidRequestDto.md)
|
|
395
|
+
- [CreateBidV1RequestDto](docs/CreateBidV1RequestDto.md)
|
|
390
396
|
- [FileUploadedResponseDto](docs/FileUploadedResponseDto.md)
|
|
391
397
|
- [HealthResponseDto](docs/HealthResponseDto.md)
|
|
392
398
|
- [HierarchicalRegionDto](docs/HierarchicalRegionDto.md)
|
|
393
399
|
- [MarkBidFailedRequestDto](docs/MarkBidFailedRequestDto.md)
|
|
394
|
-
- [
|
|
400
|
+
- [MarkBidFailedV1RequestDto](docs/MarkBidFailedV1RequestDto.md)
|
|
401
|
+
- [NegotiationScoreV1Dto](docs/NegotiationScoreV1Dto.md)
|
|
395
402
|
- [NegotiationScoredResponseDto](docs/NegotiationScoredResponseDto.md)
|
|
396
403
|
- [OAuthErrorResponseDto](docs/OAuthErrorResponseDto.md)
|
|
397
404
|
- [PreconditionsDto](docs/PreconditionsDto.md)
|
|
398
405
|
- [ProblemDetailsDto](docs/ProblemDetailsDto.md)
|
|
399
406
|
- [RegisterAwardRequestDto](docs/RegisterAwardRequestDto.md)
|
|
407
|
+
- [RegisterAwardV1RequestDto](docs/RegisterAwardV1RequestDto.md)
|
|
400
408
|
- [RequestSplitInvoiceRequestDto](docs/RequestSplitInvoiceRequestDto.md)
|
|
401
409
|
- [SplitInvoiceResponseDto](docs/SplitInvoiceResponseDto.md)
|
|
402
410
|
- [StatementDocumentDto](docs/StatementDocumentDto.md)
|
|
403
411
|
- [StatementProductDto](docs/StatementProductDto.md)
|
|
404
|
-
- [
|
|
412
|
+
- [StatementV1DocumentDto](docs/StatementV1DocumentDto.md)
|
|
413
|
+
- [StatementV1ProductDto](docs/StatementV1ProductDto.md)
|
|
414
|
+
- [SubmitNegotiationScoresV1RequestDto](docs/SubmitNegotiationScoresV1RequestDto.md)
|
|
405
415
|
- [TokenRequestDto](docs/TokenRequestDto.md)
|
|
406
416
|
- [TokenResponseDto](docs/TokenResponseDto.md)
|
|
407
417
|
- [UploadFileRequestDto](docs/UploadFileRequestDto.md)
|
package/api/oauth-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: 9.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/api/partner-v1-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: 9.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).
|
|
@@ -36,27 +36,27 @@ import type { BidFailedResponseDto } from '../models';
|
|
|
36
36
|
// @ts-ignore
|
|
37
37
|
import type { BidResultsBatchRequestDto } from '../models';
|
|
38
38
|
// @ts-ignore
|
|
39
|
-
import type {
|
|
39
|
+
import type { BidResultsV1ResponseDto } from '../models';
|
|
40
40
|
// @ts-ignore
|
|
41
|
-
import type {
|
|
41
|
+
import type { BidStatementV1ResponseDto } from '../models';
|
|
42
42
|
// @ts-ignore
|
|
43
|
-
import type {
|
|
43
|
+
import type { CompleteAcceptanceV1RequestDto } from '../models';
|
|
44
44
|
// @ts-ignore
|
|
45
|
-
import type {
|
|
45
|
+
import type { CreateBidV1RequestDto } from '../models';
|
|
46
46
|
// @ts-ignore
|
|
47
|
-
import type {
|
|
47
|
+
import type { MarkBidFailedV1RequestDto } from '../models';
|
|
48
48
|
// @ts-ignore
|
|
49
49
|
import type { NegotiationScoredResponseDto } from '../models';
|
|
50
50
|
// @ts-ignore
|
|
51
51
|
import type { ProblemDetailsDto } from '../models';
|
|
52
52
|
// @ts-ignore
|
|
53
|
-
import type {
|
|
53
|
+
import type { RegisterAwardV1RequestDto } from '../models';
|
|
54
54
|
// @ts-ignore
|
|
55
55
|
import type { RequestSplitInvoiceRequestDto } from '../models';
|
|
56
56
|
// @ts-ignore
|
|
57
57
|
import type { SplitInvoiceResponseDto } from '../models';
|
|
58
58
|
// @ts-ignore
|
|
59
|
-
import type {
|
|
59
|
+
import type { SubmitNegotiationScoresV1RequestDto } from '../models';
|
|
60
60
|
/**
|
|
61
61
|
* PartnerV1Api - axios parameter creator
|
|
62
62
|
*/
|
|
@@ -66,15 +66,15 @@ export const PartnerV1ApiAxiosParamCreator = function (configuration?: Configura
|
|
|
66
66
|
* V5 `/acceptanceCompleteSend` 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
|
|
67
67
|
* @summary 검수완료 전송 — V5 충실
|
|
68
68
|
* @param {string} bidId
|
|
69
|
-
* @param {
|
|
69
|
+
* @param {CompleteAcceptanceV1RequestDto} completeAcceptanceV1RequestDto
|
|
70
70
|
* @param {*} [options] Override http request option.
|
|
71
71
|
* @throws {RequiredError}
|
|
72
72
|
*/
|
|
73
|
-
v1CompleteAcceptance: async (bidId: string,
|
|
73
|
+
v1CompleteAcceptance: async (bidId: string, completeAcceptanceV1RequestDto: CompleteAcceptanceV1RequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
74
74
|
// verify required parameter 'bidId' is not null or undefined
|
|
75
75
|
assertParamExists('v1CompleteAcceptance', 'bidId', bidId)
|
|
76
|
-
// verify required parameter '
|
|
77
|
-
assertParamExists('v1CompleteAcceptance', '
|
|
76
|
+
// verify required parameter 'completeAcceptanceV1RequestDto' is not null or undefined
|
|
77
|
+
assertParamExists('v1CompleteAcceptance', 'completeAcceptanceV1RequestDto', completeAcceptanceV1RequestDto)
|
|
78
78
|
const localVarPath = `/v1/bids/{bidId}/acceptance`
|
|
79
79
|
.replace('{bidId}', encodeURIComponent(String(bidId)));
|
|
80
80
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -100,7 +100,7 @@ export const PartnerV1ApiAxiosParamCreator = function (configuration?: Configura
|
|
|
100
100
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
101
101
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
102
102
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
103
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
103
|
+
localVarRequestOptions.data = serializeDataIfNeeded(completeAcceptanceV1RequestDto, localVarRequestOptions, configuration)
|
|
104
104
|
|
|
105
105
|
return {
|
|
106
106
|
url: toPathString(localVarUrlObj),
|
|
@@ -239,13 +239,13 @@ export const PartnerV1ApiAxiosParamCreator = function (configuration?: Configura
|
|
|
239
239
|
/**
|
|
240
240
|
* V5 `scsbidSend`(type=U) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
|
|
241
241
|
* @summary 유찰 처리 — V5 충실
|
|
242
|
-
* @param {
|
|
242
|
+
* @param {MarkBidFailedV1RequestDto} markBidFailedV1RequestDto
|
|
243
243
|
* @param {*} [options] Override http request option.
|
|
244
244
|
* @throws {RequiredError}
|
|
245
245
|
*/
|
|
246
|
-
v1MarkBidFailed: async (
|
|
247
|
-
// verify required parameter '
|
|
248
|
-
assertParamExists('v1MarkBidFailed', '
|
|
246
|
+
v1MarkBidFailed: async (markBidFailedV1RequestDto: MarkBidFailedV1RequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
247
|
+
// verify required parameter 'markBidFailedV1RequestDto' is not null or undefined
|
|
248
|
+
assertParamExists('v1MarkBidFailed', 'markBidFailedV1RequestDto', markBidFailedV1RequestDto)
|
|
249
249
|
const localVarPath = `/v1/awards/fail`;
|
|
250
250
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
251
251
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -270,7 +270,7 @@ export const PartnerV1ApiAxiosParamCreator = function (configuration?: Configura
|
|
|
270
270
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
271
271
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
272
272
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
273
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
273
|
+
localVarRequestOptions.data = serializeDataIfNeeded(markBidFailedV1RequestDto, localVarRequestOptions, configuration)
|
|
274
274
|
|
|
275
275
|
return {
|
|
276
276
|
url: toPathString(localVarUrlObj),
|
|
@@ -280,13 +280,13 @@ export const PartnerV1ApiAxiosParamCreator = function (configuration?: Configura
|
|
|
280
280
|
/**
|
|
281
281
|
* V5 `scsbidSend`(type=W) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
|
|
282
282
|
* @summary 낙찰 결과 전송 — V5 충실
|
|
283
|
-
* @param {
|
|
283
|
+
* @param {RegisterAwardV1RequestDto} registerAwardV1RequestDto
|
|
284
284
|
* @param {*} [options] Override http request option.
|
|
285
285
|
* @throws {RequiredError}
|
|
286
286
|
*/
|
|
287
|
-
v1RegisterAward: async (
|
|
288
|
-
// verify required parameter '
|
|
289
|
-
assertParamExists('v1RegisterAward', '
|
|
287
|
+
v1RegisterAward: async (registerAwardV1RequestDto: RegisterAwardV1RequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
288
|
+
// verify required parameter 'registerAwardV1RequestDto' is not null or undefined
|
|
289
|
+
assertParamExists('v1RegisterAward', 'registerAwardV1RequestDto', registerAwardV1RequestDto)
|
|
290
290
|
const localVarPath = `/v1/awards`;
|
|
291
291
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
292
292
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -311,7 +311,7 @@ export const PartnerV1ApiAxiosParamCreator = function (configuration?: Configura
|
|
|
311
311
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
312
312
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
313
313
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
314
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
314
|
+
localVarRequestOptions.data = serializeDataIfNeeded(registerAwardV1RequestDto, localVarRequestOptions, configuration)
|
|
315
315
|
|
|
316
316
|
return {
|
|
317
317
|
url: toPathString(localVarUrlObj),
|
|
@@ -321,13 +321,13 @@ export const PartnerV1ApiAxiosParamCreator = function (configuration?: Configura
|
|
|
321
321
|
/**
|
|
322
322
|
* V5 `scsbidSend`(type=B) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
|
|
323
323
|
* @summary 입찰 정보 전송(등록) — V5 충실
|
|
324
|
-
* @param {
|
|
324
|
+
* @param {CreateBidV1RequestDto} createBidV1RequestDto
|
|
325
325
|
* @param {*} [options] Override http request option.
|
|
326
326
|
* @throws {RequiredError}
|
|
327
327
|
*/
|
|
328
|
-
v1RegisterBid: async (
|
|
329
|
-
// verify required parameter '
|
|
330
|
-
assertParamExists('v1RegisterBid', '
|
|
328
|
+
v1RegisterBid: async (createBidV1RequestDto: CreateBidV1RequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
329
|
+
// verify required parameter 'createBidV1RequestDto' is not null or undefined
|
|
330
|
+
assertParamExists('v1RegisterBid', 'createBidV1RequestDto', createBidV1RequestDto)
|
|
331
331
|
const localVarPath = `/v1/bids`;
|
|
332
332
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
333
333
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -352,7 +352,7 @@ export const PartnerV1ApiAxiosParamCreator = function (configuration?: Configura
|
|
|
352
352
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
353
353
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
354
354
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
355
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
355
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createBidV1RequestDto, localVarRequestOptions, configuration)
|
|
356
356
|
|
|
357
357
|
return {
|
|
358
358
|
url: toPathString(localVarUrlObj),
|
|
@@ -403,13 +403,13 @@ export const PartnerV1ApiAxiosParamCreator = function (configuration?: Configura
|
|
|
403
403
|
/**
|
|
404
404
|
* V5 `scsbidSend`(type=nego) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
|
|
405
405
|
* @summary 협상(H/K) 점수평가 — V5 충실
|
|
406
|
-
* @param {
|
|
406
|
+
* @param {SubmitNegotiationScoresV1RequestDto} submitNegotiationScoresV1RequestDto
|
|
407
407
|
* @param {*} [options] Override http request option.
|
|
408
408
|
* @throws {RequiredError}
|
|
409
409
|
*/
|
|
410
|
-
v1SubmitNegotiationScores: async (
|
|
411
|
-
// verify required parameter '
|
|
412
|
-
assertParamExists('v1SubmitNegotiationScores', '
|
|
410
|
+
v1SubmitNegotiationScores: async (submitNegotiationScoresV1RequestDto: SubmitNegotiationScoresV1RequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
411
|
+
// verify required parameter 'submitNegotiationScoresV1RequestDto' is not null or undefined
|
|
412
|
+
assertParamExists('v1SubmitNegotiationScores', 'submitNegotiationScoresV1RequestDto', submitNegotiationScoresV1RequestDto)
|
|
413
413
|
const localVarPath = `/v1/awards/nego-eval`;
|
|
414
414
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
415
415
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -434,7 +434,7 @@ export const PartnerV1ApiAxiosParamCreator = function (configuration?: Configura
|
|
|
434
434
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
435
435
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
436
436
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
437
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
437
|
+
localVarRequestOptions.data = serializeDataIfNeeded(submitNegotiationScoresV1RequestDto, localVarRequestOptions, configuration)
|
|
438
438
|
|
|
439
439
|
return {
|
|
440
440
|
url: toPathString(localVarUrlObj),
|
|
@@ -454,12 +454,12 @@ export const PartnerV1ApiFp = function(configuration?: Configuration) {
|
|
|
454
454
|
* V5 `/acceptanceCompleteSend` 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
|
|
455
455
|
* @summary 검수완료 전송 — V5 충실
|
|
456
456
|
* @param {string} bidId
|
|
457
|
-
* @param {
|
|
457
|
+
* @param {CompleteAcceptanceV1RequestDto} completeAcceptanceV1RequestDto
|
|
458
458
|
* @param {*} [options] Override http request option.
|
|
459
459
|
* @throws {RequiredError}
|
|
460
460
|
*/
|
|
461
|
-
async v1CompleteAcceptance(bidId: string,
|
|
462
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.v1CompleteAcceptance(bidId,
|
|
461
|
+
async v1CompleteAcceptance(bidId: string, completeAcceptanceV1RequestDto: CompleteAcceptanceV1RequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AcceptanceResultResponseDto>> {
|
|
462
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1CompleteAcceptance(bidId, completeAcceptanceV1RequestDto, options);
|
|
463
463
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
464
464
|
const localVarOperationServerBasePath = operationServerMap['PartnerV1Api.v1CompleteAcceptance']?.[localVarOperationServerIndex]?.url;
|
|
465
465
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -484,7 +484,7 @@ export const PartnerV1ApiFp = function(configuration?: Configuration) {
|
|
|
484
484
|
* @param {*} [options] Override http request option.
|
|
485
485
|
* @throws {RequiredError}
|
|
486
486
|
*/
|
|
487
|
-
async v1GetBidResultsBatch(bidResultsBatchRequestDto: BidResultsBatchRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<
|
|
487
|
+
async v1GetBidResultsBatch(bidResultsBatchRequestDto: BidResultsBatchRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BidResultsV1ResponseDto>>> {
|
|
488
488
|
const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetBidResultsBatch(bidResultsBatchRequestDto, options);
|
|
489
489
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
490
490
|
const localVarOperationServerBasePath = operationServerMap['PartnerV1Api.v1GetBidResultsBatch']?.[localVarOperationServerIndex]?.url;
|
|
@@ -498,7 +498,7 @@ export const PartnerV1ApiFp = function(configuration?: Configuration) {
|
|
|
498
498
|
* @param {*} [options] Override http request option.
|
|
499
499
|
* @throws {RequiredError}
|
|
500
500
|
*/
|
|
501
|
-
async v1GetBidStatement(bidId: string, paperCode: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
501
|
+
async v1GetBidStatement(bidId: string, paperCode: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BidStatementV1ResponseDto>> {
|
|
502
502
|
const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetBidStatement(bidId, paperCode, options);
|
|
503
503
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
504
504
|
const localVarOperationServerBasePath = operationServerMap['PartnerV1Api.v1GetBidStatement']?.[localVarOperationServerIndex]?.url;
|
|
@@ -507,12 +507,12 @@ export const PartnerV1ApiFp = function(configuration?: Configuration) {
|
|
|
507
507
|
/**
|
|
508
508
|
* V5 `scsbidSend`(type=U) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
|
|
509
509
|
* @summary 유찰 처리 — V5 충실
|
|
510
|
-
* @param {
|
|
510
|
+
* @param {MarkBidFailedV1RequestDto} markBidFailedV1RequestDto
|
|
511
511
|
* @param {*} [options] Override http request option.
|
|
512
512
|
* @throws {RequiredError}
|
|
513
513
|
*/
|
|
514
|
-
async v1MarkBidFailed(
|
|
515
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.v1MarkBidFailed(
|
|
514
|
+
async v1MarkBidFailed(markBidFailedV1RequestDto: MarkBidFailedV1RequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BidFailedResponseDto>> {
|
|
515
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1MarkBidFailed(markBidFailedV1RequestDto, options);
|
|
516
516
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
517
517
|
const localVarOperationServerBasePath = operationServerMap['PartnerV1Api.v1MarkBidFailed']?.[localVarOperationServerIndex]?.url;
|
|
518
518
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -520,12 +520,12 @@ export const PartnerV1ApiFp = function(configuration?: Configuration) {
|
|
|
520
520
|
/**
|
|
521
521
|
* V5 `scsbidSend`(type=W) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
|
|
522
522
|
* @summary 낙찰 결과 전송 — V5 충실
|
|
523
|
-
* @param {
|
|
523
|
+
* @param {RegisterAwardV1RequestDto} registerAwardV1RequestDto
|
|
524
524
|
* @param {*} [options] Override http request option.
|
|
525
525
|
* @throws {RequiredError}
|
|
526
526
|
*/
|
|
527
|
-
async v1RegisterAward(
|
|
528
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.v1RegisterAward(
|
|
527
|
+
async v1RegisterAward(registerAwardV1RequestDto: RegisterAwardV1RequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AwardRegisteredResponseDto>> {
|
|
528
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1RegisterAward(registerAwardV1RequestDto, options);
|
|
529
529
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
530
530
|
const localVarOperationServerBasePath = operationServerMap['PartnerV1Api.v1RegisterAward']?.[localVarOperationServerIndex]?.url;
|
|
531
531
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -533,12 +533,12 @@ export const PartnerV1ApiFp = function(configuration?: Configuration) {
|
|
|
533
533
|
/**
|
|
534
534
|
* V5 `scsbidSend`(type=B) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
|
|
535
535
|
* @summary 입찰 정보 전송(등록) — V5 충실
|
|
536
|
-
* @param {
|
|
536
|
+
* @param {CreateBidV1RequestDto} createBidV1RequestDto
|
|
537
537
|
* @param {*} [options] Override http request option.
|
|
538
538
|
* @throws {RequiredError}
|
|
539
539
|
*/
|
|
540
|
-
async v1RegisterBid(
|
|
541
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.v1RegisterBid(
|
|
540
|
+
async v1RegisterBid(createBidV1RequestDto: CreateBidV1RequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BidCreatedResponseDto>> {
|
|
541
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1RegisterBid(createBidV1RequestDto, options);
|
|
542
542
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
543
543
|
const localVarOperationServerBasePath = operationServerMap['PartnerV1Api.v1RegisterBid']?.[localVarOperationServerIndex]?.url;
|
|
544
544
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -559,12 +559,12 @@ export const PartnerV1ApiFp = function(configuration?: Configuration) {
|
|
|
559
559
|
/**
|
|
560
560
|
* V5 `scsbidSend`(type=nego) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
|
|
561
561
|
* @summary 협상(H/K) 점수평가 — V5 충실
|
|
562
|
-
* @param {
|
|
562
|
+
* @param {SubmitNegotiationScoresV1RequestDto} submitNegotiationScoresV1RequestDto
|
|
563
563
|
* @param {*} [options] Override http request option.
|
|
564
564
|
* @throws {RequiredError}
|
|
565
565
|
*/
|
|
566
|
-
async v1SubmitNegotiationScores(
|
|
567
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.v1SubmitNegotiationScores(
|
|
566
|
+
async v1SubmitNegotiationScores(submitNegotiationScoresV1RequestDto: SubmitNegotiationScoresV1RequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NegotiationScoredResponseDto>> {
|
|
567
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1SubmitNegotiationScores(submitNegotiationScoresV1RequestDto, options);
|
|
568
568
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
569
569
|
const localVarOperationServerBasePath = operationServerMap['PartnerV1Api.v1SubmitNegotiationScores']?.[localVarOperationServerIndex]?.url;
|
|
570
570
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -582,12 +582,12 @@ export const PartnerV1ApiFactory = function (configuration?: Configuration, base
|
|
|
582
582
|
* V5 `/acceptanceCompleteSend` 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
|
|
583
583
|
* @summary 검수완료 전송 — V5 충실
|
|
584
584
|
* @param {string} bidId
|
|
585
|
-
* @param {
|
|
585
|
+
* @param {CompleteAcceptanceV1RequestDto} completeAcceptanceV1RequestDto
|
|
586
586
|
* @param {*} [options] Override http request option.
|
|
587
587
|
* @throws {RequiredError}
|
|
588
588
|
*/
|
|
589
|
-
v1CompleteAcceptance(bidId: string,
|
|
590
|
-
return localVarFp.v1CompleteAcceptance(bidId,
|
|
589
|
+
v1CompleteAcceptance(bidId: string, completeAcceptanceV1RequestDto: CompleteAcceptanceV1RequestDto, options?: RawAxiosRequestConfig): AxiosPromise<AcceptanceResultResponseDto> {
|
|
590
|
+
return localVarFp.v1CompleteAcceptance(bidId, completeAcceptanceV1RequestDto, options).then((request) => request(axios, basePath));
|
|
591
591
|
},
|
|
592
592
|
/**
|
|
593
593
|
* V5 `/contractDocumentRec`(bid_puchase_no_list) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
|
|
@@ -606,7 +606,7 @@ export const PartnerV1ApiFactory = function (configuration?: Configuration, base
|
|
|
606
606
|
* @param {*} [options] Override http request option.
|
|
607
607
|
* @throws {RequiredError}
|
|
608
608
|
*/
|
|
609
|
-
v1GetBidResultsBatch(bidResultsBatchRequestDto: BidResultsBatchRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<Array<
|
|
609
|
+
v1GetBidResultsBatch(bidResultsBatchRequestDto: BidResultsBatchRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<Array<BidResultsV1ResponseDto>> {
|
|
610
610
|
return localVarFp.v1GetBidResultsBatch(bidResultsBatchRequestDto, options).then((request) => request(axios, basePath));
|
|
611
611
|
},
|
|
612
612
|
/**
|
|
@@ -617,38 +617,38 @@ export const PartnerV1ApiFactory = function (configuration?: Configuration, base
|
|
|
617
617
|
* @param {*} [options] Override http request option.
|
|
618
618
|
* @throws {RequiredError}
|
|
619
619
|
*/
|
|
620
|
-
v1GetBidStatement(bidId: string, paperCode: number, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
620
|
+
v1GetBidStatement(bidId: string, paperCode: number, options?: RawAxiosRequestConfig): AxiosPromise<BidStatementV1ResponseDto> {
|
|
621
621
|
return localVarFp.v1GetBidStatement(bidId, paperCode, options).then((request) => request(axios, basePath));
|
|
622
622
|
},
|
|
623
623
|
/**
|
|
624
624
|
* V5 `scsbidSend`(type=U) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
|
|
625
625
|
* @summary 유찰 처리 — V5 충실
|
|
626
|
-
* @param {
|
|
626
|
+
* @param {MarkBidFailedV1RequestDto} markBidFailedV1RequestDto
|
|
627
627
|
* @param {*} [options] Override http request option.
|
|
628
628
|
* @throws {RequiredError}
|
|
629
629
|
*/
|
|
630
|
-
v1MarkBidFailed(
|
|
631
|
-
return localVarFp.v1MarkBidFailed(
|
|
630
|
+
v1MarkBidFailed(markBidFailedV1RequestDto: MarkBidFailedV1RequestDto, options?: RawAxiosRequestConfig): AxiosPromise<BidFailedResponseDto> {
|
|
631
|
+
return localVarFp.v1MarkBidFailed(markBidFailedV1RequestDto, options).then((request) => request(axios, basePath));
|
|
632
632
|
},
|
|
633
633
|
/**
|
|
634
634
|
* V5 `scsbidSend`(type=W) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
|
|
635
635
|
* @summary 낙찰 결과 전송 — V5 충실
|
|
636
|
-
* @param {
|
|
636
|
+
* @param {RegisterAwardV1RequestDto} registerAwardV1RequestDto
|
|
637
637
|
* @param {*} [options] Override http request option.
|
|
638
638
|
* @throws {RequiredError}
|
|
639
639
|
*/
|
|
640
|
-
v1RegisterAward(
|
|
641
|
-
return localVarFp.v1RegisterAward(
|
|
640
|
+
v1RegisterAward(registerAwardV1RequestDto: RegisterAwardV1RequestDto, options?: RawAxiosRequestConfig): AxiosPromise<AwardRegisteredResponseDto> {
|
|
641
|
+
return localVarFp.v1RegisterAward(registerAwardV1RequestDto, options).then((request) => request(axios, basePath));
|
|
642
642
|
},
|
|
643
643
|
/**
|
|
644
644
|
* V5 `scsbidSend`(type=B) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
|
|
645
645
|
* @summary 입찰 정보 전송(등록) — V5 충실
|
|
646
|
-
* @param {
|
|
646
|
+
* @param {CreateBidV1RequestDto} createBidV1RequestDto
|
|
647
647
|
* @param {*} [options] Override http request option.
|
|
648
648
|
* @throws {RequiredError}
|
|
649
649
|
*/
|
|
650
|
-
v1RegisterBid(
|
|
651
|
-
return localVarFp.v1RegisterBid(
|
|
650
|
+
v1RegisterBid(createBidV1RequestDto: CreateBidV1RequestDto, options?: RawAxiosRequestConfig): AxiosPromise<BidCreatedResponseDto> {
|
|
651
|
+
return localVarFp.v1RegisterBid(createBidV1RequestDto, options).then((request) => request(axios, basePath));
|
|
652
652
|
},
|
|
653
653
|
/**
|
|
654
654
|
* V5 `splitInvoiceRequest` 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
|
|
@@ -663,12 +663,12 @@ export const PartnerV1ApiFactory = function (configuration?: Configuration, base
|
|
|
663
663
|
/**
|
|
664
664
|
* V5 `scsbidSend`(type=nego) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
|
|
665
665
|
* @summary 협상(H/K) 점수평가 — V5 충실
|
|
666
|
-
* @param {
|
|
666
|
+
* @param {SubmitNegotiationScoresV1RequestDto} submitNegotiationScoresV1RequestDto
|
|
667
667
|
* @param {*} [options] Override http request option.
|
|
668
668
|
* @throws {RequiredError}
|
|
669
669
|
*/
|
|
670
|
-
v1SubmitNegotiationScores(
|
|
671
|
-
return localVarFp.v1SubmitNegotiationScores(
|
|
670
|
+
v1SubmitNegotiationScores(submitNegotiationScoresV1RequestDto: SubmitNegotiationScoresV1RequestDto, options?: RawAxiosRequestConfig): AxiosPromise<NegotiationScoredResponseDto> {
|
|
671
|
+
return localVarFp.v1SubmitNegotiationScores(submitNegotiationScoresV1RequestDto, options).then((request) => request(axios, basePath));
|
|
672
672
|
},
|
|
673
673
|
};
|
|
674
674
|
};
|
|
@@ -681,12 +681,12 @@ export class PartnerV1Api extends BaseAPI {
|
|
|
681
681
|
* V5 `/acceptanceCompleteSend` 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
|
|
682
682
|
* @summary 검수완료 전송 — V5 충실
|
|
683
683
|
* @param {string} bidId
|
|
684
|
-
* @param {
|
|
684
|
+
* @param {CompleteAcceptanceV1RequestDto} completeAcceptanceV1RequestDto
|
|
685
685
|
* @param {*} [options] Override http request option.
|
|
686
686
|
* @throws {RequiredError}
|
|
687
687
|
*/
|
|
688
|
-
public v1CompleteAcceptance(bidId: string,
|
|
689
|
-
return PartnerV1ApiFp(this.configuration).v1CompleteAcceptance(bidId,
|
|
688
|
+
public v1CompleteAcceptance(bidId: string, completeAcceptanceV1RequestDto: CompleteAcceptanceV1RequestDto, options?: RawAxiosRequestConfig) {
|
|
689
|
+
return PartnerV1ApiFp(this.configuration).v1CompleteAcceptance(bidId, completeAcceptanceV1RequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
690
690
|
}
|
|
691
691
|
|
|
692
692
|
/**
|
|
@@ -726,34 +726,34 @@ export class PartnerV1Api extends BaseAPI {
|
|
|
726
726
|
/**
|
|
727
727
|
* V5 `scsbidSend`(type=U) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
|
|
728
728
|
* @summary 유찰 처리 — V5 충실
|
|
729
|
-
* @param {
|
|
729
|
+
* @param {MarkBidFailedV1RequestDto} markBidFailedV1RequestDto
|
|
730
730
|
* @param {*} [options] Override http request option.
|
|
731
731
|
* @throws {RequiredError}
|
|
732
732
|
*/
|
|
733
|
-
public v1MarkBidFailed(
|
|
734
|
-
return PartnerV1ApiFp(this.configuration).v1MarkBidFailed(
|
|
733
|
+
public v1MarkBidFailed(markBidFailedV1RequestDto: MarkBidFailedV1RequestDto, options?: RawAxiosRequestConfig) {
|
|
734
|
+
return PartnerV1ApiFp(this.configuration).v1MarkBidFailed(markBidFailedV1RequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
735
735
|
}
|
|
736
736
|
|
|
737
737
|
/**
|
|
738
738
|
* V5 `scsbidSend`(type=W) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
|
|
739
739
|
* @summary 낙찰 결과 전송 — V5 충실
|
|
740
|
-
* @param {
|
|
740
|
+
* @param {RegisterAwardV1RequestDto} registerAwardV1RequestDto
|
|
741
741
|
* @param {*} [options] Override http request option.
|
|
742
742
|
* @throws {RequiredError}
|
|
743
743
|
*/
|
|
744
|
-
public v1RegisterAward(
|
|
745
|
-
return PartnerV1ApiFp(this.configuration).v1RegisterAward(
|
|
744
|
+
public v1RegisterAward(registerAwardV1RequestDto: RegisterAwardV1RequestDto, options?: RawAxiosRequestConfig) {
|
|
745
|
+
return PartnerV1ApiFp(this.configuration).v1RegisterAward(registerAwardV1RequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
746
746
|
}
|
|
747
747
|
|
|
748
748
|
/**
|
|
749
749
|
* V5 `scsbidSend`(type=B) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
|
|
750
750
|
* @summary 입찰 정보 전송(등록) — V5 충실
|
|
751
|
-
* @param {
|
|
751
|
+
* @param {CreateBidV1RequestDto} createBidV1RequestDto
|
|
752
752
|
* @param {*} [options] Override http request option.
|
|
753
753
|
* @throws {RequiredError}
|
|
754
754
|
*/
|
|
755
|
-
public v1RegisterBid(
|
|
756
|
-
return PartnerV1ApiFp(this.configuration).v1RegisterBid(
|
|
755
|
+
public v1RegisterBid(createBidV1RequestDto: CreateBidV1RequestDto, options?: RawAxiosRequestConfig) {
|
|
756
|
+
return PartnerV1ApiFp(this.configuration).v1RegisterBid(createBidV1RequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
757
757
|
}
|
|
758
758
|
|
|
759
759
|
/**
|
|
@@ -770,12 +770,12 @@ export class PartnerV1Api extends BaseAPI {
|
|
|
770
770
|
/**
|
|
771
771
|
* V5 `scsbidSend`(type=nego) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
|
|
772
772
|
* @summary 협상(H/K) 점수평가 — V5 충실
|
|
773
|
-
* @param {
|
|
773
|
+
* @param {SubmitNegotiationScoresV1RequestDto} submitNegotiationScoresV1RequestDto
|
|
774
774
|
* @param {*} [options] Override http request option.
|
|
775
775
|
* @throws {RequiredError}
|
|
776
776
|
*/
|
|
777
|
-
public v1SubmitNegotiationScores(
|
|
778
|
-
return PartnerV1ApiFp(this.configuration).v1SubmitNegotiationScores(
|
|
777
|
+
public v1SubmitNegotiationScores(submitNegotiationScoresV1RequestDto: SubmitNegotiationScoresV1RequestDto, options?: RawAxiosRequestConfig) {
|
|
778
|
+
return PartnerV1ApiFp(this.configuration).v1SubmitNegotiationScores(submitNegotiationScoresV1RequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
779
779
|
}
|
|
780
780
|
}
|
|
781
781
|
|
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: 9.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).
|
|
@@ -57,7 +57,7 @@ import type { UploadFileRequestDto } from '../models';
|
|
|
57
57
|
export const PartnerV2ApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
58
58
|
return {
|
|
59
59
|
/**
|
|
60
|
-
* 낙찰 공고의 검수(납품 검수)가 완료되었음을 기록합니다. **V5 대응:** `acceptanceCompleteSend` — BidApi.xml `acceptanceComplete` 액션의 V6 후속. **호출 시점:** 낙찰자(공급사)가 납품을 완료하고 구매자가 검수를 확인한 시점. 공고 상태가 낙찰(AWARDED) 상태여야 합니다. **부수효과:** - 검수완료 상태가 기록됩니다. -
|
|
60
|
+
* 낙찰 공고의 검수(납품 검수)가 완료되었음을 기록합니다. **V5 대응:** `acceptanceCompleteSend` — BidApi.xml `acceptanceComplete` 액션의 V6 후속. **호출 시점:** 낙찰자(공급사)가 납품을 완료하고 구매자가 검수를 확인한 시점. 공고 상태가 낙찰(AWARDED) 상태여야 합니다. **부수효과:** - 검수완료 상태가 기록됩니다. - 응답은 204가 아닌 200입니다 — 멱등성 인터셉터가 구체 바디를 캐시하고 SDK 가 타입드 응답을 필요로 하기 때문. **V5-compat 안내:** 거래명세서·검수보고서에 찍힐 구매사 사업자정보·담당자·작성일자 override(11종)는 modern v2 표면에서 제거됐습니다. 필요 시 V5 충실 카운터파트 `POST /v1/bids/{bidId}/acceptance`(`CompleteAcceptanceV1RequestDto`)를 사용하세요. **낙찰자 식별:** `winnerMemberId`(공급사 memberId). 내부 joinSeq 해소는 backend 가 처리합니다. **필수 스코프:** `contracts:write` **멱등성:** `Idempotency-Key` 헤더 필수.
|
|
61
61
|
* @summary 검수완료 전송
|
|
62
62
|
* @param {string} bidId 공고 ID(= backend bidId = 등록 응답의 bidNo).
|
|
63
63
|
* @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
|
|
@@ -441,7 +441,7 @@ export const PartnerV2ApiFp = function(configuration?: Configuration) {
|
|
|
441
441
|
const localVarAxiosParamCreator = PartnerV2ApiAxiosParamCreator(configuration)
|
|
442
442
|
return {
|
|
443
443
|
/**
|
|
444
|
-
* 낙찰 공고의 검수(납품 검수)가 완료되었음을 기록합니다. **V5 대응:** `acceptanceCompleteSend` — BidApi.xml `acceptanceComplete` 액션의 V6 후속. **호출 시점:** 낙찰자(공급사)가 납품을 완료하고 구매자가 검수를 확인한 시점. 공고 상태가 낙찰(AWARDED) 상태여야 합니다. **부수효과:** - 검수완료 상태가 기록됩니다. -
|
|
444
|
+
* 낙찰 공고의 검수(납품 검수)가 완료되었음을 기록합니다. **V5 대응:** `acceptanceCompleteSend` — BidApi.xml `acceptanceComplete` 액션의 V6 후속. **호출 시점:** 낙찰자(공급사)가 납품을 완료하고 구매자가 검수를 확인한 시점. 공고 상태가 낙찰(AWARDED) 상태여야 합니다. **부수효과:** - 검수완료 상태가 기록됩니다. - 응답은 204가 아닌 200입니다 — 멱등성 인터셉터가 구체 바디를 캐시하고 SDK 가 타입드 응답을 필요로 하기 때문. **V5-compat 안내:** 거래명세서·검수보고서에 찍힐 구매사 사업자정보·담당자·작성일자 override(11종)는 modern v2 표면에서 제거됐습니다. 필요 시 V5 충실 카운터파트 `POST /v1/bids/{bidId}/acceptance`(`CompleteAcceptanceV1RequestDto`)를 사용하세요. **낙찰자 식별:** `winnerMemberId`(공급사 memberId). 내부 joinSeq 해소는 backend 가 처리합니다. **필수 스코프:** `contracts:write` **멱등성:** `Idempotency-Key` 헤더 필수.
|
|
445
445
|
* @summary 검수완료 전송
|
|
446
446
|
* @param {string} bidId 공고 ID(= backend bidId = 등록 응답의 bidNo).
|
|
447
447
|
* @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
|
|
@@ -572,7 +572,7 @@ export const PartnerV2ApiFactory = function (configuration?: Configuration, base
|
|
|
572
572
|
const localVarFp = PartnerV2ApiFp(configuration)
|
|
573
573
|
return {
|
|
574
574
|
/**
|
|
575
|
-
* 낙찰 공고의 검수(납품 검수)가 완료되었음을 기록합니다. **V5 대응:** `acceptanceCompleteSend` — BidApi.xml `acceptanceComplete` 액션의 V6 후속. **호출 시점:** 낙찰자(공급사)가 납품을 완료하고 구매자가 검수를 확인한 시점. 공고 상태가 낙찰(AWARDED) 상태여야 합니다. **부수효과:** - 검수완료 상태가 기록됩니다. -
|
|
575
|
+
* 낙찰 공고의 검수(납품 검수)가 완료되었음을 기록합니다. **V5 대응:** `acceptanceCompleteSend` — BidApi.xml `acceptanceComplete` 액션의 V6 후속. **호출 시점:** 낙찰자(공급사)가 납품을 완료하고 구매자가 검수를 확인한 시점. 공고 상태가 낙찰(AWARDED) 상태여야 합니다. **부수효과:** - 검수완료 상태가 기록됩니다. - 응답은 204가 아닌 200입니다 — 멱등성 인터셉터가 구체 바디를 캐시하고 SDK 가 타입드 응답을 필요로 하기 때문. **V5-compat 안내:** 거래명세서·검수보고서에 찍힐 구매사 사업자정보·담당자·작성일자 override(11종)는 modern v2 표면에서 제거됐습니다. 필요 시 V5 충실 카운터파트 `POST /v1/bids/{bidId}/acceptance`(`CompleteAcceptanceV1RequestDto`)를 사용하세요. **낙찰자 식별:** `winnerMemberId`(공급사 memberId). 내부 joinSeq 해소는 backend 가 처리합니다. **필수 스코프:** `contracts:write` **멱등성:** `Idempotency-Key` 헤더 필수.
|
|
576
576
|
* @summary 검수완료 전송
|
|
577
577
|
* @param {string} bidId 공고 ID(= backend bidId = 등록 응답의 bidNo).
|
|
578
578
|
* @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
|
|
@@ -674,7 +674,7 @@ export const PartnerV2ApiFactory = function (configuration?: Configuration, base
|
|
|
674
674
|
*/
|
|
675
675
|
export class PartnerV2Api extends BaseAPI {
|
|
676
676
|
/**
|
|
677
|
-
* 낙찰 공고의 검수(납품 검수)가 완료되었음을 기록합니다. **V5 대응:** `acceptanceCompleteSend` — BidApi.xml `acceptanceComplete` 액션의 V6 후속. **호출 시점:** 낙찰자(공급사)가 납품을 완료하고 구매자가 검수를 확인한 시점. 공고 상태가 낙찰(AWARDED) 상태여야 합니다. **부수효과:** - 검수완료 상태가 기록됩니다. -
|
|
677
|
+
* 낙찰 공고의 검수(납품 검수)가 완료되었음을 기록합니다. **V5 대응:** `acceptanceCompleteSend` — BidApi.xml `acceptanceComplete` 액션의 V6 후속. **호출 시점:** 낙찰자(공급사)가 납품을 완료하고 구매자가 검수를 확인한 시점. 공고 상태가 낙찰(AWARDED) 상태여야 합니다. **부수효과:** - 검수완료 상태가 기록됩니다. - 응답은 204가 아닌 200입니다 — 멱등성 인터셉터가 구체 바디를 캐시하고 SDK 가 타입드 응답을 필요로 하기 때문. **V5-compat 안내:** 거래명세서·검수보고서에 찍힐 구매사 사업자정보·담당자·작성일자 override(11종)는 modern v2 표면에서 제거됐습니다. 필요 시 V5 충실 카운터파트 `POST /v1/bids/{bidId}/acceptance`(`CompleteAcceptanceV1RequestDto`)를 사용하세요. **낙찰자 식별:** `winnerMemberId`(공급사 memberId). 내부 joinSeq 해소는 backend 가 처리합니다. **필수 스코프:** `contracts:write` **멱등성:** `Idempotency-Key` 헤더 필수.
|
|
678
678
|
* @summary 검수완료 전송
|
|
679
679
|
* @param {string} bidId 공고 ID(= backend bidId = 등록 응답의 bidNo).
|
|
680
680
|
* @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
|
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: 9.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: 9.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).
|