UNPKG

@simpleapps-com/augur-api

Version:

TypeScript client library for Augur microservices API endpoints

41 lines 1.66 kB
import type { ItemsClient } from '../client'; type ExecuteRequest = ItemsClient['executeRequest']; /** * Creates the invMastLinks resource methods * OpenAPI Path: /inv-mast-links/{invMastUid} → invMastLinks.list * @description Direct path mapping for inventory master links */ export declare function createInvMastLinksResource(executeRequest: ExecuteRequest): { /** * List inventory master links * @description Get document links for an inventory master item * @fullPath api.items.invMastLinks.list * @service items * @domain inventory-management * @discoverable true */ list: (invMastUid: number) => Promise<{ params: Record<string, unknown> | unknown[]; data: import("zod").objectInputType<{ productLinkUid: import("zod").ZodNumber; }, import("zod").ZodTypeAny, "passthrough">[]; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }>; }; /** * Creates the invMastLinksData resource methods (data-only versions) */ export declare function createInvMastLinksDataResource(invMastLinks: ReturnType<typeof createInvMastLinksResource>): { list: (invMastUid: number) => Promise<import("zod").objectInputType<{ productLinkUid: import("zod").ZodNumber; }, import("zod").ZodTypeAny, "passthrough">[]>; }; export type InvMastLinksResource = ReturnType<typeof createInvMastLinksResource>; export type InvMastLinksDataResource = ReturnType<typeof createInvMastLinksDataResource>; export {}; //# sourceMappingURL=inv-mast-links.d.ts.map