@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.js
CHANGED
@@ -34,6 +34,7 @@ __export(src_exports, {
|
|
34
34
|
apiContract: () => apiContract,
|
35
35
|
attributeContract: () => attributeContract,
|
36
36
|
categoryContract: () => categoryContract,
|
37
|
+
channelContract: () => channelContract,
|
37
38
|
chatContract: () => chatContract,
|
38
39
|
commentActivityContract: () => commentActivityContract,
|
39
40
|
commentContract: () => commentContract,
|
@@ -42,8 +43,10 @@ __export(src_exports, {
|
|
42
43
|
dashboardContract: () => dashboardContract,
|
43
44
|
evaluateFormContract: () => evaluateFormContract,
|
44
45
|
extensionContract: () => extensionContract2,
|
46
|
+
mainChatContract: () => mainChatContract,
|
45
47
|
permissionContract: () => permissionContract,
|
46
48
|
platformContract: () => platformContract,
|
49
|
+
receiveMessageContract: () => receiveMessageContract,
|
47
50
|
tagContract: () => tagContract,
|
48
51
|
telephonyCdrContract: () => telephonyCdrContract,
|
49
52
|
telephonyContract: () => telephonyContract,
|
@@ -1584,6 +1587,10 @@ var ChannelServiceResponseSchema = DefaultSuccessResponseSchema.extend(
|
|
1584
1587
|
);
|
1585
1588
|
var ReceiveMessageSchema = import_zod32.default.object({
|
1586
1589
|
message: import_zod32.default.object({
|
1590
|
+
id: import_zod32.default.string().uuid(),
|
1591
|
+
createdAt: import_zod32.default.string(),
|
1592
|
+
updatedAt: import_zod32.default.string(),
|
1593
|
+
deletedAt: import_zod32.default.string().nullable(),
|
1587
1594
|
message: import_zod32.default.string().optional(),
|
1588
1595
|
direction: MessageDirectionTypeSchema,
|
1589
1596
|
type: MessageTypeSchema,
|
@@ -1817,7 +1824,7 @@ var mainChatContract = (0, import_core7.initContract)().router(
|
|
1817
1824
|
},
|
1818
1825
|
readRoom: {
|
1819
1826
|
method: "POST",
|
1820
|
-
path: "/room/read/:
|
1827
|
+
path: "/room/read/:roomId",
|
1821
1828
|
pathParams: import_zod33.default.object({
|
1822
1829
|
roomId: import_zod33.default.string().uuid()
|
1823
1830
|
}),
|
@@ -6016,6 +6023,7 @@ var telephonyContract = (0, import_core36.initContract)().router({
|
|
6016
6023
|
apiContract,
|
6017
6024
|
attributeContract,
|
6018
6025
|
categoryContract,
|
6026
|
+
channelContract,
|
6019
6027
|
chatContract,
|
6020
6028
|
commentActivityContract,
|
6021
6029
|
commentContract,
|
@@ -6024,8 +6032,10 @@ var telephonyContract = (0, import_core36.initContract)().router({
|
|
6024
6032
|
dashboardContract,
|
6025
6033
|
evaluateFormContract,
|
6026
6034
|
extensionContract,
|
6035
|
+
mainChatContract,
|
6027
6036
|
permissionContract,
|
6028
6037
|
platformContract,
|
6038
|
+
receiveMessageContract,
|
6029
6039
|
tagContract,
|
6030
6040
|
telephonyCdrContract,
|
6031
6041
|
telephonyContract,
|