@kl1/contracts 1.2.3-uat → 1.2.4-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/api-contracts/src/automation-queue/index.d.ts +5 -1
- package/dist/api-contracts/src/automation-queue/index.d.ts.map +1 -1
- package/dist/api-contracts/src/automation-queue/validation.d.ts +10 -0
- package/dist/api-contracts/src/automation-queue/validation.d.ts.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
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:
|
|
8382
|
+
body: CheckHasAssignedRoomSchema,
|
|
8379
8383
|
responses: {
|
|
8380
8384
|
200: DefaultSuccessResponseSchema.extend({
|
|
8381
8385
|
data: z114.object({
|