@rodrigobeber/patoai-dtos 4.7.22 → 4.7.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,19 @@
1
- import type { SdrSubType, WizardStageNamesDto } from '../wizard/wizard.dto';
1
+ import type { SdrSubType, WizardStageNamesDto, WizardEscalationRuleDto, WizardFollowUpConfigDto } from '../wizard/wizard.dto';
2
2
  export type ProvisionAgentType = 'sdr' | 'support';
3
+ /**
4
+ * Sugestoes de configuracao da plataforma geradas pela IA do wizard (settingsHints).
5
+ * Subconjunto de crew.settings que faz sentido derivar do briefing na criacao.
6
+ * Campos ausentes mantem os defaults seguros do provisionamento.
7
+ */
8
+ export interface ProvisionSettingsDto {
9
+ pretend?: boolean;
10
+ vision?: string;
11
+ debounce?: number;
12
+ typingSpeed?: number;
13
+ userInfo?: boolean;
14
+ document?: boolean;
15
+ window?: number;
16
+ }
3
17
  export interface ProvisionCrewDto {
4
18
  companyName: string;
5
19
  agentName: string;
@@ -14,6 +28,14 @@ export interface ProvisionCrewDto {
14
28
  dealPhrase?: string;
15
29
  spinYaml?: string;
16
30
  stageNames?: WizardStageNamesDto;
31
+ /** Sugestoes de settings derivadas do briefing (mapeadas sobre os defaults). */
32
+ settings?: ProvisionSettingsDto;
33
+ /** Cadencia de follow-up calibrada pela IA (substitui os rounds default quando presente). */
34
+ followUpConfig?: WizardFollowUpConfigDto;
35
+ /** Regras de escalonamento para humano (alimentam handoff.escalate + ativam o handoff). */
36
+ escalationRules?: WizardEscalationRuleDto[];
37
+ /** true quando o agente precisa de agenda (sub-tipo agenda/mix) — usado para o checklist. */
38
+ calendarConfig?: boolean;
17
39
  }
18
40
  export interface ProvisionDomainDto {
19
41
  title: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rodrigobeber/patoai-dtos",
3
- "version": "4.7.22",
3
+ "version": "4.7.23",
4
4
  "description": "Data Transfer Objects for PatoAI",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",