@plyaz/types 1.45.6 → 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.
package/dist/index.js CHANGED
@@ -7645,20 +7645,20 @@ var QueryNotificationsSchema = z.object({
7645
7645
  created_before: z.string().optional()
7646
7646
  });
7647
7647
  var CreateNotificationsSchema = z.object({
7648
- user_id: z.string().uuid(),
7648
+ userId: z.string().uuid(),
7649
7649
  type: NotificationTypeSchema,
7650
7650
  title: z.string().max(MAX_TITLE_LENGTH),
7651
7651
  message: z.string(),
7652
- link_url: z.string().optional(),
7653
- reference_id: z.string().uuid().optional(),
7654
- reference_type: z.string().max(MAX_REFERENCE_TYPE_LENGTH).optional(),
7655
- correlation_id: z.string().max(MAX_STRING_LENGTH).optional(),
7656
- recipient_id: z.string().max(MAX_STRING_LENGTH),
7657
- template_id: z.string().max(MAX_STRING_LENGTH).optional(),
7652
+ linkUrl: z.string().optional(),
7653
+ referenceId: z.string().uuid().optional(),
7654
+ referenceType: z.string().max(MAX_REFERENCE_TYPE_LENGTH).optional(),
7655
+ correlationId: z.string().max(MAX_STRING_LENGTH).optional(),
7656
+ recipientId: z.string().max(MAX_STRING_LENGTH),
7657
+ templateId: z.string().max(MAX_STRING_LENGTH).optional(),
7658
7658
  channel: NotificationChannelSchema.optional(),
7659
7659
  category: NotificationCategorySchema.optional(),
7660
7660
  provider: z.string().max(MAX_PROVIDER_LENGTH).optional(),
7661
- provider_message_id: z.string().max(MAX_STRING_LENGTH).optional()
7661
+ providerMessageId: z.string().max(MAX_STRING_LENGTH).optional()
7662
7662
  });
7663
7663
 
7664
7664
  // src/core/domain/notifications/streaming.ts