@pollination-solutions/pollination-sdk 0.20.0 → 0.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (862) hide show
  1. package/.apigentools-info +2 -2
  2. package/.openapi-generator/FILES +19 -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/licenses-api.ts +1010 -0
  9. package/api/orgs-api.ts +1 -1
  10. package/api/payments-api.ts +1 -1
  11. package/api/plugins-api.ts +1 -1
  12. package/api/projects-api.ts +1 -1
  13. package/api/recipes-api.ts +1 -1
  14. package/api/registries-api.ts +1 -1
  15. package/api/runs-api.ts +1 -1
  16. package/api/subscriptions-api.ts +1 -1
  17. package/api/teams-api.ts +1 -1
  18. package/api/user-api.ts +1 -1
  19. package/api/users-api.ts +93 -1
  20. package/api.ts +2 -1
  21. package/base.ts +1 -1
  22. package/configuration.ts +1 -1
  23. package/dist/api/accounts-api.d.ts +1 -1
  24. package/dist/api/accounts-api.js +1 -1
  25. package/dist/api/apitokens-api.d.ts +1 -1
  26. package/dist/api/apitokens-api.js +1 -1
  27. package/dist/api/artifacts-api.d.ts +1 -1
  28. package/dist/api/artifacts-api.js +1 -1
  29. package/dist/api/jobs-api.d.ts +1 -1
  30. package/dist/api/jobs-api.js +1 -1
  31. package/dist/api/licenses-api.d.ts +451 -0
  32. package/dist/api/licenses-api.js +821 -0
  33. package/dist/api/orgs-api.d.ts +1 -1
  34. package/dist/api/orgs-api.js +1 -1
  35. package/dist/api/payments-api.d.ts +1 -1
  36. package/dist/api/payments-api.js +1 -1
  37. package/dist/api/plugins-api.d.ts +1 -1
  38. package/dist/api/plugins-api.js +1 -1
  39. package/dist/api/projects-api.d.ts +1 -1
  40. package/dist/api/projects-api.js +1 -1
  41. package/dist/api/recipes-api.d.ts +1 -1
  42. package/dist/api/recipes-api.js +1 -1
  43. package/dist/api/registries-api.d.ts +1 -1
  44. package/dist/api/registries-api.js +1 -1
  45. package/dist/api/runs-api.d.ts +1 -1
  46. package/dist/api/runs-api.js +1 -1
  47. package/dist/api/subscriptions-api.d.ts +1 -1
  48. package/dist/api/subscriptions-api.js +1 -1
  49. package/dist/api/teams-api.d.ts +1 -1
  50. package/dist/api/teams-api.js +1 -1
  51. package/dist/api/user-api.d.ts +1 -1
  52. package/dist/api/user-api.js +1 -1
  53. package/dist/api/users-api.d.ts +47 -1
  54. package/dist/api/users-api.js +76 -1
  55. package/dist/api.d.ts +2 -1
  56. package/dist/api.js +2 -1
  57. package/dist/base.d.ts +1 -1
  58. package/dist/base.js +1 -1
  59. package/dist/configuration.d.ts +1 -1
  60. package/dist/configuration.js +1 -1
  61. package/dist/index.d.ts +1 -1
  62. package/dist/index.js +1 -1
  63. package/dist/models/accessor.d.ts +32 -0
  64. package/dist/models/accessor.js +15 -0
  65. package/dist/models/account-public.d.ts +1 -1
  66. package/dist/models/account-public.js +1 -1
  67. package/dist/models/account-type.d.ts +1 -1
  68. package/dist/models/account-type.js +1 -1
  69. package/dist/models/activation-list.d.ts +25 -0
  70. package/dist/models/activation-list.js +15 -0
  71. package/dist/models/activation.d.ts +98 -0
  72. package/dist/models/activation.js +15 -0
  73. package/dist/models/apitoken-create.d.ts +1 -1
  74. package/dist/models/apitoken-create.js +1 -1
  75. package/dist/models/apitoken-list.d.ts +1 -1
  76. package/dist/models/apitoken-list.js +1 -1
  77. package/dist/models/apitoken-private.d.ts +1 -1
  78. package/dist/models/apitoken-private.js +1 -1
  79. package/dist/models/apitoken.d.ts +1 -1
  80. package/dist/models/apitoken.js +1 -1
  81. package/dist/models/baked-recipe.d.ts +1 -1
  82. package/dist/models/baked-recipe.js +1 -1
  83. package/dist/models/body-post-plugin-owner-plugins-post.d.ts +1 -1
  84. package/dist/models/body-post-plugin-owner-plugins-post.js +1 -1
  85. package/dist/models/body-post-recipe-owner-recipes-post.d.ts +1 -1
  86. package/dist/models/body-post-recipe-owner-recipes-post.js +1 -1
  87. package/dist/models/card-public.d.ts +1 -1
  88. package/dist/models/card-public.js +1 -1
  89. package/dist/models/cloud-job-list.d.ts +1 -1
  90. package/dist/models/cloud-job-list.js +1 -1
  91. package/dist/models/cloud-job.d.ts +1 -1
  92. package/dist/models/cloud-job.js +1 -1
  93. package/dist/models/coupon-duration.d.ts +21 -0
  94. package/dist/models/coupon-duration.js +27 -0
  95. package/dist/models/coupon.d.ts +67 -0
  96. package/dist/models/coupon.js +15 -0
  97. package/dist/models/created-content.d.ts +1 -1
  98. package/dist/models/created-content.js +1 -1
  99. package/dist/models/dag.d.ts +1 -1
  100. package/dist/models/dag.js +1 -1
  101. package/dist/models/dagarray-input-alias.d.ts +1 -1
  102. package/dist/models/dagarray-input-alias.js +1 -1
  103. package/dist/models/dagarray-input.d.ts +1 -1
  104. package/dist/models/dagarray-input.js +1 -1
  105. package/dist/models/dagarray-output-alias.d.ts +1 -1
  106. package/dist/models/dagarray-output-alias.js +1 -1
  107. package/dist/models/dagarray-output.d.ts +1 -1
  108. package/dist/models/dagarray-output.js +1 -1
  109. package/dist/models/dagboolean-input-alias.d.ts +1 -1
  110. package/dist/models/dagboolean-input-alias.js +1 -1
  111. package/dist/models/dagboolean-input.d.ts +1 -1
  112. package/dist/models/dagboolean-input.js +1 -1
  113. package/dist/models/dagboolean-output-alias.d.ts +1 -1
  114. package/dist/models/dagboolean-output-alias.js +1 -1
  115. package/dist/models/dagboolean-output.d.ts +1 -1
  116. package/dist/models/dagboolean-output.js +1 -1
  117. package/dist/models/dagfile-input-alias.d.ts +1 -1
  118. package/dist/models/dagfile-input-alias.js +1 -1
  119. package/dist/models/dagfile-input.d.ts +1 -1
  120. package/dist/models/dagfile-input.js +1 -1
  121. package/dist/models/dagfile-output-alias.d.ts +1 -1
  122. package/dist/models/dagfile-output-alias.js +1 -1
  123. package/dist/models/dagfile-output.d.ts +1 -1
  124. package/dist/models/dagfile-output.js +1 -1
  125. package/dist/models/dagfolder-input-alias.d.ts +1 -1
  126. package/dist/models/dagfolder-input-alias.js +1 -1
  127. package/dist/models/dagfolder-input.d.ts +1 -1
  128. package/dist/models/dagfolder-input.js +1 -1
  129. package/dist/models/dagfolder-output-alias.d.ts +1 -1
  130. package/dist/models/dagfolder-output-alias.js +1 -1
  131. package/dist/models/dagfolder-output.d.ts +1 -1
  132. package/dist/models/dagfolder-output.js +1 -1
  133. package/dist/models/daggeneric-input-alias.d.ts +1 -1
  134. package/dist/models/daggeneric-input-alias.js +1 -1
  135. package/dist/models/daggeneric-input.d.ts +1 -1
  136. package/dist/models/daggeneric-input.js +1 -1
  137. package/dist/models/daggeneric-output-alias.d.ts +1 -1
  138. package/dist/models/daggeneric-output-alias.js +1 -1
  139. package/dist/models/daggeneric-output.d.ts +1 -1
  140. package/dist/models/daggeneric-output.js +1 -1
  141. package/dist/models/daginteger-input-alias.d.ts +1 -1
  142. package/dist/models/daginteger-input-alias.js +1 -1
  143. package/dist/models/daginteger-input.d.ts +1 -1
  144. package/dist/models/daginteger-input.js +1 -1
  145. package/dist/models/daginteger-output-alias.d.ts +1 -1
  146. package/dist/models/daginteger-output-alias.js +1 -1
  147. package/dist/models/daginteger-output.d.ts +1 -1
  148. package/dist/models/daginteger-output.js +1 -1
  149. package/dist/models/dagjsonobject-input-alias.d.ts +1 -1
  150. package/dist/models/dagjsonobject-input-alias.js +1 -1
  151. package/dist/models/dagjsonobject-input.d.ts +1 -1
  152. package/dist/models/dagjsonobject-input.js +1 -1
  153. package/dist/models/dagjsonobject-output-alias.d.ts +1 -1
  154. package/dist/models/dagjsonobject-output-alias.js +1 -1
  155. package/dist/models/dagjsonobject-output.d.ts +1 -1
  156. package/dist/models/dagjsonobject-output.js +1 -1
  157. package/dist/models/daglinked-input-alias.d.ts +1 -1
  158. package/dist/models/daglinked-input-alias.js +1 -1
  159. package/dist/models/daglinked-output-alias.d.ts +1 -1
  160. package/dist/models/daglinked-output-alias.js +1 -1
  161. package/dist/models/dagnumber-input-alias.d.ts +1 -1
  162. package/dist/models/dagnumber-input-alias.js +1 -1
  163. package/dist/models/dagnumber-input.d.ts +1 -1
  164. package/dist/models/dagnumber-input.js +1 -1
  165. package/dist/models/dagnumber-output-alias.d.ts +1 -1
  166. package/dist/models/dagnumber-output-alias.js +1 -1
  167. package/dist/models/dagnumber-output.d.ts +1 -1
  168. package/dist/models/dagnumber-output.js +1 -1
  169. package/dist/models/dagpath-input-alias.d.ts +1 -1
  170. package/dist/models/dagpath-input-alias.js +1 -1
  171. package/dist/models/dagpath-input.d.ts +1 -1
  172. package/dist/models/dagpath-input.js +1 -1
  173. package/dist/models/dagpath-output-alias.d.ts +1 -1
  174. package/dist/models/dagpath-output-alias.js +1 -1
  175. package/dist/models/dagpath-output.d.ts +1 -1
  176. package/dist/models/dagpath-output.js +1 -1
  177. package/dist/models/dagstring-input-alias.d.ts +1 -1
  178. package/dist/models/dagstring-input-alias.js +1 -1
  179. package/dist/models/dagstring-input.d.ts +1 -1
  180. package/dist/models/dagstring-input.js +1 -1
  181. package/dist/models/dagstring-output-alias.d.ts +1 -1
  182. package/dist/models/dagstring-output-alias.js +1 -1
  183. package/dist/models/dagstring-output.d.ts +1 -1
  184. package/dist/models/dagstring-output.js +1 -1
  185. package/dist/models/dagtask-loop.d.ts +1 -1
  186. package/dist/models/dagtask-loop.js +1 -1
  187. package/dist/models/dagtask.d.ts +1 -1
  188. package/dist/models/dagtask.js +1 -1
  189. package/dist/models/daily-usage.d.ts +1 -1
  190. package/dist/models/daily-usage.js +1 -1
  191. package/dist/models/dependency-kind.d.ts +1 -1
  192. package/dist/models/dependency-kind.js +1 -1
  193. package/dist/models/dependency.d.ts +1 -1
  194. package/dist/models/dependency.js +1 -1
  195. package/dist/models/discount-amount.d.ts +30 -0
  196. package/dist/models/discount-amount.js +15 -0
  197. package/dist/models/discount.d.ts +55 -0
  198. package/dist/models/discount.js +15 -0
  199. package/dist/models/docker-config.d.ts +1 -1
  200. package/dist/models/docker-config.js +1 -1
  201. package/dist/models/file-meta.d.ts +1 -1
  202. package/dist/models/file-meta.js +1 -1
  203. package/dist/models/file-reference.d.ts +1 -1
  204. package/dist/models/file-reference.js +1 -1
  205. package/dist/models/folder-reference.d.ts +1 -1
  206. package/dist/models/folder-reference.js +1 -1
  207. package/dist/models/function-array-input.d.ts +1 -1
  208. package/dist/models/function-array-input.js +1 -1
  209. package/dist/models/function-array-output.d.ts +1 -1
  210. package/dist/models/function-array-output.js +1 -1
  211. package/dist/models/function-boolean-input.d.ts +1 -1
  212. package/dist/models/function-boolean-input.js +1 -1
  213. package/dist/models/function-boolean-output.d.ts +1 -1
  214. package/dist/models/function-boolean-output.js +1 -1
  215. package/dist/models/function-file-input.d.ts +1 -1
  216. package/dist/models/function-file-input.js +1 -1
  217. package/dist/models/function-file-output.d.ts +1 -1
  218. package/dist/models/function-file-output.js +1 -1
  219. package/dist/models/function-folder-input.d.ts +1 -1
  220. package/dist/models/function-folder-input.js +1 -1
  221. package/dist/models/function-folder-output.d.ts +1 -1
  222. package/dist/models/function-folder-output.js +1 -1
  223. package/dist/models/function-integer-input.d.ts +1 -1
  224. package/dist/models/function-integer-input.js +1 -1
  225. package/dist/models/function-integer-output.d.ts +1 -1
  226. package/dist/models/function-integer-output.js +1 -1
  227. package/dist/models/function-jsonobject-input.d.ts +1 -1
  228. package/dist/models/function-jsonobject-input.js +1 -1
  229. package/dist/models/function-jsonobject-output.d.ts +1 -1
  230. package/dist/models/function-jsonobject-output.js +1 -1
  231. package/dist/models/function-number-input.d.ts +1 -1
  232. package/dist/models/function-number-input.js +1 -1
  233. package/dist/models/function-number-output.d.ts +1 -1
  234. package/dist/models/function-number-output.js +1 -1
  235. package/dist/models/function-path-input.d.ts +1 -1
  236. package/dist/models/function-path-input.js +1 -1
  237. package/dist/models/function-path-output.d.ts +1 -1
  238. package/dist/models/function-path-output.js +1 -1
  239. package/dist/models/function-string-input.d.ts +1 -1
  240. package/dist/models/function-string-input.js +1 -1
  241. package/dist/models/function-string-output.d.ts +1 -1
  242. package/dist/models/function-string-output.js +1 -1
  243. package/dist/models/function.d.ts +1 -1
  244. package/dist/models/function.js +1 -1
  245. package/dist/models/http.d.ts +1 -1
  246. package/dist/models/http.js +1 -1
  247. package/dist/models/httpvalidation-error.d.ts +1 -1
  248. package/dist/models/httpvalidation-error.js +1 -1
  249. package/dist/models/index.d.ts +18 -0
  250. package/dist/models/index.js +18 -0
  251. package/dist/models/input-file-reference.d.ts +1 -1
  252. package/dist/models/input-file-reference.js +1 -1
  253. package/dist/models/input-folder-reference.d.ts +1 -1
  254. package/dist/models/input-folder-reference.js +1 -1
  255. package/dist/models/input-path-reference.d.ts +1 -1
  256. package/dist/models/input-path-reference.js +1 -1
  257. package/dist/models/input-reference.d.ts +1 -1
  258. package/dist/models/input-reference.js +1 -1
  259. package/dist/models/inventory.d.ts +1 -1
  260. package/dist/models/inventory.js +1 -1
  261. package/dist/models/invoice-list.d.ts +1 -1
  262. package/dist/models/invoice-list.js +1 -1
  263. package/dist/models/invoice-preview.d.ts +21 -1
  264. package/dist/models/invoice-preview.js +1 -1
  265. package/dist/models/invoice-status-transitions.d.ts +1 -1
  266. package/dist/models/invoice-status-transitions.js +1 -1
  267. package/dist/models/invoice-status.d.ts +1 -1
  268. package/dist/models/invoice-status.js +1 -1
  269. package/dist/models/invoice.d.ts +21 -1
  270. package/dist/models/invoice.js +1 -1
  271. package/dist/models/ioalias-handler.d.ts +1 -1
  272. package/dist/models/ioalias-handler.js +1 -1
  273. package/dist/models/item-reference.d.ts +1 -1
  274. package/dist/models/item-reference.js +1 -1
  275. package/dist/models/item-type.d.ts +1 -1
  276. package/dist/models/item-type.js +1 -1
  277. package/dist/models/job-argument.d.ts +1 -1
  278. package/dist/models/job-argument.js +1 -1
  279. package/dist/models/job-path-argument.d.ts +1 -1
  280. package/dist/models/job-path-argument.js +1 -1
  281. package/dist/models/job-status-enum.d.ts +1 -1
  282. package/dist/models/job-status-enum.js +1 -1
  283. package/dist/models/job-status.d.ts +1 -1
  284. package/dist/models/job-status.js +1 -1
  285. package/dist/models/job.d.ts +1 -1
  286. package/dist/models/job.js +1 -1
  287. package/dist/models/key-request.d.ts +1 -1
  288. package/dist/models/key-request.js +1 -1
  289. package/dist/models/license-pool-access-policy-list.d.ts +25 -0
  290. package/dist/models/license-pool-access-policy-list.js +15 -0
  291. package/dist/models/license-pool-access-policy.d.ts +32 -0
  292. package/dist/models/license-pool-access-policy.js +15 -0
  293. package/dist/models/license-pool-list.d.ts +25 -0
  294. package/dist/models/license-pool-list.js +15 -0
  295. package/dist/models/license-pool-policy-subject-list.d.ts +25 -0
  296. package/dist/models/license-pool-policy-subject-list.js +15 -0
  297. package/dist/models/license-pool-policy-subject.d.ts +31 -0
  298. package/dist/models/license-pool-policy-subject.js +15 -0
  299. package/dist/models/license-pool-public.d.ts +63 -0
  300. package/dist/models/license-pool-public.js +15 -0
  301. package/dist/models/license-pool-update.d.ts +24 -0
  302. package/dist/models/license-pool-update.js +15 -0
  303. package/dist/models/license-public.d.ts +122 -0
  304. package/dist/models/license-public.js +15 -0
  305. package/dist/models/license-type.d.ts +21 -0
  306. package/dist/models/license-type.js +27 -0
  307. package/dist/models/license.d.ts +1 -1
  308. package/dist/models/license.js +1 -1
  309. package/dist/models/line-item-list.d.ts +1 -1
  310. package/dist/models/line-item-list.js +1 -1
  311. package/dist/models/line-item.d.ts +1 -1
  312. package/dist/models/line-item.js +1 -1
  313. package/dist/models/local-config.d.ts +1 -1
  314. package/dist/models/local-config.js +1 -1
  315. package/dist/models/location.d.ts +54 -0
  316. package/dist/models/location.js +15 -0
  317. package/dist/models/maintainer.d.ts +1 -1
  318. package/dist/models/maintainer.js +1 -1
  319. package/dist/models/meta-data.d.ts +1 -1
  320. package/dist/models/meta-data.js +1 -1
  321. package/dist/models/metadata.d.ts +42 -0
  322. package/dist/models/metadata.js +15 -0
  323. package/dist/models/new-plugin-package.d.ts +1 -1
  324. package/dist/models/new-plugin-package.js +1 -1
  325. package/dist/models/new-recipe-package.d.ts +1 -1
  326. package/dist/models/new-recipe-package.js +1 -1
  327. package/dist/models/new-subscription-item.d.ts +1 -1
  328. package/dist/models/new-subscription-item.js +1 -1
  329. package/dist/models/organization-create.d.ts +1 -1
  330. package/dist/models/organization-create.js +1 -1
  331. package/dist/models/organization-list.d.ts +1 -1
  332. package/dist/models/organization-list.js +1 -1
  333. package/dist/models/organization-member-list.d.ts +1 -1
  334. package/dist/models/organization-member-list.js +1 -1
  335. package/dist/models/organization-member.d.ts +1 -1
  336. package/dist/models/organization-member.js +1 -1
  337. package/dist/models/organization-role-enum.d.ts +1 -1
  338. package/dist/models/organization-role-enum.js +1 -1
  339. package/dist/models/organization-update.d.ts +1 -1
  340. package/dist/models/organization-update.js +1 -1
  341. package/dist/models/organization.d.ts +1 -1
  342. package/dist/models/organization.js +1 -1
  343. package/dist/models/package-sort-key.d.ts +1 -1
  344. package/dist/models/package-sort-key.js +1 -1
  345. package/dist/models/package-version.d.ts +1 -1
  346. package/dist/models/package-version.js +1 -1
  347. package/dist/models/payment-create.d.ts +1 -1
  348. package/dist/models/payment-create.js +1 -1
  349. package/dist/models/payment-intent.d.ts +1 -1
  350. package/dist/models/payment-intent.js +1 -1
  351. package/dist/models/payment-method-list.d.ts +1 -1
  352. package/dist/models/payment-method-list.js +1 -1
  353. package/dist/models/payment-setup.d.ts +1 -1
  354. package/dist/models/payment-setup.js +1 -1
  355. package/dist/models/period.d.ts +1 -1
  356. package/dist/models/period.js +1 -1
  357. package/dist/models/permission.d.ts +1 -1
  358. package/dist/models/permission.js +1 -1
  359. package/dist/models/plugin-config.d.ts +1 -1
  360. package/dist/models/plugin-config.js +1 -1
  361. package/dist/models/plugin-package-list.d.ts +1 -1
  362. package/dist/models/plugin-package-list.js +1 -1
  363. package/dist/models/plugin-package.d.ts +1 -1
  364. package/dist/models/plugin-package.js +1 -1
  365. package/dist/models/plugin.d.ts +1 -1
  366. package/dist/models/plugin.js +1 -1
  367. package/dist/models/policy-subject.d.ts +1 -1
  368. package/dist/models/policy-subject.js +1 -1
  369. package/dist/models/pollination-subscription.d.ts +1 -1
  370. package/dist/models/pollination-subscription.js +1 -1
  371. package/dist/models/price-recurrence.d.ts +1 -1
  372. package/dist/models/price-recurrence.js +1 -1
  373. package/dist/models/price-tier.d.ts +1 -1
  374. package/dist/models/price-tier.js +1 -1
  375. package/dist/models/price-type.d.ts +1 -1
  376. package/dist/models/price-type.js +1 -1
  377. package/dist/models/price.d.ts +1 -1
  378. package/dist/models/price.js +1 -1
  379. package/dist/models/product-family.d.ts +1 -1
  380. package/dist/models/product-family.js +1 -1
  381. package/dist/models/project-access-policy-list.d.ts +1 -1
  382. package/dist/models/project-access-policy-list.js +1 -1
  383. package/dist/models/project-access-policy.d.ts +1 -1
  384. package/dist/models/project-access-policy.js +1 -1
  385. package/dist/models/project-create.d.ts +1 -1
  386. package/dist/models/project-create.js +1 -1
  387. package/dist/models/project-folder.d.ts +1 -1
  388. package/dist/models/project-folder.js +1 -1
  389. package/dist/models/project-list.d.ts +1 -1
  390. package/dist/models/project-list.js +1 -1
  391. package/dist/models/project-policy-subject.d.ts +1 -1
  392. package/dist/models/project-policy-subject.js +1 -1
  393. package/dist/models/project-recipe-filter-list.d.ts +1 -1
  394. package/dist/models/project-recipe-filter-list.js +1 -1
  395. package/dist/models/project-recipe-filter.d.ts +1 -1
  396. package/dist/models/project-recipe-filter.js +1 -1
  397. package/dist/models/project-sort-key.d.ts +1 -1
  398. package/dist/models/project-sort-key.js +1 -1
  399. package/dist/models/project-update.d.ts +1 -1
  400. package/dist/models/project-update.js +1 -1
  401. package/dist/models/project.d.ts +1 -1
  402. package/dist/models/project.js +1 -1
  403. package/dist/models/public-account-list.d.ts +1 -1
  404. package/dist/models/public-account-list.js +1 -1
  405. package/dist/models/quota-extension.d.ts +1 -1
  406. package/dist/models/quota-extension.js +1 -1
  407. package/dist/models/quota-list.d.ts +1 -1
  408. package/dist/models/quota-list.js +1 -1
  409. package/dist/models/quota-plan.d.ts +1 -1
  410. package/dist/models/quota-plan.js +1 -1
  411. package/dist/models/quota-type.d.ts +1 -1
  412. package/dist/models/quota-type.js +1 -1
  413. package/dist/models/quota.d.ts +1 -1
  414. package/dist/models/quota.js +1 -1
  415. package/dist/models/recipe-interface-list.d.ts +1 -1
  416. package/dist/models/recipe-interface-list.js +1 -1
  417. package/dist/models/recipe-interface.d.ts +1 -1
  418. package/dist/models/recipe-interface.js +1 -1
  419. package/dist/models/recipe-package-list.d.ts +1 -1
  420. package/dist/models/recipe-package-list.js +1 -1
  421. package/dist/models/recipe-package.d.ts +1 -1
  422. package/dist/models/recipe-package.js +1 -1
  423. package/dist/models/recipe.d.ts +1 -1
  424. package/dist/models/recipe.js +1 -1
  425. package/dist/models/repository-access-policy-list.d.ts +1 -1
  426. package/dist/models/repository-access-policy-list.js +1 -1
  427. package/dist/models/repository-access-policy.d.ts +1 -1
  428. package/dist/models/repository-access-policy.js +1 -1
  429. package/dist/models/repository-create.d.ts +1 -1
  430. package/dist/models/repository-create.js +1 -1
  431. package/dist/models/repository-index.d.ts +1 -1
  432. package/dist/models/repository-index.js +1 -1
  433. package/dist/models/repository-list.d.ts +1 -1
  434. package/dist/models/repository-list.js +1 -1
  435. package/dist/models/repository-metadata.d.ts +1 -1
  436. package/dist/models/repository-metadata.js +1 -1
  437. package/dist/models/repository-policy-subject.d.ts +1 -1
  438. package/dist/models/repository-policy-subject.js +1 -1
  439. package/dist/models/repository-sort-key.d.ts +1 -1
  440. package/dist/models/repository-sort-key.js +1 -1
  441. package/dist/models/repository-update.d.ts +1 -1
  442. package/dist/models/repository-update.js +1 -1
  443. package/dist/models/repository-user-permissions.d.ts +1 -1
  444. package/dist/models/repository-user-permissions.js +1 -1
  445. package/dist/models/repository.d.ts +1 -1
  446. package/dist/models/repository.js +1 -1
  447. package/dist/models/resources-duration.d.ts +1 -1
  448. package/dist/models/resources-duration.js +1 -1
  449. package/dist/models/role-enum.d.ts +1 -1
  450. package/dist/models/role-enum.js +1 -1
  451. package/dist/models/run-list.d.ts +1 -1
  452. package/dist/models/run-list.js +1 -1
  453. package/dist/models/run-meta.d.ts +1 -1
  454. package/dist/models/run-meta.js +1 -1
  455. package/dist/models/run-progress.d.ts +1 -1
  456. package/dist/models/run-progress.js +1 -1
  457. package/dist/models/run-result-list.d.ts +1 -1
  458. package/dist/models/run-result-list.js +1 -1
  459. package/dist/models/run-status-enum.d.ts +1 -1
  460. package/dist/models/run-status-enum.js +1 -1
  461. package/dist/models/run-status.d.ts +1 -1
  462. package/dist/models/run-status.js +1 -1
  463. package/dist/models/run.d.ts +1 -1
  464. package/dist/models/run.js +1 -1
  465. package/dist/models/s3-upload-request.d.ts +1 -1
  466. package/dist/models/s3-upload-request.js +1 -1
  467. package/dist/models/s3.d.ts +1 -1
  468. package/dist/models/s3.js +1 -1
  469. package/dist/models/sort-enum.d.ts +1 -1
  470. package/dist/models/sort-enum.js +1 -1
  471. package/dist/models/status-type.d.ts +1 -1
  472. package/dist/models/status-type.js +1 -1
  473. package/dist/models/status.d.ts +1 -1
  474. package/dist/models/status.js +1 -1
  475. package/dist/models/step-array-input.d.ts +1 -1
  476. package/dist/models/step-array-input.js +1 -1
  477. package/dist/models/step-array-output.d.ts +1 -1
  478. package/dist/models/step-array-output.js +1 -1
  479. package/dist/models/step-boolean-input.d.ts +1 -1
  480. package/dist/models/step-boolean-input.js +1 -1
  481. package/dist/models/step-boolean-output.d.ts +1 -1
  482. package/dist/models/step-boolean-output.js +1 -1
  483. package/dist/models/step-file-input.d.ts +1 -1
  484. package/dist/models/step-file-input.js +1 -1
  485. package/dist/models/step-file-output.d.ts +1 -1
  486. package/dist/models/step-file-output.js +1 -1
  487. package/dist/models/step-folder-input.d.ts +1 -1
  488. package/dist/models/step-folder-input.js +1 -1
  489. package/dist/models/step-folder-output.d.ts +1 -1
  490. package/dist/models/step-folder-output.js +1 -1
  491. package/dist/models/step-integer-input.d.ts +1 -1
  492. package/dist/models/step-integer-input.js +1 -1
  493. package/dist/models/step-integer-output.d.ts +1 -1
  494. package/dist/models/step-integer-output.js +1 -1
  495. package/dist/models/step-jsonobject-input.d.ts +1 -1
  496. package/dist/models/step-jsonobject-input.js +1 -1
  497. package/dist/models/step-jsonobject-output.d.ts +1 -1
  498. package/dist/models/step-jsonobject-output.js +1 -1
  499. package/dist/models/step-list.d.ts +1 -1
  500. package/dist/models/step-list.js +1 -1
  501. package/dist/models/step-number-input.d.ts +1 -1
  502. package/dist/models/step-number-input.js +1 -1
  503. package/dist/models/step-number-output.d.ts +1 -1
  504. package/dist/models/step-number-output.js +1 -1
  505. package/dist/models/step-path-input.d.ts +1 -1
  506. package/dist/models/step-path-input.js +1 -1
  507. package/dist/models/step-path-output.d.ts +1 -1
  508. package/dist/models/step-path-output.js +1 -1
  509. package/dist/models/step-status-enum.d.ts +1 -1
  510. package/dist/models/step-status-enum.js +1 -1
  511. package/dist/models/step-status.d.ts +1 -1
  512. package/dist/models/step-status.js +1 -1
  513. package/dist/models/step-string-input.d.ts +1 -1
  514. package/dist/models/step-string-input.js +1 -1
  515. package/dist/models/step-string-output.d.ts +1 -1
  516. package/dist/models/step-string-output.js +1 -1
  517. package/dist/models/subject-type.d.ts +1 -1
  518. package/dist/models/subject-type.js +1 -1
  519. package/dist/models/subscribe.d.ts +1 -1
  520. package/dist/models/subscribe.js +1 -1
  521. package/dist/models/subscription-create.d.ts +1 -1
  522. package/dist/models/subscription-create.js +1 -1
  523. package/dist/models/subscription-item-public-list.d.ts +1 -1
  524. package/dist/models/subscription-item-public-list.js +1 -1
  525. package/dist/models/subscription-item-public.d.ts +1 -1
  526. package/dist/models/subscription-item-public.js +1 -1
  527. package/dist/models/subscription-item.d.ts +1 -1
  528. package/dist/models/subscription-item.js +1 -1
  529. package/dist/models/subscription-plan.d.ts +1 -1
  530. package/dist/models/subscription-plan.js +1 -1
  531. package/dist/models/subscription-update.d.ts +7 -1
  532. package/dist/models/subscription-update.js +1 -1
  533. package/dist/models/subscription.d.ts +8 -1
  534. package/dist/models/subscription.js +1 -1
  535. package/dist/models/task-argument.d.ts +1 -1
  536. package/dist/models/task-argument.js +1 -1
  537. package/dist/models/task-file-reference.d.ts +1 -1
  538. package/dist/models/task-file-reference.js +1 -1
  539. package/dist/models/task-folder-reference.d.ts +1 -1
  540. package/dist/models/task-folder-reference.js +1 -1
  541. package/dist/models/task-path-argument.d.ts +1 -1
  542. package/dist/models/task-path-argument.js +1 -1
  543. package/dist/models/task-path-reference.d.ts +1 -1
  544. package/dist/models/task-path-reference.js +1 -1
  545. package/dist/models/task-path-return.d.ts +1 -1
  546. package/dist/models/task-path-return.js +1 -1
  547. package/dist/models/task-reference.d.ts +1 -1
  548. package/dist/models/task-reference.js +1 -1
  549. package/dist/models/task-return.d.ts +1 -1
  550. package/dist/models/task-return.js +1 -1
  551. package/dist/models/team-create.d.ts +1 -1
  552. package/dist/models/team-create.js +1 -1
  553. package/dist/models/team-list.d.ts +1 -1
  554. package/dist/models/team-list.js +1 -1
  555. package/dist/models/team-member-list.d.ts +1 -1
  556. package/dist/models/team-member-list.js +1 -1
  557. package/dist/models/team-member.d.ts +1 -1
  558. package/dist/models/team-member.js +1 -1
  559. package/dist/models/team-role-enum.d.ts +1 -1
  560. package/dist/models/team-role-enum.js +1 -1
  561. package/dist/models/team-update.d.ts +1 -1
  562. package/dist/models/team-update.js +1 -1
  563. package/dist/models/team.d.ts +1 -1
  564. package/dist/models/team.js +1 -1
  565. package/dist/models/template-function.d.ts +1 -1
  566. package/dist/models/template-function.js +1 -1
  567. package/dist/models/update-accepted.d.ts +1 -1
  568. package/dist/models/update-accepted.js +1 -1
  569. package/dist/models/update-invoice-preview.d.ts +1 -1
  570. package/dist/models/update-invoice-preview.js +1 -1
  571. package/dist/models/usage.d.ts +1 -1
  572. package/dist/models/usage.js +1 -1
  573. package/dist/models/user-create.d.ts +1 -1
  574. package/dist/models/user-create.js +1 -1
  575. package/dist/models/user-permission.d.ts +1 -1
  576. package/dist/models/user-permission.js +1 -1
  577. package/dist/models/user-private.d.ts +1 -1
  578. package/dist/models/user-private.js +1 -1
  579. package/dist/models/user-public-list.d.ts +1 -1
  580. package/dist/models/user-public-list.js +1 -1
  581. package/dist/models/user-public.d.ts +1 -1
  582. package/dist/models/user-public.js +1 -1
  583. package/dist/models/user-update.d.ts +1 -1
  584. package/dist/models/user-update.js +1 -1
  585. package/dist/models/validation-error.d.ts +1 -1
  586. package/dist/models/validation-error.js +1 -1
  587. package/dist/models/value-file-reference.d.ts +1 -1
  588. package/dist/models/value-file-reference.js +1 -1
  589. package/dist/models/value-folder-reference.d.ts +1 -1
  590. package/dist/models/value-folder-reference.js +1 -1
  591. package/dist/models/value-list-reference.d.ts +1 -1
  592. package/dist/models/value-list-reference.js +1 -1
  593. package/dist/models/value-reference.d.ts +1 -1
  594. package/dist/models/value-reference.js +1 -1
  595. package/index.ts +1 -1
  596. package/models/accessor.ts +39 -0
  597. package/models/account-public.ts +1 -1
  598. package/models/account-type.ts +1 -1
  599. package/models/activation-list.ts +32 -0
  600. package/models/activation.ts +105 -0
  601. package/models/apitoken-create.ts +1 -1
  602. package/models/apitoken-list.ts +1 -1
  603. package/models/apitoken-private.ts +1 -1
  604. package/models/apitoken.ts +1 -1
  605. package/models/baked-recipe.ts +1 -1
  606. package/models/body-post-plugin-owner-plugins-post.ts +1 -1
  607. package/models/body-post-recipe-owner-recipes-post.ts +1 -1
  608. package/models/card-public.ts +1 -1
  609. package/models/cloud-job-list.ts +1 -1
  610. package/models/cloud-job.ts +1 -1
  611. package/models/coupon-duration.ts +29 -0
  612. package/models/coupon.ts +74 -0
  613. package/models/created-content.ts +1 -1
  614. package/models/dag.ts +1 -1
  615. package/models/dagarray-input-alias.ts +1 -1
  616. package/models/dagarray-input.ts +1 -1
  617. package/models/dagarray-output-alias.ts +1 -1
  618. package/models/dagarray-output.ts +1 -1
  619. package/models/dagboolean-input-alias.ts +1 -1
  620. package/models/dagboolean-input.ts +1 -1
  621. package/models/dagboolean-output-alias.ts +1 -1
  622. package/models/dagboolean-output.ts +1 -1
  623. package/models/dagfile-input-alias.ts +1 -1
  624. package/models/dagfile-input.ts +1 -1
  625. package/models/dagfile-output-alias.ts +1 -1
  626. package/models/dagfile-output.ts +1 -1
  627. package/models/dagfolder-input-alias.ts +1 -1
  628. package/models/dagfolder-input.ts +1 -1
  629. package/models/dagfolder-output-alias.ts +1 -1
  630. package/models/dagfolder-output.ts +1 -1
  631. package/models/daggeneric-input-alias.ts +1 -1
  632. package/models/daggeneric-input.ts +1 -1
  633. package/models/daggeneric-output-alias.ts +1 -1
  634. package/models/daggeneric-output.ts +1 -1
  635. package/models/daginteger-input-alias.ts +1 -1
  636. package/models/daginteger-input.ts +1 -1
  637. package/models/daginteger-output-alias.ts +1 -1
  638. package/models/daginteger-output.ts +1 -1
  639. package/models/dagjsonobject-input-alias.ts +1 -1
  640. package/models/dagjsonobject-input.ts +1 -1
  641. package/models/dagjsonobject-output-alias.ts +1 -1
  642. package/models/dagjsonobject-output.ts +1 -1
  643. package/models/daglinked-input-alias.ts +1 -1
  644. package/models/daglinked-output-alias.ts +1 -1
  645. package/models/dagnumber-input-alias.ts +1 -1
  646. package/models/dagnumber-input.ts +1 -1
  647. package/models/dagnumber-output-alias.ts +1 -1
  648. package/models/dagnumber-output.ts +1 -1
  649. package/models/dagpath-input-alias.ts +1 -1
  650. package/models/dagpath-input.ts +1 -1
  651. package/models/dagpath-output-alias.ts +1 -1
  652. package/models/dagpath-output.ts +1 -1
  653. package/models/dagstring-input-alias.ts +1 -1
  654. package/models/dagstring-input.ts +1 -1
  655. package/models/dagstring-output-alias.ts +1 -1
  656. package/models/dagstring-output.ts +1 -1
  657. package/models/dagtask-loop.ts +1 -1
  658. package/models/dagtask.ts +1 -1
  659. package/models/daily-usage.ts +1 -1
  660. package/models/dependency-kind.ts +1 -1
  661. package/models/dependency.ts +1 -1
  662. package/models/discount-amount.ts +37 -0
  663. package/models/discount.ts +62 -0
  664. package/models/docker-config.ts +1 -1
  665. package/models/file-meta.ts +1 -1
  666. package/models/file-reference.ts +1 -1
  667. package/models/folder-reference.ts +1 -1
  668. package/models/function-array-input.ts +1 -1
  669. package/models/function-array-output.ts +1 -1
  670. package/models/function-boolean-input.ts +1 -1
  671. package/models/function-boolean-output.ts +1 -1
  672. package/models/function-file-input.ts +1 -1
  673. package/models/function-file-output.ts +1 -1
  674. package/models/function-folder-input.ts +1 -1
  675. package/models/function-folder-output.ts +1 -1
  676. package/models/function-integer-input.ts +1 -1
  677. package/models/function-integer-output.ts +1 -1
  678. package/models/function-jsonobject-input.ts +1 -1
  679. package/models/function-jsonobject-output.ts +1 -1
  680. package/models/function-number-input.ts +1 -1
  681. package/models/function-number-output.ts +1 -1
  682. package/models/function-path-input.ts +1 -1
  683. package/models/function-path-output.ts +1 -1
  684. package/models/function-string-input.ts +1 -1
  685. package/models/function-string-output.ts +1 -1
  686. package/models/function.ts +1 -1
  687. package/models/http.ts +1 -1
  688. package/models/httpvalidation-error.ts +1 -1
  689. package/models/index.ts +18 -0
  690. package/models/input-file-reference.ts +1 -1
  691. package/models/input-folder-reference.ts +1 -1
  692. package/models/input-path-reference.ts +1 -1
  693. package/models/input-reference.ts +1 -1
  694. package/models/inventory.ts +1 -1
  695. package/models/invoice-list.ts +1 -1
  696. package/models/invoice-preview.ts +21 -1
  697. package/models/invoice-status-transitions.ts +1 -1
  698. package/models/invoice-status.ts +1 -1
  699. package/models/invoice.ts +21 -1
  700. package/models/ioalias-handler.ts +1 -1
  701. package/models/item-reference.ts +1 -1
  702. package/models/item-type.ts +1 -1
  703. package/models/job-argument.ts +1 -1
  704. package/models/job-path-argument.ts +1 -1
  705. package/models/job-status-enum.ts +1 -1
  706. package/models/job-status.ts +1 -1
  707. package/models/job.ts +1 -1
  708. package/models/key-request.ts +1 -1
  709. package/models/license-pool-access-policy-list.ts +32 -0
  710. package/models/license-pool-access-policy.ts +39 -0
  711. package/models/license-pool-list.ts +32 -0
  712. package/models/license-pool-policy-subject-list.ts +32 -0
  713. package/models/license-pool-policy-subject.ts +38 -0
  714. package/models/license-pool-public.ts +70 -0
  715. package/models/license-pool-update.ts +31 -0
  716. package/models/license-public.ts +129 -0
  717. package/models/license-type.ts +29 -0
  718. package/models/license.ts +1 -1
  719. package/models/line-item-list.ts +1 -1
  720. package/models/line-item.ts +1 -1
  721. package/models/local-config.ts +1 -1
  722. package/models/location.ts +61 -0
  723. package/models/maintainer.ts +1 -1
  724. package/models/meta-data.ts +1 -1
  725. package/models/metadata.ts +49 -0
  726. package/models/new-plugin-package.ts +1 -1
  727. package/models/new-recipe-package.ts +1 -1
  728. package/models/new-subscription-item.ts +1 -1
  729. package/models/organization-create.ts +1 -1
  730. package/models/organization-list.ts +1 -1
  731. package/models/organization-member-list.ts +1 -1
  732. package/models/organization-member.ts +1 -1
  733. package/models/organization-role-enum.ts +1 -1
  734. package/models/organization-update.ts +1 -1
  735. package/models/organization.ts +1 -1
  736. package/models/package-sort-key.ts +1 -1
  737. package/models/package-version.ts +1 -1
  738. package/models/payment-create.ts +1 -1
  739. package/models/payment-intent.ts +1 -1
  740. package/models/payment-method-list.ts +1 -1
  741. package/models/payment-setup.ts +1 -1
  742. package/models/period.ts +1 -1
  743. package/models/permission.ts +1 -1
  744. package/models/plugin-config.ts +1 -1
  745. package/models/plugin-package-list.ts +1 -1
  746. package/models/plugin-package.ts +1 -1
  747. package/models/plugin.ts +1 -1
  748. package/models/policy-subject.ts +1 -1
  749. package/models/pollination-subscription.ts +1 -1
  750. package/models/price-recurrence.ts +1 -1
  751. package/models/price-tier.ts +1 -1
  752. package/models/price-type.ts +1 -1
  753. package/models/price.ts +1 -1
  754. package/models/product-family.ts +1 -1
  755. package/models/project-access-policy-list.ts +1 -1
  756. package/models/project-access-policy.ts +1 -1
  757. package/models/project-create.ts +1 -1
  758. package/models/project-folder.ts +1 -1
  759. package/models/project-list.ts +1 -1
  760. package/models/project-policy-subject.ts +1 -1
  761. package/models/project-recipe-filter-list.ts +1 -1
  762. package/models/project-recipe-filter.ts +1 -1
  763. package/models/project-sort-key.ts +1 -1
  764. package/models/project-update.ts +1 -1
  765. package/models/project.ts +1 -1
  766. package/models/public-account-list.ts +1 -1
  767. package/models/quota-extension.ts +1 -1
  768. package/models/quota-list.ts +1 -1
  769. package/models/quota-plan.ts +1 -1
  770. package/models/quota-type.ts +1 -1
  771. package/models/quota.ts +1 -1
  772. package/models/recipe-interface-list.ts +1 -1
  773. package/models/recipe-interface.ts +1 -1
  774. package/models/recipe-package-list.ts +1 -1
  775. package/models/recipe-package.ts +1 -1
  776. package/models/recipe.ts +1 -1
  777. package/models/repository-access-policy-list.ts +1 -1
  778. package/models/repository-access-policy.ts +1 -1
  779. package/models/repository-create.ts +1 -1
  780. package/models/repository-index.ts +1 -1
  781. package/models/repository-list.ts +1 -1
  782. package/models/repository-metadata.ts +1 -1
  783. package/models/repository-policy-subject.ts +1 -1
  784. package/models/repository-sort-key.ts +1 -1
  785. package/models/repository-update.ts +1 -1
  786. package/models/repository-user-permissions.ts +1 -1
  787. package/models/repository.ts +1 -1
  788. package/models/resources-duration.ts +1 -1
  789. package/models/role-enum.ts +1 -1
  790. package/models/run-list.ts +1 -1
  791. package/models/run-meta.ts +1 -1
  792. package/models/run-progress.ts +1 -1
  793. package/models/run-result-list.ts +1 -1
  794. package/models/run-status-enum.ts +1 -1
  795. package/models/run-status.ts +1 -1
  796. package/models/run.ts +1 -1
  797. package/models/s3-upload-request.ts +1 -1
  798. package/models/s3.ts +1 -1
  799. package/models/sort-enum.ts +1 -1
  800. package/models/status-type.ts +1 -1
  801. package/models/status.ts +1 -1
  802. package/models/step-array-input.ts +1 -1
  803. package/models/step-array-output.ts +1 -1
  804. package/models/step-boolean-input.ts +1 -1
  805. package/models/step-boolean-output.ts +1 -1
  806. package/models/step-file-input.ts +1 -1
  807. package/models/step-file-output.ts +1 -1
  808. package/models/step-folder-input.ts +1 -1
  809. package/models/step-folder-output.ts +1 -1
  810. package/models/step-integer-input.ts +1 -1
  811. package/models/step-integer-output.ts +1 -1
  812. package/models/step-jsonobject-input.ts +1 -1
  813. package/models/step-jsonobject-output.ts +1 -1
  814. package/models/step-list.ts +1 -1
  815. package/models/step-number-input.ts +1 -1
  816. package/models/step-number-output.ts +1 -1
  817. package/models/step-path-input.ts +1 -1
  818. package/models/step-path-output.ts +1 -1
  819. package/models/step-status-enum.ts +1 -1
  820. package/models/step-status.ts +1 -1
  821. package/models/step-string-input.ts +1 -1
  822. package/models/step-string-output.ts +1 -1
  823. package/models/subject-type.ts +1 -1
  824. package/models/subscribe.ts +1 -1
  825. package/models/subscription-create.ts +1 -1
  826. package/models/subscription-item-public-list.ts +1 -1
  827. package/models/subscription-item-public.ts +1 -1
  828. package/models/subscription-item.ts +1 -1
  829. package/models/subscription-plan.ts +1 -1
  830. package/models/subscription-update.ts +7 -1
  831. package/models/subscription.ts +8 -1
  832. package/models/task-argument.ts +1 -1
  833. package/models/task-file-reference.ts +1 -1
  834. package/models/task-folder-reference.ts +1 -1
  835. package/models/task-path-argument.ts +1 -1
  836. package/models/task-path-reference.ts +1 -1
  837. package/models/task-path-return.ts +1 -1
  838. package/models/task-reference.ts +1 -1
  839. package/models/task-return.ts +1 -1
  840. package/models/team-create.ts +1 -1
  841. package/models/team-list.ts +1 -1
  842. package/models/team-member-list.ts +1 -1
  843. package/models/team-member.ts +1 -1
  844. package/models/team-role-enum.ts +1 -1
  845. package/models/team-update.ts +1 -1
  846. package/models/team.ts +1 -1
  847. package/models/template-function.ts +1 -1
  848. package/models/update-accepted.ts +1 -1
  849. package/models/update-invoice-preview.ts +1 -1
  850. package/models/usage.ts +1 -1
  851. package/models/user-create.ts +1 -1
  852. package/models/user-permission.ts +1 -1
  853. package/models/user-private.ts +1 -1
  854. package/models/user-public-list.ts +1 -1
  855. package/models/user-public.ts +1 -1
  856. package/models/user-update.ts +1 -1
  857. package/models/validation-error.ts +1 -1
  858. package/models/value-file-reference.ts +1 -1
  859. package/models/value-folder-reference.ts +1 -1
  860. package/models/value-list-reference.ts +1 -1
  861. package/models/value-reference.ts +1 -1
  862. package/package.json +1 -1
