@kl1/contracts 1.2.2-uat → 1.2.3-uat

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
@@ -7785,7 +7785,7 @@ var chatContract = initContract38().router(
7785
7785
  method: "POST",
7786
7786
  path: "/room/assignee",
7787
7787
  body: z106.object({
7788
- assigneeId: z106.string().uuid(),
7788
+ assigneeId: z106.string().uuid().optional(),
7789
7789
  roomId: z106.string().uuid(),
7790
7790
  workflowId: z106.string().uuid(),
7791
7791
  queueId: z106.string().uuid().optional()
@@ -8371,6 +8371,18 @@ var automationQueueContract = initContract43().router(
8371
8371
  message: z114.string()
8372
8372
  })
8373
8373
  }
8374
+ },
8375
+ checkHasAssignedRoom: {
8376
+ method: "POST",
8377
+ path: "/check-has-assigned-room",
8378
+ body: z114.object({ userId: z114.string().uuid() }),
8379
+ responses: {
8380
+ 200: DefaultSuccessResponseSchema.extend({
8381
+ data: z114.object({
8382
+ hasAssignedRoom: z114.boolean()
8383
+ })
8384
+ })
8385
+ }
8374
8386
  }
8375
8387
  },
8376
8388
  { pathPrefix: "/automation-queue" }