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