@kl1/contracts 1.4.28 → 1.4.29

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
@@ -6598,8 +6598,8 @@ var ticketContract = initContract26().router(
6598
6598
  summary: "Delete a extension."
6599
6599
  },
6600
6600
  updateDescription: {
6601
- method: "PATCH",
6602
- path: "ts/ticket/description/update/:id",
6601
+ method: "PUT",
6602
+ path: "tcs/api/v1/ticket/:id/description",
6603
6603
  pathParams: z80.object({ id: z80.string() }),
6604
6604
  body: z80.object({ description: z80.string() }),
6605
6605
  headers: DefaultHeaderSchema,
@@ -6621,8 +6621,8 @@ var ticketContract = initContract26().router(
6621
6621
  summary: "Update a description from a ticket"
6622
6622
  },
6623
6623
  updateTitle: {
6624
- method: "PATCH",
6625
- path: "ts/ticket/title/update/:id",
6624
+ method: "PUT",
6625
+ path: "tcs/api/v1/ticket/:id/title",
6626
6626
  pathParams: z80.object({ id: z80.string() }),
6627
6627
  body: z80.object({ title: z80.string() }),
6628
6628
  headers: DefaultHeaderSchema,
@@ -6644,8 +6644,8 @@ var ticketContract = initContract26().router(
6644
6644
  summary: "Update a title from a ticket"
6645
6645
  },
6646
6646
  updateType: {
6647
- method: "PATCH",
6648
- path: "ts/ticket/type/update/:id",
6647
+ method: "PUT",
6648
+ path: "tcs/api/v1/ticket/:id/type",
6649
6649
  pathParams: z80.object({ id: z80.string() }),
6650
6650
  body: z80.object({ type: z80.string() }),
6651
6651
  headers: DefaultHeaderSchema,
@@ -6667,8 +6667,8 @@ var ticketContract = initContract26().router(
6667
6667
  summary: "Update a type from a ticket"
6668
6668
  },
6669
6669
  updateStatus: {
6670
- method: "PATCH",
6671
- path: "ts/ticket/status/update/:id",
6670
+ method: "PUT",
6671
+ path: "tcs/api/v1/ticket/:id/status",
6672
6672
  pathParams: z80.object({ id: z80.string() }),
6673
6673
  body: z80.object({ status: z80.string() }),
6674
6674
  headers: DefaultHeaderSchema,
@@ -6690,8 +6690,8 @@ var ticketContract = initContract26().router(
6690
6690
  summary: "Update a status from a ticket"
6691
6691
  },
6692
6692
  updatePriority: {
6693
- method: "PATCH",
6694
- path: "ts/ticket/priority/update/:id",
6693
+ method: "PUT",
6694
+ path: "tcs/api/v1/ticket/:id/priority",
6695
6695
  pathParams: z80.object({ id: z80.string() }),
6696
6696
  body: z80.object({ priority: z80.string() }),
6697
6697
  headers: DefaultHeaderSchema,
@@ -6713,8 +6713,8 @@ var ticketContract = initContract26().router(
6713
6713
  summary: "Update a priority from a ticket"
6714
6714
  },
6715
6715
  updateChannel: {
6716
- method: "PATCH",
6717
- path: "ts/ticket/channel/update/:id",
6716
+ method: "PUT",
6717
+ path: "tcs/api/v1/ticket/:id/channel",
6718
6718
  pathParams: z80.object({ id: z80.string() }),
6719
6719
  body: z80.object({ channel: z80.string() }),
6720
6720
  headers: DefaultHeaderSchema,
@@ -6736,8 +6736,8 @@ var ticketContract = initContract26().router(
6736
6736
  summary: "Update a channel from a ticket"
6737
6737
  },
6738
6738
  updateTags: {
6739
- method: "PATCH",
6740
- path: "ts/ticket/tags/update/:id",
6739
+ method: "PUT",
6740
+ path: "tcs/api/v1/ticket/:id/tags",
6741
6741
  pathParams: z80.object({ id: z80.string() }),
6742
6742
  body: z80.object({ tags: z80.array(z80.string()) }),
6743
6743
  headers: DefaultHeaderSchema,