@pollination-solutions/pollination-sdk 0.26.3 → 0.27.2

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 (844) hide show
  1. package/.apigentools-info +2 -2
  2. package/.openapi-generator/FILES +15 -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/applications-api.ts +1870 -0
  7. package/api/artifacts-api.ts +1 -1
  8. package/api/jobs-api.ts +1 -1
  9. package/api/licenses-api.ts +1 -1
  10. package/api/orgs-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/subscription-plans-api.ts +1 -1
  17. package/api/subscriptions-api.ts +1 -1
  18. package/api/teams-api.ts +1 -1
  19. package/api/user-api.ts +1 -1
  20. package/api/users-api.ts +1 -1
  21. package/api.ts +2 -1
  22. package/base.ts +1 -1
  23. package/configuration.ts +1 -1
  24. package/dist/api/accounts-api.d.ts +1 -1
  25. package/dist/api/accounts-api.js +1 -1
  26. package/dist/api/apitokens-api.d.ts +1 -1
  27. package/dist/api/apitokens-api.js +1 -1
  28. package/dist/api/applications-api.d.ts +894 -0
  29. package/dist/api/applications-api.js +1377 -0
  30. package/dist/api/artifacts-api.d.ts +1 -1
  31. package/dist/api/artifacts-api.js +1 -1
  32. package/dist/api/jobs-api.d.ts +1 -1
  33. package/dist/api/jobs-api.js +1 -1
  34. package/dist/api/licenses-api.d.ts +1 -1
  35. package/dist/api/licenses-api.js +1 -1
  36. package/dist/api/orgs-api.d.ts +1 -1
  37. package/dist/api/orgs-api.js +1 -1
  38. package/dist/api/plugins-api.d.ts +1 -1
  39. package/dist/api/plugins-api.js +1 -1
  40. package/dist/api/projects-api.d.ts +1 -1
  41. package/dist/api/projects-api.js +1 -1
  42. package/dist/api/recipes-api.d.ts +1 -1
  43. package/dist/api/recipes-api.js +1 -1
  44. package/dist/api/registries-api.d.ts +1 -1
  45. package/dist/api/registries-api.js +1 -1
  46. package/dist/api/runs-api.d.ts +1 -1
  47. package/dist/api/runs-api.js +1 -1
  48. package/dist/api/subscription-plans-api.d.ts +1 -1
  49. package/dist/api/subscription-plans-api.js +1 -1
  50. package/dist/api/subscriptions-api.d.ts +1 -1
  51. package/dist/api/subscriptions-api.js +1 -1
  52. package/dist/api/teams-api.d.ts +1 -1
  53. package/dist/api/teams-api.js +1 -1
  54. package/dist/api/user-api.d.ts +1 -1
  55. package/dist/api/user-api.js +1 -1
  56. package/dist/api/users-api.d.ts +1 -1
  57. package/dist/api/users-api.js +1 -1
  58. package/dist/api.d.ts +2 -1
  59. package/dist/api.js +7 -2
  60. package/dist/base.d.ts +1 -1
  61. package/dist/base.js +1 -1
  62. package/dist/configuration.d.ts +1 -1
  63. package/dist/configuration.js +1 -1
  64. package/dist/index.d.ts +1 -1
  65. package/dist/index.js +6 -2
  66. package/dist/models/accessor.d.ts +1 -1
  67. package/dist/models/accessor.js +1 -1
  68. package/dist/models/account-public.d.ts +1 -1
  69. package/dist/models/account-public.js +1 -1
  70. package/dist/models/account-type.d.ts +1 -1
  71. package/dist/models/account-type.js +1 -1
  72. package/dist/models/activation-list.d.ts +1 -1
  73. package/dist/models/activation-list.js +1 -1
  74. package/dist/models/activation.d.ts +1 -1
  75. package/dist/models/activation.js +1 -1
  76. package/dist/models/apitoken-create.d.ts +1 -1
  77. package/dist/models/apitoken-create.js +1 -1
  78. package/dist/models/apitoken-list.d.ts +1 -1
  79. package/dist/models/apitoken-list.js +1 -1
  80. package/dist/models/apitoken-private.d.ts +1 -1
  81. package/dist/models/apitoken-private.js +1 -1
  82. package/dist/models/apitoken.d.ts +1 -1
  83. package/dist/models/apitoken.js +1 -1
  84. package/dist/models/application-access-policy-list.d.ts +55 -0
  85. package/dist/models/application-access-policy-list.js +15 -0
  86. package/dist/models/application-access-policy.d.ts +32 -0
  87. package/dist/models/application-access-policy.js +15 -0
  88. package/dist/models/application-create.d.ts +60 -0
  89. package/dist/models/application-create.js +15 -0
  90. package/dist/models/application-deployment.d.ts +44 -0
  91. package/dist/models/application-deployment.js +15 -0
  92. package/dist/models/application-list.d.ts +55 -0
  93. package/dist/models/application-list.js +15 -0
  94. package/dist/models/application-policy-subject.d.ts +31 -0
  95. package/dist/models/application-policy-subject.js +15 -0
  96. package/dist/models/application-sort-key.d.ts +21 -0
  97. package/dist/models/application-sort-key.js +27 -0
  98. package/dist/models/application-update.d.ts +48 -0
  99. package/dist/models/application-update.js +15 -0
  100. package/dist/models/application-version-list.d.ts +55 -0
  101. package/dist/models/application-version-list.js +15 -0
  102. package/dist/models/application-version.d.ts +56 -0
  103. package/dist/models/application-version.js +15 -0
  104. package/dist/models/application.d.ts +86 -0
  105. package/dist/models/application.js +15 -0
  106. package/dist/models/baked-recipe.d.ts +1 -1
  107. package/dist/models/baked-recipe.js +1 -1
  108. package/dist/models/billing-info.d.ts +1 -1
  109. package/dist/models/billing-info.js +1 -1
  110. package/dist/models/billing-option.d.ts +1 -1
  111. package/dist/models/billing-option.js +1 -1
  112. package/dist/models/body-post-plugin-owner-plugins-post.d.ts +1 -1
  113. package/dist/models/body-post-plugin-owner-plugins-post.js +1 -1
  114. package/dist/models/body-post-recipe-owner-recipes-post.d.ts +1 -1
  115. package/dist/models/body-post-recipe-owner-recipes-post.js +1 -1
  116. package/dist/models/build-status-enum.d.ts +25 -0
  117. package/dist/models/build-status-enum.js +31 -0
  118. package/dist/models/build-status.d.ts +43 -0
  119. package/dist/models/build-status.js +15 -0
  120. package/dist/models/card-type.d.ts +1 -1
  121. package/dist/models/card-type.js +1 -1
  122. package/dist/models/cloud-job-list.d.ts +1 -1
  123. package/dist/models/cloud-job-list.js +1 -1
  124. package/dist/models/cloud-job.d.ts +1 -1
  125. package/dist/models/cloud-job.js +1 -1
  126. package/dist/models/created-content.d.ts +1 -1
  127. package/dist/models/created-content.js +1 -1
  128. package/dist/models/dag.d.ts +1 -1
  129. package/dist/models/dag.js +1 -1
  130. package/dist/models/dagarray-input-alias.d.ts +1 -1
  131. package/dist/models/dagarray-input-alias.js +1 -1
  132. package/dist/models/dagarray-input.d.ts +1 -1
  133. package/dist/models/dagarray-input.js +1 -1
  134. package/dist/models/dagarray-output-alias.d.ts +1 -1
  135. package/dist/models/dagarray-output-alias.js +1 -1
  136. package/dist/models/dagarray-output.d.ts +1 -1
  137. package/dist/models/dagarray-output.js +1 -1
  138. package/dist/models/dagboolean-input-alias.d.ts +1 -1
  139. package/dist/models/dagboolean-input-alias.js +1 -1
  140. package/dist/models/dagboolean-input.d.ts +1 -1
  141. package/dist/models/dagboolean-input.js +1 -1
  142. package/dist/models/dagboolean-output-alias.d.ts +1 -1
  143. package/dist/models/dagboolean-output-alias.js +1 -1
  144. package/dist/models/dagboolean-output.d.ts +1 -1
  145. package/dist/models/dagboolean-output.js +1 -1
  146. package/dist/models/dagfile-input-alias.d.ts +1 -1
  147. package/dist/models/dagfile-input-alias.js +1 -1
  148. package/dist/models/dagfile-input.d.ts +1 -1
  149. package/dist/models/dagfile-input.js +1 -1
  150. package/dist/models/dagfile-output-alias.d.ts +1 -1
  151. package/dist/models/dagfile-output-alias.js +1 -1
  152. package/dist/models/dagfile-output.d.ts +1 -1
  153. package/dist/models/dagfile-output.js +1 -1
  154. package/dist/models/dagfolder-input-alias.d.ts +1 -1
  155. package/dist/models/dagfolder-input-alias.js +1 -1
  156. package/dist/models/dagfolder-input.d.ts +1 -1
  157. package/dist/models/dagfolder-input.js +1 -1
  158. package/dist/models/dagfolder-output-alias.d.ts +1 -1
  159. package/dist/models/dagfolder-output-alias.js +1 -1
  160. package/dist/models/dagfolder-output.d.ts +1 -1
  161. package/dist/models/dagfolder-output.js +1 -1
  162. package/dist/models/daggeneric-input-alias.d.ts +1 -1
  163. package/dist/models/daggeneric-input-alias.js +1 -1
  164. package/dist/models/daggeneric-input.d.ts +1 -1
  165. package/dist/models/daggeneric-input.js +1 -1
  166. package/dist/models/daggeneric-output-alias.d.ts +1 -1
  167. package/dist/models/daggeneric-output-alias.js +1 -1
  168. package/dist/models/daggeneric-output.d.ts +1 -1
  169. package/dist/models/daggeneric-output.js +1 -1
  170. package/dist/models/daginteger-input-alias.d.ts +1 -1
  171. package/dist/models/daginteger-input-alias.js +1 -1
  172. package/dist/models/daginteger-input.d.ts +1 -1
  173. package/dist/models/daginteger-input.js +1 -1
  174. package/dist/models/daginteger-output-alias.d.ts +1 -1
  175. package/dist/models/daginteger-output-alias.js +1 -1
  176. package/dist/models/daginteger-output.d.ts +1 -1
  177. package/dist/models/daginteger-output.js +1 -1
  178. package/dist/models/dagjsonobject-input-alias.d.ts +1 -1
  179. package/dist/models/dagjsonobject-input-alias.js +1 -1
  180. package/dist/models/dagjsonobject-input.d.ts +1 -1
  181. package/dist/models/dagjsonobject-input.js +1 -1
  182. package/dist/models/dagjsonobject-output-alias.d.ts +1 -1
  183. package/dist/models/dagjsonobject-output-alias.js +1 -1
  184. package/dist/models/dagjsonobject-output.d.ts +1 -1
  185. package/dist/models/dagjsonobject-output.js +1 -1
  186. package/dist/models/daglinked-input-alias.d.ts +1 -1
  187. package/dist/models/daglinked-input-alias.js +1 -1
  188. package/dist/models/daglinked-output-alias.d.ts +1 -1
  189. package/dist/models/daglinked-output-alias.js +1 -1
  190. package/dist/models/dagnumber-input-alias.d.ts +1 -1
  191. package/dist/models/dagnumber-input-alias.js +1 -1
  192. package/dist/models/dagnumber-input.d.ts +1 -1
  193. package/dist/models/dagnumber-input.js +1 -1
  194. package/dist/models/dagnumber-output-alias.d.ts +1 -1
  195. package/dist/models/dagnumber-output-alias.js +1 -1
  196. package/dist/models/dagnumber-output.d.ts +1 -1
  197. package/dist/models/dagnumber-output.js +1 -1
  198. package/dist/models/dagpath-input-alias.d.ts +1 -1
  199. package/dist/models/dagpath-input-alias.js +1 -1
  200. package/dist/models/dagpath-input.d.ts +1 -1
  201. package/dist/models/dagpath-input.js +1 -1
  202. package/dist/models/dagpath-output-alias.d.ts +1 -1
  203. package/dist/models/dagpath-output-alias.js +1 -1
  204. package/dist/models/dagpath-output.d.ts +1 -1
  205. package/dist/models/dagpath-output.js +1 -1
  206. package/dist/models/dagstring-input-alias.d.ts +1 -1
  207. package/dist/models/dagstring-input-alias.js +1 -1
  208. package/dist/models/dagstring-input.d.ts +1 -1
  209. package/dist/models/dagstring-input.js +1 -1
  210. package/dist/models/dagstring-output-alias.d.ts +1 -1
  211. package/dist/models/dagstring-output-alias.js +1 -1
  212. package/dist/models/dagstring-output.d.ts +1 -1
  213. package/dist/models/dagstring-output.js +1 -1
  214. package/dist/models/dagtask-loop.d.ts +1 -1
  215. package/dist/models/dagtask-loop.js +1 -1
  216. package/dist/models/dagtask.d.ts +1 -1
  217. package/dist/models/dagtask.js +1 -1
  218. package/dist/models/daily-usage.d.ts +1 -1
  219. package/dist/models/daily-usage.js +1 -1
  220. package/dist/models/dependency-kind.d.ts +1 -1
  221. package/dist/models/dependency-kind.js +1 -1
  222. package/dist/models/dependency.d.ts +1 -1
  223. package/dist/models/dependency.js +1 -1
  224. package/dist/models/docker-config.d.ts +1 -1
  225. package/dist/models/docker-config.js +1 -1
  226. package/dist/models/file-meta.d.ts +1 -1
  227. package/dist/models/file-meta.js +1 -1
  228. package/dist/models/file-reference.d.ts +1 -1
  229. package/dist/models/file-reference.js +1 -1
  230. package/dist/models/folder-reference.d.ts +1 -1
  231. package/dist/models/folder-reference.js +1 -1
  232. package/dist/models/function-array-input.d.ts +1 -1
  233. package/dist/models/function-array-input.js +1 -1
  234. package/dist/models/function-array-output.d.ts +1 -1
  235. package/dist/models/function-array-output.js +1 -1
  236. package/dist/models/function-boolean-input.d.ts +1 -1
  237. package/dist/models/function-boolean-input.js +1 -1
  238. package/dist/models/function-boolean-output.d.ts +1 -1
  239. package/dist/models/function-boolean-output.js +1 -1
  240. package/dist/models/function-file-input.d.ts +1 -1
  241. package/dist/models/function-file-input.js +1 -1
  242. package/dist/models/function-file-output.d.ts +1 -1
  243. package/dist/models/function-file-output.js +1 -1
  244. package/dist/models/function-folder-input.d.ts +1 -1
  245. package/dist/models/function-folder-input.js +1 -1
  246. package/dist/models/function-folder-output.d.ts +1 -1
  247. package/dist/models/function-folder-output.js +1 -1
  248. package/dist/models/function-integer-input.d.ts +1 -1
  249. package/dist/models/function-integer-input.js +1 -1
  250. package/dist/models/function-integer-output.d.ts +1 -1
  251. package/dist/models/function-integer-output.js +1 -1
  252. package/dist/models/function-jsonobject-input.d.ts +1 -1
  253. package/dist/models/function-jsonobject-input.js +1 -1
  254. package/dist/models/function-jsonobject-output.d.ts +1 -1
  255. package/dist/models/function-jsonobject-output.js +1 -1
  256. package/dist/models/function-number-input.d.ts +1 -1
  257. package/dist/models/function-number-input.js +1 -1
  258. package/dist/models/function-number-output.d.ts +1 -1
  259. package/dist/models/function-number-output.js +1 -1
  260. package/dist/models/function-path-input.d.ts +1 -1
  261. package/dist/models/function-path-input.js +1 -1
  262. package/dist/models/function-path-output.d.ts +1 -1
  263. package/dist/models/function-path-output.js +1 -1
  264. package/dist/models/function-string-input.d.ts +1 -1
  265. package/dist/models/function-string-input.js +1 -1
  266. package/dist/models/function-string-output.d.ts +1 -1
  267. package/dist/models/function-string-output.js +1 -1
  268. package/dist/models/function.d.ts +1 -1
  269. package/dist/models/function.js +1 -1
  270. package/dist/models/http.d.ts +1 -1
  271. package/dist/models/http.js +1 -1
  272. package/dist/models/httpvalidation-error.d.ts +1 -1
  273. package/dist/models/httpvalidation-error.js +1 -1
  274. package/dist/models/index.d.ts +14 -0
  275. package/dist/models/index.js +19 -1
  276. package/dist/models/input-file-reference.d.ts +1 -1
  277. package/dist/models/input-file-reference.js +1 -1
  278. package/dist/models/input-folder-reference.d.ts +1 -1
  279. package/dist/models/input-folder-reference.js +1 -1
  280. package/dist/models/input-path-reference.d.ts +1 -1
  281. package/dist/models/input-path-reference.js +1 -1
  282. package/dist/models/input-reference.d.ts +1 -1
  283. package/dist/models/input-reference.js +1 -1
  284. package/dist/models/ioalias-handler.d.ts +1 -1
  285. package/dist/models/ioalias-handler.js +1 -1
  286. package/dist/models/item-reference.d.ts +1 -1
  287. package/dist/models/item-reference.js +1 -1
  288. package/dist/models/item-type.d.ts +1 -1
  289. package/dist/models/item-type.js +1 -1
  290. package/dist/models/job-argument.d.ts +1 -1
  291. package/dist/models/job-argument.js +1 -1
  292. package/dist/models/job-path-argument.d.ts +1 -1
  293. package/dist/models/job-path-argument.js +1 -1
  294. package/dist/models/job-status-enum.d.ts +1 -1
  295. package/dist/models/job-status-enum.js +1 -1
  296. package/dist/models/job-status.d.ts +1 -1
  297. package/dist/models/job-status.js +1 -1
  298. package/dist/models/job.d.ts +1 -1
  299. package/dist/models/job.js +1 -1
  300. package/dist/models/key-request.d.ts +1 -1
  301. package/dist/models/key-request.js +1 -1
  302. package/dist/models/license-pool-access-policy-list.d.ts +1 -1
  303. package/dist/models/license-pool-access-policy-list.js +1 -1
  304. package/dist/models/license-pool-access-policy.d.ts +1 -1
  305. package/dist/models/license-pool-access-policy.js +1 -1
  306. package/dist/models/license-pool-list.d.ts +1 -1
  307. package/dist/models/license-pool-list.js +1 -1
  308. package/dist/models/license-pool-policy-subject-list.d.ts +1 -1
  309. package/dist/models/license-pool-policy-subject-list.js +1 -1
  310. package/dist/models/license-pool-policy-subject.d.ts +1 -1
  311. package/dist/models/license-pool-policy-subject.js +1 -1
  312. package/dist/models/license-pool-public.d.ts +1 -1
  313. package/dist/models/license-pool-public.js +1 -1
  314. package/dist/models/license-pool-update.d.ts +1 -1
  315. package/dist/models/license-pool-update.js +1 -1
  316. package/dist/models/license-public.d.ts +1 -1
  317. package/dist/models/license-public.js +1 -1
  318. package/dist/models/license-type.d.ts +1 -1
  319. package/dist/models/license-type.js +1 -1
  320. package/dist/models/license.d.ts +1 -1
  321. package/dist/models/license.js +1 -1
  322. package/dist/models/local-config.d.ts +1 -1
  323. package/dist/models/local-config.js +1 -1
  324. package/dist/models/location.d.ts +1 -1
  325. package/dist/models/location.js +1 -1
  326. package/dist/models/maintainer.d.ts +1 -1
  327. package/dist/models/maintainer.js +1 -1
  328. package/dist/models/meta-data.d.ts +1 -1
  329. package/dist/models/meta-data.js +1 -1
  330. package/dist/models/metadata.d.ts +1 -1
  331. package/dist/models/metadata.js +1 -1
  332. package/dist/models/new-application-version.d.ts +30 -0
  333. package/dist/models/new-application-version.js +15 -0
  334. package/dist/models/new-plugin-package.d.ts +1 -1
  335. package/dist/models/new-plugin-package.js +1 -1
  336. package/dist/models/new-recipe-package.d.ts +1 -1
  337. package/dist/models/new-recipe-package.js +1 -1
  338. package/dist/models/organization-create.d.ts +1 -1
  339. package/dist/models/organization-create.js +1 -1
  340. package/dist/models/organization-list.d.ts +1 -1
  341. package/dist/models/organization-list.js +1 -1
  342. package/dist/models/organization-member-list.d.ts +1 -1
  343. package/dist/models/organization-member-list.js +1 -1
  344. package/dist/models/organization-member.d.ts +1 -1
  345. package/dist/models/organization-member.js +1 -1
  346. package/dist/models/organization-role-enum.d.ts +1 -1
  347. package/dist/models/organization-role-enum.js +1 -1
  348. package/dist/models/organization-update.d.ts +1 -1
  349. package/dist/models/organization-update.js +1 -1
  350. package/dist/models/organization.d.ts +1 -1
  351. package/dist/models/organization.js +1 -1
  352. package/dist/models/package-sort-key.d.ts +1 -1
  353. package/dist/models/package-sort-key.js +1 -1
  354. package/dist/models/package-version.d.ts +1 -1
  355. package/dist/models/package-version.js +1 -1
  356. package/dist/models/paused-reason.d.ts +1 -1
  357. package/dist/models/paused-reason.js +1 -1
  358. package/dist/models/pay-link.d.ts +1 -1
  359. package/dist/models/pay-link.js +1 -1
  360. package/dist/models/payment-method-enum.d.ts +1 -1
  361. package/dist/models/payment-method-enum.js +1 -1
  362. package/dist/models/payment-method.d.ts +1 -1
  363. package/dist/models/payment-method.js +1 -1
  364. package/dist/models/payment.d.ts +1 -1
  365. package/dist/models/payment.js +1 -1
  366. package/dist/models/permission.d.ts +1 -1
  367. package/dist/models/permission.js +1 -1
  368. package/dist/models/plan-type.d.ts +1 -1
  369. package/dist/models/plan-type.js +1 -1
  370. package/dist/models/plugin-config.d.ts +1 -1
  371. package/dist/models/plugin-config.js +1 -1
  372. package/dist/models/plugin-package-list.d.ts +1 -1
  373. package/dist/models/plugin-package-list.js +1 -1
  374. package/dist/models/plugin-package.d.ts +1 -1
  375. package/dist/models/plugin-package.js +1 -1
  376. package/dist/models/plugin.d.ts +1 -1
  377. package/dist/models/plugin.js +1 -1
  378. package/dist/models/policy-subject.d.ts +1 -1
  379. package/dist/models/policy-subject.js +1 -1
  380. package/dist/models/project-access-policy-list.d.ts +1 -1
  381. package/dist/models/project-access-policy-list.js +1 -1
  382. package/dist/models/project-access-policy.d.ts +1 -1
  383. package/dist/models/project-access-policy.js +1 -1
  384. package/dist/models/project-create.d.ts +1 -1
  385. package/dist/models/project-create.js +1 -1
  386. package/dist/models/project-folder.d.ts +1 -1
  387. package/dist/models/project-folder.js +1 -1
  388. package/dist/models/project-list.d.ts +1 -1
  389. package/dist/models/project-list.js +1 -1
  390. package/dist/models/project-policy-subject.d.ts +1 -1
  391. package/dist/models/project-policy-subject.js +1 -1
  392. package/dist/models/project-recipe-filter-list.d.ts +1 -1
  393. package/dist/models/project-recipe-filter-list.js +1 -1
  394. package/dist/models/project-recipe-filter.d.ts +1 -1
  395. package/dist/models/project-recipe-filter.js +1 -1
  396. package/dist/models/project-sort-key.d.ts +1 -1
  397. package/dist/models/project-sort-key.js +1 -1
  398. package/dist/models/project-update.d.ts +1 -1
  399. package/dist/models/project-update.js +1 -1
  400. package/dist/models/project.d.ts +1 -1
  401. package/dist/models/project.js +1 -1
  402. package/dist/models/public-account-list.d.ts +1 -1
  403. package/dist/models/public-account-list.js +1 -1
  404. package/dist/models/quota-list.d.ts +1 -1
  405. package/dist/models/quota-list.js +1 -1
  406. package/dist/models/quota-plan.d.ts +1 -1
  407. package/dist/models/quota-plan.js +1 -1
  408. package/dist/models/quota-type.d.ts +1 -1
  409. package/dist/models/quota-type.js +1 -1
  410. package/dist/models/quota.d.ts +1 -1
  411. package/dist/models/quota.js +1 -1
  412. package/dist/models/recipe-interface-list.d.ts +1 -1
  413. package/dist/models/recipe-interface-list.js +1 -1
  414. package/dist/models/recipe-interface.d.ts +1 -1
  415. package/dist/models/recipe-interface.js +1 -1
  416. package/dist/models/recipe-package-list.d.ts +1 -1
  417. package/dist/models/recipe-package-list.js +1 -1
  418. package/dist/models/recipe-package.d.ts +1 -1
  419. package/dist/models/recipe-package.js +1 -1
  420. package/dist/models/recipe.d.ts +1 -1
  421. package/dist/models/recipe.js +1 -1
  422. package/dist/models/repository-access-policy-list.d.ts +1 -1
  423. package/dist/models/repository-access-policy-list.js +1 -1
  424. package/dist/models/repository-access-policy.d.ts +1 -1
  425. package/dist/models/repository-access-policy.js +1 -1
  426. package/dist/models/repository-create.d.ts +1 -1
  427. package/dist/models/repository-create.js +1 -1
  428. package/dist/models/repository-index.d.ts +1 -1
  429. package/dist/models/repository-index.js +1 -1
  430. package/dist/models/repository-list.d.ts +1 -1
  431. package/dist/models/repository-list.js +1 -1
  432. package/dist/models/repository-metadata.d.ts +1 -1
  433. package/dist/models/repository-metadata.js +1 -1
  434. package/dist/models/repository-policy-subject.d.ts +1 -1
  435. package/dist/models/repository-policy-subject.js +1 -1
  436. package/dist/models/repository-sort-key.d.ts +1 -1
  437. package/dist/models/repository-sort-key.js +1 -1
  438. package/dist/models/repository-update.d.ts +1 -1
  439. package/dist/models/repository-update.js +1 -1
  440. package/dist/models/repository-user-permissions.d.ts +1 -1
  441. package/dist/models/repository-user-permissions.js +1 -1
  442. package/dist/models/repository.d.ts +1 -1
  443. package/dist/models/repository.js +1 -1
  444. package/dist/models/resources-duration.d.ts +1 -1
  445. package/dist/models/resources-duration.js +1 -1
  446. package/dist/models/role-enum.d.ts +1 -1
  447. package/dist/models/role-enum.js +1 -1
  448. package/dist/models/run-list.d.ts +1 -1
  449. package/dist/models/run-list.js +1 -1
  450. package/dist/models/run-meta.d.ts +1 -1
  451. package/dist/models/run-meta.js +1 -1
  452. package/dist/models/run-progress.d.ts +1 -1
  453. package/dist/models/run-progress.js +1 -1
  454. package/dist/models/run-result-list.d.ts +1 -1
  455. package/dist/models/run-result-list.js +1 -1
  456. package/dist/models/run-status-enum.d.ts +1 -1
  457. package/dist/models/run-status-enum.js +1 -1
  458. package/dist/models/run-status.d.ts +1 -1
  459. package/dist/models/run-status.js +1 -1
  460. package/dist/models/run.d.ts +1 -1
  461. package/dist/models/run.js +1 -1
  462. package/dist/models/s3-upload-request.d.ts +1 -1
  463. package/dist/models/s3-upload-request.js +1 -1
  464. package/dist/models/s3.d.ts +1 -1
  465. package/dist/models/s3.js +1 -1
  466. package/dist/models/sort-enum.d.ts +1 -1
  467. package/dist/models/sort-enum.js +1 -1
  468. package/dist/models/status-type.d.ts +1 -1
  469. package/dist/models/status-type.js +1 -1
  470. package/dist/models/step-array-input.d.ts +1 -1
  471. package/dist/models/step-array-input.js +1 -1
  472. package/dist/models/step-array-output.d.ts +1 -1
  473. package/dist/models/step-array-output.js +1 -1
  474. package/dist/models/step-boolean-input.d.ts +1 -1
  475. package/dist/models/step-boolean-input.js +1 -1
  476. package/dist/models/step-boolean-output.d.ts +1 -1
  477. package/dist/models/step-boolean-output.js +1 -1
  478. package/dist/models/step-file-input.d.ts +1 -1
  479. package/dist/models/step-file-input.js +1 -1
  480. package/dist/models/step-file-output.d.ts +1 -1
  481. package/dist/models/step-file-output.js +1 -1
  482. package/dist/models/step-folder-input.d.ts +1 -1
  483. package/dist/models/step-folder-input.js +1 -1
  484. package/dist/models/step-folder-output.d.ts +1 -1
  485. package/dist/models/step-folder-output.js +1 -1
  486. package/dist/models/step-integer-input.d.ts +1 -1
  487. package/dist/models/step-integer-input.js +1 -1
  488. package/dist/models/step-integer-output.d.ts +1 -1
  489. package/dist/models/step-integer-output.js +1 -1
  490. package/dist/models/step-jsonobject-input.d.ts +1 -1
  491. package/dist/models/step-jsonobject-input.js +1 -1
  492. package/dist/models/step-jsonobject-output.d.ts +1 -1
  493. package/dist/models/step-jsonobject-output.js +1 -1
  494. package/dist/models/step-list.d.ts +1 -1
  495. package/dist/models/step-list.js +1 -1
  496. package/dist/models/step-number-input.d.ts +1 -1
  497. package/dist/models/step-number-input.js +1 -1
  498. package/dist/models/step-number-output.d.ts +1 -1
  499. package/dist/models/step-number-output.js +1 -1
  500. package/dist/models/step-path-input.d.ts +1 -1
  501. package/dist/models/step-path-input.js +1 -1
  502. package/dist/models/step-path-output.d.ts +1 -1
  503. package/dist/models/step-path-output.js +1 -1
  504. package/dist/models/step-status-enum.d.ts +1 -1
  505. package/dist/models/step-status-enum.js +1 -1
  506. package/dist/models/step-status.d.ts +1 -1
  507. package/dist/models/step-status.js +1 -1
  508. package/dist/models/step-string-input.d.ts +1 -1
  509. package/dist/models/step-string-input.js +1 -1
  510. package/dist/models/step-string-output.d.ts +1 -1
  511. package/dist/models/step-string-output.js +1 -1
  512. package/dist/models/subject-type.d.ts +1 -1
  513. package/dist/models/subject-type.js +1 -1
  514. package/dist/models/subscription-create.d.ts +1 -1
  515. package/dist/models/subscription-create.js +1 -1
  516. package/dist/models/subscription-payment.d.ts +1 -1
  517. package/dist/models/subscription-payment.js +1 -1
  518. package/dist/models/subscription-plan.d.ts +1 -1
  519. package/dist/models/subscription-plan.js +1 -1
  520. package/dist/models/subscription-update-dry-run.d.ts +1 -1
  521. package/dist/models/subscription-update-dry-run.js +1 -1
  522. package/dist/models/subscription-update.d.ts +1 -1
  523. package/dist/models/subscription-update.js +1 -1
  524. package/dist/models/subscription.d.ts +1 -1
  525. package/dist/models/subscription.js +1 -1
  526. package/dist/models/task-argument.d.ts +1 -1
  527. package/dist/models/task-argument.js +1 -1
  528. package/dist/models/task-file-reference.d.ts +1 -1
  529. package/dist/models/task-file-reference.js +1 -1
  530. package/dist/models/task-folder-reference.d.ts +1 -1
  531. package/dist/models/task-folder-reference.js +1 -1
  532. package/dist/models/task-path-argument.d.ts +1 -1
  533. package/dist/models/task-path-argument.js +1 -1
  534. package/dist/models/task-path-reference.d.ts +1 -1
  535. package/dist/models/task-path-reference.js +1 -1
  536. package/dist/models/task-path-return.d.ts +1 -1
  537. package/dist/models/task-path-return.js +1 -1
  538. package/dist/models/task-reference.d.ts +1 -1
  539. package/dist/models/task-reference.js +1 -1
  540. package/dist/models/task-return.d.ts +1 -1
  541. package/dist/models/task-return.js +1 -1
  542. package/dist/models/team-create.d.ts +1 -1
  543. package/dist/models/team-create.js +1 -1
  544. package/dist/models/team-list.d.ts +1 -1
  545. package/dist/models/team-list.js +1 -1
  546. package/dist/models/team-member-list.d.ts +1 -1
  547. package/dist/models/team-member-list.js +1 -1
  548. package/dist/models/team-member.d.ts +1 -1
  549. package/dist/models/team-member.js +1 -1
  550. package/dist/models/team-role-enum.d.ts +1 -1
  551. package/dist/models/team-role-enum.js +1 -1
  552. package/dist/models/team-update.d.ts +1 -1
  553. package/dist/models/team-update.js +1 -1
  554. package/dist/models/team.d.ts +1 -1
  555. package/dist/models/team.js +1 -1
  556. package/dist/models/template-function.d.ts +1 -1
  557. package/dist/models/template-function.js +1 -1
  558. package/dist/models/update-accepted.d.ts +1 -1
  559. package/dist/models/update-accepted.js +1 -1
  560. package/dist/models/usage.d.ts +1 -1
  561. package/dist/models/usage.js +1 -1
  562. package/dist/models/user-create.d.ts +1 -1
  563. package/dist/models/user-create.js +1 -1
  564. package/dist/models/user-permission.d.ts +1 -1
  565. package/dist/models/user-permission.js +1 -1
  566. package/dist/models/user-private.d.ts +1 -1
  567. package/dist/models/user-private.js +1 -1
  568. package/dist/models/user-public-list.d.ts +1 -1
  569. package/dist/models/user-public-list.js +1 -1
  570. package/dist/models/user-public.d.ts +1 -1
  571. package/dist/models/user-public.js +1 -1
  572. package/dist/models/user-update.d.ts +1 -1
  573. package/dist/models/user-update.js +1 -1
  574. package/dist/models/validation-error.d.ts +1 -1
  575. package/dist/models/validation-error.js +1 -1
  576. package/dist/models/value-file-reference.d.ts +1 -1
  577. package/dist/models/value-file-reference.js +1 -1
  578. package/dist/models/value-folder-reference.d.ts +1 -1
  579. package/dist/models/value-folder-reference.js +1 -1
  580. package/dist/models/value-list-reference.d.ts +1 -1
  581. package/dist/models/value-list-reference.js +1 -1
  582. package/dist/models/value-reference.d.ts +1 -1
  583. package/dist/models/value-reference.js +1 -1
  584. package/index.ts +1 -1
  585. package/models/accessor.ts +1 -1
  586. package/models/account-public.ts +1 -1
  587. package/models/account-type.ts +1 -1
  588. package/models/activation-list.ts +1 -1
  589. package/models/activation.ts +1 -1
  590. package/models/apitoken-create.ts +1 -1
  591. package/models/apitoken-list.ts +1 -1
  592. package/models/apitoken-private.ts +1 -1
  593. package/models/apitoken.ts +1 -1
  594. package/models/application-access-policy-list.ts +62 -0
  595. package/models/application-access-policy.ts +39 -0
  596. package/models/application-create.ts +67 -0
  597. package/models/application-deployment.ts +51 -0
  598. package/models/application-list.ts +62 -0
  599. package/models/application-policy-subject.ts +38 -0
  600. package/models/application-sort-key.ts +29 -0
  601. package/models/application-update.ts +55 -0
  602. package/models/application-version-list.ts +62 -0
  603. package/models/application-version.ts +63 -0
  604. package/models/application.ts +93 -0
  605. package/models/baked-recipe.ts +1 -1
  606. package/models/billing-info.ts +1 -1
  607. package/models/billing-option.ts +1 -1
  608. package/models/body-post-plugin-owner-plugins-post.ts +1 -1
  609. package/models/body-post-recipe-owner-recipes-post.ts +1 -1
  610. package/models/build-status-enum.ts +33 -0
  611. package/models/build-status.ts +50 -0
  612. package/models/card-type.ts +1 -1
  613. package/models/cloud-job-list.ts +1 -1
  614. package/models/cloud-job.ts +1 -1
  615. package/models/created-content.ts +1 -1
  616. package/models/dag.ts +1 -1
  617. package/models/dagarray-input-alias.ts +1 -1
  618. package/models/dagarray-input.ts +1 -1
  619. package/models/dagarray-output-alias.ts +1 -1
  620. package/models/dagarray-output.ts +1 -1
  621. package/models/dagboolean-input-alias.ts +1 -1
  622. package/models/dagboolean-input.ts +1 -1
  623. package/models/dagboolean-output-alias.ts +1 -1
  624. package/models/dagboolean-output.ts +1 -1
  625. package/models/dagfile-input-alias.ts +1 -1
  626. package/models/dagfile-input.ts +1 -1
  627. package/models/dagfile-output-alias.ts +1 -1
  628. package/models/dagfile-output.ts +1 -1
  629. package/models/dagfolder-input-alias.ts +1 -1
  630. package/models/dagfolder-input.ts +1 -1
  631. package/models/dagfolder-output-alias.ts +1 -1
  632. package/models/dagfolder-output.ts +1 -1
  633. package/models/daggeneric-input-alias.ts +1 -1
  634. package/models/daggeneric-input.ts +1 -1
  635. package/models/daggeneric-output-alias.ts +1 -1
  636. package/models/daggeneric-output.ts +1 -1
  637. package/models/daginteger-input-alias.ts +1 -1
  638. package/models/daginteger-input.ts +1 -1
  639. package/models/daginteger-output-alias.ts +1 -1
  640. package/models/daginteger-output.ts +1 -1
  641. package/models/dagjsonobject-input-alias.ts +1 -1
  642. package/models/dagjsonobject-input.ts +1 -1
  643. package/models/dagjsonobject-output-alias.ts +1 -1
  644. package/models/dagjsonobject-output.ts +1 -1
  645. package/models/daglinked-input-alias.ts +1 -1
  646. package/models/daglinked-output-alias.ts +1 -1
  647. package/models/dagnumber-input-alias.ts +1 -1
  648. package/models/dagnumber-input.ts +1 -1
  649. package/models/dagnumber-output-alias.ts +1 -1
  650. package/models/dagnumber-output.ts +1 -1
  651. package/models/dagpath-input-alias.ts +1 -1
  652. package/models/dagpath-input.ts +1 -1
  653. package/models/dagpath-output-alias.ts +1 -1
  654. package/models/dagpath-output.ts +1 -1
  655. package/models/dagstring-input-alias.ts +1 -1
  656. package/models/dagstring-input.ts +1 -1
  657. package/models/dagstring-output-alias.ts +1 -1
  658. package/models/dagstring-output.ts +1 -1
  659. package/models/dagtask-loop.ts +1 -1
  660. package/models/dagtask.ts +1 -1
  661. package/models/daily-usage.ts +1 -1
  662. package/models/dependency-kind.ts +1 -1
  663. package/models/dependency.ts +1 -1
  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 +14 -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/ioalias-handler.ts +1 -1
  695. package/models/item-reference.ts +1 -1
  696. package/models/item-type.ts +1 -1
  697. package/models/job-argument.ts +1 -1
  698. package/models/job-path-argument.ts +1 -1
  699. package/models/job-status-enum.ts +1 -1
  700. package/models/job-status.ts +1 -1
  701. package/models/job.ts +1 -1
  702. package/models/key-request.ts +1 -1
  703. package/models/license-pool-access-policy-list.ts +1 -1
  704. package/models/license-pool-access-policy.ts +1 -1
  705. package/models/license-pool-list.ts +1 -1
  706. package/models/license-pool-policy-subject-list.ts +1 -1
  707. package/models/license-pool-policy-subject.ts +1 -1
  708. package/models/license-pool-public.ts +1 -1
  709. package/models/license-pool-update.ts +1 -1
  710. package/models/license-public.ts +1 -1
  711. package/models/license-type.ts +1 -1
  712. package/models/license.ts +1 -1
  713. package/models/local-config.ts +1 -1
  714. package/models/location.ts +1 -1
  715. package/models/maintainer.ts +1 -1
  716. package/models/meta-data.ts +1 -1
  717. package/models/metadata.ts +1 -1
  718. package/models/new-application-version.ts +37 -0
  719. package/models/new-plugin-package.ts +1 -1
  720. package/models/new-recipe-package.ts +1 -1
  721. package/models/organization-create.ts +1 -1
  722. package/models/organization-list.ts +1 -1
  723. package/models/organization-member-list.ts +1 -1
  724. package/models/organization-member.ts +1 -1
  725. package/models/organization-role-enum.ts +1 -1
  726. package/models/organization-update.ts +1 -1
  727. package/models/organization.ts +1 -1
  728. package/models/package-sort-key.ts +1 -1
  729. package/models/package-version.ts +1 -1
  730. package/models/paused-reason.ts +1 -1
  731. package/models/pay-link.ts +1 -1
  732. package/models/payment-method-enum.ts +1 -1
  733. package/models/payment-method.ts +1 -1
  734. package/models/payment.ts +1 -1
  735. package/models/permission.ts +1 -1
  736. package/models/plan-type.ts +1 -1
  737. package/models/plugin-config.ts +1 -1
  738. package/models/plugin-package-list.ts +1 -1
  739. package/models/plugin-package.ts +1 -1
  740. package/models/plugin.ts +1 -1
  741. package/models/policy-subject.ts +1 -1
  742. package/models/project-access-policy-list.ts +1 -1
  743. package/models/project-access-policy.ts +1 -1
  744. package/models/project-create.ts +1 -1
  745. package/models/project-folder.ts +1 -1
  746. package/models/project-list.ts +1 -1
  747. package/models/project-policy-subject.ts +1 -1
  748. package/models/project-recipe-filter-list.ts +1 -1
  749. package/models/project-recipe-filter.ts +1 -1
  750. package/models/project-sort-key.ts +1 -1
  751. package/models/project-update.ts +1 -1
  752. package/models/project.ts +1 -1
  753. package/models/public-account-list.ts +1 -1
  754. package/models/quota-list.ts +1 -1
  755. package/models/quota-plan.ts +1 -1
  756. package/models/quota-type.ts +1 -1
  757. package/models/quota.ts +1 -1
  758. package/models/recipe-interface-list.ts +1 -1
  759. package/models/recipe-interface.ts +1 -1
  760. package/models/recipe-package-list.ts +1 -1
  761. package/models/recipe-package.ts +1 -1
  762. package/models/recipe.ts +1 -1
  763. package/models/repository-access-policy-list.ts +1 -1
  764. package/models/repository-access-policy.ts +1 -1
  765. package/models/repository-create.ts +1 -1
  766. package/models/repository-index.ts +1 -1
  767. package/models/repository-list.ts +1 -1
  768. package/models/repository-metadata.ts +1 -1
  769. package/models/repository-policy-subject.ts +1 -1
  770. package/models/repository-sort-key.ts +1 -1
  771. package/models/repository-update.ts +1 -1
  772. package/models/repository-user-permissions.ts +1 -1
  773. package/models/repository.ts +1 -1
  774. package/models/resources-duration.ts +1 -1
  775. package/models/role-enum.ts +1 -1
  776. package/models/run-list.ts +1 -1
  777. package/models/run-meta.ts +1 -1
  778. package/models/run-progress.ts +1 -1
  779. package/models/run-result-list.ts +1 -1
  780. package/models/run-status-enum.ts +1 -1
  781. package/models/run-status.ts +1 -1
  782. package/models/run.ts +1 -1
  783. package/models/s3-upload-request.ts +1 -1
  784. package/models/s3.ts +1 -1
  785. package/models/sort-enum.ts +1 -1
  786. package/models/status-type.ts +1 -1
  787. package/models/step-array-input.ts +1 -1
  788. package/models/step-array-output.ts +1 -1
  789. package/models/step-boolean-input.ts +1 -1
  790. package/models/step-boolean-output.ts +1 -1
  791. package/models/step-file-input.ts +1 -1
  792. package/models/step-file-output.ts +1 -1
  793. package/models/step-folder-input.ts +1 -1
  794. package/models/step-folder-output.ts +1 -1
  795. package/models/step-integer-input.ts +1 -1
  796. package/models/step-integer-output.ts +1 -1
  797. package/models/step-jsonobject-input.ts +1 -1
  798. package/models/step-jsonobject-output.ts +1 -1
  799. package/models/step-list.ts +1 -1
  800. package/models/step-number-input.ts +1 -1
  801. package/models/step-number-output.ts +1 -1
  802. package/models/step-path-input.ts +1 -1
  803. package/models/step-path-output.ts +1 -1
  804. package/models/step-status-enum.ts +1 -1
  805. package/models/step-status.ts +1 -1
  806. package/models/step-string-input.ts +1 -1
  807. package/models/step-string-output.ts +1 -1
  808. package/models/subject-type.ts +1 -1
  809. package/models/subscription-create.ts +1 -1
  810. package/models/subscription-payment.ts +1 -1
  811. package/models/subscription-plan.ts +1 -1
  812. package/models/subscription-update-dry-run.ts +1 -1
  813. package/models/subscription-update.ts +1 -1
  814. package/models/subscription.ts +1 -1
  815. package/models/task-argument.ts +1 -1
  816. package/models/task-file-reference.ts +1 -1
  817. package/models/task-folder-reference.ts +1 -1
  818. package/models/task-path-argument.ts +1 -1
  819. package/models/task-path-reference.ts +1 -1
  820. package/models/task-path-return.ts +1 -1
  821. package/models/task-reference.ts +1 -1
  822. package/models/task-return.ts +1 -1
  823. package/models/team-create.ts +1 -1
  824. package/models/team-list.ts +1 -1
  825. package/models/team-member-list.ts +1 -1
  826. package/models/team-member.ts +1 -1
  827. package/models/team-role-enum.ts +1 -1
  828. package/models/team-update.ts +1 -1
  829. package/models/team.ts +1 -1
  830. package/models/template-function.ts +1 -1
  831. package/models/update-accepted.ts +1 -1
  832. package/models/usage.ts +1 -1
  833. package/models/user-create.ts +1 -1
  834. package/models/user-permission.ts +1 -1
  835. package/models/user-private.ts +1 -1
  836. package/models/user-public-list.ts +1 -1
  837. package/models/user-public.ts +1 -1
  838. package/models/user-update.ts +1 -1
  839. package/models/validation-error.ts +1 -1
  840. package/models/value-file-reference.ts +1 -1
  841. package/models/value-folder-reference.ts +1 -1
  842. package/models/value-list-reference.ts +1 -1
  843. package/models/value-reference.ts +1 -1
  844. package/package.json +1 -1
