@simpleapps-com/augur-api
Version:
TypeScript client library for Augur microservices API endpoints
33 lines • 1.38 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.OrderEntryHeaderResponseSchema = exports.OrderEntryDataSchema = exports.OrderEntryHeaderWebParamsSchema = exports.OrderEntryHeaderSalesrepParamsSchema = exports.OrderEntryHeaderParamsSchema = void 0;
const zod_1 = require("zod");
const schemas_1 = require("../../../core/schemas");
/**
* Parameters for order entry header operations
*/
exports.OrderEntryHeaderParamsSchema = zod_1.z.object({
importUid: zod_1.z.string().describe('import.import_uid'),
});
/**
* Parameters for order entry header sales rep operations
*/
exports.OrderEntryHeaderSalesrepParamsSchema = zod_1.z.object({
importUid: zod_1.z.string().describe('import.import_uid'),
});
/**
* Parameters for order entry header web operations
*/
exports.OrderEntryHeaderWebParamsSchema = zod_1.z.object({
importUid: zod_1.z.string().describe('import.import_uid'),
});
/**
* Generic order entry data schema (OpenAPI spec doesn't provide detailed response schema)
* Using flexible unknown type as per API standards
*/
exports.OrderEntryDataSchema = zod_1.z.unknown().describe('Order entry data from imp_oe_hdr table');
/**
* Response schemas for order entry operations
*/
exports.OrderEntryHeaderResponseSchema = (0, schemas_1.BaseResponseSchema)(exports.OrderEntryDataSchema);
//# sourceMappingURL=order-entry.js.map