lancer-shared 1.0.83 → 1.0.84
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.
|
@@ -2,6 +2,7 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const managerAccountProvider: z.ZodEnum<["user_provided", "lancer_provided"]>;
|
|
3
3
|
export declare const managerAccountSchema: z.ZodObject<{
|
|
4
4
|
id: z.ZodString;
|
|
5
|
+
provider: z.ZodEnum<["user_provided", "lancer_provided"]>;
|
|
5
6
|
email: z.ZodString;
|
|
6
7
|
password: z.ZodString;
|
|
7
8
|
cookies: z.ZodNullable<z.ZodArray<z.ZodAny, "many">>;
|
|
@@ -18,6 +19,7 @@ export declare const managerAccountSchema: z.ZodObject<{
|
|
|
18
19
|
cookies: any[] | null;
|
|
19
20
|
password: string;
|
|
20
21
|
isActive: boolean;
|
|
22
|
+
provider: "user_provided" | "lancer_provided";
|
|
21
23
|
proxy: string;
|
|
22
24
|
verified: boolean;
|
|
23
25
|
assignedOrganizations: string[];
|
|
@@ -29,6 +31,7 @@ export declare const managerAccountSchema: z.ZodObject<{
|
|
|
29
31
|
cookies: any[] | null;
|
|
30
32
|
password: string;
|
|
31
33
|
isActive: boolean;
|
|
34
|
+
provider: "user_provided" | "lancer_provided";
|
|
32
35
|
proxy: string;
|
|
33
36
|
verified: boolean;
|
|
34
37
|
assignedOrganizations: string[];
|
|
@@ -36,6 +39,7 @@ export declare const managerAccountSchema: z.ZodObject<{
|
|
|
36
39
|
}>;
|
|
37
40
|
export declare const createManagerAccountSchema: z.ZodObject<Pick<{
|
|
38
41
|
id: z.ZodString;
|
|
42
|
+
provider: z.ZodEnum<["user_provided", "lancer_provided"]>;
|
|
39
43
|
email: z.ZodString;
|
|
40
44
|
password: z.ZodString;
|
|
41
45
|
cookies: z.ZodNullable<z.ZodArray<z.ZodAny, "many">>;
|
|
@@ -45,11 +49,12 @@ export declare const createManagerAccountSchema: z.ZodObject<Pick<{
|
|
|
45
49
|
isActive: z.ZodBoolean;
|
|
46
50
|
assignedOrganizations: z.ZodArray<z.ZodString, "many">;
|
|
47
51
|
lastUsed: z.ZodNullable<z.ZodNumber>;
|
|
48
|
-
}, "email" | "status" | "password" | "isActive" | "proxy" | "verified">, "strip", z.ZodTypeAny, {
|
|
52
|
+
}, "email" | "status" | "password" | "isActive" | "provider" | "proxy" | "verified">, "strip", z.ZodTypeAny, {
|
|
49
53
|
email: string;
|
|
50
54
|
status: "suspended" | "verification_required" | "shadow_banned" | "healthy" | "banned";
|
|
51
55
|
password: string;
|
|
52
56
|
isActive: boolean;
|
|
57
|
+
provider: "user_provided" | "lancer_provided";
|
|
53
58
|
proxy: string;
|
|
54
59
|
verified: boolean;
|
|
55
60
|
}, {
|
|
@@ -57,6 +62,7 @@ export declare const createManagerAccountSchema: z.ZodObject<Pick<{
|
|
|
57
62
|
status: "suspended" | "verification_required" | "shadow_banned" | "healthy" | "banned";
|
|
58
63
|
password: string;
|
|
59
64
|
isActive: boolean;
|
|
65
|
+
provider: "user_provided" | "lancer_provided";
|
|
60
66
|
proxy: string;
|
|
61
67
|
verified: boolean;
|
|
62
68
|
}>;
|
|
@@ -66,6 +72,7 @@ export declare const updateManagerAccountSchema: z.ZodObject<{
|
|
|
66
72
|
cookies: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodAny, "many">>>;
|
|
67
73
|
password: z.ZodOptional<z.ZodString>;
|
|
68
74
|
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
75
|
+
provider: z.ZodOptional<z.ZodEnum<["user_provided", "lancer_provided"]>>;
|
|
69
76
|
proxy: z.ZodOptional<z.ZodString>;
|
|
70
77
|
verified: z.ZodOptional<z.ZodBoolean>;
|
|
71
78
|
assignedOrganizations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -76,6 +83,7 @@ export declare const updateManagerAccountSchema: z.ZodObject<{
|
|
|
76
83
|
cookies?: any[] | null | undefined;
|
|
77
84
|
password?: string | undefined;
|
|
78
85
|
isActive?: boolean | undefined;
|
|
86
|
+
provider?: "user_provided" | "lancer_provided" | undefined;
|
|
79
87
|
proxy?: string | undefined;
|
|
80
88
|
verified?: boolean | undefined;
|
|
81
89
|
assignedOrganizations?: string[] | undefined;
|
|
@@ -86,6 +94,7 @@ export declare const updateManagerAccountSchema: z.ZodObject<{
|
|
|
86
94
|
cookies?: any[] | null | undefined;
|
|
87
95
|
password?: string | undefined;
|
|
88
96
|
isActive?: boolean | undefined;
|
|
97
|
+
provider?: "user_provided" | "lancer_provided" | undefined;
|
|
89
98
|
proxy?: string | undefined;
|
|
90
99
|
verified?: boolean | undefined;
|
|
91
100
|
assignedOrganizations?: string[] | undefined;
|
|
@@ -9,6 +9,7 @@ exports.managerAccountProvider = zod_1.z.enum([
|
|
|
9
9
|
]);
|
|
10
10
|
exports.managerAccountSchema = zod_1.z.object({
|
|
11
11
|
id: zod_1.z.string(),
|
|
12
|
+
provider: exports.managerAccountProvider,
|
|
12
13
|
email: zod_1.z.string().email(),
|
|
13
14
|
password: zod_1.z.string(),
|
|
14
15
|
cookies: zod_1.z.array(zod_1.z.any()).nullable(),
|
|
@@ -22,6 +23,7 @@ exports.managerAccountSchema = zod_1.z.object({
|
|
|
22
23
|
exports.createManagerAccountSchema = exports.managerAccountSchema.pick({
|
|
23
24
|
email: true,
|
|
24
25
|
password: true,
|
|
26
|
+
provider: true,
|
|
25
27
|
proxy: true,
|
|
26
28
|
status: true,
|
|
27
29
|
verified: true,
|