@cmarket/partner-sdk 35.1.0 → 36.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (924) hide show
  1. package/README.md +58 -96
  2. package/api/oauth-api.ts +2 -2
  3. package/api/{partner-v2-api.ts → partner-api-api.ts} +426 -239
  4. package/api/products-api.ts +209 -0
  5. package/api/well-known-api.ts +2 -2
  6. package/api.ts +4 -4
  7. package/base.ts +2 -2
  8. package/common.ts +2 -2
  9. package/configuration.ts +2 -2
  10. package/dist/api/oauth-api.d.ts +2 -2
  11. package/dist/api/oauth-api.js +2 -2
  12. package/dist/api/{partner-v2-api.d.ts → partner-api-api.d.ts} +245 -165
  13. package/dist/api/{partner-v2-api.js → partner-api-api.js} +413 -240
  14. package/dist/api/products-api.d.ts +101 -0
  15. package/dist/api/products-api.js +204 -0
  16. package/dist/api/well-known-api.d.ts +2 -2
  17. package/dist/api/well-known-api.js +2 -2
  18. package/dist/api.d.ts +4 -4
  19. package/dist/api.js +4 -4
  20. package/dist/base.d.ts +2 -2
  21. package/dist/base.js +2 -2
  22. package/dist/common.d.ts +2 -2
  23. package/dist/common.js +2 -2
  24. package/dist/configuration.d.ts +2 -2
  25. package/dist/configuration.js +2 -2
  26. package/dist/esm/api/oauth-api.d.ts +2 -2
  27. package/dist/esm/api/oauth-api.js +2 -2
  28. package/dist/esm/api/{partner-v2-api.d.ts → partner-api-api.d.ts} +245 -165
  29. package/dist/esm/api/{partner-v2-api.js → partner-api-api.js} +408 -235
  30. package/dist/esm/api/products-api.d.ts +101 -0
  31. package/dist/esm/api/products-api.js +197 -0
  32. package/dist/esm/api/well-known-api.d.ts +2 -2
  33. package/dist/esm/api/well-known-api.js +2 -2
  34. package/dist/esm/api.d.ts +4 -4
  35. package/dist/esm/api.js +4 -4
  36. package/dist/esm/base.d.ts +2 -2
  37. package/dist/esm/base.js +2 -2
  38. package/dist/esm/common.d.ts +2 -2
  39. package/dist/esm/common.js +2 -2
  40. package/dist/esm/configuration.d.ts +2 -2
  41. package/dist/esm/configuration.js +2 -2
  42. package/dist/esm/index.d.ts +2 -2
  43. package/dist/esm/index.js +2 -2
  44. package/dist/esm/models/acceptance-result-response-dto.d.ts +3 -3
  45. package/dist/esm/models/acceptance-result-response-dto.js +2 -2
  46. package/dist/esm/models/acknowledge-product-receipt200-response.d.ts +21 -0
  47. package/dist/esm/models/acknowledge-product-receipt200-response.js +14 -0
  48. package/dist/esm/models/acknowledge-products-request-dto.d.ts +17 -0
  49. package/dist/esm/models/acknowledge-products-request-dto.js +14 -0
  50. package/dist/esm/models/api-catalog-dto.d.ts +2 -2
  51. package/dist/esm/models/api-catalog-dto.js +2 -2
  52. package/dist/esm/models/api-catalog-entry-dto.d.ts +2 -2
  53. package/dist/esm/models/api-catalog-entry-dto.js +2 -2
  54. package/dist/esm/models/api-catalog-link-dto.d.ts +2 -2
  55. package/dist/esm/models/api-catalog-link-dto.js +2 -2
  56. package/dist/esm/models/authorization-server-metadata-dto.d.ts +2 -2
  57. package/dist/esm/models/authorization-server-metadata-dto.js +2 -2
  58. package/dist/esm/models/award-method-public.d.ts +3 -3
  59. package/dist/esm/models/award-method-public.js +3 -3
  60. package/dist/esm/models/award-registered-v2-response-dto.d.ts +5 -5
  61. package/dist/esm/models/award-registered-v2-response-dto.js +2 -2
  62. package/dist/esm/models/award-reverted-v2-response-dto.d.ts +4 -4
  63. package/dist/esm/models/award-reverted-v2-response-dto.js +2 -2
  64. package/dist/esm/models/bid-acceptance-dto.d.ts +2 -2
  65. package/dist/esm/models/bid-acceptance-dto.js +2 -2
  66. package/dist/esm/models/bid-bond-dto.d.ts +2 -2
  67. package/dist/esm/models/bid-bond-dto.js +2 -2
  68. package/dist/esm/models/bid-cancelled-response-dto.d.ts +4 -4
  69. package/dist/esm/models/bid-cancelled-response-dto.js +2 -2
  70. package/dist/esm/models/bid-contact-dto.d.ts +2 -2
  71. package/dist/esm/models/bid-contact-dto.js +2 -2
  72. package/dist/esm/models/bid-contacts-dto.d.ts +2 -2
  73. package/dist/esm/models/bid-contacts-dto.js +2 -2
  74. package/dist/esm/models/bid-contract-document-dto.d.ts +2 -2
  75. package/dist/esm/models/bid-contract-document-dto.js +2 -2
  76. package/dist/esm/models/bid-delivery-terms-dto.d.ts +6 -4
  77. package/dist/esm/models/bid-delivery-terms-dto.js +2 -2
  78. package/dist/esm/models/bid-detail-response-dto.d.ts +5 -5
  79. package/dist/esm/models/bid-detail-response-dto.js +2 -2
  80. package/dist/esm/models/bid-document-dto.d.ts +2 -2
  81. package/dist/esm/models/bid-document-dto.js +2 -2
  82. package/dist/esm/models/bid-failed-v2-response-dto.d.ts +4 -4
  83. package/dist/esm/models/bid-failed-v2-response-dto.js +2 -2
  84. package/dist/esm/models/bid-item-dto.d.ts +2 -2
  85. package/dist/esm/models/bid-item-dto.js +2 -2
  86. package/dist/esm/models/bid-lifecycle-dto.d.ts +3 -3
  87. package/dist/esm/models/bid-lifecycle-dto.js +2 -2
  88. package/dist/esm/models/bid-manager-dto.d.ts +2 -2
  89. package/dist/esm/models/bid-manager-dto.js +2 -2
  90. package/dist/esm/models/bid-payment-terms-dto.d.ts +4 -3
  91. package/dist/esm/models/bid-payment-terms-dto.js +2 -2
  92. package/dist/esm/models/bid-product-dto.d.ts +2 -2
  93. package/dist/esm/models/bid-product-dto.js +2 -2
  94. package/dist/esm/models/bid-public-status.d.ts +2 -2
  95. package/dist/esm/models/bid-public-status.js +2 -2
  96. package/dist/esm/models/bid-registered-response-dto.d.ts +2 -2
  97. package/dist/esm/models/bid-registered-response-dto.js +2 -2
  98. package/dist/esm/models/bid-result-participant-attachment-dto.d.ts +2 -2
  99. package/dist/esm/models/bid-result-participant-attachment-dto.js +2 -2
  100. package/dist/esm/models/bid-result-participant-dto.d.ts +2 -2
  101. package/dist/esm/models/bid-result-participant-dto.js +2 -2
  102. package/dist/esm/models/bid-results-response-dto.d.ts +3 -3
  103. package/dist/esm/models/bid-results-response-dto.js +2 -2
  104. package/dist/esm/models/bid-settlement-line-item-dto.d.ts +2 -2
  105. package/dist/esm/models/bid-settlement-line-item-dto.js +2 -2
  106. package/dist/esm/models/bid-settlement-participant-dto.d.ts +2 -2
  107. package/dist/esm/models/bid-settlement-participant-dto.js +2 -2
  108. package/dist/esm/models/bid-settlement-response-dto.d.ts +2 -2
  109. package/dist/esm/models/bid-settlement-response-dto.js +2 -2
  110. package/dist/esm/models/bid-statement-response-dto.d.ts +2 -2
  111. package/dist/esm/models/bid-statement-response-dto.js +2 -2
  112. package/dist/esm/models/bid-summary-dto.d.ts +9 -8
  113. package/dist/esm/models/bid-summary-dto.js +2 -2
  114. package/dist/esm/models/bid-type-public.d.ts +19 -0
  115. package/dist/esm/models/bid-type-public.js +20 -0
  116. package/dist/esm/models/bid-updated-response-dto.d.ts +2 -2
  117. package/dist/esm/models/bid-updated-response-dto.js +2 -2
  118. package/dist/esm/models/cancel-bid-request-dto.d.ts +2 -2
  119. package/dist/esm/models/cancel-bid-request-dto.js +2 -2
  120. package/dist/esm/models/cancel-bid200-response.d.ts +2 -2
  121. package/dist/esm/models/cancel-bid200-response.js +2 -2
  122. package/dist/esm/models/card-payment-request-response-dto.d.ts +2 -2
  123. package/dist/esm/models/card-payment-request-response-dto.js +2 -2
  124. package/dist/esm/models/complete-acceptance-request-dto.d.ts +4 -8
  125. package/dist/esm/models/complete-acceptance-request-dto.js +2 -2
  126. package/dist/esm/models/complete-acceptance200-response.d.ts +2 -2
  127. package/dist/esm/models/complete-acceptance200-response.js +2 -2
  128. package/dist/esm/models/complete-invoice200-response.d.ts +2 -2
  129. package/dist/esm/models/complete-invoice200-response.js +2 -2
  130. package/dist/esm/models/contract-restriction-confirm-input-dto.d.ts +2 -2
  131. package/dist/esm/models/contract-restriction-confirm-input-dto.js +2 -2
  132. package/dist/esm/models/create-bid-request-dto.d.ts +5 -5
  133. package/dist/esm/models/create-bid-request-dto.js +2 -2
  134. package/dist/esm/models/create-card-payment-dto.d.ts +41 -0
  135. package/dist/esm/models/create-card-payment-dto.js +14 -0
  136. package/dist/esm/models/create-card-payment-request-dto.d.ts +4 -4
  137. package/dist/esm/models/create-card-payment-request-dto.js +2 -2
  138. package/dist/esm/models/create-card-payment200-response.d.ts +21 -0
  139. package/dist/esm/models/create-card-payment200-response.js +14 -0
  140. package/dist/esm/models/create-external-contract-documents-request-dto.d.ts +2 -2
  141. package/dist/esm/models/create-external-contract-documents-request-dto.js +2 -2
  142. package/dist/esm/models/create-external-contract-documents-response-dto.d.ts +2 -2
  143. package/dist/esm/models/create-external-contract-documents-response-dto.js +2 -2
  144. package/dist/esm/models/delivery-date-type-public.d.ts +20 -0
  145. package/dist/esm/models/delivery-date-type-public.js +21 -0
  146. package/dist/esm/models/delivery-method-public.d.ts +20 -0
  147. package/dist/esm/models/delivery-method-public.js +21 -0
  148. package/dist/esm/models/excellent-procurement-public.d.ts +31 -0
  149. package/dist/esm/models/excellent-procurement-public.js +32 -0
  150. package/dist/esm/models/external-contract-document-item-dto.d.ts +2 -2
  151. package/dist/esm/models/external-contract-document-item-dto.js +2 -2
  152. package/dist/esm/models/external-contract-documents-response-dto.d.ts +2 -2
  153. package/dist/esm/models/external-contract-documents-response-dto.js +2 -2
  154. package/dist/esm/models/external-contract-item-dto.d.ts +2 -2
  155. package/dist/esm/models/external-contract-item-dto.js +2 -2
  156. package/dist/esm/models/external-contract-snapshot-dto.d.ts +2 -2
  157. package/dist/esm/models/external-contract-snapshot-dto.js +2 -2
  158. package/dist/esm/models/external-document-inputs-dto.d.ts +2 -2
  159. package/dist/esm/models/external-document-inputs-dto.js +2 -2
  160. package/dist/esm/models/file-meta-response-dto.d.ts +2 -2
  161. package/dist/esm/models/file-meta-response-dto.js +2 -2
  162. package/dist/esm/models/file-uploaded-response-dto.d.ts +3 -3
  163. package/dist/esm/models/file-uploaded-response-dto.js +2 -2
  164. package/dist/esm/models/generated-external-contract-document-dto.d.ts +2 -2
  165. package/dist/esm/models/generated-external-contract-document-dto.js +2 -2
  166. package/dist/esm/models/get-bid-settlement200-response.d.ts +2 -2
  167. package/dist/esm/models/get-bid-settlement200-response.js +2 -2
  168. package/dist/esm/models/get-bid-statement200-response.d.ts +2 -2
  169. package/dist/esm/models/get-bid-statement200-response.js +2 -2
  170. package/dist/esm/models/get-bid200-response.d.ts +2 -2
  171. package/dist/esm/models/get-bid200-response.js +2 -2
  172. package/dist/esm/models/get-file-meta200-response.d.ts +2 -2
  173. package/dist/esm/models/get-file-meta200-response.js +2 -2
  174. package/dist/esm/models/get-supplier-card-payable-v2200-response.d.ts +21 -0
  175. package/dist/esm/models/get-supplier-card-payable-v2200-response.js +14 -0
  176. package/dist/esm/models/green-product-public.d.ts +21 -0
  177. package/dist/esm/models/green-product-public.js +22 -0
  178. package/dist/esm/models/health-controller-check200-response.d.ts +2 -2
  179. package/dist/esm/models/health-controller-check200-response.js +2 -2
  180. package/dist/esm/models/health-response-dto.d.ts +2 -2
  181. package/dist/esm/models/health-response-dto.js +2 -2
  182. package/dist/esm/models/hierarchical-region-dto.d.ts +2 -2
  183. package/dist/esm/models/hierarchical-region-dto.js +2 -2
  184. package/dist/esm/models/index.d.ts +22 -39
  185. package/dist/esm/models/index.js +22 -39
  186. package/dist/esm/models/introspect-request-dto.d.ts +2 -2
  187. package/dist/esm/models/introspect-request-dto.js +2 -2
  188. package/dist/esm/models/introspection-response-dto.d.ts +2 -2
  189. package/dist/esm/models/introspection-response-dto.js +2 -2
  190. package/dist/esm/models/invalid-param-dto.d.ts +3 -3
  191. package/dist/esm/models/invalid-param-dto.js +2 -2
  192. package/dist/esm/models/invoice-completed-response-dto.d.ts +2 -2
  193. package/dist/esm/models/invoice-completed-response-dto.js +2 -2
  194. package/dist/esm/models/invoice-split-response-dto.d.ts +17 -0
  195. package/dist/esm/models/invoice-split-response-dto.js +14 -0
  196. package/dist/esm/models/legal-mandatory-public.d.ts +25 -0
  197. package/dist/esm/models/legal-mandatory-public.js +26 -0
  198. package/dist/esm/models/list-bid-results200-response.d.ts +2 -2
  199. package/dist/esm/models/list-bid-results200-response.js +2 -2
  200. package/dist/esm/models/list-bids-response-dto.d.ts +2 -2
  201. package/dist/esm/models/list-bids-response-dto.js +2 -2
  202. package/dist/esm/models/list-bids200-response.d.ts +2 -2
  203. package/dist/esm/models/list-bids200-response.js +2 -2
  204. package/dist/esm/models/list-products200-response.d.ts +21 -0
  205. package/dist/esm/models/list-products200-response.js +14 -0
  206. package/dist/esm/models/mark-bid-failed-request-dto.d.ts +3 -3
  207. package/dist/esm/models/mark-bid-failed-request-dto.js +2 -2
  208. package/dist/esm/models/mark-bid-failed201-response.d.ts +2 -2
  209. package/dist/esm/models/mark-bid-failed201-response.js +2 -2
  210. package/dist/esm/models/negotiation-score-dto.d.ts +25 -0
  211. package/dist/esm/models/negotiation-score-dto.js +14 -0
  212. package/dist/esm/models/negotiation-scored-v2-response-dto.d.ts +29 -0
  213. package/dist/esm/models/negotiation-scored-v2-response-dto.js +16 -0
  214. package/dist/esm/models/oauth-error-response-dto.d.ts +2 -2
  215. package/dist/esm/models/oauth-error-response-dto.js +2 -2
  216. package/dist/esm/models/payment-method-public.d.ts +19 -0
  217. package/dist/esm/models/payment-method-public.js +20 -0
  218. package/dist/esm/models/preconditions-dto.d.ts +11 -50
  219. package/dist/esm/models/preconditions-dto.js +3 -33
  220. package/dist/esm/models/problem-details-dto.d.ts +3 -3
  221. package/dist/esm/models/problem-details-dto.js +2 -2
  222. package/dist/esm/models/product-receipt-response-dto.d.ts +17 -0
  223. package/dist/esm/models/product-receipt-response-dto.js +14 -0
  224. package/dist/esm/models/product-response-dto.d.ts +77 -0
  225. package/dist/esm/models/product-response-dto.js +14 -0
  226. package/dist/esm/models/protected-resource-metadata-dto.d.ts +2 -2
  227. package/dist/esm/models/protected-resource-metadata-dto.js +2 -2
  228. package/dist/esm/models/register-award-request-dto.d.ts +4 -4
  229. package/dist/esm/models/register-award-request-dto.js +2 -2
  230. package/dist/esm/models/register-award201-response.d.ts +2 -2
  231. package/dist/esm/models/register-award201-response.js +2 -2
  232. package/dist/esm/models/register-bid201-response.d.ts +2 -2
  233. package/dist/esm/models/register-bid201-response.js +2 -2
  234. package/dist/esm/models/register-semo-contract-request-dto.d.ts +2 -2
  235. package/dist/esm/models/register-semo-contract-request-dto.js +2 -2
  236. package/dist/esm/models/request-invoice-split-request-dto.d.ts +25 -0
  237. package/dist/esm/models/request-invoice-split-request-dto.js +14 -0
  238. package/dist/esm/models/request-invoice-split200-response.d.ts +21 -0
  239. package/dist/esm/models/request-invoice-split200-response.js +14 -0
  240. package/dist/esm/models/retiree-roster-input-dto.d.ts +2 -2
  241. package/dist/esm/models/retiree-roster-input-dto.js +2 -2
  242. package/dist/esm/models/retiree-roster-row-dto.d.ts +2 -2
  243. package/dist/esm/models/retiree-roster-row-dto.js +2 -2
  244. package/dist/esm/models/revert-award-request-dto.d.ts +2 -2
  245. package/dist/esm/models/revert-award-request-dto.js +2 -2
  246. package/dist/esm/models/revert-award200-response.d.ts +2 -2
  247. package/dist/esm/models/revert-award200-response.js +2 -2
  248. package/dist/esm/models/revoke-request-dto.d.ts +2 -2
  249. package/dist/esm/models/revoke-request-dto.js +2 -2
  250. package/dist/esm/models/semo-contract-registered-response-dto.d.ts +2 -2
  251. package/dist/esm/models/semo-contract-registered-response-dto.js +2 -2
  252. package/dist/esm/models/semo-contract-taxinvoice-status-response-dto.d.ts +2 -2
  253. package/dist/esm/models/semo-contract-taxinvoice-status-response-dto.js +2 -2
  254. package/dist/esm/models/statement-document-dto.d.ts +2 -2
  255. package/dist/esm/models/statement-document-dto.js +2 -2
  256. package/dist/esm/models/statement-product-dto.d.ts +3 -3
  257. package/dist/esm/models/statement-product-dto.js +2 -2
  258. package/dist/esm/models/submit-negotiation-scores-request-dto.d.ts +22 -0
  259. package/dist/esm/models/submit-negotiation-scores-request-dto.js +14 -0
  260. package/dist/esm/models/submit-negotiation-scores201-response.d.ts +21 -0
  261. package/dist/esm/models/submit-negotiation-scores201-response.js +14 -0
  262. package/dist/esm/models/supplier-card-payable-response-dto.d.ts +2 -2
  263. package/dist/esm/models/supplier-card-payable-response-dto.js +2 -2
  264. package/dist/esm/models/supplier-tax-type.d.ts +2 -2
  265. package/dist/esm/models/supplier-tax-type.js +2 -2
  266. package/dist/esm/models/token-request-dto.d.ts +2 -2
  267. package/dist/esm/models/token-request-dto.js +2 -2
  268. package/dist/esm/models/token-response-dto.d.ts +2 -2
  269. package/dist/esm/models/token-response-dto.js +2 -2
  270. package/dist/esm/models/update-bid-request-dto.d.ts +7 -7
  271. package/dist/esm/models/update-bid-request-dto.js +2 -2
  272. package/dist/esm/models/update-bid200-response.d.ts +2 -2
  273. package/dist/esm/models/update-bid200-response.js +2 -2
  274. package/dist/esm/models/upload-file-request-dto.d.ts +3 -3
  275. package/dist/esm/models/upload-file-request-dto.js +2 -2
  276. package/dist/esm/models/upload-file201-response.d.ts +2 -2
  277. package/dist/esm/models/upload-file201-response.js +2 -2
  278. package/dist/esm/partner-client.d.ts +2 -2
  279. package/dist/esm/partner-client.js +2 -2
  280. package/dist/index.d.ts +2 -2
  281. package/dist/index.js +2 -2
  282. package/dist/models/acceptance-result-response-dto.d.ts +3 -3
  283. package/dist/models/acceptance-result-response-dto.js +2 -2
  284. package/dist/models/acknowledge-product-receipt200-response.d.ts +21 -0
  285. package/dist/models/acknowledge-product-receipt200-response.js +15 -0
  286. package/dist/models/acknowledge-products-request-dto.d.ts +17 -0
  287. package/dist/models/acknowledge-products-request-dto.js +15 -0
  288. package/dist/models/api-catalog-dto.d.ts +2 -2
  289. package/dist/models/api-catalog-dto.js +2 -2
  290. package/dist/models/api-catalog-entry-dto.d.ts +2 -2
  291. package/dist/models/api-catalog-entry-dto.js +2 -2
  292. package/dist/models/api-catalog-link-dto.d.ts +2 -2
  293. package/dist/models/api-catalog-link-dto.js +2 -2
  294. package/dist/models/authorization-server-metadata-dto.d.ts +2 -2
  295. package/dist/models/authorization-server-metadata-dto.js +2 -2
  296. package/dist/models/award-method-public.d.ts +3 -3
  297. package/dist/models/award-method-public.js +3 -3
  298. package/dist/models/award-registered-v2-response-dto.d.ts +5 -5
  299. package/dist/models/award-registered-v2-response-dto.js +2 -2
  300. package/dist/models/award-reverted-v2-response-dto.d.ts +4 -4
  301. package/dist/models/award-reverted-v2-response-dto.js +2 -2
  302. package/dist/models/bid-acceptance-dto.d.ts +2 -2
  303. package/dist/models/bid-acceptance-dto.js +2 -2
  304. package/dist/models/bid-bond-dto.d.ts +2 -2
  305. package/dist/models/bid-bond-dto.js +2 -2
  306. package/dist/models/bid-cancelled-response-dto.d.ts +4 -4
  307. package/dist/models/bid-cancelled-response-dto.js +2 -2
  308. package/dist/models/bid-contact-dto.d.ts +2 -2
  309. package/dist/models/bid-contact-dto.js +2 -2
  310. package/dist/models/bid-contacts-dto.d.ts +2 -2
  311. package/dist/models/bid-contacts-dto.js +2 -2
  312. package/dist/models/bid-contract-document-dto.d.ts +2 -2
  313. package/dist/models/bid-contract-document-dto.js +2 -2
  314. package/dist/models/bid-delivery-terms-dto.d.ts +6 -4
  315. package/dist/models/bid-delivery-terms-dto.js +2 -2
  316. package/dist/models/bid-detail-response-dto.d.ts +5 -5
  317. package/dist/models/bid-detail-response-dto.js +2 -2
  318. package/dist/models/bid-document-dto.d.ts +2 -2
  319. package/dist/models/bid-document-dto.js +2 -2
  320. package/dist/models/bid-failed-v2-response-dto.d.ts +4 -4
  321. package/dist/models/bid-failed-v2-response-dto.js +2 -2
  322. package/dist/models/bid-item-dto.d.ts +2 -2
  323. package/dist/models/bid-item-dto.js +2 -2
  324. package/dist/models/bid-lifecycle-dto.d.ts +3 -3
  325. package/dist/models/bid-lifecycle-dto.js +2 -2
  326. package/dist/models/bid-manager-dto.d.ts +2 -2
  327. package/dist/models/bid-manager-dto.js +2 -2
  328. package/dist/models/bid-payment-terms-dto.d.ts +4 -3
  329. package/dist/models/bid-payment-terms-dto.js +2 -2
  330. package/dist/models/bid-product-dto.d.ts +2 -2
  331. package/dist/models/bid-product-dto.js +2 -2
  332. package/dist/models/bid-public-status.d.ts +2 -2
  333. package/dist/models/bid-public-status.js +2 -2
  334. package/dist/models/bid-registered-response-dto.d.ts +2 -2
  335. package/dist/models/bid-registered-response-dto.js +2 -2
  336. package/dist/models/bid-result-participant-attachment-dto.d.ts +2 -2
  337. package/dist/models/bid-result-participant-attachment-dto.js +2 -2
  338. package/dist/models/bid-result-participant-dto.d.ts +2 -2
  339. package/dist/models/bid-result-participant-dto.js +2 -2
  340. package/dist/models/bid-results-response-dto.d.ts +3 -3
  341. package/dist/models/bid-results-response-dto.js +2 -2
  342. package/dist/models/bid-settlement-line-item-dto.d.ts +2 -2
  343. package/dist/models/bid-settlement-line-item-dto.js +2 -2
  344. package/dist/models/bid-settlement-participant-dto.d.ts +2 -2
  345. package/dist/models/bid-settlement-participant-dto.js +2 -2
  346. package/dist/models/bid-settlement-response-dto.d.ts +2 -2
  347. package/dist/models/bid-settlement-response-dto.js +2 -2
  348. package/dist/models/bid-statement-response-dto.d.ts +2 -2
  349. package/dist/models/bid-statement-response-dto.js +2 -2
  350. package/dist/models/bid-summary-dto.d.ts +9 -8
  351. package/dist/models/bid-summary-dto.js +2 -2
  352. package/dist/models/bid-type-public.d.ts +19 -0
  353. package/dist/models/bid-type-public.js +23 -0
  354. package/dist/models/bid-updated-response-dto.d.ts +2 -2
  355. package/dist/models/bid-updated-response-dto.js +2 -2
  356. package/dist/models/cancel-bid-request-dto.d.ts +2 -2
  357. package/dist/models/cancel-bid-request-dto.js +2 -2
  358. package/dist/models/cancel-bid200-response.d.ts +2 -2
  359. package/dist/models/cancel-bid200-response.js +2 -2
  360. package/dist/models/card-payment-request-response-dto.d.ts +2 -2
  361. package/dist/models/card-payment-request-response-dto.js +2 -2
  362. package/dist/models/complete-acceptance-request-dto.d.ts +4 -8
  363. package/dist/models/complete-acceptance-request-dto.js +2 -2
  364. package/dist/models/complete-acceptance200-response.d.ts +2 -2
  365. package/dist/models/complete-acceptance200-response.js +2 -2
  366. package/dist/models/complete-invoice200-response.d.ts +2 -2
  367. package/dist/models/complete-invoice200-response.js +2 -2
  368. package/dist/models/contract-restriction-confirm-input-dto.d.ts +2 -2
  369. package/dist/models/contract-restriction-confirm-input-dto.js +2 -2
  370. package/dist/models/create-bid-request-dto.d.ts +5 -5
  371. package/dist/models/create-bid-request-dto.js +2 -2
  372. package/dist/models/create-card-payment-dto.d.ts +41 -0
  373. package/dist/models/create-card-payment-dto.js +15 -0
  374. package/dist/models/create-card-payment-request-dto.d.ts +4 -4
  375. package/dist/models/create-card-payment-request-dto.js +2 -2
  376. package/dist/models/create-card-payment200-response.d.ts +21 -0
  377. package/dist/models/create-card-payment200-response.js +15 -0
  378. package/dist/models/create-external-contract-documents-request-dto.d.ts +2 -2
  379. package/dist/models/create-external-contract-documents-request-dto.js +2 -2
  380. package/dist/models/create-external-contract-documents-response-dto.d.ts +2 -2
  381. package/dist/models/create-external-contract-documents-response-dto.js +2 -2
  382. package/dist/models/delivery-date-type-public.d.ts +20 -0
  383. package/dist/models/delivery-date-type-public.js +24 -0
  384. package/dist/models/delivery-method-public.d.ts +20 -0
  385. package/dist/models/delivery-method-public.js +24 -0
  386. package/dist/models/excellent-procurement-public.d.ts +31 -0
  387. package/dist/models/excellent-procurement-public.js +35 -0
  388. package/dist/models/external-contract-document-item-dto.d.ts +2 -2
  389. package/dist/models/external-contract-document-item-dto.js +2 -2
  390. package/dist/models/external-contract-documents-response-dto.d.ts +2 -2
  391. package/dist/models/external-contract-documents-response-dto.js +2 -2
  392. package/dist/models/external-contract-item-dto.d.ts +2 -2
  393. package/dist/models/external-contract-item-dto.js +2 -2
  394. package/dist/models/external-contract-snapshot-dto.d.ts +2 -2
  395. package/dist/models/external-contract-snapshot-dto.js +2 -2
  396. package/dist/models/external-document-inputs-dto.d.ts +2 -2
  397. package/dist/models/external-document-inputs-dto.js +2 -2
  398. package/dist/models/file-meta-response-dto.d.ts +2 -2
  399. package/dist/models/file-meta-response-dto.js +2 -2
  400. package/dist/models/file-uploaded-response-dto.d.ts +3 -3
  401. package/dist/models/file-uploaded-response-dto.js +2 -2
  402. package/dist/models/generated-external-contract-document-dto.d.ts +2 -2
  403. package/dist/models/generated-external-contract-document-dto.js +2 -2
  404. package/dist/models/get-bid-settlement200-response.d.ts +2 -2
  405. package/dist/models/get-bid-settlement200-response.js +2 -2
  406. package/dist/models/get-bid-statement200-response.d.ts +2 -2
  407. package/dist/models/get-bid-statement200-response.js +2 -2
  408. package/dist/models/get-bid200-response.d.ts +2 -2
  409. package/dist/models/get-bid200-response.js +2 -2
  410. package/dist/models/get-file-meta200-response.d.ts +2 -2
  411. package/dist/models/get-file-meta200-response.js +2 -2
  412. package/dist/models/get-supplier-card-payable-v2200-response.d.ts +21 -0
  413. package/dist/models/get-supplier-card-payable-v2200-response.js +15 -0
  414. package/dist/models/green-product-public.d.ts +21 -0
  415. package/dist/models/green-product-public.js +25 -0
  416. package/dist/models/health-controller-check200-response.d.ts +2 -2
  417. package/dist/models/health-controller-check200-response.js +2 -2
  418. package/dist/models/health-response-dto.d.ts +2 -2
  419. package/dist/models/health-response-dto.js +2 -2
  420. package/dist/models/hierarchical-region-dto.d.ts +2 -2
  421. package/dist/models/hierarchical-region-dto.js +2 -2
  422. package/dist/models/index.d.ts +22 -39
  423. package/dist/models/index.js +22 -39
  424. package/dist/models/introspect-request-dto.d.ts +2 -2
  425. package/dist/models/introspect-request-dto.js +2 -2
  426. package/dist/models/introspection-response-dto.d.ts +2 -2
  427. package/dist/models/introspection-response-dto.js +2 -2
  428. package/dist/models/invalid-param-dto.d.ts +3 -3
  429. package/dist/models/invalid-param-dto.js +2 -2
  430. package/dist/models/invoice-completed-response-dto.d.ts +2 -2
  431. package/dist/models/invoice-completed-response-dto.js +2 -2
  432. package/dist/models/invoice-split-response-dto.d.ts +17 -0
  433. package/dist/models/invoice-split-response-dto.js +15 -0
  434. package/dist/models/legal-mandatory-public.d.ts +25 -0
  435. package/dist/models/legal-mandatory-public.js +29 -0
  436. package/dist/models/list-bid-results200-response.d.ts +2 -2
  437. package/dist/models/list-bid-results200-response.js +2 -2
  438. package/dist/models/list-bids-response-dto.d.ts +2 -2
  439. package/dist/models/list-bids-response-dto.js +2 -2
  440. package/dist/models/list-bids200-response.d.ts +2 -2
  441. package/dist/models/list-bids200-response.js +2 -2
  442. package/dist/models/list-products200-response.d.ts +21 -0
  443. package/dist/models/list-products200-response.js +15 -0
  444. package/dist/models/mark-bid-failed-request-dto.d.ts +3 -3
  445. package/dist/models/mark-bid-failed-request-dto.js +2 -2
  446. package/dist/models/mark-bid-failed201-response.d.ts +2 -2
  447. package/dist/models/mark-bid-failed201-response.js +2 -2
  448. package/dist/models/negotiation-score-dto.d.ts +25 -0
  449. package/dist/models/negotiation-score-dto.js +15 -0
  450. package/dist/models/negotiation-scored-v2-response-dto.d.ts +29 -0
  451. package/dist/models/negotiation-scored-v2-response-dto.js +19 -0
  452. package/dist/models/oauth-error-response-dto.d.ts +2 -2
  453. package/dist/models/oauth-error-response-dto.js +2 -2
  454. package/dist/models/payment-method-public.d.ts +19 -0
  455. package/dist/models/payment-method-public.js +23 -0
  456. package/dist/models/preconditions-dto.d.ts +11 -50
  457. package/dist/models/preconditions-dto.js +2 -34
  458. package/dist/models/problem-details-dto.d.ts +3 -3
  459. package/dist/models/problem-details-dto.js +2 -2
  460. package/dist/models/product-receipt-response-dto.d.ts +17 -0
  461. package/dist/models/product-receipt-response-dto.js +15 -0
  462. package/dist/models/product-response-dto.d.ts +77 -0
  463. package/dist/models/product-response-dto.js +15 -0
  464. package/dist/models/protected-resource-metadata-dto.d.ts +2 -2
  465. package/dist/models/protected-resource-metadata-dto.js +2 -2
  466. package/dist/models/register-award-request-dto.d.ts +4 -4
  467. package/dist/models/register-award-request-dto.js +2 -2
  468. package/dist/models/register-award201-response.d.ts +2 -2
  469. package/dist/models/register-award201-response.js +2 -2
  470. package/dist/models/register-bid201-response.d.ts +2 -2
  471. package/dist/models/register-bid201-response.js +2 -2
  472. package/dist/models/register-semo-contract-request-dto.d.ts +2 -2
  473. package/dist/models/register-semo-contract-request-dto.js +2 -2
  474. package/dist/models/request-invoice-split-request-dto.d.ts +25 -0
  475. package/dist/models/request-invoice-split-request-dto.js +15 -0
  476. package/dist/models/request-invoice-split200-response.d.ts +21 -0
  477. package/dist/models/request-invoice-split200-response.js +15 -0
  478. package/dist/models/retiree-roster-input-dto.d.ts +2 -2
  479. package/dist/models/retiree-roster-input-dto.js +2 -2
  480. package/dist/models/retiree-roster-row-dto.d.ts +2 -2
  481. package/dist/models/retiree-roster-row-dto.js +2 -2
  482. package/dist/models/revert-award-request-dto.d.ts +2 -2
  483. package/dist/models/revert-award-request-dto.js +2 -2
  484. package/dist/models/revert-award200-response.d.ts +2 -2
  485. package/dist/models/revert-award200-response.js +2 -2
  486. package/dist/models/revoke-request-dto.d.ts +2 -2
  487. package/dist/models/revoke-request-dto.js +2 -2
  488. package/dist/models/semo-contract-registered-response-dto.d.ts +2 -2
  489. package/dist/models/semo-contract-registered-response-dto.js +2 -2
  490. package/dist/models/semo-contract-taxinvoice-status-response-dto.d.ts +2 -2
  491. package/dist/models/semo-contract-taxinvoice-status-response-dto.js +2 -2
  492. package/dist/models/statement-document-dto.d.ts +2 -2
  493. package/dist/models/statement-document-dto.js +2 -2
  494. package/dist/models/statement-product-dto.d.ts +3 -3
  495. package/dist/models/statement-product-dto.js +2 -2
  496. package/dist/models/submit-negotiation-scores-request-dto.d.ts +22 -0
  497. package/dist/models/submit-negotiation-scores-request-dto.js +15 -0
  498. package/dist/models/submit-negotiation-scores201-response.d.ts +21 -0
  499. package/dist/models/submit-negotiation-scores201-response.js +15 -0
  500. package/dist/models/supplier-card-payable-response-dto.d.ts +2 -2
  501. package/dist/models/supplier-card-payable-response-dto.js +2 -2
  502. package/dist/models/supplier-tax-type.d.ts +2 -2
  503. package/dist/models/supplier-tax-type.js +2 -2
  504. package/dist/models/token-request-dto.d.ts +2 -2
  505. package/dist/models/token-request-dto.js +2 -2
  506. package/dist/models/token-response-dto.d.ts +2 -2
  507. package/dist/models/token-response-dto.js +2 -2
  508. package/dist/models/update-bid-request-dto.d.ts +7 -7
  509. package/dist/models/update-bid-request-dto.js +2 -2
  510. package/dist/models/update-bid200-response.d.ts +2 -2
  511. package/dist/models/update-bid200-response.js +2 -2
  512. package/dist/models/upload-file-request-dto.d.ts +3 -3
  513. package/dist/models/upload-file-request-dto.js +2 -2
  514. package/dist/models/upload-file201-response.d.ts +2 -2
  515. package/dist/models/upload-file201-response.js +2 -2
  516. package/dist/partner-client.d.ts +2 -2
  517. package/dist/partner-client.js +1 -1
  518. package/docs/AcceptanceResultResponseDto.md +1 -1
  519. package/docs/AcknowledgeProductReceipt200Response.md +22 -0
  520. package/docs/AcknowledgeProductsRequestDto.md +20 -0
  521. package/docs/AwardMethodPublic.md +1 -1
  522. package/docs/AwardRegisteredV2ResponseDto.md +3 -3
  523. package/docs/AwardRevertedV2ResponseDto.md +2 -2
  524. package/docs/BidCancelledResponseDto.md +2 -2
  525. package/docs/BidDeliveryTermsDto.md +2 -2
  526. package/docs/BidDetailResponseDto.md +3 -3
  527. package/docs/BidFailedV2ResponseDto.md +2 -2
  528. package/docs/BidLifecycleDto.md +1 -1
  529. package/docs/BidPaymentTermsDto.md +1 -1
  530. package/docs/BidResultsResponseDto.md +1 -1
  531. package/docs/BidSummaryDto.md +6 -6
  532. package/docs/BidTypePublic.md +11 -0
  533. package/docs/CompleteAcceptanceRequestDto.md +2 -4
  534. package/docs/CreateBidRequestDto.md +6 -6
  535. package/docs/CreateCardPayment200Response.md +22 -0
  536. package/docs/CreateCardPaymentDto.md +32 -0
  537. package/docs/CreateCardPaymentRequestDto.md +2 -2
  538. package/docs/DeliveryDateTypePublic.md +13 -0
  539. package/docs/DeliveryMethodPublic.md +13 -0
  540. package/docs/ExcellentProcurementPublic.md +35 -0
  541. package/docs/FileUploadedResponseDto.md +1 -1
  542. package/docs/GetSupplierCardPayableV2200Response.md +22 -0
  543. package/docs/GreenProductPublic.md +15 -0
  544. package/docs/InvalidParamDto.md +1 -1
  545. package/docs/{AcceptanceResultV1ResponseDto.md → InvoiceSplitResponseDto.md} +4 -4
  546. package/docs/LegalMandatoryPublic.md +23 -0
  547. package/docs/ListProducts200Response.md +22 -0
  548. package/docs/MarkBidFailedRequestDto.md +1 -1
  549. package/docs/NegotiationScoreDto.md +24 -0
  550. package/docs/NegotiationScoredV2ResponseDto.md +24 -0
  551. package/docs/{PartnerV2Api.md → PartnerApiApi.md} +353 -207
  552. package/docs/PaymentMethodPublic.md +11 -0
  553. package/docs/PreconditionsDto.md +3 -7
  554. package/docs/ProblemDetailsDto.md +1 -1
  555. package/docs/ProductReceiptResponseDto.md +20 -0
  556. package/docs/ProductResponseDto.md +50 -0
  557. package/docs/ProductsApi.md +124 -0
  558. package/docs/RegisterAwardRequestDto.md +2 -2
  559. package/docs/RequestInvoiceSplit200Response.md +22 -0
  560. package/docs/RequestInvoiceSplitRequestDto.md +24 -0
  561. package/docs/StatementProductDto.md +2 -2
  562. package/docs/SubmitNegotiationScores201Response.md +22 -0
  563. package/docs/SubmitNegotiationScoresRequestDto.md +22 -0
  564. package/docs/UpdateBidRequestDto.md +10 -10
  565. package/docs/UploadFileRequestDto.md +1 -1
  566. package/index.ts +2 -2
  567. package/models/acceptance-result-response-dto.ts +3 -3
  568. package/models/acknowledge-product-receipt200-response.ts +27 -0
  569. package/models/acknowledge-products-request-dto.ts +23 -0
  570. package/models/api-catalog-dto.ts +2 -2
  571. package/models/api-catalog-entry-dto.ts +2 -2
  572. package/models/api-catalog-link-dto.ts +2 -2
  573. package/models/authorization-server-metadata-dto.ts +2 -2
  574. package/models/award-method-public.ts +3 -3
  575. package/models/award-registered-v2-response-dto.ts +5 -5
  576. package/models/award-reverted-v2-response-dto.ts +4 -4
  577. package/models/bid-acceptance-dto.ts +2 -2
  578. package/models/bid-bond-dto.ts +2 -2
  579. package/models/bid-cancelled-response-dto.ts +4 -4
  580. package/models/bid-contact-dto.ts +2 -2
  581. package/models/bid-contacts-dto.ts +2 -2
  582. package/models/bid-contract-document-dto.ts +2 -2
  583. package/models/bid-delivery-terms-dto.ts +12 -4
  584. package/models/bid-detail-response-dto.ts +5 -5
  585. package/models/bid-document-dto.ts +2 -2
  586. package/models/bid-failed-v2-response-dto.ts +4 -4
  587. package/models/bid-item-dto.ts +2 -2
  588. package/models/bid-lifecycle-dto.ts +3 -3
  589. package/models/bid-manager-dto.ts +2 -2
  590. package/models/bid-payment-terms-dto.ts +8 -3
  591. package/models/bid-product-dto.ts +2 -2
  592. package/models/bid-public-status.ts +2 -2
  593. package/models/bid-registered-response-dto.ts +2 -2
  594. package/models/bid-result-participant-attachment-dto.ts +2 -2
  595. package/models/bid-result-participant-dto.ts +2 -2
  596. package/models/bid-results-response-dto.ts +3 -3
  597. package/models/bid-settlement-line-item-dto.ts +2 -2
  598. package/models/bid-settlement-participant-dto.ts +2 -2
  599. package/models/bid-settlement-response-dto.ts +2 -2
  600. package/models/bid-statement-response-dto.ts +2 -2
  601. package/models/bid-summary-dto.ts +11 -8
  602. package/models/bid-type-public.ts +29 -0
  603. package/models/bid-updated-response-dto.ts +2 -2
  604. package/models/cancel-bid-request-dto.ts +2 -2
  605. package/models/cancel-bid200-response.ts +2 -2
  606. package/models/card-payment-request-response-dto.ts +2 -2
  607. package/models/complete-acceptance-request-dto.ts +4 -8
  608. package/models/complete-acceptance200-response.ts +2 -2
  609. package/models/complete-invoice200-response.ts +2 -2
  610. package/models/contract-restriction-confirm-input-dto.ts +2 -2
  611. package/models/create-bid-request-dto.ts +5 -5
  612. package/models/create-card-payment-dto.ts +47 -0
  613. package/models/create-card-payment-request-dto.ts +4 -4
  614. package/models/create-card-payment200-response.ts +27 -0
  615. package/models/create-external-contract-documents-request-dto.ts +2 -2
  616. package/models/create-external-contract-documents-response-dto.ts +2 -2
  617. package/models/delivery-date-type-public.ts +30 -0
  618. package/models/delivery-method-public.ts +30 -0
  619. package/models/excellent-procurement-public.ts +41 -0
  620. package/models/external-contract-document-item-dto.ts +2 -2
  621. package/models/external-contract-documents-response-dto.ts +2 -2
  622. package/models/external-contract-item-dto.ts +2 -2
  623. package/models/external-contract-snapshot-dto.ts +2 -2
  624. package/models/external-document-inputs-dto.ts +2 -2
  625. package/models/file-meta-response-dto.ts +2 -2
  626. package/models/file-uploaded-response-dto.ts +3 -3
  627. package/models/generated-external-contract-document-dto.ts +2 -2
  628. package/models/get-bid-settlement200-response.ts +2 -2
  629. package/models/get-bid-statement200-response.ts +2 -2
  630. package/models/get-bid200-response.ts +2 -2
  631. package/models/get-file-meta200-response.ts +2 -2
  632. package/models/get-supplier-card-payable-v2200-response.ts +27 -0
  633. package/models/green-product-public.ts +31 -0
  634. package/models/health-controller-check200-response.ts +2 -2
  635. package/models/health-response-dto.ts +2 -2
  636. package/models/hierarchical-region-dto.ts +2 -2
  637. package/models/index.ts +22 -39
  638. package/models/introspect-request-dto.ts +2 -2
  639. package/models/introspection-response-dto.ts +2 -2
  640. package/models/invalid-param-dto.ts +3 -3
  641. package/models/invoice-completed-response-dto.ts +2 -2
  642. package/models/invoice-split-response-dto.ts +23 -0
  643. package/models/legal-mandatory-public.ts +35 -0
  644. package/models/list-bid-results200-response.ts +2 -2
  645. package/models/list-bids-response-dto.ts +2 -2
  646. package/models/list-bids200-response.ts +2 -2
  647. package/models/list-products200-response.ts +27 -0
  648. package/models/mark-bid-failed-request-dto.ts +3 -3
  649. package/models/mark-bid-failed201-response.ts +2 -2
  650. package/models/negotiation-score-dto.ts +31 -0
  651. package/models/negotiation-scored-v2-response-dto.ts +38 -0
  652. package/models/oauth-error-response-dto.ts +2 -2
  653. package/models/payment-method-public.ts +29 -0
  654. package/models/preconditions-dto.ts +17 -55
  655. package/models/problem-details-dto.ts +3 -3
  656. package/models/product-receipt-response-dto.ts +23 -0
  657. package/models/product-response-dto.ts +83 -0
  658. package/models/protected-resource-metadata-dto.ts +2 -2
  659. package/models/register-award-request-dto.ts +4 -4
  660. package/models/register-award201-response.ts +2 -2
  661. package/models/register-bid201-response.ts +2 -2
  662. package/models/register-semo-contract-request-dto.ts +2 -2
  663. package/models/request-invoice-split-request-dto.ts +31 -0
  664. package/models/request-invoice-split200-response.ts +27 -0
  665. package/models/retiree-roster-input-dto.ts +2 -2
  666. package/models/retiree-roster-row-dto.ts +2 -2
  667. package/models/revert-award-request-dto.ts +2 -2
  668. package/models/revert-award200-response.ts +2 -2
  669. package/models/revoke-request-dto.ts +2 -2
  670. package/models/semo-contract-registered-response-dto.ts +2 -2
  671. package/models/semo-contract-taxinvoice-status-response-dto.ts +2 -2
  672. package/models/statement-document-dto.ts +2 -2
  673. package/models/statement-product-dto.ts +3 -3
  674. package/models/submit-negotiation-scores-request-dto.ts +30 -0
  675. package/models/submit-negotiation-scores201-response.ts +27 -0
  676. package/models/supplier-card-payable-response-dto.ts +2 -2
  677. package/models/supplier-tax-type.ts +2 -2
  678. package/models/token-request-dto.ts +2 -2
  679. package/models/token-response-dto.ts +2 -2
  680. package/models/update-bid-request-dto.ts +7 -7
  681. package/models/update-bid200-response.ts +2 -2
  682. package/models/upload-file-request-dto.ts +3 -3
  683. package/models/upload-file201-response.ts +2 -2
  684. package/package.json +1 -1
  685. package/partner-client.ts +3 -3
  686. package/api/partner-v1-api.ts +0 -998
  687. package/dist/api/partner-v1-api.d.ts +0 -440
  688. package/dist/api/partner-v1-api.js +0 -913
  689. package/dist/esm/api/partner-v1-api.d.ts +0 -440
  690. package/dist/esm/api/partner-v1-api.js +0 -906
  691. package/dist/esm/models/acceptance-result-v1-response-dto.d.ts +0 -17
  692. package/dist/esm/models/acceptance-result-v1-response-dto.js +0 -14
  693. package/dist/esm/models/acknowledge-products-v1-request-dto.d.ts +0 -17
  694. package/dist/esm/models/acknowledge-products-v1-request-dto.js +0 -14
  695. package/dist/esm/models/award-registered-response-dto.d.ts +0 -17
  696. package/dist/esm/models/award-registered-response-dto.js +0 -14
  697. package/dist/esm/models/bid-attachment-v1-dto.d.ts +0 -21
  698. package/dist/esm/models/bid-attachment-v1-dto.js +0 -14
  699. package/dist/esm/models/bid-bond-v1-dto.d.ts +0 -27
  700. package/dist/esm/models/bid-bond-v1-dto.js +0 -18
  701. package/dist/esm/models/bid-contract-documents-batch-v1-request-dto.d.ts +0 -17
  702. package/dist/esm/models/bid-contract-documents-batch-v1-request-dto.js +0 -14
  703. package/dist/esm/models/bid-contract-documents-v1-response-dto.d.ts +0 -30
  704. package/dist/esm/models/bid-contract-documents-v1-response-dto.js +0 -14
  705. package/dist/esm/models/bid-created-response-dto.d.ts +0 -21
  706. package/dist/esm/models/bid-created-response-dto.js +0 -14
  707. package/dist/esm/models/bid-document-v1-dto.d.ts +0 -25
  708. package/dist/esm/models/bid-document-v1-dto.js +0 -14
  709. package/dist/esm/models/bid-failed-response-dto.d.ts +0 -17
  710. package/dist/esm/models/bid-failed-response-dto.js +0 -14
  711. package/dist/esm/models/bid-failure-reason.d.ts +0 -25
  712. package/dist/esm/models/bid-failure-reason.js +0 -26
  713. package/dist/esm/models/bid-item-v1-dto.d.ts +0 -41
  714. package/dist/esm/models/bid-item-v1-dto.js +0 -14
  715. package/dist/esm/models/bid-manager-v1-dto.d.ts +0 -33
  716. package/dist/esm/models/bid-manager-v1-dto.js +0 -14
  717. package/dist/esm/models/bid-result-v1-attachment-dto.d.ts +0 -33
  718. package/dist/esm/models/bid-result-v1-attachment-dto.js +0 -14
  719. package/dist/esm/models/bid-result-v1-bid-product-info-dto.d.ts +0 -45
  720. package/dist/esm/models/bid-result-v1-bid-product-info-dto.js +0 -14
  721. package/dist/esm/models/bid-result-v1-participant-dto.d.ts +0 -183
  722. package/dist/esm/models/bid-result-v1-participant-dto.js +0 -14
  723. package/dist/esm/models/bid-result-v1-product-dto.d.ts +0 -53
  724. package/dist/esm/models/bid-result-v1-product-dto.js +0 -14
  725. package/dist/esm/models/bid-results-batch-v1-request-dto.d.ts +0 -25
  726. package/dist/esm/models/bid-results-batch-v1-request-dto.js +0 -14
  727. package/dist/esm/models/bid-results-v1-response-dto.d.ts +0 -164
  728. package/dist/esm/models/bid-results-v1-response-dto.js +0 -14
  729. package/dist/esm/models/bid-statement-v1-response-dto.d.ts +0 -31
  730. package/dist/esm/models/bid-statement-v1-response-dto.js +0 -14
  731. package/dist/esm/models/bid-status.d.ts +0 -23
  732. package/dist/esm/models/bid-status.js +0 -24
  733. package/dist/esm/models/complete-acceptance-v1-request-dto.d.ts +0 -65
  734. package/dist/esm/models/complete-acceptance-v1-request-dto.js +0 -14
  735. package/dist/esm/models/contract-document-item-dto.d.ts +0 -45
  736. package/dist/esm/models/contract-document-item-dto.js +0 -14
  737. package/dist/esm/models/create-bid-v1-request-dto.d.ts +0 -331
  738. package/dist/esm/models/create-bid-v1-request-dto.js +0 -113
  739. package/dist/esm/models/file-uploaded-v1-response-dto.d.ts +0 -17
  740. package/dist/esm/models/file-uploaded-v1-response-dto.js +0 -14
  741. package/dist/esm/models/hierarchical-region-v1-dto.d.ts +0 -21
  742. package/dist/esm/models/hierarchical-region-v1-dto.js +0 -14
  743. package/dist/esm/models/mark-bid-failed-v1-request-dto.d.ts +0 -26
  744. package/dist/esm/models/mark-bid-failed-v1-request-dto.js +0 -14
  745. package/dist/esm/models/negotiation-score-v1-dto.d.ts +0 -25
  746. package/dist/esm/models/negotiation-score-v1-dto.js +0 -14
  747. package/dist/esm/models/negotiation-scored-response-dto.d.ts +0 -17
  748. package/dist/esm/models/negotiation-scored-response-dto.js +0 -14
  749. package/dist/esm/models/preconditions-v1-dto.d.ts +0 -88
  750. package/dist/esm/models/preconditions-v1-dto.js +0 -44
  751. package/dist/esm/models/product-receipt-v1-response-dto.d.ts +0 -17
  752. package/dist/esm/models/product-receipt-v1-response-dto.js +0 -14
  753. package/dist/esm/models/product-v1-response-dto.d.ts +0 -105
  754. package/dist/esm/models/product-v1-response-dto.js +0 -14
  755. package/dist/esm/models/register-award-v1-request-dto.d.ts +0 -33
  756. package/dist/esm/models/register-award-v1-request-dto.js +0 -14
  757. package/dist/esm/models/request-split-invoice-v1-request-dto.d.ts +0 -29
  758. package/dist/esm/models/request-split-invoice-v1-request-dto.js +0 -14
  759. package/dist/esm/models/split-invoice-v1-response-dto.d.ts +0 -17
  760. package/dist/esm/models/split-invoice-v1-response-dto.js +0 -14
  761. package/dist/esm/models/statement-v1-document-dto.d.ts +0 -33
  762. package/dist/esm/models/statement-v1-document-dto.js +0 -14
  763. package/dist/esm/models/statement-v1-product-dto.d.ts +0 -49
  764. package/dist/esm/models/statement-v1-product-dto.js +0 -14
  765. package/dist/esm/models/submit-negotiation-scores-v1-request-dto.d.ts +0 -22
  766. package/dist/esm/models/submit-negotiation-scores-v1-request-dto.js +0 -14
  767. package/dist/esm/models/upload-file-v1-request-dto.d.ts +0 -25
  768. package/dist/esm/models/upload-file-v1-request-dto.js +0 -14
  769. package/dist/models/acceptance-result-v1-response-dto.d.ts +0 -17
  770. package/dist/models/acceptance-result-v1-response-dto.js +0 -15
  771. package/dist/models/acknowledge-products-v1-request-dto.d.ts +0 -17
  772. package/dist/models/acknowledge-products-v1-request-dto.js +0 -15
  773. package/dist/models/award-registered-response-dto.d.ts +0 -17
  774. package/dist/models/award-registered-response-dto.js +0 -15
  775. package/dist/models/bid-attachment-v1-dto.d.ts +0 -21
  776. package/dist/models/bid-attachment-v1-dto.js +0 -15
  777. package/dist/models/bid-bond-v1-dto.d.ts +0 -27
  778. package/dist/models/bid-bond-v1-dto.js +0 -21
  779. package/dist/models/bid-contract-documents-batch-v1-request-dto.d.ts +0 -17
  780. package/dist/models/bid-contract-documents-batch-v1-request-dto.js +0 -15
  781. package/dist/models/bid-contract-documents-v1-response-dto.d.ts +0 -30
  782. package/dist/models/bid-contract-documents-v1-response-dto.js +0 -15
  783. package/dist/models/bid-created-response-dto.d.ts +0 -21
  784. package/dist/models/bid-created-response-dto.js +0 -15
  785. package/dist/models/bid-document-v1-dto.d.ts +0 -25
  786. package/dist/models/bid-document-v1-dto.js +0 -15
  787. package/dist/models/bid-failed-response-dto.d.ts +0 -17
  788. package/dist/models/bid-failed-response-dto.js +0 -15
  789. package/dist/models/bid-failure-reason.d.ts +0 -25
  790. package/dist/models/bid-failure-reason.js +0 -29
  791. package/dist/models/bid-item-v1-dto.d.ts +0 -41
  792. package/dist/models/bid-item-v1-dto.js +0 -15
  793. package/dist/models/bid-manager-v1-dto.d.ts +0 -33
  794. package/dist/models/bid-manager-v1-dto.js +0 -15
  795. package/dist/models/bid-result-v1-attachment-dto.d.ts +0 -33
  796. package/dist/models/bid-result-v1-attachment-dto.js +0 -15
  797. package/dist/models/bid-result-v1-bid-product-info-dto.d.ts +0 -45
  798. package/dist/models/bid-result-v1-bid-product-info-dto.js +0 -15
  799. package/dist/models/bid-result-v1-participant-dto.d.ts +0 -183
  800. package/dist/models/bid-result-v1-participant-dto.js +0 -15
  801. package/dist/models/bid-result-v1-product-dto.d.ts +0 -53
  802. package/dist/models/bid-result-v1-product-dto.js +0 -15
  803. package/dist/models/bid-results-batch-v1-request-dto.d.ts +0 -25
  804. package/dist/models/bid-results-batch-v1-request-dto.js +0 -15
  805. package/dist/models/bid-results-v1-response-dto.d.ts +0 -164
  806. package/dist/models/bid-results-v1-response-dto.js +0 -15
  807. package/dist/models/bid-statement-v1-response-dto.d.ts +0 -31
  808. package/dist/models/bid-statement-v1-response-dto.js +0 -15
  809. package/dist/models/bid-status.d.ts +0 -23
  810. package/dist/models/bid-status.js +0 -27
  811. package/dist/models/complete-acceptance-v1-request-dto.d.ts +0 -65
  812. package/dist/models/complete-acceptance-v1-request-dto.js +0 -15
  813. package/dist/models/contract-document-item-dto.d.ts +0 -45
  814. package/dist/models/contract-document-item-dto.js +0 -15
  815. package/dist/models/create-bid-v1-request-dto.d.ts +0 -331
  816. package/dist/models/create-bid-v1-request-dto.js +0 -116
  817. package/dist/models/file-uploaded-v1-response-dto.d.ts +0 -17
  818. package/dist/models/file-uploaded-v1-response-dto.js +0 -15
  819. package/dist/models/hierarchical-region-v1-dto.d.ts +0 -21
  820. package/dist/models/hierarchical-region-v1-dto.js +0 -15
  821. package/dist/models/mark-bid-failed-v1-request-dto.d.ts +0 -26
  822. package/dist/models/mark-bid-failed-v1-request-dto.js +0 -15
  823. package/dist/models/negotiation-score-v1-dto.d.ts +0 -25
  824. package/dist/models/negotiation-score-v1-dto.js +0 -15
  825. package/dist/models/negotiation-scored-response-dto.d.ts +0 -17
  826. package/dist/models/negotiation-scored-response-dto.js +0 -15
  827. package/dist/models/preconditions-v1-dto.d.ts +0 -88
  828. package/dist/models/preconditions-v1-dto.js +0 -47
  829. package/dist/models/product-receipt-v1-response-dto.d.ts +0 -17
  830. package/dist/models/product-receipt-v1-response-dto.js +0 -15
  831. package/dist/models/product-v1-response-dto.d.ts +0 -105
  832. package/dist/models/product-v1-response-dto.js +0 -15
  833. package/dist/models/register-award-v1-request-dto.d.ts +0 -33
  834. package/dist/models/register-award-v1-request-dto.js +0 -15
  835. package/dist/models/request-split-invoice-v1-request-dto.d.ts +0 -29
  836. package/dist/models/request-split-invoice-v1-request-dto.js +0 -15
  837. package/dist/models/split-invoice-v1-response-dto.d.ts +0 -17
  838. package/dist/models/split-invoice-v1-response-dto.js +0 -15
  839. package/dist/models/statement-v1-document-dto.d.ts +0 -33
  840. package/dist/models/statement-v1-document-dto.js +0 -15
  841. package/dist/models/statement-v1-product-dto.d.ts +0 -49
  842. package/dist/models/statement-v1-product-dto.js +0 -15
  843. package/dist/models/submit-negotiation-scores-v1-request-dto.d.ts +0 -22
  844. package/dist/models/submit-negotiation-scores-v1-request-dto.js +0 -15
  845. package/dist/models/upload-file-v1-request-dto.d.ts +0 -25
  846. package/dist/models/upload-file-v1-request-dto.js +0 -15
  847. package/docs/AcknowledgeProductsV1RequestDto.md +0 -20
  848. package/docs/AwardRegisteredResponseDto.md +0 -20
  849. package/docs/BidAttachmentV1Dto.md +0 -22
  850. package/docs/BidBondV1Dto.md +0 -22
  851. package/docs/BidContractDocumentsBatchV1RequestDto.md +0 -20
  852. package/docs/BidContractDocumentsV1ResponseDto.md +0 -26
  853. package/docs/BidCreatedResponseDto.md +0 -22
  854. package/docs/BidDocumentV1Dto.md +0 -24
  855. package/docs/BidFailedResponseDto.md +0 -20
  856. package/docs/BidFailureReason.md +0 -23
  857. package/docs/BidItemV1Dto.md +0 -32
  858. package/docs/BidManagerV1Dto.md +0 -28
  859. package/docs/BidResultV1AttachmentDto.md +0 -28
  860. package/docs/BidResultV1BidProductInfoDto.md +0 -34
  861. package/docs/BidResultV1ParticipantDto.md +0 -102
  862. package/docs/BidResultV1ProductDto.md +0 -38
  863. package/docs/BidResultsBatchV1RequestDto.md +0 -24
  864. package/docs/BidResultsV1ResponseDto.md +0 -92
  865. package/docs/BidStatementV1ResponseDto.md +0 -26
  866. package/docs/BidStatus.md +0 -19
  867. package/docs/CompleteAcceptanceV1RequestDto.md +0 -44
  868. package/docs/ContractDocumentItemDto.md +0 -34
  869. package/docs/CreateBidV1RequestDto.md +0 -114
  870. package/docs/FileUploadedV1ResponseDto.md +0 -20
  871. package/docs/HierarchicalRegionV1Dto.md +0 -22
  872. package/docs/MarkBidFailedV1RequestDto.md +0 -24
  873. package/docs/NegotiationScoreV1Dto.md +0 -24
  874. package/docs/NegotiationScoredResponseDto.md +0 -20
  875. package/docs/PartnerV1Api.md +0 -707
  876. package/docs/PreconditionsV1Dto.md +0 -38
  877. package/docs/ProductReceiptV1ResponseDto.md +0 -20
  878. package/docs/ProductV1ResponseDto.md +0 -64
  879. package/docs/RegisterAwardV1RequestDto.md +0 -28
  880. package/docs/RequestSplitInvoiceV1RequestDto.md +0 -26
  881. package/docs/SplitInvoiceV1ResponseDto.md +0 -20
  882. package/docs/StatementV1DocumentDto.md +0 -28
  883. package/docs/StatementV1ProductDto.md +0 -36
  884. package/docs/SubmitNegotiationScoresV1RequestDto.md +0 -22
  885. package/docs/UploadFileV1RequestDto.md +0 -24
  886. package/models/acceptance-result-v1-response-dto.ts +0 -23
  887. package/models/acknowledge-products-v1-request-dto.ts +0 -23
  888. package/models/award-registered-response-dto.ts +0 -23
  889. package/models/bid-attachment-v1-dto.ts +0 -27
  890. package/models/bid-bond-v1-dto.ts +0 -36
  891. package/models/bid-contract-documents-batch-v1-request-dto.ts +0 -23
  892. package/models/bid-contract-documents-v1-response-dto.ts +0 -38
  893. package/models/bid-created-response-dto.ts +0 -27
  894. package/models/bid-document-v1-dto.ts +0 -31
  895. package/models/bid-failed-response-dto.ts +0 -23
  896. package/models/bid-failure-reason.ts +0 -35
  897. package/models/bid-item-v1-dto.ts +0 -47
  898. package/models/bid-manager-v1-dto.ts +0 -39
  899. package/models/bid-result-v1-attachment-dto.ts +0 -39
  900. package/models/bid-result-v1-bid-product-info-dto.ts +0 -51
  901. package/models/bid-result-v1-participant-dto.ts +0 -193
  902. package/models/bid-result-v1-product-dto.ts +0 -59
  903. package/models/bid-results-batch-v1-request-dto.ts +0 -31
  904. package/models/bid-results-v1-response-dto.ts +0 -178
  905. package/models/bid-statement-v1-response-dto.ts +0 -41
  906. package/models/bid-status.ts +0 -33
  907. package/models/complete-acceptance-v1-request-dto.ts +0 -71
  908. package/models/contract-document-item-dto.ts +0 -51
  909. package/models/create-bid-v1-request-dto.ts +0 -371
  910. package/models/file-uploaded-v1-response-dto.ts +0 -23
  911. package/models/hierarchical-region-v1-dto.ts +0 -27
  912. package/models/mark-bid-failed-v1-request-dto.ts +0 -36
  913. package/models/negotiation-score-v1-dto.ts +0 -31
  914. package/models/negotiation-scored-response-dto.ts +0 -23
  915. package/models/preconditions-v1-dto.ts +0 -101
  916. package/models/product-receipt-v1-response-dto.ts +0 -23
  917. package/models/product-v1-response-dto.ts +0 -111
  918. package/models/register-award-v1-request-dto.ts +0 -39
  919. package/models/request-split-invoice-v1-request-dto.ts +0 -35
  920. package/models/split-invoice-v1-response-dto.ts +0 -23
  921. package/models/statement-v1-document-dto.ts +0 -39
  922. package/models/statement-v1-product-dto.ts +0 -55
  923. package/models/submit-negotiation-scores-v1-request-dto.ts +0 -30
  924. package/models/upload-file-v1-request-dto.ts +0 -31
