@simpleapps-com/augur-api
Version:
TypeScript client library for Augur microservices API endpoints
182 lines • 6.71 kB
TypeScript
import { z } from 'zod';
/** Attribute group - key field only, passthrough for API flexibility */
export declare const AttributeGroupSchema: z.ZodObject<{
attributeGroupUid: z.ZodNumber;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
attributeGroupUid: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
attributeGroupUid: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">>;
/** Attribute group summary - key field only, passthrough for API flexibility */
export declare const AttributeGroupSummarySchema: z.ZodObject<{
attributeGroupUid: z.ZodNumber;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
attributeGroupUid: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
attributeGroupUid: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">>;
/** Create attribute group request - passthrough for flexible input */
export declare const CreateAttributeGroupRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
/** Update attribute group request - passthrough for flexible input */
export declare const UpdateAttributeGroupRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
export declare const AttributeGroupListParamsSchema: z.ZodObject<{
limit: z.ZodOptional<z.ZodNumber>;
offset: z.ZodOptional<z.ZodNumber>;
q: z.ZodOptional<z.ZodString>;
statusCd: z.ZodOptional<z.ZodNumber>;
orderBy: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
limit?: number | undefined;
offset?: number | undefined;
q?: string | undefined;
orderBy?: string | undefined;
statusCd?: number | undefined;
}, {
limit?: number | undefined;
offset?: number | undefined;
q?: string | undefined;
orderBy?: string | undefined;
statusCd?: number | undefined;
}>;
export declare const AttributeGroupDetailParamsSchema: z.ZodObject<{
attributeGroupUid: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
attributeGroupUid: number;
}, {
attributeGroupUid: number;
}>;
export declare const AttributeGroupResponseSchema: z.ZodEffects<z.ZodObject<{
count: z.ZodNumber;
data: z.ZodObject<{
attributeGroupUid: z.ZodNumber;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
attributeGroupUid: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
attributeGroupUid: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">>;
message: z.ZodString;
options: z.ZodUnion<[z.ZodArray<z.ZodUnknown, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
params: z.ZodUnion<[z.ZodArray<z.ZodUnknown, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
status: z.ZodNumber;
total: z.ZodNumber;
totalResults: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
params: Record<string, unknown> | unknown[];
data: {
attributeGroupUid: number;
} & {
[k: string]: unknown;
};
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: {
attributeGroupUid: number;
} & {
[k: string]: unknown;
};
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>, {
params: Record<string, unknown> | unknown[];
data: {
attributeGroupUid: number;
} & {
[k: string]: unknown;
};
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: {
attributeGroupUid: number;
} & {
[k: string]: unknown;
};
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>;
export declare const AttributeGroupListResponseSchema: z.ZodEffects<z.ZodObject<{
count: z.ZodNumber;
data: z.ZodArray<z.ZodObject<{
attributeGroupUid: z.ZodNumber;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
attributeGroupUid: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
attributeGroupUid: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">>, "many">;
message: z.ZodString;
options: z.ZodUnion<[z.ZodArray<z.ZodUnknown, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
params: z.ZodUnion<[z.ZodArray<z.ZodUnknown, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
status: z.ZodNumber;
total: z.ZodNumber;
totalResults: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
params: Record<string, unknown> | unknown[];
data: z.objectOutputType<{
attributeGroupUid: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: z.objectInputType<{
attributeGroupUid: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>, {
params: Record<string, unknown> | unknown[];
data: z.objectOutputType<{
attributeGroupUid: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: z.objectInputType<{
attributeGroupUid: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>;
export type AttributeGroup = z.infer<typeof AttributeGroupSchema>;
export type AttributeGroupSummary = z.infer<typeof AttributeGroupSummarySchema>;
export type CreateAttributeGroupRequest = z.infer<typeof CreateAttributeGroupRequestSchema>;
export type UpdateAttributeGroupRequest = z.infer<typeof UpdateAttributeGroupRequestSchema>;
export type AttributeGroupListParams = z.infer<typeof AttributeGroupListParamsSchema>;
export type AttributeGroupDetailParams = z.infer<typeof AttributeGroupDetailParamsSchema>;
//# sourceMappingURL=attributeGroups.d.ts.map