Document all registerPath responses and normalize OpenAPI parser schemas

Agent-Logs-Url: https://github.com/fosrl/pangolin/sessions/73990123-9c27-444b-bc6e-77e890a0d57c

Co-authored-by: oschwartz10612 <4999704+oschwartz10612@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-05-17 06:43:10 +00:00
committed by GitHub
parent 9cec711427
commit a0a093ed0b
160 changed files with 2661 additions and 182 deletions

View File

@@ -202,7 +202,22 @@ registry.registerPath({
} }
} }
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function createAlertRule( export async function createAlertRule(

View File

@@ -38,7 +38,22 @@ registry.registerPath({
request: { request: {
params: paramsSchema params: paramsSchema
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function deleteAlertRule( export async function deleteAlertRule(

View File

@@ -49,7 +49,22 @@ registry.registerPath({
request: { request: {
params: paramsSchema params: paramsSchema
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function getAlertRule( export async function getAlertRule(

View File

@@ -95,7 +95,22 @@ registry.registerPath({
query: querySchema, query: querySchema,
params: paramsSchema params: paramsSchema
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function listAlertRules( export async function listAlertRules(

View File

@@ -164,7 +164,22 @@ registry.registerPath({
} }
} }
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function updateAlertRule( export async function updateAlertRule(

View File

@@ -18,6 +18,7 @@ import { OpenAPITags } from "@server/openApi";
import createHttpError from "http-errors"; import createHttpError from "http-errors";
import HttpCode from "@server/types/HttpCode"; import HttpCode from "@server/types/HttpCode";
import { fromError } from "zod-validation-error"; import { fromError } from "zod-validation-error";
import { z } from "zod";
import logger from "@server/logger"; import logger from "@server/logger";
import { import {
queryAccessAuditLogsParams, queryAccessAuditLogsParams,
@@ -37,7 +38,22 @@ registry.registerPath({
query: queryAccessAuditLogsQuery, query: queryAccessAuditLogsQuery,
params: queryAccessAuditLogsParams params: queryAccessAuditLogsParams
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function exportAccessAuditLogs( export async function exportAccessAuditLogs(

View File

@@ -18,6 +18,7 @@ import { OpenAPITags } from "@server/openApi";
import createHttpError from "http-errors"; import createHttpError from "http-errors";
import HttpCode from "@server/types/HttpCode"; import HttpCode from "@server/types/HttpCode";
import { fromError } from "zod-validation-error"; import { fromError } from "zod-validation-error";
import { z } from "zod";
import logger from "@server/logger"; import logger from "@server/logger";
import { import {
queryActionAuditLogsParams, queryActionAuditLogsParams,
@@ -37,7 +38,22 @@ registry.registerPath({
query: queryActionAuditLogsQuery, query: queryActionAuditLogsQuery,
params: queryActionAuditLogsParams params: queryActionAuditLogsParams
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function exportActionAuditLogs( export async function exportActionAuditLogs(

View File

@@ -18,6 +18,7 @@ import { OpenAPITags } from "@server/openApi";
import createHttpError from "http-errors"; import createHttpError from "http-errors";
import HttpCode from "@server/types/HttpCode"; import HttpCode from "@server/types/HttpCode";
import { fromError } from "zod-validation-error"; import { fromError } from "zod-validation-error";
import { z } from "zod";
import logger from "@server/logger"; import logger from "@server/logger";
import { import {
queryConnectionAuditLogsParams, queryConnectionAuditLogsParams,
@@ -37,7 +38,22 @@ registry.registerPath({
query: queryConnectionAuditLogsQuery, query: queryConnectionAuditLogsQuery,
params: queryConnectionAuditLogsParams params: queryConnectionAuditLogsParams
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function exportConnectionAuditLogs( export async function exportConnectionAuditLogs(

View File

@@ -324,7 +324,22 @@ registry.registerPath({
query: queryAccessAuditLogsQuery, query: queryAccessAuditLogsQuery,
params: queryAccessAuditLogsParams params: queryAccessAuditLogsParams
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function queryAccessAuditLogs( export async function queryAccessAuditLogs(

View File

@@ -165,7 +165,22 @@ registry.registerPath({
query: queryActionAuditLogsQuery, query: queryActionAuditLogsQuery,
params: queryActionAuditLogsParams params: queryActionAuditLogsParams
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function queryActionAuditLogs( export async function queryActionAuditLogs(

View File

@@ -439,7 +439,22 @@ registry.registerPath({
query: queryConnectionAuditLogsQuery, query: queryConnectionAuditLogsQuery,
params: queryConnectionAuditLogsParams params: queryConnectionAuditLogsParams
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function queryConnectionAuditLogs( export async function queryConnectionAuditLogs(

View File

@@ -39,7 +39,22 @@ const getOrgSchema = z.strictObject({
// request: { // request: {
// params: getOrgSchema // params: getOrgSchema
// }, // },
// responses: {} // responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
// }); // });
export async function getOrgUsage( export async function getOrgUsage(

View File

@@ -115,7 +115,22 @@ registry.registerPath({
orgId: z.string() orgId: z.string()
}) })
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function getCertificate( export async function getCertificate(

View File

@@ -40,7 +40,22 @@ registry.registerPath({
orgId: z.string() orgId: z.string()
}) })
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function restartCertificate( export async function restartCertificate(

View File

@@ -42,7 +42,22 @@ registry.registerPath({
params: paramsSchema, params: paramsSchema,
query: querySchema query: querySchema
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function checkDomainNamespaceAvailability( export async function checkDomainNamespaceAvailability(

View File

@@ -73,7 +73,22 @@ registry.registerPath({
request: { request: {
query: querySchema query: querySchema
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function listDomainNamespaces( export async function listDomainNamespaces(

View File

@@ -58,7 +58,22 @@ registry.registerPath({
} }
} }
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function createEventStreamingDestination( export async function createEventStreamingDestination(

View File

@@ -38,7 +38,22 @@ registry.registerPath({
request: { request: {
params: paramsSchema params: paramsSchema
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function deleteEventStreamingDestination( export async function deleteEventStreamingDestination(

View File

@@ -88,7 +88,22 @@ registry.registerPath({
query: querySchema, query: querySchema,
params: paramsSchema params: paramsSchema
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function listEventStreamingDestinations( export async function listEventStreamingDestinations(

View File

@@ -61,7 +61,22 @@ registry.registerPath({
} }
} }
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function updateEventStreamingDestination( export async function updateEventStreamingDestination(

View File

@@ -68,7 +68,22 @@ registry.registerPath({
} }
} }
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function createHealthCheck( export async function createHealthCheck(

View File

@@ -41,7 +41,22 @@ registry.registerPath({
request: { request: {
params: paramsSchema params: paramsSchema
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function deleteHealthCheck( export async function deleteHealthCheck(

View File

@@ -68,7 +68,22 @@ registry.registerPath({
params: paramsSchema, params: paramsSchema,
query: querySchema query: querySchema
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function listHealthChecks( export async function listHealthChecks(

View File

@@ -97,7 +97,22 @@ registry.registerPath({
} }
} }
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function updateHealthCheck( export async function updateHealthCheck(

View File

@@ -63,7 +63,22 @@ registry.registerPath({
} }
} }
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function createOrgOidcIdp( export async function createOrgOidcIdp(

View File

@@ -38,7 +38,22 @@ registry.registerPath({
request: { request: {
params: paramsSchema params: paramsSchema
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function deleteOrgIdp( export async function deleteOrgIdp(

View File

@@ -56,7 +56,22 @@ registry.registerPath({
request: { request: {
params: paramsSchema params: paramsSchema
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function getOrgIdp( export async function getOrgIdp(

View File

@@ -72,7 +72,22 @@ registry.registerPath({
query: querySchema, query: querySchema,
params: paramsSchema params: paramsSchema
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function listOrgIdps( export async function listOrgIdps(

View File

@@ -70,7 +70,22 @@ registry.registerPath({
} }
} }
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function updateOrgOidcIdp( export async function updateOrgOidcIdp(

View File

@@ -92,7 +92,22 @@ export type SignSshKeyResponse = {
// } // }
// } // }
// }, // },
// responses: {} // responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
// }); // });
export async function signSshKey( export async function signSshKey(

View File

@@ -38,7 +38,22 @@ registry.registerPath({
request: { request: {
params: addUserRoleParamsSchema params: addUserRoleParamsSchema
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function addUserRole( export async function addUserRole(

View File

@@ -39,7 +39,22 @@ registry.registerPath({
request: { request: {
params: removeUserRoleParamsSchema params: removeUserRoleParamsSchema
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function removeUserRole( export async function removeUserRole(

View File

@@ -22,7 +22,22 @@ registry.registerPath({
request: { request: {
params: deleteAccessTokenParamsSchema params: deleteAccessTokenParamsSchema
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function deleteAccessToken( export async function deleteAccessToken(

View File

@@ -54,7 +54,22 @@ registry.registerPath({
} }
} }
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function generateAccessToken( export async function generateAccessToken(

View File

@@ -129,7 +129,22 @@ registry.registerPath({
}), }),
query: listAccessTokensSchema query: listAccessTokensSchema
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
registry.registerPath({ registry.registerPath({
@@ -143,7 +158,22 @@ registry.registerPath({
}), }),
query: listAccessTokensSchema query: listAccessTokensSchema
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function listAccessTokens( export async function listAccessTokens(

View File

@@ -48,7 +48,22 @@ registry.registerPath({
} }
} }
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function createOrgApiKey( export async function createOrgApiKey(

View File

@@ -22,7 +22,22 @@ registry.registerPath({
request: { request: {
params: paramsSchema params: paramsSchema
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function deleteApiKey( export async function deleteApiKey(

View File

@@ -53,7 +53,22 @@ registry.registerPath({
params: paramsSchema, params: paramsSchema,
query: querySchema query: querySchema
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function listApiKeyActions( export async function listApiKeyActions(

View File

@@ -57,7 +57,22 @@ registry.registerPath({
params: paramsSchema, params: paramsSchema,
query: querySchema query: querySchema
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function listOrgApiKeys( export async function listOrgApiKeys(

View File

@@ -36,7 +36,22 @@ registry.registerPath({
} }
} }
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function setApiKeyActions( export async function setApiKeyActions(

View File

@@ -5,6 +5,7 @@ import { OpenAPITags } from "@server/openApi";
import createHttpError from "http-errors"; import createHttpError from "http-errors";
import HttpCode from "@server/types/HttpCode"; import HttpCode from "@server/types/HttpCode";
import { fromError } from "zod-validation-error"; import { fromError } from "zod-validation-error";
import { z } from "zod";
import logger from "@server/logger"; import logger from "@server/logger";
import { import {
queryAccessAuditLogsQuery, queryAccessAuditLogsQuery,
@@ -28,7 +29,22 @@ registry.registerPath({
}), }),
params: queryRequestAuditLogsParams params: queryRequestAuditLogsParams
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function exportRequestAuditLogs( export async function exportRequestAuditLogs(

View File

@@ -156,7 +156,22 @@ registry.registerPath({
query: queryAccessAuditLogsQuery, query: queryAccessAuditLogsQuery,
params: queryRequestAuditLogsParams params: queryRequestAuditLogsParams
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export type QueryRequestAnalyticsResponse = Awaited<ReturnType<typeof query>>; export type QueryRequestAnalyticsResponse = Awaited<ReturnType<typeof query>>;

View File

@@ -227,7 +227,22 @@ registry.registerPath({
query: queryAccessAuditLogsQuery, query: queryAccessAuditLogsQuery,
params: queryRequestAuditLogsParams params: queryRequestAuditLogsParams
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
async function queryUniqueFilterAttributes( async function queryUniqueFilterAttributes(

View File

@@ -51,7 +51,22 @@ export type LookupUserResponse = {
// request: { // request: {
// body: lookupBodySchema // body: lookupBodySchema
// }, // },
// responses: {} // responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
// }); // });
export async function lookupUser( export async function lookupUser(

View File

@@ -31,7 +31,22 @@ registry.registerPath({
} }
} }
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function applyJSONBlueprint( export async function applyJSONBlueprint(

View File

@@ -54,7 +54,22 @@ registry.registerPath({
} }
} }
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function applyYAMLBlueprint( export async function applyYAMLBlueprint(

View File

@@ -57,7 +57,22 @@ registry.registerPath({
request: { request: {
params: getBlueprintSchema params: getBlueprintSchema
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function getBlueprint( export async function getBlueprint(

View File

@@ -74,7 +74,22 @@ registry.registerPath({
}), }),
query: listBluePrintsSchema query: listBluePrintsSchema
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function listBlueprints( export async function listBlueprints(

View File

@@ -22,7 +22,22 @@ registry.registerPath({
request: { request: {
params: archiveClientSchema params: archiveClientSchema
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function archiveClient( export async function archiveClient(

View File

@@ -24,7 +24,22 @@ registry.registerPath({
request: { request: {
params: blockClientSchema params: blockClientSchema
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function blockClient( export async function blockClient(

View File

@@ -59,7 +59,22 @@ registry.registerPath({
} }
} }
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function createClient( export async function createClient(

View File

@@ -60,7 +60,22 @@ registry.registerPath({
} }
} }
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function createUserClient( export async function createUserClient(

View File

@@ -25,7 +25,22 @@ registry.registerPath({
request: { request: {
params: deleteClientSchema params: deleteClientSchema
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function deleteClient( export async function deleteClient(

View File

@@ -253,7 +253,22 @@ registry.registerPath({
niceId: z.string() niceId: z.string()
}) })
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
registry.registerPath({ registry.registerPath({
@@ -266,7 +281,22 @@ registry.registerPath({
clientId: z.number() clientId: z.number()
}) })
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function getClient( export async function getClient(

View File

@@ -186,7 +186,22 @@ registry.registerPath({
query: listClientsSchema, query: listClientsSchema,
params: listClientsParamsSchema params: listClientsParamsSchema
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function listClients( export async function listClients(

View File

@@ -213,7 +213,22 @@ registry.registerPath({
query: listUserDevicesSchema, query: listUserDevicesSchema,
params: listUserDevicesParamsSchema params: listUserDevicesParamsSchema
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function listUserDevices( export async function listUserDevices(

View File

@@ -27,7 +27,22 @@ registry.registerPath({
request: { request: {
params: pickClientDefaultsSchema params: pickClientDefaultsSchema
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function pickClientDefaults( export async function pickClientDefaults(

View File

@@ -22,7 +22,22 @@ registry.registerPath({
request: { request: {
params: unarchiveClientSchema params: unarchiveClientSchema
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function unarchiveClient( export async function unarchiveClient(

View File

@@ -22,7 +22,22 @@ registry.registerPath({
request: { request: {
params: unblockClientSchema params: unblockClientSchema
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function unblockClient( export async function unblockClient(

View File

@@ -36,7 +36,22 @@ registry.registerPath({
} }
} }
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function updateClient( export async function updateClient(

View File

@@ -37,7 +37,22 @@ registry.registerPath({
orgId: z.string() orgId: z.string()
}) })
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function getDNSRecords( export async function getDNSRecords(

View File

@@ -39,7 +39,22 @@ registry.registerPath({
orgId: z.string() orgId: z.string()
}) })
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function getDomain( export async function getDomain(

View File

@@ -67,7 +67,22 @@ registry.registerPath({
}), }),
query: listDomainsSchema query: listDomainsSchema
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function listDomains( export async function listDomains(

View File

@@ -36,7 +36,22 @@ registry.registerPath({
orgId: z.string() orgId: z.string()
}) })
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function updateOrgDomain( export async function updateOrgDomain(

View File

@@ -38,7 +38,22 @@ registry.registerPath({
} }
} }
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function createIdpOrgPolicy( export async function createIdpOrgPolicy(

View File

@@ -48,7 +48,22 @@ registry.registerPath({
} }
} }
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function createOidcIdp( export async function createOidcIdp(

View File

@@ -25,7 +25,22 @@ registry.registerPath({
request: { request: {
params: paramsSchema params: paramsSchema
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function deleteIdp( export async function deleteIdp(

View File

@@ -23,7 +23,22 @@ registry.registerPath({
request: { request: {
params: paramsSchema params: paramsSchema
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function deleteIdpOrgPolicy( export async function deleteIdpOrgPolicy(

View File

@@ -38,7 +38,22 @@ registry.registerPath({
request: { request: {
params: paramsSchema params: paramsSchema
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function getIdp( export async function getIdp(

View File

@@ -53,7 +53,22 @@ registry.registerPath({
params: paramsSchema, params: paramsSchema,
query: querySchema query: querySchema
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function listIdpOrgPolicies( export async function listIdpOrgPolicies(

View File

@@ -62,7 +62,22 @@ registry.registerPath({
request: { request: {
query: querySchema query: querySchema
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function listIdps( export async function listIdps(

View File

@@ -37,7 +37,22 @@ registry.registerPath({
} }
} }
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function updateIdpOrgPolicy( export async function updateIdpOrgPolicy(

View File

@@ -54,7 +54,22 @@ registry.registerPath({
} }
} }
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function updateOidcIdp( export async function updateOidcIdp(

View File

@@ -43,7 +43,22 @@ export type CreateOlmResponse = {
// }, // },
// params: paramsSchema // params: paramsSchema
// }, // },
// responses: {} // responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
// }); // });
export async function createUserOlm( export async function createUserOlm(

View File

@@ -28,7 +28,22 @@ const paramsSchema = z
// request: { // request: {
// params: paramsSchema // params: paramsSchema
// }, // },
// responses: {} // responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
// }); // });
export async function deleteUserOlm( export async function deleteUserOlm(

View File

@@ -30,7 +30,22 @@ const querySchema = z.object({
// request: { // request: {
// params: paramsSchema // params: paramsSchema
// }, // },
// responses: {} // responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
// }); // });
export async function getUserOlm( export async function getUserOlm(

View File

@@ -41,7 +41,22 @@ const paramsSchema = z
// query: querySchema, // query: querySchema,
// params: paramsSchema // params: paramsSchema
// }, // },
// responses: {} // responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
// }); // });
export type ListUserOlmsResponse = { export type ListUserOlmsResponse = {

View File

@@ -83,7 +83,22 @@ registry.registerPath({
request: { request: {
params: paramsSchema params: paramsSchema
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function checkOrgUserAccess( export async function checkOrgUserAccess(

View File

@@ -74,7 +74,22 @@ registry.registerPath({
} }
} }
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function createOrg( export async function createOrg(

View File

@@ -24,7 +24,22 @@ registry.registerPath({
request: { request: {
params: deleteOrgSchema params: deleteOrgSchema
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function deleteOrg( export async function deleteOrg(

View File

@@ -26,7 +26,22 @@ registry.registerPath({
request: { request: {
params: getOrgSchema params: getOrgSchema
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function getOrg( export async function getOrg(

View File

@@ -33,7 +33,22 @@ registry.registerPath({
request: { request: {
query: listOrgsSchema query: listOrgsSchema
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export type ListOrgsResponse = { export type ListOrgsResponse = {

View File

@@ -37,7 +37,22 @@ const listOrgsSchema = z.object({
// request: { // request: {
// query: listOrgsSchema // query: listOrgsSchema
// }, // },
// responses: {} // responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
// }); // });
type ResponseOrg = Org & { type ResponseOrg = Org & {

View File

@@ -21,7 +21,22 @@ registry.registerPath({
request: { request: {
params: resetOrgBandwidthParamsSchema params: resetOrgBandwidthParamsSchema
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function resetOrgBandwidth( export async function resetOrgBandwidth(

View File

@@ -61,7 +61,22 @@ registry.registerPath({
} }
} }
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function updateOrg( export async function updateOrg(

View File

@@ -40,7 +40,22 @@ registry.registerPath({
} }
} }
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function addEmailToResourceWhitelist( export async function addEmailToResourceWhitelist(

View File

@@ -40,7 +40,22 @@ registry.registerPath({
} }
} }
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function addRoleToResource( export async function addRoleToResource(

View File

@@ -40,7 +40,22 @@ registry.registerPath({
} }
} }
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function addUserToResource( export async function addUserToResource(

View File

@@ -96,7 +96,22 @@ registry.registerPath({
} }
} }
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function createResource( export async function createResource(

View File

@@ -43,7 +43,22 @@ registry.registerPath({
} }
} }
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function createResourceRule( export async function createResourceRule(

View File

@@ -26,7 +26,22 @@ registry.registerPath({
request: { request: {
params: deleteResourceSchema params: deleteResourceSchema
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function deleteResource( export async function deleteResource(

View File

@@ -23,7 +23,22 @@ registry.registerPath({
request: { request: {
params: deleteResourceRuleSchema params: deleteResourceRuleSchema
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function deleteResourceRule( export async function deleteResourceRule(

View File

@@ -60,7 +60,22 @@ registry.registerPath({
niceId: z.string() niceId: z.string()
}) })
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
registry.registerPath({ registry.registerPath({
@@ -73,7 +88,22 @@ registry.registerPath({
resourceId: z.number() resourceId: z.number()
}) })
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function getResource( export async function getResource(

View File

@@ -35,7 +35,22 @@ registry.registerPath({
request: { request: {
params: getResourceWhitelistSchema params: getResourceWhitelistSchema
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function getResourceWhitelist( export async function getResourceWhitelist(

View File

@@ -39,7 +39,22 @@ registry.registerPath({
orgId: z.string() orgId: z.string()
}) })
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function listAllResourceNames( export async function listAllResourceNames(

View File

@@ -39,7 +39,22 @@ registry.registerPath({
request: { request: {
params: listResourceRolesSchema params: listResourceRolesSchema
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function listResourceRoles( export async function listResourceRoles(

View File

@@ -61,7 +61,22 @@ registry.registerPath({
params: listResourceRulesParamsSchema, params: listResourceRulesParamsSchema,
query: listResourceRulesSchema query: listResourceRulesSchema
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function listResourceRules( export async function listResourceRules(

View File

@@ -42,7 +42,22 @@ registry.registerPath({
request: { request: {
params: listResourceUsersSchema params: listResourceUsersSchema
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function listResourceUsers( export async function listResourceUsers(

View File

@@ -228,7 +228,22 @@ registry.registerPath({
}), }),
query: listResourcesSchema query: listResourcesSchema
}, },
responses: {} responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
}); });
export async function listResources( export async function listResources(

View File

@@ -76,7 +76,22 @@ export type ListUserResourceAliasesResponse = PaginatedResponse<{
// }), // }),
// query: listUserResourceAliasesQuerySchema // query: listUserResourceAliasesQuerySchema
// }, // },
// responses: {} // responses: {
200: {
description: "Successful response",
content: {
"application/json": {
schema: z.object({
data: z.unknown().nullable(),
success: z.boolean(),
error: z.boolean(),
message: z.string(),
status: z.number()
})
}
}
}
}
// }); // });
export async function listUserResourceAliases( export async function listUserResourceAliases(

Some files were not shown because too many files have changed in this diff Show More