diff --git a/app/gen/mocks/createCapitalProjectCategory.ts b/app/gen/mocks/createCapitalProjectCategory.ts index 6bb966f..145db78 100644 --- a/app/gen/mocks/createCapitalProjectCategory.ts +++ b/app/gen/mocks/createCapitalProjectCategory.ts @@ -9,6 +9,6 @@ export function createCapitalProjectCategory(): NonNullable([ "Fixed Asset", "Lump Sum", - "ITT, Vehicles and Equipment", + "ITT, Vehicles, and Equipment", ]); } diff --git a/app/gen/mocks/createFindCapitalCommitmentsByManagingCodeCapitalProjectId.ts b/app/gen/mocks/createFindCapitalCommitmentsByManagingCodeCapitalProjectId.ts index bd6095f..fc18aa6 100644 --- a/app/gen/mocks/createFindCapitalCommitmentsByManagingCodeCapitalProjectId.ts +++ b/app/gen/mocks/createFindCapitalCommitmentsByManagingCodeCapitalProjectId.ts @@ -29,6 +29,7 @@ export function createFindCapitalCommitmentsByManagingCodeCapitalProjectId200(): capitalCommitments: faker.helpers.arrayElements([ createCapitalCommitment(), ]) as any, + order: faker.string.alpha(), }; } @@ -61,5 +62,6 @@ export function createFindCapitalCommitmentsByManagingCodeCapitalProjectIdQueryR capitalCommitments: faker.helpers.arrayElements([ createCapitalCommitment(), ]) as any, + order: faker.string.alpha(), }; } diff --git a/app/gen/mocks/createFindCityCouncilDistricts.ts b/app/gen/mocks/createFindCityCouncilDistricts.ts index 1d4451d..e2164f3 100644 --- a/app/gen/mocks/createFindCityCouncilDistricts.ts +++ b/app/gen/mocks/createFindCityCouncilDistricts.ts @@ -17,6 +17,7 @@ export function createFindCityCouncilDistricts200(): NonNullable capitalCommitmentSchema)), + order: z + .string() + .describe("Capital commitment dates are sorted in ascending order"), }); /** * @description Invalid client request @@ -44,4 +47,7 @@ export const findCapitalCommitmentsByManagingCodeCapitalProjectId500Schema = export const findCapitalCommitmentsByManagingCodeCapitalProjectIdQueryResponseSchema = z.object({ capitalCommitments: z.array(z.lazy(() => capitalCommitmentSchema)), + order: z + .string() + .describe("Capital commitment dates are sorted in ascending order"), }); diff --git a/app/gen/zod/findCapitalProjectTilesByBoroughIdCommunityDistrictIdSchema.ts b/app/gen/zod/findCapitalProjectTilesByBoroughIdCommunityDistrictIdSchema.ts index fdc7c03..b582c82 100644 --- a/app/gen/zod/findCapitalProjectTilesByBoroughIdCommunityDistrictIdSchema.ts +++ b/app/gen/zod/findCapitalProjectTilesByBoroughIdCommunityDistrictIdSchema.ts @@ -15,9 +15,9 @@ export const findCapitalProjectTilesByBoroughIdCommunityDistrictIdPathParamsSche .describe( "The two character numeric string containing the number used to refer to the community district.", ), - z: z.number().describe("viewport zoom component"), - x: z.number().describe("viewport x component"), - y: z.number().describe("viewport y component"), + z: z.number().int().describe("viewport zoom component"), + x: z.number().int().describe("viewport x component"), + y: z.number().int().describe("viewport y component"), }); /** * @description A protobuf file formatted as Mapbox Vector Tile diff --git a/app/gen/zod/findCapitalProjectTilesByCityCouncilDistrictIdSchema.ts b/app/gen/zod/findCapitalProjectTilesByCityCouncilDistrictIdSchema.ts index 2b9f078..c9d0fac 100644 --- a/app/gen/zod/findCapitalProjectTilesByCityCouncilDistrictIdSchema.ts +++ b/app/gen/zod/findCapitalProjectTilesByCityCouncilDistrictIdSchema.ts @@ -9,9 +9,9 @@ export const findCapitalProjectTilesByCityCouncilDistrictIdPathParamsSchema = .describe( "One or two character code to represent city council districts.", ), - z: z.number().describe("viewport zoom component"), - x: z.number().describe("viewport x component"), - y: z.number().describe("viewport y component"), + z: z.number().int().describe("viewport zoom component"), + x: z.number().int().describe("viewport x component"), + y: z.number().int().describe("viewport y component"), }); /** * @description A protobuf file formatted as Mapbox Vector Tile diff --git a/app/gen/zod/findCapitalProjectTilesSchema.ts b/app/gen/zod/findCapitalProjectTilesSchema.ts index 62d92e9..70ee4eb 100644 --- a/app/gen/zod/findCapitalProjectTilesSchema.ts +++ b/app/gen/zod/findCapitalProjectTilesSchema.ts @@ -2,9 +2,9 @@ import { z } from "zod"; import { errorSchema } from "./errorSchema"; export const findCapitalProjectTilesPathParamsSchema = z.object({ - z: z.number().describe("viewport zoom component"), - x: z.number().describe("viewport x component"), - y: z.number().describe("viewport y component"), + z: z.number().int().describe("viewport zoom component"), + x: z.number().int().describe("viewport x component"), + y: z.number().int().describe("viewport y component"), }); /** * @description A protobuf file formatted as Mapbox Vector Tile diff --git a/app/gen/zod/findCapitalProjectsByBoroughIdCommunityDistrictIdSchema.ts b/app/gen/zod/findCapitalProjectsByBoroughIdCommunityDistrictIdSchema.ts index 56a97e4..b131e70 100644 --- a/app/gen/zod/findCapitalProjectsByBoroughIdCommunityDistrictIdSchema.ts +++ b/app/gen/zod/findCapitalProjectsByBoroughIdCommunityDistrictIdSchema.ts @@ -23,6 +23,7 @@ export const findCapitalProjectsByBoroughIdCommunityDistrictIdQueryParamsSchema .object({ limit: z .number() + .int() .min(1) .max(100) .describe( @@ -31,6 +32,7 @@ export const findCapitalProjectsByBoroughIdCommunityDistrictIdQueryParamsSchema .optional(), offset: z .number() + .int() .min(0) .describe( "The position in the full list to begin returning results. Default offset is 0. If the offset is beyond the end of the list, no results will be returned.", diff --git a/app/gen/zod/findCapitalProjectsByCityCouncilIdSchema.ts b/app/gen/zod/findCapitalProjectsByCityCouncilIdSchema.ts index 189bfb2..b0f8b96 100644 --- a/app/gen/zod/findCapitalProjectsByCityCouncilIdSchema.ts +++ b/app/gen/zod/findCapitalProjectsByCityCouncilIdSchema.ts @@ -13,6 +13,7 @@ export const findCapitalProjectsByCityCouncilIdQueryParamsSchema = z .object({ limit: z .number() + .int() .min(1) .max(100) .describe( @@ -21,6 +22,7 @@ export const findCapitalProjectsByCityCouncilIdQueryParamsSchema = z .optional(), offset: z .number() + .int() .min(0) .describe( "The position in the full list to begin returning results. Default offset is 0. If the offset is beyond the end of the list, no results will be returned.", diff --git a/app/gen/zod/findCityCouncilDistrictTilesSchema.ts b/app/gen/zod/findCityCouncilDistrictTilesSchema.ts index 4ee5caa..f4a17bb 100644 --- a/app/gen/zod/findCityCouncilDistrictTilesSchema.ts +++ b/app/gen/zod/findCityCouncilDistrictTilesSchema.ts @@ -2,9 +2,9 @@ import { z } from "zod"; import { errorSchema } from "./errorSchema"; export const findCityCouncilDistrictTilesPathParamsSchema = z.object({ - z: z.number().describe("viewport zoom component"), - x: z.number().describe("viewport x component"), - y: z.number().describe("viewport y component"), + z: z.number().int().describe("viewport zoom component"), + x: z.number().int().describe("viewport x component"), + y: z.number().int().describe("viewport y component"), }); /** * @description A protobuf file formatted as Mapbox Vector Tile diff --git a/app/gen/zod/findCityCouncilDistrictsSchema.ts b/app/gen/zod/findCityCouncilDistrictsSchema.ts index feb0333..93e37c1 100644 --- a/app/gen/zod/findCityCouncilDistrictsSchema.ts +++ b/app/gen/zod/findCityCouncilDistrictsSchema.ts @@ -7,6 +7,11 @@ import { errorSchema } from "./errorSchema"; */ export const findCityCouncilDistricts200Schema = z.object({ cityCouncilDistricts: z.array(z.lazy(() => cityCouncilDistrictSchema)), + order: z + .string() + .describe( + "City council districts ids are sorted as if numbers in ascending order", + ), }); /** * @description Invalid client request @@ -21,4 +26,9 @@ export const findCityCouncilDistricts500Schema = z.lazy(() => errorSchema); */ export const findCityCouncilDistrictsQueryResponseSchema = z.object({ cityCouncilDistricts: z.array(z.lazy(() => cityCouncilDistrictSchema)), + order: z + .string() + .describe( + "City council districts ids are sorted as if numbers in ascending order", + ), }); diff --git a/app/gen/zod/findCommunityDistrictTilesSchema.ts b/app/gen/zod/findCommunityDistrictTilesSchema.ts index 1dacf28..8973841 100644 --- a/app/gen/zod/findCommunityDistrictTilesSchema.ts +++ b/app/gen/zod/findCommunityDistrictTilesSchema.ts @@ -2,9 +2,9 @@ import { z } from "zod"; import { errorSchema } from "./errorSchema"; export const findCommunityDistrictTilesPathParamsSchema = z.object({ - z: z.number().describe("viewport zoom component"), - x: z.number().describe("viewport x component"), - y: z.number().describe("viewport y component"), + z: z.number().int().describe("viewport zoom component"), + x: z.number().int().describe("viewport x component"), + y: z.number().int().describe("viewport y component"), }); /** * @description A protobuf file formatted as Mapbox Vector Tile diff --git a/app/gen/zod/findCommunityDistrictsByBoroughIdSchema.ts b/app/gen/zod/findCommunityDistrictsByBoroughIdSchema.ts index 0dc5764..2f12451 100644 --- a/app/gen/zod/findCommunityDistrictsByBoroughIdSchema.ts +++ b/app/gen/zod/findCommunityDistrictsByBoroughIdSchema.ts @@ -15,6 +15,9 @@ export const findCommunityDistrictsByBoroughIdPathParamsSchema = z.object({ */ export const findCommunityDistrictsByBoroughId200Schema = z.object({ communityDistricts: z.array(z.lazy(() => communityDistrictSchema)), + order: z + .string() + .describe("Community district numbers are sorted in ascending order"), }); /** * @description Invalid client request @@ -39,4 +42,7 @@ export const findCommunityDistrictsByBoroughId500Schema = z.lazy( */ export const findCommunityDistrictsByBoroughIdQueryResponseSchema = z.object({ communityDistricts: z.array(z.lazy(() => communityDistrictSchema)), + order: z + .string() + .describe("Community district numbers are sorted in ascending order"), }); diff --git a/app/gen/zod/findTaxLotsSchema.ts b/app/gen/zod/findTaxLotsSchema.ts index bde2299..50a3f79 100644 --- a/app/gen/zod/findTaxLotsSchema.ts +++ b/app/gen/zod/findTaxLotsSchema.ts @@ -6,6 +6,7 @@ export const findTaxLotsQueryParamsSchema = z .object({ limit: z .number() + .int() .min(1) .max(100) .describe( @@ -14,6 +15,7 @@ export const findTaxLotsQueryParamsSchema = z .optional(), offset: z .number() + .int() .min(0) .describe( "The position in the full list to begin returning results. Default offset is 0. If the offset is beyond the end of the list, no results will be returned.", diff --git a/app/gen/zod/pageSchema.ts b/app/gen/zod/pageSchema.ts index ac15498..ba89008 100644 --- a/app/gen/zod/pageSchema.ts +++ b/app/gen/zod/pageSchema.ts @@ -3,6 +3,7 @@ import { z } from "zod"; export const pageSchema = z.object({ limit: z .number() + .int() .min(1) .max(100) .describe( @@ -10,12 +11,14 @@ export const pageSchema = z.object({ ), offset: z .number() + .int() .min(0) .describe( "The offset used for the response. Defaults to 0 when the request does not specify one.", ), total: z .number() + .int() .min(0) .describe( "The number of rows returned in the response. If the total is less than the limit, the user is on the last page and no more results match the query.",