@aventurevc/api-schemas 0.7.272
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/LICENSE +201 -0
- package/README.md +5 -0
- package/dist/address/address.d.ts +95 -0
- package/dist/address/address.js +83 -0
- package/dist/address/association-role.d.ts +49 -0
- package/dist/address/association-role.js +45 -0
- package/dist/address/association.d.ts +58 -0
- package/dist/address/association.js +58 -0
- package/dist/address/city.d.ts +48 -0
- package/dist/address/city.js +49 -0
- package/dist/address/country.d.ts +52 -0
- package/dist/address/country.js +55 -0
- package/dist/address/state.d.ts +49 -0
- package/dist/address/state.js +51 -0
- package/dist/agent/help-question.d.ts +23 -0
- package/dist/agent/help-question.js +21 -0
- package/dist/agent/help.d.ts +34 -0
- package/dist/agent/help.js +24 -0
- package/dist/agent/instruction-detail.d.ts +27 -0
- package/dist/agent/instruction-detail.js +20 -0
- package/dist/agent/instruction-kind.d.ts +18 -0
- package/dist/agent/instruction-kind.js +14 -0
- package/dist/agent/instruction-manifest.d.ts +37 -0
- package/dist/agent/instruction-manifest.js +21 -0
- package/dist/agent/instruction-pointer.d.ts +19 -0
- package/dist/agent/instruction-pointer.js +19 -0
- package/dist/agent/instruction.d.ts +25 -0
- package/dist/agent/instruction.js +23 -0
- package/dist/auth/permission-grant.d.ts +18 -0
- package/dist/auth/permission-grant.js +16 -0
- package/dist/blog/post-type.d.ts +26 -0
- package/dist/blog/post-type.js +26 -0
- package/dist/blog/post.d.ts +50 -0
- package/dist/blog/post.js +48 -0
- package/dist/chart/bucket.d.ts +22 -0
- package/dist/chart/bucket.js +23 -0
- package/dist/classification/catalog-bucket.d.ts +64 -0
- package/dist/classification/catalog-bucket.js +34 -0
- package/dist/classification/catalog-category.d.ts +63 -0
- package/dist/classification/catalog-category.js +32 -0
- package/dist/classification/catalog.d.ts +137 -0
- package/dist/classification/catalog.js +23 -0
- package/dist/classification/classification.d.ts +41 -0
- package/dist/classification/classification.js +40 -0
- package/dist/classification/inactive-tag-details.d.ts +23 -0
- package/dist/classification/inactive-tag-details.js +22 -0
- package/dist/cli/authorization-client-platform.d.ts +20 -0
- package/dist/cli/authorization-client-platform.js +15 -0
- package/dist/cli/authorization-delivery.d.ts +21 -0
- package/dist/cli/authorization-delivery.js +25 -0
- package/dist/cli/authorization-encryption-algorithm.d.ts +17 -0
- package/dist/cli/authorization-encryption-algorithm.js +15 -0
- package/dist/cli/authorization-mutation.d.ts +27 -0
- package/dist/cli/authorization-mutation.js +29 -0
- package/dist/cli/authorization-poll.d.ts +51 -0
- package/dist/cli/authorization-poll.js +25 -0
- package/dist/cli/authorization-start.d.ts +22 -0
- package/dist/cli/authorization-start.js +26 -0
- package/dist/cli/authorization-status.d.ts +25 -0
- package/dist/cli/authorization-status.js +25 -0
- package/dist/cli/authorization-terminal-reason.d.ts +28 -0
- package/dist/cli/authorization-terminal-reason.js +28 -0
- package/dist/cli/authorization.d.ts +58 -0
- package/dist/cli/authorization.js +45 -0
- package/dist/client/pagination/page-param.d.ts +43 -0
- package/dist/client/pagination/page-param.js +42 -0
- package/dist/completion/gate-coverage.d.ts +18 -0
- package/dist/completion/gate-coverage.js +14 -0
- package/dist/confidence/confidence.d.ts +27 -0
- package/dist/confidence/confidence.js +23 -0
- package/dist/content/compliance.d.ts +33 -0
- package/dist/content/compliance.js +37 -0
- package/dist/content/content.d.ts +49 -0
- package/dist/content/content.js +51 -0
- package/dist/content/embedding-match.d.ts +62 -0
- package/dist/content/embedding-match.js +62 -0
- package/dist/content/filter.d.ts +35 -0
- package/dist/content/filter.js +27 -0
- package/dist/content/relation.d.ts +22 -0
- package/dist/content/relation.js +19 -0
- package/dist/content/search-interpretation.d.ts +48 -0
- package/dist/content/search-interpretation.js +30 -0
- package/dist/content/search-result.d.ts +94 -0
- package/dist/content/search-result.js +22 -0
- package/dist/content/sort-field.d.ts +25 -0
- package/dist/content/sort-field.js +25 -0
- package/dist/content/source-type.d.ts +50 -0
- package/dist/content/source-type.js +50 -0
- package/dist/content/type.d.ts +28 -0
- package/dist/content/type.js +28 -0
- package/dist/datasource/agent-identity.d.ts +18 -0
- package/dist/datasource/agent-identity.js +21 -0
- package/dist/datasource/data-source-type.d.ts +26 -0
- package/dist/datasource/data-source-type.js +26 -0
- package/dist/datasource/field-provenance.d.ts +110 -0
- package/dist/datasource/field-provenance.js +35 -0
- package/dist/datasource/provenance-actor-type.d.ts +18 -0
- package/dist/datasource/provenance-actor-type.js +15 -0
- package/dist/datasource/provenance-actor.d.ts +27 -0
- package/dist/datasource/provenance-actor.js +22 -0
- package/dist/datasource/provenance-field-change.d.ts +23 -0
- package/dist/datasource/provenance-field-change.js +21 -0
- package/dist/datasource/provenance-operation.d.ts +18 -0
- package/dist/datasource/provenance-operation.js +14 -0
- package/dist/datasource/provenance-source.d.ts +38 -0
- package/dist/datasource/provenance-source.js +33 -0
- package/dist/datasource/provenance-status.d.ts +21 -0
- package/dist/datasource/provenance-status.js +21 -0
- package/dist/datasource/source-metadata.d.ts +47 -0
- package/dist/datasource/source-metadata.js +47 -0
- package/dist/datasource/tracked-provenance-table.d.ts +34 -0
- package/dist/datasource/tracked-provenance-table.js +34 -0
- package/dist/decimal/range.d.ts +33 -0
- package/dist/decimal/range.js +33 -0
- package/dist/domain/conflict-details.d.ts +119 -0
- package/dist/domain/conflict-details.js +24 -0
- package/dist/duplicate/create-review.d.ts +47 -0
- package/dist/duplicate/create-review.js +25 -0
- package/dist/employee/count.d.ts +39 -0
- package/dist/employee/count.js +20 -0
- package/dist/entity/accelerator-participation.d.ts +91 -0
- package/dist/entity/accelerator-participation.js +47 -0
- package/dist/entity/acquisition-evidence.d.ts +22 -0
- package/dist/entity/acquisition-evidence.js +20 -0
- package/dist/entity/acquisition-role.d.ts +17 -0
- package/dist/entity/acquisition-role.js +13 -0
- package/dist/entity/acquisition-stage.d.ts +18 -0
- package/dist/entity/acquisition-stage.js +18 -0
- package/dist/entity/acquisition.d.ts +162 -0
- package/dist/entity/acquisition.js +43 -0
- package/dist/entity/alias-type.d.ts +52 -0
- package/dist/entity/alias-type.js +49 -0
- package/dist/entity/batch-param.d.ts +22 -0
- package/dist/entity/batch-param.js +24 -0
- package/dist/entity/classification-inactive-tag-override.d.ts +16 -0
- package/dist/entity/classification-inactive-tag-override.js +16 -0
- package/dist/entity/classification-suggestion.d.ts +98 -0
- package/dist/entity/classification-suggestion.js +28 -0
- package/dist/entity/classification.d.ts +423 -0
- package/dist/entity/classification.js +53 -0
- package/dist/entity/comparison-signals.d.ts +66 -0
- package/dist/entity/comparison-signals.js +36 -0
- package/dist/entity/detail-batch-param.d.ts +18 -0
- package/dist/entity/detail-batch-param.js +21 -0
- package/dist/entity/detail-batch.d.ts +22 -0
- package/dist/entity/detail-batch.js +24 -0
- package/dist/entity/detail-coverage-slot.d.ts +32 -0
- package/dist/entity/detail-coverage-slot.js +37 -0
- package/dist/entity/detail-similar-param.d.ts +22 -0
- package/dist/entity/detail-similar-param.js +33 -0
- package/dist/entity/detail.d.ts +1814 -0
- package/dist/entity/detail.js +52 -0
- package/dist/entity/enrichment.d.ts +574 -0
- package/dist/entity/enrichment.js +43 -0
- package/dist/entity/entity.d.ts +107 -0
- package/dist/entity/entity.js +100 -0
- package/dist/entity/filter-choice.d.ts +25 -0
- package/dist/entity/filter-choice.js +24 -0
- package/dist/entity/filter-control-type.d.ts +20 -0
- package/dist/entity/filter-control-type.js +20 -0
- package/dist/entity/filter-count-meta.d.ts +17 -0
- package/dist/entity/filter-count-meta.js +15 -0
- package/dist/entity/filter-count-result.d.ts +27 -0
- package/dist/entity/filter-count-result.js +17 -0
- package/dist/entity/filter-count.d.ts +20 -0
- package/dist/entity/filter-count.js +22 -0
- package/dist/entity/filter-entry.d.ts +77 -0
- package/dist/entity/filter-entry.js +41 -0
- package/dist/entity/filter-headquarters-country.d.ts +27 -0
- package/dist/entity/filter-headquarters-country.js +22 -0
- package/dist/entity/filter-headquarters-option-set.d.ts +29 -0
- package/dist/entity/filter-headquarters-option-set.js +19 -0
- package/dist/entity/filter-headquarters-state-city.d.ts +21 -0
- package/dist/entity/filter-headquarters-state-city.js +21 -0
- package/dist/entity/filter-logo-option.d.ts +26 -0
- package/dist/entity/filter-logo-option.js +23 -0
- package/dist/entity/filter-meta.d.ts +33 -0
- package/dist/entity/filter-meta.js +19 -0
- package/dist/entity/filter-option-mode.d.ts +17 -0
- package/dist/entity/filter-option-mode.js +14 -0
- package/dist/entity/filter-option-set-meta.d.ts +37 -0
- package/dist/entity/filter-option-set-meta.js +38 -0
- package/dist/entity/filter-option-set.d.ts +187 -0
- package/dist/entity/filter-option-set.js +23 -0
- package/dist/entity/filter-refined-filters.d.ts +100 -0
- package/dist/entity/filter-refined-filters.js +20 -0
- package/dist/entity/filter-scope.d.ts +19 -0
- package/dist/entity/filter-scope.js +21 -0
- package/dist/entity/filter-search-result.d.ts +20 -0
- package/dist/entity/filter-search-result.js +20 -0
- package/dist/entity/filter-search.d.ts +223 -0
- package/dist/entity/filter-search.js +23 -0
- package/dist/entity/filter-ui-meta.d.ts +31 -0
- package/dist/entity/filter-ui-meta.js +18 -0
- package/dist/entity/filter.d.ts +220 -0
- package/dist/entity/filter.js +112 -0
- package/dist/entity/funding-detail.d.ts +79 -0
- package/dist/entity/funding-detail.js +43 -0
- package/dist/entity/fundraise-filter-criteria.d.ts +95 -0
- package/dist/entity/fundraise-filter-criteria.js +35 -0
- package/dist/entity/fundraise-investor-activity.d.ts +34 -0
- package/dist/entity/fundraise-investor-activity.js +33 -0
- package/dist/entity/fundraise-investor-join.d.ts +40 -0
- package/dist/entity/fundraise-investor-join.js +34 -0
- package/dist/entity/fundraise-transaction-entity.d.ts +134 -0
- package/dist/entity/fundraise-transaction-entity.js +41 -0
- package/dist/entity/fundraise-transaction.d.ts +188 -0
- package/dist/entity/fundraise-transaction.js +60 -0
- package/dist/entity/fundraise.d.ts +46 -0
- package/dist/entity/fundraise.js +40 -0
- package/dist/entity/image.d.ts +63 -0
- package/dist/entity/image.js +62 -0
- package/dist/entity/investor-participation.d.ts +1830 -0
- package/dist/entity/investor-participation.js +22 -0
- package/dist/entity/list-filter.d.ts +223 -0
- package/dist/entity/list-filter.js +114 -0
- package/dist/entity/list-quality-gate.d.ts +25 -0
- package/dist/entity/list-quality-gate.js +22 -0
- package/dist/entity/list-research.d.ts +145 -0
- package/dist/entity/list-research.js +29 -0
- package/dist/entity/list-summary.d.ts +285 -0
- package/dist/entity/list-summary.js +21 -0
- package/dist/entity/list.d.ts +951 -0
- package/dist/entity/list.js +41 -0
- package/dist/entity/logo-type.d.ts +16 -0
- package/dist/entity/logo-type.js +13 -0
- package/dist/entity/lookup-param.d.ts +29 -0
- package/dist/entity/lookup-param.js +51 -0
- package/dist/entity/name-alias-entity-alias-type.d.ts +59 -0
- package/dist/entity/name-alias-entity-alias-type.js +58 -0
- package/dist/entity/name-alias-person-alias-type.d.ts +46 -0
- package/dist/entity/name-alias-person-alias-type.js +43 -0
- package/dist/entity/natural-search.d.ts +229 -0
- package/dist/entity/natural-search.js +20 -0
- package/dist/entity/person-association.d.ts +247 -0
- package/dist/entity/person-association.js +91 -0
- package/dist/entity/person-owner.d.ts +25 -0
- package/dist/entity/person-owner.js +27 -0
- package/dist/entity/relationship-type-option.d.ts +31 -0
- package/dist/entity/relationship-type-option.js +37 -0
- package/dist/entity/relationship.d.ts +135 -0
- package/dist/entity/relationship.js +55 -0
- package/dist/entity/research-detail.d.ts +72 -0
- package/dist/entity/research-detail.js +53 -0
- package/dist/entity/research-fact-value.d.ts +37 -0
- package/dist/entity/research-fact-value.js +27 -0
- package/dist/entity/research-snippet.d.ts +40 -0
- package/dist/entity/research-snippet.js +41 -0
- package/dist/entity/research-value-type.d.ts +42 -0
- package/dist/entity/research-value-type.js +42 -0
- package/dist/entity/research.d.ts +162 -0
- package/dist/entity/research.js +32 -0
- package/dist/entity/resolution.d.ts +1821 -0
- package/dist/entity/resolution.js +25 -0
- package/dist/entity/search-param.d.ts +22 -0
- package/dist/entity/search-param.js +24 -0
- package/dist/entity/similarity-context.d.ts +33 -0
- package/dist/entity/similarity-context.js +35 -0
- package/dist/entity/similarity-origin.d.ts +22 -0
- package/dist/entity/similarity-origin.js +22 -0
- package/dist/entity/similarity-result.d.ts +985 -0
- package/dist/entity/similarity-result.js +19 -0
- package/dist/entity/sitemap-url-type.d.ts +21 -0
- package/dist/entity/sitemap-url-type.js +21 -0
- package/dist/entity/sitemap-url.d.ts +43 -0
- package/dist/entity/sitemap-url.js +40 -0
- package/dist/entity/sitemap.d.ts +57 -0
- package/dist/entity/sitemap.js +63 -0
- package/dist/entity/suggestion-result.d.ts +999 -0
- package/dist/entity/suggestion-result.js +25 -0
- package/dist/entity/suggestion.d.ts +973 -0
- package/dist/entity/suggestion.js +28 -0
- package/dist/entity/tag-count.d.ts +20 -0
- package/dist/entity/tag-count.js +18 -0
- package/dist/entity/tag.d.ts +65 -0
- package/dist/entity/tag.js +68 -0
- package/dist/entity/text-bundle.d.ts +47 -0
- package/dist/entity/text-bundle.js +48 -0
- package/dist/entity/text.d.ts +40 -0
- package/dist/entity/text.js +36 -0
- package/dist/entity/type-alias.d.ts +22 -0
- package/dist/entity/type-alias.js +26 -0
- package/dist/entity/type-count.d.ts +28 -0
- package/dist/entity/type-count.js +19 -0
- package/dist/entity/type-group-membership.d.ts +33 -0
- package/dist/entity/type-group-membership.js +20 -0
- package/dist/entity/type-group.d.ts +18 -0
- package/dist/entity/type-group.js +15 -0
- package/dist/entity/type.d.ts +32 -0
- package/dist/entity/type.js +32 -0
- package/dist/entity/url-crawl-cdn-provider.d.ts +67 -0
- package/dist/entity/url-crawl-cdn-provider.js +67 -0
- package/dist/entity/url-crawl-render-mode.d.ts +50 -0
- package/dist/entity/url-crawl-render-mode.js +46 -0
- package/dist/entity/url-link.d.ts +146 -0
- package/dist/entity/url-link.js +72 -0
- package/dist/entity/url-type.d.ts +103 -0
- package/dist/entity/url-type.js +103 -0
- package/dist/entity/valuation-data-confidence.d.ts +40 -0
- package/dist/entity/valuation-data-confidence.js +36 -0
- package/dist/entity/valuation-derivation.d.ts +18 -0
- package/dist/entity/valuation-derivation.js +18 -0
- package/dist/entity/valuation-source.d.ts +16 -0
- package/dist/entity/valuation-source.js +13 -0
- package/dist/entity/valuation-time-series-point.d.ts +45 -0
- package/dist/entity/valuation-time-series-point.js +43 -0
- package/dist/external/social-post-platform.d.ts +21 -0
- package/dist/external/social-post-platform.js +21 -0
- package/dist/federated/search-provenance.d.ts +39 -0
- package/dist/federated/search-provenance.js +23 -0
- package/dist/federated/search.d.ts +1536 -0
- package/dist/federated/search.js +28 -0
- package/dist/funding/stage.d.ts +73 -0
- package/dist/funding/stage.js +73 -0
- package/dist/fundraise/data-confidence.d.ts +40 -0
- package/dist/fundraise/data-confidence.js +35 -0
- package/dist/fundraise/financial-instrument-type.d.ts +25 -0
- package/dist/fundraise/financial-instrument-type.js +25 -0
- package/dist/fundraise/investment-attribution-type.d.ts +43 -0
- package/dist/fundraise/investment-attribution-type.js +40 -0
- package/dist/fundraise/investment-attribution.d.ts +58 -0
- package/dist/fundraise/investment-attribution.js +64 -0
- package/dist/fundraise/transaction-status.d.ts +22 -0
- package/dist/fundraise/transaction-status.js +22 -0
- package/dist/github/repo.d.ts +36 -0
- package/dist/github/repo.js +46 -0
- package/dist/help/citation.d.ts +26 -0
- package/dist/help/citation.js +24 -0
- package/dist/help/scope.d.ts +17 -0
- package/dist/help/scope.js +13 -0
- package/dist/help/source-type.d.ts +18 -0
- package/dist/help/source-type.js +13 -0
- package/dist/http/json-value.d.ts +13 -0
- package/dist/http/json-value.js +18 -0
- package/dist/http/problem-detail.d.ts +254 -0
- package/dist/http/problem-detail.js +117 -0
- package/dist/int/range.d.ts +35 -0
- package/dist/int/range.js +35 -0
- package/dist/investor/activity-filter.d.ts +59 -0
- package/dist/investor/activity-filter.js +31 -0
- package/dist/letter/counts.d.ts +19 -0
- package/dist/letter/counts.js +18 -0
- package/dist/link/search.d.ts +1543 -0
- package/dist/link/search.js +21 -0
- package/dist/location/directory-entry.d.ts +44 -0
- package/dist/location/directory-entry.js +26 -0
- package/dist/location/identifier.d.ts +31 -0
- package/dist/location/identifier.js +26 -0
- package/dist/location/resolution-outcome.d.ts +16 -0
- package/dist/location/resolution-outcome.js +13 -0
- package/dist/location/scope.d.ts +18 -0
- package/dist/location/scope.js +14 -0
- package/dist/location/sitemap-batch.d.ts +33 -0
- package/dist/location/sitemap-batch.js +33 -0
- package/dist/location/sitemap-boundary-detail.d.ts +31 -0
- package/dist/location/sitemap-boundary-detail.js +22 -0
- package/dist/location/sitemap-boundary.d.ts +24 -0
- package/dist/location/sitemap-boundary.js +22 -0
- package/dist/location/sitemap.d.ts +131 -0
- package/dist/location/sitemap.js +29 -0
- package/dist/location/slug-resolution.d.ts +21 -0
- package/dist/location/slug-resolution.js +20 -0
- package/dist/media/object-type.d.ts +21 -0
- package/dist/media/object-type.js +16 -0
- package/dist/media/screenshot.d.ts +34 -0
- package/dist/media/screenshot.js +31 -0
- package/dist/media/upload.d.ts +35 -0
- package/dist/media/upload.js +30 -0
- package/dist/natural/search-result.d.ts +1203 -0
- package/dist/natural/search-result.js +23 -0
- package/dist/natural/search.d.ts +32 -0
- package/dist/natural/search.js +28 -0
- package/dist/news/candidate-score.d.ts +19 -0
- package/dist/news/candidate-score.js +28 -0
- package/dist/news/detail.d.ts +94 -0
- package/dist/news/detail.js +27 -0
- package/dist/news/feedback-acknowledgement.d.ts +22 -0
- package/dist/news/feedback-acknowledgement.js +20 -0
- package/dist/news/feedback.d.ts +20 -0
- package/dist/news/feedback.js +26 -0
- package/dist/news/filter.d.ts +27 -0
- package/dist/news/filter.js +31 -0
- package/dist/news/lookup-param.d.ts +22 -0
- package/dist/news/lookup-param.js +33 -0
- package/dist/news/news.d.ts +55 -0
- package/dist/news/news.js +61 -0
- package/dist/news/resolved-entity-link.d.ts +39 -0
- package/dist/news/resolved-entity-link.js +34 -0
- package/dist/news/resolved-person-link.d.ts +27 -0
- package/dist/news/resolved-person-link.js +31 -0
- package/dist/news/source-url-conflict.d.ts +20 -0
- package/dist/news/source-url-conflict.js +21 -0
- package/dist/openapi-component-manifest.d.ts +19 -0
- package/dist/openapi-component-manifest.js +864 -0
- package/dist/pageable/object.d.ts +119 -0
- package/dist/pageable/object.js +116 -0
- package/dist/pagination/schemas.d.ts +11887 -0
- package/dist/pagination/schemas.js +901 -0
- package/dist/person/alias-type.d.ts +38 -0
- package/dist/person/alias-type.js +33 -0
- package/dist/person/batch-param.d.ts +27 -0
- package/dist/person/batch-param.js +38 -0
- package/dist/person/detail-batch.d.ts +26 -0
- package/dist/person/detail-batch.js +51 -0
- package/dist/person/detail.d.ts +621 -0
- package/dist/person/detail.js +46 -0
- package/dist/person/enrichment.d.ts +114 -0
- package/dist/person/enrichment.js +35 -0
- package/dist/person/filter.d.ts +106 -0
- package/dist/person/filter.js +49 -0
- package/dist/person/graph-career-context.d.ts +354 -0
- package/dist/person/graph-career-context.js +33 -0
- package/dist/person/graph-co-investor.d.ts +92 -0
- package/dist/person/graph-co-investor.js +27 -0
- package/dist/person/graph-member.d.ts +31 -0
- package/dist/person/graph-member.js +32 -0
- package/dist/person/graph-similar-entity.d.ts +137 -0
- package/dist/person/graph-similar-entity.js +21 -0
- package/dist/person/graph.d.ts +487 -0
- package/dist/person/graph.js +22 -0
- package/dist/person/image.d.ts +46 -0
- package/dist/person/image.js +45 -0
- package/dist/person/invested-company.d.ts +83 -0
- package/dist/person/invested-company.js +32 -0
- package/dist/person/investment.d.ts +143 -0
- package/dist/person/investment.js +45 -0
- package/dist/person/investor-participation.d.ts +722 -0
- package/dist/person/investor-participation.js +22 -0
- package/dist/person/list-array-filter.d.ts +54 -0
- package/dist/person/list-array-filter.js +34 -0
- package/dist/person/lookup-param.d.ts +29 -0
- package/dist/person/lookup-param.js +43 -0
- package/dist/person/natural-search-result.d.ts +273 -0
- package/dist/person/natural-search-result.js +23 -0
- package/dist/person/natural-search.d.ts +114 -0
- package/dist/person/natural-search.js +20 -0
- package/dist/person/person.d.ts +110 -0
- package/dist/person/person.js +76 -0
- package/dist/person/search-interpretation.d.ts +136 -0
- package/dist/person/search-interpretation.js +35 -0
- package/dist/person/similarity-context.d.ts +26 -0
- package/dist/person/similarity-context.js +27 -0
- package/dist/person/similarity-origin.d.ts +16 -0
- package/dist/person/similarity-origin.js +13 -0
- package/dist/person/similarity-result.d.ts +345 -0
- package/dist/person/similarity-result.js +22 -0
- package/dist/personal/api-key.d.ts +32 -0
- package/dist/personal/api-key.js +37 -0
- package/dist/problem/resolution.d.ts +27 -0
- package/dist/problem/resolution.js +33 -0
- package/dist/problem/type.d.ts +68 -0
- package/dist/problem/type.js +68 -0
- package/dist/redirect/current-slug-owner.d.ts +27 -0
- package/dist/redirect/current-slug-owner.js +22 -0
- package/dist/redirect/redirect-slug-path.d.ts +25 -0
- package/dist/redirect/redirect-slug-path.js +20 -0
- package/dist/redirect/slug-resource.d.ts +21 -0
- package/dist/redirect/slug-resource.js +15 -0
- package/dist/refinement/meta.d.ts +21 -0
- package/dist/refinement/meta.js +23 -0
- package/dist/relationship/direction.d.ts +17 -0
- package/dist/relationship/direction.js +13 -0
- package/dist/research/derived-bucket.d.ts +38 -0
- package/dist/research/derived-bucket.js +38 -0
- package/dist/research/derived-range.d.ts +43 -0
- package/dist/research/derived-range.js +41 -0
- package/dist/research/detail-type.d.ts +46 -0
- package/dist/research/detail-type.js +29 -0
- package/dist/research/paragraph-shape.d.ts +23 -0
- package/dist/research/paragraph-shape.js +29 -0
- package/dist/research/snippet-type.d.ts +32 -0
- package/dist/research/snippet-type.js +33 -0
- package/dist/research/value-range.d.ts +14 -0
- package/dist/research/value-range.js +14 -0
- package/dist/research/value-shape-type.d.ts +27 -0
- package/dist/research/value-shape-type.js +27 -0
- package/dist/resolved/handle.d.ts +28 -0
- package/dist/resolved/handle.js +27 -0
- package/dist/round/label.d.ts +44 -0
- package/dist/round/label.js +44 -0
- package/dist/search/duplicate-candidate-score.d.ts +36 -0
- package/dist/search/duplicate-candidate-score.js +38 -0
- package/dist/search/hit.d.ts +21 -0
- package/dist/search/hit.js +19 -0
- package/dist/search/interpretation.d.ts +240 -0
- package/dist/search/interpretation.js +35 -0
- package/dist/search/mode-execution.d.ts +36 -0
- package/dist/search/mode-execution.js +25 -0
- package/dist/search/mode.d.ts +27 -0
- package/dist/search/mode.js +21 -0
- package/dist/search/ordering-entity-filter-sortable.d.ts +30 -0
- package/dist/search/ordering-entity-filter-sortable.js +23 -0
- package/dist/search/ordering-person-sort-field.d.ts +30 -0
- package/dist/search/ordering-person-sort-field.js +23 -0
- package/dist/search/relevance.d.ts +20 -0
- package/dist/search/relevance.js +17 -0
- package/dist/search/search.d.ts +24 -0
- package/dist/search/search.js +29 -0
- package/dist/sec/company.d.ts +40 -0
- package/dist/sec/company.js +56 -0
- package/dist/sitemap/change-frequency.d.ts +21 -0
- package/dist/sitemap/change-frequency.js +21 -0
- package/dist/sitemap/family-entry.d.ts +51 -0
- package/dist/sitemap/family-entry.js +27 -0
- package/dist/sitemap/family.d.ts +31 -0
- package/dist/sitemap/family.js +31 -0
- package/dist/sitemap/index-manifest.d.ts +35 -0
- package/dist/sitemap/index-manifest.js +16 -0
- package/dist/sitemap/index-path-mode.d.ts +16 -0
- package/dist/sitemap/index-path-mode.js +13 -0
- package/dist/sitemap/url-slot.d.ts +40 -0
- package/dist/sitemap/url-slot.js +28 -0
- package/dist/slug/location.d.ts +29 -0
- package/dist/slug/location.js +22 -0
- package/dist/sort/object.d.ts +113 -0
- package/dist/sort/object.js +113 -0
- package/dist/sort/order-content-sort-field.d.ts +31 -0
- package/dist/sort/order-content-sort-field.js +22 -0
- package/dist/sort/order-entity-filter-sortable.d.ts +38 -0
- package/dist/sort/order-entity-filter-sortable.js +38 -0
- package/dist/sort/order-person-sort-field.d.ts +33 -0
- package/dist/sort/order-person-sort-field.js +33 -0
- package/dist/sort/spec-content-sort-field.d.ts +26 -0
- package/dist/sort/spec-content-sort-field.js +20 -0
- package/dist/source/document-list.d.ts +31 -0
- package/dist/source/document-list.js +31 -0
- package/dist/stage/frequency.d.ts +20 -0
- package/dist/stage/frequency.js +18 -0
- package/dist/standardized/classification.d.ts +63 -0
- package/dist/standardized/classification.js +62 -0
- package/dist/strict/url-lookup-conflict.d.ts +23 -0
- package/dist/strict/url-lookup-conflict.js +27 -0
- package/dist/system/global-metrics.d.ts +26 -0
- package/dist/system/global-metrics.js +26 -0
- package/dist/system/status.d.ts +28 -0
- package/dist/system/status.js +19 -0
- package/dist/system/system-build-detail.d.ts +23 -0
- package/dist/system/system-build-detail.js +27 -0
- package/dist/system/system-build.d.ts +31 -0
- package/dist/system/system-build.js +17 -0
- package/dist/text/type-option.d.ts +30 -0
- package/dist/text/type-option.js +28 -0
- package/dist/unique/id-owner-scope.d.ts +16 -0
- package/dist/unique/id-owner-scope.js +13 -0
- package/dist/unique/id-type-alias.d.ts +24 -0
- package/dist/unique/id-type-alias.js +25 -0
- package/dist/unique/id-type.d.ts +35 -0
- package/dist/unique/id-type.js +35 -0
- package/dist/unique/id.d.ts +50 -0
- package/dist/unique/id.js +44 -0
- package/dist/uptime/uptime.d.ts +21 -0
- package/dist/uptime/uptime.js +23 -0
- package/dist/url/duplicate-conflict.d.ts +39 -0
- package/dist/url/duplicate-conflict.js +31 -0
- package/dist/url/duplicate-join.d.ts +22 -0
- package/dist/url/duplicate-join.js +20 -0
- package/dist/url/match-mode.d.ts +25 -0
- package/dist/url/match-mode.js +22 -0
- package/dist/url/slug-redirect.d.ts +25 -0
- package/dist/url/slug-redirect.js +29 -0
- package/dist/url/surface-misclassification-catalog.d.ts +50 -0
- package/dist/url/surface-misclassification-catalog.js +23 -0
- package/dist/url/surface-misclassification-route.d.ts +39 -0
- package/dist/url/surface-misclassification-route.js +44 -0
- package/dist/url/type-alias.d.ts +21 -0
- package/dist/url/type-alias.js +22 -0
- package/dist/valuation/type.d.ts +17 -0
- package/dist/valuation/type.js +13 -0
- package/dist/web/search.d.ts +75 -0
- package/dist/web/search.js +23 -0
- package/package.json +39 -0
|
@@ -0,0 +1,22 @@
|
|
|
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 { EntityClassificationInactiveTagOverrideSchema } from "../entity/classification-inactive-tag-override.js";
|
|
4
|
+
const ClassificationInactiveTagDetailsSchemaDefinition = z.object({
|
|
5
|
+
/** Allowed inactiveTagOverride values for this conflict */
|
|
6
|
+
availableOverrides: z.array(EntityClassificationInactiveTagOverrideSchema),
|
|
7
|
+
/** Existing dormant value slug or lookup key */
|
|
8
|
+
slug: z.string(),
|
|
9
|
+
/** Existing tag id in res_type_ref */
|
|
10
|
+
tagId: z.int(),
|
|
11
|
+
});
|
|
12
|
+
/**
|
|
13
|
+
* ProblemDetail.details for HTTP 409 when a classification value exists but is inactive.
|
|
14
|
+
*
|
|
15
|
+
* @openapiSchema ClassificationInactiveTagDetails
|
|
16
|
+
* @standardProblemResponse
|
|
17
|
+
* @usedBySchema DomainConflictDetailsSchema
|
|
18
|
+
* @contractShape classification.inactive-tag-details
|
|
19
|
+
* @contractRole canonical
|
|
20
|
+
*/
|
|
21
|
+
export const ClassificationInactiveTagDetailsSchema = ClassificationInactiveTagDetailsSchemaDefinition;
|
|
22
|
+
//# sourceMappingURL=inactive-tag-details.js.map
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
/**
|
|
3
|
+
* Coarse operating-system family reported by the CLI
|
|
4
|
+
*
|
|
5
|
+
* @openapiSchema CliAuthorizationClientPlatform
|
|
6
|
+
* @endpoint POST /v1/auth/cli-authorizations
|
|
7
|
+
* @endpoint POST /v1/auth/cli-authorizations/{cliAuthorizationId}/acknowledge
|
|
8
|
+
* @usedBySchema CliAuthorizationMutationSchema
|
|
9
|
+
* @usedBySchema CliAuthorizationSchema
|
|
10
|
+
* @contractShape cli.authorization-client-platform
|
|
11
|
+
* @contractRole canonical
|
|
12
|
+
*/
|
|
13
|
+
export declare const CliAuthorizationClientPlatformSchema: z.ZodEnum<{
|
|
14
|
+
LINUX: "LINUX";
|
|
15
|
+
MACOS: "MACOS";
|
|
16
|
+
OTHER: "OTHER";
|
|
17
|
+
WINDOWS: "WINDOWS";
|
|
18
|
+
}>;
|
|
19
|
+
export type CliAuthorizationClientPlatform = z.infer<typeof CliAuthorizationClientPlatformSchema>;
|
|
20
|
+
//# sourceMappingURL=authorization-client-platform.d.ts.map
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
+
* Coarse operating-system family reported by the CLI
|
|
5
|
+
*
|
|
6
|
+
* @openapiSchema CliAuthorizationClientPlatform
|
|
7
|
+
* @endpoint POST /v1/auth/cli-authorizations
|
|
8
|
+
* @endpoint POST /v1/auth/cli-authorizations/{cliAuthorizationId}/acknowledge
|
|
9
|
+
* @usedBySchema CliAuthorizationMutationSchema
|
|
10
|
+
* @usedBySchema CliAuthorizationSchema
|
|
11
|
+
* @contractShape cli.authorization-client-platform
|
|
12
|
+
* @contractRole canonical
|
|
13
|
+
*/
|
|
14
|
+
export const CliAuthorizationClientPlatformSchema = z.enum(["MACOS", "LINUX", "WINDOWS", "OTHER"]);
|
|
15
|
+
//# sourceMappingURL=authorization-client-platform.js.map
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
/**
|
|
3
|
+
* RSA-wrapped AES-256-GCM delivery of one personal API-key secret
|
|
4
|
+
*
|
|
5
|
+
* @openapiSchema CliAuthorizationDelivery
|
|
6
|
+
* @endpoint POST /v1/auth/cli-authorizations/{cliAuthorizationId}/poll
|
|
7
|
+
* @usedBySchema CliAuthorizationPollSchema
|
|
8
|
+
* @contractShape cli.authorization-delivery
|
|
9
|
+
* @contractRole canonical
|
|
10
|
+
*/
|
|
11
|
+
export declare const CliAuthorizationDeliverySchema: z.ZodObject<{
|
|
12
|
+
algorithm: z.ZodEnum<{
|
|
13
|
+
RSA_OAEP_256_A256_GCM_V1: "RSA_OAEP_256_A256_GCM_V1";
|
|
14
|
+
}>;
|
|
15
|
+
authenticationTag: z.ZodString;
|
|
16
|
+
ciphertext: z.ZodString;
|
|
17
|
+
nonce: z.ZodString;
|
|
18
|
+
wrappedKey: z.ZodString;
|
|
19
|
+
}, z.core.$strip>;
|
|
20
|
+
export type CliAuthorizationDelivery = z.infer<typeof CliAuthorizationDeliverySchema>;
|
|
21
|
+
//# sourceMappingURL=authorization-delivery.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 { CliAuthorizationEncryptionAlgorithmSchema } from "./authorization-encryption-algorithm.js";
|
|
4
|
+
/**
|
|
5
|
+
* RSA-wrapped AES-256-GCM delivery of one personal API-key secret
|
|
6
|
+
*
|
|
7
|
+
* @openapiSchema CliAuthorizationDelivery
|
|
8
|
+
* @endpoint POST /v1/auth/cli-authorizations/{cliAuthorizationId}/poll
|
|
9
|
+
* @usedBySchema CliAuthorizationPollSchema
|
|
10
|
+
* @contractShape cli.authorization-delivery
|
|
11
|
+
* @contractRole canonical
|
|
12
|
+
*/
|
|
13
|
+
export const CliAuthorizationDeliverySchema = z.object({
|
|
14
|
+
/** Hybrid encryption suite used for this delivery */
|
|
15
|
+
algorithm: CliAuthorizationEncryptionAlgorithmSchema,
|
|
16
|
+
/** Base64-encoded 16-byte AES-GCM authentication tag */
|
|
17
|
+
authenticationTag: z.string(),
|
|
18
|
+
/** Base64-encoded encrypted UTF-8 personal API-key secret bytes */
|
|
19
|
+
ciphertext: z.string(),
|
|
20
|
+
/** Base64-encoded 12-byte AES-GCM nonce */
|
|
21
|
+
nonce: z.string(),
|
|
22
|
+
/** Base64-encoded RSA-OAEP-wrapped AES key */
|
|
23
|
+
wrappedKey: z.string(),
|
|
24
|
+
});
|
|
25
|
+
//# sourceMappingURL=authorization-delivery.js.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
/**
|
|
3
|
+
* Versioned hybrid encryption suite for one-time CLI credential delivery
|
|
4
|
+
*
|
|
5
|
+
* @openapiSchema CliAuthorizationEncryptionAlgorithm
|
|
6
|
+
* @endpoint POST /v1/auth/cli-authorizations
|
|
7
|
+
* @endpoint POST /v1/auth/cli-authorizations/{cliAuthorizationId}/poll
|
|
8
|
+
* @usedBySchema CliAuthorizationDeliverySchema
|
|
9
|
+
* @usedBySchema CliAuthorizationMutationSchema
|
|
10
|
+
* @contractShape cli.authorization-encryption-algorithm
|
|
11
|
+
* @contractRole canonical
|
|
12
|
+
*/
|
|
13
|
+
export declare const CliAuthorizationEncryptionAlgorithmSchema: z.ZodEnum<{
|
|
14
|
+
RSA_OAEP_256_A256_GCM_V1: "RSA_OAEP_256_A256_GCM_V1";
|
|
15
|
+
}>;
|
|
16
|
+
export type CliAuthorizationEncryptionAlgorithm = z.infer<typeof CliAuthorizationEncryptionAlgorithmSchema>;
|
|
17
|
+
//# sourceMappingURL=authorization-encryption-algorithm.d.ts.map
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
+
* Versioned hybrid encryption suite for one-time CLI credential delivery
|
|
5
|
+
*
|
|
6
|
+
* @openapiSchema CliAuthorizationEncryptionAlgorithm
|
|
7
|
+
* @endpoint POST /v1/auth/cli-authorizations
|
|
8
|
+
* @endpoint POST /v1/auth/cli-authorizations/{cliAuthorizationId}/poll
|
|
9
|
+
* @usedBySchema CliAuthorizationDeliverySchema
|
|
10
|
+
* @usedBySchema CliAuthorizationMutationSchema
|
|
11
|
+
* @contractShape cli.authorization-encryption-algorithm
|
|
12
|
+
* @contractRole canonical
|
|
13
|
+
*/
|
|
14
|
+
export const CliAuthorizationEncryptionAlgorithmSchema = z.enum(["RSA_OAEP_256_A256_GCM_V1"]);
|
|
15
|
+
//# sourceMappingURL=authorization-encryption-algorithm.js.map
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
declare const CliAuthorizationMutationSchemaDefinition: z.ZodObject<{
|
|
3
|
+
clientLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4
|
+
clientPlatform: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
5
|
+
LINUX: "LINUX";
|
|
6
|
+
MACOS: "MACOS";
|
|
7
|
+
OTHER: "OTHER";
|
|
8
|
+
WINDOWS: "WINDOWS";
|
|
9
|
+
}>>>;
|
|
10
|
+
encryptionAlgorithm: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
11
|
+
RSA_OAEP_256_A256_GCM_V1: "RSA_OAEP_256_A256_GCM_V1";
|
|
12
|
+
}>>>;
|
|
13
|
+
encryptionPublicKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
type CliAuthorizationMutationDefinition = z.infer<typeof CliAuthorizationMutationSchemaDefinition>;
|
|
16
|
+
/**
|
|
17
|
+
* Creates a short-lived CLI authorization request bound to an ephemeral key
|
|
18
|
+
*
|
|
19
|
+
* @openapiSchema CliAuthorizationMutation
|
|
20
|
+
* @endpoint POST /v1/auth/cli-authorizations
|
|
21
|
+
* @contractShape cli.authorization-mutation
|
|
22
|
+
* @contractRole canonical
|
|
23
|
+
*/
|
|
24
|
+
export declare const CliAuthorizationMutationSchema: z.ZodType<CliAuthorizationMutationDefinition>;
|
|
25
|
+
export type CliAuthorizationMutation = z.infer<typeof CliAuthorizationMutationSchema>;
|
|
26
|
+
export {};
|
|
27
|
+
//# sourceMappingURL=authorization-mutation.d.ts.map
|
|
@@ -0,0 +1,29 @@
|
|
|
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 { CliAuthorizationClientPlatformSchema } from "./authorization-client-platform.js";
|
|
4
|
+
import { CliAuthorizationEncryptionAlgorithmSchema } from "./authorization-encryption-algorithm.js";
|
|
5
|
+
const CliAuthorizationMutationSchemaDefinition = z.object({
|
|
6
|
+
/** Label for this CLI installation */
|
|
7
|
+
clientLabel: z
|
|
8
|
+
.string()
|
|
9
|
+
.regex(/.*\S.*/)
|
|
10
|
+
.min(1)
|
|
11
|
+
.max(120)
|
|
12
|
+
.nullish(),
|
|
13
|
+
/** Coarse operating-system family */
|
|
14
|
+
clientPlatform: CliAuthorizationClientPlatformSchema.nullish(),
|
|
15
|
+
/** Requested hybrid encryption suite */
|
|
16
|
+
encryptionAlgorithm: CliAuthorizationEncryptionAlgorithmSchema.nullish(),
|
|
17
|
+
/** Base64-encoded DER SubjectPublicKeyInfo for an ephemeral RSA public key */
|
|
18
|
+
encryptionPublicKey: z.string().min(344).max(12000).nullish(),
|
|
19
|
+
});
|
|
20
|
+
/**
|
|
21
|
+
* Creates a short-lived CLI authorization request bound to an ephemeral key
|
|
22
|
+
*
|
|
23
|
+
* @openapiSchema CliAuthorizationMutation
|
|
24
|
+
* @endpoint POST /v1/auth/cli-authorizations
|
|
25
|
+
* @contractShape cli.authorization-mutation
|
|
26
|
+
* @contractRole canonical
|
|
27
|
+
*/
|
|
28
|
+
export const CliAuthorizationMutationSchema = CliAuthorizationMutationSchemaDefinition;
|
|
29
|
+
//# sourceMappingURL=authorization-mutation.js.map
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
declare const CliAuthorizationPollSchemaDefinition: z.ZodObject<{
|
|
3
|
+
delivery: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4
|
+
algorithm: z.ZodEnum<{
|
|
5
|
+
RSA_OAEP_256_A256_GCM_V1: "RSA_OAEP_256_A256_GCM_V1";
|
|
6
|
+
}>;
|
|
7
|
+
authenticationTag: z.ZodString;
|
|
8
|
+
ciphertext: z.ZodString;
|
|
9
|
+
nonce: z.ZodString;
|
|
10
|
+
wrappedKey: z.ZodString;
|
|
11
|
+
}, z.core.$strip>>>;
|
|
12
|
+
expiresAt: z.ZodISODateTime;
|
|
13
|
+
status: z.ZodEnum<{
|
|
14
|
+
CONSUMED: "CONSUMED";
|
|
15
|
+
DENIED: "DENIED";
|
|
16
|
+
EXPIRED: "EXPIRED";
|
|
17
|
+
FAILED: "FAILED";
|
|
18
|
+
ISSUING: "ISSUING";
|
|
19
|
+
KEY_READY: "KEY_READY";
|
|
20
|
+
PENDING: "PENDING";
|
|
21
|
+
REVOKED: "REVOKED";
|
|
22
|
+
REVOKING: "REVOKING";
|
|
23
|
+
}>;
|
|
24
|
+
terminalReason: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
25
|
+
"Authorization request expired": "Authorization request expired";
|
|
26
|
+
"CLI authorization expired before acknowledgement": "CLI authorization expired before acknowledgement";
|
|
27
|
+
"Clerk create response validation failed": "Clerk create response validation failed";
|
|
28
|
+
"Credential delivery encryption failed": "Credential delivery encryption failed";
|
|
29
|
+
"Credential issuance could not be recovered": "Credential issuance could not be recovered";
|
|
30
|
+
"Credential issuance failed": "Credential issuance failed";
|
|
31
|
+
"Credential issuance finalization was lost": "Credential issuance finalization was lost";
|
|
32
|
+
"Credential issuance lost its database claim": "Credential issuance lost its database claim";
|
|
33
|
+
"Credential issuance recovery revoked an unrecoverable key": "Credential issuance recovery revoked an unrecoverable key";
|
|
34
|
+
"Denied by user": "Denied by user";
|
|
35
|
+
"Personal API-key quota reached": "Personal API-key quota reached";
|
|
36
|
+
"Revoked by user": "Revoked by user";
|
|
37
|
+
}>>>;
|
|
38
|
+
}, z.core.$strip>;
|
|
39
|
+
type CliAuthorizationPollDefinition = z.infer<typeof CliAuthorizationPollSchemaDefinition>;
|
|
40
|
+
/**
|
|
41
|
+
* Current broker state and encrypted delivery when the key is ready
|
|
42
|
+
*
|
|
43
|
+
* @openapiSchema CliAuthorizationPoll
|
|
44
|
+
* @endpoint POST /v1/auth/cli-authorizations/{cliAuthorizationId}/poll
|
|
45
|
+
* @contractShape cli.authorization-poll
|
|
46
|
+
* @contractRole canonical
|
|
47
|
+
*/
|
|
48
|
+
export declare const CliAuthorizationPollSchema: z.ZodType<CliAuthorizationPollDefinition>;
|
|
49
|
+
export type CliAuthorizationPoll = z.infer<typeof CliAuthorizationPollSchema>;
|
|
50
|
+
export {};
|
|
51
|
+
//# sourceMappingURL=authorization-poll.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 { CliAuthorizationDeliverySchema } from "./authorization-delivery.js";
|
|
4
|
+
import { CliAuthorizationStatusSchema } from "./authorization-status.js";
|
|
5
|
+
import { CliAuthorizationTerminalReasonSchema } from "./authorization-terminal-reason.js";
|
|
6
|
+
const CliAuthorizationPollSchemaDefinition = z.object({
|
|
7
|
+
/** Encrypted one-time delivery, present only for KEY_READY */
|
|
8
|
+
delivery: CliAuthorizationDeliverySchema.nullish(),
|
|
9
|
+
/** Authorization request expiry timestamp */
|
|
10
|
+
expiresAt: z.iso.datetime({ offset: true }),
|
|
11
|
+
/** Current broker lifecycle state */
|
|
12
|
+
status: CliAuthorizationStatusSchema,
|
|
13
|
+
/** Non-secret terminal-state explanation */
|
|
14
|
+
terminalReason: CliAuthorizationTerminalReasonSchema.nullish(),
|
|
15
|
+
});
|
|
16
|
+
/**
|
|
17
|
+
* Current broker state and encrypted delivery when the key is ready
|
|
18
|
+
*
|
|
19
|
+
* @openapiSchema CliAuthorizationPoll
|
|
20
|
+
* @endpoint POST /v1/auth/cli-authorizations/{cliAuthorizationId}/poll
|
|
21
|
+
* @contractShape cli.authorization-poll
|
|
22
|
+
* @contractRole canonical
|
|
23
|
+
*/
|
|
24
|
+
export const CliAuthorizationPollSchema = CliAuthorizationPollSchemaDefinition;
|
|
25
|
+
//# sourceMappingURL=authorization-poll.js.map
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
declare const CliAuthorizationStartSchemaDefinition: z.ZodObject<{
|
|
3
|
+
comparisonCode: z.ZodString;
|
|
4
|
+
expiresAt: z.ZodISODateTime;
|
|
5
|
+
id: z.ZodUUID;
|
|
6
|
+
intervalSeconds: z.ZodNumber;
|
|
7
|
+
pollSecret: z.ZodString;
|
|
8
|
+
verificationUrl: z.ZodString;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
type CliAuthorizationStartDefinition = z.infer<typeof CliAuthorizationStartSchemaDefinition>;
|
|
11
|
+
/**
|
|
12
|
+
* New CLI authorization handle and one-time poll credential
|
|
13
|
+
*
|
|
14
|
+
* @openapiSchema CliAuthorizationStart
|
|
15
|
+
* @endpoint POST /v1/auth/cli-authorizations
|
|
16
|
+
* @contractShape cli.authorization-start
|
|
17
|
+
* @contractRole canonical
|
|
18
|
+
*/
|
|
19
|
+
export declare const CliAuthorizationStartSchema: z.ZodType<CliAuthorizationStartDefinition>;
|
|
20
|
+
export type CliAuthorizationStart = z.infer<typeof CliAuthorizationStartSchema>;
|
|
21
|
+
export {};
|
|
22
|
+
//# sourceMappingURL=authorization-start.d.ts.map
|
|
@@ -0,0 +1,26 @@
|
|
|
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 CliAuthorizationStartSchemaDefinition = z.object({
|
|
4
|
+
/** Human comparison code shown by both the CLI and browser */
|
|
5
|
+
comparisonCode: z.string(),
|
|
6
|
+
/** Authorization request expiry timestamp */
|
|
7
|
+
expiresAt: z.iso.datetime({ offset: true }),
|
|
8
|
+
/** Public authorization request identifier */
|
|
9
|
+
id: z.uuid(),
|
|
10
|
+
/** Minimum poll interval in seconds */
|
|
11
|
+
intervalSeconds: z.number().int().min(1),
|
|
12
|
+
/** One-time high-entropy credential required to poll and acknowledge delivery */
|
|
13
|
+
pollSecret: z.string(),
|
|
14
|
+
/** Browser verification URL */
|
|
15
|
+
verificationUrl: z.string(),
|
|
16
|
+
});
|
|
17
|
+
/**
|
|
18
|
+
* New CLI authorization handle and one-time poll credential
|
|
19
|
+
*
|
|
20
|
+
* @openapiSchema CliAuthorizationStart
|
|
21
|
+
* @endpoint POST /v1/auth/cli-authorizations
|
|
22
|
+
* @contractShape cli.authorization-start
|
|
23
|
+
* @contractRole canonical
|
|
24
|
+
*/
|
|
25
|
+
export const CliAuthorizationStartSchema = CliAuthorizationStartSchemaDefinition;
|
|
26
|
+
//# sourceMappingURL=authorization-start.js.map
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
/**
|
|
3
|
+
* CLI authorization broker lifecycle state
|
|
4
|
+
*
|
|
5
|
+
* @openapiSchema CliAuthorizationStatus
|
|
6
|
+
* @endpoint POST /v1/auth/cli-authorizations/{cliAuthorizationId}/acknowledge
|
|
7
|
+
* @endpoint POST /v1/auth/cli-authorizations/{cliAuthorizationId}/poll
|
|
8
|
+
* @usedBySchema CliAuthorizationPollSchema
|
|
9
|
+
* @usedBySchema CliAuthorizationSchema
|
|
10
|
+
* @contractShape cli.authorization-status
|
|
11
|
+
* @contractRole canonical
|
|
12
|
+
*/
|
|
13
|
+
export declare const CliAuthorizationStatusSchema: z.ZodEnum<{
|
|
14
|
+
CONSUMED: "CONSUMED";
|
|
15
|
+
DENIED: "DENIED";
|
|
16
|
+
EXPIRED: "EXPIRED";
|
|
17
|
+
FAILED: "FAILED";
|
|
18
|
+
ISSUING: "ISSUING";
|
|
19
|
+
KEY_READY: "KEY_READY";
|
|
20
|
+
PENDING: "PENDING";
|
|
21
|
+
REVOKED: "REVOKED";
|
|
22
|
+
REVOKING: "REVOKING";
|
|
23
|
+
}>;
|
|
24
|
+
export type CliAuthorizationStatus = z.infer<typeof CliAuthorizationStatusSchema>;
|
|
25
|
+
//# sourceMappingURL=authorization-status.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
|
+
/**
|
|
4
|
+
* CLI authorization broker lifecycle state
|
|
5
|
+
*
|
|
6
|
+
* @openapiSchema CliAuthorizationStatus
|
|
7
|
+
* @endpoint POST /v1/auth/cli-authorizations/{cliAuthorizationId}/acknowledge
|
|
8
|
+
* @endpoint POST /v1/auth/cli-authorizations/{cliAuthorizationId}/poll
|
|
9
|
+
* @usedBySchema CliAuthorizationPollSchema
|
|
10
|
+
* @usedBySchema CliAuthorizationSchema
|
|
11
|
+
* @contractShape cli.authorization-status
|
|
12
|
+
* @contractRole canonical
|
|
13
|
+
*/
|
|
14
|
+
export const CliAuthorizationStatusSchema = z.enum([
|
|
15
|
+
"PENDING",
|
|
16
|
+
"ISSUING",
|
|
17
|
+
"KEY_READY",
|
|
18
|
+
"REVOKING",
|
|
19
|
+
"CONSUMED",
|
|
20
|
+
"REVOKED",
|
|
21
|
+
"DENIED",
|
|
22
|
+
"EXPIRED",
|
|
23
|
+
"FAILED",
|
|
24
|
+
]);
|
|
25
|
+
//# sourceMappingURL=authorization-status.js.map
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
/**
|
|
3
|
+
* CLI authorization terminal explanation
|
|
4
|
+
*
|
|
5
|
+
* @openapiSchema CliAuthorizationTerminalReason
|
|
6
|
+
* @endpoint POST /v1/auth/cli-authorizations/{cliAuthorizationId}/acknowledge
|
|
7
|
+
* @endpoint POST /v1/auth/cli-authorizations/{cliAuthorizationId}/poll
|
|
8
|
+
* @usedBySchema CliAuthorizationPollSchema
|
|
9
|
+
* @usedBySchema CliAuthorizationSchema
|
|
10
|
+
* @contractShape cli.authorization-terminal-reason
|
|
11
|
+
* @contractRole canonical
|
|
12
|
+
*/
|
|
13
|
+
export declare const CliAuthorizationTerminalReasonSchema: z.ZodEnum<{
|
|
14
|
+
"Authorization request expired": "Authorization request expired";
|
|
15
|
+
"CLI authorization expired before acknowledgement": "CLI authorization expired before acknowledgement";
|
|
16
|
+
"Clerk create response validation failed": "Clerk create response validation failed";
|
|
17
|
+
"Credential delivery encryption failed": "Credential delivery encryption failed";
|
|
18
|
+
"Credential issuance could not be recovered": "Credential issuance could not be recovered";
|
|
19
|
+
"Credential issuance failed": "Credential issuance failed";
|
|
20
|
+
"Credential issuance finalization was lost": "Credential issuance finalization was lost";
|
|
21
|
+
"Credential issuance lost its database claim": "Credential issuance lost its database claim";
|
|
22
|
+
"Credential issuance recovery revoked an unrecoverable key": "Credential issuance recovery revoked an unrecoverable key";
|
|
23
|
+
"Denied by user": "Denied by user";
|
|
24
|
+
"Personal API-key quota reached": "Personal API-key quota reached";
|
|
25
|
+
"Revoked by user": "Revoked by user";
|
|
26
|
+
}>;
|
|
27
|
+
export type CliAuthorizationTerminalReason = z.infer<typeof CliAuthorizationTerminalReasonSchema>;
|
|
28
|
+
//# sourceMappingURL=authorization-terminal-reason.d.ts.map
|
|
@@ -0,0 +1,28 @@
|
|
|
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
|
+
* CLI authorization terminal explanation
|
|
5
|
+
*
|
|
6
|
+
* @openapiSchema CliAuthorizationTerminalReason
|
|
7
|
+
* @endpoint POST /v1/auth/cli-authorizations/{cliAuthorizationId}/acknowledge
|
|
8
|
+
* @endpoint POST /v1/auth/cli-authorizations/{cliAuthorizationId}/poll
|
|
9
|
+
* @usedBySchema CliAuthorizationPollSchema
|
|
10
|
+
* @usedBySchema CliAuthorizationSchema
|
|
11
|
+
* @contractShape cli.authorization-terminal-reason
|
|
12
|
+
* @contractRole canonical
|
|
13
|
+
*/
|
|
14
|
+
export const CliAuthorizationTerminalReasonSchema = z.enum([
|
|
15
|
+
"Denied by user",
|
|
16
|
+
"Authorization request expired",
|
|
17
|
+
"CLI authorization expired before acknowledgement",
|
|
18
|
+
"Credential issuance recovery revoked an unrecoverable key",
|
|
19
|
+
"Revoked by user",
|
|
20
|
+
"Clerk create response validation failed",
|
|
21
|
+
"Credential issuance failed",
|
|
22
|
+
"Credential issuance could not be recovered",
|
|
23
|
+
"Personal API-key quota reached",
|
|
24
|
+
"Credential issuance lost its database claim",
|
|
25
|
+
"Credential delivery encryption failed",
|
|
26
|
+
"Credential issuance finalization was lost",
|
|
27
|
+
]);
|
|
28
|
+
//# sourceMappingURL=authorization-terminal-reason.js.map
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
declare const CliAuthorizationSchemaDefinition: z.ZodObject<{
|
|
3
|
+
approvedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
4
|
+
clientLabel: z.ZodString;
|
|
5
|
+
clientPlatform: z.ZodEnum<{
|
|
6
|
+
LINUX: "LINUX";
|
|
7
|
+
MACOS: "MACOS";
|
|
8
|
+
OTHER: "OTHER";
|
|
9
|
+
WINDOWS: "WINDOWS";
|
|
10
|
+
}>;
|
|
11
|
+
comparisonCode: z.ZodString;
|
|
12
|
+
consumedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
13
|
+
createdAt: z.ZodISODateTime;
|
|
14
|
+
expiresAt: z.ZodISODateTime;
|
|
15
|
+
id: z.ZodUUID;
|
|
16
|
+
intervalSeconds: z.ZodNumber;
|
|
17
|
+
keyReadyAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
18
|
+
status: z.ZodEnum<{
|
|
19
|
+
CONSUMED: "CONSUMED";
|
|
20
|
+
DENIED: "DENIED";
|
|
21
|
+
EXPIRED: "EXPIRED";
|
|
22
|
+
FAILED: "FAILED";
|
|
23
|
+
ISSUING: "ISSUING";
|
|
24
|
+
KEY_READY: "KEY_READY";
|
|
25
|
+
PENDING: "PENDING";
|
|
26
|
+
REVOKED: "REVOKED";
|
|
27
|
+
REVOKING: "REVOKING";
|
|
28
|
+
}>;
|
|
29
|
+
terminalAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
30
|
+
terminalReason: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
31
|
+
"Authorization request expired": "Authorization request expired";
|
|
32
|
+
"CLI authorization expired before acknowledgement": "CLI authorization expired before acknowledgement";
|
|
33
|
+
"Clerk create response validation failed": "Clerk create response validation failed";
|
|
34
|
+
"Credential delivery encryption failed": "Credential delivery encryption failed";
|
|
35
|
+
"Credential issuance could not be recovered": "Credential issuance could not be recovered";
|
|
36
|
+
"Credential issuance failed": "Credential issuance failed";
|
|
37
|
+
"Credential issuance finalization was lost": "Credential issuance finalization was lost";
|
|
38
|
+
"Credential issuance lost its database claim": "Credential issuance lost its database claim";
|
|
39
|
+
"Credential issuance recovery revoked an unrecoverable key": "Credential issuance recovery revoked an unrecoverable key";
|
|
40
|
+
"Denied by user": "Denied by user";
|
|
41
|
+
"Personal API-key quota reached": "Personal API-key quota reached";
|
|
42
|
+
"Revoked by user": "Revoked by user";
|
|
43
|
+
}>>>;
|
|
44
|
+
updatedAt: z.ZodISODateTime;
|
|
45
|
+
}, z.core.$strip>;
|
|
46
|
+
type CliAuthorizationDefinition = z.infer<typeof CliAuthorizationSchemaDefinition>;
|
|
47
|
+
/**
|
|
48
|
+
* Browser-approved CLI authorization metadata. Secret poll and encrypted-delivery material are exposed only by their dedicated one-time response contracts.
|
|
49
|
+
*
|
|
50
|
+
* @openapiSchema CliAuthorization
|
|
51
|
+
* @endpoint POST /v1/auth/cli-authorizations/{cliAuthorizationId}/acknowledge
|
|
52
|
+
* @contractShape cli.authorization
|
|
53
|
+
* @contractRole canonical
|
|
54
|
+
*/
|
|
55
|
+
export declare const CliAuthorizationSchema: z.ZodType<CliAuthorizationDefinition>;
|
|
56
|
+
export type CliAuthorization = z.infer<typeof CliAuthorizationSchema>;
|
|
57
|
+
export {};
|
|
58
|
+
//# sourceMappingURL=authorization.d.ts.map
|
|
@@ -0,0 +1,45 @@
|
|
|
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 { CliAuthorizationClientPlatformSchema } from "./authorization-client-platform.js";
|
|
4
|
+
import { CliAuthorizationStatusSchema } from "./authorization-status.js";
|
|
5
|
+
import { CliAuthorizationTerminalReasonSchema } from "./authorization-terminal-reason.js";
|
|
6
|
+
const CliAuthorizationSchemaDefinition = z.object({
|
|
7
|
+
/** Time the authenticated user approved this request */
|
|
8
|
+
approvedAt: z.iso.datetime({ offset: true }).nullish(),
|
|
9
|
+
/** User-supplied label for the requesting CLI installation */
|
|
10
|
+
clientLabel: z.string(),
|
|
11
|
+
/** Coarse client operating-system family */
|
|
12
|
+
clientPlatform: CliAuthorizationClientPlatformSchema,
|
|
13
|
+
/** Human comparison code shown by both the CLI and browser */
|
|
14
|
+
comparisonCode: z.string(),
|
|
15
|
+
/** Time the CLI acknowledged durable local storage */
|
|
16
|
+
consumedAt: z.iso.datetime({ offset: true }).nullish(),
|
|
17
|
+
/** Authorization request creation timestamp */
|
|
18
|
+
createdAt: z.iso.datetime({ offset: true }),
|
|
19
|
+
/** Time after which an unfinished request cannot be approved */
|
|
20
|
+
expiresAt: z.iso.datetime({ offset: true }),
|
|
21
|
+
/** Public authorization request identifier */
|
|
22
|
+
id: z.uuid(),
|
|
23
|
+
/** Minimum server-directed poll interval in seconds */
|
|
24
|
+
intervalSeconds: z.number().int().min(1),
|
|
25
|
+
/** Time encrypted key delivery became available */
|
|
26
|
+
keyReadyAt: z.iso.datetime({ offset: true }).nullish(),
|
|
27
|
+
/** Current broker lifecycle state */
|
|
28
|
+
status: CliAuthorizationStatusSchema,
|
|
29
|
+
/** Time this request entered its terminal state */
|
|
30
|
+
terminalAt: z.iso.datetime({ offset: true }).nullish(),
|
|
31
|
+
/** Non-secret terminal-state explanation */
|
|
32
|
+
terminalReason: CliAuthorizationTerminalReasonSchema.nullish(),
|
|
33
|
+
/** Most recent lifecycle update timestamp */
|
|
34
|
+
updatedAt: z.iso.datetime({ offset: true }),
|
|
35
|
+
});
|
|
36
|
+
/**
|
|
37
|
+
* Browser-approved CLI authorization metadata. Secret poll and encrypted-delivery material are exposed only by their dedicated one-time response contracts.
|
|
38
|
+
*
|
|
39
|
+
* @openapiSchema CliAuthorization
|
|
40
|
+
* @endpoint POST /v1/auth/cli-authorizations/{cliAuthorizationId}/acknowledge
|
|
41
|
+
* @contractShape cli.authorization
|
|
42
|
+
* @contractRole canonical
|
|
43
|
+
*/
|
|
44
|
+
export const CliAuthorizationSchema = CliAuthorizationSchemaDefinition;
|
|
45
|
+
//# sourceMappingURL=authorization.js.map
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
/**
|
|
3
|
+
* Query-string sort parameter: single `"field,dir"` or multi-sort array.
|
|
4
|
+
*
|
|
5
|
+
* Matches the OpenAPI operation parameter emitted by springdoc for
|
|
6
|
+
* `@ParameterObject Pageable` endpoints:
|
|
7
|
+
* sort: { type: "array", items: { type: "string" } }
|
|
8
|
+
*
|
|
9
|
+
* Clients may pass a single string or an array; Spring accepts both.
|
|
10
|
+
*
|
|
11
|
+
* @shared primitive:single reusable request-side sort parameter; not direct because Spring Pageable flows into OpenAPI as operation parameters, not component schemas
|
|
12
|
+
* @usedByEndpoint none:external-root contract consumed by downstream repos
|
|
13
|
+
* @contractShape client.pagination-sort-param
|
|
14
|
+
* @contractRole canonical
|
|
15
|
+
* @ownerModule client/pagination/page-param.ts
|
|
16
|
+
*/
|
|
17
|
+
export declare const SortParamSchema: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
18
|
+
export type SortParam = z.infer<typeof SortParamSchema>;
|
|
19
|
+
/**
|
|
20
|
+
* Request-side page/size/sort query parameters for Spring `@ParameterObject Pageable` endpoints.
|
|
21
|
+
*
|
|
22
|
+
* Derived from the OpenAPI operation parameters emitted by springdoc:
|
|
23
|
+
* page: { type: "integer", default: 0, minimum: 0 }
|
|
24
|
+
* size: { type: "integer", default: 25, minimum: 1 }
|
|
25
|
+
* sort: { type: "array", items: { type: "string" } }
|
|
26
|
+
*
|
|
27
|
+
* This is the client-side canonical owner for pagination request params.
|
|
28
|
+
* Response-side pagination metadata lives in `pageable/object.ts` (PageableObject)
|
|
29
|
+
* and `pagination/schemas.ts` (Page<T> envelopes).
|
|
30
|
+
*
|
|
31
|
+
* @shared composition:used as building block for other schemas client.pagination-page-param; not direct because Spring Pageable flows into OpenAPI as operation parameters, not component schemas
|
|
32
|
+
* @usedByEndpoint none:external-root contract consumed by downstream repos
|
|
33
|
+
* @contractShape client.pagination-page-param
|
|
34
|
+
* @contractRole canonical
|
|
35
|
+
* @ownerModule client/pagination/page-param.ts
|
|
36
|
+
*/
|
|
37
|
+
export declare const PageParamSchema: z.ZodObject<{
|
|
38
|
+
page: z.ZodOptional<z.ZodInt>;
|
|
39
|
+
size: z.ZodOptional<z.ZodInt>;
|
|
40
|
+
sort: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
41
|
+
}, z.core.$strip>;
|
|
42
|
+
export type PageParam = z.infer<typeof PageParamSchema>;
|
|
43
|
+
//# sourceMappingURL=page-param.d.ts.map
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
// Generated alternate api-schemas support copy from TypeScript source api-schemas/client/pagination/page-param.ts
|
|
2
|
+
import { z } from "zod/v4";
|
|
3
|
+
/**
|
|
4
|
+
* Query-string sort parameter: single `"field,dir"` or multi-sort array.
|
|
5
|
+
*
|
|
6
|
+
* Matches the OpenAPI operation parameter emitted by springdoc for
|
|
7
|
+
* `@ParameterObject Pageable` endpoints:
|
|
8
|
+
* sort: { type: "array", items: { type: "string" } }
|
|
9
|
+
*
|
|
10
|
+
* Clients may pass a single string or an array; Spring accepts both.
|
|
11
|
+
*
|
|
12
|
+
* @shared primitive:single reusable request-side sort parameter; not direct because Spring Pageable flows into OpenAPI as operation parameters, not component schemas
|
|
13
|
+
* @usedByEndpoint none:external-root contract consumed by downstream repos
|
|
14
|
+
* @contractShape client.pagination-sort-param
|
|
15
|
+
* @contractRole canonical
|
|
16
|
+
* @ownerModule client/pagination/page-param.ts
|
|
17
|
+
*/
|
|
18
|
+
export const SortParamSchema = z.union([z.string().min(1), z.array(z.string().min(1))]);
|
|
19
|
+
/**
|
|
20
|
+
* Request-side page/size/sort query parameters for Spring `@ParameterObject Pageable` endpoints.
|
|
21
|
+
*
|
|
22
|
+
* Derived from the OpenAPI operation parameters emitted by springdoc:
|
|
23
|
+
* page: { type: "integer", default: 0, minimum: 0 }
|
|
24
|
+
* size: { type: "integer", default: 25, minimum: 1 }
|
|
25
|
+
* sort: { type: "array", items: { type: "string" } }
|
|
26
|
+
*
|
|
27
|
+
* This is the client-side canonical owner for pagination request params.
|
|
28
|
+
* Response-side pagination metadata lives in `pageable/object.ts` (PageableObject)
|
|
29
|
+
* and `pagination/schemas.ts` (Page<T> envelopes).
|
|
30
|
+
*
|
|
31
|
+
* @shared composition:used as building block for other schemas client.pagination-page-param; not direct because Spring Pageable flows into OpenAPI as operation parameters, not component schemas
|
|
32
|
+
* @usedByEndpoint none:external-root contract consumed by downstream repos
|
|
33
|
+
* @contractShape client.pagination-page-param
|
|
34
|
+
* @contractRole canonical
|
|
35
|
+
* @ownerModule client/pagination/page-param.ts
|
|
36
|
+
*/
|
|
37
|
+
export const PageParamSchema = z.object({
|
|
38
|
+
page: z.int().nonnegative().optional(),
|
|
39
|
+
size: z.int().positive().optional(),
|
|
40
|
+
sort: SortParamSchema.optional(),
|
|
41
|
+
});
|
|
42
|
+
//# sourceMappingURL=page-param.js.map
|