@kl1/contracts 1.4.31 → 1.4.33
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/api-contracts/src/contract.d.ts +10 -13
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/ticket/index.d.ts +10 -13
- package/dist/api-contracts/src/ticket/index.d.ts.map +1 -1
- package/dist/index.js +10 -11
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -11
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
@@ -6526,7 +6526,7 @@ var ticketContract = initContract26().router(
|
|
6526
6526
|
},
|
6527
6527
|
getTicketById: {
|
6528
6528
|
method: "GET",
|
6529
|
-
path: "
|
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: "
|
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: "
|
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: "
|
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: "
|
6762
|
-
path: "
|
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: "
|
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: "
|
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: "
|
6863
|
-
path: "
|
6861
|
+
method: "PUT",
|
6862
|
+
path: "tcs/api/v1/ticket/gs/ticket-reason-required",
|
6864
6863
|
headers: DefaultHeaderSchema,
|
6865
6864
|
body: TicketReasonRequiredSchema,
|
6866
6865
|
responses: {
|