@kl1/contracts 1.3.90 → 1.3.92

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
@@ -6473,7 +6473,7 @@ var ticketContract = initContract26().router(
6473
6473
  {
6474
6474
  createTicket: {
6475
6475
  method: "POST",
6476
- path: "",
6476
+ path: "ts/ticket",
6477
6477
  headers: DefaultHeaderSchema,
6478
6478
  responses: {
6479
6479
  201: DefaultSuccessResponseSchema.extend({
@@ -6497,7 +6497,7 @@ var ticketContract = initContract26().router(
6497
6497
  },
6498
6498
  getAllTickets: {
6499
6499
  method: "GET",
6500
- path: "",
6500
+ path: "tcs/api/v1/ticket",
6501
6501
  query: GetAllTicketQuerySchema,
6502
6502
  headers: DefaultHeaderSchema,
6503
6503
  responses: {
@@ -6517,7 +6517,7 @@ var ticketContract = initContract26().router(
6517
6517
  },
6518
6518
  getTicketById: {
6519
6519
  method: "GET",
6520
- path: "/:id",
6520
+ path: "ts/ticket/:id",
6521
6521
  pathParams: z80.object({ id: z80.string() }),
6522
6522
  headers: DefaultHeaderSchema,
6523
6523
  responses: {
@@ -6534,7 +6534,7 @@ var ticketContract = initContract26().router(
6534
6534
  },
6535
6535
  getTicketByContactId: {
6536
6536
  method: "GET",
6537
- path: "/contact/:id",
6537
+ path: "ts/ticket/contact/:id",
6538
6538
  pathParams: z80.object({ id: z80.string() }),
6539
6539
  query: TicketParamsSchema,
6540
6540
  headers: DefaultHeaderSchema,
@@ -6552,7 +6552,7 @@ var ticketContract = initContract26().router(
6552
6552
  },
6553
6553
  updateTicket: {
6554
6554
  method: "PATCH",
6555
- path: "/:id",
6555
+ path: "ts/ticket/:id",
6556
6556
  pathParams: z80.object({ id: z80.string() }),
6557
6557
  body: UpdateTicketValidationSchema,
6558
6558
  headers: DefaultHeaderSchema,
@@ -6577,7 +6577,7 @@ var ticketContract = initContract26().router(
6577
6577
  },
6578
6578
  deleteTicket: {
6579
6579
  method: "DELETE",
6580
- path: "/:id",
6580
+ path: "ts/ticket/:id",
6581
6581
  pathParams: z80.object({ id: z80.string() }),
6582
6582
  headers: DefaultHeaderSchema,
6583
6583
  body: null,
@@ -6589,7 +6589,7 @@ var ticketContract = initContract26().router(
6589
6589
  },
6590
6590
  updateDescription: {
6591
6591
  method: "PATCH",
6592
- path: "/description/update/:id",
6592
+ path: "ts/ticket/description/update/:id",
6593
6593
  pathParams: z80.object({ id: z80.string() }),
6594
6594
  body: z80.object({ description: z80.string() }),
6595
6595
  headers: DefaultHeaderSchema,
@@ -6612,7 +6612,7 @@ var ticketContract = initContract26().router(
6612
6612
  },
6613
6613
  updateTitle: {
6614
6614
  method: "PATCH",
6615
- path: "/title/update/:id",
6615
+ path: "ts/ticket/title/update/:id",
6616
6616
  pathParams: z80.object({ id: z80.string() }),
6617
6617
  body: z80.object({ title: z80.string() }),
6618
6618
  headers: DefaultHeaderSchema,
@@ -6635,7 +6635,7 @@ var ticketContract = initContract26().router(
6635
6635
  },
6636
6636
  updateType: {
6637
6637
  method: "PATCH",
6638
- path: "/type/update/:id",
6638
+ path: "ts/ticket/type/update/:id",
6639
6639
  pathParams: z80.object({ id: z80.string() }),
6640
6640
  body: z80.object({ type: z80.string() }),
6641
6641
  headers: DefaultHeaderSchema,
@@ -6658,7 +6658,7 @@ var ticketContract = initContract26().router(
6658
6658
  },
6659
6659
  updateStatus: {
6660
6660
  method: "PATCH",
6661
- path: "/status/update/:id",
6661
+ path: "ts/ticket/status/update/:id",
6662
6662
  pathParams: z80.object({ id: z80.string() }),
6663
6663
  body: z80.object({ status: z80.string() }),
6664
6664
  headers: DefaultHeaderSchema,
@@ -6681,7 +6681,7 @@ var ticketContract = initContract26().router(
6681
6681
  },
6682
6682
  updatePriority: {
6683
6683
  method: "PATCH",
6684
- path: "/priority/update/:id",
6684
+ path: "ts/ticket/priority/update/:id",
6685
6685
  pathParams: z80.object({ id: z80.string() }),
6686
6686
  body: z80.object({ priority: z80.string() }),
6687
6687
  headers: DefaultHeaderSchema,
@@ -6704,7 +6704,7 @@ var ticketContract = initContract26().router(
6704
6704
  },
6705
6705
  updateChannel: {
6706
6706
  method: "PATCH",
6707
- path: "/channel/update/:id",
6707
+ path: "ts/ticket/channel/update/:id",
6708
6708
  pathParams: z80.object({ id: z80.string() }),
6709
6709
  body: z80.object({ channel: z80.string() }),
6710
6710
  headers: DefaultHeaderSchema,
@@ -6727,7 +6727,7 @@ var ticketContract = initContract26().router(
6727
6727
  },
6728
6728
  updateTags: {
6729
6729
  method: "PATCH",
6730
- path: "/tags/update/:id",
6730
+ path: "ts/ticket/tags/update/:id",
6731
6731
  pathParams: z80.object({ id: z80.string() }),
6732
6732
  body: z80.object({ tags: z80.array(z80.string()) }),
6733
6733
  headers: DefaultHeaderSchema,
@@ -6750,7 +6750,7 @@ var ticketContract = initContract26().router(
6750
6750
  },
6751
6751
  changeAssignee: {
6752
6752
  method: "PATCH",
6753
- path: "/assignee/update/:id",
6753
+ path: "ts/ticket/assignee/update/:id",
6754
6754
  pathParams: z80.object({ id: z80.string() }),
6755
6755
  body: z80.object({
6756
6756
  ticketId: z80.string(),
@@ -6779,7 +6779,7 @@ var ticketContract = initContract26().router(
6779
6779
  },
6780
6780
  getTicketCountByContact: {
6781
6781
  method: "GET",
6782
- path: "/ticket_count/contact/:id",
6782
+ path: "ts/ticket/ticket_count/contact/:id",
6783
6783
  pathParams: z80.object({ id: z80.string() }),
6784
6784
  headers: DefaultHeaderSchema,
6785
6785
  responses: {
@@ -6796,7 +6796,7 @@ var ticketContract = initContract26().router(
6796
6796
  },
6797
6797
  createTicketAttachmentRecords: {
6798
6798
  method: "POST",
6799
- path: "/attachment",
6799
+ path: "ts/ticket/attachment",
6800
6800
  headers: DefaultHeaderSchema,
6801
6801
  body: CreateTicketAttachmentRecordsSchema,
6802
6802
  responses: {
@@ -6820,7 +6820,7 @@ var ticketContract = initContract26().router(
6820
6820
  },
6821
6821
  exportTicket: {
6822
6822
  method: "GET",
6823
- path: "/export",
6823
+ path: "ts/ticket/export",
6824
6824
  headers: DefaultHeaderSchema,
6825
6825
  responses: {
6826
6826
  200: null,
@@ -6833,7 +6833,7 @@ var ticketContract = initContract26().router(
6833
6833
  },
6834
6834
  getTicketReasonRequired: {
6835
6835
  method: "GET",
6836
- path: "/gs/ticket-reason-required",
6836
+ path: "ts/ticket/gs/ticket-reason-required",
6837
6837
  headers: DefaultHeaderSchema,
6838
6838
  responses: {
6839
6839
  200: DefaultSuccessResponseSchema.extend({
@@ -6848,7 +6848,7 @@ var ticketContract = initContract26().router(
6848
6848
  },
6849
6849
  updateTicketReasonRequired: {
6850
6850
  method: "PATCH",
6851
- path: "/gs/ticket-reason-required",
6851
+ path: "ts/ticket/gs/ticket-reason-required",
6852
6852
  headers: DefaultHeaderSchema,
6853
6853
  body: TicketReasonRequiredSchema,
6854
6854
  responses: {
@@ -6862,8 +6862,8 @@ var ticketContract = initContract26().router(
6862
6862
  500: DefaultErrorResponseSchema
6863
6863
  }
6864
6864
  }
6865
- },
6866
- { pathPrefix: "tcs/api/v1/ticket" }
6865
+ }
6866
+ // { pathPrefix: 'tcs/api/v1/ticket' },
6867
6867
  );
6868
6868
 
6869
6869
  // src/user/index.ts