@@ -1,906 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * CMARKET V6 Partner API
5
- * 외부 ERP 연동용 RESTful API. ## 버전별 인증 - **_/v2** — OAuth2 Bearer JWT (`client_credentials` 플로우). `/oauth/token` 에서 토큰 발급 후 `Authorization: Bearer <token>` 헤더. - **_/v1** — V5 충실 platform-auth. `X-Platform-Id`(cate_set.api_id) / `X-Platform-Secret`(cate_set.api_secret, MD5-hex) 헤더로 전송. ## 권한 — 두 개의 독립된 축 `403` 을 만났다면 둘 중 어느 축에 걸린 것인지 먼저 구분할 것. - **스코프** = *무엇을 할 수 있나*. 토큰에 부여된 `bids:read`·`contracts:write` 등. 미보유 시 `…/insufficient-scope`. - **대행 범위** = *누구의 데이터를 다룰 수 있나*. API 키 설정이며 스코프로 표현되지 않는다. 범위 밖이면 스코프와 무관하게 403 이다. 대행 범위는 키마다 둘 중 하나로 설정된다 — **소속 그룹 전원**(기관 키. 사업처·부서 계정이 새로 생겨도 자동 포함) 또는 **지정 발주처 목록**(계약으로 합의된 목록). 범위를 넓혀야 하면 스코프가 아니라 키 설정 변경을 요청할 것. ## 성공 응답 봉투 `/v2` 의 모든 2xx 본문은 `{ \"data\": … }` 입니다. 단일 리소스든 목록이든 같습니다. 목록처럼 부가 정보가 있는 응답은 `meta` 가 함께 실립니다 — 예: `{ \"data\": [...], \"meta\": { \"nextCursor\": \"…\" } }`. 부가 정보가 없으면 `meta` 키는 아예 나가지 않습니다(빈 객체를 싣지 않습니다). 봉투를 쓰지 않는 표면은 셋입니다. `/oauth/_*` 와 `/.well-known/_*` 는 각각 RFC 6749·RFC 8414·RFC 9728 이 최상위 필드를 규정하고, `/v1/_*` 은 동결된 레거시 표면이며, 파일 내용 응답은 본문이 JSON 이 아닙니다. 에러 응답에는 봉투를 씌우지 않습니다 — 아래 problem+json 이 단독으로 책임집니다. ## 조건부 요청 (ETag) `/v2` 의 모든 `GET` 응답에 weak `ETag`(`W/\"…\"`)가 실립니다. 받은 값을 다음 요청의 `If-None-Match` 헤더로 되보내면, 내용이 그대로일 때 `304 Not Modified` 를 본문 없이 받습니다. 결과가 나기를 기다리며 같은 자원을 반복 조회하는 연동이라면 이 헤더 하나로 전송량이 사라집니다. ## 에러 (RFC 9457 problem+json) 모든 에러 응답은 `application/problem+json`. 소비자는 **HTTP status + `type` URI** 로 분기한다. - `retryable`(boolean): 자동 재시도 안전 여부. `true`(429·5xx transient)면 backoff 후 재시도, `false`면 요청을 고쳐야 한다. - `traceId`: 요청 추적 id. `X-Correlation-Id` 응답 헤더와 같은 값입니다 — 문의할 때 이 값을 첨부하세요. - `correlationId`: `traceId` 와 같은 값의 옛 이름. 기존 연동 호환으로 함께 실립니다. 새 연동은 `traceId` 를 읽으세요. - `invalid-params`: 검증 실패(400 `…/validation-failed`) 시 위반 필드 경로 목록(RFC 9457 확장, 값 없음). `type` 은 `https://problems.cmarket.io/partner/<slug>` 형태의 **안정 식별자**다. RFC 9457 §3.1.1 이 허용하는 대로 이 URI 는 **역참조(dereference)되지 않는다** — 브라우저로 열지 말고 문자열 비교로만 쓸 것. slug 목록과 의미는 각 엔드포인트의 응답 설명에 status 별로 명시돼 있다. 새 slug 은 추가될 수 있으므로, 모르는 slug 을 만나면 `type` 이 아니라 **HTTP status 로 폴백**하도록 구현할 것. ### 멱등성 위반: 409 와 422 의 차이 - `409` `…/idempotency-key-conflict` — 같은 키의 **원 요청이 아직 처리 중**이다. 잠시 뒤 같은 키로 다시 부르면 그 결과를 받는다. - `422` `…/idempotency-key-reused` — 같은 키를 **다른 body** 로 보냈다. 재시도해도 영원히 같은 실패다. 새 키를 쓰거나 body 를 되돌릴 것. ## Rate Limit 전역 **60 요청/분 per `client_id`**, 토큰 발급(`/oauth/token`)은 **5 요청/분**. 초과 시 `429`(`type: …/too-many-requests`). 쿼터는 두 가지 표기로 함께 나간다 — 신규 연동은 표준 필드를 쓸 것. - **표준**(`draft-ietf-httpapi-ratelimit-headers`, Structured Fields): `RateLimit-Policy: \"default\";q=60;w=60` (정책) · `RateLimit: \"default\";r=59;t=42` (잔량 r, 리셋까지 t 초) - **레거시**(관용): `X-RateLimit-Limit` / `X-RateLimit-Remaining` / `X-RateLimit-Reset`. 기존 연동 호환을 위해 유지한다. `429` 에서는 `Retry-After`(초)가 우선한다. 대량 동기화(품목 단위 반복 등록 등)는 `Retry-After` 만큼 backoff 후 재시도할 것. ## 추적 요청에 `X-Correlation-Id` 헤더를 실으면 그대로 echo 되고, 없으면 서버가 발급한다. 모든 응답(성공/에러)에 `X-Correlation-Id` 가 실린다. ## 버전 수명(deprecation/sunset) - **_/v1** 은 레거시 V5 cutover 완료 시점까지 유지되는 충실 프록시입니다. 폐지 일정이 정해지면 /v1 응답에 헤더 세 개가 실립니다 — `Deprecation`(RFC 9745, `@<epoch초>`) · `Sunset`(RFC 8594, HTTP-date) · `Link`(RFC 8288, `rel=\"deprecation\"`/`rel=\"sunset\"` — 이전 안내 문서를 가리킵니다). 일정이 정해지기 전에는 셋 다 나가지 않습니다. 종료일이 지난 뒤의 호출은 `404` 가 아니라 **`410 Gone`** 과 `type: …/endpoint-sunset` 으로 거절됩니다. 둘의 뜻이 다릅니다 — `404` 는 \"그런 것이 있었는지 모르겠다\", `410` 은 \"있었고 의도적으로 없앴다\" 입니다. `410` 을 받으면 경로 오타를 의심하지 말고 /v2 로 이전하세요. - **_/v2** breaking 변경은 CHANGELOG SemVer(major bump)와 `Deprecation`/`Sunset` 헤더로 통지한다. 소비자는 이 헤더를 모니터링할 것.
6
- *
7
- * The version of the OpenAPI document: 35.1.0
8
- * Contact: semo.io.kr@gmail.com
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
15
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
16
- return new (P || (P = Promise))(function (resolve, reject) {
17
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
18
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
19
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
20
- step((generator = generator.apply(thisArg, _arguments || [])).next());
21
- });
22
- };
23
- import globalAxios from 'axios';
24
- // Some imports not used depending on template conditions
25
- // @ts-ignore
26
- import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
27
- // @ts-ignore
28
- import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
29
- /**
30
- * PartnerV1Api - axios parameter creator
31
- */
32
- export const PartnerV1ApiAxiosParamCreator = function (configuration) {
33
- return {
34
- /**
35
- * V5 `productReceiveCheck` 후속. 저장 완료한 물품코드 목록을 전송완료(send_chk=Y)로 마킹해 재전송에서 제외한다. 마킹은 인증 그룹 스코프로 잠긴다(남의 조직 물품 마킹 불가).
36
- * @summary 물품 수신확인 — V5 충실
37
- * @param {AcknowledgeProductsV1RequestDto} acknowledgeProductsV1RequestDto
38
- * @param {*} [options] Override http request option.
39
- * @throws {RequiredError}
40
- */
41
- v1AcknowledgeProductReceipt: (acknowledgeProductsV1RequestDto_1, ...args_1) => __awaiter(this, [acknowledgeProductsV1RequestDto_1, ...args_1], void 0, function* (acknowledgeProductsV1RequestDto, options = {}) {
42
- // verify required parameter 'acknowledgeProductsV1RequestDto' is not null or undefined
43
- assertParamExists('v1AcknowledgeProductReceipt', 'acknowledgeProductsV1RequestDto', acknowledgeProductsV1RequestDto);
44
- const localVarPath = `/v1/products/receipts`;
45
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
46
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
47
- let baseOptions;
48
- if (configuration) {
49
- baseOptions = configuration.baseOptions;
50
- }
51
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
52
- const localVarHeaderParameter = {};
53
- const localVarQueryParameter = {};
54
- // authentication platform-auth-id required
55
- yield setApiKeyToObject(localVarHeaderParameter, "X-Platform-Id", configuration);
56
- // authentication platform-auth-secret required
57
- yield setApiKeyToObject(localVarHeaderParameter, "X-Platform-Secret", configuration);
58
- localVarHeaderParameter['Content-Type'] = 'application/json';
59
- localVarHeaderParameter['Accept'] = 'application/json,application/problem+json';
60
- setSearchParams(localVarUrlObj, localVarQueryParameter);
61
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
62
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
63
- localVarRequestOptions.data = serializeDataIfNeeded(acknowledgeProductsV1RequestDto, localVarRequestOptions, configuration);
64
- return {
65
- url: toPathString(localVarUrlObj),
66
- options: localVarRequestOptions,
67
- };
68
- }),
69
- /**
70
- * V5 `/acceptanceCompleteSend` 후속. 인증 = 헤더 `X-Platform-Id`/`X-Platform-Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
71
- * @summary 검수완료 전송 — V5 충실
72
- * @param {string} bidId
73
- * @param {CompleteAcceptanceV1RequestDto} completeAcceptanceV1RequestDto
74
- * @param {*} [options] Override http request option.
75
- * @throws {RequiredError}
76
- */
77
- v1CompleteAcceptance: (bidId_1, completeAcceptanceV1RequestDto_1, ...args_1) => __awaiter(this, [bidId_1, completeAcceptanceV1RequestDto_1, ...args_1], void 0, function* (bidId, completeAcceptanceV1RequestDto, options = {}) {
78
- // verify required parameter 'bidId' is not null or undefined
79
- assertParamExists('v1CompleteAcceptance', 'bidId', bidId);
80
- // verify required parameter 'completeAcceptanceV1RequestDto' is not null or undefined
81
- assertParamExists('v1CompleteAcceptance', 'completeAcceptanceV1RequestDto', completeAcceptanceV1RequestDto);
82
- const localVarPath = `/v1/bids/{bidId}/acceptance`
83
- .replace('{bidId}', encodeURIComponent(String(bidId)));
84
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
85
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
86
- let baseOptions;
87
- if (configuration) {
88
- baseOptions = configuration.baseOptions;
89
- }
90
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
91
- const localVarHeaderParameter = {};
92
- const localVarQueryParameter = {};
93
- // authentication platform-auth-id required
94
- yield setApiKeyToObject(localVarHeaderParameter, "X-Platform-Id", configuration);
95
- // authentication platform-auth-secret required
96
- yield setApiKeyToObject(localVarHeaderParameter, "X-Platform-Secret", configuration);
97
- localVarHeaderParameter['Content-Type'] = 'application/json';
98
- localVarHeaderParameter['Accept'] = 'application/json,application/problem+json';
99
- setSearchParams(localVarUrlObj, localVarQueryParameter);
100
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
101
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
102
- localVarRequestOptions.data = serializeDataIfNeeded(completeAcceptanceV1RequestDto, localVarRequestOptions, configuration);
103
- return {
104
- url: toPathString(localVarUrlObj),
105
- options: localVarRequestOptions,
106
- };
107
- }),
108
- /**
109
- * V5 `/contractDocumentRec`(bid_puchase_no_list) 후속. 인증 = 헤더 `X-Platform-Id`/`X-Platform-Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
110
- * @summary 계약서류 수신 배치 조회 — V5 충실
111
- * @param {BidContractDocumentsBatchV1RequestDto} bidContractDocumentsBatchV1RequestDto
112
- * @param {*} [options] Override http request option.
113
- * @throws {RequiredError}
114
- */
115
- v1GetBidContractDocumentsBatch: (bidContractDocumentsBatchV1RequestDto_1, ...args_1) => __awaiter(this, [bidContractDocumentsBatchV1RequestDto_1, ...args_1], void 0, function* (bidContractDocumentsBatchV1RequestDto, options = {}) {
116
- // verify required parameter 'bidContractDocumentsBatchV1RequestDto' is not null or undefined
117
- assertParamExists('v1GetBidContractDocumentsBatch', 'bidContractDocumentsBatchV1RequestDto', bidContractDocumentsBatchV1RequestDto);
118
- const localVarPath = `/v1/bids/contract-documents/batch`;
119
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
120
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
121
- let baseOptions;
122
- if (configuration) {
123
- baseOptions = configuration.baseOptions;
124
- }
125
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
126
- const localVarHeaderParameter = {};
127
- const localVarQueryParameter = {};
128
- // authentication platform-auth-id required
129
- yield setApiKeyToObject(localVarHeaderParameter, "X-Platform-Id", configuration);
130
- // authentication platform-auth-secret required
131
- yield setApiKeyToObject(localVarHeaderParameter, "X-Platform-Secret", configuration);
132
- localVarHeaderParameter['Content-Type'] = 'application/json';
133
- localVarHeaderParameter['Accept'] = 'application/json,application/problem+json';
134
- setSearchParams(localVarUrlObj, localVarQueryParameter);
135
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
136
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
137
- localVarRequestOptions.data = serializeDataIfNeeded(bidContractDocumentsBatchV1RequestDto, localVarRequestOptions, configuration);
138
- return {
139
- url: toPathString(localVarUrlObj),
140
- options: localVarRequestOptions,
141
- };
142
- }),
143
- /**
144
- * V5 `/entendRec`(bid_puchase_no_list) 후속. 인증 = 헤더 `X-Platform-Id`/`X-Platform-Secret`(cate_set). buyerId 는 group_code 로 자동 결정. resolveBidId 도 이 엔드포인트를 사용한다.
145
- * @summary 입찰결과 배치 조회 — V5 충실
146
- * @param {BidResultsBatchV1RequestDto} bidResultsBatchV1RequestDto
147
- * @param {*} [options] Override http request option.
148
- * @throws {RequiredError}
149
- */
150
- v1GetBidResultsBatch: (bidResultsBatchV1RequestDto_1, ...args_1) => __awaiter(this, [bidResultsBatchV1RequestDto_1, ...args_1], void 0, function* (bidResultsBatchV1RequestDto, options = {}) {
151
- // verify required parameter 'bidResultsBatchV1RequestDto' is not null or undefined
152
- assertParamExists('v1GetBidResultsBatch', 'bidResultsBatchV1RequestDto', bidResultsBatchV1RequestDto);
153
- const localVarPath = `/v1/bids/results/batch`;
154
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
155
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
156
- let baseOptions;
157
- if (configuration) {
158
- baseOptions = configuration.baseOptions;
159
- }
160
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
161
- const localVarHeaderParameter = {};
162
- const localVarQueryParameter = {};
163
- // authentication platform-auth-id required
164
- yield setApiKeyToObject(localVarHeaderParameter, "X-Platform-Id", configuration);
165
- // authentication platform-auth-secret required
166
- yield setApiKeyToObject(localVarHeaderParameter, "X-Platform-Secret", configuration);
167
- localVarHeaderParameter['Content-Type'] = 'application/json';
168
- localVarHeaderParameter['Accept'] = 'application/json,application/problem+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(bidResultsBatchV1RequestDto, localVarRequestOptions, configuration);
173
- return {
174
- url: toPathString(localVarUrlObj),
175
- options: localVarRequestOptions,
176
- };
177
- }),
178
- /**
179
- * V5 `/getGrm` 후속. 인증 = 헤더 `X-Platform-Id`/`X-Platform-Secret`(cate_set). group_code 스코프로 가시성 적용.
180
- * @summary 거래명세서 조회 — V5 충실
181
- * @param {string} bidId
182
- * @param {*} [options] Override http request option.
183
- * @throws {RequiredError}
184
- */
185
- v1GetBidStatement: (bidId_1, ...args_1) => __awaiter(this, [bidId_1, ...args_1], void 0, function* (bidId, options = {}) {
186
- // verify required parameter 'bidId' is not null or undefined
187
- assertParamExists('v1GetBidStatement', 'bidId', bidId);
188
- const localVarPath = `/v1/bids/{bidId}/statement`
189
- .replace('{bidId}', encodeURIComponent(String(bidId)));
190
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
191
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
192
- let baseOptions;
193
- if (configuration) {
194
- baseOptions = configuration.baseOptions;
195
- }
196
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
197
- const localVarHeaderParameter = {};
198
- const localVarQueryParameter = {};
199
- // authentication platform-auth-id required
200
- yield setApiKeyToObject(localVarHeaderParameter, "X-Platform-Id", configuration);
201
- // authentication platform-auth-secret required
202
- yield setApiKeyToObject(localVarHeaderParameter, "X-Platform-Secret", configuration);
203
- localVarHeaderParameter['Accept'] = 'application/json,application/problem+json';
204
- setSearchParams(localVarUrlObj, localVarQueryParameter);
205
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
206
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
207
- return {
208
- url: toPathString(localVarUrlObj),
209
- options: localVarRequestOptions,
210
- };
211
- }),
212
- /**
213
- * V5 `getProductList` 후속. 인증 그룹의 승인완료·공유·미전송(send_chk=N) 물품을 반환한다. 가져간 뒤 POST /v1/products/receipts 로 수신확인하면 재전송에서 제외된다(증분).
214
- * @summary 물품 카탈로그 피드 조회 — V5 충실
215
- * @param {*} [options] Override http request option.
216
- * @throws {RequiredError}
217
- */
218
- v1GetProductFeed: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
219
- const localVarPath = `/v1/products`;
220
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
221
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
222
- let baseOptions;
223
- if (configuration) {
224
- baseOptions = configuration.baseOptions;
225
- }
226
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
227
- const localVarHeaderParameter = {};
228
- const localVarQueryParameter = {};
229
- // authentication platform-auth-id required
230
- yield setApiKeyToObject(localVarHeaderParameter, "X-Platform-Id", configuration);
231
- // authentication platform-auth-secret required
232
- yield setApiKeyToObject(localVarHeaderParameter, "X-Platform-Secret", configuration);
233
- localVarHeaderParameter['Accept'] = 'application/json,application/problem+json';
234
- setSearchParams(localVarUrlObj, localVarQueryParameter);
235
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
236
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
237
- return {
238
- url: toPathString(localVarUrlObj),
239
- options: localVarRequestOptions,
240
- };
241
- }),
242
- /**
243
- * V5 `scsbidSend`(type=U) 후속. 인증 = 헤더 `X-Platform-Id`/`X-Platform-Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
244
- * @summary 유찰 처리 — V5 충실
245
- * @param {MarkBidFailedV1RequestDto} markBidFailedV1RequestDto
246
- * @param {*} [options] Override http request option.
247
- * @throws {RequiredError}
248
- */
249
- v1MarkBidFailed: (markBidFailedV1RequestDto_1, ...args_1) => __awaiter(this, [markBidFailedV1RequestDto_1, ...args_1], void 0, function* (markBidFailedV1RequestDto, options = {}) {
250
- // verify required parameter 'markBidFailedV1RequestDto' is not null or undefined
251
- assertParamExists('v1MarkBidFailed', 'markBidFailedV1RequestDto', markBidFailedV1RequestDto);
252
- const localVarPath = `/v1/awards/fail`;
253
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
254
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
255
- let baseOptions;
256
- if (configuration) {
257
- baseOptions = configuration.baseOptions;
258
- }
259
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
260
- const localVarHeaderParameter = {};
261
- const localVarQueryParameter = {};
262
- // authentication platform-auth-id required
263
- yield setApiKeyToObject(localVarHeaderParameter, "X-Platform-Id", configuration);
264
- // authentication platform-auth-secret required
265
- yield setApiKeyToObject(localVarHeaderParameter, "X-Platform-Secret", configuration);
266
- localVarHeaderParameter['Content-Type'] = 'application/json';
267
- localVarHeaderParameter['Accept'] = 'application/json,application/problem+json';
268
- setSearchParams(localVarUrlObj, localVarQueryParameter);
269
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
270
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
271
- localVarRequestOptions.data = serializeDataIfNeeded(markBidFailedV1RequestDto, localVarRequestOptions, configuration);
272
- return {
273
- url: toPathString(localVarUrlObj),
274
- options: localVarRequestOptions,
275
- };
276
- }),
277
- /**
278
- * V5 `scsbidSend`(type=W) 후속. 인증 = 헤더 `X-Platform-Id`/`X-Platform-Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
279
- * @summary 낙찰 결과 전송 — V5 충실
280
- * @param {RegisterAwardV1RequestDto} registerAwardV1RequestDto
281
- * @param {*} [options] Override http request option.
282
- * @throws {RequiredError}
283
- */
284
- v1RegisterAward: (registerAwardV1RequestDto_1, ...args_1) => __awaiter(this, [registerAwardV1RequestDto_1, ...args_1], void 0, function* (registerAwardV1RequestDto, options = {}) {
285
- // verify required parameter 'registerAwardV1RequestDto' is not null or undefined
286
- assertParamExists('v1RegisterAward', 'registerAwardV1RequestDto', registerAwardV1RequestDto);
287
- const localVarPath = `/v1/awards`;
288
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
289
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
290
- let baseOptions;
291
- if (configuration) {
292
- baseOptions = configuration.baseOptions;
293
- }
294
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
295
- const localVarHeaderParameter = {};
296
- const localVarQueryParameter = {};
297
- // authentication platform-auth-id required
298
- yield setApiKeyToObject(localVarHeaderParameter, "X-Platform-Id", configuration);
299
- // authentication platform-auth-secret required
300
- yield setApiKeyToObject(localVarHeaderParameter, "X-Platform-Secret", configuration);
301
- localVarHeaderParameter['Content-Type'] = 'application/json';
302
- localVarHeaderParameter['Accept'] = 'application/json,application/problem+json';
303
- setSearchParams(localVarUrlObj, localVarQueryParameter);
304
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
305
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
306
- localVarRequestOptions.data = serializeDataIfNeeded(registerAwardV1RequestDto, localVarRequestOptions, configuration);
307
- return {
308
- url: toPathString(localVarUrlObj),
309
- options: localVarRequestOptions,
310
- };
311
- }),
312
- /**
313
- * V5 `scsbidSend`(type=B) 후속. 인증 = 헤더 `X-Platform-Id`/`X-Platform-Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
314
- * @summary 입찰 정보 전송(등록) — V5 충실
315
- * @param {CreateBidV1RequestDto} createBidV1RequestDto
316
- * @param {*} [options] Override http request option.
317
- * @throws {RequiredError}
318
- */
319
- v1RegisterBid: (createBidV1RequestDto_1, ...args_1) => __awaiter(this, [createBidV1RequestDto_1, ...args_1], void 0, function* (createBidV1RequestDto, options = {}) {
320
- // verify required parameter 'createBidV1RequestDto' is not null or undefined
321
- assertParamExists('v1RegisterBid', 'createBidV1RequestDto', createBidV1RequestDto);
322
- const localVarPath = `/v1/bids`;
323
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
324
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
325
- let baseOptions;
326
- if (configuration) {
327
- baseOptions = configuration.baseOptions;
328
- }
329
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
330
- const localVarHeaderParameter = {};
331
- const localVarQueryParameter = {};
332
- // authentication platform-auth-id required
333
- yield setApiKeyToObject(localVarHeaderParameter, "X-Platform-Id", configuration);
334
- // authentication platform-auth-secret required
335
- yield setApiKeyToObject(localVarHeaderParameter, "X-Platform-Secret", configuration);
336
- localVarHeaderParameter['Content-Type'] = 'application/json';
337
- localVarHeaderParameter['Accept'] = 'application/json,application/problem+json';
338
- setSearchParams(localVarUrlObj, localVarQueryParameter);
339
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
340
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
341
- localVarRequestOptions.data = serializeDataIfNeeded(createBidV1RequestDto, localVarRequestOptions, configuration);
342
- return {
343
- url: toPathString(localVarUrlObj),
344
- options: localVarRequestOptions,
345
- };
346
- }),
347
- /**
348
- * V5 `splitInvoiceRequest` 후속. 인증 = 헤더 `X-Platform-Id`/`X-Platform-Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
349
- * @summary 계산서 분할 발급 청구 — V5 충실
350
- * @param {RequestSplitInvoiceV1RequestDto} requestSplitInvoiceV1RequestDto
351
- * @param {*} [options] Override http request option.
352
- * @throws {RequiredError}
353
- */
354
- v1RequestSplitInvoice: (requestSplitInvoiceV1RequestDto_1, ...args_1) => __awaiter(this, [requestSplitInvoiceV1RequestDto_1, ...args_1], void 0, function* (requestSplitInvoiceV1RequestDto, options = {}) {
355
- // verify required parameter 'requestSplitInvoiceV1RequestDto' is not null or undefined
356
- assertParamExists('v1RequestSplitInvoice', 'requestSplitInvoiceV1RequestDto', requestSplitInvoiceV1RequestDto);
357
- const localVarPath = `/v1/invoices/split-requests`;
358
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
359
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
360
- let baseOptions;
361
- if (configuration) {
362
- baseOptions = configuration.baseOptions;
363
- }
364
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
365
- const localVarHeaderParameter = {};
366
- const localVarQueryParameter = {};
367
- // authentication platform-auth-id required
368
- yield setApiKeyToObject(localVarHeaderParameter, "X-Platform-Id", configuration);
369
- // authentication platform-auth-secret required
370
- yield setApiKeyToObject(localVarHeaderParameter, "X-Platform-Secret", configuration);
371
- localVarHeaderParameter['Content-Type'] = 'application/json';
372
- localVarHeaderParameter['Accept'] = 'application/json,application/problem+json';
373
- setSearchParams(localVarUrlObj, localVarQueryParameter);
374
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
375
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
376
- localVarRequestOptions.data = serializeDataIfNeeded(requestSplitInvoiceV1RequestDto, localVarRequestOptions, configuration);
377
- return {
378
- url: toPathString(localVarUrlObj),
379
- options: localVarRequestOptions,
380
- };
381
- }),
382
- /**
383
- * V5 `scsbidSend`(type=nego) 후속. 인증 = 헤더 `X-Platform-Id`/`X-Platform-Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
384
- * @summary 협상(H/K) 점수평가 — V5 충실
385
- * @param {SubmitNegotiationScoresV1RequestDto} submitNegotiationScoresV1RequestDto
386
- * @param {*} [options] Override http request option.
387
- * @throws {RequiredError}
388
- */
389
- v1SubmitNegotiationScores: (submitNegotiationScoresV1RequestDto_1, ...args_1) => __awaiter(this, [submitNegotiationScoresV1RequestDto_1, ...args_1], void 0, function* (submitNegotiationScoresV1RequestDto, options = {}) {
390
- // verify required parameter 'submitNegotiationScoresV1RequestDto' is not null or undefined
391
- assertParamExists('v1SubmitNegotiationScores', 'submitNegotiationScoresV1RequestDto', submitNegotiationScoresV1RequestDto);
392
- const localVarPath = `/v1/awards/nego-eval`;
393
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
394
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
395
- let baseOptions;
396
- if (configuration) {
397
- baseOptions = configuration.baseOptions;
398
- }
399
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
400
- const localVarHeaderParameter = {};
401
- const localVarQueryParameter = {};
402
- // authentication platform-auth-id required
403
- yield setApiKeyToObject(localVarHeaderParameter, "X-Platform-Id", configuration);
404
- // authentication platform-auth-secret required
405
- yield setApiKeyToObject(localVarHeaderParameter, "X-Platform-Secret", configuration);
406
- localVarHeaderParameter['Content-Type'] = 'application/json';
407
- localVarHeaderParameter['Accept'] = 'application/json,application/problem+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(submitNegotiationScoresV1RequestDto, localVarRequestOptions, configuration);
412
- return {
413
- url: toPathString(localVarUrlObj),
414
- options: localVarRequestOptions,
415
- };
416
- }),
417
- /**
418
- * 인증 = 헤더 `X-Platform-Id`/`X-Platform-Secret`(cate_set). base64 또는 url 중 정확히 하나를 제출한다. 응답 `fileKey` 를 `POST /v1/bids` 의 `attachments[]` 에 그대로 넣으면 공고 첨부로 연결된다. 멱등성 계층은 없다 — `Idempotency-Key` 헤더를 보내도 무시되며 재시도는 매번 새 파일을 만든다.
419
- * @summary 입찰 첨부파일 업로드(base64 또는 url) → fileKey
420
- * @param {UploadFileV1RequestDto} uploadFileV1RequestDto
421
- * @param {*} [options] Override http request option.
422
- * @throws {RequiredError}
423
- */
424
- v1UploadFile: (uploadFileV1RequestDto_1, ...args_1) => __awaiter(this, [uploadFileV1RequestDto_1, ...args_1], void 0, function* (uploadFileV1RequestDto, options = {}) {
425
- // verify required parameter 'uploadFileV1RequestDto' is not null or undefined
426
- assertParamExists('v1UploadFile', 'uploadFileV1RequestDto', uploadFileV1RequestDto);
427
- const localVarPath = `/v1/files`;
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 platform-auth-id required
438
- yield setApiKeyToObject(localVarHeaderParameter, "X-Platform-Id", configuration);
439
- // authentication platform-auth-secret required
440
- yield setApiKeyToObject(localVarHeaderParameter, "X-Platform-Secret", configuration);
441
- localVarHeaderParameter['Content-Type'] = 'application/json';
442
- localVarHeaderParameter['Accept'] = 'application/json,application/problem+json';
443
- setSearchParams(localVarUrlObj, localVarQueryParameter);
444
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
445
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
446
- localVarRequestOptions.data = serializeDataIfNeeded(uploadFileV1RequestDto, localVarRequestOptions, configuration);
447
- return {
448
- url: toPathString(localVarUrlObj),
449
- options: localVarRequestOptions,
450
- };
451
- }),
452
- };
453
- };
454
- /**
455
- * PartnerV1Api - functional programming interface
456
- */
457
- export const PartnerV1ApiFp = function (configuration) {
458
- const localVarAxiosParamCreator = PartnerV1ApiAxiosParamCreator(configuration);
459
- return {
460
- /**
461
- * V5 `productReceiveCheck` 후속. 저장 완료한 물품코드 목록을 전송완료(send_chk=Y)로 마킹해 재전송에서 제외한다. 마킹은 인증 그룹 스코프로 잠긴다(남의 조직 물품 마킹 불가).
462
- * @summary 물품 수신확인 — V5 충실
463
- * @param {AcknowledgeProductsV1RequestDto} acknowledgeProductsV1RequestDto
464
- * @param {*} [options] Override http request option.
465
- * @throws {RequiredError}
466
- */
467
- v1AcknowledgeProductReceipt(acknowledgeProductsV1RequestDto, options) {
468
- return __awaiter(this, void 0, void 0, function* () {
469
- var _a, _b, _c;
470
- const localVarAxiosArgs = yield localVarAxiosParamCreator.v1AcknowledgeProductReceipt(acknowledgeProductsV1RequestDto, options);
471
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
472
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PartnerV1Api.v1AcknowledgeProductReceipt']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
473
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
474
- });
475
- },
476
- /**
477
- * V5 `/acceptanceCompleteSend` 후속. 인증 = 헤더 `X-Platform-Id`/`X-Platform-Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
478
- * @summary 검수완료 전송 — V5 충실
479
- * @param {string} bidId
480
- * @param {CompleteAcceptanceV1RequestDto} completeAcceptanceV1RequestDto
481
- * @param {*} [options] Override http request option.
482
- * @throws {RequiredError}
483
- */
484
- v1CompleteAcceptance(bidId, completeAcceptanceV1RequestDto, options) {
485
- return __awaiter(this, void 0, void 0, function* () {
486
- var _a, _b, _c;
487
- const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CompleteAcceptance(bidId, completeAcceptanceV1RequestDto, options);
488
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
489
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PartnerV1Api.v1CompleteAcceptance']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
490
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
491
- });
492
- },
493
- /**
494
- * V5 `/contractDocumentRec`(bid_puchase_no_list) 후속. 인증 = 헤더 `X-Platform-Id`/`X-Platform-Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
495
- * @summary 계약서류 수신 배치 조회 — V5 충실
496
- * @param {BidContractDocumentsBatchV1RequestDto} bidContractDocumentsBatchV1RequestDto
497
- * @param {*} [options] Override http request option.
498
- * @throws {RequiredError}
499
- */
500
- v1GetBidContractDocumentsBatch(bidContractDocumentsBatchV1RequestDto, options) {
501
- return __awaiter(this, void 0, void 0, function* () {
502
- var _a, _b, _c;
503
- const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetBidContractDocumentsBatch(bidContractDocumentsBatchV1RequestDto, options);
504
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
505
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PartnerV1Api.v1GetBidContractDocumentsBatch']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
506
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
507
- });
508
- },
509
- /**
510
- * V5 `/entendRec`(bid_puchase_no_list) 후속. 인증 = 헤더 `X-Platform-Id`/`X-Platform-Secret`(cate_set). buyerId 는 group_code 로 자동 결정. resolveBidId 도 이 엔드포인트를 사용한다.
511
- * @summary 입찰결과 배치 조회 — V5 충실
512
- * @param {BidResultsBatchV1RequestDto} bidResultsBatchV1RequestDto
513
- * @param {*} [options] Override http request option.
514
- * @throws {RequiredError}
515
- */
516
- v1GetBidResultsBatch(bidResultsBatchV1RequestDto, options) {
517
- return __awaiter(this, void 0, void 0, function* () {
518
- var _a, _b, _c;
519
- const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetBidResultsBatch(bidResultsBatchV1RequestDto, options);
520
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
521
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PartnerV1Api.v1GetBidResultsBatch']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
522
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
523
- });
524
- },
525
- /**
526
- * V5 `/getGrm` 후속. 인증 = 헤더 `X-Platform-Id`/`X-Platform-Secret`(cate_set). group_code 스코프로 가시성 적용.
527
- * @summary 거래명세서 조회 — V5 충실
528
- * @param {string} bidId
529
- * @param {*} [options] Override http request option.
530
- * @throws {RequiredError}
531
- */
532
- v1GetBidStatement(bidId, options) {
533
- return __awaiter(this, void 0, void 0, function* () {
534
- var _a, _b, _c;
535
- const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetBidStatement(bidId, options);
536
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
537
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PartnerV1Api.v1GetBidStatement']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
538
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
539
- });
540
- },
541
- /**
542
- * V5 `getProductList` 후속. 인증 그룹의 승인완료·공유·미전송(send_chk=N) 물품을 반환한다. 가져간 뒤 POST /v1/products/receipts 로 수신확인하면 재전송에서 제외된다(증분).
543
- * @summary 물품 카탈로그 피드 조회 — V5 충실
544
- * @param {*} [options] Override http request option.
545
- * @throws {RequiredError}
546
- */
547
- v1GetProductFeed(options) {
548
- return __awaiter(this, void 0, void 0, function* () {
549
- var _a, _b, _c;
550
- const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetProductFeed(options);
551
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
552
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PartnerV1Api.v1GetProductFeed']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
553
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
554
- });
555
- },
556
- /**
557
- * V5 `scsbidSend`(type=U) 후속. 인증 = 헤더 `X-Platform-Id`/`X-Platform-Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
558
- * @summary 유찰 처리 — V5 충실
559
- * @param {MarkBidFailedV1RequestDto} markBidFailedV1RequestDto
560
- * @param {*} [options] Override http request option.
561
- * @throws {RequiredError}
562
- */
563
- v1MarkBidFailed(markBidFailedV1RequestDto, options) {
564
- return __awaiter(this, void 0, void 0, function* () {
565
- var _a, _b, _c;
566
- const localVarAxiosArgs = yield localVarAxiosParamCreator.v1MarkBidFailed(markBidFailedV1RequestDto, options);
567
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
568
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PartnerV1Api.v1MarkBidFailed']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
569
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
570
- });
571
- },
572
- /**
573
- * V5 `scsbidSend`(type=W) 후속. 인증 = 헤더 `X-Platform-Id`/`X-Platform-Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
574
- * @summary 낙찰 결과 전송 — V5 충실
575
- * @param {RegisterAwardV1RequestDto} registerAwardV1RequestDto
576
- * @param {*} [options] Override http request option.
577
- * @throws {RequiredError}
578
- */
579
- v1RegisterAward(registerAwardV1RequestDto, options) {
580
- return __awaiter(this, void 0, void 0, function* () {
581
- var _a, _b, _c;
582
- const localVarAxiosArgs = yield localVarAxiosParamCreator.v1RegisterAward(registerAwardV1RequestDto, options);
583
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
584
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PartnerV1Api.v1RegisterAward']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
585
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
586
- });
587
- },
588
- /**
589
- * V5 `scsbidSend`(type=B) 후속. 인증 = 헤더 `X-Platform-Id`/`X-Platform-Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
590
- * @summary 입찰 정보 전송(등록) — V5 충실
591
- * @param {CreateBidV1RequestDto} createBidV1RequestDto
592
- * @param {*} [options] Override http request option.
593
- * @throws {RequiredError}
594
- */
595
- v1RegisterBid(createBidV1RequestDto, options) {
596
- return __awaiter(this, void 0, void 0, function* () {
597
- var _a, _b, _c;
598
- const localVarAxiosArgs = yield localVarAxiosParamCreator.v1RegisterBid(createBidV1RequestDto, options);
599
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
600
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PartnerV1Api.v1RegisterBid']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
601
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
602
- });
603
- },
604
- /**
605
- * V5 `splitInvoiceRequest` 후속. 인증 = 헤더 `X-Platform-Id`/`X-Platform-Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
606
- * @summary 계산서 분할 발급 청구 — V5 충실
607
- * @param {RequestSplitInvoiceV1RequestDto} requestSplitInvoiceV1RequestDto
608
- * @param {*} [options] Override http request option.
609
- * @throws {RequiredError}
610
- */
611
- v1RequestSplitInvoice(requestSplitInvoiceV1RequestDto, options) {
612
- return __awaiter(this, void 0, void 0, function* () {
613
- var _a, _b, _c;
614
- const localVarAxiosArgs = yield localVarAxiosParamCreator.v1RequestSplitInvoice(requestSplitInvoiceV1RequestDto, options);
615
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
616
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PartnerV1Api.v1RequestSplitInvoice']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
617
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
618
- });
619
- },
620
- /**
621
- * V5 `scsbidSend`(type=nego) 후속. 인증 = 헤더 `X-Platform-Id`/`X-Platform-Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
622
- * @summary 협상(H/K) 점수평가 — V5 충실
623
- * @param {SubmitNegotiationScoresV1RequestDto} submitNegotiationScoresV1RequestDto
624
- * @param {*} [options] Override http request option.
625
- * @throws {RequiredError}
626
- */
627
- v1SubmitNegotiationScores(submitNegotiationScoresV1RequestDto, options) {
628
- return __awaiter(this, void 0, void 0, function* () {
629
- var _a, _b, _c;
630
- const localVarAxiosArgs = yield localVarAxiosParamCreator.v1SubmitNegotiationScores(submitNegotiationScoresV1RequestDto, options);
631
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
632
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PartnerV1Api.v1SubmitNegotiationScores']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
633
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
634
- });
635
- },
636
- /**
637
- * 인증 = 헤더 `X-Platform-Id`/`X-Platform-Secret`(cate_set). base64 또는 url 중 정확히 하나를 제출한다. 응답 `fileKey` 를 `POST /v1/bids` 의 `attachments[]` 에 그대로 넣으면 공고 첨부로 연결된다. 멱등성 계층은 없다 — `Idempotency-Key` 헤더를 보내도 무시되며 재시도는 매번 새 파일을 만든다.
638
- * @summary 입찰 첨부파일 업로드(base64 또는 url) → fileKey
639
- * @param {UploadFileV1RequestDto} uploadFileV1RequestDto
640
- * @param {*} [options] Override http request option.
641
- * @throws {RequiredError}
642
- */
643
- v1UploadFile(uploadFileV1RequestDto, options) {
644
- return __awaiter(this, void 0, void 0, function* () {
645
- var _a, _b, _c;
646
- const localVarAxiosArgs = yield localVarAxiosParamCreator.v1UploadFile(uploadFileV1RequestDto, options);
647
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
648
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PartnerV1Api.v1UploadFile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
649
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
650
- });
651
- },
652
- };
653
- };
654
- /**
655
- * PartnerV1Api - factory interface
656
- */
657
- export const PartnerV1ApiFactory = function (configuration, basePath, axios) {
658
- const localVarFp = PartnerV1ApiFp(configuration);
659
- return {
660
- /**
661
- * V5 `productReceiveCheck` 후속. 저장 완료한 물품코드 목록을 전송완료(send_chk=Y)로 마킹해 재전송에서 제외한다. 마킹은 인증 그룹 스코프로 잠긴다(남의 조직 물품 마킹 불가).
662
- * @summary 물품 수신확인 — V5 충실
663
- * @param {AcknowledgeProductsV1RequestDto} acknowledgeProductsV1RequestDto
664
- * @param {*} [options] Override http request option.
665
- * @throws {RequiredError}
666
- */
667
- v1AcknowledgeProductReceipt(acknowledgeProductsV1RequestDto, options) {
668
- return localVarFp.v1AcknowledgeProductReceipt(acknowledgeProductsV1RequestDto, options).then((request) => request(axios, basePath));
669
- },
670
- /**
671
- * V5 `/acceptanceCompleteSend` 후속. 인증 = 헤더 `X-Platform-Id`/`X-Platform-Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
672
- * @summary 검수완료 전송 — V5 충실
673
- * @param {string} bidId
674
- * @param {CompleteAcceptanceV1RequestDto} completeAcceptanceV1RequestDto
675
- * @param {*} [options] Override http request option.
676
- * @throws {RequiredError}
677
- */
678
- v1CompleteAcceptance(bidId, completeAcceptanceV1RequestDto, options) {
679
- return localVarFp.v1CompleteAcceptance(bidId, completeAcceptanceV1RequestDto, options).then((request) => request(axios, basePath));
680
- },
681
- /**
682
- * V5 `/contractDocumentRec`(bid_puchase_no_list) 후속. 인증 = 헤더 `X-Platform-Id`/`X-Platform-Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
683
- * @summary 계약서류 수신 배치 조회 — V5 충실
684
- * @param {BidContractDocumentsBatchV1RequestDto} bidContractDocumentsBatchV1RequestDto
685
- * @param {*} [options] Override http request option.
686
- * @throws {RequiredError}
687
- */
688
- v1GetBidContractDocumentsBatch(bidContractDocumentsBatchV1RequestDto, options) {
689
- return localVarFp.v1GetBidContractDocumentsBatch(bidContractDocumentsBatchV1RequestDto, options).then((request) => request(axios, basePath));
690
- },
691
- /**
692
- * V5 `/entendRec`(bid_puchase_no_list) 후속. 인증 = 헤더 `X-Platform-Id`/`X-Platform-Secret`(cate_set). buyerId 는 group_code 로 자동 결정. resolveBidId 도 이 엔드포인트를 사용한다.
693
- * @summary 입찰결과 배치 조회 — V5 충실
694
- * @param {BidResultsBatchV1RequestDto} bidResultsBatchV1RequestDto
695
- * @param {*} [options] Override http request option.
696
- * @throws {RequiredError}
697
- */
698
- v1GetBidResultsBatch(bidResultsBatchV1RequestDto, options) {
699
- return localVarFp.v1GetBidResultsBatch(bidResultsBatchV1RequestDto, options).then((request) => request(axios, basePath));
700
- },
701
- /**
702
- * V5 `/getGrm` 후속. 인증 = 헤더 `X-Platform-Id`/`X-Platform-Secret`(cate_set). group_code 스코프로 가시성 적용.
703
- * @summary 거래명세서 조회 — V5 충실
704
- * @param {string} bidId
705
- * @param {*} [options] Override http request option.
706
- * @throws {RequiredError}
707
- */
708
- v1GetBidStatement(bidId, options) {
709
- return localVarFp.v1GetBidStatement(bidId, options).then((request) => request(axios, basePath));
710
- },
711
- /**
712
- * V5 `getProductList` 후속. 인증 그룹의 승인완료·공유·미전송(send_chk=N) 물품을 반환한다. 가져간 뒤 POST /v1/products/receipts 로 수신확인하면 재전송에서 제외된다(증분).
713
- * @summary 물품 카탈로그 피드 조회 — V5 충실
714
- * @param {*} [options] Override http request option.
715
- * @throws {RequiredError}
716
- */
717
- v1GetProductFeed(options) {
718
- return localVarFp.v1GetProductFeed(options).then((request) => request(axios, basePath));
719
- },
720
- /**
721
- * V5 `scsbidSend`(type=U) 후속. 인증 = 헤더 `X-Platform-Id`/`X-Platform-Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
722
- * @summary 유찰 처리 — V5 충실
723
- * @param {MarkBidFailedV1RequestDto} markBidFailedV1RequestDto
724
- * @param {*} [options] Override http request option.
725
- * @throws {RequiredError}
726
- */
727
- v1MarkBidFailed(markBidFailedV1RequestDto, options) {
728
- return localVarFp.v1MarkBidFailed(markBidFailedV1RequestDto, options).then((request) => request(axios, basePath));
729
- },
730
- /**
731
- * V5 `scsbidSend`(type=W) 후속. 인증 = 헤더 `X-Platform-Id`/`X-Platform-Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
732
- * @summary 낙찰 결과 전송 — V5 충실
733
- * @param {RegisterAwardV1RequestDto} registerAwardV1RequestDto
734
- * @param {*} [options] Override http request option.
735
- * @throws {RequiredError}
736
- */
737
- v1RegisterAward(registerAwardV1RequestDto, options) {
738
- return localVarFp.v1RegisterAward(registerAwardV1RequestDto, options).then((request) => request(axios, basePath));
739
- },
740
- /**
741
- * V5 `scsbidSend`(type=B) 후속. 인증 = 헤더 `X-Platform-Id`/`X-Platform-Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
742
- * @summary 입찰 정보 전송(등록) — V5 충실
743
- * @param {CreateBidV1RequestDto} createBidV1RequestDto
744
- * @param {*} [options] Override http request option.
745
- * @throws {RequiredError}
746
- */
747
- v1RegisterBid(createBidV1RequestDto, options) {
748
- return localVarFp.v1RegisterBid(createBidV1RequestDto, options).then((request) => request(axios, basePath));
749
- },
750
- /**
751
- * V5 `splitInvoiceRequest` 후속. 인증 = 헤더 `X-Platform-Id`/`X-Platform-Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
752
- * @summary 계산서 분할 발급 청구 — V5 충실
753
- * @param {RequestSplitInvoiceV1RequestDto} requestSplitInvoiceV1RequestDto
754
- * @param {*} [options] Override http request option.
755
- * @throws {RequiredError}
756
- */
757
- v1RequestSplitInvoice(requestSplitInvoiceV1RequestDto, options) {
758
- return localVarFp.v1RequestSplitInvoice(requestSplitInvoiceV1RequestDto, options).then((request) => request(axios, basePath));
759
- },
760
- /**
761
- * V5 `scsbidSend`(type=nego) 후속. 인증 = 헤더 `X-Platform-Id`/`X-Platform-Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
762
- * @summary 협상(H/K) 점수평가 — V5 충실
763
- * @param {SubmitNegotiationScoresV1RequestDto} submitNegotiationScoresV1RequestDto
764
- * @param {*} [options] Override http request option.
765
- * @throws {RequiredError}
766
- */
767
- v1SubmitNegotiationScores(submitNegotiationScoresV1RequestDto, options) {
768
- return localVarFp.v1SubmitNegotiationScores(submitNegotiationScoresV1RequestDto, options).then((request) => request(axios, basePath));
769
- },
770
- /**
771
- * 인증 = 헤더 `X-Platform-Id`/`X-Platform-Secret`(cate_set). base64 또는 url 중 정확히 하나를 제출한다. 응답 `fileKey` 를 `POST /v1/bids` 의 `attachments[]` 에 그대로 넣으면 공고 첨부로 연결된다. 멱등성 계층은 없다 — `Idempotency-Key` 헤더를 보내도 무시되며 재시도는 매번 새 파일을 만든다.
772
- * @summary 입찰 첨부파일 업로드(base64 또는 url) → fileKey
773
- * @param {UploadFileV1RequestDto} uploadFileV1RequestDto
774
- * @param {*} [options] Override http request option.
775
- * @throws {RequiredError}
776
- */
777
- v1UploadFile(uploadFileV1RequestDto, options) {
778
- return localVarFp.v1UploadFile(uploadFileV1RequestDto, options).then((request) => request(axios, basePath));
779
- },
780
- };
781
- };
782
- /**
783
- * PartnerV1Api - object-oriented interface
784
- */
785
- export class PartnerV1Api extends BaseAPI {
786
- /**
787
- * V5 `productReceiveCheck` 후속. 저장 완료한 물품코드 목록을 전송완료(send_chk=Y)로 마킹해 재전송에서 제외한다. 마킹은 인증 그룹 스코프로 잠긴다(남의 조직 물품 마킹 불가).
788
- * @summary 물품 수신확인 — V5 충실
789
- * @param {AcknowledgeProductsV1RequestDto} acknowledgeProductsV1RequestDto
790
- * @param {*} [options] Override http request option.
791
- * @throws {RequiredError}
792
- */
793
- v1AcknowledgeProductReceipt(acknowledgeProductsV1RequestDto, options) {
794
- return PartnerV1ApiFp(this.configuration).v1AcknowledgeProductReceipt(acknowledgeProductsV1RequestDto, options).then((request) => request(this.axios, this.basePath));
795
- }
796
- /**
797
- * V5 `/acceptanceCompleteSend` 후속. 인증 = 헤더 `X-Platform-Id`/`X-Platform-Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
798
- * @summary 검수완료 전송 — V5 충실
799
- * @param {string} bidId
800
- * @param {CompleteAcceptanceV1RequestDto} completeAcceptanceV1RequestDto
801
- * @param {*} [options] Override http request option.
802
- * @throws {RequiredError}
803
- */
804
- v1CompleteAcceptance(bidId, completeAcceptanceV1RequestDto, options) {
805
- return PartnerV1ApiFp(this.configuration).v1CompleteAcceptance(bidId, completeAcceptanceV1RequestDto, options).then((request) => request(this.axios, this.basePath));
806
- }
807
- /**
808
- * V5 `/contractDocumentRec`(bid_puchase_no_list) 후속. 인증 = 헤더 `X-Platform-Id`/`X-Platform-Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
809
- * @summary 계약서류 수신 배치 조회 — V5 충실
810
- * @param {BidContractDocumentsBatchV1RequestDto} bidContractDocumentsBatchV1RequestDto
811
- * @param {*} [options] Override http request option.
812
- * @throws {RequiredError}
813
- */
814
- v1GetBidContractDocumentsBatch(bidContractDocumentsBatchV1RequestDto, options) {
815
- return PartnerV1ApiFp(this.configuration).v1GetBidContractDocumentsBatch(bidContractDocumentsBatchV1RequestDto, options).then((request) => request(this.axios, this.basePath));
816
- }
817
- /**
818
- * V5 `/entendRec`(bid_puchase_no_list) 후속. 인증 = 헤더 `X-Platform-Id`/`X-Platform-Secret`(cate_set). buyerId 는 group_code 로 자동 결정. resolveBidId 도 이 엔드포인트를 사용한다.
819
- * @summary 입찰결과 배치 조회 — V5 충실
820
- * @param {BidResultsBatchV1RequestDto} bidResultsBatchV1RequestDto
821
- * @param {*} [options] Override http request option.
822
- * @throws {RequiredError}
823
- */
824
- v1GetBidResultsBatch(bidResultsBatchV1RequestDto, options) {
825
- return PartnerV1ApiFp(this.configuration).v1GetBidResultsBatch(bidResultsBatchV1RequestDto, options).then((request) => request(this.axios, this.basePath));
826
- }
827
- /**
828
- * V5 `/getGrm` 후속. 인증 = 헤더 `X-Platform-Id`/`X-Platform-Secret`(cate_set). group_code 스코프로 가시성 적용.
829
- * @summary 거래명세서 조회 — V5 충실
830
- * @param {string} bidId
831
- * @param {*} [options] Override http request option.
832
- * @throws {RequiredError}
833
- */
834
- v1GetBidStatement(bidId, options) {
835
- return PartnerV1ApiFp(this.configuration).v1GetBidStatement(bidId, options).then((request) => request(this.axios, this.basePath));
836
- }
837
- /**
838
- * V5 `getProductList` 후속. 인증 그룹의 승인완료·공유·미전송(send_chk=N) 물품을 반환한다. 가져간 뒤 POST /v1/products/receipts 로 수신확인하면 재전송에서 제외된다(증분).
839
- * @summary 물품 카탈로그 피드 조회 — V5 충실
840
- * @param {*} [options] Override http request option.
841
- * @throws {RequiredError}
842
- */
843
- v1GetProductFeed(options) {
844
- return PartnerV1ApiFp(this.configuration).v1GetProductFeed(options).then((request) => request(this.axios, this.basePath));
845
- }
846
- /**
847
- * V5 `scsbidSend`(type=U) 후속. 인증 = 헤더 `X-Platform-Id`/`X-Platform-Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
848
- * @summary 유찰 처리 — V5 충실
849
- * @param {MarkBidFailedV1RequestDto} markBidFailedV1RequestDto
850
- * @param {*} [options] Override http request option.
851
- * @throws {RequiredError}
852
- */
853
- v1MarkBidFailed(markBidFailedV1RequestDto, options) {
854
- return PartnerV1ApiFp(this.configuration).v1MarkBidFailed(markBidFailedV1RequestDto, options).then((request) => request(this.axios, this.basePath));
855
- }
856
- /**
857
- * V5 `scsbidSend`(type=W) 후속. 인증 = 헤더 `X-Platform-Id`/`X-Platform-Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
858
- * @summary 낙찰 결과 전송 — V5 충실
859
- * @param {RegisterAwardV1RequestDto} registerAwardV1RequestDto
860
- * @param {*} [options] Override http request option.
861
- * @throws {RequiredError}
862
- */
863
- v1RegisterAward(registerAwardV1RequestDto, options) {
864
- return PartnerV1ApiFp(this.configuration).v1RegisterAward(registerAwardV1RequestDto, options).then((request) => request(this.axios, this.basePath));
865
- }
866
- /**
867
- * V5 `scsbidSend`(type=B) 후속. 인증 = 헤더 `X-Platform-Id`/`X-Platform-Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
868
- * @summary 입찰 정보 전송(등록) — V5 충실
869
- * @param {CreateBidV1RequestDto} createBidV1RequestDto
870
- * @param {*} [options] Override http request option.
871
- * @throws {RequiredError}
872
- */
873
- v1RegisterBid(createBidV1RequestDto, options) {
874
- return PartnerV1ApiFp(this.configuration).v1RegisterBid(createBidV1RequestDto, options).then((request) => request(this.axios, this.basePath));
875
- }
876
- /**
877
- * V5 `splitInvoiceRequest` 후속. 인증 = 헤더 `X-Platform-Id`/`X-Platform-Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
878
- * @summary 계산서 분할 발급 청구 — V5 충실
879
- * @param {RequestSplitInvoiceV1RequestDto} requestSplitInvoiceV1RequestDto
880
- * @param {*} [options] Override http request option.
881
- * @throws {RequiredError}
882
- */
883
- v1RequestSplitInvoice(requestSplitInvoiceV1RequestDto, options) {
884
- return PartnerV1ApiFp(this.configuration).v1RequestSplitInvoice(requestSplitInvoiceV1RequestDto, options).then((request) => request(this.axios, this.basePath));
885
- }
886
- /**
887
- * V5 `scsbidSend`(type=nego) 후속. 인증 = 헤더 `X-Platform-Id`/`X-Platform-Secret`(cate_set). buyerId 는 group_code 로 자동 결정.
888
- * @summary 협상(H/K) 점수평가 — V5 충실
889
- * @param {SubmitNegotiationScoresV1RequestDto} submitNegotiationScoresV1RequestDto
890
- * @param {*} [options] Override http request option.
891
- * @throws {RequiredError}
892
- */
893
- v1SubmitNegotiationScores(submitNegotiationScoresV1RequestDto, options) {
894
- return PartnerV1ApiFp(this.configuration).v1SubmitNegotiationScores(submitNegotiationScoresV1RequestDto, options).then((request) => request(this.axios, this.basePath));
895
- }
896
- /**
897
- * 인증 = 헤더 `X-Platform-Id`/`X-Platform-Secret`(cate_set). base64 또는 url 중 정확히 하나를 제출한다. 응답 `fileKey` 를 `POST /v1/bids` 의 `attachments[]` 에 그대로 넣으면 공고 첨부로 연결된다. 멱등성 계층은 없다 — `Idempotency-Key` 헤더를 보내도 무시되며 재시도는 매번 새 파일을 만든다.
898
- * @summary 입찰 첨부파일 업로드(base64 또는 url) → fileKey
899
- * @param {UploadFileV1RequestDto} uploadFileV1RequestDto
900
- * @param {*} [options] Override http request option.
901
- * @throws {RequiredError}
902
- */
903
- v1UploadFile(uploadFileV1RequestDto, options) {
904
- return PartnerV1ApiFp(this.configuration).v1UploadFile(uploadFileV1RequestDto, options).then((request) => request(this.axios, this.basePath));
905
- }
906
- }