@kl1/contracts 1.4.4 → 1.4.5

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.
@@ -56758,7 +56758,7 @@ export declare const ticketContract: {
56758
56758
  error?: any;
56759
56759
  }>;
56760
56760
  };
56761
- path: "ts/ticket";
56761
+ path: "tcs/api/v1/ticket";
56762
56762
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
56763
56763
  'x-tenant': import("zod").ZodString;
56764
56764
  'x-service-token': import("zod").ZodString;
@@ -72070,11 +72070,10 @@ export declare const ticketContract: {
72070
72070
  'x-client-timezone'?: string | undefined;
72071
72071
  }>>>;
72072
72072
  };
72073
- createTicketAttachmentRecords: {
72073
+ addTicketAttachments: {
72074
72074
  body: import("zod").ZodObject<{
72075
- ticketId: import("zod").ZodString;
72076
72075
  attributeId: import("zod").ZodString;
72077
- ticketAttachmentRecords: import("zod").ZodArray<import("zod").ZodObject<{
72076
+ attachments: import("zod").ZodArray<import("zod").ZodObject<{
72078
72077
  bucketName: import("zod").ZodString;
72079
72078
  fileKey: import("zod").ZodString;
72080
72079
  fileName: import("zod").ZodString;
@@ -72095,8 +72094,7 @@ export declare const ticketContract: {
72095
72094
  }>, "many">;
72096
72095
  }, "strip", import("zod").ZodTypeAny, {
72097
72096
  attributeId: string;
72098
- ticketId: string;
72099
- ticketAttachmentRecords: {
72097
+ attachments: {
72100
72098
  url: string;
72101
72099
  fileName: string;
72102
72100
  fileKey: string;
@@ -72105,8 +72103,7 @@ export declare const ticketContract: {
72105
72103
  }[];
72106
72104
  }, {
72107
72105
  attributeId: string;
72108
- ticketId: string;
72109
- ticketAttachmentRecords: {
72106
+ attachments: {
72110
72107
  url: string;
72111
72108
  fileName: string;
72112
72109
  fileKey: string;
@@ -72115,7 +72112,14 @@ export declare const ticketContract: {
72115
72112
  }[];
72116
72113
  }>;
72117
72114
  summary: "Create a new ticket attachment";
72118
- method: "POST";
72115
+ method: "PUT";
72116
+ pathParams: import("zod").ZodObject<{
72117
+ id: import("zod").ZodString;
72118
+ }, "strip", import("zod").ZodTypeAny, {
72119
+ id: string;
72120
+ }, {
72121
+ id: string;
72122
+ }>;
72119
72123
  responses: {
72120
72124
  201: import("zod").ZodObject<{
72121
72125
  requestId: import("zod").ZodString;
@@ -72443,7 +72447,7 @@ export declare const ticketContract: {
72443
72447
  error?: any;
72444
72448
  }>;
72445
72449
  };
72446
- path: "ts/ticket/attachment";
72450
+ path: "tcs/api/v1/ticket/:id/attachment";
72447
72451
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
72448
72452
  'x-tenant': import("zod").ZodString;
72449
72453
  'x-service-token': import("zod").ZodString;