@nexeraid/identity-schemas 2.32.0-dev → 2.33.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"}
@@ -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,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexeraid/identity-schemas",
3
- "version": "2.32.0-dev",
3
+ "version": "2.33.0-dev",
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.32.0-dev",
3
+ "version": "2.33.0-dev",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "ISC",