evo360-types 1.3.273 → 1.3.275
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.
|
@@ -190,3 +190,24 @@ export interface IEmailTemplate extends IFireDoc {
|
|
|
190
190
|
variables: string[];
|
|
191
191
|
enabled: boolean;
|
|
192
192
|
}
|
|
193
|
+
export interface INotificationProviderConfig {
|
|
194
|
+
id: string;
|
|
195
|
+
provider_name: string;
|
|
196
|
+
channel_type: NotificationChannelType;
|
|
197
|
+
display_name: string;
|
|
198
|
+
description?: string;
|
|
199
|
+
enabled: boolean;
|
|
200
|
+
is_default: boolean;
|
|
201
|
+
is_stub: boolean;
|
|
202
|
+
settings?: Record<string, unknown>;
|
|
203
|
+
stats_last_reset_at?: Date;
|
|
204
|
+
created_at: Date;
|
|
205
|
+
updated_at: Date;
|
|
206
|
+
}
|
|
207
|
+
/** Campos permitidos no patch de update (Nexus / functions-notifications). */
|
|
208
|
+
export type NotificationProviderUpdatePatch = Partial<{
|
|
209
|
+
enabled: boolean;
|
|
210
|
+
is_default: boolean;
|
|
211
|
+
display_name: string;
|
|
212
|
+
description: string;
|
|
213
|
+
}>;
|
|
@@ -332,3 +332,31 @@ export interface IEmailTemplate extends IFireDoc {
|
|
|
332
332
|
variables: string[];
|
|
333
333
|
enabled: boolean;
|
|
334
334
|
}
|
|
335
|
+
|
|
336
|
+
// ======================================================
|
|
337
|
+
// Nexus / platform: configuração global de providers de envio
|
|
338
|
+
// Path Firestore: platform/evo-notifications/providers/{providerId}
|
|
339
|
+
// ======================================================
|
|
340
|
+
|
|
341
|
+
export interface INotificationProviderConfig {
|
|
342
|
+
id: string;
|
|
343
|
+
provider_name: string;
|
|
344
|
+
channel_type: NotificationChannelType;
|
|
345
|
+
display_name: string;
|
|
346
|
+
description?: string;
|
|
347
|
+
enabled: boolean;
|
|
348
|
+
is_default: boolean;
|
|
349
|
+
is_stub: boolean;
|
|
350
|
+
settings?: Record<string, unknown>;
|
|
351
|
+
stats_last_reset_at?: Date;
|
|
352
|
+
created_at: Date;
|
|
353
|
+
updated_at: Date;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
/** Campos permitidos no patch de update (Nexus / functions-notifications). */
|
|
357
|
+
export type NotificationProviderUpdatePatch = Partial<{
|
|
358
|
+
enabled: boolean;
|
|
359
|
+
is_default: boolean;
|
|
360
|
+
display_name: string;
|
|
361
|
+
description: string;
|
|
362
|
+
}>;
|