@simpleapps-com/augur-api
Version:
TypeScript client library for Augur microservices API endpoints
38 lines • 1.47 kB
TypeScript
/**
* P21 SISM (System Integration & Storage Management) API Client
*
* This module provides a comprehensive TypeScript client for the P21 SISM API,
* enabling seamless integration with Prophet 21's System Integration & Storage Management service.
*
* Features:
* - Complete import management lifecycle (list, create, update, delete)
* - Order entry processing (headers, sales reps, web orders)
* - Scheduled import automation with SFTP metadata management
* - Real-time monitoring (recent imports, stuck imports, health checks)
* - Dual API pattern (full responses + data-only methods)
* - Comprehensive type safety with Zod validation
* - Rich semantic annotations for AI discoverability
*
* @example
* ```typescript
* import { HTTPClient } from '@augur/api-client/core';
* import { P21SismClient } from '@augur/api-client/services/p21-sism';
*
* const client = new P21SismClient(new HTTPClient({
* baseURL: 'https://p21-sism.augur-api.com',
* headers: { 'x-site-id': 'your-site-id' }
* }));
*
* // Monitor recent import activity
* const recentImports = await client.import.recent({ hours: 24 });
*
* // Process order entry data
* const orderHeader = await client.orderEntry.getHeaderData({ importUid: '12345' });
*
* // Check for processing issues
* const stuckImports = await client.import.stuckData({ hours: 48 });
* ```
*/
export { P21SismClient } from './client';
export * from './schemas';
//# sourceMappingURL=index.d.ts.map