@nexeraid/identity-schemas 2.227.0-atlas-dev → 2.228.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.
Files changed (47) hide show
  1. package/dist/declarations/src/config.schema.d.ts +2 -5
  2. package/dist/declarations/src/config.schema.d.ts.map +1 -1
  3. package/dist/declarations/src/identity/app-requests.schema.d.ts +37 -37
  4. package/dist/declarations/src/identity/identity-v2.schema.d.ts +9 -9
  5. package/dist/declarations/src/identity/kyc.schema.d.ts +9 -9
  6. package/dist/declarations/src/identity/scenario.schema.d.ts +37 -39
  7. package/dist/declarations/src/identity/scenario.schema.d.ts.map +1 -1
  8. package/dist/declarations/src/identity-ids.schema.d.ts +1 -9
  9. package/dist/declarations/src/identity-ids.schema.d.ts.map +1 -1
  10. package/dist/declarations/src/providers/kyc-sessions.schema.d.ts +37 -37
  11. package/dist/declarations/src/webhooks/svix.webhooks.schema.d.ts +3 -3
  12. package/dist/declarations/src/webhooks/svix.webhooks.schema.d.ts.map +1 -1
  13. package/dist/{identity-api.schema-b5ecad59.cjs.prod.cjs → identity-api.schema-22479123.cjs.prod.cjs} +10 -4
  14. package/dist/{identity-api.schema-16c8ebc4.cjs.dev.cjs → identity-api.schema-9219adfe.cjs.dev.cjs} +10 -4
  15. package/dist/{identity-api.schema-5fcf143b.esm.mjs → identity-api.schema-c6bbbb27.esm.mjs} +10 -4
  16. package/dist/nexeraid-identity-schemas.cjs.dev.cjs +5 -9
  17. package/dist/nexeraid-identity-schemas.cjs.prod.cjs +5 -9
  18. package/dist/nexeraid-identity-schemas.esm.mjs +7 -7
  19. package/dist/package.json +1 -1
  20. package/dist/{tfhe-utilities-101f5dad.esm.mjs → tfhe-utilities-08c929ca.esm.mjs} +2 -2
  21. package/dist/{tfhe-utilities-6c8461f8.cjs.prod.cjs → tfhe-utilities-108d026c.cjs.prod.cjs} +2 -2
  22. package/dist/{tfhe-utilities-eef65873.cjs.dev.cjs → tfhe-utilities-ed0af761.cjs.dev.cjs} +2 -2
  23. package/dist/{toArray-bd3d6a9d.esm.mjs → toArray-54402429.esm.mjs} +1 -1
  24. package/dist/{toArray-dd685560.cjs.dev.cjs → toArray-59648854.cjs.dev.cjs} +1 -1
  25. package/dist/{toArray-e476f120.cjs.prod.cjs → toArray-61daffcd.cjs.prod.cjs} +1 -1
  26. package/dist/{vault.schema-240efc8f.esm.mjs → vault.schema-3b31068c.esm.mjs} +5 -76
  27. package/dist/{vault.schema-0a12d450.cjs.prod.cjs → vault.schema-ab1fa38a.cjs.prod.cjs} +4 -79
  28. package/dist/{vault.schema-3f345e7f.cjs.dev.cjs → vault.schema-b7bd8197.cjs.dev.cjs} +4 -79
  29. package/dist/{veriff-webhook.schema-cfcfd2a2.cjs.dev.cjs → veriff-webhook.schema-06aa33c2.cjs.dev.cjs} +2 -2
  30. package/dist/{veriff-webhook.schema-041f06e0.esm.mjs → veriff-webhook.schema-b13df97f.esm.mjs} +2 -2
  31. package/dist/{veriff-webhook.schema-cf23046f.cjs.prod.cjs → veriff-webhook.schema-bfc852fe.cjs.prod.cjs} +2 -2
  32. package/identity/dist/nexeraid-identity-schemas-identity.cjs.dev.cjs +2 -2
  33. package/identity/dist/nexeraid-identity-schemas-identity.cjs.prod.cjs +2 -2
  34. package/identity/dist/nexeraid-identity-schemas-identity.esm.mjs +2 -2
  35. package/package.json +2 -2
  36. package/providers/dist/nexeraid-identity-schemas-providers.cjs.dev.cjs +3 -3
  37. package/providers/dist/nexeraid-identity-schemas-providers.cjs.prod.cjs +3 -3
  38. package/providers/dist/nexeraid-identity-schemas-providers.esm.mjs +3 -3
  39. package/vault/dist/nexeraid-identity-schemas-vault.cjs.dev.cjs +2 -2
  40. package/vault/dist/nexeraid-identity-schemas-vault.cjs.prod.cjs +2 -2
  41. package/vault/dist/nexeraid-identity-schemas-vault.esm.mjs +3 -3
  42. package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.dev.cjs +3 -3
  43. package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.prod.cjs +3 -3
  44. package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.esm.mjs +3 -3
  45. package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.dev.cjs +15 -9
  46. package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.prod.cjs +15 -9
  47. package/webhooks/dist/nexeraid-identity-schemas-webhooks.esm.mjs +15 -9
