feat(service): P5.4 outbound sandbox sink + rate limit + inspector read endpoints

OutboundService: idempotent commands, per-(channelType,target) rate-limit bucket,
sandbox send (no network) + delivery attempts. POST /v1/adapters/:type/send +
GET inbound/outbound (session-auth). 55 tests.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-01 13:46:56 +05:30
parent 29b64c3c4e
commit 4f661f4c81
5 changed files with 152 additions and 4 deletions
@@ -0,0 +1,7 @@
import { IsObject, IsOptional, IsString } from 'class-validator';
export class SendDto {
@IsString() target!: string;
@IsOptional() @IsObject() payload?: Record<string, unknown>;
@IsOptional() @IsString() idempotencyKey?: string;
}