@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/core/domain/notifications/schemas.d.ts +10 -8
- package/dist/core/frontend/index.d.ts +1 -1
- package/dist/core/frontend/types.d.ts +24 -0
- package/dist/core/index.cjs +8 -8
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.js +8 -8
- package/dist/core/index.js.map +1 -1
- package/dist/index.cjs +8 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +8 -8
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
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
|
-
|
|
7648
|
+
userId: z.string().uuid(),
|
|
7649
7649
|
type: NotificationTypeSchema,
|
|
7650
7650
|
title: z.string().max(MAX_TITLE_LENGTH),
|
|
7651
7651
|
message: z.string(),
|
|
7652
|
-
|
|
7653
|
-
|
|
7654
|
-
|
|
7655
|
-
|
|
7656
|
-
|
|
7657
|
-
|
|
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
|
-
|
|
7661
|
+
providerMessageId: z.string().max(MAX_STRING_LENGTH).optional()
|
|
7662
7662
|
});
|
|
7663
7663
|
|
|
7664
7664
|
// src/core/domain/notifications/streaming.ts
|