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