@@ -0,0 +1,1377 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * pollination-server
6
+ * Pollination Server OpenAPI Definition
7
+ *
8
+ * The version of the OpenAPI document: 0.27.2
9
+ * Contact: info@pollination.cloud
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
16
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
17
+ return new (P || (P = Promise))(function (resolve, reject) {
18
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
19
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
20
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
21
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
22
+ });
23
+ };
24
+ Object.defineProperty(exports, "__esModule", { value: true });
25
+ exports.ApplicationsApi = exports.ApplicationsApiFactory = exports.ApplicationsApiFp = exports.ApplicationsApiAxiosParamCreator = void 0;
26
+ const axios_1 = require("axios");
27
+ // Some imports not used depending on template conditions
28
+ // @ts-ignore
29
+ const base_1 = require("../base");
30
+ /**
31
+ * ApplicationsApi - axios parameter creator
32
+ * @export
33
+ */
34
+ const ApplicationsApiAxiosParamCreator = function (configuration) {
35
+ return {
36
+ /**
37
+ *
38
+ * @summary Create an Application
39
+ * @param {string} owner
40
+ * @param {ApplicationCreate} applicationCreate
41
+ * @param {*} [options] Override http request option.
42
+ * @throws {RequiredError}
43
+ */
44
+ createApplication: (owner, applicationCreate, options = {}) => __awaiter(this, void 0, void 0, function* () {
45
+ // verify required parameter 'owner' is not null or undefined
46
+ if (owner === null || owner === undefined) {
47
+ throw new base_1.RequiredError('owner', 'Required parameter owner was null or undefined when calling createApplication.');
48
+ }
49
+ // verify required parameter 'applicationCreate' is not null or undefined
50
+ if (applicationCreate === null || applicationCreate === undefined) {
51
+ throw new base_1.RequiredError('applicationCreate', 'Required parameter applicationCreate was null or undefined when calling createApplication.');
52
+ }
53
+ const localVarPath = `/applications/{owner}`
54
+ .replace(`{${"owner"}}`, encodeURIComponent(String(owner)));
55
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
56
+ const localVarUrlObj = new URL(localVarPath, 'https://example.com');
57
+ let baseOptions;
58
+ if (configuration) {
59
+ baseOptions = configuration.baseOptions;
60
+ }
61
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
62
+ const localVarHeaderParameter = {};
63
+ const localVarQueryParameter = {};
64
+ // authentication APIKeyAuth required
65
+ if (configuration && configuration.apiKey) {
66
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
67
+ ? yield configuration.apiKey("x-pollination-token")
68
+ : yield configuration.apiKey;
69
+ localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
70
+ }
71
+ // authentication JWTAuth required
72
+ // http bearer authentication required
73
+ if (configuration && configuration.accessToken) {
74
+ const accessToken = typeof configuration.accessToken === 'function'
75
+ ? yield configuration.accessToken()
76
+ : yield configuration.accessToken;
77
+ localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
78
+ }
79
+ localVarHeaderParameter['Content-Type'] = 'application/json';
80
+ const query = new URLSearchParams(localVarUrlObj.search);
81
+ for (const key in localVarQueryParameter) {
82
+ query.set(key, localVarQueryParameter[key]);
83
+ }
84
+ for (const key in options.query) {
85
+ query.set(key, options.query[key]);
86
+ }
87
+ localVarUrlObj.search = (new URLSearchParams(query)).toString();
88
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
89
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
90
+ const needsSerialization = (typeof applicationCreate !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
91
+ localVarRequestOptions.data = needsSerialization ? JSON.stringify(applicationCreate !== undefined ? applicationCreate : {}) : (applicationCreate || "");
92
+ return {
93
+ url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
94
+ options: localVarRequestOptions,
95
+ };
96
+ }),
97
+ /**
98
+ *
99
+ * @summary Delete a Application
100
+ * @param {string} owner
101
+ * @param {string} slug
102
+ * @param {*} [options] Override http request option.
103
+ * @throws {RequiredError}
104
+ */
105
+ deleteApplication: (owner, slug, options = {}) => __awaiter(this, void 0, void 0, function* () {
106
+ // verify required parameter 'owner' is not null or undefined
107
+ if (owner === null || owner === undefined) {
108
+ throw new base_1.RequiredError('owner', 'Required parameter owner was null or undefined when calling deleteApplication.');
109
+ }
110
+ // verify required parameter 'slug' is not null or undefined
111
+ if (slug === null || slug === undefined) {
112
+ throw new base_1.RequiredError('slug', 'Required parameter slug was null or undefined when calling deleteApplication.');
113
+ }
114
+ const localVarPath = `/applications/{owner}/{slug}`
115
+ .replace(`{${"owner"}}`, encodeURIComponent(String(owner)))
116
+ .replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
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 = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
124
+ const localVarHeaderParameter = {};
125
+ const localVarQueryParameter = {};
126
+ // authentication APIKeyAuth required
127
+ if (configuration && configuration.apiKey) {
128
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
129
+ ? yield configuration.apiKey("x-pollination-token")
130
+ : yield configuration.apiKey;
131
+ localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
132
+ }
133
+ // authentication JWTAuth required
134
+ // http bearer authentication required
135
+ if (configuration && configuration.accessToken) {
136
+ const accessToken = typeof configuration.accessToken === 'function'
137
+ ? yield configuration.accessToken()
138
+ : yield configuration.accessToken;
139
+ localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
140
+ }
141
+ const query = new URLSearchParams(localVarUrlObj.search);
142
+ for (const key in localVarQueryParameter) {
143
+ query.set(key, localVarQueryParameter[key]);
144
+ }
145
+ for (const key in options.query) {
146
+ query.set(key, options.query[key]);
147
+ }
148
+ localVarUrlObj.search = (new URLSearchParams(query)).toString();
149
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
150
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
151
+ return {
152
+ url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
153
+ options: localVarRequestOptions,
154
+ };
155
+ }),
156
+ /**
157
+ *
158
+ * @summary Remove a Application permissions
159
+ * @param {string} owner
160
+ * @param {string} slug
161
+ * @param {ApplicationPolicySubject} applicationPolicySubject
162
+ * @param {*} [options] Override http request option.
163
+ * @throws {RequiredError}
164
+ */
165
+ deleteApplicationOrgPermission: (owner, slug, applicationPolicySubject, options = {}) => __awaiter(this, void 0, void 0, function* () {
166
+ // verify required parameter 'owner' is not null or undefined
167
+ if (owner === null || owner === undefined) {
168
+ throw new base_1.RequiredError('owner', 'Required parameter owner was null or undefined when calling deleteApplicationOrgPermission.');
169
+ }
170
+ // verify required parameter 'slug' is not null or undefined
171
+ if (slug === null || slug === undefined) {
172
+ throw new base_1.RequiredError('slug', 'Required parameter slug was null or undefined when calling deleteApplicationOrgPermission.');
173
+ }
174
+ // verify required parameter 'applicationPolicySubject' is not null or undefined
175
+ if (applicationPolicySubject === null || applicationPolicySubject === undefined) {
176
+ throw new base_1.RequiredError('applicationPolicySubject', 'Required parameter applicationPolicySubject was null or undefined when calling deleteApplicationOrgPermission.');
177
+ }
178
+ const localVarPath = `/applications/{owner}/{slug}/permissions`
179
+ .replace(`{${"owner"}}`, encodeURIComponent(String(owner)))
180
+ .replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
181
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
182
+ const localVarUrlObj = new URL(localVarPath, 'https://example.com');
183
+ let baseOptions;
184
+ if (configuration) {
185
+ baseOptions = configuration.baseOptions;
186
+ }
187
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
188
+ const localVarHeaderParameter = {};
189
+ const localVarQueryParameter = {};
190
+ // authentication APIKeyAuth required
191
+ if (configuration && configuration.apiKey) {
192
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
193
+ ? yield configuration.apiKey("x-pollination-token")
194
+ : yield configuration.apiKey;
195
+ localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
196
+ }
197
+ // authentication JWTAuth required
198
+ // http bearer authentication required
199
+ if (configuration && configuration.accessToken) {
200
+ const accessToken = typeof configuration.accessToken === 'function'
201
+ ? yield configuration.accessToken()
202
+ : yield configuration.accessToken;
203
+ localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
204
+ }
205
+ localVarHeaderParameter['Content-Type'] = 'application/json';
206
+ const query = new URLSearchParams(localVarUrlObj.search);
207
+ for (const key in localVarQueryParameter) {
208
+ query.set(key, localVarQueryParameter[key]);
209
+ }
210
+ for (const key in options.query) {
211
+ query.set(key, options.query[key]);
212
+ }
213
+ localVarUrlObj.search = (new URLSearchParams(query)).toString();
214
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
215
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
216
+ const needsSerialization = (typeof applicationPolicySubject !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
217
+ localVarRequestOptions.data = needsSerialization ? JSON.stringify(applicationPolicySubject !== undefined ? applicationPolicySubject : {}) : (applicationPolicySubject || "");
218
+ return {
219
+ url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
220
+ options: localVarRequestOptions,
221
+ };
222
+ }),
223
+ /**
224
+ *
225
+ * @summary Remove a Application version
226
+ * @param {string} owner
227
+ * @param {string} slug
228
+ * @param {string} tag
229
+ * @param {*} [options] Override http request option.
230
+ * @throws {RequiredError}
231
+ */
232
+ deleteApplicationVersion: (owner, slug, tag, options = {}) => __awaiter(this, void 0, void 0, function* () {
233
+ // verify required parameter 'owner' is not null or undefined
234
+ if (owner === null || owner === undefined) {
235
+ throw new base_1.RequiredError('owner', 'Required parameter owner was null or undefined when calling deleteApplicationVersion.');
236
+ }
237
+ // verify required parameter 'slug' is not null or undefined
238
+ if (slug === null || slug === undefined) {
239
+ throw new base_1.RequiredError('slug', 'Required parameter slug was null or undefined when calling deleteApplicationVersion.');
240
+ }
241
+ // verify required parameter 'tag' is not null or undefined
242
+ if (tag === null || tag === undefined) {
243
+ throw new base_1.RequiredError('tag', 'Required parameter tag was null or undefined when calling deleteApplicationVersion.');
244
+ }
245
+ const localVarPath = `/applications/{owner}/{slug}/versions/{tag}`
246
+ .replace(`{${"owner"}}`, encodeURIComponent(String(owner)))
247
+ .replace(`{${"slug"}}`, encodeURIComponent(String(slug)))
248
+ .replace(`{${"tag"}}`, encodeURIComponent(String(tag)));
249
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
250
+ const localVarUrlObj = new URL(localVarPath, 'https://example.com');
251
+ let baseOptions;
252
+ if (configuration) {
253
+ baseOptions = configuration.baseOptions;
254
+ }
255
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
256
+ const localVarHeaderParameter = {};
257
+ const localVarQueryParameter = {};
258
+ // authentication APIKeyAuth required
259
+ if (configuration && configuration.apiKey) {
260
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
261
+ ? yield configuration.apiKey("x-pollination-token")
262
+ : yield configuration.apiKey;
263
+ localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
264
+ }
265
+ // authentication JWTAuth required
266
+ // http bearer authentication required
267
+ if (configuration && configuration.accessToken) {
268
+ const accessToken = typeof configuration.accessToken === 'function'
269
+ ? yield configuration.accessToken()
270
+ : yield configuration.accessToken;
271
+ localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
272
+ }
273
+ const query = new URLSearchParams(localVarUrlObj.search);
274
+ for (const key in localVarQueryParameter) {
275
+ query.set(key, localVarQueryParameter[key]);
276
+ }
277
+ for (const key in options.query) {
278
+ query.set(key, options.query[key]);
279
+ }
280
+ localVarUrlObj.search = (new URLSearchParams(query)).toString();
281
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
282
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
283
+ return {
284
+ url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
285
+ options: localVarRequestOptions,
286
+ };
287
+ }),
288
+ /**
289
+ *
290
+ * @summary Get an application
291
+ * @param {string} owner
292
+ * @param {string} slug
293
+ * @param {*} [options] Override http request option.
294
+ * @throws {RequiredError}
295
+ */
296
+ getApplication: (owner, slug, options = {}) => __awaiter(this, void 0, void 0, function* () {
297
+ // verify required parameter 'owner' is not null or undefined
298
+ if (owner === null || owner === undefined) {
299
+ throw new base_1.RequiredError('owner', 'Required parameter owner was null or undefined when calling getApplication.');
300
+ }
301
+ // verify required parameter 'slug' is not null or undefined
302
+ if (slug === null || slug === undefined) {
303
+ throw new base_1.RequiredError('slug', 'Required parameter slug was null or undefined when calling getApplication.');
304
+ }
305
+ const localVarPath = `/applications/{owner}/{slug}`
306
+ .replace(`{${"owner"}}`, encodeURIComponent(String(owner)))
307
+ .replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
308
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
309
+ const localVarUrlObj = new URL(localVarPath, 'https://example.com');
310
+ let baseOptions;
311
+ if (configuration) {
312
+ baseOptions = configuration.baseOptions;
313
+ }
314
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
315
+ const localVarHeaderParameter = {};
316
+ const localVarQueryParameter = {};
317
+ // authentication APIKeyAuth required
318
+ if (configuration && configuration.apiKey) {
319
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
320
+ ? yield configuration.apiKey("x-pollination-token")
321
+ : yield configuration.apiKey;
322
+ localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
323
+ }
324
+ // authentication JWTAuth required
325
+ // http bearer authentication required
326
+ if (configuration && configuration.accessToken) {
327
+ const accessToken = typeof configuration.accessToken === 'function'
328
+ ? yield configuration.accessToken()
329
+ : yield configuration.accessToken;
330
+ localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
331
+ }
332
+ const query = new URLSearchParams(localVarUrlObj.search);
333
+ for (const key in localVarQueryParameter) {
334
+ query.set(key, localVarQueryParameter[key]);
335
+ }
336
+ for (const key in options.query) {
337
+ query.set(key, options.query[key]);
338
+ }
339
+ localVarUrlObj.search = (new URLSearchParams(query)).toString();
340
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
341
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
342
+ return {
343
+ url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
344
+ options: localVarRequestOptions,
345
+ };
346
+ }),
347
+ /**
348
+ *
349
+ * @summary Get application access permissions
350
+ * @param {string} owner
351
+ * @param {string} slug
352
+ * @param {number} [page] Page number starting from 1
353
+ * @param {number} [perPage] Number of items per page
354
+ * @param {Array<string>} [subjectType] The type of access policy subject
355
+ * @param {Array<string>} [permission] An access policy permission string
356
+ * @param {*} [options] Override http request option.
357
+ * @throws {RequiredError}
358
+ */
359
+ getApplicationAccessPermissions: (owner, slug, page, perPage, subjectType, permission, options = {}) => __awaiter(this, void 0, void 0, function* () {
360
+ // verify required parameter 'owner' is not null or undefined
361
+ if (owner === null || owner === undefined) {
362
+ throw new base_1.RequiredError('owner', 'Required parameter owner was null or undefined when calling getApplicationAccessPermissions.');
363
+ }
364
+ // verify required parameter 'slug' is not null or undefined
365
+ if (slug === null || slug === undefined) {
366
+ throw new base_1.RequiredError('slug', 'Required parameter slug was null or undefined when calling getApplicationAccessPermissions.');
367
+ }
368
+ const localVarPath = `/applications/{owner}/{slug}/permissions`
369
+ .replace(`{${"owner"}}`, encodeURIComponent(String(owner)))
370
+ .replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
371
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
372
+ const localVarUrlObj = new URL(localVarPath, 'https://example.com');
373
+ let baseOptions;
374
+ if (configuration) {
375
+ baseOptions = configuration.baseOptions;
376
+ }
377
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
378
+ const localVarHeaderParameter = {};
379
+ const localVarQueryParameter = {};
380
+ // authentication APIKeyAuth required
381
+ if (configuration && configuration.apiKey) {
382
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
383
+ ? yield configuration.apiKey("x-pollination-token")
384
+ : yield configuration.apiKey;
385
+ localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
386
+ }
387
+ // authentication JWTAuth required
388
+ // http bearer authentication required
389
+ if (configuration && configuration.accessToken) {
390
+ const accessToken = typeof configuration.accessToken === 'function'
391
+ ? yield configuration.accessToken()
392
+ : yield configuration.accessToken;
393
+ localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
394
+ }
395
+ if (page !== undefined) {
396
+ localVarQueryParameter['page'] = page;
397
+ }
398
+ if (perPage !== undefined) {
399
+ localVarQueryParameter['per-page'] = perPage;
400
+ }
401
+ if (subjectType) {
402
+ localVarQueryParameter['subject_type'] = subjectType;
403
+ }
404
+ if (permission) {
405
+ localVarQueryParameter['permission'] = permission;
406
+ }
407
+ const query = new URLSearchParams(localVarUrlObj.search);
408
+ for (const key in localVarQueryParameter) {
409
+ query.set(key, localVarQueryParameter[key]);
410
+ }
411
+ for (const key in options.query) {
412
+ query.set(key, options.query[key]);
413
+ }
414
+ localVarUrlObj.search = (new URLSearchParams(query)).toString();
415
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
416
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
417
+ return {
418
+ url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
419
+ options: localVarRequestOptions,
420
+ };
421
+ }),
422
+ /**
423
+ *
424
+ * @summary Get application deployment
425
+ * @param {string} owner
426
+ * @param {string} slug
427
+ * @param {*} [options] Override http request option.
428
+ * @throws {RequiredError}
429
+ */
430
+ getApplicationDeployment: (owner, slug, options = {}) => __awaiter(this, void 0, void 0, function* () {
431
+ // verify required parameter 'owner' is not null or undefined
432
+ if (owner === null || owner === undefined) {
433
+ throw new base_1.RequiredError('owner', 'Required parameter owner was null or undefined when calling getApplicationDeployment.');
434
+ }
435
+ // verify required parameter 'slug' is not null or undefined
436
+ if (slug === null || slug === undefined) {
437
+ throw new base_1.RequiredError('slug', 'Required parameter slug was null or undefined when calling getApplicationDeployment.');
438
+ }
439
+ const localVarPath = `/applications/{owner}/{slug}/deployment`
440
+ .replace(`{${"owner"}}`, encodeURIComponent(String(owner)))
441
+ .replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
442
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
443
+ const localVarUrlObj = new URL(localVarPath, 'https://example.com');
444
+ let baseOptions;
445
+ if (configuration) {
446
+ baseOptions = configuration.baseOptions;
447
+ }
448
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
449
+ const localVarHeaderParameter = {};
450
+ const localVarQueryParameter = {};
451
+ // authentication APIKeyAuth required
452
+ if (configuration && configuration.apiKey) {
453
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
454
+ ? yield configuration.apiKey("x-pollination-token")
455
+ : yield configuration.apiKey;
456
+ localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
457
+ }
458
+ // authentication JWTAuth required
459
+ // http bearer authentication required
460
+ if (configuration && configuration.accessToken) {
461
+ const accessToken = typeof configuration.accessToken === 'function'
462
+ ? yield configuration.accessToken()
463
+ : yield configuration.accessToken;
464
+ localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
465
+ }
466
+ const query = new URLSearchParams(localVarUrlObj.search);
467
+ for (const key in localVarQueryParameter) {
468
+ query.set(key, localVarQueryParameter[key]);
469
+ }
470
+ for (const key in options.query) {
471
+ query.set(key, options.query[key]);
472
+ }
473
+ localVarUrlObj.search = (new URLSearchParams(query)).toString();
474
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
475
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
476
+ return {
477
+ url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
478
+ options: localVarRequestOptions,
479
+ };
480
+ }),
481
+ /**
482
+ *
483
+ * @summary Get application versions
484
+ * @param {string} owner
485
+ * @param {string} slug
486
+ * @param {number} [page] Page number starting from 1
487
+ * @param {number} [perPage] Number of items per page
488
+ * @param {*} [options] Override http request option.
489
+ * @throws {RequiredError}
490
+ */
491
+ getApplicationVersions: (owner, slug, page, perPage, options = {}) => __awaiter(this, void 0, void 0, function* () {
492
+ // verify required parameter 'owner' is not null or undefined
493
+ if (owner === null || owner === undefined) {
494
+ throw new base_1.RequiredError('owner', 'Required parameter owner was null or undefined when calling getApplicationVersions.');
495
+ }
496
+ // verify required parameter 'slug' is not null or undefined
497
+ if (slug === null || slug === undefined) {
498
+ throw new base_1.RequiredError('slug', 'Required parameter slug was null or undefined when calling getApplicationVersions.');
499
+ }
500
+ const localVarPath = `/applications/{owner}/{slug}/versions`
501
+ .replace(`{${"owner"}}`, encodeURIComponent(String(owner)))
502
+ .replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
503
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
504
+ const localVarUrlObj = new URL(localVarPath, 'https://example.com');
505
+ let baseOptions;
506
+ if (configuration) {
507
+ baseOptions = configuration.baseOptions;
508
+ }
509
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
510
+ const localVarHeaderParameter = {};
511
+ const localVarQueryParameter = {};
512
+ // authentication APIKeyAuth required
513
+ if (configuration && configuration.apiKey) {
514
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
515
+ ? yield configuration.apiKey("x-pollination-token")
516
+ : yield configuration.apiKey;
517
+ localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
518
+ }
519
+ // authentication JWTAuth required
520
+ // http bearer authentication required
521
+ if (configuration && configuration.accessToken) {
522
+ const accessToken = typeof configuration.accessToken === 'function'
523
+ ? yield configuration.accessToken()
524
+ : yield configuration.accessToken;
525
+ localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
526
+ }
527
+ if (page !== undefined) {
528
+ localVarQueryParameter['page'] = page;
529
+ }
530
+ if (perPage !== undefined) {
531
+ localVarQueryParameter['per-page'] = perPage;
532
+ }
533
+ const query = new URLSearchParams(localVarUrlObj.search);
534
+ for (const key in localVarQueryParameter) {
535
+ query.set(key, localVarQueryParameter[key]);
536
+ }
537
+ for (const key in options.query) {
538
+ query.set(key, options.query[key]);
539
+ }
540
+ localVarUrlObj.search = (new URLSearchParams(query)).toString();
541
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
542
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
543
+ return {
544
+ url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
545
+ options: localVarRequestOptions,
546
+ };
547
+ }),
548
+ /**
549
+ *
550
+ * @summary List Applications
551
+ * @param {string} [search] Search string to find applications
552
+ * @param {Array<string>} [ids] The ID of a application to search for
553
+ * @param {Array<string>} [names] The name of the application
554
+ * @param {Array<string>} [owner] Owner of the application
555
+ * @param {boolean} [_public] Boolean check for public/private applications
556
+ * @param {Array<string>} [permissions] Filter by permission on given resource
557
+ * @param {Array<string>} [keywords] Filter by keywords on given resource
558
+ * @param {ApplicationSortKey} [sortBy] Key to sort the list by
559
+ * @param {SortEnum} [sortOrder] The order to sort the list
560
+ * @param {number} [page] Page number starting from 1
561
+ * @param {number} [perPage] Number of items per page
562
+ * @param {*} [options] Override http request option.
563
+ * @throws {RequiredError}
564
+ */
565
+ listApplications: (search, ids, names, owner, _public, permissions, keywords, sortBy, sortOrder, page, perPage, options = {}) => __awaiter(this, void 0, void 0, function* () {
566
+ const localVarPath = `/applications`;
567
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
568
+ const localVarUrlObj = new URL(localVarPath, 'https://example.com');
569
+ let baseOptions;
570
+ if (configuration) {
571
+ baseOptions = configuration.baseOptions;
572
+ }
573
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
574
+ const localVarHeaderParameter = {};
575
+ const localVarQueryParameter = {};
576
+ // authentication APIKeyAuth required
577
+ if (configuration && configuration.apiKey) {
578
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
579
+ ? yield configuration.apiKey("x-pollination-token")
580
+ : yield configuration.apiKey;
581
+ localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
582
+ }
583
+ // authentication JWTAuth required
584
+ // http bearer authentication required
585
+ if (configuration && configuration.accessToken) {
586
+ const accessToken = typeof configuration.accessToken === 'function'
587
+ ? yield configuration.accessToken()
588
+ : yield configuration.accessToken;
589
+ localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
590
+ }
591
+ if (search !== undefined) {
592
+ localVarQueryParameter['search'] = search;
593
+ }
594
+ if (ids) {
595
+ localVarQueryParameter['ids'] = ids;
596
+ }
597
+ if (names) {
598
+ localVarQueryParameter['names'] = names;
599
+ }
600
+ if (owner) {
601
+ localVarQueryParameter['owner'] = owner;
602
+ }
603
+ if (_public !== undefined) {
604
+ localVarQueryParameter['public'] = _public;
605
+ }
606
+ if (permissions) {
607
+ localVarQueryParameter['permissions'] = permissions;
608
+ }
609
+ if (keywords) {
610
+ localVarQueryParameter['keywords'] = keywords;
611
+ }
612
+ if (sortBy !== undefined) {
613
+ localVarQueryParameter['sort_by'] = sortBy;
614
+ }
615
+ if (sortOrder !== undefined) {
616
+ localVarQueryParameter['sort_order'] = sortOrder;
617
+ }
618
+ if (page !== undefined) {
619
+ localVarQueryParameter['page'] = page;
620
+ }
621
+ if (perPage !== undefined) {
622
+ localVarQueryParameter['per-page'] = perPage;
623
+ }
624
+ const query = new URLSearchParams(localVarUrlObj.search);
625
+ for (const key in localVarQueryParameter) {
626
+ query.set(key, localVarQueryParameter[key]);
627
+ }
628
+ for (const key in options.query) {
629
+ query.set(key, options.query[key]);
630
+ }
631
+ localVarUrlObj.search = (new URLSearchParams(query)).toString();
632
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
633
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
634
+ return {
635
+ url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
636
+ options: localVarRequestOptions,
637
+ };
638
+ }),
639
+ /**
640
+ *
641
+ * @summary Update a Application
642
+ * @param {string} owner
643
+ * @param {string} slug
644
+ * @param {ApplicationUpdate} applicationUpdate
645
+ * @param {*} [options] Override http request option.
646
+ * @throws {RequiredError}
647
+ */
648
+ updateApplication: (owner, slug, applicationUpdate, options = {}) => __awaiter(this, void 0, void 0, function* () {
649
+ // verify required parameter 'owner' is not null or undefined
650
+ if (owner === null || owner === undefined) {
651
+ throw new base_1.RequiredError('owner', 'Required parameter owner was null or undefined when calling updateApplication.');
652
+ }
653
+ // verify required parameter 'slug' is not null or undefined
654
+ if (slug === null || slug === undefined) {
655
+ throw new base_1.RequiredError('slug', 'Required parameter slug was null or undefined when calling updateApplication.');
656
+ }
657
+ // verify required parameter 'applicationUpdate' is not null or undefined
658
+ if (applicationUpdate === null || applicationUpdate === undefined) {
659
+ throw new base_1.RequiredError('applicationUpdate', 'Required parameter applicationUpdate was null or undefined when calling updateApplication.');
660
+ }
661
+ const localVarPath = `/applications/{owner}/{slug}`
662
+ .replace(`{${"owner"}}`, encodeURIComponent(String(owner)))
663
+ .replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
664
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
665
+ const localVarUrlObj = new URL(localVarPath, 'https://example.com');
666
+ let baseOptions;
667
+ if (configuration) {
668
+ baseOptions = configuration.baseOptions;
669
+ }
670
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
671
+ const localVarHeaderParameter = {};
672
+ const localVarQueryParameter = {};
673
+ // authentication APIKeyAuth required
674
+ if (configuration && configuration.apiKey) {
675
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
676
+ ? yield configuration.apiKey("x-pollination-token")
677
+ : yield configuration.apiKey;
678
+ localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
679
+ }
680
+ // authentication JWTAuth required
681
+ // http bearer authentication required
682
+ if (configuration && configuration.accessToken) {
683
+ const accessToken = typeof configuration.accessToken === 'function'
684
+ ? yield configuration.accessToken()
685
+ : yield configuration.accessToken;
686
+ localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
687
+ }
688
+ localVarHeaderParameter['Content-Type'] = 'application/json';
689
+ const query = new URLSearchParams(localVarUrlObj.search);
690
+ for (const key in localVarQueryParameter) {
691
+ query.set(key, localVarQueryParameter[key]);
692
+ }
693
+ for (const key in options.query) {
694
+ query.set(key, options.query[key]);
695
+ }
696
+ localVarUrlObj.search = (new URLSearchParams(query)).toString();
697
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
698
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
699
+ const needsSerialization = (typeof applicationUpdate !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
700
+ localVarRequestOptions.data = needsSerialization ? JSON.stringify(applicationUpdate !== undefined ? applicationUpdate : {}) : (applicationUpdate || "");
701
+ return {
702
+ url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
703
+ options: localVarRequestOptions,
704
+ };
705
+ }),
706
+ /**
707
+ *
708
+ * @summary Upsert a new permission to a application
709
+ * @param {string} owner
710
+ * @param {string} slug
711
+ * @param {ApplicationAccessPolicy} applicationAccessPolicy
712
+ * @param {*} [options] Override http request option.
713
+ * @throws {RequiredError}
714
+ */
715
+ upsertApplicationPermission: (owner, slug, applicationAccessPolicy, options = {}) => __awaiter(this, void 0, void 0, function* () {
716
+ // verify required parameter 'owner' is not null or undefined
717
+ if (owner === null || owner === undefined) {
718
+ throw new base_1.RequiredError('owner', 'Required parameter owner was null or undefined when calling upsertApplicationPermission.');
719
+ }
720
+ // verify required parameter 'slug' is not null or undefined
721
+ if (slug === null || slug === undefined) {
722
+ throw new base_1.RequiredError('slug', 'Required parameter slug was null or undefined when calling upsertApplicationPermission.');
723
+ }
724
+ // verify required parameter 'applicationAccessPolicy' is not null or undefined
725
+ if (applicationAccessPolicy === null || applicationAccessPolicy === undefined) {
726
+ throw new base_1.RequiredError('applicationAccessPolicy', 'Required parameter applicationAccessPolicy was null or undefined when calling upsertApplicationPermission.');
727
+ }
728
+ const localVarPath = `/applications/{owner}/{slug}/permissions`
729
+ .replace(`{${"owner"}}`, encodeURIComponent(String(owner)))
730
+ .replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
731
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
732
+ const localVarUrlObj = new URL(localVarPath, 'https://example.com');
733
+ let baseOptions;
734
+ if (configuration) {
735
+ baseOptions = configuration.baseOptions;
736
+ }
737
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
738
+ const localVarHeaderParameter = {};
739
+ const localVarQueryParameter = {};
740
+ // authentication APIKeyAuth required
741
+ if (configuration && configuration.apiKey) {
742
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
743
+ ? yield configuration.apiKey("x-pollination-token")
744
+ : yield configuration.apiKey;
745
+ localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
746
+ }
747
+ // authentication JWTAuth required
748
+ // http bearer authentication required
749
+ if (configuration && configuration.accessToken) {
750
+ const accessToken = typeof configuration.accessToken === 'function'
751
+ ? yield configuration.accessToken()
752
+ : yield configuration.accessToken;
753
+ localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
754
+ }
755
+ localVarHeaderParameter['Content-Type'] = 'application/json';
756
+ const query = new URLSearchParams(localVarUrlObj.search);
757
+ for (const key in localVarQueryParameter) {
758
+ query.set(key, localVarQueryParameter[key]);
759
+ }
760
+ for (const key in options.query) {
761
+ query.set(key, options.query[key]);
762
+ }
763
+ localVarUrlObj.search = (new URLSearchParams(query)).toString();
764
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
765
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
766
+ const needsSerialization = (typeof applicationAccessPolicy !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
767
+ localVarRequestOptions.data = needsSerialization ? JSON.stringify(applicationAccessPolicy !== undefined ? applicationAccessPolicy : {}) : (applicationAccessPolicy || "");
768
+ return {
769
+ url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
770
+ options: localVarRequestOptions,
771
+ };
772
+ }),
773
+ /**
774
+ *
775
+ * @summary Upsert a new version to a application
776
+ * @param {string} owner
777
+ * @param {string} slug
778
+ * @param {NewApplicationVersion} newApplicationVersion
779
+ * @param {*} [options] Override http request option.
780
+ * @throws {RequiredError}
781
+ */
782
+ upsertApplicationVersion: (owner, slug, newApplicationVersion, options = {}) => __awaiter(this, void 0, void 0, function* () {
783
+ // verify required parameter 'owner' is not null or undefined
784
+ if (owner === null || owner === undefined) {
785
+ throw new base_1.RequiredError('owner', 'Required parameter owner was null or undefined when calling upsertApplicationVersion.');
786
+ }
787
+ // verify required parameter 'slug' is not null or undefined
788
+ if (slug === null || slug === undefined) {
789
+ throw new base_1.RequiredError('slug', 'Required parameter slug was null or undefined when calling upsertApplicationVersion.');
790
+ }
791
+ // verify required parameter 'newApplicationVersion' is not null or undefined
792
+ if (newApplicationVersion === null || newApplicationVersion === undefined) {
793
+ throw new base_1.RequiredError('newApplicationVersion', 'Required parameter newApplicationVersion was null or undefined when calling upsertApplicationVersion.');
794
+ }
795
+ const localVarPath = `/applications/{owner}/{slug}/versions`
796
+ .replace(`{${"owner"}}`, encodeURIComponent(String(owner)))
797
+ .replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
798
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
799
+ const localVarUrlObj = new URL(localVarPath, 'https://example.com');
800
+ let baseOptions;
801
+ if (configuration) {
802
+ baseOptions = configuration.baseOptions;
803
+ }
804
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
805
+ const localVarHeaderParameter = {};
806
+ const localVarQueryParameter = {};
807
+ // authentication APIKeyAuth required
808
+ if (configuration && configuration.apiKey) {
809
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
810
+ ? yield configuration.apiKey("x-pollination-token")
811
+ : yield configuration.apiKey;
812
+ localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
813
+ }
814
+ // authentication JWTAuth required
815
+ // http bearer authentication required
816
+ if (configuration && configuration.accessToken) {
817
+ const accessToken = typeof configuration.accessToken === 'function'
818
+ ? yield configuration.accessToken()
819
+ : yield configuration.accessToken;
820
+ localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
821
+ }
822
+ localVarHeaderParameter['Content-Type'] = 'application/json';
823
+ const query = new URLSearchParams(localVarUrlObj.search);
824
+ for (const key in localVarQueryParameter) {
825
+ query.set(key, localVarQueryParameter[key]);
826
+ }
827
+ for (const key in options.query) {
828
+ query.set(key, options.query[key]);
829
+ }
830
+ localVarUrlObj.search = (new URLSearchParams(query)).toString();
831
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
832
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
833
+ const needsSerialization = (typeof newApplicationVersion !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
834
+ localVarRequestOptions.data = needsSerialization ? JSON.stringify(newApplicationVersion !== undefined ? newApplicationVersion : {}) : (newApplicationVersion || "");
835
+ return {
836
+ url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
837
+ options: localVarRequestOptions,
838
+ };
839
+ }),
840
+ };
841
+ };
842
+ exports.ApplicationsApiAxiosParamCreator = ApplicationsApiAxiosParamCreator;
843
+ /**
844
+ * ApplicationsApi - functional programming interface
845
+ * @export
846
+ */
847
+ const ApplicationsApiFp = function (configuration) {
848
+ return {
849
+ /**
850
+ *
851
+ * @summary Create an Application
852
+ * @param {string} owner
853
+ * @param {ApplicationCreate} applicationCreate
854
+ * @param {*} [options] Override http request option.
855
+ * @throws {RequiredError}
856
+ */
857
+ createApplication(owner, applicationCreate, options) {
858
+ return __awaiter(this, void 0, void 0, function* () {
859
+ const localVarAxiosArgs = yield (0, exports.ApplicationsApiAxiosParamCreator)(configuration).createApplication(owner, applicationCreate, options);
860
+ return (axios = axios_1.default, basePath = base_1.BASE_PATH) => {
861
+ const axiosRequestArgs = Object.assign(Object.assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
862
+ return axios.request(axiosRequestArgs);
863
+ };
864
+ });
865
+ },
866
+ /**
867
+ *
868
+ * @summary Delete a Application
869
+ * @param {string} owner
870
+ * @param {string} slug
871
+ * @param {*} [options] Override http request option.
872
+ * @throws {RequiredError}
873
+ */
874
+ deleteApplication(owner, slug, options) {
875
+ return __awaiter(this, void 0, void 0, function* () {
876
+ const localVarAxiosArgs = yield (0, exports.ApplicationsApiAxiosParamCreator)(configuration).deleteApplication(owner, slug, options);
877
+ return (axios = axios_1.default, basePath = base_1.BASE_PATH) => {
878
+ const axiosRequestArgs = Object.assign(Object.assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
879
+ return axios.request(axiosRequestArgs);
880
+ };
881
+ });
882
+ },
883
+ /**
884
+ *
885
+ * @summary Remove a Application permissions
886
+ * @param {string} owner
887
+ * @param {string} slug
888
+ * @param {ApplicationPolicySubject} applicationPolicySubject
889
+ * @param {*} [options] Override http request option.
890
+ * @throws {RequiredError}
891
+ */
892
+ deleteApplicationOrgPermission(owner, slug, applicationPolicySubject, options) {
893
+ return __awaiter(this, void 0, void 0, function* () {
894
+ const localVarAxiosArgs = yield (0, exports.ApplicationsApiAxiosParamCreator)(configuration).deleteApplicationOrgPermission(owner, slug, applicationPolicySubject, options);
895
+ return (axios = axios_1.default, basePath = base_1.BASE_PATH) => {
896
+ const axiosRequestArgs = Object.assign(Object.assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
897
+ return axios.request(axiosRequestArgs);
898
+ };
899
+ });
900
+ },
901
+ /**
902
+ *
903
+ * @summary Remove a Application version
904
+ * @param {string} owner
905
+ * @param {string} slug
906
+ * @param {string} tag
907
+ * @param {*} [options] Override http request option.
908
+ * @throws {RequiredError}
909
+ */
910
+ deleteApplicationVersion(owner, slug, tag, options) {
911
+ return __awaiter(this, void 0, void 0, function* () {
912
+ const localVarAxiosArgs = yield (0, exports.ApplicationsApiAxiosParamCreator)(configuration).deleteApplicationVersion(owner, slug, tag, options);
913
+ return (axios = axios_1.default, basePath = base_1.BASE_PATH) => {
914
+ const axiosRequestArgs = Object.assign(Object.assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
915
+ return axios.request(axiosRequestArgs);
916
+ };
917
+ });
918
+ },
919
+ /**
920
+ *
921
+ * @summary Get an application
922
+ * @param {string} owner
923
+ * @param {string} slug
924
+ * @param {*} [options] Override http request option.
925
+ * @throws {RequiredError}
926
+ */
927
+ getApplication(owner, slug, options) {
928
+ return __awaiter(this, void 0, void 0, function* () {
929
+ const localVarAxiosArgs = yield (0, exports.ApplicationsApiAxiosParamCreator)(configuration).getApplication(owner, slug, options);
930
+ return (axios = axios_1.default, basePath = base_1.BASE_PATH) => {
931
+ const axiosRequestArgs = Object.assign(Object.assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
932
+ return axios.request(axiosRequestArgs);
933
+ };
934
+ });
935
+ },
936
+ /**
937
+ *
938
+ * @summary Get application access permissions
939
+ * @param {string} owner
940
+ * @param {string} slug
941
+ * @param {number} [page] Page number starting from 1
942
+ * @param {number} [perPage] Number of items per page
943
+ * @param {Array<string>} [subjectType] The type of access policy subject
944
+ * @param {Array<string>} [permission] An access policy permission string
945
+ * @param {*} [options] Override http request option.
946
+ * @throws {RequiredError}
947
+ */
948
+ getApplicationAccessPermissions(owner, slug, page, perPage, subjectType, permission, options) {
949
+ return __awaiter(this, void 0, void 0, function* () {
950
+ const localVarAxiosArgs = yield (0, exports.ApplicationsApiAxiosParamCreator)(configuration).getApplicationAccessPermissions(owner, slug, page, perPage, subjectType, permission, options);
951
+ return (axios = axios_1.default, basePath = base_1.BASE_PATH) => {
952
+ const axiosRequestArgs = Object.assign(Object.assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
953
+ return axios.request(axiosRequestArgs);
954
+ };
955
+ });
956
+ },
957
+ /**
958
+ *
959
+ * @summary Get application deployment
960
+ * @param {string} owner
961
+ * @param {string} slug
962
+ * @param {*} [options] Override http request option.
963
+ * @throws {RequiredError}
964
+ */
965
+ getApplicationDeployment(owner, slug, options) {
966
+ return __awaiter(this, void 0, void 0, function* () {
967
+ const localVarAxiosArgs = yield (0, exports.ApplicationsApiAxiosParamCreator)(configuration).getApplicationDeployment(owner, slug, options);
968
+ return (axios = axios_1.default, basePath = base_1.BASE_PATH) => {
969
+ const axiosRequestArgs = Object.assign(Object.assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
970
+ return axios.request(axiosRequestArgs);
971
+ };
972
+ });
973
+ },
974
+ /**
975
+ *
976
+ * @summary Get application versions
977
+ * @param {string} owner
978
+ * @param {string} slug
979
+ * @param {number} [page] Page number starting from 1
980
+ * @param {number} [perPage] Number of items per page
981
+ * @param {*} [options] Override http request option.
982
+ * @throws {RequiredError}
983
+ */
984
+ getApplicationVersions(owner, slug, page, perPage, options) {
985
+ return __awaiter(this, void 0, void 0, function* () {
986
+ const localVarAxiosArgs = yield (0, exports.ApplicationsApiAxiosParamCreator)(configuration).getApplicationVersions(owner, slug, page, perPage, options);
987
+ return (axios = axios_1.default, basePath = base_1.BASE_PATH) => {
988
+ const axiosRequestArgs = Object.assign(Object.assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
989
+ return axios.request(axiosRequestArgs);
990
+ };
991
+ });
992
+ },
993
+ /**
994
+ *
995
+ * @summary List Applications
996
+ * @param {string} [search] Search string to find applications
997
+ * @param {Array<string>} [ids] The ID of a application to search for
998
+ * @param {Array<string>} [names] The name of the application
999
+ * @param {Array<string>} [owner] Owner of the application
1000
+ * @param {boolean} [_public] Boolean check for public/private applications
1001
+ * @param {Array<string>} [permissions] Filter by permission on given resource
1002
+ * @param {Array<string>} [keywords] Filter by keywords on given resource
1003
+ * @param {ApplicationSortKey} [sortBy] Key to sort the list by
1004
+ * @param {SortEnum} [sortOrder] The order to sort the list
1005
+ * @param {number} [page] Page number starting from 1
1006
+ * @param {number} [perPage] Number of items per page
1007
+ * @param {*} [options] Override http request option.
1008
+ * @throws {RequiredError}
1009
+ */
1010
+ listApplications(search, ids, names, owner, _public, permissions, keywords, sortBy, sortOrder, page, perPage, options) {
1011
+ return __awaiter(this, void 0, void 0, function* () {
1012
+ const localVarAxiosArgs = yield (0, exports.ApplicationsApiAxiosParamCreator)(configuration).listApplications(search, ids, names, owner, _public, permissions, keywords, sortBy, sortOrder, page, perPage, options);
1013
+ return (axios = axios_1.default, basePath = base_1.BASE_PATH) => {
1014
+ const axiosRequestArgs = Object.assign(Object.assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
1015
+ return axios.request(axiosRequestArgs);
1016
+ };
1017
+ });
1018
+ },
1019
+ /**
1020
+ *
1021
+ * @summary Update a Application
1022
+ * @param {string} owner
1023
+ * @param {string} slug
1024
+ * @param {ApplicationUpdate} applicationUpdate
1025
+ * @param {*} [options] Override http request option.
1026
+ * @throws {RequiredError}
1027
+ */
1028
+ updateApplication(owner, slug, applicationUpdate, options) {
1029
+ return __awaiter(this, void 0, void 0, function* () {
1030
+ const localVarAxiosArgs = yield (0, exports.ApplicationsApiAxiosParamCreator)(configuration).updateApplication(owner, slug, applicationUpdate, options);
1031
+ return (axios = axios_1.default, basePath = base_1.BASE_PATH) => {
1032
+ const axiosRequestArgs = Object.assign(Object.assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
1033
+ return axios.request(axiosRequestArgs);
1034
+ };
1035
+ });
1036
+ },
1037
+ /**
1038
+ *
1039
+ * @summary Upsert a new permission to a application
1040
+ * @param {string} owner
1041
+ * @param {string} slug
1042
+ * @param {ApplicationAccessPolicy} applicationAccessPolicy
1043
+ * @param {*} [options] Override http request option.
1044
+ * @throws {RequiredError}
1045
+ */
1046
+ upsertApplicationPermission(owner, slug, applicationAccessPolicy, options) {
1047
+ return __awaiter(this, void 0, void 0, function* () {
1048
+ const localVarAxiosArgs = yield (0, exports.ApplicationsApiAxiosParamCreator)(configuration).upsertApplicationPermission(owner, slug, applicationAccessPolicy, options);
1049
+ return (axios = axios_1.default, basePath = base_1.BASE_PATH) => {
1050
+ const axiosRequestArgs = Object.assign(Object.assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
1051
+ return axios.request(axiosRequestArgs);
1052
+ };
1053
+ });
1054
+ },
1055
+ /**
1056
+ *
1057
+ * @summary Upsert a new version to a application
1058
+ * @param {string} owner
1059
+ * @param {string} slug
1060
+ * @param {NewApplicationVersion} newApplicationVersion
1061
+ * @param {*} [options] Override http request option.
1062
+ * @throws {RequiredError}
1063
+ */
1064
+ upsertApplicationVersion(owner, slug, newApplicationVersion, options) {
1065
+ return __awaiter(this, void 0, void 0, function* () {
1066
+ const localVarAxiosArgs = yield (0, exports.ApplicationsApiAxiosParamCreator)(configuration).upsertApplicationVersion(owner, slug, newApplicationVersion, options);
1067
+ return (axios = axios_1.default, basePath = base_1.BASE_PATH) => {
1068
+ const axiosRequestArgs = Object.assign(Object.assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
1069
+ return axios.request(axiosRequestArgs);
1070
+ };
1071
+ });
1072
+ },
1073
+ };
1074
+ };
1075
+ exports.ApplicationsApiFp = ApplicationsApiFp;
1076
+ /**
1077
+ * ApplicationsApi - factory interface
1078
+ * @export
1079
+ */
1080
+ const ApplicationsApiFactory = function (configuration, basePath, axios) {
1081
+ return {
1082
+ /**
1083
+ *
1084
+ * @summary Create an Application
1085
+ * @param {string} owner
1086
+ * @param {ApplicationCreate} applicationCreate
1087
+ * @param {*} [options] Override http request option.
1088
+ * @throws {RequiredError}
1089
+ */
1090
+ createApplication(owner, applicationCreate, options) {
1091
+ return (0, exports.ApplicationsApiFp)(configuration).createApplication(owner, applicationCreate, options).then((request) => request(axios, basePath));
1092
+ },
1093
+ /**
1094
+ *
1095
+ * @summary Delete a Application
1096
+ * @param {string} owner
1097
+ * @param {string} slug
1098
+ * @param {*} [options] Override http request option.
1099
+ * @throws {RequiredError}
1100
+ */
1101
+ deleteApplication(owner, slug, options) {
1102
+ return (0, exports.ApplicationsApiFp)(configuration).deleteApplication(owner, slug, options).then((request) => request(axios, basePath));
1103
+ },
1104
+ /**
1105
+ *
1106
+ * @summary Remove a Application permissions
1107
+ * @param {string} owner
1108
+ * @param {string} slug
1109
+ * @param {ApplicationPolicySubject} applicationPolicySubject
1110
+ * @param {*} [options] Override http request option.
1111
+ * @throws {RequiredError}
1112
+ */
1113
+ deleteApplicationOrgPermission(owner, slug, applicationPolicySubject, options) {
1114
+ return (0, exports.ApplicationsApiFp)(configuration).deleteApplicationOrgPermission(owner, slug, applicationPolicySubject, options).then((request) => request(axios, basePath));
1115
+ },
1116
+ /**
1117
+ *
1118
+ * @summary Remove a Application version
1119
+ * @param {string} owner
1120
+ * @param {string} slug
1121
+ * @param {string} tag
1122
+ * @param {*} [options] Override http request option.
1123
+ * @throws {RequiredError}
1124
+ */
1125
+ deleteApplicationVersion(owner, slug, tag, options) {
1126
+ return (0, exports.ApplicationsApiFp)(configuration).deleteApplicationVersion(owner, slug, tag, options).then((request) => request(axios, basePath));
1127
+ },
1128
+ /**
1129
+ *
1130
+ * @summary Get an application
1131
+ * @param {string} owner
1132
+ * @param {string} slug
1133
+ * @param {*} [options] Override http request option.
1134
+ * @throws {RequiredError}
1135
+ */
1136
+ getApplication(owner, slug, options) {
1137
+ return (0, exports.ApplicationsApiFp)(configuration).getApplication(owner, slug, options).then((request) => request(axios, basePath));
1138
+ },
1139
+ /**
1140
+ *
1141
+ * @summary Get application access permissions
1142
+ * @param {string} owner
1143
+ * @param {string} slug
1144
+ * @param {number} [page] Page number starting from 1
1145
+ * @param {number} [perPage] Number of items per page
1146
+ * @param {Array<string>} [subjectType] The type of access policy subject
1147
+ * @param {Array<string>} [permission] An access policy permission string
1148
+ * @param {*} [options] Override http request option.
1149
+ * @throws {RequiredError}
1150
+ */
1151
+ getApplicationAccessPermissions(owner, slug, page, perPage, subjectType, permission, options) {
1152
+ return (0, exports.ApplicationsApiFp)(configuration).getApplicationAccessPermissions(owner, slug, page, perPage, subjectType, permission, options).then((request) => request(axios, basePath));
1153
+ },
1154
+ /**
1155
+ *
1156
+ * @summary Get application deployment
1157
+ * @param {string} owner
1158
+ * @param {string} slug
1159
+ * @param {*} [options] Override http request option.
1160
+ * @throws {RequiredError}
1161
+ */
1162
+ getApplicationDeployment(owner, slug, options) {
1163
+ return (0, exports.ApplicationsApiFp)(configuration).getApplicationDeployment(owner, slug, options).then((request) => request(axios, basePath));
1164
+ },
1165
+ /**
1166
+ *
1167
+ * @summary Get application versions
1168
+ * @param {string} owner
1169
+ * @param {string} slug
1170
+ * @param {number} [page] Page number starting from 1
1171
+ * @param {number} [perPage] Number of items per page
1172
+ * @param {*} [options] Override http request option.
1173
+ * @throws {RequiredError}
1174
+ */
1175
+ getApplicationVersions(owner, slug, page, perPage, options) {
1176
+ return (0, exports.ApplicationsApiFp)(configuration).getApplicationVersions(owner, slug, page, perPage, options).then((request) => request(axios, basePath));
1177
+ },
1178
+ /**
1179
+ *
1180
+ * @summary List Applications
1181
+ * @param {string} [search] Search string to find applications
1182
+ * @param {Array<string>} [ids] The ID of a application to search for
1183
+ * @param {Array<string>} [names] The name of the application
1184
+ * @param {Array<string>} [owner] Owner of the application
1185
+ * @param {boolean} [_public] Boolean check for public/private applications
1186
+ * @param {Array<string>} [permissions] Filter by permission on given resource
1187
+ * @param {Array<string>} [keywords] Filter by keywords on given resource
1188
+ * @param {ApplicationSortKey} [sortBy] Key to sort the list by
1189
+ * @param {SortEnum} [sortOrder] The order to sort the list
1190
+ * @param {number} [page] Page number starting from 1
1191
+ * @param {number} [perPage] Number of items per page
1192
+ * @param {*} [options] Override http request option.
1193
+ * @throws {RequiredError}
1194
+ */
1195
+ listApplications(search, ids, names, owner, _public, permissions, keywords, sortBy, sortOrder, page, perPage, options) {
1196
+ return (0, exports.ApplicationsApiFp)(configuration).listApplications(search, ids, names, owner, _public, permissions, keywords, sortBy, sortOrder, page, perPage, options).then((request) => request(axios, basePath));
1197
+ },
1198
+ /**
1199
+ *
1200
+ * @summary Update a Application
1201
+ * @param {string} owner
1202
+ * @param {string} slug
1203
+ * @param {ApplicationUpdate} applicationUpdate
1204
+ * @param {*} [options] Override http request option.
1205
+ * @throws {RequiredError}
1206
+ */
1207
+ updateApplication(owner, slug, applicationUpdate, options) {
1208
+ return (0, exports.ApplicationsApiFp)(configuration).updateApplication(owner, slug, applicationUpdate, options).then((request) => request(axios, basePath));
1209
+ },
1210
+ /**
1211
+ *
1212
+ * @summary Upsert a new permission to a application
1213
+ * @param {string} owner
1214
+ * @param {string} slug
1215
+ * @param {ApplicationAccessPolicy} applicationAccessPolicy
1216
+ * @param {*} [options] Override http request option.
1217
+ * @throws {RequiredError}
1218
+ */
1219
+ upsertApplicationPermission(owner, slug, applicationAccessPolicy, options) {
1220
+ return (0, exports.ApplicationsApiFp)(configuration).upsertApplicationPermission(owner, slug, applicationAccessPolicy, options).then((request) => request(axios, basePath));
1221
+ },
1222
+ /**
1223
+ *
1224
+ * @summary Upsert a new version to a application
1225
+ * @param {string} owner
1226
+ * @param {string} slug
1227
+ * @param {NewApplicationVersion} newApplicationVersion
1228
+ * @param {*} [options] Override http request option.
1229
+ * @throws {RequiredError}
1230
+ */
1231
+ upsertApplicationVersion(owner, slug, newApplicationVersion, options) {
1232
+ return (0, exports.ApplicationsApiFp)(configuration).upsertApplicationVersion(owner, slug, newApplicationVersion, options).then((request) => request(axios, basePath));
1233
+ },
1234
+ };
1235
+ };
1236
+ exports.ApplicationsApiFactory = ApplicationsApiFactory;
1237
+ /**
1238
+ * ApplicationsApi - object-oriented interface
1239
+ * @export
1240
+ * @class ApplicationsApi
1241
+ * @extends {BaseAPI}
1242
+ */
1243
+ class ApplicationsApi extends base_1.BaseAPI {
1244
+ /**
1245
+ *
1246
+ * @summary Create an Application
1247
+ * @param {ApplicationsApiCreateApplicationRequest} requestParameters Request parameters.
1248
+ * @param {*} [options] Override http request option.
1249
+ * @throws {RequiredError}
1250
+ * @memberof ApplicationsApi
1251
+ */
1252
+ createApplication(requestParameters, options) {
1253
+ return (0, exports.ApplicationsApiFp)(this.configuration).createApplication(requestParameters.owner, requestParameters.applicationCreate, options).then((request) => request(this.axios, this.basePath));
1254
+ }
1255
+ /**
1256
+ *
1257
+ * @summary Delete a Application
1258
+ * @param {ApplicationsApiDeleteApplicationRequest} requestParameters Request parameters.
1259
+ * @param {*} [options] Override http request option.
1260
+ * @throws {RequiredError}
1261
+ * @memberof ApplicationsApi
1262
+ */
1263
+ deleteApplication(requestParameters, options) {
1264
+ return (0, exports.ApplicationsApiFp)(this.configuration).deleteApplication(requestParameters.owner, requestParameters.slug, options).then((request) => request(this.axios, this.basePath));
1265
+ }
1266
+ /**
1267
+ *
1268
+ * @summary Remove a Application permissions
1269
+ * @param {ApplicationsApiDeleteApplicationOrgPermissionRequest} requestParameters Request parameters.
1270
+ * @param {*} [options] Override http request option.
1271
+ * @throws {RequiredError}
1272
+ * @memberof ApplicationsApi
1273
+ */
1274
+ deleteApplicationOrgPermission(requestParameters, options) {
1275
+ return (0, exports.ApplicationsApiFp)(this.configuration).deleteApplicationOrgPermission(requestParameters.owner, requestParameters.slug, requestParameters.applicationPolicySubject, options).then((request) => request(this.axios, this.basePath));
1276
+ }
1277
+ /**
1278
+ *
1279
+ * @summary Remove a Application version
1280
+ * @param {ApplicationsApiDeleteApplicationVersionRequest} requestParameters Request parameters.
1281
+ * @param {*} [options] Override http request option.
1282
+ * @throws {RequiredError}
1283
+ * @memberof ApplicationsApi
1284
+ */
1285
+ deleteApplicationVersion(requestParameters, options) {
1286
+ return (0, exports.ApplicationsApiFp)(this.configuration).deleteApplicationVersion(requestParameters.owner, requestParameters.slug, requestParameters.tag, options).then((request) => request(this.axios, this.basePath));
1287
+ }
1288
+ /**
1289
+ *
1290
+ * @summary Get an application
1291
+ * @param {ApplicationsApiGetApplicationRequest} requestParameters Request parameters.
1292
+ * @param {*} [options] Override http request option.
1293
+ * @throws {RequiredError}
1294
+ * @memberof ApplicationsApi
1295
+ */
1296
+ getApplication(requestParameters, options) {
1297
+ return (0, exports.ApplicationsApiFp)(this.configuration).getApplication(requestParameters.owner, requestParameters.slug, options).then((request) => request(this.axios, this.basePath));
1298
+ }
1299
+ /**
1300
+ *
1301
+ * @summary Get application access permissions
1302
+ * @param {ApplicationsApiGetApplicationAccessPermissionsRequest} requestParameters Request parameters.
1303
+ * @param {*} [options] Override http request option.
1304
+ * @throws {RequiredError}
1305
+ * @memberof ApplicationsApi
1306
+ */
1307
+ getApplicationAccessPermissions(requestParameters, options) {
1308
+ return (0, exports.ApplicationsApiFp)(this.configuration).getApplicationAccessPermissions(requestParameters.owner, requestParameters.slug, requestParameters.page, requestParameters.perPage, requestParameters.subjectType, requestParameters.permission, options).then((request) => request(this.axios, this.basePath));
1309
+ }
1310
+ /**
1311
+ *
1312
+ * @summary Get application deployment
1313
+ * @param {ApplicationsApiGetApplicationDeploymentRequest} requestParameters Request parameters.
1314
+ * @param {*} [options] Override http request option.
1315
+ * @throws {RequiredError}
1316
+ * @memberof ApplicationsApi
1317
+ */
1318
+ getApplicationDeployment(requestParameters, options) {
1319
+ return (0, exports.ApplicationsApiFp)(this.configuration).getApplicationDeployment(requestParameters.owner, requestParameters.slug, options).then((request) => request(this.axios, this.basePath));
1320
+ }
1321
+ /**
1322
+ *
1323
+ * @summary Get application versions
1324
+ * @param {ApplicationsApiGetApplicationVersionsRequest} requestParameters Request parameters.
1325
+ * @param {*} [options] Override http request option.
1326
+ * @throws {RequiredError}
1327
+ * @memberof ApplicationsApi
1328
+ */
1329
+ getApplicationVersions(requestParameters, options) {
1330
+ return (0, exports.ApplicationsApiFp)(this.configuration).getApplicationVersions(requestParameters.owner, requestParameters.slug, requestParameters.page, requestParameters.perPage, options).then((request) => request(this.axios, this.basePath));
1331
+ }
1332
+ /**
1333
+ *
1334
+ * @summary List Applications
1335
+ * @param {ApplicationsApiListApplicationsRequest} requestParameters Request parameters.
1336
+ * @param {*} [options] Override http request option.
1337
+ * @throws {RequiredError}
1338
+ * @memberof ApplicationsApi
1339
+ */
1340
+ listApplications(requestParameters = {}, options) {
1341
+ return (0, exports.ApplicationsApiFp)(this.configuration).listApplications(requestParameters.search, requestParameters.ids, requestParameters.names, requestParameters.owner, requestParameters._public, requestParameters.permissions, requestParameters.keywords, requestParameters.sortBy, requestParameters.sortOrder, requestParameters.page, requestParameters.perPage, options).then((request) => request(this.axios, this.basePath));
1342
+ }
1343
+ /**
1344
+ *
1345
+ * @summary Update a Application
1346
+ * @param {ApplicationsApiUpdateApplicationRequest} requestParameters Request parameters.
1347
+ * @param {*} [options] Override http request option.
1348
+ * @throws {RequiredError}
1349
+ * @memberof ApplicationsApi
1350
+ */
1351
+ updateApplication(requestParameters, options) {
1352
+ return (0, exports.ApplicationsApiFp)(this.configuration).updateApplication(requestParameters.owner, requestParameters.slug, requestParameters.applicationUpdate, options).then((request) => request(this.axios, this.basePath));
1353
+ }
1354
+ /**
1355
+ *
1356
+ * @summary Upsert a new permission to a application
1357
+ * @param {ApplicationsApiUpsertApplicationPermissionRequest} requestParameters Request parameters.
1358
+ * @param {*} [options] Override http request option.
1359
+ * @throws {RequiredError}
1360
+ * @memberof ApplicationsApi
1361
+ */
1362
+ upsertApplicationPermission(requestParameters, options) {
1363
+ return (0, exports.ApplicationsApiFp)(this.configuration).upsertApplicationPermission(requestParameters.owner, requestParameters.slug, requestParameters.applicationAccessPolicy, options).then((request) => request(this.axios, this.basePath));
1364
+ }
1365
+ /**
1366
+ *
1367
+ * @summary Upsert a new version to a application
1368
+ * @param {ApplicationsApiUpsertApplicationVersionRequest} requestParameters Request parameters.
1369
+ * @param {*} [options] Override http request option.
1370
+ * @throws {RequiredError}
1371
+ * @memberof ApplicationsApi
1372
+ */
1373
+ upsertApplicationVersion(requestParameters, options) {
1374
+ return (0, exports.ApplicationsApiFp)(this.configuration).upsertApplicationVersion(requestParameters.owner, requestParameters.slug, requestParameters.newApplicationVersion, options).then((request) => request(this.axios, this.basePath));
1375
+ }
1376
+ }
1377
+ exports.ApplicationsApi = ApplicationsApi;