@cobo/agentic-wallet 0.1.5 → 0.1.7

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 (602) hide show
  1. package/README.md +183 -114
  2. package/dist/api/audit-api.d.ts +1 -1
  3. package/dist/api/audit-api.js +1 -1
  4. package/dist/api/balance-api.d.ts +1 -1
  5. package/dist/api/balance-api.js +1 -1
  6. package/dist/api/coin-price-api.d.ts +1 -1
  7. package/dist/api/coin-price-api.js +1 -1
  8. package/dist/api/faucet-api.d.ts +1 -1
  9. package/dist/api/faucet-api.js +1 -1
  10. package/dist/api/health-api.d.ts +1 -1
  11. package/dist/api/health-api.js +1 -1
  12. package/dist/api/identity-api.d.ts +1 -1
  13. package/dist/api/identity-api.js +1 -1
  14. package/dist/api/meta-api.d.ts +1 -1
  15. package/dist/api/meta-api.js +1 -1
  16. package/dist/api/metadata-api.d.ts +1 -1
  17. package/dist/api/metadata-api.js +1 -1
  18. package/dist/api/pacts-api.d.ts +1 -1
  19. package/dist/api/pacts-api.js +1 -1
  20. package/dist/api/pending-operations-api.d.ts +1 -1
  21. package/dist/api/pending-operations-api.js +1 -1
  22. package/dist/api/recipes-api.d.ts +1 -119
  23. package/dist/api/recipes-api.d.ts.map +1 -1
  24. package/dist/api/recipes-api.js +1 -478
  25. package/dist/api/recipes-api.js.map +1 -1
  26. package/dist/api/suggestions-api.d.ts +1 -1
  27. package/dist/api/suggestions-api.js +1 -1
  28. package/dist/api/telemetry-api.d.ts +1 -1
  29. package/dist/api/telemetry-api.js +1 -1
  30. package/dist/api/transaction-records-api.d.ts +1 -1
  31. package/dist/api/transaction-records-api.js +1 -1
  32. package/dist/api/transactions-api.d.ts +6 -4
  33. package/dist/api/transactions-api.d.ts.map +1 -1
  34. package/dist/api/transactions-api.js +12 -4
  35. package/dist/api/transactions-api.js.map +1 -1
  36. package/dist/api/wallets-api.d.ts +9 -8
  37. package/dist/api/wallets-api.d.ts.map +1 -1
  38. package/dist/api/wallets-api.js +12 -8
  39. package/dist/api/wallets-api.js.map +1 -1
  40. package/dist/api.d.ts +1 -1
  41. package/dist/api.js +1 -1
  42. package/dist/base.d.ts +1 -1
  43. package/dist/base.js +1 -1
  44. package/dist/common.d.ts +1 -1
  45. package/dist/common.js +1 -1
  46. package/dist/configuration.d.ts +1 -1
  47. package/dist/configuration.js +1 -1
  48. package/dist/index.d.ts +1 -1
  49. package/dist/index.js +1 -1
  50. package/dist/models/agent-status-response.d.ts +2 -2
  51. package/dist/models/agent-status-response.js +1 -1
  52. package/dist/models/api-key-create-result-public.d.ts +1 -1
  53. package/dist/models/api-key-create-result-public.js +1 -1
  54. package/dist/models/api-key-create.d.ts +1 -1
  55. package/dist/models/api-key-create.js +1 -1
  56. package/dist/models/api-key-public-read.d.ts +7 -7
  57. package/dist/models/api-key-public-read.d.ts.map +1 -1
  58. package/dist/models/api-key-public-read.js +1 -1
  59. package/dist/models/audit-action.d.ts +1 -1
  60. package/dist/models/audit-action.js +1 -1
  61. package/dist/models/audit-log-page.d.ts +1 -1
  62. package/dist/models/audit-log-page.js +1 -1
  63. package/dist/models/audit-log-read.d.ts +11 -11
  64. package/dist/models/audit-log-read.d.ts.map +1 -1
  65. package/dist/models/audit-log-read.js +1 -1
  66. package/dist/models/audit-result.d.ts +1 -1
  67. package/dist/models/audit-result.js +1 -1
  68. package/dist/models/balance-read.d.ts +1 -1
  69. package/dist/models/balance-read.js +1 -1
  70. package/dist/models/chain-info.d.ts +1 -1
  71. package/dist/models/chain-info.js +1 -1
  72. package/dist/models/chain-metadata.d.ts +1 -1
  73. package/dist/models/chain-metadata.js +1 -1
  74. package/dist/models/completion-condition-type.d.ts +1 -1
  75. package/dist/models/completion-condition-type.js +1 -1
  76. package/dist/models/completion-condition.d.ts +1 -1
  77. package/dist/models/completion-condition.js +1 -1
  78. package/dist/models/contract-call-create.d.ts +1 -1
  79. package/dist/models/contract-call-create.js +1 -1
  80. package/dist/models/contract-call-submit-result.d.ts +1 -1
  81. package/dist/models/contract-call-submit-result.js +1 -1
  82. package/dist/models/delegation-spend-summary.d.ts +1 -1
  83. package/dist/models/delegation-spend-summary.js +1 -1
  84. package/dist/models/delegation-usage-limit-summary.d.ts +1 -1
  85. package/dist/models/delegation-usage-limit-summary.js +1 -1
  86. package/dist/models/drop-transaction-request.d.ts +1 -1
  87. package/dist/models/drop-transaction-request.js +1 -1
  88. package/dist/models/eip1559-fee-request.d.ts +3 -3
  89. package/dist/models/eip1559-fee-request.d.ts.map +1 -1
  90. package/dist/models/eip1559-fee-request.js +1 -1
  91. package/dist/models/estimate-contract-call-fee-request.d.ts +1 -1
  92. package/dist/models/estimate-contract-call-fee-request.js +1 -1
  93. package/dist/models/estimate-transfer-fee-read.d.ts +1 -1
  94. package/dist/models/estimate-transfer-fee-read.js +1 -1
  95. package/dist/models/estimate-transfer-fee-request.d.ts +1 -1
  96. package/dist/models/estimate-transfer-fee-request.js +1 -1
  97. package/dist/models/eth-call-request.d.ts +1 -1
  98. package/dist/models/eth-call-request.js +1 -1
  99. package/dist/models/eth-call-result.d.ts +1 -1
  100. package/dist/models/eth-call-result.js +1 -1
  101. package/dist/models/evmlegacy-fee-request.d.ts +1 -1
  102. package/dist/models/evmlegacy-fee-request.js +1 -1
  103. package/dist/models/external-transaction-operation-type.d.ts +1 -1
  104. package/dist/models/external-transaction-operation-type.js +1 -1
  105. package/dist/models/external-transaction-read.d.ts +1 -1
  106. package/dist/models/external-transaction-read.js +1 -1
  107. package/dist/models/external-transaction-stage.d.ts +1 -1
  108. package/dist/models/external-transaction-stage.js +1 -1
  109. package/dist/models/faucet-deposit-request.d.ts +1 -1
  110. package/dist/models/faucet-deposit-request.js +1 -1
  111. package/dist/models/faucet-deposit-result.d.ts +1 -1
  112. package/dist/models/faucet-deposit-result.js +1 -1
  113. package/dist/models/faucet-token-info.d.ts +1 -1
  114. package/dist/models/faucet-token-info.js +1 -1
  115. package/dist/models/faucet-token-item.d.ts +1 -1
  116. package/dist/models/faucet-token-item.js +1 -1
  117. package/dist/models/fee-estimate-read.d.ts +1 -1
  118. package/dist/models/fee-estimate-read.js +1 -1
  119. package/dist/models/fee-request.d.ts +1 -1
  120. package/dist/models/fee-request.js +1 -1
  121. package/dist/models/index.d.ts +3 -30
  122. package/dist/models/index.d.ts.map +1 -1
  123. package/dist/models/index.js +3 -30
  124. package/dist/models/index.js.map +1 -1
  125. package/dist/models/inline-policy-create.d.ts +1 -1
  126. package/dist/models/inline-policy-create.js +1 -1
  127. package/dist/models/key-share-holder-group-status.d.ts +1 -1
  128. package/dist/models/key-share-holder-group-status.js +1 -1
  129. package/dist/models/key-share-holder-group-type.d.ts +1 -1
  130. package/dist/models/key-share-holder-group-type.js +1 -1
  131. package/dist/models/key-share-holder-type.d.ts +1 -1
  132. package/dist/models/key-share-holder-type.js +1 -1
  133. package/dist/models/knowledge-search-type.d.ts +1 -1
  134. package/dist/models/knowledge-search-type.js +1 -1
  135. package/dist/models/langfuse-record.d.ts +1 -1
  136. package/dist/models/langfuse-record.js +1 -1
  137. package/dist/models/message-sign-create.d.ts +1 -1
  138. package/dist/models/message-sign-create.js +1 -1
  139. package/dist/models/message-sign-dest-type.d.ts +1 -1
  140. package/dist/models/message-sign-dest-type.js +1 -1
  141. package/dist/models/message-sign-result.d.ts +1 -1
  142. package/dist/models/message-sign-result.js +1 -1
  143. package/dist/models/model-error.d.ts +1 -1
  144. package/dist/models/model-error.js +1 -1
  145. package/dist/models/mpp-challenge.d.ts +1 -1
  146. package/dist/models/mpp-challenge.js +1 -1
  147. package/dist/models/mpp-session-action.d.ts +1 -1
  148. package/dist/models/mpp-session-action.js +1 -1
  149. package/dist/models/mpp-session-info.d.ts +1 -1
  150. package/dist/models/mpp-session-info.js +1 -1
  151. package/dist/models/mpp-session-params.d.ts +1 -1
  152. package/dist/models/mpp-session-params.js +1 -1
  153. package/dist/models/node-status-read.d.ts +1 -1
  154. package/dist/models/node-status-read.js +1 -1
  155. package/dist/models/pact-event-list-response.d.ts +1 -1
  156. package/dist/models/pact-event-list-response.js +1 -1
  157. package/dist/models/pact-event-read.d.ts +1 -1
  158. package/dist/models/pact-event-read.js +1 -1
  159. package/dist/models/pact-event-type.d.ts +1 -1
  160. package/dist/models/pact-event-type.js +1 -1
  161. package/dist/models/pact-list-response.d.ts +1 -1
  162. package/dist/models/pact-list-response.js +1 -1
  163. package/dist/models/pact-public-read.d.ts +14 -1
  164. package/dist/models/pact-public-read.d.ts.map +1 -1
  165. package/dist/models/pact-public-read.js +1 -1
  166. package/dist/models/pact-remaining.d.ts +35 -0
  167. package/dist/models/pact-remaining.d.ts.map +1 -0
  168. package/dist/models/{policy-create.js → pact-remaining.js} +2 -2
  169. package/dist/models/pact-remaining.js.map +1 -0
  170. package/dist/models/pact-spec-input.d.ts +1 -1
  171. package/dist/models/pact-spec-input.js +1 -1
  172. package/dist/models/pact-spec-output.d.ts +1 -1
  173. package/dist/models/pact-spec-output.js +1 -1
  174. package/dist/models/pact-stats-language.d.ts +1 -1
  175. package/dist/models/pact-stats-language.js +1 -1
  176. package/dist/models/pact-status.d.ts +1 -1
  177. package/dist/models/pact-status.js +1 -1
  178. package/dist/models/pact-submit-request.d.ts +7 -1
  179. package/dist/models/pact-submit-request.d.ts.map +1 -1
  180. package/dist/models/pact-submit-request.js +1 -1
  181. package/dist/models/pact-submit-response.d.ts +1 -1
  182. package/dist/models/pact-submit-response.js +1 -1
  183. package/dist/models/pact-summary.d.ts +16 -3
  184. package/dist/models/pact-summary.d.ts.map +1 -1
  185. package/dist/models/pact-summary.js +1 -1
  186. package/dist/models/pact-update-completion-conditions-request.d.ts +1 -1
  187. package/dist/models/pact-update-completion-conditions-request.js +1 -1
  188. package/dist/models/pact-update-policies-request.d.ts +1 -1
  189. package/dist/models/pact-update-policies-request.js +1 -1
  190. package/dist/models/pagination-meta.d.ts +1 -1
  191. package/dist/models/pagination-meta.js +1 -1
  192. package/dist/models/pair-token-status.d.ts +2 -1
  193. package/dist/models/pair-token-status.d.ts.map +1 -1
  194. package/dist/models/pair-token-status.js +2 -1
  195. package/dist/models/pair-token-status.js.map +1 -1
  196. package/dist/models/payment-create.d.ts +1 -1
  197. package/dist/models/payment-create.js +1 -1
  198. package/dist/models/payment-protocol.d.ts +1 -1
  199. package/dist/models/payment-protocol.js +1 -1
  200. package/dist/models/payment-result.d.ts +1 -1
  201. package/dist/models/payment-result.js +1 -1
  202. package/dist/models/pending-operation-action-result.d.ts +1 -1
  203. package/dist/models/pending-operation-action-result.js +1 -1
  204. package/dist/models/pending-operation-list-response.d.ts +1 -1
  205. package/dist/models/pending-operation-list-response.js +1 -1
  206. package/dist/models/pending-operation-read.d.ts +19 -19
  207. package/dist/models/pending-operation-read.d.ts.map +1 -1
  208. package/dist/models/pending-operation-read.js +1 -1
  209. package/dist/models/pending-operation-status.d.ts +1 -1
  210. package/dist/models/pending-operation-status.js +1 -1
  211. package/dist/models/pending-operation-type.d.ts +1 -1
  212. package/dist/models/pending-operation-type.js +1 -1
  213. package/dist/models/policy-type.d.ts +1 -1
  214. package/dist/models/policy-type.js +1 -1
  215. package/dist/models/principal-create-result.d.ts +2 -2
  216. package/dist/models/principal-create-result.js +1 -1
  217. package/dist/models/principal-create.d.ts +1 -1
  218. package/dist/models/principal-create.js +1 -1
  219. package/dist/models/principal-read.d.ts +2 -2
  220. package/dist/models/principal-read.js +1 -1
  221. package/dist/models/principal-type.d.ts +1 -1
  222. package/dist/models/principal-type.js +1 -1
  223. package/dist/models/principal-update.d.ts +1 -1
  224. package/dist/models/principal-update.js +1 -1
  225. package/dist/models/provision-request.d.ts +1 -1
  226. package/dist/models/provision-request.js +1 -1
  227. package/dist/models/provision-response.d.ts +2 -2
  228. package/dist/models/provision-response.js +1 -1
  229. package/dist/models/recent-address-read.d.ts +1 -1
  230. package/dist/models/recent-address-read.js +1 -1
  231. package/dist/models/recent-tx-summary.d.ts +47 -0
  232. package/dist/models/recent-tx-summary.d.ts.map +1 -0
  233. package/dist/models/{policy-read.js → recent-tx-summary.js} +2 -2
  234. package/dist/models/recent-tx-summary.js.map +1 -0
  235. package/dist/models/recipe-search-response.d.ts +1 -1
  236. package/dist/models/recipe-search-response.js +1 -1
  237. package/dist/models/recipe-search-source.d.ts +1 -1
  238. package/dist/models/recipe-search-source.js +1 -1
  239. package/dist/models/reject-pending-operation-request.d.ts +1 -1
  240. package/dist/models/reject-pending-operation-request.js +1 -1
  241. package/dist/models/search-recipes-request.d.ts +9 -3
  242. package/dist/models/search-recipes-request.d.ts.map +1 -1
  243. package/dist/models/search-recipes-request.js +1 -1
  244. package/dist/models/session-record.d.ts +1 -1
  245. package/dist/models/session-record.js +1 -1
  246. package/dist/models/session-span.d.ts +1 -1
  247. package/dist/models/session-span.js +1 -1
  248. package/dist/models/sol-address-lookup-table-account.d.ts +1 -1
  249. package/dist/models/sol-address-lookup-table-account.js +1 -1
  250. package/dist/models/sol-instruction-account.d.ts +1 -1
  251. package/dist/models/sol-instruction-account.js +1 -1
  252. package/dist/models/sol-instruction.d.ts +1 -1
  253. package/dist/models/sol-instruction.js +1 -1
  254. package/dist/models/solfee-request.d.ts +1 -1
  255. package/dist/models/solfee-request.js +1 -1
  256. package/dist/models/speedup-transaction-request.d.ts +1 -1
  257. package/dist/models/speedup-transaction-request.js +1 -1
  258. package/dist/models/standard-response-agent-status-response.d.ts +1 -1
  259. package/dist/models/standard-response-agent-status-response.js +1 -1
  260. package/dist/models/standard-response-api-key-create-result-public.d.ts +1 -1
  261. package/dist/models/standard-response-api-key-create-result-public.js +1 -1
  262. package/dist/models/standard-response-audit-log-page.d.ts +1 -1
  263. package/dist/models/standard-response-audit-log-page.js +1 -1
  264. package/dist/models/standard-response-chain-info.d.ts +1 -1
  265. package/dist/models/standard-response-chain-info.js +1 -1
  266. package/dist/models/standard-response-contract-call-submit-result.d.ts +1 -1
  267. package/dist/models/standard-response-contract-call-submit-result.js +1 -1
  268. package/dist/models/standard-response-dict-str-bool.d.ts +1 -1
  269. package/dist/models/standard-response-dict-str-bool.js +1 -1
  270. package/dist/models/standard-response-dict-str-str.d.ts +1 -1
  271. package/dist/models/standard-response-dict-str-str.js +1 -1
  272. package/dist/models/standard-response-estimate-transfer-fee-read.d.ts +1 -1
  273. package/dist/models/standard-response-estimate-transfer-fee-read.js +1 -1
  274. package/dist/models/standard-response-eth-call-result.d.ts +1 -1
  275. package/dist/models/standard-response-eth-call-result.js +1 -1
  276. package/dist/models/standard-response-faucet-deposit-result.d.ts +1 -1
  277. package/dist/models/standard-response-faucet-deposit-result.js +1 -1
  278. package/dist/models/standard-response-list-api-key-public-read.d.ts +1 -1
  279. package/dist/models/standard-response-list-api-key-public-read.js +1 -1
  280. package/dist/models/standard-response-list-balance-read.d.ts +1 -1
  281. package/dist/models/standard-response-list-balance-read.js +1 -1
  282. package/dist/models/standard-response-list-faucet-token-item.d.ts +1 -1
  283. package/dist/models/standard-response-list-faucet-token-item.js +1 -1
  284. package/dist/models/standard-response-list-principal-read.d.ts +1 -1
  285. package/dist/models/standard-response-list-principal-read.js +1 -1
  286. package/dist/models/standard-response-list-recent-address-read.d.ts +1 -1
  287. package/dist/models/standard-response-list-recent-address-read.js +1 -1
  288. package/dist/models/standard-response-list-token-candidate.d.ts +1 -1
  289. package/dist/models/standard-response-list-token-candidate.js +1 -1
  290. package/dist/models/standard-response-list-user-transaction-read.d.ts +1 -1
  291. package/dist/models/standard-response-list-user-transaction-read.js +1 -1
  292. package/dist/models/standard-response-list-wallet-address-read.d.ts +1 -1
  293. package/dist/models/standard-response-list-wallet-address-read.js +1 -1
  294. package/dist/models/standard-response-list-wallet-read.d.ts +1 -1
  295. package/dist/models/standard-response-list-wallet-read.js +1 -1
  296. package/dist/models/standard-response-message-sign-result.d.ts +1 -1
  297. package/dist/models/standard-response-message-sign-result.js +1 -1
  298. package/dist/models/standard-response-node-status-read.d.ts +1 -1
  299. package/dist/models/standard-response-node-status-read.js +1 -1
  300. package/dist/models/standard-response-pact-event-list-response.d.ts +1 -1
  301. package/dist/models/standard-response-pact-event-list-response.js +1 -1
  302. package/dist/models/standard-response-pact-list-response.d.ts +1 -1
  303. package/dist/models/standard-response-pact-list-response.js +1 -1
  304. package/dist/models/standard-response-pact-public-read.d.ts +1 -1
  305. package/dist/models/standard-response-pact-public-read.js +1 -1
  306. package/dist/models/standard-response-pact-submit-response.d.ts +1 -1
  307. package/dist/models/standard-response-pact-submit-response.js +1 -1
  308. package/dist/models/standard-response-payment-result.d.ts +1 -1
  309. package/dist/models/standard-response-payment-result.js +1 -1
  310. package/dist/models/standard-response-pending-operation-action-result.d.ts +1 -1
  311. package/dist/models/standard-response-pending-operation-action-result.js +1 -1
  312. package/dist/models/standard-response-pending-operation-list-response.d.ts +1 -1
  313. package/dist/models/standard-response-pending-operation-list-response.js +1 -1
  314. package/dist/models/standard-response-pending-operation-read.d.ts +1 -1
  315. package/dist/models/standard-response-pending-operation-read.js +1 -1
  316. package/dist/models/standard-response-principal-create-result.d.ts +1 -1
  317. package/dist/models/standard-response-principal-create-result.js +1 -1
  318. package/dist/models/standard-response-principal-read.d.ts +1 -1
  319. package/dist/models/standard-response-principal-read.js +1 -1
  320. package/dist/models/standard-response-provision-response.d.ts +1 -1
  321. package/dist/models/standard-response-provision-response.js +1 -1
  322. package/dist/models/standard-response-recipe-search-response.d.ts +1 -1
  323. package/dist/models/standard-response-recipe-search-response.js +1 -1
  324. package/dist/models/standard-response-suggestion-response.d.ts +1 -1
  325. package/dist/models/standard-response-suggestion-response.js +1 -1
  326. package/dist/models/standard-response-telemetry-config-response.d.ts +1 -1
  327. package/dist/models/standard-response-telemetry-config-response.js +1 -1
  328. package/dist/models/standard-response-transaction-rbf-result.d.ts +1 -1
  329. package/dist/models/standard-response-transaction-rbf-result.js +1 -1
  330. package/dist/models/standard-response-transfer-submit-result.d.ts +1 -1
  331. package/dist/models/standard-response-transfer-submit-result.js +1 -1
  332. package/dist/models/standard-response-user-transaction-read.d.ts +1 -1
  333. package/dist/models/standard-response-user-transaction-read.js +1 -1
  334. package/dist/models/standard-response-waas-paginated-response-chain-metadata.d.ts +1 -1
  335. package/dist/models/standard-response-waas-paginated-response-chain-metadata.js +1 -1
  336. package/dist/models/standard-response-waas-paginated-response-token-metadata.d.ts +1 -1
  337. package/dist/models/standard-response-waas-paginated-response-token-metadata.js +1 -1
  338. package/dist/models/standard-response-wallet-address-read.d.ts +1 -1
  339. package/dist/models/standard-response-wallet-address-read.js +1 -1
  340. package/dist/models/standard-response-wallet-detail-read.d.ts +1 -1
  341. package/dist/models/standard-response-wallet-detail-read.js +1 -1
  342. package/dist/models/standard-response-wallet-pact-history-read.d.ts +1 -1
  343. package/dist/models/standard-response-wallet-pact-history-read.js +1 -1
  344. package/dist/models/standard-response-wallet-pact-stats-read.d.ts +1 -1
  345. package/dist/models/standard-response-wallet-pact-stats-read.js +1 -1
  346. package/dist/models/standard-response-wallet-pair-info-read.d.ts +1 -1
  347. package/dist/models/standard-response-wallet-pair-info-read.js +1 -1
  348. package/dist/models/standard-response-wallet-pair-initiate-read.d.ts +1 -1
  349. package/dist/models/standard-response-wallet-pair-initiate-read.js +1 -1
  350. package/dist/models/standard-response-wallet-pair-read.d.ts +1 -1
  351. package/dist/models/standard-response-wallet-pair-read.js +1 -1
  352. package/dist/models/standard-response-wallet-read.d.ts +1 -1
  353. package/dist/models/standard-response-wallet-read.js +1 -1
  354. package/dist/models/standard-response-wallet-reshare-response.d.ts +1 -1
  355. package/dist/models/standard-response-wallet-reshare-response.js +1 -1
  356. package/dist/models/standard-response-wallet-tss-callback-response.d.ts +1 -1
  357. package/dist/models/standard-response-wallet-tss-callback-response.js +1 -1
  358. package/dist/models/standard-response-webhook-process-result.d.ts +1 -1
  359. package/dist/models/standard-response-webhook-process-result.js +1 -1
  360. package/dist/models/suggestion-key.d.ts +23 -9
  361. package/dist/models/suggestion-key.d.ts.map +1 -1
  362. package/dist/models/suggestion-key.js +23 -9
  363. package/dist/models/suggestion-key.js.map +1 -1
  364. package/dist/models/suggestion-response.d.ts +1 -1
  365. package/dist/models/suggestion-response.js +1 -1
  366. package/dist/models/telemetry-config-response.d.ts +1 -1
  367. package/dist/models/telemetry-config-response.js +1 -1
  368. package/dist/models/token-candidate.d.ts +1 -1
  369. package/dist/models/token-candidate.js +1 -1
  370. package/dist/models/token-metadata.d.ts +1 -1
  371. package/dist/models/token-metadata.js +1 -1
  372. package/dist/models/transaction-provider.d.ts +2 -1
  373. package/dist/models/transaction-provider.d.ts.map +1 -1
  374. package/dist/models/transaction-provider.js +2 -1
  375. package/dist/models/transaction-provider.js.map +1 -1
  376. package/dist/models/transaction-rbf-result.d.ts +1 -1
  377. package/dist/models/transaction-rbf-result.js +1 -1
  378. package/dist/models/transfer-create.d.ts +1 -1
  379. package/dist/models/transfer-create.js +1 -1
  380. package/dist/models/transfer-submit-result.d.ts +1 -1
  381. package/dist/models/transfer-submit-result.js +1 -1
  382. package/dist/models/ucw-share-public-data-callback.d.ts +1 -1
  383. package/dist/models/ucw-share-public-data-callback.js +1 -1
  384. package/dist/models/ucw-tss-key-share-group-callback.d.ts +1 -1
  385. package/dist/models/ucw-tss-key-share-group-callback.js +1 -1
  386. package/dist/models/user-transaction-data.d.ts +7 -1
  387. package/dist/models/user-transaction-data.d.ts.map +1 -1
  388. package/dist/models/user-transaction-data.js +1 -1
  389. package/dist/models/user-transaction-operation-type.d.ts +1 -1
  390. package/dist/models/user-transaction-operation-type.js +1 -1
  391. package/dist/models/user-transaction-read.d.ts +17 -3
  392. package/dist/models/user-transaction-read.d.ts.map +1 -1
  393. package/dist/models/user-transaction-read.js +1 -1
  394. package/dist/models/user-transaction-request-type.d.ts +1 -1
  395. package/dist/models/user-transaction-request-type.js +1 -1
  396. package/dist/models/validation-error-loc-inner.d.ts +1 -1
  397. package/dist/models/validation-error-loc-inner.js +1 -1
  398. package/dist/models/validation-error.d.ts +1 -1
  399. package/dist/models/validation-error.js +1 -1
  400. package/dist/models/vault-group-type.d.ts +1 -1
  401. package/dist/models/vault-group-type.js +1 -1
  402. package/dist/models/waas-paginated-response-chain-metadata.d.ts +1 -1
  403. package/dist/models/waas-paginated-response-chain-metadata.js +1 -1
  404. package/dist/models/waas-paginated-response-token-metadata.d.ts +1 -1
  405. package/dist/models/waas-paginated-response-token-metadata.js +1 -1
  406. package/dist/models/waas-pagination.d.ts +1 -1
  407. package/dist/models/waas-pagination.js +1 -1
  408. package/dist/models/wallet-address-create.d.ts +1 -1
  409. package/dist/models/wallet-address-create.js +1 -1
  410. package/dist/models/wallet-address-read.d.ts +1 -1
  411. package/dist/models/wallet-address-read.js +1 -1
  412. package/dist/models/wallet-create.d.ts +1 -1
  413. package/dist/models/wallet-create.js +1 -1
  414. package/dist/models/wallet-detail-read.d.ts +3 -3
  415. package/dist/models/wallet-detail-read.d.ts.map +1 -1
  416. package/dist/models/wallet-detail-read.js +1 -1
  417. package/dist/models/wallet-group-node-read.d.ts +1 -1
  418. package/dist/models/wallet-group-node-read.js +1 -1
  419. package/dist/models/wallet-group-read.d.ts +1 -1
  420. package/dist/models/wallet-group-read.js +1 -1
  421. package/dist/models/wallet-pact-currency.d.ts +1 -1
  422. package/dist/models/wallet-pact-currency.js +1 -1
  423. package/dist/models/wallet-pact-history-bucket-pact-read.d.ts +1 -1
  424. package/dist/models/wallet-pact-history-bucket-pact-read.js +1 -1
  425. package/dist/models/wallet-pact-history-bucket-read.d.ts +1 -1
  426. package/dist/models/wallet-pact-history-bucket-read.js +1 -1
  427. package/dist/models/wallet-pact-history-metric.d.ts +1 -1
  428. package/dist/models/wallet-pact-history-metric.js +1 -1
  429. package/dist/models/wallet-pact-history-range.d.ts +1 -1
  430. package/dist/models/wallet-pact-history-range.js +1 -1
  431. package/dist/models/wallet-pact-history-read.d.ts +1 -1
  432. package/dist/models/wallet-pact-history-read.js +1 -1
  433. package/dist/models/wallet-pact-history-summary-read.d.ts +1 -1
  434. package/dist/models/wallet-pact-history-summary-read.js +1 -1
  435. package/dist/models/wallet-pact-stats-read.d.ts +1 -1
  436. package/dist/models/wallet-pact-stats-read.js +1 -1
  437. package/dist/models/wallet-pair-agent-info.d.ts +1 -1
  438. package/dist/models/wallet-pair-agent-info.js +1 -1
  439. package/dist/models/wallet-pair-confirm.d.ts +7 -1
  440. package/dist/models/wallet-pair-confirm.d.ts.map +1 -1
  441. package/dist/models/wallet-pair-confirm.js +1 -1
  442. package/dist/models/wallet-pair-info-read.d.ts +9 -2
  443. package/dist/models/wallet-pair-info-read.d.ts.map +1 -1
  444. package/dist/models/wallet-pair-info-read.js +1 -1
  445. package/dist/models/wallet-pair-initiate-read.d.ts +25 -4
  446. package/dist/models/wallet-pair-initiate-read.d.ts.map +1 -1
  447. package/dist/models/wallet-pair-initiate-read.js +1 -1
  448. package/dist/models/wallet-pair-initiate.d.ts +2 -2
  449. package/dist/models/wallet-pair-initiate.js +1 -1
  450. package/dist/models/wallet-pair-read.d.ts +25 -4
  451. package/dist/models/wallet-pair-read.d.ts.map +1 -1
  452. package/dist/models/wallet-pair-read.js +1 -1
  453. package/dist/models/wallet-pair-status.d.ts +2 -1
  454. package/dist/models/wallet-pair-status.d.ts.map +1 -1
  455. package/dist/models/wallet-pair-status.js +2 -1
  456. package/dist/models/wallet-pair-status.js.map +1 -1
  457. package/dist/models/wallet-pair-token-purpose.d.ts +20 -0
  458. package/dist/models/wallet-pair-token-purpose.d.ts.map +1 -0
  459. package/dist/models/{policy-scope.js → wallet-pair-token-purpose.js} +7 -8
  460. package/dist/models/wallet-pair-token-purpose.js.map +1 -0
  461. package/dist/models/wallet-pair-wallet-info.d.ts +1 -1
  462. package/dist/models/wallet-pair-wallet-info.js +1 -1
  463. package/dist/models/wallet-read.d.ts +3 -3
  464. package/dist/models/wallet-read.d.ts.map +1 -1
  465. package/dist/models/wallet-read.js +1 -1
  466. package/dist/models/wallet-reshare-request.d.ts +7 -1
  467. package/dist/models/wallet-reshare-request.d.ts.map +1 -1
  468. package/dist/models/wallet-reshare-request.js +1 -1
  469. package/dist/models/wallet-reshare-response.d.ts +1 -1
  470. package/dist/models/wallet-reshare-response.js +1 -1
  471. package/dist/models/wallet-status.d.ts +1 -1
  472. package/dist/models/wallet-status.js +1 -1
  473. package/dist/models/wallet-tss-callback-request.d.ts +1 -1
  474. package/dist/models/wallet-tss-callback-request.js +1 -1
  475. package/dist/models/wallet-tss-callback-response.d.ts +1 -1
  476. package/dist/models/wallet-tss-callback-response.js +1 -1
  477. package/dist/models/wallet-type.d.ts +1 -1
  478. package/dist/models/wallet-type.js +1 -1
  479. package/dist/models/wallet-update.d.ts +1 -1
  480. package/dist/models/wallet-update.js +1 -1
  481. package/dist/models/webhook-process-result.d.ts +1 -1
  482. package/dist/models/webhook-process-result.js +1 -1
  483. package/dist/models/wrapped-validation-error.d.ts +1 -1
  484. package/dist/models/wrapped-validation-error.js +1 -1
  485. package/package.json +1 -1
  486. package/dist/models/applicable-limit-read.d.ts +0 -65
  487. package/dist/models/applicable-limit-read.d.ts.map +0 -1
  488. package/dist/models/applicable-limit-read.js +0 -12
  489. package/dist/models/applicable-limit-read.js.map +0 -1
  490. package/dist/models/policy-create.d.ts +0 -67
  491. package/dist/models/policy-create.d.ts.map +0 -1
  492. package/dist/models/policy-create.js.map +0 -1
  493. package/dist/models/policy-dry-run-request.d.ts +0 -84
  494. package/dist/models/policy-dry-run-request.d.ts.map +0 -1
  495. package/dist/models/policy-dry-run-request.js +0 -12
  496. package/dist/models/policy-dry-run-request.js.map +0 -1
  497. package/dist/models/policy-dry-run-result.d.ts +0 -63
  498. package/dist/models/policy-dry-run-result.d.ts.map +0 -1
  499. package/dist/models/policy-dry-run-result.js +0 -12
  500. package/dist/models/policy-dry-run-result.js.map +0 -1
  501. package/dist/models/policy-read.d.ts +0 -99
  502. package/dist/models/policy-read.d.ts.map +0 -1
  503. package/dist/models/policy-read.js.map +0 -1
  504. package/dist/models/policy-scope.d.ts +0 -21
  505. package/dist/models/policy-scope.d.ts.map +0 -1
  506. package/dist/models/policy-scope.js.map +0 -1
  507. package/dist/models/policy-update.d.ts +0 -41
  508. package/dist/models/policy-update.d.ts.map +0 -1
  509. package/dist/models/policy-update.js +0 -12
  510. package/dist/models/policy-update.js.map +0 -1
  511. package/dist/models/recipe-category-read.d.ts +0 -29
  512. package/dist/models/recipe-category-read.d.ts.map +0 -1
  513. package/dist/models/recipe-category-read.js +0 -12
  514. package/dist/models/recipe-category-read.js.map +0 -1
  515. package/dist/models/recipe-counter-result.d.ts +0 -29
  516. package/dist/models/recipe-counter-result.d.ts.map +0 -1
  517. package/dist/models/recipe-counter-result.js +0 -12
  518. package/dist/models/recipe-counter-result.js.map +0 -1
  519. package/dist/models/recipe-create-result.d.ts +0 -42
  520. package/dist/models/recipe-create-result.d.ts.map +0 -1
  521. package/dist/models/recipe-create-result.js +0 -12
  522. package/dist/models/recipe-create-result.js.map +0 -1
  523. package/dist/models/recipe-create.d.ts +0 -117
  524. package/dist/models/recipe-create.d.ts.map +0 -1
  525. package/dist/models/recipe-create.js +0 -12
  526. package/dist/models/recipe-create.js.map +0 -1
  527. package/dist/models/recipe-detail-read.d.ts +0 -166
  528. package/dist/models/recipe-detail-read.d.ts.map +0 -1
  529. package/dist/models/recipe-detail-read.js +0 -12
  530. package/dist/models/recipe-detail-read.js.map +0 -1
  531. package/dist/models/recipe-document.d.ts +0 -50
  532. package/dist/models/recipe-document.d.ts.map +0 -1
  533. package/dist/models/recipe-document.js +0 -12
  534. package/dist/models/recipe-document.js.map +0 -1
  535. package/dist/models/recipe-library-sort-by.d.ts +0 -21
  536. package/dist/models/recipe-library-sort-by.d.ts.map +0 -1
  537. package/dist/models/recipe-library-sort-by.js +0 -23
  538. package/dist/models/recipe-library-sort-by.js.map +0 -1
  539. package/dist/models/recipe-read.d.ts +0 -138
  540. package/dist/models/recipe-read.d.ts.map +0 -1
  541. package/dist/models/recipe-read.js +0 -12
  542. package/dist/models/recipe-read.js.map +0 -1
  543. package/dist/models/recipe-review-action.d.ts +0 -20
  544. package/dist/models/recipe-review-action.d.ts.map +0 -1
  545. package/dist/models/recipe-review-action.js +0 -22
  546. package/dist/models/recipe-review-action.js.map +0 -1
  547. package/dist/models/recipe-review-request.d.ts +0 -24
  548. package/dist/models/recipe-review-request.d.ts.map +0 -1
  549. package/dist/models/recipe-review-request.js +0 -12
  550. package/dist/models/recipe-review-request.js.map +0 -1
  551. package/dist/models/recipe-status.d.ts +0 -23
  552. package/dist/models/recipe-status.d.ts.map +0 -1
  553. package/dist/models/recipe-status.js +0 -25
  554. package/dist/models/recipe-status.js.map +0 -1
  555. package/dist/models/recipe-submission-create.d.ts +0 -99
  556. package/dist/models/recipe-submission-create.d.ts.map +0 -1
  557. package/dist/models/recipe-submission-create.js +0 -12
  558. package/dist/models/recipe-submission-create.js.map +0 -1
  559. package/dist/models/recipe-update.d.ts +0 -112
  560. package/dist/models/recipe-update.d.ts.map +0 -1
  561. package/dist/models/recipe-update.js +0 -12
  562. package/dist/models/recipe-update.js.map +0 -1
  563. package/dist/models/standard-response-list-policy-read.d.ts +0 -49
  564. package/dist/models/standard-response-list-policy-read.d.ts.map +0 -1
  565. package/dist/models/standard-response-list-policy-read.js +0 -12
  566. package/dist/models/standard-response-list-policy-read.js.map +0 -1
  567. package/dist/models/standard-response-list-recipe-category-read.d.ts +0 -49
  568. package/dist/models/standard-response-list-recipe-category-read.d.ts.map +0 -1
  569. package/dist/models/standard-response-list-recipe-category-read.js +0 -12
  570. package/dist/models/standard-response-list-recipe-category-read.js.map +0 -1
  571. package/dist/models/standard-response-list-recipe-read.d.ts +0 -49
  572. package/dist/models/standard-response-list-recipe-read.d.ts.map +0 -1
  573. package/dist/models/standard-response-list-recipe-read.js +0 -12
  574. package/dist/models/standard-response-list-recipe-read.js.map +0 -1
  575. package/dist/models/standard-response-policy-dry-run-result.d.ts +0 -49
  576. package/dist/models/standard-response-policy-dry-run-result.d.ts.map +0 -1
  577. package/dist/models/standard-response-policy-dry-run-result.js +0 -12
  578. package/dist/models/standard-response-policy-dry-run-result.js.map +0 -1
  579. package/dist/models/standard-response-policy-read.d.ts +0 -49
  580. package/dist/models/standard-response-policy-read.d.ts.map +0 -1
  581. package/dist/models/standard-response-policy-read.js +0 -12
  582. package/dist/models/standard-response-policy-read.js.map +0 -1
  583. package/dist/models/standard-response-recipe-counter-result.d.ts +0 -49
  584. package/dist/models/standard-response-recipe-counter-result.d.ts.map +0 -1
  585. package/dist/models/standard-response-recipe-counter-result.js +0 -12
  586. package/dist/models/standard-response-recipe-counter-result.js.map +0 -1
  587. package/dist/models/standard-response-recipe-create-result.d.ts +0 -49
  588. package/dist/models/standard-response-recipe-create-result.d.ts.map +0 -1
  589. package/dist/models/standard-response-recipe-create-result.js +0 -12
  590. package/dist/models/standard-response-recipe-create-result.js.map +0 -1
  591. package/dist/models/standard-response-recipe-detail-read.d.ts +0 -49
  592. package/dist/models/standard-response-recipe-detail-read.d.ts.map +0 -1
  593. package/dist/models/standard-response-recipe-detail-read.js +0 -12
  594. package/dist/models/standard-response-recipe-detail-read.js.map +0 -1
  595. package/dist/models/standard-response-recipe-document.d.ts +0 -49
  596. package/dist/models/standard-response-recipe-document.d.ts.map +0 -1
  597. package/dist/models/standard-response-recipe-document.js +0 -12
  598. package/dist/models/standard-response-recipe-document.js.map +0 -1
  599. package/dist/models/tier-evaluation-read.d.ts +0 -47
  600. package/dist/models/tier-evaluation-read.d.ts.map +0 -1
  601. package/dist/models/tier-evaluation-read.js +0 -12
  602. package/dist/models/tier-evaluation-read.js.map +0 -1
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Cobo Agentic Wallet Service
3
3
  *
