@pollination-solutions/pollination-sdk 0.23.0 → 0.26.1
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 +3 -3
- package/.openapi-generator/FILES +11 -33
- package/README.md +1 -1
- package/api/accounts-api.ts +1 -1
- package/api/apitokens-api.ts +1 -1
- package/api/artifacts-api.ts +1 -1
- package/api/jobs-api.ts +1 -1
- package/api/licenses-api.ts +1 -1
- package/api/orgs-api.ts +1 -1
- package/api/plugins-api.ts +1 -1
- package/api/projects-api.ts +1 -1
- package/api/recipes-api.ts +1 -1
- package/api/registries-api.ts +1 -1
- package/api/runs-api.ts +1 -1
- package/api/subscription-plans-api.ts +151 -0
- package/api/subscriptions-api.ts +497 -48
- package/api/teams-api.ts +1 -1
- package/api/user-api.ts +1 -1
- package/api/users-api.ts +1 -1
- package/api.ts +2 -2
- package/base.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api/accounts-api.d.ts +5 -5
- package/dist/api/accounts-api.js +1 -1
- package/dist/api/apitokens-api.d.ts +5 -5
- package/dist/api/apitokens-api.js +1 -1
- package/dist/api/artifacts-api.d.ts +5 -5
- package/dist/api/artifacts-api.js +1 -1
- package/dist/api/jobs-api.d.ts +8 -8
- package/dist/api/jobs-api.js +1 -1
- package/dist/api/licenses-api.d.ts +9 -9
- package/dist/api/licenses-api.js +1 -1
- package/dist/api/orgs-api.d.ts +9 -9
- package/dist/api/orgs-api.js +1 -1
- package/dist/api/plugins-api.d.ts +12 -12
- package/dist/api/plugins-api.js +1 -1
- package/dist/api/projects-api.d.ts +13 -13
- package/dist/api/projects-api.js +1 -1
- package/dist/api/recipes-api.d.ts +12 -12
- package/dist/api/recipes-api.js +1 -1
- package/dist/api/registries-api.d.ts +6 -6
- package/dist/api/registries-api.js +1 -1
- package/dist/api/runs-api.d.ts +10 -10
- package/dist/api/runs-api.js +1 -1
- package/dist/api/subscription-plans-api.d.ts +88 -0
- package/dist/api/subscription-plans-api.js +138 -0
- package/dist/api/subscriptions-api.d.ts +230 -32
- package/dist/api/subscriptions-api.js +392 -37
- package/dist/api/teams-api.d.ts +9 -9
- package/dist/api/teams-api.js +1 -1
- package/dist/api/user-api.d.ts +5 -5
- package/dist/api/user-api.js +1 -1
- package/dist/api/users-api.d.ts +4 -4
- package/dist/api/users-api.js +1 -1
- package/dist/api.d.ts +2 -2
- package/dist/api.js +2 -2
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/models/accessor.d.ts +1 -1
- package/dist/models/accessor.js +1 -1
- package/dist/models/account-public.d.ts +1 -1
- package/dist/models/account-public.js +1 -1
- package/dist/models/account-type.d.ts +1 -1
- package/dist/models/account-type.js +1 -1
- package/dist/models/activation-list.d.ts +1 -1
- package/dist/models/activation-list.js +1 -1
- package/dist/models/activation.d.ts +8 -1
- package/dist/models/activation.js +1 -1
- 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/billing-info.d.ts +81 -0
- package/dist/models/{card-public.js → billing-info.js} +1 -1
- package/dist/models/billing-option.d.ts +50 -0
- package/dist/models/{discount.js → billing-option.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/{invoice-status.d.ts → card-type.d.ts} +10 -7
- package/dist/models/card-type.js +32 -0
- 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/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/docker-config.d.ts +1 -1
- package/dist/models/docker-config.js +1 -1
- package/dist/models/file-meta.d.ts +1 -1
- package/dist/models/file-meta.js +1 -1
- package/dist/models/file-reference.d.ts +1 -1
- package/dist/models/file-reference.js +1 -1
- package/dist/models/folder-reference.d.ts +1 -1
- package/dist/models/folder-reference.js +1 -1
- package/dist/models/function-array-input.d.ts +1 -1
- package/dist/models/function-array-input.js +1 -1
- package/dist/models/function-array-output.d.ts +1 -1
- package/dist/models/function-array-output.js +1 -1
- package/dist/models/function-boolean-input.d.ts +1 -1
- package/dist/models/function-boolean-input.js +1 -1
- package/dist/models/function-boolean-output.d.ts +1 -1
- package/dist/models/function-boolean-output.js +1 -1
- package/dist/models/function-file-input.d.ts +1 -1
- package/dist/models/function-file-input.js +1 -1
- package/dist/models/function-file-output.d.ts +1 -1
- package/dist/models/function-file-output.js +1 -1
- package/dist/models/function-folder-input.d.ts +1 -1
- package/dist/models/function-folder-input.js +1 -1
- package/dist/models/function-folder-output.d.ts +1 -1
- package/dist/models/function-folder-output.js +1 -1
- package/dist/models/function-integer-input.d.ts +1 -1
- package/dist/models/function-integer-input.js +1 -1
- package/dist/models/function-integer-output.d.ts +1 -1
- package/dist/models/function-integer-output.js +1 -1
- package/dist/models/function-jsonobject-input.d.ts +1 -1
- package/dist/models/function-jsonobject-input.js +1 -1
- package/dist/models/function-jsonobject-output.d.ts +1 -1
- package/dist/models/function-jsonobject-output.js +1 -1
- package/dist/models/function-number-input.d.ts +1 -1
- package/dist/models/function-number-input.js +1 -1
- package/dist/models/function-number-output.d.ts +1 -1
- package/dist/models/function-number-output.js +1 -1
- package/dist/models/function-path-input.d.ts +1 -1
- package/dist/models/function-path-input.js +1 -1
- package/dist/models/function-path-output.d.ts +1 -1
- package/dist/models/function-path-output.js +1 -1
- package/dist/models/function-string-input.d.ts +1 -1
- package/dist/models/function-string-input.js +1 -1
- package/dist/models/function-string-output.d.ts +1 -1
- package/dist/models/function-string-output.js +1 -1
- package/dist/models/function.d.ts +1 -1
- package/dist/models/function.js +1 -1
- package/dist/models/http.d.ts +1 -1
- package/dist/models/http.js +1 -1
- package/dist/models/httpvalidation-error.d.ts +1 -1
- package/dist/models/httpvalidation-error.js +1 -1
- package/dist/models/index.d.ts +10 -32
- package/dist/models/index.js +10 -32
- 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/ioalias-handler.d.ts +1 -1
- package/dist/models/ioalias-handler.js +1 -1
- package/dist/models/item-reference.d.ts +1 -1
- package/dist/models/item-reference.js +1 -1
- package/dist/models/item-type.d.ts +1 -1
- package/dist/models/item-type.js +1 -1
- package/dist/models/job-argument.d.ts +1 -1
- package/dist/models/job-argument.js +1 -1
- package/dist/models/job-path-argument.d.ts +1 -1
- package/dist/models/job-path-argument.js +1 -1
- package/dist/models/job-status-enum.d.ts +1 -1
- package/dist/models/job-status-enum.js +1 -1
- package/dist/models/job-status.d.ts +1 -1
- package/dist/models/job-status.js +1 -1
- package/dist/models/job.d.ts +1 -1
- package/dist/models/job.js +1 -1
- package/dist/models/key-request.d.ts +1 -1
- package/dist/models/key-request.js +1 -1
- package/dist/models/license-pool-access-policy-list.d.ts +1 -1
- package/dist/models/license-pool-access-policy-list.js +1 -1
- package/dist/models/license-pool-access-policy.d.ts +1 -1
- package/dist/models/license-pool-access-policy.js +1 -1
- package/dist/models/license-pool-list.d.ts +1 -1
- package/dist/models/license-pool-list.js +1 -1
- package/dist/models/license-pool-policy-subject-list.d.ts +1 -1
- package/dist/models/license-pool-policy-subject-list.js +1 -1
- package/dist/models/license-pool-policy-subject.d.ts +1 -1
- package/dist/models/license-pool-policy-subject.js +1 -1
- package/dist/models/license-pool-public.d.ts +13 -1
- package/dist/models/license-pool-public.js +1 -1
- package/dist/models/license-pool-update.d.ts +1 -1
- package/dist/models/license-pool-update.js +1 -1
- package/dist/models/license-public.d.ts +1 -1
- package/dist/models/license-public.js +1 -1
- package/dist/models/license-type.d.ts +1 -1
- package/dist/models/license-type.js +1 -1
- package/dist/models/license.d.ts +1 -1
- package/dist/models/license.js +1 -1
- package/dist/models/local-config.d.ts +1 -1
- package/dist/models/local-config.js +1 -1
- package/dist/models/location.d.ts +1 -1
- package/dist/models/location.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 +1 -1
- package/dist/models/metadata.js +1 -1
- package/dist/models/new-plugin-package.d.ts +1 -1
- package/dist/models/new-plugin-package.js +1 -1
- package/dist/models/new-recipe-package.d.ts +1 -1
- package/dist/models/new-recipe-package.js +1 -1
- package/dist/models/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/{coupon-duration.d.ts → paused-reason.d.ts} +4 -5
- package/dist/models/{coupon-duration.js → paused-reason.js} +7 -8
- package/dist/models/{payment-create.d.ts → pay-link.d.ts} +6 -6
- package/dist/models/{discount-amount.js → pay-link.js} +1 -1
- package/dist/models/{price-type.d.ts → payment-method-enum.d.ts} +3 -4
- package/dist/models/{price-type.js → payment-method-enum.js} +6 -7
- package/dist/models/payment-method.d.ts +44 -0
- package/dist/models/{coupon.js → payment-method.js} +1 -1
- package/dist/models/{coupon.d.ts → payment.d.ts} +24 -25
- package/dist/models/payment.js +15 -0
- package/dist/models/permission.d.ts +1 -1
- package/dist/models/permission.js +1 -1
- package/dist/models/plan-type.d.ts +21 -0
- package/dist/models/{invoice-status.js → plan-type.js} +8 -10
- 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/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-list.d.ts +1 -1
- package/dist/models/quota-list.js +1 -1
- package/dist/models/quota-plan.d.ts +11 -4
- package/dist/models/quota-plan.js +1 -1
- package/dist/models/quota-type.d.ts +1 -1
- package/dist/models/quota-type.js +1 -1
- package/dist/models/quota.d.ts +1 -1
- package/dist/models/quota.js +1 -1
- package/dist/models/recipe-interface-list.d.ts +1 -1
- package/dist/models/recipe-interface-list.js +1 -1
- package/dist/models/recipe-interface.d.ts +1 -1
- package/dist/models/recipe-interface.js +1 -1
- package/dist/models/recipe-package-list.d.ts +1 -1
- package/dist/models/recipe-package-list.js +1 -1
- package/dist/models/recipe-package.d.ts +1 -1
- package/dist/models/recipe-package.js +1 -1
- package/dist/models/recipe.d.ts +1 -1
- package/dist/models/recipe.js +1 -1
- package/dist/models/repository-access-policy-list.d.ts +1 -1
- package/dist/models/repository-access-policy-list.js +1 -1
- package/dist/models/repository-access-policy.d.ts +1 -1
- package/dist/models/repository-access-policy.js +1 -1
- package/dist/models/repository-create.d.ts +1 -1
- package/dist/models/repository-create.js +1 -1
- package/dist/models/repository-index.d.ts +1 -1
- package/dist/models/repository-index.js +1 -1
- package/dist/models/repository-list.d.ts +1 -1
- package/dist/models/repository-list.js +1 -1
- package/dist/models/repository-metadata.d.ts +1 -1
- package/dist/models/repository-metadata.js +1 -1
- package/dist/models/repository-policy-subject.d.ts +1 -1
- package/dist/models/repository-policy-subject.js +1 -1
- package/dist/models/repository-sort-key.d.ts +1 -1
- package/dist/models/repository-sort-key.js +1 -1
- package/dist/models/repository-update.d.ts +1 -1
- package/dist/models/repository-update.js +1 -1
- package/dist/models/repository-user-permissions.d.ts +1 -1
- package/dist/models/repository-user-permissions.js +1 -1
- package/dist/models/repository.d.ts +1 -1
- package/dist/models/repository.js +1 -1
- package/dist/models/resources-duration.d.ts +1 -1
- package/dist/models/resources-duration.js +1 -1
- package/dist/models/role-enum.d.ts +1 -1
- package/dist/models/role-enum.js +1 -1
- package/dist/models/run-list.d.ts +1 -1
- package/dist/models/run-list.js +1 -1
- package/dist/models/run-meta.d.ts +1 -1
- package/dist/models/run-meta.js +1 -1
- package/dist/models/run-progress.d.ts +1 -1
- package/dist/models/run-progress.js +1 -1
- package/dist/models/run-result-list.d.ts +1 -1
- package/dist/models/run-result-list.js +1 -1
- package/dist/models/run-status-enum.d.ts +1 -1
- package/dist/models/run-status-enum.js +1 -1
- package/dist/models/run-status.d.ts +1 -1
- package/dist/models/run-status.js +1 -1
- package/dist/models/run.d.ts +1 -1
- package/dist/models/run.js +1 -1
- package/dist/models/s3-upload-request.d.ts +1 -1
- package/dist/models/s3-upload-request.js +1 -1
- package/dist/models/s3.d.ts +1 -1
- package/dist/models/s3.js +1 -1
- package/dist/models/sort-enum.d.ts +1 -1
- package/dist/models/sort-enum.js +1 -1
- package/dist/models/status-type.d.ts +1 -1
- package/dist/models/status-type.js +1 -1
- package/dist/models/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/subscription-create.d.ts +16 -5
- package/dist/models/subscription-create.js +1 -1
- package/dist/models/{price-recurrence.d.ts → subscription-payment.d.ts} +11 -11
- package/dist/models/subscription-payment.js +15 -0
- package/dist/models/subscription-plan.d.ts +16 -2
- package/dist/models/subscription-plan.js +1 -1
- package/dist/models/subscription-update.d.ts +4 -31
- package/dist/models/subscription-update.js +1 -1
- package/dist/models/subscription.d.ts +26 -37
- 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/usage.d.ts +1 -1
- package/dist/models/usage.js +1 -1
- package/dist/models/user-create.d.ts +1 -1
- package/dist/models/user-create.js +1 -1
- package/dist/models/user-permission.d.ts +1 -1
- package/dist/models/user-permission.js +1 -1
- package/dist/models/user-private.d.ts +1 -1
- package/dist/models/user-private.js +1 -1
- package/dist/models/user-public-list.d.ts +1 -1
- package/dist/models/user-public-list.js +1 -1
- package/dist/models/user-public.d.ts +1 -1
- package/dist/models/user-public.js +1 -1
- package/dist/models/user-update.d.ts +1 -1
- package/dist/models/user-update.js +1 -1
- package/dist/models/validation-error.d.ts +1 -1
- package/dist/models/validation-error.js +1 -1
- package/dist/models/value-file-reference.d.ts +1 -1
- package/dist/models/value-file-reference.js +1 -1
- package/dist/models/value-folder-reference.d.ts +1 -1
- package/dist/models/value-folder-reference.js +1 -1
- package/dist/models/value-list-reference.d.ts +1 -1
- package/dist/models/value-list-reference.js +1 -1
- package/dist/models/value-reference.d.ts +1 -1
- package/dist/models/value-reference.js +1 -1
- package/index.ts +1 -1
- package/models/accessor.ts +1 -1
- package/models/account-public.ts +1 -1
- package/models/account-type.ts +1 -1
- package/models/activation-list.ts +1 -1
- package/models/activation.ts +8 -1
- 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/billing-info.ts +88 -0
- package/models/billing-option.ts +55 -0
- 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-type.ts +34 -0
- package/models/cloud-job-list.ts +1 -1
- package/models/cloud-job.ts +1 -1
- package/models/created-content.ts +1 -1
- package/models/dag.ts +1 -1
- package/models/dagarray-input-alias.ts +1 -1
- package/models/dagarray-input.ts +1 -1
- package/models/dagarray-output-alias.ts +1 -1
- package/models/dagarray-output.ts +1 -1
- package/models/dagboolean-input-alias.ts +1 -1
- package/models/dagboolean-input.ts +1 -1
- package/models/dagboolean-output-alias.ts +1 -1
- package/models/dagboolean-output.ts +1 -1
- package/models/dagfile-input-alias.ts +1 -1
- package/models/dagfile-input.ts +1 -1
- package/models/dagfile-output-alias.ts +1 -1
- package/models/dagfile-output.ts +1 -1
- package/models/dagfolder-input-alias.ts +1 -1
- package/models/dagfolder-input.ts +1 -1
- package/models/dagfolder-output-alias.ts +1 -1
- package/models/dagfolder-output.ts +1 -1
- package/models/daggeneric-input-alias.ts +1 -1
- package/models/daggeneric-input.ts +1 -1
- package/models/daggeneric-output-alias.ts +1 -1
- package/models/daggeneric-output.ts +1 -1
- package/models/daginteger-input-alias.ts +1 -1
- package/models/daginteger-input.ts +1 -1
- package/models/daginteger-output-alias.ts +1 -1
- package/models/daginteger-output.ts +1 -1
- package/models/dagjsonobject-input-alias.ts +1 -1
- package/models/dagjsonobject-input.ts +1 -1
- package/models/dagjsonobject-output-alias.ts +1 -1
- package/models/dagjsonobject-output.ts +1 -1
- package/models/daglinked-input-alias.ts +1 -1
- package/models/daglinked-output-alias.ts +1 -1
- package/models/dagnumber-input-alias.ts +1 -1
- package/models/dagnumber-input.ts +1 -1
- package/models/dagnumber-output-alias.ts +1 -1
- package/models/dagnumber-output.ts +1 -1
- package/models/dagpath-input-alias.ts +1 -1
- package/models/dagpath-input.ts +1 -1
- package/models/dagpath-output-alias.ts +1 -1
- package/models/dagpath-output.ts +1 -1
- package/models/dagstring-input-alias.ts +1 -1
- package/models/dagstring-input.ts +1 -1
- package/models/dagstring-output-alias.ts +1 -1
- package/models/dagstring-output.ts +1 -1
- package/models/dagtask-loop.ts +1 -1
- package/models/dagtask.ts +1 -1
- package/models/daily-usage.ts +1 -1
- package/models/dependency-kind.ts +1 -1
- package/models/dependency.ts +1 -1
- package/models/docker-config.ts +1 -1
- package/models/file-meta.ts +1 -1
- package/models/file-reference.ts +1 -1
- package/models/folder-reference.ts +1 -1
- package/models/function-array-input.ts +1 -1
- package/models/function-array-output.ts +1 -1
- package/models/function-boolean-input.ts +1 -1
- package/models/function-boolean-output.ts +1 -1
- package/models/function-file-input.ts +1 -1
- package/models/function-file-output.ts +1 -1
- package/models/function-folder-input.ts +1 -1
- package/models/function-folder-output.ts +1 -1
- package/models/function-integer-input.ts +1 -1
- package/models/function-integer-output.ts +1 -1
- package/models/function-jsonobject-input.ts +1 -1
- package/models/function-jsonobject-output.ts +1 -1
- package/models/function-number-input.ts +1 -1
- package/models/function-number-output.ts +1 -1
- package/models/function-path-input.ts +1 -1
- package/models/function-path-output.ts +1 -1
- package/models/function-string-input.ts +1 -1
- package/models/function-string-output.ts +1 -1
- package/models/function.ts +1 -1
- package/models/http.ts +1 -1
- package/models/httpvalidation-error.ts +1 -1
- package/models/index.ts +10 -32
- 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/ioalias-handler.ts +1 -1
- package/models/item-reference.ts +1 -1
- package/models/item-type.ts +1 -1
- package/models/job-argument.ts +1 -1
- package/models/job-path-argument.ts +1 -1
- package/models/job-status-enum.ts +1 -1
- package/models/job-status.ts +1 -1
- package/models/job.ts +1 -1
- package/models/key-request.ts +1 -1
- package/models/license-pool-access-policy-list.ts +1 -1
- package/models/license-pool-access-policy.ts +1 -1
- package/models/license-pool-list.ts +1 -1
- package/models/license-pool-policy-subject-list.ts +1 -1
- package/models/license-pool-policy-subject.ts +1 -1
- package/models/license-pool-public.ts +13 -1
- package/models/license-pool-update.ts +1 -1
- package/models/license-public.ts +1 -1
- package/models/license-type.ts +1 -1
- package/models/license.ts +1 -1
- package/models/local-config.ts +1 -1
- package/models/location.ts +1 -1
- package/models/maintainer.ts +1 -1
- package/models/meta-data.ts +1 -1
- package/models/metadata.ts +1 -1
- package/models/new-plugin-package.ts +1 -1
- package/models/new-recipe-package.ts +1 -1
- package/models/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/{coupon-duration.ts → paused-reason.ts} +4 -5
- package/models/{payment-create.ts → pay-link.ts} +6 -6
- package/models/{price-type.ts → payment-method-enum.ts} +3 -4
- package/models/payment-method.ts +51 -0
- package/models/{coupon.ts → payment.ts} +24 -25
- package/models/permission.ts +1 -1
- package/models/{invoice-status.ts → plan-type.ts} +5 -7
- 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/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-list.ts +1 -1
- package/models/quota-plan.ts +11 -4
- package/models/quota-type.ts +1 -1
- package/models/quota.ts +1 -1
- package/models/recipe-interface-list.ts +1 -1
- package/models/recipe-interface.ts +1 -1
- package/models/recipe-package-list.ts +1 -1
- package/models/recipe-package.ts +1 -1
- package/models/recipe.ts +1 -1
- package/models/repository-access-policy-list.ts +1 -1
- package/models/repository-access-policy.ts +1 -1
- package/models/repository-create.ts +1 -1
- package/models/repository-index.ts +1 -1
- package/models/repository-list.ts +1 -1
- package/models/repository-metadata.ts +1 -1
- package/models/repository-policy-subject.ts +1 -1
- package/models/repository-sort-key.ts +1 -1
- package/models/repository-update.ts +1 -1
- package/models/repository-user-permissions.ts +1 -1
- package/models/repository.ts +1 -1
- package/models/resources-duration.ts +1 -1
- package/models/role-enum.ts +1 -1
- package/models/run-list.ts +1 -1
- package/models/run-meta.ts +1 -1
- package/models/run-progress.ts +1 -1
- package/models/run-result-list.ts +1 -1
- package/models/run-status-enum.ts +1 -1
- package/models/run-status.ts +1 -1
- package/models/run.ts +1 -1
- package/models/s3-upload-request.ts +1 -1
- package/models/s3.ts +1 -1
- package/models/sort-enum.ts +1 -1
- package/models/status-type.ts +1 -1
- package/models/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/subscription-create.ts +16 -5
- package/models/{price-recurrence.ts → subscription-payment.ts} +11 -11
- package/models/subscription-plan.ts +16 -2
- package/models/subscription-update.ts +4 -31
- package/models/subscription.ts +26 -37
- 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/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 +2 -2
- package/api/payments-api.ts +0 -1936
- package/dist/api/payments-api.d.ts +0 -855
- package/dist/api/payments-api.js +0 -1555
- package/dist/models/card-public.d.ts +0 -36
- package/dist/models/discount-amount.d.ts +0 -30
- package/dist/models/discount.d.ts +0 -55
- package/dist/models/inventory.d.ts +0 -25
- package/dist/models/inventory.js +0 -15
- package/dist/models/invoice-list.d.ts +0 -31
- package/dist/models/invoice-list.js +0 -15
- package/dist/models/invoice-preview.d.ts +0 -126
- package/dist/models/invoice-preview.js +0 -15
- package/dist/models/invoice-status-transitions.d.ts +0 -42
- package/dist/models/invoice-status-transitions.js +0 -15
- package/dist/models/invoice.d.ts +0 -131
- package/dist/models/invoice.js +0 -15
- package/dist/models/line-item-list.d.ts +0 -31
- package/dist/models/line-item-list.js +0 -15
- package/dist/models/line-item.d.ts +0 -80
- package/dist/models/line-item.js +0 -15
- package/dist/models/new-subscription-item.d.ts +0 -31
- package/dist/models/new-subscription-item.js +0 -15
- package/dist/models/payment-create.js +0 -15
- package/dist/models/payment-intent.d.ts +0 -24
- package/dist/models/payment-intent.js +0 -15
- package/dist/models/payment-method-list.d.ts +0 -55
- package/dist/models/payment-method-list.js +0 -15
- package/dist/models/payment-setup.d.ts +0 -24
- package/dist/models/payment-setup.js +0 -15
- package/dist/models/period.d.ts +0 -30
- package/dist/models/period.js +0 -15
- package/dist/models/pollination-subscription.d.ts +0 -62
- package/dist/models/pollination-subscription.js +0 -15
- package/dist/models/price-recurrence.js +0 -15
- package/dist/models/price-tier.d.ts +0 -48
- package/dist/models/price-tier.js +0 -15
- package/dist/models/price.d.ts +0 -81
- package/dist/models/price.js +0 -15
- package/dist/models/product-family.d.ts +0 -55
- package/dist/models/product-family.js +0 -15
- package/dist/models/quota-extension.d.ts +0 -49
- package/dist/models/quota-extension.js +0 -15
- package/dist/models/status.d.ts +0 -24
- package/dist/models/status.js +0 -15
- package/dist/models/subscribe.d.ts +0 -25
- package/dist/models/subscribe.js +0 -15
- package/dist/models/subscription-item-public-list.d.ts +0 -31
- package/dist/models/subscription-item-public-list.js +0 -15
- package/dist/models/subscription-item-public.d.ts +0 -43
- package/dist/models/subscription-item-public.js +0 -15
- package/dist/models/subscription-item.d.ts +0 -43
- package/dist/models/subscription-item.js +0 -15
- package/dist/models/update-invoice-preview.d.ts +0 -45
- package/dist/models/update-invoice-preview.js +0 -15
- package/models/card-public.ts +0 -43
- package/models/discount-amount.ts +0 -37
- package/models/discount.ts +0 -62
- package/models/inventory.ts +0 -32
- package/models/invoice-list.ts +0 -38
- package/models/invoice-preview.ts +0 -133
- package/models/invoice-status-transitions.ts +0 -49
- package/models/invoice.ts +0 -138
- package/models/line-item-list.ts +0 -38
- package/models/line-item.ts +0 -87
- package/models/new-subscription-item.ts +0 -38
- package/models/payment-intent.ts +0 -31
- package/models/payment-method-list.ts +0 -62
- package/models/payment-setup.ts +0 -31
- package/models/period.ts +0 -37
- package/models/pollination-subscription.ts +0 -69
- package/models/price-tier.ts +0 -55
- package/models/price.ts +0 -88
- package/models/product-family.ts +0 -62
- package/models/quota-extension.ts +0 -56
- package/models/status.ts +0 -31
- package/models/subscribe.ts +0 -32
- package/models/subscription-item-public-list.ts +0 -38
- package/models/subscription-item-public.ts +0 -50
- package/models/subscription-item.ts +0 -50
- package/models/update-invoice-preview.ts +0 -52
|
@@ -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.26.1
|
|
9
9
|
* Contact: info@pollination.cloud
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -33,20 +33,164 @@ const base_1 = require("../base");
|
|
|
33
33
|
*/
|
|
34
34
|
const SubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
35
35
|
return {
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @summary Create Subscription
|
|
39
|
+
* @param {SubscriptionCreate} subscriptionCreate
|
|
40
|
+
* @param {*} [options] Override http request option.
|
|
41
|
+
* @throws {RequiredError}
|
|
42
|
+
*/
|
|
43
|
+
createSubscription: (subscriptionCreate, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
44
|
+
// verify required parameter 'subscriptionCreate' is not null or undefined
|
|
45
|
+
if (subscriptionCreate === null || subscriptionCreate === undefined) {
|
|
46
|
+
throw new base_1.RequiredError('subscriptionCreate', 'Required parameter subscriptionCreate was null or undefined when calling createSubscription.');
|
|
47
|
+
}
|
|
48
|
+
const localVarPath = `/subscriptions/`;
|
|
49
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
50
|
+
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
51
|
+
let baseOptions;
|
|
52
|
+
if (configuration) {
|
|
53
|
+
baseOptions = configuration.baseOptions;
|
|
54
|
+
}
|
|
55
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
56
|
+
const localVarHeaderParameter = {};
|
|
57
|
+
const localVarQueryParameter = {};
|
|
58
|
+
// authentication APIKeyAuth required
|
|
59
|
+
if (configuration && configuration.apiKey) {
|
|
60
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
61
|
+
? yield configuration.apiKey("x-pollination-token")
|
|
62
|
+
: yield configuration.apiKey;
|
|
63
|
+
localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
|
|
64
|
+
}
|
|
65
|
+
// authentication JWTAuth required
|
|
66
|
+
// http bearer authentication required
|
|
67
|
+
if (configuration && configuration.accessToken) {
|
|
68
|
+
const accessToken = typeof configuration.accessToken === 'function'
|
|
69
|
+
? yield configuration.accessToken()
|
|
70
|
+
: yield configuration.accessToken;
|
|
71
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
72
|
+
}
|
|
73
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
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
|
+
const needsSerialization = (typeof subscriptionCreate !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
85
|
+
localVarRequestOptions.data = needsSerialization ? JSON.stringify(subscriptionCreate !== undefined ? subscriptionCreate : {}) : (subscriptionCreate || "");
|
|
86
|
+
return {
|
|
87
|
+
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
|
88
|
+
options: localVarRequestOptions,
|
|
89
|
+
};
|
|
90
|
+
}),
|
|
36
91
|
/**
|
|
37
92
|
*
|
|
38
93
|
* @summary Get Subscription
|
|
39
|
-
* @param {string}
|
|
94
|
+
* @param {string} subscriptionId
|
|
95
|
+
* @param {*} [options] Override http request option.
|
|
96
|
+
* @throws {RequiredError}
|
|
97
|
+
*/
|
|
98
|
+
getSubscription: (subscriptionId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
99
|
+
// verify required parameter 'subscriptionId' is not null or undefined
|
|
100
|
+
if (subscriptionId === null || subscriptionId === undefined) {
|
|
101
|
+
throw new base_1.RequiredError('subscriptionId', 'Required parameter subscriptionId was null or undefined when calling getSubscription.');
|
|
102
|
+
}
|
|
103
|
+
const localVarPath = `/subscriptions/{subscription_id}`
|
|
104
|
+
.replace(`{${"subscription_id"}}`, encodeURIComponent(String(subscriptionId)));
|
|
105
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
106
|
+
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
107
|
+
let baseOptions;
|
|
108
|
+
if (configuration) {
|
|
109
|
+
baseOptions = configuration.baseOptions;
|
|
110
|
+
}
|
|
111
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
112
|
+
const localVarHeaderParameter = {};
|
|
113
|
+
const localVarQueryParameter = {};
|
|
114
|
+
// authentication APIKeyAuth required
|
|
115
|
+
if (configuration && configuration.apiKey) {
|
|
116
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
117
|
+
? yield configuration.apiKey("x-pollination-token")
|
|
118
|
+
: yield configuration.apiKey;
|
|
119
|
+
localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
|
|
120
|
+
}
|
|
121
|
+
// authentication JWTAuth required
|
|
122
|
+
// http bearer authentication required
|
|
123
|
+
if (configuration && configuration.accessToken) {
|
|
124
|
+
const accessToken = typeof configuration.accessToken === 'function'
|
|
125
|
+
? yield configuration.accessToken()
|
|
126
|
+
: yield configuration.accessToken;
|
|
127
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
128
|
+
}
|
|
129
|
+
const query = new URLSearchParams(localVarUrlObj.search);
|
|
130
|
+
for (const key in localVarQueryParameter) {
|
|
131
|
+
query.set(key, localVarQueryParameter[key]);
|
|
132
|
+
}
|
|
133
|
+
for (const key in options.query) {
|
|
134
|
+
query.set(key, options.query[key]);
|
|
135
|
+
}
|
|
136
|
+
localVarUrlObj.search = (new URLSearchParams(query)).toString();
|
|
137
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
138
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
139
|
+
return {
|
|
140
|
+
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
|
141
|
+
options: localVarRequestOptions,
|
|
142
|
+
};
|
|
143
|
+
}),
|
|
144
|
+
/**
|
|
145
|
+
*
|
|
146
|
+
* @summary List Subscriptions
|
|
147
|
+
* @param {string} [account]
|
|
148
|
+
* @param {*} [options] Override http request option.
|
|
149
|
+
* @throws {RequiredError}
|
|
150
|
+
*/
|
|
151
|
+
listPollinationSubscriptions: (account, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
152
|
+
const localVarPath = `/subscriptions/`;
|
|
153
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
154
|
+
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
155
|
+
let baseOptions;
|
|
156
|
+
if (configuration) {
|
|
157
|
+
baseOptions = configuration.baseOptions;
|
|
158
|
+
}
|
|
159
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
160
|
+
const localVarHeaderParameter = {};
|
|
161
|
+
const localVarQueryParameter = {};
|
|
162
|
+
if (account !== undefined) {
|
|
163
|
+
localVarQueryParameter['account'] = account;
|
|
164
|
+
}
|
|
165
|
+
const query = new URLSearchParams(localVarUrlObj.search);
|
|
166
|
+
for (const key in localVarQueryParameter) {
|
|
167
|
+
query.set(key, localVarQueryParameter[key]);
|
|
168
|
+
}
|
|
169
|
+
for (const key in options.query) {
|
|
170
|
+
query.set(key, options.query[key]);
|
|
171
|
+
}
|
|
172
|
+
localVarUrlObj.search = (new URLSearchParams(query)).toString();
|
|
173
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
174
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
175
|
+
return {
|
|
176
|
+
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
|
177
|
+
options: localVarRequestOptions,
|
|
178
|
+
};
|
|
179
|
+
}),
|
|
180
|
+
/**
|
|
181
|
+
*
|
|
182
|
+
* @summary List Subscription Payments
|
|
183
|
+
* @param {string} subscriptionId
|
|
40
184
|
* @param {*} [options] Override http request option.
|
|
41
185
|
* @throws {RequiredError}
|
|
42
186
|
*/
|
|
43
|
-
|
|
44
|
-
// verify required parameter '
|
|
45
|
-
if (
|
|
46
|
-
throw new base_1.RequiredError('
|
|
187
|
+
listSubscriptionPayments: (subscriptionId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
188
|
+
// verify required parameter 'subscriptionId' is not null or undefined
|
|
189
|
+
if (subscriptionId === null || subscriptionId === undefined) {
|
|
190
|
+
throw new base_1.RequiredError('subscriptionId', 'Required parameter subscriptionId was null or undefined when calling listSubscriptionPayments.');
|
|
47
191
|
}
|
|
48
|
-
const localVarPath = `/subscriptions/{
|
|
49
|
-
.replace(`{${"
|
|
192
|
+
const localVarPath = `/subscriptions/{subscription_id}/payments`
|
|
193
|
+
.replace(`{${"subscription_id"}}`, encodeURIComponent(String(subscriptionId)));
|
|
50
194
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
51
195
|
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
52
196
|
let baseOptions;
|
|
@@ -88,18 +232,18 @@ const SubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
|
88
232
|
}),
|
|
89
233
|
/**
|
|
90
234
|
*
|
|
91
|
-
* @summary
|
|
92
|
-
* @param {string}
|
|
235
|
+
* @summary List Subscription Quotas
|
|
236
|
+
* @param {string} subscriptionId
|
|
93
237
|
* @param {*} [options] Override http request option.
|
|
94
238
|
* @throws {RequiredError}
|
|
95
239
|
*/
|
|
96
|
-
|
|
97
|
-
// verify required parameter '
|
|
98
|
-
if (
|
|
99
|
-
throw new base_1.RequiredError('
|
|
240
|
+
listSubscriptionQuotas: (subscriptionId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
241
|
+
// verify required parameter 'subscriptionId' is not null or undefined
|
|
242
|
+
if (subscriptionId === null || subscriptionId === undefined) {
|
|
243
|
+
throw new base_1.RequiredError('subscriptionId', 'Required parameter subscriptionId was null or undefined when calling listSubscriptionQuotas.');
|
|
100
244
|
}
|
|
101
|
-
const localVarPath = `/subscriptions/{
|
|
102
|
-
.replace(`{${"
|
|
245
|
+
const localVarPath = `/subscriptions/{subscription_id}/quotas`
|
|
246
|
+
.replace(`{${"subscription_id"}}`, encodeURIComponent(String(subscriptionId)));
|
|
103
247
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
104
248
|
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
105
249
|
let baseOptions;
|
|
@@ -139,6 +283,67 @@ const SubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
|
139
283
|
options: localVarRequestOptions,
|
|
140
284
|
};
|
|
141
285
|
}),
|
|
286
|
+
/**
|
|
287
|
+
*
|
|
288
|
+
* @summary Update Subscription
|
|
289
|
+
* @param {string} subscriptionId
|
|
290
|
+
* @param {SubscriptionUpdate} subscriptionUpdate
|
|
291
|
+
* @param {*} [options] Override http request option.
|
|
292
|
+
* @throws {RequiredError}
|
|
293
|
+
*/
|
|
294
|
+
updateSubscription: (subscriptionId, subscriptionUpdate, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
295
|
+
// verify required parameter 'subscriptionId' is not null or undefined
|
|
296
|
+
if (subscriptionId === null || subscriptionId === undefined) {
|
|
297
|
+
throw new base_1.RequiredError('subscriptionId', 'Required parameter subscriptionId was null or undefined when calling updateSubscription.');
|
|
298
|
+
}
|
|
299
|
+
// verify required parameter 'subscriptionUpdate' is not null or undefined
|
|
300
|
+
if (subscriptionUpdate === null || subscriptionUpdate === undefined) {
|
|
301
|
+
throw new base_1.RequiredError('subscriptionUpdate', 'Required parameter subscriptionUpdate was null or undefined when calling updateSubscription.');
|
|
302
|
+
}
|
|
303
|
+
const localVarPath = `/subscriptions/{subscription_id}`
|
|
304
|
+
.replace(`{${"subscription_id"}}`, encodeURIComponent(String(subscriptionId)));
|
|
305
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
306
|
+
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
307
|
+
let baseOptions;
|
|
308
|
+
if (configuration) {
|
|
309
|
+
baseOptions = configuration.baseOptions;
|
|
310
|
+
}
|
|
311
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
312
|
+
const localVarHeaderParameter = {};
|
|
313
|
+
const localVarQueryParameter = {};
|
|
314
|
+
// authentication APIKeyAuth required
|
|
315
|
+
if (configuration && configuration.apiKey) {
|
|
316
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
317
|
+
? yield configuration.apiKey("x-pollination-token")
|
|
318
|
+
: yield configuration.apiKey;
|
|
319
|
+
localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
|
|
320
|
+
}
|
|
321
|
+
// authentication JWTAuth required
|
|
322
|
+
// http bearer authentication required
|
|
323
|
+
if (configuration && configuration.accessToken) {
|
|
324
|
+
const accessToken = typeof configuration.accessToken === 'function'
|
|
325
|
+
? yield configuration.accessToken()
|
|
326
|
+
: yield configuration.accessToken;
|
|
327
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
328
|
+
}
|
|
329
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
330
|
+
const query = new URLSearchParams(localVarUrlObj.search);
|
|
331
|
+
for (const key in localVarQueryParameter) {
|
|
332
|
+
query.set(key, localVarQueryParameter[key]);
|
|
333
|
+
}
|
|
334
|
+
for (const key in options.query) {
|
|
335
|
+
query.set(key, options.query[key]);
|
|
336
|
+
}
|
|
337
|
+
localVarUrlObj.search = (new URLSearchParams(query)).toString();
|
|
338
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
339
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
340
|
+
const needsSerialization = (typeof subscriptionUpdate !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
341
|
+
localVarRequestOptions.data = needsSerialization ? JSON.stringify(subscriptionUpdate !== undefined ? subscriptionUpdate : {}) : (subscriptionUpdate || "");
|
|
342
|
+
return {
|
|
343
|
+
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
|
344
|
+
options: localVarRequestOptions,
|
|
345
|
+
};
|
|
346
|
+
}),
|
|
142
347
|
};
|
|
143
348
|
};
|
|
144
349
|
exports.SubscriptionsApiAxiosParamCreator = SubscriptionsApiAxiosParamCreator;
|
|
@@ -148,16 +353,64 @@ exports.SubscriptionsApiAxiosParamCreator = SubscriptionsApiAxiosParamCreator;
|
|
|
148
353
|
*/
|
|
149
354
|
const SubscriptionsApiFp = function (configuration) {
|
|
150
355
|
return {
|
|
356
|
+
/**
|
|
357
|
+
*
|
|
358
|
+
* @summary Create Subscription
|
|
359
|
+
* @param {SubscriptionCreate} subscriptionCreate
|
|
360
|
+
* @param {*} [options] Override http request option.
|
|
361
|
+
* @throws {RequiredError}
|
|
362
|
+
*/
|
|
363
|
+
createSubscription(subscriptionCreate, options) {
|
|
364
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
365
|
+
const localVarAxiosArgs = yield (0, exports.SubscriptionsApiAxiosParamCreator)(configuration).createSubscription(subscriptionCreate, options);
|
|
366
|
+
return (axios = axios_1.default, basePath = base_1.BASE_PATH) => {
|
|
367
|
+
const axiosRequestArgs = Object.assign(Object.assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
368
|
+
return axios.request(axiosRequestArgs);
|
|
369
|
+
};
|
|
370
|
+
});
|
|
371
|
+
},
|
|
151
372
|
/**
|
|
152
373
|
*
|
|
153
374
|
* @summary Get Subscription
|
|
154
|
-
* @param {string}
|
|
375
|
+
* @param {string} subscriptionId
|
|
376
|
+
* @param {*} [options] Override http request option.
|
|
377
|
+
* @throws {RequiredError}
|
|
378
|
+
*/
|
|
379
|
+
getSubscription(subscriptionId, options) {
|
|
380
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
381
|
+
const localVarAxiosArgs = yield (0, exports.SubscriptionsApiAxiosParamCreator)(configuration).getSubscription(subscriptionId, options);
|
|
382
|
+
return (axios = axios_1.default, basePath = base_1.BASE_PATH) => {
|
|
383
|
+
const axiosRequestArgs = Object.assign(Object.assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
384
|
+
return axios.request(axiosRequestArgs);
|
|
385
|
+
};
|
|
386
|
+
});
|
|
387
|
+
},
|
|
388
|
+
/**
|
|
389
|
+
*
|
|
390
|
+
* @summary List Subscriptions
|
|
391
|
+
* @param {string} [account]
|
|
392
|
+
* @param {*} [options] Override http request option.
|
|
393
|
+
* @throws {RequiredError}
|
|
394
|
+
*/
|
|
395
|
+
listPollinationSubscriptions(account, options) {
|
|
396
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
397
|
+
const localVarAxiosArgs = yield (0, exports.SubscriptionsApiAxiosParamCreator)(configuration).listPollinationSubscriptions(account, options);
|
|
398
|
+
return (axios = axios_1.default, basePath = base_1.BASE_PATH) => {
|
|
399
|
+
const axiosRequestArgs = Object.assign(Object.assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
400
|
+
return axios.request(axiosRequestArgs);
|
|
401
|
+
};
|
|
402
|
+
});
|
|
403
|
+
},
|
|
404
|
+
/**
|
|
405
|
+
*
|
|
406
|
+
* @summary List Subscription Payments
|
|
407
|
+
* @param {string} subscriptionId
|
|
155
408
|
* @param {*} [options] Override http request option.
|
|
156
409
|
* @throws {RequiredError}
|
|
157
410
|
*/
|
|
158
|
-
|
|
411
|
+
listSubscriptionPayments(subscriptionId, options) {
|
|
159
412
|
return __awaiter(this, void 0, void 0, function* () {
|
|
160
|
-
const localVarAxiosArgs = yield (0, exports.SubscriptionsApiAxiosParamCreator)(configuration).
|
|
413
|
+
const localVarAxiosArgs = yield (0, exports.SubscriptionsApiAxiosParamCreator)(configuration).listSubscriptionPayments(subscriptionId, options);
|
|
161
414
|
return (axios = axios_1.default, basePath = base_1.BASE_PATH) => {
|
|
162
415
|
const axiosRequestArgs = Object.assign(Object.assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
163
416
|
return axios.request(axiosRequestArgs);
|
|
@@ -166,14 +419,31 @@ const SubscriptionsApiFp = function (configuration) {
|
|
|
166
419
|
},
|
|
167
420
|
/**
|
|
168
421
|
*
|
|
169
|
-
* @summary
|
|
170
|
-
* @param {string}
|
|
422
|
+
* @summary List Subscription Quotas
|
|
423
|
+
* @param {string} subscriptionId
|
|
171
424
|
* @param {*} [options] Override http request option.
|
|
172
425
|
* @throws {RequiredError}
|
|
173
426
|
*/
|
|
174
|
-
|
|
427
|
+
listSubscriptionQuotas(subscriptionId, options) {
|
|
175
428
|
return __awaiter(this, void 0, void 0, function* () {
|
|
176
|
-
const localVarAxiosArgs = yield (0, exports.SubscriptionsApiAxiosParamCreator)(configuration).
|
|
429
|
+
const localVarAxiosArgs = yield (0, exports.SubscriptionsApiAxiosParamCreator)(configuration).listSubscriptionQuotas(subscriptionId, options);
|
|
430
|
+
return (axios = axios_1.default, basePath = base_1.BASE_PATH) => {
|
|
431
|
+
const axiosRequestArgs = Object.assign(Object.assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
432
|
+
return axios.request(axiosRequestArgs);
|
|
433
|
+
};
|
|
434
|
+
});
|
|
435
|
+
},
|
|
436
|
+
/**
|
|
437
|
+
*
|
|
438
|
+
* @summary Update Subscription
|
|
439
|
+
* @param {string} subscriptionId
|
|
440
|
+
* @param {SubscriptionUpdate} subscriptionUpdate
|
|
441
|
+
* @param {*} [options] Override http request option.
|
|
442
|
+
* @throws {RequiredError}
|
|
443
|
+
*/
|
|
444
|
+
updateSubscription(subscriptionId, subscriptionUpdate, options) {
|
|
445
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
446
|
+
const localVarAxiosArgs = yield (0, exports.SubscriptionsApiAxiosParamCreator)(configuration).updateSubscription(subscriptionId, subscriptionUpdate, options);
|
|
177
447
|
return (axios = axios_1.default, basePath = base_1.BASE_PATH) => {
|
|
178
448
|
const axiosRequestArgs = Object.assign(Object.assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
179
449
|
return axios.request(axiosRequestArgs);
|
|
@@ -189,25 +459,66 @@ exports.SubscriptionsApiFp = SubscriptionsApiFp;
|
|
|
189
459
|
*/
|
|
190
460
|
const SubscriptionsApiFactory = function (configuration, basePath, axios) {
|
|
191
461
|
return {
|
|
462
|
+
/**
|
|
463
|
+
*
|
|
464
|
+
* @summary Create Subscription
|
|
465
|
+
* @param {SubscriptionCreate} subscriptionCreate
|
|
466
|
+
* @param {*} [options] Override http request option.
|
|
467
|
+
* @throws {RequiredError}
|
|
468
|
+
*/
|
|
469
|
+
createSubscription(subscriptionCreate, options) {
|
|
470
|
+
return (0, exports.SubscriptionsApiFp)(configuration).createSubscription(subscriptionCreate, options).then((request) => request(axios, basePath));
|
|
471
|
+
},
|
|
192
472
|
/**
|
|
193
473
|
*
|
|
194
474
|
* @summary Get Subscription
|
|
195
|
-
* @param {string}
|
|
475
|
+
* @param {string} subscriptionId
|
|
476
|
+
* @param {*} [options] Override http request option.
|
|
477
|
+
* @throws {RequiredError}
|
|
478
|
+
*/
|
|
479
|
+
getSubscription(subscriptionId, options) {
|
|
480
|
+
return (0, exports.SubscriptionsApiFp)(configuration).getSubscription(subscriptionId, options).then((request) => request(axios, basePath));
|
|
481
|
+
},
|
|
482
|
+
/**
|
|
483
|
+
*
|
|
484
|
+
* @summary List Subscriptions
|
|
485
|
+
* @param {string} [account]
|
|
486
|
+
* @param {*} [options] Override http request option.
|
|
487
|
+
* @throws {RequiredError}
|
|
488
|
+
*/
|
|
489
|
+
listPollinationSubscriptions(account, options) {
|
|
490
|
+
return (0, exports.SubscriptionsApiFp)(configuration).listPollinationSubscriptions(account, options).then((request) => request(axios, basePath));
|
|
491
|
+
},
|
|
492
|
+
/**
|
|
493
|
+
*
|
|
494
|
+
* @summary List Subscription Payments
|
|
495
|
+
* @param {string} subscriptionId
|
|
496
|
+
* @param {*} [options] Override http request option.
|
|
497
|
+
* @throws {RequiredError}
|
|
498
|
+
*/
|
|
499
|
+
listSubscriptionPayments(subscriptionId, options) {
|
|
500
|
+
return (0, exports.SubscriptionsApiFp)(configuration).listSubscriptionPayments(subscriptionId, options).then((request) => request(axios, basePath));
|
|
501
|
+
},
|
|
502
|
+
/**
|
|
503
|
+
*
|
|
504
|
+
* @summary List Subscription Quotas
|
|
505
|
+
* @param {string} subscriptionId
|
|
196
506
|
* @param {*} [options] Override http request option.
|
|
197
507
|
* @throws {RequiredError}
|
|
198
508
|
*/
|
|
199
|
-
|
|
200
|
-
return (0, exports.SubscriptionsApiFp)(configuration).
|
|
509
|
+
listSubscriptionQuotas(subscriptionId, options) {
|
|
510
|
+
return (0, exports.SubscriptionsApiFp)(configuration).listSubscriptionQuotas(subscriptionId, options).then((request) => request(axios, basePath));
|
|
201
511
|
},
|
|
202
512
|
/**
|
|
203
513
|
*
|
|
204
|
-
* @summary
|
|
205
|
-
* @param {string}
|
|
514
|
+
* @summary Update Subscription
|
|
515
|
+
* @param {string} subscriptionId
|
|
516
|
+
* @param {SubscriptionUpdate} subscriptionUpdate
|
|
206
517
|
* @param {*} [options] Override http request option.
|
|
207
518
|
* @throws {RequiredError}
|
|
208
519
|
*/
|
|
209
|
-
|
|
210
|
-
return (0, exports.SubscriptionsApiFp)(configuration).
|
|
520
|
+
updateSubscription(subscriptionId, subscriptionUpdate, options) {
|
|
521
|
+
return (0, exports.SubscriptionsApiFp)(configuration).updateSubscription(subscriptionId, subscriptionUpdate, options).then((request) => request(axios, basePath));
|
|
211
522
|
},
|
|
212
523
|
};
|
|
213
524
|
};
|
|
@@ -219,27 +530,71 @@ exports.SubscriptionsApiFactory = SubscriptionsApiFactory;
|
|
|
219
530
|
* @extends {BaseAPI}
|
|
220
531
|
*/
|
|
221
532
|
class SubscriptionsApi extends base_1.BaseAPI {
|
|
533
|
+
/**
|
|
534
|
+
*
|
|
535
|
+
* @summary Create Subscription
|
|
536
|
+
* @param {SubscriptionsApiCreateSubscriptionRequest} requestParameters Request parameters.
|
|
537
|
+
* @param {*} [options] Override http request option.
|
|
538
|
+
* @throws {RequiredError}
|
|
539
|
+
* @memberof SubscriptionsApi
|
|
540
|
+
*/
|
|
541
|
+
createSubscription(requestParameters, options) {
|
|
542
|
+
return (0, exports.SubscriptionsApiFp)(this.configuration).createSubscription(requestParameters.subscriptionCreate, options).then((request) => request(this.axios, this.basePath));
|
|
543
|
+
}
|
|
222
544
|
/**
|
|
223
545
|
*
|
|
224
546
|
* @summary Get Subscription
|
|
225
|
-
* @param {
|
|
547
|
+
* @param {SubscriptionsApiGetSubscriptionRequest} requestParameters Request parameters.
|
|
548
|
+
* @param {*} [options] Override http request option.
|
|
549
|
+
* @throws {RequiredError}
|
|
550
|
+
* @memberof SubscriptionsApi
|
|
551
|
+
*/
|
|
552
|
+
getSubscription(requestParameters, options) {
|
|
553
|
+
return (0, exports.SubscriptionsApiFp)(this.configuration).getSubscription(requestParameters.subscriptionId, options).then((request) => request(this.axios, this.basePath));
|
|
554
|
+
}
|
|
555
|
+
/**
|
|
556
|
+
*
|
|
557
|
+
* @summary List Subscriptions
|
|
558
|
+
* @param {SubscriptionsApiListPollinationSubscriptionsRequest} requestParameters Request parameters.
|
|
559
|
+
* @param {*} [options] Override http request option.
|
|
560
|
+
* @throws {RequiredError}
|
|
561
|
+
* @memberof SubscriptionsApi
|
|
562
|
+
*/
|
|
563
|
+
listPollinationSubscriptions(requestParameters = {}, options) {
|
|
564
|
+
return (0, exports.SubscriptionsApiFp)(this.configuration).listPollinationSubscriptions(requestParameters.account, options).then((request) => request(this.axios, this.basePath));
|
|
565
|
+
}
|
|
566
|
+
/**
|
|
567
|
+
*
|
|
568
|
+
* @summary List Subscription Payments
|
|
569
|
+
* @param {SubscriptionsApiListSubscriptionPaymentsRequest} requestParameters Request parameters.
|
|
570
|
+
* @param {*} [options] Override http request option.
|
|
571
|
+
* @throws {RequiredError}
|
|
572
|
+
* @memberof SubscriptionsApi
|
|
573
|
+
*/
|
|
574
|
+
listSubscriptionPayments(requestParameters, options) {
|
|
575
|
+
return (0, exports.SubscriptionsApiFp)(this.configuration).listSubscriptionPayments(requestParameters.subscriptionId, options).then((request) => request(this.axios, this.basePath));
|
|
576
|
+
}
|
|
577
|
+
/**
|
|
578
|
+
*
|
|
579
|
+
* @summary List Subscription Quotas
|
|
580
|
+
* @param {SubscriptionsApiListSubscriptionQuotasRequest} requestParameters Request parameters.
|
|
226
581
|
* @param {*} [options] Override http request option.
|
|
227
582
|
* @throws {RequiredError}
|
|
228
583
|
* @memberof SubscriptionsApi
|
|
229
584
|
*/
|
|
230
|
-
|
|
231
|
-
return (0, exports.SubscriptionsApiFp)(this.configuration).
|
|
585
|
+
listSubscriptionQuotas(requestParameters, options) {
|
|
586
|
+
return (0, exports.SubscriptionsApiFp)(this.configuration).listSubscriptionQuotas(requestParameters.subscriptionId, options).then((request) => request(this.axios, this.basePath));
|
|
232
587
|
}
|
|
233
588
|
/**
|
|
234
589
|
*
|
|
235
|
-
* @summary
|
|
236
|
-
* @param {
|
|
590
|
+
* @summary Update Subscription
|
|
591
|
+
* @param {SubscriptionsApiUpdateSubscriptionRequest} requestParameters Request parameters.
|
|
237
592
|
* @param {*} [options] Override http request option.
|
|
238
593
|
* @throws {RequiredError}
|
|
239
594
|
* @memberof SubscriptionsApi
|
|
240
595
|
*/
|
|
241
|
-
|
|
242
|
-
return (0, exports.SubscriptionsApiFp)(this.configuration).
|
|
596
|
+
updateSubscription(requestParameters, options) {
|
|
597
|
+
return (0, exports.SubscriptionsApiFp)(this.configuration).updateSubscription(requestParameters.subscriptionId, requestParameters.subscriptionUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
243
598
|
}
|
|
244
599
|
}
|
|
245
600
|
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.26.1
|
|
6
6
|
* Contact: info@pollination.cloud
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -493,7 +493,7 @@ export declare class TeamsApi extends BaseAPI {
|
|
|
493
493
|
* @throws {RequiredError}
|
|
494
494
|
* @memberof TeamsApi
|
|
495
495
|
*/
|
|
496
|
-
createTeam(requestParameters: TeamsApiCreateTeamRequest, options?: any): Promise<import("axios").AxiosResponse<CreatedContent>>;
|
|
496
|
+
createTeam(requestParameters: TeamsApiCreateTeamRequest, options?: any): Promise<import("axios").AxiosResponse<CreatedContent, any>>;
|
|
497
497
|
/**
|
|
498
498
|
* Remove a member from the org (must have org `owner` role)
|
|
499
499
|
* @summary Remove a team member
|
|
@@ -502,7 +502,7 @@ export declare class TeamsApi extends BaseAPI {
|
|
|
502
502
|
* @throws {RequiredError}
|
|
503
503
|
* @memberof TeamsApi
|
|
504
504
|
*/
|
|
505
|
-
deleteOrgTeamMember(requestParameters: TeamsApiDeleteOrgTeamMemberRequest, options?: any): Promise<import("axios").AxiosResponse<void>>;
|
|
505
|
+
deleteOrgTeamMember(requestParameters: TeamsApiDeleteOrgTeamMemberRequest, options?: any): Promise<import("axios").AxiosResponse<void, any>>;
|
|
506
506
|
/**
|
|
507
507
|
* Delete a team (must have team or org `owner` role)
|
|
508
508
|
* @summary Delete a Team
|
|
@@ -511,7 +511,7 @@ export declare class TeamsApi extends BaseAPI {
|
|
|
511
511
|
* @throws {RequiredError}
|
|
512
512
|
* @memberof TeamsApi
|
|
513
513
|
*/
|
|
514
|
-
deleteTeam(requestParameters: TeamsApiDeleteTeamRequest, options?: any): Promise<import("axios").AxiosResponse<void>>;
|
|
514
|
+
deleteTeam(requestParameters: TeamsApiDeleteTeamRequest, options?: any): Promise<import("axios").AxiosResponse<void, any>>;
|
|
515
515
|
/**
|
|
516
516
|
* Retrieve a tean\'s members
|
|
517
517
|
* @summary List team members
|
|
@@ -520,7 +520,7 @@ export declare class TeamsApi extends BaseAPI {
|
|
|
520
520
|
* @throws {RequiredError}
|
|
521
521
|
* @memberof TeamsApi
|
|
522
522
|
*/
|
|
523
|
-
getOrgTeamMembers(requestParameters: TeamsApiGetOrgTeamMembersRequest, options?: any): Promise<import("axios").AxiosResponse<TeamMemberList>>;
|
|
523
|
+
getOrgTeamMembers(requestParameters: TeamsApiGetOrgTeamMembersRequest, options?: any): Promise<import("axios").AxiosResponse<TeamMemberList, any>>;
|
|
524
524
|
/**
|
|
525
525
|
* Retrieve a team by name
|
|
526
526
|
* @summary Get a Team
|
|
@@ -529,7 +529,7 @@ export declare class TeamsApi extends BaseAPI {
|
|
|
529
529
|
* @throws {RequiredError}
|
|
530
530
|
* @memberof TeamsApi
|
|
531
531
|
*/
|
|
532
|
-
getTeam(requestParameters: TeamsApiGetTeamRequest, options?: any): Promise<import("axios").AxiosResponse<Team>>;
|
|
532
|
+
getTeam(requestParameters: TeamsApiGetTeamRequest, options?: any): Promise<import("axios").AxiosResponse<Team, any>>;
|
|
533
533
|
/**
|
|
534
534
|
* search for orgs using query parameters
|
|
535
535
|
* @summary List Teams
|
|
@@ -538,7 +538,7 @@ export declare class TeamsApi extends BaseAPI {
|
|
|
538
538
|
* @throws {RequiredError}
|
|
539
539
|
* @memberof TeamsApi
|
|
540
540
|
*/
|
|
541
|
-
listOrgTeams(requestParameters: TeamsApiListOrgTeamsRequest, options?: any): Promise<import("axios").AxiosResponse<TeamList>>;
|
|
541
|
+
listOrgTeams(requestParameters: TeamsApiListOrgTeamsRequest, options?: any): Promise<import("axios").AxiosResponse<TeamList, any>>;
|
|
542
542
|
/**
|
|
543
543
|
* Update a team (must have team or org `owner` role)
|
|
544
544
|
* @summary Update a Team
|
|
@@ -547,7 +547,7 @@ export declare class TeamsApi extends BaseAPI {
|
|
|
547
547
|
* @throws {RequiredError}
|
|
548
548
|
* @memberof TeamsApi
|
|
549
549
|
*/
|
|
550
|
-
updateTeam(requestParameters: TeamsApiUpdateTeamRequest, options?: any): Promise<import("axios").AxiosResponse<UpdateAccepted>>;
|
|
550
|
+
updateTeam(requestParameters: TeamsApiUpdateTeamRequest, options?: any): Promise<import("axios").AxiosResponse<UpdateAccepted, any>>;
|
|
551
551
|
/**
|
|
552
552
|
* Upsert a member role to the team (must have org or team `owner` role)
|
|
553
553
|
* @summary Add or update the role of an Team Member
|
|
@@ -556,5 +556,5 @@ export declare class TeamsApi extends BaseAPI {
|
|
|
556
556
|
* @throws {RequiredError}
|
|
557
557
|
* @memberof TeamsApi
|
|
558
558
|
*/
|
|
559
|
-
upsertOrgTeamMember(requestParameters: TeamsApiUpsertOrgTeamMemberRequest, options?: any): Promise<import("axios").AxiosResponse<UpdateAccepted>>;
|
|
559
|
+
upsertOrgTeamMember(requestParameters: TeamsApiUpsertOrgTeamMemberRequest, options?: any): Promise<import("axios").AxiosResponse<UpdateAccepted, any>>;
|
|
560
560
|
}
|
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.26.1
|
|
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.26.1
|
|
6
6
|
* Contact: info@pollination.cloud
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -166,7 +166,7 @@ export declare class UserApi extends BaseAPI {
|
|
|
166
166
|
* @throws {RequiredError}
|
|
167
167
|
* @memberof UserApi
|
|
168
168
|
*/
|
|
169
|
-
createUser(requestParameters: UserApiCreateUserRequest, options?: any): Promise<import("axios").AxiosResponse<CreatedContent>>;
|
|
169
|
+
createUser(requestParameters: UserApiCreateUserRequest, options?: any): Promise<import("axios").AxiosResponse<CreatedContent, any>>;
|
|
170
170
|
/**
|
|
171
171
|
* Get authenticated user profile
|
|
172
172
|
* @summary Get authenticated user profile.
|
|
@@ -174,7 +174,7 @@ export declare class UserApi extends BaseAPI {
|
|
|
174
174
|
* @throws {RequiredError}
|
|
175
175
|
* @memberof UserApi
|
|
176
176
|
*/
|
|
177
|
-
getMe(options?: any): Promise<import("axios").AxiosResponse<UserPrivate>>;
|
|
177
|
+
getMe(options?: any): Promise<import("axios").AxiosResponse<UserPrivate, any>>;
|
|
178
178
|
/**
|
|
179
179
|
*
|
|
180
180
|
* @summary Get the authenticated user roles
|
|
@@ -182,7 +182,7 @@ export declare class UserApi extends BaseAPI {
|
|
|
182
182
|
* @throws {RequiredError}
|
|
183
183
|
* @memberof UserApi
|
|
184
184
|
*/
|
|
185
|
-
getRoles(options?: any): Promise<import("axios").AxiosResponse<string[]>>;
|
|
185
|
+
getRoles(options?: any): Promise<import("axios").AxiosResponse<string[], any>>;
|
|
186
186
|
/**
|
|
187
187
|
* Update the authenticated user profile
|
|
188
188
|
* @summary Update the authenticated user
|
|
@@ -191,5 +191,5 @@ export declare class UserApi extends BaseAPI {
|
|
|
191
191
|
* @throws {RequiredError}
|
|
192
192
|
* @memberof UserApi
|
|
193
193
|
*/
|
|
194
|
-
updateUserProfile(requestParameters: UserApiUpdateUserProfileRequest, options?: any): Promise<import("axios").AxiosResponse<UpdateAccepted>>;
|
|
194
|
+
updateUserProfile(requestParameters: UserApiUpdateUserProfileRequest, options?: any): Promise<import("axios").AxiosResponse<UpdateAccepted, any>>;
|
|
195
195
|
}
|