@kl1/contracts 1.4.16 → 1.4.18

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.js CHANGED
@@ -3523,10 +3523,26 @@ var BaseSchema = import_zod47.default.object({
3523
3523
  var CompanyContractsValidationSchema = {
3524
3524
  create: {
3525
3525
  request: import_zod47.default.object({
3526
- name: import_zod47.default.object({ value: import_zod47.default.string() }),
3527
- phone: import_zod47.default.object({ value: import_zod47.default.string() }),
3528
- address: import_zod47.default.object({ value: import_zod47.default.string() }),
3529
- industry: import_zod47.default.object({ value: import_zod47.default.string() }),
3526
+ name: import_zod47.default.object({
3527
+ value: import_zod47.default.string(),
3528
+ isRequired: import_zod47.default.boolean(),
3529
+ attributeId: import_zod47.default.string()
3530
+ }),
3531
+ phone: import_zod47.default.object({
3532
+ value: import_zod47.default.string(),
3533
+ isRequired: import_zod47.default.boolean(),
3534
+ attributeId: import_zod47.default.string()
3535
+ }),
3536
+ address: import_zod47.default.object({
3537
+ value: import_zod47.default.string(),
3538
+ isRequired: import_zod47.default.boolean(),
3539
+ attributeId: import_zod47.default.string()
3540
+ }),
3541
+ industry: import_zod47.default.object({
3542
+ value: import_zod47.default.string(),
3543
+ isRequired: import_zod47.default.boolean(),
3544
+ attributeId: import_zod47.default.string()
3545
+ }),
3530
3546
  customFields: import_zod47.default.array(
3531
3547
  BaseSchema.extend({
3532
3548
  value: import_zod47.default.union([import_zod47.default.string(), import_zod47.default.array(import_zod47.default.string())]),
@@ -3598,7 +3614,7 @@ var companyContract = (0, import_core10.initContract)().router({
3598
3614
  },
3599
3615
  update: {
3600
3616
  method: "PATCH",
3601
- path: "cs/company/:id",
3617
+ path: "ccs/api/v1/company/:id",
3602
3618
  pathParams: import_zod48.default.object({
3603
3619
  id: import_zod48.default.string().uuid()
3604
3620
  }),
@@ -4025,7 +4041,7 @@ var contactContract = (0, import_core11.initContract)().router(
4025
4041
  },
4026
4042
  update: {
4027
4043
  method: "PATCH",
4028
- path: "cs/contact/:id",
4044
+ path: "ccs/api/v1/contact/:id",
4029
4045
  pathParams: ContactContractValidationSchema.getById.request,
4030
4046
  responses: {
4031
4047
  200: DefaultSuccessResponseSchema.extend({