@rodrigobeber/patoai-dtos 4.6.81 → 4.6.83

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.
@@ -84,3 +84,24 @@ export interface BillingCreditConsumedDto {
84
84
  export interface BillingGetBalanceRequestDto {
85
85
  idCrew: number;
86
86
  }
87
+ export interface AdminBillingBatchRequestDto {
88
+ idCrews: number[];
89
+ }
90
+ export interface AdminCrewBillingInfoDto {
91
+ idCrew: number;
92
+ planCredits: number;
93
+ extraCredits: number;
94
+ demoCredits: number;
95
+ totalCredits: number;
96
+ periodStart: string | null;
97
+ periodEnd: string | null;
98
+ planName: string | null;
99
+ planSlug: string | null;
100
+ subscriptionStatus: string;
101
+ graceDeadline: string | null;
102
+ price: number | null;
103
+ includedConversations: number | null;
104
+ }
105
+ export interface AdminBillingBatchResponseDto {
106
+ items: AdminCrewBillingInfoDto[];
107
+ }
@@ -123,3 +123,25 @@ export interface ContractStatusDto {
123
123
  sentAt?: string;
124
124
  signedAt?: string;
125
125
  }
126
+ export interface AdminCrewPanelDto {
127
+ idCrew: number;
128
+ name: string;
129
+ franchise: string | null;
130
+ active: boolean;
131
+ createdAt: string;
132
+ onlineMode: string;
133
+ billing: boolean;
134
+ planName: string | null;
135
+ subscriptionStatus: string | null;
136
+ planCredits: number | null;
137
+ extraCredits: number | null;
138
+ demoCredits: number | null;
139
+ totalCredits: number | null;
140
+ periodStart: string | null;
141
+ periodEnd: string | null;
142
+ graceDeadline: string | null;
143
+ price: number | null;
144
+ includedConversations: number | null;
145
+ totalThreads: number;
146
+ recentThreads: number;
147
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rodrigobeber/patoai-dtos",
3
- "version": "4.6.81",
3
+ "version": "4.6.83",
4
4
  "description": "Data Transfer Objects for PatoAI",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",