@pollination-solutions/pollination-sdk 0.18.0-beta.3 → 0.18.0-beta.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 (775) hide show
  1. package/.apigentools-info +2 -2
  2. package/.openapi-generator/FILES +3 -0
  3. package/README.md +1 -1
  4. package/api/accounts-api.ts +1 -1
  5. package/api/apitokens-api.ts +1 -1
  6. package/api/artifacts-api.ts +1 -1
  7. package/api/jobs-api.ts +1 -1
  8. package/api/orgs-api.ts +1 -1
  9. package/api/payments-api.ts +352 -1
  10. package/api/plugins-api.ts +1 -1
  11. package/api/projects-api.ts +1 -1
  12. package/api/recipes-api.ts +1 -1
  13. package/api/registries-api.ts +1 -1
  14. package/api/runs-api.ts +1 -1
  15. package/api/teams-api.ts +1 -1
  16. package/api/user-api.ts +1 -1
  17. package/api/users-api.ts +1 -1
  18. package/api.ts +1 -1
  19. package/base.ts +1 -1
  20. package/configuration.ts +1 -1
  21. package/dist/api/accounts-api.d.ts +1 -1
  22. package/dist/api/accounts-api.js +1 -1
  23. package/dist/api/apitokens-api.d.ts +1 -1
  24. package/dist/api/apitokens-api.js +1 -1
  25. package/dist/api/artifacts-api.d.ts +1 -1
  26. package/dist/api/artifacts-api.js +1 -1
  27. package/dist/api/jobs-api.d.ts +1 -1
  28. package/dist/api/jobs-api.js +1 -1
  29. package/dist/api/orgs-api.d.ts +1 -1
  30. package/dist/api/orgs-api.js +1 -1
  31. package/dist/api/payments-api.d.ts +151 -1
  32. package/dist/api/payments-api.js +281 -1
  33. package/dist/api/plugins-api.d.ts +1 -1
  34. package/dist/api/plugins-api.js +1 -1
  35. package/dist/api/projects-api.d.ts +1 -1
  36. package/dist/api/projects-api.js +1 -1
  37. package/dist/api/recipes-api.d.ts +1 -1
  38. package/dist/api/recipes-api.js +1 -1
  39. package/dist/api/registries-api.d.ts +1 -1
  40. package/dist/api/registries-api.js +1 -1
  41. package/dist/api/runs-api.d.ts +1 -1
  42. package/dist/api/runs-api.js +1 -1
  43. package/dist/api/teams-api.d.ts +1 -1
  44. package/dist/api/teams-api.js +1 -1
  45. package/dist/api/user-api.d.ts +1 -1
  46. package/dist/api/user-api.js +1 -1
  47. package/dist/api/users-api.d.ts +1 -1
  48. package/dist/api/users-api.js +1 -1
  49. package/dist/api.d.ts +1 -1
  50. package/dist/api.js +1 -1
  51. package/dist/base.d.ts +1 -1
  52. package/dist/base.js +1 -1
  53. package/dist/configuration.d.ts +1 -1
  54. package/dist/configuration.js +1 -1
  55. package/dist/index.d.ts +1 -1
  56. package/dist/index.js +1 -1
  57. package/dist/models/account-public.d.ts +1 -1
  58. package/dist/models/account-public.js +1 -1
  59. package/dist/models/apitoken-create.d.ts +1 -1
  60. package/dist/models/apitoken-create.js +1 -1
  61. package/dist/models/apitoken-list.d.ts +1 -1
  62. package/dist/models/apitoken-list.js +1 -1
  63. package/dist/models/apitoken-private.d.ts +1 -1
  64. package/dist/models/apitoken-private.js +1 -1
  65. package/dist/models/apitoken.d.ts +1 -1
  66. package/dist/models/apitoken.js +1 -1
  67. package/dist/models/baked-recipe.d.ts +1 -1
  68. package/dist/models/baked-recipe.js +1 -1
  69. package/dist/models/body-post-plugin-owner-plugins-post.d.ts +1 -1
  70. package/dist/models/body-post-plugin-owner-plugins-post.js +1 -1
  71. package/dist/models/body-post-recipe-owner-recipes-post.d.ts +1 -1
  72. package/dist/models/body-post-recipe-owner-recipes-post.js +1 -1
  73. package/dist/models/card-public.d.ts +1 -1
  74. package/dist/models/card-public.js +1 -1
  75. package/dist/models/cloud-job-list.d.ts +1 -1
  76. package/dist/models/cloud-job-list.js +1 -1
  77. package/dist/models/cloud-job.d.ts +1 -1
  78. package/dist/models/cloud-job.js +1 -1
  79. package/dist/models/created-content.d.ts +1 -1
  80. package/dist/models/created-content.js +1 -1
  81. package/dist/models/dag.d.ts +1 -1
  82. package/dist/models/dag.js +1 -1
  83. package/dist/models/dagarray-input-alias.d.ts +1 -1
  84. package/dist/models/dagarray-input-alias.js +1 -1
  85. package/dist/models/dagarray-input.d.ts +1 -1
  86. package/dist/models/dagarray-input.js +1 -1
  87. package/dist/models/dagarray-output-alias.d.ts +1 -1
  88. package/dist/models/dagarray-output-alias.js +1 -1
  89. package/dist/models/dagarray-output.d.ts +1 -1
  90. package/dist/models/dagarray-output.js +1 -1
  91. package/dist/models/dagboolean-input-alias.d.ts +1 -1
  92. package/dist/models/dagboolean-input-alias.js +1 -1
  93. package/dist/models/dagboolean-input.d.ts +1 -1
  94. package/dist/models/dagboolean-input.js +1 -1
  95. package/dist/models/dagboolean-output-alias.d.ts +1 -1
  96. package/dist/models/dagboolean-output-alias.js +1 -1
  97. package/dist/models/dagboolean-output.d.ts +1 -1
  98. package/dist/models/dagboolean-output.js +1 -1
  99. package/dist/models/dagfile-input-alias.d.ts +1 -1
  100. package/dist/models/dagfile-input-alias.js +1 -1
  101. package/dist/models/dagfile-input.d.ts +1 -1
  102. package/dist/models/dagfile-input.js +1 -1
  103. package/dist/models/dagfile-output-alias.d.ts +1 -1
  104. package/dist/models/dagfile-output-alias.js +1 -1
  105. package/dist/models/dagfile-output.d.ts +1 -1
  106. package/dist/models/dagfile-output.js +1 -1
  107. package/dist/models/dagfolder-input-alias.d.ts +1 -1
  108. package/dist/models/dagfolder-input-alias.js +1 -1
  109. package/dist/models/dagfolder-input.d.ts +1 -1
  110. package/dist/models/dagfolder-input.js +1 -1
  111. package/dist/models/dagfolder-output-alias.d.ts +1 -1
  112. package/dist/models/dagfolder-output-alias.js +1 -1
  113. package/dist/models/dagfolder-output.d.ts +1 -1
  114. package/dist/models/dagfolder-output.js +1 -1
  115. package/dist/models/daggeneric-input-alias.d.ts +1 -1
  116. package/dist/models/daggeneric-input-alias.js +1 -1
  117. package/dist/models/daggeneric-input.d.ts +1 -1
  118. package/dist/models/daggeneric-input.js +1 -1
  119. package/dist/models/daggeneric-output-alias.d.ts +1 -1
  120. package/dist/models/daggeneric-output-alias.js +1 -1
  121. package/dist/models/daggeneric-output.d.ts +1 -1
  122. package/dist/models/daggeneric-output.js +1 -1
  123. package/dist/models/daginteger-input-alias.d.ts +1 -1
  124. package/dist/models/daginteger-input-alias.js +1 -1
  125. package/dist/models/daginteger-input.d.ts +1 -1
  126. package/dist/models/daginteger-input.js +1 -1
  127. package/dist/models/daginteger-output-alias.d.ts +1 -1
  128. package/dist/models/daginteger-output-alias.js +1 -1
  129. package/dist/models/daginteger-output.d.ts +1 -1
  130. package/dist/models/daginteger-output.js +1 -1
  131. package/dist/models/dagjsonobject-input-alias.d.ts +1 -1
  132. package/dist/models/dagjsonobject-input-alias.js +1 -1
  133. package/dist/models/dagjsonobject-input.d.ts +1 -1
  134. package/dist/models/dagjsonobject-input.js +1 -1
  135. package/dist/models/dagjsonobject-output-alias.d.ts +1 -1
  136. package/dist/models/dagjsonobject-output-alias.js +1 -1
  137. package/dist/models/dagjsonobject-output.d.ts +1 -1
  138. package/dist/models/dagjsonobject-output.js +1 -1
  139. package/dist/models/daglinked-input-alias.d.ts +1 -1
  140. package/dist/models/daglinked-input-alias.js +1 -1
  141. package/dist/models/daglinked-output-alias.d.ts +1 -1
  142. package/dist/models/daglinked-output-alias.js +1 -1
  143. package/dist/models/dagnumber-input-alias.d.ts +1 -1
  144. package/dist/models/dagnumber-input-alias.js +1 -1
  145. package/dist/models/dagnumber-input.d.ts +1 -1
  146. package/dist/models/dagnumber-input.js +1 -1
  147. package/dist/models/dagnumber-output-alias.d.ts +1 -1
  148. package/dist/models/dagnumber-output-alias.js +1 -1
  149. package/dist/models/dagnumber-output.d.ts +1 -1
  150. package/dist/models/dagnumber-output.js +1 -1
  151. package/dist/models/dagpath-input-alias.d.ts +1 -1
  152. package/dist/models/dagpath-input-alias.js +1 -1
  153. package/dist/models/dagpath-input.d.ts +1 -1
  154. package/dist/models/dagpath-input.js +1 -1
  155. package/dist/models/dagpath-output-alias.d.ts +1 -1
  156. package/dist/models/dagpath-output-alias.js +1 -1
  157. package/dist/models/dagpath-output.d.ts +1 -1
  158. package/dist/models/dagpath-output.js +1 -1
  159. package/dist/models/dagstring-input-alias.d.ts +1 -1
  160. package/dist/models/dagstring-input-alias.js +1 -1
  161. package/dist/models/dagstring-input.d.ts +1 -1
  162. package/dist/models/dagstring-input.js +1 -1
  163. package/dist/models/dagstring-output-alias.d.ts +1 -1
  164. package/dist/models/dagstring-output-alias.js +1 -1
  165. package/dist/models/dagstring-output.d.ts +1 -1
  166. package/dist/models/dagstring-output.js +1 -1
  167. package/dist/models/dagtask-loop.d.ts +1 -1
  168. package/dist/models/dagtask-loop.js +1 -1
  169. package/dist/models/dagtask.d.ts +1 -1
  170. package/dist/models/dagtask.js +1 -1
  171. package/dist/models/daily-usage.d.ts +1 -1
  172. package/dist/models/daily-usage.js +1 -1
  173. package/dist/models/dependency-kind.d.ts +1 -1
  174. package/dist/models/dependency-kind.js +1 -1
  175. package/dist/models/dependency.d.ts +1 -1
  176. package/dist/models/dependency.js +1 -1
  177. package/dist/models/docker-config.d.ts +1 -1
  178. package/dist/models/docker-config.js +1 -1
  179. package/dist/models/file-meta.d.ts +1 -1
  180. package/dist/models/file-meta.js +1 -1
  181. package/dist/models/file-reference.d.ts +1 -1
  182. package/dist/models/file-reference.js +1 -1
  183. package/dist/models/folder-reference.d.ts +1 -1
  184. package/dist/models/folder-reference.js +1 -1
  185. package/dist/models/function-array-input.d.ts +1 -1
  186. package/dist/models/function-array-input.js +1 -1
  187. package/dist/models/function-array-output.d.ts +1 -1
  188. package/dist/models/function-array-output.js +1 -1
  189. package/dist/models/function-boolean-input.d.ts +1 -1
  190. package/dist/models/function-boolean-input.js +1 -1
  191. package/dist/models/function-boolean-output.d.ts +1 -1
  192. package/dist/models/function-boolean-output.js +1 -1
  193. package/dist/models/function-file-input.d.ts +1 -1
  194. package/dist/models/function-file-input.js +1 -1
  195. package/dist/models/function-file-output.d.ts +1 -1
  196. package/dist/models/function-file-output.js +1 -1
  197. package/dist/models/function-folder-input.d.ts +1 -1
  198. package/dist/models/function-folder-input.js +1 -1
  199. package/dist/models/function-folder-output.d.ts +1 -1
  200. package/dist/models/function-folder-output.js +1 -1
  201. package/dist/models/function-integer-input.d.ts +1 -1
  202. package/dist/models/function-integer-input.js +1 -1
  203. package/dist/models/function-integer-output.d.ts +1 -1
  204. package/dist/models/function-integer-output.js +1 -1
  205. package/dist/models/function-jsonobject-input.d.ts +1 -1
  206. package/dist/models/function-jsonobject-input.js +1 -1
  207. package/dist/models/function-jsonobject-output.d.ts +1 -1
  208. package/dist/models/function-jsonobject-output.js +1 -1
  209. package/dist/models/function-number-input.d.ts +1 -1
  210. package/dist/models/function-number-input.js +1 -1
  211. package/dist/models/function-number-output.d.ts +1 -1
  212. package/dist/models/function-number-output.js +1 -1
  213. package/dist/models/function-path-input.d.ts +1 -1
  214. package/dist/models/function-path-input.js +1 -1
  215. package/dist/models/function-path-output.d.ts +1 -1
  216. package/dist/models/function-path-output.js +1 -1
  217. package/dist/models/function-string-input.d.ts +1 -1
  218. package/dist/models/function-string-input.js +1 -1
  219. package/dist/models/function-string-output.d.ts +1 -1
  220. package/dist/models/function-string-output.js +1 -1
  221. package/dist/models/function.d.ts +1 -1
  222. package/dist/models/function.js +1 -1
  223. package/dist/models/http.d.ts +1 -1
  224. package/dist/models/http.js +1 -1
  225. package/dist/models/httpvalidation-error.d.ts +1 -1
  226. package/dist/models/httpvalidation-error.js +1 -1
  227. package/dist/models/index.d.ts +3 -0
  228. package/dist/models/index.js +3 -0
  229. package/dist/models/input-file-reference.d.ts +1 -1
  230. package/dist/models/input-file-reference.js +1 -1
  231. package/dist/models/input-folder-reference.d.ts +1 -1
  232. package/dist/models/input-folder-reference.js +1 -1
  233. package/dist/models/input-path-reference.d.ts +1 -1
  234. package/dist/models/input-path-reference.js +1 -1
  235. package/dist/models/input-reference.d.ts +1 -1
  236. package/dist/models/input-reference.js +1 -1
  237. package/dist/models/inventory.d.ts +1 -1
  238. package/dist/models/inventory.js +1 -1
  239. package/dist/models/invoice-list.d.ts +1 -1
  240. package/dist/models/invoice-list.js +1 -1
  241. package/dist/models/invoice-preview.d.ts +15 -1
  242. package/dist/models/invoice-preview.js +1 -1
  243. package/dist/models/invoice-status-transitions.d.ts +42 -0
  244. package/dist/models/invoice-status-transitions.js +15 -0
  245. package/dist/models/invoice-status.d.ts +1 -1
  246. package/dist/models/invoice-status.js +1 -1
  247. package/dist/models/invoice.d.ts +8 -1
  248. package/dist/models/invoice.js +1 -1
  249. package/dist/models/ioalias-handler.d.ts +1 -1
  250. package/dist/models/ioalias-handler.js +1 -1
  251. package/dist/models/item-reference.d.ts +1 -1
  252. package/dist/models/item-reference.js +1 -1
  253. package/dist/models/item-type.d.ts +1 -1
  254. package/dist/models/item-type.js +1 -1
  255. package/dist/models/job-argument.d.ts +1 -1
  256. package/dist/models/job-argument.js +1 -1
  257. package/dist/models/job-path-argument.d.ts +1 -1
  258. package/dist/models/job-path-argument.js +1 -1
  259. package/dist/models/job-status-enum.d.ts +1 -1
  260. package/dist/models/job-status-enum.js +1 -1
  261. package/dist/models/job-status.d.ts +1 -1
  262. package/dist/models/job-status.js +1 -1
  263. package/dist/models/job.d.ts +1 -1
  264. package/dist/models/job.js +1 -1
  265. package/dist/models/key-request.d.ts +1 -1
  266. package/dist/models/key-request.js +1 -1
  267. package/dist/models/license.d.ts +1 -1
  268. package/dist/models/license.js +1 -1
  269. package/dist/models/line-item-list.d.ts +1 -1
  270. package/dist/models/line-item-list.js +1 -1
  271. package/dist/models/line-item.d.ts +1 -1
  272. package/dist/models/line-item.js +1 -1
  273. package/dist/models/local-config.d.ts +1 -1
  274. package/dist/models/local-config.js +1 -1
  275. package/dist/models/maintainer.d.ts +1 -1
  276. package/dist/models/maintainer.js +1 -1
  277. package/dist/models/meta-data.d.ts +1 -1
  278. package/dist/models/meta-data.js +1 -1
  279. package/dist/models/new-plugin-package.d.ts +1 -1
  280. package/dist/models/new-plugin-package.js +1 -1
  281. package/dist/models/new-recipe-package.d.ts +1 -1
  282. package/dist/models/new-recipe-package.js +1 -1
  283. package/dist/models/new-subscription-item.d.ts +1 -1
  284. package/dist/models/new-subscription-item.js +1 -1
  285. package/dist/models/organization-create.d.ts +1 -1
  286. package/dist/models/organization-create.js +1 -1
  287. package/dist/models/organization-list.d.ts +1 -1
  288. package/dist/models/organization-list.js +1 -1
  289. package/dist/models/organization-member-list.d.ts +1 -1
  290. package/dist/models/organization-member-list.js +1 -1
  291. package/dist/models/organization-member.d.ts +1 -1
  292. package/dist/models/organization-member.js +1 -1
  293. package/dist/models/organization-role-enum.d.ts +1 -1
  294. package/dist/models/organization-role-enum.js +1 -1
  295. package/dist/models/organization-update.d.ts +1 -1
  296. package/dist/models/organization-update.js +1 -1
  297. package/dist/models/organization.d.ts +1 -1
  298. package/dist/models/organization.js +1 -1
  299. package/dist/models/package-sort-key.d.ts +1 -1
  300. package/dist/models/package-sort-key.js +1 -1
  301. package/dist/models/package-version.d.ts +1 -1
  302. package/dist/models/package-version.js +1 -1
  303. package/dist/models/payment-create.d.ts +1 -1
  304. package/dist/models/payment-create.js +1 -1
  305. package/dist/models/payment-intent.d.ts +24 -0
  306. package/dist/models/payment-intent.js +15 -0
  307. package/dist/models/payment-method-list.d.ts +1 -1
  308. package/dist/models/payment-method-list.js +1 -1
  309. package/dist/models/payment-setup.d.ts +2 -2
  310. package/dist/models/payment-setup.js +1 -1
  311. package/dist/models/period.d.ts +1 -1
  312. package/dist/models/period.js +1 -1
  313. package/dist/models/permission.d.ts +1 -1
  314. package/dist/models/permission.js +1 -1
  315. package/dist/models/plugin-config.d.ts +1 -1
  316. package/dist/models/plugin-config.js +1 -1
  317. package/dist/models/plugin-package-list.d.ts +1 -1
  318. package/dist/models/plugin-package-list.js +1 -1
  319. package/dist/models/plugin-package.d.ts +1 -1
  320. package/dist/models/plugin-package.js +1 -1
  321. package/dist/models/plugin.d.ts +1 -1
  322. package/dist/models/plugin.js +1 -1
  323. package/dist/models/policy-subject.d.ts +1 -1
  324. package/dist/models/policy-subject.js +1 -1
  325. package/dist/models/price-recurrence.d.ts +1 -1
  326. package/dist/models/price-recurrence.js +1 -1
  327. package/dist/models/price-tier.d.ts +1 -1
  328. package/dist/models/price-tier.js +1 -1
  329. package/dist/models/price-type.d.ts +1 -1
  330. package/dist/models/price-type.js +1 -1
  331. package/dist/models/price.d.ts +1 -1
  332. package/dist/models/price.js +1 -1
  333. package/dist/models/product-family.d.ts +1 -1
  334. package/dist/models/product-family.js +1 -1
  335. package/dist/models/project-access-policy-list.d.ts +1 -1
  336. package/dist/models/project-access-policy-list.js +1 -1
  337. package/dist/models/project-access-policy.d.ts +1 -1
  338. package/dist/models/project-access-policy.js +1 -1
  339. package/dist/models/project-create.d.ts +1 -1
  340. package/dist/models/project-create.js +1 -1
  341. package/dist/models/project-folder.d.ts +1 -1
  342. package/dist/models/project-folder.js +1 -1
  343. package/dist/models/project-list.d.ts +1 -1
  344. package/dist/models/project-list.js +1 -1
  345. package/dist/models/project-policy-subject.d.ts +1 -1
  346. package/dist/models/project-policy-subject.js +1 -1
  347. package/dist/models/project-recipe-filter-list.d.ts +1 -1
  348. package/dist/models/project-recipe-filter-list.js +1 -1
  349. package/dist/models/project-recipe-filter.d.ts +1 -1
  350. package/dist/models/project-recipe-filter.js +1 -1
  351. package/dist/models/project-sort-key.d.ts +1 -1
  352. package/dist/models/project-sort-key.js +1 -1
  353. package/dist/models/project-update.d.ts +1 -1
  354. package/dist/models/project-update.js +1 -1
  355. package/dist/models/project.d.ts +1 -1
  356. package/dist/models/project.js +1 -1
  357. package/dist/models/public-account-list.d.ts +1 -1
  358. package/dist/models/public-account-list.js +1 -1
  359. package/dist/models/quota-list.d.ts +1 -1
  360. package/dist/models/quota-list.js +1 -1
  361. package/dist/models/quota-type.d.ts +1 -1
  362. package/dist/models/quota-type.js +1 -1
  363. package/dist/models/quota.d.ts +1 -1
  364. package/dist/models/quota.js +1 -1
  365. package/dist/models/recipe-interface-list.d.ts +1 -1
  366. package/dist/models/recipe-interface-list.js +1 -1
  367. package/dist/models/recipe-interface.d.ts +1 -1
  368. package/dist/models/recipe-interface.js +1 -1
  369. package/dist/models/recipe-package-list.d.ts +1 -1
  370. package/dist/models/recipe-package-list.js +1 -1
  371. package/dist/models/recipe-package.d.ts +1 -1
  372. package/dist/models/recipe-package.js +1 -1
  373. package/dist/models/recipe.d.ts +1 -1
  374. package/dist/models/recipe.js +1 -1
  375. package/dist/models/repository-access-policy-list.d.ts +1 -1
  376. package/dist/models/repository-access-policy-list.js +1 -1
  377. package/dist/models/repository-access-policy.d.ts +1 -1
  378. package/dist/models/repository-access-policy.js +1 -1
  379. package/dist/models/repository-create.d.ts +1 -1
  380. package/dist/models/repository-create.js +1 -1
  381. package/dist/models/repository-index.d.ts +1 -1
  382. package/dist/models/repository-index.js +1 -1
  383. package/dist/models/repository-list.d.ts +1 -1
  384. package/dist/models/repository-list.js +1 -1
  385. package/dist/models/repository-metadata.d.ts +1 -1
  386. package/dist/models/repository-metadata.js +1 -1
  387. package/dist/models/repository-policy-subject.d.ts +1 -1
  388. package/dist/models/repository-policy-subject.js +1 -1
  389. package/dist/models/repository-sort-key.d.ts +1 -1
  390. package/dist/models/repository-sort-key.js +1 -1
  391. package/dist/models/repository-update.d.ts +1 -1
  392. package/dist/models/repository-update.js +1 -1
  393. package/dist/models/repository-user-permissions.d.ts +1 -1
  394. package/dist/models/repository-user-permissions.js +1 -1
  395. package/dist/models/repository.d.ts +1 -1
  396. package/dist/models/repository.js +1 -1
  397. package/dist/models/resources-duration.d.ts +1 -1
  398. package/dist/models/resources-duration.js +1 -1
  399. package/dist/models/role-enum.d.ts +1 -1
  400. package/dist/models/role-enum.js +1 -1
  401. package/dist/models/run-list.d.ts +1 -1
  402. package/dist/models/run-list.js +1 -1
  403. package/dist/models/run-meta.d.ts +1 -1
  404. package/dist/models/run-meta.js +1 -1
  405. package/dist/models/run-progress.d.ts +1 -1
  406. package/dist/models/run-progress.js +1 -1
  407. package/dist/models/run-result-list.d.ts +1 -1
  408. package/dist/models/run-result-list.js +1 -1
  409. package/dist/models/run-status-enum.d.ts +1 -1
  410. package/dist/models/run-status-enum.js +1 -1
  411. package/dist/models/run-status.d.ts +1 -1
  412. package/dist/models/run-status.js +1 -1
  413. package/dist/models/run.d.ts +1 -1
  414. package/dist/models/run.js +1 -1
  415. package/dist/models/s3-upload-request.d.ts +1 -1
  416. package/dist/models/s3-upload-request.js +1 -1
  417. package/dist/models/s3.d.ts +1 -1
  418. package/dist/models/s3.js +1 -1
  419. package/dist/models/sort-enum.d.ts +1 -1
  420. package/dist/models/sort-enum.js +1 -1
  421. package/dist/models/status-type.d.ts +1 -1
  422. package/dist/models/status-type.js +1 -1
  423. package/dist/models/step-array-input.d.ts +1 -1
  424. package/dist/models/step-array-input.js +1 -1
  425. package/dist/models/step-array-output.d.ts +1 -1
  426. package/dist/models/step-array-output.js +1 -1
  427. package/dist/models/step-boolean-input.d.ts +1 -1
  428. package/dist/models/step-boolean-input.js +1 -1
  429. package/dist/models/step-boolean-output.d.ts +1 -1
  430. package/dist/models/step-boolean-output.js +1 -1
  431. package/dist/models/step-file-input.d.ts +1 -1
  432. package/dist/models/step-file-input.js +1 -1
  433. package/dist/models/step-file-output.d.ts +1 -1
  434. package/dist/models/step-file-output.js +1 -1
  435. package/dist/models/step-folder-input.d.ts +1 -1
  436. package/dist/models/step-folder-input.js +1 -1
  437. package/dist/models/step-folder-output.d.ts +1 -1
  438. package/dist/models/step-folder-output.js +1 -1
  439. package/dist/models/step-integer-input.d.ts +1 -1
  440. package/dist/models/step-integer-input.js +1 -1
  441. package/dist/models/step-integer-output.d.ts +1 -1
  442. package/dist/models/step-integer-output.js +1 -1
  443. package/dist/models/step-jsonobject-input.d.ts +1 -1
  444. package/dist/models/step-jsonobject-input.js +1 -1
  445. package/dist/models/step-jsonobject-output.d.ts +1 -1
  446. package/dist/models/step-jsonobject-output.js +1 -1
  447. package/dist/models/step-list.d.ts +1 -1
  448. package/dist/models/step-list.js +1 -1
  449. package/dist/models/step-number-input.d.ts +1 -1
  450. package/dist/models/step-number-input.js +1 -1
  451. package/dist/models/step-number-output.d.ts +1 -1
  452. package/dist/models/step-number-output.js +1 -1
  453. package/dist/models/step-path-input.d.ts +1 -1
  454. package/dist/models/step-path-input.js +1 -1
  455. package/dist/models/step-path-output.d.ts +1 -1
  456. package/dist/models/step-path-output.js +1 -1
  457. package/dist/models/step-status-enum.d.ts +1 -1
  458. package/dist/models/step-status-enum.js +1 -1
  459. package/dist/models/step-status.d.ts +1 -1
  460. package/dist/models/step-status.js +1 -1
  461. package/dist/models/step-string-input.d.ts +1 -1
  462. package/dist/models/step-string-input.js +1 -1
  463. package/dist/models/step-string-output.d.ts +1 -1
  464. package/dist/models/step-string-output.js +1 -1
  465. package/dist/models/subject-type.d.ts +1 -1
  466. package/dist/models/subject-type.js +1 -1
  467. package/dist/models/subscription-create.d.ts +1 -1
  468. package/dist/models/subscription-create.js +1 -1
  469. package/dist/models/subscription-item-list.d.ts +1 -1
  470. package/dist/models/subscription-item-list.js +1 -1
  471. package/dist/models/subscription-item.d.ts +1 -1
  472. package/dist/models/subscription-item.js +1 -1
  473. package/dist/models/subscription-update.d.ts +38 -0
  474. package/dist/models/subscription-update.js +15 -0
  475. package/dist/models/subscription.d.ts +1 -1
  476. package/dist/models/subscription.js +1 -1
  477. package/dist/models/task-argument.d.ts +1 -1
  478. package/dist/models/task-argument.js +1 -1
  479. package/dist/models/task-file-reference.d.ts +1 -1
  480. package/dist/models/task-file-reference.js +1 -1
  481. package/dist/models/task-folder-reference.d.ts +1 -1
  482. package/dist/models/task-folder-reference.js +1 -1
  483. package/dist/models/task-path-argument.d.ts +1 -1
  484. package/dist/models/task-path-argument.js +1 -1
  485. package/dist/models/task-path-reference.d.ts +1 -1
  486. package/dist/models/task-path-reference.js +1 -1
  487. package/dist/models/task-path-return.d.ts +1 -1
  488. package/dist/models/task-path-return.js +1 -1
  489. package/dist/models/task-reference.d.ts +1 -1
  490. package/dist/models/task-reference.js +1 -1
  491. package/dist/models/task-return.d.ts +1 -1
  492. package/dist/models/task-return.js +1 -1
  493. package/dist/models/team-create.d.ts +1 -1
  494. package/dist/models/team-create.js +1 -1
  495. package/dist/models/team-list.d.ts +1 -1
  496. package/dist/models/team-list.js +1 -1
  497. package/dist/models/team-member-list.d.ts +1 -1
  498. package/dist/models/team-member-list.js +1 -1
  499. package/dist/models/team-member.d.ts +1 -1
  500. package/dist/models/team-member.js +1 -1
  501. package/dist/models/team-role-enum.d.ts +1 -1
  502. package/dist/models/team-role-enum.js +1 -1
  503. package/dist/models/team-update.d.ts +1 -1
  504. package/dist/models/team-update.js +1 -1
  505. package/dist/models/team.d.ts +1 -1
  506. package/dist/models/team.js +1 -1
  507. package/dist/models/template-function.d.ts +1 -1
  508. package/dist/models/template-function.js +1 -1
  509. package/dist/models/update-accepted.d.ts +1 -1
  510. package/dist/models/update-accepted.js +1 -1
  511. package/dist/models/usage.d.ts +1 -1
  512. package/dist/models/usage.js +1 -1
  513. package/dist/models/user-create.d.ts +1 -1
  514. package/dist/models/user-create.js +1 -1
  515. package/dist/models/user-permission.d.ts +1 -1
  516. package/dist/models/user-permission.js +1 -1
  517. package/dist/models/user-private.d.ts +1 -1
  518. package/dist/models/user-private.js +1 -1
  519. package/dist/models/user-public-list.d.ts +1 -1
  520. package/dist/models/user-public-list.js +1 -1
  521. package/dist/models/user-public.d.ts +1 -1
  522. package/dist/models/user-public.js +1 -1
  523. package/dist/models/user-update.d.ts +1 -1
  524. package/dist/models/user-update.js +1 -1
  525. package/dist/models/validation-error.d.ts +1 -1
  526. package/dist/models/validation-error.js +1 -1
  527. package/dist/models/value-file-reference.d.ts +1 -1
  528. package/dist/models/value-file-reference.js +1 -1
  529. package/dist/models/value-folder-reference.d.ts +1 -1
  530. package/dist/models/value-folder-reference.js +1 -1
  531. package/dist/models/value-list-reference.d.ts +1 -1
  532. package/dist/models/value-list-reference.js +1 -1
  533. package/dist/models/value-reference.d.ts +1 -1
  534. package/dist/models/value-reference.js +1 -1
  535. package/index.ts +1 -1
  536. package/models/account-public.ts +1 -1
  537. package/models/apitoken-create.ts +1 -1
  538. package/models/apitoken-list.ts +1 -1
  539. package/models/apitoken-private.ts +1 -1
  540. package/models/apitoken.ts +1 -1
  541. package/models/baked-recipe.ts +1 -1
  542. package/models/body-post-plugin-owner-plugins-post.ts +1 -1
  543. package/models/body-post-recipe-owner-recipes-post.ts +1 -1
  544. package/models/card-public.ts +1 -1
  545. package/models/cloud-job-list.ts +1 -1
  546. package/models/cloud-job.ts +1 -1
  547. package/models/created-content.ts +1 -1
  548. package/models/dag.ts +1 -1
  549. package/models/dagarray-input-alias.ts +1 -1
  550. package/models/dagarray-input.ts +1 -1
  551. package/models/dagarray-output-alias.ts +1 -1
  552. package/models/dagarray-output.ts +1 -1
  553. package/models/dagboolean-input-alias.ts +1 -1
  554. package/models/dagboolean-input.ts +1 -1
  555. package/models/dagboolean-output-alias.ts +1 -1
  556. package/models/dagboolean-output.ts +1 -1
  557. package/models/dagfile-input-alias.ts +1 -1
  558. package/models/dagfile-input.ts +1 -1
  559. package/models/dagfile-output-alias.ts +1 -1
  560. package/models/dagfile-output.ts +1 -1
  561. package/models/dagfolder-input-alias.ts +1 -1
  562. package/models/dagfolder-input.ts +1 -1
  563. package/models/dagfolder-output-alias.ts +1 -1
  564. package/models/dagfolder-output.ts +1 -1
  565. package/models/daggeneric-input-alias.ts +1 -1
  566. package/models/daggeneric-input.ts +1 -1
  567. package/models/daggeneric-output-alias.ts +1 -1
  568. package/models/daggeneric-output.ts +1 -1
  569. package/models/daginteger-input-alias.ts +1 -1
  570. package/models/daginteger-input.ts +1 -1
  571. package/models/daginteger-output-alias.ts +1 -1
  572. package/models/daginteger-output.ts +1 -1
  573. package/models/dagjsonobject-input-alias.ts +1 -1
  574. package/models/dagjsonobject-input.ts +1 -1
  575. package/models/dagjsonobject-output-alias.ts +1 -1
  576. package/models/dagjsonobject-output.ts +1 -1
  577. package/models/daglinked-input-alias.ts +1 -1
  578. package/models/daglinked-output-alias.ts +1 -1
  579. package/models/dagnumber-input-alias.ts +1 -1
  580. package/models/dagnumber-input.ts +1 -1
  581. package/models/dagnumber-output-alias.ts +1 -1
  582. package/models/dagnumber-output.ts +1 -1
  583. package/models/dagpath-input-alias.ts +1 -1
  584. package/models/dagpath-input.ts +1 -1
  585. package/models/dagpath-output-alias.ts +1 -1
  586. package/models/dagpath-output.ts +1 -1
  587. package/models/dagstring-input-alias.ts +1 -1
  588. package/models/dagstring-input.ts +1 -1
  589. package/models/dagstring-output-alias.ts +1 -1
  590. package/models/dagstring-output.ts +1 -1
  591. package/models/dagtask-loop.ts +1 -1
  592. package/models/dagtask.ts +1 -1
  593. package/models/daily-usage.ts +1 -1
  594. package/models/dependency-kind.ts +1 -1
  595. package/models/dependency.ts +1 -1
  596. package/models/docker-config.ts +1 -1
  597. package/models/file-meta.ts +1 -1
  598. package/models/file-reference.ts +1 -1
  599. package/models/folder-reference.ts +1 -1
  600. package/models/function-array-input.ts +1 -1
  601. package/models/function-array-output.ts +1 -1
  602. package/models/function-boolean-input.ts +1 -1
  603. package/models/function-boolean-output.ts +1 -1
  604. package/models/function-file-input.ts +1 -1
  605. package/models/function-file-output.ts +1 -1
  606. package/models/function-folder-input.ts +1 -1
  607. package/models/function-folder-output.ts +1 -1
  608. package/models/function-integer-input.ts +1 -1
  609. package/models/function-integer-output.ts +1 -1
  610. package/models/function-jsonobject-input.ts +1 -1
  611. package/models/function-jsonobject-output.ts +1 -1
  612. package/models/function-number-input.ts +1 -1
  613. package/models/function-number-output.ts +1 -1
  614. package/models/function-path-input.ts +1 -1
  615. package/models/function-path-output.ts +1 -1
  616. package/models/function-string-input.ts +1 -1
  617. package/models/function-string-output.ts +1 -1
  618. package/models/function.ts +1 -1
  619. package/models/http.ts +1 -1
  620. package/models/httpvalidation-error.ts +1 -1
  621. package/models/index.ts +3 -0
  622. package/models/input-file-reference.ts +1 -1
  623. package/models/input-folder-reference.ts +1 -1
  624. package/models/input-path-reference.ts +1 -1
  625. package/models/input-reference.ts +1 -1
  626. package/models/inventory.ts +1 -1
  627. package/models/invoice-list.ts +1 -1
  628. package/models/invoice-preview.ts +15 -1
  629. package/models/invoice-status-transitions.ts +49 -0
  630. package/models/invoice-status.ts +1 -1
  631. package/models/invoice.ts +8 -1
  632. package/models/ioalias-handler.ts +1 -1
  633. package/models/item-reference.ts +1 -1
  634. package/models/item-type.ts +1 -1
  635. package/models/job-argument.ts +1 -1
  636. package/models/job-path-argument.ts +1 -1
  637. package/models/job-status-enum.ts +1 -1
  638. package/models/job-status.ts +1 -1
  639. package/models/job.ts +1 -1
  640. package/models/key-request.ts +1 -1
  641. package/models/license.ts +1 -1
  642. package/models/line-item-list.ts +1 -1
  643. package/models/line-item.ts +1 -1
  644. package/models/local-config.ts +1 -1
  645. package/models/maintainer.ts +1 -1
  646. package/models/meta-data.ts +1 -1
  647. package/models/new-plugin-package.ts +1 -1
  648. package/models/new-recipe-package.ts +1 -1
  649. package/models/new-subscription-item.ts +1 -1
  650. package/models/organization-create.ts +1 -1
  651. package/models/organization-list.ts +1 -1
  652. package/models/organization-member-list.ts +1 -1
  653. package/models/organization-member.ts +1 -1
  654. package/models/organization-role-enum.ts +1 -1
  655. package/models/organization-update.ts +1 -1
  656. package/models/organization.ts +1 -1
  657. package/models/package-sort-key.ts +1 -1
  658. package/models/package-version.ts +1 -1
  659. package/models/payment-create.ts +1 -1
  660. package/models/payment-intent.ts +31 -0
  661. package/models/payment-method-list.ts +1 -1
  662. package/models/payment-setup.ts +2 -2
  663. package/models/period.ts +1 -1
  664. package/models/permission.ts +1 -1
  665. package/models/plugin-config.ts +1 -1
  666. package/models/plugin-package-list.ts +1 -1
  667. package/models/plugin-package.ts +1 -1
  668. package/models/plugin.ts +1 -1
  669. package/models/policy-subject.ts +1 -1
  670. package/models/price-recurrence.ts +1 -1
  671. package/models/price-tier.ts +1 -1
  672. package/models/price-type.ts +1 -1
  673. package/models/price.ts +1 -1
  674. package/models/product-family.ts +1 -1
  675. package/models/project-access-policy-list.ts +1 -1
  676. package/models/project-access-policy.ts +1 -1
  677. package/models/project-create.ts +1 -1
  678. package/models/project-folder.ts +1 -1
  679. package/models/project-list.ts +1 -1
  680. package/models/project-policy-subject.ts +1 -1
  681. package/models/project-recipe-filter-list.ts +1 -1
  682. package/models/project-recipe-filter.ts +1 -1
  683. package/models/project-sort-key.ts +1 -1
  684. package/models/project-update.ts +1 -1
  685. package/models/project.ts +1 -1
  686. package/models/public-account-list.ts +1 -1
  687. package/models/quota-list.ts +1 -1
  688. package/models/quota-type.ts +1 -1
  689. package/models/quota.ts +1 -1
  690. package/models/recipe-interface-list.ts +1 -1
  691. package/models/recipe-interface.ts +1 -1
  692. package/models/recipe-package-list.ts +1 -1
  693. package/models/recipe-package.ts +1 -1
  694. package/models/recipe.ts +1 -1
  695. package/models/repository-access-policy-list.ts +1 -1
  696. package/models/repository-access-policy.ts +1 -1
  697. package/models/repository-create.ts +1 -1
  698. package/models/repository-index.ts +1 -1
  699. package/models/repository-list.ts +1 -1
  700. package/models/repository-metadata.ts +1 -1
  701. package/models/repository-policy-subject.ts +1 -1
  702. package/models/repository-sort-key.ts +1 -1
  703. package/models/repository-update.ts +1 -1
  704. package/models/repository-user-permissions.ts +1 -1
  705. package/models/repository.ts +1 -1
  706. package/models/resources-duration.ts +1 -1
  707. package/models/role-enum.ts +1 -1
  708. package/models/run-list.ts +1 -1
  709. package/models/run-meta.ts +1 -1
  710. package/models/run-progress.ts +1 -1
  711. package/models/run-result-list.ts +1 -1
  712. package/models/run-status-enum.ts +1 -1
  713. package/models/run-status.ts +1 -1
  714. package/models/run.ts +1 -1
  715. package/models/s3-upload-request.ts +1 -1
  716. package/models/s3.ts +1 -1
  717. package/models/sort-enum.ts +1 -1
  718. package/models/status-type.ts +1 -1
  719. package/models/step-array-input.ts +1 -1
  720. package/models/step-array-output.ts +1 -1
  721. package/models/step-boolean-input.ts +1 -1
  722. package/models/step-boolean-output.ts +1 -1
  723. package/models/step-file-input.ts +1 -1
  724. package/models/step-file-output.ts +1 -1
  725. package/models/step-folder-input.ts +1 -1
  726. package/models/step-folder-output.ts +1 -1
  727. package/models/step-integer-input.ts +1 -1
  728. package/models/step-integer-output.ts +1 -1
  729. package/models/step-jsonobject-input.ts +1 -1
  730. package/models/step-jsonobject-output.ts +1 -1
  731. package/models/step-list.ts +1 -1
  732. package/models/step-number-input.ts +1 -1
  733. package/models/step-number-output.ts +1 -1
  734. package/models/step-path-input.ts +1 -1
  735. package/models/step-path-output.ts +1 -1
  736. package/models/step-status-enum.ts +1 -1
  737. package/models/step-status.ts +1 -1
  738. package/models/step-string-input.ts +1 -1
  739. package/models/step-string-output.ts +1 -1
  740. package/models/subject-type.ts +1 -1
  741. package/models/subscription-create.ts +1 -1
  742. package/models/subscription-item-list.ts +1 -1
  743. package/models/subscription-item.ts +1 -1
  744. package/models/subscription-update.ts +45 -0
  745. package/models/subscription.ts +1 -1
  746. package/models/task-argument.ts +1 -1
  747. package/models/task-file-reference.ts +1 -1
  748. package/models/task-folder-reference.ts +1 -1
  749. package/models/task-path-argument.ts +1 -1
  750. package/models/task-path-reference.ts +1 -1
  751. package/models/task-path-return.ts +1 -1
  752. package/models/task-reference.ts +1 -1
  753. package/models/task-return.ts +1 -1
  754. package/models/team-create.ts +1 -1
  755. package/models/team-list.ts +1 -1
  756. package/models/team-member-list.ts +1 -1
  757. package/models/team-member.ts +1 -1
  758. package/models/team-role-enum.ts +1 -1
  759. package/models/team-update.ts +1 -1
  760. package/models/team.ts +1 -1
  761. package/models/template-function.ts +1 -1
  762. package/models/update-accepted.ts +1 -1
  763. package/models/usage.ts +1 -1
  764. package/models/user-create.ts +1 -1
  765. package/models/user-permission.ts +1 -1
  766. package/models/user-private.ts +1 -1
  767. package/models/user-public-list.ts +1 -1
  768. package/models/user-public.ts +1 -1
  769. package/models/user-update.ts +1 -1
  770. package/models/validation-error.ts +1 -1
  771. package/models/value-file-reference.ts +1 -1
  772. package/models/value-folder-reference.ts +1 -1
  773. package/models/value-list-reference.ts +1 -1
  774. package/models/value-reference.ts +1 -1
  775. package/package.json +1 -1
