@rodrigobeber/patoai-dtos 4.7.7 → 4.7.9
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,3 +1,4 @@
|
|
|
1
|
+
import type { SdrSubType, WizardStageNamesDto } from '../wizard/wizard.dto';
|
|
1
2
|
export type ProvisionAgentType = 'sdr' | 'support';
|
|
2
3
|
export interface ProvisionCrewDto {
|
|
3
4
|
companyName: string;
|
|
@@ -8,6 +9,11 @@ export interface ProvisionCrewDto {
|
|
|
8
9
|
audience: string;
|
|
9
10
|
behavior: string;
|
|
10
11
|
domains?: ProvisionDomainDto[];
|
|
12
|
+
sdrSubType?: SdrSubType;
|
|
13
|
+
actionPhrase?: string;
|
|
14
|
+
dealPhrase?: string;
|
|
15
|
+
spinYaml?: string;
|
|
16
|
+
stageNames?: WizardStageNamesDto;
|
|
11
17
|
}
|
|
12
18
|
export interface ProvisionDomainDto {
|
|
13
19
|
title: string;
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './wizard.dto';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./wizard.dto"), exports);
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
export interface WizardStartResponseDto {
|
|
2
|
+
sessionId: string;
|
|
3
|
+
greeting: string;
|
|
4
|
+
}
|
|
5
|
+
export interface WizardChatRequestDto {
|
|
6
|
+
sessionId: string;
|
|
7
|
+
message: string;
|
|
8
|
+
}
|
|
9
|
+
export interface WizardChatResponseDto {
|
|
10
|
+
reply: string;
|
|
11
|
+
done: boolean;
|
|
12
|
+
detectedType: 'sdr' | 'support' | null;
|
|
13
|
+
detectedIndustry: string | null;
|
|
14
|
+
}
|
|
15
|
+
export interface WizardGenerateRequestDto {
|
|
16
|
+
sessionId: string;
|
|
17
|
+
}
|
|
18
|
+
export type SdrSubType = 'link' | 'agenda' | 'scalate';
|
|
19
|
+
export interface WizardStageNamesDto {
|
|
20
|
+
calledByUser: string;
|
|
21
|
+
action: string;
|
|
22
|
+
actionDone: string;
|
|
23
|
+
}
|
|
24
|
+
export interface WizardGenerateResponseDto {
|
|
25
|
+
companyName: string;
|
|
26
|
+
agentName: string;
|
|
27
|
+
agentType: 'sdr' | 'support';
|
|
28
|
+
about: string;
|
|
29
|
+
role: string;
|
|
30
|
+
audience: string;
|
|
31
|
+
behavior: string;
|
|
32
|
+
domains: WizardDomainDto[];
|
|
33
|
+
sdrSubType?: SdrSubType;
|
|
34
|
+
actionPhrase?: string;
|
|
35
|
+
dealPhrase?: string;
|
|
36
|
+
spinYaml?: string;
|
|
37
|
+
stageNames?: WizardStageNamesDto;
|
|
38
|
+
}
|
|
39
|
+
export interface WizardDomainDto {
|
|
40
|
+
title: string;
|
|
41
|
+
content: string;
|
|
42
|
+
}
|
|
43
|
+
export interface WizardRefineRequestDto {
|
|
44
|
+
sessionId: string;
|
|
45
|
+
field: 'about' | 'role' | 'audience' | 'behavior' | 'spinYaml';
|
|
46
|
+
currentValue: string;
|
|
47
|
+
instruction: string;
|
|
48
|
+
}
|
|
49
|
+
export interface WizardRefineResponseDto {
|
|
50
|
+
refined: string;
|
|
51
|
+
}
|