@rodrigobeber/patoai-dtos 4.6.84 → 4.6.86

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.
@@ -0,0 +1,37 @@
1
+ export interface BillingConsumptionDayDto {
2
+ date: string;
3
+ consumed: number;
4
+ bySource: {
5
+ plan: number;
6
+ extra: number;
7
+ demo: number;
8
+ };
9
+ }
10
+ export interface BillingConsumptionPeriodDto {
11
+ periodStart: string;
12
+ periodEnd: string;
13
+ planName: string;
14
+ includedConversations: number;
15
+ price: number;
16
+ perExtra: number;
17
+ totalConsumed: number;
18
+ consumedBySource: {
19
+ plan: number;
20
+ extra: number;
21
+ demo: number;
22
+ };
23
+ paymentStatus: 'confirmed' | 'pending' | 'overdue' | 'none';
24
+ paymentAmount: number | null;
25
+ paymentDate: string | null;
26
+ invoiceUrl: string | null;
27
+ dailyBreakdown: BillingConsumptionDayDto[];
28
+ }
29
+ export interface BillingConsumptionReportDto {
30
+ periods: BillingConsumptionPeriodDto[];
31
+ currentBalance: {
32
+ plan: number;
33
+ extra: number;
34
+ demo: number;
35
+ total: number;
36
+ };
37
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // === Consumption Report DTOs ===
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +1,3 @@
1
1
  export * from './billing-rest.dto';
2
2
  export * from './billing-event.dto';
3
+ export * from './billing-consumption-report.dto';
@@ -16,3 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./billing-rest.dto"), exports);
18
18
  __exportStar(require("./billing-event.dto"), exports);
19
+ __exportStar(require("./billing-consumption-report.dto"), exports);
@@ -10,6 +10,7 @@ export interface WebChatLeadDto {
10
10
  email: string | null;
11
11
  summary: string | null;
12
12
  observation: string | null;
13
+ obsAi: string | null;
13
14
  budget: string | null;
14
15
  paid: number;
15
16
  summaryAt: Date | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rodrigobeber/patoai-dtos",
3
- "version": "4.6.84",
3
+ "version": "4.6.86",
4
4
  "description": "Data Transfer Objects for PatoAI",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",