@@ -5,7 +5,7 @@
5
5
  * pollination-server
6
6
  * Pollination Server OpenAPI Definition
7
7
  *
8
- * The version of the OpenAPI document: 0.18.0-beta.3
8
+ * The version of the OpenAPI document: 0.18.0-beta.7
9
9
  * Contact: info@pollination.cloud
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * pollination-server
3
3
  * Pollination Server OpenAPI Definition
4
4
  *
5
- * The version of the OpenAPI document: 0.18.0-beta.3
5
+ * The version of the OpenAPI document: 0.18.0-beta.7
6
6
  * Contact: info@pollination.cloud
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * pollination-server
6
6
  * Pollination Server OpenAPI Definition
7
7
  *
8
- * The version of the OpenAPI document: 0.18.0-beta.3
8
+ * The version of the OpenAPI document: 0.18.0-beta.7
9
9
  * Contact: info@pollination.cloud
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * pollination-server
3
3
  * Pollination Server OpenAPI Definition
4
4
  *
5
- * The version of the OpenAPI document: 0.18.0-beta.3
5
+ * The version of the OpenAPI document: 0.18.0-beta.7
6
6
  * Contact: info@pollination.cloud
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * pollination-server
6
6
  * Pollination Server OpenAPI Definition
7
7
  *
