@kl1/contracts 1.3.56 → 1.3.57

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.mjs CHANGED
@@ -1618,6 +1618,14 @@ var LineStickerSchema = z26.object({
1618
1618
  packageId: z26.number(),
1619
1619
  stickerId: z26.number()
1620
1620
  });
1621
+ var AllOpenCloseRoomCountSchema = z26.object({
1622
+ allOpenedRoomCount: z26.number(),
1623
+ allClosedRoomCount: z26.number()
1624
+ });
1625
+ var AllHoldAndQueueRoomCountSchema = z26.object({
1626
+ holdRoomCount: z26.record(z26.string(), z26.number()),
1627
+ queueRoomCount: z26.record(z26.string(), z26.number())
1628
+ });
1621
1629
 
1622
1630
  // src/sms/index.ts
1623
1631
  var smsContract = initContract().router({
@@ -2982,6 +2990,26 @@ var mainChatRoomContract = initContract8().router(
2982
2990
  },
2983
2991
  query: SearchRoomsSchema,
2984
2992
  summary: "Search Rooms"
2993
+ },
2994
+ getAllRoomCount: {
2995
+ method: "GET",
2996
+ path: "/all-rooms-count",
2997
+ responses: {
2998
+ 200: DefaultSuccessResponseSchema.extend({
2999
+ data: AllOpenCloseRoomCountSchema
3000
+ })
3001
+ },
3002
+ summary: "Get all opened and closed room count"
3003
+ },
3004
+ getAllQueueAndHoldCount: {
3005
+ method: "GET",
3006
+ path: "/all-queue-and-hold-count",
3007
+ responses: {
3008
+ 200: DefaultSuccessResponseSchema.extend({
3009
+ data: AllHoldAndQueueRoomCountSchema
3010
+ })
3011
+ },
3012
+ summary: "Get all queue and hold rooms count"
2985
3013
  }
2986
3014
  },
2987
3015
  {