4
- * The version of the OpenAPI document: 1.1.0
4
+ * The version of the OpenAPI document: 1.3.0
5
5
  *
6
6
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
7
7
  * https://openapi-generator.tech
@@ -9,18 +9,7 @@
9
9
  */
10
10
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
11
11
  import { Configuration } from '../configuration';
12
- import type { RecipeCreate } from '../models';
13
- import type { RecipeLibrarySortBy } from '../models';
14
- import type { RecipeReviewRequest } from '../models';
15
- import type { RecipeSubmissionCreate } from '../models';
16
- import type { RecipeUpdate } from '../models';
17
12
  import type { SearchRecipesRequest } from '../models';
18
- import type { StandardResponseListRecipeCategoryRead } from '../models';
19
- import type { StandardResponseListRecipeRead } from '../models';
20
- import type { StandardResponseRecipeCounterResult } from '../models';
21
- import type { StandardResponseRecipeCreateResult } from '../models';
22
- import type { StandardResponseRecipeDetailRead } from '../models';
23
- import type { StandardResponseRecipeDocument } from '../models';
24
13
  import type { StandardResponseRecipeSearchResponse } from '../models';
25
14
  export declare class RecipesApi {
26
15
  private basePath;
@@ -31,81 +20,6 @@ export declare class RecipesApi {
31
20
  * Get default request headers including auth
32
21
  */
33
22
  private getHeaders;
34
- /**
35
- * Archive recipe
36
- * Archive a recipe, removing it from public visibility. Requires service credential authentication. Archived recipes are not deleted and can be restored.
37
- * @param recipe_id
38
- * @param X_Assistant_Service_Key
39
- * @param options Override http request option.
40
- */
41
- archiveRecipe(recipe_id: string, X_Assistant_Service_Key?: string, options?: AxiosRequestConfig): Promise<AxiosResponse<StandardResponseRecipeDetailRead>>;
42
- /**
43
- * Create recipe
44
- * Create and publish a new recipe in the library. Requires service credential authentication. The recipe is synced to the knowledge hub after creation.
45
- * @param RecipeCreate
46
- * @param X_Assistant_Service_Key
47
- * @param options Override http request option.
48
- */
49
- createRecipe(RecipeCreate: RecipeCreate, X_Assistant_Service_Key?: string, options?: AxiosRequestConfig): Promise<AxiosResponse<StandardResponseRecipeCreateResult>>;
50
- /**
51
- * Get recipe detail by slug
52
- * Retrieve the full details of a public recipe by its URL slug.
53
- * @param slug
54
- * @param track_view When &#x60;true&#x60; (default), increment the recipe\&#39;s view counter.
55
- * @param options Override http request option.
56
- */
57
- getRecipeBySlug(slug: string, track_view?: boolean, options?: AxiosRequestConfig): Promise<AxiosResponse<StandardResponseRecipeDetailRead>>;
58
- /**
59
- * Get full recipe document by ID
60
- * Retrieve the full content of a recipe document by its knowledge hub document ID. The `document_id` is returned in search results.
61
- * @param document_id
62
- * @param X_API_Key
63
- * @param options Override http request option.
64
- */
65
- getRecipeDocument(document_id: string, X_API_Key?: string, options?: AxiosRequestConfig): Promise<AxiosResponse<StandardResponseRecipeDocument>>;
66
- /**
67
- * Get recipe search count
68
- * Retrieve the total number of times a recipe has appeared in search results.
69
- * @param recipe_id
70
- * @param options Override http request option.
71
- */
72
- getRecipeSearchCount(recipe_id: string, options?: AxiosRequestConfig): Promise<AxiosResponse<StandardResponseRecipeCounterResult>>;
73
- /**
74
- * List featured recipes
75
- * Retrieve the list of editorially featured recipes from the public library.
76
- * @param limit The maximum number of featured recipes to return. Range: [1, 50].
77
- * @param options Override http request option.
78
- */
79
- listFeaturedRecipes(limit?: number, options?: AxiosRequestConfig): Promise<AxiosResponse<StandardResponseListRecipeRead>>;
80
- /**
81
- * List recipe categories
82
- * Retrieve all available recipe categories from the public library.
83
- * @param options Override http request option.
84
- */
85
- listRecipeCategories(options?: AxiosRequestConfig): Promise<AxiosResponse<StandardResponseListRecipeCategoryRead>>;
86
- /**
87
- * List recipes in the public library
88
- * Retrieve published recipes from the public recipe library. Filter by category, tag, chain, or keyword. Use `offset` and `limit` for pagination.
89
- * @param offset Number of items to skip before returning results.
90
- * @param limit The maximum number of items to return. Range: [1, 100].
91
- * @param category Filter recipes by category slug.
92
- * @param tag Filter recipes by tag.
93
- * @param chain Filter recipes by blockchain (e.g. &#x60;ETH&#x60;, &#x60;SOL&#x60;).
94
- * @param featured When &#x60;true&#x60;, return only featured recipes. When &#x60;false&#x60;, exclude featured recipes. Omit to return all.
95
- * @param query Keyword search string to filter recipes by title or description.
96
- * @param sort_by Sort order for results. Possible values: &#x60;popular&#x60;, &#x60;newest&#x60;, &#x60;most_used&#x60;.
97
- * @param options Override http request option.
98
- */
99
- listRecipeLibrary(offset?: number, limit?: number, category?: string, tag?: string, chain?: string, featured?: boolean, query?: string, sort_by?: RecipeLibrarySortBy, options?: AxiosRequestConfig): Promise<AxiosResponse<StandardResponseListRecipeRead>>;
100
- /**
101
- * Review submitted recipe
102
- * Approve or reject a community-submitted recipe. Requires service credential authentication. Approved recipes are published to the library and synced to the knowledge hub.
103
- * @param recipe_id
104
- * @param RecipeReviewRequest
105
- * @param X_Assistant_Service_Key
106
- * @param options Override http request option.
107
- */
108
- reviewRecipeSubmission(recipe_id: string, RecipeReviewRequest: RecipeReviewRequest, X_Assistant_Service_Key?: string, options?: AxiosRequestConfig): Promise<AxiosResponse<StandardResponseRecipeDetailRead>>;
109
23
  /**
110
24
  * Search recipes
111
25
  * Search the recipe library using natural language via the knowledge hub. Optionally filter results by `chain` or `token`.
@@ -114,37 +28,5 @@ export declare class RecipesApi {
114
28
  * @param options Override http request option.
115
29
  */
116
30
  searchRecipes(SearchRecipesRequest: SearchRecipesRequest, X_API_Key?: string, options?: AxiosRequestConfig): Promise<AxiosResponse<StandardResponseRecipeSearchResponse>>;
117
- /**
118
- * Submit community recipe
119
- * Submit a community-contributed recipe for review. The recipe enters a pending state until reviewed and approved by an admin.
120
- * @param RecipeSubmissionCreate
121
- * @param X_API_Key
122
- * @param options Override http request option.
123
- */
124
- submitRecipe(RecipeSubmissionCreate: RecipeSubmissionCreate, X_API_Key?: string, options?: AxiosRequestConfig): Promise<AxiosResponse<StandardResponseRecipeCreateResult>>;
125
- /**
126
- * Increment recipe share count
127
- * Increment the share counter for a recipe. Call this endpoint when a user shares the recipe externally.
128
- * @param recipe_id
129
- * @param options Override http request option.
130
- */
131
- trackRecipeShare(recipe_id: string, options?: AxiosRequestConfig): Promise<AxiosResponse<StandardResponseRecipeCounterResult>>;
132
- /**
133
- * Increment recipe use count
134
- * Increment the use counter for a recipe. Call this endpoint when an authenticated user activates or runs a recipe.
135
- * @param recipe_id
136
- * @param X_API_Key
137
- * @param options Override http request option.
138
- */
139
- trackRecipeUse(recipe_id: string, X_API_Key?: string, options?: AxiosRequestConfig): Promise<AxiosResponse<StandardResponseRecipeCounterResult>>;
140
- /**
141
- * Update recipe
142
- * Update an existing recipe in the library. Requires service credential authentication. Only provided fields are updated. The recipe is re-synced to the knowledge hub after the update.
143
- * @param recipe_id
144
- * @param RecipeUpdate
145
- * @param X_Assistant_Service_Key
146
- * @param options Override http request option.
147
- */
148
- updateRecipe(recipe_id: string, RecipeUpdate: RecipeUpdate, X_Assistant_Service_Key?: string, options?: AxiosRequestConfig): Promise<AxiosResponse<StandardResponseRecipeDetailRead>>;
149
31
  }
150
32
  //# sourceMappingURL=recipes-api.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"recipes-api.d.ts","sourceRoot":"","sources":["../../api/recipes-api.ts"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"recipes-api.d.ts","sourceRoot":"","sources":["../../api/recipes-api.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE9E,OAAO,EAAE,aAAa,EAAgB,MAAM,kBAAkB,CAAC;AAG/D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAEtD,OAAO,KAAK,EAAE,oCAAoC,EAAE,MAAM,WAAW,CAAC;AAItE,qBAAa,UAAU;IACnB,OAAO,CAAC,QAAQ,CAAS;IACzB,OAAO,CAAC,KAAK,CAAgB;IAC7B,OAAO,CAAC,aAAa,CAAC,CAAgB;gBAE1B,aAAa,CAAC,EAAE,aAAa,EAAE,QAAQ,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,aAAa;IAMnF;;OAEG;IACH,OAAO,CAAC,UAAU;IAQlB;;;;;;OAMG;IACU,aAAa,CAAC,oBAAoB,EAAE,oBAAoB,EAAE,SAAS,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,aAAa,CAAC,oCAAoC,CAAC,CAAC;CAqCzL"}
@@ -2,7 +2,7 @@
2
2
  /**
3
3
  * Cobo Agentic Wallet Service
4
4
  *
5
- * The version of the OpenAPI document: 1.1.0
5
+ * The version of the OpenAPI document: 1.3.0
6
6
  *
7
7
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8
8
  * https://openapi-generator.tech
@@ -32,341 +32,6 @@ class RecipesApi {
32
32
  }
33
33
  return headers;
34
34
  }
35
- /**
36
- * Archive recipe
37
- * Archive a recipe, removing it from public visibility. Requires service credential authentication. Archived recipes are not deleted and can be restored.
38
- * @param recipe_id
39
- * @param X_Assistant_Service_Key
40
- * @param options Override http request option.
41
- */
42
- async archiveRecipe(recipe_id, X_Assistant_Service_Key, options) {
43
- let localVarPath = '/api/v1/recipes/library/{recipe_id}'
44
- .replace(`{${"recipe_id"}}`, encodeURIComponent(String(recipe_id)));
45
- const localVarUrlObj = new URL(localVarPath, this.basePath);
46
- const localVarRequestOptions = { method: 'DELETE', ...options };
47
- const localVarHeaderParameter = { ...this.getHeaders() };
48
- const localVarQueryParameter = {};
49
- if (X_Assistant_Service_Key !== undefined && X_Assistant_Service_Key !== null) {
50
- localVarHeaderParameter['X-Assistant-Service-Key'] = String(X_Assistant_Service_Key);
51
- }
52
- localVarHeaderParameter['Content-Type'] = 'application/json';
53
- localVarHeaderParameter['Accept'] = 'application/json';
54
- const queryString = new URLSearchParams(Object.entries(localVarQueryParameter).reduce((acc, [key, value]) => {
55
- if (Array.isArray(value)) {
56
- value.forEach(v => acc.push([key, String(v)]));
57
- }
58
- else {
59
- acc.push([key, String(value)]);
60
- }
61
- return acc;
62
- }, [])).toString();
63
- if (queryString) {
64
- localVarUrlObj.search = queryString;
65
- }
66
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options?.headers };
67
- localVarRequestOptions.url = localVarUrlObj.toString();
68
- return this.axios.request(localVarRequestOptions);
69
- }
70
- /**
71
- * Create recipe
72
- * Create and publish a new recipe in the library. Requires service credential authentication. The recipe is synced to the knowledge hub after creation.
73
- * @param RecipeCreate
74
- * @param X_Assistant_Service_Key
75
- * @param options Override http request option.
76
- */
77
- async createRecipe(RecipeCreate, X_Assistant_Service_Key, options) {
78
- let localVarPath = '/api/v1/recipes/library';
79
- const localVarUrlObj = new URL(localVarPath, this.basePath);
80
- const localVarRequestOptions = { method: 'POST', ...options };
81
- const localVarHeaderParameter = { ...this.getHeaders() };
82
- const localVarQueryParameter = {};
83
- // verify required parameter 'RecipeCreate' is not null or undefined
84
- (0, common_1.assertParamExists)('createRecipe', 'RecipeCreate', RecipeCreate);
85
- if (X_Assistant_Service_Key !== undefined && X_Assistant_Service_Key !== null) {
86
- localVarHeaderParameter['X-Assistant-Service-Key'] = String(X_Assistant_Service_Key);
87
- }
88
- localVarHeaderParameter['Content-Type'] = 'application/json';
89
- localVarHeaderParameter['Accept'] = 'application/json';
90
- const queryString = new URLSearchParams(Object.entries(localVarQueryParameter).reduce((acc, [key, value]) => {
91
- if (Array.isArray(value)) {
92
- value.forEach(v => acc.push([key, String(v)]));
93
- }
94
- else {
95
- acc.push([key, String(value)]);
96
- }
97
- return acc;
98
- }, [])).toString();
99
- if (queryString) {
100
- localVarUrlObj.search = queryString;
101
- }
102
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options?.headers };
103
- localVarRequestOptions.data = RecipeCreate;
104
- localVarRequestOptions.url = localVarUrlObj.toString();
105
- return this.axios.request(localVarRequestOptions);
106
- }
107
- /**
108
- * Get recipe detail by slug
109
- * Retrieve the full details of a public recipe by its URL slug.
110
- * @param slug
111
- * @param track_view When &#x60;true&#x60; (default), increment the recipe\&#39;s view counter.
112
- * @param options Override http request option.
113
- */
114
- async getRecipeBySlug(slug, track_view, options) {
115
- let localVarPath = '/api/v1/recipes/library/by-slug/{slug}'
116
- .replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
117
- const localVarUrlObj = new URL(localVarPath, this.basePath);
118
- const localVarRequestOptions = { method: 'GET', ...options };
119
- const localVarHeaderParameter = { ...this.getHeaders() };
120
- const localVarQueryParameter = {};
121
- if (track_view !== undefined) {
122
- localVarQueryParameter['track_view'] = track_view;
123
- }
124
- localVarHeaderParameter['Content-Type'] = 'application/json';
125
- localVarHeaderParameter['Accept'] = 'application/json';
126
- const queryString = new URLSearchParams(Object.entries(localVarQueryParameter).reduce((acc, [key, value]) => {
127
- if (Array.isArray(value)) {
128
- value.forEach(v => acc.push([key, String(v)]));
129
- }
130
- else {
131
- acc.push([key, String(value)]);
132
- }
133
- return acc;
134
- }, [])).toString();
135
- if (queryString) {
136
- localVarUrlObj.search = queryString;
137
- }
138
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options?.headers };
139
- localVarRequestOptions.url = localVarUrlObj.toString();
140
- return this.axios.request(localVarRequestOptions);
141
- }
142
- /**
143
- * Get full recipe document by ID
144
- * Retrieve the full content of a recipe document by its knowledge hub document ID. The `document_id` is returned in search results.
145
- * @param document_id
146
- * @param X_API_Key
147
- * @param options Override http request option.
148
- */
149
- async getRecipeDocument(document_id, X_API_Key, options) {
150
- let localVarPath = '/api/v1/recipes/{document_id}'
151
- .replace(`{${"document_id"}}`, encodeURIComponent(String(document_id)));
152
- const localVarUrlObj = new URL(localVarPath, this.basePath);
153
- const localVarRequestOptions = { method: 'GET', ...options };
154
- const localVarHeaderParameter = { ...this.getHeaders() };
155
- const localVarQueryParameter = {};
156
- if (X_API_Key !== undefined && X_API_Key !== null) {
157
- localVarHeaderParameter['X-API-Key'] = String(X_API_Key);
158
- }
159
- localVarHeaderParameter['Content-Type'] = 'application/json';
160
- localVarHeaderParameter['Accept'] = 'application/json';
161
- const queryString = new URLSearchParams(Object.entries(localVarQueryParameter).reduce((acc, [key, value]) => {
162
- if (Array.isArray(value)) {
163
- value.forEach(v => acc.push([key, String(v)]));
164
- }
165
- else {
166
- acc.push([key, String(value)]);
167
- }
168
- return acc;
169
- }, [])).toString();
170
- if (queryString) {
171
- localVarUrlObj.search = queryString;
172
- }
173
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options?.headers };
174
- localVarRequestOptions.url = localVarUrlObj.toString();
175
- return this.axios.request(localVarRequestOptions);
176
- }
177
- /**
178
- * Get recipe search count
179
- * Retrieve the total number of times a recipe has appeared in search results.
180
- * @param recipe_id
181
- * @param options Override http request option.
182
- */
183
- async getRecipeSearchCount(recipe_id, options) {
184
- let localVarPath = '/api/v1/recipes/library/{recipe_id}/search-count'
185
- .replace(`{${"recipe_id"}}`, encodeURIComponent(String(recipe_id)));
186
- const localVarUrlObj = new URL(localVarPath, this.basePath);
187
- const localVarRequestOptions = { method: 'GET', ...options };
188
- const localVarHeaderParameter = { ...this.getHeaders() };
189
- const localVarQueryParameter = {};
190
- localVarHeaderParameter['Content-Type'] = 'application/json';
191
- localVarHeaderParameter['Accept'] = 'application/json';
192
- const queryString = new URLSearchParams(Object.entries(localVarQueryParameter).reduce((acc, [key, value]) => {
193
- if (Array.isArray(value)) {
194
- value.forEach(v => acc.push([key, String(v)]));
195
- }
196
- else {
197
- acc.push([key, String(value)]);
198
- }
199
- return acc;
200
- }, [])).toString();
201
- if (queryString) {
202
- localVarUrlObj.search = queryString;
203
- }
204
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options?.headers };
205
- localVarRequestOptions.url = localVarUrlObj.toString();
206
- return this.axios.request(localVarRequestOptions);
207
- }
208
- /**
209
- * List featured recipes
210
- * Retrieve the list of editorially featured recipes from the public library.
211
- * @param limit The maximum number of featured recipes to return. Range: [1, 50].
212
- * @param options Override http request option.
213
- */
214
- async listFeaturedRecipes(limit, options) {
215
- let localVarPath = '/api/v1/recipes/library/featured';
216
- const localVarUrlObj = new URL(localVarPath, this.basePath);
217
- const localVarRequestOptions = { method: 'GET', ...options };
218
- const localVarHeaderParameter = { ...this.getHeaders() };
219
- const localVarQueryParameter = {};
220
- if (limit !== undefined) {
221
- localVarQueryParameter['limit'] = limit;
222
- }
223
- localVarHeaderParameter['Content-Type'] = 'application/json';
224
- localVarHeaderParameter['Accept'] = 'application/json';
225
- const queryString = new URLSearchParams(Object.entries(localVarQueryParameter).reduce((acc, [key, value]) => {
226
- if (Array.isArray(value)) {
227
- value.forEach(v => acc.push([key, String(v)]));
228
- }
229
- else {
230
- acc.push([key, String(value)]);
231
- }
232
- return acc;
233
- }, [])).toString();
234
- if (queryString) {
235
- localVarUrlObj.search = queryString;
236
- }
237
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options?.headers };
238
- localVarRequestOptions.url = localVarUrlObj.toString();
239
- return this.axios.request(localVarRequestOptions);
240
- }
241
- /**
242
- * List recipe categories
243
- * Retrieve all available recipe categories from the public library.
244
- * @param options Override http request option.
245
- */
246
- async listRecipeCategories(options) {
247
- let localVarPath = '/api/v1/recipes/library/categories';
248
- const localVarUrlObj = new URL(localVarPath, this.basePath);
249
- const localVarRequestOptions = { method: 'GET', ...options };
250
- const localVarHeaderParameter = { ...this.getHeaders() };
251
- const localVarQueryParameter = {};
252
- localVarHeaderParameter['Content-Type'] = 'application/json';
253
- localVarHeaderParameter['Accept'] = 'application/json';
254
- const queryString = new URLSearchParams(Object.entries(localVarQueryParameter).reduce((acc, [key, value]) => {
255
- if (Array.isArray(value)) {
256
- value.forEach(v => acc.push([key, String(v)]));
257
- }
258
- else {
259
- acc.push([key, String(value)]);
260
- }
261
- return acc;
262
- }, [])).toString();
263
- if (queryString) {
264
- localVarUrlObj.search = queryString;
265
- }
266
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options?.headers };
267
- localVarRequestOptions.url = localVarUrlObj.toString();
268
- return this.axios.request(localVarRequestOptions);
269
- }
270
- /**
271
- * List recipes in the public library
272
- * Retrieve published recipes from the public recipe library. Filter by category, tag, chain, or keyword. Use `offset` and `limit` for pagination.
273
- * @param offset Number of items to skip before returning results.
274
- * @param limit The maximum number of items to return. Range: [1, 100].
275
- * @param category Filter recipes by category slug.
276
- * @param tag Filter recipes by tag.
277
- * @param chain Filter recipes by blockchain (e.g. &#x60;ETH&#x60;, &#x60;SOL&#x60;).
278
- * @param featured When &#x60;true&#x60;, return only featured recipes. When &#x60;false&#x60;, exclude featured recipes. Omit to return all.
279
- * @param query Keyword search string to filter recipes by title or description.
280
- * @param sort_by Sort order for results. Possible values: &#x60;popular&#x60;, &#x60;newest&#x60;, &#x60;most_used&#x60;.
281
- * @param options Override http request option.
282
- */
283
- async listRecipeLibrary(offset, limit, category, tag, chain, featured, query, sort_by, options) {
284
- let localVarPath = '/api/v1/recipes/library';
285
- const localVarUrlObj = new URL(localVarPath, this.basePath);
286
- const localVarRequestOptions = { method: 'GET', ...options };
287
- const localVarHeaderParameter = { ...this.getHeaders() };
288
- const localVarQueryParameter = {};
289
- if (offset !== undefined) {
290
- localVarQueryParameter['offset'] = offset;
291
- }
292
- if (limit !== undefined) {
293
- localVarQueryParameter['limit'] = limit;
294
- }
295
- if (category !== undefined) {
296
- localVarQueryParameter['category'] = category;
297
- }
298
- if (tag !== undefined) {
299
- localVarQueryParameter['tag'] = tag;
300
- }
301
- if (chain !== undefined) {
302
- localVarQueryParameter['chain'] = chain;
303
- }
304
- if (featured !== undefined) {
305
- localVarQueryParameter['featured'] = featured;
306
- }
307
- if (query !== undefined) {
308
- localVarQueryParameter['query'] = query;
309
- }
310
- if (sort_by !== undefined) {
311
- localVarQueryParameter['sort_by'] = sort_by;
312
- }
313
- localVarHeaderParameter['Content-Type'] = 'application/json';
314
- localVarHeaderParameter['Accept'] = 'application/json';
315
- const queryString = new URLSearchParams(Object.entries(localVarQueryParameter).reduce((acc, [key, value]) => {
316
- if (Array.isArray(value)) {
317
- value.forEach(v => acc.push([key, String(v)]));
318
- }
319
- else {
320
- acc.push([key, String(value)]);
321
- }
322
- return acc;
323
- }, [])).toString();
324
- if (queryString) {
325
- localVarUrlObj.search = queryString;
326
- }
327
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options?.headers };
328
- localVarRequestOptions.url = localVarUrlObj.toString();
329
- return this.axios.request(localVarRequestOptions);
330
- }
331
- /**
332
- * Review submitted recipe
333
- * Approve or reject a community-submitted recipe. Requires service credential authentication. Approved recipes are published to the library and synced to the knowledge hub.
334
- * @param recipe_id
335
- * @param RecipeReviewRequest
336
- * @param X_Assistant_Service_Key
337
- * @param options Override http request option.
338
- */
339
- async reviewRecipeSubmission(recipe_id, RecipeReviewRequest, X_Assistant_Service_Key, options) {
340
- let localVarPath = '/api/v1/recipes/library/submissions/{recipe_id}/review'
341
- .replace(`{${"recipe_id"}}`, encodeURIComponent(String(recipe_id)));
342
- const localVarUrlObj = new URL(localVarPath, this.basePath);
343
- const localVarRequestOptions = { method: 'PATCH', ...options };
344
- const localVarHeaderParameter = { ...this.getHeaders() };
345
- const localVarQueryParameter = {};
346
- // verify required parameter 'RecipeReviewRequest' is not null or undefined
347
- (0, common_1.assertParamExists)('reviewRecipeSubmission', 'RecipeReviewRequest', RecipeReviewRequest);
348
- if (X_Assistant_Service_Key !== undefined && X_Assistant_Service_Key !== null) {
349
- localVarHeaderParameter['X-Assistant-Service-Key'] = String(X_Assistant_Service_Key);
350
- }
351
- localVarHeaderParameter['Content-Type'] = 'application/json';
352
- localVarHeaderParameter['Accept'] = 'application/json';
353
- const queryString = new URLSearchParams(Object.entries(localVarQueryParameter).reduce((acc, [key, value]) => {
354
- if (Array.isArray(value)) {
355
- value.forEach(v => acc.push([key, String(v)]));
356
- }
357
- else {
358
- acc.push([key, String(value)]);
359
- }
360
- return acc;
361
- }, [])).toString();
362
- if (queryString) {
363
- localVarUrlObj.search = queryString;
364
- }
365
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options?.headers };
366
- localVarRequestOptions.data = RecipeReviewRequest;
367
- localVarRequestOptions.url = localVarUrlObj.toString();
368
- return this.axios.request(localVarRequestOptions);
369
- }
370
35
  /**
371
36
  * Search recipes
372
37
  * Search the recipe library using natural language via the knowledge hub. Optionally filter results by `chain` or `token`.
@@ -404,148 +69,6 @@ class RecipesApi {
404
69
  localVarRequestOptions.url = localVarUrlObj.toString();
405
70
  return this.axios.request(localVarRequestOptions);
406
71
  }
407
- /**
408
- * Submit community recipe
409
- * Submit a community-contributed recipe for review. The recipe enters a pending state until reviewed and approved by an admin.
410
- * @param RecipeSubmissionCreate
411
- * @param X_API_Key
412
- * @param options Override http request option.
413
- */
414
- async submitRecipe(RecipeSubmissionCreate, X_API_Key, options) {
415
- let localVarPath = '/api/v1/recipes/library/submit';
416
- const localVarUrlObj = new URL(localVarPath, this.basePath);
417
- const localVarRequestOptions = { method: 'POST', ...options };
418
- const localVarHeaderParameter = { ...this.getHeaders() };
419
- const localVarQueryParameter = {};
420
- // verify required parameter 'RecipeSubmissionCreate' is not null or undefined
421
- (0, common_1.assertParamExists)('submitRecipe', 'RecipeSubmissionCreate', RecipeSubmissionCreate);
422
- if (X_API_Key !== undefined && X_API_Key !== null) {
423
- localVarHeaderParameter['X-API-Key'] = String(X_API_Key);
424
- }
425
- localVarHeaderParameter['Content-Type'] = 'application/json';
426
- localVarHeaderParameter['Accept'] = 'application/json';
427
- const queryString = new URLSearchParams(Object.entries(localVarQueryParameter).reduce((acc, [key, value]) => {
428
- if (Array.isArray(value)) {
429
- value.forEach(v => acc.push([key, String(v)]));
430
- }
431
- else {
432
- acc.push([key, String(value)]);
433
- }
434
- return acc;
435
- }, [])).toString();
436
- if (queryString) {
437
- localVarUrlObj.search = queryString;
438
- }
439
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options?.headers };
440
- localVarRequestOptions.data = RecipeSubmissionCreate;
441
- localVarRequestOptions.url = localVarUrlObj.toString();
442
- return this.axios.request(localVarRequestOptions);
443
- }
444
- /**
445
- * Increment recipe share count
446
- * Increment the share counter for a recipe. Call this endpoint when a user shares the recipe externally.
447
- * @param recipe_id
448
- * @param options Override http request option.
449
- */
450
- async trackRecipeShare(recipe_id, options) {
451
- let localVarPath = '/api/v1/recipes/library/{recipe_id}/share'
452
- .replace(`{${"recipe_id"}}`, encodeURIComponent(String(recipe_id)));
453
- const localVarUrlObj = new URL(localVarPath, this.basePath);
454
- const localVarRequestOptions = { method: 'POST', ...options };
455
- const localVarHeaderParameter = { ...this.getHeaders() };
456
- const localVarQueryParameter = {};
457
- localVarHeaderParameter['Content-Type'] = 'application/json';
458
- localVarHeaderParameter['Accept'] = 'application/json';
459
- const queryString = new URLSearchParams(Object.entries(localVarQueryParameter).reduce((acc, [key, value]) => {
460
- if (Array.isArray(value)) {
461
- value.forEach(v => acc.push([key, String(v)]));
462
- }
463
- else {
464
- acc.push([key, String(value)]);
465
- }
466
- return acc;
467
- }, [])).toString();
468
- if (queryString) {
469
- localVarUrlObj.search = queryString;
470
- }
471
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options?.headers };
472
- localVarRequestOptions.url = localVarUrlObj.toString();
473
- return this.axios.request(localVarRequestOptions);
474
- }
475
- /**
476
- * Increment recipe use count
477
- * Increment the use counter for a recipe. Call this endpoint when an authenticated user activates or runs a recipe.
478
- * @param recipe_id
479
- * @param X_API_Key
480
- * @param options Override http request option.
481
- */
482
- async trackRecipeUse(recipe_id, X_API_Key, options) {
483
- let localVarPath = '/api/v1/recipes/library/{recipe_id}/use'
484
- .replace(`{${"recipe_id"}}`, encodeURIComponent(String(recipe_id)));
485
- const localVarUrlObj = new URL(localVarPath, this.basePath);
486
- const localVarRequestOptions = { method: 'POST', ...options };
487
- const localVarHeaderParameter = { ...this.getHeaders() };
488
- const localVarQueryParameter = {};
489
- if (X_API_Key !== undefined && X_API_Key !== null) {
490
- localVarHeaderParameter['X-API-Key'] = String(X_API_Key);
491
- }
492
- localVarHeaderParameter['Content-Type'] = 'application/json';
493
- localVarHeaderParameter['Accept'] = 'application/json';
494
- const queryString = new URLSearchParams(Object.entries(localVarQueryParameter).reduce((acc, [key, value]) => {
495
- if (Array.isArray(value)) {
496
- value.forEach(v => acc.push([key, String(v)]));
497
- }
498
- else {
499
- acc.push([key, String(value)]);
500
- }
501
- return acc;
502
- }, [])).toString();
503
- if (queryString) {
504
- localVarUrlObj.search = queryString;
505
- }
506
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options?.headers };
507
- localVarRequestOptions.url = localVarUrlObj.toString();
508
- return this.axios.request(localVarRequestOptions);
509
- }
510
- /**
511
- * Update recipe
512
- * Update an existing recipe in the library. Requires service credential authentication. Only provided fields are updated. The recipe is re-synced to the knowledge hub after the update.
513
- * @param recipe_id
514
- * @param RecipeUpdate
515
- * @param X_Assistant_Service_Key
516
- * @param options Override http request option.
517
- */
518
- async updateRecipe(recipe_id, RecipeUpdate, X_Assistant_Service_Key, options) {
519
- let localVarPath = '/api/v1/recipes/library/{recipe_id}'
520
- .replace(`{${"recipe_id"}}`, encodeURIComponent(String(recipe_id)));
521
- const localVarUrlObj = new URL(localVarPath, this.basePath);
522
- const localVarRequestOptions = { method: 'PATCH', ...options };
523
- const localVarHeaderParameter = { ...this.getHeaders() };
524
- const localVarQueryParameter = {};
525
- // verify required parameter 'RecipeUpdate' is not null or undefined
526
- (0, common_1.assertParamExists)('updateRecipe', 'RecipeUpdate', RecipeUpdate);
527
- if (X_Assistant_Service_Key !== undefined && X_Assistant_Service_Key !== null) {
528
- localVarHeaderParameter['X-Assistant-Service-Key'] = String(X_Assistant_Service_Key);
529
- }
530
- localVarHeaderParameter['Content-Type'] = 'application/json';
531
- localVarHeaderParameter['Accept'] = 'application/json';
532
- const queryString = new URLSearchParams(Object.entries(localVarQueryParameter).reduce((acc, [key, value]) => {
533
- if (Array.isArray(value)) {
534
- value.forEach(v => acc.push([key, String(v)]));
535
- }
536
- else {
537
- acc.push([key, String(value)]);
538
- }
539
- return acc;
540
- }, [])).toString();
541
- if (queryString) {
542
- localVarUrlObj.search = queryString;
543
- }
544
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options?.headers };
545
- localVarRequestOptions.data = RecipeUpdate;
546
- localVarRequestOptions.url = localVarUrlObj.toString();
547
- return this.axios.request(localVarRequestOptions);
548
- }
549
72
  }
550
73
  exports.RecipesApi = RecipesApi;
551
74
  //# sourceMappingURL=recipes-api.js.map