8
- * The version of the OpenAPI document: 0.18.0-beta.3
8
+ * The version of the OpenAPI document: 0.18.0-beta.7
9
9
  * Contact: info@pollination.cloud
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * pollination-server
3
3
  * Pollination Server OpenAPI Definition
4
4
  *
5
- * The version of the OpenAPI document: 0.18.0-beta.3
5
+ * The version of the OpenAPI document: 0.18.0-beta.7
6
6
  * Contact: info@pollination.cloud
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * pollination-server
6
6
  * Pollination Server OpenAPI Definition
7
7
  *
8
- * The version of the OpenAPI document: 0.18.0-beta.3
8
+ * The version of the OpenAPI document: 0.18.0-beta.7
9
9
  * Contact: info@pollination.cloud
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * pollination-server
3
3
  * Pollination Server OpenAPI Definition
4
4
  *
5
- * The version of the OpenAPI document: 0.18.0-beta.3
5
+ * The version of the OpenAPI document: 0.18.0-beta.7
6
6
  * Contact: info@pollination.cloud
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * pollination-server
6
6
  * Pollination Server OpenAPI Definition
7
7
  *
8
- * The version of the OpenAPI document: 0.18.0-beta.3
8
+ * The version of the OpenAPI document: 0.18.0-beta.7
9
9
  * Contact: info@pollination.cloud
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * pollination-server
3
3
  * Pollination Server OpenAPI Definition
