@kl1/contracts 1.3.80 → 1.3.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/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({
|
@@ -2997,6 +3000,16 @@ var mainChatRoomContract = initContract8().router(
|
|
2997
3000
|
},
|
2998
3001
|
summary: "Get all queue and hold rooms count"
|
2999
3002
|
},
|
3003
|
+
getAllBotRoomCount: {
|
3004
|
+
method: "GET",
|
3005
|
+
path: "/all-bot-rooms-count",
|
3006
|
+
responses: {
|
3007
|
+
200: DefaultSuccessResponseSchema.extend({
|
3008
|
+
data: AllOpenCloseBotRoomCountSchema
|
3009
|
+
})
|
3010
|
+
},
|
3011
|
+
summary: "Get all opened and closed bot rooms count"
|
3012
|
+
},
|
3000
3013
|
botRoomTakeOver: {
|
3001
3014
|
method: "POST",
|
3002
3015
|
path: "/bot-room/take-over/:roomId",
|