@kl1/contracts 1.3.77 → 1.3.78
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 +43 -0
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +7 -0
- package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
- package/dist/index.js +13 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +13 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
@@ -1628,6 +1628,9 @@ var AllHoldAndQueueRoomCountSchema = z26.object({
|
|
1628
1628
|
holdRoomCount: z26.record(z26.string(), z26.number()),
|
1629
1629
|
queueRoomCount: z26.record(z26.string(), z26.number())
|
1630
1630
|
});
|
1631
|
+
var AllOpenCloseBotRoomCountSchema = z26.object({
|
1632
|
+
allOpenedClosedBotRoomCount: z26.number()
|
1633
|
+
});
|
1631
1634
|
|
1632
1635
|
// src/sms/index.ts
|
1633
1636
|
var smsContract = initContract().router({
|
@@ -3013,6 +3016,16 @@ var mainChatRoomContract = initContract8().router(
|
|
3013
3016
|
},
|
3014
3017
|
summary: "Get all queue and hold rooms count"
|
3015
3018
|
},
|
3019
|
+
getAllBotRoomCount: {
|
3020
|
+
method: "GET",
|
3021
|
+
path: "/all-bot-rooms-count",
|
3022
|
+
responses: {
|
3023
|
+
200: DefaultSuccessResponseSchema.extend({
|
3024
|
+
data: AllOpenCloseBotRoomCountSchema
|
3025
|
+
})
|
3026
|
+
},
|
3027
|
+
summary: "Get all opened and closed bot rooms count"
|
3028
|
+
},
|
3016
3029
|
botRoomTakeOver: {
|
3017
3030
|
method: "POST",
|
3018
3031
|
path: "/bot-room/take-over/:roomId",
|