@plyaz/types 1.45.12 → 1.46.1

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.
@@ -320,5 +320,13 @@ export declare const CreateNotificationsSchema: z.ZodObject<{
320
320
  }>>>;
321
321
  provider: z.ZodOptional<z.ZodString>;
322
322
  providerMessageId: z.ZodOptional<z.ZodString>;
323
+ status: z.ZodOptional<z.ZodEnum<{
324
+ processing: "processing";
325
+ failed: "failed";
326
+ sent: "sent";
327
+ delivered: "delivered";
328
+ bounced: "bounced";
329
+ queued: "queued";
330
+ }>>;
323
331
  }, z.core.$strip>;
324
332
  export type CreateNotificationsDTO = z.infer<typeof CreateNotificationsSchema>;
@@ -12,6 +12,7 @@ import type { CoreBaseDomainServiceConfig } from '../domain';
12
12
  import type { CoreBaseServiceConfig, CoreBaseMapperInstance, CoreBaseValidatorInstance } from '../domain';
13
13
  import type { CoreDomainServiceInstance, CoreObservabilityConfig, CoreServiceEntry } from '../init';
14
14
  import type { PackageErrorLike } from '../../errors';
15
+ import type { DevtoolsConfig } from '../../devtools';
15
16
  /**
16
17
  * Base store interface for frontend services.
17
18
  *
@@ -1102,6 +1103,8 @@ export interface CorePlyazConfig {
1102
1103
  observability?: CoreObservabilityConfig;
1103
1104
  /** Enable verbose logging */
1104
1105
  verbose?: boolean;
1106
+ /** DevTools configuration */
1107
+ devtools?: DevtoolsConfig;
1105
1108
  }
1106
1109
  /**
1107
1110
  * Interface for services that can provide feature flags.
@@ -704,7 +704,8 @@ var CreateNotificationsSchema = zod.z.object({
704
704
  channel: NotificationChannelSchema.optional(),
705
705
  category: NotificationCategorySchema.optional(),
706
706
  provider: zod.z.string().max(MAX_PROVIDER_LENGTH).optional(),
707
- providerMessageId: zod.z.string().max(MAX_STRING_LENGTH).optional()
707
+ providerMessageId: zod.z.string().max(MAX_STRING_LENGTH).optional(),
708
+ status: NotificationStatusSchema.optional()
708
709
  });
709
710
 
710
711
  // src/core/domain/notifications/streaming.ts