@cmarket/partner-sdk 1.0.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.
Files changed (262) hide show
  1. package/README.md +15 -5
  2. package/api/oauth-api.ts +1 -1
  3. package/api/partner-v1-api.ts +46 -28
  4. package/api/partner-v2-api.ts +1 -1
  5. package/api.ts +1 -1
  6. package/base.ts +1 -1
  7. package/common.ts +1 -1
  8. package/configuration.ts +1 -1
  9. package/dist/api/oauth-api.d.ts +1 -1
  10. package/dist/api/oauth-api.js +1 -1
  11. package/dist/api/partner-v1-api.d.ts +1 -1
  12. package/dist/api/partner-v1-api.js +37 -28
  13. package/dist/api/partner-v2-api.d.ts +1 -1
  14. package/dist/api/partner-v2-api.js +1 -1
  15. package/dist/api.d.ts +1 -1
  16. package/dist/api.js +1 -1
  17. package/dist/base.d.ts +1 -1
  18. package/dist/base.js +1 -1
  19. package/dist/common.d.ts +1 -1
  20. package/dist/common.js +1 -1
  21. package/dist/configuration.d.ts +1 -1
  22. package/dist/configuration.js +1 -1
  23. package/dist/esm/api/oauth-api.d.ts +1 -1
  24. package/dist/esm/api/oauth-api.js +1 -1
  25. package/dist/esm/api/partner-v1-api.d.ts +1 -1
  26. package/dist/esm/api/partner-v1-api.js +38 -29
  27. package/dist/esm/api/partner-v2-api.d.ts +1 -1
  28. package/dist/esm/api/partner-v2-api.js +1 -1
  29. package/dist/esm/api.d.ts +1 -1
  30. package/dist/esm/api.js +1 -1
  31. package/dist/esm/base.d.ts +1 -1
  32. package/dist/esm/base.js +1 -1
  33. package/dist/esm/common.d.ts +1 -1
  34. package/dist/esm/common.js +1 -1
  35. package/dist/esm/configuration.d.ts +1 -1
  36. package/dist/esm/configuration.js +1 -1
  37. package/dist/esm/index.d.ts +1 -1
  38. package/dist/esm/index.js +1 -1
  39. package/dist/esm/models/acceptance-result-response-dto.d.ts +1 -1
  40. package/dist/esm/models/acceptance-result-response-dto.js +1 -1
  41. package/dist/esm/models/award-registered-response-dto.d.ts +6 -2
  42. package/dist/esm/models/award-registered-response-dto.js +4 -2
  43. package/dist/esm/models/bid-bond-dto.d.ts +1 -1
  44. package/dist/esm/models/bid-bond-dto.js +1 -1
  45. package/dist/esm/models/bid-contract-documents-batch-request-dto.d.ts +1 -1
  46. package/dist/esm/models/bid-contract-documents-batch-request-dto.js +1 -1
  47. package/dist/esm/models/bid-contract-documents-response-dto.d.ts +1 -1
  48. package/dist/esm/models/bid-contract-documents-response-dto.js +1 -1
  49. package/dist/esm/models/bid-created-response-dto.d.ts +1 -1
  50. package/dist/esm/models/bid-created-response-dto.js +1 -1
  51. package/dist/esm/models/bid-document-dto.d.ts +1 -1
  52. package/dist/esm/models/bid-document-dto.js +1 -1
  53. package/dist/esm/models/bid-failed-response-dto.d.ts +6 -2
  54. package/dist/esm/models/bid-failed-response-dto.js +4 -2
  55. package/dist/esm/models/bid-failure-reason.d.ts +2 -2
  56. package/dist/esm/models/bid-failure-reason.js +2 -2
  57. package/dist/esm/models/bid-item-dto.d.ts +1 -1
  58. package/dist/esm/models/bid-item-dto.js +1 -1
  59. package/dist/esm/models/bid-manager-dto.d.ts +1 -1
  60. package/dist/esm/models/bid-manager-dto.js +1 -1
  61. package/dist/esm/models/bid-result-participant-attachment-dto.d.ts +1 -1
  62. package/dist/esm/models/bid-result-participant-attachment-dto.js +1 -1
  63. package/dist/esm/models/bid-result-participant-dto.d.ts +1 -1
  64. package/dist/esm/models/bid-result-participant-dto.js +1 -1
  65. package/dist/esm/models/bid-result-product-dto.d.ts +1 -1
  66. package/dist/esm/models/bid-result-product-dto.js +1 -1
  67. package/dist/esm/models/bid-result-winner-dto.d.ts +1 -1
  68. package/dist/esm/models/bid-result-winner-dto.js +1 -1
  69. package/dist/esm/models/bid-results-batch-request-dto.d.ts +1 -1
  70. package/dist/esm/models/bid-results-batch-request-dto.js +1 -1
  71. package/dist/esm/models/bid-results-response-dto.d.ts +6 -4
  72. package/dist/esm/models/bid-results-response-dto.js +1 -1
  73. package/dist/esm/models/bid-settlement-line-item-dto.d.ts +1 -1
  74. package/dist/esm/models/bid-settlement-line-item-dto.js +1 -1
  75. package/dist/esm/models/bid-settlement-participant-dto.d.ts +1 -1
  76. package/dist/esm/models/bid-settlement-participant-dto.js +1 -1
  77. package/dist/esm/models/bid-settlement-response-dto.d.ts +1 -1
  78. package/dist/esm/models/bid-settlement-response-dto.js +1 -1
  79. package/dist/esm/models/bid-statement-response-dto.d.ts +1 -1
  80. package/dist/esm/models/bid-statement-response-dto.js +1 -1
  81. package/dist/esm/models/bid-status.d.ts +23 -0
  82. package/dist/esm/models/bid-status.js +24 -0
  83. package/dist/esm/models/complete-acceptance-request-dto.d.ts +1 -1
  84. package/dist/esm/models/complete-acceptance-request-dto.js +1 -1
  85. package/dist/esm/models/contract-document-item-dto.d.ts +2 -2
  86. package/dist/esm/models/contract-document-item-dto.js +1 -1
  87. package/dist/esm/models/create-bid-request-dto.d.ts +1 -1
  88. package/dist/esm/models/create-bid-request-dto.js +1 -1
  89. package/dist/esm/models/file-uploaded-response-dto.d.ts +1 -1
  90. package/dist/esm/models/file-uploaded-response-dto.js +1 -1
  91. package/dist/esm/models/health-response-dto.d.ts +6 -2
  92. package/dist/esm/models/health-response-dto.js +4 -2
  93. package/dist/esm/models/hierarchical-region-dto.d.ts +1 -1
  94. package/dist/esm/models/hierarchical-region-dto.js +1 -1
  95. package/dist/esm/models/index.d.ts +1 -0
  96. package/dist/esm/models/index.js +1 -0
  97. package/dist/esm/models/mark-bid-failed-request-dto.d.ts +1 -1
  98. package/dist/esm/models/mark-bid-failed-request-dto.js +1 -1
  99. package/dist/esm/models/negotiation-score-dto.d.ts +1 -1
  100. package/dist/esm/models/negotiation-score-dto.js +1 -1
  101. package/dist/esm/models/negotiation-scored-response-dto.d.ts +6 -2
  102. package/dist/esm/models/negotiation-scored-response-dto.js +4 -2
  103. package/dist/esm/models/preconditions-dto.d.ts +1 -1
  104. package/dist/esm/models/preconditions-dto.js +1 -1
  105. package/dist/esm/models/problem-details-dto.d.ts +1 -1
  106. package/dist/esm/models/problem-details-dto.js +1 -1
  107. package/dist/esm/models/register-award-request-dto.d.ts +1 -1
  108. package/dist/esm/models/register-award-request-dto.js +1 -1
  109. package/dist/esm/models/request-split-invoice-request-dto.d.ts +1 -1
  110. package/dist/esm/models/request-split-invoice-request-dto.js +1 -1
  111. package/dist/esm/models/split-invoice-response-dto.d.ts +1 -1
  112. package/dist/esm/models/split-invoice-response-dto.js +1 -1
  113. package/dist/esm/models/statement-document-dto.d.ts +1 -1
  114. package/dist/esm/models/statement-document-dto.js +1 -1
  115. package/dist/esm/models/statement-product-dto.d.ts +1 -1
  116. package/dist/esm/models/statement-product-dto.js +1 -1
  117. package/dist/esm/models/submit-negotiation-scores-request-dto.d.ts +1 -1
  118. package/dist/esm/models/submit-negotiation-scores-request-dto.js +1 -1
  119. package/dist/esm/models/token-request-dto.d.ts +1 -1
  120. package/dist/esm/models/token-request-dto.js +1 -1
  121. package/dist/esm/models/token-response-dto.d.ts +6 -2
  122. package/dist/esm/models/token-response-dto.js +4 -2
  123. package/dist/esm/models/upload-file-request-dto.d.ts +1 -1
  124. package/dist/esm/models/upload-file-request-dto.js +1 -1
  125. package/dist/index.d.ts +1 -1
  126. package/dist/index.js +1 -1
  127. package/dist/models/acceptance-result-response-dto.d.ts +1 -1
  128. package/dist/models/acceptance-result-response-dto.js +1 -1
  129. package/dist/models/award-registered-response-dto.d.ts +6 -2
  130. package/dist/models/award-registered-response-dto.js +5 -1
  131. package/dist/models/bid-bond-dto.d.ts +1 -1
  132. package/dist/models/bid-bond-dto.js +1 -1
  133. package/dist/models/bid-contract-documents-batch-request-dto.d.ts +1 -1
  134. package/dist/models/bid-contract-documents-batch-request-dto.js +1 -1
  135. package/dist/models/bid-contract-documents-response-dto.d.ts +1 -1
  136. package/dist/models/bid-contract-documents-response-dto.js +1 -1
  137. package/dist/models/bid-created-response-dto.d.ts +1 -1
  138. package/dist/models/bid-created-response-dto.js +1 -1
  139. package/dist/models/bid-document-dto.d.ts +1 -1
  140. package/dist/models/bid-document-dto.js +1 -1
  141. package/dist/models/bid-failed-response-dto.d.ts +6 -2
  142. package/dist/models/bid-failed-response-dto.js +5 -1
  143. package/dist/models/bid-failure-reason.d.ts +2 -2
  144. package/dist/models/bid-failure-reason.js +2 -2
  145. package/dist/models/bid-item-dto.d.ts +1 -1
  146. package/dist/models/bid-item-dto.js +1 -1
  147. package/dist/models/bid-manager-dto.d.ts +1 -1
  148. package/dist/models/bid-manager-dto.js +1 -1
  149. package/dist/models/bid-result-participant-attachment-dto.d.ts +1 -1
  150. package/dist/models/bid-result-participant-attachment-dto.js +1 -1
  151. package/dist/models/bid-result-participant-dto.d.ts +1 -1
  152. package/dist/models/bid-result-participant-dto.js +1 -1
  153. package/dist/models/bid-result-product-dto.d.ts +1 -1
  154. package/dist/models/bid-result-product-dto.js +1 -1
  155. package/dist/models/bid-result-winner-dto.d.ts +1 -1
  156. package/dist/models/bid-result-winner-dto.js +1 -1
  157. package/dist/models/bid-results-batch-request-dto.d.ts +1 -1
  158. package/dist/models/bid-results-batch-request-dto.js +1 -1
  159. package/dist/models/bid-results-response-dto.d.ts +6 -4
  160. package/dist/models/bid-results-response-dto.js +1 -1
  161. package/dist/models/bid-settlement-line-item-dto.d.ts +1 -1
  162. package/dist/models/bid-settlement-line-item-dto.js +1 -1
  163. package/dist/models/bid-settlement-participant-dto.d.ts +1 -1
  164. package/dist/models/bid-settlement-participant-dto.js +1 -1
  165. package/dist/models/bid-settlement-response-dto.d.ts +1 -1
  166. package/dist/models/bid-settlement-response-dto.js +1 -1
  167. package/dist/models/bid-statement-response-dto.d.ts +1 -1
  168. package/dist/models/bid-statement-response-dto.js +1 -1
  169. package/dist/models/bid-status.d.ts +23 -0
  170. package/dist/models/bid-status.js +27 -0
  171. package/dist/models/complete-acceptance-request-dto.d.ts +1 -1
  172. package/dist/models/complete-acceptance-request-dto.js +1 -1
  173. package/dist/models/contract-document-item-dto.d.ts +2 -2
  174. package/dist/models/contract-document-item-dto.js +1 -1
  175. package/dist/models/create-bid-request-dto.d.ts +1 -1
  176. package/dist/models/create-bid-request-dto.js +1 -1
  177. package/dist/models/file-uploaded-response-dto.d.ts +1 -1
  178. package/dist/models/file-uploaded-response-dto.js +1 -1
  179. package/dist/models/health-response-dto.d.ts +6 -2
  180. package/dist/models/health-response-dto.js +5 -1
  181. package/dist/models/hierarchical-region-dto.d.ts +1 -1
  182. package/dist/models/hierarchical-region-dto.js +1 -1
  183. package/dist/models/index.d.ts +1 -0
  184. package/dist/models/index.js +1 -0
  185. package/dist/models/mark-bid-failed-request-dto.d.ts +1 -1
  186. package/dist/models/mark-bid-failed-request-dto.js +1 -1
  187. package/dist/models/negotiation-score-dto.d.ts +1 -1
  188. package/dist/models/negotiation-score-dto.js +1 -1
  189. package/dist/models/negotiation-scored-response-dto.d.ts +6 -2
  190. package/dist/models/negotiation-scored-response-dto.js +5 -1
  191. package/dist/models/preconditions-dto.d.ts +1 -1
  192. package/dist/models/preconditions-dto.js +1 -1
  193. package/dist/models/problem-details-dto.d.ts +1 -1
  194. package/dist/models/problem-details-dto.js +1 -1
  195. package/dist/models/register-award-request-dto.d.ts +1 -1
  196. package/dist/models/register-award-request-dto.js +1 -1
  197. package/dist/models/request-split-invoice-request-dto.d.ts +1 -1
  198. package/dist/models/request-split-invoice-request-dto.js +1 -1
  199. package/dist/models/split-invoice-response-dto.d.ts +1 -1
  200. package/dist/models/split-invoice-response-dto.js +1 -1
  201. package/dist/models/statement-document-dto.d.ts +1 -1
  202. package/dist/models/statement-document-dto.js +1 -1
  203. package/dist/models/statement-product-dto.d.ts +1 -1
  204. package/dist/models/statement-product-dto.js +1 -1
  205. package/dist/models/submit-negotiation-scores-request-dto.d.ts +1 -1
  206. package/dist/models/submit-negotiation-scores-request-dto.js +1 -1
  207. package/dist/models/token-request-dto.d.ts +1 -1
  208. package/dist/models/token-request-dto.js +1 -1
  209. package/dist/models/token-response-dto.d.ts +6 -2
  210. package/dist/models/token-response-dto.js +5 -1
  211. package/dist/models/upload-file-request-dto.d.ts +1 -1
  212. package/dist/models/upload-file-request-dto.js +1 -1
  213. package/docs/BidFailureReason.md +1 -1
  214. package/docs/BidResultsResponseDto.md +2 -2
  215. package/docs/BidStatus.md +19 -0
  216. package/docs/ContractDocumentItemDto.md +1 -1
  217. package/docs/PartnerV1Api.md +9 -9
  218. package/index.ts +1 -1
  219. package/models/acceptance-result-response-dto.ts +1 -1
  220. package/models/award-registered-response-dto.ts +9 -2
  221. package/models/bid-bond-dto.ts +1 -1
  222. package/models/bid-contract-documents-batch-request-dto.ts +1 -1
  223. package/models/bid-contract-documents-response-dto.ts +1 -1
  224. package/models/bid-created-response-dto.ts +1 -1
  225. package/models/bid-document-dto.ts +1 -1
  226. package/models/bid-failed-response-dto.ts +9 -2
  227. package/models/bid-failure-reason.ts +2 -2
  228. package/models/bid-item-dto.ts +1 -1
  229. package/models/bid-manager-dto.ts +1 -1
  230. package/models/bid-result-participant-attachment-dto.ts +1 -1
  231. package/models/bid-result-participant-dto.ts +1 -1
  232. package/models/bid-result-product-dto.ts +1 -1
  233. package/models/bid-result-winner-dto.ts +1 -1
  234. package/models/bid-results-batch-request-dto.ts +1 -1
  235. package/models/bid-results-response-dto.ts +12 -4
  236. package/models/bid-settlement-line-item-dto.ts +1 -1
  237. package/models/bid-settlement-participant-dto.ts +1 -1
  238. package/models/bid-settlement-response-dto.ts +1 -1
  239. package/models/bid-statement-response-dto.ts +1 -1
  240. package/models/bid-status.ts +33 -0
  241. package/models/complete-acceptance-request-dto.ts +1 -1
  242. package/models/contract-document-item-dto.ts +2 -2
  243. package/models/create-bid-request-dto.ts +1 -1
  244. package/models/file-uploaded-response-dto.ts +1 -1
  245. package/models/health-response-dto.ts +9 -2
  246. package/models/hierarchical-region-dto.ts +1 -1
  247. package/models/index.ts +1 -0
  248. package/models/mark-bid-failed-request-dto.ts +1 -1
  249. package/models/negotiation-score-dto.ts +1 -1
  250. package/models/negotiation-scored-response-dto.ts +9 -2
  251. package/models/preconditions-dto.ts +1 -1
  252. package/models/problem-details-dto.ts +1 -1
  253. package/models/register-award-request-dto.ts +1 -1
  254. package/models/request-split-invoice-request-dto.ts +1 -1
  255. package/models/split-invoice-response-dto.ts +1 -1
  256. package/models/statement-document-dto.ts +1 -1
  257. package/models/statement-product-dto.ts +1 -1
  258. package/models/submit-negotiation-scores-request-dto.ts +1 -1
  259. package/models/token-request-dto.ts +1 -1
  260. package/models/token-response-dto.ts +9 -2
  261. package/models/upload-file-request-dto.ts +1 -1
  262. package/package.json +1 -1
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * CMARKET V6 Partner API
6
- * 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. 각 요청 body 에 `ID`(cate_set.api_id) / `Secret`(cate_set.api_secret, MD5-hex) 포함.
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
8
  * The version of the OpenAPI document: 1.0
