@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.mjs CHANGED
@@ -3157,6 +3157,26 @@ var cxLogContract = initContract11().router({
3157
3157
  },
3158
3158
  query: GetAllCxLogQueryParamsSchema,
3159
3159
  summary: "Export cx-logs"
3160
+ },
3161
+ updateSla: {
3162
+ method: "POST",
3163
+ path: "/cx-logs",
3164
+ headers: z44.object({
3165
+ "x-tenant": z44.string({ required_error: "Tenant id is required" }),
3166
+ "x-code": z44.string().uuid().optional()
3167
+ }),
3168
+ responses: {
3169
+ 200: null,
3170
+ 403: DefaultUnauthorizedSchema,
3171
+ 404: DefaultNotFoundSchema,
3172
+ 500: DefaultErrorResponseSchema
3173
+ },
3174
+ body: z44.object({
3175
+ roomId: z44.string().uuid(),
3176
+ firstResponseTime: z44.number().nullable(),
3177
+ resolutionTime: z44.number().nullable(),
3178
+ slaStatus: z44.enum(["meet", "unmeet"])
3179
+ })
3160
3180
  }
3161
3181
  });
3162
3182
 
@@ -6485,6 +6505,7 @@ var CreateWrapUpFormSchema = z91.object({
6485
6505
  callTo: z91.string().nullable().optional()
6486
6506
  });
6487
6507
  var UpdateWrapUpFormSchema = CreateWrapUpFormSchema.extend({
6508
+ cxLogId: z91.string().uuid().optional(),
6488
6509
  type: z91.string().optional(),
6489
6510
  tags: z91.array(z91.string()).optional(),
6490
6511
  categoryIds: z91.array(z91.string().uuid()).optional(),
@@ -7213,7 +7234,8 @@ var BusinessHourSchema = DefaultEntitySchema.extend({
7213
7234
  var HolidaySchema = DefaultEntitySchema.extend({
7214
7235
  name: z105.string(),
7215
7236
  date: z105.string(),
7216
- isEnabled: z105.boolean()
7237
+ isEnabled: z105.boolean(),
7238
+ isDefault: z105.boolean()
7217
7239
  });
7218
7240
  var BusinessCalendarSchema = DefaultEntitySchema.extend({
7219
7241
  name: z105.string(),
@@ -7648,8 +7670,8 @@ var chatContract = initContract42().router(
7648
7670
  responses: {
7649
7671
  200: DefaultSuccessResponseSchema.extend({
7650
7672
  data: RoomSchema
7651
- })
7652
- // 403:
7673
+ }),
7674
+ 403: DefaultErrorResponseSchema
7653
7675
  // 404
7654
7676
  },
7655
7677
  summary: "Update room assignee"