@cmarket/partner-sdk 0.4.0 → 0.5.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/bid-result-participant-attachment-dto.d.ts +33 -0
- package/dist/esm/models/bid-result-participant-attachment-dto.js +14 -0
- package/dist/esm/models/bid-result-participant-dto.d.ts +9 -0
- package/dist/esm/models/bid-results-response-dto.d.ts +4 -0
- package/dist/esm/models/index.d.ts +1 -0
- package/dist/esm/models/index.js +1 -0
- package/dist/models/bid-result-participant-attachment-dto.d.ts +33 -0
- package/dist/models/bid-result-participant-attachment-dto.js +15 -0
- package/dist/models/bid-result-participant-dto.d.ts +9 -0
- package/dist/models/bid-results-response-dto.d.ts +4 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/docs/BidResultParticipantAttachmentDto.md +28 -0
- package/docs/BidResultParticipantDto.md +4 -0
- package/docs/BidResultsResponseDto.md +2 -0
- package/models/bid-result-participant-attachment-dto.ts +39 -0
- package/models/bid-result-participant-dto.ts +11 -0
- package/models/bid-results-response-dto.ts +4 -0
- package/models/index.ts +1 -0
- 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@0.
|
|
191
|
+
## @cmarket/partner-sdk@0.5.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@0.
|
|
229
|
+
npm install @cmarket/partner-sdk@0.5.0 --save
|
|
230
230
|
```
|
|
231
231
|
|
|
232
232
|
_unPublished (not recommended):_
|
|
@@ -271,6 +271,7 @@ Class | Method | HTTP request | Description
|
|
|
271
271
|
- [BidFailureReason](docs/BidFailureReason.md)
|
|
272
272
|
- [BidItemDto](docs/BidItemDto.md)
|
|
273
273
|
- [BidManagerDto](docs/BidManagerDto.md)
|
|
274
|
+
- [BidResultParticipantAttachmentDto](docs/BidResultParticipantAttachmentDto.md)
|
|
274
275
|
- [BidResultParticipantDto](docs/BidResultParticipantDto.md)
|
|
275
276
|
- [BidResultProductDto](docs/BidResultProductDto.md)
|
|
276
277
|
- [BidResultWinnerDto](docs/BidResultWinnerDto.md)
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CMARKET V6 Partner API
|
|
3
|
+
* 외부 ERP 연동용 RESTful API.
|
|
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
|
+
export interface BidResultParticipantAttachmentDto {
|
|
13
|
+
/**
|
|
14
|
+
* 파일 일련번호 (V5 f_seq).
|
|
15
|
+
*/
|
|
16
|
+
'fSeq': number;
|
|
17
|
+
/**
|
|
18
|
+
* 파일명 (V5 f_name).
|
|
19
|
+
*/
|
|
20
|
+
'fileName': string;
|
|
21
|
+
/**
|
|
22
|
+
* 파일키 (32자 nanoid) — storage 다운로드 엔드포인트에 전달. 마스킹/비매핑 legacy 시 미발급.
|
|
23
|
+
*/
|
|
24
|
+
'fileKey'?: string;
|
|
25
|
+
/**
|
|
26
|
+
* 미리보기 URL (V5 f_url). 미발급 시 null.
|
|
27
|
+
*/
|
|
28
|
+
'previewUrl'?: string;
|
|
29
|
+
/**
|
|
30
|
+
* 다운로드 URL (V5 f_full_url). 미발급 시 null.
|
|
31
|
+
*/
|
|
32
|
+
'downloadUrl'?: string;
|
|
33
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
export {};
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { BidResultParticipantAttachmentDto } from './bid-result-participant-attachment-dto';
|
|
12
13
|
export interface BidResultParticipantDto {
|
|
13
14
|
/**
|
|
14
15
|
* 참여 순번.
|
|
@@ -62,4 +63,12 @@ export interface BidResultParticipantDto {
|
|
|
62
63
|
* 담당자 이메일 (V5 mem_email). 마스킹 시 null.
|
|
63
64
|
*/
|
|
64
65
|
'managerEmail'?: string;
|
|
66
|
+
/**
|
|
67
|
+
* 응찰 알림글 (V5 join_alim). 마스킹 시 null.
|
|
68
|
+
*/
|
|
69
|
+
'joinAlim'?: string;
|
|
70
|
+
/**
|
|
71
|
+
* 응찰 제출 첨부파일 목록 (V5 entend_file_info). 신원 마스킹 시 빈 배열.
|
|
72
|
+
*/
|
|
73
|
+
'attachments'?: Array<BidResultParticipantAttachmentDto>;
|
|
65
74
|
}
|
|
@@ -9,6 +9,7 @@ export * from './bid-failed-response-dto';
|
|
|
9
9
|
export * from './bid-failure-reason';
|
|
10
10
|
export * from './bid-item-dto';
|
|
11
11
|
export * from './bid-manager-dto';
|
|
12
|
+
export * from './bid-result-participant-attachment-dto';
|
|
12
13
|
export * from './bid-result-participant-dto';
|
|
13
14
|
export * from './bid-result-product-dto';
|
|
14
15
|
export * from './bid-result-winner-dto';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -9,6 +9,7 @@ export * from './bid-failed-response-dto';
|
|
|
9
9
|
export * from './bid-failure-reason';
|
|
10
10
|
export * from './bid-item-dto';
|
|
11
11
|
export * from './bid-manager-dto';
|
|
12
|
+
export * from './bid-result-participant-attachment-dto';
|
|
12
13
|
export * from './bid-result-participant-dto';
|
|
13
14
|
export * from './bid-result-product-dto';
|
|
14
15
|
export * from './bid-result-winner-dto';
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CMARKET V6 Partner API
|
|
3
|
+
* 외부 ERP 연동용 RESTful API.
|
|
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
|
+
export interface BidResultParticipantAttachmentDto {
|
|
13
|
+
/**
|
|
14
|
+
* 파일 일련번호 (V5 f_seq).
|
|
15
|
+
*/
|
|
16
|
+
'fSeq': number;
|
|
17
|
+
/**
|
|
18
|
+
* 파일명 (V5 f_name).
|
|
19
|
+
*/
|
|
20
|
+
'fileName': string;
|
|
21
|
+
/**
|
|
22
|
+
* 파일키 (32자 nanoid) — storage 다운로드 엔드포인트에 전달. 마스킹/비매핑 legacy 시 미발급.
|
|
23
|
+
*/
|
|
24
|
+
'fileKey'?: string;
|
|
25
|
+
/**
|
|
26
|
+
* 미리보기 URL (V5 f_url). 미발급 시 null.
|
|
27
|
+
*/
|
|
28
|
+
'previewUrl'?: string;
|
|
29
|
+
/**
|
|
30
|
+
* 다운로드 URL (V5 f_full_url). 미발급 시 null.
|
|
31
|
+
*/
|
|
32
|
+
'downloadUrl'?: string;
|
|
33
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* CMARKET V6 Partner API
|
|
6
|
+
* 외부 ERP 연동용 RESTful API.
|
|
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 });
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { BidResultParticipantAttachmentDto } from './bid-result-participant-attachment-dto';
|
|
12
13
|
export interface BidResultParticipantDto {
|
|
13
14
|
/**
|
|
14
15
|
* 참여 순번.
|
|
@@ -62,4 +63,12 @@ export interface BidResultParticipantDto {
|
|
|
62
63
|
* 담당자 이메일 (V5 mem_email). 마스킹 시 null.
|
|
63
64
|
*/
|
|
64
65
|
'managerEmail'?: string;
|
|
66
|
+
/**
|
|
67
|
+
* 응찰 알림글 (V5 join_alim). 마스킹 시 null.
|
|
68
|
+
*/
|
|
69
|
+
'joinAlim'?: string;
|
|
70
|
+
/**
|
|
71
|
+
* 응찰 제출 첨부파일 목록 (V5 entend_file_info). 신원 마스킹 시 빈 배열.
|
|
72
|
+
*/
|
|
73
|
+
'attachments'?: Array<BidResultParticipantAttachmentDto>;
|
|
65
74
|
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export * from './bid-failed-response-dto';
|
|
|
9
9
|
export * from './bid-failure-reason';
|
|
10
10
|
export * from './bid-item-dto';
|
|
11
11
|
export * from './bid-manager-dto';
|
|
12
|
+
export * from './bid-result-participant-attachment-dto';
|
|
12
13
|
export * from './bid-result-participant-dto';
|
|
13
14
|
export * from './bid-result-product-dto';
|
|
14
15
|
export * from './bid-result-winner-dto';
|
package/dist/models/index.js
CHANGED
|
@@ -25,6 +25,7 @@ __exportStar(require("./bid-failed-response-dto"), exports);
|
|
|
25
25
|
__exportStar(require("./bid-failure-reason"), exports);
|
|
26
26
|
__exportStar(require("./bid-item-dto"), exports);
|
|
27
27
|
__exportStar(require("./bid-manager-dto"), exports);
|
|
28
|
+
__exportStar(require("./bid-result-participant-attachment-dto"), exports);
|
|
28
29
|
__exportStar(require("./bid-result-participant-dto"), exports);
|
|
29
30
|
__exportStar(require("./bid-result-product-dto"), exports);
|
|
30
31
|
__exportStar(require("./bid-result-winner-dto"), exports);
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# BidResultParticipantAttachmentDto
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**fSeq** | **number** | 파일 일련번호 (V5 f_seq). | [default to undefined]
|
|
9
|
+
**fileName** | **string** | 파일명 (V5 f_name). | [default to undefined]
|
|
10
|
+
**fileKey** | **string** | 파일키 (32자 nanoid) — storage 다운로드 엔드포인트에 전달. 마스킹/비매핑 legacy 시 미발급. | [optional] [default to undefined]
|
|
11
|
+
**previewUrl** | **string** | 미리보기 URL (V5 f_url). 미발급 시 null. | [optional] [default to undefined]
|
|
12
|
+
**downloadUrl** | **string** | 다운로드 URL (V5 f_full_url). 미발급 시 null. | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { BidResultParticipantAttachmentDto } from '@cmarket/partner-sdk';
|
|
18
|
+
|
|
19
|
+
const instance: BidResultParticipantAttachmentDto = {
|
|
20
|
+
fSeq,
|
|
21
|
+
fileName,
|
|
22
|
+
fileKey,
|
|
23
|
+
previewUrl,
|
|
24
|
+
downloadUrl,
|
|
25
|
+
};
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -18,6 +18,8 @@ Name | Type | Description | Notes
|
|
|
18
18
|
**managerName** | **string** | 담당자명 (V5 mem_name). 마스킹 시 null. | [optional] [default to undefined]
|
|
19
19
|
**managerPhone** | **string** | 담당자 연락처 (V5 mem_tel/mem_phon). 마스킹 시 null. | [optional] [default to undefined]
|
|
20
20
|
**managerEmail** | **string** | 담당자 이메일 (V5 mem_email). 마스킹 시 null. | [optional] [default to undefined]
|
|
21
|
+
**joinAlim** | **string** | 응찰 알림글 (V5 join_alim). 마스킹 시 null. | [optional] [default to undefined]
|
|
22
|
+
**attachments** | [**Array<BidResultParticipantAttachmentDto>**](BidResultParticipantAttachmentDto.md) | 응찰 제출 첨부파일 목록 (V5 entend_file_info). 신원 마스킹 시 빈 배열. | [optional] [default to undefined]
|
|
21
23
|
|
|
22
24
|
## Example
|
|
23
25
|
|
|
@@ -38,6 +40,8 @@ const instance: BidResultParticipantDto = {
|
|
|
38
40
|
managerName,
|
|
39
41
|
managerPhone,
|
|
40
42
|
managerEmail,
|
|
43
|
+
joinAlim,
|
|
44
|
+
attachments,
|
|
41
45
|
};
|
|
42
46
|
```
|
|
43
47
|
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**bidId** | **string** | 공고 식별자. | [default to undefined]
|
|
9
|
+
**bidPuchaseNo** | **string** | 발주처 지정 조달번호 (V5 bid_puchase_no). 외부 ERP 가 등록 시 보낸 PO 번호. 미설정 시 null. | [optional] [default to undefined]
|
|
9
10
|
**status** | **string** | 공고 상태 코드 (BidStatus enum). | [default to undefined]
|
|
10
11
|
**statusText** | **string** | 공고 상태 한국어 레이블. | [optional] [default to undefined]
|
|
11
12
|
**isCancelled** | **boolean** | 공고 취소 여부 (status 와 직교하는 별도 레이어). | [optional] [default to undefined]
|
|
@@ -23,6 +24,7 @@ import { BidResultsResponseDto } from '@cmarket/partner-sdk';
|
|
|
23
24
|
|
|
24
25
|
const instance: BidResultsResponseDto = {
|
|
25
26
|
bidId,
|
|
27
|
+
bidPuchaseNo,
|
|
26
28
|
status,
|
|
27
29
|
statusText,
|
|
28
30
|
isCancelled,
|
|
@@ -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 BidResultParticipantAttachmentDto {
|
|
18
|
+
/**
|
|
19
|
+
* 파일 일련번호 (V5 f_seq).
|
|
20
|
+
*/
|
|
21
|
+
'fSeq': number;
|
|
22
|
+
/**
|
|
23
|
+
* 파일명 (V5 f_name).
|
|
24
|
+
*/
|
|
25
|
+
'fileName': string;
|
|
26
|
+
/**
|
|
27
|
+
* 파일키 (32자 nanoid) — storage 다운로드 엔드포인트에 전달. 마스킹/비매핑 legacy 시 미발급.
|
|
28
|
+
*/
|
|
29
|
+
'fileKey'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* 미리보기 URL (V5 f_url). 미발급 시 null.
|
|
32
|
+
*/
|
|
33
|
+
'previewUrl'?: string;
|
|
34
|
+
/**
|
|
35
|
+
* 다운로드 URL (V5 f_full_url). 미발급 시 null.
|
|
36
|
+
*/
|
|
37
|
+
'downloadUrl'?: string;
|
|
38
|
+
}
|
|
39
|
+
|
|
@@ -13,6 +13,9 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { BidResultParticipantAttachmentDto } from './bid-result-participant-attachment-dto';
|
|
16
19
|
|
|
17
20
|
export interface BidResultParticipantDto {
|
|
18
21
|
/**
|
|
@@ -67,5 +70,13 @@ export interface BidResultParticipantDto {
|
|
|
67
70
|
* 담당자 이메일 (V5 mem_email). 마스킹 시 null.
|
|
68
71
|
*/
|
|
69
72
|
'managerEmail'?: string;
|
|
73
|
+
/**
|
|
74
|
+
* 응찰 알림글 (V5 join_alim). 마스킹 시 null.
|
|
75
|
+
*/
|
|
76
|
+
'joinAlim'?: string;
|
|
77
|
+
/**
|
|
78
|
+
* 응찰 제출 첨부파일 목록 (V5 entend_file_info). 신원 마스킹 시 빈 배열.
|
|
79
|
+
*/
|
|
80
|
+
'attachments'?: Array<BidResultParticipantAttachmentDto>;
|
|
70
81
|
}
|
|
71
82
|
|
package/models/index.ts
CHANGED
|
@@ -9,6 +9,7 @@ export * from './bid-failed-response-dto';
|
|
|
9
9
|
export * from './bid-failure-reason';
|
|
10
10
|
export * from './bid-item-dto';
|
|
11
11
|
export * from './bid-manager-dto';
|
|
12
|
+
export * from './bid-result-participant-attachment-dto';
|
|
12
13
|
export * from './bid-result-participant-dto';
|
|
13
14
|
export * from './bid-result-product-dto';
|
|
14
15
|
export * from './bid-result-winner-dto';
|