@@ -0,0 +1,1010 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * pollination-server
5
+ * Pollination Server OpenAPI Definition
6
+ *
7
+ * The version of the OpenAPI document: 0.22.0
8
+ * Contact: info@pollination.cloud
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import globalAxios, { AxiosPromise, AxiosInstance } from 'axios';
17
+ import { Configuration } from '../configuration';
18
+ // Some imports not used depending on template conditions
19
+ // @ts-ignore
20
+ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
21
+ // @ts-ignore
22
+ import { ActivationList } from '../models';
23
+ // @ts-ignore
24
+ import { HTTPValidationError } from '../models';
25
+ // @ts-ignore
26
+ import { LicensePoolAccessPolicyList } from '../models';
27
+ // @ts-ignore
28
+ import { LicensePoolList } from '../models';
29
+ // @ts-ignore
30
+ import { LicensePoolPolicySubjectList } from '../models';
31
+ // @ts-ignore
32
+ import { LicensePoolPublic } from '../models';
33
+ // @ts-ignore
34
+ import { LicensePoolUpdate } from '../models';
35
+ // @ts-ignore
36
+ import { LicensePublic } from '../models';
37
+ /**
38
+ * LicensesApi - axios parameter creator
39
+ * @export
40
+ */
41
+ export const LicensesApiAxiosParamCreator = function (configuration?: Configuration) {
42
+ return {
43
+ /**
44
+ * Delete the activation
45
+ * @summary Delete Activation
46
+ * @param {string} poolId
47
+ * @param {string} activationId
48
+ * @param {*} [options] Override http request option.
49
+ * @throws {RequiredError}
50
+ */
51
+ deleteActivation: async (poolId: string, activationId: string, options: any = {}): Promise<RequestArgs> => {
52
+ // verify required parameter 'poolId' is not null or undefined
53
+ if (poolId === null || poolId === undefined) {
54
+ throw new RequiredError('poolId','Required parameter poolId was null or undefined when calling deleteActivation.');
55
+ }
56
+ // verify required parameter 'activationId' is not null or undefined
57
+ if (activationId === null || activationId === undefined) {
58
+ throw new RequiredError('activationId','Required parameter activationId was null or undefined when calling deleteActivation.');
59
+ }
60
+ const localVarPath = `/licenses/pools/{pool_id}/activations/{activation_id}`
61
+ .replace(`{${"pool_id"}}`, encodeURIComponent(String(poolId)))
62
+ .replace(`{${"activation_id"}}`, encodeURIComponent(String(activationId)));
63
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
64
+ const localVarUrlObj = new URL(localVarPath, 'https://example.com');
65
+ let baseOptions;
66
+ if (configuration) {
67
+ baseOptions = configuration.baseOptions;
68
+ }
69
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
70
+ const localVarHeaderParameter = {} as any;
71
+ const localVarQueryParameter = {} as any;
72
+
73
+ // authentication APIKeyAuth required
74
+ if (configuration && configuration.apiKey) {
75
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
76
+ ? await configuration.apiKey("x-pollination-token")
77
+ : await configuration.apiKey;
78
+ localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
79
+ }
80
+
81
+ // authentication JWTAuth required
82
+ // http bearer authentication required
83
+ if (configuration && configuration.accessToken) {
84
+ const accessToken = typeof configuration.accessToken === 'function'
85
+ ? await configuration.accessToken()
86
+ : await configuration.accessToken;
87
+ localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
88
+ }
89
+
90
+
91
+
92
+ const query = new URLSearchParams(localVarUrlObj.search);
93
+ for (const key in localVarQueryParameter) {
94
+ query.set(key, localVarQueryParameter[key]);
95
+ }
96
+ for (const key in options.query) {
97
+ query.set(key, options.query[key]);
98
+ }
99
+ localVarUrlObj.search = (new URLSearchParams(query)).toString();
100
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
101
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
102
+
103
+ return {
104
+ url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
105
+ options: localVarRequestOptions,
106
+ };
107
+ },
108
+ /**
109
+ * Get license pools available to authenticated user
110
+ * @summary Get Available Pools
111
+ * @param {Array<string>} [owner] Owner of the project
112
+ * @param {*} [options] Override http request option.
113
+ * @throws {RequiredError}
114
+ */
115
+ getAvailablePools: async (owner?: Array<string>, options: any = {}): Promise<RequestArgs> => {
116
+ const localVarPath = `/licenses/pools`;
117
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
118
+ const localVarUrlObj = new URL(localVarPath, 'https://example.com');
119
+ let baseOptions;
120
+ if (configuration) {
121
+ baseOptions = configuration.baseOptions;
122
+ }
123
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
124
+ const localVarHeaderParameter = {} as any;
125
+ const localVarQueryParameter = {} as any;
126
+
127
+ // authentication APIKeyAuth required
128
+ if (configuration && configuration.apiKey) {
129
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
130
+ ? await configuration.apiKey("x-pollination-token")
131
+ : await configuration.apiKey;
132
+ localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
133
+ }
134
+
135
+ // authentication JWTAuth required
136
+ // http bearer authentication required
137
+ if (configuration && configuration.accessToken) {
138
+ const accessToken = typeof configuration.accessToken === 'function'
139
+ ? await configuration.accessToken()
140
+ : await configuration.accessToken;
141
+ localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
142
+ }
143
+
144
+ if (owner) {
145
+ localVarQueryParameter['owner'] = owner;
146
+ }
147
+
148
+
149
+
150
+ const query = new URLSearchParams(localVarUrlObj.search);
151
+ for (const key in localVarQueryParameter) {
152
+ query.set(key, localVarQueryParameter[key]);
153
+ }
154
+ for (const key in options.query) {
155
+ query.set(key, options.query[key]);
156
+ }
157
+ localVarUrlObj.search = (new URLSearchParams(query)).toString();
158
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
159
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
160
+
161
+ return {
162
+ url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
163
+ options: localVarRequestOptions,
164
+ };
165
+ },
166
+ /**
167
+ * Get the activations for the license
168
+ * @summary Get Activations
169
+ * @param {string} poolId
170
+ * @param {*} [options] Override http request option.
171
+ * @throws {RequiredError}
172
+ */
173
+ getLicenseActivations: async (poolId: string, options: any = {}): Promise<RequestArgs> => {
174
+ // verify required parameter 'poolId' is not null or undefined
175
+ if (poolId === null || poolId === undefined) {
176
+ throw new RequiredError('poolId','Required parameter poolId was null or undefined when calling getLicenseActivations.');
177
+ }
178
+ const localVarPath = `/licenses/pools/{pool_id}/activations`
179
+ .replace(`{${"pool_id"}}`, encodeURIComponent(String(poolId)));
180
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
181
+ const localVarUrlObj = new URL(localVarPath, 'https://example.com');
182
+ let baseOptions;
183
+ if (configuration) {
184
+ baseOptions = configuration.baseOptions;
185
+ }
186
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
187
+ const localVarHeaderParameter = {} as any;
188
+ const localVarQueryParameter = {} as any;
189
+
190
+ // authentication APIKeyAuth required
191
+ if (configuration && configuration.apiKey) {
192
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
193
+ ? await configuration.apiKey("x-pollination-token")
194
+ : await configuration.apiKey;
195
+ localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
196
+ }
197
+
198
+ // authentication JWTAuth required
199
+ // http bearer authentication required
200
+ if (configuration && configuration.accessToken) {
201
+ const accessToken = typeof configuration.accessToken === 'function'
202
+ ? await configuration.accessToken()
203
+ : await configuration.accessToken;
204
+ localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
205
+ }
206
+
207
+
208
+
209
+ const query = new URLSearchParams(localVarUrlObj.search);
210
+ for (const key in localVarQueryParameter) {
211
+ query.set(key, localVarQueryParameter[key]);
212
+ }
213
+ for (const key in options.query) {
214
+ query.set(key, options.query[key]);
215
+ }
216
+ localVarUrlObj.search = (new URLSearchParams(query)).toString();
217
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
218
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
219
+
220
+ return {
221
+ url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
222
+ options: localVarRequestOptions,
223
+ };
224
+ },
225
+ /**
226
+ * Get the license associated with a pool
227
+ * @summary Get Pool License
228
+ * @param {string} poolId
229
+ * @param {*} [options] Override http request option.
230
+ * @throws {RequiredError}
231
+ */
232
+ getPoolLicense: async (poolId: string, options: any = {}): Promise<RequestArgs> => {
233
+ // verify required parameter 'poolId' is not null or undefined
234
+ if (poolId === null || poolId === undefined) {
235
+ throw new RequiredError('poolId','Required parameter poolId was null or undefined when calling getPoolLicense.');
236
+ }
237
+ const localVarPath = `/licenses/pools/{pool_id}/license`
238
+ .replace(`{${"pool_id"}}`, encodeURIComponent(String(poolId)));
239
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
240
+ const localVarUrlObj = new URL(localVarPath, 'https://example.com');
241
+ let baseOptions;
242
+ if (configuration) {
243
+ baseOptions = configuration.baseOptions;
244
+ }
245
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
246
+ const localVarHeaderParameter = {} as any;
247
+ const localVarQueryParameter = {} as any;
248
+
249
+ // authentication APIKeyAuth required
250
+ if (configuration && configuration.apiKey) {
251
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
252
+ ? await configuration.apiKey("x-pollination-token")
253
+ : await configuration.apiKey;
254
+ localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
255
+ }
256
+
257
+ // authentication JWTAuth required
258
+ // http bearer authentication required
259
+ if (configuration && configuration.accessToken) {
260
+ const accessToken = typeof configuration.accessToken === 'function'
261
+ ? await configuration.accessToken()
262
+ : await configuration.accessToken;
263
+ localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
264
+ }
265
+
266
+
267
+
268
+ const query = new URLSearchParams(localVarUrlObj.search);
269
+ for (const key in localVarQueryParameter) {
270
+ query.set(key, localVarQueryParameter[key]);
271
+ }
272
+ for (const key in options.query) {
273
+ query.set(key, options.query[key]);
274
+ }
275
+ localVarUrlObj.search = (new URLSearchParams(query)).toString();
276
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
277
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
278
+
279
+ return {
280
+ url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
281
+ options: localVarRequestOptions,
282
+ };
283
+ },
284
+ /**
285
+ * Grant access to the license pool
286
+ * @summary Grant Pool Access
287
+ * @param {string} poolId
288
+ * @param {LicensePoolAccessPolicyList} licensePoolAccessPolicyList
289
+ * @param {*} [options] Override http request option.
290
+ * @throws {RequiredError}
291
+ */
292
+ grantAccessToPool: async (poolId: string, licensePoolAccessPolicyList: LicensePoolAccessPolicyList, options: any = {}): Promise<RequestArgs> => {
293
+ // verify required parameter 'poolId' is not null or undefined
294
+ if (poolId === null || poolId === undefined) {
295
+ throw new RequiredError('poolId','Required parameter poolId was null or undefined when calling grantAccessToPool.');
296
+ }
297
+ // verify required parameter 'licensePoolAccessPolicyList' is not null or undefined
298
+ if (licensePoolAccessPolicyList === null || licensePoolAccessPolicyList === undefined) {
299
+ throw new RequiredError('licensePoolAccessPolicyList','Required parameter licensePoolAccessPolicyList was null or undefined when calling grantAccessToPool.');
300
+ }
301
+ const localVarPath = `/licenses/pools/{pool_id}/permissions`
302
+ .replace(`{${"pool_id"}}`, encodeURIComponent(String(poolId)));
303
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
304
+ const localVarUrlObj = new URL(localVarPath, 'https://example.com');
305
+ let baseOptions;
306
+ if (configuration) {
307
+ baseOptions = configuration.baseOptions;
308
+ }
309
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
310
+ const localVarHeaderParameter = {} as any;
311
+ const localVarQueryParameter = {} as any;
312
+
313
+ // authentication APIKeyAuth required
314
+ if (configuration && configuration.apiKey) {
315
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
316
+ ? await configuration.apiKey("x-pollination-token")
317
+ : await configuration.apiKey;
318
+ localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
319
+ }
320
+
321
+ // authentication JWTAuth required
322
+ // http bearer authentication required
323
+ if (configuration && configuration.accessToken) {
324
+ const accessToken = typeof configuration.accessToken === 'function'
325
+ ? await configuration.accessToken()
326
+ : await configuration.accessToken;
327
+ localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
328
+ }
329
+
330
+
331
+
332
+ localVarHeaderParameter['Content-Type'] = 'application/json';
333
+
334
+ const query = new URLSearchParams(localVarUrlObj.search);
335
+ for (const key in localVarQueryParameter) {
336
+ query.set(key, localVarQueryParameter[key]);
337
+ }
338
+ for (const key in options.query) {
339
+ query.set(key, options.query[key]);
340
+ }
341
+ localVarUrlObj.search = (new URLSearchParams(query)).toString();
342
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
343
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
344
+ const needsSerialization = (typeof licensePoolAccessPolicyList !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
345
+ localVarRequestOptions.data = needsSerialization ? JSON.stringify(licensePoolAccessPolicyList !== undefined ? licensePoolAccessPolicyList : {}) : (licensePoolAccessPolicyList || "");
346
+
347
+ return {
348
+ url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
349
+ options: localVarRequestOptions,
350
+ };
351
+ },
352
+ /**
353
+ * Regenerate the license associated with the pool
354
+ * @summary Regenerate
355
+ * @param {string} poolId
356
+ * @param {*} [options] Override http request option.
357
+ * @throws {RequiredError}
358
+ */
359
+ regenerateLicensePool: async (poolId: string, options: any = {}): Promise<RequestArgs> => {
360
+ // verify required parameter 'poolId' is not null or undefined
361
+ if (poolId === null || poolId === undefined) {
362
+ throw new RequiredError('poolId','Required parameter poolId was null or undefined when calling regenerateLicensePool.');
363
+ }
364
+ const localVarPath = `/licenses/pools/{pool_id}/regenerate`
365
+ .replace(`{${"pool_id"}}`, encodeURIComponent(String(poolId)));
366
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
367
+ const localVarUrlObj = new URL(localVarPath, 'https://example.com');
368
+ let baseOptions;
369
+ if (configuration) {
370
+ baseOptions = configuration.baseOptions;
371
+ }
372
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
373
+ const localVarHeaderParameter = {} as any;
374
+ const localVarQueryParameter = {} as any;
375
+
376
+ // authentication APIKeyAuth required
377
+ if (configuration && configuration.apiKey) {
378
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
379
+ ? await configuration.apiKey("x-pollination-token")
380
+ : await configuration.apiKey;
381
+ localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
382
+ }
383
+
384
+ // authentication JWTAuth required
385
+ // http bearer authentication required
386
+ if (configuration && configuration.accessToken) {
387
+ const accessToken = typeof configuration.accessToken === 'function'
388
+ ? await configuration.accessToken()
389
+ : await configuration.accessToken;
390
+ localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
391
+ }
392
+
393
+
394
+
395
+ const query = new URLSearchParams(localVarUrlObj.search);
396
+ for (const key in localVarQueryParameter) {
397
+ query.set(key, localVarQueryParameter[key]);
398
+ }
399
+ for (const key in options.query) {
400
+ query.set(key, options.query[key]);
401
+ }
402
+ localVarUrlObj.search = (new URLSearchParams(query)).toString();
403
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
404
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
405
+
406
+ return {
407
+ url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
408
+ options: localVarRequestOptions,
409
+ };
410
+ },
411
+ /**
412
+ * Revoke access to the license pool
413
+ * @summary Delete Pool Access
414
+ * @param {string} poolId
415
+ * @param {LicensePoolPolicySubjectList} licensePoolPolicySubjectList
416
+ * @param {*} [options] Override http request option.
417
+ * @throws {RequiredError}
418
+ */
419
+ revokeAccessToPool: async (poolId: string, licensePoolPolicySubjectList: LicensePoolPolicySubjectList, options: any = {}): Promise<RequestArgs> => {
420
+ // verify required parameter 'poolId' is not null or undefined
421
+ if (poolId === null || poolId === undefined) {
422
+ throw new RequiredError('poolId','Required parameter poolId was null or undefined when calling revokeAccessToPool.');
423
+ }
424
+ // verify required parameter 'licensePoolPolicySubjectList' is not null or undefined
425
+ if (licensePoolPolicySubjectList === null || licensePoolPolicySubjectList === undefined) {
426
+ throw new RequiredError('licensePoolPolicySubjectList','Required parameter licensePoolPolicySubjectList was null or undefined when calling revokeAccessToPool.');
427
+ }
428
+ const localVarPath = `/licenses/pools/{pool_id}/permissions`
429
+ .replace(`{${"pool_id"}}`, encodeURIComponent(String(poolId)));
430
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
431
+ const localVarUrlObj = new URL(localVarPath, 'https://example.com');
432
+ let baseOptions;
433
+ if (configuration) {
434
+ baseOptions = configuration.baseOptions;
435
+ }
436
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
437
+ const localVarHeaderParameter = {} as any;
438
+ const localVarQueryParameter = {} as any;
439
+
440
+ // authentication APIKeyAuth required
441
+ if (configuration && configuration.apiKey) {
442
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
443
+ ? await configuration.apiKey("x-pollination-token")
444
+ : await configuration.apiKey;
445
+ localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
446
+ }
447
+
448
+ // authentication JWTAuth required
449
+ // http bearer authentication required
450
+ if (configuration && configuration.accessToken) {
451
+ const accessToken = typeof configuration.accessToken === 'function'
452
+ ? await configuration.accessToken()
453
+ : await configuration.accessToken;
454
+ localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
455
+ }
456
+
457
+
458
+
459
+ localVarHeaderParameter['Content-Type'] = 'application/json';
460
+
461
+ const query = new URLSearchParams(localVarUrlObj.search);
462
+ for (const key in localVarQueryParameter) {
463
+ query.set(key, localVarQueryParameter[key]);
464
+ }
465
+ for (const key in options.query) {
466
+ query.set(key, options.query[key]);
467
+ }
468
+ localVarUrlObj.search = (new URLSearchParams(query)).toString();
469
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
470
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
471
+ const needsSerialization = (typeof licensePoolPolicySubjectList !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
472
+ localVarRequestOptions.data = needsSerialization ? JSON.stringify(licensePoolPolicySubjectList !== undefined ? licensePoolPolicySubjectList : {}) : (licensePoolPolicySubjectList || "");
473
+
474
+ return {
475
+ url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
476
+ options: localVarRequestOptions,
477
+ };
478
+ },
479
+ /**
480
+ * Update the license pool
481
+ * @summary Update Pool
482
+ * @param {string} poolId
483
+ * @param {LicensePoolUpdate} licensePoolUpdate
484
+ * @param {*} [options] Override http request option.
485
+ * @throws {RequiredError}
486
+ */
487
+ updateLicensePool: async (poolId: string, licensePoolUpdate: LicensePoolUpdate, options: any = {}): Promise<RequestArgs> => {
488
+ // verify required parameter 'poolId' is not null or undefined
489
+ if (poolId === null || poolId === undefined) {
490
+ throw new RequiredError('poolId','Required parameter poolId was null or undefined when calling updateLicensePool.');
491
+ }
492
+ // verify required parameter 'licensePoolUpdate' is not null or undefined
493
+ if (licensePoolUpdate === null || licensePoolUpdate === undefined) {
494
+ throw new RequiredError('licensePoolUpdate','Required parameter licensePoolUpdate was null or undefined when calling updateLicensePool.');
495
+ }
496
+ const localVarPath = `/licenses/pools/{pool_id}`
497
+ .replace(`{${"pool_id"}}`, encodeURIComponent(String(poolId)));
498
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
499
+ const localVarUrlObj = new URL(localVarPath, 'https://example.com');
500
+ let baseOptions;
501
+ if (configuration) {
502
+ baseOptions = configuration.baseOptions;
503
+ }
504
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
505
+ const localVarHeaderParameter = {} as any;
506
+ const localVarQueryParameter = {} as any;
507
+
508
+ // authentication APIKeyAuth required
509
+ if (configuration && configuration.apiKey) {
510
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
511
+ ? await configuration.apiKey("x-pollination-token")
512
+ : await configuration.apiKey;
513
+ localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
514
+ }
515
+
516
+ // authentication JWTAuth required
517
+ // http bearer authentication required
518
+ if (configuration && configuration.accessToken) {
519
+ const accessToken = typeof configuration.accessToken === 'function'
520
+ ? await configuration.accessToken()
521
+ : await configuration.accessToken;
522
+ localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
523
+ }
524
+
525
+
526
+
527
+ localVarHeaderParameter['Content-Type'] = 'application/json';
528
+
529
+ const query = new URLSearchParams(localVarUrlObj.search);
530
+ for (const key in localVarQueryParameter) {
531
+ query.set(key, localVarQueryParameter[key]);
532
+ }
533
+ for (const key in options.query) {
534
+ query.set(key, options.query[key]);
535
+ }
536
+ localVarUrlObj.search = (new URLSearchParams(query)).toString();
537
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
538
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
539
+ const needsSerialization = (typeof licensePoolUpdate !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
540
+ localVarRequestOptions.data = needsSerialization ? JSON.stringify(licensePoolUpdate !== undefined ? licensePoolUpdate : {}) : (licensePoolUpdate || "");
541
+
542
+ return {
543
+ url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
544
+ options: localVarRequestOptions,
545
+ };
546
+ },
547
+ }
548
+ };
549
+
550
+ /**
551
+ * LicensesApi - functional programming interface
552
+ * @export
553
+ */
554
+ export const LicensesApiFp = function(configuration?: Configuration) {
555
+ return {
556
+ /**
557
+ * Delete the activation
558
+ * @summary Delete Activation
559
+ * @param {string} poolId
560
+ * @param {string} activationId
561
+ * @param {*} [options] Override http request option.
562
+ * @throws {RequiredError}
563
+ */
564
+ async deleteActivation(poolId: string, activationId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
565
+ const localVarAxiosArgs = await LicensesApiAxiosParamCreator(configuration).deleteActivation(poolId, activationId, options);
566
+ return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
567
+ const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
568
+ return axios.request(axiosRequestArgs);
569
+ };
570
+ },
571
+ /**
572
+ * Get license pools available to authenticated user
573
+ * @summary Get Available Pools
574
+ * @param {Array<string>} [owner] Owner of the project
575
+ * @param {*} [options] Override http request option.
576
+ * @throws {RequiredError}
577
+ */
578
+ async getAvailablePools(owner?: Array<string>, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LicensePoolList>> {
579
+ const localVarAxiosArgs = await LicensesApiAxiosParamCreator(configuration).getAvailablePools(owner, options);
580
+ return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
581
+ const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
582
+ return axios.request(axiosRequestArgs);
583
+ };
584
+ },
585
+ /**
586
+ * Get the activations for the license
587
+ * @summary Get Activations
588
+ * @param {string} poolId
589
+ * @param {*} [options] Override http request option.
590
+ * @throws {RequiredError}
591
+ */
592
+ async getLicenseActivations(poolId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ActivationList>> {
593
+ const localVarAxiosArgs = await LicensesApiAxiosParamCreator(configuration).getLicenseActivations(poolId, options);
594
+ return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
595
+ const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
596
+ return axios.request(axiosRequestArgs);
597
+ };
598
+ },
599
+ /**
600
+ * Get the license associated with a pool
601
+ * @summary Get Pool License
602
+ * @param {string} poolId
603
+ * @param {*} [options] Override http request option.
604
+ * @throws {RequiredError}
605
+ */
606
+ async getPoolLicense(poolId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LicensePublic>> {
607
+ const localVarAxiosArgs = await LicensesApiAxiosParamCreator(configuration).getPoolLicense(poolId, options);
608
+ return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
609
+ const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
610
+ return axios.request(axiosRequestArgs);
611
+ };
612
+ },
613
+ /**
614
+ * Grant access to the license pool
615
+ * @summary Grant Pool Access
616
+ * @param {string} poolId
617
+ * @param {LicensePoolAccessPolicyList} licensePoolAccessPolicyList
618
+ * @param {*} [options] Override http request option.
619
+ * @throws {RequiredError}
620
+ */
621
+ async grantAccessToPool(poolId: string, licensePoolAccessPolicyList: LicensePoolAccessPolicyList, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LicensePoolPublic>> {
622
+ const localVarAxiosArgs = await LicensesApiAxiosParamCreator(configuration).grantAccessToPool(poolId, licensePoolAccessPolicyList, options);
623
+ return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
624
+ const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
625
+ return axios.request(axiosRequestArgs);
626
+ };
627
+ },
628
+ /**
629
+ * Regenerate the license associated with the pool
630
+ * @summary Regenerate
631
+ * @param {string} poolId
632
+ * @param {*} [options] Override http request option.
633
+ * @throws {RequiredError}
634
+ */
635
+ async regenerateLicensePool(poolId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>> {
636
+ const localVarAxiosArgs = await LicensesApiAxiosParamCreator(configuration).regenerateLicensePool(poolId, options);
637
+ return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
638
+ const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
639
+ return axios.request(axiosRequestArgs);
640
+ };
641
+ },
642
+ /**
643
+ * Revoke access to the license pool
644
+ * @summary Delete Pool Access
645
+ * @param {string} poolId
646
+ * @param {LicensePoolPolicySubjectList} licensePoolPolicySubjectList
647
+ * @param {*} [options] Override http request option.
648
+ * @throws {RequiredError}
649
+ */
650
+ async revokeAccessToPool(poolId: string, licensePoolPolicySubjectList: LicensePoolPolicySubjectList, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LicensePoolPublic>> {
651
+ const localVarAxiosArgs = await LicensesApiAxiosParamCreator(configuration).revokeAccessToPool(poolId, licensePoolPolicySubjectList, options);
652
+ return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
653
+ const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
654
+ return axios.request(axiosRequestArgs);
655
+ };
656
+ },
657
+ /**
658
+ * Update the license pool
659
+ * @summary Update Pool
660
+ * @param {string} poolId
661
+ * @param {LicensePoolUpdate} licensePoolUpdate
662
+ * @param {*} [options] Override http request option.
663
+ * @throws {RequiredError}
664
+ */
665
+ async updateLicensePool(poolId: string, licensePoolUpdate: LicensePoolUpdate, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>> {
666
+ const localVarAxiosArgs = await LicensesApiAxiosParamCreator(configuration).updateLicensePool(poolId, licensePoolUpdate, options);
667
+ return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
668
+ const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
669
+ return axios.request(axiosRequestArgs);
670
+ };
671
+ },
672
+ }
673
+ };
674
+
675
+ /**
676
+ * LicensesApi - factory interface
677
+ * @export
678
+ */
679
+ export const LicensesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
680
+ return {
681
+ /**
682
+ * Delete the activation
683
+ * @summary Delete Activation
684
+ * @param {string} poolId
685
+ * @param {string} activationId
686
+ * @param {*} [options] Override http request option.
687
+ * @throws {RequiredError}
688
+ */
689
+ deleteActivation(poolId: string, activationId: string, options?: any): AxiosPromise<void> {
690
+ return LicensesApiFp(configuration).deleteActivation(poolId, activationId, options).then((request) => request(axios, basePath));
691
+ },
692
+ /**
693
+ * Get license pools available to authenticated user
694
+ * @summary Get Available Pools
695
+ * @param {Array<string>} [owner] Owner of the project
696
+ * @param {*} [options] Override http request option.
697
+ * @throws {RequiredError}
698
+ */
699
+ getAvailablePools(owner?: Array<string>, options?: any): AxiosPromise<LicensePoolList> {
700
+ return LicensesApiFp(configuration).getAvailablePools(owner, options).then((request) => request(axios, basePath));
701
+ },
702
+ /**
703
+ * Get the activations for the license
704
+ * @summary Get Activations
705
+ * @param {string} poolId
706
+ * @param {*} [options] Override http request option.
707
+ * @throws {RequiredError}
708
+ */
709
+ getLicenseActivations(poolId: string, options?: any): AxiosPromise<ActivationList> {
710
+ return LicensesApiFp(configuration).getLicenseActivations(poolId, options).then((request) => request(axios, basePath));
711
+ },
712
+ /**
713
+ * Get the license associated with a pool
714
+ * @summary Get Pool License
715
+ * @param {string} poolId
716
+ * @param {*} [options] Override http request option.
717
+ * @throws {RequiredError}
718
+ */
719
+ getPoolLicense(poolId: string, options?: any): AxiosPromise<LicensePublic> {
720
+ return LicensesApiFp(configuration).getPoolLicense(poolId, options).then((request) => request(axios, basePath));
721
+ },
722
+ /**
723
+ * Grant access to the license pool
724
+ * @summary Grant Pool Access
725
+ * @param {string} poolId
726
+ * @param {LicensePoolAccessPolicyList} licensePoolAccessPolicyList
727
+ * @param {*} [options] Override http request option.
728
+ * @throws {RequiredError}
729
+ */
730
+ grantAccessToPool(poolId: string, licensePoolAccessPolicyList: LicensePoolAccessPolicyList, options?: any): AxiosPromise<LicensePoolPublic> {
731
+ return LicensesApiFp(configuration).grantAccessToPool(poolId, licensePoolAccessPolicyList, options).then((request) => request(axios, basePath));
732
+ },
733
+ /**
734
+ * Regenerate the license associated with the pool
735
+ * @summary Regenerate
736
+ * @param {string} poolId
737
+ * @param {*} [options] Override http request option.
738
+ * @throws {RequiredError}
739
+ */
740
+ regenerateLicensePool(poolId: string, options?: any): AxiosPromise<any> {
741
+ return LicensesApiFp(configuration).regenerateLicensePool(poolId, options).then((request) => request(axios, basePath));
742
+ },
743
+ /**
744
+ * Revoke access to the license pool
745
+ * @summary Delete Pool Access
746
+ * @param {string} poolId
747
+ * @param {LicensePoolPolicySubjectList} licensePoolPolicySubjectList
748
+ * @param {*} [options] Override http request option.
749
+ * @throws {RequiredError}
750
+ */
751
+ revokeAccessToPool(poolId: string, licensePoolPolicySubjectList: LicensePoolPolicySubjectList, options?: any): AxiosPromise<LicensePoolPublic> {
752
+ return LicensesApiFp(configuration).revokeAccessToPool(poolId, licensePoolPolicySubjectList, options).then((request) => request(axios, basePath));
753
+ },
754
+ /**
755
+ * Update the license pool
756
+ * @summary Update Pool
757
+ * @param {string} poolId
758
+ * @param {LicensePoolUpdate} licensePoolUpdate
759
+ * @param {*} [options] Override http request option.
760
+ * @throws {RequiredError}
761
+ */
762
+ updateLicensePool(poolId: string, licensePoolUpdate: LicensePoolUpdate, options?: any): AxiosPromise<any> {
763
+ return LicensesApiFp(configuration).updateLicensePool(poolId, licensePoolUpdate, options).then((request) => request(axios, basePath));
764
+ },
765
+ };
766
+ };
767
+
768
+ /**
769
+ * Request parameters for deleteActivation operation in LicensesApi.
770
+ * @export
771
+ * @interface LicensesApiDeleteActivationRequest
772
+ */
773
+ export interface LicensesApiDeleteActivationRequest {
774
+ /**
775
+ *
776
+ * @type {string}
777
+ * @memberof LicensesApiDeleteActivation
778
+ */
779
+ readonly poolId: string
780
+
781
+ /**
782
+ *
783
+ * @type {string}
784
+ * @memberof LicensesApiDeleteActivation
785
+ */
786
+ readonly activationId: string
787
+ }
788
+
789
+ /**
790
+ * Request parameters for getAvailablePools operation in LicensesApi.
791
+ * @export
792
+ * @interface LicensesApiGetAvailablePoolsRequest
793
+ */
794
+ export interface LicensesApiGetAvailablePoolsRequest {
795
+ /**
796
+ * Owner of the project
797
+ * @type {Array<string>}
798
+ * @memberof LicensesApiGetAvailablePools
799
+ */
800
+ readonly owner?: Array<string>
801
+ }
802
+
803
+ /**
804
+ * Request parameters for getLicenseActivations operation in LicensesApi.
805
+ * @export
806
+ * @interface LicensesApiGetLicenseActivationsRequest
807
+ */
808
+ export interface LicensesApiGetLicenseActivationsRequest {
809
+ /**
810
+ *
811
+ * @type {string}
812
+ * @memberof LicensesApiGetLicenseActivations
813
+ */
814
+ readonly poolId: string
815
+ }
816
+
817
+ /**
818
+ * Request parameters for getPoolLicense operation in LicensesApi.
819
+ * @export
820
+ * @interface LicensesApiGetPoolLicenseRequest
821
+ */
822
+ export interface LicensesApiGetPoolLicenseRequest {
823
+ /**
824
+ *
825
+ * @type {string}
826
+ * @memberof LicensesApiGetPoolLicense
827
+ */
828
+ readonly poolId: string
829
+ }
830
+
831
+ /**
832
+ * Request parameters for grantAccessToPool operation in LicensesApi.
833
+ * @export
834
+ * @interface LicensesApiGrantAccessToPoolRequest
835
+ */
836
+ export interface LicensesApiGrantAccessToPoolRequest {
837
+ /**
838
+ *
839
+ * @type {string}
840
+ * @memberof LicensesApiGrantAccessToPool
841
+ */
842
+ readonly poolId: string
843
+
844
+ /**
845
+ *
846
+ * @type {LicensePoolAccessPolicyList}
847
+ * @memberof LicensesApiGrantAccessToPool
848
+ */
849
+ readonly licensePoolAccessPolicyList: LicensePoolAccessPolicyList
850
+ }
851
+
852
+ /**
853
+ * Request parameters for regenerateLicensePool operation in LicensesApi.
854
+ * @export
855
+ * @interface LicensesApiRegenerateLicensePoolRequest
856
+ */
857
+ export interface LicensesApiRegenerateLicensePoolRequest {
858
+ /**
859
+ *
860
+ * @type {string}
861
+ * @memberof LicensesApiRegenerateLicensePool
862
+ */
863
+ readonly poolId: string
864
+ }
865
+
866
+ /**
867
+ * Request parameters for revokeAccessToPool operation in LicensesApi.
868
+ * @export
869
+ * @interface LicensesApiRevokeAccessToPoolRequest
870
+ */
871
+ export interface LicensesApiRevokeAccessToPoolRequest {
872
+ /**
873
+ *
874
+ * @type {string}
875
+ * @memberof LicensesApiRevokeAccessToPool
876
+ */
877
+ readonly poolId: string
878
+
879
+ /**
880
+ *
881
+ * @type {LicensePoolPolicySubjectList}
882
+ * @memberof LicensesApiRevokeAccessToPool
883
+ */
884
+ readonly licensePoolPolicySubjectList: LicensePoolPolicySubjectList
885
+ }
886
+
887
+ /**
888
+ * Request parameters for updateLicensePool operation in LicensesApi.
889
+ * @export
890
+ * @interface LicensesApiUpdateLicensePoolRequest
891
+ */
892
+ export interface LicensesApiUpdateLicensePoolRequest {
893
+ /**
894
+ *
895
+ * @type {string}
896
+ * @memberof LicensesApiUpdateLicensePool
897
+ */
898
+ readonly poolId: string
899
+
900
+ /**
901
+ *
902
+ * @type {LicensePoolUpdate}
903
+ * @memberof LicensesApiUpdateLicensePool
904
+ */
905
+ readonly licensePoolUpdate: LicensePoolUpdate
906
+ }
907
+
908
+ /**
909
+ * LicensesApi - object-oriented interface
910
+ * @export
911
+ * @class LicensesApi
912
+ * @extends {BaseAPI}
913
+ */
914
+ export class LicensesApi extends BaseAPI {
915
+ /**
916
+ * Delete the activation
917
+ * @summary Delete Activation
918
+ * @param {LicensesApiDeleteActivationRequest} requestParameters Request parameters.
919
+ * @param {*} [options] Override http request option.
920
+ * @throws {RequiredError}
921
+ * @memberof LicensesApi
922
+ */
923
+ public deleteActivation(requestParameters: LicensesApiDeleteActivationRequest, options?: any) {
924
+ return LicensesApiFp(this.configuration).deleteActivation(requestParameters.poolId, requestParameters.activationId, options).then((request) => request(this.axios, this.basePath));
925
+ }
926
+
927
+ /**
928
+ * Get license pools available to authenticated user
929
+ * @summary Get Available Pools
930
+ * @param {LicensesApiGetAvailablePoolsRequest} requestParameters Request parameters.
931
+ * @param {*} [options] Override http request option.
932
+ * @throws {RequiredError}
933
+ * @memberof LicensesApi
934
+ */
935
+ public getAvailablePools(requestParameters: LicensesApiGetAvailablePoolsRequest = {}, options?: any) {
936
+ return LicensesApiFp(this.configuration).getAvailablePools(requestParameters.owner, options).then((request) => request(this.axios, this.basePath));
937
+ }
938
+
939
+ /**
940
+ * Get the activations for the license
941
+ * @summary Get Activations
942
+ * @param {LicensesApiGetLicenseActivationsRequest} requestParameters Request parameters.
943
+ * @param {*} [options] Override http request option.
944
+ * @throws {RequiredError}
945
+ * @memberof LicensesApi
946
+ */
947
+ public getLicenseActivations(requestParameters: LicensesApiGetLicenseActivationsRequest, options?: any) {
948
+ return LicensesApiFp(this.configuration).getLicenseActivations(requestParameters.poolId, options).then((request) => request(this.axios, this.basePath));
949
+ }
950
+
951
+ /**
952
+ * Get the license associated with a pool
953
+ * @summary Get Pool License
954
+ * @param {LicensesApiGetPoolLicenseRequest} requestParameters Request parameters.
955
+ * @param {*} [options] Override http request option.
956
+ * @throws {RequiredError}
957
+ * @memberof LicensesApi
958
+ */
959
+ public getPoolLicense(requestParameters: LicensesApiGetPoolLicenseRequest, options?: any) {
960
+ return LicensesApiFp(this.configuration).getPoolLicense(requestParameters.poolId, options).then((request) => request(this.axios, this.basePath));
961
+ }
962
+
963
+ /**
964
+ * Grant access to the license pool
965
+ * @summary Grant Pool Access
966
+ * @param {LicensesApiGrantAccessToPoolRequest} requestParameters Request parameters.
967
+ * @param {*} [options] Override http request option.
968
+ * @throws {RequiredError}
969
+ * @memberof LicensesApi
970
+ */
971
+ public grantAccessToPool(requestParameters: LicensesApiGrantAccessToPoolRequest, options?: any) {
972
+ return LicensesApiFp(this.configuration).grantAccessToPool(requestParameters.poolId, requestParameters.licensePoolAccessPolicyList, options).then((request) => request(this.axios, this.basePath));
973
+ }
974
+
975
+ /**
976
+ * Regenerate the license associated with the pool
977
+ * @summary Regenerate
978
+ * @param {LicensesApiRegenerateLicensePoolRequest} requestParameters Request parameters.
979
+ * @param {*} [options] Override http request option.
980
+ * @throws {RequiredError}
981
+ * @memberof LicensesApi
982
+ */
983
+ public regenerateLicensePool(requestParameters: LicensesApiRegenerateLicensePoolRequest, options?: any) {
984
+ return LicensesApiFp(this.configuration).regenerateLicensePool(requestParameters.poolId, options).then((request) => request(this.axios, this.basePath));
985
+ }
986
+
987
+ /**
988
+ * Revoke access to the license pool
989
+ * @summary Delete Pool Access
990
+ * @param {LicensesApiRevokeAccessToPoolRequest} requestParameters Request parameters.
991
+ * @param {*} [options] Override http request option.
992
+ * @throws {RequiredError}
993
+ * @memberof LicensesApi
994
+ */
995
+ public revokeAccessToPool(requestParameters: LicensesApiRevokeAccessToPoolRequest, options?: any) {
996
+ return LicensesApiFp(this.configuration).revokeAccessToPool(requestParameters.poolId, requestParameters.licensePoolPolicySubjectList, options).then((request) => request(this.axios, this.basePath));
997
+ }
998
+
999
+ /**
1000
+ * Update the license pool
1001
+ * @summary Update Pool
1002
+ * @param {LicensesApiUpdateLicensePoolRequest} requestParameters Request parameters.
1003
+ * @param {*} [options] Override http request option.
1004
+ * @throws {RequiredError}
1005
+ * @memberof LicensesApi
1006
+ */
1007
+ public updateLicensePool(requestParameters: LicensesApiUpdateLicensePoolRequest, options?: any) {
1008
+ return LicensesApiFp(this.configuration).updateLicensePool(requestParameters.poolId, requestParameters.licensePoolUpdate, options).then((request) => request(this.axios, this.basePath));
1009
+ }
1010
+ }