@cmarket/partner-sdk 9.1.0 → 9.3.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 +6 -4
- package/api/oauth-api.ts +1 -1
- package/api/partner-v1-api.ts +1 -1
- package/api/partner-v2-api.ts +1 -1
- 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 +1 -1
- package/dist/api/partner-v1-api.js +1 -1
- package/dist/api/partner-v2-api.d.ts +1 -1
- package/dist/api/partner-v2-api.js +1 -1
- 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/dpop.d.ts +8 -0
- package/dist/dpop.js +57 -0
- 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 +1 -1
- package/dist/esm/api/partner-v1-api.js +1 -1
- package/dist/esm/api/partner-v2-api.d.ts +1 -1
- package/dist/esm/api/partner-v2-api.js +1 -1
- 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/dpop.d.ts +8 -0
- package/dist/esm/dpop.js +53 -0
- 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 +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 +45 -0
- package/dist/esm/models/bid-result-v1-bid-product-info-dto.js +14 -0
- package/dist/esm/models/bid-result-v1-participant-dto.d.ts +6 -1
- package/dist/esm/models/bid-result-v1-participant-dto.js +1 -1
- package/dist/esm/models/bid-result-v1-product-dto.d.ts +53 -0
- package/dist/esm/models/bid-result-v1-product-dto.js +14 -0
- 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 -1
- package/dist/esm/models/bid-results-response-dto.js +1 -1
- package/dist/esm/models/bid-results-v1-response-dto.d.ts +10 -1
- package/dist/esm/models/bid-results-v1-response-dto.js +1 -1
- 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 +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/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/create-bid-request-dto.d.ts +1 -1
- package/dist/esm/models/create-bid-request-dto.js +1 -1
- package/dist/esm/models/create-bid-v1-request-dto.d.ts +1 -1
- package/dist/esm/models/create-bid-v1-request-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/index.d.ts +2 -0
- package/dist/esm/models/index.js +2 -0
- 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 +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 +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 +1 -1
- package/dist/esm/models/register-award-v1-request-dto.js +1 -1
- 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 +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/token-request-dto.d.ts +5 -5
- 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 +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 +45 -0
- package/dist/models/bid-result-v1-bid-product-info-dto.js +15 -0
- package/dist/models/bid-result-v1-participant-dto.d.ts +6 -1
- package/dist/models/bid-result-v1-participant-dto.js +1 -1
- package/dist/models/bid-result-v1-product-dto.d.ts +53 -0
- package/dist/models/bid-result-v1-product-dto.js +15 -0
- 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 -1
- package/dist/models/bid-results-response-dto.js +1 -1
- package/dist/models/bid-results-v1-response-dto.d.ts +10 -1
- package/dist/models/bid-results-v1-response-dto.js +1 -1
- 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 +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/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/create-bid-request-dto.d.ts +1 -1
- package/dist/models/create-bid-request-dto.js +1 -1
- package/dist/models/create-bid-v1-request-dto.d.ts +1 -1
- package/dist/models/create-bid-v1-request-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/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- 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 +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 +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 +1 -1
- package/dist/models/register-award-v1-request-dto.js +1 -1
- 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 +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/token-request-dto.d.ts +5 -5
- 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/BidResultV1BidProductInfoDto.md +34 -0
- package/docs/BidResultV1ParticipantDto.md +2 -0
- package/docs/BidResultV1ProductDto.md +38 -0
- package/docs/BidResultsV1ResponseDto.md +4 -0
- package/docs/TokenRequestDto.md +2 -2
- package/dpop.ts +50 -0
- 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 +1 -1
- package/models/bid-result-v1-bid-product-info-dto.ts +51 -0
- package/models/bid-result-v1-participant-dto.ts +8 -1
- package/models/bid-result-v1-product-dto.ts +59 -0
- package/models/bid-results-batch-request-dto.ts +1 -1
- package/models/bid-results-response-dto.ts +1 -1
- package/models/bid-results-v1-response-dto.ts +12 -1
- 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 +1 -1
- package/models/bid-status.ts +1 -1
- 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/create-bid-request-dto.ts +1 -1
- package/models/create-bid-v1-request-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/index.ts +2 -0
- package/models/mark-bid-failed-request-dto.ts +1 -1
- 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 +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 +1 -1
- 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 +1 -1
- package/models/statement-v1-product-dto.ts +1 -1
- package/models/submit-negotiation-scores-v1-request-dto.ts +1 -1
- package/models/token-request-dto.ts +5 -5
- package/models/token-response-dto.ts +1 -1
- package/models/upload-file-request-dto.ts +1 -1
- package/package.json +3 -2
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* CMARKET V6 Partner API
|
|
3
3
|
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. `X-Platform-Id`(cate_set.api_id) / `X-Platform-Secret`(cate_set.api_secret, MD5-hex) 헤더로 전송.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 9.
|
|
5
|
+
* The version of the OpenAPI document: 9.3.0
|
|
6
6
|
* Contact: semo.io.kr@gmail.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* CMARKET V6 Partner API
|
|
6
6
|
* 외부 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) 헤더로 전송.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 9.
|
|
8
|
+
* The version of the OpenAPI document: 9.3.0
|
|
9
9
|
* Contact: semo.io.kr@gmail.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* CMARKET V6 Partner API
|
|
3
3
|
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. `X-Platform-Id`(cate_set.api_id) / `X-Platform-Secret`(cate_set.api_secret, MD5-hex) 헤더로 전송.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 9.
|
|
5
|
+
* The version of the OpenAPI document: 9.3.0
|
|
6
6
|
* Contact: semo.io.kr@gmail.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -15,13 +15,13 @@ export interface TokenRequestDto {
|
|
|
15
15
|
*/
|
|
16
16
|
'grant_type': TokenRequestDtoGrantTypeEnum;
|
|
17
17
|
/**
|
|
18
|
-
* 파트너 client_id (
|
|
18
|
+
* 파트너 client_id (client_secret_post 방식). Basic 인증 시 생략.
|
|
19
19
|
*/
|
|
20
|
-
'client_id'
|
|
20
|
+
'client_id'?: string;
|
|
21
21
|
/**
|
|
22
|
-
* 파트너 client_secret.
|
|
22
|
+
* 파트너 client_secret (client_secret_post 방식). Basic 인증 시 생략.
|
|
23
23
|
*/
|
|
24
|
-
'client_secret'
|
|
24
|
+
'client_secret'?: string;
|
|
25
25
|
/**
|
|
26
26
|
* space-separated 요청 스코프. 미지정 시 client 의 전체 스코프 발급.
|
|
27
27
|
*/
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* CMARKET V6 Partner API
|
|
6
6
|
* 외부 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) 헤더로 전송.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 9.
|
|
8
|
+
* The version of the OpenAPI document: 9.3.0
|
|
9
9
|
* Contact: semo.io.kr@gmail.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* CMARKET V6 Partner API
|
|
3
3
|
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. `X-Platform-Id`(cate_set.api_id) / `X-Platform-Secret`(cate_set.api_secret, MD5-hex) 헤더로 전송.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 9.
|
|
5
|
+
* The version of the OpenAPI document: 9.3.0
|
|
6
6
|
* Contact: semo.io.kr@gmail.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* CMARKET V6 Partner API
|
|
6
6
|
* 외부 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) 헤더로 전송.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 9.
|
|
8
|
+
* The version of the OpenAPI document: 9.3.0
|
|
9
9
|
* Contact: semo.io.kr@gmail.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* CMARKET V6 Partner API
|
|
3
3
|
* 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. `X-Platform-Id`(cate_set.api_id) / `X-Platform-Secret`(cate_set.api_secret, MD5-hex) 헤더로 전송.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 9.
|
|
5
|
+
* The version of the OpenAPI document: 9.3.0
|
|
6
6
|
* Contact: semo.io.kr@gmail.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* CMARKET V6 Partner API
|
|
6
6
|
* 외부 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) 헤더로 전송.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 9.
|
|
8
|
+
* The version of the OpenAPI document: 9.3.0
|
|
9
9
|
* Contact: semo.io.kr@gmail.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# BidResultV1BidProductInfoDto
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**fSeq** | **number** | 품목 순번 (V5 f_seq). | [optional] [default to undefined]
|
|
9
|
+
**fCode** | **string** | 품목 코드 (V5 f_code). | [optional] [default to undefined]
|
|
10
|
+
**fName** | **string** | 품목명 (V5 f_name). | [optional] [default to undefined]
|
|
11
|
+
**fMaker** | **string** | 제조사 (V5 f_maker). | [optional] [default to undefined]
|
|
12
|
+
**fVolume** | **string** | 수량 (V5 f_volume). | [optional] [default to undefined]
|
|
13
|
+
**fUnit** | **string** | 단위 (V5 f_unit). | [optional] [default to undefined]
|
|
14
|
+
**fPrice** | **number** | 단가 (V5 f_price). | [optional] [default to undefined]
|
|
15
|
+
**fSum** | **number** | 합계금액 (V5 f_sum). | [optional] [default to undefined]
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import { BidResultV1BidProductInfoDto } from '@cmarket/partner-sdk';
|
|
21
|
+
|
|
22
|
+
const instance: BidResultV1BidProductInfoDto = {
|
|
23
|
+
fSeq,
|
|
24
|
+
fCode,
|
|
25
|
+
fName,
|
|
26
|
+
fMaker,
|
|
27
|
+
fVolume,
|
|
28
|
+
fUnit,
|
|
29
|
+
fPrice,
|
|
30
|
+
fSum,
|
|
31
|
+
};
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -16,6 +16,7 @@ Name | Type | Description | Notes
|
|
|
16
16
|
**managerPhone** | **string** | 담당자 연락처 (V5 mem_tel/mem_phon). 마스킹 시 null. | [optional] [default to undefined]
|
|
17
17
|
**managerEmail** | **string** | 담당자 이메일 (V5 mem_email). 마스킹 시 null. | [optional] [default to undefined]
|
|
18
18
|
**attachments** | [**Array<BidResultV1AttachmentDto>**](BidResultV1AttachmentDto.md) | 응찰 제출 첨부파일 목록 (V5 entend_file_info). 신원 마스킹 시 빈 배열. | [optional] [default to undefined]
|
|
19
|
+
**products** | [**Array<BidResultV1ProductDto>**](BidResultV1ProductDto.md) | 응찰 참여자 품목 목록 (V5 getApiJoinProductInfo / entend_product_info). VAT 조정 후. 품목 없음 시 빈 배열. | [optional] [default to undefined]
|
|
19
20
|
**companyBizrno** | **string** | 사업자등록번호 (V5 cpn_bizrno). | [optional] [default to undefined]
|
|
20
21
|
**companyTaxType** | **string** | 과세(\'Y\')/면세(\'N\') 유형 (V5 cpn_tax_type). | [optional] [default to undefined]
|
|
21
22
|
**companyTaxBizrno** | **string** | 종사업자번호 (V5 cpn_tax_bizrno). | [optional] [default to undefined]
|
|
@@ -58,6 +59,7 @@ const instance: BidResultV1ParticipantDto = {
|
|
|
58
59
|
managerPhone,
|
|
59
60
|
managerEmail,
|
|
60
61
|
attachments,
|
|
62
|
+
products,
|
|
61
63
|
companyBizrno,
|
|
62
64
|
companyTaxType,
|
|
63
65
|
companyTaxBizrno,
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# BidResultV1ProductDto
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**gudsSeq** | **number** | 품목 순번 (V5 guds_seq). | [optional] [default to undefined]
|
|
9
|
+
**gudsCode** | **string** | 품목 코드 (V5 guds_code). | [optional] [default to undefined]
|
|
10
|
+
**gudsName** | **string** | 품목명 (V5 guds_name). | [optional] [default to undefined]
|
|
11
|
+
**gudsStandard** | **string** | 규격 (V5 guds_standard). | [optional] [default to undefined]
|
|
12
|
+
**gudsQy** | **string** | 수량 (V5 guds_qy, decimal 정규화 문자열). | [optional] [default to undefined]
|
|
13
|
+
**gudsUntpc** | **string** | 단가 (V5 guds_untpc, decimal 정규화 문자열). | [optional] [default to undefined]
|
|
14
|
+
**gudsTotpc** | **number** | 합계금액 (V5 guds_totpc, VAT 조정 후). | [optional] [default to undefined]
|
|
15
|
+
**gudsVat** | **number** | 부가세 (V5 guds_vat, VAT 조정 후). | [optional] [default to undefined]
|
|
16
|
+
**gudsSplpc** | **number** | 공급가액 (V5 guds_splpc, VAT 조정 후). | [optional] [default to undefined]
|
|
17
|
+
**gudsAssessment** | **string** | 사정(적정성) 값 (V5 guds_assessment). | [optional] [default to undefined]
|
|
18
|
+
|
|
19
|
+
## Example
|
|
20
|
+
|
|
21
|
+
```typescript
|
|
22
|
+
import { BidResultV1ProductDto } from '@cmarket/partner-sdk';
|
|
23
|
+
|
|
24
|
+
const instance: BidResultV1ProductDto = {
|
|
25
|
+
gudsSeq,
|
|
26
|
+
gudsCode,
|
|
27
|
+
gudsName,
|
|
28
|
+
gudsStandard,
|
|
29
|
+
gudsQy,
|
|
30
|
+
gudsUntpc,
|
|
31
|
+
gudsTotpc,
|
|
32
|
+
gudsVat,
|
|
33
|
+
gudsSplpc,
|
|
34
|
+
gudsAssessment,
|
|
35
|
+
};
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**bidId** | **string** | 공고 식별자. | [default to undefined]
|
|
9
9
|
**bidPuchaseNo** | **string** | 발주처 지정 조달번호 (V5 bid_puchase_no). 외부 ERP 가 등록 시 보낸 PO 번호. 미설정 시 null. | [optional] [default to undefined]
|
|
10
10
|
**status** | [**BidStatus**](BidStatus.md) | 공고 상태 코드. V5 /entendrec 은 A(진행중)/B(마감)/C(낙찰·계약진행)/E(유찰) 4종을 문서화했으나, V6 는 D(계약완료)/R(임시저장)을 더한 6종 superset 을 그대로 내려준다 — V5 호환 ERP 는 D 를 C 의 후속 단계로, R 은 미발행 초안으로 처리할 것(코드 매핑 없이 raw 통과). | [default to undefined]
|
|
11
|
+
**winningSequence** | **number** | 낙찰 회차 (V5 buy_seq). V5 entendRec 가 공고 top-level 로 반환하는 낙찰자 seq. isWinner 로부터 파생하지 않음(원본 그대로). 미낙찰/진행중이면 null. | [optional] [default to undefined]
|
|
11
12
|
**buyType** | **string** | 발주유형 코드 (V5 buy_type). raw passthrough. | [optional] [default to undefined]
|
|
12
13
|
**buyDesc** | **string** | 공고 설명 (V5 buy_desc). raw text. | [optional] [default to undefined]
|
|
13
14
|
**buySDay** | **string** | 공고 시작일시 (V5 buy_s_day, \"YYYY-MM-DD HH:MM:SS\"). | [optional] [default to undefined]
|
|
@@ -40,6 +41,7 @@ Name | Type | Description | Notes
|
|
|
40
41
|
**buyUpdateDate** | **string** | 공고 수정일시 (V5 buy_update_date, \"YYYY-MM-DD HH:MM:SS\"). | [optional] [default to undefined]
|
|
41
42
|
**negoCompleteYn** | **string** | 협상완료 여부 (V5 nego_complete_yn). raw passthrough. | [optional] [default to undefined]
|
|
42
43
|
**participants** | [**Array<BidResultV1ParticipantDto>**](BidResultV1ParticipantDto.md) | 참여(투찰) 업체 목록. 가격/신원은 backend 매트릭스 적용 결과. | [default to undefined]
|
|
44
|
+
**bidProductInfo** | [**Array<BidResultV1BidProductInfoDto>**](BidResultV1BidProductInfoDto.md) | 공고 수준 품목 원장 (V5 getScsBidList `getBidProductInfo`). getScsBidList 경로에서만 채워지며 entendRec 조회에서는 null. b2b_buy_product 기반. | [optional] [default to undefined]
|
|
43
45
|
|
|
44
46
|
## Example
|
|
45
47
|
|
|
@@ -50,6 +52,7 @@ const instance: BidResultsV1ResponseDto = {
|
|
|
50
52
|
bidId,
|
|
51
53
|
bidPuchaseNo,
|
|
52
54
|
status,
|
|
55
|
+
winningSequence,
|
|
53
56
|
buyType,
|
|
54
57
|
buyDesc,
|
|
55
58
|
buySDay,
|
|
@@ -82,6 +85,7 @@ const instance: BidResultsV1ResponseDto = {
|
|
|
82
85
|
buyUpdateDate,
|
|
83
86
|
negoCompleteYn,
|
|
84
87
|
participants,
|
|
88
|
+
bidProductInfo,
|
|
85
89
|
};
|
|
86
90
|
```
|
|
87
91
|
|
package/docs/TokenRequestDto.md
CHANGED
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**grant_type** | **string** | OAuth 2.0 grant type. 현재 client_credentials 만 지원. | [default to undefined]
|
|
9
|
-
**client_id** | **string** | 파트너 client_id (
|
|
10
|
-
**client_secret** | **string** | 파트너 client_secret. | [default to undefined]
|
|
9
|
+
**client_id** | **string** | 파트너 client_id (client_secret_post 방식). Basic 인증 시 생략. | [optional] [default to undefined]
|
|
10
|
+
**client_secret** | **string** | 파트너 client_secret (client_secret_post 방식). Basic 인증 시 생략. | [optional] [default to undefined]
|
|
11
11
|
**scope** | **string** | space-separated 요청 스코프. 미지정 시 client 의 전체 스코프 발급. | [optional] [default to undefined]
|
|
12
12
|
|
|
13
13
|
## Example
|
package/dpop.ts
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { SignJWT, exportJWK, generateKeyPair, calculateJwkThumbprint, type JWK } from 'jose';
|
|
2
|
+
import type { InternalAxiosRequestConfig } from 'axios';
|
|
3
|
+
|
|
4
|
+
/** ephemeral ES256 키쌍 1개를 클라 수명 동안 재사용. */
|
|
5
|
+
export async function createDpopSigner() {
|
|
6
|
+
const { privateKey, publicKey } = await generateKeyPair('ES256', {
|
|
7
|
+
extractable: true,
|
|
8
|
+
});
|
|
9
|
+
const jwk = (await exportJWK(publicKey)) as JWK;
|
|
10
|
+
const jkt = await calculateJwkThumbprint(jwk);
|
|
11
|
+
|
|
12
|
+
async function proof(htm: string, htu: string, accessToken?: string): Promise<string> {
|
|
13
|
+
const payload: Record<string, unknown> = {
|
|
14
|
+
htm,
|
|
15
|
+
htu,
|
|
16
|
+
jti: crypto.randomUUID(),
|
|
17
|
+
};
|
|
18
|
+
if (accessToken) {
|
|
19
|
+
const buf = new TextEncoder().encode(accessToken);
|
|
20
|
+
const digest = new Uint8Array(await crypto.subtle.digest('SHA-256', buf));
|
|
21
|
+
payload.ath = base64url(digest);
|
|
22
|
+
}
|
|
23
|
+
return new SignJWT(payload)
|
|
24
|
+
.setProtectedHeader({ alg: 'ES256', typ: 'dpop+jwt', jwk })
|
|
25
|
+
.setIssuedAt()
|
|
26
|
+
.sign(privateKey);
|
|
27
|
+
}
|
|
28
|
+
return { jkt, proof };
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
function base64url(bytes: Uint8Array): string {
|
|
32
|
+
return Buffer.from(bytes).toString('base64url');
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/** axios interceptor: 매 요청에 DPoP proof 주입, DPoP 스킴 사용. */
|
|
36
|
+
export function attachDpop(
|
|
37
|
+
signer: Awaited<ReturnType<typeof createDpopSigner>>,
|
|
38
|
+
getToken: () => string,
|
|
39
|
+
) {
|
|
40
|
+
return async (config: InternalAxiosRequestConfig): Promise<InternalAxiosRequestConfig> => {
|
|
41
|
+
const token = getToken();
|
|
42
|
+
const htu = new URL(config.url ?? '', config.baseURL).toString().split('?')[0];
|
|
43
|
+
config.headers.set('Authorization', `DPoP ${token}`);
|
|
44
|
+
config.headers.set(
|
|
45
|
+
'DPoP',
|
|
46
|
+
await signer.proof((config.method ?? 'GET').toUpperCase(), htu, token),
|
|
47
|
+
);
|
|
48
|
+
return config;
|
|
49
|
+
};
|
|
50
|
+
}
|
package/index.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: 9.
|
|
7
|
+
* The version of the OpenAPI document: 9.3.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).
|
|
@@ -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: 9.
|
|
7
|
+
* The version of the OpenAPI document: 9.3.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).
|
|
@@ -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: 9.
|
|
7
|
+
* The version of the OpenAPI document: 9.3.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/models/bid-bond-dto.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: 9.
|
|
7
|
+
* The version of the OpenAPI document: 9.3.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).
|
|
@@ -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: 9.
|
|
7
|
+
* The version of the OpenAPI document: 9.3.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).
|
|
@@ -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: 9.
|
|
7
|
+
* The version of the OpenAPI document: 9.3.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).
|
|
@@ -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: 9.
|
|
7
|
+
* The version of the OpenAPI document: 9.3.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).
|
|
@@ -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: 9.
|
|
7
|
+
* The version of the OpenAPI document: 9.3.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).
|
|
@@ -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: 9.
|
|
7
|
+
* The version of the OpenAPI document: 9.3.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).
|
|
@@ -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: 9.
|
|
7
|
+
* The version of the OpenAPI document: 9.3.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/models/bid-item-dto.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: 9.
|
|
7
|
+
* The version of the OpenAPI document: 9.3.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).
|
|
@@ -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: 9.
|
|
7
|
+
* The version of the OpenAPI document: 9.3.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).
|
|
@@ -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: 9.
|
|
7
|
+
* The version of the OpenAPI document: 9.3.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).
|
|
@@ -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: 9.
|
|
7
|
+
* The version of the OpenAPI document: 9.3.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).
|
|
@@ -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: 9.
|
|
7
|
+
* The version of the OpenAPI document: 9.3.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).
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* CMARKET V6 Partner API
|
|
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
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 9.3.0
|
|
8
|
+
* Contact: semo.io.kr@gmail.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
export interface BidResultV1BidProductInfoDto {
|
|
18
|
+
/**
|
|
19
|
+
* 품목 순번 (V5 f_seq).
|
|
20
|
+
*/
|
|
21
|
+
'fSeq'?: number | null;
|
|
22
|
+
/**
|
|
23
|
+
* 품목 코드 (V5 f_code).
|
|
24
|
+
*/
|
|
25
|
+
'fCode'?: string | null;
|
|
26
|
+
/**
|
|
27
|
+
* 품목명 (V5 f_name).
|
|
28
|
+
*/
|
|
29
|
+
'fName'?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
* 제조사 (V5 f_maker).
|
|
32
|
+
*/
|
|
33
|
+
'fMaker'?: string | null;
|
|
34
|
+
/**
|
|
35
|
+
* 수량 (V5 f_volume).
|
|
36
|
+
*/
|
|
37
|
+
'fVolume'?: string | null;
|
|
38
|
+
/**
|
|
39
|
+
* 단위 (V5 f_unit).
|
|
40
|
+
*/
|
|
41
|
+
'fUnit'?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
* 단가 (V5 f_price).
|
|
44
|
+
*/
|
|
45
|
+
'fPrice'?: number | null;
|
|
46
|
+
/**
|
|
47
|
+
* 합계금액 (V5 f_sum).
|
|
48
|
+
*/
|
|
49
|
+
'fSum'?: number | null;
|
|
50
|
+
}
|
|
51
|
+
|
|
@@ -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: 9.
|
|
7
|
+
* The version of the OpenAPI document: 9.3.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).
|
|
@@ -16,6 +16,9 @@
|
|
|
16
16
|
// May contain unused imports in some cases
|
|
17
17
|
// @ts-ignore
|
|
18
18
|
import type { BidResultV1AttachmentDto } from './bid-result-v1-attachment-dto';
|
|
19
|
+
// May contain unused imports in some cases
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import type { BidResultV1ProductDto } from './bid-result-v1-product-dto';
|
|
19
22
|
|
|
20
23
|
export interface BidResultV1ParticipantDto {
|
|
21
24
|
/**
|
|
@@ -62,6 +65,10 @@ export interface BidResultV1ParticipantDto {
|
|
|
62
65
|
* 응찰 제출 첨부파일 목록 (V5 entend_file_info). 신원 마스킹 시 빈 배열.
|
|
63
66
|
*/
|
|
64
67
|
'attachments'?: Array<BidResultV1AttachmentDto>;
|
|
68
|
+
/**
|
|
69
|
+
* 응찰 참여자 품목 목록 (V5 getApiJoinProductInfo / entend_product_info). VAT 조정 후. 품목 없음 시 빈 배열.
|
|
70
|
+
*/
|
|
71
|
+
'products'?: Array<BidResultV1ProductDto>;
|
|
65
72
|
/**
|
|
66
73
|
* 사업자등록번호 (V5 cpn_bizrno).
|
|
67
74
|
*/
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* CMARKET V6 Partner API
|
|
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
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 9.3.0
|
|
8
|
+
* Contact: semo.io.kr@gmail.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
export interface BidResultV1ProductDto {
|
|
18
|
+
/**
|
|
19
|
+
* 품목 순번 (V5 guds_seq).
|
|
20
|
+
*/
|
|
21
|
+
'gudsSeq'?: number | null;
|
|
22
|
+
/**
|
|
23
|
+
* 품목 코드 (V5 guds_code).
|
|
24
|
+
*/
|
|
25
|
+
'gudsCode'?: string | null;
|
|
26
|
+
/**
|
|
27
|
+
* 품목명 (V5 guds_name).
|
|
28
|
+
*/
|
|
29
|
+
'gudsName'?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
* 규격 (V5 guds_standard).
|
|
32
|
+
*/
|
|
33
|
+
'gudsStandard'?: string | null;
|
|
34
|
+
/**
|
|
35
|
+
* 수량 (V5 guds_qy, decimal 정규화 문자열).
|
|
36
|
+
*/
|
|
37
|
+
'gudsQy'?: string | null;
|
|
38
|
+
/**
|
|
39
|
+
* 단가 (V5 guds_untpc, decimal 정규화 문자열).
|
|
40
|
+
*/
|
|
41
|
+
'gudsUntpc'?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
* 합계금액 (V5 guds_totpc, VAT 조정 후).
|
|
44
|
+
*/
|
|
45
|
+
'gudsTotpc'?: number | null;
|
|
46
|
+
/**
|
|
47
|
+
* 부가세 (V5 guds_vat, VAT 조정 후).
|
|
48
|
+
*/
|
|
49
|
+
'gudsVat'?: number | null;
|
|
50
|
+
/**
|
|
51
|
+
* 공급가액 (V5 guds_splpc, VAT 조정 후).
|
|
52
|
+
*/
|
|
53
|
+
'gudsSplpc'?: number | null;
|
|
54
|
+
/**
|
|
55
|
+
* 사정(적정성) 값 (V5 guds_assessment).
|
|
56
|
+
*/
|
|
57
|
+
'gudsAssessment'?: string | null;
|
|
58
|
+
}
|
|
59
|
+
|
|
@@ -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: 9.
|
|
7
|
+
* The version of the OpenAPI document: 9.3.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).
|
|
@@ -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: 9.
|
|
7
|
+
* The version of the OpenAPI document: 9.3.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).
|