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