feat(support): isolated stateless customer chat with JWT gatekeeper
This commit is contained in:
1 parent
8bf1843b9b
commit
8242a1271f
21 files changed
+413
No files matched your search
@@ -0,0 +1,5 @@
|
||||
import { IsIn, IsString, Length } from 'class-validator';
|
||||
export class SupportChatDto {
|
||||
@IsString() @Length(1, 1500) message!: string;
|
||||
@IsIn(['public', 'orders', 'wallet']) scope: 'public' | 'orders' | 'wallet' = 'public';
|
||||
}
|
||||
Reference in new issue
Block a user