@cmarket/partner-sdk 0.10.0 → 1.0.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 (252) hide show
  1. package/README.md +31 -18
  2. package/api/oauth-api.ts +2 -2
  3. package/api/partner-v1-api.ts +187 -684
  4. package/api/partner-v2-api.ts +1186 -0
  5. package/api.ts +2 -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 +2 -2
  11. package/dist/api/partner-v1-api.d.ts +113 -333
  12. package/dist/api/partner-v1-api.js +187 -655
  13. package/dist/api/partner-v2-api.d.ts +535 -0
  14. package/dist/api/partner-v2-api.js +1107 -0
  15. package/dist/api.d.ts +2 -1
  16. package/dist/api.js +2 -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 +2 -2
  25. package/dist/esm/api/partner-v1-api.d.ts +113 -333
  26. package/dist/esm/api/partner-v1-api.js +188 -656
  27. package/dist/esm/api/partner-v2-api.d.ts +535 -0
  28. package/dist/esm/api/partner-v2-api.js +1100 -0
  29. package/dist/esm/api.d.ts +2 -1
  30. package/dist/esm/api.js +2 -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 +1 -1
  42. package/dist/esm/models/award-registered-response-dto.js +1 -1
  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 +3 -3
  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 +1 -1
  54. package/dist/esm/models/bid-failed-response-dto.js +1 -1
  55. package/dist/esm/models/bid-failure-reason.d.ts +1 -1
  56. package/dist/esm/models/bid-failure-reason.js +1 -1
  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 +3 -3
  70. package/dist/esm/models/bid-results-batch-request-dto.js +1 -1
  71. package/dist/esm/models/bid-results-response-dto.d.ts +1 -1
  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/complete-acceptance-request-dto.d.ts +1 -1
  82. package/dist/esm/models/complete-acceptance-request-dto.js +1 -1
  83. package/dist/esm/models/contract-document-item-dto.d.ts +1 -1
  84. package/dist/esm/models/contract-document-item-dto.js +1 -1
  85. package/dist/esm/models/create-bid-request-dto.d.ts +1 -1
  86. package/dist/esm/models/create-bid-request-dto.js +1 -1
  87. package/dist/esm/models/file-uploaded-response-dto.d.ts +1 -1
  88. package/dist/esm/models/file-uploaded-response-dto.js +1 -1
  89. package/dist/esm/models/health-response-dto.d.ts +1 -1
  90. package/dist/esm/models/health-response-dto.js +1 -1
  91. package/dist/esm/models/hierarchical-region-dto.d.ts +1 -1
  92. package/dist/esm/models/hierarchical-region-dto.js +1 -1
  93. package/dist/esm/models/mark-bid-failed-request-dto.d.ts +1 -1
  94. package/dist/esm/models/mark-bid-failed-request-dto.js +1 -1
  95. package/dist/esm/models/negotiation-score-dto.d.ts +1 -1
  96. package/dist/esm/models/negotiation-score-dto.js +1 -1
  97. package/dist/esm/models/negotiation-scored-response-dto.d.ts +1 -1
  98. package/dist/esm/models/negotiation-scored-response-dto.js +1 -1
  99. package/dist/esm/models/preconditions-dto.d.ts +1 -1
  100. package/dist/esm/models/preconditions-dto.js +1 -1
  101. package/dist/esm/models/problem-details-dto.d.ts +1 -1
  102. package/dist/esm/models/problem-details-dto.js +1 -1
  103. package/dist/esm/models/register-award-request-dto.d.ts +1 -1
  104. package/dist/esm/models/register-award-request-dto.js +1 -1
  105. package/dist/esm/models/request-split-invoice-request-dto.d.ts +1 -1
  106. package/dist/esm/models/request-split-invoice-request-dto.js +1 -1
  107. package/dist/esm/models/split-invoice-response-dto.d.ts +1 -1
  108. package/dist/esm/models/split-invoice-response-dto.js +1 -1
  109. package/dist/esm/models/statement-document-dto.d.ts +1 -1
  110. package/dist/esm/models/statement-document-dto.js +1 -1
  111. package/dist/esm/models/statement-product-dto.d.ts +1 -1
  112. package/dist/esm/models/statement-product-dto.js +1 -1
  113. package/dist/esm/models/submit-negotiation-scores-request-dto.d.ts +1 -1
  114. package/dist/esm/models/submit-negotiation-scores-request-dto.js +1 -1
  115. package/dist/esm/models/token-request-dto.d.ts +1 -1
  116. package/dist/esm/models/token-request-dto.js +1 -1
  117. package/dist/esm/models/token-response-dto.d.ts +1 -1
  118. package/dist/esm/models/token-response-dto.js +1 -1
  119. package/dist/esm/models/upload-file-request-dto.d.ts +1 -1
  120. package/dist/esm/models/upload-file-request-dto.js +1 -1
  121. package/dist/index.d.ts +1 -1
  122. package/dist/index.js +1 -1
  123. package/dist/models/acceptance-result-response-dto.d.ts +1 -1
  124. package/dist/models/acceptance-result-response-dto.js +1 -1
  125. package/dist/models/award-registered-response-dto.d.ts +1 -1
  126. package/dist/models/award-registered-response-dto.js +1 -1
  127. package/dist/models/bid-bond-dto.d.ts +1 -1
  128. package/dist/models/bid-bond-dto.js +1 -1
  129. package/dist/models/bid-contract-documents-batch-request-dto.d.ts +3 -3
  130. package/dist/models/bid-contract-documents-batch-request-dto.js +1 -1
  131. package/dist/models/bid-contract-documents-response-dto.d.ts +1 -1
  132. package/dist/models/bid-contract-documents-response-dto.js +1 -1
  133. package/dist/models/bid-created-response-dto.d.ts +1 -1
  134. package/dist/models/bid-created-response-dto.js +1 -1
  135. package/dist/models/bid-document-dto.d.ts +1 -1
  136. package/dist/models/bid-document-dto.js +1 -1
  137. package/dist/models/bid-failed-response-dto.d.ts +1 -1
  138. package/dist/models/bid-failed-response-dto.js +1 -1
  139. package/dist/models/bid-failure-reason.d.ts +1 -1
  140. package/dist/models/bid-failure-reason.js +1 -1
  141. package/dist/models/bid-item-dto.d.ts +1 -1
  142. package/dist/models/bid-item-dto.js +1 -1
  143. package/dist/models/bid-manager-dto.d.ts +1 -1
  144. package/dist/models/bid-manager-dto.js +1 -1
  145. package/dist/models/bid-result-participant-attachment-dto.d.ts +1 -1
  146. package/dist/models/bid-result-participant-attachment-dto.js +1 -1
  147. package/dist/models/bid-result-participant-dto.d.ts +1 -1
  148. package/dist/models/bid-result-participant-dto.js +1 -1
  149. package/dist/models/bid-result-product-dto.d.ts +1 -1
  150. package/dist/models/bid-result-product-dto.js +1 -1
  151. package/dist/models/bid-result-winner-dto.d.ts +1 -1
  152. package/dist/models/bid-result-winner-dto.js +1 -1
  153. package/dist/models/bid-results-batch-request-dto.d.ts +3 -3
  154. package/dist/models/bid-results-batch-request-dto.js +1 -1
  155. package/dist/models/bid-results-response-dto.d.ts +1 -1
  156. package/dist/models/bid-results-response-dto.js +1 -1
  157. package/dist/models/bid-settlement-line-item-dto.d.ts +1 -1
  158. package/dist/models/bid-settlement-line-item-dto.js +1 -1
  159. package/dist/models/bid-settlement-participant-dto.d.ts +1 -1
  160. package/dist/models/bid-settlement-participant-dto.js +1 -1
  161. package/dist/models/bid-settlement-response-dto.d.ts +1 -1
  162. package/dist/models/bid-settlement-response-dto.js +1 -1
  163. package/dist/models/bid-statement-response-dto.d.ts +1 -1
  164. package/dist/models/bid-statement-response-dto.js +1 -1
  165. package/dist/models/complete-acceptance-request-dto.d.ts +1 -1
  166. package/dist/models/complete-acceptance-request-dto.js +1 -1
  167. package/dist/models/contract-document-item-dto.d.ts +1 -1
  168. package/dist/models/contract-document-item-dto.js +1 -1
  169. package/dist/models/create-bid-request-dto.d.ts +1 -1
  170. package/dist/models/create-bid-request-dto.js +1 -1
  171. package/dist/models/file-uploaded-response-dto.d.ts +1 -1
  172. package/dist/models/file-uploaded-response-dto.js +1 -1
  173. package/dist/models/health-response-dto.d.ts +1 -1
  174. package/dist/models/health-response-dto.js +1 -1
  175. package/dist/models/hierarchical-region-dto.d.ts +1 -1
  176. package/dist/models/hierarchical-region-dto.js +1 -1
  177. package/dist/models/mark-bid-failed-request-dto.d.ts +1 -1
  178. package/dist/models/mark-bid-failed-request-dto.js +1 -1
  179. package/dist/models/negotiation-score-dto.d.ts +1 -1
  180. package/dist/models/negotiation-score-dto.js +1 -1
  181. package/dist/models/negotiation-scored-response-dto.d.ts +1 -1
  182. package/dist/models/negotiation-scored-response-dto.js +1 -1
  183. package/dist/models/preconditions-dto.d.ts +1 -1
  184. package/dist/models/preconditions-dto.js +1 -1
  185. package/dist/models/problem-details-dto.d.ts +1 -1
  186. package/dist/models/problem-details-dto.js +1 -1
  187. package/dist/models/register-award-request-dto.d.ts +1 -1
  188. package/dist/models/register-award-request-dto.js +1 -1
  189. package/dist/models/request-split-invoice-request-dto.d.ts +1 -1
  190. package/dist/models/request-split-invoice-request-dto.js +1 -1
  191. package/dist/models/split-invoice-response-dto.d.ts +1 -1
  192. package/dist/models/split-invoice-response-dto.js +1 -1
  193. package/dist/models/statement-document-dto.d.ts +1 -1
  194. package/dist/models/statement-document-dto.js +1 -1
  195. package/dist/models/statement-product-dto.d.ts +1 -1
  196. package/dist/models/statement-product-dto.js +1 -1
  197. package/dist/models/submit-negotiation-scores-request-dto.d.ts +1 -1
  198. package/dist/models/submit-negotiation-scores-request-dto.js +1 -1
  199. package/dist/models/token-request-dto.d.ts +1 -1
  200. package/dist/models/token-request-dto.js +1 -1
  201. package/dist/models/token-response-dto.d.ts +1 -1
  202. package/dist/models/token-response-dto.js +1 -1
  203. package/dist/models/upload-file-request-dto.d.ts +1 -1
  204. package/dist/models/upload-file-request-dto.js +1 -1
  205. package/docs/BidContractDocumentsBatchRequestDto.md +1 -1
  206. package/docs/BidResultsBatchRequestDto.md +1 -1
  207. package/docs/OauthApi.md +1 -1
  208. package/docs/PartnerV1Api.md +61 -413
  209. package/docs/PartnerV2Api.md +789 -0
  210. package/index.ts +1 -1
  211. package/models/acceptance-result-response-dto.ts +1 -1
  212. package/models/award-registered-response-dto.ts +1 -1
  213. package/models/bid-bond-dto.ts +1 -1
  214. package/models/bid-contract-documents-batch-request-dto.ts +3 -3
  215. package/models/bid-contract-documents-response-dto.ts +1 -1
  216. package/models/bid-created-response-dto.ts +1 -1
  217. package/models/bid-document-dto.ts +1 -1
  218. package/models/bid-failed-response-dto.ts +1 -1
  219. package/models/bid-failure-reason.ts +1 -1
  220. package/models/bid-item-dto.ts +1 -1
  221. package/models/bid-manager-dto.ts +1 -1
  222. package/models/bid-result-participant-attachment-dto.ts +1 -1
  223. package/models/bid-result-participant-dto.ts +1 -1
  224. package/models/bid-result-product-dto.ts +1 -1
  225. package/models/bid-result-winner-dto.ts +1 -1
  226. package/models/bid-results-batch-request-dto.ts +3 -3
  227. package/models/bid-results-response-dto.ts +1 -1
  228. package/models/bid-settlement-line-item-dto.ts +1 -1
  229. package/models/bid-settlement-participant-dto.ts +1 -1
  230. package/models/bid-settlement-response-dto.ts +1 -1
  231. package/models/bid-statement-response-dto.ts +1 -1
  232. package/models/complete-acceptance-request-dto.ts +1 -1
  233. package/models/contract-document-item-dto.ts +1 -1
  234. package/models/create-bid-request-dto.ts +1 -1
  235. package/models/file-uploaded-response-dto.ts +1 -1
  236. package/models/health-response-dto.ts +1 -1
  237. package/models/hierarchical-region-dto.ts +1 -1
  238. package/models/mark-bid-failed-request-dto.ts +1 -1
  239. package/models/negotiation-score-dto.ts +1 -1
  240. package/models/negotiation-scored-response-dto.ts +1 -1
  241. package/models/preconditions-dto.ts +1 -1
  242. package/models/problem-details-dto.ts +1 -1
  243. package/models/register-award-request-dto.ts +1 -1
  244. package/models/request-split-invoice-request-dto.ts +1 -1
  245. package/models/split-invoice-response-dto.ts +1 -1
  246. package/models/statement-document-dto.ts +1 -1
  247. package/models/statement-product-dto.ts +1 -1
  248. package/models/submit-negotiation-scores-request-dto.ts +1 -1
  249. package/models/token-request-dto.ts +1 -1
  250. package/models/token-response-dto.ts +1 -1
  251. package/models/upload-file-request-dto.ts +1 -1
  252. 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.
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) 포함.
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
9
  *
