@rodrigobeber/patoai-dtos 4.7.62 → 4.7.64
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/ai/core/completion.enum.d.ts +2 -1
- package/dist/ai/core/completion.enum.js +1 -0
- package/dist/ai/text/response-create.dto.d.ts +1 -0
- package/dist/support/index.d.ts +4 -0
- package/dist/support/index.js +4 -0
- package/dist/support/support-conversation.dto.d.ts +11 -0
- package/dist/support/support-conversation.dto.js +2 -0
- package/dist/support/support-lab-ask.dto.d.ts +29 -0
- package/dist/support/support-lab-ask.dto.js +2 -0
- package/dist/support/support-prompt-final.dto.d.ts +12 -0
- package/dist/support/support-prompt-final.dto.js +2 -0
- package/dist/support/support-prompt-workbench.dto.d.ts +47 -0
- package/dist/support/support-prompt-workbench.dto.js +2 -0
- package/dist/tool/delete-calendar-event.dto.d.ts +7 -0
- package/dist/tool/delete-calendar-event.dto.js +2 -0
- package/dist/tool/index.d.ts +1 -0
- package/dist/tool/index.js +1 -0
- package/dist/webchat/crew/webchat-crew.dto.d.ts +3 -0
- package/dist/webchat/reminder/webchat-reminder-config.dto.d.ts +8 -0
- package/package.json +1 -1
|
@@ -8,4 +8,5 @@ var CompletionEnum;
|
|
|
8
8
|
CompletionEnum["SUMMARY"] = "summary";
|
|
9
9
|
CompletionEnum["VOLUME_M3"] = "volume-m3";
|
|
10
10
|
CompletionEnum["HANDOFF"] = "handoff";
|
|
11
|
+
CompletionEnum["SCHEDULE_CONFIRM"] = "schedule-confirm";
|
|
11
12
|
})(CompletionEnum || (exports.CompletionEnum = CompletionEnum = {}));
|
package/dist/support/index.d.ts
CHANGED
|
@@ -3,3 +3,7 @@ export * from './support-crew-features.dto';
|
|
|
3
3
|
export * from './support-ask.dto';
|
|
4
4
|
export * from './support-answer.dto';
|
|
5
5
|
export * from './support-crew-config.dto';
|
|
6
|
+
export * from './support-lab-ask.dto';
|
|
7
|
+
export * from './support-prompt-workbench.dto';
|
|
8
|
+
export * from './support-prompt-final.dto';
|
|
9
|
+
export * from './support-conversation.dto';
|
package/dist/support/index.js
CHANGED
|
@@ -19,3 +19,7 @@ __exportStar(require("./support-crew-features.dto"), exports);
|
|
|
19
19
|
__exportStar(require("./support-ask.dto"), exports);
|
|
20
20
|
__exportStar(require("./support-answer.dto"), exports);
|
|
21
21
|
__exportStar(require("./support-crew-config.dto"), exports);
|
|
22
|
+
__exportStar(require("./support-lab-ask.dto"), exports);
|
|
23
|
+
__exportStar(require("./support-prompt-workbench.dto"), exports);
|
|
24
|
+
__exportStar(require("./support-prompt-final.dto"), exports);
|
|
25
|
+
__exportStar(require("./support-conversation.dto"), exports);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AccountRoleEnum } from "../auth/account-role.enum";
|
|
2
|
+
export interface SupportConversationRequestDto {
|
|
3
|
+
idCrew: number;
|
|
4
|
+
idAccount: number;
|
|
5
|
+
accountRole: AccountRoleEnum;
|
|
6
|
+
idThread: string;
|
|
7
|
+
}
|
|
8
|
+
export interface SupportConversationDto {
|
|
9
|
+
found: boolean;
|
|
10
|
+
transcript: string;
|
|
11
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { SupportMessageDto } from "./support-message.dto";
|
|
2
|
+
export interface SupportLabFocusDto {
|
|
3
|
+
idStage?: number;
|
|
4
|
+
runType?: string;
|
|
5
|
+
}
|
|
6
|
+
export interface SupportLabAskDto {
|
|
7
|
+
idCrew: number;
|
|
8
|
+
messages: SupportMessageDto[];
|
|
9
|
+
currentPage?: string;
|
|
10
|
+
focus?: SupportLabFocusDto;
|
|
11
|
+
userRole?: string;
|
|
12
|
+
isSuperUser?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export interface SupportLabProposalDto {
|
|
15
|
+
id: string;
|
|
16
|
+
target: 'context' | 'prompt';
|
|
17
|
+
field?: 'about' | 'role' | 'audience' | 'behavior';
|
|
18
|
+
idPrompt?: number;
|
|
19
|
+
kind: 'markdown' | 'spin-yaml';
|
|
20
|
+
title: string;
|
|
21
|
+
baseText: string;
|
|
22
|
+
proposedText: string;
|
|
23
|
+
rationale: string;
|
|
24
|
+
}
|
|
25
|
+
export interface SupportLabAnswerDto {
|
|
26
|
+
content: string;
|
|
27
|
+
remainingToday?: number;
|
|
28
|
+
proposals?: SupportLabProposalDto[];
|
|
29
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { AccountRoleEnum } from "../auth/account-role.enum";
|
|
2
|
+
export interface SupportPromptFinalRequestDto {
|
|
3
|
+
idCrew: number;
|
|
4
|
+
idAccount: number;
|
|
5
|
+
accountRole: AccountRoleEnum;
|
|
6
|
+
idStage?: number;
|
|
7
|
+
}
|
|
8
|
+
export interface SupportPromptFinalDto {
|
|
9
|
+
instructions: string;
|
|
10
|
+
stageName: string | null;
|
|
11
|
+
stageType: string | null;
|
|
12
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { AccountRoleEnum } from "../auth/account-role.enum";
|
|
2
|
+
import { MemberRoleEnum } from "../organization/member-role.enum";
|
|
3
|
+
import { WebChatStageDto } from "../webchat/crm/webchat-stage.dto";
|
|
4
|
+
export interface SupportPromptWorkbenchRequestDto {
|
|
5
|
+
idCrew: number;
|
|
6
|
+
idAccount: number;
|
|
7
|
+
accountRole: AccountRoleEnum;
|
|
8
|
+
idStage?: number;
|
|
9
|
+
}
|
|
10
|
+
export interface SupportContextDto {
|
|
11
|
+
about: string | null;
|
|
12
|
+
role: string | null;
|
|
13
|
+
audience: string | null;
|
|
14
|
+
behavior: string | null;
|
|
15
|
+
}
|
|
16
|
+
export interface SupportWorkbenchPromptDto {
|
|
17
|
+
id: number;
|
|
18
|
+
title: string;
|
|
19
|
+
type: string;
|
|
20
|
+
base: string | null;
|
|
21
|
+
active: boolean;
|
|
22
|
+
stageIds: number[];
|
|
23
|
+
order: number;
|
|
24
|
+
content: string;
|
|
25
|
+
}
|
|
26
|
+
export interface SupportBaseTemplatesDto {
|
|
27
|
+
crew: string;
|
|
28
|
+
agenda: string;
|
|
29
|
+
spin: string;
|
|
30
|
+
footer: string;
|
|
31
|
+
}
|
|
32
|
+
export interface SupportWorkbenchLimitsDto {
|
|
33
|
+
promptRunMax: number;
|
|
34
|
+
aboutMax: number;
|
|
35
|
+
roleMax: number;
|
|
36
|
+
audienceMax: number;
|
|
37
|
+
behaviorMax: number;
|
|
38
|
+
}
|
|
39
|
+
export interface SupportPromptWorkbenchDto {
|
|
40
|
+
role: MemberRoleEnum;
|
|
41
|
+
context: SupportContextDto;
|
|
42
|
+
prompts: SupportWorkbenchPromptDto[];
|
|
43
|
+
baseTemplates: SupportBaseTemplatesDto;
|
|
44
|
+
stages: WebChatStageDto[];
|
|
45
|
+
limits: SupportWorkbenchLimitsDto;
|
|
46
|
+
finalPrompt?: string;
|
|
47
|
+
}
|
package/dist/tool/index.d.ts
CHANGED
package/dist/tool/index.js
CHANGED
|
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./calendar.dto"), exports);
|
|
18
|
+
__exportStar(require("./delete-calendar-event.dto"), exports);
|
|
18
19
|
__exportStar(require("./get-calendar.dto"), exports);
|
|
19
20
|
__exportStar(require("./get-tools.dto"), exports);
|
|
20
21
|
__exportStar(require("./tool-call.dto"), exports);
|
|
@@ -39,6 +39,9 @@ export interface WebChatCrewDto {
|
|
|
39
39
|
reminderMode: ReminderModeEnum;
|
|
40
40
|
reminderDayStartTime: string | null;
|
|
41
41
|
reminderDayEndTime: string | null;
|
|
42
|
+
reminderAutoCancel: boolean;
|
|
43
|
+
reminderCancelBeforeMinutes: number | null;
|
|
44
|
+
reminderStageOnNoConfirm: number | null;
|
|
42
45
|
vision: VisionEnum;
|
|
43
46
|
document: boolean;
|
|
44
47
|
window: number;
|
|
@@ -4,9 +4,17 @@ export interface WebChatReminderConfigDto {
|
|
|
4
4
|
type: ReminderModeEnum;
|
|
5
5
|
dayStartTime: string | null;
|
|
6
6
|
dayEndTime: string | null;
|
|
7
|
+
autoCancel: boolean;
|
|
8
|
+
cancelBeforeMinutes: number | null;
|
|
9
|
+
stageOnNoConfirm: number | null;
|
|
7
10
|
}
|
|
8
11
|
export interface WebChatUpdateReminderConfigDto {
|
|
9
12
|
type?: ReminderModeEnum;
|
|
10
13
|
dayStartTime?: string | null;
|
|
11
14
|
dayEndTime?: string | null;
|
|
12
15
|
}
|
|
16
|
+
export interface WebChatUpdateReminderCancelConfigDto {
|
|
17
|
+
autoCancel: boolean;
|
|
18
|
+
cancelBeforeMinutes: number | null;
|
|
19
|
+
stageOnNoConfirm: number | null;
|
|
20
|
+
}
|