@aventurevc/api-schemas 0.8.0 → 0.8.3
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/dist/address/address.d.ts +1 -2
- package/dist/address/address.js +1 -2
- package/dist/address/association-role.d.ts +1 -2
- package/dist/address/association-role.js +1 -2
- package/dist/address/association.d.ts +1 -2
- package/dist/address/association.js +1 -2
- package/dist/address/city.d.ts +1 -2
- package/dist/address/city.js +1 -2
- package/dist/address/country.d.ts +1 -2
- package/dist/address/country.js +1 -2
- package/dist/address/state.d.ts +1 -2
- package/dist/address/state.js +1 -2
- package/dist/billing/additional-usage-meter.d.ts +1 -0
- package/dist/billing/additional-usage-type.d.ts +1 -0
- package/dist/billing/additional-usage-type.js +1 -0
- package/dist/billing/additional-usage.d.ts +2 -2
- package/dist/billing/catalog-additional-usage.d.ts +1 -0
- package/dist/billing/catalog-allowance.d.ts +1 -0
- package/dist/billing/catalog-allowance.js +1 -0
- package/dist/billing/catalog-tier.d.ts +2 -2
- package/dist/billing/catalog.d.ts +5 -5
- package/dist/billing/catalog.js +1 -1
- package/dist/billing/subscription.d.ts +14 -2
- package/dist/classification/catalog-bucket.d.ts +1 -1
- package/dist/classification/catalog-bucket.js +1 -1
- package/dist/classification/catalog-category.d.ts +1 -1
- package/dist/classification/catalog-category.js +1 -1
- package/dist/classification/catalog.d.ts +1 -1
- package/dist/classification/catalog.js +1 -1
- package/dist/classification/classification.d.ts +3 -4
- package/dist/classification/classification.js +3 -4
- package/dist/content/embedding-match.d.ts +2 -2
- package/dist/content/embedding-match.js +2 -2
- package/dist/content/source-type.d.ts +2 -2
- package/dist/content/source-type.js +2 -2
- package/dist/decimal/range.d.ts +2 -1
- package/dist/decimal/range.js +2 -1
- package/dist/entity/accelerator-participation.d.ts +1 -2
- package/dist/entity/accelerator-participation.js +1 -2
- package/dist/entity/alias-type.d.ts +1 -4
- package/dist/entity/alias-type.js +1 -4
- package/dist/entity/classification.d.ts +1 -2
- package/dist/entity/classification.js +1 -2
- package/dist/entity/enrichment.d.ts +1 -2
- package/dist/entity/enrichment.js +1 -2
- package/dist/entity/entity.d.ts +1 -4
- package/dist/entity/entity.js +1 -4
- package/dist/entity/funding-detail.d.ts +1 -3
- package/dist/entity/funding-detail.js +1 -3
- package/dist/entity/fundraise-filter-criteria.js +5 -0
- package/dist/entity/fundraise-transaction-entity.d.ts +1 -4
- package/dist/entity/fundraise-transaction-entity.js +1 -4
- package/dist/entity/fundraise-transaction.d.ts +1 -4
- package/dist/entity/fundraise-transaction.js +1 -4
- package/dist/entity/image.d.ts +1 -4
- package/dist/entity/image.js +1 -4
- package/dist/entity/list-quality-gate.d.ts +1 -1
- package/dist/entity/list-quality-gate.js +1 -1
- package/dist/entity/list-research.d.ts +1 -2
- package/dist/entity/list-research.js +1 -2
- package/dist/entity/list.d.ts +1 -3
- package/dist/entity/list.js +1 -3
- package/dist/entity/name-alias-entity-alias-type.d.ts +1 -4
- package/dist/entity/name-alias-entity-alias-type.js +1 -4
- package/dist/entity/name-alias-person-alias-type.d.ts +1 -0
- package/dist/entity/name-alias-person-alias-type.js +1 -0
- package/dist/entity/operating-status.d.ts +1 -1
- package/dist/entity/operating-status.js +1 -1
- package/dist/entity/person-owner.js +2 -2
- package/dist/entity/research-detail.d.ts +1 -2
- package/dist/entity/research-detail.js +1 -2
- package/dist/entity/research-value-type.d.ts +1 -2
- package/dist/entity/research-value-type.js +1 -2
- package/dist/entity/similarity-origin.d.ts +0 -3
- package/dist/entity/similarity-origin.js +0 -3
- package/dist/entity/sitemap.d.ts +1 -4
- package/dist/entity/sitemap.js +1 -4
- package/dist/entity/tag.d.ts +3 -4
- package/dist/entity/tag.js +3 -4
- package/dist/entity/text-bundle.d.ts +2 -2
- package/dist/entity/text-bundle.js +2 -2
- package/dist/entity/type.d.ts +0 -1
- package/dist/entity/type.js +0 -1
- package/dist/entity/url-crawl-cdn-provider.d.ts +1 -2
- package/dist/entity/url-crawl-cdn-provider.js +1 -2
- package/dist/entity/url-crawl-render-mode.d.ts +1 -2
- package/dist/entity/url-crawl-render-mode.js +1 -2
- package/dist/entity/url-link.d.ts +1 -2
- package/dist/entity/url-link.js +1 -2
- package/dist/entity/url-type.d.ts +1 -3
- package/dist/entity/url-type.js +1 -3
- package/dist/funding/stage.d.ts +1 -3
- package/dist/funding/stage.js +1 -3
- package/dist/fundraise/data-confidence.d.ts +1 -3
- package/dist/fundraise/data-confidence.js +1 -3
- package/dist/fundraise/investment-attribution-type.d.ts +1 -3
- package/dist/fundraise/investment-attribution-type.js +1 -3
- package/dist/fundraise/investment-attribution.d.ts +1 -3
- package/dist/fundraise/investment-attribution.js +1 -3
- package/dist/harness/chassis.d.ts +17 -0
- package/dist/harness/chassis.js +14 -0
- package/dist/harness/llm-api.d.ts +18 -0
- package/dist/harness/llm-api.js +14 -0
- package/dist/harness/run.d.ts +10 -0
- package/dist/harness/run.js +8 -0
- package/dist/http/problem-detail.d.ts +2 -0
- package/dist/http/problem-detail.js +15 -6
- package/dist/identification/candidate.d.ts +6 -0
- package/dist/identification/candidate.js +5 -1
- package/dist/identification/identification.d.ts +20 -0
- package/dist/identification/identification.js +4 -0
- package/dist/int/range.d.ts +2 -1
- package/dist/int/range.js +2 -1
- package/dist/investor/activity-filter.js +5 -0
- package/dist/natural/search.d.ts +0 -1
- package/dist/natural/search.js +0 -1
- package/dist/news/param.d.ts +3 -1
- package/dist/news/param.js +5 -3
- package/dist/openapi-component-manifest.js +2 -65
- package/dist/pageable/object.d.ts +3 -12
- package/dist/pageable/object.js +3 -12
- package/dist/pagination/schemas.d.ts +3 -473
- package/dist/pagination/schemas.js +3 -94
- package/dist/person/alias-type.d.ts +1 -0
- package/dist/person/alias-type.js +1 -0
- package/dist/person/image.d.ts +1 -0
- package/dist/person/image.js +1 -0
- package/dist/person/person.d.ts +1 -0
- package/dist/person/person.js +1 -0
- package/dist/publication/publication.d.ts +0 -2
- package/dist/publication/publication.js +0 -2
- package/dist/publication/relation.d.ts +0 -2
- package/dist/publication/relation.js +0 -2
- package/dist/publication/type.d.ts +0 -2
- package/dist/publication/type.js +0 -2
- package/dist/research/allowance-usage.d.ts +11 -0
- package/dist/research/allowance-usage.js +1 -0
- package/dist/research/derived-bucket.d.ts +1 -2
- package/dist/research/derived-bucket.js +1 -2
- package/dist/research/derived-range.d.ts +1 -2
- package/dist/research/derived-range.js +1 -2
- package/dist/round/label.d.ts +1 -3
- package/dist/round/label.js +1 -3
- package/dist/search/mode.d.ts +0 -1
- package/dist/search/mode.js +0 -1
- package/dist/sec/company.d.ts +1 -1
- package/dist/sec/company.js +1 -1
- package/dist/sort/object.d.ts +3 -12
- package/dist/sort/object.js +3 -12
- package/dist/standardized/classification.d.ts +3 -4
- package/dist/standardized/classification.js +3 -4
- package/dist/system/status.d.ts +3 -1
- package/dist/system/status.js +6 -2
- package/dist/uptime/uptime.d.ts +1 -1
- package/dist/uptime/uptime.js +1 -1
- package/dist/url/match-mode.d.ts +1 -1
- package/dist/url/match-mode.js +1 -1
- package/package.json +1 -1
- package/dist/completion/gate-coverage.d.ts +0 -18
- package/dist/completion/gate-coverage.js +0 -14
- package/dist/entity/detail-coverage-slot.d.ts +0 -32
- package/dist/entity/detail-coverage-slot.js +0 -37
- package/dist/entity/filter-count-meta.d.ts +0 -16
- package/dist/entity/filter-count-meta.js +0 -14
- package/dist/entity/filter-count-result.d.ts +0 -26
- package/dist/entity/filter-count-result.js +0 -16
- package/dist/entity/filters-counts-param.d.ts +0 -19
- package/dist/entity/filters-counts-param.js +0 -23
- package/dist/entity/list-summary.d.ts +0 -285
- package/dist/entity/list-summary.js +0 -21
- package/dist/entity/suggestion-result.d.ts +0 -991
- package/dist/entity/suggestion-result.js +0 -25
- package/dist/entity/suggestion.d.ts +0 -965
- package/dist/entity/suggestion.js +0 -28
- package/dist/entity/tag-count.d.ts +0 -19
- package/dist/entity/tag-count.js +0 -17
- package/dist/entity/type-count.d.ts +0 -28
- package/dist/entity/type-count.js +0 -19
- package/dist/location/directory-entry.d.ts +0 -43
- package/dist/location/directory-entry.js +0 -25
- package/dist/location/identifier.d.ts +0 -31
- package/dist/location/identifier.js +0 -26
- package/dist/location/resolution-outcome.d.ts +0 -16
- package/dist/location/resolution-outcome.js +0 -13
- package/dist/location/scope.d.ts +0 -18
- package/dist/location/scope.js +0 -14
- package/dist/location/sitemap-batch.d.ts +0 -33
- package/dist/location/sitemap-batch.js +0 -33
- package/dist/location/sitemap.d.ts +0 -194
- package/dist/location/sitemap.js +0 -30
- package/dist/location/slug-resolution.d.ts +0 -21
- package/dist/location/slug-resolution.js +0 -20
- package/dist/sitemap/family.d.ts +0 -28
- package/dist/sitemap/family.js +0 -28
- package/dist/sitemap/url-slot.d.ts +0 -38
- package/dist/sitemap/url-slot.js +0 -26
- package/dist/url/slug-redirect.d.ts +0 -23
- package/dist/url/slug-redirect.js +0 -27
|
@@ -1,28 +0,0 @@
|
|
|
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 { EntityListSchema } from "./list.js";
|
|
4
|
-
import { EntitySimilarityOriginSchema } from "./similarity-origin.js";
|
|
5
|
-
const EntitySuggestionSchemaDefinition = z.object({
|
|
6
|
-
/** True when this candidate already backs the slot for the entity (a curated row). */
|
|
7
|
-
alreadyPresent: z.boolean(),
|
|
8
|
-
/** Candidate entity list row; load full detail through the entity detail reads. */
|
|
9
|
-
candidate: EntityListSchema,
|
|
10
|
-
/** One-based rank within this suggestion response. */
|
|
11
|
-
rank: z.int(),
|
|
12
|
-
/** Composite semantic similarity score; larger values rank higher. */
|
|
13
|
-
score: z.number(),
|
|
14
|
-
/** Why this candidate was suggested — the similarity provenance origin, not free text. */
|
|
15
|
-
whySuggested: EntitySimilarityOriginSchema,
|
|
16
|
-
});
|
|
17
|
-
/**
|
|
18
|
-
* One advisory suggestion candidate. The candidate row is the canonical entity list projection; whySuggested reuses the similarity provenance origin as confidence.
|
|
19
|
-
*
|
|
20
|
-
* @openapiSchema EntitySuggestion
|
|
21
|
-
* @endpoint GET /v1/entities/{entityId}/products/suggestions
|
|
22
|
-
* @endpoint GET /v1/entities/{entityId}/relationships/suggestions
|
|
23
|
-
* @usedBySchema EntitySuggestionResultSchema
|
|
24
|
-
* @contractShape entity.suggestion
|
|
25
|
-
* @contractRole canonical
|
|
26
|
-
*/
|
|
27
|
-
export const EntitySuggestionSchema = EntitySuggestionSchemaDefinition;
|
|
28
|
-
//# sourceMappingURL=suggestion.js.map
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { z } from "zod/v4";
|
|
2
|
-
declare const EntityTagCountSchemaDefinition: z.ZodObject<{
|
|
3
|
-
count: z.ZodNumber;
|
|
4
|
-
name: z.ZodString;
|
|
5
|
-
}, z.core.$strip>;
|
|
6
|
-
type EntityTagCountDefinition = z.infer<typeof EntityTagCountSchemaDefinition>;
|
|
7
|
-
/**
|
|
8
|
-
* Summary count for a specific tag.
|
|
9
|
-
*
|
|
10
|
-
* @openapiSchema EntityTagCount
|
|
11
|
-
* @endpoint GET /v1/entities/filters/counts
|
|
12
|
-
* @usedBySchema EntityFilterCountResultSchema
|
|
13
|
-
* @contractShape entity.tag-count
|
|
14
|
-
* @contractRole canonical
|
|
15
|
-
*/
|
|
16
|
-
export declare const EntityTagCountSchema: z.ZodType<EntityTagCountDefinition>;
|
|
17
|
-
export type EntityTagCount = z.infer<typeof EntityTagCountSchema>;
|
|
18
|
-
export {};
|
|
19
|
-
//# sourceMappingURL=tag-count.d.ts.map
|
package/dist/entity/tag-count.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
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 EntityTagCountSchemaDefinition = z.object({
|
|
4
|
-
count: z.number().int(),
|
|
5
|
-
name: z.string(),
|
|
6
|
-
});
|
|
7
|
-
/**
|
|
8
|
-
* Summary count for a specific tag.
|
|
9
|
-
*
|
|
10
|
-
* @openapiSchema EntityTagCount
|
|
11
|
-
* @endpoint GET /v1/entities/filters/counts
|
|
12
|
-
* @usedBySchema EntityFilterCountResultSchema
|
|
13
|
-
* @contractShape entity.tag-count
|
|
14
|
-
* @contractRole canonical
|
|
15
|
-
*/
|
|
16
|
-
export const EntityTagCountSchema = EntityTagCountSchemaDefinition;
|
|
17
|
-
//# sourceMappingURL=tag-count.js.map
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { z } from "zod/v4";
|
|
2
|
-
declare const EntityTypeCountSchemaDefinition: z.ZodObject<{
|
|
3
|
-
totalCount: z.ZodNumber;
|
|
4
|
-
typeRecord: z.ZodEnum<{
|
|
5
|
-
"Business Line": "Business Line";
|
|
6
|
-
Company: "Company";
|
|
7
|
-
Fund: "Fund";
|
|
8
|
-
Government: "Government";
|
|
9
|
-
"Investment Firm": "Investment Firm";
|
|
10
|
-
Nonprofit: "Nonprofit";
|
|
11
|
-
Organization: "Organization";
|
|
12
|
-
Product: "Product";
|
|
13
|
-
Service: "Service";
|
|
14
|
-
}>;
|
|
15
|
-
}, z.core.$strip>;
|
|
16
|
-
type EntityTypeCountDefinition = z.infer<typeof EntityTypeCountSchemaDefinition>;
|
|
17
|
-
/**
|
|
18
|
-
* Visible entity count for one EntityType.
|
|
19
|
-
*
|
|
20
|
-
* @openapiSchema EntityTypeCount
|
|
21
|
-
* @endpoint GET /v1/entities/counts
|
|
22
|
-
* @contractShape entity.type-count
|
|
23
|
-
* @contractRole canonical
|
|
24
|
-
*/
|
|
25
|
-
export declare const EntityTypeCountSchema: z.ZodType<EntityTypeCountDefinition>;
|
|
26
|
-
export type EntityTypeCount = z.infer<typeof EntityTypeCountSchema>;
|
|
27
|
-
export {};
|
|
28
|
-
//# sourceMappingURL=type-count.d.ts.map
|
|
@@ -1,19 +0,0 @@
|
|
|
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 { EntityTypeSchema } from "./type.js";
|
|
4
|
-
const EntityTypeCountSchemaDefinition = z.object({
|
|
5
|
-
/** Total visible entities of this type */
|
|
6
|
-
totalCount: z.number().int().min(0),
|
|
7
|
-
/** Entity type classification */
|
|
8
|
-
typeRecord: EntityTypeSchema,
|
|
9
|
-
});
|
|
10
|
-
/**
|
|
11
|
-
* Visible entity count for one EntityType.
|
|
12
|
-
*
|
|
13
|
-
* @openapiSchema EntityTypeCount
|
|
14
|
-
* @endpoint GET /v1/entities/counts
|
|
15
|
-
* @contractShape entity.type-count
|
|
16
|
-
* @contractRole canonical
|
|
17
|
-
*/
|
|
18
|
-
export const EntityTypeCountSchema = EntityTypeCountSchemaDefinition;
|
|
19
|
-
//# sourceMappingURL=type-count.js.map
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { z } from "zod/v4";
|
|
2
|
-
/**
|
|
3
|
-
* Single directory entry (country/state/city) for sitemap
|
|
4
|
-
*
|
|
5
|
-
* @openapiSchema LocationDirectoryEntry
|
|
6
|
-
* @endpoint GET /v1/addresses/locations/{directory}
|
|
7
|
-
* @endpoint POST /v1/addresses/locations/batch
|
|
8
|
-
* @usedBySchema LocationSitemapSchema
|
|
9
|
-
* @usedBySchema PageLocationDirectoryEntrySchema
|
|
10
|
-
* @contractShape location.directory-entry
|
|
11
|
-
* @contractRole canonical
|
|
12
|
-
*/
|
|
13
|
-
export declare const LocationDirectoryEntrySchema: z.ZodObject<{
|
|
14
|
-
canonicalSlug: z.ZodString;
|
|
15
|
-
entityCount: z.ZodNumber;
|
|
16
|
-
identifier: z.ZodType<{
|
|
17
|
-
cityId?: number | null | undefined;
|
|
18
|
-
cityName?: string | null | undefined;
|
|
19
|
-
countryId?: number | null | undefined;
|
|
20
|
-
countryIso2?: string | null | undefined;
|
|
21
|
-
countryName?: string | null | undefined;
|
|
22
|
-
scope: "city" | "country" | "state";
|
|
23
|
-
stateAbbrev?: string | null | undefined;
|
|
24
|
-
stateId?: number | null | undefined;
|
|
25
|
-
stateName?: string | null | undefined;
|
|
26
|
-
}, unknown, z.core.$ZodTypeInternals<{
|
|
27
|
-
cityId?: number | null | undefined;
|
|
28
|
-
cityName?: string | null | undefined;
|
|
29
|
-
countryId?: number | null | undefined;
|
|
30
|
-
countryIso2?: string | null | undefined;
|
|
31
|
-
countryName?: string | null | undefined;
|
|
32
|
-
scope: "city" | "country" | "state";
|
|
33
|
-
stateAbbrev?: string | null | undefined;
|
|
34
|
-
stateId?: number | null | undefined;
|
|
35
|
-
stateName?: string | null | undefined;
|
|
36
|
-
}, unknown>>;
|
|
37
|
-
latestUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
38
|
-
name: z.ZodString;
|
|
39
|
-
parentLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
-
slug: z.ZodString;
|
|
41
|
-
}, z.core.$strip>;
|
|
42
|
-
export type LocationDirectoryEntry = z.infer<typeof LocationDirectoryEntrySchema>;
|
|
43
|
-
//# sourceMappingURL=directory-entry.d.ts.map
|
|
@@ -1,25 +0,0 @@
|
|
|
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 { LocationIdentifierSchema } from "./identifier.js";
|
|
4
|
-
/**
|
|
5
|
-
* Single directory entry (country/state/city) for sitemap
|
|
6
|
-
*
|
|
7
|
-
* @openapiSchema LocationDirectoryEntry
|
|
8
|
-
* @endpoint GET /v1/addresses/locations/{directory}
|
|
9
|
-
* @endpoint POST /v1/addresses/locations/batch
|
|
10
|
-
* @usedBySchema LocationSitemapSchema
|
|
11
|
-
* @usedBySchema PageLocationDirectoryEntrySchema
|
|
12
|
-
* @contractShape location.directory-entry
|
|
13
|
-
* @contractRole canonical
|
|
14
|
-
*/
|
|
15
|
-
export const LocationDirectoryEntrySchema = z.object({
|
|
16
|
-
canonicalSlug: z.string(),
|
|
17
|
-
entityCount: z.number().int(),
|
|
18
|
-
identifier: LocationIdentifierSchema,
|
|
19
|
-
/** Per-location entity provenance watermark: MAX over the location's member companies of COALESCE(lastModifiedAt, createdAt), computed by the stored directory rebuild. Absent until that rebuild has run for the row. */
|
|
20
|
-
latestUpdatedAt: z.iso.datetime({ offset: true }).nullish(),
|
|
21
|
-
name: z.string(),
|
|
22
|
-
parentLabel: z.string().nullish(),
|
|
23
|
-
slug: z.string(),
|
|
24
|
-
});
|
|
25
|
-
//# sourceMappingURL=directory-entry.js.map
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { z } from "zod/v4";
|
|
2
|
-
declare const LocationIdentifierSchemaDefinition: z.ZodObject<{
|
|
3
|
-
cityId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4
|
-
cityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5
|
-
countryId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
6
|
-
countryIso2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
|
-
countryName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8
|
-
scope: z.ZodEnum<{
|
|
9
|
-
city: "city";
|
|
10
|
-
country: "country";
|
|
11
|
-
state: "state";
|
|
12
|
-
}>;
|
|
13
|
-
stateAbbrev: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
-
stateId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
15
|
-
stateName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
-
}, z.core.$strip>;
|
|
17
|
-
type LocationIdentifierDefinition = z.infer<typeof LocationIdentifierSchemaDefinition>;
|
|
18
|
-
/**
|
|
19
|
-
* Canonical multi-scope location identifier with hierarchical IDs
|
|
20
|
-
*
|
|
21
|
-
* @openapiSchema LocationIdentifier
|
|
22
|
-
* @endpoint GET /v1/addresses/locations/{directory}
|
|
23
|
-
* @endpoint POST /v1/addresses/locations/batch
|
|
24
|
-
* @usedBySchema LocationDirectoryEntrySchema
|
|
25
|
-
* @contractShape location.identifier
|
|
26
|
-
* @contractRole canonical
|
|
27
|
-
*/
|
|
28
|
-
export declare const LocationIdentifierSchema: z.ZodType<LocationIdentifierDefinition>;
|
|
29
|
-
export type LocationIdentifier = z.infer<typeof LocationIdentifierSchema>;
|
|
30
|
-
export {};
|
|
31
|
-
//# sourceMappingURL=identifier.d.ts.map
|
|
@@ -1,26 +0,0 @@
|
|
|
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 { LocationScopeSchema } from "./scope.js";
|
|
4
|
-
const LocationIdentifierSchemaDefinition = z.object({
|
|
5
|
-
cityId: z.int().nullish(),
|
|
6
|
-
cityName: z.string().nullish(),
|
|
7
|
-
countryId: z.int().nullish(),
|
|
8
|
-
countryIso2: z.string().nullish(),
|
|
9
|
-
countryName: z.string().nullish(),
|
|
10
|
-
scope: LocationScopeSchema,
|
|
11
|
-
stateAbbrev: z.string().nullish(),
|
|
12
|
-
stateId: z.int().nullish(),
|
|
13
|
-
stateName: z.string().nullish(),
|
|
14
|
-
});
|
|
15
|
-
/**
|
|
16
|
-
* Canonical multi-scope location identifier with hierarchical IDs
|
|
17
|
-
*
|
|
18
|
-
* @openapiSchema LocationIdentifier
|
|
19
|
-
* @endpoint GET /v1/addresses/locations/{directory}
|
|
20
|
-
* @endpoint POST /v1/addresses/locations/batch
|
|
21
|
-
* @usedBySchema LocationDirectoryEntrySchema
|
|
22
|
-
* @contractShape location.identifier
|
|
23
|
-
* @contractRole canonical
|
|
24
|
-
*/
|
|
25
|
-
export const LocationIdentifierSchema = LocationIdentifierSchemaDefinition;
|
|
26
|
-
//# sourceMappingURL=identifier.js.map
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { z } from "zod/v4";
|
|
2
|
-
/**
|
|
3
|
-
* Lifecycle classification for a requested location slug: current resolves to a live published directory entry; unpublished means the canonical token resolves to a real reference-table location that has no publishable companies, served as HTTP 410 Gone so crawlers drop the URL permanently
|
|
4
|
-
*
|
|
5
|
-
* @openapiSchema LocationResolutionOutcome
|
|
6
|
-
* @endpoint POST /v1/addresses/locations/batch
|
|
7
|
-
* @usedBySchema LocationSlugResolutionSchema
|
|
8
|
-
* @contractShape location.resolution-outcome
|
|
9
|
-
* @contractRole canonical
|
|
10
|
-
*/
|
|
11
|
-
export declare const LocationResolutionOutcomeSchema: z.ZodEnum<{
|
|
12
|
-
current: "current";
|
|
13
|
-
unpublished: "unpublished";
|
|
14
|
-
}>;
|
|
15
|
-
export type LocationResolutionOutcome = z.infer<typeof LocationResolutionOutcomeSchema>;
|
|
16
|
-
//# sourceMappingURL=resolution-outcome.d.ts.map
|
|
@@ -1,13 +0,0 @@
|
|
|
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
|
-
* Lifecycle classification for a requested location slug: current resolves to a live published directory entry; unpublished means the canonical token resolves to a real reference-table location that has no publishable companies, served as HTTP 410 Gone so crawlers drop the URL permanently
|
|
5
|
-
*
|
|
6
|
-
* @openapiSchema LocationResolutionOutcome
|
|
7
|
-
* @endpoint POST /v1/addresses/locations/batch
|
|
8
|
-
* @usedBySchema LocationSlugResolutionSchema
|
|
9
|
-
* @contractShape location.resolution-outcome
|
|
10
|
-
* @contractRole canonical
|
|
11
|
-
*/
|
|
12
|
-
export const LocationResolutionOutcomeSchema = z.enum(["current", "unpublished"]);
|
|
13
|
-
//# sourceMappingURL=resolution-outcome.js.map
|
package/dist/location/scope.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { z } from "zod/v4";
|
|
2
|
-
/**
|
|
3
|
-
* Geographic scope tier for location directory
|
|
4
|
-
*
|
|
5
|
-
* @openapiSchema LocationScope
|
|
6
|
-
* @endpoint GET /v1/addresses/locations/{directory}
|
|
7
|
-
* @endpoint POST /v1/addresses/locations/batch
|
|
8
|
-
* @usedBySchema LocationIdentifierSchema
|
|
9
|
-
* @contractShape location.scope
|
|
10
|
-
* @contractRole canonical
|
|
11
|
-
*/
|
|
12
|
-
export declare const LocationScopeSchema: z.ZodEnum<{
|
|
13
|
-
city: "city";
|
|
14
|
-
country: "country";
|
|
15
|
-
state: "state";
|
|
16
|
-
}>;
|
|
17
|
-
export type LocationScope = z.infer<typeof LocationScopeSchema>;
|
|
18
|
-
//# sourceMappingURL=scope.d.ts.map
|
package/dist/location/scope.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
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
|
-
* Geographic scope tier for location directory
|
|
5
|
-
*
|
|
6
|
-
* @openapiSchema LocationScope
|
|
7
|
-
* @endpoint GET /v1/addresses/locations/{directory}
|
|
8
|
-
* @endpoint POST /v1/addresses/locations/batch
|
|
9
|
-
* @usedBySchema LocationIdentifierSchema
|
|
10
|
-
* @contractShape location.scope
|
|
11
|
-
* @contractRole canonical
|
|
12
|
-
*/
|
|
13
|
-
export const LocationScopeSchema = z.enum(["country", "state", "city"]);
|
|
14
|
-
//# sourceMappingURL=scope.js.map
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { z } from "zod/v4";
|
|
2
|
-
declare const LocationSitemapBatchSchemaDefinition: z.ZodObject<{
|
|
3
|
-
cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4
|
-
letter: z.ZodString;
|
|
5
|
-
scope: z.ZodEnum<{
|
|
6
|
-
CITIES: "CITIES";
|
|
7
|
-
CITY: "CITY";
|
|
8
|
-
COUNTRIES: "COUNTRIES";
|
|
9
|
-
COUNTRY: "COUNTRY";
|
|
10
|
-
STATE: "STATE";
|
|
11
|
-
STATES: "STATES";
|
|
12
|
-
cities: "cities";
|
|
13
|
-
city: "city";
|
|
14
|
-
countries: "countries";
|
|
15
|
-
country: "country";
|
|
16
|
-
state: "state";
|
|
17
|
-
states: "states";
|
|
18
|
-
}>;
|
|
19
|
-
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
}, z.core.$strip>;
|
|
21
|
-
type LocationSitemapBatchDefinition = z.infer<typeof LocationSitemapBatchSchemaDefinition>;
|
|
22
|
-
/**
|
|
23
|
-
* Request body for batch sitemap hydration
|
|
24
|
-
*
|
|
25
|
-
* @openapiSchema LocationSitemapBatch
|
|
26
|
-
* @endpoint POST /v1/addresses/locations/batch
|
|
27
|
-
* @contractShape location.sitemap-batch
|
|
28
|
-
* @contractRole canonical
|
|
29
|
-
*/
|
|
30
|
-
export declare const LocationSitemapBatchSchema: z.ZodType<LocationSitemapBatchDefinition>;
|
|
31
|
-
export type LocationSitemapBatch = z.infer<typeof LocationSitemapBatchSchema>;
|
|
32
|
-
export {};
|
|
33
|
-
//# sourceMappingURL=sitemap-batch.d.ts.map
|
|
@@ -1,33 +0,0 @@
|
|
|
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 LocationSitemapBatchSchemaDefinition = z.object({
|
|
4
|
-
/** Opaque continuation from companyNextCursor; keeps deep company traversal keyset-based. */
|
|
5
|
-
cursor: z.string().nullish(),
|
|
6
|
-
letter: z.string(),
|
|
7
|
-
/** Accepted location scope tokens for path and batch inputs */
|
|
8
|
-
scope: z.enum([
|
|
9
|
-
"country",
|
|
10
|
-
"COUNTRY",
|
|
11
|
-
"countries",
|
|
12
|
-
"COUNTRIES",
|
|
13
|
-
"state",
|
|
14
|
-
"STATE",
|
|
15
|
-
"states",
|
|
16
|
-
"STATES",
|
|
17
|
-
"city",
|
|
18
|
-
"CITY",
|
|
19
|
-
"cities",
|
|
20
|
-
"CITIES",
|
|
21
|
-
]),
|
|
22
|
-
slug: z.string().nullish(),
|
|
23
|
-
});
|
|
24
|
-
/**
|
|
25
|
-
* Request body for batch sitemap hydration
|
|
26
|
-
*
|
|
27
|
-
* @openapiSchema LocationSitemapBatch
|
|
28
|
-
* @endpoint POST /v1/addresses/locations/batch
|
|
29
|
-
* @contractShape location.sitemap-batch
|
|
30
|
-
* @contractRole canonical
|
|
31
|
-
*/
|
|
32
|
-
export const LocationSitemapBatchSchema = LocationSitemapBatchSchemaDefinition;
|
|
33
|
-
//# sourceMappingURL=sitemap-batch.js.map
|
|
@@ -1,194 +0,0 @@
|
|
|
1
|
-
import { z } from "zod/v4";
|
|
2
|
-
declare const LocationSitemapSchemaDefinition: z.ZodObject<{
|
|
3
|
-
company: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4
|
-
content: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
5
|
-
family: "blogArticle" | "blogCategory" | "blogTag" | "companyImage" | "companyUrl" | "governmentUrl" | "investorUrl" | "locationCity" | "locationCountry" | "locationState" | "news" | "nonprofitUrl" | "person" | "personImage";
|
|
6
|
-
imagePath?: string | null | undefined;
|
|
7
|
-
lastUpdatedAt: string;
|
|
8
|
-
path: string;
|
|
9
|
-
slotKey: string;
|
|
10
|
-
slug: string;
|
|
11
|
-
}, unknown, z.core.$ZodTypeInternals<{
|
|
12
|
-
family: "blogArticle" | "blogCategory" | "blogTag" | "companyImage" | "companyUrl" | "governmentUrl" | "investorUrl" | "locationCity" | "locationCountry" | "locationState" | "news" | "nonprofitUrl" | "person" | "personImage";
|
|
13
|
-
imagePath?: string | null | undefined;
|
|
14
|
-
lastUpdatedAt: string;
|
|
15
|
-
path: string;
|
|
16
|
-
slotKey: string;
|
|
17
|
-
slug: string;
|
|
18
|
-
}, unknown>>>>;
|
|
19
|
-
empty: z.ZodOptional<z.ZodBoolean>;
|
|
20
|
-
first: z.ZodOptional<z.ZodBoolean>;
|
|
21
|
-
last: z.ZodOptional<z.ZodBoolean>;
|
|
22
|
-
number: z.ZodOptional<z.ZodInt>;
|
|
23
|
-
numberOfElements: z.ZodOptional<z.ZodInt>;
|
|
24
|
-
pageable: z.ZodOptional<z.ZodObject<{
|
|
25
|
-
offset: z.ZodOptional<z.ZodNumber>;
|
|
26
|
-
paged: z.ZodOptional<z.ZodBoolean>;
|
|
27
|
-
pageNumber: z.ZodOptional<z.ZodInt>;
|
|
28
|
-
pageSize: z.ZodOptional<z.ZodInt>;
|
|
29
|
-
sort: z.ZodOptional<z.ZodObject<{
|
|
30
|
-
empty: z.ZodOptional<z.ZodBoolean>;
|
|
31
|
-
sorted: z.ZodOptional<z.ZodBoolean>;
|
|
32
|
-
unsorted: z.ZodOptional<z.ZodBoolean>;
|
|
33
|
-
}, z.core.$strip>>;
|
|
34
|
-
unpaged: z.ZodOptional<z.ZodBoolean>;
|
|
35
|
-
}, z.core.$strip>>;
|
|
36
|
-
size: z.ZodOptional<z.ZodInt>;
|
|
37
|
-
sort: z.ZodOptional<z.ZodObject<{
|
|
38
|
-
empty: z.ZodOptional<z.ZodBoolean>;
|
|
39
|
-
sorted: z.ZodOptional<z.ZodBoolean>;
|
|
40
|
-
unsorted: z.ZodOptional<z.ZodBoolean>;
|
|
41
|
-
}, z.core.$strip>>;
|
|
42
|
-
totalElements: z.ZodOptional<z.ZodNumber>;
|
|
43
|
-
totalPages: z.ZodOptional<z.ZodInt>;
|
|
44
|
-
}, z.core.$strip>>>;
|
|
45
|
-
companyNextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
|
-
directory: z.ZodType<{
|
|
47
|
-
content?: {
|
|
48
|
-
canonicalSlug: string;
|
|
49
|
-
entityCount: number;
|
|
50
|
-
identifier: {
|
|
51
|
-
cityId?: number | null | undefined;
|
|
52
|
-
cityName?: string | null | undefined;
|
|
53
|
-
countryId?: number | null | undefined;
|
|
54
|
-
countryIso2?: string | null | undefined;
|
|
55
|
-
countryName?: string | null | undefined;
|
|
56
|
-
scope: "city" | "country" | "state";
|
|
57
|
-
stateAbbrev?: string | null | undefined;
|
|
58
|
-
stateId?: number | null | undefined;
|
|
59
|
-
stateName?: string | null | undefined;
|
|
60
|
-
};
|
|
61
|
-
latestUpdatedAt?: string | null | undefined;
|
|
62
|
-
name: string;
|
|
63
|
-
parentLabel?: string | null | undefined;
|
|
64
|
-
slug: string;
|
|
65
|
-
}[] | undefined;
|
|
66
|
-
empty?: boolean | undefined;
|
|
67
|
-
first?: boolean | undefined;
|
|
68
|
-
last?: boolean | undefined;
|
|
69
|
-
number?: number | undefined;
|
|
70
|
-
numberOfElements?: number | undefined;
|
|
71
|
-
pageable?: {
|
|
72
|
-
offset?: number | undefined;
|
|
73
|
-
paged?: boolean | undefined;
|
|
74
|
-
pageNumber?: number | undefined;
|
|
75
|
-
pageSize?: number | undefined;
|
|
76
|
-
sort?: {
|
|
77
|
-
empty?: boolean | undefined;
|
|
78
|
-
sorted?: boolean | undefined;
|
|
79
|
-
unsorted?: boolean | undefined;
|
|
80
|
-
} | undefined;
|
|
81
|
-
unpaged?: boolean | undefined;
|
|
82
|
-
} | undefined;
|
|
83
|
-
size?: number | undefined;
|
|
84
|
-
sort?: {
|
|
85
|
-
empty?: boolean | undefined;
|
|
86
|
-
sorted?: boolean | undefined;
|
|
87
|
-
unsorted?: boolean | undefined;
|
|
88
|
-
} | undefined;
|
|
89
|
-
totalElements?: number | undefined;
|
|
90
|
-
totalPages?: number | undefined;
|
|
91
|
-
}, unknown, z.core.$ZodTypeInternals<{
|
|
92
|
-
content?: {
|
|
93
|
-
canonicalSlug: string;
|
|
94
|
-
entityCount: number;
|
|
95
|
-
identifier: {
|
|
96
|
-
cityId?: number | null | undefined;
|
|
97
|
-
cityName?: string | null | undefined;
|
|
98
|
-
countryId?: number | null | undefined;
|
|
99
|
-
countryIso2?: string | null | undefined;
|
|
100
|
-
countryName?: string | null | undefined;
|
|
101
|
-
scope: "city" | "country" | "state";
|
|
102
|
-
stateAbbrev?: string | null | undefined;
|
|
103
|
-
stateId?: number | null | undefined;
|
|
104
|
-
stateName?: string | null | undefined;
|
|
105
|
-
};
|
|
106
|
-
latestUpdatedAt?: string | null | undefined;
|
|
107
|
-
name: string;
|
|
108
|
-
parentLabel?: string | null | undefined;
|
|
109
|
-
slug: string;
|
|
110
|
-
}[] | undefined;
|
|
111
|
-
empty?: boolean | undefined;
|
|
112
|
-
first?: boolean | undefined;
|
|
113
|
-
last?: boolean | undefined;
|
|
114
|
-
number?: number | undefined;
|
|
115
|
-
numberOfElements?: number | undefined;
|
|
116
|
-
pageable?: {
|
|
117
|
-
offset?: number | undefined;
|
|
118
|
-
paged?: boolean | undefined;
|
|
119
|
-
pageNumber?: number | undefined;
|
|
120
|
-
pageSize?: number | undefined;
|
|
121
|
-
sort?: {
|
|
122
|
-
empty?: boolean | undefined;
|
|
123
|
-
sorted?: boolean | undefined;
|
|
124
|
-
unsorted?: boolean | undefined;
|
|
125
|
-
} | undefined;
|
|
126
|
-
unpaged?: boolean | undefined;
|
|
127
|
-
} | undefined;
|
|
128
|
-
size?: number | undefined;
|
|
129
|
-
sort?: {
|
|
130
|
-
empty?: boolean | undefined;
|
|
131
|
-
sorted?: boolean | undefined;
|
|
132
|
-
unsorted?: boolean | undefined;
|
|
133
|
-
} | undefined;
|
|
134
|
-
totalElements?: number | undefined;
|
|
135
|
-
totalPages?: number | undefined;
|
|
136
|
-
}, unknown>>;
|
|
137
|
-
directoryLetterCount: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
138
|
-
location: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
139
|
-
canonicalSlug: z.ZodString;
|
|
140
|
-
entityCount: z.ZodNumber;
|
|
141
|
-
identifier: z.ZodType<{
|
|
142
|
-
cityId?: number | null | undefined;
|
|
143
|
-
cityName?: string | null | undefined;
|
|
144
|
-
countryId?: number | null | undefined;
|
|
145
|
-
countryIso2?: string | null | undefined;
|
|
146
|
-
countryName?: string | null | undefined;
|
|
147
|
-
scope: "city" | "country" | "state";
|
|
148
|
-
stateAbbrev?: string | null | undefined;
|
|
149
|
-
stateId?: number | null | undefined;
|
|
150
|
-
stateName?: string | null | undefined;
|
|
151
|
-
}, unknown, z.core.$ZodTypeInternals<{
|
|
152
|
-
cityId?: number | null | undefined;
|
|
153
|
-
cityName?: string | null | undefined;
|
|
154
|
-
countryId?: number | null | undefined;
|
|
155
|
-
countryIso2?: string | null | undefined;
|
|
156
|
-
countryName?: string | null | undefined;
|
|
157
|
-
scope: "city" | "country" | "state";
|
|
158
|
-
stateAbbrev?: string | null | undefined;
|
|
159
|
-
stateId?: number | null | undefined;
|
|
160
|
-
stateName?: string | null | undefined;
|
|
161
|
-
}, unknown>>;
|
|
162
|
-
latestUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
163
|
-
name: z.ZodString;
|
|
164
|
-
parentLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
165
|
-
slug: z.ZodString;
|
|
166
|
-
}, z.core.$strip>>>;
|
|
167
|
-
locationLetterCount: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodNumber>>>;
|
|
168
|
-
requestedLetter: z.ZodString;
|
|
169
|
-
resolvedDirectoryLetter: z.ZodString;
|
|
170
|
-
resolvedLocationLetter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
171
|
-
scope: z.ZodString;
|
|
172
|
-
slugResolution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
173
|
-
canonicalSlug: z.ZodString;
|
|
174
|
-
matched: z.ZodBoolean;
|
|
175
|
-
outcome: z.ZodOptional<z.ZodEnum<{
|
|
176
|
-
current: "current";
|
|
177
|
-
unpublished: "unpublished";
|
|
178
|
-
}>>;
|
|
179
|
-
seoSlug: z.ZodString;
|
|
180
|
-
}, z.core.$strip>>>;
|
|
181
|
-
}, z.core.$strip>;
|
|
182
|
-
type LocationSitemapDefinition = z.infer<typeof LocationSitemapSchemaDefinition>;
|
|
183
|
-
/**
|
|
184
|
-
* Batch sitemap response with directory, exact letter counts, and optional company URL slots
|
|
185
|
-
*
|
|
186
|
-
* @openapiSchema LocationSitemap
|
|
187
|
-
* @endpoint POST /v1/addresses/locations/batch
|
|
188
|
-
* @contractShape location.sitemap
|
|
189
|
-
* @contractRole canonical
|
|
190
|
-
*/
|
|
191
|
-
export declare const LocationSitemapSchema: z.ZodType<LocationSitemapDefinition>;
|
|
192
|
-
export type LocationSitemap = z.infer<typeof LocationSitemapSchema>;
|
|
193
|
-
export {};
|
|
194
|
-
//# sourceMappingURL=sitemap.d.ts.map
|
package/dist/location/sitemap.js
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
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 { LocationDirectoryEntrySchema } from "./directory-entry.js";
|
|
4
|
-
import { LocationSlugResolutionSchema } from "./slug-resolution.js";
|
|
5
|
-
import { PageLocationDirectoryEntrySchema, PageSitemapUrlSlotSchema, } from "../pagination/schemas.js";
|
|
6
|
-
const LocationSitemapSchemaDefinition = z.object({
|
|
7
|
-
company: PageSitemapUrlSlotSchema.nullish(),
|
|
8
|
-
/** Opaque continuation for the next company URL-slot page; absent only when the current address-refresh snapshot holds no further slot for the resolved letter. */
|
|
9
|
-
companyNextCursor: z.string().nullish(),
|
|
10
|
-
directory: PageLocationDirectoryEntrySchema,
|
|
11
|
-
directoryLetterCount: z.record(z.string(), z.number().int()),
|
|
12
|
-
location: LocationDirectoryEntrySchema.nullish(),
|
|
13
|
-
/** Exact company URL-slot count per letter from the same address-refresh snapshot that serves company: locationLetterCount[letter] equals the slots a companyNextCursor traversal of that letter reaches. Both move together at the next refresh, so a traversal that straddles a refresh restarts from a fresh count. */
|
|
14
|
-
locationLetterCount: z.record(z.string(), z.number().int()).nullish(),
|
|
15
|
-
requestedLetter: z.string(),
|
|
16
|
-
resolvedDirectoryLetter: z.string(),
|
|
17
|
-
resolvedLocationLetter: z.string().nullish(),
|
|
18
|
-
scope: z.string(),
|
|
19
|
-
slugResolution: LocationSlugResolutionSchema.nullish(),
|
|
20
|
-
});
|
|
21
|
-
/**
|
|
22
|
-
* Batch sitemap response with directory, exact letter counts, and optional company URL slots
|
|
23
|
-
*
|
|
24
|
-
* @openapiSchema LocationSitemap
|
|
25
|
-
* @endpoint POST /v1/addresses/locations/batch
|
|
26
|
-
* @contractShape location.sitemap
|
|
27
|
-
* @contractRole canonical
|
|
28
|
-
*/
|
|
29
|
-
export const LocationSitemapSchema = LocationSitemapSchemaDefinition;
|
|
30
|
-
//# sourceMappingURL=sitemap.js.map
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { z } from "zod/v4";
|
|
2
|
-
/**
|
|
3
|
-
* Slug resolution pair for sitemap hydration
|
|
4
|
-
*
|
|
5
|
-
* @openapiSchema LocationSlugResolution
|
|
6
|
-
* @endpoint POST /v1/addresses/locations/batch
|
|
7
|
-
* @usedBySchema LocationSitemapSchema
|
|
8
|
-
* @contractShape location.slug-resolution
|
|
9
|
-
* @contractRole canonical
|
|
10
|
-
*/
|
|
11
|
-
export declare const LocationSlugResolutionSchema: z.ZodObject<{
|
|
12
|
-
canonicalSlug: z.ZodString;
|
|
13
|
-
matched: z.ZodBoolean;
|
|
14
|
-
outcome: z.ZodOptional<z.ZodEnum<{
|
|
15
|
-
current: "current";
|
|
16
|
-
unpublished: "unpublished";
|
|
17
|
-
}>>;
|
|
18
|
-
seoSlug: z.ZodString;
|
|
19
|
-
}, z.core.$strip>;
|
|
20
|
-
export type LocationSlugResolution = z.infer<typeof LocationSlugResolutionSchema>;
|
|
21
|
-
//# sourceMappingURL=slug-resolution.d.ts.map
|
|
@@ -1,20 +0,0 @@
|
|
|
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 { LocationResolutionOutcomeSchema } from "./resolution-outcome.js";
|
|
4
|
-
/**
|
|
5
|
-
* Slug resolution pair for sitemap hydration
|
|
6
|
-
*
|
|
7
|
-
* @openapiSchema LocationSlugResolution
|
|
8
|
-
* @endpoint POST /v1/addresses/locations/batch
|
|
9
|
-
* @usedBySchema LocationSitemapSchema
|
|
10
|
-
* @contractShape location.slug-resolution
|
|
11
|
-
* @contractRole canonical
|
|
12
|
-
*/
|
|
13
|
-
export const LocationSlugResolutionSchema = z.object({
|
|
14
|
-
canonicalSlug: z.string(),
|
|
15
|
-
matched: z.boolean(),
|
|
16
|
-
/** Lifecycle outcome for the requested slug; absent or current means live, unpublished accompanies an HTTP 410 response. */
|
|
17
|
-
outcome: LocationResolutionOutcomeSchema.optional(),
|
|
18
|
-
seoSlug: z.string(),
|
|
19
|
-
});
|
|
20
|
-
//# sourceMappingURL=slug-resolution.js.map
|