@nexeraid/identity-schemas 2.32.0-dev → 2.36.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.
@@ -0,0 +1,41 @@
1
+ import { z } from "zod";
2
+ export declare const AWS_WEBHOOK_TYPES: readonly ["SubscriptionConfirmation", "Notification"];
3
+ export declare const AwsWebhookTypes: z.ZodEnum<["SubscriptionConfirmation", "Notification"]>;
4
+ export declare const AwsWebhookInput: z.ZodObject<{
5
+ Type: z.ZodEnum<["SubscriptionConfirmation", "Notification"]>;
6
+ MessageId: z.ZodString;
7
+ TopicArn: z.ZodString;
8
+ Subject: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ Message: z.ZodString;
10
+ Timestamp: z.ZodString;
11
+ SignatureVersion: z.ZodString;
12
+ Signature: z.ZodString;
13
+ SigningCertURL: z.ZodString;
14
+ UnsubscribeURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ SubscribeURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ }, "strip", z.ZodTypeAny, {
17
+ Timestamp: string;
18
+ Type: "SubscriptionConfirmation" | "Notification";
19
+ MessageId: string;
20
+ TopicArn: string;
21
+ Message: string;
22
+ SignatureVersion: string;
23
+ Signature: string;
24
+ SigningCertURL: string;
25
+ Subject?: string | null | undefined;
26
+ UnsubscribeURL?: string | null | undefined;
27
+ SubscribeURL?: string | null | undefined;
28
+ }, {
29
+ Timestamp: string;
30
+ Type: "SubscriptionConfirmation" | "Notification";
31
+ MessageId: string;
32
+ TopicArn: string;
33
+ Message: string;
34
+ SignatureVersion: string;
35
+ Signature: string;
36
+ SigningCertURL: string;
37
+ Subject?: string | null | undefined;
38
+ UnsubscribeURL?: string | null | undefined;
39
+ SubscribeURL?: string | null | undefined;
40
+ }>;
41
+ //# sourceMappingURL=aws-webhook.schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aws-webhook.schema.d.ts","sourceRoot":"../../../src","sources":["aws-webhook.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,iBAAiB,uDAGpB,CAAC;AAEX,eAAO,MAAM,eAAe,yDAA4B,CAAC;AAEzD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAY1B,CAAC"}
@@ -12,4 +12,5 @@ export * from "./nexeraSSID.schema.js";
12
12
  export * from "./verifiable-credentials/index.js";
13
13
  export * from "./tag.schema.js";
14
14
  export * from "./transaction.schema.js";
15
+ export * from "./aws-webhook.schema.js";
15
16
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"../../../src","sources":["index.ts"],"names":[],"mappings":"AAEA,sCAA6B;AAC7B,mCAAgC;AAChC,qCAAkC;AAClC,mCAAgC;AAChC,sCAAmC;AACnC,+CAA4C;AAC5C,qCAAkC;AAClC,yCAAsC;AACtC,oCAA2B;AAC3B,kCAA+B;AAC/B,uCAAoC;AAEpC,kDAAyC;AAEzC,gCAA6B;AAC7B,wCAAqC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"../../../src","sources":["index.ts"],"names":[],"mappings":"AAEA,sCAA6B;AAC7B,mCAAgC;AAChC,qCAAkC;AAClC,mCAAgC;AAChC,sCAAmC;AACnC,+CAA4C;AAC5C,qCAAkC;AAClC,yCAAsC;AACtC,oCAA2B;AAC3B,kCAA+B;AAC/B,uCAAoC;AAEpC,kDAAyC;AAEzC,gCAA6B;AAC7B,wCAAqC;AAErC,wCAAqC"}
@@ -0,0 +1,2 @@
1
+ export * from "./declarations/src/index.js";
2
+ //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmV4ZXJhaWQtaWRlbnRpdHktc2NoZW1hcy5janMuZC50cyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4vZGVjbGFyYXRpb25zL3NyYy9pbmRleC5kLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBIn0=
@@ -84,6 +84,22 @@ var Tag = zod.z.object({
84
84
  updatedAt: zod.z.coerce.date()
85
85
  });
86
86
 
