@kl1/contracts 1.2.6-uat → 1.2.8-uat

Sign up to get free protection for your applications and to get access to all the features.
@@ -6571,7 +6571,7 @@ export declare const cxLogContract: {
6571
6571
  telephonySignature: string | null;
6572
6572
  };
6573
6573
  }>>;
6574
- recordingFileUrl: z.ZodNullable<z.ZodString>;
6574
+ contactLabel: z.ZodArray<z.ZodString, "many">;
6575
6575
  }, "strip", z.ZodTypeAny, {
6576
6576
  id: string;
6577
6577
  channel: string | null;
@@ -7478,7 +7478,7 @@ export declare const cxLogContract: {
7478
7478
  telephonySignature: string | null;
7479
7479
  };
7480
7480
  } | null;
7481
- recordingFileUrl: string | null;
7481
+ contactLabel: string[];
7482
7482
  }, {
7483
7483
  id: string;
7484
7484
  channel: string | null;
@@ -8385,7 +8385,7 @@ export declare const cxLogContract: {
8385
8385
  telephonySignature: string | null;
8386
8386
  };
8387
8387
  } | null;
8388
- recordingFileUrl: string | null;
8388
+ contactLabel: string[];
8389
8389
  }>, "many">;
8390
8390
  }, "strip", z.ZodTypeAny, {
8391
8391
  total: number;
@@ -9298,7 +9298,7 @@ export declare const cxLogContract: {
9298
9298
  telephonySignature: string | null;
9299
9299
  };
9300
9300
  } | null;
9301
- recordingFileUrl: string | null;
9301
+ contactLabel: string[];
9302
9302
  }[];
9303
9303
  }, {
9304
9304
  total: number;
@@ -10211,7 +10211,7 @@ export declare const cxLogContract: {
10211
10211
  telephonySignature: string | null;
10212
10212
  };
10213
10213
  } | null;
10214
- recordingFileUrl: string | null;
10214
+ contactLabel: string[];
10215
10215
  }[];
10216
10216
  }>;
10217
10217
  401: z.ZodObject<{
@@ -6880,7 +6880,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
6880
6880
  telephonySignature: string | null;
6881
6881
  };
6882
6882
  }>>;
6883
- recordingFileUrl: z.ZodNullable<z.ZodString>;
6883
+ contactLabel: z.ZodArray<z.ZodString, "many">;
6884
6884
  }, "strip", z.ZodTypeAny, {
6885
6885
  id: string;
6886
6886
  channel: string | null;
@@ -7787,7 +7787,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
7787
7787
  telephonySignature: string | null;
7788
7788
  };
7789
7789
  } | null;
7790
- recordingFileUrl: string | null;
7790
+ contactLabel: string[];
7791
7791
  }, {
7792
7792
  id: string;
7793
7793
  channel: string | null;
@@ -8694,6 +8694,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
8694
8694
  telephonySignature: string | null;
8695
8695
  };
8696
8696
  } | null;
8697
- recordingFileUrl: string | null;
8697
+ contactLabel: string[];
8698
8698
  }>;
8699
8699
  //# sourceMappingURL=schema.d.ts.map
@@ -407,16 +407,19 @@ export declare const userContract: {
407
407
  page: z.ZodOptional<z.ZodNumber>;
408
408
  pageSize: z.ZodOptional<z.ZodNumber>;
409
409
  keyword: z.ZodOptional<z.ZodString>;
410
+ userIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
410
411
  withPresenceStatus: z.ZodOptional<z.ZodEffects<z.ZodString, boolean, string>>;
411
412
  }, "strip", z.ZodTypeAny, {
412
413
  page?: number | undefined;
413
414
  pageSize?: number | undefined;
414
415
  keyword?: string | undefined;
416
+ userIds?: string[] | undefined;
415
417
  withPresenceStatus?: boolean | undefined;
416
418
  }, {
417
419
  page?: number | undefined;
418
420
  pageSize?: number | undefined;
419
421
  keyword?: string | undefined;
422
+ userIds?: string[] | undefined;
420
423
  withPresenceStatus?: string | undefined;
421
424
  }>>;
422
425
  responses: {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/user/index.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AAUpB,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EACL,gBAAgB,EAChB,uBAAuB,EACvB,gBAAgB,EACjB,MAAM,cAAc,CAAC;AAGtB,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC;AAC9C,MAAM,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0HxB,CAAC"}
package/dist/index.js CHANGED
@@ -1293,7 +1293,7 @@ var CxLogSchemaWithRelations = DefaultEntitySchema.extend({
1293
1293
  firstAssignee: UserSchema.nullable(),
1294
1294
  agent: UserSchema.nullable(),
1295
1295
  closedAssignee: UserSchema.nullable(),
1296
- recordingFileUrl: import_zod27.default.string().nullable()
1296
+ contactLabel: import_zod27.default.array(import_zod27.default.string())
1297
1297
  });
1298
1298
 
1299
1299
  // src/workflow-rule/schema.ts
@@ -6134,6 +6134,7 @@ var userContract = (0, import_core26.initContract)().router(
6134
6134
  pageSize: import_zod77.default.coerce.number().optional(),
6135
6135
  // Don't add default 10. In some places, we need to fetch all users.
6136
6136
  keyword: import_zod77.default.string().optional(),
6137
+ userIds: import_zod77.default.array(import_zod77.default.string()).optional(),
6137
6138
  withPresenceStatus: import_zod77.default.string().transform((val) => val === "true").optional()
6138
6139
  }).optional(),
6139
6140
  responses: {
@@ -8352,7 +8353,7 @@ var CreateAutomationQueueSchema = import_zod112.z.object({
8352
8353
  });
8353
8354
  var UpdateAutomationQueueSchema = CreateAutomationQueueSchema;
8354
8355
  var CheckHasAssignedRoomSchema = import_zod112.z.object({
8355
- userId: import_zod112.z.string().uuid(),
8356
+ userId: import_zod112.z.string().uuid().optional(),
8356
8357
  queueId: import_zod112.z.string().uuid().optional()
8357
8358
  });
8358
8359