@pollination-solutions/pollination-sdk 0.18.0-beta.2 → 0.18.0-beta.6
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 -0
- 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/orgs-api.ts +1 -1
- package/api/payments-api.ts +630 -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/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/orgs-api.d.ts +1 -1
- package/dist/api/orgs-api.js +1 -1
- package/dist/api/payments-api.d.ts +281 -1
- package/dist/api/payments-api.js +485 -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/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/account-public.d.ts +1 -1
- package/dist/models/account-public.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/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 -0
- package/dist/models/index.js +10 -0
- 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 +31 -0
- package/dist/models/invoice-list.js +15 -0
- package/dist/models/invoice-preview.d.ts +106 -0
- package/dist/models/invoice-preview.js +15 -0
- package/dist/models/invoice-status-transitions.d.ts +42 -0
- package/dist/models/invoice-status-transitions.js +15 -0
- package/dist/models/invoice-status.d.ts +23 -0
- package/dist/models/invoice-status.js +29 -0
- package/dist/models/invoice.d.ts +105 -0
- package/dist/models/invoice.js +15 -0
- 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.d.ts +1 -1
- package/dist/models/license.js +1 -1
- package/dist/models/line-item-list.d.ts +31 -0
- package/dist/models/line-item-list.js +15 -0
- package/dist/models/line-item.d.ts +74 -0
- package/dist/models/line-item.js +15 -0
- package/dist/models/local-config.d.ts +1 -1
- package/dist/models/local-config.js +1 -1
- package/dist/models/maintainer.d.ts +1 -1
- package/dist/models/maintainer.js +1 -1
- package/dist/models/meta-data.d.ts +1 -1
- package/dist/models/meta-data.js +1 -1
- package/dist/models/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 +24 -0
- package/dist/models/payment-intent.js +15 -0
- package/dist/models/payment-method-list.d.ts +1 -1
- package/dist/models/payment-method-list.js +1 -1
- package/dist/models/payment-setup.d.ts +2 -2
- package/dist/models/payment-setup.js +1 -1
- package/dist/models/period.d.ts +30 -0
- package/dist/models/period.js +15 -0
- 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/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-list.d.ts +1 -1
- package/dist/models/quota-list.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 +1 -1
- package/dist/models/subscription-create.js +1 -1
- package/dist/models/subscription-item-list.d.ts +1 -1
- package/dist/models/subscription-item-list.js +1 -1
- package/dist/models/subscription-item.d.ts +7 -1
- package/dist/models/subscription-item.js +1 -1
- package/dist/models/subscription-update.d.ts +38 -0
- package/dist/models/subscription-update.js +15 -0
- package/dist/models/subscription.d.ts +1 -1
- package/dist/models/subscription.js +1 -1
- package/dist/models/task-argument.d.ts +1 -1
- package/dist/models/task-argument.js +1 -1
- package/dist/models/task-file-reference.d.ts +1 -1
- package/dist/models/task-file-reference.js +1 -1
- package/dist/models/task-folder-reference.d.ts +1 -1
- package/dist/models/task-folder-reference.js +1 -1
- package/dist/models/task-path-argument.d.ts +1 -1
- package/dist/models/task-path-argument.js +1 -1
- package/dist/models/task-path-reference.d.ts +1 -1
- package/dist/models/task-path-reference.js +1 -1
- package/dist/models/task-path-return.d.ts +1 -1
- package/dist/models/task-path-return.js +1 -1
- package/dist/models/task-reference.d.ts +1 -1
- package/dist/models/task-reference.js +1 -1
- package/dist/models/task-return.d.ts +1 -1
- package/dist/models/task-return.js +1 -1
- package/dist/models/team-create.d.ts +1 -1
- package/dist/models/team-create.js +1 -1
- package/dist/models/team-list.d.ts +1 -1
- package/dist/models/team-list.js +1 -1
- package/dist/models/team-member-list.d.ts +1 -1
- package/dist/models/team-member-list.js +1 -1
- package/dist/models/team-member.d.ts +1 -1
- package/dist/models/team-member.js +1 -1
- package/dist/models/team-role-enum.d.ts +1 -1
- package/dist/models/team-role-enum.js +1 -1
- package/dist/models/team-update.d.ts +1 -1
- package/dist/models/team-update.js +1 -1
- package/dist/models/team.d.ts +1 -1
- package/dist/models/team.js +1 -1
- package/dist/models/template-function.d.ts +1 -1
- package/dist/models/template-function.js +1 -1
- package/dist/models/update-accepted.d.ts +1 -1
- package/dist/models/update-accepted.js +1 -1
- package/dist/models/usage.d.ts +1 -1
- package/dist/models/usage.js +1 -1
- package/dist/models/user-create.d.ts +1 -1
- package/dist/models/user-create.js +1 -1
- package/dist/models/user-permission.d.ts +1 -1
- package/dist/models/user-permission.js +1 -1
- package/dist/models/user-private.d.ts +1 -1
- package/dist/models/user-private.js +1 -1
- package/dist/models/user-public-list.d.ts +1 -1
- package/dist/models/user-public-list.js +1 -1
- package/dist/models/user-public.d.ts +1 -1
- package/dist/models/user-public.js +1 -1
- package/dist/models/user-update.d.ts +1 -1
- package/dist/models/user-update.js +1 -1
- package/dist/models/validation-error.d.ts +1 -1
- package/dist/models/validation-error.js +1 -1
- package/dist/models/value-file-reference.d.ts +1 -1
- package/dist/models/value-file-reference.js +1 -1
- package/dist/models/value-folder-reference.d.ts +1 -1
- package/dist/models/value-folder-reference.js +1 -1
- package/dist/models/value-list-reference.d.ts +1 -1
- package/dist/models/value-list-reference.js +1 -1
- package/dist/models/value-reference.d.ts +1 -1
- package/dist/models/value-reference.js +1 -1
- package/index.ts +1 -1
- package/models/account-public.ts +1 -1
- package/models/apitoken-create.ts +1 -1
- package/models/apitoken-list.ts +1 -1
- package/models/apitoken-private.ts +1 -1
- package/models/apitoken.ts +1 -1
- package/models/baked-recipe.ts +1 -1
- package/models/body-post-plugin-owner-plugins-post.ts +1 -1
- package/models/body-post-recipe-owner-recipes-post.ts +1 -1
- package/models/card-public.ts +1 -1
- package/models/cloud-job-list.ts +1 -1
- package/models/cloud-job.ts +1 -1
- package/models/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 -0
- 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 +38 -0
- package/models/invoice-preview.ts +113 -0
- package/models/invoice-status-transitions.ts +49 -0
- package/models/invoice-status.ts +31 -0
- package/models/invoice.ts +112 -0
- 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.ts +1 -1
- package/models/line-item-list.ts +38 -0
- package/models/line-item.ts +81 -0
- package/models/local-config.ts +1 -1
- package/models/maintainer.ts +1 -1
- package/models/meta-data.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 +31 -0
- package/models/payment-method-list.ts +1 -1
- package/models/payment-setup.ts +2 -2
- package/models/period.ts +37 -0
- 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/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-list.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/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 +1 -1
- package/models/subscription-item-list.ts +1 -1
- package/models/subscription-item.ts +7 -1
- package/models/subscription-update.ts +45 -0
- package/models/subscription.ts +1 -1
- package/models/task-argument.ts +1 -1
- package/models/task-file-reference.ts +1 -1
- package/models/task-folder-reference.ts +1 -1
- package/models/task-path-argument.ts +1 -1
- package/models/task-path-reference.ts +1 -1
- package/models/task-path-return.ts +1 -1
- package/models/task-reference.ts +1 -1
- package/models/task-return.ts +1 -1
- package/models/team-create.ts +1 -1
- package/models/team-list.ts +1 -1
- package/models/team-member-list.ts +1 -1
- package/models/team-member.ts +1 -1
- package/models/team-role-enum.ts +1 -1
- package/models/team-update.ts +1 -1
- package/models/team.ts +1 -1
- package/models/template-function.ts +1 -1
- package/models/update-accepted.ts +1 -1
- package/models/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/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.18.0-beta.
|
|
7
|
+
* The version of the OpenAPI document: 0.18.0-beta.6
|
|
8
8
|
* Contact: info@pollination.cloud
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -19,14 +19,22 @@ 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
|
|
22
24
|
import { CreatedContent } from '../models';
|
|
23
25
|
// @ts-ignore
|
|
24
26
|
import { HTTPValidationError } from '../models';
|
|
25
27
|
// @ts-ignore
|
|
26
28
|
import { Inventory } from '../models';
|
|
27
29
|
// @ts-ignore
|
|
30
|
+
import { InvoiceList } from '../models';
|
|
31
|
+
// @ts-ignore
|
|
32
|
+
import { InvoicePreview } from '../models';
|
|
33
|
+
// @ts-ignore
|
|
28
34
|
import { PaymentCreate } from '../models';
|
|
29
35
|
// @ts-ignore
|
|
36
|
+
import { PaymentIntent } from '../models';
|
|
37
|
+
// @ts-ignore
|
|
30
38
|
import { PaymentMethodList } from '../models';
|
|
31
39
|
// @ts-ignore
|
|
32
40
|
import { PaymentSetup } from '../models';
|
|
@@ -34,6 +42,8 @@ import { PaymentSetup } from '../models';
|
|
|
34
42
|
import { Subscription } from '../models';
|
|
35
43
|
// @ts-ignore
|
|
36
44
|
import { SubscriptionCreate } from '../models';
|
|
45
|
+
// @ts-ignore
|
|
46
|
+
import { SubscriptionUpdate } from '../models';
|
|
37
47
|
/**
|
|
38
48
|
* PaymentsApi - axios parameter creator
|
|
39
49
|
* @export
|
|
@@ -176,6 +186,124 @@ export const PaymentsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
176
186
|
options: localVarRequestOptions,
|
|
177
187
|
};
|
|
178
188
|
},
|
|
189
|
+
/**
|
|
190
|
+
*
|
|
191
|
+
* @summary Get Default Payment Method
|
|
192
|
+
* @param {string} accountName
|
|
193
|
+
* @param {*} [options] Override http request option.
|
|
194
|
+
* @throws {RequiredError}
|
|
195
|
+
*/
|
|
196
|
+
getDefaultPaymentMethod: async (accountName: string, options: any = {}): Promise<RequestArgs> => {
|
|
197
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
198
|
+
if (accountName === null || accountName === undefined) {
|
|
199
|
+
throw new RequiredError('accountName','Required parameter accountName was null or undefined when calling getDefaultPaymentMethod.');
|
|
200
|
+
}
|
|
201
|
+
const localVarPath = `/payments/{account_name}/methods/default`
|
|
202
|
+
.replace(`{${"account_name"}}`, encodeURIComponent(String(accountName)));
|
|
203
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
204
|
+
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
205
|
+
let baseOptions;
|
|
206
|
+
if (configuration) {
|
|
207
|
+
baseOptions = configuration.baseOptions;
|
|
208
|
+
}
|
|
209
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
210
|
+
const localVarHeaderParameter = {} as any;
|
|
211
|
+
const localVarQueryParameter = {} as any;
|
|
212
|
+
|
|
213
|
+
// authentication APIKeyAuth required
|
|
214
|
+
if (configuration && configuration.apiKey) {
|
|
215
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
216
|
+
? await configuration.apiKey("x-pollination-token")
|
|
217
|
+
: await configuration.apiKey;
|
|
218
|
+
localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
// authentication JWTAuth required
|
|
222
|
+
// http bearer authentication required
|
|
223
|
+
if (configuration && configuration.accessToken) {
|
|
224
|
+
const accessToken = typeof configuration.accessToken === 'function'
|
|
225
|
+
? await configuration.accessToken()
|
|
226
|
+
: await configuration.accessToken;
|
|
227
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
const query = new URLSearchParams(localVarUrlObj.search);
|
|
233
|
+
for (const key in localVarQueryParameter) {
|
|
234
|
+
query.set(key, localVarQueryParameter[key]);
|
|
235
|
+
}
|
|
236
|
+
for (const key in options.query) {
|
|
237
|
+
query.set(key, options.query[key]);
|
|
238
|
+
}
|
|
239
|
+
localVarUrlObj.search = (new URLSearchParams(query)).toString();
|
|
240
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
241
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
242
|
+
|
|
243
|
+
return {
|
|
244
|
+
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
|
245
|
+
options: localVarRequestOptions,
|
|
246
|
+
};
|
|
247
|
+
},
|
|
248
|
+
/**
|
|
249
|
+
*
|
|
250
|
+
* @summary Get Failed Payment
|
|
251
|
+
* @param {string} accountName
|
|
252
|
+
* @param {*} [options] Override http request option.
|
|
253
|
+
* @throws {RequiredError}
|
|
254
|
+
*/
|
|
255
|
+
getFailedPayment: async (accountName: string, options: any = {}): Promise<RequestArgs> => {
|
|
256
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
257
|
+
if (accountName === null || accountName === undefined) {
|
|
258
|
+
throw new RequiredError('accountName','Required parameter accountName was null or undefined when calling getFailedPayment.');
|
|
259
|
+
}
|
|
260
|
+
const localVarPath = `/payments/{account_name}/failed`
|
|
261
|
+
.replace(`{${"account_name"}}`, encodeURIComponent(String(accountName)));
|
|
262
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
263
|
+
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
264
|
+
let baseOptions;
|
|
265
|
+
if (configuration) {
|
|
266
|
+
baseOptions = configuration.baseOptions;
|
|
267
|
+
}
|
|
268
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
269
|
+
const localVarHeaderParameter = {} as any;
|
|
270
|
+
const localVarQueryParameter = {} as any;
|
|
271
|
+
|
|
272
|
+
// authentication APIKeyAuth required
|
|
273
|
+
if (configuration && configuration.apiKey) {
|
|
274
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
275
|
+
? await configuration.apiKey("x-pollination-token")
|
|
276
|
+
: await configuration.apiKey;
|
|
277
|
+
localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
// authentication JWTAuth required
|
|
281
|
+
// http bearer authentication required
|
|
282
|
+
if (configuration && configuration.accessToken) {
|
|
283
|
+
const accessToken = typeof configuration.accessToken === 'function'
|
|
284
|
+
? await configuration.accessToken()
|
|
285
|
+
: await configuration.accessToken;
|
|
286
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
const query = new URLSearchParams(localVarUrlObj.search);
|
|
292
|
+
for (const key in localVarQueryParameter) {
|
|
293
|
+
query.set(key, localVarQueryParameter[key]);
|
|
294
|
+
}
|
|
295
|
+
for (const key in options.query) {
|
|
296
|
+
query.set(key, options.query[key]);
|
|
297
|
+
}
|
|
298
|
+
localVarUrlObj.search = (new URLSearchParams(query)).toString();
|
|
299
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
300
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
301
|
+
|
|
302
|
+
return {
|
|
303
|
+
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
|
304
|
+
options: localVarRequestOptions,
|
|
305
|
+
};
|
|
306
|
+
},
|
|
179
307
|
/**
|
|
180
308
|
*
|
|
181
309
|
* @summary Get Inventory
|
|
@@ -196,6 +324,144 @@ export const PaymentsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
196
324
|
|
|
197
325
|
|
|
198
326
|
|
|
327
|
+
const query = new URLSearchParams(localVarUrlObj.search);
|
|
328
|
+
for (const key in localVarQueryParameter) {
|
|
329
|
+
query.set(key, localVarQueryParameter[key]);
|
|
330
|
+
}
|
|
331
|
+
for (const key in options.query) {
|
|
332
|
+
query.set(key, options.query[key]);
|
|
333
|
+
}
|
|
334
|
+
localVarUrlObj.search = (new URLSearchParams(query)).toString();
|
|
335
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
336
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
337
|
+
|
|
338
|
+
return {
|
|
339
|
+
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
|
340
|
+
options: localVarRequestOptions,
|
|
341
|
+
};
|
|
342
|
+
},
|
|
343
|
+
/**
|
|
344
|
+
*
|
|
345
|
+
* @summary Get Invoice List
|
|
346
|
+
* @param {string} accountName
|
|
347
|
+
* @param {string} [startingAfter]
|
|
348
|
+
* @param {string} [endingBefore]
|
|
349
|
+
* @param {number} [limit]
|
|
350
|
+
* @param {number} [perPage] Number of items per page
|
|
351
|
+
* @param {*} [options] Override http request option.
|
|
352
|
+
* @throws {RequiredError}
|
|
353
|
+
*/
|
|
354
|
+
getInvoiceList: async (accountName: string, startingAfter?: string, endingBefore?: string, limit?: number, perPage?: number, options: any = {}): Promise<RequestArgs> => {
|
|
355
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
356
|
+
if (accountName === null || accountName === undefined) {
|
|
357
|
+
throw new RequiredError('accountName','Required parameter accountName was null or undefined when calling getInvoiceList.');
|
|
358
|
+
}
|
|
359
|
+
const localVarPath = `/payments/{account_name}/invoices`
|
|
360
|
+
.replace(`{${"account_name"}}`, encodeURIComponent(String(accountName)));
|
|
361
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
362
|
+
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
363
|
+
let baseOptions;
|
|
364
|
+
if (configuration) {
|
|
365
|
+
baseOptions = configuration.baseOptions;
|
|
366
|
+
}
|
|
367
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
368
|
+
const localVarHeaderParameter = {} as any;
|
|
369
|
+
const localVarQueryParameter = {} as any;
|
|
370
|
+
|
|
371
|
+
// authentication APIKeyAuth required
|
|
372
|
+
if (configuration && configuration.apiKey) {
|
|
373
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
374
|
+
? await configuration.apiKey("x-pollination-token")
|
|
375
|
+
: await configuration.apiKey;
|
|
376
|
+
localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
// authentication JWTAuth required
|
|
380
|
+
// http bearer authentication required
|
|
381
|
+
if (configuration && configuration.accessToken) {
|
|
382
|
+
const accessToken = typeof configuration.accessToken === 'function'
|
|
383
|
+
? await configuration.accessToken()
|
|
384
|
+
: await configuration.accessToken;
|
|
385
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
if (startingAfter !== undefined) {
|
|
389
|
+
localVarQueryParameter['starting_after'] = startingAfter;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
if (endingBefore !== undefined) {
|
|
393
|
+
localVarQueryParameter['ending_before'] = endingBefore;
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
if (limit !== undefined) {
|
|
397
|
+
localVarQueryParameter['limit'] = limit;
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
if (perPage !== undefined) {
|
|
401
|
+
localVarQueryParameter['per-page'] = perPage;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
|
|
406
|
+
const query = new URLSearchParams(localVarUrlObj.search);
|
|
407
|
+
for (const key in localVarQueryParameter) {
|
|
408
|
+
query.set(key, localVarQueryParameter[key]);
|
|
409
|
+
}
|
|
410
|
+
for (const key in options.query) {
|
|
411
|
+
query.set(key, options.query[key]);
|
|
412
|
+
}
|
|
413
|
+
localVarUrlObj.search = (new URLSearchParams(query)).toString();
|
|
414
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
415
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
416
|
+
|
|
417
|
+
return {
|
|
418
|
+
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
|
419
|
+
options: localVarRequestOptions,
|
|
420
|
+
};
|
|
421
|
+
},
|
|
422
|
+
/**
|
|
423
|
+
*
|
|
424
|
+
* @summary Get Next Invoice
|
|
425
|
+
* @param {string} accountName
|
|
426
|
+
* @param {*} [options] Override http request option.
|
|
427
|
+
* @throws {RequiredError}
|
|
428
|
+
*/
|
|
429
|
+
getNextInvoice: async (accountName: string, options: any = {}): Promise<RequestArgs> => {
|
|
430
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
431
|
+
if (accountName === null || accountName === undefined) {
|
|
432
|
+
throw new RequiredError('accountName','Required parameter accountName was null or undefined when calling getNextInvoice.');
|
|
433
|
+
}
|
|
434
|
+
const localVarPath = `/payments/{account_name}/invoices/next`
|
|
435
|
+
.replace(`{${"account_name"}}`, encodeURIComponent(String(accountName)));
|
|
436
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
437
|
+
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
438
|
+
let baseOptions;
|
|
439
|
+
if (configuration) {
|
|
440
|
+
baseOptions = configuration.baseOptions;
|
|
441
|
+
}
|
|
442
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
443
|
+
const localVarHeaderParameter = {} as any;
|
|
444
|
+
const localVarQueryParameter = {} as any;
|
|
445
|
+
|
|
446
|
+
// authentication APIKeyAuth required
|
|
447
|
+
if (configuration && configuration.apiKey) {
|
|
448
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
449
|
+
? await configuration.apiKey("x-pollination-token")
|
|
450
|
+
: await configuration.apiKey;
|
|
451
|
+
localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
// authentication JWTAuth required
|
|
455
|
+
// http bearer authentication required
|
|
456
|
+
if (configuration && configuration.accessToken) {
|
|
457
|
+
const accessToken = typeof configuration.accessToken === 'function'
|
|
458
|
+
? await configuration.accessToken()
|
|
459
|
+
: await configuration.accessToken;
|
|
460
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
|
|
464
|
+
|
|
199
465
|
const query = new URLSearchParams(localVarUrlObj.search);
|
|
200
466
|
for (const key in localVarQueryParameter) {
|
|
201
467
|
query.set(key, localVarQueryParameter[key]);
|
|
@@ -325,6 +591,74 @@ export const PaymentsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
325
591
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
326
592
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
327
593
|
|
|
594
|
+
return {
|
|
595
|
+
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
|
596
|
+
options: localVarRequestOptions,
|
|
597
|
+
};
|
|
598
|
+
},
|
|
599
|
+
/**
|
|
600
|
+
*
|
|
601
|
+
* @summary Update Subscription
|
|
602
|
+
* @param {string} accountName
|
|
603
|
+
* @param {SubscriptionUpdate} subscriptionUpdate
|
|
604
|
+
* @param {*} [options] Override http request option.
|
|
605
|
+
* @throws {RequiredError}
|
|
606
|
+
*/
|
|
607
|
+
updateSubscription: async (accountName: string, subscriptionUpdate: SubscriptionUpdate, options: any = {}): Promise<RequestArgs> => {
|
|
608
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
609
|
+
if (accountName === null || accountName === undefined) {
|
|
610
|
+
throw new RequiredError('accountName','Required parameter accountName was null or undefined when calling updateSubscription.');
|
|
611
|
+
}
|
|
612
|
+
// verify required parameter 'subscriptionUpdate' is not null or undefined
|
|
613
|
+
if (subscriptionUpdate === null || subscriptionUpdate === undefined) {
|
|
614
|
+
throw new RequiredError('subscriptionUpdate','Required parameter subscriptionUpdate was null or undefined when calling updateSubscription.');
|
|
615
|
+
}
|
|
616
|
+
const localVarPath = `/payments/{account_name}/subscription`
|
|
617
|
+
.replace(`{${"account_name"}}`, encodeURIComponent(String(accountName)));
|
|
618
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
619
|
+
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
620
|
+
let baseOptions;
|
|
621
|
+
if (configuration) {
|
|
622
|
+
baseOptions = configuration.baseOptions;
|
|
623
|
+
}
|
|
624
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
625
|
+
const localVarHeaderParameter = {} as any;
|
|
626
|
+
const localVarQueryParameter = {} as any;
|
|
627
|
+
|
|
628
|
+
// authentication APIKeyAuth required
|
|
629
|
+
if (configuration && configuration.apiKey) {
|
|
630
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
631
|
+
? await configuration.apiKey("x-pollination-token")
|
|
632
|
+
: await configuration.apiKey;
|
|
633
|
+
localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
// authentication JWTAuth required
|
|
637
|
+
// http bearer authentication required
|
|
638
|
+
if (configuration && configuration.accessToken) {
|
|
639
|
+
const accessToken = typeof configuration.accessToken === 'function'
|
|
640
|
+
? await configuration.accessToken()
|
|
641
|
+
: await configuration.accessToken;
|
|
642
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
|
|
646
|
+
|
|
647
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
648
|
+
|
|
649
|
+
const query = new URLSearchParams(localVarUrlObj.search);
|
|
650
|
+
for (const key in localVarQueryParameter) {
|
|
651
|
+
query.set(key, localVarQueryParameter[key]);
|
|
652
|
+
}
|
|
653
|
+
for (const key in options.query) {
|
|
654
|
+
query.set(key, options.query[key]);
|
|
655
|
+
}
|
|
656
|
+
localVarUrlObj.search = (new URLSearchParams(query)).toString();
|
|
657
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
658
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
659
|
+
const needsSerialization = (typeof subscriptionUpdate !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
660
|
+
localVarRequestOptions.data = needsSerialization ? JSON.stringify(subscriptionUpdate !== undefined ? subscriptionUpdate : {}) : (subscriptionUpdate || "");
|
|
661
|
+
|
|
328
662
|
return {
|
|
329
663
|
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
|
330
664
|
options: localVarRequestOptions,
|
|
@@ -369,6 +703,34 @@ export const PaymentsApiFp = function(configuration?: Configuration) {
|
|
|
369
703
|
return axios.request(axiosRequestArgs);
|
|
370
704
|
};
|
|
371
705
|
},
|
|
706
|
+
/**
|
|
707
|
+
*
|
|
708
|
+
* @summary Get Default Payment Method
|
|
709
|
+
* @param {string} accountName
|
|
710
|
+
* @param {*} [options] Override http request option.
|
|
711
|
+
* @throws {RequiredError}
|
|
712
|
+
*/
|
|
713
|
+
async getDefaultPaymentMethod(accountName: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CardPublic>> {
|
|
714
|
+
const localVarAxiosArgs = await PaymentsApiAxiosParamCreator(configuration).getDefaultPaymentMethod(accountName, options);
|
|
715
|
+
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
716
|
+
const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
|
717
|
+
return axios.request(axiosRequestArgs);
|
|
718
|
+
};
|
|
719
|
+
},
|
|
720
|
+
/**
|
|
721
|
+
*
|
|
722
|
+
* @summary Get Failed Payment
|
|
723
|
+
* @param {string} accountName
|
|
724
|
+
* @param {*} [options] Override http request option.
|
|
725
|
+
* @throws {RequiredError}
|
|
726
|
+
*/
|
|
727
|
+
async getFailedPayment(accountName: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentIntent>> {
|
|
728
|
+
const localVarAxiosArgs = await PaymentsApiAxiosParamCreator(configuration).getFailedPayment(accountName, options);
|
|
729
|
+
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
730
|
+
const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
|
731
|
+
return axios.request(axiosRequestArgs);
|
|
732
|
+
};
|
|
733
|
+
},
|
|
372
734
|
/**
|
|
373
735
|
*
|
|
374
736
|
* @summary Get Inventory
|
|
@@ -382,6 +744,38 @@ export const PaymentsApiFp = function(configuration?: Configuration) {
|
|
|
382
744
|
return axios.request(axiosRequestArgs);
|
|
383
745
|
};
|
|
384
746
|
},
|
|
747
|
+
/**
|
|
748
|
+
*
|
|
749
|
+
* @summary Get Invoice List
|
|
750
|
+
* @param {string} accountName
|
|
751
|
+
* @param {string} [startingAfter]
|
|
752
|
+
* @param {string} [endingBefore]
|
|
753
|
+
* @param {number} [limit]
|
|
754
|
+
* @param {number} [perPage] Number of items per page
|
|
755
|
+
* @param {*} [options] Override http request option.
|
|
756
|
+
* @throws {RequiredError}
|
|
757
|
+
*/
|
|
758
|
+
async getInvoiceList(accountName: string, startingAfter?: string, endingBefore?: string, limit?: number, perPage?: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InvoiceList>> {
|
|
759
|
+
const localVarAxiosArgs = await PaymentsApiAxiosParamCreator(configuration).getInvoiceList(accountName, startingAfter, endingBefore, limit, perPage, options);
|
|
760
|
+
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
761
|
+
const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
|
762
|
+
return axios.request(axiosRequestArgs);
|
|
763
|
+
};
|
|
764
|
+
},
|
|
765
|
+
/**
|
|
766
|
+
*
|
|
767
|
+
* @summary Get Next Invoice
|
|
768
|
+
* @param {string} accountName
|
|
769
|
+
* @param {*} [options] Override http request option.
|
|
770
|
+
* @throws {RequiredError}
|
|
771
|
+
*/
|
|
772
|
+
async getNextInvoice(accountName: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InvoicePreview>> {
|
|
773
|
+
const localVarAxiosArgs = await PaymentsApiAxiosParamCreator(configuration).getNextInvoice(accountName, options);
|
|
774
|
+
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
775
|
+
const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
|
776
|
+
return axios.request(axiosRequestArgs);
|
|
777
|
+
};
|
|
778
|
+
},
|
|
385
779
|
/**
|
|
386
780
|
*
|
|
387
781
|
* @summary Get Subscription
|
|
@@ -410,6 +804,21 @@ export const PaymentsApiFp = function(configuration?: Configuration) {
|
|
|
410
804
|
return axios.request(axiosRequestArgs);
|
|
411
805
|
};
|
|
412
806
|
},
|
|
807
|
+
/**
|
|
808
|
+
*
|
|
809
|
+
* @summary Update Subscription
|
|
810
|
+
* @param {string} accountName
|
|
811
|
+
* @param {SubscriptionUpdate} subscriptionUpdate
|
|
812
|
+
* @param {*} [options] Override http request option.
|
|
813
|
+
* @throws {RequiredError}
|
|
814
|
+
*/
|
|
815
|
+
async updateSubscription(accountName: string, subscriptionUpdate: SubscriptionUpdate, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Subscription>> {
|
|
816
|
+
const localVarAxiosArgs = await PaymentsApiAxiosParamCreator(configuration).updateSubscription(accountName, subscriptionUpdate, options);
|
|
817
|
+
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
818
|
+
const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
|
819
|
+
return axios.request(axiosRequestArgs);
|
|
820
|
+
};
|
|
821
|
+
},
|
|
413
822
|
}
|
|
414
823
|
};
|
|
415
824
|
|
|
@@ -441,6 +850,26 @@ export const PaymentsApiFactory = function (configuration?: Configuration, baseP
|
|
|
441
850
|
createSubscription(accountName: string, subscriptionCreate: SubscriptionCreate, options?: any): AxiosPromise<CreatedContent> {
|
|
442
851
|
return PaymentsApiFp(configuration).createSubscription(accountName, subscriptionCreate, options).then((request) => request(axios, basePath));
|
|
443
852
|
},
|
|
853
|
+
/**
|
|
854
|
+
*
|
|
855
|
+
* @summary Get Default Payment Method
|
|
856
|
+
* @param {string} accountName
|
|
857
|
+
* @param {*} [options] Override http request option.
|
|
858
|
+
* @throws {RequiredError}
|
|
859
|
+
*/
|
|
860
|
+
getDefaultPaymentMethod(accountName: string, options?: any): AxiosPromise<CardPublic> {
|
|
861
|
+
return PaymentsApiFp(configuration).getDefaultPaymentMethod(accountName, options).then((request) => request(axios, basePath));
|
|
862
|
+
},
|
|
863
|
+
/**
|
|
864
|
+
*
|
|
865
|
+
* @summary Get Failed Payment
|
|
866
|
+
* @param {string} accountName
|
|
867
|
+
* @param {*} [options] Override http request option.
|
|
868
|
+
* @throws {RequiredError}
|
|
869
|
+
*/
|
|
870
|
+
getFailedPayment(accountName: string, options?: any): AxiosPromise<PaymentIntent> {
|
|
871
|
+
return PaymentsApiFp(configuration).getFailedPayment(accountName, options).then((request) => request(axios, basePath));
|
|
872
|
+
},
|
|
444
873
|
/**
|
|
445
874
|
*
|
|
446
875
|
* @summary Get Inventory
|
|
@@ -450,6 +879,30 @@ export const PaymentsApiFactory = function (configuration?: Configuration, baseP
|
|
|
450
879
|
getInventory(options?: any): AxiosPromise<Inventory> {
|
|
451
880
|
return PaymentsApiFp(configuration).getInventory(options).then((request) => request(axios, basePath));
|
|
452
881
|
},
|
|
882
|
+
/**
|
|
883
|
+
*
|
|
884
|
+
* @summary Get Invoice List
|
|
885
|
+
* @param {string} accountName
|
|
886
|
+
* @param {string} [startingAfter]
|
|
887
|
+
* @param {string} [endingBefore]
|
|
888
|
+
* @param {number} [limit]
|
|
889
|
+
* @param {number} [perPage] Number of items per page
|
|
890
|
+
* @param {*} [options] Override http request option.
|
|
891
|
+
* @throws {RequiredError}
|
|
892
|
+
*/
|
|
893
|
+
getInvoiceList(accountName: string, startingAfter?: string, endingBefore?: string, limit?: number, perPage?: number, options?: any): AxiosPromise<InvoiceList> {
|
|
894
|
+
return PaymentsApiFp(configuration).getInvoiceList(accountName, startingAfter, endingBefore, limit, perPage, options).then((request) => request(axios, basePath));
|
|
895
|
+
},
|
|
896
|
+
/**
|
|
897
|
+
*
|
|
898
|
+
* @summary Get Next Invoice
|
|
899
|
+
* @param {string} accountName
|
|
900
|
+
* @param {*} [options] Override http request option.
|
|
901
|
+
* @throws {RequiredError}
|
|
902
|
+
*/
|
|
903
|
+
getNextInvoice(accountName: string, options?: any): AxiosPromise<InvoicePreview> {
|
|
904
|
+
return PaymentsApiFp(configuration).getNextInvoice(accountName, options).then((request) => request(axios, basePath));
|
|
905
|
+
},
|
|
453
906
|
/**
|
|
454
907
|
*
|
|
455
908
|
* @summary Get Subscription
|
|
@@ -470,6 +923,17 @@ export const PaymentsApiFactory = function (configuration?: Configuration, baseP
|
|
|
470
923
|
listPaymentMethods(accountName: string, options?: any): AxiosPromise<PaymentMethodList> {
|
|
471
924
|
return PaymentsApiFp(configuration).listPaymentMethods(accountName, options).then((request) => request(axios, basePath));
|
|
472
925
|
},
|
|
926
|
+
/**
|
|
927
|
+
*
|
|
928
|
+
* @summary Update Subscription
|
|
929
|
+
* @param {string} accountName
|
|
930
|
+
* @param {SubscriptionUpdate} subscriptionUpdate
|
|
931
|
+
* @param {*} [options] Override http request option.
|
|
932
|
+
* @throws {RequiredError}
|
|
933
|
+
*/
|
|
934
|
+
updateSubscription(accountName: string, subscriptionUpdate: SubscriptionUpdate, options?: any): AxiosPromise<Subscription> {
|
|
935
|
+
return PaymentsApiFp(configuration).updateSubscription(accountName, subscriptionUpdate, options).then((request) => request(axios, basePath));
|
|
936
|
+
},
|
|
473
937
|
};
|
|
474
938
|
};
|
|
475
939
|
|
|
@@ -515,6 +979,90 @@ export interface PaymentsApiCreateSubscriptionRequest {
|
|
|
515
979
|
readonly subscriptionCreate: SubscriptionCreate
|
|
516
980
|
}
|
|
517
981
|
|
|
982
|
+
/**
|
|
983
|
+
* Request parameters for getDefaultPaymentMethod operation in PaymentsApi.
|
|
984
|
+
* @export
|
|
985
|
+
* @interface PaymentsApiGetDefaultPaymentMethodRequest
|
|
986
|
+
*/
|
|
987
|
+
export interface PaymentsApiGetDefaultPaymentMethodRequest {
|
|
988
|
+
/**
|
|
989
|
+
*
|
|
990
|
+
* @type {string}
|
|
991
|
+
* @memberof PaymentsApiGetDefaultPaymentMethod
|
|
992
|
+
*/
|
|
993
|
+
readonly accountName: string
|
|
994
|
+
}
|
|
995
|
+
|
|
996
|
+
/**
|
|
997
|
+
* Request parameters for getFailedPayment operation in PaymentsApi.
|
|
998
|
+
* @export
|
|
999
|
+
* @interface PaymentsApiGetFailedPaymentRequest
|
|
1000
|
+
*/
|
|
1001
|
+
export interface PaymentsApiGetFailedPaymentRequest {
|
|
1002
|
+
/**
|
|
1003
|
+
*
|
|
1004
|
+
* @type {string}
|
|
1005
|
+
* @memberof PaymentsApiGetFailedPayment
|
|
1006
|
+
*/
|
|
1007
|
+
readonly accountName: string
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
/**
|
|
1011
|
+
* Request parameters for getInvoiceList operation in PaymentsApi.
|
|
1012
|
+
* @export
|
|
1013
|
+
* @interface PaymentsApiGetInvoiceListRequest
|
|
1014
|
+
*/
|
|
1015
|
+
export interface PaymentsApiGetInvoiceListRequest {
|
|
1016
|
+
/**
|
|
1017
|
+
*
|
|
1018
|
+
* @type {string}
|
|
1019
|
+
* @memberof PaymentsApiGetInvoiceList
|
|
1020
|
+
*/
|
|
1021
|
+
readonly accountName: string
|
|
1022
|
+
|
|
1023
|
+
/**
|
|
1024
|
+
*
|
|
1025
|
+
* @type {string}
|
|
1026
|
+
* @memberof PaymentsApiGetInvoiceList
|
|
1027
|
+
*/
|
|
1028
|
+
readonly startingAfter?: string
|
|
1029
|
+
|
|
1030
|
+
/**
|
|
1031
|
+
*
|
|
1032
|
+
* @type {string}
|
|
1033
|
+
* @memberof PaymentsApiGetInvoiceList
|
|
1034
|
+
*/
|
|
1035
|
+
readonly endingBefore?: string
|
|
1036
|
+
|
|
1037
|
+
/**
|
|
1038
|
+
*
|
|
1039
|
+
* @type {number}
|
|
1040
|
+
* @memberof PaymentsApiGetInvoiceList
|
|
1041
|
+
*/
|
|
1042
|
+
readonly limit?: number
|
|
1043
|
+
|
|
1044
|
+
/**
|
|
1045
|
+
* Number of items per page
|
|
1046
|
+
* @type {number}
|
|
1047
|
+
* @memberof PaymentsApiGetInvoiceList
|
|
1048
|
+
*/
|
|
1049
|
+
readonly perPage?: number
|
|
1050
|
+
}
|
|
1051
|
+
|
|
1052
|
+
/**
|
|
1053
|
+
* Request parameters for getNextInvoice operation in PaymentsApi.
|
|
1054
|
+
* @export
|
|
1055
|
+
* @interface PaymentsApiGetNextInvoiceRequest
|
|
1056
|
+
*/
|
|
1057
|
+
export interface PaymentsApiGetNextInvoiceRequest {
|
|
1058
|
+
/**
|
|
1059
|
+
*
|
|
1060
|
+
* @type {string}
|
|
1061
|
+
* @memberof PaymentsApiGetNextInvoice
|
|
1062
|
+
*/
|
|
1063
|
+
readonly accountName: string
|
|
1064
|
+
}
|
|
1065
|
+
|
|
518
1066
|
/**
|
|
519
1067
|
* Request parameters for getSubscription operation in PaymentsApi.
|
|
520
1068
|
* @export
|
|
@@ -543,6 +1091,27 @@ export interface PaymentsApiListPaymentMethodsRequest {
|
|
|
543
1091
|
readonly accountName: string
|
|
544
1092
|
}
|
|
545
1093
|
|
|
1094
|
+
/**
|
|
1095
|
+
* Request parameters for updateSubscription operation in PaymentsApi.
|
|
1096
|
+
* @export
|
|
1097
|
+
* @interface PaymentsApiUpdateSubscriptionRequest
|
|
1098
|
+
*/
|
|
1099
|
+
export interface PaymentsApiUpdateSubscriptionRequest {
|
|
1100
|
+
/**
|
|
1101
|
+
*
|
|
1102
|
+
* @type {string}
|
|
1103
|
+
* @memberof PaymentsApiUpdateSubscription
|
|
1104
|
+
*/
|
|
1105
|
+
readonly accountName: string
|
|
1106
|
+
|
|
1107
|
+
/**
|
|
1108
|
+
*
|
|
1109
|
+
* @type {SubscriptionUpdate}
|
|
1110
|
+
* @memberof PaymentsApiUpdateSubscription
|
|
1111
|
+
*/
|
|
1112
|
+
readonly subscriptionUpdate: SubscriptionUpdate
|
|
1113
|
+
}
|
|
1114
|
+
|
|
546
1115
|
/**
|
|
547
1116
|
* PaymentsApi - object-oriented interface
|
|
548
1117
|
* @export
|
|
@@ -574,6 +1143,30 @@ export class PaymentsApi extends BaseAPI {
|
|
|
574
1143
|
return PaymentsApiFp(this.configuration).createSubscription(requestParameters.accountName, requestParameters.subscriptionCreate, options).then((request) => request(this.axios, this.basePath));
|
|
575
1144
|
}
|
|
576
1145
|
|
|
1146
|
+
/**
|
|
1147
|
+
*
|
|
1148
|
+
* @summary Get Default Payment Method
|
|
1149
|
+
* @param {PaymentsApiGetDefaultPaymentMethodRequest} requestParameters Request parameters.
|
|
1150
|
+
* @param {*} [options] Override http request option.
|
|
1151
|
+
* @throws {RequiredError}
|
|
1152
|
+
* @memberof PaymentsApi
|
|
1153
|
+
*/
|
|
1154
|
+
public getDefaultPaymentMethod(requestParameters: PaymentsApiGetDefaultPaymentMethodRequest, options?: any) {
|
|
1155
|
+
return PaymentsApiFp(this.configuration).getDefaultPaymentMethod(requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1158
|
+
/**
|
|
1159
|
+
*
|
|
1160
|
+
* @summary Get Failed Payment
|
|
1161
|
+
* @param {PaymentsApiGetFailedPaymentRequest} requestParameters Request parameters.
|
|
1162
|
+
* @param {*} [options] Override http request option.
|
|
1163
|
+
* @throws {RequiredError}
|
|
1164
|
+
* @memberof PaymentsApi
|
|
1165
|
+
*/
|
|
1166
|
+
public getFailedPayment(requestParameters: PaymentsApiGetFailedPaymentRequest, options?: any) {
|
|
1167
|
+
return PaymentsApiFp(this.configuration).getFailedPayment(requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
1168
|
+
}
|
|
1169
|
+
|
|
577
1170
|
/**
|
|
578
1171
|
*
|
|
579
1172
|
* @summary Get Inventory
|
|
@@ -585,6 +1178,30 @@ export class PaymentsApi extends BaseAPI {
|
|
|
585
1178
|
return PaymentsApiFp(this.configuration).getInventory(options).then((request) => request(this.axios, this.basePath));
|
|
586
1179
|
}
|
|
587
1180
|
|
|
1181
|
+
/**
|
|
1182
|
+
*
|
|
1183
|
+
* @summary Get Invoice List
|
|
1184
|
+
* @param {PaymentsApiGetInvoiceListRequest} requestParameters Request parameters.
|
|
1185
|
+
* @param {*} [options] Override http request option.
|
|
1186
|
+
* @throws {RequiredError}
|
|
1187
|
+
* @memberof PaymentsApi
|
|
1188
|
+
*/
|
|
1189
|
+
public getInvoiceList(requestParameters: PaymentsApiGetInvoiceListRequest, options?: any) {
|
|
1190
|
+
return PaymentsApiFp(this.configuration).getInvoiceList(requestParameters.accountName, requestParameters.startingAfter, requestParameters.endingBefore, requestParameters.limit, requestParameters.perPage, options).then((request) => request(this.axios, this.basePath));
|
|
1191
|
+
}
|
|
1192
|
+
|
|
1193
|
+
/**
|
|
1194
|
+
*
|
|
1195
|
+
* @summary Get Next Invoice
|
|
1196
|
+
* @param {PaymentsApiGetNextInvoiceRequest} requestParameters Request parameters.
|
|
1197
|
+
* @param {*} [options] Override http request option.
|
|
1198
|
+
* @throws {RequiredError}
|
|
1199
|
+
* @memberof PaymentsApi
|
|
1200
|
+
*/
|
|
1201
|
+
public getNextInvoice(requestParameters: PaymentsApiGetNextInvoiceRequest, options?: any) {
|
|
1202
|
+
return PaymentsApiFp(this.configuration).getNextInvoice(requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
1203
|
+
}
|
|
1204
|
+
|
|
588
1205
|
/**
|
|
589
1206
|
*
|
|
590
1207
|
* @summary Get Subscription
|
|
@@ -608,4 +1225,16 @@ export class PaymentsApi extends BaseAPI {
|
|
|
608
1225
|
public listPaymentMethods(requestParameters: PaymentsApiListPaymentMethodsRequest, options?: any) {
|
|
609
1226
|
return PaymentsApiFp(this.configuration).listPaymentMethods(requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
610
1227
|
}
|
|
1228
|
+
|
|
1229
|
+
/**
|
|
1230
|
+
*
|
|
1231
|
+
* @summary Update Subscription
|
|
1232
|
+
* @param {PaymentsApiUpdateSubscriptionRequest} requestParameters Request parameters.
|
|
1233
|
+
* @param {*} [options] Override http request option.
|
|
1234
|
+
* @throws {RequiredError}
|
|
1235
|
+
* @memberof PaymentsApi
|
|
1236
|
+
*/
|
|
1237
|
+
public updateSubscription(requestParameters: PaymentsApiUpdateSubscriptionRequest, options?: any) {
|
|
1238
|
+
return PaymentsApiFp(this.configuration).updateSubscription(requestParameters.accountName, requestParameters.subscriptionUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
1239
|
+
}
|
|
611
1240
|
}
|