87
+ var AWS_WEBHOOK_TYPES = ["SubscriptionConfirmation", "Notification"];
88
+ var AwsWebhookTypes = zod.z["enum"](AWS_WEBHOOK_TYPES);
89
+ var AwsWebhookInput = zod.z.object({
90
+ Type: AwsWebhookTypes,
91
+ MessageId: zod.z.string(),
92
+ TopicArn: zod.z.string(),
93
+ Subject: zod.z.string().nullish(),
94
+ Message: zod.z.string(),
95
+ Timestamp: zod.z.string(),
96
+ SignatureVersion: zod.z.string(),
97
+ Signature: zod.z.string(),
98
+ SigningCertURL: zod.z.string(),
99
+ UnsubscribeURL: zod.z.string().nullish(),
100
+ SubscribeURL: zod.z.string().nullish()
101
+ });
102
+
87
103
  exports.ACTIVE_APTOS_CHAIN_IDS = identityApi_schema.ACTIVE_APTOS_CHAIN_IDS;
88
104
  exports.ACTIVE_BITCOIN_CHAIN_IDS = identityApi_schema.ACTIVE_BITCOIN_CHAIN_IDS;
89
105
  exports.ACTIVE_CARDANO_CHAIN_IDS = identityApi_schema.ACTIVE_CARDANO_CHAIN_IDS;
@@ -524,6 +540,9 @@ exports.VC_JSON_SCHEMA_MAP = frontendUtilities_schema.VC_JSON_SCHEMA_MAP;
524
540
  exports.cleanObject = frontendUtilities_schema.cleanObject;
525
541
  exports.getAvailableFields = frontendUtilities_schema.getAvailableFields;
526
542
  exports.getCredentialSchemaLocation = frontendUtilities_schema.getCredentialSchemaLocation;
543
+ exports.AWS_WEBHOOK_TYPES = AWS_WEBHOOK_TYPES;
544
+ exports.AwsWebhookInput = AwsWebhookInput;
545
+ exports.AwsWebhookTypes = AwsWebhookTypes;
527
546
  exports.DownloadableKycSchema = DownloadableKycSchema;
528
547
  exports.EncryptedKycKey = EncryptedKycKey;
529
548
  exports.EncryptedVerifiableCredentialDataSchema = EncryptedVerifiableCredentialDataSchema;
@@ -84,6 +84,22 @@ var Tag = zod.z.object({
84
84
  updatedAt: zod.z.coerce.date()
85
85
  });
86
86
 
87
+ var AWS_WEBHOOK_TYPES = ["SubscriptionConfirmation", "Notification"];
88
+ var AwsWebhookTypes = zod.z["enum"](AWS_WEBHOOK_TYPES);
89
+ var AwsWebhookInput = zod.z.object({
90
+ Type: AwsWebhookTypes,
91
+ MessageId: zod.z.string(),
92
+ TopicArn: zod.z.string(),
93
+ Subject: zod.z.string().nullish(),
94
+ Message: zod.z.string(),
95
+ Timestamp: zod.z.string(),
96
+ SignatureVersion: zod.z.string(),
97
+ Signature: zod.z.string(),
98
+ SigningCertURL: zod.z.string(),
99
+ UnsubscribeURL: zod.z.string().nullish(),
100
+ SubscribeURL: zod.z.string().nullish()
101
+ });
102
+
87
103
  exports.ACTIVE_APTOS_CHAIN_IDS = identityApi_schema.ACTIVE_APTOS_CHAIN_IDS;
88
104
  exports.ACTIVE_BITCOIN_CHAIN_IDS = identityApi_schema.ACTIVE_BITCOIN_CHAIN_IDS;
89
105
  exports.ACTIVE_CARDANO_CHAIN_IDS = identityApi_schema.ACTIVE_CARDANO_CHAIN_IDS;
@@ -524,6 +540,9 @@ exports.VC_JSON_SCHEMA_MAP = frontendUtilities_schema.VC_JSON_SCHEMA_MAP;
524
540
  exports.cleanObject = frontendUtilities_schema.cleanObject;
525
541
  exports.getAvailableFields = frontendUtilities_schema.getAvailableFields;
