@tmlmobilidade/types 20251218.110.37 → 20251222.1537.24
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.
|
@@ -46,33 +46,26 @@ export declare const CreateVerificationTokenSchema: z.ZodObject<Omit<Omit<{
|
|
|
46
46
|
expires_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
47
47
|
token: z.ZodString;
|
|
48
48
|
user_id: z.ZodString;
|
|
49
|
-
}, "_id" | "created_at" | "updated_at">, "strip", z.ZodTypeAny, {
|
|
49
|
+
}, "_id" | "created_at" | "created_by" | "updated_at" | "updated_by">, "strip", z.ZodTypeAny, {
|
|
50
50
|
expires_at: number & {
|
|
51
51
|
__brand: "UnixTimestamp";
|
|
52
52
|
};
|
|
53
53
|
token: string;
|
|
54
54
|
user_id: string;
|
|
55
|
-
created_by?: string | undefined;
|
|
56
|
-
updated_by?: string | undefined;
|
|
57
55
|
}, {
|
|
58
56
|
expires_at: number;
|
|
59
57
|
token: string;
|
|
60
58
|
user_id: string;
|
|
61
|
-
created_by?: string | undefined;
|
|
62
|
-
updated_by?: string | undefined;
|
|
63
59
|
}>;
|
|
64
60
|
export declare const UpdateVerificationTokenSchema: z.ZodObject<{
|
|
65
|
-
updated_by: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
66
61
|
expires_at: z.ZodOptional<z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>>;
|
|
67
62
|
token: z.ZodOptional<z.ZodString>;
|
|
68
63
|
user_id: z.ZodOptional<z.ZodString>;
|
|
69
64
|
}, "strip", z.ZodTypeAny, {
|
|
70
|
-
updated_by?: string | undefined;
|
|
71
65
|
expires_at?: import("../_common/unix-timestamp.js").UnixTimestamp | undefined;
|
|
72
66
|
token?: string | undefined;
|
|
73
67
|
user_id?: string | undefined;
|
|
74
68
|
}, {
|
|
75
|
-
updated_by?: string | undefined;
|
|
76
69
|
expires_at?: number | undefined;
|
|
77
70
|
token?: string | undefined;
|
|
78
71
|
user_id?: string | undefined;
|
|
@@ -10,5 +10,5 @@ export const VerificationTokenSchema = DocumentSchema
|
|
|
10
10
|
token: z.string(),
|
|
11
11
|
user_id: z.string(),
|
|
12
12
|
});
|
|
13
|
-
export const CreateVerificationTokenSchema = VerificationTokenSchema.omit({ _id: true, created_at: true, updated_at: true });
|
|
14
|
-
export const UpdateVerificationTokenSchema = CreateVerificationTokenSchema.
|
|
13
|
+
export const CreateVerificationTokenSchema = VerificationTokenSchema.omit({ _id: true, created_at: true, created_by: true, updated_at: true, updated_by: true });
|
|
14
|
+
export const UpdateVerificationTokenSchema = CreateVerificationTokenSchema.partial();
|