import * as z from 'zod/mini'; import * as Response from '../../internal/Response.js'; import type * as App from '../App.js'; /** Zod schemas owned by the admin organizations handler. */ export declare namespace schema { /** Schemas for the listOrganizations operation. */ namespace listOrganizations { /** Query parameters for organization lookup. */ const Query: z.ZodMiniObject<{ cursor: z.ZodMiniOptional>; limit: z.ZodMiniDefault, z.ZodMiniTransform>>; query: z.ZodMiniOptional, z.ZodMiniTransform>>; }, z.core.$strict>; /** Organization summary shown in lookup results. */ const OrganizationSummary: z.ZodMiniObject<{ createdAt: z.ZodMiniString; createdBy: z.ZodMiniNullable>; id: z.ZodMiniString; name: z.ZodMiniString; updatedAt: z.ZodMiniString; userId: z.ZodMiniNullable>; memberCount: z.ZodMiniNumber; projectCount: z.ZodMiniNumber; }, z.core.$strip>; /** Cursor-paginated organization lookup results. */ const Response: z.ZodMiniObject<{ data: z.ZodMiniArray; createdBy: z.ZodMiniNullable>; id: z.ZodMiniString; name: z.ZodMiniString; updatedAt: z.ZodMiniString; userId: z.ZodMiniNullable>; memberCount: z.ZodMiniNumber; projectCount: z.ZodMiniNumber; }, z.core.$strip>>; nextCursor: z.ZodMiniNullable>; }, z.core.$strip>; } /** Schemas for the getOrganization operation. */ namespace getOrganization { /** Path parameters identifying an organization. */ const Params: z.ZodMiniObject<{ orgId: z.ZodMiniString; }, z.core.$strip>; /** An organization member with resolved identity. */ const Member: z.ZodMiniObject<{ address: z.ZodMiniNullable>; createdAt: z.ZodMiniString; email: z.ZodMiniNullable>; role: z.ZodMiniEnum<{ admin: "admin"; member: "member"; owner: "owner"; }>; updatedAt: z.ZodMiniString; userId: z.ZodMiniString; }, z.core.$strip>; /** A project owned by an organization. */ const Project: z.ZodMiniObject<{ createdAt: z.ZodMiniString; id: z.ZodMiniString; name: z.ZodMiniString; updatedAt: z.ZodMiniString; }, z.core.$strip>; /** Detailed organization lookup response. */ const Response: z.ZodMiniObject<{ createdAt: z.ZodMiniString; createdBy: z.ZodMiniNullable>; id: z.ZodMiniString; name: z.ZodMiniString; updatedAt: z.ZodMiniString; userId: z.ZodMiniNullable>; memberCount: z.ZodMiniNumber; projectCount: z.ZodMiniNumber; billing: z.ZodMiniObject<{ enabledSources: z.ZodMiniArray>; production: z.ZodMiniObject<{ settings: z.ZodMiniNullable; period: z.ZodMiniEnum<{ month: "month"; }>; spendLimit: z.ZodMiniNullable>; txFeeLimit: z.ZodMiniNullable>; updatedAt: z.ZodMiniString; }, z.core.$strip>>; source: z.ZodMiniNullable; stripeCustomerId: z.ZodMiniString; updatedAt: z.ZodMiniString; }, z.core.$strip>>; }, z.core.$strip>; sandbox: z.ZodMiniObject<{ settings: z.ZodMiniNullable; period: z.ZodMiniEnum<{ month: "month"; }>; spendLimit: z.ZodMiniNullable>; txFeeLimit: z.ZodMiniNullable>; updatedAt: z.ZodMiniString; }, z.core.$strip>>; source: z.ZodMiniNullable; stripeCustomerId: z.ZodMiniString; updatedAt: z.ZodMiniString; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>; sponsorshipSubsidy: z.ZodMiniObject<{ durationDays: z.ZodMiniNullable>; projectSpendLimit: z.ZodMiniNullable>; }, z.core.$strip>; }, z.core.$strip>; } /** Schemas for the setBillingSource operation. */ namespace setBillingSource { /** Path parameters identifying an organization billing source. */ const Params: z.ZodMiniObject<{ orgId: z.ZodMiniString; source: z.ZodMiniEnum<{ stripe: "stripe"; tempo: "tempo"; }>; }, z.core.$strip>; /** Current enabled billing sources. */ const Response: z.ZodMiniObject<{ data: z.ZodMiniArray>; }, z.core.$strip>; } /** Schemas for the listOrganizationMembers operation. */ namespace listOrganizationMembers { /** Query parameters for paginating organization members. */ const Query: z.ZodMiniObject<{ cursor: z.ZodMiniOptional>; limit: z.ZodMiniDefault, z.ZodMiniTransform>>; }, z.core.$strict>; /** Cursor-paginated organization members. */ const Response: z.ZodMiniObject<{ data: z.ZodMiniArray>; createdAt: z.ZodMiniString; email: z.ZodMiniNullable>; role: z.ZodMiniEnum<{ admin: "admin"; member: "member"; owner: "owner"; }>; updatedAt: z.ZodMiniString; userId: z.ZodMiniString; }, z.core.$strip>>; nextCursor: z.ZodMiniNullable>; }, z.core.$strip>; } /** Schemas for the listOrganizationProjects operation. */ namespace listOrganizationProjects { /** Query parameters for paginating organization projects. */ const Query: z.ZodMiniObject<{ cursor: z.ZodMiniOptional>; limit: z.ZodMiniDefault, z.ZodMiniTransform>>; }, z.core.$strict>; /** Cursor-paginated organization projects. */ const Response: z.ZodMiniObject<{ data: z.ZodMiniArray; id: z.ZodMiniString; name: z.ZodMiniString; updatedAt: z.ZodMiniString; }, z.core.$strip>>; nextCursor: z.ZodMiniNullable>; }, z.core.$strip>; } /** Schemas for the listOrganizationApiKeys operation. */ namespace listOrganizationApiKeys { /** Active organization API keys. */ const Response: z.ZodMiniObject<{ data: z.ZodMiniArray>>>; billingActive: z.ZodMiniOptional>; environment: z.ZodMiniDefault>; id: z.ZodMiniString; name: z.ZodMiniOptional>; orgId: z.ZodMiniString; projectId: z.ZodMiniOptional>; rateLimits: z.ZodMiniOptional, z.ZodMiniObject<{ limit: z.ZodMiniNumber; period: z.ZodMiniUnion, z.ZodMiniLiteral<"second">]>; }, z.core.$strip>>>; scopes: z.ZodMiniReadonly>>; createdAt: z.ZodMiniString; createdBy: z.ZodMiniOptional>; expiresAt: z.ZodMiniOptional>; tokenLast4: z.ZodMiniString; }, z.core.$strip>>; }, z.core.$strip>; } /** Schemas for the getOrganizationUsage operation. */ namespace getOrganizationUsage { /** Recent-usage window. */ const Query: z.ZodMiniObject<{ period: z.ZodMiniDefault>; }, z.core.$strip>; /** Recent API usage and error breakdowns. */ const Response: z.ZodMiniObject<{ byError: z.ZodMiniArray; requests: z.ZodMiniNumber; }, z.core.$strip>>; byRoute: z.ZodMiniArray; requests: z.ZodMiniNumber; averageDurationMs: z.ZodMiniNumber; route: z.ZodMiniString; }, z.core.$strip>>; byStatus: z.ZodMiniArray; status: z.ZodMiniNumber; }, z.core.$strip>>; from: z.ZodMiniString; period: z.ZodMiniEnum<{ "24h": "24h"; "30d": "30d"; "7d": "7d"; }>; to: z.ZodMiniString; totals: z.ZodMiniObject<{ errors: z.ZodMiniNumber; requests: z.ZodMiniNumber; averageDurationMs: z.ZodMiniNumber; }, z.core.$strip>; }, z.core.$strip>; } /** Schemas for organization sponsorship operations. */ namespace organizationSponsorship { /** Current-period sponsorship spend by key environment. */ const GetResponse: z.ZodMiniObject<{ production: z.ZodMiniObject<{ committedSpend: z.ZodMiniString; currency: z.ZodMiniEnum<{ usd: "usd"; }>; from: z.ZodMiniString; period: z.ZodMiniEnum<{ month: "month"; }>; }, z.core.$strip>; sandbox: z.ZodMiniObject<{ committedSpend: z.ZodMiniString; currency: z.ZodMiniEnum<{ usd: "usd"; }>; from: z.ZodMiniString; period: z.ZodMiniEnum<{ month: "month"; }>; }, z.core.$strip>; to: z.ZodMiniString; }, z.core.$strip>; /** Replacement subsidy policy. */ const SetBody: z.ZodMiniUnion; projectSpendLimit: z.ZodMiniOptional>; }, z.core.$strip>, z.ZodMiniObject<{ enabled: z.ZodMiniLiteral; }, z.core.$strip>]>; /** Current subsidy policy. */ const SetResponse: z.ZodMiniObject<{ durationDays: z.ZodMiniNullable>; projectSpendLimit: z.ZodMiniNullable>; }, z.core.$strip>; } /** Schemas for the getOrganizationWebhooks operation. */ namespace getOrganizationWebhooks { /** Webhook subscriptions and recent failures. */ const Response: z.ZodMiniObject<{ failureCount: z.ZodMiniNumber; failures: z.ZodMiniArray; createdAt: z.ZodMiniString; error: z.ZodMiniNullable>; id: z.ZodMiniString; responseStatus: z.ZodMiniNullable>; subscriptionId: z.ZodMiniString; }, z.core.$strip>>; failuresTruncated: z.ZodMiniBoolean; from: z.ZodMiniString; subscriptions: z.ZodMiniArray; createdAt: z.ZodMiniString; destination: z.ZodMiniString; eventType: z.ZodMiniString; failureCount: z.ZodMiniNumber; id: z.ZodMiniString; lastDeliveryAt: z.ZodMiniNullable>; status: z.ZodMiniEnum<{ active: "active"; disabled: "disabled"; paused: "paused"; }>; }, z.core.$strip>>; to: z.ZodMiniString; }, z.core.$strip>; } } /** Organization lookup and support routes for administrators. */ export declare function organizations(): import("hono/hono-base").HonoBase; //# sourceMappingURL=organizations.d.ts.map