@pollination-solutions/pollination-sdk 0.18.1-beta.6 → 0.21.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 +18 -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 +140 -1
- package/api/licenses-api.ts +535 -0
- package/api/orgs-api.ts +1 -1
- package/api/payments-api.ts +122 -13
- 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 +167 -0
- package/api/teams-api.ts +1 -1
- package/api/user-api.ts +1 -1
- package/api/users-api.ts +93 -1
- package/api.ts +3 -1
- package/base.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api/accounts-api.d.ts +1 -1
- package/dist/api/accounts-api.js +1 -1
- package/dist/api/apitokens-api.d.ts +1 -1
- package/dist/api/apitokens-api.js +1 -1
- package/dist/api/artifacts-api.d.ts +1 -1
- package/dist/api/artifacts-api.js +1 -1
- package/dist/api/jobs-api.d.ts +65 -1
- package/dist/api/jobs-api.js +107 -1
- package/dist/api/licenses-api.d.ts +246 -0
- package/dist/api/licenses-api.js +443 -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 +55 -9
- package/dist/api/payments-api.js +99 -9
- 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 +87 -0
- package/dist/api/subscriptions-api.js +155 -0
- 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 +3 -1
- package/dist/api.js +3 -1
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/models/account-public.d.ts +1 -1
- package/dist/models/account-public.js +1 -1
- package/dist/models/account-type.d.ts +20 -0
- package/dist/models/account-type.js +26 -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/{app-domains-payments-entities-invoice-preview.js → coupon.js} +1 -1
- package/dist/models/created-content.d.ts +1 -1
- package/dist/models/created-content.js +1 -1
- package/dist/models/dag.d.ts +1 -1
- package/dist/models/dag.js +1 -1
- package/dist/models/dagarray-input-alias.d.ts +1 -1
- package/dist/models/dagarray-input-alias.js +1 -1
- package/dist/models/dagarray-input.d.ts +1 -1
- package/dist/models/dagarray-input.js +1 -1
- package/dist/models/dagarray-output-alias.d.ts +1 -1
- package/dist/models/dagarray-output-alias.js +1 -1
- package/dist/models/dagarray-output.d.ts +1 -1
- package/dist/models/dagarray-output.js +1 -1
- package/dist/models/dagboolean-input-alias.d.ts +1 -1
- package/dist/models/dagboolean-input-alias.js +1 -1
- package/dist/models/dagboolean-input.d.ts +1 -1
- package/dist/models/dagboolean-input.js +1 -1
- package/dist/models/dagboolean-output-alias.d.ts +1 -1
- package/dist/models/dagboolean-output-alias.js +1 -1
- package/dist/models/dagboolean-output.d.ts +1 -1
- package/dist/models/dagboolean-output.js +1 -1
- package/dist/models/dagfile-input-alias.d.ts +1 -1
- package/dist/models/dagfile-input-alias.js +1 -1
- package/dist/models/dagfile-input.d.ts +1 -1
- package/dist/models/dagfile-input.js +1 -1
- package/dist/models/dagfile-output-alias.d.ts +1 -1
- package/dist/models/dagfile-output-alias.js +1 -1
- package/dist/models/dagfile-output.d.ts +1 -1
- package/dist/models/dagfile-output.js +1 -1
- package/dist/models/dagfolder-input-alias.d.ts +1 -1
- package/dist/models/dagfolder-input-alias.js +1 -1
- package/dist/models/dagfolder-input.d.ts +1 -1
- package/dist/models/dagfolder-input.js +1 -1
- package/dist/models/dagfolder-output-alias.d.ts +1 -1
- package/dist/models/dagfolder-output-alias.js +1 -1
- package/dist/models/dagfolder-output.d.ts +1 -1
- package/dist/models/dagfolder-output.js +1 -1
- package/dist/models/daggeneric-input-alias.d.ts +1 -1
- package/dist/models/daggeneric-input-alias.js +1 -1
- package/dist/models/daggeneric-input.d.ts +1 -1
- package/dist/models/daggeneric-input.js +1 -1
- package/dist/models/daggeneric-output-alias.d.ts +1 -1
- package/dist/models/daggeneric-output-alias.js +1 -1
- package/dist/models/daggeneric-output.d.ts +1 -1
- package/dist/models/daggeneric-output.js +1 -1
- package/dist/models/daginteger-input-alias.d.ts +1 -1
- package/dist/models/daginteger-input-alias.js +1 -1
- package/dist/models/daginteger-input.d.ts +1 -1
- package/dist/models/daginteger-input.js +1 -1
- package/dist/models/daginteger-output-alias.d.ts +1 -1
- package/dist/models/daginteger-output-alias.js +1 -1
- package/dist/models/daginteger-output.d.ts +1 -1
- package/dist/models/daginteger-output.js +1 -1
- package/dist/models/dagjsonobject-input-alias.d.ts +1 -1
- package/dist/models/dagjsonobject-input-alias.js +1 -1
- package/dist/models/dagjsonobject-input.d.ts +1 -1
- package/dist/models/dagjsonobject-input.js +1 -1
- package/dist/models/dagjsonobject-output-alias.d.ts +1 -1
- package/dist/models/dagjsonobject-output-alias.js +1 -1
- package/dist/models/dagjsonobject-output.d.ts +1 -1
- package/dist/models/dagjsonobject-output.js +1 -1
- package/dist/models/daglinked-input-alias.d.ts +1 -1
- package/dist/models/daglinked-input-alias.js +1 -1
- package/dist/models/daglinked-output-alias.d.ts +1 -1
- package/dist/models/daglinked-output-alias.js +1 -1
- package/dist/models/dagnumber-input-alias.d.ts +1 -1
- package/dist/models/dagnumber-input-alias.js +1 -1
- package/dist/models/dagnumber-input.d.ts +1 -1
- package/dist/models/dagnumber-input.js +1 -1
- package/dist/models/dagnumber-output-alias.d.ts +1 -1
- package/dist/models/dagnumber-output-alias.js +1 -1
- package/dist/models/dagnumber-output.d.ts +1 -1
- package/dist/models/dagnumber-output.js +1 -1
- package/dist/models/dagpath-input-alias.d.ts +1 -1
- package/dist/models/dagpath-input-alias.js +1 -1
- package/dist/models/dagpath-input.d.ts +1 -1
- package/dist/models/dagpath-input.js +1 -1
- package/dist/models/dagpath-output-alias.d.ts +1 -1
- package/dist/models/dagpath-output-alias.js +1 -1
- package/dist/models/dagpath-output.d.ts +1 -1
- package/dist/models/dagpath-output.js +1 -1
- package/dist/models/dagstring-input-alias.d.ts +1 -1
- package/dist/models/dagstring-input-alias.js +1 -1
- package/dist/models/dagstring-input.d.ts +1 -1
- package/dist/models/dagstring-input.js +1 -1
- package/dist/models/dagstring-output-alias.d.ts +1 -1
- package/dist/models/dagstring-output-alias.js +1 -1
- package/dist/models/dagstring-output.d.ts +1 -1
- package/dist/models/dagstring-output.js +1 -1
- package/dist/models/dagtask-loop.d.ts +1 -1
- package/dist/models/dagtask-loop.js +1 -1
- package/dist/models/dagtask.d.ts +1 -1
- package/dist/models/dagtask.js +1 -1
- package/dist/models/daily-usage.d.ts +1 -1
- package/dist/models/daily-usage.js +1 -1
- package/dist/models/dependency-kind.d.ts +1 -1
- package/dist/models/dependency-kind.js +1 -1
- package/dist/models/dependency.d.ts +1 -1
- package/dist/models/dependency.js +1 -1
- package/dist/models/discount-amount.d.ts +30 -0
- package/dist/models/{app-server-rest-payments-dto-invoice-preview.js → discount-amount.js} +1 -1
- package/dist/models/discount.d.ts +55 -0
- package/dist/models/discount.js +15 -0
- package/dist/models/docker-config.d.ts +1 -1
- package/dist/models/docker-config.js +1 -1
- package/dist/models/file-meta.d.ts +1 -1
- package/dist/models/file-meta.js +1 -1
- package/dist/models/file-reference.d.ts +1 -1
- package/dist/models/file-reference.js +1 -1
- package/dist/models/folder-reference.d.ts +1 -1
- package/dist/models/folder-reference.js +1 -1
- package/dist/models/function-array-input.d.ts +1 -1
- package/dist/models/function-array-input.js +1 -1
- package/dist/models/function-array-output.d.ts +1 -1
- package/dist/models/function-array-output.js +1 -1
- package/dist/models/function-boolean-input.d.ts +1 -1
- package/dist/models/function-boolean-input.js +1 -1
- package/dist/models/function-boolean-output.d.ts +1 -1
- package/dist/models/function-boolean-output.js +1 -1
- package/dist/models/function-file-input.d.ts +1 -1
- package/dist/models/function-file-input.js +1 -1
- package/dist/models/function-file-output.d.ts +1 -1
- package/dist/models/function-file-output.js +1 -1
- package/dist/models/function-folder-input.d.ts +1 -1
- package/dist/models/function-folder-input.js +1 -1
- package/dist/models/function-folder-output.d.ts +1 -1
- package/dist/models/function-folder-output.js +1 -1
- package/dist/models/function-integer-input.d.ts +1 -1
- package/dist/models/function-integer-input.js +1 -1
- package/dist/models/function-integer-output.d.ts +1 -1
- package/dist/models/function-integer-output.js +1 -1
- package/dist/models/function-jsonobject-input.d.ts +1 -1
- package/dist/models/function-jsonobject-input.js +1 -1
- package/dist/models/function-jsonobject-output.d.ts +1 -1
- package/dist/models/function-jsonobject-output.js +1 -1
- package/dist/models/function-number-input.d.ts +1 -1
- package/dist/models/function-number-input.js +1 -1
- package/dist/models/function-number-output.d.ts +1 -1
- package/dist/models/function-number-output.js +1 -1
- package/dist/models/function-path-input.d.ts +1 -1
- package/dist/models/function-path-input.js +1 -1
- package/dist/models/function-path-output.d.ts +1 -1
- package/dist/models/function-path-output.js +1 -1
- package/dist/models/function-string-input.d.ts +1 -1
- package/dist/models/function-string-input.js +1 -1
- package/dist/models/function-string-output.d.ts +1 -1
- package/dist/models/function-string-output.js +1 -1
- package/dist/models/function.d.ts +1 -1
- package/dist/models/function.js +1 -1
- package/dist/models/http.d.ts +1 -1
- package/dist/models/http.js +1 -1
- package/dist/models/httpvalidation-error.d.ts +1 -1
- package/dist/models/httpvalidation-error.js +1 -1
- package/dist/models/index.d.ts +16 -2
- package/dist/models/index.js +16 -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/{app-server-rest-payments-dto-invoice-preview.d.ts → invoice-preview.d.ts} +38 -18
- package/dist/models/invoice-preview.js +15 -0
- package/dist/models/invoice-status-transitions.d.ts +1 -1
- package/dist/models/invoice-status-transitions.js +1 -1
- package/dist/models/invoice-status.d.ts +1 -1
- package/dist/models/invoice-status.js +1 -1
- package/dist/models/invoice.d.ts +21 -1
- package/dist/models/invoice.js +1 -1
- package/dist/models/ioalias-handler.d.ts +1 -1
- package/dist/models/ioalias-handler.js +1 -1
- package/dist/models/item-reference.d.ts +1 -1
- package/dist/models/item-reference.js +1 -1
- package/dist/models/item-type.d.ts +1 -1
- package/dist/models/item-type.js +1 -1
- package/dist/models/job-argument.d.ts +1 -1
- package/dist/models/job-argument.js +1 -1
- package/dist/models/job-path-argument.d.ts +1 -1
- package/dist/models/job-path-argument.js +1 -1
- package/dist/models/job-status-enum.d.ts +1 -1
- package/dist/models/job-status-enum.js +1 -1
- package/dist/models/job-status.d.ts +1 -1
- package/dist/models/job-status.js +1 -1
- package/dist/models/job.d.ts +1 -1
- package/dist/models/job.js +1 -1
- package/dist/models/key-request.d.ts +1 -1
- package/dist/models/key-request.js +1 -1
- package/dist/models/license-pool-access-policy.d.ts +32 -0
- package/dist/models/license-pool-access-policy.js +15 -0
- package/dist/models/license-pool-policy-subject.d.ts +31 -0
- package/dist/models/license-pool-policy-subject.js +15 -0
- package/dist/models/license-pool-public.d.ts +51 -0
- package/dist/models/license-pool-public.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/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 +62 -0
- package/dist/models/pollination-subscription.js +15 -0
- 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 +49 -0
- package/dist/models/quota-extension.js +15 -0
- package/dist/models/quota-list.d.ts +1 -1
- package/dist/models/quota-list.js +1 -1
- package/dist/models/quota-plan.d.ts +42 -0
- package/dist/models/quota-plan.js +15 -0
- package/dist/models/quota-type.d.ts +4 -2
- package/dist/models/quota-type.js +3 -1
- package/dist/models/quota.d.ts +2 -8
- 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 +44 -0
- package/dist/models/subscription-plan.js +15 -0
- 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 +14 -7
- package/dist/models/update-invoice-preview.js +1 -1
- package/dist/models/usage.d.ts +1 -1
- package/dist/models/usage.js +1 -1
- package/dist/models/user-create.d.ts +1 -1
- package/dist/models/user-create.js +1 -1
- package/dist/models/user-permission.d.ts +1 -1
- package/dist/models/user-permission.js +1 -1
- package/dist/models/user-private.d.ts +1 -1
- package/dist/models/user-private.js +1 -1
- package/dist/models/user-public-list.d.ts +1 -1
- package/dist/models/user-public-list.js +1 -1
- package/dist/models/user-public.d.ts +1 -1
- package/dist/models/user-public.js +1 -1
- package/dist/models/user-update.d.ts +1 -1
- package/dist/models/user-update.js +1 -1
- package/dist/models/validation-error.d.ts +1 -1
- package/dist/models/validation-error.js +1 -1
- package/dist/models/value-file-reference.d.ts +1 -1
- package/dist/models/value-file-reference.js +1 -1
- package/dist/models/value-folder-reference.d.ts +1 -1
- package/dist/models/value-folder-reference.js +1 -1
- package/dist/models/value-list-reference.d.ts +1 -1
- package/dist/models/value-list-reference.js +1 -1
- package/dist/models/value-reference.d.ts +1 -1
- package/dist/models/value-reference.js +1 -1
- package/index.ts +1 -1
- package/models/account-public.ts +1 -1
- package/models/account-type.ts +28 -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 +16 -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/{app-server-rest-payments-dto-invoice-preview.ts → invoice-preview.ts} +38 -18
- package/models/invoice-status-transitions.ts +1 -1
- package/models/invoice-status.ts +1 -1
- package/models/invoice.ts +21 -1
- package/models/ioalias-handler.ts +1 -1
- package/models/item-reference.ts +1 -1
- package/models/item-type.ts +1 -1
- package/models/job-argument.ts +1 -1
- package/models/job-path-argument.ts +1 -1
- package/models/job-status-enum.ts +1 -1
- package/models/job-status.ts +1 -1
- package/models/job.ts +1 -1
- package/models/key-request.ts +1 -1
- package/models/license-pool-access-policy.ts +39 -0
- package/models/license-pool-policy-subject.ts +38 -0
- package/models/license-pool-public.ts +58 -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/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 +69 -0
- 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 +56 -0
- package/models/quota-list.ts +1 -1
- package/models/quota-plan.ts +49 -0
- package/models/quota-type.ts +4 -2
- package/models/quota.ts +2 -8
- 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 +51 -0
- 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 +14 -7
- package/models/usage.ts +1 -1
- package/models/user-create.ts +1 -1
- package/models/user-permission.ts +1 -1
- package/models/user-private.ts +1 -1
- package/models/user-public-list.ts +1 -1
- package/models/user-public.ts +1 -1
- package/models/user-update.ts +1 -1
- package/models/validation-error.ts +1 -1
- package/models/value-file-reference.ts +1 -1
- package/models/value-folder-reference.ts +1 -1
- package/models/value-list-reference.ts +1 -1
- package/models/value-reference.ts +1 -1
- package/package.json +1 -1
- package/dist/models/app-domains-payments-entities-invoice-preview.d.ts +0 -99
- package/models/app-domains-payments-entities-invoice-preview.ts +0 -106
|
@@ -0,0 +1,443 @@
|
|
|
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.21.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
|
+
* Get license pools available to authenticated user
|
|
38
|
+
* @summary Get Available Pools
|
|
39
|
+
* @param {Array<string>} [owner] Owner of the project
|
|
40
|
+
* @param {*} [options] Override http request option.
|
|
41
|
+
* @throws {RequiredError}
|
|
42
|
+
*/
|
|
43
|
+
getAvailablePools: (owner, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
44
|
+
const localVarPath = `/licenses/pools`;
|
|
45
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
46
|
+
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
47
|
+
let baseOptions;
|
|
48
|
+
if (configuration) {
|
|
49
|
+
baseOptions = configuration.baseOptions;
|
|
50
|
+
}
|
|
51
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
52
|
+
const localVarHeaderParameter = {};
|
|
53
|
+
const localVarQueryParameter = {};
|
|
54
|
+
// authentication APIKeyAuth required
|
|
55
|
+
if (configuration && configuration.apiKey) {
|
|
56
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
57
|
+
? yield configuration.apiKey("x-pollination-token")
|
|
58
|
+
: yield configuration.apiKey;
|
|
59
|
+
localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
|
|
60
|
+
}
|
|
61
|
+
// authentication JWTAuth required
|
|
62
|
+
// http bearer authentication required
|
|
63
|
+
if (configuration && configuration.accessToken) {
|
|
64
|
+
const accessToken = typeof configuration.accessToken === 'function'
|
|
65
|
+
? yield configuration.accessToken()
|
|
66
|
+
: yield configuration.accessToken;
|
|
67
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
68
|
+
}
|
|
69
|
+
if (owner) {
|
|
70
|
+
localVarQueryParameter['owner'] = owner;
|
|
71
|
+
}
|
|
72
|
+
const query = new URLSearchParams(localVarUrlObj.search);
|
|
73
|
+
for (const key in localVarQueryParameter) {
|
|
74
|
+
query.set(key, localVarQueryParameter[key]);
|
|
75
|
+
}
|
|
76
|
+
for (const key in options.query) {
|
|
77
|
+
query.set(key, options.query[key]);
|
|
78
|
+
}
|
|
79
|
+
localVarUrlObj.search = (new URLSearchParams(query)).toString();
|
|
80
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
81
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
82
|
+
return {
|
|
83
|
+
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
|
84
|
+
options: localVarRequestOptions,
|
|
85
|
+
};
|
|
86
|
+
}),
|
|
87
|
+
/**
|
|
88
|
+
* Get the license associated with a pool
|
|
89
|
+
* @summary Get Pool License
|
|
90
|
+
* @param {string} poolId
|
|
91
|
+
* @param {*} [options] Override http request option.
|
|
92
|
+
* @throws {RequiredError}
|
|
93
|
+
*/
|
|
94
|
+
getPoolLicense: (poolId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
95
|
+
// verify required parameter 'poolId' is not null or undefined
|
|
96
|
+
if (poolId === null || poolId === undefined) {
|
|
97
|
+
throw new base_1.RequiredError('poolId', 'Required parameter poolId was null or undefined when calling getPoolLicense.');
|
|
98
|
+
}
|
|
99
|
+
const localVarPath = `/licenses/pools/{pool_id}/license`
|
|
100
|
+
.replace(`{${"pool_id"}}`, encodeURIComponent(String(poolId)));
|
|
101
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
102
|
+
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
103
|
+
let baseOptions;
|
|
104
|
+
if (configuration) {
|
|
105
|
+
baseOptions = configuration.baseOptions;
|
|
106
|
+
}
|
|
107
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
108
|
+
const localVarHeaderParameter = {};
|
|
109
|
+
const localVarQueryParameter = {};
|
|
110
|
+
// authentication APIKeyAuth required
|
|
111
|
+
if (configuration && configuration.apiKey) {
|
|
112
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
113
|
+
? yield configuration.apiKey("x-pollination-token")
|
|
114
|
+
: yield configuration.apiKey;
|
|
115
|
+
localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
|
|
116
|
+
}
|
|
117
|
+
// authentication JWTAuth required
|
|
118
|
+
// http bearer authentication required
|
|
119
|
+
if (configuration && configuration.accessToken) {
|
|
120
|
+
const accessToken = typeof configuration.accessToken === 'function'
|
|
121
|
+
? yield configuration.accessToken()
|
|
122
|
+
: yield configuration.accessToken;
|
|
123
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
124
|
+
}
|
|
125
|
+
const query = new URLSearchParams(localVarUrlObj.search);
|
|
126
|
+
for (const key in localVarQueryParameter) {
|
|
127
|
+
query.set(key, localVarQueryParameter[key]);
|
|
128
|
+
}
|
|
129
|
+
for (const key in options.query) {
|
|
130
|
+
query.set(key, options.query[key]);
|
|
131
|
+
}
|
|
132
|
+
localVarUrlObj.search = (new URLSearchParams(query)).toString();
|
|
133
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
134
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
135
|
+
return {
|
|
136
|
+
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
|
137
|
+
options: localVarRequestOptions,
|
|
138
|
+
};
|
|
139
|
+
}),
|
|
140
|
+
/**
|
|
141
|
+
* Grant access to the license pool
|
|
142
|
+
* @summary Grant Pool Access
|
|
143
|
+
* @param {string} poolId
|
|
144
|
+
* @param {LicensePoolAccessPolicy} licensePoolAccessPolicy
|
|
145
|
+
* @param {*} [options] Override http request option.
|
|
146
|
+
* @throws {RequiredError}
|
|
147
|
+
*/
|
|
148
|
+
grantAccessToPool: (poolId, licensePoolAccessPolicy, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
149
|
+
// verify required parameter 'poolId' is not null or undefined
|
|
150
|
+
if (poolId === null || poolId === undefined) {
|
|
151
|
+
throw new base_1.RequiredError('poolId', 'Required parameter poolId was null or undefined when calling grantAccessToPool.');
|
|
152
|
+
}
|
|
153
|
+
// verify required parameter 'licensePoolAccessPolicy' is not null or undefined
|
|
154
|
+
if (licensePoolAccessPolicy === null || licensePoolAccessPolicy === undefined) {
|
|
155
|
+
throw new base_1.RequiredError('licensePoolAccessPolicy', 'Required parameter licensePoolAccessPolicy was null or undefined when calling grantAccessToPool.');
|
|
156
|
+
}
|
|
157
|
+
const localVarPath = `/licenses/pools/{pool_id}/permissions`
|
|
158
|
+
.replace(`{${"pool_id"}}`, encodeURIComponent(String(poolId)));
|
|
159
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
160
|
+
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
161
|
+
let baseOptions;
|
|
162
|
+
if (configuration) {
|
|
163
|
+
baseOptions = configuration.baseOptions;
|
|
164
|
+
}
|
|
165
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
166
|
+
const localVarHeaderParameter = {};
|
|
167
|
+
const localVarQueryParameter = {};
|
|
168
|
+
// authentication APIKeyAuth required
|
|
169
|
+
if (configuration && configuration.apiKey) {
|
|
170
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
171
|
+
? yield configuration.apiKey("x-pollination-token")
|
|
172
|
+
: yield configuration.apiKey;
|
|
173
|
+
localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
|
|
174
|
+
}
|
|
175
|
+
// authentication JWTAuth required
|
|
176
|
+
// http bearer authentication required
|
|
177
|
+
if (configuration && configuration.accessToken) {
|
|
178
|
+
const accessToken = typeof configuration.accessToken === 'function'
|
|
179
|
+
? yield configuration.accessToken()
|
|
180
|
+
: yield configuration.accessToken;
|
|
181
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
182
|
+
}
|
|
183
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
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
|
+
const needsSerialization = (typeof licensePoolAccessPolicy !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
195
|
+
localVarRequestOptions.data = needsSerialization ? JSON.stringify(licensePoolAccessPolicy !== undefined ? licensePoolAccessPolicy : {}) : (licensePoolAccessPolicy || "");
|
|
196
|
+
return {
|
|
197
|
+
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
|
198
|
+
options: localVarRequestOptions,
|
|
199
|
+
};
|
|
200
|
+
}),
|
|
201
|
+
/**
|
|
202
|
+
* Revoke access to the license pool
|
|
203
|
+
* @summary Delete Pool Access
|
|
204
|
+
* @param {string} poolId
|
|
205
|
+
* @param {LicensePoolPolicySubject} licensePoolPolicySubject
|
|
206
|
+
* @param {*} [options] Override http request option.
|
|
207
|
+
* @throws {RequiredError}
|
|
208
|
+
*/
|
|
209
|
+
revokeAccessToPool: (poolId, licensePoolPolicySubject, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
210
|
+
// verify required parameter 'poolId' is not null or undefined
|
|
211
|
+
if (poolId === null || poolId === undefined) {
|
|
212
|
+
throw new base_1.RequiredError('poolId', 'Required parameter poolId was null or undefined when calling revokeAccessToPool.');
|
|
213
|
+
}
|
|
214
|
+
// verify required parameter 'licensePoolPolicySubject' is not null or undefined
|
|
215
|
+
if (licensePoolPolicySubject === null || licensePoolPolicySubject === undefined) {
|
|
216
|
+
throw new base_1.RequiredError('licensePoolPolicySubject', 'Required parameter licensePoolPolicySubject was null or undefined when calling revokeAccessToPool.');
|
|
217
|
+
}
|
|
218
|
+
const localVarPath = `/licenses/pools/{pool_id}/permissions`
|
|
219
|
+
.replace(`{${"pool_id"}}`, encodeURIComponent(String(poolId)));
|
|
220
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
221
|
+
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
222
|
+
let baseOptions;
|
|
223
|
+
if (configuration) {
|
|
224
|
+
baseOptions = configuration.baseOptions;
|
|
225
|
+
}
|
|
226
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
227
|
+
const localVarHeaderParameter = {};
|
|
228
|
+
const localVarQueryParameter = {};
|
|
229
|
+
// authentication APIKeyAuth required
|
|
230
|
+
if (configuration && configuration.apiKey) {
|
|
231
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
232
|
+
? yield configuration.apiKey("x-pollination-token")
|
|
233
|
+
: yield configuration.apiKey;
|
|
234
|
+
localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
|
|
235
|
+
}
|
|
236
|
+
// authentication JWTAuth required
|
|
237
|
+
// http bearer authentication required
|
|
238
|
+
if (configuration && configuration.accessToken) {
|
|
239
|
+
const accessToken = typeof configuration.accessToken === 'function'
|
|
240
|
+
? yield configuration.accessToken()
|
|
241
|
+
: yield configuration.accessToken;
|
|
242
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
243
|
+
}
|
|
244
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
245
|
+
const query = new URLSearchParams(localVarUrlObj.search);
|
|
246
|
+
for (const key in localVarQueryParameter) {
|
|
247
|
+
query.set(key, localVarQueryParameter[key]);
|
|
248
|
+
}
|
|
249
|
+
for (const key in options.query) {
|
|
250
|
+
query.set(key, options.query[key]);
|
|
251
|
+
}
|
|
252
|
+
localVarUrlObj.search = (new URLSearchParams(query)).toString();
|
|
253
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
254
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
255
|
+
const needsSerialization = (typeof licensePoolPolicySubject !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
256
|
+
localVarRequestOptions.data = needsSerialization ? JSON.stringify(licensePoolPolicySubject !== undefined ? licensePoolPolicySubject : {}) : (licensePoolPolicySubject || "");
|
|
257
|
+
return {
|
|
258
|
+
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
|
259
|
+
options: localVarRequestOptions,
|
|
260
|
+
};
|
|
261
|
+
}),
|
|
262
|
+
};
|
|
263
|
+
};
|
|
264
|
+
exports.LicensesApiAxiosParamCreator = LicensesApiAxiosParamCreator;
|
|
265
|
+
/**
|
|
266
|
+
* LicensesApi - functional programming interface
|
|
267
|
+
* @export
|
|
268
|
+
*/
|
|
269
|
+
const LicensesApiFp = function (configuration) {
|
|
270
|
+
return {
|
|
271
|
+
/**
|
|
272
|
+
* Get license pools available to authenticated user
|
|
273
|
+
* @summary Get Available Pools
|
|
274
|
+
* @param {Array<string>} [owner] Owner of the project
|
|
275
|
+
* @param {*} [options] Override http request option.
|
|
276
|
+
* @throws {RequiredError}
|
|
277
|
+
*/
|
|
278
|
+
getAvailablePools(owner, options) {
|
|
279
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
280
|
+
const localVarAxiosArgs = yield (0, exports.LicensesApiAxiosParamCreator)(configuration).getAvailablePools(owner, options);
|
|
281
|
+
return (axios = axios_1.default, basePath = base_1.BASE_PATH) => {
|
|
282
|
+
const axiosRequestArgs = Object.assign(Object.assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
283
|
+
return axios.request(axiosRequestArgs);
|
|
284
|
+
};
|
|
285
|
+
});
|
|
286
|
+
},
|
|
287
|
+
/**
|
|
288
|
+
* Get the license associated with a pool
|
|
289
|
+
* @summary Get Pool License
|
|
290
|
+
* @param {string} poolId
|
|
291
|
+
* @param {*} [options] Override http request option.
|
|
292
|
+
* @throws {RequiredError}
|
|
293
|
+
*/
|
|
294
|
+
getPoolLicense(poolId, options) {
|
|
295
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
296
|
+
const localVarAxiosArgs = yield (0, exports.LicensesApiAxiosParamCreator)(configuration).getPoolLicense(poolId, options);
|
|
297
|
+
return (axios = axios_1.default, basePath = base_1.BASE_PATH) => {
|
|
298
|
+
const axiosRequestArgs = Object.assign(Object.assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
299
|
+
return axios.request(axiosRequestArgs);
|
|
300
|
+
};
|
|
301
|
+
});
|
|
302
|
+
},
|
|
303
|
+
/**
|
|
304
|
+
* Grant access to the license pool
|
|
305
|
+
* @summary Grant Pool Access
|
|
306
|
+
* @param {string} poolId
|
|
307
|
+
* @param {LicensePoolAccessPolicy} licensePoolAccessPolicy
|
|
308
|
+
* @param {*} [options] Override http request option.
|
|
309
|
+
* @throws {RequiredError}
|
|
310
|
+
*/
|
|
311
|
+
grantAccessToPool(poolId, licensePoolAccessPolicy, options) {
|
|
312
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
313
|
+
const localVarAxiosArgs = yield (0, exports.LicensesApiAxiosParamCreator)(configuration).grantAccessToPool(poolId, licensePoolAccessPolicy, options);
|
|
314
|
+
return (axios = axios_1.default, basePath = base_1.BASE_PATH) => {
|
|
315
|
+
const axiosRequestArgs = Object.assign(Object.assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
316
|
+
return axios.request(axiosRequestArgs);
|
|
317
|
+
};
|
|
318
|
+
});
|
|
319
|
+
},
|
|
320
|
+
/**
|
|
321
|
+
* Revoke access to the license pool
|
|
322
|
+
* @summary Delete Pool Access
|
|
323
|
+
* @param {string} poolId
|
|
324
|
+
* @param {LicensePoolPolicySubject} licensePoolPolicySubject
|
|
325
|
+
* @param {*} [options] Override http request option.
|
|
326
|
+
* @throws {RequiredError}
|
|
327
|
+
*/
|
|
328
|
+
revokeAccessToPool(poolId, licensePoolPolicySubject, options) {
|
|
329
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
330
|
+
const localVarAxiosArgs = yield (0, exports.LicensesApiAxiosParamCreator)(configuration).revokeAccessToPool(poolId, licensePoolPolicySubject, options);
|
|
331
|
+
return (axios = axios_1.default, basePath = base_1.BASE_PATH) => {
|
|
332
|
+
const axiosRequestArgs = Object.assign(Object.assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
333
|
+
return axios.request(axiosRequestArgs);
|
|
334
|
+
};
|
|
335
|
+
});
|
|
336
|
+
},
|
|
337
|
+
};
|
|
338
|
+
};
|
|
339
|
+
exports.LicensesApiFp = LicensesApiFp;
|
|
340
|
+
/**
|
|
341
|
+
* LicensesApi - factory interface
|
|
342
|
+
* @export
|
|
343
|
+
*/
|
|
344
|
+
const LicensesApiFactory = function (configuration, basePath, axios) {
|
|
345
|
+
return {
|
|
346
|
+
/**
|
|
347
|
+
* Get license pools available to authenticated user
|
|
348
|
+
* @summary Get Available Pools
|
|
349
|
+
* @param {Array<string>} [owner] Owner of the project
|
|
350
|
+
* @param {*} [options] Override http request option.
|
|
351
|
+
* @throws {RequiredError}
|
|
352
|
+
*/
|
|
353
|
+
getAvailablePools(owner, options) {
|
|
354
|
+
return (0, exports.LicensesApiFp)(configuration).getAvailablePools(owner, options).then((request) => request(axios, basePath));
|
|
355
|
+
},
|
|
356
|
+
/**
|
|
357
|
+
* Get the license associated with a pool
|
|
358
|
+
* @summary Get Pool License
|
|
359
|
+
* @param {string} poolId
|
|
360
|
+
* @param {*} [options] Override http request option.
|
|
361
|
+
* @throws {RequiredError}
|
|
362
|
+
*/
|
|
363
|
+
getPoolLicense(poolId, options) {
|
|
364
|
+
return (0, exports.LicensesApiFp)(configuration).getPoolLicense(poolId, options).then((request) => request(axios, basePath));
|
|
365
|
+
},
|
|
366
|
+
/**
|
|
367
|
+
* Grant access to the license pool
|
|
368
|
+
* @summary Grant Pool Access
|
|
369
|
+
* @param {string} poolId
|
|
370
|
+
* @param {LicensePoolAccessPolicy} licensePoolAccessPolicy
|
|
371
|
+
* @param {*} [options] Override http request option.
|
|
372
|
+
* @throws {RequiredError}
|
|
373
|
+
*/
|
|
374
|
+
grantAccessToPool(poolId, licensePoolAccessPolicy, options) {
|
|
375
|
+
return (0, exports.LicensesApiFp)(configuration).grantAccessToPool(poolId, licensePoolAccessPolicy, options).then((request) => request(axios, basePath));
|
|
376
|
+
},
|
|
377
|
+
/**
|
|
378
|
+
* Revoke access to the license pool
|
|
379
|
+
* @summary Delete Pool Access
|
|
380
|
+
* @param {string} poolId
|
|
381
|
+
* @param {LicensePoolPolicySubject} licensePoolPolicySubject
|
|
382
|
+
* @param {*} [options] Override http request option.
|
|
383
|
+
* @throws {RequiredError}
|
|
384
|
+
*/
|
|
385
|
+
revokeAccessToPool(poolId, licensePoolPolicySubject, options) {
|
|
386
|
+
return (0, exports.LicensesApiFp)(configuration).revokeAccessToPool(poolId, licensePoolPolicySubject, options).then((request) => request(axios, basePath));
|
|
387
|
+
},
|
|
388
|
+
};
|
|
389
|
+
};
|
|
390
|
+
exports.LicensesApiFactory = LicensesApiFactory;
|
|
391
|
+
/**
|
|
392
|
+
* LicensesApi - object-oriented interface
|
|
393
|
+
* @export
|
|
394
|
+
* @class LicensesApi
|
|
395
|
+
* @extends {BaseAPI}
|
|
396
|
+
*/
|
|
397
|
+
class LicensesApi extends base_1.BaseAPI {
|
|
398
|
+
/**
|
|
399
|
+
* Get license pools available to authenticated user
|
|
400
|
+
* @summary Get Available Pools
|
|
401
|
+
* @param {LicensesApiGetAvailablePoolsRequest} requestParameters Request parameters.
|
|
402
|
+
* @param {*} [options] Override http request option.
|
|
403
|
+
* @throws {RequiredError}
|
|
404
|
+
* @memberof LicensesApi
|
|
405
|
+
*/
|
|
406
|
+
getAvailablePools(requestParameters = {}, options) {
|
|
407
|
+
return (0, exports.LicensesApiFp)(this.configuration).getAvailablePools(requestParameters.owner, options).then((request) => request(this.axios, this.basePath));
|
|
408
|
+
}
|
|
409
|
+
/**
|
|
410
|
+
* Get the license associated with a pool
|
|
411
|
+
* @summary Get Pool License
|
|
412
|
+
* @param {LicensesApiGetPoolLicenseRequest} requestParameters Request parameters.
|
|
413
|
+
* @param {*} [options] Override http request option.
|
|
414
|
+
* @throws {RequiredError}
|
|
415
|
+
* @memberof LicensesApi
|
|
416
|
+
*/
|
|
417
|
+
getPoolLicense(requestParameters, options) {
|
|
418
|
+
return (0, exports.LicensesApiFp)(this.configuration).getPoolLicense(requestParameters.poolId, options).then((request) => request(this.axios, this.basePath));
|
|
419
|
+
}
|
|
420
|
+
/**
|
|
421
|
+
* Grant access to the license pool
|
|
422
|
+
* @summary Grant Pool Access
|
|
423
|
+
* @param {LicensesApiGrantAccessToPoolRequest} requestParameters Request parameters.
|
|
424
|
+
* @param {*} [options] Override http request option.
|
|
425
|
+
* @throws {RequiredError}
|
|
426
|
+
* @memberof LicensesApi
|
|
427
|
+
*/
|
|
428
|
+
grantAccessToPool(requestParameters, options) {
|
|
429
|
+
return (0, exports.LicensesApiFp)(this.configuration).grantAccessToPool(requestParameters.poolId, requestParameters.licensePoolAccessPolicy, options).then((request) => request(this.axios, this.basePath));
|
|
430
|
+
}
|
|
431
|
+
/**
|
|
432
|
+
* Revoke access to the license pool
|
|
433
|
+
* @summary Delete Pool Access
|
|
434
|
+
* @param {LicensesApiRevokeAccessToPoolRequest} requestParameters Request parameters.
|
|
435
|
+
* @param {*} [options] Override http request option.
|
|
436
|
+
* @throws {RequiredError}
|
|
437
|
+
* @memberof LicensesApi
|
|
438
|
+
*/
|
|
439
|
+
revokeAccessToPool(requestParameters, options) {
|
|
440
|
+
return (0, exports.LicensesApiFp)(this.configuration).revokeAccessToPool(requestParameters.poolId, requestParameters.licensePoolPolicySubject, options).then((request) => request(this.axios, this.basePath));
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
exports.LicensesApi = LicensesApi;
|
package/dist/api/orgs-api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* pollination-server
|
|
3
3
|
* Pollination Server OpenAPI Definition
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.21.0
|
|
6
6
|
* Contact: info@pollination.cloud
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/api/orgs-api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* pollination-server
|
|
6
6
|
* Pollination Server OpenAPI Definition
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.21.0
|
|
9
9
|
* Contact: info@pollination.cloud
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* pollination-server
|
|
3
3
|
* Pollination Server OpenAPI Definition
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.21.0
|
|
6
6
|
* Contact: info@pollination.cloud
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
import { AxiosPromise, AxiosInstance } from 'axios';
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
-
import { AppServerRestPaymentsDtoInvoicePreview } from '../models';
|
|
16
15
|
import { CardPublic } from '../models';
|
|
17
16
|
import { CreatedContent } from '../models';
|
|
18
17
|
import { Inventory } from '../models';
|
|
19
18
|
import { InvoiceList } from '../models';
|
|
19
|
+
import { InvoicePreview } from '../models';
|
|
20
20
|
import { PaymentCreate } from '../models';
|
|
21
21
|
import { PaymentIntent } from '../models';
|
|
22
22
|
import { PaymentMethodList } from '../models';
|
|
@@ -77,10 +77,11 @@ export declare const PaymentsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
77
77
|
/**
|
|
78
78
|
*
|
|
79
79
|
* @summary Get Inventory
|
|
80
|
+
* @param {string} accountName
|
|
80
81
|
* @param {*} [options] Override http request option.
|
|
81
82
|
* @throws {RequiredError}
|
|
82
83
|
*/
|
|
83
|
-
getInventory: (options?: any) => Promise<RequestArgs>;
|
|
84
|
+
getInventory: (accountName: string, options?: any) => Promise<RequestArgs>;
|
|
84
85
|
/**
|
|
85
86
|
*
|
|
86
87
|
* @summary Get Invoice List
|
|
@@ -117,6 +118,13 @@ export declare const PaymentsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
117
118
|
* @throws {RequiredError}
|
|
118
119
|
*/
|
|
119
120
|
getSubscription: (accountName: string, options?: any) => Promise<RequestArgs>;
|
|
121
|
+
/**
|
|
122
|
+
*
|
|
123
|
+
* @summary Get Unfiltered Inventory
|
|
124
|
+
* @param {*} [options] Override http request option.
|
|
125
|
+
* @throws {RequiredError}
|
|
126
|
+
*/
|
|
127
|
+
getUnfilteredInventory: (options?: any) => Promise<RequestArgs>;
|
|
120
128
|
/**
|
|
121
129
|
*
|
|
122
130
|
* @summary Get Payment Methods
|
|
@@ -203,10 +211,11 @@ export declare const PaymentsApiFp: (configuration?: Configuration) => {
|
|
|
203
211
|
/**
|
|
204
212
|
*
|
|
205
213
|
* @summary Get Inventory
|
|
214
|
+
* @param {string} accountName
|
|
206
215
|
* @param {*} [options] Override http request option.
|
|
207
216
|
* @throws {RequiredError}
|
|
208
217
|
*/
|
|
209
|
-
getInventory(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Inventory>>;
|
|
218
|
+
getInventory(accountName: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Inventory>>;
|
|
210
219
|
/**
|
|
211
220
|
*
|
|
212
221
|
* @summary Get Invoice List
|
|
@@ -226,7 +235,7 @@ export declare const PaymentsApiFp: (configuration?: Configuration) => {
|
|
|
226
235
|
* @param {*} [options] Override http request option.
|
|
227
236
|
* @throws {RequiredError}
|
|
228
237
|
*/
|
|
229
|
-
getNextInvoice(accountName: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
238
|
+
getNextInvoice(accountName: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InvoicePreview>>;
|
|
230
239
|
/**
|
|
231
240
|
*
|
|
232
241
|
* @summary Get Status
|
|
@@ -243,6 +252,13 @@ export declare const PaymentsApiFp: (configuration?: Configuration) => {
|
|
|
243
252
|
* @throws {RequiredError}
|
|
244
253
|
*/
|
|
245
254
|
getSubscription(accountName: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Subscription>>;
|
|
255
|
+
/**
|
|
256
|
+
*
|
|
257
|
+
* @summary Get Unfiltered Inventory
|
|
258
|
+
* @param {*} [options] Override http request option.
|
|
259
|
+
* @throws {RequiredError}
|
|
260
|
+
*/
|
|
261
|
+
getUnfilteredInventory(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Inventory>>;
|
|
246
262
|
/**
|
|
247
263
|
*
|
|
248
264
|
* @summary Get Payment Methods
|
|
@@ -329,10 +345,11 @@ export declare const PaymentsApiFactory: (configuration?: Configuration, basePat
|
|
|
329
345
|
/**
|
|
330
346
|
*
|
|
331
347
|
* @summary Get Inventory
|
|
348
|
+
* @param {string} accountName
|
|
332
349
|
* @param {*} [options] Override http request option.
|
|
333
350
|
* @throws {RequiredError}
|
|
334
351
|
*/
|
|
335
|
-
getInventory(options?: any): AxiosPromise<Inventory>;
|
|
352
|
+
getInventory(accountName: string, options?: any): AxiosPromise<Inventory>;
|
|
336
353
|
/**
|
|
337
354
|
*
|
|
338
355
|
* @summary Get Invoice List
|
|
@@ -352,7 +369,7 @@ export declare const PaymentsApiFactory: (configuration?: Configuration, basePat
|
|
|
352
369
|
* @param {*} [options] Override http request option.
|
|
353
370
|
* @throws {RequiredError}
|
|
354
371
|
*/
|
|
355
|
-
getNextInvoice(accountName: string, options?: any): AxiosPromise<
|
|
372
|
+
getNextInvoice(accountName: string, options?: any): AxiosPromise<InvoicePreview>;
|
|
356
373
|
/**
|
|
357
374
|
*
|
|
358
375
|
* @summary Get Status
|
|
@@ -369,6 +386,13 @@ export declare const PaymentsApiFactory: (configuration?: Configuration, basePat
|
|
|
369
386
|
* @throws {RequiredError}
|
|
370
387
|
*/
|
|
371
388
|
getSubscription(accountName: string, options?: any): AxiosPromise<Subscription>;
|
|
389
|
+
/**
|
|
390
|
+
*
|
|
391
|
+
* @summary Get Unfiltered Inventory
|
|
392
|
+
* @param {*} [options] Override http request option.
|
|
393
|
+
* @throws {RequiredError}
|
|
394
|
+
*/
|
|
395
|
+
getUnfilteredInventory(options?: any): AxiosPromise<Inventory>;
|
|
372
396
|
/**
|
|
373
397
|
*
|
|
374
398
|
* @summary Get Payment Methods
|
|
@@ -482,6 +506,19 @@ export interface PaymentsApiGetFailedPaymentRequest {
|
|
|
482
506
|
*/
|
|
483
507
|
readonly accountName: string;
|
|
484
508
|
}
|
|
509
|
+
/**
|
|
510
|
+
* Request parameters for getInventory operation in PaymentsApi.
|
|
511
|
+
* @export
|
|
512
|
+
* @interface PaymentsApiGetInventoryRequest
|
|
513
|
+
*/
|
|
514
|
+
export interface PaymentsApiGetInventoryRequest {
|
|
515
|
+
/**
|
|
516
|
+
*
|
|
517
|
+
* @type {string}
|
|
518
|
+
* @memberof PaymentsApiGetInventory
|
|
519
|
+
*/
|
|
520
|
+
readonly accountName: string;
|
|
521
|
+
}
|
|
485
522
|
/**
|
|
486
523
|
* Request parameters for getInvoiceList operation in PaymentsApi.
|
|
487
524
|
* @export
|
|
@@ -683,11 +720,12 @@ export declare class PaymentsApi extends BaseAPI {
|
|
|
683
720
|
/**
|
|
684
721
|
*
|
|
685
722
|
* @summary Get Inventory
|
|
723
|
+
* @param {PaymentsApiGetInventoryRequest} requestParameters Request parameters.
|
|
686
724
|
* @param {*} [options] Override http request option.
|
|
687
725
|
* @throws {RequiredError}
|
|
688
726
|
* @memberof PaymentsApi
|
|
689
727
|
*/
|
|
690
|
-
getInventory(options?: any): Promise<import("axios").AxiosResponse<Inventory>>;
|
|
728
|
+
getInventory(requestParameters: PaymentsApiGetInventoryRequest, options?: any): Promise<import("axios").AxiosResponse<Inventory>>;
|
|
691
729
|
/**
|
|
692
730
|
*
|
|
693
731
|
* @summary Get Invoice List
|
|
@@ -705,7 +743,7 @@ export declare class PaymentsApi extends BaseAPI {
|
|
|
705
743
|
* @throws {RequiredError}
|
|
706
744
|
* @memberof PaymentsApi
|
|
707
745
|
*/
|
|
708
|
-
getNextInvoice(requestParameters: PaymentsApiGetNextInvoiceRequest, options?: any): Promise<import("axios").AxiosResponse<
|
|
746
|
+
getNextInvoice(requestParameters: PaymentsApiGetNextInvoiceRequest, options?: any): Promise<import("axios").AxiosResponse<InvoicePreview>>;
|
|
709
747
|
/**
|
|
710
748
|
*
|
|
711
749
|
* @summary Get Status
|
|
@@ -724,6 +762,14 @@ export declare class PaymentsApi extends BaseAPI {
|
|
|
724
762
|
* @memberof PaymentsApi
|
|
725
763
|
*/
|
|
726
764
|
getSubscription(requestParameters: PaymentsApiGetSubscriptionRequest, options?: any): Promise<import("axios").AxiosResponse<Subscription>>;
|
|
765
|
+
/**
|
|
766
|
+
*
|
|
767
|
+
* @summary Get Unfiltered Inventory
|
|
768
|
+
* @param {*} [options] Override http request option.
|
|
769
|
+
* @throws {RequiredError}
|
|
770
|
+
* @memberof PaymentsApi
|
|
771
|
+
*/
|
|
772
|
+
getUnfilteredInventory(options?: any): Promise<import("axios").AxiosResponse<Inventory>>;
|
|
727
773
|
/**
|
|
728
774
|
*
|
|
729
775
|
* @summary Get Payment Methods
|