@cmarket/partner-sdk 0.10.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (252) hide show
  1. package/README.md +31 -18
  2. package/api/oauth-api.ts +2 -2
  3. package/api/partner-v1-api.ts +187 -684
  4. package/api/partner-v2-api.ts +1186 -0
  5. package/api.ts +2 -1
  6. package/base.ts +1 -1
  7. package/common.ts +1 -1
  8. package/configuration.ts +1 -1
  9. package/dist/api/oauth-api.d.ts +1 -1
  10. package/dist/api/oauth-api.js +2 -2
  11. package/dist/api/partner-v1-api.d.ts +113 -333
  12. package/dist/api/partner-v1-api.js +187 -655
  13. package/dist/api/partner-v2-api.d.ts +535 -0
  14. package/dist/api/partner-v2-api.js +1107 -0
  15. package/dist/api.d.ts +2 -1
  16. package/dist/api.js +2 -1
  17. package/dist/base.d.ts +1 -1
  18. package/dist/base.js +1 -1
  19. package/dist/common.d.ts +1 -1
  20. package/dist/common.js +1 -1
  21. package/dist/configuration.d.ts +1 -1
  22. package/dist/configuration.js +1 -1
  23. package/dist/esm/api/oauth-api.d.ts +1 -1
  24. package/dist/esm/api/oauth-api.js +2 -2
  25. package/dist/esm/api/partner-v1-api.d.ts +113 -333
  26. package/dist/esm/api/partner-v1-api.js +188 -656
  27. package/dist/esm/api/partner-v2-api.d.ts +535 -0
  28. package/dist/esm/api/partner-v2-api.js +1100 -0
  29. package/dist/esm/api.d.ts +2 -1
  30. package/dist/esm/api.js +2 -1
  31. package/dist/esm/base.d.ts +1 -1
  32. package/dist/esm/base.js +1 -1
  33. package/dist/esm/common.d.ts +1 -1
  34. package/dist/esm/common.js +1 -1
  35. package/dist/esm/configuration.d.ts +1 -1
  36. package/dist/esm/configuration.js +1 -1
  37. package/dist/esm/index.d.ts +1 -1
  38. package/dist/esm/index.js +1 -1
  39. package/dist/esm/models/acceptance-result-response-dto.d.ts +1 -1
  40. package/dist/esm/models/acceptance-result-response-dto.js +1 -1
  41. package/dist/esm/models/award-registered-response-dto.d.ts +1 -1
  42. package/dist/esm/models/award-registered-response-dto.js +1 -1
  43. package/dist/esm/models/bid-bond-dto.d.ts +1 -1
  44. package/dist/esm/models/bid-bond-dto.js +1 -1
  45. package/dist/esm/models/bid-contract-documents-batch-request-dto.d.ts +3 -3
  46. package/dist/esm/models/bid-contract-documents-batch-request-dto.js +1 -1
  47. package/dist/esm/models/bid-contract-documents-response-dto.d.ts +1 -1
  48. package/dist/esm/models/bid-contract-documents-response-dto.js +1 -1
  49. package/dist/esm/models/bid-created-response-dto.d.ts +1 -1
  50. package/dist/esm/models/bid-created-response-dto.js +1 -1
  51. package/dist/esm/models/bid-document-dto.d.ts +1 -1
  52. package/dist/esm/models/bid-document-dto.js +1 -1
  53. package/dist/esm/models/bid-failed-response-dto.d.ts +1 -1
  54. package/dist/esm/models/bid-failed-response-dto.js +1 -1
  55. package/dist/esm/models/bid-failure-reason.d.ts +1 -1
  56. package/dist/esm/models/bid-failure-reason.js +1 -1
  57. package/dist/esm/models/bid-item-dto.d.ts +1 -1
  58. package/dist/esm/models/bid-item-dto.js +1 -1
  59. package/dist/esm/models/bid-manager-dto.d.ts +1 -1
  60. package/dist/esm/models/bid-manager-dto.js +1 -1
  61. package/dist/esm/models/bid-result-participant-attachment-dto.d.ts +1 -1
  62. package/dist/esm/models/bid-result-participant-attachment-dto.js +1 -1
  63. package/dist/esm/models/bid-result-participant-dto.d.ts +1 -1
  64. package/dist/esm/models/bid-result-participant-dto.js +1 -1
  65. package/dist/esm/models/bid-result-product-dto.d.ts +1 -1
  66. package/dist/esm/models/bid-result-product-dto.js +1 -1
  67. package/dist/esm/models/bid-result-winner-dto.d.ts +1 -1
  68. package/dist/esm/models/bid-result-winner-dto.js +1 -1
  69. package/dist/esm/models/bid-results-batch-request-dto.d.ts +3 -3
  70. package/dist/esm/models/bid-results-batch-request-dto.js +1 -1
  71. package/dist/esm/models/bid-results-response-dto.d.ts +1 -1
  72. package/dist/esm/models/bid-results-response-dto.js +1 -1
  73. package/dist/esm/models/bid-settlement-line-item-dto.d.ts +1 -1
  74. package/dist/esm/models/bid-settlement-line-item-dto.js +1 -1
  75. package/dist/esm/models/bid-settlement-participant-dto.d.ts +1 -1
  76. package/dist/esm/models/bid-settlement-participant-dto.js +1 -1
  77. package/dist/esm/models/bid-settlement-response-dto.d.ts +1 -1
  78. package/dist/esm/models/bid-settlement-response-dto.js +1 -1
  79. package/dist/esm/models/bid-statement-response-dto.d.ts +1 -1
  80. package/dist/esm/models/bid-statement-response-dto.js +1 -1
  81. package/dist/esm/models/complete-acceptance-request-dto.d.ts +1 -1
  82. package/dist/esm/models/complete-acceptance-request-dto.js +1 -1
  83. package/dist/esm/models/contract-document-item-dto.d.ts +1 -1
  84. package/dist/esm/models/contract-document-item-dto.js +1 -1
  85. package/dist/esm/models/create-bid-request-dto.d.ts +1 -1
  86. package/dist/esm/models/create-bid-request-dto.js +1 -1
  87. package/dist/esm/models/file-uploaded-response-dto.d.ts +1 -1
  88. package/dist/esm/models/file-uploaded-response-dto.js +1 -1
  89. package/dist/esm/models/health-response-dto.d.ts +1 -1
  90. package/dist/esm/models/health-response-dto.js +1 -1
  91. package/dist/esm/models/hierarchical-region-dto.d.ts +1 -1
  92. package/dist/esm/models/hierarchical-region-dto.js +1 -1
  93. package/dist/esm/models/mark-bid-failed-request-dto.d.ts +1 -1
  94. package/dist/esm/models/mark-bid-failed-request-dto.js +1 -1
  95. package/dist/esm/models/negotiation-score-dto.d.ts +1 -1
  96. package/dist/esm/models/negotiation-score-dto.js +1 -1
  97. package/dist/esm/models/negotiation-scored-response-dto.d.ts +1 -1
  98. package/dist/esm/models/negotiation-scored-response-dto.js +1 -1
  99. package/dist/esm/models/preconditions-dto.d.ts +1 -1
  100. package/dist/esm/models/preconditions-dto.js +1 -1
  101. package/dist/esm/models/problem-details-dto.d.ts +1 -1
  102. package/dist/esm/models/problem-details-dto.js +1 -1
  103. package/dist/esm/models/register-award-request-dto.d.ts +1 -1
  104. package/dist/esm/models/register-award-request-dto.js +1 -1
  105. package/dist/esm/models/request-split-invoice-request-dto.d.ts +1 -1
  106. package/dist/esm/models/request-split-invoice-request-dto.js +1 -1
  107. package/dist/esm/models/split-invoice-response-dto.d.ts +1 -1
  108. package/dist/esm/models/split-invoice-response-dto.js +1 -1
  109. package/dist/esm/models/statement-document-dto.d.ts +1 -1
  110. package/dist/esm/models/statement-document-dto.js +1 -1
  111. package/dist/esm/models/statement-product-dto.d.ts +1 -1
  112. package/dist/esm/models/statement-product-dto.js +1 -1
  113. package/dist/esm/models/submit-negotiation-scores-request-dto.d.ts +1 -1
  114. package/dist/esm/models/submit-negotiation-scores-request-dto.js +1 -1
  115. package/dist/esm/models/token-request-dto.d.ts +1 -1
  116. package/dist/esm/models/token-request-dto.js +1 -1
  117. package/dist/esm/models/token-response-dto.d.ts +1 -1
  118. package/dist/esm/models/token-response-dto.js +1 -1
  119. package/dist/esm/models/upload-file-request-dto.d.ts +1 -1
  120. package/dist/esm/models/upload-file-request-dto.js +1 -1
  121. package/dist/index.d.ts +1 -1
  122. package/dist/index.js +1 -1
  123. package/dist/models/acceptance-result-response-dto.d.ts +1 -1
  124. package/dist/models/acceptance-result-response-dto.js +1 -1
  125. package/dist/models/award-registered-response-dto.d.ts +1 -1
  126. package/dist/models/award-registered-response-dto.js +1 -1
  127. package/dist/models/bid-bond-dto.d.ts +1 -1
  128. package/dist/models/bid-bond-dto.js +1 -1
  129. package/dist/models/bid-contract-documents-batch-request-dto.d.ts +3 -3
  130. package/dist/models/bid-contract-documents-batch-request-dto.js +1 -1
  131. package/dist/models/bid-contract-documents-response-dto.d.ts +1 -1
  132. package/dist/models/bid-contract-documents-response-dto.js +1 -1
  133. package/dist/models/bid-created-response-dto.d.ts +1 -1
  134. package/dist/models/bid-created-response-dto.js +1 -1
  135. package/dist/models/bid-document-dto.d.ts +1 -1
  136. package/dist/models/bid-document-dto.js +1 -1
  137. package/dist/models/bid-failed-response-dto.d.ts +1 -1
  138. package/dist/models/bid-failed-response-dto.js +1 -1
  139. package/dist/models/bid-failure-reason.d.ts +1 -1
  140. package/dist/models/bid-failure-reason.js +1 -1
  141. package/dist/models/bid-item-dto.d.ts +1 -1
  142. package/dist/models/bid-item-dto.js +1 -1
  143. package/dist/models/bid-manager-dto.d.ts +1 -1
  144. package/dist/models/bid-manager-dto.js +1 -1
  145. package/dist/models/bid-result-participant-attachment-dto.d.ts +1 -1
  146. package/dist/models/bid-result-participant-attachment-dto.js +1 -1
  147. package/dist/models/bid-result-participant-dto.d.ts +1 -1
  148. package/dist/models/bid-result-participant-dto.js +1 -1
  149. package/dist/models/bid-result-product-dto.d.ts +1 -1
  150. package/dist/models/bid-result-product-dto.js +1 -1
  151. package/dist/models/bid-result-winner-dto.d.ts +1 -1
  152. package/dist/models/bid-result-winner-dto.js +1 -1
  153. package/dist/models/bid-results-batch-request-dto.d.ts +3 -3
  154. package/dist/models/bid-results-batch-request-dto.js +1 -1
  155. package/dist/models/bid-results-response-dto.d.ts +1 -1
  156. package/dist/models/bid-results-response-dto.js +1 -1
  157. package/dist/models/bid-settlement-line-item-dto.d.ts +1 -1
  158. package/dist/models/bid-settlement-line-item-dto.js +1 -1
  159. package/dist/models/bid-settlement-participant-dto.d.ts +1 -1
  160. package/dist/models/bid-settlement-participant-dto.js +1 -1
  161. package/dist/models/bid-settlement-response-dto.d.ts +1 -1
  162. package/dist/models/bid-settlement-response-dto.js +1 -1
  163. package/dist/models/bid-statement-response-dto.d.ts +1 -1
  164. package/dist/models/bid-statement-response-dto.js +1 -1
  165. package/dist/models/complete-acceptance-request-dto.d.ts +1 -1
  166. package/dist/models/complete-acceptance-request-dto.js +1 -1
  167. package/dist/models/contract-document-item-dto.d.ts +1 -1
  168. package/dist/models/contract-document-item-dto.js +1 -1
  169. package/dist/models/create-bid-request-dto.d.ts +1 -1
  170. package/dist/models/create-bid-request-dto.js +1 -1
  171. package/dist/models/file-uploaded-response-dto.d.ts +1 -1
  172. package/dist/models/file-uploaded-response-dto.js +1 -1
  173. package/dist/models/health-response-dto.d.ts +1 -1
  174. package/dist/models/health-response-dto.js +1 -1
  175. package/dist/models/hierarchical-region-dto.d.ts +1 -1
  176. package/dist/models/hierarchical-region-dto.js +1 -1
  177. package/dist/models/mark-bid-failed-request-dto.d.ts +1 -1
  178. package/dist/models/mark-bid-failed-request-dto.js +1 -1
  179. package/dist/models/negotiation-score-dto.d.ts +1 -1
  180. package/dist/models/negotiation-score-dto.js +1 -1
  181. package/dist/models/negotiation-scored-response-dto.d.ts +1 -1
  182. package/dist/models/negotiation-scored-response-dto.js +1 -1
  183. package/dist/models/preconditions-dto.d.ts +1 -1
  184. package/dist/models/preconditions-dto.js +1 -1
  185. package/dist/models/problem-details-dto.d.ts +1 -1
  186. package/dist/models/problem-details-dto.js +1 -1
  187. package/dist/models/register-award-request-dto.d.ts +1 -1
  188. package/dist/models/register-award-request-dto.js +1 -1
  189. package/dist/models/request-split-invoice-request-dto.d.ts +1 -1
  190. package/dist/models/request-split-invoice-request-dto.js +1 -1
  191. package/dist/models/split-invoice-response-dto.d.ts +1 -1
  192. package/dist/models/split-invoice-response-dto.js +1 -1
  193. package/dist/models/statement-document-dto.d.ts +1 -1
  194. package/dist/models/statement-document-dto.js +1 -1
  195. package/dist/models/statement-product-dto.d.ts +1 -1
  196. package/dist/models/statement-product-dto.js +1 -1
  197. package/dist/models/submit-negotiation-scores-request-dto.d.ts +1 -1
  198. package/dist/models/submit-negotiation-scores-request-dto.js +1 -1
  199. package/dist/models/token-request-dto.d.ts +1 -1
  200. package/dist/models/token-request-dto.js +1 -1
  201. package/dist/models/token-response-dto.d.ts +1 -1
  202. package/dist/models/token-response-dto.js +1 -1
  203. package/dist/models/upload-file-request-dto.d.ts +1 -1
  204. package/dist/models/upload-file-request-dto.js +1 -1
  205. package/docs/BidContractDocumentsBatchRequestDto.md +1 -1
  206. package/docs/BidResultsBatchRequestDto.md +1 -1
  207. package/docs/OauthApi.md +1 -1
  208. package/docs/PartnerV1Api.md +61 -413
  209. package/docs/PartnerV2Api.md +789 -0
  210. package/index.ts +1 -1
  211. package/models/acceptance-result-response-dto.ts +1 -1
  212. package/models/award-registered-response-dto.ts +1 -1
  213. package/models/bid-bond-dto.ts +1 -1
  214. package/models/bid-contract-documents-batch-request-dto.ts +3 -3
  215. package/models/bid-contract-documents-response-dto.ts +1 -1
  216. package/models/bid-created-response-dto.ts +1 -1
  217. package/models/bid-document-dto.ts +1 -1
  218. package/models/bid-failed-response-dto.ts +1 -1
  219. package/models/bid-failure-reason.ts +1 -1
  220. package/models/bid-item-dto.ts +1 -1
  221. package/models/bid-manager-dto.ts +1 -1
  222. package/models/bid-result-participant-attachment-dto.ts +1 -1
  223. package/models/bid-result-participant-dto.ts +1 -1
  224. package/models/bid-result-product-dto.ts +1 -1
  225. package/models/bid-result-winner-dto.ts +1 -1
  226. package/models/bid-results-batch-request-dto.ts +3 -3
  227. package/models/bid-results-response-dto.ts +1 -1
  228. package/models/bid-settlement-line-item-dto.ts +1 -1
  229. package/models/bid-settlement-participant-dto.ts +1 -1
  230. package/models/bid-settlement-response-dto.ts +1 -1
  231. package/models/bid-statement-response-dto.ts +1 -1
  232. package/models/complete-acceptance-request-dto.ts +1 -1
  233. package/models/contract-document-item-dto.ts +1 -1
  234. package/models/create-bid-request-dto.ts +1 -1
  235. package/models/file-uploaded-response-dto.ts +1 -1
  236. package/models/health-response-dto.ts +1 -1
  237. package/models/hierarchical-region-dto.ts +1 -1
  238. package/models/mark-bid-failed-request-dto.ts +1 -1
  239. package/models/negotiation-score-dto.ts +1 -1
  240. package/models/negotiation-scored-response-dto.ts +1 -1
  241. package/models/preconditions-dto.ts +1 -1
  242. package/models/problem-details-dto.ts +1 -1
  243. package/models/register-award-request-dto.ts +1 -1
  244. package/models/request-split-invoice-request-dto.ts +1 -1
  245. package/models/split-invoice-response-dto.ts +1 -1
  246. package/models/statement-document-dto.ts +1 -1
  247. package/models/statement-product-dto.ts +1 -1
  248. package/models/submit-negotiation-scores-request-dto.ts +1 -1
  249. package/models/token-request-dto.ts +1 -1
  250. package/models/token-response-dto.ts +1 -1
  251. package/models/upload-file-request-dto.ts +1 -1
  252. package/package.json +1 -1
