@nexeraid/identity-schemas 2.226.0 → 2.227.0-dev

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexeraid/identity-schemas",
3
- "version": "2.226.0",
3
+ "version": "2.227.0",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "ISC",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexeraid/identity-schemas",
3
- "version": "2.226.0",
3
+ "version": "2.227.0-dev",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "ISC",
@@ -67,7 +67,7 @@
67
67
  "remeda": "^2.31.0",
68
68
  "zod": "^3.25.76",
69
69
  "zod-to-json-schema": "^3.24.6",
70
- "@nexeraid/logger": "2.35.3"
70
+ "@nexeraid/logger": "2.35.3-dev"
71
71
  },
72
72
  "devDependencies": {
73
73
  "@types/bun": "^1.3.6",
@@ -643,7 +643,7 @@ var EndpointHandlingForm = z.z.object({
643
643
  }).url({
644
644
  message: "Provided URL is not valid"
645
645
  }),
646
- name: z.z.string().min(1, {
646
+ name: z.z.string().trim().min(1, {
647
647
  message: "Webhook name is required!"
648
648
  }),
649
649
  webhooks: z.z.object({
@@ -732,7 +732,7 @@ var ListEventTypeOutput = z.z.object({
732
732
  });
733
733
  var CreateEndpointInput = z.z.object({
734
734
  projectId: z.z.string(),
735
- name: z.z.string(),
735
+ name: z.z.string().trim().min(1, "Webhook name is required"),
736
736
  eventTypes: z.z.array(WebhookEventType),
737
737
  url: z.z.string()
738
738
  });
@@ -747,7 +747,7 @@ var UpdateEndpointInput = z.z.object({
747
747
  projectId: z.z.string(),
748
748
  endpointId: z.z.string(),
749
749
  url: z.z.string(),
750
- name: z.z.string(),
750
+ name: z.z.string().trim().min(1, "Webhook name is required"),
751
751
  eventTypes: z.z.array(WebhookEventType).optional(),
752
752
  disabled: z.z["boolean"]().optional()
753
753
  });
@@ -643,7 +643,7 @@ var EndpointHandlingForm = z.z.object({
643
643
  }).url({
644
644
  message: "Provided URL is not valid"
645
645
  }),
646
- name: z.z.string().min(1, {
646
+ name: z.z.string().trim().min(1, {
647
647
  message: "Webhook name is required!"
648
648
  }),
649
649
  webhooks: z.z.object({
@@ -732,7 +732,7 @@ var ListEventTypeOutput = z.z.object({
732
732
  });
733
733
  var CreateEndpointInput = z.z.object({
734
734
  projectId: z.z.string(),
735
- name: z.z.string(),
735
+ name: z.z.string().trim().min(1, "Webhook name is required"),
736
736
  eventTypes: z.z.array(WebhookEventType),
737
737
  url: z.z.string()
738
738
  });
@@ -747,7 +747,7 @@ var UpdateEndpointInput = z.z.object({
747
747
  projectId: z.z.string(),
748
748
  endpointId: z.z.string(),
749
749
  url: z.z.string(),
750
- name: z.z.string(),
750
+ name: z.z.string().trim().min(1, "Webhook name is required"),
751
751
  eventTypes: z.z.array(WebhookEventType).optional(),
752
752
  disabled: z.z["boolean"]().optional()
753
753
  });
@@ -639,7 +639,7 @@ var EndpointHandlingForm = z.object({
639
639
  }).url({
640
640
  message: "Provided URL is not valid"
641
641
  }),
642
- name: z.string().min(1, {
642
+ name: z.string().trim().min(1, {
643
643
  message: "Webhook name is required!"
644
644
  }),
645
645
  webhooks: z.object({
@@ -728,7 +728,7 @@ var ListEventTypeOutput = z.object({
728
728
  });
729
729
  var CreateEndpointInput = z.object({
730
730
  projectId: z.string(),
731
- name: z.string(),
731
+ name: z.string().trim().min(1, "Webhook name is required"),
732
732
  eventTypes: z.array(WebhookEventType),
733
733
  url: z.string()
734
734
  });
@@ -743,7 +743,7 @@ var UpdateEndpointInput = z.object({
743
743
  projectId: z.string(),
744
744
  endpointId: z.string(),
745
745
  url: z.string(),
746
- name: z.string(),
746
+ name: z.string().trim().min(1, "Webhook name is required"),
747
747
  eventTypes: z.array(WebhookEventType).optional(),
748
748
  disabled: z["boolean"]().optional()
749
749
  });