@rodrigobeber/patoai-dtos 4.8.30 → 4.8.31
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.
package/dist/support/index.d.ts
CHANGED
package/dist/support/index.js
CHANGED
|
@@ -30,3 +30,4 @@ __exportStar(require("./support-insight-access.dto"), exports);
|
|
|
30
30
|
__exportStar(require("./support-agent-balance.dto"), exports);
|
|
31
31
|
__exportStar(require("./support-lab-session.dto"), exports);
|
|
32
32
|
__exportStar(require("./support-lab-onboarding.dto"), exports);
|
|
33
|
+
__exportStar(require("./support-guide.dto"), exports);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { SupportOnboardingItemDto } from "./support-lab-onboarding.dto";
|
|
2
|
+
export declare const SUPPORT_GUIDE_KEYS: readonly ["welcome-chat", "welcome-settings", "welcome-canais", "off"];
|
|
3
|
+
export type SupportGuideKey = typeof SUPPORT_GUIDE_KEYS[number];
|
|
4
|
+
export interface SupportGuideAccessDto {
|
|
5
|
+
owner: boolean;
|
|
6
|
+
}
|
|
7
|
+
export interface SupportGuideStateDto {
|
|
8
|
+
active: boolean;
|
|
9
|
+
optOut: boolean;
|
|
10
|
+
seen: SupportGuideKey[];
|
|
11
|
+
items: SupportOnboardingItemDto[];
|
|
12
|
+
}
|
|
13
|
+
export interface SupportGuideStartDto {
|
|
14
|
+
idCrew: number;
|
|
15
|
+
}
|
|
16
|
+
export interface SupportGuideSeenDto {
|
|
17
|
+
idCrew: number;
|
|
18
|
+
guide: SupportGuideKey;
|
|
19
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SUPPORT_GUIDE_KEYS = void 0;
|
|
4
|
+
// Guia auto-guiado do painel: o Chaveiro se apresenta sozinho na 1a visita de cada tela-chave e a
|
|
5
|
+
// trilha "Primeiros passos" acompanha o usuario no topo. Estado por (conta, agente) no patoai-support.
|
|
6
|
+
//
|
|
7
|
+
// A elegibilidade e SEMEADA pelo Arquiteto ao criar o agente (linha 'trail'), nunca inferida de
|
|
8
|
+
// cd_idempotency: aquele campo vem do body do cliente sem validacao e e zerado no descarte.
|
|
9
|
+
// Chave ABERTA de propósito: guia novo = string nova aqui + copy no frontend, sem migration.
|
|
10
|
+
exports.SUPPORT_GUIDE_KEYS = ['welcome-chat', 'welcome-settings', 'welcome-canais', 'off'];
|