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