@pollination-solutions/pollination-sdk 0.19.0 → 0.21.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.apigentools-info +2 -2
- package/.openapi-generator/FILES +18 -4
- package/README.md +1 -1
- package/api/accounts-api.ts +1 -1
- package/api/apitokens-api.ts +1 -1
- package/api/artifacts-api.ts +1 -1
- package/api/jobs-api.ts +140 -1
- package/api/licenses-api.ts +777 -0
- package/api/orgs-api.ts +1 -1
- package/api/payments-api.ts +5 -5
- 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/subscriptions-api.ts +1 -1
- package/api/teams-api.ts +1 -1
- package/api/user-api.ts +1 -1
- package/api/users-api.ts +93 -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/artifacts-api.d.ts +1 -1
- package/dist/api/artifacts-api.js +1 -1
- package/dist/api/jobs-api.d.ts +65 -1
- package/dist/api/jobs-api.js +107 -1
- package/dist/api/licenses-api.d.ts +350 -0
- package/dist/api/licenses-api.js +633 -0
- package/dist/api/orgs-api.d.ts +1 -1
- package/dist/api/orgs-api.js +1 -1
- package/dist/api/payments-api.d.ts +5 -5
- package/dist/api/payments-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/subscriptions-api.d.ts +1 -1
- package/dist/api/subscriptions-api.js +1 -1
- package/dist/api/teams-api.d.ts +1 -1
- package/dist/api/teams-api.js +1 -1
- package/dist/api/user-api.d.ts +1 -1
- package/dist/api/user-api.js +1 -1
- package/dist/api/users-api.d.ts +47 -1
- package/dist/api/users-api.js +76 -1
- package/dist/api.d.ts +2 -1
- package/dist/api.js +2 -1
- 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 +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 +25 -0
- package/dist/models/{app-server-rest-accounts-dto-quota.js → activation-list.js} +1 -1
- package/dist/models/activation.d.ts +98 -0
- package/dist/models/{app-domains-payments-entities-invoice-preview.js → 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/baked-recipe.d.ts +1 -1
- package/dist/models/baked-recipe.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/card-public.d.ts +1 -1
- package/dist/models/card-public.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/coupon-duration.d.ts +21 -0
- package/dist/models/coupon-duration.js +27 -0
- package/dist/models/coupon.d.ts +67 -0
- package/dist/models/{app-server-rest-payments-dto-invoice-preview.js → coupon.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/discount-amount.d.ts +30 -0
- package/dist/models/{app-domains-quotas-entities-quota.js → discount-amount.js} +1 -1
- package/dist/models/discount.d.ts +55 -0
- package/dist/models/discount.js +15 -0
- 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 +17 -4
- package/dist/models/index.js +17 -4
- 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/inventory.d.ts +1 -1
- package/dist/models/inventory.js +1 -1
- package/dist/models/invoice-list.d.ts +1 -1
- package/dist/models/invoice-list.js +1 -1
- package/dist/models/{app-server-rest-payments-dto-invoice-preview.d.ts → invoice-preview.d.ts} +37 -17
- package/dist/models/invoice-preview.js +15 -0
- package/dist/models/invoice-status-transitions.d.ts +1 -1
- package/dist/models/invoice-status-transitions.js +1 -1
- package/dist/models/invoice-status.d.ts +1 -1
- package/dist/models/invoice-status.js +1 -1
- package/dist/models/invoice.d.ts +21 -1
- package/dist/models/invoice.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.d.ts +32 -0
- package/dist/models/license-pool-access-policy.js +15 -0
- package/dist/models/license-pool-list.d.ts +25 -0
- package/dist/models/license-pool-list.js +15 -0
- package/dist/models/license-pool-policy-subject.d.ts +31 -0
- package/dist/models/license-pool-policy-subject.js +15 -0
- package/dist/models/license-pool-public.d.ts +63 -0
- package/dist/models/license-pool-public.js +15 -0
- package/dist/models/license-pool-update.d.ts +24 -0
- package/dist/models/license-pool-update.js +15 -0
- package/dist/models/license-public.d.ts +122 -0
- package/dist/models/license-public.js +15 -0
- package/dist/models/license-type.d.ts +21 -0
- package/dist/models/license-type.js +27 -0
- package/dist/models/license.d.ts +1 -1
- package/dist/models/license.js +1 -1
- package/dist/models/line-item-list.d.ts +1 -1
- package/dist/models/line-item-list.js +1 -1
- package/dist/models/line-item.d.ts +1 -1
- package/dist/models/line-item.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 +54 -0
- package/dist/models/location.js +15 -0
- 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 +42 -0
- package/dist/models/metadata.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/new-subscription-item.d.ts +1 -1
- package/dist/models/new-subscription-item.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/payment-create.d.ts +1 -1
- package/dist/models/payment-create.js +1 -1
- package/dist/models/payment-intent.d.ts +1 -1
- package/dist/models/payment-intent.js +1 -1
- package/dist/models/payment-method-list.d.ts +1 -1
- package/dist/models/payment-method-list.js +1 -1
- package/dist/models/payment-setup.d.ts +1 -1
- package/dist/models/payment-setup.js +1 -1
- package/dist/models/period.d.ts +1 -1
- package/dist/models/period.js +1 -1
- package/dist/models/permission.d.ts +1 -1
- package/dist/models/permission.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/pollination-subscription.d.ts +1 -1
- package/dist/models/pollination-subscription.js +1 -1
- package/dist/models/price-recurrence.d.ts +1 -1
- package/dist/models/price-recurrence.js +1 -1
- package/dist/models/price-tier.d.ts +1 -1
- package/dist/models/price-tier.js +1 -1
- package/dist/models/price-type.d.ts +1 -1
- package/dist/models/price-type.js +1 -1
- package/dist/models/price.d.ts +1 -1
- package/dist/models/price.js +1 -1
- package/dist/models/product-family.d.ts +1 -1
- package/dist/models/product-family.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-extension.d.ts +1 -1
- package/dist/models/quota-extension.js +1 -1
- package/dist/models/quota-list.d.ts +4 -4
- 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/{app-server-rest-accounts-dto-quota.d.ts → quota.d.ts} +15 -15
- package/dist/models/quota.js +15 -0
- 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/status.d.ts +1 -1
- package/dist/models/status.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/subscribe.d.ts +1 -1
- package/dist/models/subscribe.js +1 -1
- package/dist/models/subscription-create.d.ts +1 -1
- package/dist/models/subscription-create.js +1 -1
- package/dist/models/subscription-item-public-list.d.ts +1 -1
- package/dist/models/subscription-item-public-list.js +1 -1
- package/dist/models/subscription-item-public.d.ts +1 -1
- package/dist/models/subscription-item-public.js +1 -1
- package/dist/models/subscription-item.d.ts +1 -1
- package/dist/models/subscription-item.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.d.ts +7 -1
- package/dist/models/subscription-update.js +1 -1
- package/dist/models/subscription.d.ts +8 -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/update-invoice-preview.d.ts +9 -9
- package/dist/models/update-invoice-preview.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/account-public.ts +1 -1
- package/models/account-type.ts +1 -1
- package/models/activation-list.ts +32 -0
- package/models/activation.ts +105 -0
- 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/baked-recipe.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/card-public.ts +1 -1
- package/models/cloud-job-list.ts +1 -1
- package/models/cloud-job.ts +1 -1
- package/models/coupon-duration.ts +29 -0
- package/models/coupon.ts +74 -0
- 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/discount-amount.ts +37 -0
- package/models/discount.ts +62 -0
- 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 +17 -4
- 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/inventory.ts +1 -1
- package/models/invoice-list.ts +1 -1
- package/models/{app-server-rest-payments-dto-invoice-preview.ts → invoice-preview.ts} +37 -17
- package/models/invoice-status-transitions.ts +1 -1
- package/models/invoice-status.ts +1 -1
- package/models/invoice.ts +21 -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.ts +39 -0
- package/models/license-pool-list.ts +32 -0
- package/models/license-pool-policy-subject.ts +38 -0
- package/models/license-pool-public.ts +70 -0
- package/models/license-pool-update.ts +31 -0
- package/models/license-public.ts +129 -0
- package/models/license-type.ts +29 -0
- package/models/license.ts +1 -1
- package/models/line-item-list.ts +1 -1
- package/models/line-item.ts +1 -1
- package/models/local-config.ts +1 -1
- package/models/location.ts +61 -0
- package/models/maintainer.ts +1 -1
- package/models/meta-data.ts +1 -1
- package/models/metadata.ts +49 -0
- package/models/new-plugin-package.ts +1 -1
- package/models/new-recipe-package.ts +1 -1
- package/models/new-subscription-item.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/payment-create.ts +1 -1
- package/models/payment-intent.ts +1 -1
- package/models/payment-method-list.ts +1 -1
- package/models/payment-setup.ts +1 -1
- package/models/period.ts +1 -1
- package/models/permission.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/pollination-subscription.ts +1 -1
- package/models/price-recurrence.ts +1 -1
- package/models/price-tier.ts +1 -1
- package/models/price-type.ts +1 -1
- package/models/price.ts +1 -1
- package/models/product-family.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-extension.ts +1 -1
- package/models/quota-list.ts +4 -4
- package/models/quota-plan.ts +1 -1
- package/models/quota-type.ts +1 -1
- package/models/{app-server-rest-accounts-dto-quota.ts → quota.ts} +15 -15
- 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/status.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/subscribe.ts +1 -1
- package/models/subscription-create.ts +1 -1
- package/models/subscription-item-public-list.ts +1 -1
- package/models/subscription-item-public.ts +1 -1
- package/models/subscription-item.ts +1 -1
- package/models/subscription-plan.ts +1 -1
- package/models/subscription-update.ts +7 -1
- package/models/subscription.ts +8 -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/update-invoice-preview.ts +9 -9
- 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
- package/dist/models/app-domains-payments-entities-invoice-preview.d.ts +0 -99
- package/dist/models/app-domains-quotas-entities-quota.d.ts +0 -79
- package/models/app-domains-payments-entities-invoice-preview.ts +0 -106
- package/models/app-domains-quotas-entities-quota.ts +0 -86
|
@@ -0,0 +1,777 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* pollination-server
|
|
5
|
+
* Pollination Server OpenAPI Definition
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.21.2
|
|
8
|
+
* Contact: info@pollination.cloud
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import globalAxios, { AxiosPromise, AxiosInstance } from 'axios';
|
|
17
|
+
import { Configuration } from '../configuration';
|
|
18
|
+
// Some imports not used depending on template conditions
|
|
19
|
+
// @ts-ignore
|
|
20
|
+
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
21
|
+
// @ts-ignore
|
|
22
|
+
import { ActivationList } from '../models';
|
|
23
|
+
// @ts-ignore
|
|
24
|
+
import { HTTPValidationError } from '../models';
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { LicensePoolAccessPolicy } from '../models';
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
import { LicensePoolList } from '../models';
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
import { LicensePoolPolicySubject } from '../models';
|
|
31
|
+
// @ts-ignore
|
|
32
|
+
import { LicensePoolPublic } from '../models';
|
|
33
|
+
// @ts-ignore
|
|
34
|
+
import { LicensePoolUpdate } from '../models';
|
|
35
|
+
// @ts-ignore
|
|
36
|
+
import { LicensePublic } from '../models';
|
|
37
|
+
/**
|
|
38
|
+
* LicensesApi - axios parameter creator
|
|
39
|
+
* @export
|
|
40
|
+
*/
|
|
41
|
+
export const LicensesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
42
|
+
return {
|
|
43
|
+
/**
|
|
44
|
+
* Get license pools available to authenticated user
|
|
45
|
+
* @summary Get Available Pools
|
|
46
|
+
* @param {Array<string>} [owner] Owner of the project
|
|
47
|
+
* @param {*} [options] Override http request option.
|
|
48
|
+
* @throws {RequiredError}
|
|
49
|
+
*/
|
|
50
|
+
getAvailablePools: async (owner?: Array<string>, options: any = {}): Promise<RequestArgs> => {
|
|
51
|
+
const localVarPath = `/licenses/pools`;
|
|
52
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
53
|
+
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
54
|
+
let baseOptions;
|
|
55
|
+
if (configuration) {
|
|
56
|
+
baseOptions = configuration.baseOptions;
|
|
57
|
+
}
|
|
58
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
59
|
+
const localVarHeaderParameter = {} as any;
|
|
60
|
+
const localVarQueryParameter = {} as any;
|
|
61
|
+
|
|
62
|
+
// authentication APIKeyAuth required
|
|
63
|
+
if (configuration && configuration.apiKey) {
|
|
64
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
65
|
+
? await configuration.apiKey("x-pollination-token")
|
|
66
|
+
: await configuration.apiKey;
|
|
67
|
+
localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
// authentication JWTAuth required
|
|
71
|
+
// http bearer authentication required
|
|
72
|
+
if (configuration && configuration.accessToken) {
|
|
73
|
+
const accessToken = typeof configuration.accessToken === 'function'
|
|
74
|
+
? await configuration.accessToken()
|
|
75
|
+
: await configuration.accessToken;
|
|
76
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
if (owner) {
|
|
80
|
+
localVarQueryParameter['owner'] = owner;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
const query = new URLSearchParams(localVarUrlObj.search);
|
|
86
|
+
for (const key in localVarQueryParameter) {
|
|
87
|
+
query.set(key, localVarQueryParameter[key]);
|
|
88
|
+
}
|
|
89
|
+
for (const key in options.query) {
|
|
90
|
+
query.set(key, options.query[key]);
|
|
91
|
+
}
|
|
92
|
+
localVarUrlObj.search = (new URLSearchParams(query)).toString();
|
|
93
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
94
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
95
|
+
|
|
96
|
+
return {
|
|
97
|
+
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
|
98
|
+
options: localVarRequestOptions,
|
|
99
|
+
};
|
|
100
|
+
},
|
|
101
|
+
/**
|
|
102
|
+
* Get the activations for the license
|
|
103
|
+
* @summary Get Activations
|
|
104
|
+
* @param {string} poolId
|
|
105
|
+
* @param {*} [options] Override http request option.
|
|
106
|
+
* @throws {RequiredError}
|
|
107
|
+
*/
|
|
108
|
+
getLicenseActivations: async (poolId: string, options: any = {}): Promise<RequestArgs> => {
|
|
109
|
+
// verify required parameter 'poolId' is not null or undefined
|
|
110
|
+
if (poolId === null || poolId === undefined) {
|
|
111
|
+
throw new RequiredError('poolId','Required parameter poolId was null or undefined when calling getLicenseActivations.');
|
|
112
|
+
}
|
|
113
|
+
const localVarPath = `/licenses/pools/{pool_id}/activations`
|
|
114
|
+
.replace(`{${"pool_id"}}`, encodeURIComponent(String(poolId)));
|
|
115
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
116
|
+
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
117
|
+
let baseOptions;
|
|
118
|
+
if (configuration) {
|
|
119
|
+
baseOptions = configuration.baseOptions;
|
|
120
|
+
}
|
|
121
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
122
|
+
const localVarHeaderParameter = {} as any;
|
|
123
|
+
const localVarQueryParameter = {} as any;
|
|
124
|
+
|
|
125
|
+
// authentication APIKeyAuth required
|
|
126
|
+
if (configuration && configuration.apiKey) {
|
|
127
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
128
|
+
? await configuration.apiKey("x-pollination-token")
|
|
129
|
+
: await configuration.apiKey;
|
|
130
|
+
localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
// authentication JWTAuth required
|
|
134
|
+
// http bearer authentication required
|
|
135
|
+
if (configuration && configuration.accessToken) {
|
|
136
|
+
const accessToken = typeof configuration.accessToken === 'function'
|
|
137
|
+
? await configuration.accessToken()
|
|
138
|
+
: await configuration.accessToken;
|
|
139
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
const query = new URLSearchParams(localVarUrlObj.search);
|
|
145
|
+
for (const key in localVarQueryParameter) {
|
|
146
|
+
query.set(key, localVarQueryParameter[key]);
|
|
147
|
+
}
|
|
148
|
+
for (const key in options.query) {
|
|
149
|
+
query.set(key, options.query[key]);
|
|
150
|
+
}
|
|
151
|
+
localVarUrlObj.search = (new URLSearchParams(query)).toString();
|
|
152
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
153
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
154
|
+
|
|
155
|
+
return {
|
|
156
|
+
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
|
157
|
+
options: localVarRequestOptions,
|
|
158
|
+
};
|
|
159
|
+
},
|
|
160
|
+
/**
|
|
161
|
+
* Get the license associated with a pool
|
|
162
|
+
* @summary Get Pool License
|
|
163
|
+
* @param {string} poolId
|
|
164
|
+
* @param {*} [options] Override http request option.
|
|
165
|
+
* @throws {RequiredError}
|
|
166
|
+
*/
|
|
167
|
+
getPoolLicense: async (poolId: string, options: any = {}): Promise<RequestArgs> => {
|
|
168
|
+
// verify required parameter 'poolId' is not null or undefined
|
|
169
|
+
if (poolId === null || poolId === undefined) {
|
|
170
|
+
throw new RequiredError('poolId','Required parameter poolId was null or undefined when calling getPoolLicense.');
|
|
171
|
+
}
|
|
172
|
+
const localVarPath = `/licenses/pools/{pool_id}/license`
|
|
173
|
+
.replace(`{${"pool_id"}}`, encodeURIComponent(String(poolId)));
|
|
174
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
175
|
+
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
176
|
+
let baseOptions;
|
|
177
|
+
if (configuration) {
|
|
178
|
+
baseOptions = configuration.baseOptions;
|
|
179
|
+
}
|
|
180
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
181
|
+
const localVarHeaderParameter = {} as any;
|
|
182
|
+
const localVarQueryParameter = {} as any;
|
|
183
|
+
|
|
184
|
+
// authentication APIKeyAuth required
|
|
185
|
+
if (configuration && configuration.apiKey) {
|
|
186
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
187
|
+
? await configuration.apiKey("x-pollination-token")
|
|
188
|
+
: await configuration.apiKey;
|
|
189
|
+
localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
// authentication JWTAuth required
|
|
193
|
+
// http bearer authentication required
|
|
194
|
+
if (configuration && configuration.accessToken) {
|
|
195
|
+
const accessToken = typeof configuration.accessToken === 'function'
|
|
196
|
+
? await configuration.accessToken()
|
|
197
|
+
: await configuration.accessToken;
|
|
198
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
const query = new URLSearchParams(localVarUrlObj.search);
|
|
204
|
+
for (const key in localVarQueryParameter) {
|
|
205
|
+
query.set(key, localVarQueryParameter[key]);
|
|
206
|
+
}
|
|
207
|
+
for (const key in options.query) {
|
|
208
|
+
query.set(key, options.query[key]);
|
|
209
|
+
}
|
|
210
|
+
localVarUrlObj.search = (new URLSearchParams(query)).toString();
|
|
211
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
212
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
213
|
+
|
|
214
|
+
return {
|
|
215
|
+
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
|
216
|
+
options: localVarRequestOptions,
|
|
217
|
+
};
|
|
218
|
+
},
|
|
219
|
+
/**
|
|
220
|
+
* Grant access to the license pool
|
|
221
|
+
* @summary Grant Pool Access
|
|
222
|
+
* @param {string} poolId
|
|
223
|
+
* @param {LicensePoolAccessPolicy} licensePoolAccessPolicy
|
|
224
|
+
* @param {*} [options] Override http request option.
|
|
225
|
+
* @throws {RequiredError}
|
|
226
|
+
*/
|
|
227
|
+
grantAccessToPool: async (poolId: string, licensePoolAccessPolicy: LicensePoolAccessPolicy, options: any = {}): Promise<RequestArgs> => {
|
|
228
|
+
// verify required parameter 'poolId' is not null or undefined
|
|
229
|
+
if (poolId === null || poolId === undefined) {
|
|
230
|
+
throw new RequiredError('poolId','Required parameter poolId was null or undefined when calling grantAccessToPool.');
|
|
231
|
+
}
|
|
232
|
+
// verify required parameter 'licensePoolAccessPolicy' is not null or undefined
|
|
233
|
+
if (licensePoolAccessPolicy === null || licensePoolAccessPolicy === undefined) {
|
|
234
|
+
throw new RequiredError('licensePoolAccessPolicy','Required parameter licensePoolAccessPolicy was null or undefined when calling grantAccessToPool.');
|
|
235
|
+
}
|
|
236
|
+
const localVarPath = `/licenses/pools/{pool_id}/permissions`
|
|
237
|
+
.replace(`{${"pool_id"}}`, encodeURIComponent(String(poolId)));
|
|
238
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
239
|
+
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
240
|
+
let baseOptions;
|
|
241
|
+
if (configuration) {
|
|
242
|
+
baseOptions = configuration.baseOptions;
|
|
243
|
+
}
|
|
244
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
245
|
+
const localVarHeaderParameter = {} as any;
|
|
246
|
+
const localVarQueryParameter = {} as any;
|
|
247
|
+
|
|
248
|
+
// authentication APIKeyAuth required
|
|
249
|
+
if (configuration && configuration.apiKey) {
|
|
250
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
251
|
+
? await configuration.apiKey("x-pollination-token")
|
|
252
|
+
: await configuration.apiKey;
|
|
253
|
+
localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
// authentication JWTAuth required
|
|
257
|
+
// http bearer authentication required
|
|
258
|
+
if (configuration && configuration.accessToken) {
|
|
259
|
+
const accessToken = typeof configuration.accessToken === 'function'
|
|
260
|
+
? await configuration.accessToken()
|
|
261
|
+
: await configuration.accessToken;
|
|
262
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
268
|
+
|
|
269
|
+
const query = new URLSearchParams(localVarUrlObj.search);
|
|
270
|
+
for (const key in localVarQueryParameter) {
|
|
271
|
+
query.set(key, localVarQueryParameter[key]);
|
|
272
|
+
}
|
|
273
|
+
for (const key in options.query) {
|
|
274
|
+
query.set(key, options.query[key]);
|
|
275
|
+
}
|
|
276
|
+
localVarUrlObj.search = (new URLSearchParams(query)).toString();
|
|
277
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
278
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
279
|
+
const needsSerialization = (typeof licensePoolAccessPolicy !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
280
|
+
localVarRequestOptions.data = needsSerialization ? JSON.stringify(licensePoolAccessPolicy !== undefined ? licensePoolAccessPolicy : {}) : (licensePoolAccessPolicy || "");
|
|
281
|
+
|
|
282
|
+
return {
|
|
283
|
+
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
|
284
|
+
options: localVarRequestOptions,
|
|
285
|
+
};
|
|
286
|
+
},
|
|
287
|
+
/**
|
|
288
|
+
* Revoke access to the license pool
|
|
289
|
+
* @summary Delete Pool Access
|
|
290
|
+
* @param {string} poolId
|
|
291
|
+
* @param {LicensePoolPolicySubject} licensePoolPolicySubject
|
|
292
|
+
* @param {*} [options] Override http request option.
|
|
293
|
+
* @throws {RequiredError}
|
|
294
|
+
*/
|
|
295
|
+
revokeAccessToPool: async (poolId: string, licensePoolPolicySubject: LicensePoolPolicySubject, options: any = {}): Promise<RequestArgs> => {
|
|
296
|
+
// verify required parameter 'poolId' is not null or undefined
|
|
297
|
+
if (poolId === null || poolId === undefined) {
|
|
298
|
+
throw new RequiredError('poolId','Required parameter poolId was null or undefined when calling revokeAccessToPool.');
|
|
299
|
+
}
|
|
300
|
+
// verify required parameter 'licensePoolPolicySubject' is not null or undefined
|
|
301
|
+
if (licensePoolPolicySubject === null || licensePoolPolicySubject === undefined) {
|
|
302
|
+
throw new RequiredError('licensePoolPolicySubject','Required parameter licensePoolPolicySubject was null or undefined when calling revokeAccessToPool.');
|
|
303
|
+
}
|
|
304
|
+
const localVarPath = `/licenses/pools/{pool_id}/permissions`
|
|
305
|
+
.replace(`{${"pool_id"}}`, encodeURIComponent(String(poolId)));
|
|
306
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
307
|
+
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
308
|
+
let baseOptions;
|
|
309
|
+
if (configuration) {
|
|
310
|
+
baseOptions = configuration.baseOptions;
|
|
311
|
+
}
|
|
312
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
313
|
+
const localVarHeaderParameter = {} as any;
|
|
314
|
+
const localVarQueryParameter = {} as any;
|
|
315
|
+
|
|
316
|
+
// authentication APIKeyAuth required
|
|
317
|
+
if (configuration && configuration.apiKey) {
|
|
318
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
319
|
+
? await configuration.apiKey("x-pollination-token")
|
|
320
|
+
: await configuration.apiKey;
|
|
321
|
+
localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
// authentication JWTAuth required
|
|
325
|
+
// http bearer authentication required
|
|
326
|
+
if (configuration && configuration.accessToken) {
|
|
327
|
+
const accessToken = typeof configuration.accessToken === 'function'
|
|
328
|
+
? await configuration.accessToken()
|
|
329
|
+
: await configuration.accessToken;
|
|
330
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
336
|
+
|
|
337
|
+
const query = new URLSearchParams(localVarUrlObj.search);
|
|
338
|
+
for (const key in localVarQueryParameter) {
|
|
339
|
+
query.set(key, localVarQueryParameter[key]);
|
|
340
|
+
}
|
|
341
|
+
for (const key in options.query) {
|
|
342
|
+
query.set(key, options.query[key]);
|
|
343
|
+
}
|
|
344
|
+
localVarUrlObj.search = (new URLSearchParams(query)).toString();
|
|
345
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
346
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
347
|
+
const needsSerialization = (typeof licensePoolPolicySubject !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
348
|
+
localVarRequestOptions.data = needsSerialization ? JSON.stringify(licensePoolPolicySubject !== undefined ? licensePoolPolicySubject : {}) : (licensePoolPolicySubject || "");
|
|
349
|
+
|
|
350
|
+
return {
|
|
351
|
+
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
|
352
|
+
options: localVarRequestOptions,
|
|
353
|
+
};
|
|
354
|
+
},
|
|
355
|
+
/**
|
|
356
|
+
* Update the license pool
|
|
357
|
+
* @summary Update Pool
|
|
358
|
+
* @param {string} poolId
|
|
359
|
+
* @param {LicensePoolUpdate} licensePoolUpdate
|
|
360
|
+
* @param {*} [options] Override http request option.
|
|
361
|
+
* @throws {RequiredError}
|
|
362
|
+
*/
|
|
363
|
+
updateLicensePool: async (poolId: string, licensePoolUpdate: LicensePoolUpdate, options: any = {}): Promise<RequestArgs> => {
|
|
364
|
+
// verify required parameter 'poolId' is not null or undefined
|
|
365
|
+
if (poolId === null || poolId === undefined) {
|
|
366
|
+
throw new RequiredError('poolId','Required parameter poolId was null or undefined when calling updateLicensePool.');
|
|
367
|
+
}
|
|
368
|
+
// verify required parameter 'licensePoolUpdate' is not null or undefined
|
|
369
|
+
if (licensePoolUpdate === null || licensePoolUpdate === undefined) {
|
|
370
|
+
throw new RequiredError('licensePoolUpdate','Required parameter licensePoolUpdate was null or undefined when calling updateLicensePool.');
|
|
371
|
+
}
|
|
372
|
+
const localVarPath = `/licenses/pools/{pool_id}`
|
|
373
|
+
.replace(`{${"pool_id"}}`, encodeURIComponent(String(poolId)));
|
|
374
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
375
|
+
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
376
|
+
let baseOptions;
|
|
377
|
+
if (configuration) {
|
|
378
|
+
baseOptions = configuration.baseOptions;
|
|
379
|
+
}
|
|
380
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
381
|
+
const localVarHeaderParameter = {} as any;
|
|
382
|
+
const localVarQueryParameter = {} as any;
|
|
383
|
+
|
|
384
|
+
// authentication APIKeyAuth required
|
|
385
|
+
if (configuration && configuration.apiKey) {
|
|
386
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
387
|
+
? await configuration.apiKey("x-pollination-token")
|
|
388
|
+
: await configuration.apiKey;
|
|
389
|
+
localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
// authentication JWTAuth required
|
|
393
|
+
// http bearer authentication required
|
|
394
|
+
if (configuration && configuration.accessToken) {
|
|
395
|
+
const accessToken = typeof configuration.accessToken === 'function'
|
|
396
|
+
? await configuration.accessToken()
|
|
397
|
+
: await configuration.accessToken;
|
|
398
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
404
|
+
|
|
405
|
+
const query = new URLSearchParams(localVarUrlObj.search);
|
|
406
|
+
for (const key in localVarQueryParameter) {
|
|
407
|
+
query.set(key, localVarQueryParameter[key]);
|
|
408
|
+
}
|
|
409
|
+
for (const key in options.query) {
|
|
410
|
+
query.set(key, options.query[key]);
|
|
411
|
+
}
|
|
412
|
+
localVarUrlObj.search = (new URLSearchParams(query)).toString();
|
|
413
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
414
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
415
|
+
const needsSerialization = (typeof licensePoolUpdate !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
416
|
+
localVarRequestOptions.data = needsSerialization ? JSON.stringify(licensePoolUpdate !== undefined ? licensePoolUpdate : {}) : (licensePoolUpdate || "");
|
|
417
|
+
|
|
418
|
+
return {
|
|
419
|
+
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
|
420
|
+
options: localVarRequestOptions,
|
|
421
|
+
};
|
|
422
|
+
},
|
|
423
|
+
}
|
|
424
|
+
};
|
|
425
|
+
|
|
426
|
+
/**
|
|
427
|
+
* LicensesApi - functional programming interface
|
|
428
|
+
* @export
|
|
429
|
+
*/
|
|
430
|
+
export const LicensesApiFp = function(configuration?: Configuration) {
|
|
431
|
+
return {
|
|
432
|
+
/**
|
|
433
|
+
* Get license pools available to authenticated user
|
|
434
|
+
* @summary Get Available Pools
|
|
435
|
+
* @param {Array<string>} [owner] Owner of the project
|
|
436
|
+
* @param {*} [options] Override http request option.
|
|
437
|
+
* @throws {RequiredError}
|
|
438
|
+
*/
|
|
439
|
+
async getAvailablePools(owner?: Array<string>, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LicensePoolList>> {
|
|
440
|
+
const localVarAxiosArgs = await LicensesApiAxiosParamCreator(configuration).getAvailablePools(owner, options);
|
|
441
|
+
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
442
|
+
const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
|
443
|
+
return axios.request(axiosRequestArgs);
|
|
444
|
+
};
|
|
445
|
+
},
|
|
446
|
+
/**
|
|
447
|
+
* Get the activations for the license
|
|
448
|
+
* @summary Get Activations
|
|
449
|
+
* @param {string} poolId
|
|
450
|
+
* @param {*} [options] Override http request option.
|
|
451
|
+
* @throws {RequiredError}
|
|
452
|
+
*/
|
|
453
|
+
async getLicenseActivations(poolId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ActivationList>> {
|
|
454
|
+
const localVarAxiosArgs = await LicensesApiAxiosParamCreator(configuration).getLicenseActivations(poolId, options);
|
|
455
|
+
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
456
|
+
const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
|
457
|
+
return axios.request(axiosRequestArgs);
|
|
458
|
+
};
|
|
459
|
+
},
|
|
460
|
+
/**
|
|
461
|
+
* Get the license associated with a pool
|
|
462
|
+
* @summary Get Pool License
|
|
463
|
+
* @param {string} poolId
|
|
464
|
+
* @param {*} [options] Override http request option.
|
|
465
|
+
* @throws {RequiredError}
|
|
466
|
+
*/
|
|
467
|
+
async getPoolLicense(poolId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LicensePublic>> {
|
|
468
|
+
const localVarAxiosArgs = await LicensesApiAxiosParamCreator(configuration).getPoolLicense(poolId, options);
|
|
469
|
+
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
470
|
+
const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
|
471
|
+
return axios.request(axiosRequestArgs);
|
|
472
|
+
};
|
|
473
|
+
},
|
|
474
|
+
/**
|
|
475
|
+
* Grant access to the license pool
|
|
476
|
+
* @summary Grant Pool Access
|
|
477
|
+
* @param {string} poolId
|
|
478
|
+
* @param {LicensePoolAccessPolicy} licensePoolAccessPolicy
|
|
479
|
+
* @param {*} [options] Override http request option.
|
|
480
|
+
* @throws {RequiredError}
|
|
481
|
+
*/
|
|
482
|
+
async grantAccessToPool(poolId: string, licensePoolAccessPolicy: LicensePoolAccessPolicy, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LicensePoolPublic>> {
|
|
483
|
+
const localVarAxiosArgs = await LicensesApiAxiosParamCreator(configuration).grantAccessToPool(poolId, licensePoolAccessPolicy, options);
|
|
484
|
+
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
485
|
+
const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
|
486
|
+
return axios.request(axiosRequestArgs);
|
|
487
|
+
};
|
|
488
|
+
},
|
|
489
|
+
/**
|
|
490
|
+
* Revoke access to the license pool
|
|
491
|
+
* @summary Delete Pool Access
|
|
492
|
+
* @param {string} poolId
|
|
493
|
+
* @param {LicensePoolPolicySubject} licensePoolPolicySubject
|
|
494
|
+
* @param {*} [options] Override http request option.
|
|
495
|
+
* @throws {RequiredError}
|
|
496
|
+
*/
|
|
497
|
+
async revokeAccessToPool(poolId: string, licensePoolPolicySubject: LicensePoolPolicySubject, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LicensePoolPublic>> {
|
|
498
|
+
const localVarAxiosArgs = await LicensesApiAxiosParamCreator(configuration).revokeAccessToPool(poolId, licensePoolPolicySubject, options);
|
|
499
|
+
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
500
|
+
const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
|
501
|
+
return axios.request(axiosRequestArgs);
|
|
502
|
+
};
|
|
503
|
+
},
|
|
504
|
+
/**
|
|
505
|
+
* Update the license pool
|
|
506
|
+
* @summary Update Pool
|
|
507
|
+
* @param {string} poolId
|
|
508
|
+
* @param {LicensePoolUpdate} licensePoolUpdate
|
|
509
|
+
* @param {*} [options] Override http request option.
|
|
510
|
+
* @throws {RequiredError}
|
|
511
|
+
*/
|
|
512
|
+
async updateLicensePool(poolId: string, licensePoolUpdate: LicensePoolUpdate, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>> {
|
|
513
|
+
const localVarAxiosArgs = await LicensesApiAxiosParamCreator(configuration).updateLicensePool(poolId, licensePoolUpdate, options);
|
|
514
|
+
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
515
|
+
const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
|
516
|
+
return axios.request(axiosRequestArgs);
|
|
517
|
+
};
|
|
518
|
+
},
|
|
519
|
+
}
|
|
520
|
+
};
|
|
521
|
+
|
|
522
|
+
/**
|
|
523
|
+
* LicensesApi - factory interface
|
|
524
|
+
* @export
|
|
525
|
+
*/
|
|
526
|
+
export const LicensesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
527
|
+
return {
|
|
528
|
+
/**
|
|
529
|
+
* Get license pools available to authenticated user
|
|
530
|
+
* @summary Get Available Pools
|
|
531
|
+
* @param {Array<string>} [owner] Owner of the project
|
|
532
|
+
* @param {*} [options] Override http request option.
|
|
533
|
+
* @throws {RequiredError}
|
|
534
|
+
*/
|
|
535
|
+
getAvailablePools(owner?: Array<string>, options?: any): AxiosPromise<LicensePoolList> {
|
|
536
|
+
return LicensesApiFp(configuration).getAvailablePools(owner, options).then((request) => request(axios, basePath));
|
|
537
|
+
},
|
|
538
|
+
/**
|
|
539
|
+
* Get the activations for the license
|
|
540
|
+
* @summary Get Activations
|
|
541
|
+
* @param {string} poolId
|
|
542
|
+
* @param {*} [options] Override http request option.
|
|
543
|
+
* @throws {RequiredError}
|
|
544
|
+
*/
|
|
545
|
+
getLicenseActivations(poolId: string, options?: any): AxiosPromise<ActivationList> {
|
|
546
|
+
return LicensesApiFp(configuration).getLicenseActivations(poolId, options).then((request) => request(axios, basePath));
|
|
547
|
+
},
|
|
548
|
+
/**
|
|
549
|
+
* Get the license associated with a pool
|
|
550
|
+
* @summary Get Pool License
|
|
551
|
+
* @param {string} poolId
|
|
552
|
+
* @param {*} [options] Override http request option.
|
|
553
|
+
* @throws {RequiredError}
|
|
554
|
+
*/
|
|
555
|
+
getPoolLicense(poolId: string, options?: any): AxiosPromise<LicensePublic> {
|
|
556
|
+
return LicensesApiFp(configuration).getPoolLicense(poolId, options).then((request) => request(axios, basePath));
|
|
557
|
+
},
|
|
558
|
+
/**
|
|
559
|
+
* Grant access to the license pool
|
|
560
|
+
* @summary Grant Pool Access
|
|
561
|
+
* @param {string} poolId
|
|
562
|
+
* @param {LicensePoolAccessPolicy} licensePoolAccessPolicy
|
|
563
|
+
* @param {*} [options] Override http request option.
|
|
564
|
+
* @throws {RequiredError}
|
|
565
|
+
*/
|
|
566
|
+
grantAccessToPool(poolId: string, licensePoolAccessPolicy: LicensePoolAccessPolicy, options?: any): AxiosPromise<LicensePoolPublic> {
|
|
567
|
+
return LicensesApiFp(configuration).grantAccessToPool(poolId, licensePoolAccessPolicy, options).then((request) => request(axios, basePath));
|
|
568
|
+
},
|
|
569
|
+
/**
|
|
570
|
+
* Revoke access to the license pool
|
|
571
|
+
* @summary Delete Pool Access
|
|
572
|
+
* @param {string} poolId
|
|
573
|
+
* @param {LicensePoolPolicySubject} licensePoolPolicySubject
|
|
574
|
+
* @param {*} [options] Override http request option.
|
|
575
|
+
* @throws {RequiredError}
|
|
576
|
+
*/
|
|
577
|
+
revokeAccessToPool(poolId: string, licensePoolPolicySubject: LicensePoolPolicySubject, options?: any): AxiosPromise<LicensePoolPublic> {
|
|
578
|
+
return LicensesApiFp(configuration).revokeAccessToPool(poolId, licensePoolPolicySubject, options).then((request) => request(axios, basePath));
|
|
579
|
+
},
|
|
580
|
+
/**
|
|
581
|
+
* Update the license pool
|
|
582
|
+
* @summary Update Pool
|
|
583
|
+
* @param {string} poolId
|
|
584
|
+
* @param {LicensePoolUpdate} licensePoolUpdate
|
|
585
|
+
* @param {*} [options] Override http request option.
|
|
586
|
+
* @throws {RequiredError}
|
|
587
|
+
*/
|
|
588
|
+
updateLicensePool(poolId: string, licensePoolUpdate: LicensePoolUpdate, options?: any): AxiosPromise<any> {
|
|
589
|
+
return LicensesApiFp(configuration).updateLicensePool(poolId, licensePoolUpdate, options).then((request) => request(axios, basePath));
|
|
590
|
+
},
|
|
591
|
+
};
|
|
592
|
+
};
|
|
593
|
+
|
|
594
|
+
/**
|
|
595
|
+
* Request parameters for getAvailablePools operation in LicensesApi.
|
|
596
|
+
* @export
|
|
597
|
+
* @interface LicensesApiGetAvailablePoolsRequest
|
|
598
|
+
*/
|
|
599
|
+
export interface LicensesApiGetAvailablePoolsRequest {
|
|
600
|
+
/**
|
|
601
|
+
* Owner of the project
|
|
602
|
+
* @type {Array<string>}
|
|
603
|
+
* @memberof LicensesApiGetAvailablePools
|
|
604
|
+
*/
|
|
605
|
+
readonly owner?: Array<string>
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
/**
|
|
609
|
+
* Request parameters for getLicenseActivations operation in LicensesApi.
|
|
610
|
+
* @export
|
|
611
|
+
* @interface LicensesApiGetLicenseActivationsRequest
|
|
612
|
+
*/
|
|
613
|
+
export interface LicensesApiGetLicenseActivationsRequest {
|
|
614
|
+
/**
|
|
615
|
+
*
|
|
616
|
+
* @type {string}
|
|
617
|
+
* @memberof LicensesApiGetLicenseActivations
|
|
618
|
+
*/
|
|
619
|
+
readonly poolId: string
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
/**
|
|
623
|
+
* Request parameters for getPoolLicense operation in LicensesApi.
|
|
624
|
+
* @export
|
|
625
|
+
* @interface LicensesApiGetPoolLicenseRequest
|
|
626
|
+
*/
|
|
627
|
+
export interface LicensesApiGetPoolLicenseRequest {
|
|
628
|
+
/**
|
|
629
|
+
*
|
|
630
|
+
* @type {string}
|
|
631
|
+
* @memberof LicensesApiGetPoolLicense
|
|
632
|
+
*/
|
|
633
|
+
readonly poolId: string
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
/**
|
|
637
|
+
* Request parameters for grantAccessToPool operation in LicensesApi.
|
|
638
|
+
* @export
|
|
639
|
+
* @interface LicensesApiGrantAccessToPoolRequest
|
|
640
|
+
*/
|
|
641
|
+
export interface LicensesApiGrantAccessToPoolRequest {
|
|
642
|
+
/**
|
|
643
|
+
*
|
|
644
|
+
* @type {string}
|
|
645
|
+
* @memberof LicensesApiGrantAccessToPool
|
|
646
|
+
*/
|
|
647
|
+
readonly poolId: string
|
|
648
|
+
|
|
649
|
+
/**
|
|
650
|
+
*
|
|
651
|
+
* @type {LicensePoolAccessPolicy}
|
|
652
|
+
* @memberof LicensesApiGrantAccessToPool
|
|
653
|
+
*/
|
|
654
|
+
readonly licensePoolAccessPolicy: LicensePoolAccessPolicy
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
/**
|
|
658
|
+
* Request parameters for revokeAccessToPool operation in LicensesApi.
|
|
659
|
+
* @export
|
|
660
|
+
* @interface LicensesApiRevokeAccessToPoolRequest
|
|
661
|
+
*/
|
|
662
|
+
export interface LicensesApiRevokeAccessToPoolRequest {
|
|
663
|
+
/**
|
|
664
|
+
*
|
|
665
|
+
* @type {string}
|
|
666
|
+
* @memberof LicensesApiRevokeAccessToPool
|
|
667
|
+
*/
|
|
668
|
+
readonly poolId: string
|
|
669
|
+
|
|
670
|
+
/**
|
|
671
|
+
*
|
|
672
|
+
* @type {LicensePoolPolicySubject}
|
|
673
|
+
* @memberof LicensesApiRevokeAccessToPool
|
|
674
|
+
*/
|
|
675
|
+
readonly licensePoolPolicySubject: LicensePoolPolicySubject
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
/**
|
|
679
|
+
* Request parameters for updateLicensePool operation in LicensesApi.
|
|
680
|
+
* @export
|
|
681
|
+
* @interface LicensesApiUpdateLicensePoolRequest
|
|
682
|
+
*/
|
|
683
|
+
export interface LicensesApiUpdateLicensePoolRequest {
|
|
684
|
+
/**
|
|
685
|
+
*
|
|
686
|
+
* @type {string}
|
|
687
|
+
* @memberof LicensesApiUpdateLicensePool
|
|
688
|
+
*/
|
|
689
|
+
readonly poolId: string
|
|
690
|
+
|
|
691
|
+
/**
|
|
692
|
+
*
|
|
693
|
+
* @type {LicensePoolUpdate}
|
|
694
|
+
* @memberof LicensesApiUpdateLicensePool
|
|
695
|
+
*/
|
|
696
|
+
readonly licensePoolUpdate: LicensePoolUpdate
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
/**
|
|
700
|
+
* LicensesApi - object-oriented interface
|
|
701
|
+
* @export
|
|
702
|
+
* @class LicensesApi
|
|
703
|
+
* @extends {BaseAPI}
|
|
704
|
+
*/
|
|
705
|
+
export class LicensesApi extends BaseAPI {
|
|
706
|
+
/**
|
|
707
|
+
* Get license pools available to authenticated user
|
|
708
|
+
* @summary Get Available Pools
|
|
709
|
+
* @param {LicensesApiGetAvailablePoolsRequest} requestParameters Request parameters.
|
|
710
|
+
* @param {*} [options] Override http request option.
|
|
711
|
+
* @throws {RequiredError}
|
|
712
|
+
* @memberof LicensesApi
|
|
713
|
+
*/
|
|
714
|
+
public getAvailablePools(requestParameters: LicensesApiGetAvailablePoolsRequest = {}, options?: any) {
|
|
715
|
+
return LicensesApiFp(this.configuration).getAvailablePools(requestParameters.owner, options).then((request) => request(this.axios, this.basePath));
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
/**
|
|
719
|
+
* Get the activations for the license
|
|
720
|
+
* @summary Get Activations
|
|
721
|
+
* @param {LicensesApiGetLicenseActivationsRequest} requestParameters Request parameters.
|
|
722
|
+
* @param {*} [options] Override http request option.
|
|
723
|
+
* @throws {RequiredError}
|
|
724
|
+
* @memberof LicensesApi
|
|
725
|
+
*/
|
|
726
|
+
public getLicenseActivations(requestParameters: LicensesApiGetLicenseActivationsRequest, options?: any) {
|
|
727
|
+
return LicensesApiFp(this.configuration).getLicenseActivations(requestParameters.poolId, options).then((request) => request(this.axios, this.basePath));
|
|
728
|
+
}
|
|
729
|
+
|
|
730
|
+
/**
|
|
731
|
+
* Get the license associated with a pool
|
|
732
|
+
* @summary Get Pool License
|
|
733
|
+
* @param {LicensesApiGetPoolLicenseRequest} requestParameters Request parameters.
|
|
734
|
+
* @param {*} [options] Override http request option.
|
|
735
|
+
* @throws {RequiredError}
|
|
736
|
+
* @memberof LicensesApi
|
|
737
|
+
*/
|
|
738
|
+
public getPoolLicense(requestParameters: LicensesApiGetPoolLicenseRequest, options?: any) {
|
|
739
|
+
return LicensesApiFp(this.configuration).getPoolLicense(requestParameters.poolId, options).then((request) => request(this.axios, this.basePath));
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
/**
|
|
743
|
+
* Grant access to the license pool
|
|
744
|
+
* @summary Grant Pool Access
|
|
745
|
+
* @param {LicensesApiGrantAccessToPoolRequest} requestParameters Request parameters.
|
|
746
|
+
* @param {*} [options] Override http request option.
|
|
747
|
+
* @throws {RequiredError}
|
|
748
|
+
* @memberof LicensesApi
|
|
749
|
+
*/
|
|
750
|
+
public grantAccessToPool(requestParameters: LicensesApiGrantAccessToPoolRequest, options?: any) {
|
|
751
|
+
return LicensesApiFp(this.configuration).grantAccessToPool(requestParameters.poolId, requestParameters.licensePoolAccessPolicy, options).then((request) => request(this.axios, this.basePath));
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
/**
|
|
755
|
+
* Revoke access to the license pool
|
|
756
|
+
* @summary Delete Pool Access
|
|
757
|
+
* @param {LicensesApiRevokeAccessToPoolRequest} requestParameters Request parameters.
|
|
758
|
+
* @param {*} [options] Override http request option.
|
|
759
|
+
* @throws {RequiredError}
|
|
760
|
+
* @memberof LicensesApi
|
|
761
|
+
*/
|
|
762
|
+
public revokeAccessToPool(requestParameters: LicensesApiRevokeAccessToPoolRequest, options?: any) {
|
|
763
|
+
return LicensesApiFp(this.configuration).revokeAccessToPool(requestParameters.poolId, requestParameters.licensePoolPolicySubject, options).then((request) => request(this.axios, this.basePath));
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
/**
|
|
767
|
+
* Update the license pool
|
|
768
|
+
* @summary Update Pool
|
|
769
|
+
* @param {LicensesApiUpdateLicensePoolRequest} requestParameters Request parameters.
|
|
770
|
+
* @param {*} [options] Override http request option.
|
|
771
|
+
* @throws {RequiredError}
|
|
772
|
+
* @memberof LicensesApi
|
|
773
|
+
*/
|
|
774
|
+
public updateLicensePool(requestParameters: LicensesApiUpdateLicensePoolRequest, options?: any) {
|
|
775
|
+
return LicensesApiFp(this.configuration).updateLicensePool(requestParameters.poolId, requestParameters.licensePoolUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
776
|
+
}
|
|
777
|
+
}
|