@pollination-solutions/pollination-sdk 0.21.1 → 0.24.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 +10 -2
- 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 +512 -37
- package/api/orgs-api.ts +1 -1
- package/api/payments-api.ts +110 -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 +110 -1
- package/api/teams-api.ts +1 -1
- package/api/user-api.ts +1 -1
- package/api/users-api.ts +1 -1
- package/api.ts +1 -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 +227 -22
- package/dist/api/licenses-api.js +407 -29
- package/dist/api/orgs-api.d.ts +1 -1
- package/dist/api/orgs-api.js +1 -1
- package/dist/api/payments-api.d.ts +47 -1
- package/dist/api/payments-api.js +91 -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 +47 -1
- package/dist/api/subscriptions-api.js +91 -1
- package/dist/api/teams-api.d.ts +1 -1
- package/dist/api/teams-api.js +1 -1
- package/dist/api/user-api.d.ts +1 -1
- package/dist/api/user-api.js +1 -1
- package/dist/api/users-api.d.ts +1 -1
- package/dist/api/users-api.js +1 -1
- package/dist/api.d.ts +1 -1
- package/dist/api.js +1 -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 +33 -0
- package/dist/models/{subscription-item-public-list.js → accessor.js} +1 -1
- package/dist/models/account-public.d.ts +1 -1
- package/dist/models/account-public.js +1 -1
- package/dist/models/account-type.d.ts +1 -1
- package/dist/models/account-type.js +1 -1
- package/dist/models/activation-list.d.ts +25 -0
- package/dist/models/{subscription-item-public.js → activation-list.js} +1 -1
- package/dist/models/activation.d.ts +105 -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 +1 -1
- package/dist/models/coupon-duration.js +1 -1
- package/dist/models/coupon.d.ts +1 -1
- package/dist/models/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/{subscription-item-public.d.ts → delete-subscription-item.d.ts} +13 -7
- package/dist/models/delete-subscription-item.js +15 -0
- 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 +1 -1
- package/dist/models/discount-amount.js +1 -1
- package/dist/models/discount.d.ts +1 -1
- package/dist/models/discount.js +1 -1
- package/dist/models/docker-config.d.ts +1 -1
- package/dist/models/docker-config.js +1 -1
- package/dist/models/file-meta.d.ts +1 -1
- package/dist/models/file-meta.js +1 -1
- package/dist/models/file-reference.d.ts +1 -1
- package/dist/models/file-reference.js +1 -1
- package/dist/models/folder-reference.d.ts +1 -1
- package/dist/models/folder-reference.js +1 -1
- package/dist/models/function-array-input.d.ts +1 -1
- package/dist/models/function-array-input.js +1 -1
- package/dist/models/function-array-output.d.ts +1 -1
- package/dist/models/function-array-output.js +1 -1
- package/dist/models/function-boolean-input.d.ts +1 -1
- package/dist/models/function-boolean-input.js +1 -1
- package/dist/models/function-boolean-output.d.ts +1 -1
- package/dist/models/function-boolean-output.js +1 -1
- package/dist/models/function-file-input.d.ts +1 -1
- package/dist/models/function-file-input.js +1 -1
- package/dist/models/function-file-output.d.ts +1 -1
- package/dist/models/function-file-output.js +1 -1
- package/dist/models/function-folder-input.d.ts +1 -1
- package/dist/models/function-folder-input.js +1 -1
- package/dist/models/function-folder-output.d.ts +1 -1
- package/dist/models/function-folder-output.js +1 -1
- package/dist/models/function-integer-input.d.ts +1 -1
- package/dist/models/function-integer-input.js +1 -1
- package/dist/models/function-integer-output.d.ts +1 -1
- package/dist/models/function-integer-output.js +1 -1
- package/dist/models/function-jsonobject-input.d.ts +1 -1
- package/dist/models/function-jsonobject-input.js +1 -1
- package/dist/models/function-jsonobject-output.d.ts +1 -1
- package/dist/models/function-jsonobject-output.js +1 -1
- package/dist/models/function-number-input.d.ts +1 -1
- package/dist/models/function-number-input.js +1 -1
- package/dist/models/function-number-output.d.ts +1 -1
- package/dist/models/function-number-output.js +1 -1
- package/dist/models/function-path-input.d.ts +1 -1
- package/dist/models/function-path-input.js +1 -1
- package/dist/models/function-path-output.d.ts +1 -1
- package/dist/models/function-path-output.js +1 -1
- package/dist/models/function-string-input.d.ts +1 -1
- package/dist/models/function-string-input.js +1 -1
- package/dist/models/function-string-output.d.ts +1 -1
- package/dist/models/function-string-output.js +1 -1
- package/dist/models/function.d.ts +1 -1
- package/dist/models/function.js +1 -1
- package/dist/models/http.d.ts +1 -1
- package/dist/models/http.js +1 -1
- package/dist/models/httpvalidation-error.d.ts +1 -1
- package/dist/models/httpvalidation-error.js +1 -1
- package/dist/models/index.d.ts +10 -2
- package/dist/models/index.js +10 -2
- 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 +1 -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 +1 -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 +1 -1
- package/dist/models/license-pool-access-policy.js +1 -1
- 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 +1 -1
- package/dist/models/license-pool-policy-subject.js +1 -1
- package/dist/models/license-pool-public.d.ts +28 -4
- package/dist/models/license-pool-public.js +1 -1
- 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 +2 -2
- package/dist/models/license-public.js +1 -1
- package/dist/models/license-type.d.ts +1 -1
- package/dist/models/license-type.js +1 -1
- package/dist/models/license.d.ts +1 -1
- package/dist/models/license.js +1 -1
- package/dist/models/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 +1 -1
- package/dist/models/metadata.js +1 -1
- 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-list.d.ts +32 -0
- package/dist/models/subscription-item-list.js +15 -0
- 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 +1 -1
- package/dist/models/subscription-update.js +1 -1
- package/dist/models/subscription.d.ts +4 -4
- 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 +40 -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 +112 -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 +1 -1
- package/models/coupon.ts +1 -1
- package/models/created-content.ts +1 -1
- package/models/dag.ts +1 -1
- package/models/dagarray-input-alias.ts +1 -1
- package/models/dagarray-input.ts +1 -1
- package/models/dagarray-output-alias.ts +1 -1
- package/models/dagarray-output.ts +1 -1
- package/models/dagboolean-input-alias.ts +1 -1
- package/models/dagboolean-input.ts +1 -1
- package/models/dagboolean-output-alias.ts +1 -1
- package/models/dagboolean-output.ts +1 -1
- package/models/dagfile-input-alias.ts +1 -1
- package/models/dagfile-input.ts +1 -1
- package/models/dagfile-output-alias.ts +1 -1
- package/models/dagfile-output.ts +1 -1
- package/models/dagfolder-input-alias.ts +1 -1
- package/models/dagfolder-input.ts +1 -1
- package/models/dagfolder-output-alias.ts +1 -1
- package/models/dagfolder-output.ts +1 -1
- package/models/daggeneric-input-alias.ts +1 -1
- package/models/daggeneric-input.ts +1 -1
- package/models/daggeneric-output-alias.ts +1 -1
- package/models/daggeneric-output.ts +1 -1
- package/models/daginteger-input-alias.ts +1 -1
- package/models/daginteger-input.ts +1 -1
- package/models/daginteger-output-alias.ts +1 -1
- package/models/daginteger-output.ts +1 -1
- package/models/dagjsonobject-input-alias.ts +1 -1
- package/models/dagjsonobject-input.ts +1 -1
- package/models/dagjsonobject-output-alias.ts +1 -1
- package/models/dagjsonobject-output.ts +1 -1
- package/models/daglinked-input-alias.ts +1 -1
- package/models/daglinked-output-alias.ts +1 -1
- package/models/dagnumber-input-alias.ts +1 -1
- package/models/dagnumber-input.ts +1 -1
- package/models/dagnumber-output-alias.ts +1 -1
- package/models/dagnumber-output.ts +1 -1
- package/models/dagpath-input-alias.ts +1 -1
- package/models/dagpath-input.ts +1 -1
- package/models/dagpath-output-alias.ts +1 -1
- package/models/dagpath-output.ts +1 -1
- package/models/dagstring-input-alias.ts +1 -1
- package/models/dagstring-input.ts +1 -1
- package/models/dagstring-output-alias.ts +1 -1
- package/models/dagstring-output.ts +1 -1
- package/models/dagtask-loop.ts +1 -1
- package/models/dagtask.ts +1 -1
- package/models/daily-usage.ts +1 -1
- package/models/{subscription-item-public.ts → delete-subscription-item.ts} +13 -7
- package/models/dependency-kind.ts +1 -1
- package/models/dependency.ts +1 -1
- package/models/discount-amount.ts +1 -1
- package/models/discount.ts +1 -1
- package/models/docker-config.ts +1 -1
- package/models/file-meta.ts +1 -1
- package/models/file-reference.ts +1 -1
- package/models/folder-reference.ts +1 -1
- package/models/function-array-input.ts +1 -1
- package/models/function-array-output.ts +1 -1
- package/models/function-boolean-input.ts +1 -1
- package/models/function-boolean-output.ts +1 -1
- package/models/function-file-input.ts +1 -1
- package/models/function-file-output.ts +1 -1
- package/models/function-folder-input.ts +1 -1
- package/models/function-folder-output.ts +1 -1
- package/models/function-integer-input.ts +1 -1
- package/models/function-integer-output.ts +1 -1
- package/models/function-jsonobject-input.ts +1 -1
- package/models/function-jsonobject-output.ts +1 -1
- package/models/function-number-input.ts +1 -1
- package/models/function-number-output.ts +1 -1
- package/models/function-path-input.ts +1 -1
- package/models/function-path-output.ts +1 -1
- package/models/function-string-input.ts +1 -1
- package/models/function-string-output.ts +1 -1
- package/models/function.ts +1 -1
- package/models/http.ts +1 -1
- package/models/httpvalidation-error.ts +1 -1
- package/models/index.ts +10 -2
- 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 +1 -1
- package/models/invoice-status-transitions.ts +1 -1
- package/models/invoice-status.ts +1 -1
- package/models/invoice.ts +1 -1
- package/models/ioalias-handler.ts +1 -1
- package/models/item-reference.ts +1 -1
- package/models/item-type.ts +1 -1
- package/models/job-argument.ts +1 -1
- package/models/job-path-argument.ts +1 -1
- package/models/job-status-enum.ts +1 -1
- package/models/job-status.ts +1 -1
- package/models/job.ts +1 -1
- package/models/key-request.ts +1 -1
- package/models/license-pool-access-policy-list.ts +32 -0
- package/models/license-pool-access-policy.ts +1 -1
- 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 +1 -1
- package/models/license-pool-public.ts +28 -4
- package/models/license-pool-update.ts +31 -0
- package/models/license-public.ts +2 -2
- package/models/license-type.ts +1 -1
- 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 +1 -1
- 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-list.ts +39 -0
- package/models/subscription-item.ts +1 -1
- package/models/subscription-plan.ts +1 -1
- package/models/subscription-update.ts +1 -1
- package/models/subscription.ts +4 -4
- 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
- package/dist/models/subscription-item-public-list.d.ts +0 -31
- package/models/subscription-item-public-list.ts +0 -38
package/api/licenses-api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* pollination-server
|
|
5
5
|
* Pollination Server OpenAPI Definition
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.24.0
|
|
8
8
|
* Contact: info@pollination.cloud
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -19,14 +19,20 @@ import { Configuration } from '../configuration';
|
|
|
19
19
|
// @ts-ignore
|
|
20
20
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
21
21
|
// @ts-ignore
|
|
22
|
+
import { ActivationList } from '../models';
|
|
23
|
+
// @ts-ignore
|
|
22
24
|
import { HTTPValidationError } from '../models';
|
|
23
25
|
// @ts-ignore
|
|
24
|
-
import {
|
|
26
|
+
import { LicensePoolAccessPolicyList } from '../models';
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
import { LicensePoolList } from '../models';
|
|
25
29
|
// @ts-ignore
|
|
26
|
-
import {
|
|
30
|
+
import { LicensePoolPolicySubjectList } from '../models';
|
|
27
31
|
// @ts-ignore
|
|
28
32
|
import { LicensePoolPublic } from '../models';
|
|
29
33
|
// @ts-ignore
|
|
34
|
+
import { LicensePoolUpdate } from '../models';
|
|
35
|
+
// @ts-ignore
|
|
30
36
|
import { LicensePublic } from '../models';
|
|
31
37
|
/**
|
|
32
38
|
* LicensesApi - axios parameter creator
|
|
@@ -34,6 +40,71 @@ import { LicensePublic } from '../models';
|
|
|
34
40
|
*/
|
|
35
41
|
export const LicensesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
36
42
|
return {
|
|
43
|
+
/**
|
|
44
|
+
* Delete the activation
|
|
45
|
+
* @summary Delete Activation
|
|
46
|
+
* @param {string} poolId
|
|
47
|
+
* @param {string} activationId
|
|
48
|
+
* @param {*} [options] Override http request option.
|
|
49
|
+
* @throws {RequiredError}
|
|
50
|
+
*/
|
|
51
|
+
deleteActivation: async (poolId: string, activationId: string, options: any = {}): Promise<RequestArgs> => {
|
|
52
|
+
// verify required parameter 'poolId' is not null or undefined
|
|
53
|
+
if (poolId === null || poolId === undefined) {
|
|
54
|
+
throw new RequiredError('poolId','Required parameter poolId was null or undefined when calling deleteActivation.');
|
|
55
|
+
}
|
|
56
|
+
// verify required parameter 'activationId' is not null or undefined
|
|
57
|
+
if (activationId === null || activationId === undefined) {
|
|
58
|
+
throw new RequiredError('activationId','Required parameter activationId was null or undefined when calling deleteActivation.');
|
|
59
|
+
}
|
|
60
|
+
const localVarPath = `/licenses/pools/{pool_id}/activations/{activation_id}`
|
|
61
|
+
.replace(`{${"pool_id"}}`, encodeURIComponent(String(poolId)))
|
|
62
|
+
.replace(`{${"activation_id"}}`, encodeURIComponent(String(activationId)));
|
|
63
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
64
|
+
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
65
|
+
let baseOptions;
|
|
66
|
+
if (configuration) {
|
|
67
|
+
baseOptions = configuration.baseOptions;
|
|
68
|
+
}
|
|
69
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
70
|
+
const localVarHeaderParameter = {} as any;
|
|
71
|
+
const localVarQueryParameter = {} as any;
|
|
72
|
+
|
|
73
|
+
// authentication APIKeyAuth required
|
|
74
|
+
if (configuration && configuration.apiKey) {
|
|
75
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
76
|
+
? await configuration.apiKey("x-pollination-token")
|
|
77
|
+
: await configuration.apiKey;
|
|
78
|
+
localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
// authentication JWTAuth required
|
|
82
|
+
// http bearer authentication required
|
|
83
|
+
if (configuration && configuration.accessToken) {
|
|
84
|
+
const accessToken = typeof configuration.accessToken === 'function'
|
|
85
|
+
? await configuration.accessToken()
|
|
86
|
+
: await configuration.accessToken;
|
|
87
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
const query = new URLSearchParams(localVarUrlObj.search);
|
|
93
|
+
for (const key in localVarQueryParameter) {
|
|
94
|
+
query.set(key, localVarQueryParameter[key]);
|
|
95
|
+
}
|
|
96
|
+
for (const key in options.query) {
|
|
97
|
+
query.set(key, options.query[key]);
|
|
98
|
+
}
|
|
99
|
+
localVarUrlObj.search = (new URLSearchParams(query)).toString();
|
|
100
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
101
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
102
|
+
|
|
103
|
+
return {
|
|
104
|
+
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
|
105
|
+
options: localVarRequestOptions,
|
|
106
|
+
};
|
|
107
|
+
},
|
|
37
108
|
/**
|
|
38
109
|
* Get license pools available to authenticated user
|
|
39
110
|
* @summary Get Available Pools
|
|
@@ -76,6 +147,65 @@ export const LicensesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
76
147
|
|
|
77
148
|
|
|
78
149
|
|
|
150
|
+
const query = new URLSearchParams(localVarUrlObj.search);
|
|
151
|
+
for (const key in localVarQueryParameter) {
|
|
152
|
+
query.set(key, localVarQueryParameter[key]);
|
|
153
|
+
}
|
|
154
|
+
for (const key in options.query) {
|
|
155
|
+
query.set(key, options.query[key]);
|
|
156
|
+
}
|
|
157
|
+
localVarUrlObj.search = (new URLSearchParams(query)).toString();
|
|
158
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
159
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
160
|
+
|
|
161
|
+
return {
|
|
162
|
+
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
|
163
|
+
options: localVarRequestOptions,
|
|
164
|
+
};
|
|
165
|
+
},
|
|
166
|
+
/**
|
|
167
|
+
* Get the activations for the license
|
|
168
|
+
* @summary Get Activations
|
|
169
|
+
* @param {string} poolId
|
|
170
|
+
* @param {*} [options] Override http request option.
|
|
171
|
+
* @throws {RequiredError}
|
|
172
|
+
*/
|
|
173
|
+
getLicenseActivations: async (poolId: string, options: any = {}): Promise<RequestArgs> => {
|
|
174
|
+
// verify required parameter 'poolId' is not null or undefined
|
|
175
|
+
if (poolId === null || poolId === undefined) {
|
|
176
|
+
throw new RequiredError('poolId','Required parameter poolId was null or undefined when calling getLicenseActivations.');
|
|
177
|
+
}
|
|
178
|
+
const localVarPath = `/licenses/pools/{pool_id}/activations`
|
|
179
|
+
.replace(`{${"pool_id"}}`, encodeURIComponent(String(poolId)));
|
|
180
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
181
|
+
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
182
|
+
let baseOptions;
|
|
183
|
+
if (configuration) {
|
|
184
|
+
baseOptions = configuration.baseOptions;
|
|
185
|
+
}
|
|
186
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
187
|
+
const localVarHeaderParameter = {} as any;
|
|
188
|
+
const localVarQueryParameter = {} as any;
|
|
189
|
+
|
|
190
|
+
// authentication APIKeyAuth required
|
|
191
|
+
if (configuration && configuration.apiKey) {
|
|
192
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
193
|
+
? await configuration.apiKey("x-pollination-token")
|
|
194
|
+
: await configuration.apiKey;
|
|
195
|
+
localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
// authentication JWTAuth required
|
|
199
|
+
// http bearer authentication required
|
|
200
|
+
if (configuration && configuration.accessToken) {
|
|
201
|
+
const accessToken = typeof configuration.accessToken === 'function'
|
|
202
|
+
? await configuration.accessToken()
|
|
203
|
+
: await configuration.accessToken;
|
|
204
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
|
|
79
209
|
const query = new URLSearchParams(localVarUrlObj.search);
|
|
80
210
|
for (const key in localVarQueryParameter) {
|
|
81
211
|
query.set(key, localVarQueryParameter[key]);
|
|
@@ -155,18 +285,18 @@ export const LicensesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
155
285
|
* Grant access to the license pool
|
|
156
286
|
* @summary Grant Pool Access
|
|
157
287
|
* @param {string} poolId
|
|
158
|
-
* @param {
|
|
288
|
+
* @param {LicensePoolAccessPolicyList} licensePoolAccessPolicyList
|
|
159
289
|
* @param {*} [options] Override http request option.
|
|
160
290
|
* @throws {RequiredError}
|
|
161
291
|
*/
|
|
162
|
-
grantAccessToPool: async (poolId: string,
|
|
292
|
+
grantAccessToPool: async (poolId: string, licensePoolAccessPolicyList: LicensePoolAccessPolicyList, options: any = {}): Promise<RequestArgs> => {
|
|
163
293
|
// verify required parameter 'poolId' is not null or undefined
|
|
164
294
|
if (poolId === null || poolId === undefined) {
|
|
165
295
|
throw new RequiredError('poolId','Required parameter poolId was null or undefined when calling grantAccessToPool.');
|
|
166
296
|
}
|
|
167
|
-
// verify required parameter '
|
|
168
|
-
if (
|
|
169
|
-
throw new RequiredError('
|
|
297
|
+
// verify required parameter 'licensePoolAccessPolicyList' is not null or undefined
|
|
298
|
+
if (licensePoolAccessPolicyList === null || licensePoolAccessPolicyList === undefined) {
|
|
299
|
+
throw new RequiredError('licensePoolAccessPolicyList','Required parameter licensePoolAccessPolicyList was null or undefined when calling grantAccessToPool.');
|
|
170
300
|
}
|
|
171
301
|
const localVarPath = `/licenses/pools/{pool_id}/permissions`
|
|
172
302
|
.replace(`{${"pool_id"}}`, encodeURIComponent(String(poolId)));
|
|
@@ -211,8 +341,67 @@ export const LicensesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
211
341
|
localVarUrlObj.search = (new URLSearchParams(query)).toString();
|
|
212
342
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
213
343
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
214
|
-
const needsSerialization = (typeof
|
|
215
|
-
localVarRequestOptions.data = needsSerialization ? JSON.stringify(
|
|
344
|
+
const needsSerialization = (typeof licensePoolAccessPolicyList !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
345
|
+
localVarRequestOptions.data = needsSerialization ? JSON.stringify(licensePoolAccessPolicyList !== undefined ? licensePoolAccessPolicyList : {}) : (licensePoolAccessPolicyList || "");
|
|
346
|
+
|
|
347
|
+
return {
|
|
348
|
+
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
|
349
|
+
options: localVarRequestOptions,
|
|
350
|
+
};
|
|
351
|
+
},
|
|
352
|
+
/**
|
|
353
|
+
* Regenerate the license associated with the pool
|
|
354
|
+
* @summary Regenerate
|
|
355
|
+
* @param {string} poolId
|
|
356
|
+
* @param {*} [options] Override http request option.
|
|
357
|
+
* @throws {RequiredError}
|
|
358
|
+
*/
|
|
359
|
+
regenerateLicensePool: async (poolId: string, options: any = {}): Promise<RequestArgs> => {
|
|
360
|
+
// verify required parameter 'poolId' is not null or undefined
|
|
361
|
+
if (poolId === null || poolId === undefined) {
|
|
362
|
+
throw new RequiredError('poolId','Required parameter poolId was null or undefined when calling regenerateLicensePool.');
|
|
363
|
+
}
|
|
364
|
+
const localVarPath = `/licenses/pools/{pool_id}/regenerate`
|
|
365
|
+
.replace(`{${"pool_id"}}`, encodeURIComponent(String(poolId)));
|
|
366
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
367
|
+
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
368
|
+
let baseOptions;
|
|
369
|
+
if (configuration) {
|
|
370
|
+
baseOptions = configuration.baseOptions;
|
|
371
|
+
}
|
|
372
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
373
|
+
const localVarHeaderParameter = {} as any;
|
|
374
|
+
const localVarQueryParameter = {} as any;
|
|
375
|
+
|
|
376
|
+
// authentication APIKeyAuth required
|
|
377
|
+
if (configuration && configuration.apiKey) {
|
|
378
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
379
|
+
? await configuration.apiKey("x-pollination-token")
|
|
380
|
+
: await configuration.apiKey;
|
|
381
|
+
localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
// authentication JWTAuth required
|
|
385
|
+
// http bearer authentication required
|
|
386
|
+
if (configuration && configuration.accessToken) {
|
|
387
|
+
const accessToken = typeof configuration.accessToken === 'function'
|
|
388
|
+
? await configuration.accessToken()
|
|
389
|
+
: await configuration.accessToken;
|
|
390
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
const query = new URLSearchParams(localVarUrlObj.search);
|
|
396
|
+
for (const key in localVarQueryParameter) {
|
|
397
|
+
query.set(key, localVarQueryParameter[key]);
|
|
398
|
+
}
|
|
399
|
+
for (const key in options.query) {
|
|
400
|
+
query.set(key, options.query[key]);
|
|
401
|
+
}
|
|
402
|
+
localVarUrlObj.search = (new URLSearchParams(query)).toString();
|
|
403
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
404
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
216
405
|
|
|
217
406
|
return {
|
|
218
407
|
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
|
@@ -223,18 +412,18 @@ export const LicensesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
223
412
|
* Revoke access to the license pool
|
|
224
413
|
* @summary Delete Pool Access
|
|
225
414
|
* @param {string} poolId
|
|
226
|
-
* @param {
|
|
415
|
+
* @param {LicensePoolPolicySubjectList} licensePoolPolicySubjectList
|
|
227
416
|
* @param {*} [options] Override http request option.
|
|
228
417
|
* @throws {RequiredError}
|
|
229
418
|
*/
|
|
230
|
-
revokeAccessToPool: async (poolId: string,
|
|
419
|
+
revokeAccessToPool: async (poolId: string, licensePoolPolicySubjectList: LicensePoolPolicySubjectList, options: any = {}): Promise<RequestArgs> => {
|
|
231
420
|
// verify required parameter 'poolId' is not null or undefined
|
|
232
421
|
if (poolId === null || poolId === undefined) {
|
|
233
422
|
throw new RequiredError('poolId','Required parameter poolId was null or undefined when calling revokeAccessToPool.');
|
|
234
423
|
}
|
|
235
|
-
// verify required parameter '
|
|
236
|
-
if (
|
|
237
|
-
throw new RequiredError('
|
|
424
|
+
// verify required parameter 'licensePoolPolicySubjectList' is not null or undefined
|
|
425
|
+
if (licensePoolPolicySubjectList === null || licensePoolPolicySubjectList === undefined) {
|
|
426
|
+
throw new RequiredError('licensePoolPolicySubjectList','Required parameter licensePoolPolicySubjectList was null or undefined when calling revokeAccessToPool.');
|
|
238
427
|
}
|
|
239
428
|
const localVarPath = `/licenses/pools/{pool_id}/permissions`
|
|
240
429
|
.replace(`{${"pool_id"}}`, encodeURIComponent(String(poolId)));
|
|
@@ -279,8 +468,76 @@ export const LicensesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
279
468
|
localVarUrlObj.search = (new URLSearchParams(query)).toString();
|
|
280
469
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
281
470
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
282
|
-
const needsSerialization = (typeof
|
|
283
|
-
localVarRequestOptions.data = needsSerialization ? JSON.stringify(
|
|
471
|
+
const needsSerialization = (typeof licensePoolPolicySubjectList !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
472
|
+
localVarRequestOptions.data = needsSerialization ? JSON.stringify(licensePoolPolicySubjectList !== undefined ? licensePoolPolicySubjectList : {}) : (licensePoolPolicySubjectList || "");
|
|
473
|
+
|
|
474
|
+
return {
|
|
475
|
+
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
|
476
|
+
options: localVarRequestOptions,
|
|
477
|
+
};
|
|
478
|
+
},
|
|
479
|
+
/**
|
|
480
|
+
* Update the license pool
|
|
481
|
+
* @summary Update Pool
|
|
482
|
+
* @param {string} poolId
|
|
483
|
+
* @param {LicensePoolUpdate} licensePoolUpdate
|
|
484
|
+
* @param {*} [options] Override http request option.
|
|
485
|
+
* @throws {RequiredError}
|
|
486
|
+
*/
|
|
487
|
+
updateLicensePool: async (poolId: string, licensePoolUpdate: LicensePoolUpdate, options: any = {}): Promise<RequestArgs> => {
|
|
488
|
+
// verify required parameter 'poolId' is not null or undefined
|
|
489
|
+
if (poolId === null || poolId === undefined) {
|
|
490
|
+
throw new RequiredError('poolId','Required parameter poolId was null or undefined when calling updateLicensePool.');
|
|
491
|
+
}
|
|
492
|
+
// verify required parameter 'licensePoolUpdate' is not null or undefined
|
|
493
|
+
if (licensePoolUpdate === null || licensePoolUpdate === undefined) {
|
|
494
|
+
throw new RequiredError('licensePoolUpdate','Required parameter licensePoolUpdate was null or undefined when calling updateLicensePool.');
|
|
495
|
+
}
|
|
496
|
+
const localVarPath = `/licenses/pools/{pool_id}`
|
|
497
|
+
.replace(`{${"pool_id"}}`, encodeURIComponent(String(poolId)));
|
|
498
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
499
|
+
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
500
|
+
let baseOptions;
|
|
501
|
+
if (configuration) {
|
|
502
|
+
baseOptions = configuration.baseOptions;
|
|
503
|
+
}
|
|
504
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
505
|
+
const localVarHeaderParameter = {} as any;
|
|
506
|
+
const localVarQueryParameter = {} as any;
|
|
507
|
+
|
|
508
|
+
// authentication APIKeyAuth required
|
|
509
|
+
if (configuration && configuration.apiKey) {
|
|
510
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
511
|
+
? await configuration.apiKey("x-pollination-token")
|
|
512
|
+
: await configuration.apiKey;
|
|
513
|
+
localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
// authentication JWTAuth required
|
|
517
|
+
// http bearer authentication required
|
|
518
|
+
if (configuration && configuration.accessToken) {
|
|
519
|
+
const accessToken = typeof configuration.accessToken === 'function'
|
|
520
|
+
? await configuration.accessToken()
|
|
521
|
+
: await configuration.accessToken;
|
|
522
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
|
|
526
|
+
|
|
527
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
528
|
+
|
|
529
|
+
const query = new URLSearchParams(localVarUrlObj.search);
|
|
530
|
+
for (const key in localVarQueryParameter) {
|
|
531
|
+
query.set(key, localVarQueryParameter[key]);
|
|
532
|
+
}
|
|
533
|
+
for (const key in options.query) {
|
|
534
|
+
query.set(key, options.query[key]);
|
|
535
|
+
}
|
|
536
|
+
localVarUrlObj.search = (new URLSearchParams(query)).toString();
|
|
537
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
538
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
539
|
+
const needsSerialization = (typeof licensePoolUpdate !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
540
|
+
localVarRequestOptions.data = needsSerialization ? JSON.stringify(licensePoolUpdate !== undefined ? licensePoolUpdate : {}) : (licensePoolUpdate || "");
|
|
284
541
|
|
|
285
542
|
return {
|
|
286
543
|
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
|
@@ -296,6 +553,21 @@ export const LicensesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
296
553
|
*/
|
|
297
554
|
export const LicensesApiFp = function(configuration?: Configuration) {
|
|
298
555
|
return {
|
|
556
|
+
/**
|
|
557
|
+
* Delete the activation
|
|
558
|
+
* @summary Delete Activation
|
|
559
|
+
* @param {string} poolId
|
|
560
|
+
* @param {string} activationId
|
|
561
|
+
* @param {*} [options] Override http request option.
|
|
562
|
+
* @throws {RequiredError}
|
|
563
|
+
*/
|
|
564
|
+
async deleteActivation(poolId: string, activationId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
565
|
+
const localVarAxiosArgs = await LicensesApiAxiosParamCreator(configuration).deleteActivation(poolId, activationId, options);
|
|
566
|
+
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
567
|
+
const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
|
568
|
+
return axios.request(axiosRequestArgs);
|
|
569
|
+
};
|
|
570
|
+
},
|
|
299
571
|
/**
|
|
300
572
|
* Get license pools available to authenticated user
|
|
301
573
|
* @summary Get Available Pools
|
|
@@ -303,13 +575,27 @@ export const LicensesApiFp = function(configuration?: Configuration) {
|
|
|
303
575
|
* @param {*} [options] Override http request option.
|
|
304
576
|
* @throws {RequiredError}
|
|
305
577
|
*/
|
|
306
|
-
async getAvailablePools(owner?: Array<string>, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
578
|
+
async getAvailablePools(owner?: Array<string>, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LicensePoolList>> {
|
|
307
579
|
const localVarAxiosArgs = await LicensesApiAxiosParamCreator(configuration).getAvailablePools(owner, options);
|
|
308
580
|
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
309
581
|
const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
|
310
582
|
return axios.request(axiosRequestArgs);
|
|
311
583
|
};
|
|
312
584
|
},
|
|
585
|
+
/**
|
|
586
|
+
* Get the activations for the license
|
|
587
|
+
* @summary Get Activations
|
|
588
|
+
* @param {string} poolId
|
|
589
|
+
* @param {*} [options] Override http request option.
|
|
590
|
+
* @throws {RequiredError}
|
|
591
|
+
*/
|
|
592
|
+
async getLicenseActivations(poolId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ActivationList>> {
|
|
593
|
+
const localVarAxiosArgs = await LicensesApiAxiosParamCreator(configuration).getLicenseActivations(poolId, options);
|
|
594
|
+
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
595
|
+
const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
|
596
|
+
return axios.request(axiosRequestArgs);
|
|
597
|
+
};
|
|
598
|
+
},
|
|
313
599
|
/**
|
|
314
600
|
* Get the license associated with a pool
|
|
315
601
|
* @summary Get Pool License
|
|
@@ -328,12 +614,26 @@ export const LicensesApiFp = function(configuration?: Configuration) {
|
|
|
328
614
|
* Grant access to the license pool
|
|
329
615
|
* @summary Grant Pool Access
|
|
330
616
|
* @param {string} poolId
|
|
331
|
-
* @param {
|
|
617
|
+
* @param {LicensePoolAccessPolicyList} licensePoolAccessPolicyList
|
|
332
618
|
* @param {*} [options] Override http request option.
|
|
333
619
|
* @throws {RequiredError}
|
|
334
620
|
*/
|
|
335
|
-
async grantAccessToPool(poolId: string,
|
|
336
|
-
const localVarAxiosArgs = await LicensesApiAxiosParamCreator(configuration).grantAccessToPool(poolId,
|
|
621
|
+
async grantAccessToPool(poolId: string, licensePoolAccessPolicyList: LicensePoolAccessPolicyList, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LicensePoolPublic>> {
|
|
622
|
+
const localVarAxiosArgs = await LicensesApiAxiosParamCreator(configuration).grantAccessToPool(poolId, licensePoolAccessPolicyList, options);
|
|
623
|
+
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
624
|
+
const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
|
625
|
+
return axios.request(axiosRequestArgs);
|
|
626
|
+
};
|
|
627
|
+
},
|
|
628
|
+
/**
|
|
629
|
+
* Regenerate the license associated with the pool
|
|
630
|
+
* @summary Regenerate
|
|
631
|
+
* @param {string} poolId
|
|
632
|
+
* @param {*} [options] Override http request option.
|
|
633
|
+
* @throws {RequiredError}
|
|
634
|
+
*/
|
|
635
|
+
async regenerateLicensePool(poolId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>> {
|
|
636
|
+
const localVarAxiosArgs = await LicensesApiAxiosParamCreator(configuration).regenerateLicensePool(poolId, options);
|
|
337
637
|
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
338
638
|
const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
|
339
639
|
return axios.request(axiosRequestArgs);
|
|
@@ -343,12 +643,27 @@ export const LicensesApiFp = function(configuration?: Configuration) {
|
|
|
343
643
|
* Revoke access to the license pool
|
|
344
644
|
* @summary Delete Pool Access
|
|
345
645
|
* @param {string} poolId
|
|
346
|
-
* @param {
|
|
646
|
+
* @param {LicensePoolPolicySubjectList} licensePoolPolicySubjectList
|
|
647
|
+
* @param {*} [options] Override http request option.
|
|
648
|
+
* @throws {RequiredError}
|
|
649
|
+
*/
|
|
650
|
+
async revokeAccessToPool(poolId: string, licensePoolPolicySubjectList: LicensePoolPolicySubjectList, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LicensePoolPublic>> {
|
|
651
|
+
const localVarAxiosArgs = await LicensesApiAxiosParamCreator(configuration).revokeAccessToPool(poolId, licensePoolPolicySubjectList, options);
|
|
652
|
+
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
653
|
+
const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
|
654
|
+
return axios.request(axiosRequestArgs);
|
|
655
|
+
};
|
|
656
|
+
},
|
|
657
|
+
/**
|
|
658
|
+
* Update the license pool
|
|
659
|
+
* @summary Update Pool
|
|
660
|
+
* @param {string} poolId
|
|
661
|
+
* @param {LicensePoolUpdate} licensePoolUpdate
|
|
347
662
|
* @param {*} [options] Override http request option.
|
|
348
663
|
* @throws {RequiredError}
|
|
349
664
|
*/
|
|
350
|
-
async
|
|
351
|
-
const localVarAxiosArgs = await LicensesApiAxiosParamCreator(configuration).
|
|
665
|
+
async updateLicensePool(poolId: string, licensePoolUpdate: LicensePoolUpdate, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>> {
|
|
666
|
+
const localVarAxiosArgs = await LicensesApiAxiosParamCreator(configuration).updateLicensePool(poolId, licensePoolUpdate, options);
|
|
352
667
|
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
353
668
|
const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
|
354
669
|
return axios.request(axiosRequestArgs);
|
|
@@ -363,6 +678,17 @@ export const LicensesApiFp = function(configuration?: Configuration) {
|
|
|
363
678
|
*/
|
|
364
679
|
export const LicensesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
365
680
|
return {
|
|
681
|
+
/**
|
|
682
|
+
* Delete the activation
|
|
683
|
+
* @summary Delete Activation
|
|
684
|
+
* @param {string} poolId
|
|
685
|
+
* @param {string} activationId
|
|
686
|
+
* @param {*} [options] Override http request option.
|
|
687
|
+
* @throws {RequiredError}
|
|
688
|
+
*/
|
|
689
|
+
deleteActivation(poolId: string, activationId: string, options?: any): AxiosPromise<void> {
|
|
690
|
+
return LicensesApiFp(configuration).deleteActivation(poolId, activationId, options).then((request) => request(axios, basePath));
|
|
691
|
+
},
|
|
366
692
|
/**
|
|
367
693
|
* Get license pools available to authenticated user
|
|
368
694
|
* @summary Get Available Pools
|
|
@@ -370,9 +696,19 @@ export const LicensesApiFactory = function (configuration?: Configuration, baseP
|
|
|
370
696
|
* @param {*} [options] Override http request option.
|
|
371
697
|
* @throws {RequiredError}
|
|
372
698
|
*/
|
|
373
|
-
getAvailablePools(owner?: Array<string>, options?: any): AxiosPromise<
|
|
699
|
+
getAvailablePools(owner?: Array<string>, options?: any): AxiosPromise<LicensePoolList> {
|
|
374
700
|
return LicensesApiFp(configuration).getAvailablePools(owner, options).then((request) => request(axios, basePath));
|
|
375
701
|
},
|
|
702
|
+
/**
|
|
703
|
+
* Get the activations for the license
|
|
704
|
+
* @summary Get Activations
|
|
705
|
+
* @param {string} poolId
|
|
706
|
+
* @param {*} [options] Override http request option.
|
|
707
|
+
* @throws {RequiredError}
|
|
708
|
+
*/
|
|
709
|
+
getLicenseActivations(poolId: string, options?: any): AxiosPromise<ActivationList> {
|
|
710
|
+
return LicensesApiFp(configuration).getLicenseActivations(poolId, options).then((request) => request(axios, basePath));
|
|
711
|
+
},
|
|
376
712
|
/**
|
|
377
713
|
* Get the license associated with a pool
|
|
378
714
|
* @summary Get Pool License
|
|
@@ -387,27 +723,69 @@ export const LicensesApiFactory = function (configuration?: Configuration, baseP
|
|
|
387
723
|
* Grant access to the license pool
|
|
388
724
|
* @summary Grant Pool Access
|
|
389
725
|
* @param {string} poolId
|
|
390
|
-
* @param {
|
|
726
|
+
* @param {LicensePoolAccessPolicyList} licensePoolAccessPolicyList
|
|
727
|
+
* @param {*} [options] Override http request option.
|
|
728
|
+
* @throws {RequiredError}
|
|
729
|
+
*/
|
|
730
|
+
grantAccessToPool(poolId: string, licensePoolAccessPolicyList: LicensePoolAccessPolicyList, options?: any): AxiosPromise<LicensePoolPublic> {
|
|
731
|
+
return LicensesApiFp(configuration).grantAccessToPool(poolId, licensePoolAccessPolicyList, options).then((request) => request(axios, basePath));
|
|
732
|
+
},
|
|
733
|
+
/**
|
|
734
|
+
* Regenerate the license associated with the pool
|
|
735
|
+
* @summary Regenerate
|
|
736
|
+
* @param {string} poolId
|
|
391
737
|
* @param {*} [options] Override http request option.
|
|
392
738
|
* @throws {RequiredError}
|
|
393
739
|
*/
|
|
394
|
-
|
|
395
|
-
return LicensesApiFp(configuration).
|
|
740
|
+
regenerateLicensePool(poolId: string, options?: any): AxiosPromise<any> {
|
|
741
|
+
return LicensesApiFp(configuration).regenerateLicensePool(poolId, options).then((request) => request(axios, basePath));
|
|
396
742
|
},
|
|
397
743
|
/**
|
|
398
744
|
* Revoke access to the license pool
|
|
399
745
|
* @summary Delete Pool Access
|
|
400
746
|
* @param {string} poolId
|
|
401
|
-
* @param {
|
|
747
|
+
* @param {LicensePoolPolicySubjectList} licensePoolPolicySubjectList
|
|
402
748
|
* @param {*} [options] Override http request option.
|
|
403
749
|
* @throws {RequiredError}
|
|
404
750
|
*/
|
|
405
|
-
revokeAccessToPool(poolId: string,
|
|
406
|
-
return LicensesApiFp(configuration).revokeAccessToPool(poolId,
|
|
751
|
+
revokeAccessToPool(poolId: string, licensePoolPolicySubjectList: LicensePoolPolicySubjectList, options?: any): AxiosPromise<LicensePoolPublic> {
|
|
752
|
+
return LicensesApiFp(configuration).revokeAccessToPool(poolId, licensePoolPolicySubjectList, options).then((request) => request(axios, basePath));
|
|
753
|
+
},
|
|
754
|
+
/**
|
|
755
|
+
* Update the license pool
|
|
756
|
+
* @summary Update Pool
|
|
757
|
+
* @param {string} poolId
|
|
758
|
+
* @param {LicensePoolUpdate} licensePoolUpdate
|
|
759
|
+
* @param {*} [options] Override http request option.
|
|
760
|
+
* @throws {RequiredError}
|
|
761
|
+
*/
|
|
762
|
+
updateLicensePool(poolId: string, licensePoolUpdate: LicensePoolUpdate, options?: any): AxiosPromise<any> {
|
|
763
|
+
return LicensesApiFp(configuration).updateLicensePool(poolId, licensePoolUpdate, options).then((request) => request(axios, basePath));
|
|
407
764
|
},
|
|
408
765
|
};
|
|
409
766
|
};
|
|
410
767
|
|
|
768
|
+
/**
|
|
769
|
+
* Request parameters for deleteActivation operation in LicensesApi.
|
|
770
|
+
* @export
|
|
771
|
+
* @interface LicensesApiDeleteActivationRequest
|
|
772
|
+
*/
|
|
773
|
+
export interface LicensesApiDeleteActivationRequest {
|
|
774
|
+
/**
|
|
775
|
+
*
|
|
776
|
+
* @type {string}
|
|
777
|
+
* @memberof LicensesApiDeleteActivation
|
|
778
|
+
*/
|
|
779
|
+
readonly poolId: string
|
|
780
|
+
|
|
781
|
+
/**
|
|
782
|
+
*
|
|
783
|
+
* @type {string}
|
|
784
|
+
* @memberof LicensesApiDeleteActivation
|
|
785
|
+
*/
|
|
786
|
+
readonly activationId: string
|
|
787
|
+
}
|
|
788
|
+
|
|
411
789
|
/**
|
|
412
790
|
* Request parameters for getAvailablePools operation in LicensesApi.
|
|
413
791
|
* @export
|
|
@@ -422,6 +800,20 @@ export interface LicensesApiGetAvailablePoolsRequest {
|
|
|
422
800
|
readonly owner?: Array<string>
|
|
423
801
|
}
|
|
424
802
|
|
|
803
|
+
/**
|
|
804
|
+
* Request parameters for getLicenseActivations operation in LicensesApi.
|
|
805
|
+
* @export
|
|
806
|
+
* @interface LicensesApiGetLicenseActivationsRequest
|
|
807
|
+
*/
|
|
808
|
+
export interface LicensesApiGetLicenseActivationsRequest {
|
|
809
|
+
/**
|
|
810
|
+
*
|
|
811
|
+
* @type {string}
|
|
812
|
+
* @memberof LicensesApiGetLicenseActivations
|
|
813
|
+
*/
|
|
814
|
+
readonly poolId: string
|
|
815
|
+
}
|
|
816
|
+
|
|
425
817
|
/**
|
|
426
818
|
* Request parameters for getPoolLicense operation in LicensesApi.
|
|
427
819
|
* @export
|
|
@@ -451,10 +843,24 @@ export interface LicensesApiGrantAccessToPoolRequest {
|
|
|
451
843
|
|
|
452
844
|
/**
|
|
453
845
|
*
|
|
454
|
-
* @type {
|
|
846
|
+
* @type {LicensePoolAccessPolicyList}
|
|
455
847
|
* @memberof LicensesApiGrantAccessToPool
|
|
456
848
|
*/
|
|
457
|
-
readonly
|
|
849
|
+
readonly licensePoolAccessPolicyList: LicensePoolAccessPolicyList
|
|
850
|
+
}
|
|
851
|
+
|
|
852
|
+
/**
|
|
853
|
+
* Request parameters for regenerateLicensePool operation in LicensesApi.
|
|
854
|
+
* @export
|
|
855
|
+
* @interface LicensesApiRegenerateLicensePoolRequest
|
|
856
|
+
*/
|
|
857
|
+
export interface LicensesApiRegenerateLicensePoolRequest {
|
|
858
|
+
/**
|
|
859
|
+
*
|
|
860
|
+
* @type {string}
|
|
861
|
+
* @memberof LicensesApiRegenerateLicensePool
|
|
862
|
+
*/
|
|
863
|
+
readonly poolId: string
|
|
458
864
|
}
|
|
459
865
|
|
|
460
866
|
/**
|
|
@@ -472,10 +878,31 @@ export interface LicensesApiRevokeAccessToPoolRequest {
|
|
|
472
878
|
|
|
473
879
|
/**
|
|
474
880
|
*
|
|
475
|
-
* @type {
|
|
881
|
+
* @type {LicensePoolPolicySubjectList}
|
|
476
882
|
* @memberof LicensesApiRevokeAccessToPool
|
|
477
883
|
*/
|
|
478
|
-
readonly
|
|
884
|
+
readonly licensePoolPolicySubjectList: LicensePoolPolicySubjectList
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
/**
|
|
888
|
+
* Request parameters for updateLicensePool operation in LicensesApi.
|
|
889
|
+
* @export
|
|
890
|
+
* @interface LicensesApiUpdateLicensePoolRequest
|
|
891
|
+
*/
|
|
892
|
+
export interface LicensesApiUpdateLicensePoolRequest {
|
|
893
|
+
/**
|
|
894
|
+
*
|
|
895
|
+
* @type {string}
|
|
896
|
+
* @memberof LicensesApiUpdateLicensePool
|
|
897
|
+
*/
|
|
898
|
+
readonly poolId: string
|
|
899
|
+
|
|
900
|
+
/**
|
|
901
|
+
*
|
|
902
|
+
* @type {LicensePoolUpdate}
|
|
903
|
+
* @memberof LicensesApiUpdateLicensePool
|
|
904
|
+
*/
|
|
905
|
+
readonly licensePoolUpdate: LicensePoolUpdate
|
|
479
906
|
}
|
|
480
907
|
|
|
481
908
|
/**
|
|
@@ -485,6 +912,18 @@ export interface LicensesApiRevokeAccessToPoolRequest {
|
|
|
485
912
|
* @extends {BaseAPI}
|
|
486
913
|
*/
|
|
487
914
|
export class LicensesApi extends BaseAPI {
|
|
915
|
+
/**
|
|
916
|
+
* Delete the activation
|
|
917
|
+
* @summary Delete Activation
|
|
918
|
+
* @param {LicensesApiDeleteActivationRequest} requestParameters Request parameters.
|
|
919
|
+
* @param {*} [options] Override http request option.
|
|
920
|
+
* @throws {RequiredError}
|
|
921
|
+
* @memberof LicensesApi
|
|
922
|
+
*/
|
|
923
|
+
public deleteActivation(requestParameters: LicensesApiDeleteActivationRequest, options?: any) {
|
|
924
|
+
return LicensesApiFp(this.configuration).deleteActivation(requestParameters.poolId, requestParameters.activationId, options).then((request) => request(this.axios, this.basePath));
|
|
925
|
+
}
|
|
926
|
+
|
|
488
927
|
/**
|
|
489
928
|
* Get license pools available to authenticated user
|
|
490
929
|
* @summary Get Available Pools
|
|
@@ -497,6 +936,18 @@ export class LicensesApi extends BaseAPI {
|
|
|
497
936
|
return LicensesApiFp(this.configuration).getAvailablePools(requestParameters.owner, options).then((request) => request(this.axios, this.basePath));
|
|
498
937
|
}
|
|
499
938
|
|
|
939
|
+
/**
|
|
940
|
+
* Get the activations for the license
|
|
941
|
+
* @summary Get Activations
|
|
942
|
+
* @param {LicensesApiGetLicenseActivationsRequest} requestParameters Request parameters.
|
|
943
|
+
* @param {*} [options] Override http request option.
|
|
944
|
+
* @throws {RequiredError}
|
|
945
|
+
* @memberof LicensesApi
|
|
946
|
+
*/
|
|
947
|
+
public getLicenseActivations(requestParameters: LicensesApiGetLicenseActivationsRequest, options?: any) {
|
|
948
|
+
return LicensesApiFp(this.configuration).getLicenseActivations(requestParameters.poolId, options).then((request) => request(this.axios, this.basePath));
|
|
949
|
+
}
|
|
950
|
+
|
|
500
951
|
/**
|
|
501
952
|
* Get the license associated with a pool
|
|
502
953
|
* @summary Get Pool License
|
|
@@ -518,7 +969,19 @@ export class LicensesApi extends BaseAPI {
|
|
|
518
969
|
* @memberof LicensesApi
|
|
519
970
|
*/
|
|
520
971
|
public grantAccessToPool(requestParameters: LicensesApiGrantAccessToPoolRequest, options?: any) {
|
|
521
|
-
return LicensesApiFp(this.configuration).grantAccessToPool(requestParameters.poolId, requestParameters.
|
|
972
|
+
return LicensesApiFp(this.configuration).grantAccessToPool(requestParameters.poolId, requestParameters.licensePoolAccessPolicyList, options).then((request) => request(this.axios, this.basePath));
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
/**
|
|
976
|
+
* Regenerate the license associated with the pool
|
|
977
|
+
* @summary Regenerate
|
|
978
|
+
* @param {LicensesApiRegenerateLicensePoolRequest} requestParameters Request parameters.
|
|
979
|
+
* @param {*} [options] Override http request option.
|
|
980
|
+
* @throws {RequiredError}
|
|
981
|
+
* @memberof LicensesApi
|
|
982
|
+
*/
|
|
983
|
+
public regenerateLicensePool(requestParameters: LicensesApiRegenerateLicensePoolRequest, options?: any) {
|
|
984
|
+
return LicensesApiFp(this.configuration).regenerateLicensePool(requestParameters.poolId, options).then((request) => request(this.axios, this.basePath));
|
|
522
985
|
}
|
|
523
986
|
|
|
524
987
|
/**
|
|
@@ -530,6 +993,18 @@ export class LicensesApi extends BaseAPI {
|
|
|
530
993
|
* @memberof LicensesApi
|
|
531
994
|
*/
|
|
532
995
|
public revokeAccessToPool(requestParameters: LicensesApiRevokeAccessToPoolRequest, options?: any) {
|
|
533
|
-
return LicensesApiFp(this.configuration).revokeAccessToPool(requestParameters.poolId, requestParameters.
|
|
996
|
+
return LicensesApiFp(this.configuration).revokeAccessToPool(requestParameters.poolId, requestParameters.licensePoolPolicySubjectList, options).then((request) => request(this.axios, this.basePath));
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
/**
|
|
1000
|
+
* Update the license pool
|
|
1001
|
+
* @summary Update Pool
|
|
1002
|
+
* @param {LicensesApiUpdateLicensePoolRequest} requestParameters Request parameters.
|
|
1003
|
+
* @param {*} [options] Override http request option.
|
|
1004
|
+
* @throws {RequiredError}
|
|
1005
|
+
* @memberof LicensesApi
|
|
1006
|
+
*/
|
|
1007
|
+
public updateLicensePool(requestParameters: LicensesApiUpdateLicensePoolRequest, options?: any) {
|
|
1008
|
+
return LicensesApiFp(this.configuration).updateLicensePool(requestParameters.poolId, requestParameters.licensePoolUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
534
1009
|
}
|
|
535
1010
|
}
|