@rodrigobeber/patoai-dtos 4.6.11 → 4.6.13

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.
@@ -40,44 +40,8 @@ export interface BillingPaymentFailedDto {
40
40
  amount: number;
41
41
  invoiceId: string;
42
42
  }
43
- export interface BillingSubscriptionUpgradedDto {
44
- idCrew: number;
45
- oldPlanName: string;
46
- newPlanName: string;
47
- newPlanSlug: string;
48
- extraCreditsGranted: number;
49
- amountCharged: number;
50
- }
51
- export interface BillingDowngradeScheduledDto {
52
- idCrew: number;
53
- currentPlanName: string;
54
- targetPlanName: string;
55
- targetPlanSlug: string;
56
- effectiveAt: string;
57
- }
58
- export interface BillingDowngradeCancelledDto {
59
- idCrew: number;
60
- }
61
43
  export interface CrewCreatedDto {
62
44
  idCrew: number;
63
45
  ownerEmail: string;
64
46
  ownerName: string;
65
47
  }
66
- export interface BillingCanOperateRequestDto {
67
- idCrew: number;
68
- }
69
- export interface BillingCanOperateResponseDto {
70
- allowed: boolean;
71
- planCredits: number;
72
- extraCredits: number;
73
- hasPendingInvoice: boolean;
74
- reason?: string;
75
- }
76
- export interface BillingCreditConsumedDto {
77
- idCrew: number;
78
- idThread: string;
79
- date: string;
80
- }
81
- export interface BillingGetBalanceRequestDto {
82
- idCrew: number;
83
- }
@@ -44,28 +44,6 @@ export interface SubscriptionStatusDto {
44
44
  currentPeriodStart: string | null;
45
45
  currentPeriodEnd: string | null;
46
46
  cancelAtPeriodEnd: boolean;
47
- pendingDowngradePlan: string | null;
48
- }
49
- export interface UpgradeSubscriptionDto {
50
- idCrew: number;
51
- newPlanSlug: string;
52
- }
53
- export interface DowngradeSubscriptionDto {
54
- idCrew: number;
55
- newPlanSlug: string;
56
- }
57
- export interface CancelDowngradeDto {
58
- idCrew: number;
59
- }
60
- export interface BillingBalanceDto {
61
- idCrew: number;
62
- planCredits: number;
63
- extraCredits: number;
64
- totalCredits: number;
65
- periodStart: string | null;
66
- periodEnd: string | null;
67
- planName: string | null;
68
- planSlug: string | null;
69
47
  }
70
48
  export interface CreditTransactionDto {
71
49
  id: number;
@@ -1,6 +1,5 @@
1
1
  import { MediaInfoDto } from "../../media";
2
2
  export interface OwnerMessageDto {
3
- idCrew: number;
4
3
  idThread: string;
5
4
  idChannel: number;
6
5
  at: Date;
@@ -1,6 +1,5 @@
1
1
  import { MediaInfoDto } from "../../media";
2
2
  export interface UserMessageDto {
3
- idCrew: number;
4
3
  idThread: string;
5
4
  idChannel: number;
6
5
  at: Date;
@@ -29,7 +29,6 @@ export interface CrewSettingsDto {
29
29
  vision: VisionEnum;
30
30
  window: number;
31
31
  resetContext: boolean;
32
- billing: boolean;
33
32
  }
34
33
  export interface CrewDto {
35
34
  id: number;
@@ -2,7 +2,7 @@
2
2
  * Modo de follow-up do crew.
3
3
  * - off: Follow-up desativado
4
4
  * - normal: Follow-up ativado, mas não reinicia contador em resposta do usuário
5
- * - full: Follow-up ativado com reinício do contador
5
+ * - full: Follow-up ativado com reinício do contador (comportamento padrão/completo)
6
6
  */
7
7
  export declare enum FollowUpModeEnum {
8
8
  OFF = "off",
@@ -5,7 +5,7 @@ exports.FollowUpModeEnum = void 0;
5
5
  * Modo de follow-up do crew.
6
6
  * - off: Follow-up desativado
7
7
  * - normal: Follow-up ativado, mas não reinicia contador em resposta do usuário
8
- * - full: Follow-up ativado com reinício do contador
8
+ * - full: Follow-up ativado com reinício do contador (comportamento padrão/completo)
9
9
  */
10
10
  var FollowUpModeEnum;
11
11
  (function (FollowUpModeEnum) {
package/dist/index.d.ts CHANGED
@@ -8,7 +8,6 @@ export * from './crm';
8
8
  export * from './crew';
9
9
  export * from './handoff';
10
10
  export * from './organization';
11
- export * from './prompt';
12
11
  export * from './run';
13
12
  export * from './tool';
14
13
  export * from './uh';
package/dist/index.js CHANGED
@@ -24,7 +24,6 @@ __exportStar(require("./crm"), exports);
24
24
  __exportStar(require("./crew"), exports);
25
25
  __exportStar(require("./handoff"), exports);
26
26
  __exportStar(require("./organization"), exports);
27
- __exportStar(require("./prompt"), exports);
28
27
  __exportStar(require("./run"), exports);
29
28
  __exportStar(require("./tool"), exports);
30
29
  __exportStar(require("./uh"), exports);
@@ -1,2 +1,3 @@
1
+ export * from './prompt-stage-mode.enum';
1
2
  export * from './webchat-prompt.dto';
2
3
  export * from './webchat-update-prompt.dto';
@@ -14,5 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./prompt-stage-mode.enum"), exports);
17
18
  __exportStar(require("./webchat-prompt.dto"), exports);
18
19
  __exportStar(require("./webchat-update-prompt.dto"), exports);
@@ -1,4 +1,4 @@
1
- import { PromptStageModeEnum } from "../../prompt/prompt-stage-mode.enum";
1
+ import { PromptStageModeEnum } from "./prompt-stage-mode.enum";
2
2
  export interface WebChatPromptDto {
3
3
  id: number;
4
4
  title: string;
@@ -1,4 +1,4 @@
1
- import { PromptStageModeEnum } from "../../prompt/prompt-stage-mode.enum";
1
+ import { PromptStageModeEnum } from "./prompt-stage-mode.enum";
2
2
  export interface WebChatUpdatePromptDto {
3
3
  prompt?: string;
4
4
  active?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rodrigobeber/patoai-dtos",
3
- "version": "4.6.11",
3
+ "version": "4.6.13",
4
4
  "description": "Data Transfer Objects for PatoAI",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,6 +0,0 @@
1
- import { StageTypeEnum } from "../../crm";
2
- export interface StopFollowUpDto {
3
- idCrew: number;
4
- idThread: string;
5
- stageType: StageTypeEnum | null;
6
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +0,0 @@
1
- export * from './prompt-stage-mode.enum';
@@ -1,17 +0,0 @@
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("./prompt-stage-mode.enum"), exports);