@kl1/contracts 1.3.68 → 1.3.69

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.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({
@@ -2966,6 +2974,26 @@ var mainChatRoomContract = initContract8().router(
2966
2974
  },
2967
2975
  query: SearchRoomsSchema,
2968
2976
  summary: "Search Rooms"
2977
+ },
2978
+ getAllRoomCount: {
2979
+ method: "GET",
2980
+ path: "/all-rooms-count",
2981
+ responses: {
2982
+ 200: DefaultSuccessResponseSchema.extend({
2983
+ data: AllOpenCloseRoomCountSchema
2984
+ })
2985
+ },
2986
+ summary: "Get all opened and closed room count"
2987
+ },
2988
+ getAllQueueAndHoldCount: {
2989
+ method: "GET",
2990
+ path: "/all-queue-and-hold-count",
2991
+ responses: {
2992
+ 200: DefaultSuccessResponseSchema.extend({
2993
+ data: AllHoldAndQueueRoomCountSchema
2994
+ })
2995
+ },
2996
+ summary: "Get all queue and hold rooms count"
2969
2997
  }
2970
2998
  },
2971
2999
  {