@nexeraid/identity-schemas 1.12.21-dev → 1.12.23-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 (81) hide show
  1. package/dist/chainalysis.schema-9e5926b9.esm.js +2316 -0
  2. package/dist/chainalysis.schema-a9079d73.cjs.prod.js +2582 -0
  3. package/dist/chainalysis.schema-ab6cda47.cjs.dev.js +2582 -0
  4. package/dist/declarations/src/index.d.ts +4 -4
  5. package/dist/declarations/src/index.d.ts.map +1 -1
  6. package/dist/declarations/src/nexeraSSID.schema.d.ts.map +1 -1
  7. package/dist/declarations/src/providers/big/BIGBitRankVerifiedScore.schema.d.ts +1735 -0
  8. package/dist/declarations/src/providers/big/BIGBitRankVerifiedScore.schema.d.ts.map +1 -0
  9. package/dist/declarations/src/providers/chainalysis/chainalysis.schema.d.ts +759 -0
  10. package/dist/declarations/src/providers/chainalysis/chainalysis.schema.d.ts.map +1 -0
  11. package/dist/declarations/src/providers/comply-advantage/comply-advantage.schema.d.ts +5735 -0
  12. package/dist/declarations/src/providers/comply-advantage/comply-advantage.schema.d.ts.map +1 -0
  13. package/dist/declarations/src/providers/customers.schema.d.ts +92 -0
  14. package/dist/declarations/src/providers/customers.schema.d.ts.map +1 -0
  15. package/dist/declarations/src/providers/index.d.ts +16 -0
  16. package/dist/declarations/src/providers/index.d.ts.map +1 -0
  17. package/dist/declarations/src/providers/ipquality/ipquality.schema.d.ts +1582 -0
  18. package/dist/declarations/src/providers/ipquality/ipquality.schema.d.ts.map +1 -0
  19. package/dist/declarations/src/providers/kyb-sessions.schema.d.ts +307 -0
  20. package/dist/declarations/src/providers/kyb-sessions.schema.d.ts.map +1 -0
  21. package/dist/declarations/src/providers/kyc-sessions.schema.d.ts +969 -0
  22. package/dist/declarations/src/providers/kyc-sessions.schema.d.ts.map +1 -0
  23. package/dist/declarations/src/providers/merkle-science/merkle-science.schema.d.ts +604 -0
  24. package/dist/declarations/src/providers/merkle-science/merkle-science.schema.d.ts.map +1 -0
  25. package/dist/declarations/src/providers/provider.schema.d.ts +10861 -0
  26. package/dist/declarations/src/providers/provider.schema.d.ts.map +1 -0
  27. package/dist/declarations/src/providers/scorechain/scorechain.schema.d.ts +3991 -0
  28. package/dist/declarations/src/providers/scorechain/scorechain.schema.d.ts.map +1 -0
  29. package/dist/declarations/src/providers/sumsub/sumsub-applicant.schema.d.ts +6460 -0
  30. package/dist/declarations/src/providers/sumsub/sumsub-applicant.schema.d.ts.map +1 -0
  31. package/dist/declarations/src/providers/sumsub/sumsub-reject.schema.d.ts +12 -0
  32. package/dist/declarations/src/providers/sumsub/sumsub-reject.schema.d.ts.map +1 -0
  33. package/dist/declarations/src/providers/sumsub/sumsub-webhooks.schema.d.ts +187 -0
  34. package/dist/declarations/src/providers/sumsub/sumsub-webhooks.schema.d.ts.map +1 -0
  35. package/dist/declarations/src/providers/sumsub/sumsub.schema.d.ts +314 -0
  36. package/dist/declarations/src/providers/sumsub/sumsub.schema.d.ts.map +1 -0
  37. package/dist/declarations/src/providers/synaps/synaps.schema.d.ts +4071 -0
  38. package/dist/declarations/src/providers/synaps/synaps.schema.d.ts.map +1 -0
  39. package/dist/declarations/src/webhooks/alert.schema.d.ts +98 -0
  40. package/dist/declarations/src/webhooks/alert.schema.d.ts.map +1 -0
  41. package/dist/declarations/src/webhooks/alert.webhooks.schema.d.ts +43 -0
  42. package/dist/declarations/src/webhooks/alert.webhooks.schema.d.ts.map +1 -0
  43. package/dist/declarations/src/webhooks/customer.webhooks.schema.d.ts +479 -0
  44. package/dist/declarations/src/webhooks/customer.webhooks.schema.d.ts.map +1 -0
  45. package/dist/declarations/src/webhooks/index.d.ts +7 -0
  46. package/dist/declarations/src/webhooks/index.d.ts.map +1 -0
  47. package/dist/declarations/src/webhooks/scenario-webhook.schema.d.ts +195 -0
  48. package/dist/declarations/src/webhooks/scenario-webhook.schema.d.ts.map +1 -0
  49. package/dist/declarations/src/webhooks/send-verification-flow-webhook.schema.d.ts +12605 -0
  50. package/dist/declarations/src/webhooks/send-verification-flow-webhook.schema.d.ts.map +1 -0
  51. package/dist/declarations/src/webhooks/svix.webhooks.schema.d.ts +53321 -0
  52. package/dist/declarations/src/webhooks/svix.webhooks.schema.d.ts.map +1 -0
  53. package/dist/{frontend-utilities.schema-516dc42c.cjs.prod.js → frontend-utilities.schema-9951d168.cjs.prod.js} +1 -1
  54. package/dist/{frontend-utilities.schema-d572735d.esm.js → frontend-utilities.schema-c150e92a.esm.js} +1 -1
  55. package/dist/{frontend-utilities.schema-87bffa68.cjs.dev.js → frontend-utilities.schema-c3ccca7b.cjs.dev.js} +1 -1
  56. package/dist/{identity-api.schema-bf6bbbf4.cjs.prod.js → identity-api.schema-181d93d3.cjs.prod.js} +1267 -1271
  57. package/dist/{identity-api.schema-25e04205.esm.js → identity-api.schema-2df73bbd.esm.js} +1266 -1272
  58. package/dist/{identity-api.schema-4615eb5b.cjs.dev.js → identity-api.schema-8832ddec.cjs.dev.js} +1267 -1271
  59. package/dist/nexeraid-identity-schemas.cjs.dev.js +2 -2
  60. package/dist/nexeraid-identity-schemas.cjs.prod.js +2 -2
  61. package/dist/nexeraid-identity-schemas.esm.js +3 -3
  62. package/dist/package.json +15 -3
  63. package/identity/dist/nexeraid-identity-schemas-identity.cjs.dev.js +1 -1
  64. package/identity/dist/nexeraid-identity-schemas-identity.cjs.prod.js +1 -1
  65. package/identity/dist/nexeraid-identity-schemas-identity.esm.js +1 -1
  66. package/package.json +15 -3
  67. package/providers/dist/nexeraid-identity-schemas-providers.cjs.d.ts +2 -0
  68. package/providers/dist/nexeraid-identity-schemas-providers.cjs.dev.js +276 -0
  69. package/providers/dist/nexeraid-identity-schemas-providers.cjs.js +7 -0
  70. package/providers/dist/nexeraid-identity-schemas-providers.cjs.prod.js +276 -0
  71. package/providers/dist/nexeraid-identity-schemas-providers.esm.js +4 -0
  72. package/providers/package.json +4 -0
  73. package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.dev.js +2 -2
  74. package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.prod.js +2 -2
  75. package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.esm.js +2 -2
  76. package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.d.ts +2 -0
  77. package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.dev.js +662 -0
  78. package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.js +7 -0
  79. package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.prod.js +662 -0
  80. package/webhooks/dist/nexeraid-identity-schemas-webhooks.esm.js +580 -0
  81. package/webhooks/package.json +4 -0
