@kl1/contracts 1.1.30 → 1.1.31

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
@@ -1445,7 +1445,6 @@ var ReconnectMessengerSchema = ChannelSchema.merge(
1445
1445
  })
1446
1446
  );
1447
1447
  var SetBotPersistentMenuSchema = z30.object({
1448
- psid: z30.string(),
1449
1448
  pageAccessToken: z30.string()
1450
1449
  });
1451
1450
 
@@ -3054,6 +3053,24 @@ var cxLogContract = initContract10().router({
3054
3053
  },
3055
3054
  query: GetAllCxLogQueryParamsSchema,
3056
3055
  summary: "Export cx-logs"
3056
+ },
3057
+ updateSla: {
3058
+ method: "POST",
3059
+ path: "/cx-logs",
3060
+ headers: z45.object({
3061
+ "x-tenant": z45.string({ required_error: "Tenant id is required" }),
3062
+ "x-code": z45.string().uuid().optional()
3063
+ }),
3064
+ responses: {
3065
+ 200: null,
3066
+ 403: DefaultUnauthorizedSchema,
3067
+ 404: DefaultNotFoundSchema,
3068
+ 500: DefaultErrorResponseSchema
3069
+ },
3070
+ body: z45.object({
3071
+ roomId: z45.string().uuid(),
3072
+ slaStatus: z45.enum(["meet", "unmeet", "-"])
3073
+ })
3057
3074
  }
3058
3075
  });
3059
3076
 
@@ -5573,6 +5590,7 @@ var ExportAllTicketQuerySchema = z82.object({
5573
5590
  description: z82.string(),
5574
5591
  status: z82.array(z82.string()),
5575
5592
  priority: z82.array(z82.string()),
5593
+ assignee: z82.array(z82.string().uuid()),
5576
5594
  channel: z82.array(z82.string()),
5577
5595
  type: z82.array(z82.string()),
5578
5596
  ticketType: z82.array(z82.string()),