@kl1/contracts 1.0.79 → 1.0.81
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 +21 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +20 -4
- package/dist/index.mjs.map +1 -1
- package/dist/src/chat/index.d.ts +240 -240
- package/dist/src/chat/schema.d.ts +96 -96
- package/dist/src/chat/validation.d.ts +120 -120
- package/dist/src/contract.d.ts +3759 -1797
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/cx-log/index.d.ts +106 -0
- package/dist/src/cx-log/index.d.ts.map +1 -1
- package/dist/src/cx-log/schema.d.ts +82 -0
- package/dist/src/cx-log/schema.d.ts.map +1 -1
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/instagram/index.d.ts +120 -120
- package/dist/src/line/index.d.ts +120 -120
- package/dist/src/messenger/index.d.ts +120 -120
- package/dist/src/notification/index.d.ts +1619 -5
- package/dist/src/notification/index.d.ts.map +1 -1
- package/dist/src/notification/schema.d.ts +1307 -7
- package/dist/src/notification/schema.d.ts.map +1 -1
- package/dist/src/notification/validation.d.ts +805 -0
- package/dist/src/notification/validation.d.ts.map +1 -1
- package/dist/src/telephony-cdr/index.d.ts +246 -0
- package/dist/src/telephony-cdr/index.d.ts.map +1 -1
- package/dist/src/telephony-cdr/schema.d.ts +58 -0
- package/dist/src/telephony-cdr/schema.d.ts.map +1 -1
- package/dist/src/viber/index.d.ts +120 -120
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
@@ -936,6 +936,7 @@ var TelephonyCdrSchema = DefaultEntitySchema.extend({
|
|
936
936
|
agentRingTime: z23.number().nullable(),
|
937
937
|
uploadId: z23.string().nullable(),
|
938
938
|
serialNumber: z23.string().nullable(),
|
939
|
+
upload: UploadSchema.optional().nullable(),
|
939
940
|
callParticipants: z23.object({
|
940
941
|
callTo: CallUserSchema,
|
941
942
|
callFrom: CallUserSchema
|
@@ -6430,15 +6431,29 @@ import z95 from "zod";
|
|
6430
6431
|
|
6431
6432
|
// src/notification/schema.ts
|
6432
6433
|
import z94 from "zod";
|
6433
|
-
var NotificationObjectSchema = z94.object({
|
6434
|
-
data: z94.string()
|
6435
|
-
});
|
6436
6434
|
var NotificationChangeSchema = z94.object({
|
6435
|
+
id: z94.string().uuid(),
|
6436
|
+
createdAt: z94.date(),
|
6437
|
+
updatedAt: z94.date(),
|
6438
|
+
deletedAt: z94.date().nullable(),
|
6437
6439
|
actorId: z94.string().uuid(),
|
6440
|
+
actor: UserSchema,
|
6438
6441
|
notificationObjectId: z94.string().uuid(),
|
6439
6442
|
readAt: z94.date()
|
6440
6443
|
});
|
6444
|
+
var NotificationObjectSchema = z94.object({
|
6445
|
+
id: z94.string().uuid(),
|
6446
|
+
createdAt: z94.date(),
|
6447
|
+
updatedAt: z94.date(),
|
6448
|
+
deletedAt: z94.date().nullable(),
|
6449
|
+
data: z94.string(),
|
6450
|
+
notificationChange: NotificationChangeSchema
|
6451
|
+
});
|
6441
6452
|
var NotificationSchema = z94.object({
|
6453
|
+
id: z94.string().uuid(),
|
6454
|
+
createdAt: z94.date(),
|
6455
|
+
updatedAt: z94.date(),
|
6456
|
+
deletedAt: z94.date().nullable(),
|
6442
6457
|
notificationObjectId: z94.string().uuid(),
|
6443
6458
|
notifierId: z94.string().uuid(),
|
6444
6459
|
notificationObject: NotificationObjectSchema,
|
@@ -6481,7 +6496,7 @@ var userNotificationContract = initContract37().router(
|
|
6481
6496
|
query: GetNotificationsRequestSchema,
|
6482
6497
|
responses: {
|
6483
6498
|
201: DefaultSuccessResponseSchema.extend({
|
6484
|
-
GetNotificationsResponseSchema
|
6499
|
+
data: GetNotificationsResponseSchema
|
6485
6500
|
}),
|
6486
6501
|
400: z96.object({
|
6487
6502
|
message: z96.string()
|
@@ -6629,6 +6644,7 @@ export {
|
|
6629
6644
|
ticketContract2 as ticketContract,
|
6630
6645
|
uploadContract,
|
6631
6646
|
userContract,
|
6647
|
+
userNotificationContract,
|
6632
6648
|
userPresenceStatusLogContract,
|
6633
6649
|
wrapUpFormContract
|
6634
6650
|
};
|