@kl1/contracts 1.4.4 → 1.4.6

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.
@@ -440,7 +440,7 @@ export declare const companyContract: {
440
440
  error?: any;
441
441
  }>;
442
442
  };
443
- path: "cs/companies";
443
+ path: "cs/company";
444
444
  };
445
445
  update: {
446
446
  body: z.ZodObject<{
@@ -882,7 +882,7 @@ export declare const companyContract: {
882
882
  error?: any;
883
883
  }>;
884
884
  };
885
- path: "cs/companies/:id";
885
+ path: "cs/company/:id";
886
886
  };
887
887
  delete: {
888
888
  body: null;
@@ -958,7 +958,7 @@ export declare const companyContract: {
958
958
  error?: any;
959
959
  }>;
960
960
  };
961
- path: "cs/companies/:id";
961
+ path: "cs/company/:id";
962
962
  };
963
963
  getById: {
964
964
  summary: "Get a company by id";
@@ -1311,7 +1311,7 @@ export declare const companyContract: {
1311
1311
  error?: any;
1312
1312
  }>;
1313
1313
  };
1314
- path: "cs/companies/:id";
1314
+ path: "ccs/api/v1/company/:id";
1315
1315
  };
1316
1316
  getAll: {
1317
1317
  summary: "Get all companies";
@@ -1720,7 +1720,7 @@ export declare const companyContract: {
1720
1720
  error?: any;
1721
1721
  }>;
1722
1722
  };
1723
- path: "cs/companies";
1723
+ path: "ccs/api/v1/company";
1724
1724
  };
1725
1725
  };
1726
1726
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/company/index.ts"],"names":[],"mappings":"AAOA,OAAO,CAAC,MAAM,KAAK,CAAC;AACpB,OAAO,EAAE,gCAAgC,EAAE,MAAM,cAAc,CAAC;AAChE,OAAO,EAAE,wBAAwB,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEnE,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AACpD,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,C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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0H1B,CAAC"}
@@ -38453,7 +38453,7 @@ export declare const apiContract: {
38453
38453
  error?: any;
38454
38454
  }>;
38455
38455
  };
38456
- path: "cs/companies";
38456
+ path: "cs/company";
38457
38457
  };
38458
38458
  update: {
38459
38459
  body: import("zod").ZodObject<{
@@ -38895,7 +38895,7 @@ export declare const apiContract: {
38895
38895
  error?: any;
38896
38896
  }>;
38897
38897
  };
38898
- path: "cs/companies/:id";
38898
+ path: "cs/company/:id";
38899
38899
  };
38900
38900
  delete: {
38901
38901
  body: null;
@@ -38971,7 +38971,7 @@ export declare const apiContract: {
38971
38971
  error?: any;
38972
38972
  }>;
38973
38973
  };
38974
- path: "cs/companies/:id";
38974
+ path: "cs/company/:id";
38975
38975
  };
38976
38976
  getById: {
38977
38977
  summary: "Get a company by id";
@@ -39324,7 +39324,7 @@ export declare const apiContract: {
39324
39324
  error?: any;
39325
39325
  }>;
39326
39326
  };
39327
- path: "cs/companies/:id";
39327
+ path: "ccs/api/v1/company/:id";
39328
39328
  };
39329
39329
  getAll: {
39330
39330
  summary: "Get all companies";
@@ -39733,7 +39733,7 @@ export declare const apiContract: {
39733
39733
  error?: any;
39734
39734
  }>;
39735
39735
  };
39736
- path: "cs/companies";
39736
+ path: "ccs/api/v1/company";
39737
39737
  };
39738
39738
  };
39739
39739
  evaluateForm: {
@@ -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;