@pollination-solutions/pollination-sdk 0.25.0 → 0.26.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 +3 -3
- package/.openapi-generator/FILES +10 -37
- 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 +514 -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 +407 -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 +1 -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/{card.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 +9 -36
- package/dist/models/index.js +9 -36
- 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 +1 -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/{delete-subscription-item.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 +10 -22
- package/dist/models/payment-method.js +1 -1
- package/dist/models/{coupon.d.ts → payment.d.ts} +24 -25
- package/dist/models/{coupon.js → payment.js} +1 -1
- 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/{payment-method-type.js → plan-type.js} +9 -7
- 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 +1 -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/{invoice-status.ts → card-type.ts} +10 -7
- 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 +9 -36
- 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 +1 -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 +10 -22
- package/models/{coupon.ts → payment.ts} +24 -25
- package/models/permission.ts +1 -1
- package/models/{payment-method-type.ts → plan-type.ts} +6 -4
- 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 -2204
- package/dist/api/payments-api.d.ts +0 -975
- package/dist/api/payments-api.js +0 -1761
- package/dist/models/card-public.d.ts +0 -36
- package/dist/models/card.d.ts +0 -54
- package/dist/models/delete-subscription-item.d.ts +0 -49
- package/dist/models/discount-amount.d.ts +0 -30
- package/dist/models/discount-amount.js +0 -15
- package/dist/models/discount.d.ts +0 -55
- package/dist/models/discount.js +0 -15
- 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 -139
- 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-status.js +0 -29
- package/dist/models/invoice.d.ts +0 -144
- 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-method-type.d.ts +0 -19
- 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-list.d.ts +0 -32
- package/dist/models/subscription-item-list.js +0 -15
- package/dist/models/subscription-item.d.ts +0 -43
- package/dist/models/subscription-item.js +0 -15
- package/dist/models/tax-amount.d.ts +0 -36
- package/dist/models/tax-amount.js +0 -15
- package/dist/models/update-invoice-preview.d.ts +0 -45
- package/dist/models/update-invoice-preview.js +0 -15
- package/dist/models/update-payment-method.d.ts +0 -24
- package/dist/models/update-payment-method.js +0 -15
- package/models/card-public.ts +0 -43
- package/models/card.ts +0 -61
- package/models/delete-subscription-item.ts +0 -56
- 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 -146
- package/models/invoice-status-transitions.ts +0 -49
- package/models/invoice.ts +0 -151
- 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-list.ts +0 -39
- package/models/subscription-item.ts +0 -50
- package/models/tax-amount.ts +0 -43
- package/models/update-invoice-preview.ts +0 -52
- package/models/update-payment-method.ts +0 -31
|
@@ -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.0
|
|
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,179 @@ 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
|
+
// authentication APIKeyAuth required
|
|
163
|
+
if (configuration && configuration.apiKey) {
|
|
164
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
165
|
+
? yield configuration.apiKey("x-pollination-token")
|
|
166
|
+
: yield configuration.apiKey;
|
|
167
|
+
localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
|
|
168
|
+
}
|
|
169
|
+
// authentication JWTAuth required
|
|
170
|
+
// http bearer authentication required
|
|
171
|
+
if (configuration && configuration.accessToken) {
|
|
172
|
+
const accessToken = typeof configuration.accessToken === 'function'
|
|
173
|
+
? yield configuration.accessToken()
|
|
174
|
+
: yield configuration.accessToken;
|
|
175
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
176
|
+
}
|
|
177
|
+
if (account !== undefined) {
|
|
178
|
+
localVarQueryParameter['account'] = account;
|
|
179
|
+
}
|
|
180
|
+
const query = new URLSearchParams(localVarUrlObj.search);
|
|
181
|
+
for (const key in localVarQueryParameter) {
|
|
182
|
+
query.set(key, localVarQueryParameter[key]);
|
|
183
|
+
}
|
|
184
|
+
for (const key in options.query) {
|
|
185
|
+
query.set(key, options.query[key]);
|
|
186
|
+
}
|
|
187
|
+
localVarUrlObj.search = (new URLSearchParams(query)).toString();
|
|
188
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
189
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
190
|
+
return {
|
|
191
|
+
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
|
192
|
+
options: localVarRequestOptions,
|
|
193
|
+
};
|
|
194
|
+
}),
|
|
195
|
+
/**
|
|
196
|
+
*
|
|
197
|
+
* @summary List Subscription Payments
|
|
198
|
+
* @param {string} subscriptionId
|
|
40
199
|
* @param {*} [options] Override http request option.
|
|
41
200
|
* @throws {RequiredError}
|
|
42
201
|
*/
|
|
43
|
-
|
|
44
|
-
// verify required parameter '
|
|
45
|
-
if (
|
|
46
|
-
throw new base_1.RequiredError('
|
|
202
|
+
listSubscriptionPayments: (subscriptionId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
203
|
+
// verify required parameter 'subscriptionId' is not null or undefined
|
|
204
|
+
if (subscriptionId === null || subscriptionId === undefined) {
|
|
205
|
+
throw new base_1.RequiredError('subscriptionId', 'Required parameter subscriptionId was null or undefined when calling listSubscriptionPayments.');
|
|
47
206
|
}
|
|
48
|
-
const localVarPath = `/subscriptions/{
|
|
49
|
-
.replace(`{${"
|
|
207
|
+
const localVarPath = `/subscriptions/{subscription_id}/payments`
|
|
208
|
+
.replace(`{${"subscription_id"}}`, encodeURIComponent(String(subscriptionId)));
|
|
50
209
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
51
210
|
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
52
211
|
let baseOptions;
|
|
@@ -88,18 +247,18 @@ const SubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
|
88
247
|
}),
|
|
89
248
|
/**
|
|
90
249
|
*
|
|
91
|
-
* @summary
|
|
92
|
-
* @param {string}
|
|
250
|
+
* @summary List Subscription Quotas
|
|
251
|
+
* @param {string} subscriptionId
|
|
93
252
|
* @param {*} [options] Override http request option.
|
|
94
253
|
* @throws {RequiredError}
|
|
95
254
|
*/
|
|
96
|
-
|
|
97
|
-
// verify required parameter '
|
|
98
|
-
if (
|
|
99
|
-
throw new base_1.RequiredError('
|
|
255
|
+
listSubscriptionQuotas: (subscriptionId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
256
|
+
// verify required parameter 'subscriptionId' is not null or undefined
|
|
257
|
+
if (subscriptionId === null || subscriptionId === undefined) {
|
|
258
|
+
throw new base_1.RequiredError('subscriptionId', 'Required parameter subscriptionId was null or undefined when calling listSubscriptionQuotas.');
|
|
100
259
|
}
|
|
101
|
-
const localVarPath = `/subscriptions/{
|
|
102
|
-
.replace(`{${"
|
|
260
|
+
const localVarPath = `/subscriptions/{subscription_id}/quotas`
|
|
261
|
+
.replace(`{${"subscription_id"}}`, encodeURIComponent(String(subscriptionId)));
|
|
103
262
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
104
263
|
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
105
264
|
let baseOptions;
|
|
@@ -139,6 +298,67 @@ const SubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
|
139
298
|
options: localVarRequestOptions,
|
|
140
299
|
};
|
|
141
300
|
}),
|
|
301
|
+
/**
|
|
302
|
+
*
|
|
303
|
+
* @summary Update Subscription
|
|
304
|
+
* @param {string} subscriptionId
|
|
305
|
+
* @param {SubscriptionUpdate} subscriptionUpdate
|
|
306
|
+
* @param {*} [options] Override http request option.
|
|
307
|
+
* @throws {RequiredError}
|
|
308
|
+
*/
|
|
309
|
+
updateSubscription: (subscriptionId, subscriptionUpdate, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
310
|
+
// verify required parameter 'subscriptionId' is not null or undefined
|
|
311
|
+
if (subscriptionId === null || subscriptionId === undefined) {
|
|
312
|
+
throw new base_1.RequiredError('subscriptionId', 'Required parameter subscriptionId was null or undefined when calling updateSubscription.');
|
|
313
|
+
}
|
|
314
|
+
// verify required parameter 'subscriptionUpdate' is not null or undefined
|
|
315
|
+
if (subscriptionUpdate === null || subscriptionUpdate === undefined) {
|
|
316
|
+
throw new base_1.RequiredError('subscriptionUpdate', 'Required parameter subscriptionUpdate was null or undefined when calling updateSubscription.');
|
|
317
|
+
}
|
|
318
|
+
const localVarPath = `/subscriptions/{subscription_id}`
|
|
319
|
+
.replace(`{${"subscription_id"}}`, encodeURIComponent(String(subscriptionId)));
|
|
320
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
321
|
+
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
322
|
+
let baseOptions;
|
|
323
|
+
if (configuration) {
|
|
324
|
+
baseOptions = configuration.baseOptions;
|
|
325
|
+
}
|
|
326
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
327
|
+
const localVarHeaderParameter = {};
|
|
328
|
+
const localVarQueryParameter = {};
|
|
329
|
+
// authentication APIKeyAuth required
|
|
330
|
+
if (configuration && configuration.apiKey) {
|
|
331
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
332
|
+
? yield configuration.apiKey("x-pollination-token")
|
|
333
|
+
: yield configuration.apiKey;
|
|
334
|
+
localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
|
|
335
|
+
}
|
|
336
|
+
// authentication JWTAuth required
|
|
337
|
+
// http bearer authentication required
|
|
338
|
+
if (configuration && configuration.accessToken) {
|
|
339
|
+
const accessToken = typeof configuration.accessToken === 'function'
|
|
340
|
+
? yield configuration.accessToken()
|
|
341
|
+
: yield configuration.accessToken;
|
|
342
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
343
|
+
}
|
|
344
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
345
|
+
const query = new URLSearchParams(localVarUrlObj.search);
|
|
346
|
+
for (const key in localVarQueryParameter) {
|
|
347
|
+
query.set(key, localVarQueryParameter[key]);
|
|
348
|
+
}
|
|
349
|
+
for (const key in options.query) {
|
|
350
|
+
query.set(key, options.query[key]);
|
|
351
|
+
}
|
|
352
|
+
localVarUrlObj.search = (new URLSearchParams(query)).toString();
|
|
353
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
354
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
355
|
+
const needsSerialization = (typeof subscriptionUpdate !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
356
|
+
localVarRequestOptions.data = needsSerialization ? JSON.stringify(subscriptionUpdate !== undefined ? subscriptionUpdate : {}) : (subscriptionUpdate || "");
|
|
357
|
+
return {
|
|
358
|
+
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
|
359
|
+
options: localVarRequestOptions,
|
|
360
|
+
};
|
|
361
|
+
}),
|
|
142
362
|
};
|
|
143
363
|
};
|
|
144
364
|
exports.SubscriptionsApiAxiosParamCreator = SubscriptionsApiAxiosParamCreator;
|
|
@@ -148,16 +368,32 @@ exports.SubscriptionsApiAxiosParamCreator = SubscriptionsApiAxiosParamCreator;
|
|
|
148
368
|
*/
|
|
149
369
|
const SubscriptionsApiFp = function (configuration) {
|
|
150
370
|
return {
|
|
371
|
+
/**
|
|
372
|
+
*
|
|
373
|
+
* @summary Create Subscription
|
|
374
|
+
* @param {SubscriptionCreate} subscriptionCreate
|
|
375
|
+
* @param {*} [options] Override http request option.
|
|
376
|
+
* @throws {RequiredError}
|
|
377
|
+
*/
|
|
378
|
+
createSubscription(subscriptionCreate, options) {
|
|
379
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
380
|
+
const localVarAxiosArgs = yield (0, exports.SubscriptionsApiAxiosParamCreator)(configuration).createSubscription(subscriptionCreate, options);
|
|
381
|
+
return (axios = axios_1.default, basePath = base_1.BASE_PATH) => {
|
|
382
|
+
const axiosRequestArgs = Object.assign(Object.assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
383
|
+
return axios.request(axiosRequestArgs);
|
|
384
|
+
};
|
|
385
|
+
});
|
|
386
|
+
},
|
|
151
387
|
/**
|
|
152
388
|
*
|
|
153
389
|
* @summary Get Subscription
|
|
154
|
-
* @param {string}
|
|
390
|
+
* @param {string} subscriptionId
|
|
155
391
|
* @param {*} [options] Override http request option.
|
|
156
392
|
* @throws {RequiredError}
|
|
157
393
|
*/
|
|
158
|
-
|
|
394
|
+
getSubscription(subscriptionId, options) {
|
|
159
395
|
return __awaiter(this, void 0, void 0, function* () {
|
|
160
|
-
const localVarAxiosArgs = yield (0, exports.SubscriptionsApiAxiosParamCreator)(configuration).
|
|
396
|
+
const localVarAxiosArgs = yield (0, exports.SubscriptionsApiAxiosParamCreator)(configuration).getSubscription(subscriptionId, options);
|
|
161
397
|
return (axios = axios_1.default, basePath = base_1.BASE_PATH) => {
|
|
162
398
|
const axiosRequestArgs = Object.assign(Object.assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
163
399
|
return axios.request(axiosRequestArgs);
|
|
@@ -166,14 +402,63 @@ const SubscriptionsApiFp = function (configuration) {
|
|
|
166
402
|
},
|
|
167
403
|
/**
|
|
168
404
|
*
|
|
169
|
-
* @summary
|
|
170
|
-
* @param {string}
|
|
405
|
+
* @summary List Subscriptions
|
|
406
|
+
* @param {string} [account]
|
|
171
407
|
* @param {*} [options] Override http request option.
|
|
172
408
|
* @throws {RequiredError}
|
|
173
409
|
*/
|
|
174
|
-
|
|
410
|
+
listPollinationSubscriptions(account, options) {
|
|
175
411
|
return __awaiter(this, void 0, void 0, function* () {
|
|
176
|
-
const localVarAxiosArgs = yield (0, exports.SubscriptionsApiAxiosParamCreator)(configuration).
|
|
412
|
+
const localVarAxiosArgs = yield (0, exports.SubscriptionsApiAxiosParamCreator)(configuration).listPollinationSubscriptions(account, options);
|
|
413
|
+
return (axios = axios_1.default, basePath = base_1.BASE_PATH) => {
|
|
414
|
+
const axiosRequestArgs = Object.assign(Object.assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
415
|
+
return axios.request(axiosRequestArgs);
|
|
416
|
+
};
|
|
417
|
+
});
|
|
418
|
+
},
|
|
419
|
+
/**
|
|
420
|
+
*
|
|
421
|
+
* @summary List Subscription Payments
|
|
422
|
+
* @param {string} subscriptionId
|
|
423
|
+
* @param {*} [options] Override http request option.
|
|
424
|
+
* @throws {RequiredError}
|
|
425
|
+
*/
|
|
426
|
+
listSubscriptionPayments(subscriptionId, options) {
|
|
427
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
428
|
+
const localVarAxiosArgs = yield (0, exports.SubscriptionsApiAxiosParamCreator)(configuration).listSubscriptionPayments(subscriptionId, options);
|
|
429
|
+
return (axios = axios_1.default, basePath = base_1.BASE_PATH) => {
|
|
430
|
+
const axiosRequestArgs = Object.assign(Object.assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
431
|
+
return axios.request(axiosRequestArgs);
|
|
432
|
+
};
|
|
433
|
+
});
|
|
434
|
+
},
|
|
435
|
+
/**
|
|
436
|
+
*
|
|
437
|
+
* @summary List Subscription Quotas
|
|
438
|
+
* @param {string} subscriptionId
|
|
439
|
+
* @param {*} [options] Override http request option.
|
|
440
|
+
* @throws {RequiredError}
|
|
441
|
+
*/
|
|
442
|
+
listSubscriptionQuotas(subscriptionId, options) {
|
|
443
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
444
|
+
const localVarAxiosArgs = yield (0, exports.SubscriptionsApiAxiosParamCreator)(configuration).listSubscriptionQuotas(subscriptionId, options);
|
|
445
|
+
return (axios = axios_1.default, basePath = base_1.BASE_PATH) => {
|
|
446
|
+
const axiosRequestArgs = Object.assign(Object.assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
447
|
+
return axios.request(axiosRequestArgs);
|
|
448
|
+
};
|
|
449
|
+
});
|
|
450
|
+
},
|
|
451
|
+
/**
|
|
452
|
+
*
|
|
453
|
+
* @summary Update Subscription
|
|
454
|
+
* @param {string} subscriptionId
|
|
455
|
+
* @param {SubscriptionUpdate} subscriptionUpdate
|
|
456
|
+
* @param {*} [options] Override http request option.
|
|
457
|
+
* @throws {RequiredError}
|
|
458
|
+
*/
|
|
459
|
+
updateSubscription(subscriptionId, subscriptionUpdate, options) {
|
|
460
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
461
|
+
const localVarAxiosArgs = yield (0, exports.SubscriptionsApiAxiosParamCreator)(configuration).updateSubscription(subscriptionId, subscriptionUpdate, options);
|
|
177
462
|
return (axios = axios_1.default, basePath = base_1.BASE_PATH) => {
|
|
178
463
|
const axiosRequestArgs = Object.assign(Object.assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
179
464
|
return axios.request(axiosRequestArgs);
|
|
@@ -189,25 +474,66 @@ exports.SubscriptionsApiFp = SubscriptionsApiFp;
|
|
|
189
474
|
*/
|
|
190
475
|
const SubscriptionsApiFactory = function (configuration, basePath, axios) {
|
|
191
476
|
return {
|
|
477
|
+
/**
|
|
478
|
+
*
|
|
479
|
+
* @summary Create Subscription
|
|
480
|
+
* @param {SubscriptionCreate} subscriptionCreate
|
|
481
|
+
* @param {*} [options] Override http request option.
|
|
482
|
+
* @throws {RequiredError}
|
|
483
|
+
*/
|
|
484
|
+
createSubscription(subscriptionCreate, options) {
|
|
485
|
+
return (0, exports.SubscriptionsApiFp)(configuration).createSubscription(subscriptionCreate, options).then((request) => request(axios, basePath));
|
|
486
|
+
},
|
|
192
487
|
/**
|
|
193
488
|
*
|
|
194
489
|
* @summary Get Subscription
|
|
195
|
-
* @param {string}
|
|
490
|
+
* @param {string} subscriptionId
|
|
491
|
+
* @param {*} [options] Override http request option.
|
|
492
|
+
* @throws {RequiredError}
|
|
493
|
+
*/
|
|
494
|
+
getSubscription(subscriptionId, options) {
|
|
495
|
+
return (0, exports.SubscriptionsApiFp)(configuration).getSubscription(subscriptionId, options).then((request) => request(axios, basePath));
|
|
496
|
+
},
|
|
497
|
+
/**
|
|
498
|
+
*
|
|
499
|
+
* @summary List Subscriptions
|
|
500
|
+
* @param {string} [account]
|
|
501
|
+
* @param {*} [options] Override http request option.
|
|
502
|
+
* @throws {RequiredError}
|
|
503
|
+
*/
|
|
504
|
+
listPollinationSubscriptions(account, options) {
|
|
505
|
+
return (0, exports.SubscriptionsApiFp)(configuration).listPollinationSubscriptions(account, options).then((request) => request(axios, basePath));
|
|
506
|
+
},
|
|
507
|
+
/**
|
|
508
|
+
*
|
|
509
|
+
* @summary List Subscription Payments
|
|
510
|
+
* @param {string} subscriptionId
|
|
196
511
|
* @param {*} [options] Override http request option.
|
|
197
512
|
* @throws {RequiredError}
|
|
198
513
|
*/
|
|
199
|
-
|
|
200
|
-
return (0, exports.SubscriptionsApiFp)(configuration).
|
|
514
|
+
listSubscriptionPayments(subscriptionId, options) {
|
|
515
|
+
return (0, exports.SubscriptionsApiFp)(configuration).listSubscriptionPayments(subscriptionId, options).then((request) => request(axios, basePath));
|
|
201
516
|
},
|
|
202
517
|
/**
|
|
203
518
|
*
|
|
204
|
-
* @summary
|
|
205
|
-
* @param {string}
|
|
519
|
+
* @summary List Subscription Quotas
|
|
520
|
+
* @param {string} subscriptionId
|
|
206
521
|
* @param {*} [options] Override http request option.
|
|
207
522
|
* @throws {RequiredError}
|
|
208
523
|
*/
|
|
209
|
-
|
|
210
|
-
return (0, exports.SubscriptionsApiFp)(configuration).
|
|
524
|
+
listSubscriptionQuotas(subscriptionId, options) {
|
|
525
|
+
return (0, exports.SubscriptionsApiFp)(configuration).listSubscriptionQuotas(subscriptionId, options).then((request) => request(axios, basePath));
|
|
526
|
+
},
|
|
527
|
+
/**
|
|
528
|
+
*
|
|
529
|
+
* @summary Update Subscription
|
|
530
|
+
* @param {string} subscriptionId
|
|
531
|
+
* @param {SubscriptionUpdate} subscriptionUpdate
|
|
532
|
+
* @param {*} [options] Override http request option.
|
|
533
|
+
* @throws {RequiredError}
|
|
534
|
+
*/
|
|
535
|
+
updateSubscription(subscriptionId, subscriptionUpdate, options) {
|
|
536
|
+
return (0, exports.SubscriptionsApiFp)(configuration).updateSubscription(subscriptionId, subscriptionUpdate, options).then((request) => request(axios, basePath));
|
|
211
537
|
},
|
|
212
538
|
};
|
|
213
539
|
};
|
|
@@ -219,27 +545,71 @@ exports.SubscriptionsApiFactory = SubscriptionsApiFactory;
|
|
|
219
545
|
* @extends {BaseAPI}
|
|
220
546
|
*/
|
|
221
547
|
class SubscriptionsApi extends base_1.BaseAPI {
|
|
548
|
+
/**
|
|
549
|
+
*
|
|
550
|
+
* @summary Create Subscription
|
|
551
|
+
* @param {SubscriptionsApiCreateSubscriptionRequest} requestParameters Request parameters.
|
|
552
|
+
* @param {*} [options] Override http request option.
|
|
553
|
+
* @throws {RequiredError}
|
|
554
|
+
* @memberof SubscriptionsApi
|
|
555
|
+
*/
|
|
556
|
+
createSubscription(requestParameters, options) {
|
|
557
|
+
return (0, exports.SubscriptionsApiFp)(this.configuration).createSubscription(requestParameters.subscriptionCreate, options).then((request) => request(this.axios, this.basePath));
|
|
558
|
+
}
|
|
222
559
|
/**
|
|
223
560
|
*
|
|
224
561
|
* @summary Get Subscription
|
|
225
|
-
* @param {
|
|
562
|
+
* @param {SubscriptionsApiGetSubscriptionRequest} requestParameters Request parameters.
|
|
563
|
+
* @param {*} [options] Override http request option.
|
|
564
|
+
* @throws {RequiredError}
|
|
565
|
+
* @memberof SubscriptionsApi
|
|
566
|
+
*/
|
|
567
|
+
getSubscription(requestParameters, options) {
|
|
568
|
+
return (0, exports.SubscriptionsApiFp)(this.configuration).getSubscription(requestParameters.subscriptionId, options).then((request) => request(this.axios, this.basePath));
|
|
569
|
+
}
|
|
570
|
+
/**
|
|
571
|
+
*
|
|
572
|
+
* @summary List Subscriptions
|
|
573
|
+
* @param {SubscriptionsApiListPollinationSubscriptionsRequest} requestParameters Request parameters.
|
|
574
|
+
* @param {*} [options] Override http request option.
|
|
575
|
+
* @throws {RequiredError}
|
|
576
|
+
* @memberof SubscriptionsApi
|
|
577
|
+
*/
|
|
578
|
+
listPollinationSubscriptions(requestParameters = {}, options) {
|
|
579
|
+
return (0, exports.SubscriptionsApiFp)(this.configuration).listPollinationSubscriptions(requestParameters.account, options).then((request) => request(this.axios, this.basePath));
|
|
580
|
+
}
|
|
581
|
+
/**
|
|
582
|
+
*
|
|
583
|
+
* @summary List Subscription Payments
|
|
584
|
+
* @param {SubscriptionsApiListSubscriptionPaymentsRequest} requestParameters Request parameters.
|
|
585
|
+
* @param {*} [options] Override http request option.
|
|
586
|
+
* @throws {RequiredError}
|
|
587
|
+
* @memberof SubscriptionsApi
|
|
588
|
+
*/
|
|
589
|
+
listSubscriptionPayments(requestParameters, options) {
|
|
590
|
+
return (0, exports.SubscriptionsApiFp)(this.configuration).listSubscriptionPayments(requestParameters.subscriptionId, options).then((request) => request(this.axios, this.basePath));
|
|
591
|
+
}
|
|
592
|
+
/**
|
|
593
|
+
*
|
|
594
|
+
* @summary List Subscription Quotas
|
|
595
|
+
* @param {SubscriptionsApiListSubscriptionQuotasRequest} requestParameters Request parameters.
|
|
226
596
|
* @param {*} [options] Override http request option.
|
|
227
597
|
* @throws {RequiredError}
|
|
228
598
|
* @memberof SubscriptionsApi
|
|
229
599
|
*/
|
|
230
|
-
|
|
231
|
-
return (0, exports.SubscriptionsApiFp)(this.configuration).
|
|
600
|
+
listSubscriptionQuotas(requestParameters, options) {
|
|
601
|
+
return (0, exports.SubscriptionsApiFp)(this.configuration).listSubscriptionQuotas(requestParameters.subscriptionId, options).then((request) => request(this.axios, this.basePath));
|
|
232
602
|
}
|
|
233
603
|
/**
|
|
234
604
|
*
|
|
235
|
-
* @summary
|
|
236
|
-
* @param {
|
|
605
|
+
* @summary Update Subscription
|
|
606
|
+
* @param {SubscriptionsApiUpdateSubscriptionRequest} requestParameters Request parameters.
|
|
237
607
|
* @param {*} [options] Override http request option.
|
|
238
608
|
* @throws {RequiredError}
|
|
239
609
|
* @memberof SubscriptionsApi
|
|
240
610
|
*/
|
|
241
|
-
|
|
242
|
-
return (0, exports.SubscriptionsApiFp)(this.configuration).
|
|
611
|
+
updateSubscription(requestParameters, options) {
|
|
612
|
+
return (0, exports.SubscriptionsApiFp)(this.configuration).updateSubscription(requestParameters.subscriptionId, requestParameters.subscriptionUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
243
613
|
}
|
|
244
614
|
}
|
|
245
615
|
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.0
|
|
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.0
|
|
9
9
|
* Contact: info@pollination.cloud
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|