526
542
  exports.getCredentialSchemaLocation = frontendUtilities_schema.getCredentialSchemaLocation;
543
+ exports.AWS_WEBHOOK_TYPES = AWS_WEBHOOK_TYPES;
544
+ exports.AwsWebhookInput = AwsWebhookInput;
545
+ exports.AwsWebhookTypes = AwsWebhookTypes;
527
546
  exports.DownloadableKycSchema = DownloadableKycSchema;
528
547
  exports.EncryptedKycKey = EncryptedKycKey;
529
548
  exports.EncryptedVerifiableCredentialDataSchema = EncryptedVerifiableCredentialDataSchema;
@@ -81,4 +81,20 @@ var Tag = z.object({
81
81
  updatedAt: z.coerce.date()
82
82
  });
83
83
 
84
- export { DownloadableKycSchema, EncryptedKycKey, EncryptedVerifiableCredentialDataSchema, EncryptedVerifiableCredentialSchema, ImageUploadResponseSchema, MAX_MEDIA_FILE_SIZE, MediaDataSchema, Tag, TypeTag, TypeTags };
84
+ var AWS_WEBHOOK_TYPES = ["SubscriptionConfirmation", "Notification"];
85
+ var AwsWebhookTypes = z["enum"](AWS_WEBHOOK_TYPES);
86
+ var AwsWebhookInput = z.object({
87
+ Type: AwsWebhookTypes,
88
+ MessageId: z.string(),
89
+ TopicArn: z.string(),
90
+ Subject: z.string().nullish(),
91
+ Message: z.string(),
92
+ Timestamp: z.string(),
93
+ SignatureVersion: z.string(),
94
+ Signature: z.string(),
95
+ SigningCertURL: z.string(),
96
+ UnsubscribeURL: z.string().nullish(),
97
+ SubscribeURL: z.string().nullish()
98
+ });
99
+
100
+ export { AWS_WEBHOOK_TYPES, AwsWebhookInput, AwsWebhookTypes, DownloadableKycSchema, EncryptedKycKey, EncryptedVerifiableCredentialDataSchema, EncryptedVerifiableCredentialSchema, ImageUploadResponseSchema, MAX_MEDIA_FILE_SIZE, MediaDataSchema, Tag, TypeTag, TypeTags };
package/dist/package.json CHANGED
@@ -1,41 +1,46 @@
1
1
  {
2
2
  "name": "@nexeraid/identity-schemas",
3
- "version": "2.32.0-dev",
3
+ "version": "2.36.0",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "ISC",
7
7
  "author": "",
8
8
  "exports": {
9
9
  ".": {
10
+ "types": "./dist/nexeraid-identity-schemas.cjs.d.cts",
10
11
  "import": {
11
12
  "types": "./dist/nexeraid-identity-schemas.esm.d.mts",
12
13
  "default": "./dist/nexeraid-identity-schemas.esm.mjs"
13
14
  },
14
15
  "require": {
15
- "types": "./dist/nexeraid-identity-schemas.cjs.d.ts",
16
+ "types": "./dist/nexeraid-identity-schemas.cjs.d.cts",
16
17
  "default": "./dist/nexeraid-identity-schemas.cjs.cjs"
17
18
  }
18
19
  },
19
20
  "./identity": {
21
+ "types": "./identity/dist/nexeraid-identity-schemas-identity.cjs.d.cts",
20
22
  "import": "./identity/dist/nexeraid-identity-schemas-identity.esm.mjs",
21
23
  "require": "./identity/dist/nexeraid-identity-schemas-identity.cjs.cjs"
22
24
  },
23
25
  "./verifiable-credentials": {
26
+ "types": "./verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.d.cts",
24
27
  "import": "./verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.esm.mjs",
25
28
  "require": "./verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.cjs"
26
29
  },
27
30
  "./webhooks": {
31
+ "types": "./webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.d.cts",
28
32
  "import": "./webhooks/dist/nexeraid-identity-schemas-webhooks.esm.mjs",
29
33
  "require": "./webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.cjs"
30
34
  },
31
35
  "./providers": {
36
+ "types": "./providers/dist/nexeraid-identity-schemas-providers.cjs.d.cts",
32
37
  "import": "./providers/dist/nexeraid-identity-schemas-providers.esm.mjs",
33
38
  "require": "./providers/dist/nexeraid-identity-schemas-providers.cjs.cjs"
34
39
  }
35
40
  },
36
41
  "main": "dist/nexeraid-identity-schemas.cjs.cjs",
37
42
  "module": "dist/nexeraid-identity-schemas.esm.mjs",
38
- "types": "dist/nexeraid-identity-schemas.cjs.d.ts",
43
+ "types": "dist/nexeraid-identity-schemas.cjs.d.cts",
39
44
  "files": [
40
45
  "/dist",
41
46
  "identity",
@@ -0,0 +1,2 @@
1
+ export * from "../../dist/declarations/src/identity/index.js";
2
+ //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmV4ZXJhaWQtaWRlbnRpdHktc2NoZW1hcy1pZGVudGl0eS5janMuZC50cyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL2Rpc3QvZGVjbGFyYXRpb25zL3NyYy9pZGVudGl0eS9pbmRleC5kLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBIn0=
@@ -0,0 +1,2 @@
1
+ export * from "../../dist/declarations/src/identity/index.js";
2
+ //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmV4ZXJhaWQtaWRlbnRpdHktc2NoZW1hcy1pZGVudGl0eS5janMuZC50cyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL2Rpc3QvZGVjbGFyYXRpb25zL3NyYy9pZGVudGl0eS9pbmRleC5kLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBIn0=
@@ -1,4 +1,5 @@
1
1
  {
2
+ "types": "dist/nexeraid-identity-schemas-identity.cjs.d.cts",
2
3
  "main": "dist/nexeraid-identity-schemas-identity.cjs.cjs",
3
4
  "module": "dist/nexeraid-identity-schemas-identity.esm.mjs"
4
5
  }
package/package.json CHANGED
@@ -1,41 +1,46 @@
1
1
  {
2
2
  "name": "@nexeraid/identity-schemas",
3
- "version": "2.32.0-dev",
3
+ "version": "2.36.0-dev",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "ISC",
7
7
  "author": "",
8
8
  "exports": {
9
9
  ".": {
10
+ "types": "./dist/nexeraid-identity-schemas.cjs.d.cts",
10
11
  "import": {
11
12
  "types": "./dist/nexeraid-identity-schemas.esm.d.mts",
12
13
  "default": "./dist/nexeraid-identity-schemas.esm.mjs"
13
14
  },
14
15
  "require": {
15
- "types": "./dist/nexeraid-identity-schemas.cjs.d.ts",
16
+ "types": "./dist/nexeraid-identity-schemas.cjs.d.cts",
16
17
  "default": "./dist/nexeraid-identity-schemas.cjs.cjs"
17
18
  }
18
19
  },
19
20
  "./identity": {
21
+ "types": "./identity/dist/nexeraid-identity-schemas-identity.cjs.d.cts",
20
22
  "import": "./identity/dist/nexeraid-identity-schemas-identity.esm.mjs",
21
23
  "require": "./identity/dist/nexeraid-identity-schemas-identity.cjs.cjs"
22
24
  },
23
25
  "./verifiable-credentials": {
26
+ "types": "./verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.d.cts",
24
27
  "import": "./verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.esm.mjs",
25
28
  "require": "./verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.cjs"
26
29
  },
27
30
  "./webhooks": {
31
+ "types": "./webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.d.cts",
28
32
  "import": "./webhooks/dist/nexeraid-identity-schemas-webhooks.esm.mjs",
29
33
  "require": "./webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.cjs"
30
34
  },
31
35
  "./providers": {
36
+ "types": "./providers/dist/nexeraid-identity-schemas-providers.cjs.d.cts",
32
37
  "import": "./providers/dist/nexeraid-identity-schemas-providers.esm.mjs",
33
38
  "require": "./providers/dist/nexeraid-identity-schemas-providers.cjs.cjs"
34
39
  }
35
40
  },
36
41
  "main": "dist/nexeraid-identity-schemas.cjs.cjs",
37
42
  "module": "dist/nexeraid-identity-schemas.esm.mjs",
38
- "types": "dist/nexeraid-identity-schemas.cjs.d.ts",
43
+ "types": "dist/nexeraid-identity-schemas.cjs.d.cts",
39
44
  "files": [
40
45
  "/dist",
41
46
  "identity",
@@ -0,0 +1,2 @@
1
+ export * from "../../dist/declarations/src/providers/index.js";
2
+ //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmV4ZXJhaWQtaWRlbnRpdHktc2NoZW1hcy1wcm92aWRlcnMuY2pzLmQudHMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9kaXN0L2RlY2xhcmF0aW9ucy9zcmMvcHJvdmlkZXJzL2luZGV4LmQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEifQ==
@@ -0,0 +1,2 @@
1
+ export * from "../../dist/declarations/src/providers/index.js";
2
+ //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmV4ZXJhaWQtaWRlbnRpdHktc2NoZW1hcy1wcm92aWRlcnMuY2pzLmQudHMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9kaXN0L2RlY2xhcmF0aW9ucy9zcmMvcHJvdmlkZXJzL2luZGV4LmQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEifQ==
@@ -1,4 +1,5 @@
1
1
  {
2
+ "types": "dist/nexeraid-identity-schemas-providers.cjs.d.cts",
2
3
  "main": "dist/nexeraid-identity-schemas-providers.cjs.cjs",
3
4
  "module": "dist/nexeraid-identity-schemas-providers.esm.mjs"
4
5
  }
@@ -0,0 +1,2 @@
1
+ export * from "../../dist/declarations/src/verifiable-credentials/index.js";
2
+ //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmV4ZXJhaWQtaWRlbnRpdHktc2NoZW1hcy12ZXJpZmlhYmxlLWNyZWRlbnRpYWxzLmNqcy5kLnRzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vZGlzdC9kZWNsYXJhdGlvbnMvc3JjL3ZlcmlmaWFibGUtY3JlZGVudGlhbHMvaW5kZXguZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSJ9
@@ -0,0 +1,2 @@
1
+ export * from "../../dist/declarations/src/verifiable-credentials/index.js";
2
+ //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmV4ZXJhaWQtaWRlbnRpdHktc2NoZW1hcy12ZXJpZmlhYmxlLWNyZWRlbnRpYWxzLmNqcy5kLnRzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vZGlzdC9kZWNsYXJhdGlvbnMvc3JjL3ZlcmlmaWFibGUtY3JlZGVudGlhbHMvaW5kZXguZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSJ9
@@ -1,4 +1,5 @@
1
1
  {
2
+ "types": "dist/nexeraid-identity-schemas-verifiable-credentials.cjs.d.cts",
2
3
  "main": "dist/nexeraid-identity-schemas-verifiable-credentials.cjs.cjs",
3
4
  "module": "dist/nexeraid-identity-schemas-verifiable-credentials.esm.mjs"
4
5
  }
@@ -0,0 +1,2 @@
1
+ export * from "../../dist/declarations/src/webhooks/index.js";
2
+ //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmV4ZXJhaWQtaWRlbnRpdHktc2NoZW1hcy13ZWJob29rcy5janMuZC50cyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL2Rpc3QvZGVjbGFyYXRpb25zL3NyYy93ZWJob29rcy9pbmRleC5kLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBIn0=
@@ -0,0 +1,2 @@
1
+ export * from "../../dist/declarations/src/webhooks/index.js";
2
+ //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmV4ZXJhaWQtaWRlbnRpdHktc2NoZW1hcy13ZWJob29rcy5janMuZC50cyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL2Rpc3QvZGVjbGFyYXRpb25zL3NyYy93ZWJob29rcy9pbmRleC5kLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBIn0=
@@ -1,4 +1,5 @@
1
1
  {
2
+ "types": "dist/nexeraid-identity-schemas-webhooks.cjs.d.cts",
2
3
  "main": "dist/nexeraid-identity-schemas-webhooks.cjs.cjs",
3
4
  "module": "dist/nexeraid-identity-schemas-webhooks.esm.mjs"
4
5
  }