@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.mjs CHANGED
@@ -3456,10 +3456,23 @@ var cxLogContract = initContract11().router({
3456
3456
  query: GetAllCxLogQueryParamsSchema,
3457
3457
  summary: "Export cx-logs"
3458
3458
  },
3459
+ syncSla: {
3460
+ method: "POST",
3461
+ path: "/cx-logs/sync-sla",
3462
+ headers: DefaultHeaderSchema,
3463
+ responses: {
3464
+ 200: null,
3465
+ 401: DefaultUnauthorizedSchema,
3466
+ 500: DefaultErrorResponseSchema
3467
+ },
3468
+ body: null,
3469
+ summary: "Export cx-logs"
3470
+ },
3459
3471
  updateSla: {
3460
3472
  method: "POST",
3461
3473
  path: "/cx-logs",
3462
3474
  headers: z47.object({
3475
+ // biome-ignore lint/style/useNamingConvention: <explanation>
3463
3476
  "x-tenant": z47.string({ required_error: "Tenant id is required" }),
3464
3477
  "x-code": z47.string().uuid().optional()
3465
3478
  }),
@@ -5469,6 +5482,21 @@ var roleContract = initContract25().router(
5469
5482
  500: DefaultErrorResponseSchema
5470
5483
  },
5471
5484
  summary: "Delete a role."
5485
+ },
5486
+ getRoleById: {
5487
+ method: "GET",
5488
+ path: "/:id",
5489
+ pathParams: z74.object({ id: z74.string() }),
5490
+ headers: DefaultHeaderSchema,
5491
+ responses: {
5492
+ 200: RoleSchema,
5493
+ 400: z74.object({
5494
+ message: z74.string()
5495
+ }),
5496
+ 401: DefaultUnauthorizedSchema,
5497
+ 500: DefaultErrorResponseSchema
5498
+ },
5499
+ summary: "Get role by Id"
5472
5500
  }
5473
5501
  },
5474
5502
  { pathPrefix: "role" }