@kl1/contracts 1.2.2-uat → 1.2.3-uat
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/api-contracts/src/automation-queue/index.d.ts +33 -0
- package/dist/api-contracts/src/automation-queue/index.d.ts.map +1 -1
- package/dist/api-contracts/src/contract.d.ts +3 -3
- package/dist/api-contracts/src/workflow-rule/index.d.ts +3 -3
- package/dist/index.js +13 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +13 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
@@ -4239,5 +4239,38 @@ export declare const automationQueueContract: {
|
|
4239
4239
|
};
|
4240
4240
|
path: "/automation-queue/:id";
|
4241
4241
|
};
|
4242
|
+
checkHasAssignedRoom: {
|
4243
|
+
body: z.ZodObject<{
|
4244
|
+
userId: z.ZodString;
|
4245
|
+
}, "strip", z.ZodTypeAny, {
|
4246
|
+
userId: string;
|
4247
|
+
}, {
|
4248
|
+
userId: string;
|
4249
|
+
}>;
|
4250
|
+
method: "POST";
|
4251
|
+
responses: {
|
4252
|
+
200: z.ZodObject<{
|
4253
|
+
requestId: z.ZodString;
|
4254
|
+
data: z.ZodObject<{
|
4255
|
+
hasAssignedRoom: z.ZodBoolean;
|
4256
|
+
}, "strip", z.ZodTypeAny, {
|
4257
|
+
hasAssignedRoom: boolean;
|
4258
|
+
}, {
|
4259
|
+
hasAssignedRoom: boolean;
|
4260
|
+
}>;
|
4261
|
+
}, "strip", z.ZodTypeAny, {
|
4262
|
+
data: {
|
4263
|
+
hasAssignedRoom: boolean;
|
4264
|
+
};
|
4265
|
+
requestId: string;
|
4266
|
+
}, {
|
4267
|
+
data: {
|
4268
|
+
hasAssignedRoom: boolean;
|
4269
|
+
};
|
4270
|
+
requestId: string;
|
4271
|
+
}>;
|
4272
|
+
};
|
4273
|
+
path: "/automation-queue/check-has-assigned-room";
|
4274
|
+
};
|
4242
4275
|
};
|
4243
4276
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/automation-queue/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,2BAA2B,EAC3B,+BAA+B,EAC/B,2BAA2B,EAC5B,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAGjD,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACpE,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAC7C,OAAO,+BAA+B,CACvC,CAAC;AACF,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAChD,OAAO,2BAA2B,CACnC,CAAC;AACF,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAChD,OAAO,2BAA2B,CACnC,CAAC;AAEF,eAAO,MAAM,uBAAuB
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/automation-queue/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,2BAA2B,EAC3B,+BAA+B,EAC/B,2BAA2B,EAC5B,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAGjD,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACpE,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAC7C,OAAO,+BAA+B,CACvC,CAAC;AACF,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAChD,OAAO,2BAA2B,CACnC,CAAC;AACF,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAChD,OAAO,2BAA2B,CACnC,CAAC;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2FnC,CAAC"}
|
@@ -223612,19 +223612,19 @@ export declare const workflowContract: {
|
|
223612
223612
|
chat: {
|
223613
223613
|
updateAssignee: {
|
223614
223614
|
body: import("zod").ZodObject<{
|
223615
|
-
assigneeId: import("zod").ZodString
|
223615
|
+
assigneeId: import("zod").ZodOptional<import("zod").ZodString>;
|
223616
223616
|
roomId: import("zod").ZodString;
|
223617
223617
|
workflowId: import("zod").ZodString;
|
223618
223618
|
queueId: import("zod").ZodOptional<import("zod").ZodString>;
|
223619
223619
|
}, "strip", import("zod").ZodTypeAny, {
|
223620
|
-
assigneeId: string;
|
223621
223620
|
roomId: string;
|
223622
223621
|
workflowId: string;
|
223622
|
+
assigneeId?: string | undefined;
|
223623
223623
|
queueId?: string | undefined;
|
223624
223624
|
}, {
|
223625
|
-
assigneeId: string;
|
223626
223625
|
roomId: string;
|
223627
223626
|
workflowId: string;
|
223627
|
+
assigneeId?: string | undefined;
|
223628
223628
|
queueId?: string | undefined;
|
223629
223629
|
}>;
|
223630
223630
|
summary: "Update room assignee";
|
@@ -2,19 +2,19 @@ import z from 'zod';
|
|
2
2
|
export declare const chatContract: {
|
3
3
|
updateAssignee: {
|
4
4
|
body: z.ZodObject<{
|
5
|
-
assigneeId: z.ZodString
|
5
|
+
assigneeId: z.ZodOptional<z.ZodString>;
|
6
6
|
roomId: z.ZodString;
|
7
7
|
workflowId: z.ZodString;
|
8
8
|
queueId: z.ZodOptional<z.ZodString>;
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
10
|
-
assigneeId: string;
|
11
10
|
roomId: string;
|
12
11
|
workflowId: string;
|
12
|
+
assigneeId?: string | undefined;
|
13
13
|
queueId?: string | undefined;
|
14
14
|
}, {
|
15
|
-
assigneeId: string;
|
16
15
|
roomId: string;
|
17
16
|
workflowId: string;
|
17
|
+
assigneeId?: string | undefined;
|
18
18
|
queueId?: string | undefined;
|
19
19
|
}>;
|
20
20
|
summary: "Update room assignee";
|
package/dist/index.js
CHANGED
@@ -7886,7 +7886,7 @@ var chatContract = (0, import_core38.initContract)().router(
|
|
7886
7886
|
method: "POST",
|
7887
7887
|
path: "/room/assignee",
|
7888
7888
|
body: import_zod106.default.object({
|
7889
|
-
assigneeId: import_zod106.default.string().uuid(),
|
7889
|
+
assigneeId: import_zod106.default.string().uuid().optional(),
|
7890
7890
|
roomId: import_zod106.default.string().uuid(),
|
7891
7891
|
workflowId: import_zod106.default.string().uuid(),
|
7892
7892
|
queueId: import_zod106.default.string().uuid().optional()
|
@@ -8472,6 +8472,18 @@ var automationQueueContract = (0, import_core43.initContract)().router(
|
|
8472
8472
|
message: import_zod114.z.string()
|
8473
8473
|
})
|
8474
8474
|
}
|
8475
|
+
},
|
8476
|
+
checkHasAssignedRoom: {
|
8477
|
+
method: "POST",
|
8478
|
+
path: "/check-has-assigned-room",
|
8479
|
+
body: import_zod114.z.object({ userId: import_zod114.z.string().uuid() }),
|
8480
|
+
responses: {
|
8481
|
+
200: DefaultSuccessResponseSchema.extend({
|
8482
|
+
data: import_zod114.z.object({
|
8483
|
+
hasAssignedRoom: import_zod114.z.boolean()
|
8484
|
+
})
|
8485
|
+
})
|
8486
|
+
}
|
8475
8487
|
}
|
8476
8488
|
},
|
8477
8489
|
{ pathPrefix: "/automation-queue" }
|