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