UNPKG

@simpleapps-com/augur-api

Version:

TypeScript client library for Augur microservices API endpoints

33 lines 1.27 kB
import type { LegacyClient } from '../client'; import type { ItemCategoryResponse } from '../schemas'; type ExecuteRequest = LegacyClient['executeRequest']; /** * Creates the itemCategory resource methods * OpenAPI Path: /item-category → itemCategory.* * @description Item category operations for hierarchical categorization */ export declare function createItemCategoryResource(executeRequest: ExecuteRequest): { /** * Get item category details * @fullPath api.legacy.itemCategory.get * @service legacy * @domain product-categorization * @dataMethod itemCategoryData.get * @discoverable true */ get: (itemCategoryUid: number) => Promise<ItemCategoryResponse>; }; /** * Creates the itemCategoryData resource methods (data-only versions) */ export declare function createItemCategoryDataResource(itemCategory: ReturnType<typeof createItemCategoryResource>): { get: (itemCategoryUid: number) => Promise<{ itemCategoryUid: number; } & { [k: string]: unknown; }>; }; export type ItemCategoryResource = ReturnType<typeof createItemCategoryResource>; export type ItemCategoryDataResource = ReturnType<typeof createItemCategoryDataResource>; export {}; //# sourceMappingURL=item-category.d.ts.map