@nexeraprotocol/nexera-id-schemas
Advanced tools
Comparing version 1.0.9 to 1.0.10
@@ -76,9 +76,14 @@ 'use strict'; | ||
DateType: zod.z.string(), | ||
Day: zod.z.number()["int"](), | ||
Month: zod.z.number()["int"](), | ||
Year: zod.z.number()["int"]() | ||
Day: zod.z.number()["int"]().optional(), | ||
Month: zod.z.number()["int"]().optional(), | ||
Year: zod.z.number()["int"]().optional() | ||
}) | ||
}), | ||
IdentityInformation: zod.z.string(), | ||
SanctionsPositions: zod.z.string() | ||
SanctionsPositions: zod.z.object({ | ||
GlobalSanctionsPosition: zod.z.array(zod.z.object({ | ||
Position: zod.z.string(), | ||
Country: zod.z.string() | ||
})) | ||
}) | ||
})), | ||
@@ -88,3 +93,3 @@ sanctionsEnforcementsResult: zod.z.array(zod.z.object({ | ||
SanctionsBodies: zod.z.object({ | ||
"a:string": zod.z.number()["int"]() | ||
"a:string": zod.z.array(zod.z.number()["int"]()) | ||
}), | ||
@@ -105,5 +110,5 @@ Aliases: zod.z.object({ | ||
DateType: zod.z.string(), | ||
Day: zod.z.number()["int"](), | ||
Month: zod.z.number()["int"](), | ||
Year: zod.z.number()["int"]() | ||
Day: zod.z.number()["int"]().optional(), | ||
Month: zod.z.number()["int"]().optional(), | ||
Year: zod.z.number()["int"]().optional() | ||
}) | ||
@@ -172,9 +177,14 @@ }), | ||
DateType: zod.z.string(), | ||
Day: zod.z.number()["int"](), | ||
Month: zod.z.number()["int"](), | ||
Year: zod.z.number()["int"]() | ||
Day: zod.z.number()["int"]().optional(), | ||
Month: zod.z.number()["int"]().optional(), | ||
Year: zod.z.number()["int"]().optional() | ||
}) | ||
}), | ||
IdentityInformation: zod.z.string(), | ||
SanctionsPositions: zod.z.string() | ||
SanctionsPositions: zod.z.object({ | ||
GlobalSanctionsPosition: zod.z.array(zod.z.object({ | ||
Position: zod.z.string(), | ||
Country: zod.z.string() | ||
})) | ||
}) | ||
})), | ||
@@ -184,3 +194,3 @@ sanctionsEnforcementsResult: zod.z.array(zod.z.object({ | ||
SanctionsBodies: zod.z.object({ | ||
"a:string": zod.z.number()["int"]() | ||
"a:string": zod.z.array(zod.z.number()["int"]()) | ||
}), | ||
@@ -201,5 +211,5 @@ Aliases: zod.z.object({ | ||
DateType: zod.z.string(), | ||
Day: zod.z.number()["int"](), | ||
Month: zod.z.number()["int"](), | ||
Year: zod.z.number()["int"]() | ||
Day: zod.z.number()["int"]().optional(), | ||
Month: zod.z.number()["int"]().optional(), | ||
Year: zod.z.number()["int"]().optional() | ||
}) | ||
@@ -297,3 +307,3 @@ }), | ||
"ID3-v6": { | ||
url: "https://raw.githubusercontent.com/NexeraProtocol/vc-schemas/feat/add-id3-missing-fields/examples/id3/v6/id3.json", | ||
url: "https://raw.githubusercontent.com/NexeraProtocol/vc-schemas/main/examples/id3/v6/id3.json", | ||
zod: ID3_6CredentialSubjectSchema | ||
@@ -300,0 +310,0 @@ }, |
@@ -76,9 +76,14 @@ 'use strict'; | ||
DateType: zod.z.string(), | ||
Day: zod.z.number()["int"](), | ||
Month: zod.z.number()["int"](), | ||
Year: zod.z.number()["int"]() | ||
Day: zod.z.number()["int"]().optional(), | ||
Month: zod.z.number()["int"]().optional(), | ||
Year: zod.z.number()["int"]().optional() | ||
}) | ||
}), | ||
IdentityInformation: zod.z.string(), | ||
SanctionsPositions: zod.z.string() | ||
SanctionsPositions: zod.z.object({ | ||
GlobalSanctionsPosition: zod.z.array(zod.z.object({ | ||
Position: zod.z.string(), | ||
Country: zod.z.string() | ||
})) | ||
}) | ||
})), | ||
@@ -88,3 +93,3 @@ sanctionsEnforcementsResult: zod.z.array(zod.z.object({ | ||
SanctionsBodies: zod.z.object({ | ||
"a:string": zod.z.number()["int"]() | ||
"a:string": zod.z.array(zod.z.number()["int"]()) | ||
}), | ||
@@ -105,5 +110,5 @@ Aliases: zod.z.object({ | ||
DateType: zod.z.string(), | ||
Day: zod.z.number()["int"](), | ||
Month: zod.z.number()["int"](), | ||
Year: zod.z.number()["int"]() | ||
Day: zod.z.number()["int"]().optional(), | ||
Month: zod.z.number()["int"]().optional(), | ||
Year: zod.z.number()["int"]().optional() | ||
}) | ||
@@ -172,9 +177,14 @@ }), | ||
DateType: zod.z.string(), | ||
Day: zod.z.number()["int"](), | ||
Month: zod.z.number()["int"](), | ||
Year: zod.z.number()["int"]() | ||
Day: zod.z.number()["int"]().optional(), | ||
Month: zod.z.number()["int"]().optional(), | ||
Year: zod.z.number()["int"]().optional() | ||
}) | ||
}), | ||
IdentityInformation: zod.z.string(), | ||
SanctionsPositions: zod.z.string() | ||
SanctionsPositions: zod.z.object({ | ||
GlobalSanctionsPosition: zod.z.array(zod.z.object({ | ||
Position: zod.z.string(), | ||
Country: zod.z.string() | ||
})) | ||
}) | ||
})), | ||
@@ -184,3 +194,3 @@ sanctionsEnforcementsResult: zod.z.array(zod.z.object({ | ||
SanctionsBodies: zod.z.object({ | ||
"a:string": zod.z.number()["int"]() | ||
"a:string": zod.z.array(zod.z.number()["int"]()) | ||
}), | ||
@@ -201,5 +211,5 @@ Aliases: zod.z.object({ | ||
DateType: zod.z.string(), | ||
Day: zod.z.number()["int"](), | ||
Month: zod.z.number()["int"](), | ||
Year: zod.z.number()["int"]() | ||
Day: zod.z.number()["int"]().optional(), | ||
Month: zod.z.number()["int"]().optional(), | ||
Year: zod.z.number()["int"]().optional() | ||
}) | ||
@@ -297,3 +307,3 @@ }), | ||
"ID3-v6": { | ||
url: "https://raw.githubusercontent.com/NexeraProtocol/vc-schemas/feat/add-id3-missing-fields/examples/id3/v6/id3.json", | ||
url: "https://raw.githubusercontent.com/NexeraProtocol/vc-schemas/main/examples/id3/v6/id3.json", | ||
zod: ID3_6CredentialSubjectSchema | ||
@@ -300,0 +310,0 @@ }, |
@@ -72,9 +72,14 @@ import { z } from 'zod'; | ||
DateType: z.string(), | ||
Day: z.number()["int"](), | ||
Month: z.number()["int"](), | ||
Year: z.number()["int"]() | ||
Day: z.number()["int"]().optional(), | ||
Month: z.number()["int"]().optional(), | ||
Year: z.number()["int"]().optional() | ||
}) | ||
}), | ||
IdentityInformation: z.string(), | ||
SanctionsPositions: z.string() | ||
SanctionsPositions: z.object({ | ||
GlobalSanctionsPosition: z.array(z.object({ | ||
Position: z.string(), | ||
Country: z.string() | ||
})) | ||
}) | ||
})), | ||
@@ -84,3 +89,3 @@ sanctionsEnforcementsResult: z.array(z.object({ | ||
SanctionsBodies: z.object({ | ||
"a:string": z.number()["int"]() | ||
"a:string": z.array(z.number()["int"]()) | ||
}), | ||
@@ -101,5 +106,5 @@ Aliases: z.object({ | ||
DateType: z.string(), | ||
Day: z.number()["int"](), | ||
Month: z.number()["int"](), | ||
Year: z.number()["int"]() | ||
Day: z.number()["int"]().optional(), | ||
Month: z.number()["int"]().optional(), | ||
Year: z.number()["int"]().optional() | ||
}) | ||
@@ -168,9 +173,14 @@ }), | ||
DateType: z.string(), | ||
Day: z.number()["int"](), | ||
Month: z.number()["int"](), | ||
Year: z.number()["int"]() | ||
Day: z.number()["int"]().optional(), | ||
Month: z.number()["int"]().optional(), | ||
Year: z.number()["int"]().optional() | ||
}) | ||
}), | ||
IdentityInformation: z.string(), | ||
SanctionsPositions: z.string() | ||
SanctionsPositions: z.object({ | ||
GlobalSanctionsPosition: z.array(z.object({ | ||
Position: z.string(), | ||
Country: z.string() | ||
})) | ||
}) | ||
})), | ||
@@ -180,3 +190,3 @@ sanctionsEnforcementsResult: z.array(z.object({ | ||
SanctionsBodies: z.object({ | ||
"a:string": z.number()["int"]() | ||
"a:string": z.array(z.number()["int"]()) | ||
}), | ||
@@ -197,5 +207,5 @@ Aliases: z.object({ | ||
DateType: z.string(), | ||
Day: z.number()["int"](), | ||
Month: z.number()["int"](), | ||
Year: z.number()["int"]() | ||
Day: z.number()["int"]().optional(), | ||
Month: z.number()["int"]().optional(), | ||
Year: z.number()["int"]().optional() | ||
}) | ||
@@ -293,3 +303,3 @@ }), | ||
"ID3-v6": { | ||
url: "https://raw.githubusercontent.com/NexeraProtocol/vc-schemas/feat/add-id3-missing-fields/examples/id3/v6/id3.json", | ||
url: "https://raw.githubusercontent.com/NexeraProtocol/vc-schemas/main/examples/id3/v6/id3.json", | ||
zod: ID3_6CredentialSubjectSchema | ||
@@ -296,0 +306,0 @@ }, |
import { z } from "zod"; | ||
export declare const TransactionTypes: readonly ["mint_mnft", "deploy_smart_wallet", "create_rule", "assign_rule", "delete_rule", "transfer_to_smart_wallet", "transfer_from_smart_wallet", "transfer", "wrap", "unwrap", "create_approval", "delete_approval", "unknown", "approval", "mnft_recovery", "api"]; | ||
export declare const TransactionTypeSchema: z.ZodEnum<["mint_mnft", "deploy_smart_wallet", "create_rule", "assign_rule", "delete_rule", "transfer_to_smart_wallet", "transfer_from_smart_wallet", "transfer", "wrap", "unwrap", "create_approval", "delete_approval", "unknown", "approval", "mnft_recovery", "api"]>; | ||
export declare const TransactionTypes: readonly ["mint_mnft", "deploy_smart_wallet", "create_rule", "assign_rule", "delete_rule", "transfer_to_smart_wallet", "transfer_from_smart_wallet", "transfer", "wrap", "unwrap", "create_approval", "delete_approval", "unknown", "approval", "mnft_recovery", "api", "execute_action"]; | ||
export declare const TransactionTypeSchema: z.ZodEnum<["mint_mnft", "deploy_smart_wallet", "create_rule", "assign_rule", "delete_rule", "transfer_to_smart_wallet", "transfer_from_smart_wallet", "transfer", "wrap", "unwrap", "create_approval", "delete_approval", "unknown", "approval", "mnft_recovery", "api", "execute_action"]>; | ||
export type TransactionType = z.infer<typeof TransactionTypeSchema>; | ||
@@ -97,3 +97,3 @@ export declare const DecodedErrorSchema: z.ZodObject<{ | ||
date: z.ZodDate; | ||
type: z.ZodEnum<["mint_mnft", "deploy_smart_wallet", "create_rule", "assign_rule", "delete_rule", "transfer_to_smart_wallet", "transfer_from_smart_wallet", "transfer", "wrap", "unwrap", "create_approval", "delete_approval", "unknown", "approval", "mnft_recovery", "api"]>; | ||
type: z.ZodEnum<["mint_mnft", "deploy_smart_wallet", "create_rule", "assign_rule", "delete_rule", "transfer_to_smart_wallet", "transfer_from_smart_wallet", "transfer", "wrap", "unwrap", "create_approval", "delete_approval", "unknown", "approval", "mnft_recovery", "api", "execute_action"]>; | ||
unknownDetails: z.ZodOptional<z.ZodString>; | ||
@@ -104,10 +104,10 @@ chainId: z.ZodEffects<z.ZodEnum<[import("./index").NEXERA_CHAINS.FUJI, import("./index").NEXERA_CHAINS.MUMBAI]>, import("./index").NEXERA_CHAINS.MUMBAI | import("./index").NEXERA_CHAINS.FUJI, unknown>; | ||
txId: z.ZodString; | ||
type: z.ZodEnum<["mint_mnft", "deploy_smart_wallet", "create_rule", "assign_rule", "delete_rule", "transfer_to_smart_wallet", "transfer_from_smart_wallet", "transfer", "wrap", "unwrap", "create_approval", "delete_approval", "unknown", "approval", "mnft_recovery", "api"]>; | ||
type: z.ZodEnum<["mint_mnft", "deploy_smart_wallet", "create_rule", "assign_rule", "delete_rule", "transfer_to_smart_wallet", "transfer_from_smart_wallet", "transfer", "wrap", "unwrap", "create_approval", "delete_approval", "unknown", "approval", "mnft_recovery", "api", "execute_action"]>; | ||
status: z.ZodEnum<["CheckPending", "ApiPending", "ExecPending", "WaitingForConfirmation", "ExecSuccess", "Error", "Cancelled", "ExecReverted", "Blacklisted", "NotFound"]>; | ||
}, "strip", z.ZodTypeAny, { | ||
type: "unknown" | "mint_mnft" | "deploy_smart_wallet" | "create_rule" | "assign_rule" | "delete_rule" | "transfer_to_smart_wallet" | "transfer_from_smart_wallet" | "transfer" | "wrap" | "unwrap" | "create_approval" | "delete_approval" | "approval" | "mnft_recovery" | "api"; | ||
type: "unknown" | "mint_mnft" | "deploy_smart_wallet" | "create_rule" | "assign_rule" | "delete_rule" | "transfer_to_smart_wallet" | "transfer_from_smart_wallet" | "transfer" | "wrap" | "unwrap" | "create_approval" | "delete_approval" | "approval" | "mnft_recovery" | "api" | "execute_action"; | ||
status: "CheckPending" | "ApiPending" | "ExecPending" | "WaitingForConfirmation" | "ExecSuccess" | "Error" | "Cancelled" | "ExecReverted" | "Blacklisted" | "NotFound"; | ||
txId: string; | ||
}, { | ||
type: "unknown" | "mint_mnft" | "deploy_smart_wallet" | "create_rule" | "assign_rule" | "delete_rule" | "transfer_to_smart_wallet" | "transfer_from_smart_wallet" | "transfer" | "wrap" | "unwrap" | "create_approval" | "delete_approval" | "approval" | "mnft_recovery" | "api"; | ||
type: "unknown" | "mint_mnft" | "deploy_smart_wallet" | "create_rule" | "assign_rule" | "delete_rule" | "transfer_to_smart_wallet" | "transfer_from_smart_wallet" | "transfer" | "wrap" | "unwrap" | "create_approval" | "delete_approval" | "approval" | "mnft_recovery" | "api" | "execute_action"; | ||
status: "CheckPending" | "ApiPending" | "ExecPending" | "WaitingForConfirmation" | "ExecSuccess" | "Error" | "Cancelled" | "ExecReverted" | "Blacklisted" | "NotFound"; | ||
@@ -270,3 +270,3 @@ txId: string; | ||
message: string; | ||
type: "unknown" | "mint_mnft" | "deploy_smart_wallet" | "create_rule" | "assign_rule" | "delete_rule" | "transfer_to_smart_wallet" | "transfer_from_smart_wallet" | "transfer" | "wrap" | "unwrap" | "create_approval" | "delete_approval" | "approval" | "mnft_recovery" | "api"; | ||
type: "unknown" | "mint_mnft" | "deploy_smart_wallet" | "create_rule" | "assign_rule" | "delete_rule" | "transfer_to_smart_wallet" | "transfer_from_smart_wallet" | "transfer" | "wrap" | "unwrap" | "create_approval" | "delete_approval" | "approval" | "mnft_recovery" | "api" | "execute_action"; | ||
status: "apiPending" | "pending" | "subgraphPending" | "confirmed" | "failed" | "stored"; | ||
@@ -279,3 +279,3 @@ date: Date; | ||
apiData?: { | ||
type: "unknown" | "mint_mnft" | "deploy_smart_wallet" | "create_rule" | "assign_rule" | "delete_rule" | "transfer_to_smart_wallet" | "transfer_from_smart_wallet" | "transfer" | "wrap" | "unwrap" | "create_approval" | "delete_approval" | "approval" | "mnft_recovery" | "api"; | ||
type: "unknown" | "mint_mnft" | "deploy_smart_wallet" | "create_rule" | "assign_rule" | "delete_rule" | "transfer_to_smart_wallet" | "transfer_from_smart_wallet" | "transfer" | "wrap" | "unwrap" | "create_approval" | "delete_approval" | "approval" | "mnft_recovery" | "api" | "execute_action"; | ||
status: "CheckPending" | "ApiPending" | "ExecPending" | "WaitingForConfirmation" | "ExecSuccess" | "Error" | "Cancelled" | "ExecReverted" | "Blacklisted" | "NotFound"; | ||
@@ -330,3 +330,3 @@ txId: string; | ||
message: string; | ||
type: "unknown" | "mint_mnft" | "deploy_smart_wallet" | "create_rule" | "assign_rule" | "delete_rule" | "transfer_to_smart_wallet" | "transfer_from_smart_wallet" | "transfer" | "wrap" | "unwrap" | "create_approval" | "delete_approval" | "approval" | "mnft_recovery" | "api"; | ||
type: "unknown" | "mint_mnft" | "deploy_smart_wallet" | "create_rule" | "assign_rule" | "delete_rule" | "transfer_to_smart_wallet" | "transfer_from_smart_wallet" | "transfer" | "wrap" | "unwrap" | "create_approval" | "delete_approval" | "approval" | "mnft_recovery" | "api" | "execute_action"; | ||
status: "apiPending" | "pending" | "subgraphPending" | "confirmed" | "failed" | "stored"; | ||
@@ -339,3 +339,3 @@ date: Date; | ||
apiData?: { | ||
type: "unknown" | "mint_mnft" | "deploy_smart_wallet" | "create_rule" | "assign_rule" | "delete_rule" | "transfer_to_smart_wallet" | "transfer_from_smart_wallet" | "transfer" | "wrap" | "unwrap" | "create_approval" | "delete_approval" | "approval" | "mnft_recovery" | "api"; | ||
type: "unknown" | "mint_mnft" | "deploy_smart_wallet" | "create_rule" | "assign_rule" | "delete_rule" | "transfer_to_smart_wallet" | "transfer_from_smart_wallet" | "transfer" | "wrap" | "unwrap" | "create_approval" | "delete_approval" | "approval" | "mnft_recovery" | "api" | "execute_action"; | ||
status: "CheckPending" | "ApiPending" | "ExecPending" | "WaitingForConfirmation" | "ExecSuccess" | "Error" | "Cancelled" | "ExecReverted" | "Blacklisted" | "NotFound"; | ||
@@ -394,3 +394,3 @@ txId: string; | ||
date: z.ZodDate; | ||
type: z.ZodEnum<["mint_mnft", "deploy_smart_wallet", "create_rule", "assign_rule", "delete_rule", "transfer_to_smart_wallet", "transfer_from_smart_wallet", "transfer", "wrap", "unwrap", "create_approval", "delete_approval", "unknown", "approval", "mnft_recovery", "api"]>; | ||
type: z.ZodEnum<["mint_mnft", "deploy_smart_wallet", "create_rule", "assign_rule", "delete_rule", "transfer_to_smart_wallet", "transfer_from_smart_wallet", "transfer", "wrap", "unwrap", "create_approval", "delete_approval", "unknown", "approval", "mnft_recovery", "api", "execute_action"]>; | ||
unknownDetails: z.ZodOptional<z.ZodString>; | ||
@@ -401,10 +401,10 @@ chainId: z.ZodEffects<z.ZodEnum<[import("./index").NEXERA_CHAINS.FUJI, import("./index").NEXERA_CHAINS.MUMBAI]>, import("./index").NEXERA_CHAINS.MUMBAI | import("./index").NEXERA_CHAINS.FUJI, unknown>; | ||
txId: z.ZodString; | ||
type: z.ZodEnum<["mint_mnft", "deploy_smart_wallet", "create_rule", "assign_rule", "delete_rule", "transfer_to_smart_wallet", "transfer_from_smart_wallet", "transfer", "wrap", "unwrap", "create_approval", "delete_approval", "unknown", "approval", "mnft_recovery", "api"]>; | ||
type: z.ZodEnum<["mint_mnft", "deploy_smart_wallet", "create_rule", "assign_rule", "delete_rule", "transfer_to_smart_wallet", "transfer_from_smart_wallet", "transfer", "wrap", "unwrap", "create_approval", "delete_approval", "unknown", "approval", "mnft_recovery", "api", "execute_action"]>; | ||
status: z.ZodEnum<["CheckPending", "ApiPending", "ExecPending", "WaitingForConfirmation", "ExecSuccess", "Error", "Cancelled", "ExecReverted", "Blacklisted", "NotFound"]>; | ||
}, "strip", z.ZodTypeAny, { | ||
type: "unknown" | "mint_mnft" | "deploy_smart_wallet" | "create_rule" | "assign_rule" | "delete_rule" | "transfer_to_smart_wallet" | "transfer_from_smart_wallet" | "transfer" | "wrap" | "unwrap" | "create_approval" | "delete_approval" | "approval" | "mnft_recovery" | "api"; | ||
type: "unknown" | "mint_mnft" | "deploy_smart_wallet" | "create_rule" | "assign_rule" | "delete_rule" | "transfer_to_smart_wallet" | "transfer_from_smart_wallet" | "transfer" | "wrap" | "unwrap" | "create_approval" | "delete_approval" | "approval" | "mnft_recovery" | "api" | "execute_action"; | ||
status: "CheckPending" | "ApiPending" | "ExecPending" | "WaitingForConfirmation" | "ExecSuccess" | "Error" | "Cancelled" | "ExecReverted" | "Blacklisted" | "NotFound"; | ||
txId: string; | ||
}, { | ||
type: "unknown" | "mint_mnft" | "deploy_smart_wallet" | "create_rule" | "assign_rule" | "delete_rule" | "transfer_to_smart_wallet" | "transfer_from_smart_wallet" | "transfer" | "wrap" | "unwrap" | "create_approval" | "delete_approval" | "approval" | "mnft_recovery" | "api"; | ||
type: "unknown" | "mint_mnft" | "deploy_smart_wallet" | "create_rule" | "assign_rule" | "delete_rule" | "transfer_to_smart_wallet" | "transfer_from_smart_wallet" | "transfer" | "wrap" | "unwrap" | "create_approval" | "delete_approval" | "approval" | "mnft_recovery" | "api" | "execute_action"; | ||
status: "CheckPending" | "ApiPending" | "ExecPending" | "WaitingForConfirmation" | "ExecSuccess" | "Error" | "Cancelled" | "ExecReverted" | "Blacklisted" | "NotFound"; | ||
@@ -567,3 +567,3 @@ txId: string; | ||
message: string; | ||
type: "unknown" | "mint_mnft" | "deploy_smart_wallet" | "create_rule" | "assign_rule" | "delete_rule" | "transfer_to_smart_wallet" | "transfer_from_smart_wallet" | "transfer" | "wrap" | "unwrap" | "create_approval" | "delete_approval" | "approval" | "mnft_recovery" | "api"; | ||
type: "unknown" | "mint_mnft" | "deploy_smart_wallet" | "create_rule" | "assign_rule" | "delete_rule" | "transfer_to_smart_wallet" | "transfer_from_smart_wallet" | "transfer" | "wrap" | "unwrap" | "create_approval" | "delete_approval" | "approval" | "mnft_recovery" | "api" | "execute_action"; | ||
status: "apiPending" | "pending" | "subgraphPending" | "confirmed" | "failed" | "stored"; | ||
@@ -576,3 +576,3 @@ date: Date; | ||
apiData?: { | ||
type: "unknown" | "mint_mnft" | "deploy_smart_wallet" | "create_rule" | "assign_rule" | "delete_rule" | "transfer_to_smart_wallet" | "transfer_from_smart_wallet" | "transfer" | "wrap" | "unwrap" | "create_approval" | "delete_approval" | "approval" | "mnft_recovery" | "api"; | ||
type: "unknown" | "mint_mnft" | "deploy_smart_wallet" | "create_rule" | "assign_rule" | "delete_rule" | "transfer_to_smart_wallet" | "transfer_from_smart_wallet" | "transfer" | "wrap" | "unwrap" | "create_approval" | "delete_approval" | "approval" | "mnft_recovery" | "api" | "execute_action"; | ||
status: "CheckPending" | "ApiPending" | "ExecPending" | "WaitingForConfirmation" | "ExecSuccess" | "Error" | "Cancelled" | "ExecReverted" | "Blacklisted" | "NotFound"; | ||
@@ -627,3 +627,3 @@ txId: string; | ||
message: string; | ||
type: "unknown" | "mint_mnft" | "deploy_smart_wallet" | "create_rule" | "assign_rule" | "delete_rule" | "transfer_to_smart_wallet" | "transfer_from_smart_wallet" | "transfer" | "wrap" | "unwrap" | "create_approval" | "delete_approval" | "approval" | "mnft_recovery" | "api"; | ||
type: "unknown" | "mint_mnft" | "deploy_smart_wallet" | "create_rule" | "assign_rule" | "delete_rule" | "transfer_to_smart_wallet" | "transfer_from_smart_wallet" | "transfer" | "wrap" | "unwrap" | "create_approval" | "delete_approval" | "approval" | "mnft_recovery" | "api" | "execute_action"; | ||
status: "apiPending" | "pending" | "subgraphPending" | "confirmed" | "failed" | "stored"; | ||
@@ -636,3 +636,3 @@ date: Date; | ||
apiData?: { | ||
type: "unknown" | "mint_mnft" | "deploy_smart_wallet" | "create_rule" | "assign_rule" | "delete_rule" | "transfer_to_smart_wallet" | "transfer_from_smart_wallet" | "transfer" | "wrap" | "unwrap" | "create_approval" | "delete_approval" | "approval" | "mnft_recovery" | "api"; | ||
type: "unknown" | "mint_mnft" | "deploy_smart_wallet" | "create_rule" | "assign_rule" | "delete_rule" | "transfer_to_smart_wallet" | "transfer_from_smart_wallet" | "transfer" | "wrap" | "unwrap" | "create_approval" | "delete_approval" | "approval" | "mnft_recovery" | "api" | "execute_action"; | ||
status: "CheckPending" | "ApiPending" | "ExecPending" | "WaitingForConfirmation" | "ExecSuccess" | "Error" | "Cancelled" | "ExecReverted" | "Blacklisted" | "NotFound"; | ||
@@ -639,0 +639,0 @@ txId: string; |
{ | ||
"name": "@nexeraprotocol/nexera-id-schemas", | ||
"version": "1.0.9", | ||
"version": "1.0.10", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/nexeraprotocol-nexera-id-schemas.cjs.js", |
{ | ||
"name": "@nexeraprotocol/nexera-id-schemas", | ||
"version": "1.0.9", | ||
"version": "1.0.10", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/nexeraprotocol-nexera-id-schemas.cjs.js", |
@@ -9,3 +9,3 @@ 'use strict'; | ||
var TransactionTypes = ["mint_mnft", "deploy_smart_wallet", "create_rule", "assign_rule", "delete_rule", "transfer_to_smart_wallet", "transfer_from_smart_wallet", "transfer", "wrap", "unwrap", "create_approval", "delete_approval", "unknown", "approval", "mnft_recovery", "api"]; | ||
var TransactionTypes = ["mint_mnft", "deploy_smart_wallet", "create_rule", "assign_rule", "delete_rule", "transfer_to_smart_wallet", "transfer_from_smart_wallet", "transfer", "wrap", "unwrap", "create_approval", "delete_approval", "unknown", "approval", "mnft_recovery", "api", "execute_action"]; | ||
var TransactionTypeSchema = zod.z["enum"](TransactionTypes); | ||
@@ -12,0 +12,0 @@ var DecodedErrorSchema = zod.z.object({ |
@@ -9,3 +9,3 @@ 'use strict'; | ||
var TransactionTypes = ["mint_mnft", "deploy_smart_wallet", "create_rule", "assign_rule", "delete_rule", "transfer_to_smart_wallet", "transfer_from_smart_wallet", "transfer", "wrap", "unwrap", "create_approval", "delete_approval", "unknown", "approval", "mnft_recovery", "api"]; | ||
var TransactionTypes = ["mint_mnft", "deploy_smart_wallet", "create_rule", "assign_rule", "delete_rule", "transfer_to_smart_wallet", "transfer_from_smart_wallet", "transfer", "wrap", "unwrap", "create_approval", "delete_approval", "unknown", "approval", "mnft_recovery", "api", "execute_action"]; | ||
var TransactionTypeSchema = zod.z["enum"](TransactionTypes); | ||
@@ -12,0 +12,0 @@ var DecodedErrorSchema = zod.z.object({ |
@@ -5,3 +5,3 @@ import { z } from 'zod'; | ||
var TransactionTypes = ["mint_mnft", "deploy_smart_wallet", "create_rule", "assign_rule", "delete_rule", "transfer_to_smart_wallet", "transfer_from_smart_wallet", "transfer", "wrap", "unwrap", "create_approval", "delete_approval", "unknown", "approval", "mnft_recovery", "api"]; | ||
var TransactionTypes = ["mint_mnft", "deploy_smart_wallet", "create_rule", "assign_rule", "delete_rule", "transfer_to_smart_wallet", "transfer_from_smart_wallet", "transfer", "wrap", "unwrap", "create_approval", "delete_approval", "unknown", "approval", "mnft_recovery", "api", "execute_action"]; | ||
var TransactionTypeSchema = z["enum"](TransactionTypes); | ||
@@ -8,0 +8,0 @@ var DecodedErrorSchema = z.object({ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
462040
11453