@@ -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. 각 요청 body 에 `ID`(cate_set.api_id) / `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, setBasicAuthToObject, 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,11 @@ 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 required
59
+ // http basic authentication required
60
+ setBasicAuthToObject(localVarRequestOptions, configuration);
64
61
  localVarHeaderParameter['Content-Type'] = 'application/json';
65
62
  localVarHeaderParameter['Accept'] = 'application/json';
66
- if (idempotencyKey != null) {
67
- localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey);
68
- }
69
63
  setSearchParams(localVarUrlObj, localVarQueryParameter);
70
64
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
71
65
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -76,54 +70,15 @@ export const PartnerV1ApiAxiosParamCreator = function (configuration) {
76
70
  };
77
71
  }),
78
72
  /**
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 계약서류 수신 배치 조회
73
+ * V5 `/contractDocumentRec`(bid_puchase_no_list) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
74
+ * @summary 계약서류 수신 배치 조회 — V5 충실
120
75
  * @param {BidContractDocumentsBatchRequestDto} bidContractDocumentsBatchRequestDto
121
76
  * @param {*} [options] Override http request option.
122
77
  * @throws {RequiredError}
123
78
  */
124
- getBidContractDocumentsBatch: (bidContractDocumentsBatchRequestDto_1, ...args_1) => __awaiter(this, [bidContractDocumentsBatchRequestDto_1, ...args_1], void 0, function* (bidContractDocumentsBatchRequestDto, options = {}) {
79
+ v1GetBidContractDocumentsBatch: (bidContractDocumentsBatchRequestDto_1, ...args_1) => __awaiter(this, [bidContractDocumentsBatchRequestDto_1, ...args_1], void 0, function* (bidContractDocumentsBatchRequestDto, options = {}) {
125
80
  // verify required parameter 'bidContractDocumentsBatchRequestDto' is not null or undefined
126
- assertParamExists('getBidContractDocumentsBatch', 'bidContractDocumentsBatchRequestDto', bidContractDocumentsBatchRequestDto);
81
+ assertParamExists('v1GetBidContractDocumentsBatch', 'bidContractDocumentsBatchRequestDto', bidContractDocumentsBatchRequestDto);
127
82
  const localVarPath = `/v1/bids/contract-documents/batch`;
128
83
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
129
84
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -134,9 +89,9 @@ export const PartnerV1ApiAxiosParamCreator = function (configuration) {
134
89
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
135
90
  const localVarHeaderParameter = {};
136
91
  const localVarQueryParameter = {};
137
- // authentication partner-oauth2 required
138
- // http bearer authentication required
139
- yield setBearerAuthToObject(localVarHeaderParameter, configuration);
92
+ // authentication platform-auth required
93
+ // http basic authentication required
94
+ setBasicAuthToObject(localVarRequestOptions, configuration);
140
95
  localVarHeaderParameter['Content-Type'] = 'application/json';
141
96
  localVarHeaderParameter['Accept'] = 'application/json';
142
97
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -149,54 +104,15 @@ export const PartnerV1ApiAxiosParamCreator = function (configuration) {
149
104
  };
150
105
  }),
151
106
  /**
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 입찰결과 배치 조회
107
+ * V5 `/entendRec`(bid_puchase_no_list) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId 는 group_code 로 자동 결정. resolveBidId 도 이 엔드포인트를 사용한다.
108
+ * @summary 입찰결과 배치 조회 — V5 충실
193
109
  * @param {BidResultsBatchRequestDto} bidResultsBatchRequestDto
194
110
  * @param {*} [options] Override http request option.
195
111
  * @throws {RequiredError}
196
112
  */
197
- getBidResultsBatch: (bidResultsBatchRequestDto_1, ...args_1) => __awaiter(this, [bidResultsBatchRequestDto_1, ...args_1], void 0, function* (bidResultsBatchRequestDto, options = {}) {
113
+ v1GetBidResultsBatch: (bidResultsBatchRequestDto_1, ...args_1) => __awaiter(this, [bidResultsBatchRequestDto_1, ...args_1], void 0, function* (bidResultsBatchRequestDto, options = {}) {
198
114
  // verify required parameter 'bidResultsBatchRequestDto' is not null or undefined
199
- assertParamExists('getBidResultsBatch', 'bidResultsBatchRequestDto', bidResultsBatchRequestDto);
115
+ assertParamExists('v1GetBidResultsBatch', 'bidResultsBatchRequestDto', bidResultsBatchRequestDto);
200
116
  const localVarPath = `/v1/bids/results/batch`;
201
117
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
202
118
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -207,9 +123,9 @@ export const PartnerV1ApiAxiosParamCreator = function (configuration) {
207
123
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
208
124
  const localVarHeaderParameter = {};
209
125
  const localVarQueryParameter = {};
210
- // authentication partner-oauth2 required
211
- // http bearer authentication required
212
- yield setBearerAuthToObject(localVarHeaderParameter, configuration);
126
+ // authentication platform-auth required
127
+ // http basic authentication required
128
+ setBasicAuthToObject(localVarRequestOptions, configuration);
213
129
  localVarHeaderParameter['Content-Type'] = 'application/json';
214
130
  localVarHeaderParameter['Accept'] = 'application/json';
215
131
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -222,51 +138,18 @@ export const PartnerV1ApiAxiosParamCreator = function (configuration) {
222
138
  };
223
139
  }),
224
140
  /**
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 거래명세서 조회
141
+ * V5 `/getGrm` 후속. 인증 = body `ID`/`Secret`(cate_set). group_code 스코프로 가시성 적용.
142
+ * @summary 거래명세서 조회 — V5 충실
260
143
  * @param {string} bidId
261
144
  * @param {number} paperCode
262
145
  * @param {*} [options] Override http request option.
263
146
  * @throws {RequiredError}
264
147
  */
265
- getBidStatement: (bidId_1, paperCode_1, ...args_1) => __awaiter(this, [bidId_1, paperCode_1, ...args_1], void 0, function* (bidId, paperCode, options = {}) {
148
+ v1GetBidStatement: (bidId_1, paperCode_1, ...args_1) => __awaiter(this, [bidId_1, paperCode_1, ...args_1], void 0, function* (bidId, paperCode, options = {}) {
266
149
  // verify required parameter 'bidId' is not null or undefined
267
- assertParamExists('getBidStatement', 'bidId', bidId);
150
+ assertParamExists('v1GetBidStatement', 'bidId', bidId);
268
151
  // verify required parameter 'paperCode' is not null or undefined
269
- assertParamExists('getBidStatement', 'paperCode', paperCode);
152
+ assertParamExists('v1GetBidStatement', 'paperCode', paperCode);
270
153
  const localVarPath = `/v1/bids/{bidId}/statement`
271
154
  .replace('{bidId}', encodeURIComponent(String(bidId)));
272
155
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -278,9 +161,9 @@ export const PartnerV1ApiAxiosParamCreator = function (configuration) {
278
161
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
279
162
  const localVarHeaderParameter = {};
280
163
  const localVarQueryParameter = {};
281
- // authentication partner-oauth2 required
282
- // http bearer authentication required
283
- yield setBearerAuthToObject(localVarHeaderParameter, configuration);
164
+ // authentication platform-auth required
165
+ // http basic authentication required
166
+ setBasicAuthToObject(localVarRequestOptions, configuration);
284
167
  if (paperCode !== undefined) {
285
168
  localVarQueryParameter['paperCode'] = paperCode;
286
169
  }
@@ -294,44 +177,15 @@ export const PartnerV1ApiAxiosParamCreator = function (configuration) {
294
177
  };
295
178
  }),
296
179
  /**
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 권장.
180
+ * V5 `scsbidSend`(type=U) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
181
+ * @summary 유찰 처리 — V5 충실
326
182
  * @param {MarkBidFailedRequestDto} markBidFailedRequestDto
327
183
  * @param {*} [options] Override http request option.
328
184
  * @throws {RequiredError}
329
185
  */
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);
186
+ v1MarkBidFailed: (markBidFailedRequestDto_1, ...args_1) => __awaiter(this, [markBidFailedRequestDto_1, ...args_1], void 0, function* (markBidFailedRequestDto, options = {}) {
333
187
  // verify required parameter 'markBidFailedRequestDto' is not null or undefined
334
- assertParamExists('markBidFailed', 'markBidFailedRequestDto', markBidFailedRequestDto);
188
+ assertParamExists('v1MarkBidFailed', 'markBidFailedRequestDto', markBidFailedRequestDto);
335
189
  const localVarPath = `/v1/awards/fail`;
336
190
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
337
191
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -342,14 +196,11 @@ export const PartnerV1ApiAxiosParamCreator = function (configuration) {
342
196
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
343
197
  const localVarHeaderParameter = {};
344
198
  const localVarQueryParameter = {};
345
- // authentication partner-oauth2 required
346
- // http bearer authentication required
347
- yield setBearerAuthToObject(localVarHeaderParameter, configuration);
199
+ // authentication platform-auth required
200
+ // http basic authentication required
201
+ setBasicAuthToObject(localVarRequestOptions, configuration);
348
202
  localVarHeaderParameter['Content-Type'] = 'application/json';
349
203
  localVarHeaderParameter['Accept'] = 'application/json';
350
- if (idempotencyKey != null) {
351
- localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey);
352
- }
353
204
  setSearchParams(localVarUrlObj, localVarQueryParameter);
354
205
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
355
206
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -360,51 +211,15 @@ export const PartnerV1ApiAxiosParamCreator = function (configuration) {
360
211
  };
361
212
  }),
362
213
  /**
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 권장.
214
+ * V5 `scsbidSend`(type=W) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId group_code 자동 결정.
215
+ * @summary 낙찰 결과 전송 V5 충실
399
216
  * @param {RegisterAwardRequestDto} registerAwardRequestDto
400
217
  * @param {*} [options] Override http request option.
401
218
  * @throws {RequiredError}
402
219
  */
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);
220
+ v1RegisterAward: (registerAwardRequestDto_1, ...args_1) => __awaiter(this, [registerAwardRequestDto_1, ...args_1], void 0, function* (registerAwardRequestDto, options = {}) {
406
221
  // verify required parameter 'registerAwardRequestDto' is not null or undefined
407
- assertParamExists('registerAward', 'registerAwardRequestDto', registerAwardRequestDto);
222
+ assertParamExists('v1RegisterAward', 'registerAwardRequestDto', registerAwardRequestDto);
408
223
  const localVarPath = `/v1/awards`;
409
224
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
410
225
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -415,14 +230,11 @@ export const PartnerV1ApiAxiosParamCreator = function (configuration) {
415
230
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
416
231
  const localVarHeaderParameter = {};
417
232
  const localVarQueryParameter = {};
418
- // authentication partner-oauth2 required
419
- // http bearer authentication required
420
- yield setBearerAuthToObject(localVarHeaderParameter, configuration);
233
+ // authentication platform-auth required
234
+ // http basic authentication required
235
+ setBasicAuthToObject(localVarRequestOptions, configuration);
421
236
  localVarHeaderParameter['Content-Type'] = 'application/json';
422
237
  localVarHeaderParameter['Accept'] = 'application/json';
423
- if (idempotencyKey != null) {
424
- localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey);
425
- }
426
238
  setSearchParams(localVarUrlObj, localVarQueryParameter);
427
239
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
428
240
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -433,15 +245,15 @@ export const PartnerV1ApiAxiosParamCreator = function (configuration) {
433
245
  };
434
246
  }),
435
247
  /**
436
- * 입찰 정보 등록. 스코프 `bids:write` + `Idempotency-Key` 헤더 필수.
437
- * @summary 입찰 정보 전송(등록)
248
+ * V5 `scsbidSend`(type=B) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
249
+ * @summary 입찰 정보 전송(등록) — V5 충실
438
250
  * @param {CreateBidRequestDto} createBidRequestDto
439
251
  * @param {*} [options] Override http request option.
440
252
  * @throws {RequiredError}
441
253
  */
442
- registerBid: (createBidRequestDto_1, ...args_1) => __awaiter(this, [createBidRequestDto_1, ...args_1], void 0, function* (createBidRequestDto, options = {}) {
254
+ v1RegisterBid: (createBidRequestDto_1, ...args_1) => __awaiter(this, [createBidRequestDto_1, ...args_1], void 0, function* (createBidRequestDto, options = {}) {
443
255
  // verify required parameter 'createBidRequestDto' is not null or undefined
444
- assertParamExists('registerBid', 'createBidRequestDto', createBidRequestDto);
256
+ assertParamExists('v1RegisterBid', 'createBidRequestDto', createBidRequestDto);
445
257
  const localVarPath = `/v1/bids`;
446
258
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
447
259
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -452,9 +264,9 @@ export const PartnerV1ApiAxiosParamCreator = function (configuration) {
452
264
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
453
265
  const localVarHeaderParameter = {};
454
266
  const localVarQueryParameter = {};
455
- // authentication partner-oauth2 required
456
- // http bearer authentication required
457
- yield setBearerAuthToObject(localVarHeaderParameter, configuration);
267
+ // authentication platform-auth required
268
+ // http basic authentication required
269
+ setBasicAuthToObject(localVarRequestOptions, configuration);
458
270
  localVarHeaderParameter['Content-Type'] = 'application/json';
459
271
  localVarHeaderParameter['Accept'] = 'application/json';
460
272
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -467,18 +279,15 @@ export const PartnerV1ApiAxiosParamCreator = function (configuration) {
467
279
  };
468
280
  }),
469
281
  /**
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 권장.
282
+ * V5 `splitInvoiceRequest` 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId group_code 자동 결정.
283
+ * @summary 계산서 분할 발급 청구 — V5 충실
473
284
  * @param {RequestSplitInvoiceRequestDto} requestSplitInvoiceRequestDto
474
285
  * @param {*} [options] Override http request option.
475
286
  * @throws {RequiredError}
476
287
  */
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);
288
+ v1RequestSplitInvoice: (requestSplitInvoiceRequestDto_1, ...args_1) => __awaiter(this, [requestSplitInvoiceRequestDto_1, ...args_1], void 0, function* (requestSplitInvoiceRequestDto, options = {}) {
480
289
  // verify required parameter 'requestSplitInvoiceRequestDto' is not null or undefined
481
- assertParamExists('requestSplitInvoice', 'requestSplitInvoiceRequestDto', requestSplitInvoiceRequestDto);
290
+ assertParamExists('v1RequestSplitInvoice', 'requestSplitInvoiceRequestDto', requestSplitInvoiceRequestDto);
482
291
  const localVarPath = `/v1/invoices/split-requests`;
483
292
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
484
293
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -489,14 +298,11 @@ export const PartnerV1ApiAxiosParamCreator = function (configuration) {
489
298
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
490
299
  const localVarHeaderParameter = {};
491
300
  const localVarQueryParameter = {};
492
- // authentication partner-oauth2 required
493
- // http bearer authentication required
494
- yield setBearerAuthToObject(localVarHeaderParameter, configuration);
301
+ // authentication platform-auth required
302
+ // http basic authentication required
303
+ setBasicAuthToObject(localVarRequestOptions, configuration);
495
304
  localVarHeaderParameter['Content-Type'] = 'application/json';
496
305
  localVarHeaderParameter['Accept'] = 'application/json';
497
- if (idempotencyKey != null) {
498
- localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey);
499
- }
500
306
  setSearchParams(localVarUrlObj, localVarQueryParameter);
501
307
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
502
308
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -507,18 +313,15 @@ export const PartnerV1ApiAxiosParamCreator = function (configuration) {
507
313
  };
508
314
  }),
509
315
  /**
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 권장.
316
+ * V5 `scsbidSend`(type=nego) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId group_code 자동 결정.
317
+ * @summary 협상(H/K) 점수평가 — V5 충실
513
318
  * @param {SubmitNegotiationScoresRequestDto} submitNegotiationScoresRequestDto
514
319
  * @param {*} [options] Override http request option.
515
320
  * @throws {RequiredError}
516
321
  */
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);
322
+ v1SubmitNegotiationScores: (submitNegotiationScoresRequestDto_1, ...args_1) => __awaiter(this, [submitNegotiationScoresRequestDto_1, ...args_1], void 0, function* (submitNegotiationScoresRequestDto, options = {}) {
520
323
  // verify required parameter 'submitNegotiationScoresRequestDto' is not null or undefined
521
- assertParamExists('submitNegotiationScores', 'submitNegotiationScoresRequestDto', submitNegotiationScoresRequestDto);
324
+ assertParamExists('v1SubmitNegotiationScores', 'submitNegotiationScoresRequestDto', submitNegotiationScoresRequestDto);
522
325
  const localVarPath = `/v1/awards/nego-eval`;
523
326
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
524
327
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -529,14 +332,11 @@ export const PartnerV1ApiAxiosParamCreator = function (configuration) {
529
332
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
530
333
  const localVarHeaderParameter = {};
531
334
  const localVarQueryParameter = {};
532
- // authentication partner-oauth2 required
533
- // http bearer authentication required
534
- yield setBearerAuthToObject(localVarHeaderParameter, configuration);
335
+ // authentication platform-auth required
336
+ // http basic authentication required
337
+ setBasicAuthToObject(localVarRequestOptions, configuration);
535
338
  localVarHeaderParameter['Content-Type'] = 'application/json';
536
339
  localVarHeaderParameter['Accept'] = 'application/json';
537
- if (idempotencyKey != null) {
538
- localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey);
539
- }
540
340
  setSearchParams(localVarUrlObj, localVarQueryParameter);
541
341
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
542
342
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -546,40 +346,6 @@ export const PartnerV1ApiAxiosParamCreator = function (configuration) {
546
346
  options: localVarRequestOptions,
547
347
  };
548
348
  }),
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
349
  };
584
350
  };
585
351
  /**
@@ -589,250 +355,148 @@ export const PartnerV1ApiFp = function (configuration) {
589
355
  const localVarAxiosParamCreator = PartnerV1ApiAxiosParamCreator(configuration);
590
356
  return {
591
357
  /**
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 계약서류 수신 조회
358
+ * V5 `/acceptanceCompleteSend` 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId group_code 자동 결정.
359
+ * @summary 검수완료 전송 — V5 충실
612
360
  * @param {string} bidId
613
- * @param {string} buyerId 공고 명의 회원 ID(b2b_member.member_id).
361
+ * @param {CompleteAcceptanceRequestDto} completeAcceptanceRequestDto
614
362
  * @param {*} [options] Override http request option.
615
363
  * @throws {RequiredError}
616
364
  */
617
- getBidContractDocuments(bidId, buyerId, options) {
365
+ v1CompleteAcceptance(bidId, completeAcceptanceRequestDto, options) {
618
366
  return __awaiter(this, void 0, void 0, function* () {
619
367
  var _a, _b, _c;
620
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getBidContractDocuments(bidId, buyerId, options);
368
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CompleteAcceptance(bidId, completeAcceptanceRequestDto, options);
621
369
  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;
370
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PartnerV1Api.v1CompleteAcceptance']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
623
371
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
624
372
  });
625
373
  },
626
374
  /**
627
- * V5 /contractDocumentRec(bid_puchase_no_list) 후속. 공고번호 리스트를 번에 조회. 단건(GET :bidId/contract-documents)은 그대로 유지. scope contracts:read.
628
- * @summary 계약서류 수신 배치 조회
375
+ * V5 `/contractDocumentRec`(bid_puchase_no_list) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId group_code 자동 결정.
376
+ * @summary 계약서류 수신 배치 조회 — V5 충실
629
377
  * @param {BidContractDocumentsBatchRequestDto} bidContractDocumentsBatchRequestDto
630
378
  * @param {*} [options] Override http request option.
631
379
  * @throws {RequiredError}
632
380
  */
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) {
381
+ v1GetBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto, options) {
651
382
  return __awaiter(this, void 0, void 0, function* () {
652
383
  var _a, _b, _c;
653
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getBidResults(bidId, buyerId, options);
384
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto, options);
654
385
  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;
386
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PartnerV1Api.v1GetBidContractDocumentsBatch']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
656
387
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
657
388
  });
658
389
  },
659
390
  /**
660
- * V5 entendRec(bid_puchase_no_list) 후속 여러 공고 결과를 1회 호출로(additive, 단건 유지). bidIds(공고 식별자) 또는 purchaseNos(구매번호) 중 하나 — purchaseNos PO 가장 최근 공고로 해소. 입력 순서를 보존한다. scope bids:read.
661
- * @summary 입찰결과 배치 조회
391
+ * V5 `/entendRec`(bid_puchase_no_list) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerIdgroup_code 자동 결정. resolveBidId 엔드포인트를 사용한다.
392
+ * @summary 입찰결과 배치 조회 — V5 충실
662
393
  * @param {BidResultsBatchRequestDto} bidResultsBatchRequestDto
663
394
  * @param {*} [options] Override http request option.
664
395
  * @throws {RequiredError}
665
396
  */
666
- getBidResultsBatch(bidResultsBatchRequestDto, options) {
397
+ v1GetBidResultsBatch(bidResultsBatchRequestDto, options) {
667
398
  return __awaiter(this, void 0, void 0, function* () {
668
399
  var _a, _b, _c;
669
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getBidResultsBatch(bidResultsBatchRequestDto, options);
400
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetBidResultsBatch(bidResultsBatchRequestDto, options);
670
401
  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;
402
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PartnerV1Api.v1GetBidResultsBatch']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
672
403
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
673
404
  });
674
405
  },
675
406
  /**
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 거래명세서 조회
407
+ * V5 `/getGrm` 후속. 인증 = body `ID`/`Secret`(cate_set). group_code 스코프로 가시성 적용.
408
+ * @summary 거래명세서 조회 — V5 충실
694
409
  * @param {string} bidId
695
410
  * @param {number} paperCode
696
411
  * @param {*} [options] Override http request option.
697
412
  * @throws {RequiredError}
698
413
  */
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) {
414
+ v1GetBidStatement(bidId, paperCode, options) {
715
415
  return __awaiter(this, void 0, void 0, function* () {
716
416
  var _a, _b, _c;
717
- const localVarAxiosArgs = yield localVarAxiosParamCreator.healthControllerCheck(options);
417
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetBidStatement(bidId, paperCode, options);
718
418
  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;
419
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PartnerV1Api.v1GetBidStatement']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
720
420
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
721
421
  });
722
422
  },
723
423
  /**
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 권장.
424
+ * V5 `scsbidSend`(type=U) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId group_code 자동 결정.
425
+ * @summary 유찰 처리 — V5 충실
727
426
  * @param {MarkBidFailedRequestDto} markBidFailedRequestDto
728
427
  * @param {*} [options] Override http request option.
729
428
  * @throws {RequiredError}
730
429
  */
731
- markBidFailed(idempotencyKey, markBidFailedRequestDto, options) {
430
+ v1MarkBidFailed(markBidFailedRequestDto, options) {
732
431
  return __awaiter(this, void 0, void 0, function* () {
733
432
  var _a, _b, _c;
734
- const localVarAxiosArgs = yield localVarAxiosParamCreator.markBidFailed(idempotencyKey, markBidFailedRequestDto, options);
433
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1MarkBidFailed(markBidFailedRequestDto, options);
735
434
  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;
435
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PartnerV1Api.v1MarkBidFailed']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
737
436
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
738
437
  });
739
438
  },
740
439
  /**
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 권장.
440
+ * V5 `scsbidSend`(type=W) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId group_code 자동 결정.
441
+ * @summary 낙찰 결과 전송 V5 충실
760
442
  * @param {RegisterAwardRequestDto} registerAwardRequestDto
761
443
  * @param {*} [options] Override http request option.
762
444
  * @throws {RequiredError}
763
445
  */
764
- registerAward(idempotencyKey, registerAwardRequestDto, options) {
446
+ v1RegisterAward(registerAwardRequestDto, options) {
765
447
  return __awaiter(this, void 0, void 0, function* () {
766
448
  var _a, _b, _c;
767
- const localVarAxiosArgs = yield localVarAxiosParamCreator.registerAward(idempotencyKey, registerAwardRequestDto, options);
449
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1RegisterAward(registerAwardRequestDto, options);
768
450
  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;
451
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PartnerV1Api.v1RegisterAward']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
770
452
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
771
453
  });
772
454
  },
773
455
  /**
774
- * 입찰 정보 등록. 스코프 `bids:write` + `Idempotency-Key` 헤더 필수.
775
- * @summary 입찰 정보 전송(등록)
456
+ * V5 `scsbidSend`(type=B) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
457
+ * @summary 입찰 정보 전송(등록) — V5 충실
776
458
  * @param {CreateBidRequestDto} createBidRequestDto
777
459
  * @param {*} [options] Override http request option.
778
460
  * @throws {RequiredError}
779
461
  */
780
- registerBid(createBidRequestDto, options) {
462
+ v1RegisterBid(createBidRequestDto, options) {
781
463
  return __awaiter(this, void 0, void 0, function* () {
782
464
  var _a, _b, _c;
783
- const localVarAxiosArgs = yield localVarAxiosParamCreator.registerBid(createBidRequestDto, options);
465
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1RegisterBid(createBidRequestDto, options);
784
466
  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;
467
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PartnerV1Api.v1RegisterBid']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
786
468
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
787
469
  });
788
470
  },
789
471
  /**
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 권장.
472
+ * V5 `splitInvoiceRequest` 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId group_code 자동 결정.
473
+ * @summary 계산서 분할 발급 청구 — V5 충실
793
474
  * @param {RequestSplitInvoiceRequestDto} requestSplitInvoiceRequestDto
794
475
  * @param {*} [options] Override http request option.
795
476
  * @throws {RequiredError}
796
477
  */
797
- requestSplitInvoice(idempotencyKey, requestSplitInvoiceRequestDto, options) {
478
+ v1RequestSplitInvoice(requestSplitInvoiceRequestDto, options) {
798
479
  return __awaiter(this, void 0, void 0, function* () {
799
480
  var _a, _b, _c;
800
- const localVarAxiosArgs = yield localVarAxiosParamCreator.requestSplitInvoice(idempotencyKey, requestSplitInvoiceRequestDto, options);
481
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1RequestSplitInvoice(requestSplitInvoiceRequestDto, options);
801
482
  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;
483
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PartnerV1Api.v1RequestSplitInvoice']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
803
484
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
804
485
  });
805
486
  },
806
487
  /**
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 권장.
488
+ * V5 `scsbidSend`(type=nego) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId group_code 자동 결정.
489
+ * @summary 협상(H/K) 점수평가 — V5 충실
810
490
  * @param {SubmitNegotiationScoresRequestDto} submitNegotiationScoresRequestDto
811
491
  * @param {*} [options] Override http request option.
812
492
  * @throws {RequiredError}
813
493
  */
814
- submitNegotiationScores(idempotencyKey, submitNegotiationScoresRequestDto, options) {
494
+ v1SubmitNegotiationScores(submitNegotiationScoresRequestDto, options) {
815
495
  return __awaiter(this, void 0, void 0, function* () {
816
496
  var _a, _b, _c;
817
- const localVarAxiosArgs = yield localVarAxiosParamCreator.submitNegotiationScores(idempotencyKey, submitNegotiationScoresRequestDto, options);
497
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1SubmitNegotiationScores(submitNegotiationScoresRequestDto, options);
818
498
  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;
499
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PartnerV1Api.v1SubmitNegotiationScores']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
836
500
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
837
501
  });
838
502
  },
@@ -845,162 +509,96 @@ export const PartnerV1ApiFactory = function (configuration, basePath, axios) {
845
509
  const localVarFp = PartnerV1ApiFp(configuration);
846
510
  return {
847
511
  /**
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 계약서류 수신 조회
512
+ * V5 `/acceptanceCompleteSend` 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId group_code 자동 결정.
513
+ * @summary 검수완료 전송 — V5 충실
862
514
  * @param {string} bidId
863
- * @param {string} buyerId 공고 명의 회원 ID(b2b_member.member_id).
515
+ * @param {CompleteAcceptanceRequestDto} completeAcceptanceRequestDto
864
516
  * @param {*} [options] Override http request option.
865
517
  * @throws {RequiredError}
866
518
  */
867
- getBidContractDocuments(bidId, buyerId, options) {
868
- return localVarFp.getBidContractDocuments(bidId, buyerId, options).then((request) => request(axios, basePath));
519
+ v1CompleteAcceptance(bidId, completeAcceptanceRequestDto, options) {
520
+ return localVarFp.v1CompleteAcceptance(bidId, completeAcceptanceRequestDto, options).then((request) => request(axios, basePath));
869
521
  },
870
522
  /**
871
- * V5 /contractDocumentRec(bid_puchase_no_list) 후속. 공고번호 리스트를 번에 조회. 단건(GET :bidId/contract-documents)은 그대로 유지. scope contracts:read.
872
- * @summary 계약서류 수신 배치 조회
523
+ * V5 `/contractDocumentRec`(bid_puchase_no_list) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId group_code 자동 결정.
524
+ * @summary 계약서류 수신 배치 조회 — V5 충실
873
525
  * @param {BidContractDocumentsBatchRequestDto} bidContractDocumentsBatchRequestDto
874
526
  * @param {*} [options] Override http request option.
875
527
  * @throws {RequiredError}
876
528
  */
877
- getBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto, options) {
878
- return localVarFp.getBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto, options).then((request) => request(axios, basePath));
529
+ v1GetBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto, options) {
530
+ return localVarFp.v1GetBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto, options).then((request) => request(axios, basePath));
879
531
  },
880
532
  /**
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 입찰결과 배치 조회
533
+ * V5 `/entendRec`(bid_puchase_no_list) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId 는 group_code 로 자동 결정. resolveBidId 도 이 엔드포인트를 사용한다.
534
+ * @summary 입찰결과 배치 조회 — V5 충실
894
535
  * @param {BidResultsBatchRequestDto} bidResultsBatchRequestDto
895
536
  * @param {*} [options] Override http request option.
896
537
  * @throws {RequiredError}
897
538
  */
898
- getBidResultsBatch(bidResultsBatchRequestDto, options) {
899
- return localVarFp.getBidResultsBatch(bidResultsBatchRequestDto, options).then((request) => request(axios, basePath));
539
+ v1GetBidResultsBatch(bidResultsBatchRequestDto, options) {
540
+ return localVarFp.v1GetBidResultsBatch(bidResultsBatchRequestDto, options).then((request) => request(axios, basePath));
900
541
  },
901
542
  /**
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 거래명세서 조회
543
+ * V5 `/getGrm` 후속. 인증 = body `ID`/`Secret`(cate_set). group_code 스코프로 가시성 적용.
544
+ * @summary 거래명세서 조회 — V5 충실
914
545
  * @param {string} bidId
915
546
  * @param {number} paperCode
916
547
  * @param {*} [options] Override http request option.
917
548
  * @throws {RequiredError}
918
549
  */
919
- getBidStatement(bidId, paperCode, options) {
920
- return localVarFp.getBidStatement(bidId, paperCode, options).then((request) => request(axios, basePath));
550
+ v1GetBidStatement(bidId, paperCode, options) {
551
+ return localVarFp.v1GetBidStatement(bidId, paperCode, options).then((request) => request(axios, basePath));
921
552
  },
922
553
  /**
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 권장.
554
+ * V5 `scsbidSend`(type=U) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
555
+ * @summary 유찰 처리 — V5 충실
935
556
  * @param {MarkBidFailedRequestDto} markBidFailedRequestDto
936
557
  * @param {*} [options] Override http request option.
937
558
  * @throws {RequiredError}
938
559
  */
939
- markBidFailed(idempotencyKey, markBidFailedRequestDto, options) {
940
- return localVarFp.markBidFailed(idempotencyKey, markBidFailedRequestDto, options).then((request) => request(axios, basePath));
560
+ v1MarkBidFailed(markBidFailedRequestDto, options) {
561
+ return localVarFp.v1MarkBidFailed(markBidFailedRequestDto, options).then((request) => request(axios, basePath));
941
562
  },
942
563
  /**
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 권장.
564
+ * V5 `scsbidSend`(type=W) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId group_code 자동 결정.
565
+ * @summary 낙찰 결과 전송 V5 충실
956
566
  * @param {RegisterAwardRequestDto} registerAwardRequestDto
957
567
  * @param {*} [options] Override http request option.
958
568
  * @throws {RequiredError}
959
569
  */
960
- registerAward(idempotencyKey, registerAwardRequestDto, options) {
961
- return localVarFp.registerAward(idempotencyKey, registerAwardRequestDto, options).then((request) => request(axios, basePath));
570
+ v1RegisterAward(registerAwardRequestDto, options) {
571
+ return localVarFp.v1RegisterAward(registerAwardRequestDto, options).then((request) => request(axios, basePath));
962
572
  },
963
573
  /**
964
- * 입찰 정보 등록. 스코프 `bids:write` + `Idempotency-Key` 헤더 필수.
965
- * @summary 입찰 정보 전송(등록)
574
+ * V5 `scsbidSend`(type=B) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
575
+ * @summary 입찰 정보 전송(등록) — V5 충실
966
576
  * @param {CreateBidRequestDto} createBidRequestDto
967
577
  * @param {*} [options] Override http request option.
968
578
  * @throws {RequiredError}
969
579
  */
970
- registerBid(createBidRequestDto, options) {
971
- return localVarFp.registerBid(createBidRequestDto, options).then((request) => request(axios, basePath));
580
+ v1RegisterBid(createBidRequestDto, options) {
581
+ return localVarFp.v1RegisterBid(createBidRequestDto, options).then((request) => request(axios, basePath));
972
582
  },
973
583
  /**
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 권장.
584
+ * V5 `splitInvoiceRequest` 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId group_code 자동 결정.
585
+ * @summary 계산서 분할 발급 청구 — V5 충실
977
586
  * @param {RequestSplitInvoiceRequestDto} requestSplitInvoiceRequestDto
978
587
  * @param {*} [options] Override http request option.
979
588
  * @throws {RequiredError}
980
589
  */
981
- requestSplitInvoice(idempotencyKey, requestSplitInvoiceRequestDto, options) {
982
- return localVarFp.requestSplitInvoice(idempotencyKey, requestSplitInvoiceRequestDto, options).then((request) => request(axios, basePath));
590
+ v1RequestSplitInvoice(requestSplitInvoiceRequestDto, options) {
591
+ return localVarFp.v1RequestSplitInvoice(requestSplitInvoiceRequestDto, options).then((request) => request(axios, basePath));
983
592
  },
984
593
  /**
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 권장.
594
+ * V5 `scsbidSend`(type=nego) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId group_code 자동 결정.
595
+ * @summary 협상(H/K) 점수평가 — V5 충실
988
596
  * @param {SubmitNegotiationScoresRequestDto} submitNegotiationScoresRequestDto
989
597
  * @param {*} [options] Override http request option.
990
598
  * @throws {RequiredError}
991
599
  */
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));
600
+ v1SubmitNegotiationScores(submitNegotiationScoresRequestDto, options) {
601
+ return localVarFp.v1SubmitNegotiationScores(submitNegotiationScoresRequestDto, options).then((request) => request(axios, basePath));
1004
602
  },
1005
603
  };
1006
604
  };
@@ -1009,161 +607,95 @@ export const PartnerV1ApiFactory = function (configuration, basePath, axios) {
1009
607
  */
1010
608
  export class PartnerV1Api extends BaseAPI {
1011
609
  /**
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 계약서류 수신 조회
610
+ * V5 `/acceptanceCompleteSend` 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId group_code 자동 결정.
611
+ * @summary 검수완료 전송 — V5 충실
1026
612
  * @param {string} bidId
1027
- * @param {string} buyerId 공고 명의 회원 ID(b2b_member.member_id).
613
+ * @param {CompleteAcceptanceRequestDto} completeAcceptanceRequestDto
1028
614
  * @param {*} [options] Override http request option.
1029
615
  * @throws {RequiredError}
1030
616
  */
1031
- getBidContractDocuments(bidId, buyerId, options) {
1032
- return PartnerV1ApiFp(this.configuration).getBidContractDocuments(bidId, buyerId, options).then((request) => request(this.axios, this.basePath));
617
+ v1CompleteAcceptance(bidId, completeAcceptanceRequestDto, options) {
618
+ return PartnerV1ApiFp(this.configuration).v1CompleteAcceptance(bidId, completeAcceptanceRequestDto, options).then((request) => request(this.axios, this.basePath));
1033
619
  }
1034
620
  /**
1035
- * V5 /contractDocumentRec(bid_puchase_no_list) 후속. 공고번호 리스트를 번에 조회. 단건(GET :bidId/contract-documents)은 그대로 유지. scope contracts:read.
1036
- * @summary 계약서류 수신 배치 조회
621
+ * V5 `/contractDocumentRec`(bid_puchase_no_list) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId group_code 자동 결정.
622
+ * @summary 계약서류 수신 배치 조회 — V5 충실
1037
623
  * @param {BidContractDocumentsBatchRequestDto} bidContractDocumentsBatchRequestDto
1038
624
  * @param {*} [options] Override http request option.
1039
625
  * @throws {RequiredError}
1040
626
  */
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));
627
+ v1GetBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto, options) {
628
+ return PartnerV1ApiFp(this.configuration).v1GetBidContractDocumentsBatch(bidContractDocumentsBatchRequestDto, options).then((request) => request(this.axios, this.basePath));
1054
629
  }
1055
630
  /**
1056
- * V5 entendRec(bid_puchase_no_list) 후속 여러 공고 결과를 1회 호출로(additive, 단건 유지). bidIds(공고 식별자) 또는 purchaseNos(구매번호) 중 하나 — purchaseNos PO 가장 최근 공고로 해소. 입력 순서를 보존한다. scope bids:read.
1057
- * @summary 입찰결과 배치 조회
631
+ * V5 `/entendRec`(bid_puchase_no_list) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerIdgroup_code 자동 결정. resolveBidId 엔드포인트를 사용한다.
632
+ * @summary 입찰결과 배치 조회 — V5 충실
1058
633
  * @param {BidResultsBatchRequestDto} bidResultsBatchRequestDto
1059
634
  * @param {*} [options] Override http request option.
1060
635
  * @throws {RequiredError}
1061
636
  */
1062
- getBidResultsBatch(bidResultsBatchRequestDto, options) {
1063
- return PartnerV1ApiFp(this.configuration).getBidResultsBatch(bidResultsBatchRequestDto, options).then((request) => request(this.axios, this.basePath));
637
+ v1GetBidResultsBatch(bidResultsBatchRequestDto, options) {
638
+ return PartnerV1ApiFp(this.configuration).v1GetBidResultsBatch(bidResultsBatchRequestDto, options).then((request) => request(this.axios, this.basePath));
1064
639
  }
1065
640
  /**
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 거래명세서 조회
641
+ * V5 `/getGrm` 후속. 인증 = body `ID`/`Secret`(cate_set). group_code 스코프로 가시성 적용.
642
+ * @summary 거래명세서 조회 — V5 충실
1078
643
  * @param {string} bidId
1079
644
  * @param {number} paperCode
1080
645
  * @param {*} [options] Override http request option.
1081
646
  * @throws {RequiredError}
1082
647
  */
1083
- getBidStatement(bidId, paperCode, options) {
1084
- return PartnerV1ApiFp(this.configuration).getBidStatement(bidId, paperCode, options).then((request) => request(this.axios, this.basePath));
648
+ v1GetBidStatement(bidId, paperCode, options) {
649
+ return PartnerV1ApiFp(this.configuration).v1GetBidStatement(bidId, paperCode, options).then((request) => request(this.axios, this.basePath));
1085
650
  }
1086
651
  /**
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 권장.
652
+ * V5 `scsbidSend`(type=U) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
653
+ * @summary 유찰 처리 — V5 충실
1099
654
  * @param {MarkBidFailedRequestDto} markBidFailedRequestDto
1100
655
  * @param {*} [options] Override http request option.
1101
656
  * @throws {RequiredError}
1102
657
  */
1103
- markBidFailed(idempotencyKey, markBidFailedRequestDto, options) {
1104
- return PartnerV1ApiFp(this.configuration).markBidFailed(idempotencyKey, markBidFailedRequestDto, options).then((request) => request(this.axios, this.basePath));
658
+ v1MarkBidFailed(markBidFailedRequestDto, options) {
659
+ return PartnerV1ApiFp(this.configuration).v1MarkBidFailed(markBidFailedRequestDto, options).then((request) => request(this.axios, this.basePath));
1105
660
  }
1106
661
  /**
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 권장.
662
+ * V5 `scsbidSend`(type=W) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId group_code 자동 결정.
663
+ * @summary 낙찰 결과 전송 V5 충실
1120
664
  * @param {RegisterAwardRequestDto} registerAwardRequestDto
1121
665
  * @param {*} [options] Override http request option.
1122
666
  * @throws {RequiredError}
1123
667
  */
1124
- registerAward(idempotencyKey, registerAwardRequestDto, options) {
1125
- return PartnerV1ApiFp(this.configuration).registerAward(idempotencyKey, registerAwardRequestDto, options).then((request) => request(this.axios, this.basePath));
668
+ v1RegisterAward(registerAwardRequestDto, options) {
669
+ return PartnerV1ApiFp(this.configuration).v1RegisterAward(registerAwardRequestDto, options).then((request) => request(this.axios, this.basePath));
1126
670
  }
1127
671
  /**
1128
- * 입찰 정보 등록. 스코프 `bids:write` + `Idempotency-Key` 헤더 필수.
1129
- * @summary 입찰 정보 전송(등록)
672
+ * V5 `scsbidSend`(type=B) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
673
+ * @summary 입찰 정보 전송(등록) — V5 충실
1130
674
  * @param {CreateBidRequestDto} createBidRequestDto
1131
675
  * @param {*} [options] Override http request option.
1132
676
  * @throws {RequiredError}
1133
677
  */
1134
- registerBid(createBidRequestDto, options) {
1135
- return PartnerV1ApiFp(this.configuration).registerBid(createBidRequestDto, options).then((request) => request(this.axios, this.basePath));
678
+ v1RegisterBid(createBidRequestDto, options) {
679
+ return PartnerV1ApiFp(this.configuration).v1RegisterBid(createBidRequestDto, options).then((request) => request(this.axios, this.basePath));
1136
680
  }
1137
681
  /**
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 권장.
682
+ * V5 `splitInvoiceRequest` 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId group_code 자동 결정.
683
+ * @summary 계산서 분할 발급 청구 — V5 충실
1141
684
  * @param {RequestSplitInvoiceRequestDto} requestSplitInvoiceRequestDto
1142
685
  * @param {*} [options] Override http request option.
1143
686
  * @throws {RequiredError}
1144
687
  */
1145
- requestSplitInvoice(idempotencyKey, requestSplitInvoiceRequestDto, options) {
1146
- return PartnerV1ApiFp(this.configuration).requestSplitInvoice(idempotencyKey, requestSplitInvoiceRequestDto, options).then((request) => request(this.axios, this.basePath));
688
+ v1RequestSplitInvoice(requestSplitInvoiceRequestDto, options) {
689
+ return PartnerV1ApiFp(this.configuration).v1RequestSplitInvoice(requestSplitInvoiceRequestDto, options).then((request) => request(this.axios, this.basePath));
1147
690
  }
1148
691
  /**
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 권장.
692
+ * V5 `scsbidSend`(type=nego) 후속. 인증 = body `ID`/`Secret`(cate_set). buyerId group_code 자동 결정.
693
+ * @summary 협상(H/K) 점수평가 — V5 충실
1152
694
  * @param {SubmitNegotiationScoresRequestDto} submitNegotiationScoresRequestDto
1153
695
  * @param {*} [options] Override http request option.
1154
696
  * @throws {RequiredError}
1155
697
  */
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));
698
+ v1SubmitNegotiationScores(submitNegotiationScoresRequestDto, options) {
699
+ return PartnerV1ApiFp(this.configuration).v1SubmitNegotiationScores(submitNegotiationScoresRequestDto, options).then((request) => request(this.axios, this.basePath));
1168
700
  }
1169
701
  }