4
4
  *
5
- * The version of the OpenAPI document: 0.18.0-beta.3
5
+ * The version of the OpenAPI document: 0.18.0-beta.7
6
6
  * Contact: info@pollination.cloud
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -12,15 +12,18 @@
12
12
  import { AxiosPromise, AxiosInstance } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
+ import { CardPublic } from '../models';
15
16
  import { CreatedContent } from '../models';
16
17
  import { Inventory } from '../models';
17
18
  import { InvoiceList } from '../models';
18
19
  import { InvoicePreview } from '../models';
19
20
  import { PaymentCreate } from '../models';
21
+ import { PaymentIntent } from '../models';
20
22
  import { PaymentMethodList } from '../models';
21
23
  import { PaymentSetup } from '../models';
22
24
  import { Subscription } from '../models';
23
25
  import { SubscriptionCreate } from '../models';
26
+ import { SubscriptionUpdate } from '../models';
24
27
  /**
25
28
  * PaymentsApi - axios parameter creator
26
29
  * @export
@@ -44,6 +47,22 @@ export declare const PaymentsApiAxiosParamCreator: (configuration?: Configuratio
44
47
  * @throws {RequiredError}
45
48
  */
46
49
  createSubscription: (accountName: string, subscriptionCreate: SubscriptionCreate, options?: any) => Promise<RequestArgs>;
