@kl1/contracts 1.2.3-uat → 1.2.4-uat

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.mjs CHANGED
@@ -8279,6 +8279,10 @@ var CreateAutomationQueueSchema = z112.object({
8279
8279
  // isAssignmentDeniable: z.coerce.boolean(),
8280
8280
  });
8281
8281
  var UpdateAutomationQueueSchema = CreateAutomationQueueSchema;
8282
+ var CheckHasAssignedRoomSchema = z112.object({
8283
+ userId: z112.string().uuid(),
8284
+ queueId: z112.string().uuid().optional()
8285
+ });
8282
8286
 
8283
8287
  // src/automation-queue/schema.ts
8284
8288
  import { z as z113 } from "zod";
@@ -8375,7 +8379,7 @@ var automationQueueContract = initContract43().router(
8375
8379
  checkHasAssignedRoom: {
8376
8380
  method: "POST",
8377
8381
  path: "/check-has-assigned-room",
8378
- body: z114.object({ userId: z114.string().uuid() }),
8382
+ body: CheckHasAssignedRoomSchema,
8379
8383
  responses: {
8380
8384
  200: DefaultSuccessResponseSchema.extend({
8381
8385
  data: z114.object({