@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
package/api/subscriptions-api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* pollination-server
|
|
5
5
|
* Pollination Server OpenAPI Definition
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.26.1
|
|
8
8
|
* Contact: info@pollination.cloud
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -21,27 +21,99 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } fr
|
|
|
21
21
|
// @ts-ignore
|
|
22
22
|
import { HTTPValidationError } from '../models';
|
|
23
23
|
// @ts-ignore
|
|
24
|
-
import {
|
|
24
|
+
import { PayLink } from '../models';
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { Payment } from '../models';
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
import { Quota } from '../models';
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
import { Subscription } from '../models';
|
|
31
|
+
// @ts-ignore
|
|
32
|
+
import { SubscriptionCreate } from '../models';
|
|
33
|
+
// @ts-ignore
|
|
34
|
+
import { SubscriptionUpdate } from '../models';
|
|
25
35
|
/**
|
|
26
36
|
* SubscriptionsApi - axios parameter creator
|
|
27
37
|
* @export
|
|
28
38
|
*/
|
|
29
39
|
export const SubscriptionsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
30
40
|
return {
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @summary Create Subscription
|
|
44
|
+
* @param {SubscriptionCreate} subscriptionCreate
|
|
45
|
+
* @param {*} [options] Override http request option.
|
|
46
|
+
* @throws {RequiredError}
|
|
47
|
+
*/
|
|
48
|
+
createSubscription: async (subscriptionCreate: SubscriptionCreate, options: any = {}): Promise<RequestArgs> => {
|
|
49
|
+
// verify required parameter 'subscriptionCreate' is not null or undefined
|
|
50
|
+
if (subscriptionCreate === null || subscriptionCreate === undefined) {
|
|
51
|
+
throw new RequiredError('subscriptionCreate','Required parameter subscriptionCreate was null or undefined when calling createSubscription.');
|
|
52
|
+
}
|
|
53
|
+
const localVarPath = `/subscriptions/`;
|
|
54
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
55
|
+
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
56
|
+
let baseOptions;
|
|
57
|
+
if (configuration) {
|
|
58
|
+
baseOptions = configuration.baseOptions;
|
|
59
|
+
}
|
|
60
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
61
|
+
const localVarHeaderParameter = {} as any;
|
|
62
|
+
const localVarQueryParameter = {} as any;
|
|
63
|
+
|
|
64
|
+
// authentication APIKeyAuth required
|
|
65
|
+
if (configuration && configuration.apiKey) {
|
|
66
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
67
|
+
? await configuration.apiKey("x-pollination-token")
|
|
68
|
+
: await configuration.apiKey;
|
|
69
|
+
localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
// authentication JWTAuth required
|
|
73
|
+
// http bearer authentication required
|
|
74
|
+
if (configuration && configuration.accessToken) {
|
|
75
|
+
const accessToken = typeof configuration.accessToken === 'function'
|
|
76
|
+
? await configuration.accessToken()
|
|
77
|
+
: await configuration.accessToken;
|
|
78
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
84
|
+
|
|
85
|
+
const query = new URLSearchParams(localVarUrlObj.search);
|
|
86
|
+
for (const key in localVarQueryParameter) {
|
|
87
|
+
query.set(key, localVarQueryParameter[key]);
|
|
88
|
+
}
|
|
89
|
+
for (const key in options.query) {
|
|
90
|
+
query.set(key, options.query[key]);
|
|
91
|
+
}
|
|
92
|
+
localVarUrlObj.search = (new URLSearchParams(query)).toString();
|
|
93
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
94
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
95
|
+
const needsSerialization = (typeof subscriptionCreate !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
96
|
+
localVarRequestOptions.data = needsSerialization ? JSON.stringify(subscriptionCreate !== undefined ? subscriptionCreate : {}) : (subscriptionCreate || "");
|
|
97
|
+
|
|
98
|
+
return {
|
|
99
|
+
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
|
100
|
+
options: localVarRequestOptions,
|
|
101
|
+
};
|
|
102
|
+
},
|
|
31
103
|
/**
|
|
32
104
|
*
|
|
33
105
|
* @summary Get Subscription
|
|
34
|
-
* @param {string}
|
|
106
|
+
* @param {string} subscriptionId
|
|
35
107
|
* @param {*} [options] Override http request option.
|
|
36
108
|
* @throws {RequiredError}
|
|
37
109
|
*/
|
|
38
|
-
|
|
39
|
-
// verify required parameter '
|
|
40
|
-
if (
|
|
41
|
-
throw new RequiredError('
|
|
110
|
+
getSubscription: async (subscriptionId: string, options: any = {}): Promise<RequestArgs> => {
|
|
111
|
+
// verify required parameter 'subscriptionId' is not null or undefined
|
|
112
|
+
if (subscriptionId === null || subscriptionId === undefined) {
|
|
113
|
+
throw new RequiredError('subscriptionId','Required parameter subscriptionId was null or undefined when calling getSubscription.');
|
|
42
114
|
}
|
|
43
|
-
const localVarPath = `/subscriptions/{
|
|
44
|
-
.replace(`{${"
|
|
115
|
+
const localVarPath = `/subscriptions/{subscription_id}`
|
|
116
|
+
.replace(`{${"subscription_id"}}`, encodeURIComponent(String(subscriptionId)));
|
|
45
117
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
46
118
|
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
47
119
|
let baseOptions;
|
|
@@ -89,18 +161,118 @@ export const SubscriptionsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
89
161
|
},
|
|
90
162
|
/**
|
|
91
163
|
*
|
|
92
|
-
* @summary
|
|
93
|
-
* @param {string}
|
|
164
|
+
* @summary List Subscriptions
|
|
165
|
+
* @param {string} [account]
|
|
94
166
|
* @param {*} [options] Override http request option.
|
|
95
167
|
* @throws {RequiredError}
|
|
96
168
|
*/
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
169
|
+
listPollinationSubscriptions: async (account?: string, options: any = {}): Promise<RequestArgs> => {
|
|
170
|
+
const localVarPath = `/subscriptions/`;
|
|
171
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
172
|
+
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
173
|
+
let baseOptions;
|
|
174
|
+
if (configuration) {
|
|
175
|
+
baseOptions = configuration.baseOptions;
|
|
101
176
|
}
|
|
102
|
-
const
|
|
103
|
-
|
|
177
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
178
|
+
const localVarHeaderParameter = {} as any;
|
|
179
|
+
const localVarQueryParameter = {} as any;
|
|
180
|
+
|
|
181
|
+
if (account !== undefined) {
|
|
182
|
+
localVarQueryParameter['account'] = account;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
const query = new URLSearchParams(localVarUrlObj.search);
|
|
188
|
+
for (const key in localVarQueryParameter) {
|
|
189
|
+
query.set(key, localVarQueryParameter[key]);
|
|
190
|
+
}
|
|
191
|
+
for (const key in options.query) {
|
|
192
|
+
query.set(key, options.query[key]);
|
|
193
|
+
}
|
|
194
|
+
localVarUrlObj.search = (new URLSearchParams(query)).toString();
|
|
195
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
196
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
197
|
+
|
|
198
|
+
return {
|
|
199
|
+
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
|
200
|
+
options: localVarRequestOptions,
|
|
201
|
+
};
|
|
202
|
+
},
|
|
203
|
+
/**
|
|
204
|
+
*
|
|
205
|
+
* @summary List Subscription Payments
|
|
206
|
+
* @param {string} subscriptionId
|
|
207
|
+
* @param {*} [options] Override http request option.
|
|
208
|
+
* @throws {RequiredError}
|
|
209
|
+
*/
|
|
210
|
+
listSubscriptionPayments: async (subscriptionId: string, options: any = {}): Promise<RequestArgs> => {
|
|
211
|
+
// verify required parameter 'subscriptionId' is not null or undefined
|
|
212
|
+
if (subscriptionId === null || subscriptionId === undefined) {
|
|
213
|
+
throw new RequiredError('subscriptionId','Required parameter subscriptionId was null or undefined when calling listSubscriptionPayments.');
|
|
214
|
+
}
|
|
215
|
+
const localVarPath = `/subscriptions/{subscription_id}/payments`
|
|
216
|
+
.replace(`{${"subscription_id"}}`, encodeURIComponent(String(subscriptionId)));
|
|
217
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
218
|
+
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
219
|
+
let baseOptions;
|
|
220
|
+
if (configuration) {
|
|
221
|
+
baseOptions = configuration.baseOptions;
|
|
222
|
+
}
|
|
223
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
224
|
+
const localVarHeaderParameter = {} as any;
|
|
225
|
+
const localVarQueryParameter = {} as any;
|
|
226
|
+
|
|
227
|
+
// authentication APIKeyAuth required
|
|
228
|
+
if (configuration && configuration.apiKey) {
|
|
229
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
230
|
+
? await configuration.apiKey("x-pollination-token")
|
|
231
|
+
: await configuration.apiKey;
|
|
232
|
+
localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
// authentication JWTAuth required
|
|
236
|
+
// http bearer authentication required
|
|
237
|
+
if (configuration && configuration.accessToken) {
|
|
238
|
+
const accessToken = typeof configuration.accessToken === 'function'
|
|
239
|
+
? await configuration.accessToken()
|
|
240
|
+
: await configuration.accessToken;
|
|
241
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
const query = new URLSearchParams(localVarUrlObj.search);
|
|
247
|
+
for (const key in localVarQueryParameter) {
|
|
248
|
+
query.set(key, localVarQueryParameter[key]);
|
|
249
|
+
}
|
|
250
|
+
for (const key in options.query) {
|
|
251
|
+
query.set(key, options.query[key]);
|
|
252
|
+
}
|
|
253
|
+
localVarUrlObj.search = (new URLSearchParams(query)).toString();
|
|
254
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
255
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
256
|
+
|
|
257
|
+
return {
|
|
258
|
+
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
|
259
|
+
options: localVarRequestOptions,
|
|
260
|
+
};
|
|
261
|
+
},
|
|
262
|
+
/**
|
|
263
|
+
*
|
|
264
|
+
* @summary List Subscription Quotas
|
|
265
|
+
* @param {string} subscriptionId
|
|
266
|
+
* @param {*} [options] Override http request option.
|
|
267
|
+
* @throws {RequiredError}
|
|
268
|
+
*/
|
|
269
|
+
listSubscriptionQuotas: async (subscriptionId: string, options: any = {}): Promise<RequestArgs> => {
|
|
270
|
+
// verify required parameter 'subscriptionId' is not null or undefined
|
|
271
|
+
if (subscriptionId === null || subscriptionId === undefined) {
|
|
272
|
+
throw new RequiredError('subscriptionId','Required parameter subscriptionId was null or undefined when calling listSubscriptionQuotas.');
|
|
273
|
+
}
|
|
274
|
+
const localVarPath = `/subscriptions/{subscription_id}/quotas`
|
|
275
|
+
.replace(`{${"subscription_id"}}`, encodeURIComponent(String(subscriptionId)));
|
|
104
276
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
105
277
|
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
106
278
|
let baseOptions;
|
|
@@ -141,6 +313,74 @@ export const SubscriptionsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
141
313
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
142
314
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
143
315
|
|
|
316
|
+
return {
|
|
317
|
+
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
|
318
|
+
options: localVarRequestOptions,
|
|
319
|
+
};
|
|
320
|
+
},
|
|
321
|
+
/**
|
|
322
|
+
*
|
|
323
|
+
* @summary Update Subscription
|
|
324
|
+
* @param {string} subscriptionId
|
|
325
|
+
* @param {SubscriptionUpdate} subscriptionUpdate
|
|
326
|
+
* @param {*} [options] Override http request option.
|
|
327
|
+
* @throws {RequiredError}
|
|
328
|
+
*/
|
|
329
|
+
updateSubscription: async (subscriptionId: string, subscriptionUpdate: SubscriptionUpdate, options: any = {}): Promise<RequestArgs> => {
|
|
330
|
+
// verify required parameter 'subscriptionId' is not null or undefined
|
|
331
|
+
if (subscriptionId === null || subscriptionId === undefined) {
|
|
332
|
+
throw new RequiredError('subscriptionId','Required parameter subscriptionId was null or undefined when calling updateSubscription.');
|
|
333
|
+
}
|
|
334
|
+
// verify required parameter 'subscriptionUpdate' is not null or undefined
|
|
335
|
+
if (subscriptionUpdate === null || subscriptionUpdate === undefined) {
|
|
336
|
+
throw new RequiredError('subscriptionUpdate','Required parameter subscriptionUpdate was null or undefined when calling updateSubscription.');
|
|
337
|
+
}
|
|
338
|
+
const localVarPath = `/subscriptions/{subscription_id}`
|
|
339
|
+
.replace(`{${"subscription_id"}}`, encodeURIComponent(String(subscriptionId)));
|
|
340
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
341
|
+
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
342
|
+
let baseOptions;
|
|
343
|
+
if (configuration) {
|
|
344
|
+
baseOptions = configuration.baseOptions;
|
|
345
|
+
}
|
|
346
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
347
|
+
const localVarHeaderParameter = {} as any;
|
|
348
|
+
const localVarQueryParameter = {} as any;
|
|
349
|
+
|
|
350
|
+
// authentication APIKeyAuth required
|
|
351
|
+
if (configuration && configuration.apiKey) {
|
|
352
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
353
|
+
? await configuration.apiKey("x-pollination-token")
|
|
354
|
+
: await configuration.apiKey;
|
|
355
|
+
localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
// authentication JWTAuth required
|
|
359
|
+
// http bearer authentication required
|
|
360
|
+
if (configuration && configuration.accessToken) {
|
|
361
|
+
const accessToken = typeof configuration.accessToken === 'function'
|
|
362
|
+
? await configuration.accessToken()
|
|
363
|
+
: await configuration.accessToken;
|
|
364
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
|
|
368
|
+
|
|
369
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
370
|
+
|
|
371
|
+
const query = new URLSearchParams(localVarUrlObj.search);
|
|
372
|
+
for (const key in localVarQueryParameter) {
|
|
373
|
+
query.set(key, localVarQueryParameter[key]);
|
|
374
|
+
}
|
|
375
|
+
for (const key in options.query) {
|
|
376
|
+
query.set(key, options.query[key]);
|
|
377
|
+
}
|
|
378
|
+
localVarUrlObj.search = (new URLSearchParams(query)).toString();
|
|
379
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
380
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
381
|
+
const needsSerialization = (typeof subscriptionUpdate !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
382
|
+
localVarRequestOptions.data = needsSerialization ? JSON.stringify(subscriptionUpdate !== undefined ? subscriptionUpdate : {}) : (subscriptionUpdate || "");
|
|
383
|
+
|
|
144
384
|
return {
|
|
145
385
|
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
|
146
386
|
options: localVarRequestOptions,
|
|
@@ -155,15 +395,43 @@ export const SubscriptionsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
155
395
|
*/
|
|
156
396
|
export const SubscriptionsApiFp = function(configuration?: Configuration) {
|
|
157
397
|
return {
|
|
398
|
+
/**
|
|
399
|
+
*
|
|
400
|
+
* @summary Create Subscription
|
|
401
|
+
* @param {SubscriptionCreate} subscriptionCreate
|
|
402
|
+
* @param {*} [options] Override http request option.
|
|
403
|
+
* @throws {RequiredError}
|
|
404
|
+
*/
|
|
405
|
+
async createSubscription(subscriptionCreate: SubscriptionCreate, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PayLink>> {
|
|
406
|
+
const localVarAxiosArgs = await SubscriptionsApiAxiosParamCreator(configuration).createSubscription(subscriptionCreate, options);
|
|
407
|
+
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
408
|
+
const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
|
409
|
+
return axios.request(axiosRequestArgs);
|
|
410
|
+
};
|
|
411
|
+
},
|
|
158
412
|
/**
|
|
159
413
|
*
|
|
160
414
|
* @summary Get Subscription
|
|
161
|
-
* @param {string}
|
|
415
|
+
* @param {string} subscriptionId
|
|
416
|
+
* @param {*} [options] Override http request option.
|
|
417
|
+
* @throws {RequiredError}
|
|
418
|
+
*/
|
|
419
|
+
async getSubscription(subscriptionId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Subscription>> {
|
|
420
|
+
const localVarAxiosArgs = await SubscriptionsApiAxiosParamCreator(configuration).getSubscription(subscriptionId, options);
|
|
421
|
+
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
422
|
+
const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
|
423
|
+
return axios.request(axiosRequestArgs);
|
|
424
|
+
};
|
|
425
|
+
},
|
|
426
|
+
/**
|
|
427
|
+
*
|
|
428
|
+
* @summary List Subscriptions
|
|
429
|
+
* @param {string} [account]
|
|
162
430
|
* @param {*} [options] Override http request option.
|
|
163
431
|
* @throws {RequiredError}
|
|
164
432
|
*/
|
|
165
|
-
async
|
|
166
|
-
const localVarAxiosArgs = await SubscriptionsApiAxiosParamCreator(configuration).
|
|
433
|
+
async listPollinationSubscriptions(account?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Subscription>>> {
|
|
434
|
+
const localVarAxiosArgs = await SubscriptionsApiAxiosParamCreator(configuration).listPollinationSubscriptions(account, options);
|
|
167
435
|
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
168
436
|
const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
|
169
437
|
return axios.request(axiosRequestArgs);
|
|
@@ -171,13 +439,42 @@ export const SubscriptionsApiFp = function(configuration?: Configuration) {
|
|
|
171
439
|
},
|
|
172
440
|
/**
|
|
173
441
|
*
|
|
174
|
-
* @summary
|
|
175
|
-
* @param {string}
|
|
442
|
+
* @summary List Subscription Payments
|
|
443
|
+
* @param {string} subscriptionId
|
|
176
444
|
* @param {*} [options] Override http request option.
|
|
177
445
|
* @throws {RequiredError}
|
|
178
446
|
*/
|
|
179
|
-
async
|
|
180
|
-
const localVarAxiosArgs = await SubscriptionsApiAxiosParamCreator(configuration).
|
|
447
|
+
async listSubscriptionPayments(subscriptionId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Payment>>> {
|
|
448
|
+
const localVarAxiosArgs = await SubscriptionsApiAxiosParamCreator(configuration).listSubscriptionPayments(subscriptionId, options);
|
|
449
|
+
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
450
|
+
const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
|
451
|
+
return axios.request(axiosRequestArgs);
|
|
452
|
+
};
|
|
453
|
+
},
|
|
454
|
+
/**
|
|
455
|
+
*
|
|
456
|
+
* @summary List Subscription Quotas
|
|
457
|
+
* @param {string} subscriptionId
|
|
458
|
+
* @param {*} [options] Override http request option.
|
|
459
|
+
* @throws {RequiredError}
|
|
460
|
+
*/
|
|
461
|
+
async listSubscriptionQuotas(subscriptionId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Quota>>> {
|
|
462
|
+
const localVarAxiosArgs = await SubscriptionsApiAxiosParamCreator(configuration).listSubscriptionQuotas(subscriptionId, options);
|
|
463
|
+
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
464
|
+
const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
|
465
|
+
return axios.request(axiosRequestArgs);
|
|
466
|
+
};
|
|
467
|
+
},
|
|
468
|
+
/**
|
|
469
|
+
*
|
|
470
|
+
* @summary Update Subscription
|
|
471
|
+
* @param {string} subscriptionId
|
|
472
|
+
* @param {SubscriptionUpdate} subscriptionUpdate
|
|
473
|
+
* @param {*} [options] Override http request option.
|
|
474
|
+
* @throws {RequiredError}
|
|
475
|
+
*/
|
|
476
|
+
async updateSubscription(subscriptionId: string, subscriptionUpdate: SubscriptionUpdate, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Subscription>> {
|
|
477
|
+
const localVarAxiosArgs = await SubscriptionsApiAxiosParamCreator(configuration).updateSubscription(subscriptionId, subscriptionUpdate, options);
|
|
181
478
|
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
182
479
|
const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
|
183
480
|
return axios.request(axiosRequestArgs);
|
|
@@ -192,55 +489,159 @@ export const SubscriptionsApiFp = function(configuration?: Configuration) {
|
|
|
192
489
|
*/
|
|
193
490
|
export const SubscriptionsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
194
491
|
return {
|
|
492
|
+
/**
|
|
493
|
+
*
|
|
494
|
+
* @summary Create Subscription
|
|
495
|
+
* @param {SubscriptionCreate} subscriptionCreate
|
|
496
|
+
* @param {*} [options] Override http request option.
|
|
497
|
+
* @throws {RequiredError}
|
|
498
|
+
*/
|
|
499
|
+
createSubscription(subscriptionCreate: SubscriptionCreate, options?: any): AxiosPromise<PayLink> {
|
|
500
|
+
return SubscriptionsApiFp(configuration).createSubscription(subscriptionCreate, options).then((request) => request(axios, basePath));
|
|
501
|
+
},
|
|
195
502
|
/**
|
|
196
503
|
*
|
|
197
504
|
* @summary Get Subscription
|
|
198
|
-
* @param {string}
|
|
505
|
+
* @param {string} subscriptionId
|
|
506
|
+
* @param {*} [options] Override http request option.
|
|
507
|
+
* @throws {RequiredError}
|
|
508
|
+
*/
|
|
509
|
+
getSubscription(subscriptionId: string, options?: any): AxiosPromise<Subscription> {
|
|
510
|
+
return SubscriptionsApiFp(configuration).getSubscription(subscriptionId, options).then((request) => request(axios, basePath));
|
|
511
|
+
},
|
|
512
|
+
/**
|
|
513
|
+
*
|
|
514
|
+
* @summary List Subscriptions
|
|
515
|
+
* @param {string} [account]
|
|
516
|
+
* @param {*} [options] Override http request option.
|
|
517
|
+
* @throws {RequiredError}
|
|
518
|
+
*/
|
|
519
|
+
listPollinationSubscriptions(account?: string, options?: any): AxiosPromise<Array<Subscription>> {
|
|
520
|
+
return SubscriptionsApiFp(configuration).listPollinationSubscriptions(account, options).then((request) => request(axios, basePath));
|
|
521
|
+
},
|
|
522
|
+
/**
|
|
523
|
+
*
|
|
524
|
+
* @summary List Subscription Payments
|
|
525
|
+
* @param {string} subscriptionId
|
|
526
|
+
* @param {*} [options] Override http request option.
|
|
527
|
+
* @throws {RequiredError}
|
|
528
|
+
*/
|
|
529
|
+
listSubscriptionPayments(subscriptionId: string, options?: any): AxiosPromise<Array<Payment>> {
|
|
530
|
+
return SubscriptionsApiFp(configuration).listSubscriptionPayments(subscriptionId, options).then((request) => request(axios, basePath));
|
|
531
|
+
},
|
|
532
|
+
/**
|
|
533
|
+
*
|
|
534
|
+
* @summary List Subscription Quotas
|
|
535
|
+
* @param {string} subscriptionId
|
|
199
536
|
* @param {*} [options] Override http request option.
|
|
200
537
|
* @throws {RequiredError}
|
|
201
538
|
*/
|
|
202
|
-
|
|
203
|
-
return SubscriptionsApiFp(configuration).
|
|
539
|
+
listSubscriptionQuotas(subscriptionId: string, options?: any): AxiosPromise<Array<Quota>> {
|
|
540
|
+
return SubscriptionsApiFp(configuration).listSubscriptionQuotas(subscriptionId, options).then((request) => request(axios, basePath));
|
|
204
541
|
},
|
|
205
542
|
/**
|
|
206
543
|
*
|
|
207
|
-
* @summary
|
|
208
|
-
* @param {string}
|
|
544
|
+
* @summary Update Subscription
|
|
545
|
+
* @param {string} subscriptionId
|
|
546
|
+
* @param {SubscriptionUpdate} subscriptionUpdate
|
|
209
547
|
* @param {*} [options] Override http request option.
|
|
210
548
|
* @throws {RequiredError}
|
|
211
549
|
*/
|
|
212
|
-
|
|
213
|
-
return SubscriptionsApiFp(configuration).
|
|
550
|
+
updateSubscription(subscriptionId: string, subscriptionUpdate: SubscriptionUpdate, options?: any): AxiosPromise<Subscription> {
|
|
551
|
+
return SubscriptionsApiFp(configuration).updateSubscription(subscriptionId, subscriptionUpdate, options).then((request) => request(axios, basePath));
|
|
214
552
|
},
|
|
215
553
|
};
|
|
216
554
|
};
|
|
217
555
|
|
|
218
556
|
/**
|
|
219
|
-
* Request parameters for
|
|
557
|
+
* Request parameters for createSubscription operation in SubscriptionsApi.
|
|
558
|
+
* @export
|
|
559
|
+
* @interface SubscriptionsApiCreateSubscriptionRequest
|
|
560
|
+
*/
|
|
561
|
+
export interface SubscriptionsApiCreateSubscriptionRequest {
|
|
562
|
+
/**
|
|
563
|
+
*
|
|
564
|
+
* @type {SubscriptionCreate}
|
|
565
|
+
* @memberof SubscriptionsApiCreateSubscription
|
|
566
|
+
*/
|
|
567
|
+
readonly subscriptionCreate: SubscriptionCreate
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
/**
|
|
571
|
+
* Request parameters for getSubscription operation in SubscriptionsApi.
|
|
572
|
+
* @export
|
|
573
|
+
* @interface SubscriptionsApiGetSubscriptionRequest
|
|
574
|
+
*/
|
|
575
|
+
export interface SubscriptionsApiGetSubscriptionRequest {
|
|
576
|
+
/**
|
|
577
|
+
*
|
|
578
|
+
* @type {string}
|
|
579
|
+
* @memberof SubscriptionsApiGetSubscription
|
|
580
|
+
*/
|
|
581
|
+
readonly subscriptionId: string
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
/**
|
|
585
|
+
* Request parameters for listPollinationSubscriptions operation in SubscriptionsApi.
|
|
586
|
+
* @export
|
|
587
|
+
* @interface SubscriptionsApiListPollinationSubscriptionsRequest
|
|
588
|
+
*/
|
|
589
|
+
export interface SubscriptionsApiListPollinationSubscriptionsRequest {
|
|
590
|
+
/**
|
|
591
|
+
*
|
|
592
|
+
* @type {string}
|
|
593
|
+
* @memberof SubscriptionsApiListPollinationSubscriptions
|
|
594
|
+
*/
|
|
595
|
+
readonly account?: string
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
/**
|
|
599
|
+
* Request parameters for listSubscriptionPayments operation in SubscriptionsApi.
|
|
600
|
+
* @export
|
|
601
|
+
* @interface SubscriptionsApiListSubscriptionPaymentsRequest
|
|
602
|
+
*/
|
|
603
|
+
export interface SubscriptionsApiListSubscriptionPaymentsRequest {
|
|
604
|
+
/**
|
|
605
|
+
*
|
|
606
|
+
* @type {string}
|
|
607
|
+
* @memberof SubscriptionsApiListSubscriptionPayments
|
|
608
|
+
*/
|
|
609
|
+
readonly subscriptionId: string
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
/**
|
|
613
|
+
* Request parameters for listSubscriptionQuotas operation in SubscriptionsApi.
|
|
220
614
|
* @export
|
|
221
|
-
* @interface
|
|
615
|
+
* @interface SubscriptionsApiListSubscriptionQuotasRequest
|
|
222
616
|
*/
|
|
223
|
-
export interface
|
|
617
|
+
export interface SubscriptionsApiListSubscriptionQuotasRequest {
|
|
224
618
|
/**
|
|
225
619
|
*
|
|
226
620
|
* @type {string}
|
|
227
|
-
* @memberof
|
|
621
|
+
* @memberof SubscriptionsApiListSubscriptionQuotas
|
|
228
622
|
*/
|
|
229
|
-
readonly
|
|
623
|
+
readonly subscriptionId: string
|
|
230
624
|
}
|
|
231
625
|
|
|
232
626
|
/**
|
|
233
|
-
* Request parameters for
|
|
627
|
+
* Request parameters for updateSubscription operation in SubscriptionsApi.
|
|
234
628
|
* @export
|
|
235
|
-
* @interface
|
|
629
|
+
* @interface SubscriptionsApiUpdateSubscriptionRequest
|
|
236
630
|
*/
|
|
237
|
-
export interface
|
|
631
|
+
export interface SubscriptionsApiUpdateSubscriptionRequest {
|
|
238
632
|
/**
|
|
239
633
|
*
|
|
240
634
|
* @type {string}
|
|
241
|
-
* @memberof
|
|
635
|
+
* @memberof SubscriptionsApiUpdateSubscription
|
|
242
636
|
*/
|
|
243
|
-
readonly
|
|
637
|
+
readonly subscriptionId: string
|
|
638
|
+
|
|
639
|
+
/**
|
|
640
|
+
*
|
|
641
|
+
* @type {SubscriptionUpdate}
|
|
642
|
+
* @memberof SubscriptionsApiUpdateSubscription
|
|
643
|
+
*/
|
|
644
|
+
readonly subscriptionUpdate: SubscriptionUpdate
|
|
244
645
|
}
|
|
245
646
|
|
|
246
647
|
/**
|
|
@@ -250,27 +651,75 @@ export interface SubscriptionsApiGetUpcomingPollinationSubscriptionRequest {
|
|
|
250
651
|
* @extends {BaseAPI}
|
|
251
652
|
*/
|
|
252
653
|
export class SubscriptionsApi extends BaseAPI {
|
|
654
|
+
/**
|
|
655
|
+
*
|
|
656
|
+
* @summary Create Subscription
|
|
657
|
+
* @param {SubscriptionsApiCreateSubscriptionRequest} requestParameters Request parameters.
|
|
658
|
+
* @param {*} [options] Override http request option.
|
|
659
|
+
* @throws {RequiredError}
|
|
660
|
+
* @memberof SubscriptionsApi
|
|
661
|
+
*/
|
|
662
|
+
public createSubscription(requestParameters: SubscriptionsApiCreateSubscriptionRequest, options?: any) {
|
|
663
|
+
return SubscriptionsApiFp(this.configuration).createSubscription(requestParameters.subscriptionCreate, options).then((request) => request(this.axios, this.basePath));
|
|
664
|
+
}
|
|
665
|
+
|
|
253
666
|
/**
|
|
254
667
|
*
|
|
255
668
|
* @summary Get Subscription
|
|
256
|
-
* @param {
|
|
669
|
+
* @param {SubscriptionsApiGetSubscriptionRequest} requestParameters Request parameters.
|
|
670
|
+
* @param {*} [options] Override http request option.
|
|
671
|
+
* @throws {RequiredError}
|
|
672
|
+
* @memberof SubscriptionsApi
|
|
673
|
+
*/
|
|
674
|
+
public getSubscription(requestParameters: SubscriptionsApiGetSubscriptionRequest, options?: any) {
|
|
675
|
+
return SubscriptionsApiFp(this.configuration).getSubscription(requestParameters.subscriptionId, options).then((request) => request(this.axios, this.basePath));
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
/**
|
|
679
|
+
*
|
|
680
|
+
* @summary List Subscriptions
|
|
681
|
+
* @param {SubscriptionsApiListPollinationSubscriptionsRequest} requestParameters Request parameters.
|
|
682
|
+
* @param {*} [options] Override http request option.
|
|
683
|
+
* @throws {RequiredError}
|
|
684
|
+
* @memberof SubscriptionsApi
|
|
685
|
+
*/
|
|
686
|
+
public listPollinationSubscriptions(requestParameters: SubscriptionsApiListPollinationSubscriptionsRequest = {}, options?: any) {
|
|
687
|
+
return SubscriptionsApiFp(this.configuration).listPollinationSubscriptions(requestParameters.account, options).then((request) => request(this.axios, this.basePath));
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
/**
|
|
691
|
+
*
|
|
692
|
+
* @summary List Subscription Payments
|
|
693
|
+
* @param {SubscriptionsApiListSubscriptionPaymentsRequest} requestParameters Request parameters.
|
|
694
|
+
* @param {*} [options] Override http request option.
|
|
695
|
+
* @throws {RequiredError}
|
|
696
|
+
* @memberof SubscriptionsApi
|
|
697
|
+
*/
|
|
698
|
+
public listSubscriptionPayments(requestParameters: SubscriptionsApiListSubscriptionPaymentsRequest, options?: any) {
|
|
699
|
+
return SubscriptionsApiFp(this.configuration).listSubscriptionPayments(requestParameters.subscriptionId, options).then((request) => request(this.axios, this.basePath));
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
/**
|
|
703
|
+
*
|
|
704
|
+
* @summary List Subscription Quotas
|
|
705
|
+
* @param {SubscriptionsApiListSubscriptionQuotasRequest} requestParameters Request parameters.
|
|
257
706
|
* @param {*} [options] Override http request option.
|
|
258
707
|
* @throws {RequiredError}
|
|
259
708
|
* @memberof SubscriptionsApi
|
|
260
709
|
*/
|
|
261
|
-
public
|
|
262
|
-
return SubscriptionsApiFp(this.configuration).
|
|
710
|
+
public listSubscriptionQuotas(requestParameters: SubscriptionsApiListSubscriptionQuotasRequest, options?: any) {
|
|
711
|
+
return SubscriptionsApiFp(this.configuration).listSubscriptionQuotas(requestParameters.subscriptionId, options).then((request) => request(this.axios, this.basePath));
|
|
263
712
|
}
|
|
264
713
|
|
|
265
714
|
/**
|
|
266
715
|
*
|
|
267
|
-
* @summary
|
|
268
|
-
* @param {
|
|
716
|
+
* @summary Update Subscription
|
|
717
|
+
* @param {SubscriptionsApiUpdateSubscriptionRequest} requestParameters Request parameters.
|
|
269
718
|
* @param {*} [options] Override http request option.
|
|
270
719
|
* @throws {RequiredError}
|
|
271
720
|
* @memberof SubscriptionsApi
|
|
272
721
|
*/
|
|
273
|
-
public
|
|
274
|
-
return SubscriptionsApiFp(this.configuration).
|
|
722
|
+
public updateSubscription(requestParameters: SubscriptionsApiUpdateSubscriptionRequest, options?: any) {
|
|
723
|
+
return SubscriptionsApiFp(this.configuration).updateSubscription(requestParameters.subscriptionId, requestParameters.subscriptionUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
275
724
|
}
|
|
276
725
|
}
|