@@ -0,0 +1,195 @@
1
+ import { z } from "zod";
2
+ export declare const ScenarioWebhookPayloadSchema: z.ZodObject<{
3
+ customerId: z.ZodString;
4
+ externalCustomerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5
+ address: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `0x${string}`, string>, z.ZodUnion<[z.ZodEffects<z.ZodString, `tz${string}`, string>, z.ZodEffects<z.ZodString, `KT1${string}`, string>]>, z.ZodEffects<z.ZodString, string, string>, z.ZodString, z.ZodEffects<z.ZodString, string, string>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `cosmos${string}`, string>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `addr${string}`, string>]>>>;
6
+ result: z.ZodEnum<["valid", "not-valid", "error", "unknown"]>;
7
+ executionId: z.ZodString;
8
+ scenarios: z.ZodArray<z.ZodObject<{
9
+ scenarioId: z.ZodString;
10
+ result: z.ZodArray<z.ZodObject<{
11
+ objectId: z.ZodString;
12
+ result: z.ZodObject<{
13
+ is_valid: z.ZodBoolean;
14
+ reasons: z.ZodArray<z.ZodUnknown, "many">;
15
+ }, "strip", z.ZodTypeAny, {
16
+ is_valid: boolean;
17
+ reasons: unknown[];
18
+ }, {
19
+ is_valid: boolean;
20
+ reasons: unknown[];
21
+ }>;
22
+ }, "strip", z.ZodTypeAny, {
23
+ result: {
24
+ is_valid: boolean;
25
+ reasons: unknown[];
26
+ };
27
+ objectId: string;
28
+ }, {
29
+ result: {
30
+ is_valid: boolean;
31
+ reasons: unknown[];
32
+ };
33
+ objectId: string;
34
+ }>, "many">;
35
+ }, "strip", z.ZodTypeAny, {
36
+ result: {
37
+ result: {
38
+ is_valid: boolean;
39
+ reasons: unknown[];
40
+ };
41
+ objectId: string;
42
+ }[];
43
+ scenarioId: string;
44
+ }, {
45
+ result: {
46
+ result: {
47
+ is_valid: boolean;
48
+ reasons: unknown[];
49
+ };
50
+ objectId: string;
51
+ }[];
52
+ scenarioId: string;
53
+ }>, "many">;
54
+ data: z.ZodArray<z.ZodObject<{
55
+ id: z.ZodString;
56
+ "@context": z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
57
+ type: z.ZodArray<z.ZodString, "many">;
58
+ expirationDate: z.ZodOptional<z.ZodString>;
59
+ issuanceDate: z.ZodOptional<z.ZodString>;
60
+ credentialSubject: z.ZodRecord<z.ZodString, z.ZodAny>;
61
+ credentialStatus: z.ZodObject<{
62
+ id: z.ZodString;
63
+ type: z.ZodEnum<["SparseMerkleTreeProof", "Iden3ReverseSparseMerkleTreeProof", "Iden3commRevocationStatusV1.0", "Iden3OnchainSparseMerkleTreeProof2023"]>;
64
+ revocationNonce: z.ZodOptional<z.ZodNumber>;
65
+ }, "strip", z.ZodTypeAny, {
66
+ id: string;
67
+ type: "SparseMerkleTreeProof" | "Iden3ReverseSparseMerkleTreeProof" | "Iden3commRevocationStatusV1.0" | "Iden3OnchainSparseMerkleTreeProof2023";
68
+ revocationNonce?: number | undefined;
69
+ }, {
70
+ id: string;
71
+ type: "SparseMerkleTreeProof" | "Iden3ReverseSparseMerkleTreeProof" | "Iden3commRevocationStatusV1.0" | "Iden3OnchainSparseMerkleTreeProof2023";
72
+ revocationNonce?: number | undefined;
73
+ }>;
74
+ issuer: z.ZodString;
75
+ credentialSchema: z.ZodObject<{
76
+ id: z.ZodString;
77
+ type: z.ZodString;
78
+ }, "strip", z.ZodTypeAny, {
79
+ id: string;
80
+ type: string;
81
+ }, {
82
+ id: string;
83
+ type: string;
84
+ }>;
85
+ proof: z.ZodAny;
86
+ }, "strip", z.ZodTypeAny, {
87
+ id: string;
88
+ type: string[];
89
+ credentialSubject: Record<string, any>;
90
+ credentialStatus: {
91
+ id: string;
92
+ type: "SparseMerkleTreeProof" | "Iden3ReverseSparseMerkleTreeProof" | "Iden3commRevocationStatusV1.0" | "Iden3OnchainSparseMerkleTreeProof2023";
93
+ revocationNonce?: number | undefined;
94
+ };
95
+ issuer: string;
96
+ credentialSchema: {
97
+ id: string;
98
+ type: string;
99
+ };
100
+ "@context"?: string[] | undefined;
101
+ expirationDate?: string | undefined;
102
+ issuanceDate?: string | undefined;
103
+ proof?: any;
104
+ }, {
105
+ id: string;
106
+ type: string[];
107
+ credentialSubject: Record<string, any>;
108
+ credentialStatus: {
109
+ id: string;
110
+ type: "SparseMerkleTreeProof" | "Iden3ReverseSparseMerkleTreeProof" | "Iden3commRevocationStatusV1.0" | "Iden3OnchainSparseMerkleTreeProof2023";
111
+ revocationNonce?: number | undefined;
112
+ };
113
+ issuer: string;
114
+ credentialSchema: {
115
+ id: string;
116
+ type: string;
117
+ };
118
+ "@context"?: string[] | undefined;
119
+ expirationDate?: string | undefined;
120
+ issuanceDate?: string | undefined;
121
+ proof?: any;
122
+ }>, "many">;
123
+ }, "strip", z.ZodTypeAny, {
124
+ data: {
125
+ id: string;
126
+ type: string[];
127
+ credentialSubject: Record<string, any>;
128
+ credentialStatus: {
129
+ id: string;
130
+ type: "SparseMerkleTreeProof" | "Iden3ReverseSparseMerkleTreeProof" | "Iden3commRevocationStatusV1.0" | "Iden3OnchainSparseMerkleTreeProof2023";
131
+ revocationNonce?: number | undefined;
132
+ };
133
+ issuer: string;
134
+ credentialSchema: {
135
+ id: string;
136
+ type: string;
137
+ };
138
+ "@context"?: string[] | undefined;
139
+ expirationDate?: string | undefined;
140
+ issuanceDate?: string | undefined;
141
+ proof?: any;
142
+ }[];
143
+ result: "valid" | "unknown" | "not-valid" | "error";
144
+ customerId: string;
145
+ executionId: string;
146
+ scenarios: {
147
+ result: {
148
+ result: {
149
+ is_valid: boolean;
150
+ reasons: unknown[];
151
+ };
152
+ objectId: string;
153
+ }[];
154
+ scenarioId: string;
155
+ }[];
156
+ address?: string | null | undefined;
157
+ externalCustomerId?: string | null | undefined;
158
+ }, {
159
+ data: {
160
+ id: string;
161
+ type: string[];
162
+ credentialSubject: Record<string, any>;
163
+ credentialStatus: {
164
+ id: string;
165
+ type: "SparseMerkleTreeProof" | "Iden3ReverseSparseMerkleTreeProof" | "Iden3commRevocationStatusV1.0" | "Iden3OnchainSparseMerkleTreeProof2023";
166
+ revocationNonce?: number | undefined;
167
+ };
168
+ issuer: string;
169
+ credentialSchema: {
170
+ id: string;
171
+ type: string;
172
+ };
173
+ "@context"?: string[] | undefined;
174
+ expirationDate?: string | undefined;
175
+ issuanceDate?: string | undefined;
176
+ proof?: any;
177
+ }[];
178
+ result: "valid" | "unknown" | "not-valid" | "error";
179
+ customerId: string;
180
+ executionId: string;
181
+ scenarios: {
182
+ result: {
183
+ result: {
184
+ is_valid: boolean;
185
+ reasons: unknown[];
186
+ };
187
+ objectId: string;
188
+ }[];
189
+ scenarioId: string;
190
+ }[];
191
+ address?: string | null | undefined;
192
+ externalCustomerId?: string | null | undefined;
193
+ }>;
194
+ export type ScenarioWebhookPayload = z.infer<typeof ScenarioWebhookPayloadSchema>;
195
+ //# sourceMappingURL=scenario-webhook.schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scenario-webhook.schema.d.ts","sourceRoot":"../../../../src/webhooks","sources":["scenario-webhook.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsBvC,CAAC;AAEH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAC1C,OAAO,4BAA4B,CACpC,CAAC"}