Files
gru_emoney_token-factory/api/services/packet-service/README.md
defiQUG d7379f108e Enhance mapping and orchestrator services with new features and improvements
- Updated `mapping-service` to include WEB3-ETH-IBAN support, health check endpoint, and improved error handling for account-wallet linking.
- Added new provider connection and status endpoints in `mapping-service`.
- Enhanced `orchestrator` service with health check, trigger management endpoints, and improved error handling for trigger validation and submission.
- Updated dependencies in `package.json` for both services, including `axios`, `uuid`, and type definitions.
- Improved packet service with additional validation and error handling for packet generation and dispatching.
- Introduced webhook service enhancements, including delivery retries, dead letter queue management, and webhook management endpoints.
2025-12-12 13:53:30 -08:00

39 lines
987 B
Markdown

# Packet Service
Packet generation and dispatch service for non-scheme integration.
## Features
- PDF packet generation from triggers
- AS4 XML packet generation
- Email dispatch with attachments
- Portal dispatch
- Acknowledgement tracking
- Event publishing
## Channels
- `PDF` - PDF document generation
- `AS4` - AS4 XML message generation
- `EMAIL` - Email dispatch with attachments
- `PORTAL` - Portal notification
## API Endpoints
- `POST /v1/packets` - Generate packet
- `GET /v1/packets/:packetId` - Get packet
- `GET /v1/packets` - List packets
- `GET /v1/packets/:packetId/download` - Download packet file
- `POST /v1/packets/:packetId/dispatch` - Dispatch packet
- `POST /v1/packets/:packetId/ack` - Record acknowledgement
## Configuration
- `REST_API_URL` - Main REST API URL (default: `http://localhost:3000`)
- `SMTP_HOST` - SMTP server
- `SMTP_PORT` - SMTP port
- `SMTP_USER` - SMTP username
- `SMTP_PASS` - SMTP password
- `AS4_ENDPOINT` - AS4 gateway endpoint