9
9
  *
@@ -13,3 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.TokenResponseDtoTokenTypeEnum = void 0;
17
+ exports.TokenResponseDtoTokenTypeEnum = {
18
+ Bearer: 'Bearer',
19
+ };
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * CMARKET V6 Partner API
3
- * 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. 각 요청 body 에 `ID`(cate_set.api_id) / `Secret`(cate_set.api_secret, MD5-hex) 포함.
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
5
  * The version of the OpenAPI document: 1.0
6
6
  *
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * CMARKET V6 Partner API
6
- * 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. 각 요청 body 에 `ID`(cate_set.api_id) / `Secret`(cate_set.api_secret, MD5-hex) 포함.
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
8
  * The version of the OpenAPI document: 1.0
9
9
  *
@@ -1,6 +1,6 @@
1
1
  # BidFailureReason
2
2
 
3
- 유찰사유 코드(= V5 b2b_buy.sayou). 1~8.
3
+ 유찰사유 코드 (V5 b2b_buy.sayou, 1~8). 유찰(status=E)이 아니면 null.
4
4
 
5
5
  ## Enum
6
6
 
@@ -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** | **string** | 공고 상태 코드. V5 /entendrec 은 A(진행중)/B(마감)/C(낙찰·계약진행)/E(유찰) 4종을 문서화했으나, V6 는 D(계약완료)/R(임시저장)을 더한 6종 superset 을 그대로 내려준다 — V5 호환 ERP 는 D 를 C 의 후속 단계로, R 은 미발행 초안으로 처리할 것(코드 매핑 없이 raw 통과). | [default to undefined]
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** | **string** | 유찰사유 코드. | [optional] [default to undefined]
13
+ **failureReasonCode** | [**BidFailureReason**](BidFailureReason.md) | 유찰사유 코드 (V5 b2b_buy.sayou, 1~8). 유찰(status&#x3D;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** | 서류 종류 코드. | [default to undefined]
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]
@@ -54,7 +54,7 @@ const { status, data } = await apiInstance.v1CompleteAcceptance(
54
54
 
55
55
  ### Authorization
56
56
 
57
- [platform-auth](../README.md#platform-auth)
57
+ [platform-auth-id](../README.md#platform-auth-id), [platform-auth-secret](../README.md#platform-auth-secret)
58
58
 
59
59
  ### HTTP request headers
60
60
 
@@ -106,7 +106,7 @@ const { status, data } = await apiInstance.v1GetBidContractDocumentsBatch(
106
106
 
107
107
  ### Authorization
108
108
 
109
- [platform-auth](../README.md#platform-auth)
109
+ [platform-auth-id](../README.md#platform-auth-id), [platform-auth-secret](../README.md#platform-auth-secret)
110
110
 
111
111
  ### HTTP request headers
112
112
 
@@ -158,7 +158,7 @@ const { status, data } = await apiInstance.v1GetBidResultsBatch(
158
158
 
159
159
  ### Authorization
160
160
 
161
- [platform-auth](../README.md#platform-auth)
161
+ [platform-auth-id](../README.md#platform-auth-id), [platform-auth-secret](../README.md#platform-auth-secret)
162
162
 
163
163
  ### HTTP request headers
164
164
 
@@ -212,7 +212,7 @@ const { status, data } = await apiInstance.v1GetBidStatement(
212
212
 
213
213
  ### Authorization
214
214
 
215
- [platform-auth](../README.md#platform-auth)
215
+ [platform-auth-id](../README.md#platform-auth-id), [platform-auth-secret](../README.md#platform-auth-secret)
216
216
 
217
217
  ### HTTP request headers
218
218
 
@@ -264,7 +264,7 @@ const { status, data } = await apiInstance.v1MarkBidFailed(
264
264
 
265
265
  ### Authorization
266
266
 
267
- [platform-auth](../README.md#platform-auth)
267
+ [platform-auth-id](../README.md#platform-auth-id), [platform-auth-secret](../README.md#platform-auth-secret)
268
268
 
269
269
  ### HTTP request headers
270
270
 
@@ -316,7 +316,7 @@ const { status, data } = await apiInstance.v1RegisterAward(
316
316
 
317
317
  ### Authorization
318
318
 
319
- [platform-auth](../README.md#platform-auth)
319
+ [platform-auth-id](../README.md#platform-auth-id), [platform-auth-secret](../README.md#platform-auth-secret)
320
320
 
321
321
  ### HTTP request headers
322
322
 
@@ -368,7 +368,7 @@ const { status, data } = await apiInstance.v1RegisterBid(
368
368
 
369
369
  ### Authorization
370
370
 
371
- [platform-auth](../README.md#platform-auth)
371
+ [platform-auth-id](../README.md#platform-auth-id), [platform-auth-secret](../README.md#platform-auth-secret)
372
372
 
373
373
  ### HTTP request headers
374
374
 
@@ -420,7 +420,7 @@ const { status, data } = await apiInstance.v1RequestSplitInvoice(
420
420
 
421
421
  ### Authorization
422
422
 
423
- [platform-auth](../README.md#platform-auth)
423
+ [platform-auth-id](../README.md#platform-auth-id), [platform-auth-secret](../README.md#platform-auth-secret)
424
424
 
425
425
  ### HTTP request headers
426
426
 
@@ -472,7 +472,7 @@ const { status, data } = await apiInstance.v1SubmitNegotiationScores(
472
472
 
473
473
  ### Authorization
474
474
 
475
- [platform-auth](../README.md#platform-auth)
475
+ [platform-auth-id](../README.md#platform-auth-id), [platform-auth-secret](../README.md#platform-auth-secret)
476
476
 
477
477
  ### HTTP request headers
478
478
 
package/index.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * CMARKET V6 Partner API
5
- * 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. 각 요청 body 에 `ID`(cate_set.api_id) / `Secret`(cate_set.api_secret, MD5-hex) 포함.
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
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * CMARKET V6 Partner API
5
- * 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. 각 요청 body 에 `ID`(cate_set.api_id) / `Secret`(cate_set.api_secret, MD5-hex) 포함.
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
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * CMARKET V6 Partner API
5
- * 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. 각 요청 body 에 `ID`(cate_set.api_id) / `Secret`(cate_set.api_secret, MD5-hex) 포함.
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
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -26,6 +26,13 @@ export interface AwardRegisteredResponseDto {
26
26
  /**
27
27
  * 처리 상태.
28
28
  */
29
- 'status': string;
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
+
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * CMARKET V6 Partner API
5
- * 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. 각 요청 body 에 `ID`(cate_set.api_id) / `Secret`(cate_set.api_secret, MD5-hex) 포함.
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
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * CMARKET V6 Partner API
5
- * 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. 각 요청 body 에 `ID`(cate_set.api_id) / `Secret`(cate_set.api_secret, MD5-hex) 포함.
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
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * CMARKET V6 Partner API
5
- * 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. 각 요청 body 에 `ID`(cate_set.api_id) / `Secret`(cate_set.api_secret, MD5-hex) 포함.
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
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * CMARKET V6 Partner API
5
- * 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. 각 요청 body 에 `ID`(cate_set.api_id) / `Secret`(cate_set.api_secret, MD5-hex) 포함.
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
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * CMARKET V6 Partner API
5
- * 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. 각 요청 body 에 `ID`(cate_set.api_id) / `Secret`(cate_set.api_secret, MD5-hex) 포함.
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
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * CMARKET V6 Partner API
5
- * 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. 각 요청 body 에 `ID`(cate_set.api_id) / `Secret`(cate_set.api_secret, MD5-hex) 포함.
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
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -22,6 +22,13 @@ export interface BidFailedResponseDto {
22
22
  /**
23
23
  * 처리 상태.
24
24
  */
25
- 'status': string;
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
+
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * CMARKET V6 Partner API
5
- * 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. 각 요청 body 에 `ID`(cate_set.api_id) / `Secret`(cate_set.api_secret, MD5-hex) 포함.
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
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -15,7 +15,7 @@
15
15
 
16
16
 
17
17
  /**
18
- * 유찰사유 코드(= V5 b2b_buy.sayou). 1~8.
18
+ * 유찰사유 코드 (V5 b2b_buy.sayou, 1~8). 유찰(status=E)이 아니면 null.
19
19
  */
20
20
 
21
21
  export const BidFailureReason = {
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * CMARKET V6 Partner API
5
- * 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. 각 요청 body 에 `ID`(cate_set.api_id) / `Secret`(cate_set.api_secret, MD5-hex) 포함.
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
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * CMARKET V6 Partner API
5
- * 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. 각 요청 body 에 `ID`(cate_set.api_id) / `Secret`(cate_set.api_secret, MD5-hex) 포함.
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
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * CMARKET V6 Partner API
5
- * 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. 각 요청 body 에 `ID`(cate_set.api_id) / `Secret`(cate_set.api_secret, MD5-hex) 포함.
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
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * CMARKET V6 Partner API
5
- * 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. 각 요청 body 에 `ID`(cate_set.api_id) / `Secret`(cate_set.api_secret, MD5-hex) 포함.
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
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * CMARKET V6 Partner API
5
- * 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. 각 요청 body 에 `ID`(cate_set.api_id) / `Secret`(cate_set.api_secret, MD5-hex) 포함.
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
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * CMARKET V6 Partner API
5
- * 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. 각 요청 body 에 `ID`(cate_set.api_id) / `Secret`(cate_set.api_secret, MD5-hex) 포함.
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
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * CMARKET V6 Partner API
5
- * 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. 각 요청 body 에 `ID`(cate_set.api_id) / `Secret`(cate_set.api_secret, MD5-hex) 포함.
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
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * CMARKET V6 Partner API
5
- * 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. 각 요청 body 에 `ID`(cate_set.api_id) / `Secret`(cate_set.api_secret, MD5-hex) 포함.
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
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -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': string;
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'?: string;
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
+
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * CMARKET V6 Partner API
5
- * 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. 각 요청 body 에 `ID`(cate_set.api_id) / `Secret`(cate_set.api_secret, MD5-hex) 포함.
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
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * CMARKET V6 Partner API
5
- * 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. 각 요청 body 에 `ID`(cate_set.api_id) / `Secret`(cate_set.api_secret, MD5-hex) 포함.
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
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * CMARKET V6 Partner API
5
- * 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. 각 요청 body 에 `ID`(cate_set.api_id) / `Secret`(cate_set.api_secret, MD5-hex) 포함.
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
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * CMARKET V6 Partner API
5
- * 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. 각 요청 body 에 `ID`(cate_set.api_id) / `Secret`(cate_set.api_secret, MD5-hex) 포함.
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
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -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
+
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * CMARKET V6 Partner API
5
- * 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. 각 요청 body 에 `ID`(cate_set.api_id) / `Secret`(cate_set.api_secret, MD5-hex) 포함.
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
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * CMARKET V6 Partner API
5
- * 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. 각 요청 body 에 `ID`(cate_set.api_id) / `Secret`(cate_set.api_secret, MD5-hex) 포함.
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
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -20,7 +20,7 @@ export interface ContractDocumentItemDto {
20
20
  */
21
21
  'fSeq': number;
22
22
  /**
23
- * 서류 종류 코드.
23
+ * 서류 종류 — V5 b2b_paper_code/b2b_contract_code 의 paper_name(한글). 운영자 편집 master 데이터라 고정 코드집합이 아닌 개방형 문자열.
24
24
  */
25
25
  'docType': string;
26
26
  /**
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * CMARKET V6 Partner API
5
- * 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. 각 요청 body 에 `ID`(cate_set.api_id) / `Secret`(cate_set.api_secret, MD5-hex) 포함.
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
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * CMARKET V6 Partner API
5
- * 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. 각 요청 body 에 `ID`(cate_set.api_id) / `Secret`(cate_set.api_secret, MD5-hex) 포함.
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
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * CMARKET V6 Partner API
5
- * 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. 각 요청 body 에 `ID`(cate_set.api_id) / `Secret`(cate_set.api_secret, MD5-hex) 포함.
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
7
  * The version of the OpenAPI document: 1.0
8
8
  *
@@ -18,10 +18,17 @@ export interface HealthResponseDto {
18
18
  /**
19
19
  * 상태 코드. ok 면 정상.
20
20
  */
21
- 'status': string;
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
+
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * CMARKET V6 Partner API
5
- * 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. 각 요청 body 에 `ID`(cate_set.api_id) / `Secret`(cate_set.api_secret, MD5-hex) 포함.
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
7
  * The version of the OpenAPI document: 1.0
8
8
  *