@cmarket/partner-sdk 1.1.0 → 1.2.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 +3 -2
- package/dist/esm/models/award-registered-response-dto.d.ts +5 -1
- package/dist/esm/models/award-registered-response-dto.js +3 -1
- package/dist/esm/models/bid-failed-response-dto.d.ts +5 -1
- package/dist/esm/models/bid-failed-response-dto.js +3 -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-results-response-dto.d.ts +5 -3
- package/dist/esm/models/bid-status.d.ts +23 -0
- package/dist/esm/models/bid-status.js +24 -0
- package/dist/esm/models/contract-document-item-dto.d.ts +1 -1
- package/dist/esm/models/health-response-dto.d.ts +5 -1
- package/dist/esm/models/health-response-dto.js +3 -1
- package/dist/esm/models/index.d.ts +1 -0
- package/dist/esm/models/index.js +1 -0
- package/dist/esm/models/negotiation-scored-response-dto.d.ts +5 -1
- package/dist/esm/models/negotiation-scored-response-dto.js +3 -1
- package/dist/esm/models/token-response-dto.d.ts +5 -1
- package/dist/esm/models/token-response-dto.js +3 -1
- package/dist/models/award-registered-response-dto.d.ts +5 -1
- package/dist/models/award-registered-response-dto.js +4 -0
- package/dist/models/bid-failed-response-dto.d.ts +5 -1
- package/dist/models/bid-failed-response-dto.js +4 -0
- package/dist/models/bid-failure-reason.d.ts +1 -1
- package/dist/models/bid-failure-reason.js +1 -1
- package/dist/models/bid-results-response-dto.d.ts +5 -3
- package/dist/models/bid-status.d.ts +23 -0
- package/dist/models/bid-status.js +27 -0
- package/dist/models/contract-document-item-dto.d.ts +1 -1
- package/dist/models/health-response-dto.d.ts +5 -1
- package/dist/models/health-response-dto.js +4 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/models/negotiation-scored-response-dto.d.ts +5 -1
- package/dist/models/negotiation-scored-response-dto.js +4 -0
- package/dist/models/token-response-dto.d.ts +5 -1
- package/dist/models/token-response-dto.js +4 -0
- package/docs/BidFailureReason.md +1 -1
- package/docs/BidResultsResponseDto.md +2 -2
- package/docs/BidStatus.md +19 -0
- package/docs/ContractDocumentItemDto.md +1 -1
- package/models/award-registered-response-dto.ts +8 -1
- package/models/bid-failed-response-dto.ts +8 -1
- package/models/bid-failure-reason.ts +1 -1
- package/models/bid-results-response-dto.ts +11 -3
- package/models/bid-status.ts +33 -0
- package/models/contract-document-item-dto.ts +1 -1
- package/models/health-response-dto.ts +8 -1
- package/models/index.ts +1 -0
- package/models/negotiation-scored-response-dto.ts +8 -1
- package/models/token-response-dto.ts +8 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -188,7 +188,7 @@ public class Quickstart {
|
|
|
188
188
|
|
|
189
189
|
---
|
|
190
190
|
|
|
191
|
-
## @cmarket/partner-sdk@1.
|
|
191
|
+
## @cmarket/partner-sdk@1.2.0
|
|
192
192
|
|
|
193
193
|
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:
|
|
194
194
|
|
|
@@ -226,7 +226,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
226
226
|
_published:_
|
|
227
227
|
|
|
228
228
|
```
|
|
229
|
-
npm install @cmarket/partner-sdk@1.
|
|
229
|
+
npm install @cmarket/partner-sdk@1.2.0 --save
|
|
230
230
|
```
|
|
231
231
|
|
|
232
232
|
_unPublished (not recommended):_
|
|
@@ -290,6 +290,7 @@ Class | Method | HTTP request | Description
|
|
|
290
290
|
- [BidSettlementParticipantDto](docs/BidSettlementParticipantDto.md)
|
|
291
291
|
- [BidSettlementResponseDto](docs/BidSettlementResponseDto.md)
|
|
292
292
|
- [BidStatementResponseDto](docs/BidStatementResponseDto.md)
|
|
293
|
+
- [BidStatus](docs/BidStatus.md)
|
|
293
294
|
- [CompleteAcceptanceRequestDto](docs/CompleteAcceptanceRequestDto.md)
|
|
294
295
|
- [ContractDocumentItemDto](docs/ContractDocumentItemDto.md)
|
|
295
296
|
- [CreateBidRequestDto](docs/CreateBidRequestDto.md)
|
|
@@ -21,5 +21,9 @@ export interface AwardRegisteredResponseDto {
|
|
|
21
21
|
/**
|
|
22
22
|
* 처리 상태.
|
|
23
23
|
*/
|
|
24
|
-
'status':
|
|
24
|
+
'status': AwardRegisteredResponseDtoStatusEnum;
|
|
25
25
|
}
|
|
26
|
+
export declare const AwardRegisteredResponseDtoStatusEnum: {
|
|
27
|
+
readonly Awarded: "AWARDED";
|
|
28
|
+
};
|
|
29
|
+
export type AwardRegisteredResponseDtoStatusEnum = typeof AwardRegisteredResponseDtoStatusEnum[keyof typeof AwardRegisteredResponseDtoStatusEnum];
|
|
@@ -17,5 +17,9 @@ export interface BidFailedResponseDto {
|
|
|
17
17
|
/**
|
|
18
18
|
* 처리 상태.
|
|
19
19
|
*/
|
|
20
|
-
'status':
|
|
20
|
+
'status': BidFailedResponseDtoStatusEnum;
|
|
21
21
|
}
|
|
22
|
+
export declare const BidFailedResponseDtoStatusEnum: {
|
|
23
|
+
readonly Failed: "FAILED";
|
|
24
|
+
};
|
|
25
|
+
export type BidFailedResponseDtoStatusEnum = typeof BidFailedResponseDtoStatusEnum[keyof typeof BidFailedResponseDtoStatusEnum];
|
|
@@ -9,9 +9,11 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { BidFailureReason } from './bid-failure-reason';
|
|
12
13
|
import type { BidResultParticipantDto } from './bid-result-participant-dto';
|
|
13
14
|
import type { BidResultProductDto } from './bid-result-product-dto';
|
|
14
15
|
import type { BidResultWinnerDto } from './bid-result-winner-dto';
|
|
16
|
+
import type { BidStatus } from './bid-status';
|
|
15
17
|
export interface BidResultsResponseDto {
|
|
16
18
|
/**
|
|
17
19
|
* 공고 식별자.
|
|
@@ -24,7 +26,7 @@ export interface BidResultsResponseDto {
|
|
|
24
26
|
/**
|
|
25
27
|
* 공고 상태 코드. V5 /entendrec 은 A(진행중)/B(마감)/C(낙찰·계약진행)/E(유찰) 4종을 문서화했으나, V6 는 D(계약완료)/R(임시저장)을 더한 6종 superset 을 그대로 내려준다 — V5 호환 ERP 는 D 를 C 의 후속 단계로, R 은 미발행 초안으로 처리할 것(코드 매핑 없이 raw 통과).
|
|
26
28
|
*/
|
|
27
|
-
'status':
|
|
29
|
+
'status': BidStatus;
|
|
28
30
|
/**
|
|
29
31
|
* 공고 상태 한국어 레이블.
|
|
30
32
|
*/
|
|
@@ -34,9 +36,9 @@ export interface BidResultsResponseDto {
|
|
|
34
36
|
*/
|
|
35
37
|
'isCancelled'?: boolean;
|
|
36
38
|
/**
|
|
37
|
-
* 유찰사유
|
|
39
|
+
* 유찰사유 코드 (V5 b2b_buy.sayou, 1~8). 유찰(status=E)이 아니면 null.
|
|
38
40
|
*/
|
|
39
|
-
'failureReasonCode'?:
|
|
41
|
+
'failureReasonCode'?: BidFailureReason;
|
|
40
42
|
/**
|
|
41
43
|
* 유찰사유 텍스트.
|
|
42
44
|
*/
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CMARKET V6 Partner API
|
|
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
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* 공고 상태 코드. V5 /entendrec 은 A(진행중)/B(마감)/C(낙찰·계약진행)/E(유찰) 4종을 문서화했으나, V6 는 D(계약완료)/R(임시저장)을 더한 6종 superset 을 그대로 내려준다 — V5 호환 ERP 는 D 를 C 의 후속 단계로, R 은 미발행 초안으로 처리할 것(코드 매핑 없이 raw 통과).
|
|
14
|
+
*/
|
|
15
|
+
export declare const BidStatus: {
|
|
16
|
+
readonly A: "A";
|
|
17
|
+
readonly B: "B";
|
|
18
|
+
readonly C: "C";
|
|
19
|
+
readonly D: "D";
|
|
20
|
+
readonly E: "E";
|
|
21
|
+
readonly R: "R";
|
|
22
|
+
};
|
|
23
|
+
export type BidStatus = typeof BidStatus[keyof typeof BidStatus];
|
|
@@ -0,0 +1,24 @@
|
|
|
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: 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
|
+
* 공고 상태 코드. V5 /entendrec 은 A(진행중)/B(마감)/C(낙찰·계약진행)/E(유찰) 4종을 문서화했으나, V6 는 D(계약완료)/R(임시저장)을 더한 6종 superset 을 그대로 내려준다 — V5 호환 ERP 는 D 를 C 의 후속 단계로, R 은 미발행 초안으로 처리할 것(코드 매핑 없이 raw 통과).
|
|
16
|
+
*/
|
|
17
|
+
export const BidStatus = {
|
|
18
|
+
A: 'A',
|
|
19
|
+
B: 'B',
|
|
20
|
+
C: 'C',
|
|
21
|
+
D: 'D',
|
|
22
|
+
E: 'E',
|
|
23
|
+
R: 'R',
|
|
24
|
+
};
|
|
@@ -13,9 +13,13 @@ export interface HealthResponseDto {
|
|
|
13
13
|
/**
|
|
14
14
|
* 상태 코드. ok 면 정상.
|
|
15
15
|
*/
|
|
16
|
-
'status':
|
|
16
|
+
'status': HealthResponseDtoStatusEnum;
|
|
17
17
|
/**
|
|
18
18
|
* 서버 현재 시각 (ISO 8601). 클라이언트가 시계 드리프트 점검에 사용.
|
|
19
19
|
*/
|
|
20
20
|
'timestamp': string;
|
|
21
21
|
}
|
|
22
|
+
export declare const HealthResponseDtoStatusEnum: {
|
|
23
|
+
readonly Ok: "ok";
|
|
24
|
+
};
|
|
25
|
+
export type HealthResponseDtoStatusEnum = typeof HealthResponseDtoStatusEnum[keyof typeof HealthResponseDtoStatusEnum];
|
|
@@ -19,6 +19,7 @@ export * from './bid-settlement-line-item-dto';
|
|
|
19
19
|
export * from './bid-settlement-participant-dto';
|
|
20
20
|
export * from './bid-settlement-response-dto';
|
|
21
21
|
export * from './bid-statement-response-dto';
|
|
22
|
+
export * from './bid-status';
|
|
22
23
|
export * from './complete-acceptance-request-dto';
|
|
23
24
|
export * from './contract-document-item-dto';
|
|
24
25
|
export * from './create-bid-request-dto';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -19,6 +19,7 @@ export * from './bid-settlement-line-item-dto';
|
|
|
19
19
|
export * from './bid-settlement-participant-dto';
|
|
20
20
|
export * from './bid-settlement-response-dto';
|
|
21
21
|
export * from './bid-statement-response-dto';
|
|
22
|
+
export * from './bid-status';
|
|
22
23
|
export * from './complete-acceptance-request-dto';
|
|
23
24
|
export * from './contract-document-item-dto';
|
|
24
25
|
export * from './create-bid-request-dto';
|
|
@@ -21,5 +21,9 @@ export interface NegotiationScoredResponseDto {
|
|
|
21
21
|
/**
|
|
22
22
|
* 처리 상태.
|
|
23
23
|
*/
|
|
24
|
-
'status':
|
|
24
|
+
'status': NegotiationScoredResponseDtoStatusEnum;
|
|
25
25
|
}
|
|
26
|
+
export declare const NegotiationScoredResponseDtoStatusEnum: {
|
|
27
|
+
readonly NegotiationScored: "NEGOTIATION_SCORED";
|
|
28
|
+
};
|
|
29
|
+
export type NegotiationScoredResponseDtoStatusEnum = typeof NegotiationScoredResponseDtoStatusEnum[keyof typeof NegotiationScoredResponseDtoStatusEnum];
|
|
@@ -17,7 +17,7 @@ export interface TokenResponseDto {
|
|
|
17
17
|
/**
|
|
18
18
|
* Bearer 고정.
|
|
19
19
|
*/
|
|
20
|
-
'token_type':
|
|
20
|
+
'token_type': TokenResponseDtoTokenTypeEnum;
|
|
21
21
|
/**
|
|
22
22
|
* 유효 기간 (초).
|
|
23
23
|
*/
|
|
@@ -27,3 +27,7 @@ export interface TokenResponseDto {
|
|
|
27
27
|
*/
|
|
28
28
|
'scope': string;
|
|
29
29
|
}
|
|
30
|
+
export declare const TokenResponseDtoTokenTypeEnum: {
|
|
31
|
+
readonly Bearer: "Bearer";
|
|
32
|
+
};
|
|
33
|
+
export type TokenResponseDtoTokenTypeEnum = typeof TokenResponseDtoTokenTypeEnum[keyof typeof TokenResponseDtoTokenTypeEnum];
|
|
@@ -21,5 +21,9 @@ export interface AwardRegisteredResponseDto {
|
|
|
21
21
|
/**
|
|
22
22
|
* 처리 상태.
|
|
23
23
|
*/
|
|
24
|
-
'status':
|
|
24
|
+
'status': AwardRegisteredResponseDtoStatusEnum;
|
|
25
25
|
}
|
|
26
|
+
export declare const AwardRegisteredResponseDtoStatusEnum: {
|
|
27
|
+
readonly Awarded: "AWARDED";
|
|
28
|
+
};
|
|
29
|
+
export type AwardRegisteredResponseDtoStatusEnum = typeof AwardRegisteredResponseDtoStatusEnum[keyof typeof AwardRegisteredResponseDtoStatusEnum];
|
|
@@ -17,5 +17,9 @@ export interface BidFailedResponseDto {
|
|
|
17
17
|
/**
|
|
18
18
|
* 처리 상태.
|
|
19
19
|
*/
|
|
20
|
-
'status':
|
|
20
|
+
'status': BidFailedResponseDtoStatusEnum;
|
|
21
21
|
}
|
|
22
|
+
export declare const BidFailedResponseDtoStatusEnum: {
|
|
23
|
+
readonly Failed: "FAILED";
|
|
24
|
+
};
|
|
25
|
+
export type BidFailedResponseDtoStatusEnum = typeof BidFailedResponseDtoStatusEnum[keyof typeof BidFailedResponseDtoStatusEnum];
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.BidFailureReason = void 0;
|
|
17
17
|
/**
|
|
18
|
-
* 유찰사유 코드(
|
|
18
|
+
* 유찰사유 코드 (V5 b2b_buy.sayou, 1~8). 유찰(status=E)이 아니면 null.
|
|
19
19
|
*/
|
|
20
20
|
exports.BidFailureReason = {
|
|
21
21
|
_1: '1',
|
|
@@ -9,9 +9,11 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { BidFailureReason } from './bid-failure-reason';
|
|
12
13
|
import type { BidResultParticipantDto } from './bid-result-participant-dto';
|
|
13
14
|
import type { BidResultProductDto } from './bid-result-product-dto';
|
|
14
15
|
import type { BidResultWinnerDto } from './bid-result-winner-dto';
|
|
16
|
+
import type { BidStatus } from './bid-status';
|
|
15
17
|
export interface BidResultsResponseDto {
|
|
16
18
|
/**
|
|
17
19
|
* 공고 식별자.
|
|
@@ -24,7 +26,7 @@ export interface BidResultsResponseDto {
|
|
|
24
26
|
/**
|
|
25
27
|
* 공고 상태 코드. V5 /entendrec 은 A(진행중)/B(마감)/C(낙찰·계약진행)/E(유찰) 4종을 문서화했으나, V6 는 D(계약완료)/R(임시저장)을 더한 6종 superset 을 그대로 내려준다 — V5 호환 ERP 는 D 를 C 의 후속 단계로, R 은 미발행 초안으로 처리할 것(코드 매핑 없이 raw 통과).
|
|
26
28
|
*/
|
|
27
|
-
'status':
|
|
29
|
+
'status': BidStatus;
|
|
28
30
|
/**
|
|
29
31
|
* 공고 상태 한국어 레이블.
|
|
30
32
|
*/
|
|
@@ -34,9 +36,9 @@ export interface BidResultsResponseDto {
|
|
|
34
36
|
*/
|
|
35
37
|
'isCancelled'?: boolean;
|
|
36
38
|
/**
|
|
37
|
-
* 유찰사유
|
|
39
|
+
* 유찰사유 코드 (V5 b2b_buy.sayou, 1~8). 유찰(status=E)이 아니면 null.
|
|
38
40
|
*/
|
|
39
|
-
'failureReasonCode'?:
|
|
41
|
+
'failureReasonCode'?: BidFailureReason;
|
|
40
42
|
/**
|
|
41
43
|
* 유찰사유 텍스트.
|
|
42
44
|
*/
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CMARKET V6 Partner API
|
|
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
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* 공고 상태 코드. V5 /entendrec 은 A(진행중)/B(마감)/C(낙찰·계약진행)/E(유찰) 4종을 문서화했으나, V6 는 D(계약완료)/R(임시저장)을 더한 6종 superset 을 그대로 내려준다 — V5 호환 ERP 는 D 를 C 의 후속 단계로, R 은 미발행 초안으로 처리할 것(코드 매핑 없이 raw 통과).
|
|
14
|
+
*/
|
|
15
|
+
export declare const BidStatus: {
|
|
16
|
+
readonly A: "A";
|
|
17
|
+
readonly B: "B";
|
|
18
|
+
readonly C: "C";
|
|
19
|
+
readonly D: "D";
|
|
20
|
+
readonly E: "E";
|
|
21
|
+
readonly R: "R";
|
|
22
|
+
};
|
|
23
|
+
export type BidStatus = typeof BidStatus[keyof typeof BidStatus];
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* CMARKET V6 Partner API
|
|
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
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.BidStatus = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* 공고 상태 코드. V5 /entendrec 은 A(진행중)/B(마감)/C(낙찰·계약진행)/E(유찰) 4종을 문서화했으나, V6 는 D(계약완료)/R(임시저장)을 더한 6종 superset 을 그대로 내려준다 — V5 호환 ERP 는 D 를 C 의 후속 단계로, R 은 미발행 초안으로 처리할 것(코드 매핑 없이 raw 통과).
|
|
19
|
+
*/
|
|
20
|
+
exports.BidStatus = {
|
|
21
|
+
A: 'A',
|
|
22
|
+
B: 'B',
|
|
23
|
+
C: 'C',
|
|
24
|
+
D: 'D',
|
|
25
|
+
E: 'E',
|
|
26
|
+
R: 'R',
|
|
27
|
+
};
|
|
@@ -13,9 +13,13 @@ export interface HealthResponseDto {
|
|
|
13
13
|
/**
|
|
14
14
|
* 상태 코드. ok 면 정상.
|
|
15
15
|
*/
|
|
16
|
-
'status':
|
|
16
|
+
'status': HealthResponseDtoStatusEnum;
|
|
17
17
|
/**
|
|
18
18
|
* 서버 현재 시각 (ISO 8601). 클라이언트가 시계 드리프트 점검에 사용.
|
|
19
19
|
*/
|
|
20
20
|
'timestamp': string;
|
|
21
21
|
}
|
|
22
|
+
export declare const HealthResponseDtoStatusEnum: {
|
|
23
|
+
readonly Ok: "ok";
|
|
24
|
+
};
|
|
25
|
+
export type HealthResponseDtoStatusEnum = typeof HealthResponseDtoStatusEnum[keyof typeof HealthResponseDtoStatusEnum];
|
package/dist/models/index.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ export * from './bid-settlement-line-item-dto';
|
|
|
19
19
|
export * from './bid-settlement-participant-dto';
|
|
20
20
|
export * from './bid-settlement-response-dto';
|
|
21
21
|
export * from './bid-statement-response-dto';
|
|
22
|
+
export * from './bid-status';
|
|
22
23
|
export * from './complete-acceptance-request-dto';
|
|
23
24
|
export * from './contract-document-item-dto';
|
|
24
25
|
export * from './create-bid-request-dto';
|
package/dist/models/index.js
CHANGED
|
@@ -35,6 +35,7 @@ __exportStar(require("./bid-settlement-line-item-dto"), exports);
|
|
|
35
35
|
__exportStar(require("./bid-settlement-participant-dto"), exports);
|
|
36
36
|
__exportStar(require("./bid-settlement-response-dto"), exports);
|
|
37
37
|
__exportStar(require("./bid-statement-response-dto"), exports);
|
|
38
|
+
__exportStar(require("./bid-status"), exports);
|
|
38
39
|
__exportStar(require("./complete-acceptance-request-dto"), exports);
|
|
39
40
|
__exportStar(require("./contract-document-item-dto"), exports);
|
|
40
41
|
__exportStar(require("./create-bid-request-dto"), exports);
|
|
@@ -21,5 +21,9 @@ export interface NegotiationScoredResponseDto {
|
|
|
21
21
|
/**
|
|
22
22
|
* 처리 상태.
|
|
23
23
|
*/
|
|
24
|
-
'status':
|
|
24
|
+
'status': NegotiationScoredResponseDtoStatusEnum;
|
|
25
25
|
}
|
|
26
|
+
export declare const NegotiationScoredResponseDtoStatusEnum: {
|
|
27
|
+
readonly NegotiationScored: "NEGOTIATION_SCORED";
|
|
28
|
+
};
|
|
29
|
+
export type NegotiationScoredResponseDtoStatusEnum = typeof NegotiationScoredResponseDtoStatusEnum[keyof typeof NegotiationScoredResponseDtoStatusEnum];
|
|
@@ -13,3 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.NegotiationScoredResponseDtoStatusEnum = void 0;
|
|
17
|
+
exports.NegotiationScoredResponseDtoStatusEnum = {
|
|
18
|
+
NegotiationScored: 'NEGOTIATION_SCORED',
|
|
19
|
+
};
|
|
@@ -17,7 +17,7 @@ export interface TokenResponseDto {
|
|
|
17
17
|
/**
|
|
18
18
|
* Bearer 고정.
|
|
19
19
|
*/
|
|
20
|
-
'token_type':
|
|
20
|
+
'token_type': TokenResponseDtoTokenTypeEnum;
|
|
21
21
|
/**
|
|
22
22
|
* 유효 기간 (초).
|
|
23
23
|
*/
|
|
@@ -27,3 +27,7 @@ export interface TokenResponseDto {
|
|
|
27
27
|
*/
|
|
28
28
|
'scope': string;
|
|
29
29
|
}
|
|
30
|
+
export declare const TokenResponseDtoTokenTypeEnum: {
|
|
31
|
+
readonly Bearer: "Bearer";
|
|
32
|
+
};
|
|
33
|
+
export type TokenResponseDtoTokenTypeEnum = typeof TokenResponseDtoTokenTypeEnum[keyof typeof TokenResponseDtoTokenTypeEnum];
|
package/docs/BidFailureReason.md
CHANGED
|
@@ -7,10 +7,10 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**bidId** | **string** | 공고 식별자. | [default to undefined]
|
|
9
9
|
**bidPuchaseNo** | **string** | 발주처 지정 조달번호 (V5 bid_puchase_no). 외부 ERP 가 등록 시 보낸 PO 번호. 미설정 시 null. | [optional] [default to undefined]
|
|
10
|
-
**status** | **
|
|
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
11
|
**statusText** | **string** | 공고 상태 한국어 레이블. | [optional] [default to undefined]
|
|
12
12
|
**isCancelled** | **boolean** | 공고 취소 여부 (status 와 직교하는 별도 레이어). | [optional] [default to undefined]
|
|
13
|
-
**failureReasonCode** | **
|
|
13
|
+
**failureReasonCode** | [**BidFailureReason**](BidFailureReason.md) | 유찰사유 코드 (V5 b2b_buy.sayou, 1~8). 유찰(status=E)이 아니면 null. | [optional] [default to undefined]
|
|
14
14
|
**failureReasonText** | **string** | 유찰사유 텍스트. | [optional] [default to undefined]
|
|
15
15
|
**participantCount** | **number** | 총 참여(투찰) 업체 수. | [default to undefined]
|
|
16
16
|
**winner** | [**BidResultWinnerDto**](BidResultWinnerDto.md) | 낙찰 요약. 낙찰 정보가 없으면 null (유찰/진행중). | [default to undefined]
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# BidStatus
|
|
2
|
+
|
|
3
|
+
공고 상태 코드. V5 /entendrec 은 A(진행중)/B(마감)/C(낙찰·계약진행)/E(유찰) 4종을 문서화했으나, V6 는 D(계약완료)/R(임시저장)을 더한 6종 superset 을 그대로 내려준다 — V5 호환 ERP 는 D 를 C 의 후속 단계로, R 은 미발행 초안으로 처리할 것(코드 매핑 없이 raw 통과).
|
|
4
|
+
|
|
5
|
+
## Enum
|
|
6
|
+
|
|
7
|
+
* `A` (value: `'A'`)
|
|
8
|
+
|
|
9
|
+
* `B` (value: `'B'`)
|
|
10
|
+
|
|
11
|
+
* `C` (value: `'C'`)
|
|
12
|
+
|
|
13
|
+
* `D` (value: `'D'`)
|
|
14
|
+
|
|
15
|
+
* `E` (value: `'E'`)
|
|
16
|
+
|
|
17
|
+
* `R` (value: `'R'`)
|
|
18
|
+
|
|
19
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**fSeq** | **number** | 파일 순번 (V5 entd_file_seq) — documents 배열 내 1-indexed 위치(결정적 순서: 인감 3종 → 서식순). | [default to undefined]
|
|
9
|
-
**docType** | **string** | 서류 종류
|
|
9
|
+
**docType** | **string** | 서류 종류 — V5 b2b_paper_code/b2b_contract_code 의 paper_name(한글). 운영자 편집 master 데이터라 고정 코드집합이 아닌 개방형 문자열. | [default to undefined]
|
|
10
10
|
**paperCode** | **number** | 서식(paper) 코드. 자동생성 서식이 아니면 null. | [default to undefined]
|
|
11
11
|
**fileName** | **string** | 파일명. 미발급 시 null. | [default to undefined]
|
|
12
12
|
**fileUrl** | **string** | 파일 다운로드 URL. 미발급 시 null. | [default to undefined]
|
|
@@ -26,6 +26,13 @@ export interface AwardRegisteredResponseDto {
|
|
|
26
26
|
/**
|
|
27
27
|
* 처리 상태.
|
|
28
28
|
*/
|
|
29
|
-
'status':
|
|
29
|
+
'status': AwardRegisteredResponseDtoStatusEnum;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
+
export const AwardRegisteredResponseDtoStatusEnum = {
|
|
33
|
+
Awarded: 'AWARDED',
|
|
34
|
+
} as const;
|
|
35
|
+
|
|
36
|
+
export type AwardRegisteredResponseDtoStatusEnum = typeof AwardRegisteredResponseDtoStatusEnum[keyof typeof AwardRegisteredResponseDtoStatusEnum];
|
|
37
|
+
|
|
38
|
+
|
|
@@ -22,6 +22,13 @@ export interface BidFailedResponseDto {
|
|
|
22
22
|
/**
|
|
23
23
|
* 처리 상태.
|
|
24
24
|
*/
|
|
25
|
-
'status':
|
|
25
|
+
'status': BidFailedResponseDtoStatusEnum;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
+
export const BidFailedResponseDtoStatusEnum = {
|
|
29
|
+
Failed: 'FAILED',
|
|
30
|
+
} as const;
|
|
31
|
+
|
|
32
|
+
export type BidFailedResponseDtoStatusEnum = typeof BidFailedResponseDtoStatusEnum[keyof typeof BidFailedResponseDtoStatusEnum];
|
|
33
|
+
|
|
34
|
+
|
|
@@ -13,6 +13,9 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { BidFailureReason } from './bid-failure-reason';
|
|
16
19
|
// May contain unused imports in some cases
|
|
17
20
|
// @ts-ignore
|
|
18
21
|
import type { BidResultParticipantDto } from './bid-result-participant-dto';
|
|
@@ -22,6 +25,9 @@ import type { BidResultProductDto } from './bid-result-product-dto';
|
|
|
22
25
|
// May contain unused imports in some cases
|
|
23
26
|
// @ts-ignore
|
|
24
27
|
import type { BidResultWinnerDto } from './bid-result-winner-dto';
|
|
28
|
+
// May contain unused imports in some cases
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
import type { BidStatus } from './bid-status';
|
|
25
31
|
|
|
26
32
|
export interface BidResultsResponseDto {
|
|
27
33
|
/**
|
|
@@ -35,7 +41,7 @@ export interface BidResultsResponseDto {
|
|
|
35
41
|
/**
|
|
36
42
|
* 공고 상태 코드. V5 /entendrec 은 A(진행중)/B(마감)/C(낙찰·계약진행)/E(유찰) 4종을 문서화했으나, V6 는 D(계약완료)/R(임시저장)을 더한 6종 superset 을 그대로 내려준다 — V5 호환 ERP 는 D 를 C 의 후속 단계로, R 은 미발행 초안으로 처리할 것(코드 매핑 없이 raw 통과).
|
|
37
43
|
*/
|
|
38
|
-
'status':
|
|
44
|
+
'status': BidStatus;
|
|
39
45
|
/**
|
|
40
46
|
* 공고 상태 한국어 레이블.
|
|
41
47
|
*/
|
|
@@ -45,9 +51,9 @@ export interface BidResultsResponseDto {
|
|
|
45
51
|
*/
|
|
46
52
|
'isCancelled'?: boolean;
|
|
47
53
|
/**
|
|
48
|
-
* 유찰사유
|
|
54
|
+
* 유찰사유 코드 (V5 b2b_buy.sayou, 1~8). 유찰(status=E)이 아니면 null.
|
|
49
55
|
*/
|
|
50
|
-
'failureReasonCode'?:
|
|
56
|
+
'failureReasonCode'?: BidFailureReason;
|
|
51
57
|
/**
|
|
52
58
|
* 유찰사유 텍스트.
|
|
53
59
|
*/
|
|
@@ -70,3 +76,5 @@ export interface BidResultsResponseDto {
|
|
|
70
76
|
'products': Array<BidResultProductDto>;
|
|
71
77
|
}
|
|
72
78
|
|
|
79
|
+
|
|
80
|
+
|
|
@@ -0,0 +1,33 @@
|
|
|
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: 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
|
+
/**
|
|
18
|
+
* 공고 상태 코드. V5 /entendrec 은 A(진행중)/B(마감)/C(낙찰·계약진행)/E(유찰) 4종을 문서화했으나, V6 는 D(계약완료)/R(임시저장)을 더한 6종 superset 을 그대로 내려준다 — V5 호환 ERP 는 D 를 C 의 후속 단계로, R 은 미발행 초안으로 처리할 것(코드 매핑 없이 raw 통과).
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
export const BidStatus = {
|
|
22
|
+
A: 'A',
|
|
23
|
+
B: 'B',
|
|
24
|
+
C: 'C',
|
|
25
|
+
D: 'D',
|
|
26
|
+
E: 'E',
|
|
27
|
+
R: 'R',
|
|
28
|
+
} as const;
|
|
29
|
+
|
|
30
|
+
export type BidStatus = typeof BidStatus[keyof typeof BidStatus];
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
@@ -18,10 +18,17 @@ export interface HealthResponseDto {
|
|
|
18
18
|
/**
|
|
19
19
|
* 상태 코드. ok 면 정상.
|
|
20
20
|
*/
|
|
21
|
-
'status':
|
|
21
|
+
'status': HealthResponseDtoStatusEnum;
|
|
22
22
|
/**
|
|
23
23
|
* 서버 현재 시각 (ISO 8601). 클라이언트가 시계 드리프트 점검에 사용.
|
|
24
24
|
*/
|
|
25
25
|
'timestamp': string;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
+
export const HealthResponseDtoStatusEnum = {
|
|
29
|
+
Ok: 'ok',
|
|
30
|
+
} as const;
|
|
31
|
+
|
|
32
|
+
export type HealthResponseDtoStatusEnum = typeof HealthResponseDtoStatusEnum[keyof typeof HealthResponseDtoStatusEnum];
|
|
33
|
+
|
|
34
|
+
|
package/models/index.ts
CHANGED
|
@@ -19,6 +19,7 @@ export * from './bid-settlement-line-item-dto';
|
|
|
19
19
|
export * from './bid-settlement-participant-dto';
|
|
20
20
|
export * from './bid-settlement-response-dto';
|
|
21
21
|
export * from './bid-statement-response-dto';
|
|
22
|
+
export * from './bid-status';
|
|
22
23
|
export * from './complete-acceptance-request-dto';
|
|
23
24
|
export * from './contract-document-item-dto';
|
|
24
25
|
export * from './create-bid-request-dto';
|
|
@@ -26,6 +26,13 @@ export interface NegotiationScoredResponseDto {
|
|
|
26
26
|
/**
|
|
27
27
|
* 처리 상태.
|
|
28
28
|
*/
|
|
29
|
-
'status':
|
|
29
|
+
'status': NegotiationScoredResponseDtoStatusEnum;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
+
export const NegotiationScoredResponseDtoStatusEnum = {
|
|
33
|
+
NegotiationScored: 'NEGOTIATION_SCORED',
|
|
34
|
+
} as const;
|
|
35
|
+
|
|
36
|
+
export type NegotiationScoredResponseDtoStatusEnum = typeof NegotiationScoredResponseDtoStatusEnum[keyof typeof NegotiationScoredResponseDtoStatusEnum];
|
|
37
|
+
|
|
38
|
+
|
|
@@ -22,7 +22,7 @@ export interface TokenResponseDto {
|
|
|
22
22
|
/**
|
|
23
23
|
* Bearer 고정.
|
|
24
24
|
*/
|
|
25
|
-
'token_type':
|
|
25
|
+
'token_type': TokenResponseDtoTokenTypeEnum;
|
|
26
26
|
/**
|
|
27
27
|
* 유효 기간 (초).
|
|
28
28
|
*/
|
|
@@ -33,3 +33,10 @@ export interface TokenResponseDto {
|
|
|
33
33
|
'scope': string;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
+
export const TokenResponseDtoTokenTypeEnum = {
|
|
37
|
+
Bearer: 'Bearer',
|
|
38
|
+
} as const;
|
|
39
|
+
|
|
40
|
+
export type TokenResponseDtoTokenTypeEnum = typeof TokenResponseDtoTokenTypeEnum[keyof typeof TokenResponseDtoTokenTypeEnum];
|
|
41
|
+
|
|
42
|
+
|