@plyaz/types 1.45.7 → 1.45.8

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.
@@ -649,20 +649,20 @@ var QueryNotificationsSchema = z.object({
649
649
  created_before: z.string().optional()
650
650
  });
651
651
  var CreateNotificationsSchema = z.object({
652
- user_id: z.string().uuid(),
652
+ userId: z.string().uuid(),
653
653
  type: NotificationTypeSchema,
654
654
  title: z.string().max(MAX_TITLE_LENGTH),
655
655
  message: z.string(),
656
- link_url: z.string().optional(),
657
- reference_id: z.string().uuid().optional(),
658
- reference_type: z.string().max(MAX_REFERENCE_TYPE_LENGTH).optional(),
659
- correlation_id: z.string().max(MAX_STRING_LENGTH).optional(),
660
- recipient_id: z.string().max(MAX_STRING_LENGTH),
661
- template_id: z.string().max(MAX_STRING_LENGTH).optional(),
656
+ linkUrl: z.string().optional(),
657
+ referenceId: z.string().uuid().optional(),
658
+ referenceType: z.string().max(MAX_REFERENCE_TYPE_LENGTH).optional(),
659
+ correlationId: z.string().max(MAX_STRING_LENGTH).optional(),
660
+ recipientId: z.string().max(MAX_STRING_LENGTH),
661
+ templateId: z.string().max(MAX_STRING_LENGTH).optional(),
662
662
  channel: NotificationChannelSchema.optional(),
663
663
  category: NotificationCategorySchema.optional(),
664
664
  provider: z.string().max(MAX_PROVIDER_LENGTH).optional(),
665
- provider_message_id: z.string().max(MAX_STRING_LENGTH).optional()
665
+ providerMessageId: z.string().max(MAX_STRING_LENGTH).optional()
666
666
  });
667
667
 
668
668
  // src/core/domain/notifications/streaming.ts