@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/dist/api/payments-api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* pollination-server
|
|
6
6
|
* Pollination Server OpenAPI Definition
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.18.0-beta.
|
|
8
|
+
* The version of the OpenAPI document: 0.18.0-beta.6
|
|
9
9
|
* Contact: info@pollination.cloud
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -155,6 +155,112 @@ const PaymentsApiAxiosParamCreator = function (configuration) {
|
|
|
155
155
|
options: localVarRequestOptions,
|
|
156
156
|
};
|
|
157
157
|
}),
|
|
158
|
+
/**
|
|
159
|
+
*
|
|
160
|
+
* @summary Get Default Payment Method
|
|
161
|
+
* @param {string} accountName
|
|
162
|
+
* @param {*} [options] Override http request option.
|
|
163
|
+
* @throws {RequiredError}
|
|
164
|
+
*/
|
|
165
|
+
getDefaultPaymentMethod: (accountName, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
166
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
167
|
+
if (accountName === null || accountName === undefined) {
|
|
168
|
+
throw new base_1.RequiredError('accountName', 'Required parameter accountName was null or undefined when calling getDefaultPaymentMethod.');
|
|
169
|
+
}
|
|
170
|
+
const localVarPath = `/payments/{account_name}/methods/default`
|
|
171
|
+
.replace(`{${"account_name"}}`, encodeURIComponent(String(accountName)));
|
|
172
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
173
|
+
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
174
|
+
let baseOptions;
|
|
175
|
+
if (configuration) {
|
|
176
|
+
baseOptions = configuration.baseOptions;
|
|
177
|
+
}
|
|
178
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
179
|
+
const localVarHeaderParameter = {};
|
|
180
|
+
const localVarQueryParameter = {};
|
|
181
|
+
// authentication APIKeyAuth required
|
|
182
|
+
if (configuration && configuration.apiKey) {
|
|
183
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
184
|
+
? yield configuration.apiKey("x-pollination-token")
|
|
185
|
+
: yield configuration.apiKey;
|
|
186
|
+
localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
|
|
187
|
+
}
|
|
188
|
+
// authentication JWTAuth required
|
|
189
|
+
// http bearer authentication required
|
|
190
|
+
if (configuration && configuration.accessToken) {
|
|
191
|
+
const accessToken = typeof configuration.accessToken === 'function'
|
|
192
|
+
? yield configuration.accessToken()
|
|
193
|
+
: yield configuration.accessToken;
|
|
194
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
195
|
+
}
|
|
196
|
+
const query = new URLSearchParams(localVarUrlObj.search);
|
|
197
|
+
for (const key in localVarQueryParameter) {
|
|
198
|
+
query.set(key, localVarQueryParameter[key]);
|
|
199
|
+
}
|
|
200
|
+
for (const key in options.query) {
|
|
201
|
+
query.set(key, options.query[key]);
|
|
202
|
+
}
|
|
203
|
+
localVarUrlObj.search = (new URLSearchParams(query)).toString();
|
|
204
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
205
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
206
|
+
return {
|
|
207
|
+
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
|
208
|
+
options: localVarRequestOptions,
|
|
209
|
+
};
|
|
210
|
+
}),
|
|
211
|
+
/**
|
|
212
|
+
*
|
|
213
|
+
* @summary Get Failed Payment
|
|
214
|
+
* @param {string} accountName
|
|
215
|
+
* @param {*} [options] Override http request option.
|
|
216
|
+
* @throws {RequiredError}
|
|
217
|
+
*/
|
|
218
|
+
getFailedPayment: (accountName, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
219
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
220
|
+
if (accountName === null || accountName === undefined) {
|
|
221
|
+
throw new base_1.RequiredError('accountName', 'Required parameter accountName was null or undefined when calling getFailedPayment.');
|
|
222
|
+
}
|
|
223
|
+
const localVarPath = `/payments/{account_name}/failed`
|
|
224
|
+
.replace(`{${"account_name"}}`, encodeURIComponent(String(accountName)));
|
|
225
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
226
|
+
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
227
|
+
let baseOptions;
|
|
228
|
+
if (configuration) {
|
|
229
|
+
baseOptions = configuration.baseOptions;
|
|
230
|
+
}
|
|
231
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
232
|
+
const localVarHeaderParameter = {};
|
|
233
|
+
const localVarQueryParameter = {};
|
|
234
|
+
// authentication APIKeyAuth required
|
|
235
|
+
if (configuration && configuration.apiKey) {
|
|
236
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
237
|
+
? yield configuration.apiKey("x-pollination-token")
|
|
238
|
+
: yield configuration.apiKey;
|
|
239
|
+
localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
|
|
240
|
+
}
|
|
241
|
+
// authentication JWTAuth required
|
|
242
|
+
// http bearer authentication required
|
|
243
|
+
if (configuration && configuration.accessToken) {
|
|
244
|
+
const accessToken = typeof configuration.accessToken === 'function'
|
|
245
|
+
? yield configuration.accessToken()
|
|
246
|
+
: yield configuration.accessToken;
|
|
247
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
248
|
+
}
|
|
249
|
+
const query = new URLSearchParams(localVarUrlObj.search);
|
|
250
|
+
for (const key in localVarQueryParameter) {
|
|
251
|
+
query.set(key, localVarQueryParameter[key]);
|
|
252
|
+
}
|
|
253
|
+
for (const key in options.query) {
|
|
254
|
+
query.set(key, options.query[key]);
|
|
255
|
+
}
|
|
256
|
+
localVarUrlObj.search = (new URLSearchParams(query)).toString();
|
|
257
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
258
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
259
|
+
return {
|
|
260
|
+
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
|
261
|
+
options: localVarRequestOptions,
|
|
262
|
+
};
|
|
263
|
+
}),
|
|
158
264
|
/**
|
|
159
265
|
*
|
|
160
266
|
* @summary Get Inventory
|
|
@@ -187,6 +293,128 @@ const PaymentsApiAxiosParamCreator = function (configuration) {
|
|
|
187
293
|
options: localVarRequestOptions,
|
|
188
294
|
};
|
|
189
295
|
}),
|
|
296
|
+
/**
|
|
297
|
+
*
|
|
298
|
+
* @summary Get Invoice List
|
|
299
|
+
* @param {string} accountName
|
|
300
|
+
* @param {string} [startingAfter]
|
|
301
|
+
* @param {string} [endingBefore]
|
|
302
|
+
* @param {number} [limit]
|
|
303
|
+
* @param {number} [perPage] Number of items per page
|
|
304
|
+
* @param {*} [options] Override http request option.
|
|
305
|
+
* @throws {RequiredError}
|
|
306
|
+
*/
|
|
307
|
+
getInvoiceList: (accountName, startingAfter, endingBefore, limit, perPage, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
308
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
309
|
+
if (accountName === null || accountName === undefined) {
|
|
310
|
+
throw new base_1.RequiredError('accountName', 'Required parameter accountName was null or undefined when calling getInvoiceList.');
|
|
311
|
+
}
|
|
312
|
+
const localVarPath = `/payments/{account_name}/invoices`
|
|
313
|
+
.replace(`{${"account_name"}}`, encodeURIComponent(String(accountName)));
|
|
314
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
315
|
+
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
316
|
+
let baseOptions;
|
|
317
|
+
if (configuration) {
|
|
318
|
+
baseOptions = configuration.baseOptions;
|
|
319
|
+
}
|
|
320
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
321
|
+
const localVarHeaderParameter = {};
|
|
322
|
+
const localVarQueryParameter = {};
|
|
323
|
+
// authentication APIKeyAuth required
|
|
324
|
+
if (configuration && configuration.apiKey) {
|
|
325
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
326
|
+
? yield configuration.apiKey("x-pollination-token")
|
|
327
|
+
: yield configuration.apiKey;
|
|
328
|
+
localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
|
|
329
|
+
}
|
|
330
|
+
// authentication JWTAuth required
|
|
331
|
+
// http bearer authentication required
|
|
332
|
+
if (configuration && configuration.accessToken) {
|
|
333
|
+
const accessToken = typeof configuration.accessToken === 'function'
|
|
334
|
+
? yield configuration.accessToken()
|
|
335
|
+
: yield configuration.accessToken;
|
|
336
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
337
|
+
}
|
|
338
|
+
if (startingAfter !== undefined) {
|
|
339
|
+
localVarQueryParameter['starting_after'] = startingAfter;
|
|
340
|
+
}
|
|
341
|
+
if (endingBefore !== undefined) {
|
|
342
|
+
localVarQueryParameter['ending_before'] = endingBefore;
|
|
343
|
+
}
|
|
344
|
+
if (limit !== undefined) {
|
|
345
|
+
localVarQueryParameter['limit'] = limit;
|
|
346
|
+
}
|
|
347
|
+
if (perPage !== undefined) {
|
|
348
|
+
localVarQueryParameter['per-page'] = perPage;
|
|
349
|
+
}
|
|
350
|
+
const query = new URLSearchParams(localVarUrlObj.search);
|
|
351
|
+
for (const key in localVarQueryParameter) {
|
|
352
|
+
query.set(key, localVarQueryParameter[key]);
|
|
353
|
+
}
|
|
354
|
+
for (const key in options.query) {
|
|
355
|
+
query.set(key, options.query[key]);
|
|
356
|
+
}
|
|
357
|
+
localVarUrlObj.search = (new URLSearchParams(query)).toString();
|
|
358
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
359
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
360
|
+
return {
|
|
361
|
+
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
|
362
|
+
options: localVarRequestOptions,
|
|
363
|
+
};
|
|
364
|
+
}),
|
|
365
|
+
/**
|
|
366
|
+
*
|
|
367
|
+
* @summary Get Next Invoice
|
|
368
|
+
* @param {string} accountName
|
|
369
|
+
* @param {*} [options] Override http request option.
|
|
370
|
+
* @throws {RequiredError}
|
|
371
|
+
*/
|
|
372
|
+
getNextInvoice: (accountName, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
373
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
374
|
+
if (accountName === null || accountName === undefined) {
|
|
375
|
+
throw new base_1.RequiredError('accountName', 'Required parameter accountName was null or undefined when calling getNextInvoice.');
|
|
376
|
+
}
|
|
377
|
+
const localVarPath = `/payments/{account_name}/invoices/next`
|
|
378
|
+
.replace(`{${"account_name"}}`, encodeURIComponent(String(accountName)));
|
|
379
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
380
|
+
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
381
|
+
let baseOptions;
|
|
382
|
+
if (configuration) {
|
|
383
|
+
baseOptions = configuration.baseOptions;
|
|
384
|
+
}
|
|
385
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
386
|
+
const localVarHeaderParameter = {};
|
|
387
|
+
const localVarQueryParameter = {};
|
|
388
|
+
// authentication APIKeyAuth required
|
|
389
|
+
if (configuration && configuration.apiKey) {
|
|
390
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
391
|
+
? yield configuration.apiKey("x-pollination-token")
|
|
392
|
+
: yield configuration.apiKey;
|
|
393
|
+
localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
|
|
394
|
+
}
|
|
395
|
+
// authentication JWTAuth required
|
|
396
|
+
// http bearer authentication required
|
|
397
|
+
if (configuration && configuration.accessToken) {
|
|
398
|
+
const accessToken = typeof configuration.accessToken === 'function'
|
|
399
|
+
? yield configuration.accessToken()
|
|
400
|
+
: yield configuration.accessToken;
|
|
401
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
402
|
+
}
|
|
403
|
+
const query = new URLSearchParams(localVarUrlObj.search);
|
|
404
|
+
for (const key in localVarQueryParameter) {
|
|
405
|
+
query.set(key, localVarQueryParameter[key]);
|
|
406
|
+
}
|
|
407
|
+
for (const key in options.query) {
|
|
408
|
+
query.set(key, options.query[key]);
|
|
409
|
+
}
|
|
410
|
+
localVarUrlObj.search = (new URLSearchParams(query)).toString();
|
|
411
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
412
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
413
|
+
return {
|
|
414
|
+
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
|
415
|
+
options: localVarRequestOptions,
|
|
416
|
+
};
|
|
417
|
+
}),
|
|
190
418
|
/**
|
|
191
419
|
*
|
|
192
420
|
* @summary Get Subscription
|
|
@@ -293,6 +521,67 @@ const PaymentsApiAxiosParamCreator = function (configuration) {
|
|
|
293
521
|
options: localVarRequestOptions,
|
|
294
522
|
};
|
|
295
523
|
}),
|
|
524
|
+
/**
|
|
525
|
+
*
|
|
526
|
+
* @summary Update Subscription
|
|
527
|
+
* @param {string} accountName
|
|
528
|
+
* @param {SubscriptionUpdate} subscriptionUpdate
|
|
529
|
+
* @param {*} [options] Override http request option.
|
|
530
|
+
* @throws {RequiredError}
|
|
531
|
+
*/
|
|
532
|
+
updateSubscription: (accountName, subscriptionUpdate, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
533
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
534
|
+
if (accountName === null || accountName === undefined) {
|
|
535
|
+
throw new base_1.RequiredError('accountName', 'Required parameter accountName was null or undefined when calling updateSubscription.');
|
|
536
|
+
}
|
|
537
|
+
// verify required parameter 'subscriptionUpdate' is not null or undefined
|
|
538
|
+
if (subscriptionUpdate === null || subscriptionUpdate === undefined) {
|
|
539
|
+
throw new base_1.RequiredError('subscriptionUpdate', 'Required parameter subscriptionUpdate was null or undefined when calling updateSubscription.');
|
|
540
|
+
}
|
|
541
|
+
const localVarPath = `/payments/{account_name}/subscription`
|
|
542
|
+
.replace(`{${"account_name"}}`, encodeURIComponent(String(accountName)));
|
|
543
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
544
|
+
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
545
|
+
let baseOptions;
|
|
546
|
+
if (configuration) {
|
|
547
|
+
baseOptions = configuration.baseOptions;
|
|
548
|
+
}
|
|
549
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
550
|
+
const localVarHeaderParameter = {};
|
|
551
|
+
const localVarQueryParameter = {};
|
|
552
|
+
// authentication APIKeyAuth required
|
|
553
|
+
if (configuration && configuration.apiKey) {
|
|
554
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
555
|
+
? yield configuration.apiKey("x-pollination-token")
|
|
556
|
+
: yield configuration.apiKey;
|
|
557
|
+
localVarHeaderParameter["x-pollination-token"] = localVarApiKeyValue;
|
|
558
|
+
}
|
|
559
|
+
// authentication JWTAuth required
|
|
560
|
+
// http bearer authentication required
|
|
561
|
+
if (configuration && configuration.accessToken) {
|
|
562
|
+
const accessToken = typeof configuration.accessToken === 'function'
|
|
563
|
+
? yield configuration.accessToken()
|
|
564
|
+
: yield configuration.accessToken;
|
|
565
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
566
|
+
}
|
|
567
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
568
|
+
const query = new URLSearchParams(localVarUrlObj.search);
|
|
569
|
+
for (const key in localVarQueryParameter) {
|
|
570
|
+
query.set(key, localVarQueryParameter[key]);
|
|
571
|
+
}
|
|
572
|
+
for (const key in options.query) {
|
|
573
|
+
query.set(key, options.query[key]);
|
|
574
|
+
}
|
|
575
|
+
localVarUrlObj.search = (new URLSearchParams(query)).toString();
|
|
576
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
577
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
578
|
+
const needsSerialization = (typeof subscriptionUpdate !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
579
|
+
localVarRequestOptions.data = needsSerialization ? JSON.stringify(subscriptionUpdate !== undefined ? subscriptionUpdate : {}) : (subscriptionUpdate || "");
|
|
580
|
+
return {
|
|
581
|
+
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
|
582
|
+
options: localVarRequestOptions,
|
|
583
|
+
};
|
|
584
|
+
}),
|
|
296
585
|
};
|
|
297
586
|
};
|
|
298
587
|
exports.PaymentsApiAxiosParamCreator = PaymentsApiAxiosParamCreator;
|
|
@@ -336,6 +625,38 @@ const PaymentsApiFp = function (configuration) {
|
|
|
336
625
|
};
|
|
337
626
|
});
|
|
338
627
|
},
|
|
628
|
+
/**
|
|
629
|
+
*
|
|
630
|
+
* @summary Get Default Payment Method
|
|
631
|
+
* @param {string} accountName
|
|
632
|
+
* @param {*} [options] Override http request option.
|
|
633
|
+
* @throws {RequiredError}
|
|
634
|
+
*/
|
|
635
|
+
getDefaultPaymentMethod(accountName, options) {
|
|
636
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
637
|
+
const localVarAxiosArgs = yield (0, exports.PaymentsApiAxiosParamCreator)(configuration).getDefaultPaymentMethod(accountName, options);
|
|
638
|
+
return (axios = axios_1.default, basePath = base_1.BASE_PATH) => {
|
|
639
|
+
const axiosRequestArgs = Object.assign(Object.assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
640
|
+
return axios.request(axiosRequestArgs);
|
|
641
|
+
};
|
|
642
|
+
});
|
|
643
|
+
},
|
|
644
|
+
/**
|
|
645
|
+
*
|
|
646
|
+
* @summary Get Failed Payment
|
|
647
|
+
* @param {string} accountName
|
|
648
|
+
* @param {*} [options] Override http request option.
|
|
649
|
+
* @throws {RequiredError}
|
|
650
|
+
*/
|
|
651
|
+
getFailedPayment(accountName, options) {
|
|
652
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
653
|
+
const localVarAxiosArgs = yield (0, exports.PaymentsApiAxiosParamCreator)(configuration).getFailedPayment(accountName, options);
|
|
654
|
+
return (axios = axios_1.default, basePath = base_1.BASE_PATH) => {
|
|
655
|
+
const axiosRequestArgs = Object.assign(Object.assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
656
|
+
return axios.request(axiosRequestArgs);
|
|
657
|
+
};
|
|
658
|
+
});
|
|
659
|
+
},
|
|
339
660
|
/**
|
|
340
661
|
*
|
|
341
662
|
* @summary Get Inventory
|
|
@@ -351,6 +672,42 @@ const PaymentsApiFp = function (configuration) {
|
|
|
351
672
|
};
|
|
352
673
|
});
|
|
353
674
|
},
|
|
675
|
+
/**
|
|
676
|
+
*
|
|
677
|
+
* @summary Get Invoice List
|
|
678
|
+
* @param {string} accountName
|
|
679
|
+
* @param {string} [startingAfter]
|
|
680
|
+
* @param {string} [endingBefore]
|
|
681
|
+
* @param {number} [limit]
|
|
682
|
+
* @param {number} [perPage] Number of items per page
|
|
683
|
+
* @param {*} [options] Override http request option.
|
|
684
|
+
* @throws {RequiredError}
|
|
685
|
+
*/
|
|
686
|
+
getInvoiceList(accountName, startingAfter, endingBefore, limit, perPage, options) {
|
|
687
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
688
|
+
const localVarAxiosArgs = yield (0, exports.PaymentsApiAxiosParamCreator)(configuration).getInvoiceList(accountName, startingAfter, endingBefore, limit, perPage, options);
|
|
689
|
+
return (axios = axios_1.default, basePath = base_1.BASE_PATH) => {
|
|
690
|
+
const axiosRequestArgs = Object.assign(Object.assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
691
|
+
return axios.request(axiosRequestArgs);
|
|
692
|
+
};
|
|
693
|
+
});
|
|
694
|
+
},
|
|
695
|
+
/**
|
|
696
|
+
*
|
|
697
|
+
* @summary Get Next Invoice
|
|
698
|
+
* @param {string} accountName
|
|
699
|
+
* @param {*} [options] Override http request option.
|
|
700
|
+
* @throws {RequiredError}
|
|
701
|
+
*/
|
|
702
|
+
getNextInvoice(accountName, options) {
|
|
703
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
704
|
+
const localVarAxiosArgs = yield (0, exports.PaymentsApiAxiosParamCreator)(configuration).getNextInvoice(accountName, options);
|
|
705
|
+
return (axios = axios_1.default, basePath = base_1.BASE_PATH) => {
|
|
706
|
+
const axiosRequestArgs = Object.assign(Object.assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
707
|
+
return axios.request(axiosRequestArgs);
|
|
708
|
+
};
|
|
709
|
+
});
|
|
710
|
+
},
|
|
354
711
|
/**
|
|
355
712
|
*
|
|
356
713
|
* @summary Get Subscription
|
|
@@ -383,6 +740,23 @@ const PaymentsApiFp = function (configuration) {
|
|
|
383
740
|
};
|
|
384
741
|
});
|
|
385
742
|
},
|
|
743
|
+
/**
|
|
744
|
+
*
|
|
745
|
+
* @summary Update Subscription
|
|
746
|
+
* @param {string} accountName
|
|
747
|
+
* @param {SubscriptionUpdate} subscriptionUpdate
|
|
748
|
+
* @param {*} [options] Override http request option.
|
|
749
|
+
* @throws {RequiredError}
|
|
750
|
+
*/
|
|
751
|
+
updateSubscription(accountName, subscriptionUpdate, options) {
|
|
752
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
753
|
+
const localVarAxiosArgs = yield (0, exports.PaymentsApiAxiosParamCreator)(configuration).updateSubscription(accountName, subscriptionUpdate, options);
|
|
754
|
+
return (axios = axios_1.default, basePath = base_1.BASE_PATH) => {
|
|
755
|
+
const axiosRequestArgs = Object.assign(Object.assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
756
|
+
return axios.request(axiosRequestArgs);
|
|
757
|
+
};
|
|
758
|
+
});
|
|
759
|
+
},
|
|
386
760
|
};
|
|
387
761
|
};
|
|
388
762
|
exports.PaymentsApiFp = PaymentsApiFp;
|
|
@@ -414,6 +788,26 @@ const PaymentsApiFactory = function (configuration, basePath, axios) {
|
|
|
414
788
|
createSubscription(accountName, subscriptionCreate, options) {
|
|
415
789
|
return (0, exports.PaymentsApiFp)(configuration).createSubscription(accountName, subscriptionCreate, options).then((request) => request(axios, basePath));
|
|
416
790
|
},
|
|
791
|
+
/**
|
|
792
|
+
*
|
|
793
|
+
* @summary Get Default Payment Method
|
|
794
|
+
* @param {string} accountName
|
|
795
|
+
* @param {*} [options] Override http request option.
|
|
796
|
+
* @throws {RequiredError}
|
|
797
|
+
*/
|
|
798
|
+
getDefaultPaymentMethod(accountName, options) {
|
|
799
|
+
return (0, exports.PaymentsApiFp)(configuration).getDefaultPaymentMethod(accountName, options).then((request) => request(axios, basePath));
|
|
800
|
+
},
|
|
801
|
+
/**
|
|
802
|
+
*
|
|
803
|
+
* @summary Get Failed Payment
|
|
804
|
+
* @param {string} accountName
|
|
805
|
+
* @param {*} [options] Override http request option.
|
|
806
|
+
* @throws {RequiredError}
|
|
807
|
+
*/
|
|
808
|
+
getFailedPayment(accountName, options) {
|
|
809
|
+
return (0, exports.PaymentsApiFp)(configuration).getFailedPayment(accountName, options).then((request) => request(axios, basePath));
|
|
810
|
+
},
|
|
417
811
|
/**
|
|
418
812
|
*
|
|
419
813
|
* @summary Get Inventory
|
|
@@ -423,6 +817,30 @@ const PaymentsApiFactory = function (configuration, basePath, axios) {
|
|
|
423
817
|
getInventory(options) {
|
|
424
818
|
return (0, exports.PaymentsApiFp)(configuration).getInventory(options).then((request) => request(axios, basePath));
|
|
425
819
|
},
|
|
820
|
+
/**
|
|
821
|
+
*
|
|
822
|
+
* @summary Get Invoice List
|
|
823
|
+
* @param {string} accountName
|
|
824
|
+
* @param {string} [startingAfter]
|
|
825
|
+
* @param {string} [endingBefore]
|
|
826
|
+
* @param {number} [limit]
|
|
827
|
+
* @param {number} [perPage] Number of items per page
|
|
828
|
+
* @param {*} [options] Override http request option.
|
|
829
|
+
* @throws {RequiredError}
|
|
830
|
+
*/
|
|
831
|
+
getInvoiceList(accountName, startingAfter, endingBefore, limit, perPage, options) {
|
|
832
|
+
return (0, exports.PaymentsApiFp)(configuration).getInvoiceList(accountName, startingAfter, endingBefore, limit, perPage, options).then((request) => request(axios, basePath));
|
|
833
|
+
},
|
|
834
|
+
/**
|
|
835
|
+
*
|
|
836
|
+
* @summary Get Next Invoice
|
|
837
|
+
* @param {string} accountName
|
|
838
|
+
* @param {*} [options] Override http request option.
|
|
839
|
+
* @throws {RequiredError}
|
|
840
|
+
*/
|
|
841
|
+
getNextInvoice(accountName, options) {
|
|
842
|
+
return (0, exports.PaymentsApiFp)(configuration).getNextInvoice(accountName, options).then((request) => request(axios, basePath));
|
|
843
|
+
},
|
|
426
844
|
/**
|
|
427
845
|
*
|
|
428
846
|
* @summary Get Subscription
|
|
@@ -443,6 +861,17 @@ const PaymentsApiFactory = function (configuration, basePath, axios) {
|
|
|
443
861
|
listPaymentMethods(accountName, options) {
|
|
444
862
|
return (0, exports.PaymentsApiFp)(configuration).listPaymentMethods(accountName, options).then((request) => request(axios, basePath));
|
|
445
863
|
},
|
|
864
|
+
/**
|
|
865
|
+
*
|
|
866
|
+
* @summary Update Subscription
|
|
867
|
+
* @param {string} accountName
|
|
868
|
+
* @param {SubscriptionUpdate} subscriptionUpdate
|
|
869
|
+
* @param {*} [options] Override http request option.
|
|
870
|
+
* @throws {RequiredError}
|
|
871
|
+
*/
|
|
872
|
+
updateSubscription(accountName, subscriptionUpdate, options) {
|
|
873
|
+
return (0, exports.PaymentsApiFp)(configuration).updateSubscription(accountName, subscriptionUpdate, options).then((request) => request(axios, basePath));
|
|
874
|
+
},
|
|
446
875
|
};
|
|
447
876
|
};
|
|
448
877
|
exports.PaymentsApiFactory = PaymentsApiFactory;
|
|
@@ -475,6 +904,28 @@ class PaymentsApi extends base_1.BaseAPI {
|
|
|
475
904
|
createSubscription(requestParameters, options) {
|
|
476
905
|
return (0, exports.PaymentsApiFp)(this.configuration).createSubscription(requestParameters.accountName, requestParameters.subscriptionCreate, options).then((request) => request(this.axios, this.basePath));
|
|
477
906
|
}
|
|
907
|
+
/**
|
|
908
|
+
*
|
|
909
|
+
* @summary Get Default Payment Method
|
|
910
|
+
* @param {PaymentsApiGetDefaultPaymentMethodRequest} requestParameters Request parameters.
|
|
911
|
+
* @param {*} [options] Override http request option.
|
|
912
|
+
* @throws {RequiredError}
|
|
913
|
+
* @memberof PaymentsApi
|
|
914
|
+
*/
|
|
915
|
+
getDefaultPaymentMethod(requestParameters, options) {
|
|
916
|
+
return (0, exports.PaymentsApiFp)(this.configuration).getDefaultPaymentMethod(requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
917
|
+
}
|
|
918
|
+
/**
|
|
919
|
+
*
|
|
920
|
+
* @summary Get Failed Payment
|
|
921
|
+
* @param {PaymentsApiGetFailedPaymentRequest} requestParameters Request parameters.
|
|
922
|
+
* @param {*} [options] Override http request option.
|
|
923
|
+
* @throws {RequiredError}
|
|
924
|
+
* @memberof PaymentsApi
|
|
925
|
+
*/
|
|
926
|
+
getFailedPayment(requestParameters, options) {
|
|
927
|
+
return (0, exports.PaymentsApiFp)(this.configuration).getFailedPayment(requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
928
|
+
}
|
|
478
929
|
/**
|
|
479
930
|
*
|
|
480
931
|
* @summary Get Inventory
|
|
@@ -485,6 +936,28 @@ class PaymentsApi extends base_1.BaseAPI {
|
|
|
485
936
|
getInventory(options) {
|
|
486
937
|
return (0, exports.PaymentsApiFp)(this.configuration).getInventory(options).then((request) => request(this.axios, this.basePath));
|
|
487
938
|
}
|
|
939
|
+
/**
|
|
940
|
+
*
|
|
941
|
+
* @summary Get Invoice List
|
|
942
|
+
* @param {PaymentsApiGetInvoiceListRequest} requestParameters Request parameters.
|
|
943
|
+
* @param {*} [options] Override http request option.
|
|
944
|
+
* @throws {RequiredError}
|
|
945
|
+
* @memberof PaymentsApi
|
|
946
|
+
*/
|
|
947
|
+
getInvoiceList(requestParameters, options) {
|
|
948
|
+
return (0, exports.PaymentsApiFp)(this.configuration).getInvoiceList(requestParameters.accountName, requestParameters.startingAfter, requestParameters.endingBefore, requestParameters.limit, requestParameters.perPage, options).then((request) => request(this.axios, this.basePath));
|
|
949
|
+
}
|
|
950
|
+
/**
|
|
951
|
+
*
|
|
952
|
+
* @summary Get Next Invoice
|
|
953
|
+
* @param {PaymentsApiGetNextInvoiceRequest} requestParameters Request parameters.
|
|
954
|
+
* @param {*} [options] Override http request option.
|
|
955
|
+
* @throws {RequiredError}
|
|
956
|
+
* @memberof PaymentsApi
|
|
957
|
+
*/
|
|
958
|
+
getNextInvoice(requestParameters, options) {
|
|
959
|
+
return (0, exports.PaymentsApiFp)(this.configuration).getNextInvoice(requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
960
|
+
}
|
|
488
961
|
/**
|
|
489
962
|
*
|
|
490
963
|
* @summary Get Subscription
|
|
@@ -507,5 +980,16 @@ class PaymentsApi extends base_1.BaseAPI {
|
|
|
507
980
|
listPaymentMethods(requestParameters, options) {
|
|
508
981
|
return (0, exports.PaymentsApiFp)(this.configuration).listPaymentMethods(requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
509
982
|
}
|
|
983
|
+
/**
|
|
984
|
+
*
|
|
985
|
+
* @summary Update Subscription
|
|
986
|
+
* @param {PaymentsApiUpdateSubscriptionRequest} requestParameters Request parameters.
|
|
987
|
+
* @param {*} [options] Override http request option.
|
|
988
|
+
* @throws {RequiredError}
|
|
989
|
+
* @memberof PaymentsApi
|
|
990
|
+
*/
|
|
991
|
+
updateSubscription(requestParameters, options) {
|
|
992
|
+
return (0, exports.PaymentsApiFp)(this.configuration).updateSubscription(requestParameters.accountName, requestParameters.subscriptionUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
993
|
+
}
|
|
510
994
|
}
|
|
511
995
|
exports.PaymentsApi = PaymentsApi;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* pollination-server
|
|
3
3
|
* Pollination Server OpenAPI Definition
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.18.0-beta.
|
|
5
|
+
* The version of the OpenAPI document: 0.18.0-beta.6
|
|
6
6
|
* Contact: info@pollination.cloud
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/api/plugins-api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* pollination-server
|
|
6
6
|
* Pollination Server OpenAPI Definition
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.18.0-beta.
|
|
8
|
+
* The version of the OpenAPI document: 0.18.0-beta.6
|
|
9
9
|
* Contact: info@pollination.cloud
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* pollination-server
|
|
3
3
|
* Pollination Server OpenAPI Definition
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.18.0-beta.
|
|
5
|
+
* The version of the OpenAPI document: 0.18.0-beta.6
|
|
6
6
|
* Contact: info@pollination.cloud
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/api/projects-api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* pollination-server
|
|
6
6
|
* Pollination Server OpenAPI Definition
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.18.0-beta.
|
|
8
|
+
* The version of the OpenAPI document: 0.18.0-beta.6
|
|
9
9
|
* Contact: info@pollination.cloud
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* pollination-server
|
|
3
3
|
* Pollination Server OpenAPI Definition
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.18.0-beta.
|
|
5
|
+
* The version of the OpenAPI document: 0.18.0-beta.6
|
|
6
6
|
* Contact: info@pollination.cloud
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/api/recipes-api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* pollination-server
|
|
6
6
|
* Pollination Server OpenAPI Definition
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.18.0-beta.
|
|
8
|
+
* The version of the OpenAPI document: 0.18.0-beta.6
|
|
9
9
|
* Contact: info@pollination.cloud
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* pollination-server
|
|
3
3
|
* Pollination Server OpenAPI Definition
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.18.0-beta.
|
|
5
|
+
* The version of the OpenAPI document: 0.18.0-beta.6
|
|
6
6
|
* Contact: info@pollination.cloud
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* pollination-server
|
|
6
6
|
* Pollination Server OpenAPI Definition
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.18.0-beta.
|
|
8
|
+
* The version of the OpenAPI document: 0.18.0-beta.6
|
|
9
9
|
* Contact: info@pollination.cloud
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/api/runs-api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* pollination-server
|
|
3
3
|
* Pollination Server OpenAPI Definition
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.18.0-beta.
|
|
5
|
+
* The version of the OpenAPI document: 0.18.0-beta.6
|
|
6
6
|
* Contact: info@pollination.cloud
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/api/runs-api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* pollination-server
|
|
6
6
|
* Pollination Server OpenAPI Definition
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.18.0-beta.
|
|
8
|
+
* The version of the OpenAPI document: 0.18.0-beta.6
|
|
9
9
|
* Contact: info@pollination.cloud
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|