@@ -35,21 +35,18 @@ const base_1 = require("../base");
35
35
  const PartnerV1ApiAxiosParamCreator = function (configuration) {
36
36
  return {
37
37
  /**
38
- * 낙찰 공고의 검수(납품 검수)가 완료되었음을 기록합니다. **V5 대응:** `acceptanceCompleteSend` — BidApi.xml `acceptanceComplete` 액션의 V6 후속. **호출 시점:** 낙찰자(공급사)가 납품을 완료하고 구매자가 검수를 확인한 시점. 공고 상태가 낙찰(AWARDED) 상태여야 합니다. **부수효과:** - 검수완료 상태가 기록됩니다. - 거래명세서·검수보고서에 찍힐 구매사 사업자정보·담당자·작성일자를 함께 override할 수 있습니다(선택 필드). 비어있지 않은 값만 backend 가 `b2b_buy`에 stamp합니다(V5 taxbill UPDATE 조건부 set 패리티). - 응답은 204가 아닌 200입니다 — 멱등성 인터셉터가 구체 바디를 캐시하고 SDK 가 타입드 응답을 필요로 하기 때문. **낙찰자 식별:** `winnerMemberId`(공급사 memberId). 내부 joinSeq 해소는 backend 처리합니다. **필수 스코프:** `contracts:write` **멱등성:** `Idempotency-Key` 헤더 필수.
39
- * @summary 검수완료 전송
40
- * @param {string} bidId 공고 ID(&#x3D; backend bidId &#x3D; 등록 응답의 bidNo).
41
- * @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
38
+ * V5 `/acceptanceCompleteSend` 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId group_code 자동 결정.
39
+ * @summary 검수완료 전송 — V5 충실
40
+ * @param {string} bidId
42
41
  * @param {CompleteAcceptanceRequestDto} completeAcceptanceRequestDto
43
42
  * @param {*} [options] Override http request option.
44
43
  * @throws {RequiredError}
45
44
  */
46
- completeAcceptance: (bidId_1, idempotencyKey_1, completeAcceptanceRequestDto_1, ...args_1) => __awaiter(this, [bidId_1, idempotencyKey_1, completeAcceptanceRequestDto_1, ...args_1], void 0, function* (bidId, idempotencyKey, completeAcceptanceRequestDto, options = {}) {
45
+ v1CompleteAcceptance: (bidId_1, completeAcceptanceRequestDto_1, ...args_1) => __awaiter(this, [bidId_1, completeAcceptanceRequestDto_1, ...args_1], void 0, function* (bidId, completeAcceptanceRequestDto, options = {}) {
47
46
  // verify required parameter 'bidId' is not null or undefined
48
- (0, common_1.assertParamExists)('completeAcceptance', 'bidId', bidId);
49
- // verify required parameter 'idempotencyKey' is not null or undefined
50
- (0, common_1.assertParamExists)('completeAcceptance', 'idempotencyKey', idempotencyKey);
47
+ (0, common_1.assertParamExists)('v1CompleteAcceptance', 'bidId', bidId);
51
48
  // verify required parameter 'completeAcceptanceRequestDto' is not null or undefined
52
- (0, common_1.assertParamExists)('completeAcceptance', 'completeAcceptanceRequestDto', completeAcceptanceRequestDto);
49
+ (0, common_1.assertParamExists)('v1CompleteAcceptance', 'completeAcceptanceRequestDto', completeAcceptanceRequestDto);
53
50
  const localVarPath = `/v1/bids/{bidId}/acceptance`
54
51
  .replace('{bidId}', encodeURIComponent(String(bidId)));
55
52
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -61,14 +58,11 @@ const PartnerV1ApiAxiosParamCreator = function (configuration) {
61
58
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
62
59
  const localVarHeaderParameter = {};
63
60
  const localVarQueryParameter = {};
64
- // authentication partner-oauth2 required
65
- // http bearer authentication required
66
- yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
61
+ // authentication platform-auth required
62
+ // http basic authentication required
63
+ (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
67
64
  localVarHeaderParameter['Content-Type'] = 'application/json';
68
65
  localVarHeaderParameter['Accept'] = 'application/json';
69
- if (idempotencyKey != null) {
70
- localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey);
71
- }
72
66
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
73
67
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
74
68
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -79,54 +73,15 @@ const PartnerV1ApiAxiosParamCreator = function (configuration) {
79
73
  };
80
74
  }),
81
75
  /**
82
- * V5 /contractDocumentRec 후속. scope contracts:read.
83
- * @summary 계약서류 수신 조회
84
- * @param {string} bidId
85
- * @param {string} buyerId 공고 명의 회원 ID(b2b_member.member_id).
86
- * @param {*} [options] Override http request option.
87
- * @throws {RequiredError}
88
- */
89
- getBidContractDocuments: (bidId_1, buyerId_1, ...args_1) => __awaiter(this, [bidId_1, buyerId_1, ...args_1], void 0, function* (bidId, buyerId, options = {}) {
90
- // verify required parameter 'bidId' is not null or undefined
91
- (0, common_1.assertParamExists)('getBidContractDocuments', 'bidId', bidId);
92
- // verify required parameter 'buyerId' is not null or undefined
93
- (0, common_1.assertParamExists)('getBidContractDocuments', 'buyerId', buyerId);
94
- const localVarPath = `/v1/bids/{bidId}/contract-documents`
95
- .replace('{bidId}', encodeURIComponent(String(bidId)));
96
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
97
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
98
- let baseOptions;
99
- if (configuration) {
100
- baseOptions = configuration.baseOptions;
101
- }
102
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
103
- const localVarHeaderParameter = {};
104
- const localVarQueryParameter = {};
105
- // authentication partner-oauth2 required
106
- // http bearer authentication required
107
- yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
108
- if (buyerId !== undefined) {
109
- localVarQueryParameter['buyerId'] = buyerId;
110
- }
111
- localVarHeaderParameter['Accept'] = 'application/json';
112
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
113
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
114
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
115
- return {
116
- url: (0, common_1.toPathString)(localVarUrlObj),
117
- options: localVarRequestOptions,
118
- };
119
- }),
120
- /**
121
- * V5 /contractDocumentRec(bid_puchase_no_list) 후속. 공고번호 리스트를 한 번에 조회. 단건(GET :bidId/contract-documents)은 그대로 유지. scope contracts:read.
122
- * @summary 계약서류 수신 배치 조회
76
+ * V5 `/contractDocumentRec`(bid_puchase_no_list) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
77
+ * @summary 계약서류 수신 배치 조회 — V5 충실
123
78
  * @param {BidContractDocumentsBatchRequestDto} bidContractDocumentsBatchRequestDto
124
79
  * @param {*} [options] Override http request option.
125
80
  * @throws {RequiredError}
126
81
  */
127
- getBidContractDocumentsBatch: (bidContractDocumentsBatchRequestDto_1, ...args_1) => __awaiter(this, [bidContractDocumentsBatchRequestDto_1, ...args_1], void 0, function* (bidContractDocumentsBatchRequestDto, options = {}) {
82
+ v1GetBidContractDocumentsBatch: (bidContractDocumentsBatchRequestDto_1, ...args_1) => __awaiter(this, [bidContractDocumentsBatchRequestDto_1, ...args_1], void 0, function* (bidContractDocumentsBatchRequestDto, options = {}) {
128
83
  // verify required parameter 'bidContractDocumentsBatchRequestDto' is not null or undefined
129
- (0, common_1.assertParamExists)('getBidContractDocumentsBatch', 'bidContractDocumentsBatchRequestDto', bidContractDocumentsBatchRequestDto);
84
+ (0, common_1.assertParamExists)('v1GetBidContractDocumentsBatch', 'bidContractDocumentsBatchRequestDto', bidContractDocumentsBatchRequestDto);
130
85
  const localVarPath = `/v1/bids/contract-documents/batch`;
131
86
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
132
87
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -137,9 +92,9 @@ const PartnerV1ApiAxiosParamCreator = function (configuration) {
137
92
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
138
93
  const localVarHeaderParameter = {};
139
94
  const localVarQueryParameter = {};
140
- // authentication partner-oauth2 required
141
- // http bearer authentication required
142
- yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
95
+ // authentication platform-auth required
96
+ // http basic authentication required
97
+ (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
143
98
  localVarHeaderParameter['Content-Type'] = 'application/json';
144
99
  localVarHeaderParameter['Accept'] = 'application/json';
145
100
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
@@ -152,54 +107,15 @@ const PartnerV1ApiAxiosParamCreator = function (configuration) {
152
107
  };
153
108
  }),
154
109
  /**
155
- * V5 /entendrec 후속. scope bids:read.
156
- * @summary 입찰 결과 조회
157
- * @param {string} bidId
158
- * @param {string} buyerId 공고 명의 회원 ID (멀티테넌트 가시성 키).
159
- * @param {*} [options] Override http request option.
160
- * @throws {RequiredError}
161
- */
162
- getBidResults: (bidId_1, buyerId_1, ...args_1) => __awaiter(this, [bidId_1, buyerId_1, ...args_1], void 0, function* (bidId, buyerId, options = {}) {
163
- // verify required parameter 'bidId' is not null or undefined
164
- (0, common_1.assertParamExists)('getBidResults', 'bidId', bidId);
165
- // verify required parameter 'buyerId' is not null or undefined
166
- (0, common_1.assertParamExists)('getBidResults', 'buyerId', buyerId);
167
- const localVarPath = `/v1/bids/{bidId}/results`
168
- .replace('{bidId}', encodeURIComponent(String(bidId)));
169
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
170
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
171
- let baseOptions;
172
- if (configuration) {
173
- baseOptions = configuration.baseOptions;
174
- }
175
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
176
- const localVarHeaderParameter = {};
177
- const localVarQueryParameter = {};
178
- // authentication partner-oauth2 required
179
- // http bearer authentication required
180
- yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
181
- if (buyerId !== undefined) {
182
- localVarQueryParameter['buyerId'] = buyerId;
183
- }
184
- localVarHeaderParameter['Accept'] = 'application/json';
185
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
186
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
187
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
188
- return {
189
- url: (0, common_1.toPathString)(localVarUrlObj),
190
- options: localVarRequestOptions,
191
- };
192
- }),
193
- /**
194
- * V5 entendRec(bid_puchase_no_list) 후속 — 여러 공고 결과를 1회 호출로(additive, 단건 유지). bidIds(공고 식별자) 또는 purchaseNos(구매번호) 중 하나 — purchaseNos 는 각 PO 의 가장 최근 공고로 해소. 입력 순서를 보존한다. scope bids:read.
195
- * @summary 입찰결과 배치 조회
110
+ * V5 `/entendRec`(bid_puchase_no_list) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId 는 group_code 로 자동 결정. resolveBidId 도 이 엔드포인트를 사용한다.
111
+ * @summary 입찰결과 배치 조회 — V5 충실
196
112
  * @param {BidResultsBatchRequestDto} bidResultsBatchRequestDto
197
113
  * @param {*} [options] Override http request option.
198
114
  * @throws {RequiredError}
199
115
  */
200
- getBidResultsBatch: (bidResultsBatchRequestDto_1, ...args_1) => __awaiter(this, [bidResultsBatchRequestDto_1, ...args_1], void 0, function* (bidResultsBatchRequestDto, options = {}) {
116
+ v1GetBidResultsBatch: (bidResultsBatchRequestDto_1, ...args_1) => __awaiter(this, [bidResultsBatchRequestDto_1, ...args_1], void 0, function* (bidResultsBatchRequestDto, options = {}) {
201
117
  // verify required parameter 'bidResultsBatchRequestDto' is not null or undefined
202
- (0, common_1.assertParamExists)('getBidResultsBatch', 'bidResultsBatchRequestDto', bidResultsBatchRequestDto);
118
+ (0, common_1.assertParamExists)('v1GetBidResultsBatch', 'bidResultsBatchRequestDto', bidResultsBatchRequestDto);
203
119
  const localVarPath = `/v1/bids/results/batch`;
204
120
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
205
121
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -210,9 +126,9 @@ const PartnerV1ApiAxiosParamCreator = function (configuration) {
210
126
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
211
127
  const localVarHeaderParameter = {};
212
128
  const localVarQueryParameter = {};
213
- // authentication partner-oauth2 required
214
- // http bearer authentication required
215
- yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
129
+ // authentication platform-auth required
130
+ // http basic authentication required
131
+ (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
216
132
  localVarHeaderParameter['Content-Type'] = 'application/json';
217
133
  localVarHeaderParameter['Accept'] = 'application/json';
218
134
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
@@ -225,51 +141,18 @@ const PartnerV1ApiAxiosParamCreator = function (configuration) {
225
141
  };
226
142
  }),
227
143
  /**
228
- * V5 /entendrec 정산(사업자·계좌·공급가액/부가세·응찰 품목내역) 후속. scope bids:read. 가격/신원 가시성 매트릭스와 직교한 ERP 정산 데이터 — read-only.
229
- * @summary 입찰결과 정산정보 조회
230
- * @param {string} bidId
231
- * @param {*} [options] Override http request option.
232
- * @throws {RequiredError}
233
- */
234
- getBidSettlement: (bidId_1, ...args_1) => __awaiter(this, [bidId_1, ...args_1], void 0, function* (bidId, options = {}) {
235
- // verify required parameter 'bidId' is not null or undefined
236
- (0, common_1.assertParamExists)('getBidSettlement', 'bidId', bidId);
237
- const localVarPath = `/v1/bids/{bidId}/settlement`
238
- .replace('{bidId}', encodeURIComponent(String(bidId)));
239
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
240
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
241
- let baseOptions;
242
- if (configuration) {
243
- baseOptions = configuration.baseOptions;
244
- }
245
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
246
- const localVarHeaderParameter = {};
247
- const localVarQueryParameter = {};
248
- // authentication partner-oauth2 required
249
- // http bearer authentication required
250
- yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
251
- localVarHeaderParameter['Accept'] = 'application/json';
252
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
253
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
254
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
255
- return {
256
- url: (0, common_1.toPathString)(localVarUrlObj),
257
- options: localVarRequestOptions,
258
- };
259
- }),
260
- /**
261
- * V5 /getGrm 후속. scope contracts:read.
262
- * @summary 거래명세서 조회
144
+ * V5 `/getGrm` 후속. 인증 = body `ID`/`Secret`(cate_set). group_code 스코프로 가시성 적용.
145
+ * @summary 거래명세서 조회 — V5 충실
263
146
  * @param {string} bidId
264
147
  * @param {number} paperCode
265
148
  * @param {*} [options] Override http request option.
266
149
  * @throws {RequiredError}
267
150
  */
268
- getBidStatement: (bidId_1, paperCode_1, ...args_1) => __awaiter(this, [bidId_1, paperCode_1, ...args_1], void 0, function* (bidId, paperCode, options = {}) {
151
+ v1GetBidStatement: (bidId_1, paperCode_1, ...args_1) => __awaiter(this, [bidId_1, paperCode_1, ...args_1], void 0, function* (bidId, paperCode, options = {}) {
269
152
  // verify required parameter 'bidId' is not null or undefined
270
- (0, common_1.assertParamExists)('getBidStatement', 'bidId', bidId);
153
+ (0, common_1.assertParamExists)('v1GetBidStatement', 'bidId', bidId);
271
154
  // verify required parameter 'paperCode' is not null or undefined
272
- (0, common_1.assertParamExists)('getBidStatement', 'paperCode', paperCode);
155
+ (0, common_1.assertParamExists)('v1GetBidStatement', 'paperCode', paperCode);
273
156
  const localVarPath = `/v1/bids/{bidId}/statement`
274
157
  .replace('{bidId}', encodeURIComponent(String(bidId)));
275
158
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -281,9 +164,9 @@ const PartnerV1ApiAxiosParamCreator = function (configuration) {
281
164
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
282
165
  const localVarHeaderParameter = {};
283
166
  const localVarQueryParameter = {};
284
- // authentication partner-oauth2 required
285
- // http bearer authentication required
286
- yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
167
+ // authentication platform-auth required
168
+ // http basic authentication required
169
+ (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
287
170
  if (paperCode !== undefined) {
288
171
  localVarQueryParameter['paperCode'] = paperCode;
289
172
  }
@@ -297,44 +180,15 @@ const PartnerV1ApiAxiosParamCreator = function (configuration) {
297
180
  };
298
181
  }),
299
182
  /**
300
- * ERP 연동 직전 회선·인증 endpoint 동작 확인용.
301
- * @summary Partner API 헬스체크
302
- * @param {*} [options] Override http request option.
303
- * @throws {RequiredError}
304
- */
305
- healthControllerCheck: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
306
- const localVarPath = `/v1/health`;
307
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
308
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
309
- let baseOptions;
310
- if (configuration) {
311
- baseOptions = configuration.baseOptions;
312
- }
313
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
314
- const localVarHeaderParameter = {};
315
- const localVarQueryParameter = {};
316
- localVarHeaderParameter['Accept'] = 'application/json';
317
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
318
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
319
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
320
- return {
321
- url: (0, common_1.toPathString)(localVarUrlObj),
322
- options: localVarRequestOptions,
323
- };
324
- }),
325
- /**
326
- * 공고를 유찰 상태로 전환합니다. **V5 대응:** `scsbidSend`(type=U, 유찰) — BidApi.xml `yoochal` 액션의 V6 후속. **호출 시점:** 입찰 마감 후 유찰 사유가 확정되었을 때. 공고 상태가 입찰완료(마감)인 상태에서 호출해야 합니다. **부수효과:** - 공고 상태가 유찰(FAILED)로 전환됩니다. - 유찰사유 코드(V5 `b2b_buy.sayou`)와 상세(V5 `b2b_buy.sa_desc`)가 기록됩니다. **유찰사유 코드 목록(BidFailureReason):** | 코드 | 의미 | |------|------| | `1` | 예정가격 초과 | | `2` | 자격 미달 | | `3` | 전문성 필요 | | `4` | 기타 (`failureReasonDetail` 필수) | | `5` | 참가자 없음 | | `6` | 단독 참가 | | `7` | 2인 미만 | | `8` | 최저가 미달 | **필수 스코프:** `awards:write` **멱등성:** `Idempotency-Key` 헤더 필수.
327
- * @summary 유찰 처리
328
- * @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
183
+ * V5 `scsbidSend`(type=U) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
184
+ * @summary 유찰 처리 — V5 충실
329
185
  * @param {MarkBidFailedRequestDto} markBidFailedRequestDto
330
186
  * @param {*} [options] Override http request option.
331
187
  * @throws {RequiredError}
332
188
  */
333
- markBidFailed: (idempotencyKey_1, markBidFailedRequestDto_1, ...args_1) => __awaiter(this, [idempotencyKey_1, markBidFailedRequestDto_1, ...args_1], void 0, function* (idempotencyKey, markBidFailedRequestDto, options = {}) {
334
- // verify required parameter 'idempotencyKey' is not null or undefined
335
- (0, common_1.assertParamExists)('markBidFailed', 'idempotencyKey', idempotencyKey);
189
+ v1MarkBidFailed: (markBidFailedRequestDto_1, ...args_1) => __awaiter(this, [markBidFailedRequestDto_1, ...args_1], void 0, function* (markBidFailedRequestDto, options = {}) {
336
190
  // verify required parameter 'markBidFailedRequestDto' is not null or undefined
337
- (0, common_1.assertParamExists)('markBidFailed', 'markBidFailedRequestDto', markBidFailedRequestDto);
191
+ (0, common_1.assertParamExists)('v1MarkBidFailed', 'markBidFailedRequestDto', markBidFailedRequestDto);
338
192
  const localVarPath = `/v1/awards/fail`;
339
193
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
340
194
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -345,14 +199,11 @@ const PartnerV1ApiAxiosParamCreator = function (configuration) {
345
199
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
346
200
  const localVarHeaderParameter = {};
347
201
  const localVarQueryParameter = {};
348
- // authentication partner-oauth2 required
349
- // http bearer authentication required
350
- yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
202
+ // authentication platform-auth required
203
+ // http basic authentication required
204
+ (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
351
205
  localVarHeaderParameter['Content-Type'] = 'application/json';
352
206
  localVarHeaderParameter['Accept'] = 'application/json';
353
- if (idempotencyKey != null) {
354
- localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey);
355
- }
356
207
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
357
208
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
358
209
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -363,51 +214,15 @@ const PartnerV1ApiAxiosParamCreator = function (configuration) {
363
214
  };
364
215
  }),
365
216
  /**
366
- * V5↔V6 응답 비교 불일치(verdict) 적재한다. scope parity:write. V5 cutover 제거 예정(한시적 계약).
367
- * @summary V5→V6 마이그레이션 패리티 결과 기록
368
- * @param {object} body
369
- * @param {*} [options] Override http request option.
370
- * @throws {RequiredError}
371
- */
372
- recordParityResult: (body_1, ...args_1) => __awaiter(this, [body_1, ...args_1], void 0, function* (body, options = {}) {
373
- // verify required parameter 'body' is not null or undefined
374
- (0, common_1.assertParamExists)('recordParityResult', 'body', body);
375
- const localVarPath = `/v1/parity-results`;
376
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
377
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
378
- let baseOptions;
379
- if (configuration) {
380
- baseOptions = configuration.baseOptions;
381
- }
382
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
383
- const localVarHeaderParameter = {};
384
- const localVarQueryParameter = {};
385
- // authentication partner-oauth2 required
386
- // http bearer authentication required
387
- yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
388
- localVarHeaderParameter['Content-Type'] = 'application/json';
389
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
390
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
391
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
392
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
393
- return {
394
- url: (0, common_1.toPathString)(localVarUrlObj),
395
- options: localVarRequestOptions,
396
- };
397
- }),
398
- /**
399
- * 낙찰 결과를 등록하고 공고를 낙찰 상태로 전환합니다. **V5 대응:** `scsbidSend`(type=W, 낙찰) — BidApi.xml `selectWinner` 액션의 V6 후속. **호출 시점:** 입찰 마감 후 낙찰자가 확정되었을 때. 공고 상태가 입찰완료(마감)인 상태에서 호출해야 합니다. **부수효과:** - 공고 상태가 낙찰(AWARDED)로 전환됩니다. - 낙찰자(공급사) 응찰행이 낙찰 처리됩니다. - 협상 방식(H/K)은 이 엔드포인트 전에 `/v1/awards/nego-eval`로 평가 완료가 필요합니다. **필수 스코프:** `awards:write` **멱등성:** `Idempotency-Key` 헤더 필수. 동일 키 + 동일 body 재전송 시 24시간 내 캐시 응답 반환.
400
- * @summary 낙찰 결과 전송
401
- * @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
217
+ * V5 `scsbidSend`(type=W) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId group_code 자동 결정.
218
+ * @summary 낙찰 결과 전송 V5 충실
402
219
  * @param {RegisterAwardRequestDto} registerAwardRequestDto
403
220
  * @param {*} [options] Override http request option.
404
221
  * @throws {RequiredError}
405
222
  */
406
- registerAward: (idempotencyKey_1, registerAwardRequestDto_1, ...args_1) => __awaiter(this, [idempotencyKey_1, registerAwardRequestDto_1, ...args_1], void 0, function* (idempotencyKey, registerAwardRequestDto, options = {}) {
407
- // verify required parameter 'idempotencyKey' is not null or undefined
408
- (0, common_1.assertParamExists)('registerAward', 'idempotencyKey', idempotencyKey);
223
+ v1RegisterAward: (registerAwardRequestDto_1, ...args_1) => __awaiter(this, [registerAwardRequestDto_1, ...args_1], void 0, function* (registerAwardRequestDto, options = {}) {
409
224
  // verify required parameter 'registerAwardRequestDto' is not null or undefined
410
- (0, common_1.assertParamExists)('registerAward', 'registerAwardRequestDto', registerAwardRequestDto);
225
+ (0, common_1.assertParamExists)('v1RegisterAward', 'registerAwardRequestDto', registerAwardRequestDto);
411
226
  const localVarPath = `/v1/awards`;
412
227
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
413
228
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -418,14 +233,11 @@ const PartnerV1ApiAxiosParamCreator = function (configuration) {
418
233
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
419
234
  const localVarHeaderParameter = {};
420
235
  const localVarQueryParameter = {};
421
- // authentication partner-oauth2 required
422
- // http bearer authentication required
423
- yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
236
+ // authentication platform-auth required
237
+ // http basic authentication required
238
+ (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
424
239
  localVarHeaderParameter['Content-Type'] = 'application/json';
425
240
  localVarHeaderParameter['Accept'] = 'application/json';
426
- if (idempotencyKey != null) {
427
- localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey);
428
- }
429
241
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
430
242
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
431
243
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -436,15 +248,15 @@ const PartnerV1ApiAxiosParamCreator = function (configuration) {
436
248
  };
437
249
  }),
438
250
  /**
439
- * 입찰 정보 등록. 스코프 `bids:write` + `Idempotency-Key` 헤더 필수.
440
- * @summary 입찰 정보 전송(등록)
251
+ * V5 `scsbidSend`(type=B) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
252
+ * @summary 입찰 정보 전송(등록) — V5 충실
441
253
  * @param {CreateBidRequestDto} createBidRequestDto
442
254
  * @param {*} [options] Override http request option.
443
255
  * @throws {RequiredError}
444
256
  */
445
- registerBid: (createBidRequestDto_1, ...args_1) => __awaiter(this, [createBidRequestDto_1, ...args_1], void 0, function* (createBidRequestDto, options = {}) {
257
+ v1RegisterBid: (createBidRequestDto_1, ...args_1) => __awaiter(this, [createBidRequestDto_1, ...args_1], void 0, function* (createBidRequestDto, options = {}) {
446
258
  // verify required parameter 'createBidRequestDto' is not null or undefined
447
- (0, common_1.assertParamExists)('registerBid', 'createBidRequestDto', createBidRequestDto);
259
+ (0, common_1.assertParamExists)('v1RegisterBid', 'createBidRequestDto', createBidRequestDto);
448
260
  const localVarPath = `/v1/bids`;
449
261
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
450
262
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -455,9 +267,9 @@ const PartnerV1ApiAxiosParamCreator = function (configuration) {
455
267
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
456
268
  const localVarHeaderParameter = {};
457
269
  const localVarQueryParameter = {};
458
- // authentication partner-oauth2 required
459
- // http bearer authentication required
460
- yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
270
+ // authentication platform-auth required
271
+ // http basic authentication required
272
+ (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
461
273
  localVarHeaderParameter['Content-Type'] = 'application/json';
462
274
  localVarHeaderParameter['Accept'] = 'application/json';
463
275
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
@@ -470,18 +282,15 @@ const PartnerV1ApiAxiosParamCreator = function (configuration) {
470
282
  };
471
283
  }),
472
284
  /**
473
- * 세금계산서 분할 발급 청구를 기록합니다. 발급 엔진이 아니라 \"분할 발급 청구 요청을 접수\"하는 엔드포인트입니다. **V5 대응:** `splitInvoiceRequest` — BidApi.xml `splitInvoice` 액션의 V6 후속. **호출 시점:** 검수완료 세금계산서를 분할 발급받고자 할 때. 공급가액과 부가세를 나누어 청구합니다. **부수효과:** - 분할 발급 청구가 기록됩니다(실제 세금계산서 발급은 별도 프로세스). - 작성일자(`issueDate`)는 미래 일자 불가(I5 — V5 `PgBidApiService:220-235` 패리티). 오늘 날짜는 허용. - `issueDate` 미지정 시 backend 기본값 적용. **금액 단위:** 원(KRW) 정수. `supplyAmount`(공급가액) + `vat`(부가세) 합산이 실제 청구 총액. **필수 스코프:** `invoices:write` **멱등성:** `Idempotency-Key` 헤더 필수.
474
- * @summary 계산서 분할 발급 청구
475
- * @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
285
+ * V5 `splitInvoiceRequest` 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId group_code 자동 결정.
286
+ * @summary 계산서 분할 발급 청구 — V5 충실
476
287
  * @param {RequestSplitInvoiceRequestDto} requestSplitInvoiceRequestDto
477
288
  * @param {*} [options] Override http request option.
478
289
  * @throws {RequiredError}
479
290
  */
480
- requestSplitInvoice: (idempotencyKey_1, requestSplitInvoiceRequestDto_1, ...args_1) => __awaiter(this, [idempotencyKey_1, requestSplitInvoiceRequestDto_1, ...args_1], void 0, function* (idempotencyKey, requestSplitInvoiceRequestDto, options = {}) {
481
- // verify required parameter 'idempotencyKey' is not null or undefined
482
- (0, common_1.assertParamExists)('requestSplitInvoice', 'idempotencyKey', idempotencyKey);
291
+ v1RequestSplitInvoice: (requestSplitInvoiceRequestDto_1, ...args_1) => __awaiter(this, [requestSplitInvoiceRequestDto_1, ...args_1], void 0, function* (requestSplitInvoiceRequestDto, options = {}) {
483
292
  // verify required parameter 'requestSplitInvoiceRequestDto' is not null or undefined
484
- (0, common_1.assertParamExists)('requestSplitInvoice', 'requestSplitInvoiceRequestDto', requestSplitInvoiceRequestDto);
293
+ (0, common_1.assertParamExists)('v1RequestSplitInvoice', 'requestSplitInvoiceRequestDto', requestSplitInvoiceRequestDto);
485
294
  const localVarPath = `/v1/invoices/split-requests`;
486
295
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
487
296
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -492,14 +301,11 @@ const PartnerV1ApiAxiosParamCreator = function (configuration) {
492
301
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
493
302
  const localVarHeaderParameter = {};
494
303
  const localVarQueryParameter = {};
495
- // authentication partner-oauth2 required
496
- // http bearer authentication required
497
- yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
304
+ // authentication platform-auth required
305
+ // http basic authentication required
306
+ (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
498
307
  localVarHeaderParameter['Content-Type'] = 'application/json';
499
308
  localVarHeaderParameter['Accept'] = 'application/json';
500
- if (idempotencyKey != null) {
501
- localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey);
502
- }
503
309
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
504
310
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
505
311
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -510,18 +316,15 @@ const PartnerV1ApiAxiosParamCreator = function (configuration) {
510
316
  };
511
317
  }),
512
318
  /**
513
- * 협상에의한계약(낙찰방법 H/K) 응찰자별 기술/가격 점수를 일괄 입력합니다. **V5 대응:** `scsbidSend`(type=nego, 점수입력) — BidApi.xml `nego-eval` 액션의 V6 후속. **호출 시점:** 협상 방식 공고 마감 후 점수 평가를 진행할 때. `complete=true` 함께 보내면 평가완료 게이트(V5 `nego_complete_yn=Y`)까지 적용되어 낙찰 진입이 가능합니다. **부수효과:** - 각 응찰자의 기술점수(`techPoint`) 가격점수(`bidPoint`, 선택)가 저장됩니다. - `complete=true`인 경우 평가완료 상태로 전환되어 이후 `/v1/awards`로 낙찰 처리가 가능합니다. - 가격점수(`bidPoint`)를 생략하면 backend 가 배점 기준에 따라 자동 계산합니다. **응찰자 식별:** `sequence`(= V5 `buy_seq`, `entendrec` 응답의 `sequence` 필드). **필수 스코프:** `awards:write` **멱등성:** `Idempotency-Key` 헤더 필수.
514
- * @summary 협상(H/K) 점수평가
515
- * @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
319
+ * V5 `scsbidSend`(type=nego) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId group_code 자동 결정.
320
+ * @summary 협상(H/K) 점수평가 — V5 충실
516
321
  * @param {SubmitNegotiationScoresRequestDto} submitNegotiationScoresRequestDto
517
322
  * @param {*} [options] Override http request option.
518
323
  * @throws {RequiredError}
519
324
  */
520
- submitNegotiationScores: (idempotencyKey_1, submitNegotiationScoresRequestDto_1, ...args_1) => __awaiter(this, [idempotencyKey_1, submitNegotiationScoresRequestDto_1, ...args_1], void 0, function* (idempotencyKey, submitNegotiationScoresRequestDto, options = {}) {
521
- // verify required parameter 'idempotencyKey' is not null or undefined
522
- (0, common_1.assertParamExists)('submitNegotiationScores', 'idempotencyKey', idempotencyKey);
325
+ v1SubmitNegotiationScores: (submitNegotiationScoresRequestDto_1, ...args_1) => __awaiter(this, [submitNegotiationScoresRequestDto_1, ...args_1], void 0, function* (submitNegotiationScoresRequestDto, options = {}) {
523
326
  // verify required parameter 'submitNegotiationScoresRequestDto' is not null or undefined
524
- (0, common_1.assertParamExists)('submitNegotiationScores', 'submitNegotiationScoresRequestDto', submitNegotiationScoresRequestDto);
327
+ (0, common_1.assertParamExists)('v1SubmitNegotiationScores', 'submitNegotiationScoresRequestDto', submitNegotiationScoresRequestDto);
525
328
  const localVarPath = `/v1/awards/nego-eval`;
526
329
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
527
330
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -532,14 +335,11 @@ const PartnerV1ApiAxiosParamCreator = function (configuration) {
532
335
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
533
336
  const localVarHeaderParameter = {};
534
337
  const localVarQueryParameter = {};
535
- // authentication partner-oauth2 required
536
- // http bearer authentication required
537
- yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
338
+ // authentication platform-auth required
339
+ // http basic authentication required
340
+ (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
538
341
  localVarHeaderParameter['Content-Type'] = 'application/json';
539
342
  localVarHeaderParameter['Accept'] = 'application/json';
540
- if (idempotencyKey != null) {
541
- localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey);
542
- }
543
343
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
544
344
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
545
345
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -549,40 +349,6 @@ const PartnerV1ApiAxiosParamCreator = function (configuration) {
549
349
  options: localVarRequestOptions,
550
350
  };
551
351
  }),
552
- /**
553
- * 스코프 `files:write` + `Idempotency-Key` 헤더 필수. base64 또는 url 중 정확히 하나를 제출한다.
554
- * @summary 입찰 첨부파일 업로드(base64 또는 url) → fileKey
555
- * @param {UploadFileRequestDto} uploadFileRequestDto
556
- * @param {*} [options] Override http request option.
557
- * @throws {RequiredError}
558
- */
559
- uploadFile: (uploadFileRequestDto_1, ...args_1) => __awaiter(this, [uploadFileRequestDto_1, ...args_1], void 0, function* (uploadFileRequestDto, options = {}) {
560
- // verify required parameter 'uploadFileRequestDto' is not null or undefined
561
- (0, common_1.assertParamExists)('uploadFile', 'uploadFileRequestDto', uploadFileRequestDto);
562
- const localVarPath = `/v1/files`;
563
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
564
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
565
- let baseOptions;
566
- if (configuration) {
567
- baseOptions = configuration.baseOptions;
568
- }
569
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
570
- const localVarHeaderParameter = {};
571
- const localVarQueryParameter = {};
572
- // authentication partner-oauth2 required
573
- // http bearer authentication required
574
- yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
575
- localVarHeaderParameter['Content-Type'] = 'application/json';
576
- localVarHeaderParameter['Accept'] = 'application/json';
577
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
578
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
579
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
580
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(uploadFileRequestDto, localVarRequestOptions, configuration);
581
- return {
582
- url: (0, common_1.toPathString)(localVarUrlObj),
583
- options: localVarRequestOptions,
584
- };
585
- }),
586
352
  };
587
353
  };
588
354
  exports.PartnerV1ApiAxiosParamCreator = PartnerV1ApiAxiosParamCreator;
@@ -593,250 +359,148 @@ const PartnerV1ApiFp = function (configuration) {
593
359
  const localVarAxiosParamCreator = (0, exports.PartnerV1ApiAxiosParamCreator)(configuration);
594
360
  return {
595
361
  /**
596
- * 낙찰 공고의 검수(납품 검수)가 완료되었음을 기록합니다. **V5 대응:** `acceptanceCompleteSend` — BidApi.xml `acceptanceComplete` 액션의 V6 후속. **호출 시점:** 낙찰자(공급사)가 납품을 완료하고 구매자가 검수를 확인한 시점. 공고 상태가 낙찰(AWARDED) 상태여야 합니다. **부수효과:** - 검수완료 상태가 기록됩니다. - 거래명세서·검수보고서에 찍힐 구매사 사업자정보·담당자·작성일자를 함께 override할 수 있습니다(선택 필드). 비어있지 않은 값만 backend 가 `b2b_buy`에 stamp합니다(V5 taxbill UPDATE 조건부 set 패리티). - 응답은 204가 아닌 200입니다 — 멱등성 인터셉터가 구체 바디를 캐시하고 SDK 가 타입드 응답을 필요로 하기 때문. **낙찰자 식별:** `winnerMemberId`(공급사 memberId). 내부 joinSeq 해소는 backend 처리합니다. **필수 스코프:** `contracts:write` **멱등성:** `Idempotency-Key` 헤더 필수.
597
- * @summary 검수완료 전송
598
- * @param {string} bidId 공고 ID(&#x3D; backend bidId &#x3D; 등록 응답의 bidNo).
599
- * @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
600
- * @param {CompleteAcceptanceRequestDto} completeAcceptanceRequestDto
601
- * @param {*} [options] Override http request option.
602
- * @throws {RequiredError}
603
- */
604
- completeAcceptance(bidId, idempotencyKey, completeAcceptanceRequestDto, options) {
605
- return __awaiter(this, void 0, void 0, function* () {
606
- var _a, _b, _c;
607
- const localVarAxiosArgs = yield localVarAxiosParamCreator.completeAcceptance(bidId, idempotencyKey, completeAcceptanceRequestDto, options);
608
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
609
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PartnerV1Api.completeAcceptance']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
610
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
611
- });
612
- },
613
- /**
614
- * V5 /contractDocumentRec 후속. scope contracts:read.
615
- * @summary 계약서류 수신 조회
362
+ * V5 `/acceptanceCompleteSend` 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId group_code 자동 결정.
363
+ * @summary 검수완료 전송 — V5 충실
616
364
  * @param {string} bidId
617
- * @param {string} buyerId 공고 명의 회원 ID(b2b_member.member_id).
365
+ * @param {CompleteAcceptanceRequestDto} completeAcceptanceRequestDto
618
366
  * @param {*} [options] Override http request option.
619
367
  * @throws {RequiredError}
620
368
  */
621
- getBidContractDocuments(bidId, buyerId, options) {
369
+ v1CompleteAcceptance(bidId, completeAcceptanceRequestDto, options) {
622
370
  return __awaiter(this, void 0, void 0, function* () {
623
371
  var _a, _b, _c;
624
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getBidContractDocuments(bidId, buyerId, options);
372
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CompleteAcceptance(bidId, completeAcceptanceRequestDto, options);
625
373
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
626
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PartnerV1Api.getBidContractDocuments']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
374
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PartnerV1Api.v1CompleteAcceptance']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
627
375
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
628
376
  });
629
377
  },
630
378
  /**
631
- * V5 /contractDocumentRec(bid_puchase_no_list) 후속. 공고번호 리스트를 번에 조회. 단건(GET :bidId/contract-documents)은 그대로 유지. scope contracts:read.
632
- * @summary 계약서류 수신 배치 조회
379
+ * V5 `/contractDocumentRec`(bid_puchase_no_list) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId group_code 자동 결정.
380
+ * @summary 계약서류 수신 배치 조회 — V5 충실
633
381
  * @param {BidContractDocumentsBatchRequestDto} bidContractDocumentsBatchRequestDto
634
382
  * @param {*} [options] Override http request option.
635
383
  * @throws {RequiredError}
636
384
  */
637
- getBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto, options) {
638
- return __awaiter(this, void 0, void 0, function* () {
639
- var _a, _b, _c;
640
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto, options);
641
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
642
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PartnerV1Api.getBidContractDocumentsBatch']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
643
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
644
- });
645
- },
646
- /**
647
- * V5 /entendrec 후속. scope bids:read.
648
- * @summary 입찰 결과 조회
649
- * @param {string} bidId
650
- * @param {string} buyerId 공고 명의 회원 ID (멀티테넌트 가시성 키).
651
- * @param {*} [options] Override http request option.
652
- * @throws {RequiredError}
653
- */
654
- getBidResults(bidId, buyerId, options) {
385
+ v1GetBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto, options) {
655
386
  return __awaiter(this, void 0, void 0, function* () {
656
387
  var _a, _b, _c;
657
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getBidResults(bidId, buyerId, options);
388
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto, options);
658
389
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
659
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PartnerV1Api.getBidResults']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
390
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PartnerV1Api.v1GetBidContractDocumentsBatch']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
660
391
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
661
392
  });
662
393
  },
663
394
  /**
664
- * V5 entendRec(bid_puchase_no_list) 후속 여러 공고 결과를 1회 호출로(additive, 단건 유지). bidIds(공고 식별자) 또는 purchaseNos(구매번호) 중 하나 — purchaseNos PO 가장 최근 공고로 해소. 입력 순서를 보존한다. scope bids:read.
665
- * @summary 입찰결과 배치 조회
395
+ * V5 `/entendRec`(bid_puchase_no_list) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerIdgroup_code 자동 결정. resolveBidId 엔드포인트를 사용한다.
396
+ * @summary 입찰결과 배치 조회 — V5 충실
666
397
  * @param {BidResultsBatchRequestDto} bidResultsBatchRequestDto
667
398
  * @param {*} [options] Override http request option.
668
399
  * @throws {RequiredError}
669
400
  */
670
- getBidResultsBatch(bidResultsBatchRequestDto, options) {
401
+ v1GetBidResultsBatch(bidResultsBatchRequestDto, options) {
671
402
  return __awaiter(this, void 0, void 0, function* () {
672
403
  var _a, _b, _c;
673
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getBidResultsBatch(bidResultsBatchRequestDto, options);
404
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetBidResultsBatch(bidResultsBatchRequestDto, options);
674
405
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
675
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PartnerV1Api.getBidResultsBatch']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
406
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PartnerV1Api.v1GetBidResultsBatch']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
676
407
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
677
408
  });
678
409
  },
679
410
  /**
680
- * V5 /entendrec 정산(사업자·계좌·공급가액/부가세·응찰 품목내역) 후속. scope bids:read. 가격/신원 가시성 매트릭스와 직교한 ERP 정산 데이터 — read-only.
681
- * @summary 입찰결과 정산정보 조회
682
- * @param {string} bidId
683
- * @param {*} [options] Override http request option.
684
- * @throws {RequiredError}
685
- */
686
- getBidSettlement(bidId, options) {
687
- return __awaiter(this, void 0, void 0, function* () {
688
- var _a, _b, _c;
689
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getBidSettlement(bidId, options);
690
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
691
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PartnerV1Api.getBidSettlement']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
692
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
693
- });
694
- },
695
- /**
696
- * V5 /getGrm 후속. scope contracts:read.
697
- * @summary 거래명세서 조회
411
+ * V5 `/getGrm` 후속. 인증 = body `ID`/`Secret`(cate_set). group_code 스코프로 가시성 적용.
412
+ * @summary 거래명세서 조회 — V5 충실
698
413
  * @param {string} bidId
699
414
  * @param {number} paperCode
700
415
  * @param {*} [options] Override http request option.
701
416
  * @throws {RequiredError}
702
417
  */
703
- getBidStatement(bidId, paperCode, options) {
704
- return __awaiter(this, void 0, void 0, function* () {
705
- var _a, _b, _c;
706
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getBidStatement(bidId, paperCode, options);
707
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
708
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PartnerV1Api.getBidStatement']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
709
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
710
- });
711
- },
712
- /**
713
- * ERP 연동 직전 회선·인증 endpoint 동작 확인용.
714
- * @summary Partner API 헬스체크
715
- * @param {*} [options] Override http request option.
716
- * @throws {RequiredError}
717
- */
718
- healthControllerCheck(options) {
418
+ v1GetBidStatement(bidId, paperCode, options) {
719
419
  return __awaiter(this, void 0, void 0, function* () {
720
420
  var _a, _b, _c;
721
- const localVarAxiosArgs = yield localVarAxiosParamCreator.healthControllerCheck(options);
421
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetBidStatement(bidId, paperCode, options);
722
422
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
723
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PartnerV1Api.healthControllerCheck']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
423
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PartnerV1Api.v1GetBidStatement']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
724
424
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
725
425
  });
726
426
  },
727
427
  /**
728
- * 공고를 유찰 상태로 전환합니다. **V5 대응:** `scsbidSend`(type=U, 유찰) — BidApi.xml `yoochal` 액션의 V6 후속. **호출 시점:** 입찰 마감 후 유찰 사유가 확정되었을 때. 공고 상태가 입찰완료(마감)인 상태에서 호출해야 합니다. **부수효과:** - 공고 상태가 유찰(FAILED)로 전환됩니다. - 유찰사유 코드(V5 `b2b_buy.sayou`)와 상세(V5 `b2b_buy.sa_desc`)가 기록됩니다. **유찰사유 코드 목록(BidFailureReason):** | 코드 | 의미 | |------|------| | `1` | 예정가격 초과 | | `2` | 자격 미달 | | `3` | 전문성 필요 | | `4` | 기타 (`failureReasonDetail` 필수) | | `5` | 참가자 없음 | | `6` | 단독 참가 | | `7` | 2인 미만 | | `8` | 최저가 미달 | **필수 스코프:** `awards:write` **멱등성:** `Idempotency-Key` 헤더 필수.
729
- * @summary 유찰 처리
730
- * @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
428
+ * V5 `scsbidSend`(type=U) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId group_code 자동 결정.
429
+ * @summary 유찰 처리 — V5 충실
731
430
  * @param {MarkBidFailedRequestDto} markBidFailedRequestDto
732
431
  * @param {*} [options] Override http request option.
733
432
  * @throws {RequiredError}
734
433
  */
735
- markBidFailed(idempotencyKey, markBidFailedRequestDto, options) {
434
+ v1MarkBidFailed(markBidFailedRequestDto, options) {
736
435
  return __awaiter(this, void 0, void 0, function* () {
737
436
  var _a, _b, _c;
738
- const localVarAxiosArgs = yield localVarAxiosParamCreator.markBidFailed(idempotencyKey, markBidFailedRequestDto, options);
437
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1MarkBidFailed(markBidFailedRequestDto, options);
739
438
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
740
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PartnerV1Api.markBidFailed']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
439
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PartnerV1Api.v1MarkBidFailed']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
741
440
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
742
441
  });
743
442
  },
744
443
  /**
745
- * V5↔V6 응답 비교 불일치(verdict) 적재한다. scope parity:write. V5 cutover 제거 예정(한시적 계약).
746
- * @summary V5→V6 마이그레이션 패리티 결과 기록
747
- * @param {object} body
748
- * @param {*} [options] Override http request option.
749
- * @throws {RequiredError}
750
- */
751
- recordParityResult(body, options) {
752
- return __awaiter(this, void 0, void 0, function* () {
753
- var _a, _b, _c;
754
- const localVarAxiosArgs = yield localVarAxiosParamCreator.recordParityResult(body, options);
755
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
756
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PartnerV1Api.recordParityResult']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
757
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
758
- });
759
- },
760
- /**
761
- * 낙찰 결과를 등록하고 공고를 낙찰 상태로 전환합니다. **V5 대응:** `scsbidSend`(type=W, 낙찰) — BidApi.xml `selectWinner` 액션의 V6 후속. **호출 시점:** 입찰 마감 후 낙찰자가 확정되었을 때. 공고 상태가 입찰완료(마감)인 상태에서 호출해야 합니다. **부수효과:** - 공고 상태가 낙찰(AWARDED)로 전환됩니다. - 낙찰자(공급사) 응찰행이 낙찰 처리됩니다. - 협상 방식(H/K)은 이 엔드포인트 전에 `/v1/awards/nego-eval`로 평가 완료가 필요합니다. **필수 스코프:** `awards:write` **멱등성:** `Idempotency-Key` 헤더 필수. 동일 키 + 동일 body 재전송 시 24시간 내 캐시 응답 반환.
762
- * @summary 낙찰 결과 전송
763
- * @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
444
+ * V5 `scsbidSend`(type=W) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId group_code 자동 결정.
445
+ * @summary 낙찰 결과 전송 V5 충실
764
446
  * @param {RegisterAwardRequestDto} registerAwardRequestDto
765
447
  * @param {*} [options] Override http request option.
766
448
  * @throws {RequiredError}
767
449
  */
768
- registerAward(idempotencyKey, registerAwardRequestDto, options) {
450
+ v1RegisterAward(registerAwardRequestDto, options) {
769
451
  return __awaiter(this, void 0, void 0, function* () {
770
452
  var _a, _b, _c;
771
- const localVarAxiosArgs = yield localVarAxiosParamCreator.registerAward(idempotencyKey, registerAwardRequestDto, options);
453
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1RegisterAward(registerAwardRequestDto, options);
772
454
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
773
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PartnerV1Api.registerAward']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
455
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PartnerV1Api.v1RegisterAward']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
774
456
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
775
457
  });
776
458
  },
777
459
  /**
778
- * 입찰 정보 등록. 스코프 `bids:write` + `Idempotency-Key` 헤더 필수.
779
- * @summary 입찰 정보 전송(등록)
460
+ * V5 `scsbidSend`(type=B) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
461
+ * @summary 입찰 정보 전송(등록) — V5 충실
780
462
  * @param {CreateBidRequestDto} createBidRequestDto
781
463
  * @param {*} [options] Override http request option.
782
464
  * @throws {RequiredError}
783
465
  */
784
- registerBid(createBidRequestDto, options) {
466
+ v1RegisterBid(createBidRequestDto, options) {
785
467
  return __awaiter(this, void 0, void 0, function* () {
786
468
  var _a, _b, _c;
787
- const localVarAxiosArgs = yield localVarAxiosParamCreator.registerBid(createBidRequestDto, options);
469
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1RegisterBid(createBidRequestDto, options);
788
470
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
789
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PartnerV1Api.registerBid']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
471
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PartnerV1Api.v1RegisterBid']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
790
472
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
791
473
  });
792
474
  },
793
475
  /**
794
- * 세금계산서 분할 발급 청구를 기록합니다. 발급 엔진이 아니라 \"분할 발급 청구 요청을 접수\"하는 엔드포인트입니다. **V5 대응:** `splitInvoiceRequest` — BidApi.xml `splitInvoice` 액션의 V6 후속. **호출 시점:** 검수완료 세금계산서를 분할 발급받고자 할 때. 공급가액과 부가세를 나누어 청구합니다. **부수효과:** - 분할 발급 청구가 기록됩니다(실제 세금계산서 발급은 별도 프로세스). - 작성일자(`issueDate`)는 미래 일자 불가(I5 — V5 `PgBidApiService:220-235` 패리티). 오늘 날짜는 허용. - `issueDate` 미지정 시 backend 기본값 적용. **금액 단위:** 원(KRW) 정수. `supplyAmount`(공급가액) + `vat`(부가세) 합산이 실제 청구 총액. **필수 스코프:** `invoices:write` **멱등성:** `Idempotency-Key` 헤더 필수.
795
- * @summary 계산서 분할 발급 청구
796
- * @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
476
+ * V5 `splitInvoiceRequest` 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId group_code 자동 결정.
477
+ * @summary 계산서 분할 발급 청구 — V5 충실
797
478
  * @param {RequestSplitInvoiceRequestDto} requestSplitInvoiceRequestDto
798
479
  * @param {*} [options] Override http request option.
799
480
  * @throws {RequiredError}
800
481
  */
801
- requestSplitInvoice(idempotencyKey, requestSplitInvoiceRequestDto, options) {
482
+ v1RequestSplitInvoice(requestSplitInvoiceRequestDto, options) {
802
483
  return __awaiter(this, void 0, void 0, function* () {
803
484
  var _a, _b, _c;
804
- const localVarAxiosArgs = yield localVarAxiosParamCreator.requestSplitInvoice(idempotencyKey, requestSplitInvoiceRequestDto, options);
485
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1RequestSplitInvoice(requestSplitInvoiceRequestDto, options);
805
486
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
806
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PartnerV1Api.requestSplitInvoice']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
487
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PartnerV1Api.v1RequestSplitInvoice']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
807
488
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
808
489
  });
809
490
  },
810
491
  /**
811
- * 협상에의한계약(낙찰방법 H/K) 응찰자별 기술/가격 점수를 일괄 입력합니다. **V5 대응:** `scsbidSend`(type=nego, 점수입력) — BidApi.xml `nego-eval` 액션의 V6 후속. **호출 시점:** 협상 방식 공고 마감 후 점수 평가를 진행할 때. `complete=true` 함께 보내면 평가완료 게이트(V5 `nego_complete_yn=Y`)까지 적용되어 낙찰 진입이 가능합니다. **부수효과:** - 각 응찰자의 기술점수(`techPoint`) 가격점수(`bidPoint`, 선택)가 저장됩니다. - `complete=true`인 경우 평가완료 상태로 전환되어 이후 `/v1/awards`로 낙찰 처리가 가능합니다. - 가격점수(`bidPoint`)를 생략하면 backend 가 배점 기준에 따라 자동 계산합니다. **응찰자 식별:** `sequence`(= V5 `buy_seq`, `entendrec` 응답의 `sequence` 필드). **필수 스코프:** `awards:write` **멱등성:** `Idempotency-Key` 헤더 필수.
812
- * @summary 협상(H/K) 점수평가
813
- * @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
492
+ * V5 `scsbidSend`(type=nego) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId group_code 자동 결정.
493
+ * @summary 협상(H/K) 점수평가 — V5 충실
814
494
  * @param {SubmitNegotiationScoresRequestDto} submitNegotiationScoresRequestDto
815
495
  * @param {*} [options] Override http request option.
816
496
  * @throws {RequiredError}
817
497
  */
818
- submitNegotiationScores(idempotencyKey, submitNegotiationScoresRequestDto, options) {
498
+ v1SubmitNegotiationScores(submitNegotiationScoresRequestDto, options) {
819
499
  return __awaiter(this, void 0, void 0, function* () {
820
500
  var _a, _b, _c;
821
- const localVarAxiosArgs = yield localVarAxiosParamCreator.submitNegotiationScores(idempotencyKey, submitNegotiationScoresRequestDto, options);
501
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1SubmitNegotiationScores(submitNegotiationScoresRequestDto, options);
822
502
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
823
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PartnerV1Api.submitNegotiationScores']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
824
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
825
- });
826
- },
827
- /**
828
- * 스코프 `files:write` + `Idempotency-Key` 헤더 필수. base64 또는 url 중 정확히 하나를 제출한다.
829
- * @summary 입찰 첨부파일 업로드(base64 또는 url) → fileKey
830
- * @param {UploadFileRequestDto} uploadFileRequestDto
831
- * @param {*} [options] Override http request option.
832
- * @throws {RequiredError}
833
- */
834
- uploadFile(uploadFileRequestDto, options) {
835
- return __awaiter(this, void 0, void 0, function* () {
836
- var _a, _b, _c;
837
- const localVarAxiosArgs = yield localVarAxiosParamCreator.uploadFile(uploadFileRequestDto, options);
838
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
839
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PartnerV1Api.uploadFile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
503
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PartnerV1Api.v1SubmitNegotiationScores']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
840
504
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
841
505
  });
842
506
  },
@@ -850,162 +514,96 @@ const PartnerV1ApiFactory = function (configuration, basePath, axios) {
850
514
  const localVarFp = (0, exports.PartnerV1ApiFp)(configuration);
851
515
  return {
852
516
  /**
853
- * 낙찰 공고의 검수(납품 검수)가 완료되었음을 기록합니다. **V5 대응:** `acceptanceCompleteSend` — BidApi.xml `acceptanceComplete` 액션의 V6 후속. **호출 시점:** 낙찰자(공급사)가 납품을 완료하고 구매자가 검수를 확인한 시점. 공고 상태가 낙찰(AWARDED) 상태여야 합니다. **부수효과:** - 검수완료 상태가 기록됩니다. - 거래명세서·검수보고서에 찍힐 구매사 사업자정보·담당자·작성일자를 함께 override할 수 있습니다(선택 필드). 비어있지 않은 값만 backend 가 `b2b_buy`에 stamp합니다(V5 taxbill UPDATE 조건부 set 패리티). - 응답은 204가 아닌 200입니다 — 멱등성 인터셉터가 구체 바디를 캐시하고 SDK 가 타입드 응답을 필요로 하기 때문. **낙찰자 식별:** `winnerMemberId`(공급사 memberId). 내부 joinSeq 해소는 backend 처리합니다. **필수 스코프:** `contracts:write` **멱등성:** `Idempotency-Key` 헤더 필수.
854
- * @summary 검수완료 전송
855
- * @param {string} bidId 공고 ID(&#x3D; backend bidId &#x3D; 등록 응답의 bidNo).
856
- * @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
857
- * @param {CompleteAcceptanceRequestDto} completeAcceptanceRequestDto
858
- * @param {*} [options] Override http request option.
859
- * @throws {RequiredError}
860
- */
861
- completeAcceptance(bidId, idempotencyKey, completeAcceptanceRequestDto, options) {
862
- return localVarFp.completeAcceptance(bidId, idempotencyKey, completeAcceptanceRequestDto, options).then((request) => request(axios, basePath));
863
- },
864
- /**
865
- * V5 /contractDocumentRec 후속. scope contracts:read.
866
- * @summary 계약서류 수신 조회
517
+ * V5 `/acceptanceCompleteSend` 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId group_code 자동 결정.
518
+ * @summary 검수완료 전송 — V5 충실
867
519
  * @param {string} bidId
868
- * @param {string} buyerId 공고 명의 회원 ID(b2b_member.member_id).
520
+ * @param {CompleteAcceptanceRequestDto} completeAcceptanceRequestDto
869
521
  * @param {*} [options] Override http request option.
870
522
  * @throws {RequiredError}
871
523
  */
872
- getBidContractDocuments(bidId, buyerId, options) {
873
- return localVarFp.getBidContractDocuments(bidId, buyerId, options).then((request) => request(axios, basePath));
524
+ v1CompleteAcceptance(bidId, completeAcceptanceRequestDto, options) {
525
+ return localVarFp.v1CompleteAcceptance(bidId, completeAcceptanceRequestDto, options).then((request) => request(axios, basePath));
874
526
  },
875
527
  /**
876
- * V5 /contractDocumentRec(bid_puchase_no_list) 후속. 공고번호 리스트를 번에 조회. 단건(GET :bidId/contract-documents)은 그대로 유지. scope contracts:read.
877
- * @summary 계약서류 수신 배치 조회
528
+ * V5 `/contractDocumentRec`(bid_puchase_no_list) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId group_code 자동 결정.
529
+ * @summary 계약서류 수신 배치 조회 — V5 충실
878
530
  * @param {BidContractDocumentsBatchRequestDto} bidContractDocumentsBatchRequestDto
879
531
  * @param {*} [options] Override http request option.
880
532
  * @throws {RequiredError}
881
533
  */
882
- getBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto, options) {
883
- return localVarFp.getBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto, options).then((request) => request(axios, basePath));
534
+ v1GetBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto, options) {
535
+ return localVarFp.v1GetBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto, options).then((request) => request(axios, basePath));
884
536
  },
885
537
  /**
886
- * V5 /entendrec 후속. scope bids:read.
887
- * @summary 입찰 결과 조회
888
- * @param {string} bidId
889
- * @param {string} buyerId 공고 명의 회원 ID (멀티테넌트 가시성 키).
890
- * @param {*} [options] Override http request option.
891
- * @throws {RequiredError}
892
- */
893
- getBidResults(bidId, buyerId, options) {
894
- return localVarFp.getBidResults(bidId, buyerId, options).then((request) => request(axios, basePath));
895
- },
896
- /**
897
- * V5 entendRec(bid_puchase_no_list) 후속 — 여러 공고 결과를 1회 호출로(additive, 단건 유지). bidIds(공고 식별자) 또는 purchaseNos(구매번호) 중 하나 — purchaseNos 는 각 PO 의 가장 최근 공고로 해소. 입력 순서를 보존한다. scope bids:read.
898
- * @summary 입찰결과 배치 조회
538
+ * V5 `/entendRec`(bid_puchase_no_list) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId 는 group_code 로 자동 결정. resolveBidId 도 이 엔드포인트를 사용한다.
539
+ * @summary 입찰결과 배치 조회 — V5 충실
899
540
  * @param {BidResultsBatchRequestDto} bidResultsBatchRequestDto
900
541
  * @param {*} [options] Override http request option.
901
542
  * @throws {RequiredError}
902
543
  */
903
- getBidResultsBatch(bidResultsBatchRequestDto, options) {
904
- return localVarFp.getBidResultsBatch(bidResultsBatchRequestDto, options).then((request) => request(axios, basePath));
544
+ v1GetBidResultsBatch(bidResultsBatchRequestDto, options) {
545
+ return localVarFp.v1GetBidResultsBatch(bidResultsBatchRequestDto, options).then((request) => request(axios, basePath));
905
546
  },
906
547
  /**
907
- * V5 /entendrec 정산(사업자·계좌·공급가액/부가세·응찰 품목내역) 후속. scope bids:read. 가격/신원 가시성 매트릭스와 직교한 ERP 정산 데이터 — read-only.
908
- * @summary 입찰결과 정산정보 조회
909
- * @param {string} bidId
910
- * @param {*} [options] Override http request option.
911
- * @throws {RequiredError}
912
- */
913
- getBidSettlement(bidId, options) {
914
- return localVarFp.getBidSettlement(bidId, options).then((request) => request(axios, basePath));
915
- },
916
- /**
917
- * V5 /getGrm 후속. scope contracts:read.
918
- * @summary 거래명세서 조회
548
+ * V5 `/getGrm` 후속. 인증 = body `ID`/`Secret`(cate_set). group_code 스코프로 가시성 적용.
549
+ * @summary 거래명세서 조회 — V5 충실
919
550
  * @param {string} bidId
920
551
  * @param {number} paperCode
921
552
  * @param {*} [options] Override http request option.
922
553
  * @throws {RequiredError}
923
554
  */
924
- getBidStatement(bidId, paperCode, options) {
925
- return localVarFp.getBidStatement(bidId, paperCode, options).then((request) => request(axios, basePath));
555
+ v1GetBidStatement(bidId, paperCode, options) {
556
+ return localVarFp.v1GetBidStatement(bidId, paperCode, options).then((request) => request(axios, basePath));
926
557
  },
927
558
  /**
928
- * ERP 연동 직전 회선·인증 endpoint 동작 확인용.
929
- * @summary Partner API 헬스체크
930
- * @param {*} [options] Override http request option.
931
- * @throws {RequiredError}
932
- */
933
- healthControllerCheck(options) {
934
- return localVarFp.healthControllerCheck(options).then((request) => request(axios, basePath));
935
- },
936
- /**
937
- * 공고를 유찰 상태로 전환합니다. **V5 대응:** `scsbidSend`(type=U, 유찰) — BidApi.xml `yoochal` 액션의 V6 후속. **호출 시점:** 입찰 마감 후 유찰 사유가 확정되었을 때. 공고 상태가 입찰완료(마감)인 상태에서 호출해야 합니다. **부수효과:** - 공고 상태가 유찰(FAILED)로 전환됩니다. - 유찰사유 코드(V5 `b2b_buy.sayou`)와 상세(V5 `b2b_buy.sa_desc`)가 기록됩니다. **유찰사유 코드 목록(BidFailureReason):** | 코드 | 의미 | |------|------| | `1` | 예정가격 초과 | | `2` | 자격 미달 | | `3` | 전문성 필요 | | `4` | 기타 (`failureReasonDetail` 필수) | | `5` | 참가자 없음 | | `6` | 단독 참가 | | `7` | 2인 미만 | | `8` | 최저가 미달 | **필수 스코프:** `awards:write` **멱등성:** `Idempotency-Key` 헤더 필수.
938
- * @summary 유찰 처리
939
- * @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
559
+ * V5 `scsbidSend`(type=U) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
560
+ * @summary 유찰 처리 — V5 충실
940
561
  * @param {MarkBidFailedRequestDto} markBidFailedRequestDto
941
562
  * @param {*} [options] Override http request option.
942
563
  * @throws {RequiredError}
943
564
  */
944
- markBidFailed(idempotencyKey, markBidFailedRequestDto, options) {
945
- return localVarFp.markBidFailed(idempotencyKey, markBidFailedRequestDto, options).then((request) => request(axios, basePath));
565
+ v1MarkBidFailed(markBidFailedRequestDto, options) {
566
+ return localVarFp.v1MarkBidFailed(markBidFailedRequestDto, options).then((request) => request(axios, basePath));
946
567
  },
947
568
  /**
948
- * V5↔V6 응답 비교 불일치(verdict) 적재한다. scope parity:write. V5 cutover 제거 예정(한시적 계약).
949
- * @summary V5→V6 마이그레이션 패리티 결과 기록
950
- * @param {object} body
951
- * @param {*} [options] Override http request option.
952
- * @throws {RequiredError}
953
- */
954
- recordParityResult(body, options) {
955
- return localVarFp.recordParityResult(body, options).then((request) => request(axios, basePath));
956
- },
957
- /**
958
- * 낙찰 결과를 등록하고 공고를 낙찰 상태로 전환합니다. **V5 대응:** `scsbidSend`(type=W, 낙찰) — BidApi.xml `selectWinner` 액션의 V6 후속. **호출 시점:** 입찰 마감 후 낙찰자가 확정되었을 때. 공고 상태가 입찰완료(마감)인 상태에서 호출해야 합니다. **부수효과:** - 공고 상태가 낙찰(AWARDED)로 전환됩니다. - 낙찰자(공급사) 응찰행이 낙찰 처리됩니다. - 협상 방식(H/K)은 이 엔드포인트 전에 `/v1/awards/nego-eval`로 평가 완료가 필요합니다. **필수 스코프:** `awards:write` **멱등성:** `Idempotency-Key` 헤더 필수. 동일 키 + 동일 body 재전송 시 24시간 내 캐시 응답 반환.
959
- * @summary 낙찰 결과 전송
960
- * @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
569
+ * V5 `scsbidSend`(type=W) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId group_code 자동 결정.
570
+ * @summary 낙찰 결과 전송 V5 충실
961
571
  * @param {RegisterAwardRequestDto} registerAwardRequestDto
962
572
  * @param {*} [options] Override http request option.
963
573
  * @throws {RequiredError}
964
574
  */
965
- registerAward(idempotencyKey, registerAwardRequestDto, options) {
966
- return localVarFp.registerAward(idempotencyKey, registerAwardRequestDto, options).then((request) => request(axios, basePath));
575
+ v1RegisterAward(registerAwardRequestDto, options) {
576
+ return localVarFp.v1RegisterAward(registerAwardRequestDto, options).then((request) => request(axios, basePath));
967
577
  },
968
578
  /**
969
- * 입찰 정보 등록. 스코프 `bids:write` + `Idempotency-Key` 헤더 필수.
970
- * @summary 입찰 정보 전송(등록)
579
+ * V5 `scsbidSend`(type=B) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
580
+ * @summary 입찰 정보 전송(등록) — V5 충실
971
581
  * @param {CreateBidRequestDto} createBidRequestDto
972
582
  * @param {*} [options] Override http request option.
973
583
  * @throws {RequiredError}
974
584
  */
975
- registerBid(createBidRequestDto, options) {
976
- return localVarFp.registerBid(createBidRequestDto, options).then((request) => request(axios, basePath));
585
+ v1RegisterBid(createBidRequestDto, options) {
586
+ return localVarFp.v1RegisterBid(createBidRequestDto, options).then((request) => request(axios, basePath));
977
587
  },
978
588
  /**
979
- * 세금계산서 분할 발급 청구를 기록합니다. 발급 엔진이 아니라 \"분할 발급 청구 요청을 접수\"하는 엔드포인트입니다. **V5 대응:** `splitInvoiceRequest` — BidApi.xml `splitInvoice` 액션의 V6 후속. **호출 시점:** 검수완료 세금계산서를 분할 발급받고자 할 때. 공급가액과 부가세를 나누어 청구합니다. **부수효과:** - 분할 발급 청구가 기록됩니다(실제 세금계산서 발급은 별도 프로세스). - 작성일자(`issueDate`)는 미래 일자 불가(I5 — V5 `PgBidApiService:220-235` 패리티). 오늘 날짜는 허용. - `issueDate` 미지정 시 backend 기본값 적용. **금액 단위:** 원(KRW) 정수. `supplyAmount`(공급가액) + `vat`(부가세) 합산이 실제 청구 총액. **필수 스코프:** `invoices:write` **멱등성:** `Idempotency-Key` 헤더 필수.
980
- * @summary 계산서 분할 발급 청구
981
- * @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
589
+ * V5 `splitInvoiceRequest` 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId group_code 자동 결정.
590
+ * @summary 계산서 분할 발급 청구 — V5 충실
982
591
  * @param {RequestSplitInvoiceRequestDto} requestSplitInvoiceRequestDto
983
592
  * @param {*} [options] Override http request option.
984
593
  * @throws {RequiredError}
985
594
  */
986
- requestSplitInvoice(idempotencyKey, requestSplitInvoiceRequestDto, options) {
987
- return localVarFp.requestSplitInvoice(idempotencyKey, requestSplitInvoiceRequestDto, options).then((request) => request(axios, basePath));
595
+ v1RequestSplitInvoice(requestSplitInvoiceRequestDto, options) {
596
+ return localVarFp.v1RequestSplitInvoice(requestSplitInvoiceRequestDto, options).then((request) => request(axios, basePath));
988
597
  },
989
598
  /**
990
- * 협상에의한계약(낙찰방법 H/K) 응찰자별 기술/가격 점수를 일괄 입력합니다. **V5 대응:** `scsbidSend`(type=nego, 점수입력) — BidApi.xml `nego-eval` 액션의 V6 후속. **호출 시점:** 협상 방식 공고 마감 후 점수 평가를 진행할 때. `complete=true` 함께 보내면 평가완료 게이트(V5 `nego_complete_yn=Y`)까지 적용되어 낙찰 진입이 가능합니다. **부수효과:** - 각 응찰자의 기술점수(`techPoint`) 가격점수(`bidPoint`, 선택)가 저장됩니다. - `complete=true`인 경우 평가완료 상태로 전환되어 이후 `/v1/awards`로 낙찰 처리가 가능합니다. - 가격점수(`bidPoint`)를 생략하면 backend 가 배점 기준에 따라 자동 계산합니다. **응찰자 식별:** `sequence`(= V5 `buy_seq`, `entendrec` 응답의 `sequence` 필드). **필수 스코프:** `awards:write` **멱등성:** `Idempotency-Key` 헤더 필수.
991
- * @summary 협상(H/K) 점수평가
992
- * @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
599
+ * V5 `scsbidSend`(type=nego) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId group_code 자동 결정.
600
+ * @summary 협상(H/K) 점수평가 — V5 충실
993
601
  * @param {SubmitNegotiationScoresRequestDto} submitNegotiationScoresRequestDto
994
602
  * @param {*} [options] Override http request option.
995
603
  * @throws {RequiredError}
996
604
  */
997
- submitNegotiationScores(idempotencyKey, submitNegotiationScoresRequestDto, options) {
998
- return localVarFp.submitNegotiationScores(idempotencyKey, submitNegotiationScoresRequestDto, options).then((request) => request(axios, basePath));
999
- },
1000
- /**
1001
- * 스코프 `files:write` + `Idempotency-Key` 헤더 필수. base64 또는 url 중 정확히 하나를 제출한다.
1002
- * @summary 입찰 첨부파일 업로드(base64 또는 url) → fileKey
1003
- * @param {UploadFileRequestDto} uploadFileRequestDto
1004
- * @param {*} [options] Override http request option.
1005
- * @throws {RequiredError}
1006
- */
1007
- uploadFile(uploadFileRequestDto, options) {
1008
- return localVarFp.uploadFile(uploadFileRequestDto, options).then((request) => request(axios, basePath));
605
+ v1SubmitNegotiationScores(submitNegotiationScoresRequestDto, options) {
606
+ return localVarFp.v1SubmitNegotiationScores(submitNegotiationScoresRequestDto, options).then((request) => request(axios, basePath));
1009
607
  },
1010
608
  };
1011
609
  };
@@ -1015,162 +613,96 @@ exports.PartnerV1ApiFactory = PartnerV1ApiFactory;
1015
613
  */
1016
614
  class PartnerV1Api extends base_1.BaseAPI {
1017
615
  /**
1018
- * 낙찰 공고의 검수(납품 검수)가 완료되었음을 기록합니다. **V5 대응:** `acceptanceCompleteSend` — BidApi.xml `acceptanceComplete` 액션의 V6 후속. **호출 시점:** 낙찰자(공급사)가 납품을 완료하고 구매자가 검수를 확인한 시점. 공고 상태가 낙찰(AWARDED) 상태여야 합니다. **부수효과:** - 검수완료 상태가 기록됩니다. - 거래명세서·검수보고서에 찍힐 구매사 사업자정보·담당자·작성일자를 함께 override할 수 있습니다(선택 필드). 비어있지 않은 값만 backend 가 `b2b_buy`에 stamp합니다(V5 taxbill UPDATE 조건부 set 패리티). - 응답은 204가 아닌 200입니다 — 멱등성 인터셉터가 구체 바디를 캐시하고 SDK 가 타입드 응답을 필요로 하기 때문. **낙찰자 식별:** `winnerMemberId`(공급사 memberId). 내부 joinSeq 해소는 backend 처리합니다. **필수 스코프:** `contracts:write` **멱등성:** `Idempotency-Key` 헤더 필수.
1019
- * @summary 검수완료 전송
1020
- * @param {string} bidId 공고 ID(&#x3D; backend bidId &#x3D; 등록 응답의 bidNo).
1021
- * @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
1022
- * @param {CompleteAcceptanceRequestDto} completeAcceptanceRequestDto
1023
- * @param {*} [options] Override http request option.
1024
- * @throws {RequiredError}
1025
- */
1026
- completeAcceptance(bidId, idempotencyKey, completeAcceptanceRequestDto, options) {
1027
- return (0, exports.PartnerV1ApiFp)(this.configuration).completeAcceptance(bidId, idempotencyKey, completeAcceptanceRequestDto, options).then((request) => request(this.axios, this.basePath));
1028
- }
1029
- /**
1030
- * V5 /contractDocumentRec 후속. scope contracts:read.
1031
- * @summary 계약서류 수신 조회
616
+ * V5 `/acceptanceCompleteSend` 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId group_code 자동 결정.
617
+ * @summary 검수완료 전송 — V5 충실
1032
618
  * @param {string} bidId
1033
- * @param {string} buyerId 공고 명의 회원 ID(b2b_member.member_id).
619
+ * @param {CompleteAcceptanceRequestDto} completeAcceptanceRequestDto
1034
620
  * @param {*} [options] Override http request option.
1035
621
  * @throws {RequiredError}
1036
622
  */
1037
- getBidContractDocuments(bidId, buyerId, options) {
1038
- return (0, exports.PartnerV1ApiFp)(this.configuration).getBidContractDocuments(bidId, buyerId, options).then((request) => request(this.axios, this.basePath));
623
+ v1CompleteAcceptance(bidId, completeAcceptanceRequestDto, options) {
624
+ return (0, exports.PartnerV1ApiFp)(this.configuration).v1CompleteAcceptance(bidId, completeAcceptanceRequestDto, options).then((request) => request(this.axios, this.basePath));
1039
625
  }
1040
626
  /**
1041
- * V5 /contractDocumentRec(bid_puchase_no_list) 후속. 공고번호 리스트를 번에 조회. 단건(GET :bidId/contract-documents)은 그대로 유지. scope contracts:read.
1042
- * @summary 계약서류 수신 배치 조회
627
+ * V5 `/contractDocumentRec`(bid_puchase_no_list) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId group_code 자동 결정.
628
+ * @summary 계약서류 수신 배치 조회 — V5 충실
1043
629
  * @param {BidContractDocumentsBatchRequestDto} bidContractDocumentsBatchRequestDto
1044
630
  * @param {*} [options] Override http request option.
1045
631
  * @throws {RequiredError}
1046
632
  */
1047
- getBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto, options) {
1048
- return (0, exports.PartnerV1ApiFp)(this.configuration).getBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto, options).then((request) => request(this.axios, this.basePath));
1049
- }
1050
- /**
1051
- * V5 /entendrec 후속. scope bids:read.
1052
- * @summary 입찰 결과 조회
1053
- * @param {string} bidId
1054
- * @param {string} buyerId 공고 명의 회원 ID (멀티테넌트 가시성 키).
1055
- * @param {*} [options] Override http request option.
1056
- * @throws {RequiredError}
1057
- */
1058
- getBidResults(bidId, buyerId, options) {
1059
- return (0, exports.PartnerV1ApiFp)(this.configuration).getBidResults(bidId, buyerId, options).then((request) => request(this.axios, this.basePath));
633
+ v1GetBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto, options) {
634
+ return (0, exports.PartnerV1ApiFp)(this.configuration).v1GetBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto, options).then((request) => request(this.axios, this.basePath));
1060
635
  }
1061
636
  /**
1062
- * V5 entendRec(bid_puchase_no_list) 후속 여러 공고 결과를 1회 호출로(additive, 단건 유지). bidIds(공고 식별자) 또는 purchaseNos(구매번호) 중 하나 — purchaseNos PO 가장 최근 공고로 해소. 입력 순서를 보존한다. scope bids:read.
1063
- * @summary 입찰결과 배치 조회
637
+ * V5 `/entendRec`(bid_puchase_no_list) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerIdgroup_code 자동 결정. resolveBidId 엔드포인트를 사용한다.
638
+ * @summary 입찰결과 배치 조회 — V5 충실
1064
639
  * @param {BidResultsBatchRequestDto} bidResultsBatchRequestDto
1065
640
  * @param {*} [options] Override http request option.
1066
641
  * @throws {RequiredError}
1067
642
  */
1068
- getBidResultsBatch(bidResultsBatchRequestDto, options) {
1069
- return (0, exports.PartnerV1ApiFp)(this.configuration).getBidResultsBatch(bidResultsBatchRequestDto, options).then((request) => request(this.axios, this.basePath));
643
+ v1GetBidResultsBatch(bidResultsBatchRequestDto, options) {
644
+ return (0, exports.PartnerV1ApiFp)(this.configuration).v1GetBidResultsBatch(bidResultsBatchRequestDto, options).then((request) => request(this.axios, this.basePath));
1070
645
  }
1071
646
  /**
1072
- * V5 /entendrec 정산(사업자·계좌·공급가액/부가세·응찰 품목내역) 후속. scope bids:read. 가격/신원 가시성 매트릭스와 직교한 ERP 정산 데이터 — read-only.
1073
- * @summary 입찰결과 정산정보 조회
1074
- * @param {string} bidId
1075
- * @param {*} [options] Override http request option.
1076
- * @throws {RequiredError}
1077
- */
1078
- getBidSettlement(bidId, options) {
1079
- return (0, exports.PartnerV1ApiFp)(this.configuration).getBidSettlement(bidId, options).then((request) => request(this.axios, this.basePath));
1080
- }
1081
- /**
1082
- * V5 /getGrm 후속. scope contracts:read.
1083
- * @summary 거래명세서 조회
647
+ * V5 `/getGrm` 후속. 인증 = body `ID`/`Secret`(cate_set). group_code 스코프로 가시성 적용.
648
+ * @summary 거래명세서 조회 — V5 충실
1084
649
  * @param {string} bidId
1085
650
  * @param {number} paperCode
1086
651
  * @param {*} [options] Override http request option.
1087
652
  * @throws {RequiredError}
1088
653
  */
1089
- getBidStatement(bidId, paperCode, options) {
1090
- return (0, exports.PartnerV1ApiFp)(this.configuration).getBidStatement(bidId, paperCode, options).then((request) => request(this.axios, this.basePath));
654
+ v1GetBidStatement(bidId, paperCode, options) {
655
+ return (0, exports.PartnerV1ApiFp)(this.configuration).v1GetBidStatement(bidId, paperCode, options).then((request) => request(this.axios, this.basePath));
1091
656
  }
1092
657
  /**
1093
- * ERP 연동 직전 회선·인증 endpoint 동작 확인용.
1094
- * @summary Partner API 헬스체크
1095
- * @param {*} [options] Override http request option.
1096
- * @throws {RequiredError}
1097
- */
1098
- healthControllerCheck(options) {
1099
- return (0, exports.PartnerV1ApiFp)(this.configuration).healthControllerCheck(options).then((request) => request(this.axios, this.basePath));
1100
- }
1101
- /**
1102
- * 공고를 유찰 상태로 전환합니다. **V5 대응:** `scsbidSend`(type=U, 유찰) — BidApi.xml `yoochal` 액션의 V6 후속. **호출 시점:** 입찰 마감 후 유찰 사유가 확정되었을 때. 공고 상태가 입찰완료(마감)인 상태에서 호출해야 합니다. **부수효과:** - 공고 상태가 유찰(FAILED)로 전환됩니다. - 유찰사유 코드(V5 `b2b_buy.sayou`)와 상세(V5 `b2b_buy.sa_desc`)가 기록됩니다. **유찰사유 코드 목록(BidFailureReason):** | 코드 | 의미 | |------|------| | `1` | 예정가격 초과 | | `2` | 자격 미달 | | `3` | 전문성 필요 | | `4` | 기타 (`failureReasonDetail` 필수) | | `5` | 참가자 없음 | | `6` | 단독 참가 | | `7` | 2인 미만 | | `8` | 최저가 미달 | **필수 스코프:** `awards:write` **멱등성:** `Idempotency-Key` 헤더 필수.
1103
- * @summary 유찰 처리
1104
- * @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
658
+ * V5 `scsbidSend`(type=U) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
659
+ * @summary 유찰 처리 — V5 충실
1105
660
  * @param {MarkBidFailedRequestDto} markBidFailedRequestDto
1106
661
  * @param {*} [options] Override http request option.
1107
662
  * @throws {RequiredError}
1108
663
  */
1109
- markBidFailed(idempotencyKey, markBidFailedRequestDto, options) {
1110
- return (0, exports.PartnerV1ApiFp)(this.configuration).markBidFailed(idempotencyKey, markBidFailedRequestDto, options).then((request) => request(this.axios, this.basePath));
664
+ v1MarkBidFailed(markBidFailedRequestDto, options) {
665
+ return (0, exports.PartnerV1ApiFp)(this.configuration).v1MarkBidFailed(markBidFailedRequestDto, options).then((request) => request(this.axios, this.basePath));
1111
666
  }
1112
667
  /**
1113
- * V5↔V6 응답 비교 불일치(verdict) 적재한다. scope parity:write. V5 cutover 제거 예정(한시적 계약).
1114
- * @summary V5→V6 마이그레이션 패리티 결과 기록
1115
- * @param {object} body
1116
- * @param {*} [options] Override http request option.
1117
- * @throws {RequiredError}
1118
- */
1119
- recordParityResult(body, options) {
1120
- return (0, exports.PartnerV1ApiFp)(this.configuration).recordParityResult(body, options).then((request) => request(this.axios, this.basePath));
1121
- }
1122
- /**
1123
- * 낙찰 결과를 등록하고 공고를 낙찰 상태로 전환합니다. **V5 대응:** `scsbidSend`(type=W, 낙찰) — BidApi.xml `selectWinner` 액션의 V6 후속. **호출 시점:** 입찰 마감 후 낙찰자가 확정되었을 때. 공고 상태가 입찰완료(마감)인 상태에서 호출해야 합니다. **부수효과:** - 공고 상태가 낙찰(AWARDED)로 전환됩니다. - 낙찰자(공급사) 응찰행이 낙찰 처리됩니다. - 협상 방식(H/K)은 이 엔드포인트 전에 `/v1/awards/nego-eval`로 평가 완료가 필요합니다. **필수 스코프:** `awards:write` **멱등성:** `Idempotency-Key` 헤더 필수. 동일 키 + 동일 body 재전송 시 24시간 내 캐시 응답 반환.
1124
- * @summary 낙찰 결과 전송
1125
- * @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
668
+ * V5 `scsbidSend`(type=W) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId group_code 자동 결정.
669
+ * @summary 낙찰 결과 전송 V5 충실
1126
670
  * @param {RegisterAwardRequestDto} registerAwardRequestDto
1127
671
  * @param {*} [options] Override http request option.
1128
672
  * @throws {RequiredError}
1129
673
  */
1130
- registerAward(idempotencyKey, registerAwardRequestDto, options) {
1131
- return (0, exports.PartnerV1ApiFp)(this.configuration).registerAward(idempotencyKey, registerAwardRequestDto, options).then((request) => request(this.axios, this.basePath));
674
+ v1RegisterAward(registerAwardRequestDto, options) {
675
+ return (0, exports.PartnerV1ApiFp)(this.configuration).v1RegisterAward(registerAwardRequestDto, options).then((request) => request(this.axios, this.basePath));
1132
676
  }
1133
677
  /**
1134
- * 입찰 정보 등록. 스코프 `bids:write` + `Idempotency-Key` 헤더 필수.
1135
- * @summary 입찰 정보 전송(등록)
678
+ * V5 `scsbidSend`(type=B) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
679
+ * @summary 입찰 정보 전송(등록) — V5 충실
1136
680
  * @param {CreateBidRequestDto} createBidRequestDto
1137
681
  * @param {*} [options] Override http request option.
1138
682
  * @throws {RequiredError}
1139
683
  */
1140
- registerBid(createBidRequestDto, options) {
1141
- return (0, exports.PartnerV1ApiFp)(this.configuration).registerBid(createBidRequestDto, options).then((request) => request(this.axios, this.basePath));
684
+ v1RegisterBid(createBidRequestDto, options) {
685
+ return (0, exports.PartnerV1ApiFp)(this.configuration).v1RegisterBid(createBidRequestDto, options).then((request) => request(this.axios, this.basePath));
1142
686
  }
1143
687
  /**
1144
- * 세금계산서 분할 발급 청구를 기록합니다. 발급 엔진이 아니라 \"분할 발급 청구 요청을 접수\"하는 엔드포인트입니다. **V5 대응:** `splitInvoiceRequest` — BidApi.xml `splitInvoice` 액션의 V6 후속. **호출 시점:** 검수완료 세금계산서를 분할 발급받고자 할 때. 공급가액과 부가세를 나누어 청구합니다. **부수효과:** - 분할 발급 청구가 기록됩니다(실제 세금계산서 발급은 별도 프로세스). - 작성일자(`issueDate`)는 미래 일자 불가(I5 — V5 `PgBidApiService:220-235` 패리티). 오늘 날짜는 허용. - `issueDate` 미지정 시 backend 기본값 적용. **금액 단위:** 원(KRW) 정수. `supplyAmount`(공급가액) + `vat`(부가세) 합산이 실제 청구 총액. **필수 스코프:** `invoices:write` **멱등성:** `Idempotency-Key` 헤더 필수.
1145
- * @summary 계산서 분할 발급 청구
1146
- * @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
688
+ * V5 `splitInvoiceRequest` 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId group_code 자동 결정.
689
+ * @summary 계산서 분할 발급 청구 — V5 충실
1147
690
  * @param {RequestSplitInvoiceRequestDto} requestSplitInvoiceRequestDto
1148
691
  * @param {*} [options] Override http request option.
1149
692
  * @throws {RequiredError}
1150
693
  */
1151
- requestSplitInvoice(idempotencyKey, requestSplitInvoiceRequestDto, options) {
1152
- return (0, exports.PartnerV1ApiFp)(this.configuration).requestSplitInvoice(idempotencyKey, requestSplitInvoiceRequestDto, options).then((request) => request(this.axios, this.basePath));
694
+ v1RequestSplitInvoice(requestSplitInvoiceRequestDto, options) {
695
+ return (0, exports.PartnerV1ApiFp)(this.configuration).v1RequestSplitInvoice(requestSplitInvoiceRequestDto, options).then((request) => request(this.axios, this.basePath));
1153
696
  }
1154
697
  /**
1155
- * 협상에의한계약(낙찰방법 H/K) 응찰자별 기술/가격 점수를 일괄 입력합니다. **V5 대응:** `scsbidSend`(type=nego, 점수입력) — BidApi.xml `nego-eval` 액션의 V6 후속. **호출 시점:** 협상 방식 공고 마감 후 점수 평가를 진행할 때. `complete=true` 함께 보내면 평가완료 게이트(V5 `nego_complete_yn=Y`)까지 적용되어 낙찰 진입이 가능합니다. **부수효과:** - 각 응찰자의 기술점수(`techPoint`) 가격점수(`bidPoint`, 선택)가 저장됩니다. - `complete=true`인 경우 평가완료 상태로 전환되어 이후 `/v1/awards`로 낙찰 처리가 가능합니다. - 가격점수(`bidPoint`)를 생략하면 backend 가 배점 기준에 따라 자동 계산합니다. **응찰자 식별:** `sequence`(= V5 `buy_seq`, `entendrec` 응답의 `sequence` 필드). **필수 스코프:** `awards:write` **멱등성:** `Idempotency-Key` 헤더 필수.
1156
- * @summary 협상(H/K) 점수평가
1157
- * @param {string} idempotencyKey 멱등성 키(1~255자, [A-Za-z0-9_-]). 동일 키 + 동일 body 재전송 시 캐시 응답 반환(24시간). UUID v4 권장.
698
+ * V5 `scsbidSend`(type=nego) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId group_code 자동 결정.
699
+ * @summary 협상(H/K) 점수평가 — V5 충실
1158
700
  * @param {SubmitNegotiationScoresRequestDto} submitNegotiationScoresRequestDto
1159
701
  * @param {*} [options] Override http request option.
1160
702
  * @throws {RequiredError}
1161
703
  */
1162
- submitNegotiationScores(idempotencyKey, submitNegotiationScoresRequestDto, options) {
1163
- return (0, exports.PartnerV1ApiFp)(this.configuration).submitNegotiationScores(idempotencyKey, submitNegotiationScoresRequestDto, options).then((request) => request(this.axios, this.basePath));
1164
- }
1165
- /**
1166
- * 스코프 `files:write` + `Idempotency-Key` 헤더 필수. base64 또는 url 중 정확히 하나를 제출한다.
1167
- * @summary 입찰 첨부파일 업로드(base64 또는 url) → fileKey
1168
- * @param {UploadFileRequestDto} uploadFileRequestDto
1169
- * @param {*} [options] Override http request option.
1170
- * @throws {RequiredError}
1171
- */
1172
- uploadFile(uploadFileRequestDto, options) {
1173
- return (0, exports.PartnerV1ApiFp)(this.configuration).uploadFile(uploadFileRequestDto, options).then((request) => request(this.axios, this.basePath));
704
+ v1SubmitNegotiationScores(submitNegotiationScoresRequestDto, options) {
705
+ return (0, exports.PartnerV1ApiFp)(this.configuration).v1SubmitNegotiationScores(submitNegotiationScoresRequestDto, options).then((request) => request(this.axios, this.basePath));
1174
706
  }
1175
707
  }
1176
708
  exports.PartnerV1Api = PartnerV1Api;