50
+ /**
51
+ *
52
+ * @summary Get Default Payment Method
53
+ * @param {string} accountName
54
+ * @param {*} [options] Override http request option.
55
+ * @throws {RequiredError}
56
+ */
57
+ getDefaultPaymentMethod: (accountName: string, options?: any) => Promise<RequestArgs>;
58
+ /**
59
+ *
60
+ * @summary Get Failed Payment
61
+ * @param {string} accountName
62
+ * @param {*} [options] Override http request option.
63
+ * @throws {RequiredError}
64
+ */
65
+ getFailedPayment: (accountName: string, options?: any) => Promise<RequestArgs>;
47
66
  /**
48
67
  *
49
68
  * @summary Get Inventory
@@ -87,6 +106,15 @@ export declare const PaymentsApiAxiosParamCreator: (configuration?: Configuratio
87
106
  * @throws {RequiredError}
88
107
  */
89
108
  listPaymentMethods: (accountName: string, options?: any) => Promise<RequestArgs>;
109
+ /**
110
+ *
111
+ * @summary Update Subscription
112
+ * @param {string} accountName
113
+ * @param {SubscriptionUpdate} subscriptionUpdate
114
+ * @param {*} [options] Override http request option.
115
+ * @throws {RequiredError}
116
+ */
117
+ updateSubscription: (accountName: string, subscriptionUpdate: SubscriptionUpdate, options?: any) => Promise<RequestArgs>;
90
118
  };
