@aventurevc/api-schemas 0.7.302 → 0.7.328
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/README.md +7 -1
- package/dist/address/address.d.ts +1 -8
- package/dist/address/address.js +1 -8
- package/dist/address/association-role.d.ts +1 -8
- package/dist/address/association-role.js +1 -8
- package/dist/address/association.d.ts +1 -8
- package/dist/address/association.js +1 -8
- package/dist/address/city.d.ts +1 -8
- package/dist/address/city.js +1 -8
- package/dist/address/country.d.ts +1 -8
- package/dist/address/country.js +1 -8
- package/dist/address/state.d.ts +1 -8
- package/dist/address/state.js +1 -8
- package/dist/agent/help-question.d.ts +1 -0
- package/dist/agent/help-question.js +2 -1
- package/dist/agent/help.d.ts +1 -1
- package/dist/agent/help.js +1 -2
- package/dist/agent/instruction-detail.d.ts +2 -0
- package/dist/agent/instruction-detail.js +2 -0
- package/dist/agent/instruction-kind.d.ts +2 -0
- package/dist/agent/instruction-kind.js +2 -0
- package/dist/agent/instruction-manifest.d.ts +1 -0
- package/dist/agent/instruction-manifest.js +1 -0
- package/dist/agent/instruction-pointer.d.ts +1 -0
- package/dist/agent/instruction-pointer.js +1 -0
- package/dist/agent/instruction.d.ts +2 -0
- package/dist/agent/instruction.js +2 -0
- package/dist/{personal/api-key.d.ts → api/key.d.ts} +10 -10
- package/dist/{personal/api-key.js → api/key.js} +8 -8
- package/dist/auth/client.d.ts +1 -0
- package/dist/auth/client.js +2 -0
- package/dist/auth/provider-catalog.d.ts +1 -0
- package/dist/billing/additional-usage-funding-type.d.ts +16 -0
- package/dist/billing/additional-usage-funding-type.js +13 -0
- package/dist/billing/additional-usage-meter.d.ts +28 -0
- package/dist/billing/additional-usage-meter.js +20 -0
- package/dist/billing/additional-usage-type.d.ts +23 -0
- package/dist/billing/additional-usage-type.js +23 -0
- package/dist/billing/additional-usage.d.ts +38 -0
- package/dist/billing/additional-usage.js +35 -0
- package/dist/billing/catalog-additional-usage.d.ts +27 -0
- package/dist/billing/catalog-additional-usage.js +19 -0
- package/dist/billing/catalog-allowance.d.ts +26 -0
- package/dist/billing/catalog-allowance.js +25 -0
- package/dist/billing/catalog-credit-pack.d.ts +24 -0
- package/dist/billing/catalog-credit-pack.js +19 -0
- package/dist/billing/catalog-plan.d.ts +34 -0
- package/dist/billing/catalog-plan.js +25 -0
- package/dist/billing/catalog-tier.d.ts +32 -0
- package/dist/billing/catalog-tier.js +21 -0
- package/dist/billing/catalog.d.ts +63 -0
- package/dist/billing/catalog.js +24 -0
- package/dist/billing/checkout-mutation.d.ts +23 -0
- package/dist/billing/checkout-mutation.js +17 -0
- package/dist/billing/checkout.d.ts +25 -0
- package/dist/billing/checkout.js +18 -0
- package/dist/billing/credit-pack-type.d.ts +18 -0
- package/dist/billing/credit-pack-type.js +13 -0
- package/dist/billing/plan-type.d.ts +24 -0
- package/dist/billing/plan-type.js +24 -0
- package/dist/billing/portal.d.ts +17 -0
- package/dist/billing/portal.js +15 -0
- package/dist/billing/subscription.d.ts +150 -0
- package/dist/billing/subscription.js +36 -0
- package/dist/blog/post-type.d.ts +0 -1
- package/dist/blog/post-type.js +0 -1
- package/dist/blog/post.d.ts +0 -1
- package/dist/blog/post.js +1 -2
- package/dist/classification/classification.d.ts +1 -6
- package/dist/classification/classification.js +1 -6
- package/dist/cli/authorization-delivery.d.ts +1 -1
- package/dist/cli/authorization-delivery.js +2 -2
- package/dist/cli/authorization-poll.d.ts +1 -1
- package/dist/cli/authorization-terminal-reason.d.ts +1 -1
- package/dist/cli/authorization-terminal-reason.js +1 -1
- package/dist/cli/authorization.d.ts +1 -1
- package/dist/confidence/confidence.d.ts +3 -4
- package/dist/confidence/confidence.js +3 -4
- package/dist/content/compliance.d.ts +2 -5
- package/dist/content/compliance.js +2 -5
- package/dist/content/embedding-match.d.ts +2 -9
- package/dist/content/embedding-match.js +2 -9
- package/dist/content/source-type.d.ts +2 -9
- package/dist/content/source-type.js +2 -9
- package/dist/datasource/agent-identity.d.ts +1 -1
- package/dist/datasource/agent-identity.js +1 -1
- package/dist/datasource/data-source-type.d.ts +1 -1
- package/dist/datasource/data-source-type.js +1 -1
- package/dist/datasource/field-provenance.d.ts +1 -1
- package/dist/datasource/field-provenance.js +1 -1
- package/dist/datasource/provenance-actor-type.d.ts +1 -1
- package/dist/datasource/provenance-actor-type.js +1 -1
- package/dist/datasource/provenance-actor.d.ts +1 -1
- package/dist/datasource/provenance-actor.js +1 -1
- package/dist/datasource/provenance-field-change.d.ts +1 -1
- package/dist/datasource/provenance-field-change.js +1 -1
- package/dist/datasource/provenance-operation.d.ts +1 -1
- package/dist/datasource/provenance-operation.js +1 -1
- package/dist/datasource/provenance-source.d.ts +1 -1
- package/dist/datasource/provenance-source.js +1 -1
- package/dist/datasource/provenance-status.d.ts +1 -1
- package/dist/datasource/provenance-status.js +1 -1
- package/dist/datasource/source-metadata.d.ts +3 -26
- package/dist/datasource/source-metadata.js +3 -26
- package/dist/datasource/tracked-provenance-table.d.ts +1 -1
- package/dist/datasource/tracked-provenance-table.js +1 -1
- package/dist/decimal/range.d.ts +2 -4
- package/dist/decimal/range.js +2 -4
- package/dist/employee/count.d.ts +1 -1
- package/dist/employee/count.js +1 -1
- package/dist/entity/accelerator-participation.d.ts +1 -6
- package/dist/entity/accelerator-participation.js +1 -5
- package/dist/entity/acquisition.d.ts +0 -2
- package/dist/entity/alias-type.d.ts +5 -11
- package/dist/entity/alias-type.js +5 -11
- package/dist/entity/classification.d.ts +1 -5
- package/dist/entity/classification.js +1 -5
- package/dist/entity/comparison-signals.d.ts +0 -3
- package/dist/entity/comparison-signals.js +0 -3
- package/dist/entity/detail-batch.d.ts +0 -1
- package/dist/entity/detail-batch.js +0 -1
- package/dist/entity/detail.d.ts +4 -54
- package/dist/entity/detail.js +0 -3
- package/dist/entity/enrichment.d.ts +2 -5
- package/dist/entity/enrichment.js +1 -5
- package/dist/entity/entity.d.ts +6 -13
- package/dist/entity/entity.js +6 -14
- package/dist/entity/filter-count-meta.d.ts +0 -1
- package/dist/entity/filter-count-meta.js +0 -1
- package/dist/entity/filter-count-result.d.ts +0 -1
- package/dist/entity/filter-count-result.js +0 -1
- package/dist/entity/filter-logo-option.d.ts +3 -3
- package/dist/entity/filter-logo-option.js +2 -2
- package/dist/entity/filter-search-result.d.ts +0 -1
- package/dist/entity/filter-search-result.js +0 -1
- package/dist/entity/filter-search.d.ts +10 -3
- package/dist/entity/filter.d.ts +11 -4
- package/dist/entity/filter.js +4 -3
- package/dist/entity/filters-counts-param.d.ts +19 -0
- package/dist/entity/filters-counts-param.js +23 -0
- package/dist/entity/funding-detail.d.ts +2 -5
- package/dist/entity/funding-detail.js +3 -5
- package/dist/entity/fundraise-filter-criteria.d.ts +1 -1
- package/dist/entity/fundraise-filter-criteria.js +1 -1
- package/dist/entity/fundraise-investor-activity.d.ts +1 -1
- package/dist/entity/fundraise-investor-activity.js +1 -1
- package/dist/entity/fundraise-investor-join.d.ts +2 -2
- package/dist/entity/fundraise-investor-join.js +3 -3
- package/dist/entity/fundraise-transaction-entity.d.ts +2 -6
- package/dist/entity/fundraise-transaction-entity.js +1 -5
- package/dist/entity/fundraise-transaction.d.ts +2 -6
- package/dist/entity/fundraise-transaction.js +1 -5
- package/dist/entity/fundraise.d.ts +1 -7
- package/dist/entity/fundraise.js +1 -7
- package/dist/entity/image.d.ts +5 -11
- package/dist/entity/image.js +5 -11
- package/dist/entity/investments-param.js +1 -1
- package/dist/entity/investor-participation.d.ts +4 -51
- package/dist/entity/investors-param.js +1 -1
- package/dist/entity/list-filter.d.ts +12 -4
- package/dist/entity/list-filter.js +6 -4
- package/dist/entity/list-quality-gate.d.ts +1 -2
- package/dist/entity/list-quality-gate.js +1 -2
- package/dist/entity/list-research.d.ts +1 -11
- package/dist/entity/list-research.js +1 -3
- package/dist/entity/list-summary.d.ts +3 -3
- package/dist/entity/list.d.ts +5 -14
- package/dist/entity/list.js +1 -3
- package/dist/entity/logo-type.d.ts +1 -1
- package/dist/entity/logo-type.js +1 -1
- package/dist/entity/lookup-batch-param.d.ts +18 -0
- package/dist/entity/{detail-batch-param.js → lookup-batch-param.js} +7 -7
- package/dist/entity/lookup-param.js +3 -3
- package/dist/entity/name-alias-entity-alias-type.d.ts +5 -11
- package/dist/entity/name-alias-entity-alias-type.js +5 -11
- package/dist/entity/name-alias-person-alias-type.d.ts +1 -7
- package/dist/entity/name-alias-person-alias-type.js +1 -7
- package/dist/entity/natural-search.d.ts +11 -3
- package/dist/entity/natural-search.js +1 -0
- package/dist/entity/operating-status.d.ts +28 -0
- package/dist/entity/operating-status.js +28 -0
- package/dist/entity/people-param.d.ts +27 -0
- package/dist/entity/people-param.js +34 -0
- package/dist/entity/person-association.d.ts +0 -9
- package/dist/entity/person-association.js +0 -10
- package/dist/entity/person-owner.d.ts +1 -2
- package/dist/entity/person-owner.js +1 -2
- package/dist/entity/relationship.d.ts +0 -4
- package/dist/entity/relationship.js +0 -3
- package/dist/entity/research-detail.d.ts +3 -14
- package/dist/entity/research-detail.js +3 -11
- package/dist/entity/research-fact-value.d.ts +1 -1
- package/dist/entity/research-fact-value.js +1 -1
- package/dist/entity/research-snippet.d.ts +2 -9
- package/dist/entity/research-snippet.js +2 -12
- package/dist/entity/research-value-type.d.ts +4 -8
- package/dist/entity/research-value-type.js +4 -8
- package/dist/entity/research.d.ts +0 -15
- package/dist/entity/research.js +0 -3
- package/dist/entity/resolution.d.ts +4 -51
- package/dist/entity/search-param.js +2 -2
- package/dist/entity/similarity-context.d.ts +0 -1
- package/dist/entity/similarity-context.js +0 -1
- package/dist/entity/similarity-origin.d.ts +0 -1
- package/dist/entity/similarity-origin.js +0 -1
- package/dist/entity/similarity-result.d.ts +4 -13
- package/dist/entity/similarity-result.js +0 -1
- package/dist/entity/sitemap.d.ts +5 -11
- package/dist/entity/sitemap.js +5 -11
- package/dist/entity/suggestion-result.d.ts +4 -12
- package/dist/entity/suggestion.d.ts +4 -12
- package/dist/entity/tag-count.d.ts +0 -1
- package/dist/entity/tag-count.js +0 -1
- package/dist/entity/tag.d.ts +1 -7
- package/dist/entity/tag.js +1 -7
- package/dist/entity/text-bundle.d.ts +2 -9
- package/dist/entity/text-bundle.js +2 -9
- package/dist/entity/url-crawl-cdn-provider.d.ts +1 -10
- package/dist/entity/url-crawl-cdn-provider.js +1 -10
- package/dist/entity/url-crawl-render-mode.d.ts +1 -10
- package/dist/entity/url-crawl-render-mode.js +1 -10
- package/dist/entity/url-link.d.ts +1 -10
- package/dist/entity/url-link.js +1 -10
- package/dist/entity/url-type.d.ts +1 -10
- package/dist/entity/url-type.js +1 -10
- package/dist/entity/valuation-data-confidence.d.ts +1 -22
- package/dist/entity/valuation-data-confidence.js +1 -22
- package/dist/federated/search.d.ts +10 -36
- package/dist/funding/stage.d.ts +1 -5
- package/dist/funding/stage.js +1 -5
- package/dist/fundraise/data-confidence.d.ts +1 -5
- package/dist/fundraise/data-confidence.js +1 -5
- package/dist/fundraise/financial-instrument-type.d.ts +2 -2
- package/dist/fundraise/financial-instrument-type.js +2 -2
- package/dist/fundraise/investment-attribution-type.d.ts +2 -9
- package/dist/fundraise/investment-attribution-type.js +2 -9
- package/dist/fundraise/investment-attribution.d.ts +2 -9
- package/dist/fundraise/investment-attribution.js +2 -9
- package/dist/help/citation.d.ts +1 -0
- package/dist/help/citation.js +1 -0
- package/dist/help/scope.d.ts +1 -0
- package/dist/help/scope.js +1 -0
- package/dist/help/source-type.d.ts +1 -0
- package/dist/help/source-type.js +1 -0
- package/dist/http/problem-detail.d.ts +26 -1
- package/dist/http/problem-detail.js +84 -1
- package/dist/identification/candidate.d.ts +37 -0
- package/dist/identification/candidate.js +20 -0
- package/dist/identification/identification.d.ts +77 -0
- package/dist/identification/identification.js +28 -0
- package/dist/identification/subject.d.ts +23 -0
- package/dist/identification/subject.js +27 -0
- package/dist/int/range.d.ts +2 -4
- package/dist/int/range.js +2 -4
- package/dist/investor/activity-filter.d.ts +2 -2
- package/dist/investor/activity-filter.js +2 -2
- package/dist/link/search.d.ts +10 -36
- package/dist/location/directory-entry.d.ts +1 -2
- package/dist/location/directory-entry.js +1 -2
- package/dist/location/identifier.d.ts +1 -1
- package/dist/location/identifier.js +1 -1
- package/dist/location/scope.d.ts +1 -1
- package/dist/location/scope.js +1 -1
- package/dist/location/sitemap.d.ts +81 -18
- package/dist/location/sitemap.js +5 -4
- package/dist/media/object-type.d.ts +3 -3
- package/dist/media/object-type.js +3 -3
- package/dist/media/slot.d.ts +18 -0
- package/dist/media/slot.js +14 -0
- package/dist/media/upload.d.ts +3 -3
- package/dist/media/upload.js +3 -3
- package/dist/natural/search-result.d.ts +9 -16
- package/dist/natural/search-result.js +1 -0
- package/dist/natural/search.d.ts +2 -0
- package/dist/natural/search.js +3 -1
- package/dist/news/detail.d.ts +14 -24
- package/dist/news/detail.js +10 -12
- package/dist/news/match-status.d.ts +20 -0
- package/dist/news/match-status.js +15 -0
- package/dist/news/news.d.ts +0 -10
- package/dist/news/news.js +0 -10
- package/dist/news/resolved-entity-link.d.ts +7 -4
- package/dist/news/resolved-entity-link.js +3 -4
- package/dist/news/resolved-person-link.d.ts +6 -3
- package/dist/news/resolved-person-link.js +2 -3
- package/dist/news/source-url-conflict.js +1 -1
- package/dist/openapi-component-manifest.js +78 -38
- package/dist/pageable/object.d.ts +15 -29
- package/dist/pageable/object.js +15 -29
- package/dist/pagination/schemas.d.ts +49 -520
- package/dist/pagination/schemas.js +23 -100
- package/dist/person/alias-type.d.ts +1 -7
- package/dist/person/alias-type.js +1 -7
- package/dist/person/detail.d.ts +0 -30
- package/dist/person/detail.js +0 -7
- package/dist/person/enrichment.d.ts +0 -6
- package/dist/person/enrichment.js +0 -6
- package/dist/person/filter.d.ts +2 -1
- package/dist/person/filter.js +3 -1
- package/dist/person/graph-career-context.d.ts +3 -5
- package/dist/person/graph-co-investor.d.ts +0 -1
- package/dist/person/graph-similar-entity.d.ts +1 -1
- package/dist/person/graph.d.ts +4 -8
- package/dist/person/image.d.ts +1 -7
- package/dist/person/image.js +1 -7
- package/dist/person/invested-company.d.ts +1 -8
- package/dist/person/invested-company.js +1 -7
- package/dist/person/investment.d.ts +1 -9
- package/dist/person/investment.js +1 -7
- package/dist/person/investor-participation.d.ts +0 -28
- package/dist/person/list-array-filter.d.ts +1 -1
- package/dist/person/list-array-filter.js +1 -1
- package/dist/person/lookup-batch-param.d.ts +18 -0
- package/dist/person/lookup-batch-param.js +21 -0
- package/dist/person/{detail-batch.d.ts → lookup-batch.d.ts} +7 -8
- package/dist/person/{detail-batch.js → lookup-batch.js} +5 -6
- package/dist/person/lookup-param.js +1 -1
- package/dist/person/natural-search-result.d.ts +3 -18
- package/dist/person/natural-search-result.js +1 -0
- package/dist/person/natural-search.d.ts +2 -0
- package/dist/person/natural-search.js +1 -0
- package/dist/person/person.d.ts +1 -16
- package/dist/person/person.js +1 -9
- package/dist/person/search-interpretation.d.ts +2 -0
- package/dist/person/search-interpretation.js +1 -0
- package/dist/person/search-param.js +2 -2
- package/dist/person/similarity-result.d.ts +0 -21
- package/dist/problem/type.d.ts +1 -0
- package/dist/problem/type.js +1 -0
- package/dist/publication/facet.d.ts +29 -0
- package/dist/publication/facet.js +22 -0
- package/dist/publication/publication.d.ts +0 -1
- package/dist/publication/publication.js +1 -2
- package/dist/publication/relation.d.ts +0 -1
- package/dist/publication/relation.js +0 -1
- package/dist/publication/type.d.ts +3 -1
- package/dist/publication/type.js +3 -1
- package/dist/relationship/direction.d.ts +1 -1
- package/dist/relationship/direction.js +1 -1
- package/dist/research/allowance-usage.d.ts +81 -0
- package/dist/research/allowance-usage.js +20 -0
- package/dist/research/allowance.d.ts +20 -0
- package/dist/research/allowance.js +20 -0
- package/dist/research/derived-bucket.d.ts +3 -7
- package/dist/research/derived-bucket.js +3 -7
- package/dist/research/derived-range.d.ts +3 -7
- package/dist/research/derived-range.js +3 -7
- package/dist/resolved/handle.d.ts +2 -1
- package/dist/resolved/handle.js +2 -1
- package/dist/round/label.d.ts +2 -9
- package/dist/round/label.js +2 -9
- package/dist/search/duplicate-candidate-score.d.ts +1 -0
- package/dist/search/duplicate-candidate-score.js +2 -1
- package/dist/search/hit.d.ts +1 -1
- package/dist/search/hit.js +1 -1
- package/dist/search/interpretation.d.ts +5 -4
- package/dist/search/interpretation.js +1 -0
- package/dist/search/mode-execution.d.ts +2 -0
- package/dist/search/mode-execution.js +2 -0
- package/dist/search/mode.d.ts +2 -1
- package/dist/search/mode.js +2 -1
- package/dist/search/ordering-entity-filter-sortable.d.ts +1 -0
- package/dist/search/ordering-entity-filter-sortable.js +1 -0
- package/dist/search/ordering-person-sort-field.d.ts +1 -0
- package/dist/search/ordering-person-sort-field.js +1 -0
- package/dist/search/relevance.d.ts +2 -0
- package/dist/search/relevance.js +2 -0
- package/dist/search/search.d.ts +1 -1
- package/dist/search/search.js +1 -1
- package/dist/sitemap/url-slot.d.ts +0 -1
- package/dist/sitemap/url-slot.js +0 -1
- package/dist/sort/object.d.ts +15 -29
- package/dist/sort/object.js +15 -29
- package/dist/sort/order-entity-filter-sortable.d.ts +1 -0
- package/dist/sort/order-entity-filter-sortable.js +1 -0
- package/dist/sort/order-person-sort-field.d.ts +1 -0
- package/dist/sort/order-person-sort-field.js +1 -0
- package/dist/source/document-list.d.ts +1 -1
- package/dist/source/document-list.js +1 -1
- package/dist/stage/frequency.d.ts +1 -1
- package/dist/stage/frequency.js +1 -1
- package/dist/standardized/classification.d.ts +1 -5
- package/dist/standardized/classification.js +1 -5
- package/dist/unique/id-owner-scope.d.ts +1 -0
- package/dist/unique/id-owner-scope.js +1 -0
- package/dist/unique/id-type-alias.d.ts +1 -0
- package/dist/unique/id-type-alias.js +1 -0
- package/dist/unique/id-type.d.ts +1 -3
- package/dist/unique/id-type.js +1 -3
- package/dist/unique/id.d.ts +1 -3
- package/dist/unique/id.js +1 -3
- package/dist/url/match-mode.d.ts +1 -2
- package/dist/url/match-mode.js +1 -2
- package/dist/url/slug-redirect.d.ts +1 -3
- package/dist/url/slug-redirect.js +1 -3
- package/dist/url/type-alias.d.ts +2 -2
- package/dist/url/type-alias.js +2 -2
- package/dist/web/search.d.ts +1 -1
- package/dist/web/search.js +1 -1
- package/package.json +1 -1
- package/dist/entity/batch-param.d.ts +0 -22
- package/dist/entity/batch-param.js +0 -24
- package/dist/entity/detail-batch-param.d.ts +0 -18
- package/dist/entity/detail-similar-param.d.ts +0 -22
- package/dist/entity/detail-similar-param.js +0 -33
- package/dist/entity/filter-count.d.ts +0 -20
- package/dist/entity/filter-count.js +0 -22
- package/dist/news/filter.d.ts +0 -27
- package/dist/news/filter.js +0 -31
- package/dist/person/batch-param.d.ts +0 -27
- package/dist/person/batch-param.js +0 -38
- package/dist/publication/filter.d.ts +0 -35
- package/dist/publication/filter.js +0 -27
- package/dist/publication/search-interpretation.d.ts +0 -48
- package/dist/publication/search-interpretation.js +0 -30
- package/dist/publication/search-result.d.ts +0 -94
- package/dist/publication/search-result.js +0 -22
- package/dist/publication/sort-field.d.ts +0 -25
- package/dist/publication/sort-field.js +0 -25
- package/dist/sort/order-publication-sort-field.d.ts +0 -31
- package/dist/sort/order-publication-sort-field.js +0 -22
- package/dist/sort/spec-publication-sort-field.d.ts +0 -26
- package/dist/sort/spec-publication-sort-field.js +0 -20
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
/**
|
|
3
|
+
* PREPAID_CREDIT spends purchased credit packs and stops when they run out. USAGE_INVOICE bills an invoice each time unbilled usage reaches invoiceIncrementCents, up to spendCapCents per month.
|
|
4
|
+
*
|
|
5
|
+
* @openapiSchema BillingAdditionalUsageFundingType
|
|
6
|
+
* @endpoint GET /v1/billing/subscription
|
|
7
|
+
* @usedBySchema BillingAdditionalUsageSchema
|
|
8
|
+
* @contractShape billing.additional-usage-funding-type
|
|
9
|
+
* @contractRole canonical
|
|
10
|
+
*/
|
|
11
|
+
export declare const BillingAdditionalUsageFundingTypeSchema: z.ZodEnum<{
|
|
12
|
+
PREPAID_CREDIT: "PREPAID_CREDIT";
|
|
13
|
+
USAGE_INVOICE: "USAGE_INVOICE";
|
|
14
|
+
}>;
|
|
15
|
+
export type BillingAdditionalUsageFundingType = z.infer<typeof BillingAdditionalUsageFundingTypeSchema>;
|
|
16
|
+
//# sourceMappingURL=additional-usage-funding-type.d.ts.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// LLM AGENTS MAY NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES. DO NOT EDIT - generated from Kotlin data classes via OpenAPI. Edit the backend owner and run: make docs-openapi && make docs-zod
|
|
2
|
+
import { z } from "zod/v4";
|
|
3
|
+
/**
|
|
4
|
+
* PREPAID_CREDIT spends purchased credit packs and stops when they run out. USAGE_INVOICE bills an invoice each time unbilled usage reaches invoiceIncrementCents, up to spendCapCents per month.
|
|
5
|
+
*
|
|
6
|
+
* @openapiSchema BillingAdditionalUsageFundingType
|
|
7
|
+
* @endpoint GET /v1/billing/subscription
|
|
8
|
+
* @usedBySchema BillingAdditionalUsageSchema
|
|
9
|
+
* @contractShape billing.additional-usage-funding-type
|
|
10
|
+
* @contractRole canonical
|
|
11
|
+
*/
|
|
12
|
+
export const BillingAdditionalUsageFundingTypeSchema = z.enum(["PREPAID_CREDIT", "USAGE_INVOICE"]);
|
|
13
|
+
//# sourceMappingURL=additional-usage-funding-type.js.map
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
declare const BillingAdditionalUsageMeterSchemaDefinition: z.ZodObject<{
|
|
3
|
+
amountCents: z.ZodNumber;
|
|
4
|
+
quantity: z.ZodInt;
|
|
5
|
+
type: z.ZodEnum<{
|
|
6
|
+
AI_CREDIT: "AI_CREDIT";
|
|
7
|
+
ENTITY_VIEW: "ENTITY_VIEW";
|
|
8
|
+
NEW_COMPANY: "NEW_COMPANY";
|
|
9
|
+
NEW_PERSON: "NEW_PERSON";
|
|
10
|
+
PERSON_VIEW: "PERSON_VIEW";
|
|
11
|
+
UPDATE: "UPDATE";
|
|
12
|
+
UPDATE_PERSON: "UPDATE_PERSON";
|
|
13
|
+
}>;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
type BillingAdditionalUsageMeterDefinition = z.infer<typeof BillingAdditionalUsageMeterSchemaDefinition>;
|
|
16
|
+
/**
|
|
17
|
+
* One meter's additional usage this UTC month.
|
|
18
|
+
*
|
|
19
|
+
* @openapiSchema BillingAdditionalUsageMeter
|
|
20
|
+
* @endpoint GET /v1/billing/subscription
|
|
21
|
+
* @usedBySchema BillingAdditionalUsageSchema
|
|
22
|
+
* @contractShape billing.additional-usage-meter
|
|
23
|
+
* @contractRole canonical
|
|
24
|
+
*/
|
|
25
|
+
export declare const BillingAdditionalUsageMeterSchema: z.ZodType<BillingAdditionalUsageMeterDefinition>;
|
|
26
|
+
export type BillingAdditionalUsageMeter = z.infer<typeof BillingAdditionalUsageMeterSchema>;
|
|
27
|
+
export {};
|
|
28
|
+
//# sourceMappingURL=additional-usage-meter.d.ts.map
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// LLM AGENTS MAY NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES. DO NOT EDIT - generated from Kotlin data classes via OpenAPI. Edit the backend owner and run: make docs-openapi && make docs-zod
|
|
2
|
+
import { z } from "zod/v4";
|
|
3
|
+
import { BillingAdditionalUsageTypeSchema } from "./additional-usage-type.js";
|
|
4
|
+
const BillingAdditionalUsageMeterSchemaDefinition = z.object({
|
|
5
|
+
/** Price of those units in cents. */
|
|
6
|
+
amountCents: z.number(),
|
|
7
|
+
quantity: z.int(),
|
|
8
|
+
type: BillingAdditionalUsageTypeSchema,
|
|
9
|
+
});
|
|
10
|
+
/**
|
|
11
|
+
* One meter's additional usage this UTC month.
|
|
12
|
+
*
|
|
13
|
+
* @openapiSchema BillingAdditionalUsageMeter
|
|
14
|
+
* @endpoint GET /v1/billing/subscription
|
|
15
|
+
* @usedBySchema BillingAdditionalUsageSchema
|
|
16
|
+
* @contractShape billing.additional-usage-meter
|
|
17
|
+
* @contractRole canonical
|
|
18
|
+
*/
|
|
19
|
+
export const BillingAdditionalUsageMeterSchema = BillingAdditionalUsageMeterSchemaDefinition;
|
|
20
|
+
//# sourceMappingURL=additional-usage-meter.js.map
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
/**
|
|
3
|
+
* One metered allowance a paid subscriber may use past its monthly cap.
|
|
4
|
+
*
|
|
5
|
+
* @openapiSchema BillingAdditionalUsageType
|
|
6
|
+
* @endpoint GET /v1/billing/plans
|
|
7
|
+
* @endpoint GET /v1/billing/subscription
|
|
8
|
+
* @usedBySchema BillingAdditionalUsageMeterSchema
|
|
9
|
+
* @usedBySchema BillingCatalogAdditionalUsageSchema
|
|
10
|
+
* @contractShape billing.additional-usage-type
|
|
11
|
+
* @contractRole canonical
|
|
12
|
+
*/
|
|
13
|
+
export declare const BillingAdditionalUsageTypeSchema: z.ZodEnum<{
|
|
14
|
+
AI_CREDIT: "AI_CREDIT";
|
|
15
|
+
ENTITY_VIEW: "ENTITY_VIEW";
|
|
16
|
+
NEW_COMPANY: "NEW_COMPANY";
|
|
17
|
+
NEW_PERSON: "NEW_PERSON";
|
|
18
|
+
PERSON_VIEW: "PERSON_VIEW";
|
|
19
|
+
UPDATE: "UPDATE";
|
|
20
|
+
UPDATE_PERSON: "UPDATE_PERSON";
|
|
21
|
+
}>;
|
|
22
|
+
export type BillingAdditionalUsageType = z.infer<typeof BillingAdditionalUsageTypeSchema>;
|
|
23
|
+
//# sourceMappingURL=additional-usage-type.d.ts.map
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// LLM AGENTS MAY NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES. DO NOT EDIT - generated from Kotlin data classes via OpenAPI. Edit the backend owner and run: make docs-openapi && make docs-zod
|
|
2
|
+
import { z } from "zod/v4";
|
|
3
|
+
/**
|
|
4
|
+
* One metered allowance a paid subscriber may use past its monthly cap.
|
|
5
|
+
*
|
|
6
|
+
* @openapiSchema BillingAdditionalUsageType
|
|
7
|
+
* @endpoint GET /v1/billing/plans
|
|
8
|
+
* @endpoint GET /v1/billing/subscription
|
|
9
|
+
* @usedBySchema BillingAdditionalUsageMeterSchema
|
|
10
|
+
* @usedBySchema BillingCatalogAdditionalUsageSchema
|
|
11
|
+
* @contractShape billing.additional-usage-type
|
|
12
|
+
* @contractRole canonical
|
|
13
|
+
*/
|
|
14
|
+
export const BillingAdditionalUsageTypeSchema = z.enum([
|
|
15
|
+
"NEW_COMPANY",
|
|
16
|
+
"UPDATE",
|
|
17
|
+
"NEW_PERSON",
|
|
18
|
+
"UPDATE_PERSON",
|
|
19
|
+
"ENTITY_VIEW",
|
|
20
|
+
"PERSON_VIEW",
|
|
21
|
+
"AI_CREDIT",
|
|
22
|
+
]);
|
|
23
|
+
//# sourceMappingURL=additional-usage-type.js.map
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
declare const BillingAdditionalUsageSchemaDefinition: z.ZodObject<{
|
|
3
|
+
availableCreditCents: z.ZodNumber;
|
|
4
|
+
blocked: z.ZodBoolean;
|
|
5
|
+
enabled: z.ZodBoolean;
|
|
6
|
+
funding: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
7
|
+
PREPAID_CREDIT: "PREPAID_CREDIT";
|
|
8
|
+
USAGE_INVOICE: "USAGE_INVOICE";
|
|
9
|
+
}>>>;
|
|
10
|
+
invoiceIncrementCents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
|
+
meter: z.ZodArray<z.ZodType<{
|
|
12
|
+
amountCents: number;
|
|
13
|
+
quantity: number;
|
|
14
|
+
type: "AI_CREDIT" | "ENTITY_VIEW" | "NEW_COMPANY" | "NEW_PERSON" | "PERSON_VIEW" | "UPDATE" | "UPDATE_PERSON";
|
|
15
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
16
|
+
amountCents: number;
|
|
17
|
+
quantity: number;
|
|
18
|
+
type: "AI_CREDIT" | "ENTITY_VIEW" | "NEW_COMPANY" | "NEW_PERSON" | "PERSON_VIEW" | "UPDATE" | "UPDATE_PERSON";
|
|
19
|
+
}, unknown>>>;
|
|
20
|
+
resetAt: z.ZodISODateTime;
|
|
21
|
+
spendCapCents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
|
+
spentCents: z.ZodNumber;
|
|
23
|
+
unbilledCents: z.ZodNumber;
|
|
24
|
+
}, z.core.$strip>;
|
|
25
|
+
type BillingAdditionalUsageDefinition = z.infer<typeof BillingAdditionalUsageSchemaDefinition>;
|
|
26
|
+
/**
|
|
27
|
+
* Opt-in metered usage past the monthly allowance: settings, spend this UTC month, prepaid credit, and unbilled usage.
|
|
28
|
+
*
|
|
29
|
+
* @openapiSchema BillingAdditionalUsage
|
|
30
|
+
* @endpoint GET /v1/billing/subscription
|
|
31
|
+
* @usedBySchema BillingSubscriptionSchema
|
|
32
|
+
* @contractShape billing.additional-usage
|
|
33
|
+
* @contractRole canonical
|
|
34
|
+
*/
|
|
35
|
+
export declare const BillingAdditionalUsageSchema: z.ZodType<BillingAdditionalUsageDefinition>;
|
|
36
|
+
export type BillingAdditionalUsage = z.infer<typeof BillingAdditionalUsageSchema>;
|
|
37
|
+
export {};
|
|
38
|
+
//# sourceMappingURL=additional-usage.d.ts.map
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
// LLM AGENTS MAY NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES. DO NOT EDIT - generated from Kotlin data classes via OpenAPI. Edit the backend owner and run: make docs-openapi && make docs-zod
|
|
2
|
+
import { z } from "zod/v4";
|
|
3
|
+
import { BillingAdditionalUsageFundingTypeSchema } from "./additional-usage-funding-type.js";
|
|
4
|
+
import { BillingAdditionalUsageMeterSchema } from "./additional-usage-meter.js";
|
|
5
|
+
const BillingAdditionalUsageSchemaDefinition = z.object({
|
|
6
|
+
/** Prepaid credit not yet consumed by priced usage, in cents. */
|
|
7
|
+
availableCreditCents: z.number(),
|
|
8
|
+
/** True while a failed threshold invoice blocks additional usage; paying it in Billing Portal clears the block. */
|
|
9
|
+
blocked: z.boolean(),
|
|
10
|
+
/** Whether usage past the monthly caps is recorded and billed. */
|
|
11
|
+
enabled: z.boolean(),
|
|
12
|
+
funding: BillingAdditionalUsageFundingTypeSchema.nullish(),
|
|
13
|
+
/** USAGE_INVOICE bills an invoice once unbilled usage reaches this many cents; the invoice can exceed it by the usage recorded while it was being created. */
|
|
14
|
+
invoiceIncrementCents: z.number().int().nullish(),
|
|
15
|
+
meter: z.array(BillingAdditionalUsageMeterSchema),
|
|
16
|
+
/** When spentCents returns to zero: the next UTC month. */
|
|
17
|
+
resetAt: z.iso.datetime({ offset: true }),
|
|
18
|
+
/** Monthly spend cap in cents. Required for USAGE_INVOICE; absent for PREPAID_CREDIT means only the prepaid credit bounds usage. */
|
|
19
|
+
spendCapCents: z.number().int().nullish(),
|
|
20
|
+
/** Additional usage priced this UTC month, in cents. */
|
|
21
|
+
spentCents: z.number(),
|
|
22
|
+
/** Priced usage not yet paid by credit or placed on an invoice, in cents; the next threshold or period invoice bills it. */
|
|
23
|
+
unbilledCents: z.number(),
|
|
24
|
+
});
|
|
25
|
+
/**
|
|
26
|
+
* Opt-in metered usage past the monthly allowance: settings, spend this UTC month, prepaid credit, and unbilled usage.
|
|
27
|
+
*
|
|
28
|
+
* @openapiSchema BillingAdditionalUsage
|
|
29
|
+
* @endpoint GET /v1/billing/subscription
|
|
30
|
+
* @usedBySchema BillingSubscriptionSchema
|
|
31
|
+
* @contractShape billing.additional-usage
|
|
32
|
+
* @contractRole canonical
|
|
33
|
+
*/
|
|
34
|
+
export const BillingAdditionalUsageSchema = BillingAdditionalUsageSchemaDefinition;
|
|
35
|
+
//# sourceMappingURL=additional-usage.js.map
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
declare const BillingCatalogAdditionalUsageSchemaDefinition: z.ZodObject<{
|
|
3
|
+
type: z.ZodEnum<{
|
|
4
|
+
AI_CREDIT: "AI_CREDIT";
|
|
5
|
+
ENTITY_VIEW: "ENTITY_VIEW";
|
|
6
|
+
NEW_COMPANY: "NEW_COMPANY";
|
|
7
|
+
NEW_PERSON: "NEW_PERSON";
|
|
8
|
+
PERSON_VIEW: "PERSON_VIEW";
|
|
9
|
+
UPDATE: "UPDATE";
|
|
10
|
+
UPDATE_PERSON: "UPDATE_PERSON";
|
|
11
|
+
}>;
|
|
12
|
+
unitAmount: z.ZodNumber;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
type BillingCatalogAdditionalUsageDefinition = z.infer<typeof BillingCatalogAdditionalUsageSchemaDefinition>;
|
|
15
|
+
/**
|
|
16
|
+
* Price of one unit of usage past a paid tier's monthly cap.
|
|
17
|
+
*
|
|
18
|
+
* @openapiSchema BillingCatalogAdditionalUsage
|
|
19
|
+
* @endpoint GET /v1/billing/plans
|
|
20
|
+
* @usedBySchema BillingCatalogSchema
|
|
21
|
+
* @contractShape billing.catalog-additional-usage
|
|
22
|
+
* @contractRole canonical
|
|
23
|
+
*/
|
|
24
|
+
export declare const BillingCatalogAdditionalUsageSchema: z.ZodType<BillingCatalogAdditionalUsageDefinition>;
|
|
25
|
+
export type BillingCatalogAdditionalUsage = z.infer<typeof BillingCatalogAdditionalUsageSchema>;
|
|
26
|
+
export {};
|
|
27
|
+
//# sourceMappingURL=catalog-additional-usage.d.ts.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// LLM AGENTS MAY NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES. DO NOT EDIT - generated from Kotlin data classes via OpenAPI. Edit the backend owner and run: make docs-openapi && make docs-zod
|
|
2
|
+
import { z } from "zod/v4";
|
|
3
|
+
import { BillingAdditionalUsageTypeSchema } from "./additional-usage-type.js";
|
|
4
|
+
const BillingCatalogAdditionalUsageSchemaDefinition = z.object({
|
|
5
|
+
type: BillingAdditionalUsageTypeSchema,
|
|
6
|
+
/** US cents per unit; may be fractional, such as 2.5. */
|
|
7
|
+
unitAmount: z.number(),
|
|
8
|
+
});
|
|
9
|
+
/**
|
|
10
|
+
* Price of one unit of usage past a paid tier's monthly cap.
|
|
11
|
+
*
|
|
12
|
+
* @openapiSchema BillingCatalogAdditionalUsage
|
|
13
|
+
* @endpoint GET /v1/billing/plans
|
|
14
|
+
* @usedBySchema BillingCatalogSchema
|
|
15
|
+
* @contractShape billing.catalog-additional-usage
|
|
16
|
+
* @contractRole canonical
|
|
17
|
+
*/
|
|
18
|
+
export const BillingCatalogAdditionalUsageSchema = BillingCatalogAdditionalUsageSchemaDefinition;
|
|
19
|
+
//# sourceMappingURL=catalog-additional-usage.js.map
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
declare const BillingCatalogAllowanceSchemaDefinition: z.ZodObject<{
|
|
3
|
+
limit: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4
|
+
type: z.ZodEnum<{
|
|
5
|
+
ENTITY_VIEW: "ENTITY_VIEW";
|
|
6
|
+
NEW_COMPANY: "NEW_COMPANY";
|
|
7
|
+
NEW_PERSON: "NEW_PERSON";
|
|
8
|
+
PERSON_VIEW: "PERSON_VIEW";
|
|
9
|
+
UPDATE: "UPDATE";
|
|
10
|
+
UPDATE_PERSON: "UPDATE_PERSON";
|
|
11
|
+
}>;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
type BillingCatalogAllowanceDefinition = z.infer<typeof BillingCatalogAllowanceSchemaDefinition>;
|
|
14
|
+
/**
|
|
15
|
+
* A tier's monthly cap for one allowance.
|
|
16
|
+
*
|
|
17
|
+
* @openapiSchema BillingCatalogAllowance
|
|
18
|
+
* @endpoint GET /v1/billing/plans
|
|
19
|
+
* @usedBySchema BillingCatalogTierSchema
|
|
20
|
+
* @contractShape billing.catalog-allowance
|
|
21
|
+
* @contractRole canonical
|
|
22
|
+
*/
|
|
23
|
+
export declare const BillingCatalogAllowanceSchema: z.ZodType<BillingCatalogAllowanceDefinition>;
|
|
24
|
+
export type BillingCatalogAllowance = z.infer<typeof BillingCatalogAllowanceSchema>;
|
|
25
|
+
export {};
|
|
26
|
+
//# sourceMappingURL=catalog-allowance.d.ts.map
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// LLM AGENTS MAY NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES. DO NOT EDIT - generated from Kotlin data classes via OpenAPI. Edit the backend owner and run: make docs-openapi && make docs-zod
|
|
2
|
+
import { z } from "zod/v4";
|
|
3
|
+
const BillingCatalogAllowanceSchemaDefinition = z.object({
|
|
4
|
+
/** Monthly cap; 0 withholds the allowance and absent means uncapped. */
|
|
5
|
+
limit: z.int().nullish(),
|
|
6
|
+
type: z.enum([
|
|
7
|
+
"NEW_COMPANY",
|
|
8
|
+
"UPDATE",
|
|
9
|
+
"NEW_PERSON",
|
|
10
|
+
"UPDATE_PERSON",
|
|
11
|
+
"ENTITY_VIEW",
|
|
12
|
+
"PERSON_VIEW",
|
|
13
|
+
]),
|
|
14
|
+
});
|
|
15
|
+
/**
|
|
16
|
+
* A tier's monthly cap for one allowance.
|
|
17
|
+
*
|
|
18
|
+
* @openapiSchema BillingCatalogAllowance
|
|
19
|
+
* @endpoint GET /v1/billing/plans
|
|
20
|
+
* @usedBySchema BillingCatalogTierSchema
|
|
21
|
+
* @contractShape billing.catalog-allowance
|
|
22
|
+
* @contractRole canonical
|
|
23
|
+
*/
|
|
24
|
+
export const BillingCatalogAllowanceSchema = BillingCatalogAllowanceSchemaDefinition;
|
|
25
|
+
//# sourceMappingURL=catalog-allowance.js.map
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
declare const BillingCatalogCreditPackSchemaDefinition: z.ZodObject<{
|
|
3
|
+
amountCents: z.ZodNumber;
|
|
4
|
+
pack: z.ZodEnum<{
|
|
5
|
+
USD_100: "USD_100";
|
|
6
|
+
USD_25: "USD_25";
|
|
7
|
+
USD_250: "USD_250";
|
|
8
|
+
USD_50: "USD_50";
|
|
9
|
+
}>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
type BillingCatalogCreditPackDefinition = z.infer<typeof BillingCatalogCreditPackSchemaDefinition>;
|
|
12
|
+
/**
|
|
13
|
+
* One prepaid credit pack.
|
|
14
|
+
*
|
|
15
|
+
* @openapiSchema BillingCatalogCreditPack
|
|
16
|
+
* @endpoint GET /v1/billing/plans
|
|
17
|
+
* @usedBySchema BillingCatalogSchema
|
|
18
|
+
* @contractShape billing.catalog-credit-pack
|
|
19
|
+
* @contractRole canonical
|
|
20
|
+
*/
|
|
21
|
+
export declare const BillingCatalogCreditPackSchema: z.ZodType<BillingCatalogCreditPackDefinition>;
|
|
22
|
+
export type BillingCatalogCreditPack = z.infer<typeof BillingCatalogCreditPackSchema>;
|
|
23
|
+
export {};
|
|
24
|
+
//# sourceMappingURL=catalog-credit-pack.d.ts.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// LLM AGENTS MAY NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES. DO NOT EDIT - generated from Kotlin data classes via OpenAPI. Edit the backend owner and run: make docs-openapi && make docs-zod
|
|
2
|
+
import { z } from "zod/v4";
|
|
3
|
+
import { BillingCreditPackTypeSchema } from "./credit-pack-type.js";
|
|
4
|
+
const BillingCatalogCreditPackSchemaDefinition = z.object({
|
|
5
|
+
/** Credit granted and price charged, in US cents. */
|
|
6
|
+
amountCents: z.number().int(),
|
|
7
|
+
pack: BillingCreditPackTypeSchema,
|
|
8
|
+
});
|
|
9
|
+
/**
|
|
10
|
+
* One prepaid credit pack.
|
|
11
|
+
*
|
|
12
|
+
* @openapiSchema BillingCatalogCreditPack
|
|
13
|
+
* @endpoint GET /v1/billing/plans
|
|
14
|
+
* @usedBySchema BillingCatalogSchema
|
|
15
|
+
* @contractShape billing.catalog-credit-pack
|
|
16
|
+
* @contractRole canonical
|
|
17
|
+
*/
|
|
18
|
+
export const BillingCatalogCreditPackSchema = BillingCatalogCreditPackSchemaDefinition;
|
|
19
|
+
//# sourceMappingURL=catalog-credit-pack.js.map
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
declare const BillingCatalogPlanSchemaDefinition: z.ZodObject<{
|
|
3
|
+
cadence: z.ZodString;
|
|
4
|
+
currency: z.ZodString;
|
|
5
|
+
displayName: z.ZodString;
|
|
6
|
+
plan: z.ZodEnum<{
|
|
7
|
+
PLUS_MONTHLY: "PLUS_MONTHLY";
|
|
8
|
+
PLUS_YEARLY: "PLUS_YEARLY";
|
|
9
|
+
PRO_MONTHLY: "PRO_MONTHLY";
|
|
10
|
+
PRO_YEARLY: "PRO_YEARLY";
|
|
11
|
+
PRO_YEARLY_PROMOTION: "PRO_YEARLY_PROMOTION";
|
|
12
|
+
}>;
|
|
13
|
+
tier: z.ZodEnum<{
|
|
14
|
+
ESSENTIAL: "ESSENTIAL";
|
|
15
|
+
PLUS: "PLUS";
|
|
16
|
+
PRO: "PRO";
|
|
17
|
+
UNLIMITED: "UNLIMITED";
|
|
18
|
+
}>;
|
|
19
|
+
unitAmount: z.ZodNumber;
|
|
20
|
+
}, z.core.$strip>;
|
|
21
|
+
type BillingCatalogPlanDefinition = z.infer<typeof BillingCatalogPlanSchemaDefinition>;
|
|
22
|
+
/**
|
|
23
|
+
* One Checkout plan and its recurring price.
|
|
24
|
+
*
|
|
25
|
+
* @openapiSchema BillingCatalogPlan
|
|
26
|
+
* @endpoint GET /v1/billing/plans
|
|
27
|
+
* @usedBySchema BillingCatalogSchema
|
|
28
|
+
* @contractShape billing.catalog-plan
|
|
29
|
+
* @contractRole canonical
|
|
30
|
+
*/
|
|
31
|
+
export declare const BillingCatalogPlanSchema: z.ZodType<BillingCatalogPlanDefinition>;
|
|
32
|
+
export type BillingCatalogPlan = z.infer<typeof BillingCatalogPlanSchema>;
|
|
33
|
+
export {};
|
|
34
|
+
//# sourceMappingURL=catalog-plan.d.ts.map
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// LLM AGENTS MAY NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES. DO NOT EDIT - generated from Kotlin data classes via OpenAPI. Edit the backend owner and run: make docs-openapi && make docs-zod
|
|
2
|
+
import { z } from "zod/v4";
|
|
3
|
+
import { BillingPlanTypeSchema } from "./plan-type.js";
|
|
4
|
+
const BillingCatalogPlanSchemaDefinition = z.object({
|
|
5
|
+
/** ISO 8601 billing period. */
|
|
6
|
+
cadence: z.string(),
|
|
7
|
+
/** ISO 4217 currency code. */
|
|
8
|
+
currency: z.string(),
|
|
9
|
+
displayName: z.string(),
|
|
10
|
+
plan: BillingPlanTypeSchema,
|
|
11
|
+
tier: z.enum(["ESSENTIAL", "PLUS", "PRO", "UNLIMITED"]),
|
|
12
|
+
/** Price per cadence in the currency's minor unit, such as cents. */
|
|
13
|
+
unitAmount: z.number().int(),
|
|
14
|
+
});
|
|
15
|
+
/**
|
|
16
|
+
* One Checkout plan and its recurring price.
|
|
17
|
+
*
|
|
18
|
+
* @openapiSchema BillingCatalogPlan
|
|
19
|
+
* @endpoint GET /v1/billing/plans
|
|
20
|
+
* @usedBySchema BillingCatalogSchema
|
|
21
|
+
* @contractShape billing.catalog-plan
|
|
22
|
+
* @contractRole canonical
|
|
23
|
+
*/
|
|
24
|
+
export const BillingCatalogPlanSchema = BillingCatalogPlanSchemaDefinition;
|
|
25
|
+
//# sourceMappingURL=catalog-plan.js.map
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
declare const BillingCatalogTierSchemaDefinition: z.ZodObject<{
|
|
3
|
+
aiCreditLimit: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4
|
+
allowance: z.ZodArray<z.ZodType<{
|
|
5
|
+
limit?: number | null | undefined;
|
|
6
|
+
type: "ENTITY_VIEW" | "NEW_COMPANY" | "NEW_PERSON" | "PERSON_VIEW" | "UPDATE" | "UPDATE_PERSON";
|
|
7
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
8
|
+
limit?: number | null | undefined;
|
|
9
|
+
type: "ENTITY_VIEW" | "NEW_COMPANY" | "NEW_PERSON" | "PERSON_VIEW" | "UPDATE" | "UPDATE_PERSON";
|
|
10
|
+
}, unknown>>>;
|
|
11
|
+
displayName: z.ZodString;
|
|
12
|
+
tier: z.ZodEnum<{
|
|
13
|
+
ESSENTIAL: "ESSENTIAL";
|
|
14
|
+
PLUS: "PLUS";
|
|
15
|
+
PRO: "PRO";
|
|
16
|
+
UNLIMITED: "UNLIMITED";
|
|
17
|
+
}>;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
type BillingCatalogTierDefinition = z.infer<typeof BillingCatalogTierSchemaDefinition>;
|
|
20
|
+
/**
|
|
21
|
+
* One subscription tier and its monthly caps.
|
|
22
|
+
*
|
|
23
|
+
* @openapiSchema BillingCatalogTier
|
|
24
|
+
* @endpoint GET /v1/billing/plans
|
|
25
|
+
* @usedBySchema BillingCatalogSchema
|
|
26
|
+
* @contractShape billing.catalog-tier
|
|
27
|
+
* @contractRole canonical
|
|
28
|
+
*/
|
|
29
|
+
export declare const BillingCatalogTierSchema: z.ZodType<BillingCatalogTierDefinition>;
|
|
30
|
+
export type BillingCatalogTier = z.infer<typeof BillingCatalogTierSchema>;
|
|
31
|
+
export {};
|
|
32
|
+
//# sourceMappingURL=catalog-tier.d.ts.map
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// LLM AGENTS MAY NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES. DO NOT EDIT - generated from Kotlin data classes via OpenAPI. Edit the backend owner and run: make docs-openapi && make docs-zod
|
|
2
|
+
import { z } from "zod/v4";
|
|
3
|
+
import { BillingCatalogAllowanceSchema } from "./catalog-allowance.js";
|
|
4
|
+
const BillingCatalogTierSchemaDefinition = z.object({
|
|
5
|
+
/** Researchly AI credits per Researchly billing period; 0 withholds them and absent means uncapped. */
|
|
6
|
+
aiCreditLimit: z.int().nullish(),
|
|
7
|
+
allowance: z.array(BillingCatalogAllowanceSchema),
|
|
8
|
+
displayName: z.string(),
|
|
9
|
+
tier: z.enum(["ESSENTIAL", "PLUS", "PRO", "UNLIMITED"]),
|
|
10
|
+
});
|
|
11
|
+
/**
|
|
12
|
+
* One subscription tier and its monthly caps.
|
|
13
|
+
*
|
|
14
|
+
* @openapiSchema BillingCatalogTier
|
|
15
|
+
* @endpoint GET /v1/billing/plans
|
|
16
|
+
* @usedBySchema BillingCatalogSchema
|
|
17
|
+
* @contractShape billing.catalog-tier
|
|
18
|
+
* @contractRole canonical
|
|
19
|
+
*/
|
|
20
|
+
export const BillingCatalogTierSchema = BillingCatalogTierSchemaDefinition;
|
|
21
|
+
//# sourceMappingURL=catalog-tier.js.map
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
declare const BillingCatalogSchemaDefinition: z.ZodObject<{
|
|
3
|
+
additionalUsage: z.ZodArray<z.ZodType<{
|
|
4
|
+
type: "AI_CREDIT" | "ENTITY_VIEW" | "NEW_COMPANY" | "NEW_PERSON" | "PERSON_VIEW" | "UPDATE" | "UPDATE_PERSON";
|
|
5
|
+
unitAmount: number;
|
|
6
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
7
|
+
type: "AI_CREDIT" | "ENTITY_VIEW" | "NEW_COMPANY" | "NEW_PERSON" | "PERSON_VIEW" | "UPDATE" | "UPDATE_PERSON";
|
|
8
|
+
unitAmount: number;
|
|
9
|
+
}, unknown>>>;
|
|
10
|
+
creditPack: z.ZodArray<z.ZodType<{
|
|
11
|
+
amountCents: number;
|
|
12
|
+
pack: "USD_100" | "USD_25" | "USD_250" | "USD_50";
|
|
13
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
14
|
+
amountCents: number;
|
|
15
|
+
pack: "USD_100" | "USD_25" | "USD_250" | "USD_50";
|
|
16
|
+
}, unknown>>>;
|
|
17
|
+
invoiceIncrementCents: z.ZodArray<z.ZodNumber>;
|
|
18
|
+
plan: z.ZodArray<z.ZodType<{
|
|
19
|
+
cadence: string;
|
|
20
|
+
currency: string;
|
|
21
|
+
displayName: string;
|
|
22
|
+
plan: "PLUS_MONTHLY" | "PLUS_YEARLY" | "PRO_MONTHLY" | "PRO_YEARLY" | "PRO_YEARLY_PROMOTION";
|
|
23
|
+
tier: "ESSENTIAL" | "PLUS" | "PRO" | "UNLIMITED";
|
|
24
|
+
unitAmount: number;
|
|
25
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
26
|
+
cadence: string;
|
|
27
|
+
currency: string;
|
|
28
|
+
displayName: string;
|
|
29
|
+
plan: "PLUS_MONTHLY" | "PLUS_YEARLY" | "PRO_MONTHLY" | "PRO_YEARLY" | "PRO_YEARLY_PROMOTION";
|
|
30
|
+
tier: "ESSENTIAL" | "PLUS" | "PRO" | "UNLIMITED";
|
|
31
|
+
unitAmount: number;
|
|
32
|
+
}, unknown>>>;
|
|
33
|
+
tier: z.ZodArray<z.ZodType<{
|
|
34
|
+
aiCreditLimit?: number | null | undefined;
|
|
35
|
+
allowance: {
|
|
36
|
+
limit?: number | null | undefined;
|
|
37
|
+
type: "ENTITY_VIEW" | "NEW_COMPANY" | "NEW_PERSON" | "PERSON_VIEW" | "UPDATE" | "UPDATE_PERSON";
|
|
38
|
+
}[];
|
|
39
|
+
displayName: string;
|
|
40
|
+
tier: "ESSENTIAL" | "PLUS" | "PRO" | "UNLIMITED";
|
|
41
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
42
|
+
aiCreditLimit?: number | null | undefined;
|
|
43
|
+
allowance: {
|
|
44
|
+
limit?: number | null | undefined;
|
|
45
|
+
type: "ENTITY_VIEW" | "NEW_COMPANY" | "NEW_PERSON" | "PERSON_VIEW" | "UPDATE" | "UPDATE_PERSON";
|
|
46
|
+
}[];
|
|
47
|
+
displayName: string;
|
|
48
|
+
tier: "ESSENTIAL" | "PLUS" | "PRO" | "UNLIMITED";
|
|
49
|
+
}, unknown>>>;
|
|
50
|
+
}, z.core.$strip>;
|
|
51
|
+
type BillingCatalogDefinition = z.infer<typeof BillingCatalogSchemaDefinition>;
|
|
52
|
+
/**
|
|
53
|
+
* Every self-serve subscription tier with its monthly allowance caps, every plan Checkout sells, and the prices of usage past those caps. The operator-only Unlimited tier is omitted.
|
|
54
|
+
*
|
|
55
|
+
* @openapiSchema BillingCatalog
|
|
56
|
+
* @endpoint GET /v1/billing/plans
|
|
57
|
+
* @contractShape billing.catalog
|
|
58
|
+
* @contractRole canonical
|
|
59
|
+
*/
|
|
60
|
+
export declare const BillingCatalogSchema: z.ZodType<BillingCatalogDefinition>;
|
|
61
|
+
export type BillingCatalog = z.infer<typeof BillingCatalogSchema>;
|
|
62
|
+
export {};
|
|
63
|
+
//# sourceMappingURL=catalog.d.ts.map
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// LLM AGENTS MAY NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES. DO NOT EDIT - generated from Kotlin data classes via OpenAPI. Edit the backend owner and run: make docs-openapi && make docs-zod
|
|
2
|
+
import { z } from "zod/v4";
|
|
3
|
+
import { BillingCatalogAdditionalUsageSchema } from "./catalog-additional-usage.js";
|
|
4
|
+
import { BillingCatalogCreditPackSchema } from "./catalog-credit-pack.js";
|
|
5
|
+
import { BillingCatalogPlanSchema } from "./catalog-plan.js";
|
|
6
|
+
import { BillingCatalogTierSchema } from "./catalog-tier.js";
|
|
7
|
+
const BillingCatalogSchemaDefinition = z.object({
|
|
8
|
+
additionalUsage: z.array(BillingCatalogAdditionalUsageSchema),
|
|
9
|
+
creditPack: z.array(BillingCatalogCreditPackSchema),
|
|
10
|
+
/** Invoice increments a USAGE_INVOICE subscriber may choose, in cents. */
|
|
11
|
+
invoiceIncrementCents: z.array(z.number().int()),
|
|
12
|
+
plan: z.array(BillingCatalogPlanSchema),
|
|
13
|
+
tier: z.array(BillingCatalogTierSchema),
|
|
14
|
+
});
|
|
15
|
+
/**
|
|
16
|
+
* Every self-serve subscription tier with its monthly allowance caps, every plan Checkout sells, and the prices of usage past those caps. The operator-only Unlimited tier is omitted.
|
|
17
|
+
*
|
|
18
|
+
* @openapiSchema BillingCatalog
|
|
19
|
+
* @endpoint GET /v1/billing/plans
|
|
20
|
+
* @contractShape billing.catalog
|
|
21
|
+
* @contractRole canonical
|
|
22
|
+
*/
|
|
23
|
+
export const BillingCatalogSchema = BillingCatalogSchemaDefinition;
|
|
24
|
+
//# sourceMappingURL=catalog.js.map
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
declare const BillingCheckoutMutationSchemaDefinition: z.ZodObject<{
|
|
3
|
+
plan: z.ZodEnum<{
|
|
4
|
+
PLUS_MONTHLY: "PLUS_MONTHLY";
|
|
5
|
+
PLUS_YEARLY: "PLUS_YEARLY";
|
|
6
|
+
PRO_MONTHLY: "PRO_MONTHLY";
|
|
7
|
+
PRO_YEARLY: "PRO_YEARLY";
|
|
8
|
+
PRO_YEARLY_PROMOTION: "PRO_YEARLY_PROMOTION";
|
|
9
|
+
}>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
type BillingCheckoutMutationDefinition = z.infer<typeof BillingCheckoutMutationSchemaDefinition>;
|
|
12
|
+
/**
|
|
13
|
+
* Caller-selected plan for server-owned hosted Checkout creation.
|
|
14
|
+
*
|
|
15
|
+
* @openapiSchema BillingCheckoutMutation
|
|
16
|
+
* @endpoint POST /v1/billing/checkout-sessions
|
|
17
|
+
* @contractShape billing.checkout-mutation
|
|
18
|
+
* @contractRole canonical
|
|
19
|
+
*/
|
|
20
|
+
export declare const BillingCheckoutMutationSchema: z.ZodType<BillingCheckoutMutationDefinition>;
|
|
21
|
+
export type BillingCheckoutMutation = z.infer<typeof BillingCheckoutMutationSchema>;
|
|
22
|
+
export {};
|
|
23
|
+
//# sourceMappingURL=checkout-mutation.d.ts.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// LLM AGENTS MAY NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES. DO NOT EDIT - generated from Kotlin data classes via OpenAPI. Edit the backend owner and run: make docs-openapi && make docs-zod
|
|
2
|
+
import { z } from "zod/v4";
|
|
3
|
+
import { BillingPlanTypeSchema } from "./plan-type.js";
|
|
4
|
+
const BillingCheckoutMutationSchemaDefinition = z.object({
|
|
5
|
+
/** AI Plus or AI Pro plan to start through hosted Checkout */
|
|
6
|
+
plan: BillingPlanTypeSchema,
|
|
7
|
+
});
|
|
8
|
+
/**
|
|
9
|
+
* Caller-selected plan for server-owned hosted Checkout creation.
|
|
10
|
+
*
|
|
11
|
+
* @openapiSchema BillingCheckoutMutation
|
|
12
|
+
* @endpoint POST /v1/billing/checkout-sessions
|
|
13
|
+
* @contractShape billing.checkout-mutation
|
|
14
|
+
* @contractRole canonical
|
|
15
|
+
*/
|
|
16
|
+
export const BillingCheckoutMutationSchema = BillingCheckoutMutationSchemaDefinition;
|
|
17
|
+
//# sourceMappingURL=checkout-mutation.js.map
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
declare const BillingCheckoutSchemaDefinition: z.ZodObject<{
|
|
3
|
+
expiresAt: z.ZodISODateTime;
|
|
4
|
+
plan: z.ZodEnum<{
|
|
5
|
+
PLUS_MONTHLY: "PLUS_MONTHLY";
|
|
6
|
+
PLUS_YEARLY: "PLUS_YEARLY";
|
|
7
|
+
PRO_MONTHLY: "PRO_MONTHLY";
|
|
8
|
+
PRO_YEARLY: "PRO_YEARLY";
|
|
9
|
+
PRO_YEARLY_PROMOTION: "PRO_YEARLY_PROMOTION";
|
|
10
|
+
}>;
|
|
11
|
+
url: z.ZodString;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
type BillingCheckoutDefinition = z.infer<typeof BillingCheckoutSchemaDefinition>;
|
|
14
|
+
/**
|
|
15
|
+
* Hosted Checkout destination and expiry without provider identifiers.
|
|
16
|
+
*
|
|
17
|
+
* @openapiSchema BillingCheckout
|
|
18
|
+
* @endpoint POST /v1/billing/checkout-sessions
|
|
19
|
+
* @contractShape billing.checkout
|
|
20
|
+
* @contractRole canonical
|
|
21
|
+
*/
|
|
22
|
+
export declare const BillingCheckoutSchema: z.ZodType<BillingCheckoutDefinition>;
|
|
23
|
+
export type BillingCheckout = z.infer<typeof BillingCheckoutSchema>;
|
|
24
|
+
export {};
|
|
25
|
+
//# sourceMappingURL=checkout.d.ts.map
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// LLM AGENTS MAY NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES. DO NOT EDIT - generated from Kotlin data classes via OpenAPI. Edit the backend owner and run: make docs-openapi && make docs-zod
|
|
2
|
+
import { z } from "zod/v4";
|
|
3
|
+
import { BillingPlanTypeSchema } from "./plan-type.js";
|
|
4
|
+
const BillingCheckoutSchemaDefinition = z.object({
|
|
5
|
+
expiresAt: z.iso.datetime({ offset: true }),
|
|
6
|
+
plan: BillingPlanTypeSchema,
|
|
7
|
+
url: z.string(),
|
|
8
|
+
});
|
|
9
|
+
/**
|
|
10
|
+
* Hosted Checkout destination and expiry without provider identifiers.
|
|
11
|
+
*
|
|
12
|
+
* @openapiSchema BillingCheckout
|
|
13
|
+
* @endpoint POST /v1/billing/checkout-sessions
|
|
14
|
+
* @contractShape billing.checkout
|
|
15
|
+
* @contractRole canonical
|
|
16
|
+
*/
|
|
17
|
+
export const BillingCheckoutSchema = BillingCheckoutSchemaDefinition;
|
|
18
|
+
//# sourceMappingURL=checkout.js.map
|