@kl1/contracts 1.4.30 → 1.4.32

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
@@ -2837,7 +2837,7 @@ var mainFeedContract = initContract8().router(
2837
2837
  {
2838
2838
  getFeedPostById: {
2839
2839
  method: "GET",
2840
- path: "chs/chat/feed-post/:id",
2840
+ path: "chs/api/v1/chat/feed-post/:id",
2841
2841
  pathParams: z42.object({
2842
2842
  id: z42.string().uuid()
2843
2843
  }),
@@ -6526,7 +6526,7 @@ var ticketContract = initContract26().router(
6526
6526
  },
6527
6527
  getTicketById: {
6528
6528
  method: "GET",
6529
- path: "ts/ticket/:id",
6529
+ path: "tcs/api/v1/ticket:id",
6530
6530
  pathParams: z80.object({ id: z80.string() }),
6531
6531
  headers: DefaultHeaderSchema,
6532
6532
  responses: {
@@ -6543,7 +6543,7 @@ var ticketContract = initContract26().router(
6543
6543
  },
6544
6544
  getTicketByContactId: {
6545
6545
  method: "GET",
6546
- path: "ts/ticket/contact/:id",
6546
+ path: "tcs/api/v1/ticket/contact/:id",
6547
6547
  pathParams: z80.object({ id: z80.string() }),
6548
6548
  query: TicketParamsSchema,
6549
6549
  headers: DefaultHeaderSchema,
@@ -6561,7 +6561,7 @@ var ticketContract = initContract26().router(
6561
6561
  },
6562
6562
  updateTicket: {
6563
6563
  method: "PATCH",
6564
- path: "ts/ticket/:id",
6564
+ path: "tcs/api/v1/ticket/:id",
6565
6565
  pathParams: z80.object({ id: z80.string() }),
6566
6566
  body: UpdateTicketValidationSchema,
6567
6567
  headers: DefaultHeaderSchema,
@@ -6586,7 +6586,7 @@ var ticketContract = initContract26().router(
6586
6586
  },
6587
6587
  deleteTicket: {
6588
6588
  method: "DELETE",
6589
- path: "ts/ticket/:id",
6589
+ path: "tcs/api/v1/ticket/:id",
6590
6590
  pathParams: z80.object({ id: z80.string() }),
6591
6591
  headers: DefaultHeaderSchema,
6592
6592
  body: null,
@@ -6758,11 +6758,10 @@ var ticketContract = initContract26().router(
6758
6758
  summary: "Update a tags from a ticket"
6759
6759
  },
6760
6760
  changeAssignee: {
6761
- method: "PATCH",
6762
- path: "ts/ticket/assignee/update/:id",
6761
+ method: "PUT",
6762
+ path: "tcs/api/v1/ticket/:id/assignee",
6763
6763
  pathParams: z80.object({ id: z80.string() }),
6764
6764
  body: z80.object({
6765
- ticketId: z80.string(),
6766
6765
  assigneeId: z80.string(),
6767
6766
  reason: z80.string().optional()
6768
6767
  }),
@@ -6788,7 +6787,7 @@ var ticketContract = initContract26().router(
6788
6787
  },
6789
6788
  getTicketCountByContact: {
6790
6789
  method: "GET",
6791
- path: "ts/ticket/ticket_count/contact/:id",
6790
+ path: "tcs/api/v1/ticket/count/contact/:id",
6792
6791
  pathParams: z80.object({ id: z80.string() }),
6793
6792
  headers: DefaultHeaderSchema,
6794
6793
  responses: {
@@ -6845,7 +6844,7 @@ var ticketContract = initContract26().router(
6845
6844
  },
6846
6845
  getTicketReasonRequired: {
6847
6846
  method: "GET",
6848
- path: "ts/ticket/gs/ticket-reason-required",
6847
+ path: "tcs/api/v1/ticket/gs/ticket-reason-required",
6849
6848
  headers: DefaultHeaderSchema,
6850
6849
  responses: {
6851
6850
  200: DefaultSuccessResponseSchema.extend({
@@ -6859,8 +6858,8 @@ var ticketContract = initContract26().router(
6859
6858
  }
6860
6859
  },
6861
6860
  updateTicketReasonRequired: {
6862
- method: "PATCH",
6863
- path: "ts/ticket/gs/ticket-reason-required",
6861
+ method: "PUT",
6862
+ path: "tcs/api/v1/ticket/gs/ticket-reason-required",
6864
6863
  headers: DefaultHeaderSchema,
6865
6864
  body: TicketReasonRequiredSchema,
6866
6865
  responses: {