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