UNPKG

@simpleapps-com/augur-api

Version:

TypeScript client library for Augur microservices API endpoints

398 lines 14.3 kB
import { z } from 'zod'; export declare const ProductLinkSchema: z.ZodObject<{ productLinkUid: z.ZodNumber; parentInvMastUid: z.ZodNumber; childInvMastUid: z.ZodNumber; parentItemId: z.ZodString; childItemId: z.ZodString; linkType: z.ZodString; linkDescription: z.ZodOptional<z.ZodString>; isActive: z.ZodOptional<z.ZodString>; displayOrder: z.ZodOptional<z.ZodNumber>; dateCreated: z.ZodOptional<z.ZodString>; dateLastModified: z.ZodOptional<z.ZodString>; createdBy: z.ZodOptional<z.ZodString>; lastMaintainedBy: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { productLinkUid: number; parentInvMastUid: number; childInvMastUid: number; parentItemId: string; childItemId: string; linkType: string; dateCreated?: string | undefined; dateLastModified?: string | undefined; createdBy?: string | undefined; lastMaintainedBy?: string | undefined; isActive?: string | undefined; displayOrder?: number | undefined; linkDescription?: string | undefined; }, { productLinkUid: number; parentInvMastUid: number; childInvMastUid: number; parentItemId: string; childItemId: string; linkType: string; dateCreated?: string | undefined; dateLastModified?: string | undefined; createdBy?: string | undefined; lastMaintainedBy?: string | undefined; isActive?: string | undefined; displayOrder?: number | undefined; linkDescription?: string | undefined; }>; export declare const CreateProductLinkRequestSchema: z.ZodObject<{ childInvMastUid: z.ZodNumber; linkType: z.ZodString; linkDescription: z.ZodOptional<z.ZodString>; isActive: z.ZodOptional<z.ZodString>; displayOrder: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { childInvMastUid: number; linkType: string; isActive?: string | undefined; displayOrder?: number | undefined; linkDescription?: string | undefined; }, { childInvMastUid: number; linkType: string; isActive?: string | undefined; displayOrder?: number | undefined; linkDescription?: string | undefined; }>; export declare const UpdateProductLinkRequestSchema: z.ZodObject<{ linkType: z.ZodOptional<z.ZodString>; linkDescription: z.ZodOptional<z.ZodString>; isActive: z.ZodOptional<z.ZodString>; displayOrder: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { isActive?: string | undefined; displayOrder?: number | undefined; linkType?: string | undefined; linkDescription?: string | undefined; }, { isActive?: string | undefined; displayOrder?: number | undefined; linkType?: string | undefined; linkDescription?: string | undefined; }>; export declare const ProductLinkListParamsSchema: z.ZodObject<{ limit: z.ZodOptional<z.ZodNumber>; offset: z.ZodOptional<z.ZodNumber>; } & { edgeCache: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<8>, z.ZodLiteral<"1">, z.ZodLiteral<"2">, z.ZodLiteral<"3">, z.ZodLiteral<"4">, z.ZodLiteral<"5">, z.ZodLiteral<"8">]>, 3 | 2 | 4 | 1 | 5 | 8, 3 | 2 | 4 | 1 | "1" | 5 | 8 | "2" | "3" | "4" | "5" | "8">>; } & { linkType: z.ZodOptional<z.ZodString>; isActive: z.ZodOptional<z.ZodString>; orderBy: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { edgeCache?: 3 | 2 | 4 | 1 | 5 | 8 | undefined; limit?: number | undefined; offset?: number | undefined; orderBy?: string | undefined; isActive?: string | undefined; linkType?: string | undefined; }, { edgeCache?: 3 | 2 | 4 | 1 | "1" | 5 | 8 | "2" | "3" | "4" | "5" | "8" | undefined; limit?: number | undefined; offset?: number | undefined; orderBy?: string | undefined; isActive?: string | undefined; linkType?: string | undefined; }>; export declare const ProductLinkResponseSchema: z.ZodEffects<z.ZodObject<{ count: z.ZodNumber; data: z.ZodObject<{ productLinkUid: z.ZodNumber; parentInvMastUid: z.ZodNumber; childInvMastUid: z.ZodNumber; parentItemId: z.ZodString; childItemId: z.ZodString; linkType: z.ZodString; linkDescription: z.ZodOptional<z.ZodString>; isActive: z.ZodOptional<z.ZodString>; displayOrder: z.ZodOptional<z.ZodNumber>; dateCreated: z.ZodOptional<z.ZodString>; dateLastModified: z.ZodOptional<z.ZodString>; createdBy: z.ZodOptional<z.ZodString>; lastMaintainedBy: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { productLinkUid: number; parentInvMastUid: number; childInvMastUid: number; parentItemId: string; childItemId: string; linkType: string; dateCreated?: string | undefined; dateLastModified?: string | undefined; createdBy?: string | undefined; lastMaintainedBy?: string | undefined; isActive?: string | undefined; displayOrder?: number | undefined; linkDescription?: string | undefined; }, { productLinkUid: number; parentInvMastUid: number; childInvMastUid: number; parentItemId: string; childItemId: string; linkType: string; dateCreated?: string | undefined; dateLastModified?: string | undefined; createdBy?: string | undefined; lastMaintainedBy?: string | undefined; isActive?: string | undefined; displayOrder?: number | undefined; linkDescription?: string | undefined; }>; 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: { productLinkUid: number; parentInvMastUid: number; childInvMastUid: number; parentItemId: string; childItemId: string; linkType: string; dateCreated?: string | undefined; dateLastModified?: string | undefined; createdBy?: string | undefined; lastMaintainedBy?: string | undefined; isActive?: string | undefined; displayOrder?: number | undefined; linkDescription?: string | undefined; }; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }, { params: Record<string, unknown> | unknown[]; data: { productLinkUid: number; parentInvMastUid: number; childInvMastUid: number; parentItemId: string; childItemId: string; linkType: string; dateCreated?: string | undefined; dateLastModified?: string | undefined; createdBy?: string | undefined; lastMaintainedBy?: string | undefined; isActive?: string | undefined; displayOrder?: number | undefined; linkDescription?: string | undefined; }; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }>, { params: Record<string, unknown> | unknown[]; data: { productLinkUid: number; parentInvMastUid: number; childInvMastUid: number; parentItemId: string; childItemId: string; linkType: string; dateCreated?: string | undefined; dateLastModified?: string | undefined; createdBy?: string | undefined; lastMaintainedBy?: string | undefined; isActive?: string | undefined; displayOrder?: number | undefined; linkDescription?: string | undefined; }; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }, { params: Record<string, unknown> | unknown[]; data: { productLinkUid: number; parentInvMastUid: number; childInvMastUid: number; parentItemId: string; childItemId: string; linkType: string; dateCreated?: string | undefined; dateLastModified?: string | undefined; createdBy?: string | undefined; lastMaintainedBy?: string | undefined; isActive?: string | undefined; displayOrder?: number | undefined; linkDescription?: string | undefined; }; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }>; export declare const ProductLinkListResponseSchema: z.ZodEffects<z.ZodObject<{ count: z.ZodNumber; data: z.ZodArray<z.ZodObject<{ productLinkUid: z.ZodNumber; parentInvMastUid: z.ZodNumber; childInvMastUid: z.ZodNumber; parentItemId: z.ZodString; childItemId: z.ZodString; linkType: z.ZodString; linkDescription: z.ZodOptional<z.ZodString>; isActive: z.ZodOptional<z.ZodString>; displayOrder: z.ZodOptional<z.ZodNumber>; dateCreated: z.ZodOptional<z.ZodString>; dateLastModified: z.ZodOptional<z.ZodString>; createdBy: z.ZodOptional<z.ZodString>; lastMaintainedBy: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { productLinkUid: number; parentInvMastUid: number; childInvMastUid: number; parentItemId: string; childItemId: string; linkType: string; dateCreated?: string | undefined; dateLastModified?: string | undefined; createdBy?: string | undefined; lastMaintainedBy?: string | undefined; isActive?: string | undefined; displayOrder?: number | undefined; linkDescription?: string | undefined; }, { productLinkUid: number; parentInvMastUid: number; childInvMastUid: number; parentItemId: string; childItemId: string; linkType: string; dateCreated?: string | undefined; dateLastModified?: string | undefined; createdBy?: string | undefined; lastMaintainedBy?: string | undefined; isActive?: string | undefined; displayOrder?: number | undefined; linkDescription?: string | undefined; }>, "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: { productLinkUid: number; parentInvMastUid: number; childInvMastUid: number; parentItemId: string; childItemId: string; linkType: string; dateCreated?: string | undefined; dateLastModified?: string | undefined; createdBy?: string | undefined; lastMaintainedBy?: string | undefined; isActive?: string | undefined; displayOrder?: number | undefined; linkDescription?: string | undefined; }[]; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }, { params: Record<string, unknown> | unknown[]; data: { productLinkUid: number; parentInvMastUid: number; childInvMastUid: number; parentItemId: string; childItemId: string; linkType: string; dateCreated?: string | undefined; dateLastModified?: string | undefined; createdBy?: string | undefined; lastMaintainedBy?: string | undefined; isActive?: string | undefined; displayOrder?: number | undefined; linkDescription?: string | undefined; }[]; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }>, { params: Record<string, unknown> | unknown[]; data: { productLinkUid: number; parentInvMastUid: number; childInvMastUid: number; parentItemId: string; childItemId: string; linkType: string; dateCreated?: string | undefined; dateLastModified?: string | undefined; createdBy?: string | undefined; lastMaintainedBy?: string | undefined; isActive?: string | undefined; displayOrder?: number | undefined; linkDescription?: string | undefined; }[]; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }, { params: Record<string, unknown> | unknown[]; data: { productLinkUid: number; parentInvMastUid: number; childInvMastUid: number; parentItemId: string; childItemId: string; linkType: string; dateCreated?: string | undefined; dateLastModified?: string | undefined; createdBy?: string | undefined; lastMaintainedBy?: string | undefined; isActive?: string | undefined; displayOrder?: number | undefined; linkDescription?: string | undefined; }[]; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }>; export type ProductLink = z.infer<typeof ProductLinkSchema>; export type CreateProductLinkRequest = z.infer<typeof CreateProductLinkRequestSchema>; export type UpdateProductLinkRequest = z.infer<typeof UpdateProductLinkRequestSchema>; export type ProductLinkListParams = z.infer<typeof ProductLinkListParamsSchema>; export type ProductLinkResponse = z.infer<typeof ProductLinkResponseSchema>; export type ProductLinkListResponse = z.infer<typeof ProductLinkListResponseSchema>; //# sourceMappingURL=productLinks.d.ts.map