@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
package/dist/api/payments-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).
|
|
@@ -317,11 +317,17 @@ const PaymentsApiAxiosParamCreator = function (configuration) {
|
|
|
317
317
|
/**
|
|
318
318
|
*
|
|
319
319
|
* @summary Get Inventory
|
|
320
|
+
* @param {string} accountName
|
|
320
321
|
* @param {*} [options] Override http request option.
|
|
321
322
|
* @throws {RequiredError}
|
|
322
323
|
*/
|
|
323
|
-
getInventory: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
324
|
-
|
|
324
|
+
getInventory: (accountName, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
325
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
326
|
+
if (accountName === null || accountName === undefined) {
|
|
327
|
+
throw new base_1.RequiredError('accountName', 'Required parameter accountName was null or undefined when calling getInventory.');
|
|
328
|
+
}
|
|
329
|
+
const localVarPath = `/payments/{account_name}/inventory`
|
|
330
|
+
.replace(`{${"account_name"}}`, encodeURIComponent(String(accountName)));
|
|
325
331
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
326
332
|
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
327
333
|
let baseOptions;
|
|
@@ -331,6 +337,21 @@ const PaymentsApiAxiosParamCreator = function (configuration) {
|
|
|
331
337
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
332
338
|
const localVarHeaderParameter = {};
|
|
333
339
|
const localVarQueryParameter = {};
|
|
340
|
+
// authentication APIKeyAuth required
|
|
341
|
+
if (configuration && configuration.apiKey) {
|
|
342
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
343
|
+
? yield configuration.apiKey("x-pollination-token")
|
|
344
|
+
: yield configuration.apiKey;
|
|
345
|
+
localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
|
|
346
|
+
}
|
|
347
|
+
// authentication JWTAuth required
|
|
348
|
+
// http bearer authentication required
|
|
349
|
+
if (configuration && configuration.accessToken) {
|
|
350
|
+
const accessToken = typeof configuration.accessToken === 'function'
|
|
351
|
+
? yield configuration.accessToken()
|
|
352
|
+
: yield configuration.accessToken;
|
|
353
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
354
|
+
}
|
|
334
355
|
const query = new URLSearchParams(localVarUrlObj.search);
|
|
335
356
|
for (const key in localVarQueryParameter) {
|
|
336
357
|
query.set(key, localVarQueryParameter[key]);
|
|
@@ -574,6 +595,38 @@ const PaymentsApiAxiosParamCreator = function (configuration) {
|
|
|
574
595
|
options: localVarRequestOptions,
|
|
575
596
|
};
|
|
576
597
|
}),
|
|
598
|
+
/**
|
|
599
|
+
*
|
|
600
|
+
* @summary Get Unfiltered Inventory
|
|
601
|
+
* @param {*} [options] Override http request option.
|
|
602
|
+
* @throws {RequiredError}
|
|
603
|
+
*/
|
|
604
|
+
getUnfilteredInventory: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
605
|
+
const localVarPath = `/payments/inventory`;
|
|
606
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
607
|
+
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
608
|
+
let baseOptions;
|
|
609
|
+
if (configuration) {
|
|
610
|
+
baseOptions = configuration.baseOptions;
|
|
611
|
+
}
|
|
612
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
613
|
+
const localVarHeaderParameter = {};
|
|
614
|
+
const localVarQueryParameter = {};
|
|
615
|
+
const query = new URLSearchParams(localVarUrlObj.search);
|
|
616
|
+
for (const key in localVarQueryParameter) {
|
|
617
|
+
query.set(key, localVarQueryParameter[key]);
|
|
618
|
+
}
|
|
619
|
+
for (const key in options.query) {
|
|
620
|
+
query.set(key, options.query[key]);
|
|
621
|
+
}
|
|
622
|
+
localVarUrlObj.search = (new URLSearchParams(query)).toString();
|
|
623
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
624
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
625
|
+
return {
|
|
626
|
+
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
|
627
|
+
options: localVarRequestOptions,
|
|
628
|
+
};
|
|
629
|
+
}),
|
|
577
630
|
/**
|
|
578
631
|
*
|
|
579
632
|
* @summary Get Payment Methods
|
|
@@ -904,12 +957,13 @@ const PaymentsApiFp = function (configuration) {
|
|
|
904
957
|
/**
|
|
905
958
|
*
|
|
906
959
|
* @summary Get Inventory
|
|
960
|
+
* @param {string} accountName
|
|
907
961
|
* @param {*} [options] Override http request option.
|
|
908
962
|
* @throws {RequiredError}
|
|
909
963
|
*/
|
|
910
|
-
getInventory(options) {
|
|
964
|
+
getInventory(accountName, options) {
|
|
911
965
|
return __awaiter(this, void 0, void 0, function* () {
|
|
912
|
-
const localVarAxiosArgs = yield (0, exports.PaymentsApiAxiosParamCreator)(configuration).getInventory(options);
|
|
966
|
+
const localVarAxiosArgs = yield (0, exports.PaymentsApiAxiosParamCreator)(configuration).getInventory(accountName, options);
|
|
913
967
|
return (axios = axios_1.default, basePath = base_1.BASE_PATH) => {
|
|
914
968
|
const axiosRequestArgs = Object.assign(Object.assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
915
969
|
return axios.request(axiosRequestArgs);
|
|
@@ -984,6 +1038,21 @@ const PaymentsApiFp = function (configuration) {
|
|
|
984
1038
|
};
|
|
985
1039
|
});
|
|
986
1040
|
},
|
|
1041
|
+
/**
|
|
1042
|
+
*
|
|
1043
|
+
* @summary Get Unfiltered Inventory
|
|
1044
|
+
* @param {*} [options] Override http request option.
|
|
1045
|
+
* @throws {RequiredError}
|
|
1046
|
+
*/
|
|
1047
|
+
getUnfilteredInventory(options) {
|
|
1048
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1049
|
+
const localVarAxiosArgs = yield (0, exports.PaymentsApiAxiosParamCreator)(configuration).getUnfilteredInventory(options);
|
|
1050
|
+
return (axios = axios_1.default, basePath = base_1.BASE_PATH) => {
|
|
1051
|
+
const axiosRequestArgs = Object.assign(Object.assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
1052
|
+
return axios.request(axiosRequestArgs);
|
|
1053
|
+
};
|
|
1054
|
+
});
|
|
1055
|
+
},
|
|
987
1056
|
/**
|
|
988
1057
|
*
|
|
989
1058
|
* @summary Get Payment Methods
|
|
@@ -1115,11 +1184,12 @@ const PaymentsApiFactory = function (configuration, basePath, axios) {
|
|
|
1115
1184
|
/**
|
|
1116
1185
|
*
|
|
1117
1186
|
* @summary Get Inventory
|
|
1187
|
+
* @param {string} accountName
|
|
1118
1188
|
* @param {*} [options] Override http request option.
|
|
1119
1189
|
* @throws {RequiredError}
|
|
1120
1190
|
*/
|
|
1121
|
-
getInventory(options) {
|
|
1122
|
-
return (0, exports.PaymentsApiFp)(configuration).getInventory(options).then((request) => request(axios, basePath));
|
|
1191
|
+
getInventory(accountName, options) {
|
|
1192
|
+
return (0, exports.PaymentsApiFp)(configuration).getInventory(accountName, options).then((request) => request(axios, basePath));
|
|
1123
1193
|
},
|
|
1124
1194
|
/**
|
|
1125
1195
|
*
|
|
@@ -1165,6 +1235,15 @@ const PaymentsApiFactory = function (configuration, basePath, axios) {
|
|
|
1165
1235
|
getSubscription(accountName, options) {
|
|
1166
1236
|
return (0, exports.PaymentsApiFp)(configuration).getSubscription(accountName, options).then((request) => request(axios, basePath));
|
|
1167
1237
|
},
|
|
1238
|
+
/**
|
|
1239
|
+
*
|
|
1240
|
+
* @summary Get Unfiltered Inventory
|
|
1241
|
+
* @param {*} [options] Override http request option.
|
|
1242
|
+
* @throws {RequiredError}
|
|
1243
|
+
*/
|
|
1244
|
+
getUnfilteredInventory(options) {
|
|
1245
|
+
return (0, exports.PaymentsApiFp)(configuration).getUnfilteredInventory(options).then((request) => request(axios, basePath));
|
|
1246
|
+
},
|
|
1168
1247
|
/**
|
|
1169
1248
|
*
|
|
1170
1249
|
* @summary Get Payment Methods
|
|
@@ -1276,12 +1355,13 @@ class PaymentsApi extends base_1.BaseAPI {
|
|
|
1276
1355
|
/**
|
|
1277
1356
|
*
|
|
1278
1357
|
* @summary Get Inventory
|
|
1358
|
+
* @param {PaymentsApiGetInventoryRequest} requestParameters Request parameters.
|
|
1279
1359
|
* @param {*} [options] Override http request option.
|
|
1280
1360
|
* @throws {RequiredError}
|
|
1281
1361
|
* @memberof PaymentsApi
|
|
1282
1362
|
*/
|
|
1283
|
-
getInventory(options) {
|
|
1284
|
-
return (0, exports.PaymentsApiFp)(this.configuration).getInventory(options).then((request) => request(this.axios, this.basePath));
|
|
1363
|
+
getInventory(requestParameters, options) {
|
|
1364
|
+
return (0, exports.PaymentsApiFp)(this.configuration).getInventory(requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
1285
1365
|
}
|
|
1286
1366
|
/**
|
|
1287
1367
|
*
|
|
@@ -1327,6 +1407,16 @@ class PaymentsApi extends base_1.BaseAPI {
|
|
|
1327
1407
|
getSubscription(requestParameters, options) {
|
|
1328
1408
|
return (0, exports.PaymentsApiFp)(this.configuration).getSubscription(requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
1329
1409
|
}
|
|
1410
|
+
/**
|
|
1411
|
+
*
|
|
1412
|
+
* @summary Get Unfiltered Inventory
|
|
1413
|
+
* @param {*} [options] Override http request option.
|
|
1414
|
+
* @throws {RequiredError}
|
|
1415
|
+
* @memberof PaymentsApi
|
|
1416
|
+
*/
|
|
1417
|
+
getUnfilteredInventory(options) {
|
|
1418
|
+
return (0, exports.PaymentsApiFp)(this.configuration).getUnfilteredInventory(options).then((request) => request(this.axios, this.basePath));
|
|
1419
|
+
}
|
|
1330
1420
|
/**
|
|
1331
1421
|
*
|
|
1332
1422
|
* @summary Get Payment Methods
|
|
@@ -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/plugins-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).
|
package/dist/api/projects-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).
|
package/dist/api/recipes-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).
|
|
@@ -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).
|
package/dist/api/runs-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/runs-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).
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* pollination-server
|
|
3
|
+
* Pollination Server OpenAPI Definition
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.21.0
|
|
6
|
+
* Contact: info@pollination.cloud
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { AxiosPromise, AxiosInstance } from 'axios';
|
|
13
|
+
import { Configuration } from '../configuration';
|
|
14
|
+
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import { PollinationSubscription } from '../models';
|
|
16
|
+
/**
|
|
17
|
+
* SubscriptionsApi - axios parameter creator
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export declare const SubscriptionsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @summary Get Subscription
|
|
24
|
+
* @param {string} accountName
|
|
25
|
+
* @param {*} [options] Override http request option.
|
|
26
|
+
* @throws {RequiredError}
|
|
27
|
+
*/
|
|
28
|
+
getPollinationSubscription: (accountName: string, options?: any) => Promise<RequestArgs>;
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* SubscriptionsApi - functional programming interface
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export declare const SubscriptionsApiFp: (configuration?: Configuration) => {
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @summary Get Subscription
|
|
38
|
+
* @param {string} accountName
|
|
39
|
+
* @param {*} [options] Override http request option.
|
|
40
|
+
* @throws {RequiredError}
|
|
41
|
+
*/
|
|
42
|
+
getPollinationSubscription(accountName: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PollinationSubscription>>;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* SubscriptionsApi - factory interface
|
|
46
|
+
* @export
|
|
47
|
+
*/
|
|
48
|
+
export declare const SubscriptionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @summary Get Subscription
|
|
52
|
+
* @param {string} accountName
|
|
53
|
+
* @param {*} [options] Override http request option.
|
|
54
|
+
* @throws {RequiredError}
|
|
55
|
+
*/
|
|
56
|
+
getPollinationSubscription(accountName: string, options?: any): AxiosPromise<PollinationSubscription>;
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* Request parameters for getPollinationSubscription operation in SubscriptionsApi.
|
|
60
|
+
* @export
|
|
61
|
+
* @interface SubscriptionsApiGetPollinationSubscriptionRequest
|
|
62
|
+
*/
|
|
63
|
+
export interface SubscriptionsApiGetPollinationSubscriptionRequest {
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof SubscriptionsApiGetPollinationSubscription
|
|
68
|
+
*/
|
|
69
|
+
readonly accountName: string;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* SubscriptionsApi - object-oriented interface
|
|
73
|
+
* @export
|
|
74
|
+
* @class SubscriptionsApi
|
|
75
|
+
* @extends {BaseAPI}
|
|
76
|
+
*/
|
|
77
|
+
export declare class SubscriptionsApi extends BaseAPI {
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @summary Get Subscription
|
|
81
|
+
* @param {SubscriptionsApiGetPollinationSubscriptionRequest} requestParameters Request parameters.
|
|
82
|
+
* @param {*} [options] Override http request option.
|
|
83
|
+
* @throws {RequiredError}
|
|
84
|
+
* @memberof SubscriptionsApi
|
|
85
|
+
*/
|
|
86
|
+
getPollinationSubscription(requestParameters: SubscriptionsApiGetPollinationSubscriptionRequest, options?: any): Promise<import("axios").AxiosResponse<PollinationSubscription>>;
|
|
87
|
+
}
|
|
@@ -0,0 +1,155 @@
|
|
|
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.SubscriptionsApi = exports.SubscriptionsApiFactory = exports.SubscriptionsApiFp = exports.SubscriptionsApiAxiosParamCreator = 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
|
+
* SubscriptionsApi - axios parameter creator
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
const SubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
35
|
+
return {
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @summary Get Subscription
|
|
39
|
+
* @param {string} accountName
|
|
40
|
+
* @param {*} [options] Override http request option.
|
|
41
|
+
* @throws {RequiredError}
|
|
42
|
+
*/
|
|
43
|
+
getPollinationSubscription: (accountName, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
44
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
45
|
+
if (accountName === null || accountName === undefined) {
|
|
46
|
+
throw new base_1.RequiredError('accountName', 'Required parameter accountName was null or undefined when calling getPollinationSubscription.');
|
|
47
|
+
}
|
|
48
|
+
const localVarPath = `/subscriptions/{account_name}`
|
|
49
|
+
.replace(`{${"account_name"}}`, encodeURIComponent(String(accountName)));
|
|
50
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
51
|
+
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
52
|
+
let baseOptions;
|
|
53
|
+
if (configuration) {
|
|
54
|
+
baseOptions = configuration.baseOptions;
|
|
55
|
+
}
|
|
56
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
57
|
+
const localVarHeaderParameter = {};
|
|
58
|
+
const localVarQueryParameter = {};
|
|
59
|
+
// authentication APIKeyAuth required
|
|
60
|
+
if (configuration && configuration.apiKey) {
|
|
61
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
62
|
+
? yield configuration.apiKey("x-pollination-token")
|
|
63
|
+
: yield configuration.apiKey;
|
|
64
|
+
localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
|
|
65
|
+
}
|
|
66
|
+
// authentication JWTAuth required
|
|
67
|
+
// http bearer authentication required
|
|
68
|
+
if (configuration && configuration.accessToken) {
|
|
69
|
+
const accessToken = typeof configuration.accessToken === 'function'
|
|
70
|
+
? yield configuration.accessToken()
|
|
71
|
+
: yield configuration.accessToken;
|
|
72
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
73
|
+
}
|
|
74
|
+
const query = new URLSearchParams(localVarUrlObj.search);
|
|
75
|
+
for (const key in localVarQueryParameter) {
|
|
76
|
+
query.set(key, localVarQueryParameter[key]);
|
|
77
|
+
}
|
|
78
|
+
for (const key in options.query) {
|
|
79
|
+
query.set(key, options.query[key]);
|
|
80
|
+
}
|
|
81
|
+
localVarUrlObj.search = (new URLSearchParams(query)).toString();
|
|
82
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
83
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
84
|
+
return {
|
|
85
|
+
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
|
86
|
+
options: localVarRequestOptions,
|
|
87
|
+
};
|
|
88
|
+
}),
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
exports.SubscriptionsApiAxiosParamCreator = SubscriptionsApiAxiosParamCreator;
|
|
92
|
+
/**
|
|
93
|
+
* SubscriptionsApi - functional programming interface
|
|
94
|
+
* @export
|
|
95
|
+
*/
|
|
96
|
+
const SubscriptionsApiFp = function (configuration) {
|
|
97
|
+
return {
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @summary Get Subscription
|
|
101
|
+
* @param {string} accountName
|
|
102
|
+
* @param {*} [options] Override http request option.
|
|
103
|
+
* @throws {RequiredError}
|
|
104
|
+
*/
|
|
105
|
+
getPollinationSubscription(accountName, options) {
|
|
106
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
107
|
+
const localVarAxiosArgs = yield (0, exports.SubscriptionsApiAxiosParamCreator)(configuration).getPollinationSubscription(accountName, options);
|
|
108
|
+
return (axios = axios_1.default, basePath = base_1.BASE_PATH) => {
|
|
109
|
+
const axiosRequestArgs = Object.assign(Object.assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
110
|
+
return axios.request(axiosRequestArgs);
|
|
111
|
+
};
|
|
112
|
+
});
|
|
113
|
+
},
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
exports.SubscriptionsApiFp = SubscriptionsApiFp;
|
|
117
|
+
/**
|
|
118
|
+
* SubscriptionsApi - factory interface
|
|
119
|
+
* @export
|
|
120
|
+
*/
|
|
121
|
+
const SubscriptionsApiFactory = function (configuration, basePath, axios) {
|
|
122
|
+
return {
|
|
123
|
+
/**
|
|
124
|
+
*
|
|
125
|
+
* @summary Get Subscription
|
|
126
|
+
* @param {string} accountName
|
|
127
|
+
* @param {*} [options] Override http request option.
|
|
128
|
+
* @throws {RequiredError}
|
|
129
|
+
*/
|
|
130
|
+
getPollinationSubscription(accountName, options) {
|
|
131
|
+
return (0, exports.SubscriptionsApiFp)(configuration).getPollinationSubscription(accountName, options).then((request) => request(axios, basePath));
|
|
132
|
+
},
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
exports.SubscriptionsApiFactory = SubscriptionsApiFactory;
|
|
136
|
+
/**
|
|
137
|
+
* SubscriptionsApi - object-oriented interface
|
|
138
|
+
* @export
|
|
139
|
+
* @class SubscriptionsApi
|
|
140
|
+
* @extends {BaseAPI}
|
|
141
|
+
*/
|
|
142
|
+
class SubscriptionsApi extends base_1.BaseAPI {
|
|
143
|
+
/**
|
|
144
|
+
*
|
|
145
|
+
* @summary Get Subscription
|
|
146
|
+
* @param {SubscriptionsApiGetPollinationSubscriptionRequest} requestParameters Request parameters.
|
|
147
|
+
* @param {*} [options] Override http request option.
|
|
148
|
+
* @throws {RequiredError}
|
|
149
|
+
* @memberof SubscriptionsApi
|
|
150
|
+
*/
|
|
151
|
+
getPollinationSubscription(requestParameters, options) {
|
|
152
|
+
return (0, exports.SubscriptionsApiFp)(this.configuration).getPollinationSubscription(requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
exports.SubscriptionsApi = SubscriptionsApi;
|
package/dist/api/teams-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/teams-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).
|
package/dist/api/user-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/user-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).
|
package/dist/api/users-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).
|
|
@@ -19,6 +19,14 @@ import { UserPublicList } from '../models';
|
|
|
19
19
|
* @export
|
|
20
20
|
*/
|
|
21
21
|
export declare const UsersApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22
|
+
/**
|
|
23
|
+
* Check if a username is already taken by a user or an org
|
|
24
|
+
* @summary Check if a username is already taken
|
|
25
|
+
* @param {string} username
|
|
26
|
+
* @param {*} [options] Override http request option.
|
|
27
|
+
* @throws {RequiredError}
|
|
28
|
+
*/
|
|
29
|
+
checkUsername: (username: string, options?: any) => Promise<RequestArgs>;
|
|
22
30
|
/**
|
|
23
31
|
* Get a specific user profile by name
|
|
24
32
|
* @summary Get a specific user profile
|
|
@@ -43,6 +51,14 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
43
51
|
* @export
|
|
44
52
|
*/
|
|
45
53
|
export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
54
|
+
/**
|
|
55
|
+
* Check if a username is already taken by a user or an org
|
|
56
|
+
* @summary Check if a username is already taken
|
|
57
|
+
* @param {string} username
|
|
58
|
+
* @param {*} [options] Override http request option.
|
|
59
|
+
* @throws {RequiredError}
|
|
60
|
+
*/
|
|
61
|
+
checkUsername(username: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
46
62
|
/**
|
|
47
63
|
* Get a specific user profile by name
|
|
48
64
|
* @summary Get a specific user profile
|
|
@@ -67,6 +83,14 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
67
83
|
* @export
|
|
68
84
|
*/
|
|
69
85
|
export declare const UsersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
86
|
+
/**
|
|
87
|
+
* Check if a username is already taken by a user or an org
|
|
88
|
+
* @summary Check if a username is already taken
|
|
89
|
+
* @param {string} username
|
|
90
|
+
* @param {*} [options] Override http request option.
|
|
91
|
+
* @throws {RequiredError}
|
|
92
|
+
*/
|
|
93
|
+
checkUsername(username: string, options?: any): AxiosPromise<any>;
|
|
70
94
|
/**
|
|
71
95
|
* Get a specific user profile by name
|
|
72
96
|
* @summary Get a specific user profile
|
|
@@ -86,6 +110,19 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
|
|
|
86
110
|
*/
|
|
87
111
|
listUsers(search?: string, page?: number, perPage?: number, options?: any): AxiosPromise<UserPublicList>;
|
|
88
112
|
};
|
|
113
|
+
/**
|
|
114
|
+
* Request parameters for checkUsername operation in UsersApi.
|
|
115
|
+
* @export
|
|
116
|
+
* @interface UsersApiCheckUsernameRequest
|
|
117
|
+
*/
|
|
118
|
+
export interface UsersApiCheckUsernameRequest {
|
|
119
|
+
/**
|
|
120
|
+
*
|
|
121
|
+
* @type {string}
|
|
122
|
+
* @memberof UsersApiCheckUsername
|
|
123
|
+
*/
|
|
124
|
+
readonly username: string;
|
|
125
|
+
}
|
|
89
126
|
/**
|
|
90
127
|
* Request parameters for getOneUser operation in UsersApi.
|
|
91
128
|
* @export
|
|
@@ -131,6 +168,15 @@ export interface UsersApiListUsersRequest {
|
|
|
131
168
|
* @extends {BaseAPI}
|
|
132
169
|
*/
|
|
133
170
|
export declare class UsersApi extends BaseAPI {
|
|
171
|
+
/**
|
|
172
|
+
* Check if a username is already taken by a user or an org
|
|
173
|
+
* @summary Check if a username is already taken
|
|
174
|
+
* @param {UsersApiCheckUsernameRequest} requestParameters Request parameters.
|
|
175
|
+
* @param {*} [options] Override http request option.
|
|
176
|
+
* @throws {RequiredError}
|
|
177
|
+
* @memberof UsersApi
|
|
178
|
+
*/
|
|
179
|
+
checkUsername(requestParameters: UsersApiCheckUsernameRequest, options?: any): Promise<import("axios").AxiosResponse<any>>;
|
|
134
180
|
/**
|
|
135
181
|
* Get a specific user profile by name
|
|
136
182
|
* @summary Get a specific user profile
|