@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/api/payments-api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* pollination-server
|
|
5
5
|
* Pollination Server OpenAPI Definition
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.21.0
|
|
8
8
|
* Contact: info@pollination.cloud
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -19,8 +19,6 @@ import { Configuration } from '../configuration';
|
|
|
19
19
|
// @ts-ignore
|
|
20
20
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
21
21
|
// @ts-ignore
|
|
22
|
-
import { AppServerRestPaymentsDtoInvoicePreview } from '../models';
|
|
23
|
-
// @ts-ignore
|
|
24
22
|
import { CardPublic } from '../models';
|
|
25
23
|
// @ts-ignore
|
|
26
24
|
import { CreatedContent } from '../models';
|
|
@@ -31,6 +29,8 @@ import { Inventory } from '../models';
|
|
|
31
29
|
// @ts-ignore
|
|
32
30
|
import { InvoiceList } from '../models';
|
|
33
31
|
// @ts-ignore
|
|
32
|
+
import { InvoicePreview } from '../models';
|
|
33
|
+
// @ts-ignore
|
|
34
34
|
import { PaymentCreate } from '../models';
|
|
35
35
|
// @ts-ignore
|
|
36
36
|
import { PaymentIntent } from '../models';
|
|
@@ -372,11 +372,17 @@ export const PaymentsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
372
372
|
/**
|
|
373
373
|
*
|
|
374
374
|
* @summary Get Inventory
|
|
375
|
+
* @param {string} accountName
|
|
375
376
|
* @param {*} [options] Override http request option.
|
|
376
377
|
* @throws {RequiredError}
|
|
377
378
|
*/
|
|
378
|
-
getInventory: async (options: any = {}): Promise<RequestArgs> => {
|
|
379
|
-
|
|
379
|
+
getInventory: async (accountName: string, options: any = {}): Promise<RequestArgs> => {
|
|
380
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
381
|
+
if (accountName === null || accountName === undefined) {
|
|
382
|
+
throw new RequiredError('accountName','Required parameter accountName was null or undefined when calling getInventory.');
|
|
383
|
+
}
|
|
384
|
+
const localVarPath = `/payments/{account_name}/inventory`
|
|
385
|
+
.replace(`{${"account_name"}}`, encodeURIComponent(String(accountName)));
|
|
380
386
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
381
387
|
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
382
388
|
let baseOptions;
|
|
@@ -387,6 +393,23 @@ export const PaymentsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
387
393
|
const localVarHeaderParameter = {} as any;
|
|
388
394
|
const localVarQueryParameter = {} as any;
|
|
389
395
|
|
|
396
|
+
// authentication APIKeyAuth required
|
|
397
|
+
if (configuration && configuration.apiKey) {
|
|
398
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
399
|
+
? await configuration.apiKey("x-pollination-token")
|
|
400
|
+
: await configuration.apiKey;
|
|
401
|
+
localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
// authentication JWTAuth required
|
|
405
|
+
// http bearer authentication required
|
|
406
|
+
if (configuration && configuration.accessToken) {
|
|
407
|
+
const accessToken = typeof configuration.accessToken === 'function'
|
|
408
|
+
? await configuration.accessToken()
|
|
409
|
+
: await configuration.accessToken;
|
|
410
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
411
|
+
}
|
|
412
|
+
|
|
390
413
|
|
|
391
414
|
|
|
392
415
|
const query = new URLSearchParams(localVarUrlObj.search);
|
|
@@ -645,6 +668,42 @@ export const PaymentsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
645
668
|
|
|
646
669
|
|
|
647
670
|
|
|
671
|
+
const query = new URLSearchParams(localVarUrlObj.search);
|
|
672
|
+
for (const key in localVarQueryParameter) {
|
|
673
|
+
query.set(key, localVarQueryParameter[key]);
|
|
674
|
+
}
|
|
675
|
+
for (const key in options.query) {
|
|
676
|
+
query.set(key, options.query[key]);
|
|
677
|
+
}
|
|
678
|
+
localVarUrlObj.search = (new URLSearchParams(query)).toString();
|
|
679
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
680
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
681
|
+
|
|
682
|
+
return {
|
|
683
|
+
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
|
684
|
+
options: localVarRequestOptions,
|
|
685
|
+
};
|
|
686
|
+
},
|
|
687
|
+
/**
|
|
688
|
+
*
|
|
689
|
+
* @summary Get Unfiltered Inventory
|
|
690
|
+
* @param {*} [options] Override http request option.
|
|
691
|
+
* @throws {RequiredError}
|
|
692
|
+
*/
|
|
693
|
+
getUnfilteredInventory: async (options: any = {}): Promise<RequestArgs> => {
|
|
694
|
+
const localVarPath = `/payments/inventory`;
|
|
695
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
696
|
+
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
697
|
+
let baseOptions;
|
|
698
|
+
if (configuration) {
|
|
699
|
+
baseOptions = configuration.baseOptions;
|
|
700
|
+
}
|
|
701
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
702
|
+
const localVarHeaderParameter = {} as any;
|
|
703
|
+
const localVarQueryParameter = {} as any;
|
|
704
|
+
|
|
705
|
+
|
|
706
|
+
|
|
648
707
|
const query = new URLSearchParams(localVarUrlObj.search);
|
|
649
708
|
for (const key in localVarQueryParameter) {
|
|
650
709
|
query.set(key, localVarQueryParameter[key]);
|
|
@@ -1008,11 +1067,12 @@ export const PaymentsApiFp = function(configuration?: Configuration) {
|
|
|
1008
1067
|
/**
|
|
1009
1068
|
*
|
|
1010
1069
|
* @summary Get Inventory
|
|
1070
|
+
* @param {string} accountName
|
|
1011
1071
|
* @param {*} [options] Override http request option.
|
|
1012
1072
|
* @throws {RequiredError}
|
|
1013
1073
|
*/
|
|
1014
|
-
async getInventory(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Inventory>> {
|
|
1015
|
-
const localVarAxiosArgs = await PaymentsApiAxiosParamCreator(configuration).getInventory(options);
|
|
1074
|
+
async getInventory(accountName: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Inventory>> {
|
|
1075
|
+
const localVarAxiosArgs = await PaymentsApiAxiosParamCreator(configuration).getInventory(accountName, options);
|
|
1016
1076
|
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
1017
1077
|
const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
|
1018
1078
|
return axios.request(axiosRequestArgs);
|
|
@@ -1043,7 +1103,7 @@ export const PaymentsApiFp = function(configuration?: Configuration) {
|
|
|
1043
1103
|
* @param {*} [options] Override http request option.
|
|
1044
1104
|
* @throws {RequiredError}
|
|
1045
1105
|
*/
|
|
1046
|
-
async getNextInvoice(accountName: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1106
|
+
async getNextInvoice(accountName: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InvoicePreview>> {
|
|
1047
1107
|
const localVarAxiosArgs = await PaymentsApiAxiosParamCreator(configuration).getNextInvoice(accountName, options);
|
|
1048
1108
|
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
1049
1109
|
const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
|
@@ -1078,6 +1138,19 @@ export const PaymentsApiFp = function(configuration?: Configuration) {
|
|
|
1078
1138
|
return axios.request(axiosRequestArgs);
|
|
1079
1139
|
};
|
|
1080
1140
|
},
|
|
1141
|
+
/**
|
|
1142
|
+
*
|
|
1143
|
+
* @summary Get Unfiltered Inventory
|
|
1144
|
+
* @param {*} [options] Override http request option.
|
|
1145
|
+
* @throws {RequiredError}
|
|
1146
|
+
*/
|
|
1147
|
+
async getUnfilteredInventory(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Inventory>> {
|
|
1148
|
+
const localVarAxiosArgs = await PaymentsApiAxiosParamCreator(configuration).getUnfilteredInventory(options);
|
|
1149
|
+
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
1150
|
+
const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
|
1151
|
+
return axios.request(axiosRequestArgs);
|
|
1152
|
+
};
|
|
1153
|
+
},
|
|
1081
1154
|
/**
|
|
1082
1155
|
*
|
|
1083
1156
|
* @summary Get Payment Methods
|
|
@@ -1201,11 +1274,12 @@ export const PaymentsApiFactory = function (configuration?: Configuration, baseP
|
|
|
1201
1274
|
/**
|
|
1202
1275
|
*
|
|
1203
1276
|
* @summary Get Inventory
|
|
1277
|
+
* @param {string} accountName
|
|
1204
1278
|
* @param {*} [options] Override http request option.
|
|
1205
1279
|
* @throws {RequiredError}
|
|
1206
1280
|
*/
|
|
1207
|
-
getInventory(options?: any): AxiosPromise<Inventory> {
|
|
1208
|
-
return PaymentsApiFp(configuration).getInventory(options).then((request) => request(axios, basePath));
|
|
1281
|
+
getInventory(accountName: string, options?: any): AxiosPromise<Inventory> {
|
|
1282
|
+
return PaymentsApiFp(configuration).getInventory(accountName, options).then((request) => request(axios, basePath));
|
|
1209
1283
|
},
|
|
1210
1284
|
/**
|
|
1211
1285
|
*
|
|
@@ -1228,7 +1302,7 @@ export const PaymentsApiFactory = function (configuration?: Configuration, baseP
|
|
|
1228
1302
|
* @param {*} [options] Override http request option.
|
|
1229
1303
|
* @throws {RequiredError}
|
|
1230
1304
|
*/
|
|
1231
|
-
getNextInvoice(accountName: string, options?: any): AxiosPromise<
|
|
1305
|
+
getNextInvoice(accountName: string, options?: any): AxiosPromise<InvoicePreview> {
|
|
1232
1306
|
return PaymentsApiFp(configuration).getNextInvoice(accountName, options).then((request) => request(axios, basePath));
|
|
1233
1307
|
},
|
|
1234
1308
|
/**
|
|
@@ -1251,6 +1325,15 @@ export const PaymentsApiFactory = function (configuration?: Configuration, baseP
|
|
|
1251
1325
|
getSubscription(accountName: string, options?: any): AxiosPromise<Subscription> {
|
|
1252
1326
|
return PaymentsApiFp(configuration).getSubscription(accountName, options).then((request) => request(axios, basePath));
|
|
1253
1327
|
},
|
|
1328
|
+
/**
|
|
1329
|
+
*
|
|
1330
|
+
* @summary Get Unfiltered Inventory
|
|
1331
|
+
* @param {*} [options] Override http request option.
|
|
1332
|
+
* @throws {RequiredError}
|
|
1333
|
+
*/
|
|
1334
|
+
getUnfilteredInventory(options?: any): AxiosPromise<Inventory> {
|
|
1335
|
+
return PaymentsApiFp(configuration).getUnfilteredInventory(options).then((request) => request(axios, basePath));
|
|
1336
|
+
},
|
|
1254
1337
|
/**
|
|
1255
1338
|
*
|
|
1256
1339
|
* @summary Get Payment Methods
|
|
@@ -1381,6 +1464,20 @@ export interface PaymentsApiGetFailedPaymentRequest {
|
|
|
1381
1464
|
readonly accountName: string
|
|
1382
1465
|
}
|
|
1383
1466
|
|
|
1467
|
+
/**
|
|
1468
|
+
* Request parameters for getInventory operation in PaymentsApi.
|
|
1469
|
+
* @export
|
|
1470
|
+
* @interface PaymentsApiGetInventoryRequest
|
|
1471
|
+
*/
|
|
1472
|
+
export interface PaymentsApiGetInventoryRequest {
|
|
1473
|
+
/**
|
|
1474
|
+
*
|
|
1475
|
+
* @type {string}
|
|
1476
|
+
* @memberof PaymentsApiGetInventory
|
|
1477
|
+
*/
|
|
1478
|
+
readonly accountName: string
|
|
1479
|
+
}
|
|
1480
|
+
|
|
1384
1481
|
/**
|
|
1385
1482
|
* Request parameters for getInvoiceList operation in PaymentsApi.
|
|
1386
1483
|
* @export
|
|
@@ -1612,12 +1709,13 @@ export class PaymentsApi extends BaseAPI {
|
|
|
1612
1709
|
/**
|
|
1613
1710
|
*
|
|
1614
1711
|
* @summary Get Inventory
|
|
1712
|
+
* @param {PaymentsApiGetInventoryRequest} requestParameters Request parameters.
|
|
1615
1713
|
* @param {*} [options] Override http request option.
|
|
1616
1714
|
* @throws {RequiredError}
|
|
1617
1715
|
* @memberof PaymentsApi
|
|
1618
1716
|
*/
|
|
1619
|
-
public getInventory(options?: any) {
|
|
1620
|
-
return PaymentsApiFp(this.configuration).getInventory(options).then((request) => request(this.axios, this.basePath));
|
|
1717
|
+
public getInventory(requestParameters: PaymentsApiGetInventoryRequest, options?: any) {
|
|
1718
|
+
return PaymentsApiFp(this.configuration).getInventory(requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
1621
1719
|
}
|
|
1622
1720
|
|
|
1623
1721
|
/**
|
|
@@ -1668,6 +1766,17 @@ export class PaymentsApi extends BaseAPI {
|
|
|
1668
1766
|
return PaymentsApiFp(this.configuration).getSubscription(requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
1669
1767
|
}
|
|
1670
1768
|
|
|
1769
|
+
/**
|
|
1770
|
+
*
|
|
1771
|
+
* @summary Get Unfiltered Inventory
|
|
1772
|
+
* @param {*} [options] Override http request option.
|
|
1773
|
+
* @throws {RequiredError}
|
|
1774
|
+
* @memberof PaymentsApi
|
|
1775
|
+
*/
|
|
1776
|
+
public getUnfilteredInventory(options?: any) {
|
|
1777
|
+
return PaymentsApiFp(this.configuration).getUnfilteredInventory(options).then((request) => request(this.axios, this.basePath));
|
|
1778
|
+
}
|
|
1779
|
+
|
|
1671
1780
|
/**
|
|
1672
1781
|
*
|
|
1673
1782
|
* @summary Get Payment Methods
|
package/api/plugins-api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* pollination-server
|
|
5
5
|
* Pollination Server OpenAPI Definition
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.21.0
|
|
8
8
|
* Contact: info@pollination.cloud
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/api/projects-api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* pollination-server
|
|
5
5
|
* Pollination Server OpenAPI Definition
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.21.0
|
|
8
8
|
* Contact: info@pollination.cloud
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/api/recipes-api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* pollination-server
|
|
5
5
|
* Pollination Server OpenAPI Definition
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.21.0
|
|
8
8
|
* Contact: info@pollination.cloud
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/api/registries-api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* pollination-server
|
|
5
5
|
* Pollination Server OpenAPI Definition
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.21.0
|
|
8
8
|
* Contact: info@pollination.cloud
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/api/runs-api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* pollination-server
|
|
5
5
|
* Pollination Server OpenAPI Definition
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.21.0
|
|
8
8
|
* Contact: info@pollination.cloud
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* pollination-server
|
|
5
|
+
* Pollination Server OpenAPI Definition
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.21.0
|
|
8
|
+
* Contact: info@pollination.cloud
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import globalAxios, { AxiosPromise, AxiosInstance } from 'axios';
|
|
17
|
+
import { Configuration } from '../configuration';
|
|
18
|
+
// Some imports not used depending on template conditions
|
|
19
|
+
// @ts-ignore
|
|
20
|
+
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
21
|
+
// @ts-ignore
|
|
22
|
+
import { HTTPValidationError } from '../models';
|
|
23
|
+
// @ts-ignore
|
|
24
|
+
import { PollinationSubscription } from '../models';
|
|
25
|
+
/**
|
|
26
|
+
* SubscriptionsApi - axios parameter creator
|
|
27
|
+
* @export
|
|
28
|
+
*/
|
|
29
|
+
export const SubscriptionsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
30
|
+
return {
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @summary Get Subscription
|
|
34
|
+
* @param {string} accountName
|
|
35
|
+
* @param {*} [options] Override http request option.
|
|
36
|
+
* @throws {RequiredError}
|
|
37
|
+
*/
|
|
38
|
+
getPollinationSubscription: async (accountName: string, options: any = {}): Promise<RequestArgs> => {
|
|
39
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
40
|
+
if (accountName === null || accountName === undefined) {
|
|
41
|
+
throw new RequiredError('accountName','Required parameter accountName was null or undefined when calling getPollinationSubscription.');
|
|
42
|
+
}
|
|
43
|
+
const localVarPath = `/subscriptions/{account_name}`
|
|
44
|
+
.replace(`{${"account_name"}}`, encodeURIComponent(String(accountName)));
|
|
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 = { method: 'GET', ...baseOptions, ...options};
|
|
52
|
+
const localVarHeaderParameter = {} as any;
|
|
53
|
+
const localVarQueryParameter = {} as any;
|
|
54
|
+
|
|
55
|
+
// authentication APIKeyAuth required
|
|
56
|
+
if (configuration && configuration.apiKey) {
|
|
57
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
58
|
+
? await configuration.apiKey("x-pollination-token")
|
|
59
|
+
: await configuration.apiKey;
|
|
60
|
+
localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
// authentication JWTAuth required
|
|
64
|
+
// http bearer authentication required
|
|
65
|
+
if (configuration && configuration.accessToken) {
|
|
66
|
+
const accessToken = typeof configuration.accessToken === 'function'
|
|
67
|
+
? await configuration.accessToken()
|
|
68
|
+
: await configuration.accessToken;
|
|
69
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
|
|
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 = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
84
|
+
|
|
85
|
+
return {
|
|
86
|
+
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
|
87
|
+
options: localVarRequestOptions,
|
|
88
|
+
};
|
|
89
|
+
},
|
|
90
|
+
}
|
|
91
|
+
};
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* SubscriptionsApi - functional programming interface
|
|
95
|
+
* @export
|
|
96
|
+
*/
|
|
97
|
+
export const SubscriptionsApiFp = function(configuration?: Configuration) {
|
|
98
|
+
return {
|
|
99
|
+
/**
|
|
100
|
+
*
|
|
101
|
+
* @summary Get Subscription
|
|
102
|
+
* @param {string} accountName
|
|
103
|
+
* @param {*} [options] Override http request option.
|
|
104
|
+
* @throws {RequiredError}
|
|
105
|
+
*/
|
|
106
|
+
async getPollinationSubscription(accountName: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PollinationSubscription>> {
|
|
107
|
+
const localVarAxiosArgs = await SubscriptionsApiAxiosParamCreator(configuration).getPollinationSubscription(accountName, options);
|
|
108
|
+
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
109
|
+
const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
|
110
|
+
return axios.request(axiosRequestArgs);
|
|
111
|
+
};
|
|
112
|
+
},
|
|
113
|
+
}
|
|
114
|
+
};
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* SubscriptionsApi - factory interface
|
|
118
|
+
* @export
|
|
119
|
+
*/
|
|
120
|
+
export const SubscriptionsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
121
|
+
return {
|
|
122
|
+
/**
|
|
123
|
+
*
|
|
124
|
+
* @summary Get Subscription
|
|
125
|
+
* @param {string} accountName
|
|
126
|
+
* @param {*} [options] Override http request option.
|
|
127
|
+
* @throws {RequiredError}
|
|
128
|
+
*/
|
|
129
|
+
getPollinationSubscription(accountName: string, options?: any): AxiosPromise<PollinationSubscription> {
|
|
130
|
+
return SubscriptionsApiFp(configuration).getPollinationSubscription(accountName, options).then((request) => request(axios, basePath));
|
|
131
|
+
},
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* Request parameters for getPollinationSubscription operation in SubscriptionsApi.
|
|
137
|
+
* @export
|
|
138
|
+
* @interface SubscriptionsApiGetPollinationSubscriptionRequest
|
|
139
|
+
*/
|
|
140
|
+
export interface SubscriptionsApiGetPollinationSubscriptionRequest {
|
|
141
|
+
/**
|
|
142
|
+
*
|
|
143
|
+
* @type {string}
|
|
144
|
+
* @memberof SubscriptionsApiGetPollinationSubscription
|
|
145
|
+
*/
|
|
146
|
+
readonly accountName: string
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* SubscriptionsApi - object-oriented interface
|
|
151
|
+
* @export
|
|
152
|
+
* @class SubscriptionsApi
|
|
153
|
+
* @extends {BaseAPI}
|
|
154
|
+
*/
|
|
155
|
+
export class SubscriptionsApi extends BaseAPI {
|
|
156
|
+
/**
|
|
157
|
+
*
|
|
158
|
+
* @summary Get Subscription
|
|
159
|
+
* @param {SubscriptionsApiGetPollinationSubscriptionRequest} requestParameters Request parameters.
|
|
160
|
+
* @param {*} [options] Override http request option.
|
|
161
|
+
* @throws {RequiredError}
|
|
162
|
+
* @memberof SubscriptionsApi
|
|
163
|
+
*/
|
|
164
|
+
public getPollinationSubscription(requestParameters: SubscriptionsApiGetPollinationSubscriptionRequest, options?: any) {
|
|
165
|
+
return SubscriptionsApiFp(this.configuration).getPollinationSubscription(requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
166
|
+
}
|
|
167
|
+
}
|
package/api/teams-api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* pollination-server
|
|
5
5
|
* Pollination Server OpenAPI Definition
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.21.0
|
|
8
8
|
* Contact: info@pollination.cloud
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/api/user-api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* pollination-server
|
|
5
5
|
* Pollination Server OpenAPI Definition
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.21.0
|
|
8
8
|
* Contact: info@pollination.cloud
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/api/users-api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* pollination-server
|
|
5
5
|
* Pollination Server OpenAPI Definition
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.21.0
|
|
8
8
|
* Contact: info@pollination.cloud
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -30,6 +30,48 @@ import { UserPublicList } from '../models';
|
|
|
30
30
|
*/
|
|
31
31
|
export const UsersApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
32
32
|
return {
|
|
33
|
+
/**
|
|
34
|
+
* Check if a username is already taken by a user or an org
|
|
35
|
+
* @summary Check if a username is already taken
|
|
36
|
+
* @param {string} username
|
|
37
|
+
* @param {*} [options] Override http request option.
|
|
38
|
+
* @throws {RequiredError}
|
|
39
|
+
*/
|
|
40
|
+
checkUsername: async (username: string, options: any = {}): Promise<RequestArgs> => {
|
|
41
|
+
// verify required parameter 'username' is not null or undefined
|
|
42
|
+
if (username === null || username === undefined) {
|
|
43
|
+
throw new RequiredError('username','Required parameter username was null or undefined when calling checkUsername.');
|
|
44
|
+
}
|
|
45
|
+
const localVarPath = `/users/check_username/{username}`
|
|
46
|
+
.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
47
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
48
|
+
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
49
|
+
let baseOptions;
|
|
50
|
+
if (configuration) {
|
|
51
|
+
baseOptions = configuration.baseOptions;
|
|
52
|
+
}
|
|
53
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
54
|
+
const localVarHeaderParameter = {} as any;
|
|
55
|
+
const localVarQueryParameter = {} as any;
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
const query = new URLSearchParams(localVarUrlObj.search);
|
|
60
|
+
for (const key in localVarQueryParameter) {
|
|
61
|
+
query.set(key, localVarQueryParameter[key]);
|
|
62
|
+
}
|
|
63
|
+
for (const key in options.query) {
|
|
64
|
+
query.set(key, options.query[key]);
|
|
65
|
+
}
|
|
66
|
+
localVarUrlObj.search = (new URLSearchParams(query)).toString();
|
|
67
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
68
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
69
|
+
|
|
70
|
+
return {
|
|
71
|
+
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
|
72
|
+
options: localVarRequestOptions,
|
|
73
|
+
};
|
|
74
|
+
},
|
|
33
75
|
/**
|
|
34
76
|
* Get a specific user profile by name
|
|
35
77
|
* @summary Get a specific user profile
|
|
@@ -132,6 +174,20 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
132
174
|
*/
|
|
133
175
|
export const UsersApiFp = function(configuration?: Configuration) {
|
|
134
176
|
return {
|
|
177
|
+
/**
|
|
178
|
+
* Check if a username is already taken by a user or an org
|
|
179
|
+
* @summary Check if a username is already taken
|
|
180
|
+
* @param {string} username
|
|
181
|
+
* @param {*} [options] Override http request option.
|
|
182
|
+
* @throws {RequiredError}
|
|
183
|
+
*/
|
|
184
|
+
async checkUsername(username: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>> {
|
|
185
|
+
const localVarAxiosArgs = await UsersApiAxiosParamCreator(configuration).checkUsername(username, options);
|
|
186
|
+
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
187
|
+
const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
|
188
|
+
return axios.request(axiosRequestArgs);
|
|
189
|
+
};
|
|
190
|
+
},
|
|
135
191
|
/**
|
|
136
192
|
* Get a specific user profile by name
|
|
137
193
|
* @summary Get a specific user profile
|
|
@@ -171,6 +227,16 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
171
227
|
*/
|
|
172
228
|
export const UsersApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
173
229
|
return {
|
|
230
|
+
/**
|
|
231
|
+
* Check if a username is already taken by a user or an org
|
|
232
|
+
* @summary Check if a username is already taken
|
|
233
|
+
* @param {string} username
|
|
234
|
+
* @param {*} [options] Override http request option.
|
|
235
|
+
* @throws {RequiredError}
|
|
236
|
+
*/
|
|
237
|
+
checkUsername(username: string, options?: any): AxiosPromise<any> {
|
|
238
|
+
return UsersApiFp(configuration).checkUsername(username, options).then((request) => request(axios, basePath));
|
|
239
|
+
},
|
|
174
240
|
/**
|
|
175
241
|
* Get a specific user profile by name
|
|
176
242
|
* @summary Get a specific user profile
|
|
@@ -196,6 +262,20 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
196
262
|
};
|
|
197
263
|
};
|
|
198
264
|
|
|
265
|
+
/**
|
|
266
|
+
* Request parameters for checkUsername operation in UsersApi.
|
|
267
|
+
* @export
|
|
268
|
+
* @interface UsersApiCheckUsernameRequest
|
|
269
|
+
*/
|
|
270
|
+
export interface UsersApiCheckUsernameRequest {
|
|
271
|
+
/**
|
|
272
|
+
*
|
|
273
|
+
* @type {string}
|
|
274
|
+
* @memberof UsersApiCheckUsername
|
|
275
|
+
*/
|
|
276
|
+
readonly username: string
|
|
277
|
+
}
|
|
278
|
+
|
|
199
279
|
/**
|
|
200
280
|
* Request parameters for getOneUser operation in UsersApi.
|
|
201
281
|
* @export
|
|
@@ -245,6 +325,18 @@ export interface UsersApiListUsersRequest {
|
|
|
245
325
|
* @extends {BaseAPI}
|
|
246
326
|
*/
|
|
247
327
|
export class UsersApi extends BaseAPI {
|
|
328
|
+
/**
|
|
329
|
+
* Check if a username is already taken by a user or an org
|
|
330
|
+
* @summary Check if a username is already taken
|
|
331
|
+
* @param {UsersApiCheckUsernameRequest} requestParameters Request parameters.
|
|
332
|
+
* @param {*} [options] Override http request option.
|
|
333
|
+
* @throws {RequiredError}
|
|
334
|
+
* @memberof UsersApi
|
|
335
|
+
*/
|
|
336
|
+
public checkUsername(requestParameters: UsersApiCheckUsernameRequest, options?: any) {
|
|
337
|
+
return UsersApiFp(this.configuration).checkUsername(requestParameters.username, options).then((request) => request(this.axios, this.basePath));
|
|
338
|
+
}
|
|
339
|
+
|
|
248
340
|
/**
|
|
249
341
|
* Get a specific user profile by name
|
|
250
342
|
* @summary Get a specific user profile
|
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* pollination-server
|
|
5
5
|
* Pollination Server OpenAPI Definition
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.21.0
|
|
8
8
|
* Contact: info@pollination.cloud
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -18,6 +18,7 @@ export * from './api/apitokens-api';
|
|
|
18
18
|
export * from './api/accounts-api';
|
|
19
19
|
export * from './api/artifacts-api';
|
|
20
20
|
export * from './api/jobs-api';
|
|
21
|
+
export * from './api/licenses-api';
|
|
21
22
|
export * from './api/orgs-api';
|
|
22
23
|
export * from './api/payments-api';
|
|
23
24
|
export * from './api/plugins-api';
|
|
@@ -25,6 +26,7 @@ export * from './api/projects-api';
|
|
|
25
26
|
export * from './api/recipes-api';
|
|
26
27
|
export * from './api/registries-api';
|
|
27
28
|
export * from './api/runs-api';
|
|
29
|
+
export * from './api/subscriptions-api';
|
|
28
30
|
export * from './api/teams-api';
|
|
29
31
|
export * from './api/user-api';
|
|
30
32
|
export * from './api/users-api';
|
package/base.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* pollination-server
|
|
5
5
|
* Pollination Server OpenAPI Definition
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.21.0
|
|
8
8
|
* Contact: info@pollination.cloud
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/configuration.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* pollination-server
|
|
5
5
|
* Pollination Server OpenAPI Definition
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.21.0
|
|
8
8
|
* Contact: info@pollination.cloud
|
|
9
9
|
*
|
|
10
10
|
* 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).
|