@kl1/contracts 1.0.56 → 1.0.57
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 +11 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -1
- package/dist/index.mjs.map +1 -1
- package/dist/src/chat/index.d.ts +21 -1
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +20 -0
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/contract.d.ts +1 -1
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
@@ -1527,6 +1527,10 @@ var ChannelServiceResponseSchema = DefaultSuccessResponseSchema.extend(
|
|
1527
1527
|
);
|
1528
1528
|
var ReceiveMessageSchema = z32.object({
|
1529
1529
|
message: z32.object({
|
1530
|
+
id: z32.string().uuid(),
|
1531
|
+
createdAt: z32.string(),
|
1532
|
+
updatedAt: z32.string(),
|
1533
|
+
deletedAt: z32.string().nullable(),
|
1530
1534
|
message: z32.string().optional(),
|
1531
1535
|
direction: MessageDirectionTypeSchema,
|
1532
1536
|
type: MessageTypeSchema,
|
@@ -1760,7 +1764,7 @@ var mainChatContract = initContract7().router(
|
|
1760
1764
|
},
|
1761
1765
|
readRoom: {
|
1762
1766
|
method: "POST",
|
1763
|
-
path: "/room/read/:
|
1767
|
+
path: "/room/read/:roomId",
|
1764
1768
|
pathParams: z33.object({
|
1765
1769
|
roomId: z33.string().uuid()
|
1766
1770
|
}),
|
@@ -5958,6 +5962,7 @@ export {
|
|
5958
5962
|
apiContract,
|
5959
5963
|
attributeContract,
|
5960
5964
|
categoryContract,
|
5965
|
+
channelContract,
|
5961
5966
|
chatContract,
|
5962
5967
|
commentActivityContract,
|
5963
5968
|
commentContract,
|
@@ -5966,8 +5971,10 @@ export {
|
|
5966
5971
|
dashboardContract,
|
5967
5972
|
evaluateFormContract,
|
5968
5973
|
extensionContract2 as extensionContract,
|
5974
|
+
mainChatContract,
|
5969
5975
|
permissionContract,
|
5970
5976
|
platformContract,
|
5977
|
+
receiveMessageContract,
|
5971
5978
|
tagContract,
|
5972
5979
|
telephonyCdrContract,
|
5973
5980
|
telephonyContract,
|