@simpleapps-com/augur-api
Version:
TypeScript client library for Augur microservices API endpoints
168 lines • 6.49 kB
TypeScript
import { z } from 'zod';
/** Attribute group attributes list params */
export declare const AttributeGroupAttributesListParamsSchema: z.ZodObject<{
limit: z.ZodOptional<z.ZodNumber>;
offset: z.ZodOptional<z.ZodNumber>;
orderBy: z.ZodOptional<z.ZodString>;
q: z.ZodOptional<z.ZodString>;
statusCd: z.ZodOptional<z.ZodNumber>;
}, "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;
}>;
/** Create request - passthrough for flexible input */
export declare const CreateAttributeGroupAttributeRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
/** Update request - passthrough for flexible input */
export declare const UpdateAttributeGroupAttributeRequestSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
/** Attribute group attribute - key field only, passthrough for API flexibility */
export declare const AttributeGroupAttributeSchema: z.ZodObject<{
attributeXAttributeGroupUid: z.ZodNumber;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
attributeXAttributeGroupUid: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
attributeXAttributeGroupUid: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">>;
export declare const AttributeGroupAttributeResponseSchema: z.ZodEffects<z.ZodObject<{
count: z.ZodNumber;
data: z.ZodObject<{
attributeXAttributeGroupUid: z.ZodNumber;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
attributeXAttributeGroupUid: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
attributeXAttributeGroupUid: 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: {
attributeXAttributeGroupUid: 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: {
attributeXAttributeGroupUid: 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: {
attributeXAttributeGroupUid: 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: {
attributeXAttributeGroupUid: number;
} & {
[k: string]: unknown;
};
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>;
export declare const AttributeGroupAttributeListResponseSchema: z.ZodEffects<z.ZodObject<{
count: z.ZodNumber;
data: z.ZodArray<z.ZodObject<{
attributeXAttributeGroupUid: z.ZodNumber;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
attributeXAttributeGroupUid: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
attributeXAttributeGroupUid: 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<{
attributeXAttributeGroupUid: 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<{
attributeXAttributeGroupUid: 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<{
attributeXAttributeGroupUid: 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<{
attributeXAttributeGroupUid: z.ZodNumber;
}, z.ZodTypeAny, "passthrough">[];
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>;
export type AttributeGroupAttributesListParams = z.infer<typeof AttributeGroupAttributesListParamsSchema>;
export type CreateAttributeGroupAttributeRequest = z.infer<typeof CreateAttributeGroupAttributeRequestSchema>;
export type UpdateAttributeGroupAttributeRequest = z.infer<typeof UpdateAttributeGroupAttributeRequestSchema>;
export type AttributeGroupAttribute = z.infer<typeof AttributeGroupAttributeSchema>;
export type AttributeGroupAttributeResponse = z.infer<typeof AttributeGroupAttributeResponseSchema>;
export type AttributeGroupAttributeListResponse = z.infer<typeof AttributeGroupAttributeListResponseSchema>;
//# sourceMappingURL=attributeGroupsAttributes.d.ts.map