@pollination-solutions/pollination-sdk 0.26.3 → 0.27.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 +1856 -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 +885 -0
  29. package/dist/api/applications-api.js +1371 -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 +36 -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 +30 -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 +62 -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 +43 -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 +37 -0
  602. package/models/application-version-list.ts +62 -0
  603. package/models/application-version.ts +63 -0
  604. package/models/application.ts +69 -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,1856 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * pollination-server
5
+ * Pollination Server OpenAPI Definition
6
+ *
7
+ * The version of the OpenAPI document: 0.27.0
8
+ * Contact: info@pollination.cloud
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import globalAxios, { AxiosPromise, AxiosInstance } from 'axios';
17
+ import { Configuration } from '../configuration';
18
+ // Some imports not used depending on template conditions
19
+ // @ts-ignore
20
+ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
21
+ // @ts-ignore
22
+ import { Application } from '../models';
23
+ // @ts-ignore
24
+ import { ApplicationAccessPolicy } from '../models';
25
+ // @ts-ignore
26
+ import { ApplicationAccessPolicyList } from '../models';
27
+ // @ts-ignore
28
+ import { ApplicationCreate } from '../models';
29
+ // @ts-ignore
30
+ import { ApplicationDeployment } from '../models';
31
+ // @ts-ignore
32
+ import { ApplicationList } from '../models';
33
+ // @ts-ignore
34
+ import { ApplicationPolicySubject } from '../models';
35
+ // @ts-ignore
36
+ import { ApplicationSortKey } from '../models';
37
+ // @ts-ignore
38
+ import { ApplicationUpdate } from '../models';
39
+ // @ts-ignore
40
+ import { ApplicationVersionList } from '../models';
41
+ // @ts-ignore
42
+ import { HTTPValidationError } from '../models';
43
+ // @ts-ignore
44
+ import { NewApplicationVersion } from '../models';
45
+ // @ts-ignore
46
+ import { S3UploadRequest } from '../models';
47
+ // @ts-ignore
48
+ import { SortEnum } from '../models';
49
+ // @ts-ignore
50
+ import { UpdateAccepted } from '../models';
51
+ /**
52
+ * ApplicationsApi - axios parameter creator
53
+ * @export
54
+ */
55
+ export const ApplicationsApiAxiosParamCreator = function (configuration?: Configuration) {
56
+ return {
57
+ /**
58
+ *
59
+ * @summary Create an Application
60
+ * @param {string} owner
61
+ * @param {ApplicationCreate} applicationCreate
62
+ * @param {*} [options] Override http request option.
63
+ * @throws {RequiredError}
64
+ */
65
+ createApplication: async (owner: string, applicationCreate: ApplicationCreate, options: any = {}): Promise<RequestArgs> => {
66
+ // verify required parameter 'owner' is not null or undefined
67
+ if (owner === null || owner === undefined) {
68
+ throw new RequiredError('owner','Required parameter owner was null or undefined when calling createApplication.');
69
+ }
70
+ // verify required parameter 'applicationCreate' is not null or undefined
71
+ if (applicationCreate === null || applicationCreate === undefined) {
72
+ throw new RequiredError('applicationCreate','Required parameter applicationCreate was null or undefined when calling createApplication.');
73
+ }
74
+ const localVarPath = `/applications/{owner}`
75
+ .replace(`{${"owner"}}`, encodeURIComponent(String(owner)));
76
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
77
+ const localVarUrlObj = new URL(localVarPath, 'https://example.com');
78
+ let baseOptions;
79
+ if (configuration) {
80
+ baseOptions = configuration.baseOptions;
81
+ }
82
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
83
+ const localVarHeaderParameter = {} as any;
84
+ const localVarQueryParameter = {} as any;
85
+
86
+ // authentication APIKeyAuth required
87
+ if (configuration && configuration.apiKey) {
88
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
89
+ ? await configuration.apiKey("x-pollination-token")
90
+ : await configuration.apiKey;
91
+ localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
92
+ }
93
+
94
+ // authentication JWTAuth required
95
+ // http bearer authentication required
96
+ if (configuration && configuration.accessToken) {
97
+ const accessToken = typeof configuration.accessToken === 'function'
98
+ ? await configuration.accessToken()
99
+ : await configuration.accessToken;
100
+ localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
101
+ }
102
+
103
+
104
+
105
+ localVarHeaderParameter['Content-Type'] = 'application/json';
106
+
107
+ const query = new URLSearchParams(localVarUrlObj.search);
108
+ for (const key in localVarQueryParameter) {
109
+ query.set(key, localVarQueryParameter[key]);
110
+ }
111
+ for (const key in options.query) {
112
+ query.set(key, options.query[key]);
113
+ }
114
+ localVarUrlObj.search = (new URLSearchParams(query)).toString();
115
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
116
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
117
+ const needsSerialization = (typeof applicationCreate !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
118
+ localVarRequestOptions.data = needsSerialization ? JSON.stringify(applicationCreate !== undefined ? applicationCreate : {}) : (applicationCreate || "");
119
+
120
+ return {
121
+ url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
122
+ options: localVarRequestOptions,
123
+ };
124
+ },
125
+ /**
126
+ *
127
+ * @summary Delete a Application
128
+ * @param {string} owner
129
+ * @param {string} slug
130
+ * @param {*} [options] Override http request option.
131
+ * @throws {RequiredError}
132
+ */
133
+ deleteApplication: async (owner: string, slug: string, options: any = {}): Promise<RequestArgs> => {
134
+ // verify required parameter 'owner' is not null or undefined
135
+ if (owner === null || owner === undefined) {
136
+ throw new RequiredError('owner','Required parameter owner was null or undefined when calling deleteApplication.');
137
+ }
138
+ // verify required parameter 'slug' is not null or undefined
139
+ if (slug === null || slug === undefined) {
140
+ throw new RequiredError('slug','Required parameter slug was null or undefined when calling deleteApplication.');
141
+ }
142
+ const localVarPath = `/applications/{owner}/{slug}`
143
+ .replace(`{${"owner"}}`, encodeURIComponent(String(owner)))
144
+ .replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
145
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
146
+ const localVarUrlObj = new URL(localVarPath, 'https://example.com');
147
+ let baseOptions;
148
+ if (configuration) {
149
+ baseOptions = configuration.baseOptions;
150
+ }
151
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
152
+ const localVarHeaderParameter = {} as any;
153
+ const localVarQueryParameter = {} as any;
154
+
155
+ // authentication APIKeyAuth required
156
+ if (configuration && configuration.apiKey) {
157
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
158
+ ? await configuration.apiKey("x-pollination-token")
159
+ : await configuration.apiKey;
160
+ localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
161
+ }
162
+
163
+ // authentication JWTAuth required
164
+ // http bearer authentication required
165
+ if (configuration && configuration.accessToken) {
166
+ const accessToken = typeof configuration.accessToken === 'function'
167
+ ? await configuration.accessToken()
168
+ : await configuration.accessToken;
169
+ localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
170
+ }
171
+
172
+
173
+
174
+ const query = new URLSearchParams(localVarUrlObj.search);
175
+ for (const key in localVarQueryParameter) {
176
+ query.set(key, localVarQueryParameter[key]);
177
+ }
178
+ for (const key in options.query) {
179
+ query.set(key, options.query[key]);
180
+ }
181
+ localVarUrlObj.search = (new URLSearchParams(query)).toString();
182
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
183
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
184
+
185
+ return {
186
+ url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
187
+ options: localVarRequestOptions,
188
+ };
189
+ },
190
+ /**
191
+ *
192
+ * @summary Remove a Application permissions
193
+ * @param {string} owner
194
+ * @param {string} slug
195
+ * @param {ApplicationPolicySubject} applicationPolicySubject
196
+ * @param {*} [options] Override http request option.
197
+ * @throws {RequiredError}
198
+ */
199
+ deleteApplicationOrgPermission: async (owner: string, slug: string, applicationPolicySubject: ApplicationPolicySubject, options: any = {}): Promise<RequestArgs> => {
200
+ // verify required parameter 'owner' is not null or undefined
201
+ if (owner === null || owner === undefined) {
202
+ throw new RequiredError('owner','Required parameter owner was null or undefined when calling deleteApplicationOrgPermission.');
203
+ }
204
+ // verify required parameter 'slug' is not null or undefined
205
+ if (slug === null || slug === undefined) {
206
+ throw new RequiredError('slug','Required parameter slug was null or undefined when calling deleteApplicationOrgPermission.');
207
+ }
208
+ // verify required parameter 'applicationPolicySubject' is not null or undefined
209
+ if (applicationPolicySubject === null || applicationPolicySubject === undefined) {
210
+ throw new RequiredError('applicationPolicySubject','Required parameter applicationPolicySubject was null or undefined when calling deleteApplicationOrgPermission.');
211
+ }
212
+ const localVarPath = `/applications/{owner}/{slug}/permissions`
213
+ .replace(`{${"owner"}}`, encodeURIComponent(String(owner)))
214
+ .replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
215
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
216
+ const localVarUrlObj = new URL(localVarPath, 'https://example.com');
217
+ let baseOptions;
218
+ if (configuration) {
219
+ baseOptions = configuration.baseOptions;
220
+ }
221
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
222
+ const localVarHeaderParameter = {} as any;
223
+ const localVarQueryParameter = {} as any;
224
+
225
+ // authentication APIKeyAuth required
226
+ if (configuration && configuration.apiKey) {
227
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
228
+ ? await configuration.apiKey("x-pollination-token")
229
+ : await configuration.apiKey;
230
+ localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
231
+ }
232
+
233
+ // authentication JWTAuth required
234
+ // http bearer authentication required
235
+ if (configuration && configuration.accessToken) {
236
+ const accessToken = typeof configuration.accessToken === 'function'
237
+ ? await configuration.accessToken()
238
+ : await configuration.accessToken;
239
+ localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
240
+ }
241
+
242
+
243
+
244
+ localVarHeaderParameter['Content-Type'] = 'application/json';
245
+
246
+ const query = new URLSearchParams(localVarUrlObj.search);
247
+ for (const key in localVarQueryParameter) {
248
+ query.set(key, localVarQueryParameter[key]);
249
+ }
250
+ for (const key in options.query) {
251
+ query.set(key, options.query[key]);
252
+ }
253
+ localVarUrlObj.search = (new URLSearchParams(query)).toString();
254
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
255
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
256
+ const needsSerialization = (typeof applicationPolicySubject !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
257
+ localVarRequestOptions.data = needsSerialization ? JSON.stringify(applicationPolicySubject !== undefined ? applicationPolicySubject : {}) : (applicationPolicySubject || "");
258
+
259
+ return {
260
+ url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
261
+ options: localVarRequestOptions,
262
+ };
263
+ },
264
+ /**
265
+ *
266
+ * @summary Remove a Application version
267
+ * @param {string} owner
268
+ * @param {string} slug
269
+ * @param {string} tag
270
+ * @param {*} [options] Override http request option.
271
+ * @throws {RequiredError}
272
+ */
273
+ deleteApplicationVersion: async (owner: string, slug: string, tag: string, options: any = {}): Promise<RequestArgs> => {
274
+ // verify required parameter 'owner' is not null or undefined
275
+ if (owner === null || owner === undefined) {
276
+ throw new RequiredError('owner','Required parameter owner was null or undefined when calling deleteApplicationVersion.');
277
+ }
278
+ // verify required parameter 'slug' is not null or undefined
279
+ if (slug === null || slug === undefined) {
280
+ throw new RequiredError('slug','Required parameter slug was null or undefined when calling deleteApplicationVersion.');
281
+ }
282
+ // verify required parameter 'tag' is not null or undefined
283
+ if (tag === null || tag === undefined) {
284
+ throw new RequiredError('tag','Required parameter tag was null or undefined when calling deleteApplicationVersion.');
285
+ }
286
+ const localVarPath = `/applications/{owner}/{slug}/versions/{tag}`
287
+ .replace(`{${"owner"}}`, encodeURIComponent(String(owner)))
288
+ .replace(`{${"slug"}}`, encodeURIComponent(String(slug)))
289
+ .replace(`{${"tag"}}`, encodeURIComponent(String(tag)));
290
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
291
+ const localVarUrlObj = new URL(localVarPath, 'https://example.com');
292
+ let baseOptions;
293
+ if (configuration) {
294
+ baseOptions = configuration.baseOptions;
295
+ }
296
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
297
+ const localVarHeaderParameter = {} as any;
298
+ const localVarQueryParameter = {} as any;
299
+
300
+ // authentication APIKeyAuth required
301
+ if (configuration && configuration.apiKey) {
302
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
303
+ ? await configuration.apiKey("x-pollination-token")
304
+ : await configuration.apiKey;
305
+ localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
306
+ }
307
+
308
+ // authentication JWTAuth required
309
+ // http bearer authentication required
310
+ if (configuration && configuration.accessToken) {
311
+ const accessToken = typeof configuration.accessToken === 'function'
312
+ ? await configuration.accessToken()
313
+ : await configuration.accessToken;
314
+ localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
315
+ }
316
+
317
+
318
+
319
+ const query = new URLSearchParams(localVarUrlObj.search);
320
+ for (const key in localVarQueryParameter) {
321
+ query.set(key, localVarQueryParameter[key]);
322
+ }
323
+ for (const key in options.query) {
324
+ query.set(key, options.query[key]);
325
+ }
326
+ localVarUrlObj.search = (new URLSearchParams(query)).toString();
327
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
328
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
329
+
330
+ return {
331
+ url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
332
+ options: localVarRequestOptions,
333
+ };
334
+ },
335
+ /**
336
+ *
337
+ * @summary Get an application
338
+ * @param {string} owner
339
+ * @param {string} slug
340
+ * @param {*} [options] Override http request option.
341
+ * @throws {RequiredError}
342
+ */
343
+ getApplication: async (owner: string, slug: string, options: any = {}): Promise<RequestArgs> => {
344
+ // verify required parameter 'owner' is not null or undefined
345
+ if (owner === null || owner === undefined) {
346
+ throw new RequiredError('owner','Required parameter owner was null or undefined when calling getApplication.');
347
+ }
348
+ // verify required parameter 'slug' is not null or undefined
349
+ if (slug === null || slug === undefined) {
350
+ throw new RequiredError('slug','Required parameter slug was null or undefined when calling getApplication.');
351
+ }
352
+ const localVarPath = `/applications/{owner}/{slug}`
353
+ .replace(`{${"owner"}}`, encodeURIComponent(String(owner)))
354
+ .replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
355
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
356
+ const localVarUrlObj = new URL(localVarPath, 'https://example.com');
357
+ let baseOptions;
358
+ if (configuration) {
359
+ baseOptions = configuration.baseOptions;
360
+ }
361
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
362
+ const localVarHeaderParameter = {} as any;
363
+ const localVarQueryParameter = {} as any;
364
+
365
+ // authentication APIKeyAuth required
366
+ if (configuration && configuration.apiKey) {
367
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
368
+ ? await configuration.apiKey("x-pollination-token")
369
+ : await configuration.apiKey;
370
+ localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
371
+ }
372
+
373
+ // authentication JWTAuth required
374
+ // http bearer authentication required
375
+ if (configuration && configuration.accessToken) {
376
+ const accessToken = typeof configuration.accessToken === 'function'
377
+ ? await configuration.accessToken()
378
+ : await configuration.accessToken;
379
+ localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
380
+ }
381
+
382
+
383
+
384
+ const query = new URLSearchParams(localVarUrlObj.search);
385
+ for (const key in localVarQueryParameter) {
386
+ query.set(key, localVarQueryParameter[key]);
387
+ }
388
+ for (const key in options.query) {
389
+ query.set(key, options.query[key]);
390
+ }
391
+ localVarUrlObj.search = (new URLSearchParams(query)).toString();
392
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
393
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
394
+
395
+ return {
396
+ url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
397
+ options: localVarRequestOptions,
398
+ };
399
+ },
400
+ /**
401
+ *
402
+ * @summary Get application access permissions
403
+ * @param {string} owner
404
+ * @param {string} slug
405
+ * @param {number} [page] Page number starting from 1
406
+ * @param {number} [perPage] Number of items per page
407
+ * @param {Array<string>} [subjectType] The type of access policy subject
408
+ * @param {Array<string>} [permission] An access policy permission string
409
+ * @param {*} [options] Override http request option.
410
+ * @throws {RequiredError}
411
+ */
412
+ getApplicationAccessPermissions: async (owner: string, slug: string, page?: number, perPage?: number, subjectType?: Array<string>, permission?: Array<string>, options: any = {}): Promise<RequestArgs> => {
413
+ // verify required parameter 'owner' is not null or undefined
414
+ if (owner === null || owner === undefined) {
415
+ throw new RequiredError('owner','Required parameter owner was null or undefined when calling getApplicationAccessPermissions.');
416
+ }
417
+ // verify required parameter 'slug' is not null or undefined
418
+ if (slug === null || slug === undefined) {
419
+ throw new RequiredError('slug','Required parameter slug was null or undefined when calling getApplicationAccessPermissions.');
420
+ }
421
+ const localVarPath = `/applications/{owner}/{slug}/permissions`
422
+ .replace(`{${"owner"}}`, encodeURIComponent(String(owner)))
423
+ .replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
424
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
425
+ const localVarUrlObj = new URL(localVarPath, 'https://example.com');
426
+ let baseOptions;
427
+ if (configuration) {
428
+ baseOptions = configuration.baseOptions;
429
+ }
430
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
431
+ const localVarHeaderParameter = {} as any;
432
+ const localVarQueryParameter = {} as any;
433
+
434
+ // authentication APIKeyAuth required
435
+ if (configuration && configuration.apiKey) {
436
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
437
+ ? await configuration.apiKey("x-pollination-token")
438
+ : await configuration.apiKey;
439
+ localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
440
+ }
441
+
442
+ // authentication JWTAuth required
443
+ // http bearer authentication required
444
+ if (configuration && configuration.accessToken) {
445
+ const accessToken = typeof configuration.accessToken === 'function'
446
+ ? await configuration.accessToken()
447
+ : await configuration.accessToken;
448
+ localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
449
+ }
450
+
451
+ if (page !== undefined) {
452
+ localVarQueryParameter['page'] = page;
453
+ }
454
+
455
+ if (perPage !== undefined) {
456
+ localVarQueryParameter['per-page'] = perPage;
457
+ }
458
+
459
+ if (subjectType) {
460
+ localVarQueryParameter['subject_type'] = subjectType;
461
+ }
462
+
463
+ if (permission) {
464
+ localVarQueryParameter['permission'] = permission;
465
+ }
466
+
467
+
468
+
469
+ const query = new URLSearchParams(localVarUrlObj.search);
470
+ for (const key in localVarQueryParameter) {
471
+ query.set(key, localVarQueryParameter[key]);
472
+ }
473
+ for (const key in options.query) {
474
+ query.set(key, options.query[key]);
475
+ }
476
+ localVarUrlObj.search = (new URLSearchParams(query)).toString();
477
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
478
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
479
+
480
+ return {
481
+ url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
482
+ options: localVarRequestOptions,
483
+ };
484
+ },
485
+ /**
486
+ *
487
+ * @summary Get application deployment
488
+ * @param {string} owner
489
+ * @param {string} slug
490
+ * @param {*} [options] Override http request option.
491
+ * @throws {RequiredError}
492
+ */
493
+ getApplicationDeployment: async (owner: string, slug: string, options: any = {}): Promise<RequestArgs> => {
494
+ // verify required parameter 'owner' is not null or undefined
495
+ if (owner === null || owner === undefined) {
496
+ throw new RequiredError('owner','Required parameter owner was null or undefined when calling getApplicationDeployment.');
497
+ }
498
+ // verify required parameter 'slug' is not null or undefined
499
+ if (slug === null || slug === undefined) {
500
+ throw new RequiredError('slug','Required parameter slug was null or undefined when calling getApplicationDeployment.');
501
+ }
502
+ const localVarPath = `/applications/{owner}/{slug}/deployment`
503
+ .replace(`{${"owner"}}`, encodeURIComponent(String(owner)))
504
+ .replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
505
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
506
+ const localVarUrlObj = new URL(localVarPath, 'https://example.com');
507
+ let baseOptions;
508
+ if (configuration) {
509
+ baseOptions = configuration.baseOptions;
510
+ }
511
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
512
+ const localVarHeaderParameter = {} as any;
513
+ const localVarQueryParameter = {} as any;
514
+
515
+ // authentication APIKeyAuth required
516
+ if (configuration && configuration.apiKey) {
517
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
518
+ ? await configuration.apiKey("x-pollination-token")
519
+ : await configuration.apiKey;
520
+ localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
521
+ }
522
+
523
+ // authentication JWTAuth required
524
+ // http bearer authentication required
525
+ if (configuration && configuration.accessToken) {
526
+ const accessToken = typeof configuration.accessToken === 'function'
527
+ ? await configuration.accessToken()
528
+ : await configuration.accessToken;
529
+ localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
530
+ }
531
+
532
+
533
+
534
+ const query = new URLSearchParams(localVarUrlObj.search);
535
+ for (const key in localVarQueryParameter) {
536
+ query.set(key, localVarQueryParameter[key]);
537
+ }
538
+ for (const key in options.query) {
539
+ query.set(key, options.query[key]);
540
+ }
541
+ localVarUrlObj.search = (new URLSearchParams(query)).toString();
542
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
543
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
544
+
545
+ return {
546
+ url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
547
+ options: localVarRequestOptions,
548
+ };
549
+ },
550
+ /**
551
+ *
552
+ * @summary Get application versions
553
+ * @param {string} owner
554
+ * @param {string} slug
555
+ * @param {number} [page] Page number starting from 1
556
+ * @param {number} [perPage] Number of items per page
557
+ * @param {*} [options] Override http request option.
558
+ * @throws {RequiredError}
559
+ */
560
+ getApplicationVersions: async (owner: string, slug: string, page?: number, perPage?: number, options: any = {}): Promise<RequestArgs> => {
561
+ // verify required parameter 'owner' is not null or undefined
562
+ if (owner === null || owner === undefined) {
563
+ throw new RequiredError('owner','Required parameter owner was null or undefined when calling getApplicationVersions.');
564
+ }
565
+ // verify required parameter 'slug' is not null or undefined
566
+ if (slug === null || slug === undefined) {
567
+ throw new RequiredError('slug','Required parameter slug was null or undefined when calling getApplicationVersions.');
568
+ }
569
+ const localVarPath = `/applications/{owner}/{slug}/versions`
570
+ .replace(`{${"owner"}}`, encodeURIComponent(String(owner)))
571
+ .replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
572
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
573
+ const localVarUrlObj = new URL(localVarPath, 'https://example.com');
574
+ let baseOptions;
575
+ if (configuration) {
576
+ baseOptions = configuration.baseOptions;
577
+ }
578
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
579
+ const localVarHeaderParameter = {} as any;
580
+ const localVarQueryParameter = {} as any;
581
+
582
+ // authentication APIKeyAuth required
583
+ if (configuration && configuration.apiKey) {
584
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
585
+ ? await configuration.apiKey("x-pollination-token")
586
+ : await configuration.apiKey;
587
+ localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
588
+ }
589
+
590
+ // authentication JWTAuth required
591
+ // http bearer authentication required
592
+ if (configuration && configuration.accessToken) {
593
+ const accessToken = typeof configuration.accessToken === 'function'
594
+ ? await configuration.accessToken()
595
+ : await configuration.accessToken;
596
+ localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
597
+ }
598
+
599
+ if (page !== undefined) {
600
+ localVarQueryParameter['page'] = page;
601
+ }
602
+
603
+ if (perPage !== undefined) {
604
+ localVarQueryParameter['per-page'] = perPage;
605
+ }
606
+
607
+
608
+
609
+ const query = new URLSearchParams(localVarUrlObj.search);
610
+ for (const key in localVarQueryParameter) {
611
+ query.set(key, localVarQueryParameter[key]);
612
+ }
613
+ for (const key in options.query) {
614
+ query.set(key, options.query[key]);
615
+ }
616
+ localVarUrlObj.search = (new URLSearchParams(query)).toString();
617
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
618
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
619
+
620
+ return {
621
+ url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
622
+ options: localVarRequestOptions,
623
+ };
624
+ },
625
+ /**
626
+ *
627
+ * @summary List Applications
628
+ * @param {string} [search] Search string to find applications
629
+ * @param {Array<string>} [ids] The ID of a application to search for
630
+ * @param {Array<string>} [names] The name of the application
631
+ * @param {Array<string>} [owner] Owner of the application
632
+ * @param {boolean} [_public] Boolean check for public/private applications
633
+ * @param {Array<string>} [permissions] Filter by permission on given resource
634
+ * @param {ApplicationSortKey} [sortBy] Key to sort the list by
635
+ * @param {SortEnum} [sortOrder] The order to sort the list
636
+ * @param {number} [page] Page number starting from 1
637
+ * @param {number} [perPage] Number of items per page
638
+ * @param {*} [options] Override http request option.
639
+ * @throws {RequiredError}
640
+ */
641
+ listApplications: async (search?: string, ids?: Array<string>, names?: Array<string>, owner?: Array<string>, _public?: boolean, permissions?: Array<string>, sortBy?: ApplicationSortKey, sortOrder?: SortEnum, page?: number, perPage?: number, options: any = {}): Promise<RequestArgs> => {
642
+ const localVarPath = `/applications`;
643
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
644
+ const localVarUrlObj = new URL(localVarPath, 'https://example.com');
645
+ let baseOptions;
646
+ if (configuration) {
647
+ baseOptions = configuration.baseOptions;
648
+ }
649
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
650
+ const localVarHeaderParameter = {} as any;
651
+ const localVarQueryParameter = {} as any;
652
+
653
+ // authentication APIKeyAuth required
654
+ if (configuration && configuration.apiKey) {
655
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
656
+ ? await configuration.apiKey("x-pollination-token")
657
+ : await configuration.apiKey;
658
+ localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
659
+ }
660
+
661
+ // authentication JWTAuth required
662
+ // http bearer authentication required
663
+ if (configuration && configuration.accessToken) {
664
+ const accessToken = typeof configuration.accessToken === 'function'
665
+ ? await configuration.accessToken()
666
+ : await configuration.accessToken;
667
+ localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
668
+ }
669
+
670
+ if (search !== undefined) {
671
+ localVarQueryParameter['search'] = search;
672
+ }
673
+
674
+ if (ids) {
675
+ localVarQueryParameter['ids'] = ids;
676
+ }
677
+
678
+ if (names) {
679
+ localVarQueryParameter['names'] = names;
680
+ }
681
+
682
+ if (owner) {
683
+ localVarQueryParameter['owner'] = owner;
684
+ }
685
+
686
+ if (_public !== undefined) {
687
+ localVarQueryParameter['public'] = _public;
688
+ }
689
+
690
+ if (permissions) {
691
+ localVarQueryParameter['permissions'] = permissions;
692
+ }
693
+
694
+ if (sortBy !== undefined) {
695
+ localVarQueryParameter['sort_by'] = sortBy;
696
+ }
697
+
698
+ if (sortOrder !== undefined) {
699
+ localVarQueryParameter['sort_order'] = sortOrder;
700
+ }
701
+
702
+ if (page !== undefined) {
703
+ localVarQueryParameter['page'] = page;
704
+ }
705
+
706
+ if (perPage !== undefined) {
707
+ localVarQueryParameter['per-page'] = perPage;
708
+ }
709
+
710
+
711
+
712
+ const query = new URLSearchParams(localVarUrlObj.search);
713
+ for (const key in localVarQueryParameter) {
714
+ query.set(key, localVarQueryParameter[key]);
715
+ }
716
+ for (const key in options.query) {
717
+ query.set(key, options.query[key]);
718
+ }
719
+ localVarUrlObj.search = (new URLSearchParams(query)).toString();
720
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
721
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
722
+
723
+ return {
724
+ url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
725
+ options: localVarRequestOptions,
726
+ };
727
+ },
728
+ /**
729
+ *
730
+ * @summary Update a Application
731
+ * @param {string} owner
732
+ * @param {string} slug
733
+ * @param {ApplicationUpdate} applicationUpdate
734
+ * @param {*} [options] Override http request option.
735
+ * @throws {RequiredError}
736
+ */
737
+ updateApplication: async (owner: string, slug: string, applicationUpdate: ApplicationUpdate, options: any = {}): Promise<RequestArgs> => {
738
+ // verify required parameter 'owner' is not null or undefined
739
+ if (owner === null || owner === undefined) {
740
+ throw new RequiredError('owner','Required parameter owner was null or undefined when calling updateApplication.');
741
+ }
742
+ // verify required parameter 'slug' is not null or undefined
743
+ if (slug === null || slug === undefined) {
744
+ throw new RequiredError('slug','Required parameter slug was null or undefined when calling updateApplication.');
745
+ }
746
+ // verify required parameter 'applicationUpdate' is not null or undefined
747
+ if (applicationUpdate === null || applicationUpdate === undefined) {
748
+ throw new RequiredError('applicationUpdate','Required parameter applicationUpdate was null or undefined when calling updateApplication.');
749
+ }
750
+ const localVarPath = `/applications/{owner}/{slug}`
751
+ .replace(`{${"owner"}}`, encodeURIComponent(String(owner)))
752
+ .replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
753
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
754
+ const localVarUrlObj = new URL(localVarPath, 'https://example.com');
755
+ let baseOptions;
756
+ if (configuration) {
757
+ baseOptions = configuration.baseOptions;
758
+ }
759
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
760
+ const localVarHeaderParameter = {} as any;
761
+ const localVarQueryParameter = {} as any;
762
+
763
+ // authentication APIKeyAuth required
764
+ if (configuration && configuration.apiKey) {
765
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
766
+ ? await configuration.apiKey("x-pollination-token")
767
+ : await configuration.apiKey;
768
+ localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
769
+ }
770
+
771
+ // authentication JWTAuth required
772
+ // http bearer authentication required
773
+ if (configuration && configuration.accessToken) {
774
+ const accessToken = typeof configuration.accessToken === 'function'
775
+ ? await configuration.accessToken()
776
+ : await configuration.accessToken;
777
+ localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
778
+ }
779
+
780
+
781
+
782
+ localVarHeaderParameter['Content-Type'] = 'application/json';
783
+
784
+ const query = new URLSearchParams(localVarUrlObj.search);
785
+ for (const key in localVarQueryParameter) {
786
+ query.set(key, localVarQueryParameter[key]);
787
+ }
788
+ for (const key in options.query) {
789
+ query.set(key, options.query[key]);
790
+ }
791
+ localVarUrlObj.search = (new URLSearchParams(query)).toString();
792
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
793
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
794
+ const needsSerialization = (typeof applicationUpdate !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
795
+ localVarRequestOptions.data = needsSerialization ? JSON.stringify(applicationUpdate !== undefined ? applicationUpdate : {}) : (applicationUpdate || "");
796
+
797
+ return {
798
+ url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
799
+ options: localVarRequestOptions,
800
+ };
801
+ },
802
+ /**
803
+ *
804
+ * @summary Upsert a new permission to a application
805
+ * @param {string} owner
806
+ * @param {string} slug
807
+ * @param {ApplicationAccessPolicy} applicationAccessPolicy
808
+ * @param {*} [options] Override http request option.
809
+ * @throws {RequiredError}
810
+ */
811
+ upsertApplicationPermission: async (owner: string, slug: string, applicationAccessPolicy: ApplicationAccessPolicy, options: any = {}): Promise<RequestArgs> => {
812
+ // verify required parameter 'owner' is not null or undefined
813
+ if (owner === null || owner === undefined) {
814
+ throw new RequiredError('owner','Required parameter owner was null or undefined when calling upsertApplicationPermission.');
815
+ }
816
+ // verify required parameter 'slug' is not null or undefined
817
+ if (slug === null || slug === undefined) {
818
+ throw new RequiredError('slug','Required parameter slug was null or undefined when calling upsertApplicationPermission.');
819
+ }
820
+ // verify required parameter 'applicationAccessPolicy' is not null or undefined
821
+ if (applicationAccessPolicy === null || applicationAccessPolicy === undefined) {
822
+ throw new RequiredError('applicationAccessPolicy','Required parameter applicationAccessPolicy was null or undefined when calling upsertApplicationPermission.');
823
+ }
824
+ const localVarPath = `/applications/{owner}/{slug}/permissions`
825
+ .replace(`{${"owner"}}`, encodeURIComponent(String(owner)))
826
+ .replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
827
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
828
+ const localVarUrlObj = new URL(localVarPath, 'https://example.com');
829
+ let baseOptions;
830
+ if (configuration) {
831
+ baseOptions = configuration.baseOptions;
832
+ }
833
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
834
+ const localVarHeaderParameter = {} as any;
835
+ const localVarQueryParameter = {} as any;
836
+
837
+ // authentication APIKeyAuth required
838
+ if (configuration && configuration.apiKey) {
839
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
840
+ ? await configuration.apiKey("x-pollination-token")
841
+ : await configuration.apiKey;
842
+ localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
843
+ }
844
+
845
+ // authentication JWTAuth required
846
+ // http bearer authentication required
847
+ if (configuration && configuration.accessToken) {
848
+ const accessToken = typeof configuration.accessToken === 'function'
849
+ ? await configuration.accessToken()
850
+ : await configuration.accessToken;
851
+ localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
852
+ }
853
+
854
+
855
+
856
+ localVarHeaderParameter['Content-Type'] = 'application/json';
857
+
858
+ const query = new URLSearchParams(localVarUrlObj.search);
859
+ for (const key in localVarQueryParameter) {
860
+ query.set(key, localVarQueryParameter[key]);
861
+ }
862
+ for (const key in options.query) {
863
+ query.set(key, options.query[key]);
864
+ }
865
+ localVarUrlObj.search = (new URLSearchParams(query)).toString();
866
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
867
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
868
+ const needsSerialization = (typeof applicationAccessPolicy !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
869
+ localVarRequestOptions.data = needsSerialization ? JSON.stringify(applicationAccessPolicy !== undefined ? applicationAccessPolicy : {}) : (applicationAccessPolicy || "");
870
+
871
+ return {
872
+ url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
873
+ options: localVarRequestOptions,
874
+ };
875
+ },
876
+ /**
877
+ *
878
+ * @summary Upsert a new version to a application
879
+ * @param {string} owner
880
+ * @param {string} slug
881
+ * @param {NewApplicationVersion} newApplicationVersion
882
+ * @param {*} [options] Override http request option.
883
+ * @throws {RequiredError}
884
+ */
885
+ upsertApplicationVersion: async (owner: string, slug: string, newApplicationVersion: NewApplicationVersion, options: any = {}): Promise<RequestArgs> => {
886
+ // verify required parameter 'owner' is not null or undefined
887
+ if (owner === null || owner === undefined) {
888
+ throw new RequiredError('owner','Required parameter owner was null or undefined when calling upsertApplicationVersion.');
889
+ }
890
+ // verify required parameter 'slug' is not null or undefined
891
+ if (slug === null || slug === undefined) {
892
+ throw new RequiredError('slug','Required parameter slug was null or undefined when calling upsertApplicationVersion.');
893
+ }
894
+ // verify required parameter 'newApplicationVersion' is not null or undefined
895
+ if (newApplicationVersion === null || newApplicationVersion === undefined) {
896
+ throw new RequiredError('newApplicationVersion','Required parameter newApplicationVersion was null or undefined when calling upsertApplicationVersion.');
897
+ }
898
+ const localVarPath = `/applications/{owner}/{slug}/versions`
899
+ .replace(`{${"owner"}}`, encodeURIComponent(String(owner)))
900
+ .replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
901
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
902
+ const localVarUrlObj = new URL(localVarPath, 'https://example.com');
903
+ let baseOptions;
904
+ if (configuration) {
905
+ baseOptions = configuration.baseOptions;
906
+ }
907
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
908
+ const localVarHeaderParameter = {} as any;
909
+ const localVarQueryParameter = {} as any;
910
+
911
+ // authentication APIKeyAuth required
912
+ if (configuration && configuration.apiKey) {
913
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
914
+ ? await configuration.apiKey("x-pollination-token")
915
+ : await configuration.apiKey;
916
+ localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
917
+ }
918
+
919
+ // authentication JWTAuth required
920
+ // http bearer authentication required
921
+ if (configuration && configuration.accessToken) {
922
+ const accessToken = typeof configuration.accessToken === 'function'
923
+ ? await configuration.accessToken()
924
+ : await configuration.accessToken;
925
+ localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
926
+ }
927
+
928
+
929
+
930
+ localVarHeaderParameter['Content-Type'] = 'application/json';
931
+
932
+ const query = new URLSearchParams(localVarUrlObj.search);
933
+ for (const key in localVarQueryParameter) {
934
+ query.set(key, localVarQueryParameter[key]);
935
+ }
936
+ for (const key in options.query) {
937
+ query.set(key, options.query[key]);
938
+ }
939
+ localVarUrlObj.search = (new URLSearchParams(query)).toString();
940
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
941
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
942
+ const needsSerialization = (typeof newApplicationVersion !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
943
+ localVarRequestOptions.data = needsSerialization ? JSON.stringify(newApplicationVersion !== undefined ? newApplicationVersion : {}) : (newApplicationVersion || "");
944
+
945
+ return {
946
+ url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
947
+ options: localVarRequestOptions,
948
+ };
949
+ },
950
+ }
951
+ };
952
+
953
+ /**
954
+ * ApplicationsApi - functional programming interface
955
+ * @export
956
+ */
957
+ export const ApplicationsApiFp = function(configuration?: Configuration) {
958
+ return {
959
+ /**
960
+ *
961
+ * @summary Create an Application
962
+ * @param {string} owner
963
+ * @param {ApplicationCreate} applicationCreate
964
+ * @param {*} [options] Override http request option.
965
+ * @throws {RequiredError}
966
+ */
967
+ async createApplication(owner: string, applicationCreate: ApplicationCreate, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Application>> {
968
+ const localVarAxiosArgs = await ApplicationsApiAxiosParamCreator(configuration).createApplication(owner, applicationCreate, options);
969
+ return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
970
+ const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
971
+ return axios.request(axiosRequestArgs);
972
+ };
973
+ },
974
+ /**
975
+ *
976
+ * @summary Delete a Application
977
+ * @param {string} owner
978
+ * @param {string} slug
979
+ * @param {*} [options] Override http request option.
980
+ * @throws {RequiredError}
981
+ */
982
+ async deleteApplication(owner: string, slug: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
983
+ const localVarAxiosArgs = await ApplicationsApiAxiosParamCreator(configuration).deleteApplication(owner, slug, options);
984
+ return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
985
+ const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
986
+ return axios.request(axiosRequestArgs);
987
+ };
988
+ },
989
+ /**
990
+ *
991
+ * @summary Remove a Application permissions
992
+ * @param {string} owner
993
+ * @param {string} slug
994
+ * @param {ApplicationPolicySubject} applicationPolicySubject
995
+ * @param {*} [options] Override http request option.
996
+ * @throws {RequiredError}
997
+ */
998
+ async deleteApplicationOrgPermission(owner: string, slug: string, applicationPolicySubject: ApplicationPolicySubject, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
999
+ const localVarAxiosArgs = await ApplicationsApiAxiosParamCreator(configuration).deleteApplicationOrgPermission(owner, slug, applicationPolicySubject, options);
1000
+ return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
1001
+ const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
1002
+ return axios.request(axiosRequestArgs);
1003
+ };
1004
+ },
1005
+ /**
1006
+ *
1007
+ * @summary Remove a Application version
1008
+ * @param {string} owner
1009
+ * @param {string} slug
1010
+ * @param {string} tag
1011
+ * @param {*} [options] Override http request option.
1012
+ * @throws {RequiredError}
1013
+ */
1014
+ async deleteApplicationVersion(owner: string, slug: string, tag: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
1015
+ const localVarAxiosArgs = await ApplicationsApiAxiosParamCreator(configuration).deleteApplicationVersion(owner, slug, tag, options);
1016
+ return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
1017
+ const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
1018
+ return axios.request(axiosRequestArgs);
1019
+ };
1020
+ },
1021
+ /**
1022
+ *
1023
+ * @summary Get an application
1024
+ * @param {string} owner
1025
+ * @param {string} slug
1026
+ * @param {*} [options] Override http request option.
1027
+ * @throws {RequiredError}
1028
+ */
1029
+ async getApplication(owner: string, slug: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Application>> {
1030
+ const localVarAxiosArgs = await ApplicationsApiAxiosParamCreator(configuration).getApplication(owner, slug, options);
1031
+ return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
1032
+ const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
1033
+ return axios.request(axiosRequestArgs);
1034
+ };
1035
+ },
1036
+ /**
1037
+ *
1038
+ * @summary Get application access permissions
1039
+ * @param {string} owner
1040
+ * @param {string} slug
1041
+ * @param {number} [page] Page number starting from 1
1042
+ * @param {number} [perPage] Number of items per page
1043
+ * @param {Array<string>} [subjectType] The type of access policy subject
1044
+ * @param {Array<string>} [permission] An access policy permission string
1045
+ * @param {*} [options] Override http request option.
1046
+ * @throws {RequiredError}
1047
+ */
1048
+ async getApplicationAccessPermissions(owner: string, slug: string, page?: number, perPage?: number, subjectType?: Array<string>, permission?: Array<string>, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApplicationAccessPolicyList>> {
1049
+ const localVarAxiosArgs = await ApplicationsApiAxiosParamCreator(configuration).getApplicationAccessPermissions(owner, slug, page, perPage, subjectType, permission, options);
1050
+ return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
1051
+ const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
1052
+ return axios.request(axiosRequestArgs);
1053
+ };
1054
+ },
1055
+ /**
1056
+ *
1057
+ * @summary Get application deployment
1058
+ * @param {string} owner
1059
+ * @param {string} slug
1060
+ * @param {*} [options] Override http request option.
1061
+ * @throws {RequiredError}
1062
+ */
1063
+ async getApplicationDeployment(owner: string, slug: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApplicationDeployment>> {
1064
+ const localVarAxiosArgs = await ApplicationsApiAxiosParamCreator(configuration).getApplicationDeployment(owner, slug, options);
1065
+ return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
1066
+ const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
1067
+ return axios.request(axiosRequestArgs);
1068
+ };
1069
+ },
1070
+ /**
1071
+ *
1072
+ * @summary Get application versions
1073
+ * @param {string} owner
1074
+ * @param {string} slug
1075
+ * @param {number} [page] Page number starting from 1
1076
+ * @param {number} [perPage] Number of items per page
1077
+ * @param {*} [options] Override http request option.
1078
+ * @throws {RequiredError}
1079
+ */
1080
+ async getApplicationVersions(owner: string, slug: string, page?: number, perPage?: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApplicationVersionList>> {
1081
+ const localVarAxiosArgs = await ApplicationsApiAxiosParamCreator(configuration).getApplicationVersions(owner, slug, page, perPage, options);
1082
+ return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
1083
+ const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
1084
+ return axios.request(axiosRequestArgs);
1085
+ };
1086
+ },
1087
+ /**
1088
+ *
1089
+ * @summary List Applications
1090
+ * @param {string} [search] Search string to find applications
1091
+ * @param {Array<string>} [ids] The ID of a application to search for
1092
+ * @param {Array<string>} [names] The name of the application
1093
+ * @param {Array<string>} [owner] Owner of the application
1094
+ * @param {boolean} [_public] Boolean check for public/private applications
1095
+ * @param {Array<string>} [permissions] Filter by permission on given resource
1096
+ * @param {ApplicationSortKey} [sortBy] Key to sort the list by
1097
+ * @param {SortEnum} [sortOrder] The order to sort the list
1098
+ * @param {number} [page] Page number starting from 1
1099
+ * @param {number} [perPage] Number of items per page
1100
+ * @param {*} [options] Override http request option.
1101
+ * @throws {RequiredError}
1102
+ */
1103
+ async listApplications(search?: string, ids?: Array<string>, names?: Array<string>, owner?: Array<string>, _public?: boolean, permissions?: Array<string>, sortBy?: ApplicationSortKey, sortOrder?: SortEnum, page?: number, perPage?: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApplicationList>> {
1104
+ const localVarAxiosArgs = await ApplicationsApiAxiosParamCreator(configuration).listApplications(search, ids, names, owner, _public, permissions, sortBy, sortOrder, page, perPage, options);
1105
+ return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
1106
+ const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
1107
+ return axios.request(axiosRequestArgs);
1108
+ };
1109
+ },
1110
+ /**
1111
+ *
1112
+ * @summary Update a Application
1113
+ * @param {string} owner
1114
+ * @param {string} slug
1115
+ * @param {ApplicationUpdate} applicationUpdate
1116
+ * @param {*} [options] Override http request option.
1117
+ * @throws {RequiredError}
1118
+ */
1119
+ async updateApplication(owner: string, slug: string, applicationUpdate: ApplicationUpdate, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateAccepted>> {
1120
+ const localVarAxiosArgs = await ApplicationsApiAxiosParamCreator(configuration).updateApplication(owner, slug, applicationUpdate, options);
1121
+ return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
1122
+ const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
1123
+ return axios.request(axiosRequestArgs);
1124
+ };
1125
+ },
1126
+ /**
1127
+ *
1128
+ * @summary Upsert a new permission to a application
1129
+ * @param {string} owner
1130
+ * @param {string} slug
1131
+ * @param {ApplicationAccessPolicy} applicationAccessPolicy
1132
+ * @param {*} [options] Override http request option.
1133
+ * @throws {RequiredError}
1134
+ */
1135
+ async upsertApplicationPermission(owner: string, slug: string, applicationAccessPolicy: ApplicationAccessPolicy, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateAccepted>> {
1136
+ const localVarAxiosArgs = await ApplicationsApiAxiosParamCreator(configuration).upsertApplicationPermission(owner, slug, applicationAccessPolicy, options);
1137
+ return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
1138
+ const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
1139
+ return axios.request(axiosRequestArgs);
1140
+ };
1141
+ },
1142
+ /**
1143
+ *
1144
+ * @summary Upsert a new version to a application
1145
+ * @param {string} owner
1146
+ * @param {string} slug
1147
+ * @param {NewApplicationVersion} newApplicationVersion
1148
+ * @param {*} [options] Override http request option.
1149
+ * @throws {RequiredError}
1150
+ */
1151
+ async upsertApplicationVersion(owner: string, slug: string, newApplicationVersion: NewApplicationVersion, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<S3UploadRequest>> {
1152
+ const localVarAxiosArgs = await ApplicationsApiAxiosParamCreator(configuration).upsertApplicationVersion(owner, slug, newApplicationVersion, options);
1153
+ return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
1154
+ const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
1155
+ return axios.request(axiosRequestArgs);
1156
+ };
1157
+ },
1158
+ }
1159
+ };
1160
+
1161
+ /**
1162
+ * ApplicationsApi - factory interface
1163
+ * @export
1164
+ */
1165
+ export const ApplicationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
1166
+ return {
1167
+ /**
1168
+ *
1169
+ * @summary Create an Application
1170
+ * @param {string} owner
1171
+ * @param {ApplicationCreate} applicationCreate
1172
+ * @param {*} [options] Override http request option.
1173
+ * @throws {RequiredError}
1174
+ */
1175
+ createApplication(owner: string, applicationCreate: ApplicationCreate, options?: any): AxiosPromise<Application> {
1176
+ return ApplicationsApiFp(configuration).createApplication(owner, applicationCreate, options).then((request) => request(axios, basePath));
1177
+ },
1178
+ /**
1179
+ *
1180
+ * @summary Delete a Application
1181
+ * @param {string} owner
1182
+ * @param {string} slug
1183
+ * @param {*} [options] Override http request option.
1184
+ * @throws {RequiredError}
1185
+ */
1186
+ deleteApplication(owner: string, slug: string, options?: any): AxiosPromise<void> {
1187
+ return ApplicationsApiFp(configuration).deleteApplication(owner, slug, options).then((request) => request(axios, basePath));
1188
+ },
1189
+ /**
1190
+ *
1191
+ * @summary Remove a Application permissions
1192
+ * @param {string} owner
1193
+ * @param {string} slug
1194
+ * @param {ApplicationPolicySubject} applicationPolicySubject
1195
+ * @param {*} [options] Override http request option.
1196
+ * @throws {RequiredError}
1197
+ */
1198
+ deleteApplicationOrgPermission(owner: string, slug: string, applicationPolicySubject: ApplicationPolicySubject, options?: any): AxiosPromise<void> {
1199
+ return ApplicationsApiFp(configuration).deleteApplicationOrgPermission(owner, slug, applicationPolicySubject, options).then((request) => request(axios, basePath));
1200
+ },
1201
+ /**
1202
+ *
1203
+ * @summary Remove a Application version
1204
+ * @param {string} owner
1205
+ * @param {string} slug
1206
+ * @param {string} tag
1207
+ * @param {*} [options] Override http request option.
1208
+ * @throws {RequiredError}
1209
+ */
1210
+ deleteApplicationVersion(owner: string, slug: string, tag: string, options?: any): AxiosPromise<void> {
1211
+ return ApplicationsApiFp(configuration).deleteApplicationVersion(owner, slug, tag, options).then((request) => request(axios, basePath));
1212
+ },
1213
+ /**
1214
+ *
1215
+ * @summary Get an application
1216
+ * @param {string} owner
1217
+ * @param {string} slug
1218
+ * @param {*} [options] Override http request option.
1219
+ * @throws {RequiredError}
1220
+ */
1221
+ getApplication(owner: string, slug: string, options?: any): AxiosPromise<Application> {
1222
+ return ApplicationsApiFp(configuration).getApplication(owner, slug, options).then((request) => request(axios, basePath));
1223
+ },
1224
+ /**
1225
+ *
1226
+ * @summary Get application access permissions
1227
+ * @param {string} owner
1228
+ * @param {string} slug
1229
+ * @param {number} [page] Page number starting from 1
1230
+ * @param {number} [perPage] Number of items per page
1231
+ * @param {Array<string>} [subjectType] The type of access policy subject
1232
+ * @param {Array<string>} [permission] An access policy permission string
1233
+ * @param {*} [options] Override http request option.
1234
+ * @throws {RequiredError}
1235
+ */
1236
+ getApplicationAccessPermissions(owner: string, slug: string, page?: number, perPage?: number, subjectType?: Array<string>, permission?: Array<string>, options?: any): AxiosPromise<ApplicationAccessPolicyList> {
1237
+ return ApplicationsApiFp(configuration).getApplicationAccessPermissions(owner, slug, page, perPage, subjectType, permission, options).then((request) => request(axios, basePath));
1238
+ },
1239
+ /**
1240
+ *
1241
+ * @summary Get application deployment
1242
+ * @param {string} owner
1243
+ * @param {string} slug
1244
+ * @param {*} [options] Override http request option.
1245
+ * @throws {RequiredError}
1246
+ */
1247
+ getApplicationDeployment(owner: string, slug: string, options?: any): AxiosPromise<ApplicationDeployment> {
1248
+ return ApplicationsApiFp(configuration).getApplicationDeployment(owner, slug, options).then((request) => request(axios, basePath));
1249
+ },
1250
+ /**
1251
+ *
1252
+ * @summary Get application versions
1253
+ * @param {string} owner
1254
+ * @param {string} slug
1255
+ * @param {number} [page] Page number starting from 1
1256
+ * @param {number} [perPage] Number of items per page
1257
+ * @param {*} [options] Override http request option.
1258
+ * @throws {RequiredError}
1259
+ */
1260
+ getApplicationVersions(owner: string, slug: string, page?: number, perPage?: number, options?: any): AxiosPromise<ApplicationVersionList> {
1261
+ return ApplicationsApiFp(configuration).getApplicationVersions(owner, slug, page, perPage, options).then((request) => request(axios, basePath));
1262
+ },
1263
+ /**
1264
+ *
1265
+ * @summary List Applications
1266
+ * @param {string} [search] Search string to find applications
1267
+ * @param {Array<string>} [ids] The ID of a application to search for
1268
+ * @param {Array<string>} [names] The name of the application
1269
+ * @param {Array<string>} [owner] Owner of the application
1270
+ * @param {boolean} [_public] Boolean check for public/private applications
1271
+ * @param {Array<string>} [permissions] Filter by permission on given resource
1272
+ * @param {ApplicationSortKey} [sortBy] Key to sort the list by
1273
+ * @param {SortEnum} [sortOrder] The order to sort the list
1274
+ * @param {number} [page] Page number starting from 1
1275
+ * @param {number} [perPage] Number of items per page
1276
+ * @param {*} [options] Override http request option.
1277
+ * @throws {RequiredError}
1278
+ */
1279
+ listApplications(search?: string, ids?: Array<string>, names?: Array<string>, owner?: Array<string>, _public?: boolean, permissions?: Array<string>, sortBy?: ApplicationSortKey, sortOrder?: SortEnum, page?: number, perPage?: number, options?: any): AxiosPromise<ApplicationList> {
1280
+ return ApplicationsApiFp(configuration).listApplications(search, ids, names, owner, _public, permissions, sortBy, sortOrder, page, perPage, options).then((request) => request(axios, basePath));
1281
+ },
1282
+ /**
1283
+ *
1284
+ * @summary Update a Application
1285
+ * @param {string} owner
1286
+ * @param {string} slug
1287
+ * @param {ApplicationUpdate} applicationUpdate
1288
+ * @param {*} [options] Override http request option.
1289
+ * @throws {RequiredError}
1290
+ */
1291
+ updateApplication(owner: string, slug: string, applicationUpdate: ApplicationUpdate, options?: any): AxiosPromise<UpdateAccepted> {
1292
+ return ApplicationsApiFp(configuration).updateApplication(owner, slug, applicationUpdate, options).then((request) => request(axios, basePath));
1293
+ },
1294
+ /**
1295
+ *
1296
+ * @summary Upsert a new permission to a application
1297
+ * @param {string} owner
1298
+ * @param {string} slug
1299
+ * @param {ApplicationAccessPolicy} applicationAccessPolicy
1300
+ * @param {*} [options] Override http request option.
1301
+ * @throws {RequiredError}
1302
+ */
1303
+ upsertApplicationPermission(owner: string, slug: string, applicationAccessPolicy: ApplicationAccessPolicy, options?: any): AxiosPromise<UpdateAccepted> {
1304
+ return ApplicationsApiFp(configuration).upsertApplicationPermission(owner, slug, applicationAccessPolicy, options).then((request) => request(axios, basePath));
1305
+ },
1306
+ /**
1307
+ *
1308
+ * @summary Upsert a new version to a application
1309
+ * @param {string} owner
1310
+ * @param {string} slug
1311
+ * @param {NewApplicationVersion} newApplicationVersion
1312
+ * @param {*} [options] Override http request option.
1313
+ * @throws {RequiredError}
1314
+ */
1315
+ upsertApplicationVersion(owner: string, slug: string, newApplicationVersion: NewApplicationVersion, options?: any): AxiosPromise<S3UploadRequest> {
1316
+ return ApplicationsApiFp(configuration).upsertApplicationVersion(owner, slug, newApplicationVersion, options).then((request) => request(axios, basePath));
1317
+ },
1318
+ };
1319
+ };
1320
+
1321
+ /**
1322
+ * Request parameters for createApplication operation in ApplicationsApi.
1323
+ * @export
1324
+ * @interface ApplicationsApiCreateApplicationRequest
1325
+ */
1326
+ export interface ApplicationsApiCreateApplicationRequest {
1327
+ /**
1328
+ *
1329
+ * @type {string}
1330
+ * @memberof ApplicationsApiCreateApplication
1331
+ */
1332
+ readonly owner: string
1333
+
1334
+ /**
1335
+ *
1336
+ * @type {ApplicationCreate}
1337
+ * @memberof ApplicationsApiCreateApplication
1338
+ */
1339
+ readonly applicationCreate: ApplicationCreate
1340
+ }
1341
+
1342
+ /**
1343
+ * Request parameters for deleteApplication operation in ApplicationsApi.
1344
+ * @export
1345
+ * @interface ApplicationsApiDeleteApplicationRequest
1346
+ */
1347
+ export interface ApplicationsApiDeleteApplicationRequest {
1348
+ /**
1349
+ *
1350
+ * @type {string}
1351
+ * @memberof ApplicationsApiDeleteApplication
1352
+ */
1353
+ readonly owner: string
1354
+
1355
+ /**
1356
+ *
1357
+ * @type {string}
1358
+ * @memberof ApplicationsApiDeleteApplication
1359
+ */
1360
+ readonly slug: string
1361
+ }
1362
+
1363
+ /**
1364
+ * Request parameters for deleteApplicationOrgPermission operation in ApplicationsApi.
1365
+ * @export
1366
+ * @interface ApplicationsApiDeleteApplicationOrgPermissionRequest
1367
+ */
1368
+ export interface ApplicationsApiDeleteApplicationOrgPermissionRequest {
1369
+ /**
1370
+ *
1371
+ * @type {string}
1372
+ * @memberof ApplicationsApiDeleteApplicationOrgPermission
1373
+ */
1374
+ readonly owner: string
1375
+
1376
+ /**
1377
+ *
1378
+ * @type {string}
1379
+ * @memberof ApplicationsApiDeleteApplicationOrgPermission
1380
+ */
1381
+ readonly slug: string
1382
+
1383
+ /**
1384
+ *
1385
+ * @type {ApplicationPolicySubject}
1386
+ * @memberof ApplicationsApiDeleteApplicationOrgPermission
1387
+ */
1388
+ readonly applicationPolicySubject: ApplicationPolicySubject
1389
+ }
1390
+
1391
+ /**
1392
+ * Request parameters for deleteApplicationVersion operation in ApplicationsApi.
1393
+ * @export
1394
+ * @interface ApplicationsApiDeleteApplicationVersionRequest
1395
+ */
1396
+ export interface ApplicationsApiDeleteApplicationVersionRequest {
1397
+ /**
1398
+ *
1399
+ * @type {string}
1400
+ * @memberof ApplicationsApiDeleteApplicationVersion
1401
+ */
1402
+ readonly owner: string
1403
+
1404
+ /**
1405
+ *
1406
+ * @type {string}
1407
+ * @memberof ApplicationsApiDeleteApplicationVersion
1408
+ */
1409
+ readonly slug: string
1410
+
1411
+ /**
1412
+ *
1413
+ * @type {string}
1414
+ * @memberof ApplicationsApiDeleteApplicationVersion
1415
+ */
1416
+ readonly tag: string
1417
+ }
1418
+
1419
+ /**
1420
+ * Request parameters for getApplication operation in ApplicationsApi.
1421
+ * @export
1422
+ * @interface ApplicationsApiGetApplicationRequest
1423
+ */
1424
+ export interface ApplicationsApiGetApplicationRequest {
1425
+ /**
1426
+ *
1427
+ * @type {string}
1428
+ * @memberof ApplicationsApiGetApplication
1429
+ */
1430
+ readonly owner: string
1431
+
1432
+ /**
1433
+ *
1434
+ * @type {string}
1435
+ * @memberof ApplicationsApiGetApplication
1436
+ */
1437
+ readonly slug: string
1438
+ }
1439
+
1440
+ /**
1441
+ * Request parameters for getApplicationAccessPermissions operation in ApplicationsApi.
1442
+ * @export
1443
+ * @interface ApplicationsApiGetApplicationAccessPermissionsRequest
1444
+ */
1445
+ export interface ApplicationsApiGetApplicationAccessPermissionsRequest {
1446
+ /**
1447
+ *
1448
+ * @type {string}
1449
+ * @memberof ApplicationsApiGetApplicationAccessPermissions
1450
+ */
1451
+ readonly owner: string
1452
+
1453
+ /**
1454
+ *
1455
+ * @type {string}
1456
+ * @memberof ApplicationsApiGetApplicationAccessPermissions
1457
+ */
1458
+ readonly slug: string
1459
+
1460
+ /**
1461
+ * Page number starting from 1
1462
+ * @type {number}
1463
+ * @memberof ApplicationsApiGetApplicationAccessPermissions
1464
+ */
1465
+ readonly page?: number
1466
+
1467
+ /**
1468
+ * Number of items per page
1469
+ * @type {number}
1470
+ * @memberof ApplicationsApiGetApplicationAccessPermissions
1471
+ */
1472
+ readonly perPage?: number
1473
+
1474
+ /**
1475
+ * The type of access policy subject
1476
+ * @type {Array<string>}
1477
+ * @memberof ApplicationsApiGetApplicationAccessPermissions
1478
+ */
1479
+ readonly subjectType?: Array<string>
1480
+
1481
+ /**
1482
+ * An access policy permission string
1483
+ * @type {Array<string>}
1484
+ * @memberof ApplicationsApiGetApplicationAccessPermissions
1485
+ */
1486
+ readonly permission?: Array<string>
1487
+ }
1488
+
1489
+ /**
1490
+ * Request parameters for getApplicationDeployment operation in ApplicationsApi.
1491
+ * @export
1492
+ * @interface ApplicationsApiGetApplicationDeploymentRequest
1493
+ */
1494
+ export interface ApplicationsApiGetApplicationDeploymentRequest {
1495
+ /**
1496
+ *
1497
+ * @type {string}
1498
+ * @memberof ApplicationsApiGetApplicationDeployment
1499
+ */
1500
+ readonly owner: string
1501
+
1502
+ /**
1503
+ *
1504
+ * @type {string}
1505
+ * @memberof ApplicationsApiGetApplicationDeployment
1506
+ */
1507
+ readonly slug: string
1508
+ }
1509
+
1510
+ /**
1511
+ * Request parameters for getApplicationVersions operation in ApplicationsApi.
1512
+ * @export
1513
+ * @interface ApplicationsApiGetApplicationVersionsRequest
1514
+ */
1515
+ export interface ApplicationsApiGetApplicationVersionsRequest {
1516
+ /**
1517
+ *
1518
+ * @type {string}
1519
+ * @memberof ApplicationsApiGetApplicationVersions
1520
+ */
1521
+ readonly owner: string
1522
+
1523
+ /**
1524
+ *
1525
+ * @type {string}
1526
+ * @memberof ApplicationsApiGetApplicationVersions
1527
+ */
1528
+ readonly slug: string
1529
+
1530
+ /**
1531
+ * Page number starting from 1
1532
+ * @type {number}
1533
+ * @memberof ApplicationsApiGetApplicationVersions
1534
+ */
1535
+ readonly page?: number
1536
+
1537
+ /**
1538
+ * Number of items per page
1539
+ * @type {number}
1540
+ * @memberof ApplicationsApiGetApplicationVersions
1541
+ */
1542
+ readonly perPage?: number
1543
+ }
1544
+
1545
+ /**
1546
+ * Request parameters for listApplications operation in ApplicationsApi.
1547
+ * @export
1548
+ * @interface ApplicationsApiListApplicationsRequest
1549
+ */
1550
+ export interface ApplicationsApiListApplicationsRequest {
1551
+ /**
1552
+ * Search string to find applications
1553
+ * @type {string}
1554
+ * @memberof ApplicationsApiListApplications
1555
+ */
1556
+ readonly search?: string
1557
+
1558
+ /**
1559
+ * The ID of a application to search for
1560
+ * @type {Array<string>}
1561
+ * @memberof ApplicationsApiListApplications
1562
+ */
1563
+ readonly ids?: Array<string>
1564
+
1565
+ /**
1566
+ * The name of the application
1567
+ * @type {Array<string>}
1568
+ * @memberof ApplicationsApiListApplications
1569
+ */
1570
+ readonly names?: Array<string>
1571
+
1572
+ /**
1573
+ * Owner of the application
1574
+ * @type {Array<string>}
1575
+ * @memberof ApplicationsApiListApplications
1576
+ */
1577
+ readonly owner?: Array<string>
1578
+
1579
+ /**
1580
+ * Boolean check for public/private applications
1581
+ * @type {boolean}
1582
+ * @memberof ApplicationsApiListApplications
1583
+ */
1584
+ readonly _public?: boolean
1585
+
1586
+ /**
1587
+ * Filter by permission on given resource
1588
+ * @type {Array<string>}
1589
+ * @memberof ApplicationsApiListApplications
1590
+ */
1591
+ readonly permissions?: Array<string>
1592
+
1593
+ /**
1594
+ * Key to sort the list by
1595
+ * @type {ApplicationSortKey}
1596
+ * @memberof ApplicationsApiListApplications
1597
+ */
1598
+ readonly sortBy?: ApplicationSortKey
1599
+
1600
+ /**
1601
+ * The order to sort the list
1602
+ * @type {SortEnum}
1603
+ * @memberof ApplicationsApiListApplications
1604
+ */
1605
+ readonly sortOrder?: SortEnum
1606
+
1607
+ /**
1608
+ * Page number starting from 1
1609
+ * @type {number}
1610
+ * @memberof ApplicationsApiListApplications
1611
+ */
1612
+ readonly page?: number
1613
+
1614
+ /**
1615
+ * Number of items per page
1616
+ * @type {number}
1617
+ * @memberof ApplicationsApiListApplications
1618
+ */
1619
+ readonly perPage?: number
1620
+ }
1621
+
1622
+ /**
1623
+ * Request parameters for updateApplication operation in ApplicationsApi.
1624
+ * @export
1625
+ * @interface ApplicationsApiUpdateApplicationRequest
1626
+ */
1627
+ export interface ApplicationsApiUpdateApplicationRequest {
1628
+ /**
1629
+ *
1630
+ * @type {string}
1631
+ * @memberof ApplicationsApiUpdateApplication
1632
+ */
1633
+ readonly owner: string
1634
+
1635
+ /**
1636
+ *
1637
+ * @type {string}
1638
+ * @memberof ApplicationsApiUpdateApplication
1639
+ */
1640
+ readonly slug: string
1641
+
1642
+ /**
1643
+ *
1644
+ * @type {ApplicationUpdate}
1645
+ * @memberof ApplicationsApiUpdateApplication
1646
+ */
1647
+ readonly applicationUpdate: ApplicationUpdate
1648
+ }
1649
+
1650
+ /**
1651
+ * Request parameters for upsertApplicationPermission operation in ApplicationsApi.
1652
+ * @export
1653
+ * @interface ApplicationsApiUpsertApplicationPermissionRequest
1654
+ */
1655
+ export interface ApplicationsApiUpsertApplicationPermissionRequest {
1656
+ /**
1657
+ *
1658
+ * @type {string}
1659
+ * @memberof ApplicationsApiUpsertApplicationPermission
1660
+ */
1661
+ readonly owner: string
1662
+
1663
+ /**
1664
+ *
1665
+ * @type {string}
1666
+ * @memberof ApplicationsApiUpsertApplicationPermission
1667
+ */
1668
+ readonly slug: string
1669
+
1670
+ /**
1671
+ *
1672
+ * @type {ApplicationAccessPolicy}
1673
+ * @memberof ApplicationsApiUpsertApplicationPermission
1674
+ */
1675
+ readonly applicationAccessPolicy: ApplicationAccessPolicy
1676
+ }
1677
+
1678
+ /**
1679
+ * Request parameters for upsertApplicationVersion operation in ApplicationsApi.
1680
+ * @export
1681
+ * @interface ApplicationsApiUpsertApplicationVersionRequest
1682
+ */
1683
+ export interface ApplicationsApiUpsertApplicationVersionRequest {
1684
+ /**
1685
+ *
1686
+ * @type {string}
1687
+ * @memberof ApplicationsApiUpsertApplicationVersion
1688
+ */
1689
+ readonly owner: string
1690
+
1691
+ /**
1692
+ *
1693
+ * @type {string}
1694
+ * @memberof ApplicationsApiUpsertApplicationVersion
1695
+ */
1696
+ readonly slug: string
1697
+
1698
+ /**
1699
+ *
1700
+ * @type {NewApplicationVersion}
1701
+ * @memberof ApplicationsApiUpsertApplicationVersion
1702
+ */
1703
+ readonly newApplicationVersion: NewApplicationVersion
1704
+ }
1705
+
1706
+ /**
1707
+ * ApplicationsApi - object-oriented interface
1708
+ * @export
1709
+ * @class ApplicationsApi
1710
+ * @extends {BaseAPI}
1711
+ */
1712
+ export class ApplicationsApi extends BaseAPI {
1713
+ /**
1714
+ *
1715
+ * @summary Create an Application
1716
+ * @param {ApplicationsApiCreateApplicationRequest} requestParameters Request parameters.
1717
+ * @param {*} [options] Override http request option.
1718
+ * @throws {RequiredError}
1719
+ * @memberof ApplicationsApi
1720
+ */
1721
+ public createApplication(requestParameters: ApplicationsApiCreateApplicationRequest, options?: any) {
1722
+ return ApplicationsApiFp(this.configuration).createApplication(requestParameters.owner, requestParameters.applicationCreate, options).then((request) => request(this.axios, this.basePath));
1723
+ }
1724
+
1725
+ /**
1726
+ *
1727
+ * @summary Delete a Application
1728
+ * @param {ApplicationsApiDeleteApplicationRequest} requestParameters Request parameters.
1729
+ * @param {*} [options] Override http request option.
1730
+ * @throws {RequiredError}
1731
+ * @memberof ApplicationsApi
1732
+ */
1733
+ public deleteApplication(requestParameters: ApplicationsApiDeleteApplicationRequest, options?: any) {
1734
+ return ApplicationsApiFp(this.configuration).deleteApplication(requestParameters.owner, requestParameters.slug, options).then((request) => request(this.axios, this.basePath));
1735
+ }
1736
+
1737
+ /**
1738
+ *
1739
+ * @summary Remove a Application permissions
1740
+ * @param {ApplicationsApiDeleteApplicationOrgPermissionRequest} requestParameters Request parameters.
1741
+ * @param {*} [options] Override http request option.
1742
+ * @throws {RequiredError}
1743
+ * @memberof ApplicationsApi
1744
+ */
1745
+ public deleteApplicationOrgPermission(requestParameters: ApplicationsApiDeleteApplicationOrgPermissionRequest, options?: any) {
1746
+ return ApplicationsApiFp(this.configuration).deleteApplicationOrgPermission(requestParameters.owner, requestParameters.slug, requestParameters.applicationPolicySubject, options).then((request) => request(this.axios, this.basePath));
1747
+ }
1748
+
1749
+ /**
1750
+ *
1751
+ * @summary Remove a Application version
1752
+ * @param {ApplicationsApiDeleteApplicationVersionRequest} requestParameters Request parameters.
1753
+ * @param {*} [options] Override http request option.
1754
+ * @throws {RequiredError}
1755
+ * @memberof ApplicationsApi
1756
+ */
1757
+ public deleteApplicationVersion(requestParameters: ApplicationsApiDeleteApplicationVersionRequest, options?: any) {
1758
+ return ApplicationsApiFp(this.configuration).deleteApplicationVersion(requestParameters.owner, requestParameters.slug, requestParameters.tag, options).then((request) => request(this.axios, this.basePath));
1759
+ }
1760
+
1761
+ /**
1762
+ *
1763
+ * @summary Get an application
1764
+ * @param {ApplicationsApiGetApplicationRequest} requestParameters Request parameters.
1765
+ * @param {*} [options] Override http request option.
1766
+ * @throws {RequiredError}
1767
+ * @memberof ApplicationsApi
1768
+ */
1769
+ public getApplication(requestParameters: ApplicationsApiGetApplicationRequest, options?: any) {
1770
+ return ApplicationsApiFp(this.configuration).getApplication(requestParameters.owner, requestParameters.slug, options).then((request) => request(this.axios, this.basePath));
1771
+ }
1772
+
1773
+ /**
1774
+ *
1775
+ * @summary Get application access permissions
1776
+ * @param {ApplicationsApiGetApplicationAccessPermissionsRequest} requestParameters Request parameters.
1777
+ * @param {*} [options] Override http request option.
1778
+ * @throws {RequiredError}
1779
+ * @memberof ApplicationsApi
1780
+ */
1781
+ public getApplicationAccessPermissions(requestParameters: ApplicationsApiGetApplicationAccessPermissionsRequest, options?: any) {
1782
+ return ApplicationsApiFp(this.configuration).getApplicationAccessPermissions(requestParameters.owner, requestParameters.slug, requestParameters.page, requestParameters.perPage, requestParameters.subjectType, requestParameters.permission, options).then((request) => request(this.axios, this.basePath));
1783
+ }
1784
+
1785
+ /**
1786
+ *
1787
+ * @summary Get application deployment
1788
+ * @param {ApplicationsApiGetApplicationDeploymentRequest} requestParameters Request parameters.
1789
+ * @param {*} [options] Override http request option.
1790
+ * @throws {RequiredError}
1791
+ * @memberof ApplicationsApi
1792
+ */
1793
+ public getApplicationDeployment(requestParameters: ApplicationsApiGetApplicationDeploymentRequest, options?: any) {
1794
+ return ApplicationsApiFp(this.configuration).getApplicationDeployment(requestParameters.owner, requestParameters.slug, options).then((request) => request(this.axios, this.basePath));
1795
+ }
1796
+
1797
+ /**
1798
+ *
1799
+ * @summary Get application versions
1800
+ * @param {ApplicationsApiGetApplicationVersionsRequest} requestParameters Request parameters.
1801
+ * @param {*} [options] Override http request option.
1802
+ * @throws {RequiredError}
1803
+ * @memberof ApplicationsApi
1804
+ */
1805
+ public getApplicationVersions(requestParameters: ApplicationsApiGetApplicationVersionsRequest, options?: any) {
1806
+ return ApplicationsApiFp(this.configuration).getApplicationVersions(requestParameters.owner, requestParameters.slug, requestParameters.page, requestParameters.perPage, options).then((request) => request(this.axios, this.basePath));
1807
+ }
1808
+
1809
+ /**
1810
+ *
1811
+ * @summary List Applications
1812
+ * @param {ApplicationsApiListApplicationsRequest} requestParameters Request parameters.
1813
+ * @param {*} [options] Override http request option.
1814
+ * @throws {RequiredError}
1815
+ * @memberof ApplicationsApi
1816
+ */
1817
+ public listApplications(requestParameters: ApplicationsApiListApplicationsRequest = {}, options?: any) {
1818
+ return ApplicationsApiFp(this.configuration).listApplications(requestParameters.search, requestParameters.ids, requestParameters.names, requestParameters.owner, requestParameters._public, requestParameters.permissions, requestParameters.sortBy, requestParameters.sortOrder, requestParameters.page, requestParameters.perPage, options).then((request) => request(this.axios, this.basePath));
1819
+ }
1820
+
1821
+ /**
1822
+ *
1823
+ * @summary Update a Application
1824
+ * @param {ApplicationsApiUpdateApplicationRequest} requestParameters Request parameters.
1825
+ * @param {*} [options] Override http request option.
1826
+ * @throws {RequiredError}
1827
+ * @memberof ApplicationsApi
1828
+ */
1829
+ public updateApplication(requestParameters: ApplicationsApiUpdateApplicationRequest, options?: any) {
1830
+ return ApplicationsApiFp(this.configuration).updateApplication(requestParameters.owner, requestParameters.slug, requestParameters.applicationUpdate, options).then((request) => request(this.axios, this.basePath));
1831
+ }
1832
+
1833
+ /**
1834
+ *
1835
+ * @summary Upsert a new permission to a application
1836
+ * @param {ApplicationsApiUpsertApplicationPermissionRequest} requestParameters Request parameters.
1837
+ * @param {*} [options] Override http request option.
1838
+ * @throws {RequiredError}
1839
+ * @memberof ApplicationsApi
1840
+ */
1841
+ public upsertApplicationPermission(requestParameters: ApplicationsApiUpsertApplicationPermissionRequest, options?: any) {
1842
+ return ApplicationsApiFp(this.configuration).upsertApplicationPermission(requestParameters.owner, requestParameters.slug, requestParameters.applicationAccessPolicy, options).then((request) => request(this.axios, this.basePath));
1843
+ }
1844
+
1845
+ /**
1846
+ *
1847
+ * @summary Upsert a new version to a application
1848
+ * @param {ApplicationsApiUpsertApplicationVersionRequest} requestParameters Request parameters.
1849
+ * @param {*} [options] Override http request option.
1850
+ * @throws {RequiredError}
1851
+ * @memberof ApplicationsApi
1852
+ */
1853
+ public upsertApplicationVersion(requestParameters: ApplicationsApiUpsertApplicationVersionRequest, options?: any) {
1854
+ return ApplicationsApiFp(this.configuration).upsertApplicationVersion(requestParameters.owner, requestParameters.slug, requestParameters.newApplicationVersion, options).then((request) => request(this.axios, this.basePath));
1855
+ }
1856
+ }