@cmarket/partner-sdk 0.1.0 → 0.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 +230 -9
- package/api/oauth-api.ts +1 -1
- package/api/partner-v1-api.ts +1038 -16
- package/api.ts +1 -3
- 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 +465 -13
- package/dist/api/partner-v1-api.js +986 -46
- package/dist/api.d.ts +1 -3
- package/dist/api.js +1 -3
- 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 +465 -13
- package/dist/esm/api/partner-v1-api.js +986 -46
- package/dist/esm/api.d.ts +1 -3
- package/dist/esm/api.js +1 -3
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/models/acceptance-result-response-dto.d.ts +21 -0
- package/dist/esm/models/{legacy-envelope-dto.js → acceptance-result-response-dto.js} +1 -1
- package/dist/esm/models/award-registered-response-dto.d.ts +1 -1
- package/dist/esm/models/award-registered-response-dto.js +1 -1
- package/dist/esm/models/bid-bond-dto.d.ts +1 -1
- package/dist/esm/models/bid-bond-dto.js +1 -1
- package/dist/esm/models/bid-contract-documents-batch-request-dto.d.ts +21 -0
- package/dist/esm/models/bid-contract-documents-batch-request-dto.js +14 -0
- package/dist/esm/models/bid-contract-documents-response-dto.d.ts +26 -0
- package/dist/esm/models/bid-contract-documents-response-dto.js +14 -0
- package/dist/esm/models/bid-created-response-dto.d.ts +1 -1
- package/dist/esm/models/bid-created-response-dto.js +1 -1
- package/dist/esm/models/bid-document-dto.d.ts +1 -1
- package/dist/esm/models/bid-document-dto.js +1 -1
- package/dist/esm/models/bid-failed-response-dto.d.ts +21 -0
- package/dist/esm/models/bid-failed-response-dto.js +14 -0
- package/dist/esm/models/bid-failure-reason.d.ts +25 -0
- package/dist/esm/models/bid-failure-reason.js +26 -0
- package/dist/esm/models/bid-item-dto.d.ts +1 -1
- package/dist/esm/models/bid-item-dto.js +1 -1
- package/dist/esm/models/bid-manager-dto.d.ts +9 -1
- package/dist/esm/models/bid-manager-dto.js +1 -1
- package/dist/esm/models/bid-result-participant-dto.d.ts +65 -0
- package/dist/esm/models/bid-result-participant-dto.js +14 -0
- package/dist/esm/models/bid-result-product-dto.d.ts +25 -0
- package/dist/esm/models/bid-result-product-dto.js +14 -0
- package/dist/esm/models/bid-result-winner-dto.d.ts +25 -0
- package/dist/esm/models/bid-result-winner-dto.js +14 -0
- package/dist/esm/models/bid-results-batch-request-dto.d.ts +21 -0
- package/dist/esm/models/bid-results-batch-request-dto.js +14 -0
- package/dist/esm/models/bid-results-response-dto.d.ts +56 -0
- package/dist/esm/models/bid-results-response-dto.js +14 -0
- package/dist/esm/models/bid-settlement-line-item-dto.d.ts +49 -0
- package/dist/esm/models/bid-settlement-line-item-dto.js +14 -0
- package/dist/esm/models/bid-settlement-participant-dto.d.ts +95 -0
- package/dist/esm/models/bid-settlement-participant-dto.js +17 -0
- package/dist/esm/models/bid-settlement-response-dto.d.ts +22 -0
- package/dist/esm/models/bid-settlement-response-dto.js +14 -0
- package/dist/esm/models/bid-statement-response-dto.d.ts +31 -0
- package/dist/esm/models/bid-statement-response-dto.js +14 -0
- package/dist/esm/models/bid-status.d.ts +2 -2
- package/dist/esm/models/bid-status.js +2 -2
- package/dist/esm/models/bid-summary-response-dto.d.ts +5 -5
- package/dist/esm/models/bid-summary-response-dto.js +1 -1
- package/dist/esm/models/complete-acceptance-request-dto.d.ts +65 -0
- package/dist/esm/models/complete-acceptance-request-dto.js +14 -0
- package/dist/esm/models/contract-document-item-dto.d.ts +29 -0
- package/dist/esm/models/contract-document-item-dto.js +14 -0
- package/dist/esm/models/create-bid-request-dto.d.ts +20 -3
- package/dist/esm/models/create-bid-request-dto.js +5 -1
- package/dist/esm/models/file-uploaded-response-dto.d.ts +1 -1
- package/dist/esm/models/file-uploaded-response-dto.js +1 -1
- package/dist/esm/models/health-response-dto.d.ts +1 -1
- package/dist/esm/models/health-response-dto.js +1 -1
- package/dist/esm/models/hierarchical-region-dto.d.ts +1 -1
- package/dist/esm/models/hierarchical-region-dto.js +1 -1
- package/dist/esm/models/index.d.ts +24 -1
- package/dist/esm/models/index.js +24 -1
- package/dist/esm/models/mark-bid-failed-request-dto.d.ts +30 -0
- package/dist/esm/models/mark-bid-failed-request-dto.js +14 -0
- package/dist/esm/models/negotiation-score-dto.d.ts +25 -0
- package/dist/esm/models/negotiation-score-dto.js +14 -0
- package/dist/esm/models/negotiation-scored-response-dto.d.ts +25 -0
- package/dist/esm/models/negotiation-scored-response-dto.js +14 -0
- package/dist/esm/models/preconditions-dto.d.ts +1 -1
- package/dist/esm/models/preconditions-dto.js +1 -1
- package/dist/esm/models/register-award-request-dto.d.ts +10 -2
- package/dist/esm/models/register-award-request-dto.js +1 -1
- package/dist/esm/models/request-split-invoice-request-dto.d.ts +33 -0
- package/dist/esm/models/request-split-invoice-request-dto.js +14 -0
- package/dist/esm/models/split-invoice-response-dto.d.ts +21 -0
- package/dist/esm/models/split-invoice-response-dto.js +14 -0
- package/dist/esm/models/statement-document-dto.d.ts +25 -0
- package/dist/esm/models/statement-document-dto.js +14 -0
- package/dist/esm/models/statement-product-dto.d.ts +49 -0
- package/dist/esm/models/statement-product-dto.js +14 -0
- package/dist/esm/models/submit-negotiation-scores-request-dto.d.ts +30 -0
- package/dist/esm/models/submit-negotiation-scores-request-dto.js +14 -0
- package/dist/esm/models/token-request-dto.d.ts +1 -1
- package/dist/esm/models/token-request-dto.js +1 -1
- package/dist/esm/models/token-response-dto.d.ts +1 -1
- package/dist/esm/models/token-response-dto.js +1 -1
- package/dist/esm/models/upload-file-request-dto.d.ts +1 -1
- package/dist/esm/models/upload-file-request-dto.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/models/acceptance-result-response-dto.d.ts +21 -0
- package/dist/models/{legacy-envelope-dto.js → acceptance-result-response-dto.js} +1 -1
- package/dist/models/award-registered-response-dto.d.ts +1 -1
- package/dist/models/award-registered-response-dto.js +1 -1
- package/dist/models/bid-bond-dto.d.ts +1 -1
- package/dist/models/bid-bond-dto.js +1 -1
- package/dist/models/bid-contract-documents-batch-request-dto.d.ts +21 -0
- package/dist/models/bid-contract-documents-batch-request-dto.js +15 -0
- package/dist/models/bid-contract-documents-response-dto.d.ts +26 -0
- package/dist/models/bid-contract-documents-response-dto.js +15 -0
- package/dist/models/bid-created-response-dto.d.ts +1 -1
- package/dist/models/bid-created-response-dto.js +1 -1
- package/dist/models/bid-document-dto.d.ts +1 -1
- package/dist/models/bid-document-dto.js +1 -1
- package/dist/models/bid-failed-response-dto.d.ts +21 -0
- package/dist/models/bid-failed-response-dto.js +15 -0
- package/dist/models/bid-failure-reason.d.ts +25 -0
- package/dist/models/bid-failure-reason.js +29 -0
- package/dist/models/bid-item-dto.d.ts +1 -1
- package/dist/models/bid-item-dto.js +1 -1
- package/dist/models/bid-manager-dto.d.ts +9 -1
- package/dist/models/bid-manager-dto.js +1 -1
- package/dist/models/bid-result-participant-dto.d.ts +65 -0
- package/dist/models/bid-result-participant-dto.js +15 -0
- package/dist/models/bid-result-product-dto.d.ts +25 -0
- package/dist/models/bid-result-product-dto.js +15 -0
- package/dist/models/bid-result-winner-dto.d.ts +25 -0
- package/dist/models/bid-result-winner-dto.js +15 -0
- package/dist/models/bid-results-batch-request-dto.d.ts +21 -0
- package/dist/models/bid-results-batch-request-dto.js +15 -0
- package/dist/models/bid-results-response-dto.d.ts +56 -0
- package/dist/models/bid-results-response-dto.js +15 -0
- package/dist/models/bid-settlement-line-item-dto.d.ts +49 -0
- package/dist/models/bid-settlement-line-item-dto.js +15 -0
- package/dist/models/bid-settlement-participant-dto.d.ts +95 -0
- package/dist/models/bid-settlement-participant-dto.js +20 -0
- package/dist/models/bid-settlement-response-dto.d.ts +22 -0
- package/dist/models/bid-settlement-response-dto.js +15 -0
- package/dist/models/bid-statement-response-dto.d.ts +31 -0
- package/dist/models/bid-statement-response-dto.js +15 -0
- package/dist/models/bid-status.d.ts +2 -2
- package/dist/models/bid-status.js +2 -2
- package/dist/models/bid-summary-response-dto.d.ts +5 -5
- package/dist/models/bid-summary-response-dto.js +1 -1
- package/dist/models/complete-acceptance-request-dto.d.ts +65 -0
- package/dist/models/complete-acceptance-request-dto.js +15 -0
- package/dist/models/contract-document-item-dto.d.ts +29 -0
- package/dist/models/contract-document-item-dto.js +15 -0
- package/dist/models/create-bid-request-dto.d.ts +20 -3
- package/dist/models/create-bid-request-dto.js +6 -2
- package/dist/models/file-uploaded-response-dto.d.ts +1 -1
- package/dist/models/file-uploaded-response-dto.js +1 -1
- package/dist/models/health-response-dto.d.ts +1 -1
- package/dist/models/health-response-dto.js +1 -1
- package/dist/models/hierarchical-region-dto.d.ts +1 -1
- package/dist/models/hierarchical-region-dto.js +1 -1
- package/dist/models/index.d.ts +24 -1
- package/dist/models/index.js +24 -1
- package/dist/models/mark-bid-failed-request-dto.d.ts +30 -0
- package/dist/models/mark-bid-failed-request-dto.js +15 -0
- package/dist/models/negotiation-score-dto.d.ts +25 -0
- package/dist/models/negotiation-score-dto.js +15 -0
- package/dist/models/negotiation-scored-response-dto.d.ts +25 -0
- package/dist/models/negotiation-scored-response-dto.js +15 -0
- package/dist/models/preconditions-dto.d.ts +1 -1
- package/dist/models/preconditions-dto.js +1 -1
- package/dist/models/register-award-request-dto.d.ts +10 -2
- package/dist/models/register-award-request-dto.js +1 -1
- package/dist/models/request-split-invoice-request-dto.d.ts +33 -0
- package/dist/models/request-split-invoice-request-dto.js +15 -0
- package/dist/models/split-invoice-response-dto.d.ts +21 -0
- package/dist/models/split-invoice-response-dto.js +15 -0
- package/dist/models/statement-document-dto.d.ts +25 -0
- package/dist/models/statement-document-dto.js +15 -0
- package/dist/models/statement-product-dto.d.ts +49 -0
- package/dist/models/statement-product-dto.js +15 -0
- package/dist/models/submit-negotiation-scores-request-dto.d.ts +30 -0
- package/dist/models/submit-negotiation-scores-request-dto.js +15 -0
- package/dist/models/token-request-dto.d.ts +1 -1
- package/dist/models/token-request-dto.js +1 -1
- package/dist/models/token-response-dto.d.ts +1 -1
- package/dist/models/token-response-dto.js +1 -1
- package/dist/models/upload-file-request-dto.d.ts +1 -1
- package/dist/models/upload-file-request-dto.js +1 -1
- package/docs/AcceptanceResultResponseDto.md +22 -0
- package/docs/BidContractDocumentsBatchRequestDto.md +22 -0
- package/docs/BidContractDocumentsResponseDto.md +24 -0
- package/docs/BidFailedResponseDto.md +22 -0
- package/docs/BidFailureReason.md +23 -0
- package/docs/BidManagerDto.md +4 -0
- package/docs/BidResultParticipantDto.md +44 -0
- package/docs/BidResultProductDto.md +24 -0
- package/docs/BidResultWinnerDto.md +24 -0
- package/docs/BidResultsBatchRequestDto.md +22 -0
- package/docs/BidResultsResponseDto.md +38 -0
- package/docs/BidSettlementLineItemDto.md +36 -0
- package/docs/BidSettlementParticipantDto.md +56 -0
- package/docs/BidSettlementResponseDto.md +22 -0
- package/docs/BidStatementResponseDto.md +26 -0
- package/docs/BidStatus.md +1 -1
- package/docs/BidSummaryResponseDto.md +4 -4
- package/docs/CompleteAcceptanceRequestDto.md +44 -0
- package/docs/ContractDocumentItemDto.md +26 -0
- package/docs/CreateBidRequestDto.md +8 -2
- package/docs/MarkBidFailedRequestDto.md +26 -0
- package/docs/NegotiationScoreDto.md +24 -0
- package/docs/NegotiationScoredResponseDto.md +24 -0
- package/docs/PartnerV1Api.md +700 -3
- package/docs/RegisterAwardRequestDto.md +5 -1
- package/docs/RequestSplitInvoiceRequestDto.md +28 -0
- package/docs/SplitInvoiceResponseDto.md +22 -0
- package/docs/StatementDocumentDto.md +24 -0
- package/docs/StatementProductDto.md +36 -0
- package/docs/SubmitNegotiationScoresRequestDto.md +26 -0
- package/index.ts +1 -1
- package/models/acceptance-result-response-dto.ts +27 -0
- package/models/award-registered-response-dto.ts +1 -1
- package/models/bid-bond-dto.ts +1 -1
- package/models/bid-contract-documents-batch-request-dto.ts +27 -0
- package/models/bid-contract-documents-response-dto.ts +34 -0
- package/models/bid-created-response-dto.ts +1 -1
- package/models/bid-document-dto.ts +1 -1
- package/models/bid-failed-response-dto.ts +27 -0
- package/models/bid-failure-reason.ts +35 -0
- package/models/bid-item-dto.ts +1 -1
- package/models/bid-manager-dto.ts +9 -1
- package/models/bid-result-participant-dto.ts +71 -0
- package/models/bid-result-product-dto.ts +31 -0
- package/models/bid-result-winner-dto.ts +31 -0
- package/models/bid-results-batch-request-dto.ts +27 -0
- package/models/bid-results-response-dto.ts +68 -0
- package/models/bid-settlement-line-item-dto.ts +55 -0
- package/models/bid-settlement-participant-dto.ts +106 -0
- package/models/bid-settlement-response-dto.ts +30 -0
- package/models/bid-statement-response-dto.ts +41 -0
- package/models/bid-status.ts +2 -2
- package/models/bid-summary-response-dto.ts +5 -5
- package/models/complete-acceptance-request-dto.ts +71 -0
- package/models/contract-document-item-dto.ts +35 -0
- package/models/create-bid-request-dto.ts +21 -3
- package/models/file-uploaded-response-dto.ts +1 -1
- package/models/health-response-dto.ts +1 -1
- package/models/hierarchical-region-dto.ts +1 -1
- package/models/index.ts +24 -1
- package/models/mark-bid-failed-request-dto.ts +40 -0
- package/models/negotiation-score-dto.ts +31 -0
- package/models/{legacy-envelope-dto.ts → negotiation-scored-response-dto.ts} +8 -8
- package/models/preconditions-dto.ts +1 -1
- package/models/register-award-request-dto.ts +10 -2
- package/models/request-split-invoice-request-dto.ts +39 -0
- package/models/split-invoice-response-dto.ts +27 -0
- package/models/statement-document-dto.ts +31 -0
- package/models/statement-product-dto.ts +55 -0
- package/models/submit-negotiation-scores-request-dto.ts +38 -0
- package/models/token-request-dto.ts +1 -1
- package/models/token-response-dto.ts +1 -1
- package/models/upload-file-request-dto.ts +1 -1
- package/package.json +1 -1
- package/.openapi-generator/FILES +0 -57
- package/.openapi-generator/VERSION +0 -1
- package/.openapi-generator-ignore +0 -23
- package/api/partner-v1-legacy-api.ts +0 -178
- package/api/partner-v2-api.ts +0 -285
- package/dist/api/partner-v1-legacy-api.d.ts +0 -91
- package/dist/api/partner-v1-legacy-api.js +0 -181
- package/dist/api/partner-v2-api.d.ts +0 -136
- package/dist/api/partner-v2-api.js +0 -273
- package/dist/esm/api/partner-v1-legacy-api.d.ts +0 -91
- package/dist/esm/api/partner-v1-legacy-api.js +0 -174
- package/dist/esm/api/partner-v2-api.d.ts +0 -136
- package/dist/esm/api/partner-v2-api.js +0 -266
- package/dist/esm/models/legacy-envelope-dto.d.ts +0 -25
- package/dist/models/legacy-envelope-dto.d.ts +0 -25
- package/docs/LegacyEnvelopeDto.md +0 -24
- package/docs/PartnerV1LegacyApi.md +0 -97
- package/docs/PartnerV2Api.md +0 -166
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* CMARKET V6 Partner API
|
|
5
|
+
* 외부 ERP 연동용 RESTful API.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
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 RequestSplitInvoiceRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* 공고 구매번호(등록 응답의 bidNo).
|
|
20
|
+
*/
|
|
21
|
+
'bidNo': string;
|
|
22
|
+
/**
|
|
23
|
+
* 공고 명의 회원 ID(b2b_member.member_id).
|
|
24
|
+
*/
|
|
25
|
+
'buyerId': string;
|
|
26
|
+
/**
|
|
27
|
+
* 공급가액(원).
|
|
28
|
+
*/
|
|
29
|
+
'supplyAmount': number;
|
|
30
|
+
/**
|
|
31
|
+
* 부가세(원).
|
|
32
|
+
*/
|
|
33
|
+
'vat': number;
|
|
34
|
+
/**
|
|
35
|
+
* 발급 희망일(ISO 8601 date). 미지정 시 backend 기본값. 미래일자는 거부(I5).
|
|
36
|
+
*/
|
|
37
|
+
'issueDate'?: string;
|
|
38
|
+
}
|
|
39
|
+
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* CMARKET V6 Partner API
|
|
5
|
+
* 외부 ERP 연동용 RESTful API.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
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 SplitInvoiceResponseDto {
|
|
18
|
+
/**
|
|
19
|
+
* 공고 구매번호.
|
|
20
|
+
*/
|
|
21
|
+
'bidNo': string;
|
|
22
|
+
/**
|
|
23
|
+
* 분할 발급 청구 접수 여부.
|
|
24
|
+
*/
|
|
25
|
+
'requested': boolean;
|
|
26
|
+
}
|
|
27
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* CMARKET V6 Partner API
|
|
5
|
+
* 외부 ERP 연동용 RESTful API.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
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 StatementDocumentDto {
|
|
18
|
+
/**
|
|
19
|
+
* 문서 종류 코드 (paperCode).
|
|
20
|
+
*/
|
|
21
|
+
'paperCode': number;
|
|
22
|
+
/**
|
|
23
|
+
* 파일명. 미발급 시 null.
|
|
24
|
+
*/
|
|
25
|
+
'fileName': object | null;
|
|
26
|
+
/**
|
|
27
|
+
* 파일 다운로드 URL. 미발급 시 null.
|
|
28
|
+
*/
|
|
29
|
+
'fileUrl': object | null;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* CMARKET V6 Partner API
|
|
5
|
+
* 외부 ERP 연동용 RESTful API.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
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 StatementProductDto {
|
|
18
|
+
/**
|
|
19
|
+
* 품목명. 미지정 시 null.
|
|
20
|
+
*/
|
|
21
|
+
'productName': object | null;
|
|
22
|
+
/**
|
|
23
|
+
* 수량.
|
|
24
|
+
*/
|
|
25
|
+
'quantity': number;
|
|
26
|
+
/**
|
|
27
|
+
* 단가.
|
|
28
|
+
*/
|
|
29
|
+
'unitPrice': number;
|
|
30
|
+
/**
|
|
31
|
+
* 공급가액.
|
|
32
|
+
*/
|
|
33
|
+
'supplyAmount': number;
|
|
34
|
+
/**
|
|
35
|
+
* 부가세.
|
|
36
|
+
*/
|
|
37
|
+
'vat': number;
|
|
38
|
+
/**
|
|
39
|
+
* 합계금액 (공급가액 + 부가세).
|
|
40
|
+
*/
|
|
41
|
+
'total': number;
|
|
42
|
+
/**
|
|
43
|
+
* 품목 라인 순번. 미설정 시 null.
|
|
44
|
+
*/
|
|
45
|
+
'lineSeq': object | null;
|
|
46
|
+
/**
|
|
47
|
+
* 품목 코드. 미설정 시 null.
|
|
48
|
+
*/
|
|
49
|
+
'productCode': object | null;
|
|
50
|
+
/**
|
|
51
|
+
* 규격. 미설정 시 null.
|
|
52
|
+
*/
|
|
53
|
+
'spec': object | null;
|
|
54
|
+
}
|
|
55
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* CMARKET V6 Partner API
|
|
5
|
+
* 외부 ERP 연동용 RESTful API.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
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
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { NegotiationScoreDto } from './negotiation-score-dto';
|
|
19
|
+
|
|
20
|
+
export interface SubmitNegotiationScoresRequestDto {
|
|
21
|
+
/**
|
|
22
|
+
* 공고 명의 회원 ID(b2b_member.member_id) = 평가 actor.
|
|
23
|
+
*/
|
|
24
|
+
'buyerId': string;
|
|
25
|
+
/**
|
|
26
|
+
* 공고 구매번호(등록 응답의 bidNo).
|
|
27
|
+
*/
|
|
28
|
+
'bidNo': string;
|
|
29
|
+
/**
|
|
30
|
+
* 응찰자별 점수 배열(= V5 evals). sequence(= buy_seq) 키, 1명 이상·중복 불가.
|
|
31
|
+
*/
|
|
32
|
+
'scores': Array<NegotiationScoreDto>;
|
|
33
|
+
/**
|
|
34
|
+
* true 면 점수 입력 직후 평가완료 게이트까지 적용(낙찰 진입 가능). 생략 시 점수만 입력.
|
|
35
|
+
*/
|
|
36
|
+
'complete'?: boolean;
|
|
37
|
+
}
|
|
38
|
+
|
package/package.json
CHANGED
package/.openapi-generator/FILES
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
.gitignore
|
|
2
|
-
.npmignore
|
|
3
|
-
README.md
|
|
4
|
-
api.ts
|
|
5
|
-
api/oauth-api.ts
|
|
6
|
-
api/partner-v1-api.ts
|
|
7
|
-
api/partner-v1-legacy-api.ts
|
|
8
|
-
api/partner-v2-api.ts
|
|
9
|
-
base.ts
|
|
10
|
-
common.ts
|
|
11
|
-
configuration.ts
|
|
12
|
-
docs/AwardRegisteredResponseDto.md
|
|
13
|
-
docs/BidBondDto.md
|
|
14
|
-
docs/BidCreatedResponseDto.md
|
|
15
|
-
docs/BidDocumentDto.md
|
|
16
|
-
docs/BidItemDto.md
|
|
17
|
-
docs/BidManagerDto.md
|
|
18
|
-
docs/BidStatus.md
|
|
19
|
-
docs/BidSummaryResponseDto.md
|
|
20
|
-
docs/CreateBidRequestDto.md
|
|
21
|
-
docs/FileUploadedResponseDto.md
|
|
22
|
-
docs/HealthResponseDto.md
|
|
23
|
-
docs/HierarchicalRegionDto.md
|
|
24
|
-
docs/LegacyEnvelopeDto.md
|
|
25
|
-
docs/OauthApi.md
|
|
26
|
-
docs/PartnerV1Api.md
|
|
27
|
-
docs/PartnerV1LegacyApi.md
|
|
28
|
-
docs/PartnerV2Api.md
|
|
29
|
-
docs/PreconditionsDto.md
|
|
30
|
-
docs/RegisterAwardRequestDto.md
|
|
31
|
-
docs/TokenRequestDto.md
|
|
32
|
-
docs/TokenResponseDto.md
|
|
33
|
-
docs/UploadFileRequestDto.md
|
|
34
|
-
git_push.sh
|
|
35
|
-
index.ts
|
|
36
|
-
models/award-registered-response-dto.ts
|
|
37
|
-
models/bid-bond-dto.ts
|
|
38
|
-
models/bid-created-response-dto.ts
|
|
39
|
-
models/bid-document-dto.ts
|
|
40
|
-
models/bid-item-dto.ts
|
|
41
|
-
models/bid-manager-dto.ts
|
|
42
|
-
models/bid-status.ts
|
|
43
|
-
models/bid-summary-response-dto.ts
|
|
44
|
-
models/create-bid-request-dto.ts
|
|
45
|
-
models/file-uploaded-response-dto.ts
|
|
46
|
-
models/health-response-dto.ts
|
|
47
|
-
models/hierarchical-region-dto.ts
|
|
48
|
-
models/index.ts
|
|
49
|
-
models/legacy-envelope-dto.ts
|
|
50
|
-
models/preconditions-dto.ts
|
|
51
|
-
models/register-award-request-dto.ts
|
|
52
|
-
models/token-request-dto.ts
|
|
53
|
-
models/token-response-dto.ts
|
|
54
|
-
models/upload-file-request-dto.ts
|
|
55
|
-
package.json
|
|
56
|
-
tsconfig.esm.json
|
|
57
|
-
tsconfig.json
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
7.23.0
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
# OpenAPI Generator Ignore
|
|
2
|
-
# Generated by openapi-generator https://github.com/openapitools/openapi-generator
|
|
3
|
-
|
|
4
|
-
# Use this file to prevent files from being overwritten by the generator.
|
|
5
|
-
# The patterns follow closely to .gitignore or .dockerignore.
|
|
6
|
-
|
|
7
|
-
# As an example, the C# client generator defines ApiClient.cs.
|
|
8
|
-
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
|
|
9
|
-
#ApiClient.cs
|
|
10
|
-
|
|
11
|
-
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
|
|
12
|
-
#foo/*/qux
|
|
13
|
-
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
|
|
14
|
-
|
|
15
|
-
# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
|
|
16
|
-
#foo/**/qux
|
|
17
|
-
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
|
|
18
|
-
|
|
19
|
-
# You can also negate patterns with an exclamation (!).
|
|
20
|
-
# For example, you can ignore all files in a docs folder with the file extension .md:
|
|
21
|
-
#docs/*.md
|
|
22
|
-
# Then explicitly reverse the ignore rule for a single file:
|
|
23
|
-
#!docs/README.md
|
|
@@ -1,178 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* CMARKET V6 Partner API
|
|
5
|
-
* 외부 ERP 연동용 RESTful API. V5 17개 엔드포인트의 V6 후속.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
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
|
-
import type { Configuration } from '../configuration';
|
|
17
|
-
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
18
|
-
import globalAxios from 'axios';
|
|
19
|
-
// Some imports not used depending on template conditions
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction, replaceWithSerializableTypeIfNeeded } from '../common';
|
|
22
|
-
// @ts-ignore
|
|
23
|
-
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
|
24
|
-
// @ts-ignore
|
|
25
|
-
import type { LegacyEnvelopeDto } from '../models';
|
|
26
|
-
/**
|
|
27
|
-
* PartnerV1LegacyApi - axios parameter creator
|
|
28
|
-
*/
|
|
29
|
-
export const PartnerV1LegacyApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
30
|
-
return {
|
|
31
|
-
/**
|
|
32
|
-
* V5 ApiController#check 응답 envelope 그대로. Sunset 헤더 부착.
|
|
33
|
-
* @summary V5 /check 호환 헬스체크 (deprecated)
|
|
34
|
-
* @param {*} [options] Override http request option.
|
|
35
|
-
* @throws {RequiredError}
|
|
36
|
-
*/
|
|
37
|
-
legacyControllerCheckGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
38
|
-
const localVarPath = `/v1-legacy/check`;
|
|
39
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
40
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
41
|
-
let baseOptions;
|
|
42
|
-
if (configuration) {
|
|
43
|
-
baseOptions = configuration.baseOptions;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
47
|
-
const localVarHeaderParameter = {} as any;
|
|
48
|
-
const localVarQueryParameter = {} as any;
|
|
49
|
-
|
|
50
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
51
|
-
|
|
52
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
53
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
54
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
55
|
-
|
|
56
|
-
return {
|
|
57
|
-
url: toPathString(localVarUrlObj),
|
|
58
|
-
options: localVarRequestOptions,
|
|
59
|
-
};
|
|
60
|
-
},
|
|
61
|
-
/**
|
|
62
|
-
* V5 는 GET·POST 모두 받음. 동일 응답.
|
|
63
|
-
* @summary V5 /check 호환 헬스체크 — POST (deprecated)
|
|
64
|
-
* @param {*} [options] Override http request option.
|
|
65
|
-
* @throws {RequiredError}
|
|
66
|
-
*/
|
|
67
|
-
legacyControllerCheckPost: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
68
|
-
const localVarPath = `/v1-legacy/check`;
|
|
69
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
70
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
71
|
-
let baseOptions;
|
|
72
|
-
if (configuration) {
|
|
73
|
-
baseOptions = configuration.baseOptions;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
77
|
-
const localVarHeaderParameter = {} as any;
|
|
78
|
-
const localVarQueryParameter = {} as any;
|
|
79
|
-
|
|
80
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
81
|
-
|
|
82
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
83
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
84
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
85
|
-
|
|
86
|
-
return {
|
|
87
|
-
url: toPathString(localVarUrlObj),
|
|
88
|
-
options: localVarRequestOptions,
|
|
89
|
-
};
|
|
90
|
-
},
|
|
91
|
-
}
|
|
92
|
-
};
|
|
93
|
-
|
|
94
|
-
/**
|
|
95
|
-
* PartnerV1LegacyApi - functional programming interface
|
|
96
|
-
*/
|
|
97
|
-
export const PartnerV1LegacyApiFp = function(configuration?: Configuration) {
|
|
98
|
-
const localVarAxiosParamCreator = PartnerV1LegacyApiAxiosParamCreator(configuration)
|
|
99
|
-
return {
|
|
100
|
-
/**
|
|
101
|
-
* V5 ApiController#check 응답 envelope 그대로. Sunset 헤더 부착.
|
|
102
|
-
* @summary V5 /check 호환 헬스체크 (deprecated)
|
|
103
|
-
* @param {*} [options] Override http request option.
|
|
104
|
-
* @throws {RequiredError}
|
|
105
|
-
*/
|
|
106
|
-
async legacyControllerCheckGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LegacyEnvelopeDto>> {
|
|
107
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.legacyControllerCheckGet(options);
|
|
108
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
109
|
-
const localVarOperationServerBasePath = operationServerMap['PartnerV1LegacyApi.legacyControllerCheckGet']?.[localVarOperationServerIndex]?.url;
|
|
110
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
111
|
-
},
|
|
112
|
-
/**
|
|
113
|
-
* V5 는 GET·POST 모두 받음. 동일 응답.
|
|
114
|
-
* @summary V5 /check 호환 헬스체크 — POST (deprecated)
|
|
115
|
-
* @param {*} [options] Override http request option.
|
|
116
|
-
* @throws {RequiredError}
|
|
117
|
-
*/
|
|
118
|
-
async legacyControllerCheckPost(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LegacyEnvelopeDto>> {
|
|
119
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.legacyControllerCheckPost(options);
|
|
120
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
121
|
-
const localVarOperationServerBasePath = operationServerMap['PartnerV1LegacyApi.legacyControllerCheckPost']?.[localVarOperationServerIndex]?.url;
|
|
122
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
123
|
-
},
|
|
124
|
-
}
|
|
125
|
-
};
|
|
126
|
-
|
|
127
|
-
/**
|
|
128
|
-
* PartnerV1LegacyApi - factory interface
|
|
129
|
-
*/
|
|
130
|
-
export const PartnerV1LegacyApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
131
|
-
const localVarFp = PartnerV1LegacyApiFp(configuration)
|
|
132
|
-
return {
|
|
133
|
-
/**
|
|
134
|
-
* V5 ApiController#check 응답 envelope 그대로. Sunset 헤더 부착.
|
|
135
|
-
* @summary V5 /check 호환 헬스체크 (deprecated)
|
|
136
|
-
* @param {*} [options] Override http request option.
|
|
137
|
-
* @throws {RequiredError}
|
|
138
|
-
*/
|
|
139
|
-
legacyControllerCheckGet(options?: RawAxiosRequestConfig): AxiosPromise<LegacyEnvelopeDto> {
|
|
140
|
-
return localVarFp.legacyControllerCheckGet(options).then((request) => request(axios, basePath));
|
|
141
|
-
},
|
|
142
|
-
/**
|
|
143
|
-
* V5 는 GET·POST 모두 받음. 동일 응답.
|
|
144
|
-
* @summary V5 /check 호환 헬스체크 — POST (deprecated)
|
|
145
|
-
* @param {*} [options] Override http request option.
|
|
146
|
-
* @throws {RequiredError}
|
|
147
|
-
*/
|
|
148
|
-
legacyControllerCheckPost(options?: RawAxiosRequestConfig): AxiosPromise<LegacyEnvelopeDto> {
|
|
149
|
-
return localVarFp.legacyControllerCheckPost(options).then((request) => request(axios, basePath));
|
|
150
|
-
},
|
|
151
|
-
};
|
|
152
|
-
};
|
|
153
|
-
|
|
154
|
-
/**
|
|
155
|
-
* PartnerV1LegacyApi - object-oriented interface
|
|
156
|
-
*/
|
|
157
|
-
export class PartnerV1LegacyApi extends BaseAPI {
|
|
158
|
-
/**
|
|
159
|
-
* V5 ApiController#check 응답 envelope 그대로. Sunset 헤더 부착.
|
|
160
|
-
* @summary V5 /check 호환 헬스체크 (deprecated)
|
|
161
|
-
* @param {*} [options] Override http request option.
|
|
162
|
-
* @throws {RequiredError}
|
|
163
|
-
*/
|
|
164
|
-
public legacyControllerCheckGet(options?: RawAxiosRequestConfig) {
|
|
165
|
-
return PartnerV1LegacyApiFp(this.configuration).legacyControllerCheckGet(options).then((request) => request(this.axios, this.basePath));
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
/**
|
|
169
|
-
* V5 는 GET·POST 모두 받음. 동일 응답.
|
|
170
|
-
* @summary V5 /check 호환 헬스체크 — POST (deprecated)
|
|
171
|
-
* @param {*} [options] Override http request option.
|
|
172
|
-
* @throws {RequiredError}
|
|
173
|
-
*/
|
|
174
|
-
public legacyControllerCheckPost(options?: RawAxiosRequestConfig) {
|
|
175
|
-
return PartnerV1LegacyApiFp(this.configuration).legacyControllerCheckPost(options).then((request) => request(this.axios, this.basePath));
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
|