@kl1/contracts 1.1.53-uat → 1.1.54-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
@@ -3553,10 +3553,23 @@ var cxLogContract = (0, import_core11.initContract)().router({
3553
3553
  query: GetAllCxLogQueryParamsSchema,
3554
3554
  summary: "Export cx-logs"
3555
3555
  },
3556
+ syncSla: {
3557
+ method: "POST",
3558
+ path: "/cx-logs/sync-sla",
3559
+ headers: DefaultHeaderSchema,
3560
+ responses: {
3561
+ 200: null,
3562
+ 401: DefaultUnauthorizedSchema,
3563
+ 500: DefaultErrorResponseSchema
3564
+ },
3565
+ body: null,
3566
+ summary: "Export cx-logs"
3567
+ },
3556
3568
  updateSla: {
3557
3569
  method: "POST",
3558
3570
  path: "/cx-logs",
3559
3571
  headers: import_zod47.default.object({
3572
+ // biome-ignore lint/style/useNamingConvention: <explanation>
3560
3573
  "x-tenant": import_zod47.default.string({ required_error: "Tenant id is required" }),
3561
3574
  "x-code": import_zod47.default.string().uuid().optional()
3562
3575
  }),
@@ -5566,6 +5579,21 @@ var roleContract = (0, import_core25.initContract)().router(
5566
5579
  500: DefaultErrorResponseSchema
5567
5580
  },
5568
5581
  summary: "Delete a role."
5582
+ },
5583
+ getRoleById: {
5584
+ method: "GET",
5585
+ path: "/:id",
5586
+ pathParams: import_zod74.default.object({ id: import_zod74.default.string() }),
5587
+ headers: DefaultHeaderSchema,
5588
+ responses: {
5589
+ 200: RoleSchema,
5590
+ 400: import_zod74.default.object({
5591
+ message: import_zod74.default.string()
5592
+ }),
5593
+ 401: DefaultUnauthorizedSchema,
5594
+ 500: DefaultErrorResponseSchema
5595
+ },
5596
+ summary: "Get role by Id"
5569
5597
  }
5570
5598
  },
5571
5599
  { pathPrefix: "role" }