@kl1/contracts 1.3.75 → 1.3.77
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/api-contracts/src/chat/index.d.ts +5637 -0
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
- package/dist/index.js +20 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +20 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
@@ -3012,6 +3012,25 @@ var mainChatRoomContract = initContract8().router(
|
|
3012
3012
|
})
|
3013
3013
|
},
|
3014
3014
|
summary: "Get all queue and hold rooms count"
|
3015
|
+
},
|
3016
|
+
botRoomTakeOver: {
|
3017
|
+
method: "POST",
|
3018
|
+
path: "/bot-room/take-over/:roomId",
|
3019
|
+
pathParams: z42.object({
|
3020
|
+
roomId: z42.string().uuid()
|
3021
|
+
}),
|
3022
|
+
body: z42.object({
|
3023
|
+
assigneeId: z42.string().uuid().optional()
|
3024
|
+
}),
|
3025
|
+
responses: {
|
3026
|
+
200: DefaultSuccessResponseSchema.extend({
|
3027
|
+
data: RoomSchema.extend({
|
3028
|
+
contact: ContactSchema,
|
3029
|
+
openMessage: z42.string()
|
3030
|
+
})
|
3031
|
+
})
|
3032
|
+
},
|
3033
|
+
summary: "Take over bot room"
|
3015
3034
|
}
|
3016
3035
|
},
|
3017
3036
|
{
|
@@ -4208,6 +4227,7 @@ var cxLogContract = initContract12().router({
|
|
4208
4227
|
200: null,
|
4209
4228
|
401: DefaultUnauthorizedSchema
|
4210
4229
|
},
|
4230
|
+
// IMPORTANT: THIS SHOULD BE Z.ANY(). DO NOT CHANGE!
|
4211
4231
|
query: z53.any(),
|
4212
4232
|
summary: "Export cx-logs"
|
4213
4233
|
},
|