@kl1/contracts 1.1.39-uat → 1.1.40-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.js CHANGED
@@ -3226,6 +3226,26 @@ var cxLogContract = (0, import_core11.initContract)().router({
3226
3226
  },
3227
3227
  query: GetAllCxLogQueryParamsSchema,
3228
3228
  summary: "Export cx-logs"
3229
+ },
3230
+ updateSla: {
3231
+ method: "POST",
3232
+ path: "/cx-logs",
3233
+ headers: import_zod44.default.object({
3234
+ "x-tenant": import_zod44.default.string({ required_error: "Tenant id is required" }),
3235
+ "x-code": import_zod44.default.string().uuid().optional()
3236
+ }),
3237
+ responses: {
3238
+ 200: null,
3239
+ 403: DefaultUnauthorizedSchema,
3240
+ 404: DefaultNotFoundSchema,
3241
+ 500: DefaultErrorResponseSchema
3242
+ },
3243
+ body: import_zod44.default.object({
3244
+ roomId: import_zod44.default.string().uuid(),
3245
+ firstResponseTime: import_zod44.default.number().nullable(),
3246
+ resolutionTime: import_zod44.default.number().nullable(),
3247
+ slaStatus: import_zod44.default.enum(["meet", "unmeet"])
3248
+ })
3229
3249
  }
3230
3250
  });
3231
3251
 
@@ -6554,6 +6574,7 @@ var CreateWrapUpFormSchema = import_zod91.z.object({
6554
6574
  callTo: import_zod91.z.string().nullable().optional()
6555
6575
  });
6556
6576
  var UpdateWrapUpFormSchema = CreateWrapUpFormSchema.extend({
6577
+ cxLogId: import_zod91.z.string().uuid().optional(),
6557
6578
  type: import_zod91.z.string().optional(),
6558
6579
  tags: import_zod91.z.array(import_zod91.z.string()).optional(),
6559
6580
  categoryIds: import_zod91.z.array(import_zod91.z.string().uuid()).optional(),
@@ -7282,7 +7303,8 @@ var BusinessHourSchema = DefaultEntitySchema.extend({
7282
7303
  var HolidaySchema = DefaultEntitySchema.extend({
7283
7304
  name: import_zod105.default.string(),
7284
7305
  date: import_zod105.default.string(),
7285
- isEnabled: import_zod105.default.boolean()
7306
+ isEnabled: import_zod105.default.boolean(),
7307
+ isDefault: import_zod105.default.boolean()
7286
7308
  });
7287
7309
  var BusinessCalendarSchema = DefaultEntitySchema.extend({
7288
7310
  name: import_zod105.default.string(),
@@ -7717,8 +7739,8 @@ var chatContract = (0, import_core42.initContract)().router(
7717
7739
  responses: {
7718
7740
  200: DefaultSuccessResponseSchema.extend({
7719
7741
  data: RoomSchema
7720
- })
7721
- // 403:
7742
+ }),
7743
+ 403: DefaultErrorResponseSchema
7722
7744
  // 404
7723
7745
  },
7724
7746
  summary: "Update room assignee"