@@ -3,10 +3,10 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var z = require('zod');
6
- var vault_schema = require('../../dist/vault.schema-3f345e7f.cjs.dev.cjs');
7
- var identityApi_schema = require('../../dist/identity-api.schema-16c8ebc4.cjs.dev.cjs');
8
- var veriffWebhook_schema = require('../../dist/veriff-webhook.schema-cfcfd2a2.cjs.dev.cjs');
9
- var toArray = require('../../dist/toArray-dd685560.cjs.dev.cjs');
6
+ var vault_schema = require('../../dist/vault.schema-b7bd8197.cjs.dev.cjs');
7
+ var identityApi_schema = require('../../dist/identity-api.schema-9219adfe.cjs.dev.cjs');
8
+ var veriffWebhook_schema = require('../../dist/veriff-webhook.schema-06aa33c2.cjs.dev.cjs');
9
+ var toArray = require('../../dist/toArray-59648854.cjs.dev.cjs');
10
10
  var zodToJsonSchema = require('zod-to-json-schema');
11
11
  require('nanoid');
12
12
  require('decimal.js');
@@ -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({
@@ -730,11 +730,17 @@ var ListEventTypeOutput = z.z.object({
730
730
  iterator: z.z.string().optional(),
731
731
  prevIterator: z.z.string().optional()
732
732
  });
733
+
734
+ // Workstream C: webhook endpoint names are trimmed and bounded (mirrors the
735
+ // shared entityName(120); this package cannot import it without a cycle) and
736
+ // the delivery URL must be a valid URL. Endpoints live in Svix (no local
737
+ // table), so name uniqueness has no DB constraint here; recorded as a
738
+ // Workstream C deviation.
733
739
  var CreateEndpointInput = z.z.object({
734
740
  projectId: z.z.string(),
735
- name: z.z.string(),
741
+ name: z.z.string().trim().min(1, "Webhook name is required").max(120),
736
742
  eventTypes: z.z.array(WebhookEventType),
737
- url: z.z.string()
743
+ url: z.z.string().trim().url()
738
744
  });
739
745
  var CreateEndpointOutput = EndpointOut.optional();
740
746
  var ListEndpointsInput = z.z.object({
@@ -746,8 +752,8 @@ var ListResponseEndpointOut = z.z.object({
746
752
  var UpdateEndpointInput = z.z.object({
747
753
  projectId: z.z.string(),
748
754
  endpointId: z.z.string(),
749
- url: z.z.string(),
750
- name: z.z.string(),
755
+ url: z.z.string().trim().url(),
756
+ name: z.z.string().trim().min(1, "Webhook name is required").max(120),
751
757
  eventTypes: z.z.array(WebhookEventType).optional(),
752
758
  disabled: z.z["boolean"]().optional()
753
759
  });
@@ -3,10 +3,10 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var z = require('zod');
6
- var vault_schema = require('../../dist/vault.schema-0a12d450.cjs.prod.cjs');
7
- var identityApi_schema = require('../../dist/identity-api.schema-b5ecad59.cjs.prod.cjs');
8
- var veriffWebhook_schema = require('../../dist/veriff-webhook.schema-cf23046f.cjs.prod.cjs');
9
- var toArray = require('../../dist/toArray-e476f120.cjs.prod.cjs');
6
+ var vault_schema = require('../../dist/vault.schema-ab1fa38a.cjs.prod.cjs');
7
+ var identityApi_schema = require('../../dist/identity-api.schema-22479123.cjs.prod.cjs');
8
+ var veriffWebhook_schema = require('../../dist/veriff-webhook.schema-bfc852fe.cjs.prod.cjs');
9
+ var toArray = require('../../dist/toArray-61daffcd.cjs.prod.cjs');
10
10
  var zodToJsonSchema = require('zod-to-json-schema');
11
11
  require('nanoid');
12
12
  require('decimal.js');
@@ -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({
@@ -730,11 +730,17 @@ var ListEventTypeOutput = z.z.object({
730
730
  iterator: z.z.string().optional(),
731
731
  prevIterator: z.z.string().optional()
732
732
  });
733
+
734
+ // Workstream C: webhook endpoint names are trimmed and bounded (mirrors the
735
+ // shared entityName(120); this package cannot import it without a cycle) and
736
+ // the delivery URL must be a valid URL. Endpoints live in Svix (no local
737
+ // table), so name uniqueness has no DB constraint here; recorded as a
738
+ // Workstream C deviation.
733
739
  var CreateEndpointInput = z.z.object({
734
740
  projectId: z.z.string(),
735
- name: z.z.string(),
741
+ name: z.z.string().trim().min(1, "Webhook name is required").max(120),
736
742
  eventTypes: z.z.array(WebhookEventType),
737
- url: z.z.string()
743
+ url: z.z.string().trim().url()
738
744
  });
739
745
  var CreateEndpointOutput = EndpointOut.optional();
740
746
  var ListEndpointsInput = z.z.object({
@@ -746,8 +752,8 @@ var ListResponseEndpointOut = z.z.object({
746
752
  var UpdateEndpointInput = z.z.object({
747
753
  projectId: z.z.string(),
748
754
  endpointId: z.z.string(),
749
- url: z.z.string(),
750
- name: z.z.string(),
755
+ url: z.z.string().trim().url(),
756
+ name: z.z.string().trim().min(1, "Webhook name is required").max(120),
751
757
  eventTypes: z.z.array(WebhookEventType).optional(),
752
758
  disabled: z.z["boolean"]().optional()
753
759
  });
@@ -1,8 +1,8 @@
1
1
  import { z } from 'zod';
2
- import { aX as UuidString, ei as ExternalCustomerId, eg as WorkflowId, bf as RiskScoreType, bh as CustomerType, bn as CustomerOnboardingLevel, bp as CustomerStatus, b3 as ISO3CountryCode, au as BlockchainAddress, eC as GenericVerifiableCredentialSchema, gp as WalletScreeningData, e$ as TransactionTypes, f5 as TransactionReviewStatuses, gy as _toConsumableArray, aW as EnvironmentSchema } from '../../dist/vault.schema-240efc8f.esm.mjs';
3
- import { Y as RuleResultStatus } from '../../dist/identity-api.schema-5fcf143b.esm.mjs';
4
- import { M as MergedProviders, I as IpQualityServiceAnalysisResponse, C as ComplyAdvantageSearchResponse, a as ComplyAdvantageSearchErrorResponse, b as ComplyAdvantageSearchSuccessResponse } from '../../dist/veriff-webhook.schema-041f06e0.esm.mjs';
5
- import { _ as _toArray } from '../../dist/toArray-bd3d6a9d.esm.mjs';
2
+ import { aX as UuidString, ee as ExternalCustomerId, ec as WorkflowId, bf as RiskScoreType, bh as CustomerType, bn as CustomerOnboardingLevel, bp as CustomerStatus, b3 as ISO3CountryCode, au as BlockchainAddress, ey as GenericVerifiableCredentialSchema, gl as WalletScreeningData, eX as TransactionTypes, f1 as TransactionReviewStatuses, gu as _toConsumableArray, aW as EnvironmentSchema } from '../../dist/vault.schema-3b31068c.esm.mjs';
3
+ import { Y as RuleResultStatus } from '../../dist/identity-api.schema-c6bbbb27.esm.mjs';
4
+ import { M as MergedProviders, I as IpQualityServiceAnalysisResponse, C as ComplyAdvantageSearchResponse, a as ComplyAdvantageSearchErrorResponse, b as ComplyAdvantageSearchSuccessResponse } from '../../dist/veriff-webhook.schema-b13df97f.esm.mjs';
5
+ import { _ as _toArray } from '../../dist/toArray-54402429.esm.mjs';
6
6
  import { zodToJsonSchema } from 'zod-to-json-schema';
7
7
  import 'nanoid';
8
8
  import 'decimal.js';
@@ -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({
@@ -726,11 +726,17 @@ var ListEventTypeOutput = z.object({
726
726
  iterator: z.string().optional(),
727
727
  prevIterator: z.string().optional()
728
728
  });
729
+
730
+ // Workstream C: webhook endpoint names are trimmed and bounded (mirrors the
731
+ // shared entityName(120); this package cannot import it without a cycle) and
732
+ // the delivery URL must be a valid URL. Endpoints live in Svix (no local
733
+ // table), so name uniqueness has no DB constraint here; recorded as a
734
+ // Workstream C deviation.
729
735
  var CreateEndpointInput = z.object({
730
736
  projectId: z.string(),
731
- name: z.string(),
737
+ name: z.string().trim().min(1, "Webhook name is required").max(120),
732
738
  eventTypes: z.array(WebhookEventType),
733
- url: z.string()
739
+ url: z.string().trim().url()
734
740
  });
735
741
  var CreateEndpointOutput = EndpointOut.optional();
736
742
  var ListEndpointsInput = z.object({
@@ -742,8 +748,8 @@ var ListResponseEndpointOut = z.object({
742
748
  var UpdateEndpointInput = z.object({
743
749
  projectId: z.string(),
744
750
  endpointId: z.string(),
745
- url: z.string(),
746
- name: z.string(),
751
+ url: z.string().trim().url(),
752
+ name: z.string().trim().min(1, "Webhook name is required").max(120),
747
753
  eventTypes: z.array(WebhookEventType).optional(),
748
754
  disabled: z["boolean"]().optional()
749
755
  });