@cmarket/partner-sdk 0.2.1 → 0.4.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 +205 -18
- package/api/partner-v1-api.ts +976 -28
- package/api.ts +0 -1
- package/dist/api/partner-v1-api.d.ts +432 -13
- package/dist/api/partner-v1-api.js +890 -19
- package/dist/api.d.ts +0 -1
- package/dist/api.js +0 -1
- package/dist/esm/api/partner-v1-api.d.ts +432 -13
- package/dist/esm/api/partner-v1-api.js +891 -20
- package/dist/esm/api.d.ts +0 -1
- package/dist/esm/api.js +0 -1
- package/dist/esm/models/create-bid-request-dto.d.ts +2 -3
- package/dist/esm/models/create-bid-request-dto.js +0 -1
- package/dist/esm/models/index.d.ts +0 -2
- package/dist/esm/models/index.js +0 -2
- package/dist/models/create-bid-request-dto.d.ts +2 -3
- package/dist/models/create-bid-request-dto.js +0 -1
- package/dist/models/index.d.ts +0 -2
- package/dist/models/index.js +0 -2
- package/docs/CreateBidRequestDto.md +2 -2
- package/docs/PartnerV1Api.md +651 -7
- package/models/create-bid-request-dto.ts +2 -3
- package/models/index.ts +0 -2
- package/package.json +1 -1
- package/api/partner-v2-api.ts +0 -1076
- package/dist/api/partner-v2-api.d.ts +0 -486
- package/dist/api/partner-v2-api.js +0 -1003
- package/dist/esm/api/partner-v2-api.d.ts +0 -486
- package/dist/esm/api/partner-v2-api.js +0 -996
- package/dist/esm/models/bid-status.d.ts +0 -23
- package/dist/esm/models/bid-status.js +0 -24
- package/dist/esm/models/bid-summary-response-dto.d.ts +0 -30
- package/dist/esm/models/bid-summary-response-dto.js +0 -14
- package/dist/models/bid-status.d.ts +0 -23
- package/dist/models/bid-status.js +0 -27
- package/dist/models/bid-summary-response-dto.d.ts +0 -30
- package/dist/models/bid-summary-response-dto.js +0 -15
- package/docs/BidStatus.md +0 -19
- package/docs/BidSummaryResponseDto.md +0 -26
- package/docs/PartnerV2Api.md +0 -704
- package/models/bid-status.ts +0 -33
- package/models/bid-summary-response-dto.ts +0 -40
|
@@ -1,23 +0,0 @@
|
|
|
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
|
-
/**
|
|
13
|
-
* 공고 상태 (b2b_buy.status SSOT enum)
|
|
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];
|
|
@@ -1,24 +0,0 @@
|
|
|
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
|
-
* 공고 상태 (b2b_buy.status SSOT enum)
|
|
16
|
-
*/
|
|
17
|
-
export const BidStatus = {
|
|
18
|
-
A: 'A',
|
|
19
|
-
B: 'B',
|
|
20
|
-
C: 'C',
|
|
21
|
-
D: 'D',
|
|
22
|
-
E: 'E',
|
|
23
|
-
R: 'R',
|
|
24
|
-
};
|
|
@@ -1,30 +0,0 @@
|
|
|
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
|
-
import type { BidStatus } from './bid-status';
|
|
13
|
-
export interface BidSummaryResponseDto {
|
|
14
|
-
/**
|
|
15
|
-
* 공고 식별자 (b2b_buy.buy_idx).
|
|
16
|
-
*/
|
|
17
|
-
'bidId': string;
|
|
18
|
-
/**
|
|
19
|
-
* 공고 제목 (b2b_buy.buy_title).
|
|
20
|
-
*/
|
|
21
|
-
'title': string;
|
|
22
|
-
/**
|
|
23
|
-
* 공고 상태 (b2b_buy.status SSOT enum)
|
|
24
|
-
*/
|
|
25
|
-
'status': BidStatus;
|
|
26
|
-
/**
|
|
27
|
-
* 예산 가격 (원, b2b_buy.buy_price).
|
|
28
|
-
*/
|
|
29
|
-
'budget': number;
|
|
30
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
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 {};
|
|
@@ -1,23 +0,0 @@
|
|
|
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
|
-
/**
|
|
13
|
-
* 공고 상태 (b2b_buy.status SSOT enum)
|
|
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];
|
|
@@ -1,27 +0,0 @@
|
|
|
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 });
|
|
16
|
-
exports.BidStatus = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* 공고 상태 (b2b_buy.status SSOT enum)
|
|
19
|
-
*/
|
|
20
|
-
exports.BidStatus = {
|
|
21
|
-
A: 'A',
|
|
22
|
-
B: 'B',
|
|
23
|
-
C: 'C',
|
|
24
|
-
D: 'D',
|
|
25
|
-
E: 'E',
|
|
26
|
-
R: 'R',
|
|
27
|
-
};
|
|
@@ -1,30 +0,0 @@
|
|
|
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
|
-
import type { BidStatus } from './bid-status';
|
|
13
|
-
export interface BidSummaryResponseDto {
|
|
14
|
-
/**
|
|
15
|
-
* 공고 식별자 (b2b_buy.buy_idx).
|
|
16
|
-
*/
|
|
17
|
-
'bidId': string;
|
|
18
|
-
/**
|
|
19
|
-
* 공고 제목 (b2b_buy.buy_title).
|
|
20
|
-
*/
|
|
21
|
-
'title': string;
|
|
22
|
-
/**
|
|
23
|
-
* 공고 상태 (b2b_buy.status SSOT enum)
|
|
24
|
-
*/
|
|
25
|
-
'status': BidStatus;
|
|
26
|
-
/**
|
|
27
|
-
* 예산 가격 (원, b2b_buy.buy_price).
|
|
28
|
-
*/
|
|
29
|
-
'budget': number;
|
|
30
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
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 });
|
package/docs/BidStatus.md
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
# BidStatus
|
|
2
|
-
|
|
3
|
-
공고 상태 (b2b_buy.status SSOT enum)
|
|
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)
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
# BidSummaryResponseDto
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**bidId** | **string** | 공고 식별자 (b2b_buy.buy_idx). | [default to undefined]
|
|
9
|
-
**title** | **string** | 공고 제목 (b2b_buy.buy_title). | [default to undefined]
|
|
10
|
-
**status** | [**BidStatus**](BidStatus.md) | 공고 상태 (b2b_buy.status SSOT enum) | [default to undefined]
|
|
11
|
-
**budget** | **number** | 예산 가격 (원, b2b_buy.buy_price). | [default to undefined]
|
|
12
|
-
|
|
13
|
-
## Example
|
|
14
|
-
|
|
15
|
-
```typescript
|
|
16
|
-
import { BidSummaryResponseDto } from '@cmarket/partner-sdk';
|
|
17
|
-
|
|
18
|
-
const instance: BidSummaryResponseDto = {
|
|
19
|
-
bidId,
|
|
20
|
-
title,
|
|
21
|
-
status,
|
|
22
|
-
budget,
|
|
23
|
-
};
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|