91
119
  /**
92
120
  * PaymentsApi - functional programming interface
@@ -111,6 +139,22 @@ export declare const PaymentsApiFp: (configuration?: Configuration) => {
111
139
  * @throws {RequiredError}
112
140
  */
113
141
  createSubscription(accountName: string, subscriptionCreate: SubscriptionCreate, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatedContent>>;
142
+ /**
143
+ *
144
+ * @summary Get Default Payment Method
145
+ * @param {string} accountName
146
+ * @param {*} [options] Override http request option.
147
+ * @throws {RequiredError}
148
+ */
149
+ getDefaultPaymentMethod(accountName: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CardPublic>>;
150
+ /**
151
+ *
152
+ * @summary Get Failed Payment
153
+ * @param {string} accountName
154
+ * @param {*} [options] Override http request option.
155
+ * @throws {RequiredError}
156
+ */
157
+ getFailedPayment(accountName: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentIntent>>;
114
158
  /**
115
159
  *
116
160
  * @summary Get Inventory
@@ -154,6 +198,15 @@ export declare const PaymentsApiFp: (configuration?: Configuration) => {
154
198
  * @throws {RequiredError}
155
199
  */
156
200
  listPaymentMethods(accountName: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentMethodList>>;
201
+ /**
202
+ *
203
+ * @summary Update Subscription
204
+ * @param {string} accountName
205
+ * @param {SubscriptionUpdate} subscriptionUpdate
206
+ * @param {*} [options] Override http request option.
207
+ * @throws {RequiredError}
208
+ */
209
+ updateSubscription(accountName: string, subscriptionUpdate: SubscriptionUpdate, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Subscription>>;
157
210
  };
158
211
  /**
159
212
  * PaymentsApi - factory interface
@@ -178,6 +231,22 @@ export declare const PaymentsApiFactory: (configuration?: Configuration, basePat
178
231
  * @throws {RequiredError}
179
232
  */
180
233
  createSubscription(accountName: string, subscriptionCreate: SubscriptionCreate, options?: any): AxiosPromise<CreatedContent>;
234
+ /**
235
+ *
236
+ * @summary Get Default Payment Method
237
+ * @param {string} accountName
238
+ * @param {*} [options] Override http request option.
239
+ * @throws {RequiredError}
240
+ */
241
+ getDefaultPaymentMethod(accountName: string, options?: any): AxiosPromise<CardPublic>;
242
+ /**
243
+ *
244
+ * @summary Get Failed Payment
245
+ * @param {string} accountName
246
+ * @param {*} [options] Override http request option.
247
+ * @throws {RequiredError}
248
+ */
249
+ getFailedPayment(accountName: string, options?: any): AxiosPromise<PaymentIntent>;
181
250
  /**
182
251
  *
183
252
  * @summary Get Inventory
@@ -221,6 +290,15 @@ export declare const PaymentsApiFactory: (configuration?: Configuration, basePat
221
290
  * @throws {RequiredError}
222
291
  */
223
292
  listPaymentMethods(accountName: string, options?: any): AxiosPromise<PaymentMethodList>;
293
+ /**
294
+ *
295
+ * @summary Update Subscription
296
+ * @param {string} accountName
297
+ * @param {SubscriptionUpdate} subscriptionUpdate
298
+ * @param {*} [options] Override http request option.
299
+ * @throws {RequiredError}
300
+ */
301
+ updateSubscription(accountName: string, subscriptionUpdate: SubscriptionUpdate, options?: any): AxiosPromise<Subscription>;
224
302
  };
225
303
  /**
226
304
  * Request parameters for createPaymentMethod operation in PaymentsApi.
@@ -260,6 +338,32 @@ export interface PaymentsApiCreateSubscriptionRequest {
260
338
  */
261
339
  readonly subscriptionCreate: SubscriptionCreate;
262
340
  }
341
+ /**
342
+ * Request parameters for getDefaultPaymentMethod operation in PaymentsApi.
343
+ * @export
344
+ * @interface PaymentsApiGetDefaultPaymentMethodRequest
345
+ */
346
+ export interface PaymentsApiGetDefaultPaymentMethodRequest {
347
+ /**
348
+ *
349
+ * @type {string}
350
+ * @memberof PaymentsApiGetDefaultPaymentMethod
351
+ */
352
+ readonly accountName: string;
353
+ }
354
+ /**
355
+ * Request parameters for getFailedPayment operation in PaymentsApi.
356
+ * @export
357
+ * @interface PaymentsApiGetFailedPaymentRequest
358
+ */
359
+ export interface PaymentsApiGetFailedPaymentRequest {
360
+ /**
361
+ *
362
+ * @type {string}
363
+ * @memberof PaymentsApiGetFailedPayment
364
+ */
365
+ readonly accountName: string;
366
+ }
263
367
  /**
264
368
  * Request parameters for getInvoiceList operation in PaymentsApi.
265
369
  * @export
@@ -336,6 +440,25 @@ export interface PaymentsApiListPaymentMethodsRequest {
336
440
  */
337
441
  readonly accountName: string;
338
442
  }
443
+ /**
444
+ * Request parameters for updateSubscription operation in PaymentsApi.
445
+ * @export
446
+ * @interface PaymentsApiUpdateSubscriptionRequest
447
+ */
448
+ export interface PaymentsApiUpdateSubscriptionRequest {
449
+ /**
450
+ *
451
+ * @type {string}
452
+ * @memberof PaymentsApiUpdateSubscription
453
+ */
454
+ readonly accountName: string;
455
+ /**
456
+ *
457
+ * @type {SubscriptionUpdate}
458
+ * @memberof PaymentsApiUpdateSubscription
459
+ */
460
+ readonly subscriptionUpdate: SubscriptionUpdate;
461
+ }
339
462
  /**
340
463
  * PaymentsApi - object-oriented interface
341
464
  * @export
@@ -361,6 +484,24 @@ export declare class PaymentsApi extends BaseAPI {
361
484
  * @memberof PaymentsApi
362
485
  */
363
486
  createSubscription(requestParameters: PaymentsApiCreateSubscriptionRequest, options?: any): Promise<import("axios").AxiosResponse<CreatedContent>>;
487
+ /**
488
+ *
489
+ * @summary Get Default Payment Method
490
+ * @param {PaymentsApiGetDefaultPaymentMethodRequest} requestParameters Request parameters.
491
+ * @param {*} [options] Override http request option.
492
+ * @throws {RequiredError}
493
+ * @memberof PaymentsApi
494
+ */
495
+ getDefaultPaymentMethod(requestParameters: PaymentsApiGetDefaultPaymentMethodRequest, options?: any): Promise<import("axios").AxiosResponse<CardPublic>>;
496
+ /**
497
+ *
498
+ * @summary Get Failed Payment
499
+ * @param {PaymentsApiGetFailedPaymentRequest} requestParameters Request parameters.
500
+ * @param {*} [options] Override http request option.
501
+ * @throws {RequiredError}
502
+ * @memberof PaymentsApi
503
+ */
504
+ getFailedPayment(requestParameters: PaymentsApiGetFailedPaymentRequest, options?: any): Promise<import("axios").AxiosResponse<PaymentIntent>>;
364
505
  /**
365
506
  *
366
507
  * @summary Get Inventory
@@ -405,4 +546,13 @@ export declare class PaymentsApi extends BaseAPI {
405
546
  * @memberof PaymentsApi
406
547
  */
407
548
  listPaymentMethods(requestParameters: PaymentsApiListPaymentMethodsRequest, options?: any): Promise<import("axios").AxiosResponse<PaymentMethodList>>;
549
+ /**
550
+ *
551
+ * @summary Update Subscription
552
+ * @param {PaymentsApiUpdateSubscriptionRequest} requestParameters Request parameters.
553
+ * @param {*} [options] Override http request option.
554
+ * @throws {RequiredError}
555
+ * @memberof PaymentsApi
556
+ */
557
+ updateSubscription(requestParameters: PaymentsApiUpdateSubscriptionRequest, options?: any): Promise<import("axios").AxiosResponse<Subscription>>;
408
558
  }
