@rodrigobeber/patoai-dtos 4.7.23 → 4.7.26
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/billing/billing-consumption-day-leads.dto.d.ts +27 -0
- package/dist/billing/billing-consumption-day-leads.dto.js +3 -0
- package/dist/billing/index.d.ts +1 -0
- package/dist/billing/index.js +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/support/index.d.ts +4 -0
- package/dist/support/index.js +20 -0
- package/dist/support/support-answer.dto.d.ts +3 -0
- package/dist/support/support-answer.dto.js +2 -0
- package/dist/support/support-ask.dto.d.ts +10 -0
- package/dist/support/support-ask.dto.js +2 -0
- package/dist/support/support-crew-features.dto.d.ts +7 -0
- package/dist/support/support-crew-features.dto.js +2 -0
- package/dist/support/support-message.dto.d.ts +4 -0
- package/dist/support/support-message.dto.js +2 -0
- package/dist/wizard/wizard.dto.d.ts +1 -8
- package/package.json +1 -1
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export interface BillingConsumptionDayLeadDto {
|
|
2
|
+
idThread: string;
|
|
3
|
+
name: string | null;
|
|
4
|
+
phone: string | null;
|
|
5
|
+
isLid: boolean;
|
|
6
|
+
userMessages: number;
|
|
7
|
+
aiMessages: number;
|
|
8
|
+
source: 'plan' | 'extra' | 'demo';
|
|
9
|
+
}
|
|
10
|
+
export interface BillingConsumptionDayLeadsDto {
|
|
11
|
+
date: string;
|
|
12
|
+
totalCredits: number;
|
|
13
|
+
leads: BillingConsumptionDayLeadDto[];
|
|
14
|
+
}
|
|
15
|
+
export interface LeadAuditForDayRequestDto {
|
|
16
|
+
idCrew: number;
|
|
17
|
+
idThreads: string[];
|
|
18
|
+
date: string;
|
|
19
|
+
}
|
|
20
|
+
export interface LeadAuditRowDto {
|
|
21
|
+
idThread: string;
|
|
22
|
+
name: string | null;
|
|
23
|
+
phone: string | null;
|
|
24
|
+
isLid: boolean;
|
|
25
|
+
userMessages: number;
|
|
26
|
+
aiMessages: number;
|
|
27
|
+
}
|
package/dist/billing/index.d.ts
CHANGED
package/dist/billing/index.js
CHANGED
|
@@ -17,3 +17,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./billing-rest.dto"), exports);
|
|
18
18
|
__exportStar(require("./billing-event.dto"), exports);
|
|
19
19
|
__exportStar(require("./billing-consumption-report.dto"), exports);
|
|
20
|
+
__exportStar(require("./billing-consumption-day-leads.dto"), exports);
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -26,6 +26,7 @@ __exportStar(require("./handoff"), exports);
|
|
|
26
26
|
__exportStar(require("./organization"), exports);
|
|
27
27
|
__exportStar(require("./prompt"), exports);
|
|
28
28
|
__exportStar(require("./run"), exports);
|
|
29
|
+
__exportStar(require("./support"), exports);
|
|
29
30
|
__exportStar(require("./tool"), exports);
|
|
30
31
|
__exportStar(require("./uh"), exports);
|
|
31
32
|
__exportStar(require("./webchat"), exports);
|
|
@@ -0,0 +1,20 @@
|
|
|
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("./support-message.dto"), exports);
|
|
18
|
+
__exportStar(require("./support-crew-features.dto"), exports);
|
|
19
|
+
__exportStar(require("./support-ask.dto"), exports);
|
|
20
|
+
__exportStar(require("./support-answer.dto"), exports);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SupportCrewFeaturesDto } from "./support-crew-features.dto";
|
|
2
|
+
import { SupportMessageDto } from "./support-message.dto";
|
|
3
|
+
export interface SupportAskDto {
|
|
4
|
+
messages: SupportMessageDto[];
|
|
5
|
+
currentPage?: string;
|
|
6
|
+
crewFeatures?: SupportCrewFeaturesDto;
|
|
7
|
+
userRole?: string;
|
|
8
|
+
isSuperUser?: boolean;
|
|
9
|
+
idCrew?: number;
|
|
10
|
+
}
|
|
@@ -45,12 +45,6 @@ export interface WizardStructuredInputDto {
|
|
|
45
45
|
calendarNeeded?: boolean;
|
|
46
46
|
agentName?: string;
|
|
47
47
|
}
|
|
48
|
-
export interface WizardPersonalityDto {
|
|
49
|
-
defaultMode: string;
|
|
50
|
-
description: string;
|
|
51
|
-
alternateMode?: string;
|
|
52
|
-
trigger?: string;
|
|
53
|
-
}
|
|
54
48
|
export interface WizardGenerateResponseDto {
|
|
55
49
|
companyName: string;
|
|
56
50
|
agentName: string;
|
|
@@ -69,7 +63,6 @@ export interface WizardGenerateResponseDto {
|
|
|
69
63
|
followUpConfig?: WizardFollowUpConfigDto;
|
|
70
64
|
calendarConfig?: boolean;
|
|
71
65
|
settingsHints?: Record<string, any>;
|
|
72
|
-
personality?: WizardPersonalityDto;
|
|
73
66
|
postSetupChecklist?: WizardPostSetupChecklistDto;
|
|
74
67
|
}
|
|
75
68
|
export interface WizardDomainDto {
|
|
@@ -78,7 +71,7 @@ export interface WizardDomainDto {
|
|
|
78
71
|
}
|
|
79
72
|
export interface WizardRefineRequestDto {
|
|
80
73
|
sessionId: string;
|
|
81
|
-
field: 'about' | 'role' | 'audience' | 'behavior' | 'spinYaml'
|
|
74
|
+
field: 'about' | 'role' | 'audience' | 'behavior' | 'spinYaml';
|
|
82
75
|
currentValue: string;
|
|
83
76
|
instruction: string;
|
|
84
77
|
}
|