@pollination-solutions/pollination-sdk 0.21.2 → 0.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.apigentools-info +2 -2
- package/.openapi-generator/FILES +10 -2
- package/README.md +1 -1
- package/api/accounts-api.ts +1 -1
- package/api/apitokens-api.ts +1 -1
- package/api/artifacts-api.ts +1 -1
- package/api/jobs-api.ts +1 -1
- package/api/licenses-api.ts +268 -35
- package/api/orgs-api.ts +1 -1
- package/api/payments-api.ts +382 -5
- package/api/plugins-api.ts +1 -1
- package/api/projects-api.ts +1 -1
- package/api/recipes-api.ts +1 -1
- package/api/registries-api.ts +1 -1
- package/api/runs-api.ts +1 -1
- package/api/subscriptions-api.ts +110 -1
- package/api/teams-api.ts +1 -1
- package/api/user-api.ts +1 -1
- package/api/users-api.ts +1 -1
- package/api.ts +1 -1
- package/base.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api/accounts-api.d.ts +1 -1
- package/dist/api/accounts-api.js +1 -1
- package/dist/api/apitokens-api.d.ts +1 -1
- package/dist/api/apitokens-api.js +1 -1
- package/dist/api/artifacts-api.d.ts +1 -1
- package/dist/api/artifacts-api.js +1 -1
- package/dist/api/jobs-api.d.ts +1 -1
- package/dist/api/jobs-api.js +1 -1
- package/dist/api/licenses-api.d.ts +120 -19
- package/dist/api/licenses-api.js +217 -29
- package/dist/api/orgs-api.d.ts +1 -1
- package/dist/api/orgs-api.js +1 -1
- package/dist/api/payments-api.d.ts +171 -5
- package/dist/api/payments-api.js +297 -1
- package/dist/api/plugins-api.d.ts +1 -1
- package/dist/api/plugins-api.js +1 -1
- package/dist/api/projects-api.d.ts +1 -1
- package/dist/api/projects-api.js +1 -1
- package/dist/api/recipes-api.d.ts +1 -1
- package/dist/api/recipes-api.js +1 -1
- package/dist/api/registries-api.d.ts +1 -1
- package/dist/api/registries-api.js +1 -1
- package/dist/api/runs-api.d.ts +1 -1
- package/dist/api/runs-api.js +1 -1
- package/dist/api/subscriptions-api.d.ts +47 -1
- package/dist/api/subscriptions-api.js +91 -1
- package/dist/api/teams-api.d.ts +1 -1
- package/dist/api/teams-api.js +1 -1
- package/dist/api/user-api.d.ts +1 -1
- package/dist/api/user-api.js +1 -1
- package/dist/api/users-api.d.ts +1 -1
- package/dist/api/users-api.js +1 -1
- package/dist/api.d.ts +1 -1
- package/dist/api.js +1 -1
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/models/accessor.d.ts +33 -0
- package/dist/models/{subscription-item-public-list.js → 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/body-post-plugin-owner-plugins-post.d.ts +1 -1
- package/dist/models/body-post-plugin-owner-plugins-post.js +1 -1
- package/dist/models/body-post-recipe-owner-recipes-post.d.ts +1 -1
- package/dist/models/body-post-recipe-owner-recipes-post.js +1 -1
- package/dist/models/card-public.d.ts +1 -1
- package/dist/models/card-public.js +1 -1
- package/dist/models/card.d.ts +54 -0
- package/dist/models/{subscription-item-public.js → card.js} +1 -1
- package/dist/models/cloud-job-list.d.ts +1 -1
- package/dist/models/cloud-job-list.js +1 -1
- package/dist/models/cloud-job.d.ts +1 -1
- package/dist/models/cloud-job.js +1 -1
- package/dist/models/coupon-duration.d.ts +1 -1
- package/dist/models/coupon-duration.js +1 -1
- package/dist/models/coupon.d.ts +1 -1
- package/dist/models/coupon.js +1 -1
- package/dist/models/created-content.d.ts +1 -1
- package/dist/models/created-content.js +1 -1
- package/dist/models/dag.d.ts +1 -1
- package/dist/models/dag.js +1 -1
- package/dist/models/dagarray-input-alias.d.ts +1 -1
- package/dist/models/dagarray-input-alias.js +1 -1
- package/dist/models/dagarray-input.d.ts +1 -1
- package/dist/models/dagarray-input.js +1 -1
- package/dist/models/dagarray-output-alias.d.ts +1 -1
- package/dist/models/dagarray-output-alias.js +1 -1
- package/dist/models/dagarray-output.d.ts +1 -1
- package/dist/models/dagarray-output.js +1 -1
- package/dist/models/dagboolean-input-alias.d.ts +1 -1
- package/dist/models/dagboolean-input-alias.js +1 -1
- package/dist/models/dagboolean-input.d.ts +1 -1
- package/dist/models/dagboolean-input.js +1 -1
- package/dist/models/dagboolean-output-alias.d.ts +1 -1
- package/dist/models/dagboolean-output-alias.js +1 -1
- package/dist/models/dagboolean-output.d.ts +1 -1
- package/dist/models/dagboolean-output.js +1 -1
- package/dist/models/dagfile-input-alias.d.ts +1 -1
- package/dist/models/dagfile-input-alias.js +1 -1
- package/dist/models/dagfile-input.d.ts +1 -1
- package/dist/models/dagfile-input.js +1 -1
- package/dist/models/dagfile-output-alias.d.ts +1 -1
- package/dist/models/dagfile-output-alias.js +1 -1
- package/dist/models/dagfile-output.d.ts +1 -1
- package/dist/models/dagfile-output.js +1 -1
- package/dist/models/dagfolder-input-alias.d.ts +1 -1
- package/dist/models/dagfolder-input-alias.js +1 -1
- package/dist/models/dagfolder-input.d.ts +1 -1
- package/dist/models/dagfolder-input.js +1 -1
- package/dist/models/dagfolder-output-alias.d.ts +1 -1
- package/dist/models/dagfolder-output-alias.js +1 -1
- package/dist/models/dagfolder-output.d.ts +1 -1
- package/dist/models/dagfolder-output.js +1 -1
- package/dist/models/daggeneric-input-alias.d.ts +1 -1
- package/dist/models/daggeneric-input-alias.js +1 -1
- package/dist/models/daggeneric-input.d.ts +1 -1
- package/dist/models/daggeneric-input.js +1 -1
- package/dist/models/daggeneric-output-alias.d.ts +1 -1
- package/dist/models/daggeneric-output-alias.js +1 -1
- package/dist/models/daggeneric-output.d.ts +1 -1
- package/dist/models/daggeneric-output.js +1 -1
- package/dist/models/daginteger-input-alias.d.ts +1 -1
- package/dist/models/daginteger-input-alias.js +1 -1
- package/dist/models/daginteger-input.d.ts +1 -1
- package/dist/models/daginteger-input.js +1 -1
- package/dist/models/daginteger-output-alias.d.ts +1 -1
- package/dist/models/daginteger-output-alias.js +1 -1
- package/dist/models/daginteger-output.d.ts +1 -1
- package/dist/models/daginteger-output.js +1 -1
- package/dist/models/dagjsonobject-input-alias.d.ts +1 -1
- package/dist/models/dagjsonobject-input-alias.js +1 -1
- package/dist/models/dagjsonobject-input.d.ts +1 -1
- package/dist/models/dagjsonobject-input.js +1 -1
- package/dist/models/dagjsonobject-output-alias.d.ts +1 -1
- package/dist/models/dagjsonobject-output-alias.js +1 -1
- package/dist/models/dagjsonobject-output.d.ts +1 -1
- package/dist/models/dagjsonobject-output.js +1 -1
- package/dist/models/daglinked-input-alias.d.ts +1 -1
- package/dist/models/daglinked-input-alias.js +1 -1
- package/dist/models/daglinked-output-alias.d.ts +1 -1
- package/dist/models/daglinked-output-alias.js +1 -1
- package/dist/models/dagnumber-input-alias.d.ts +1 -1
- package/dist/models/dagnumber-input-alias.js +1 -1
- package/dist/models/dagnumber-input.d.ts +1 -1
- package/dist/models/dagnumber-input.js +1 -1
- package/dist/models/dagnumber-output-alias.d.ts +1 -1
- package/dist/models/dagnumber-output-alias.js +1 -1
- package/dist/models/dagnumber-output.d.ts +1 -1
- package/dist/models/dagnumber-output.js +1 -1
- package/dist/models/dagpath-input-alias.d.ts +1 -1
- package/dist/models/dagpath-input-alias.js +1 -1
- package/dist/models/dagpath-input.d.ts +1 -1
- package/dist/models/dagpath-input.js +1 -1
- package/dist/models/dagpath-output-alias.d.ts +1 -1
- package/dist/models/dagpath-output-alias.js +1 -1
- package/dist/models/dagpath-output.d.ts +1 -1
- package/dist/models/dagpath-output.js +1 -1
- package/dist/models/dagstring-input-alias.d.ts +1 -1
- package/dist/models/dagstring-input-alias.js +1 -1
- package/dist/models/dagstring-input.d.ts +1 -1
- package/dist/models/dagstring-input.js +1 -1
- package/dist/models/dagstring-output-alias.d.ts +1 -1
- package/dist/models/dagstring-output-alias.js +1 -1
- package/dist/models/dagstring-output.d.ts +1 -1
- package/dist/models/dagstring-output.js +1 -1
- package/dist/models/dagtask-loop.d.ts +1 -1
- package/dist/models/dagtask-loop.js +1 -1
- package/dist/models/dagtask.d.ts +1 -1
- package/dist/models/dagtask.js +1 -1
- package/dist/models/daily-usage.d.ts +1 -1
- package/dist/models/daily-usage.js +1 -1
- package/dist/models/{subscription-item-public.d.ts → delete-subscription-item.d.ts} +13 -7
- package/dist/models/delete-subscription-item.js +15 -0
- package/dist/models/dependency-kind.d.ts +1 -1
- package/dist/models/dependency-kind.js +1 -1
- package/dist/models/dependency.d.ts +1 -1
- package/dist/models/dependency.js +1 -1
- package/dist/models/discount-amount.d.ts +1 -1
- package/dist/models/discount-amount.js +1 -1
- package/dist/models/discount.d.ts +1 -1
- package/dist/models/discount.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 -2
- package/dist/models/index.js +10 -2
- package/dist/models/input-file-reference.d.ts +1 -1
- package/dist/models/input-file-reference.js +1 -1
- package/dist/models/input-folder-reference.d.ts +1 -1
- package/dist/models/input-folder-reference.js +1 -1
- package/dist/models/input-path-reference.d.ts +1 -1
- package/dist/models/input-path-reference.js +1 -1
- package/dist/models/input-reference.d.ts +1 -1
- package/dist/models/input-reference.js +1 -1
- package/dist/models/inventory.d.ts +1 -1
- package/dist/models/inventory.js +1 -1
- package/dist/models/invoice-list.d.ts +1 -1
- package/dist/models/invoice-list.js +1 -1
- package/dist/models/invoice-preview.d.ts +14 -1
- package/dist/models/invoice-preview.js +1 -1
- package/dist/models/invoice-status-transitions.d.ts +1 -1
- package/dist/models/invoice-status-transitions.js +1 -1
- package/dist/models/invoice-status.d.ts +1 -1
- package/dist/models/invoice-status.js +1 -1
- package/dist/models/invoice.d.ts +14 -1
- package/dist/models/invoice.js +1 -1
- package/dist/models/ioalias-handler.d.ts +1 -1
- package/dist/models/ioalias-handler.js +1 -1
- package/dist/models/item-reference.d.ts +1 -1
- package/dist/models/item-reference.js +1 -1
- package/dist/models/item-type.d.ts +1 -1
- package/dist/models/item-type.js +1 -1
- package/dist/models/job-argument.d.ts +1 -1
- package/dist/models/job-argument.js +1 -1
- package/dist/models/job-path-argument.d.ts +1 -1
- package/dist/models/job-path-argument.js +1 -1
- package/dist/models/job-status-enum.d.ts +1 -1
- package/dist/models/job-status-enum.js +1 -1
- package/dist/models/job-status.d.ts +1 -1
- package/dist/models/job-status.js +1 -1
- package/dist/models/job.d.ts +1 -1
- package/dist/models/job.js +1 -1
- package/dist/models/key-request.d.ts +1 -1
- package/dist/models/key-request.js +1 -1
- package/dist/models/license-pool-access-policy-list.d.ts +25 -0
- package/dist/models/license-pool-access-policy-list.js +15 -0
- 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 +25 -0
- package/dist/models/license-pool-policy-subject-list.js +15 -0
- 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 +16 -4
- 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/line-item-list.d.ts +1 -1
- package/dist/models/line-item-list.js +1 -1
- package/dist/models/line-item.d.ts +1 -1
- package/dist/models/line-item.js +1 -1
- package/dist/models/local-config.d.ts +1 -1
- package/dist/models/local-config.js +1 -1
- package/dist/models/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/new-subscription-item.d.ts +1 -1
- package/dist/models/new-subscription-item.js +1 -1
- package/dist/models/organization-create.d.ts +1 -1
- package/dist/models/organization-create.js +1 -1
- package/dist/models/organization-list.d.ts +1 -1
- package/dist/models/organization-list.js +1 -1
- package/dist/models/organization-member-list.d.ts +1 -1
- package/dist/models/organization-member-list.js +1 -1
- package/dist/models/organization-member.d.ts +1 -1
- package/dist/models/organization-member.js +1 -1
- package/dist/models/organization-role-enum.d.ts +1 -1
- package/dist/models/organization-role-enum.js +1 -1
- package/dist/models/organization-update.d.ts +1 -1
- package/dist/models/organization-update.js +1 -1
- package/dist/models/organization.d.ts +1 -1
- package/dist/models/organization.js +1 -1
- package/dist/models/package-sort-key.d.ts +1 -1
- package/dist/models/package-sort-key.js +1 -1
- package/dist/models/package-version.d.ts +1 -1
- package/dist/models/package-version.js +1 -1
- package/dist/models/payment-create.d.ts +1 -1
- package/dist/models/payment-create.js +1 -1
- package/dist/models/payment-intent.d.ts +1 -1
- package/dist/models/payment-intent.js +1 -1
- package/dist/models/payment-method-list.d.ts +4 -4
- package/dist/models/payment-method-list.js +1 -1
- package/dist/models/payment-method-type.d.ts +19 -0
- package/dist/models/payment-method-type.js +25 -0
- package/dist/models/payment-method.d.ts +56 -0
- package/dist/models/payment-method.js +15 -0
- package/dist/models/payment-setup.d.ts +1 -1
- package/dist/models/payment-setup.js +1 -1
- package/dist/models/period.d.ts +1 -1
- package/dist/models/period.js +1 -1
- package/dist/models/permission.d.ts +1 -1
- package/dist/models/permission.js +1 -1
- package/dist/models/plugin-config.d.ts +1 -1
- package/dist/models/plugin-config.js +1 -1
- package/dist/models/plugin-package-list.d.ts +1 -1
- package/dist/models/plugin-package-list.js +1 -1
- package/dist/models/plugin-package.d.ts +1 -1
- package/dist/models/plugin-package.js +1 -1
- package/dist/models/plugin.d.ts +1 -1
- package/dist/models/plugin.js +1 -1
- package/dist/models/policy-subject.d.ts +1 -1
- package/dist/models/policy-subject.js +1 -1
- package/dist/models/pollination-subscription.d.ts +1 -1
- package/dist/models/pollination-subscription.js +1 -1
- package/dist/models/price-recurrence.d.ts +1 -1
- package/dist/models/price-recurrence.js +1 -1
- package/dist/models/price-tier.d.ts +1 -1
- package/dist/models/price-tier.js +1 -1
- package/dist/models/price-type.d.ts +1 -1
- package/dist/models/price-type.js +1 -1
- package/dist/models/price.d.ts +1 -1
- package/dist/models/price.js +1 -1
- package/dist/models/product-family.d.ts +1 -1
- package/dist/models/product-family.js +1 -1
- package/dist/models/project-access-policy-list.d.ts +1 -1
- package/dist/models/project-access-policy-list.js +1 -1
- package/dist/models/project-access-policy.d.ts +1 -1
- package/dist/models/project-access-policy.js +1 -1
- package/dist/models/project-create.d.ts +1 -1
- package/dist/models/project-create.js +1 -1
- package/dist/models/project-folder.d.ts +1 -1
- package/dist/models/project-folder.js +1 -1
- package/dist/models/project-list.d.ts +1 -1
- package/dist/models/project-list.js +1 -1
- package/dist/models/project-policy-subject.d.ts +1 -1
- package/dist/models/project-policy-subject.js +1 -1
- package/dist/models/project-recipe-filter-list.d.ts +1 -1
- package/dist/models/project-recipe-filter-list.js +1 -1
- package/dist/models/project-recipe-filter.d.ts +1 -1
- package/dist/models/project-recipe-filter.js +1 -1
- package/dist/models/project-sort-key.d.ts +1 -1
- package/dist/models/project-sort-key.js +1 -1
- package/dist/models/project-update.d.ts +1 -1
- package/dist/models/project-update.js +1 -1
- package/dist/models/project.d.ts +1 -1
- package/dist/models/project.js +1 -1
- package/dist/models/public-account-list.d.ts +1 -1
- package/dist/models/public-account-list.js +1 -1
- package/dist/models/quota-extension.d.ts +1 -1
- package/dist/models/quota-extension.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 +1 -1
- 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/status.d.ts +1 -1
- package/dist/models/status.js +1 -1
- package/dist/models/step-array-input.d.ts +1 -1
- package/dist/models/step-array-input.js +1 -1
- package/dist/models/step-array-output.d.ts +1 -1
- package/dist/models/step-array-output.js +1 -1
- package/dist/models/step-boolean-input.d.ts +1 -1
- package/dist/models/step-boolean-input.js +1 -1
- package/dist/models/step-boolean-output.d.ts +1 -1
- package/dist/models/step-boolean-output.js +1 -1
- package/dist/models/step-file-input.d.ts +1 -1
- package/dist/models/step-file-input.js +1 -1
- package/dist/models/step-file-output.d.ts +1 -1
- package/dist/models/step-file-output.js +1 -1
- package/dist/models/step-folder-input.d.ts +1 -1
- package/dist/models/step-folder-input.js +1 -1
- package/dist/models/step-folder-output.d.ts +1 -1
- package/dist/models/step-folder-output.js +1 -1
- package/dist/models/step-integer-input.d.ts +1 -1
- package/dist/models/step-integer-input.js +1 -1
- package/dist/models/step-integer-output.d.ts +1 -1
- package/dist/models/step-integer-output.js +1 -1
- package/dist/models/step-jsonobject-input.d.ts +1 -1
- package/dist/models/step-jsonobject-input.js +1 -1
- package/dist/models/step-jsonobject-output.d.ts +1 -1
- package/dist/models/step-jsonobject-output.js +1 -1
- package/dist/models/step-list.d.ts +1 -1
- package/dist/models/step-list.js +1 -1
- package/dist/models/step-number-input.d.ts +1 -1
- package/dist/models/step-number-input.js +1 -1
- package/dist/models/step-number-output.d.ts +1 -1
- package/dist/models/step-number-output.js +1 -1
- package/dist/models/step-path-input.d.ts +1 -1
- package/dist/models/step-path-input.js +1 -1
- package/dist/models/step-path-output.d.ts +1 -1
- package/dist/models/step-path-output.js +1 -1
- package/dist/models/step-status-enum.d.ts +1 -1
- package/dist/models/step-status-enum.js +1 -1
- package/dist/models/step-status.d.ts +1 -1
- package/dist/models/step-status.js +1 -1
- package/dist/models/step-string-input.d.ts +1 -1
- package/dist/models/step-string-input.js +1 -1
- package/dist/models/step-string-output.d.ts +1 -1
- package/dist/models/step-string-output.js +1 -1
- package/dist/models/subject-type.d.ts +1 -1
- package/dist/models/subject-type.js +1 -1
- package/dist/models/subscribe.d.ts +1 -1
- package/dist/models/subscribe.js +1 -1
- package/dist/models/subscription-create.d.ts +1 -1
- package/dist/models/subscription-create.js +1 -1
- package/dist/models/subscription-item-list.d.ts +32 -0
- package/dist/models/subscription-item-list.js +15 -0
- package/dist/models/subscription-item.d.ts +1 -1
- package/dist/models/subscription-item.js +1 -1
- package/dist/models/subscription-plan.d.ts +1 -1
- package/dist/models/subscription-plan.js +1 -1
- package/dist/models/subscription-update.d.ts +1 -1
- package/dist/models/subscription-update.js +1 -1
- package/dist/models/subscription.d.ts +4 -4
- 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/tax-amount.d.ts +36 -0
- package/dist/models/tax-amount.js +15 -0
- package/dist/models/team-create.d.ts +1 -1
- package/dist/models/team-create.js +1 -1
- package/dist/models/team-list.d.ts +1 -1
- package/dist/models/team-list.js +1 -1
- package/dist/models/team-member-list.d.ts +1 -1
- package/dist/models/team-member-list.js +1 -1
- package/dist/models/team-member.d.ts +1 -1
- package/dist/models/team-member.js +1 -1
- package/dist/models/team-role-enum.d.ts +1 -1
- package/dist/models/team-role-enum.js +1 -1
- package/dist/models/team-update.d.ts +1 -1
- package/dist/models/team-update.js +1 -1
- package/dist/models/team.d.ts +1 -1
- package/dist/models/team.js +1 -1
- package/dist/models/template-function.d.ts +1 -1
- package/dist/models/template-function.js +1 -1
- package/dist/models/update-accepted.d.ts +1 -1
- package/dist/models/update-accepted.js +1 -1
- package/dist/models/update-invoice-preview.d.ts +1 -1
- package/dist/models/update-invoice-preview.js +1 -1
- package/dist/models/update-payment-method.d.ts +24 -0
- package/dist/models/update-payment-method.js +15 -0
- 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 +40 -0
- 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/body-post-plugin-owner-plugins-post.ts +1 -1
- package/models/body-post-recipe-owner-recipes-post.ts +1 -1
- package/models/card-public.ts +1 -1
- package/models/card.ts +61 -0
- package/models/cloud-job-list.ts +1 -1
- package/models/cloud-job.ts +1 -1
- package/models/coupon-duration.ts +1 -1
- package/models/coupon.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/{subscription-item-public.ts → delete-subscription-item.ts} +13 -7
- package/models/dependency-kind.ts +1 -1
- package/models/dependency.ts +1 -1
- package/models/discount-amount.ts +1 -1
- package/models/discount.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 -2
- package/models/input-file-reference.ts +1 -1
- package/models/input-folder-reference.ts +1 -1
- package/models/input-path-reference.ts +1 -1
- package/models/input-reference.ts +1 -1
- package/models/inventory.ts +1 -1
- package/models/invoice-list.ts +1 -1
- package/models/invoice-preview.ts +14 -1
- package/models/invoice-status-transitions.ts +1 -1
- package/models/invoice-status.ts +1 -1
- package/models/invoice.ts +14 -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 +32 -0
- 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 +32 -0
- package/models/license-pool-policy-subject.ts +1 -1
- package/models/license-pool-public.ts +16 -4
- 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/line-item-list.ts +1 -1
- package/models/line-item.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/new-subscription-item.ts +1 -1
- package/models/organization-create.ts +1 -1
- package/models/organization-list.ts +1 -1
- package/models/organization-member-list.ts +1 -1
- package/models/organization-member.ts +1 -1
- package/models/organization-role-enum.ts +1 -1
- package/models/organization-update.ts +1 -1
- package/models/organization.ts +1 -1
- package/models/package-sort-key.ts +1 -1
- package/models/package-version.ts +1 -1
- package/models/payment-create.ts +1 -1
- package/models/payment-intent.ts +1 -1
- package/models/payment-method-list.ts +4 -4
- package/models/payment-method-type.ts +27 -0
- package/models/payment-method.ts +63 -0
- package/models/payment-setup.ts +1 -1
- package/models/period.ts +1 -1
- package/models/permission.ts +1 -1
- package/models/plugin-config.ts +1 -1
- package/models/plugin-package-list.ts +1 -1
- package/models/plugin-package.ts +1 -1
- package/models/plugin.ts +1 -1
- package/models/policy-subject.ts +1 -1
- package/models/pollination-subscription.ts +1 -1
- package/models/price-recurrence.ts +1 -1
- package/models/price-tier.ts +1 -1
- package/models/price-type.ts +1 -1
- package/models/price.ts +1 -1
- package/models/product-family.ts +1 -1
- package/models/project-access-policy-list.ts +1 -1
- package/models/project-access-policy.ts +1 -1
- package/models/project-create.ts +1 -1
- package/models/project-folder.ts +1 -1
- package/models/project-list.ts +1 -1
- package/models/project-policy-subject.ts +1 -1
- package/models/project-recipe-filter-list.ts +1 -1
- package/models/project-recipe-filter.ts +1 -1
- package/models/project-sort-key.ts +1 -1
- package/models/project-update.ts +1 -1
- package/models/project.ts +1 -1
- package/models/public-account-list.ts +1 -1
- package/models/quota-extension.ts +1 -1
- package/models/quota-list.ts +1 -1
- package/models/quota-plan.ts +1 -1
- 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/status.ts +1 -1
- package/models/step-array-input.ts +1 -1
- package/models/step-array-output.ts +1 -1
- package/models/step-boolean-input.ts +1 -1
- package/models/step-boolean-output.ts +1 -1
- package/models/step-file-input.ts +1 -1
- package/models/step-file-output.ts +1 -1
- package/models/step-folder-input.ts +1 -1
- package/models/step-folder-output.ts +1 -1
- package/models/step-integer-input.ts +1 -1
- package/models/step-integer-output.ts +1 -1
- package/models/step-jsonobject-input.ts +1 -1
- package/models/step-jsonobject-output.ts +1 -1
- package/models/step-list.ts +1 -1
- package/models/step-number-input.ts +1 -1
- package/models/step-number-output.ts +1 -1
- package/models/step-path-input.ts +1 -1
- package/models/step-path-output.ts +1 -1
- package/models/step-status-enum.ts +1 -1
- package/models/step-status.ts +1 -1
- package/models/step-string-input.ts +1 -1
- package/models/step-string-output.ts +1 -1
- package/models/subject-type.ts +1 -1
- package/models/subscribe.ts +1 -1
- package/models/subscription-create.ts +1 -1
- package/models/subscription-item-list.ts +39 -0
- package/models/subscription-item.ts +1 -1
- package/models/subscription-plan.ts +1 -1
- package/models/subscription-update.ts +1 -1
- package/models/subscription.ts +4 -4
- 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/{subscription-item-public-list.ts → tax-amount.ts} +14 -9
- package/models/team-create.ts +1 -1
- package/models/team-list.ts +1 -1
- package/models/team-member-list.ts +1 -1
- package/models/team-member.ts +1 -1
- package/models/team-role-enum.ts +1 -1
- package/models/team-update.ts +1 -1
- package/models/team.ts +1 -1
- package/models/template-function.ts +1 -1
- package/models/update-accepted.ts +1 -1
- package/models/update-invoice-preview.ts +1 -1
- package/models/update-payment-method.ts +31 -0
- package/models/usage.ts +1 -1
- package/models/user-create.ts +1 -1
- package/models/user-permission.ts +1 -1
- package/models/user-private.ts +1 -1
- package/models/user-public-list.ts +1 -1
- package/models/user-public.ts +1 -1
- package/models/user-update.ts +1 -1
- package/models/validation-error.ts +1 -1
- package/models/value-file-reference.ts +1 -1
- package/models/value-folder-reference.ts +1 -1
- package/models/value-list-reference.ts +1 -1
- package/models/value-reference.ts +1 -1
- package/package.json +1 -1
- package/dist/models/subscription-item-public-list.d.ts +0 -31
package/api/payments-api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* pollination-server
|
|
5
5
|
* Pollination Server OpenAPI Definition
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.25.0
|
|
8
8
|
* Contact: info@pollination.cloud
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -19,8 +19,6 @@ import { Configuration } from '../configuration';
|
|
|
19
19
|
// @ts-ignore
|
|
20
20
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
21
21
|
// @ts-ignore
|
|
22
|
-
import { CardPublic } from '../models';
|
|
23
|
-
// @ts-ignore
|
|
24
22
|
import { CreatedContent } from '../models';
|
|
25
23
|
// @ts-ignore
|
|
26
24
|
import { HTTPValidationError } from '../models';
|
|
@@ -35,6 +33,8 @@ import { PaymentCreate } from '../models';
|
|
|
35
33
|
// @ts-ignore
|
|
36
34
|
import { PaymentIntent } from '../models';
|
|
37
35
|
// @ts-ignore
|
|
36
|
+
import { PaymentMethod } from '../models';
|
|
37
|
+
// @ts-ignore
|
|
38
38
|
import { PaymentMethodList } from '../models';
|
|
39
39
|
// @ts-ignore
|
|
40
40
|
import { PaymentSetup } from '../models';
|
|
@@ -50,6 +50,8 @@ import { SubscriptionCreate } from '../models';
|
|
|
50
50
|
import { SubscriptionUpdate } from '../models';
|
|
51
51
|
// @ts-ignore
|
|
52
52
|
import { UpdateInvoicePreview } from '../models';
|
|
53
|
+
// @ts-ignore
|
|
54
|
+
import { UpdatePaymentMethod } from '../models';
|
|
53
55
|
/**
|
|
54
56
|
* PaymentsApi - axios parameter creator
|
|
55
57
|
* @export
|
|
@@ -251,6 +253,71 @@ export const PaymentsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
251
253
|
options: localVarRequestOptions,
|
|
252
254
|
};
|
|
253
255
|
},
|
|
256
|
+
/**
|
|
257
|
+
*
|
|
258
|
+
* @summary Delete Payment Method
|
|
259
|
+
* @param {string} accountName
|
|
260
|
+
* @param {string} id
|
|
261
|
+
* @param {*} [options] Override http request option.
|
|
262
|
+
* @throws {RequiredError}
|
|
263
|
+
*/
|
|
264
|
+
deletePaymentMethod: async (accountName: string, id: string, options: any = {}): Promise<RequestArgs> => {
|
|
265
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
266
|
+
if (accountName === null || accountName === undefined) {
|
|
267
|
+
throw new RequiredError('accountName','Required parameter accountName was null or undefined when calling deletePaymentMethod.');
|
|
268
|
+
}
|
|
269
|
+
// verify required parameter 'id' is not null or undefined
|
|
270
|
+
if (id === null || id === undefined) {
|
|
271
|
+
throw new RequiredError('id','Required parameter id was null or undefined when calling deletePaymentMethod.');
|
|
272
|
+
}
|
|
273
|
+
const localVarPath = `/payments/{account_name}/methods/{id}`
|
|
274
|
+
.replace(`{${"account_name"}}`, encodeURIComponent(String(accountName)))
|
|
275
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
276
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
277
|
+
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
278
|
+
let baseOptions;
|
|
279
|
+
if (configuration) {
|
|
280
|
+
baseOptions = configuration.baseOptions;
|
|
281
|
+
}
|
|
282
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
283
|
+
const localVarHeaderParameter = {} as any;
|
|
284
|
+
const localVarQueryParameter = {} as any;
|
|
285
|
+
|
|
286
|
+
// authentication APIKeyAuth required
|
|
287
|
+
if (configuration && configuration.apiKey) {
|
|
288
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
289
|
+
? await configuration.apiKey("x-pollination-token")
|
|
290
|
+
: await configuration.apiKey;
|
|
291
|
+
localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
// authentication JWTAuth required
|
|
295
|
+
// http bearer authentication required
|
|
296
|
+
if (configuration && configuration.accessToken) {
|
|
297
|
+
const accessToken = typeof configuration.accessToken === 'function'
|
|
298
|
+
? await configuration.accessToken()
|
|
299
|
+
: await configuration.accessToken;
|
|
300
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
const query = new URLSearchParams(localVarUrlObj.search);
|
|
306
|
+
for (const key in localVarQueryParameter) {
|
|
307
|
+
query.set(key, localVarQueryParameter[key]);
|
|
308
|
+
}
|
|
309
|
+
for (const key in options.query) {
|
|
310
|
+
query.set(key, options.query[key]);
|
|
311
|
+
}
|
|
312
|
+
localVarUrlObj.search = (new URLSearchParams(query)).toString();
|
|
313
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
314
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
315
|
+
|
|
316
|
+
return {
|
|
317
|
+
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
|
318
|
+
options: localVarRequestOptions,
|
|
319
|
+
};
|
|
320
|
+
},
|
|
254
321
|
/**
|
|
255
322
|
*
|
|
256
323
|
* @summary Get Default Payment Method
|
|
@@ -704,6 +771,65 @@ export const PaymentsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
704
771
|
|
|
705
772
|
|
|
706
773
|
|
|
774
|
+
const query = new URLSearchParams(localVarUrlObj.search);
|
|
775
|
+
for (const key in localVarQueryParameter) {
|
|
776
|
+
query.set(key, localVarQueryParameter[key]);
|
|
777
|
+
}
|
|
778
|
+
for (const key in options.query) {
|
|
779
|
+
query.set(key, options.query[key]);
|
|
780
|
+
}
|
|
781
|
+
localVarUrlObj.search = (new URLSearchParams(query)).toString();
|
|
782
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
783
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
784
|
+
|
|
785
|
+
return {
|
|
786
|
+
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
|
787
|
+
options: localVarRequestOptions,
|
|
788
|
+
};
|
|
789
|
+
},
|
|
790
|
+
/**
|
|
791
|
+
*
|
|
792
|
+
* @summary Get Upcoming Subscription
|
|
793
|
+
* @param {string} accountName
|
|
794
|
+
* @param {*} [options] Override http request option.
|
|
795
|
+
* @throws {RequiredError}
|
|
796
|
+
*/
|
|
797
|
+
getUpcomingSubscription: async (accountName: string, options: any = {}): Promise<RequestArgs> => {
|
|
798
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
799
|
+
if (accountName === null || accountName === undefined) {
|
|
800
|
+
throw new RequiredError('accountName','Required parameter accountName was null or undefined when calling getUpcomingSubscription.');
|
|
801
|
+
}
|
|
802
|
+
const localVarPath = `/payments/{account_name}/subscription/upcoming`
|
|
803
|
+
.replace(`{${"account_name"}}`, encodeURIComponent(String(accountName)));
|
|
804
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
805
|
+
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
806
|
+
let baseOptions;
|
|
807
|
+
if (configuration) {
|
|
808
|
+
baseOptions = configuration.baseOptions;
|
|
809
|
+
}
|
|
810
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
811
|
+
const localVarHeaderParameter = {} as any;
|
|
812
|
+
const localVarQueryParameter = {} as any;
|
|
813
|
+
|
|
814
|
+
// authentication APIKeyAuth required
|
|
815
|
+
if (configuration && configuration.apiKey) {
|
|
816
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
817
|
+
? await configuration.apiKey("x-pollination-token")
|
|
818
|
+
: await configuration.apiKey;
|
|
819
|
+
localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
|
|
820
|
+
}
|
|
821
|
+
|
|
822
|
+
// authentication JWTAuth required
|
|
823
|
+
// http bearer authentication required
|
|
824
|
+
if (configuration && configuration.accessToken) {
|
|
825
|
+
const accessToken = typeof configuration.accessToken === 'function'
|
|
826
|
+
? await configuration.accessToken()
|
|
827
|
+
: await configuration.accessToken;
|
|
828
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
|
|
832
|
+
|
|
707
833
|
const query = new URLSearchParams(localVarUrlObj.search);
|
|
708
834
|
for (const key in localVarQueryParameter) {
|
|
709
835
|
query.set(key, localVarQueryParameter[key]);
|
|
@@ -915,6 +1041,80 @@ export const PaymentsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
915
1041
|
options: localVarRequestOptions,
|
|
916
1042
|
};
|
|
917
1043
|
},
|
|
1044
|
+
/**
|
|
1045
|
+
*
|
|
1046
|
+
* @summary Update Payment Method
|
|
1047
|
+
* @param {string} accountName
|
|
1048
|
+
* @param {string} id
|
|
1049
|
+
* @param {UpdatePaymentMethod} updatePaymentMethod
|
|
1050
|
+
* @param {*} [options] Override http request option.
|
|
1051
|
+
* @throws {RequiredError}
|
|
1052
|
+
*/
|
|
1053
|
+
updatePaymentMethod: async (accountName: string, id: string, updatePaymentMethod: UpdatePaymentMethod, options: any = {}): Promise<RequestArgs> => {
|
|
1054
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
1055
|
+
if (accountName === null || accountName === undefined) {
|
|
1056
|
+
throw new RequiredError('accountName','Required parameter accountName was null or undefined when calling updatePaymentMethod.');
|
|
1057
|
+
}
|
|
1058
|
+
// verify required parameter 'id' is not null or undefined
|
|
1059
|
+
if (id === null || id === undefined) {
|
|
1060
|
+
throw new RequiredError('id','Required parameter id was null or undefined when calling updatePaymentMethod.');
|
|
1061
|
+
}
|
|
1062
|
+
// verify required parameter 'updatePaymentMethod' is not null or undefined
|
|
1063
|
+
if (updatePaymentMethod === null || updatePaymentMethod === undefined) {
|
|
1064
|
+
throw new RequiredError('updatePaymentMethod','Required parameter updatePaymentMethod was null or undefined when calling updatePaymentMethod.');
|
|
1065
|
+
}
|
|
1066
|
+
const localVarPath = `/payments/{account_name}/methods/{id}`
|
|
1067
|
+
.replace(`{${"account_name"}}`, encodeURIComponent(String(accountName)))
|
|
1068
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
1069
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1070
|
+
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
1071
|
+
let baseOptions;
|
|
1072
|
+
if (configuration) {
|
|
1073
|
+
baseOptions = configuration.baseOptions;
|
|
1074
|
+
}
|
|
1075
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
1076
|
+
const localVarHeaderParameter = {} as any;
|
|
1077
|
+
const localVarQueryParameter = {} as any;
|
|
1078
|
+
|
|
1079
|
+
// authentication APIKeyAuth required
|
|
1080
|
+
if (configuration && configuration.apiKey) {
|
|
1081
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
1082
|
+
? await configuration.apiKey("x-pollination-token")
|
|
1083
|
+
: await configuration.apiKey;
|
|
1084
|
+
localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
// authentication JWTAuth required
|
|
1088
|
+
// http bearer authentication required
|
|
1089
|
+
if (configuration && configuration.accessToken) {
|
|
1090
|
+
const accessToken = typeof configuration.accessToken === 'function'
|
|
1091
|
+
? await configuration.accessToken()
|
|
1092
|
+
: await configuration.accessToken;
|
|
1093
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
1094
|
+
}
|
|
1095
|
+
|
|
1096
|
+
|
|
1097
|
+
|
|
1098
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1099
|
+
|
|
1100
|
+
const query = new URLSearchParams(localVarUrlObj.search);
|
|
1101
|
+
for (const key in localVarQueryParameter) {
|
|
1102
|
+
query.set(key, localVarQueryParameter[key]);
|
|
1103
|
+
}
|
|
1104
|
+
for (const key in options.query) {
|
|
1105
|
+
query.set(key, options.query[key]);
|
|
1106
|
+
}
|
|
1107
|
+
localVarUrlObj.search = (new URLSearchParams(query)).toString();
|
|
1108
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1109
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1110
|
+
const needsSerialization = (typeof updatePaymentMethod !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
1111
|
+
localVarRequestOptions.data = needsSerialization ? JSON.stringify(updatePaymentMethod !== undefined ? updatePaymentMethod : {}) : (updatePaymentMethod || "");
|
|
1112
|
+
|
|
1113
|
+
return {
|
|
1114
|
+
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
|
1115
|
+
options: localVarRequestOptions,
|
|
1116
|
+
};
|
|
1117
|
+
},
|
|
918
1118
|
/**
|
|
919
1119
|
*
|
|
920
1120
|
* @summary Update Subscription
|
|
@@ -1036,6 +1236,21 @@ export const PaymentsApiFp = function(configuration?: Configuration) {
|
|
|
1036
1236
|
return axios.request(axiosRequestArgs);
|
|
1037
1237
|
};
|
|
1038
1238
|
},
|
|
1239
|
+
/**
|
|
1240
|
+
*
|
|
1241
|
+
* @summary Delete Payment Method
|
|
1242
|
+
* @param {string} accountName
|
|
1243
|
+
* @param {string} id
|
|
1244
|
+
* @param {*} [options] Override http request option.
|
|
1245
|
+
* @throws {RequiredError}
|
|
1246
|
+
*/
|
|
1247
|
+
async deletePaymentMethod(accountName: string, id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>> {
|
|
1248
|
+
const localVarAxiosArgs = await PaymentsApiAxiosParamCreator(configuration).deletePaymentMethod(accountName, id, options);
|
|
1249
|
+
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
1250
|
+
const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
|
1251
|
+
return axios.request(axiosRequestArgs);
|
|
1252
|
+
};
|
|
1253
|
+
},
|
|
1039
1254
|
/**
|
|
1040
1255
|
*
|
|
1041
1256
|
* @summary Get Default Payment Method
|
|
@@ -1043,7 +1258,7 @@ export const PaymentsApiFp = function(configuration?: Configuration) {
|
|
|
1043
1258
|
* @param {*} [options] Override http request option.
|
|
1044
1259
|
* @throws {RequiredError}
|
|
1045
1260
|
*/
|
|
1046
|
-
async getDefaultPaymentMethod(accountName: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1261
|
+
async getDefaultPaymentMethod(accountName: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentMethod>> {
|
|
1047
1262
|
const localVarAxiosArgs = await PaymentsApiAxiosParamCreator(configuration).getDefaultPaymentMethod(accountName, options);
|
|
1048
1263
|
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
1049
1264
|
const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
|
@@ -1151,6 +1366,20 @@ export const PaymentsApiFp = function(configuration?: Configuration) {
|
|
|
1151
1366
|
return axios.request(axiosRequestArgs);
|
|
1152
1367
|
};
|
|
1153
1368
|
},
|
|
1369
|
+
/**
|
|
1370
|
+
*
|
|
1371
|
+
* @summary Get Upcoming Subscription
|
|
1372
|
+
* @param {string} accountName
|
|
1373
|
+
* @param {*} [options] Override http request option.
|
|
1374
|
+
* @throws {RequiredError}
|
|
1375
|
+
*/
|
|
1376
|
+
async getUpcomingSubscription(accountName: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Subscription>> {
|
|
1377
|
+
const localVarAxiosArgs = await PaymentsApiAxiosParamCreator(configuration).getUpcomingSubscription(accountName, options);
|
|
1378
|
+
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
1379
|
+
const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
|
1380
|
+
return axios.request(axiosRequestArgs);
|
|
1381
|
+
};
|
|
1382
|
+
},
|
|
1154
1383
|
/**
|
|
1155
1384
|
*
|
|
1156
1385
|
* @summary Get Payment Methods
|
|
@@ -1195,6 +1424,22 @@ export const PaymentsApiFp = function(configuration?: Configuration) {
|
|
|
1195
1424
|
return axios.request(axiosRequestArgs);
|
|
1196
1425
|
};
|
|
1197
1426
|
},
|
|
1427
|
+
/**
|
|
1428
|
+
*
|
|
1429
|
+
* @summary Update Payment Method
|
|
1430
|
+
* @param {string} accountName
|
|
1431
|
+
* @param {string} id
|
|
1432
|
+
* @param {UpdatePaymentMethod} updatePaymentMethod
|
|
1433
|
+
* @param {*} [options] Override http request option.
|
|
1434
|
+
* @throws {RequiredError}
|
|
1435
|
+
*/
|
|
1436
|
+
async updatePaymentMethod(accountName: string, id: string, updatePaymentMethod: UpdatePaymentMethod, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>> {
|
|
1437
|
+
const localVarAxiosArgs = await PaymentsApiAxiosParamCreator(configuration).updatePaymentMethod(accountName, id, updatePaymentMethod, options);
|
|
1438
|
+
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
1439
|
+
const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
|
1440
|
+
return axios.request(axiosRequestArgs);
|
|
1441
|
+
};
|
|
1442
|
+
},
|
|
1198
1443
|
/**
|
|
1199
1444
|
*
|
|
1200
1445
|
* @summary Update Subscription
|
|
@@ -1251,6 +1496,17 @@ export const PaymentsApiFactory = function (configuration?: Configuration, baseP
|
|
|
1251
1496
|
createSubscription(accountName: string, subscriptionCreate: SubscriptionCreate, options?: any): AxiosPromise<CreatedContent> {
|
|
1252
1497
|
return PaymentsApiFp(configuration).createSubscription(accountName, subscriptionCreate, options).then((request) => request(axios, basePath));
|
|
1253
1498
|
},
|
|
1499
|
+
/**
|
|
1500
|
+
*
|
|
1501
|
+
* @summary Delete Payment Method
|
|
1502
|
+
* @param {string} accountName
|
|
1503
|
+
* @param {string} id
|
|
1504
|
+
* @param {*} [options] Override http request option.
|
|
1505
|
+
* @throws {RequiredError}
|
|
1506
|
+
*/
|
|
1507
|
+
deletePaymentMethod(accountName: string, id: string, options?: any): AxiosPromise<any> {
|
|
1508
|
+
return PaymentsApiFp(configuration).deletePaymentMethod(accountName, id, options).then((request) => request(axios, basePath));
|
|
1509
|
+
},
|
|
1254
1510
|
/**
|
|
1255
1511
|
*
|
|
1256
1512
|
* @summary Get Default Payment Method
|
|
@@ -1258,7 +1514,7 @@ export const PaymentsApiFactory = function (configuration?: Configuration, baseP
|
|
|
1258
1514
|
* @param {*} [options] Override http request option.
|
|
1259
1515
|
* @throws {RequiredError}
|
|
1260
1516
|
*/
|
|
1261
|
-
getDefaultPaymentMethod(accountName: string, options?: any): AxiosPromise<
|
|
1517
|
+
getDefaultPaymentMethod(accountName: string, options?: any): AxiosPromise<PaymentMethod> {
|
|
1262
1518
|
return PaymentsApiFp(configuration).getDefaultPaymentMethod(accountName, options).then((request) => request(axios, basePath));
|
|
1263
1519
|
},
|
|
1264
1520
|
/**
|
|
@@ -1334,6 +1590,16 @@ export const PaymentsApiFactory = function (configuration?: Configuration, baseP
|
|
|
1334
1590
|
getUnfilteredInventory(options?: any): AxiosPromise<Inventory> {
|
|
1335
1591
|
return PaymentsApiFp(configuration).getUnfilteredInventory(options).then((request) => request(axios, basePath));
|
|
1336
1592
|
},
|
|
1593
|
+
/**
|
|
1594
|
+
*
|
|
1595
|
+
* @summary Get Upcoming Subscription
|
|
1596
|
+
* @param {string} accountName
|
|
1597
|
+
* @param {*} [options] Override http request option.
|
|
1598
|
+
* @throws {RequiredError}
|
|
1599
|
+
*/
|
|
1600
|
+
getUpcomingSubscription(accountName: string, options?: any): AxiosPromise<Subscription> {
|
|
1601
|
+
return PaymentsApiFp(configuration).getUpcomingSubscription(accountName, options).then((request) => request(axios, basePath));
|
|
1602
|
+
},
|
|
1337
1603
|
/**
|
|
1338
1604
|
*
|
|
1339
1605
|
* @summary Get Payment Methods
|
|
@@ -1366,6 +1632,18 @@ export const PaymentsApiFactory = function (configuration?: Configuration, baseP
|
|
|
1366
1632
|
subscribe(accountName: string, subscribe: Subscribe, options?: any): AxiosPromise<CreatedContent> {
|
|
1367
1633
|
return PaymentsApiFp(configuration).subscribe(accountName, subscribe, options).then((request) => request(axios, basePath));
|
|
1368
1634
|
},
|
|
1635
|
+
/**
|
|
1636
|
+
*
|
|
1637
|
+
* @summary Update Payment Method
|
|
1638
|
+
* @param {string} accountName
|
|
1639
|
+
* @param {string} id
|
|
1640
|
+
* @param {UpdatePaymentMethod} updatePaymentMethod
|
|
1641
|
+
* @param {*} [options] Override http request option.
|
|
1642
|
+
* @throws {RequiredError}
|
|
1643
|
+
*/
|
|
1644
|
+
updatePaymentMethod(accountName: string, id: string, updatePaymentMethod: UpdatePaymentMethod, options?: any): AxiosPromise<any> {
|
|
1645
|
+
return PaymentsApiFp(configuration).updatePaymentMethod(accountName, id, updatePaymentMethod, options).then((request) => request(axios, basePath));
|
|
1646
|
+
},
|
|
1369
1647
|
/**
|
|
1370
1648
|
*
|
|
1371
1649
|
* @summary Update Subscription
|
|
@@ -1436,6 +1714,27 @@ export interface PaymentsApiCreateSubscriptionRequest {
|
|
|
1436
1714
|
readonly subscriptionCreate: SubscriptionCreate
|
|
1437
1715
|
}
|
|
1438
1716
|
|
|
1717
|
+
/**
|
|
1718
|
+
* Request parameters for deletePaymentMethod operation in PaymentsApi.
|
|
1719
|
+
* @export
|
|
1720
|
+
* @interface PaymentsApiDeletePaymentMethodRequest
|
|
1721
|
+
*/
|
|
1722
|
+
export interface PaymentsApiDeletePaymentMethodRequest {
|
|
1723
|
+
/**
|
|
1724
|
+
*
|
|
1725
|
+
* @type {string}
|
|
1726
|
+
* @memberof PaymentsApiDeletePaymentMethod
|
|
1727
|
+
*/
|
|
1728
|
+
readonly accountName: string
|
|
1729
|
+
|
|
1730
|
+
/**
|
|
1731
|
+
*
|
|
1732
|
+
* @type {string}
|
|
1733
|
+
* @memberof PaymentsApiDeletePaymentMethod
|
|
1734
|
+
*/
|
|
1735
|
+
readonly id: string
|
|
1736
|
+
}
|
|
1737
|
+
|
|
1439
1738
|
/**
|
|
1440
1739
|
* Request parameters for getDefaultPaymentMethod operation in PaymentsApi.
|
|
1441
1740
|
* @export
|
|
@@ -1562,6 +1861,20 @@ export interface PaymentsApiGetSubscriptionRequest {
|
|
|
1562
1861
|
readonly accountName: string
|
|
1563
1862
|
}
|
|
1564
1863
|
|
|
1864
|
+
/**
|
|
1865
|
+
* Request parameters for getUpcomingSubscription operation in PaymentsApi.
|
|
1866
|
+
* @export
|
|
1867
|
+
* @interface PaymentsApiGetUpcomingSubscriptionRequest
|
|
1868
|
+
*/
|
|
1869
|
+
export interface PaymentsApiGetUpcomingSubscriptionRequest {
|
|
1870
|
+
/**
|
|
1871
|
+
*
|
|
1872
|
+
* @type {string}
|
|
1873
|
+
* @memberof PaymentsApiGetUpcomingSubscription
|
|
1874
|
+
*/
|
|
1875
|
+
readonly accountName: string
|
|
1876
|
+
}
|
|
1877
|
+
|
|
1565
1878
|
/**
|
|
1566
1879
|
* Request parameters for listPaymentMethods operation in PaymentsApi.
|
|
1567
1880
|
* @export
|
|
@@ -1618,6 +1931,34 @@ export interface PaymentsApiSubscribeRequest {
|
|
|
1618
1931
|
readonly subscribe: Subscribe
|
|
1619
1932
|
}
|
|
1620
1933
|
|
|
1934
|
+
/**
|
|
1935
|
+
* Request parameters for updatePaymentMethod operation in PaymentsApi.
|
|
1936
|
+
* @export
|
|
1937
|
+
* @interface PaymentsApiUpdatePaymentMethodRequest
|
|
1938
|
+
*/
|
|
1939
|
+
export interface PaymentsApiUpdatePaymentMethodRequest {
|
|
1940
|
+
/**
|
|
1941
|
+
*
|
|
1942
|
+
* @type {string}
|
|
1943
|
+
* @memberof PaymentsApiUpdatePaymentMethod
|
|
1944
|
+
*/
|
|
1945
|
+
readonly accountName: string
|
|
1946
|
+
|
|
1947
|
+
/**
|
|
1948
|
+
*
|
|
1949
|
+
* @type {string}
|
|
1950
|
+
* @memberof PaymentsApiUpdatePaymentMethod
|
|
1951
|
+
*/
|
|
1952
|
+
readonly id: string
|
|
1953
|
+
|
|
1954
|
+
/**
|
|
1955
|
+
*
|
|
1956
|
+
* @type {UpdatePaymentMethod}
|
|
1957
|
+
* @memberof PaymentsApiUpdatePaymentMethod
|
|
1958
|
+
*/
|
|
1959
|
+
readonly updatePaymentMethod: UpdatePaymentMethod
|
|
1960
|
+
}
|
|
1961
|
+
|
|
1621
1962
|
/**
|
|
1622
1963
|
* Request parameters for updateSubscription operation in PaymentsApi.
|
|
1623
1964
|
* @export
|
|
@@ -1682,6 +2023,18 @@ export class PaymentsApi extends BaseAPI {
|
|
|
1682
2023
|
return PaymentsApiFp(this.configuration).createSubscription(requestParameters.accountName, requestParameters.subscriptionCreate, options).then((request) => request(this.axios, this.basePath));
|
|
1683
2024
|
}
|
|
1684
2025
|
|
|
2026
|
+
/**
|
|
2027
|
+
*
|
|
2028
|
+
* @summary Delete Payment Method
|
|
2029
|
+
* @param {PaymentsApiDeletePaymentMethodRequest} requestParameters Request parameters.
|
|
2030
|
+
* @param {*} [options] Override http request option.
|
|
2031
|
+
* @throws {RequiredError}
|
|
2032
|
+
* @memberof PaymentsApi
|
|
2033
|
+
*/
|
|
2034
|
+
public deletePaymentMethod(requestParameters: PaymentsApiDeletePaymentMethodRequest, options?: any) {
|
|
2035
|
+
return PaymentsApiFp(this.configuration).deletePaymentMethod(requestParameters.accountName, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
2036
|
+
}
|
|
2037
|
+
|
|
1685
2038
|
/**
|
|
1686
2039
|
*
|
|
1687
2040
|
* @summary Get Default Payment Method
|
|
@@ -1777,6 +2130,18 @@ export class PaymentsApi extends BaseAPI {
|
|
|
1777
2130
|
return PaymentsApiFp(this.configuration).getUnfilteredInventory(options).then((request) => request(this.axios, this.basePath));
|
|
1778
2131
|
}
|
|
1779
2132
|
|
|
2133
|
+
/**
|
|
2134
|
+
*
|
|
2135
|
+
* @summary Get Upcoming Subscription
|
|
2136
|
+
* @param {PaymentsApiGetUpcomingSubscriptionRequest} requestParameters Request parameters.
|
|
2137
|
+
* @param {*} [options] Override http request option.
|
|
2138
|
+
* @throws {RequiredError}
|
|
2139
|
+
* @memberof PaymentsApi
|
|
2140
|
+
*/
|
|
2141
|
+
public getUpcomingSubscription(requestParameters: PaymentsApiGetUpcomingSubscriptionRequest, options?: any) {
|
|
2142
|
+
return PaymentsApiFp(this.configuration).getUpcomingSubscription(requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
2143
|
+
}
|
|
2144
|
+
|
|
1780
2145
|
/**
|
|
1781
2146
|
*
|
|
1782
2147
|
* @summary Get Payment Methods
|
|
@@ -1813,6 +2178,18 @@ export class PaymentsApi extends BaseAPI {
|
|
|
1813
2178
|
return PaymentsApiFp(this.configuration).subscribe(requestParameters.accountName, requestParameters.subscribe, options).then((request) => request(this.axios, this.basePath));
|
|
1814
2179
|
}
|
|
1815
2180
|
|
|
2181
|
+
/**
|
|
2182
|
+
*
|
|
2183
|
+
* @summary Update Payment Method
|
|
2184
|
+
* @param {PaymentsApiUpdatePaymentMethodRequest} requestParameters Request parameters.
|
|
2185
|
+
* @param {*} [options] Override http request option.
|
|
2186
|
+
* @throws {RequiredError}
|
|
2187
|
+
* @memberof PaymentsApi
|
|
2188
|
+
*/
|
|
2189
|
+
public updatePaymentMethod(requestParameters: PaymentsApiUpdatePaymentMethodRequest, options?: any) {
|
|
2190
|
+
return PaymentsApiFp(this.configuration).updatePaymentMethod(requestParameters.accountName, requestParameters.id, requestParameters.updatePaymentMethod, options).then((request) => request(this.axios, this.basePath));
|
|
2191
|
+
}
|
|
2192
|
+
|
|
1816
2193
|
/**
|
|
1817
2194
|
*
|
|
1818
2195
|
* @summary Update Subscription
|
package/api/plugins-api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* pollination-server
|
|
5
5
|
* Pollination Server OpenAPI Definition
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.25.0
|
|
8
8
|
* Contact: info@pollination.cloud
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/api/projects-api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* pollination-server
|
|
5
5
|
* Pollination Server OpenAPI Definition
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.25.0
|
|
8
8
|
* Contact: info@pollination.cloud
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/api/recipes-api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* pollination-server
|
|
5
5
|
* Pollination Server OpenAPI Definition
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.25.0
|
|
8
8
|
* Contact: info@pollination.cloud
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/api/registries-api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* pollination-server
|
|
5
5
|
* Pollination Server OpenAPI Definition
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.25.0
|
|
8
8
|
* Contact: info@pollination.cloud
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/api/runs-api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* pollination-server
|
|
5
5
|
* Pollination Server OpenAPI Definition
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.25.0
|
|
8
8
|
* Contact: info@pollination.cloud
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|