@@ -5,7 +5,7 @@
5
5
  * pollination-server
6
6
  * Pollination Server OpenAPI Definition
7
7
  *
8
- * The version of the OpenAPI document: 0.18.0-beta.3
8
+ * The version of the OpenAPI document: 0.18.0-beta.7
9
9
  * Contact: info@pollination.cloud
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -155,6 +155,112 @@ const PaymentsApiAxiosParamCreator = function (configuration) {
155
155
  options: localVarRequestOptions,
156
156
  };
157
157
  }),
158
+ /**
159
+ *
160
+ * @summary Get Default Payment Method
161
+ * @param {string} accountName
162
+ * @param {*} [options] Override http request option.
163
+ * @throws {RequiredError}
164
+ */
165
+ getDefaultPaymentMethod: (accountName, options = {}) => __awaiter(this, void 0, void 0, function* () {
166
+ // verify required parameter 'accountName' is not null or undefined
167
+ if (accountName === null || accountName === undefined) {
168
+ throw new base_1.RequiredError('accountName', 'Required parameter accountName was null or undefined when calling getDefaultPaymentMethod.');
169
+ }
170
+ const localVarPath = `/payments/{account_name}/methods/default`
171
+ .replace(`{${"account_name"}}`, encodeURIComponent(String(accountName)));
172
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
173
+ const localVarUrlObj = new URL(localVarPath, 'https://example.com');
174
+ let baseOptions;
175
+ if (configuration) {
176
+ baseOptions = configuration.baseOptions;
177
+ }
178
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
179
+ const localVarHeaderParameter = {};
180
+ const localVarQueryParameter = {};
181
+ // authentication APIKeyAuth required
182
+ if (configuration && configuration.apiKey) {
183
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
184
+ ? yield configuration.apiKey("x-pollination-token")
185
+ : yield configuration.apiKey;
186
+ localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
187
+ }
188
+ // authentication JWTAuth required
189
+ // http bearer authentication required
190
+ if (configuration && configuration.accessToken) {
191
+ const accessToken = typeof configuration.accessToken === 'function'
192
+ ? yield configuration.accessToken()
193
+ : yield configuration.accessToken;
194
+ localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
195
+ }
196
+ const query = new URLSearchParams(localVarUrlObj.search);
197
+ for (const key in localVarQueryParameter) {
198
+ query.set(key, localVarQueryParameter[key]);
199
+ }
200
+ for (const key in options.query) {
201
+ query.set(key, options.query[key]);
202
+ }
203
+ localVarUrlObj.search = (new URLSearchParams(query)).toString();
204
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
205
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
206
+ return {
207
+ url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
208
+ options: localVarRequestOptions,
209
+ };
210
+ }),
211
+ /**
212
+ *
213
+ * @summary Get Failed Payment
214
+ * @param {string} accountName
215
+ * @param {*} [options] Override http request option.
216
+ * @throws {RequiredError}
217
+ */
218
+ getFailedPayment: (accountName, options = {}) => __awaiter(this, void 0, void 0, function* () {
219
+ // verify required parameter 'accountName' is not null or undefined
220
+ if (accountName === null || accountName === undefined) {
221
+ throw new base_1.RequiredError('accountName', 'Required parameter accountName was null or undefined when calling getFailedPayment.');
222
+ }
223
+ const localVarPath = `/payments/{account_name}/failed`
224
+ .replace(`{${"account_name"}}`, encodeURIComponent(String(accountName)));
225
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
226
+ const localVarUrlObj = new URL(localVarPath, 'https://example.com');
227
+ let baseOptions;
228
+ if (configuration) {
229
+ baseOptions = configuration.baseOptions;
230
+ }
231
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
232
+ const localVarHeaderParameter = {};
233
+ const localVarQueryParameter = {};
234
+ // authentication APIKeyAuth required
235
+ if (configuration && configuration.apiKey) {
236
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
237
+ ? yield configuration.apiKey("x-pollination-token")
238
+ : yield configuration.apiKey;
239
+ localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
240
+ }
241
+ // authentication JWTAuth required
242
+ // http bearer authentication required
243
+ if (configuration && configuration.accessToken) {
244
+ const accessToken = typeof configuration.accessToken === 'function'
245
+ ? yield configuration.accessToken()
246
+ : yield configuration.accessToken;
247
+ localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
248
+ }
249
+ const query = new URLSearchParams(localVarUrlObj.search);
250
+ for (const key in localVarQueryParameter) {
251
+ query.set(key, localVarQueryParameter[key]);
252
+ }
253
+ for (const key in options.query) {
254
+ query.set(key, options.query[key]);
255
+ }
256
+ localVarUrlObj.search = (new URLSearchParams(query)).toString();
257
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
258
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
259
+ return {
260
+ url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
261
+ options: localVarRequestOptions,
262
+ };
263
+ }),
158
264
  /**
159
265
  *
160
266
  * @summary Get Inventory
@@ -415,6 +521,67 @@ const PaymentsApiAxiosParamCreator = function (configuration) {
415
521
  options: localVarRequestOptions,
416
522
  };
417
523
  }),
524
+ /**
525
+ *
526
+ * @summary Update Subscription
527
+ * @param {string} accountName
528
+ * @param {SubscriptionUpdate} subscriptionUpdate
529
+ * @param {*} [options] Override http request option.
530
+ * @throws {RequiredError}
531
+ */
532
+ updateSubscription: (accountName, subscriptionUpdate, options = {}) => __awaiter(this, void 0, void 0, function* () {
533
+ // verify required parameter 'accountName' is not null or undefined
534
+ if (accountName === null || accountName === undefined) {
535
+ throw new base_1.RequiredError('accountName', 'Required parameter accountName was null or undefined when calling updateSubscription.');
536
+ }
537
+ // verify required parameter 'subscriptionUpdate' is not null or undefined
538
+ if (subscriptionUpdate === null || subscriptionUpdate === undefined) {
539
+ throw new base_1.RequiredError('subscriptionUpdate', 'Required parameter subscriptionUpdate was null or undefined when calling updateSubscription.');
540
+ }
541
+ const localVarPath = `/payments/{account_name}/subscription`
542
+ .replace(`{${"account_name"}}`, encodeURIComponent(String(accountName)));
543
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
544
+ const localVarUrlObj = new URL(localVarPath, 'https://example.com');
545
+ let baseOptions;
546
+ if (configuration) {
547
+ baseOptions = configuration.baseOptions;
548
+ }
549
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
550
+ const localVarHeaderParameter = {};
551
+ const localVarQueryParameter = {};
552
+ // authentication APIKeyAuth required
553
+ if (configuration && configuration.apiKey) {
554
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
555
+ ? yield configuration.apiKey("x-pollination-token")
556
+ : yield configuration.apiKey;
557
+ localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
558
+ }
559
+ // authentication JWTAuth required
560
+ // http bearer authentication required
561
+ if (configuration && configuration.accessToken) {
562
+ const accessToken = typeof configuration.accessToken === 'function'
563
+ ? yield configuration.accessToken()
564
+ : yield configuration.accessToken;
565
+ localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
566
+ }
567
+ localVarHeaderParameter['Content-Type'] = 'application/json';
568
+ const query = new URLSearchParams(localVarUrlObj.search);
569
+ for (const key in localVarQueryParameter) {
570
+ query.set(key, localVarQueryParameter[key]);
571
+ }
572
+ for (const key in options.query) {
573
+ query.set(key, options.query[key]);
574
+ }
575
+ localVarUrlObj.search = (new URLSearchParams(query)).toString();
576
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
577
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
578
+ const needsSerialization = (typeof subscriptionUpdate !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
579
+ localVarRequestOptions.data = needsSerialization ? JSON.stringify(subscriptionUpdate !== undefined ? subscriptionUpdate : {}) : (subscriptionUpdate || "");
580
+ return {
581
+ url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
582
+ options: localVarRequestOptions,
583
+ };
584
+ }),
418
585
  };
419
586
  };
420
587
  exports.PaymentsApiAxiosParamCreator = PaymentsApiAxiosParamCreator;
@@ -458,6 +625,38 @@ const PaymentsApiFp = function (configuration) {
458
625
  };
459
626
  });
460
627
  },
628
+ /**
629
+ *
630
+ * @summary Get Default Payment Method
631
+ * @param {string} accountName
632
+ * @param {*} [options] Override http request option.
633
+ * @throws {RequiredError}
634
+ */
635
+ getDefaultPaymentMethod(accountName, options) {
636
+ return __awaiter(this, void 0, void 0, function* () {
637
+ const localVarAxiosArgs = yield (0, exports.PaymentsApiAxiosParamCreator)(configuration).getDefaultPaymentMethod(accountName, options);
638
+ return (axios = axios_1.default, basePath = base_1.BASE_PATH) => {
639
+ const axiosRequestArgs = Object.assign(Object.assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
640
+ return axios.request(axiosRequestArgs);
641
+ };
642
+ });
643
+ },
644
+ /**
645
+ *
646
+ * @summary Get Failed Payment
647
+ * @param {string} accountName
648
+ * @param {*} [options] Override http request option.
649
+ * @throws {RequiredError}
650
+ */
651
+ getFailedPayment(accountName, options) {
652
+ return __awaiter(this, void 0, void 0, function* () {
653
+ const localVarAxiosArgs = yield (0, exports.PaymentsApiAxiosParamCreator)(configuration).getFailedPayment(accountName, options);
654
+ return (axios = axios_1.default, basePath = base_1.BASE_PATH) => {
655
+ const axiosRequestArgs = Object.assign(Object.assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
656
+ return axios.request(axiosRequestArgs);
657
+ };
658
+ });
659
+ },
461
660
  /**
462
661
  *
463
662
  * @summary Get Inventory
@@ -541,6 +740,23 @@ const PaymentsApiFp = function (configuration) {
541
740
  };
542
741
  });
543
742
  },
743
+ /**
744
+ *
745
+ * @summary Update Subscription
746
+ * @param {string} accountName
747
+ * @param {SubscriptionUpdate} subscriptionUpdate
748
+ * @param {*} [options] Override http request option.
749
+ * @throws {RequiredError}
750
+ */
751
+ updateSubscription(accountName, subscriptionUpdate, options) {
752
+ return __awaiter(this, void 0, void 0, function* () {
753
+ const localVarAxiosArgs = yield (0, exports.PaymentsApiAxiosParamCreator)(configuration).updateSubscription(accountName, subscriptionUpdate, options);
754
+ return (axios = axios_1.default, basePath = base_1.BASE_PATH) => {
755
+ const axiosRequestArgs = Object.assign(Object.assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
756
+ return axios.request(axiosRequestArgs);
757
+ };
758
+ });
759
+ },
544
760
  };
545
761
  };
546
762
  exports.PaymentsApiFp = PaymentsApiFp;
@@ -572,6 +788,26 @@ const PaymentsApiFactory = function (configuration, basePath, axios) {
572
788
  createSubscription(accountName, subscriptionCreate, options) {
573
789
  return (0, exports.PaymentsApiFp)(configuration).createSubscription(accountName, subscriptionCreate, options).then((request) => request(axios, basePath));
574
790
  },
791
+ /**
792
+ *
793
+ * @summary Get Default Payment Method
794
+ * @param {string} accountName
795
+ * @param {*} [options] Override http request option.
796
+ * @throws {RequiredError}
797
+ */
798
+ getDefaultPaymentMethod(accountName, options) {
799
+ return (0, exports.PaymentsApiFp)(configuration).getDefaultPaymentMethod(accountName, options).then((request) => request(axios, basePath));
800
+ },
801
+ /**
802
+ *
803
+ * @summary Get Failed Payment
804
+ * @param {string} accountName
805
+ * @param {*} [options] Override http request option.
806
+ * @throws {RequiredError}
807
+ */
808
+ getFailedPayment(accountName, options) {
809
+ return (0, exports.PaymentsApiFp)(configuration).getFailedPayment(accountName, options).then((request) => request(axios, basePath));
810
+ },
575
811
  /**
576
812
  *
577
813
  * @summary Get Inventory
@@ -625,6 +861,17 @@ const PaymentsApiFactory = function (configuration, basePath, axios) {
625
861
  listPaymentMethods(accountName, options) {
626
862
  return (0, exports.PaymentsApiFp)(configuration).listPaymentMethods(accountName, options).then((request) => request(axios, basePath));
627
863
  },
864
+ /**
865
+ *
866
+ * @summary Update Subscription
867
+ * @param {string} accountName
868
+ * @param {SubscriptionUpdate} subscriptionUpdate
869
+ * @param {*} [options] Override http request option.
870
+ * @throws {RequiredError}
871
+ */
872
+ updateSubscription(accountName, subscriptionUpdate, options) {
873
+ return (0, exports.PaymentsApiFp)(configuration).updateSubscription(accountName, subscriptionUpdate, options).then((request) => request(axios, basePath));
874
+ },
628
875
  };
629
876
  };
630
877
  exports.PaymentsApiFactory = PaymentsApiFactory;
@@ -657,6 +904,28 @@ class PaymentsApi extends base_1.BaseAPI {
657
904
  createSubscription(requestParameters, options) {
658
905
  return (0, exports.PaymentsApiFp)(this.configuration).createSubscription(requestParameters.accountName, requestParameters.subscriptionCreate, options).then((request) => request(this.axios, this.basePath));
659
906
  }
907
+ /**
908
+ *
909
+ * @summary Get Default Payment Method
910
+ * @param {PaymentsApiGetDefaultPaymentMethodRequest} requestParameters Request parameters.
911
+ * @param {*} [options] Override http request option.
912
+ * @throws {RequiredError}
913
+ * @memberof PaymentsApi
914
+ */
915
+ getDefaultPaymentMethod(requestParameters, options) {
916
+ return (0, exports.PaymentsApiFp)(this.configuration).getDefaultPaymentMethod(requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
917
+ }
918
+ /**
919
+ *
920
+ * @summary Get Failed Payment
921
+ * @param {PaymentsApiGetFailedPaymentRequest} requestParameters Request parameters.
922
+ * @param {*} [options] Override http request option.
923
+ * @throws {RequiredError}
924
+ * @memberof PaymentsApi
925
+ */
926
+ getFailedPayment(requestParameters, options) {
927
+ return (0, exports.PaymentsApiFp)(this.configuration).getFailedPayment(requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
928
+ }
660
929
  /**
661
930
  *
662
931
  * @summary Get Inventory
@@ -711,5 +980,16 @@ class PaymentsApi extends base_1.BaseAPI {
711
980
  listPaymentMethods(requestParameters, options) {
712
981
  return (0, exports.PaymentsApiFp)(this.configuration).listPaymentMethods(requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
713
982
  }
983
+ /**
984
+ *
985
+ * @summary Update Subscription
986
+ * @param {PaymentsApiUpdateSubscriptionRequest} requestParameters Request parameters.
987
+ * @param {*} [options] Override http request option.
988
+ * @throws {RequiredError}
989
+ * @memberof PaymentsApi
990
+ */
991
+ updateSubscription(requestParameters, options) {
992
+ return (0, exports.PaymentsApiFp)(this.configuration).updateSubscription(requestParameters.accountName, requestParameters.subscriptionUpdate, options).then((request) => request(this.axios, this.basePath));
993
+ }
714
994
  }
715
995
  exports.PaymentsApi = PaymentsApi;