lancer-shared 1.0.72 → 1.0.74
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.
- package/dist/schemas/account/account-status.d.ts +2 -0
- package/dist/schemas/account/account-status.js +11 -0
- package/dist/schemas/account/index.d.ts +3 -0
- package/dist/schemas/account/index.js +19 -0
- package/dist/schemas/account/manager-account.d.ts +95 -0
- package/dist/schemas/account/manager-account.js +35 -0
- package/dist/schemas/account/scraper-account.d.ts +92 -0
- package/dist/schemas/account/scraper-account.js +31 -0
- package/dist/schemas/index.d.ts +1 -1
- package/dist/schemas/index.js +1 -1
- package/dist/schemas/upwork-account/upwork-scraper-account.d.ts +3 -1
- package/dist/schemas/upwork-account/upwork-scraper-account.js +1 -0
- package/dist/types/account/account-status.d.ts +3 -0
- package/dist/types/account/account-status.js +2 -0
- package/dist/types/account/index.d.ts +3 -0
- package/dist/types/account/index.js +19 -0
- package/dist/types/account/manager-account.d.ts +7 -0
- package/dist/types/account/manager-account.js +2 -0
- package/dist/types/account/scraper-account.d.ts +5 -0
- package/dist/types/account/scraper-account.js +2 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.accountStatusSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.accountStatusSchema = zod_1.z.enum([
|
|
6
|
+
'verification_required',
|
|
7
|
+
'shadow_banned',
|
|
8
|
+
'healthy',
|
|
9
|
+
'banned',
|
|
10
|
+
'suspended',
|
|
11
|
+
]);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./account-status"), exports);
|
|
18
|
+
__exportStar(require("./manager-account"), exports);
|
|
19
|
+
__exportStar(require("./scraper-account"), exports);
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const managerAccountProvider: z.ZodEnum<["user_provided", "lancer_provided"]>;
|
|
3
|
+
export declare const managerAccountSchema: z.ZodObject<{
|
|
4
|
+
id: z.ZodString;
|
|
5
|
+
provider: z.ZodEnum<["user_provided", "lancer_provided"]>;
|
|
6
|
+
email: z.ZodString;
|
|
7
|
+
password: z.ZodString;
|
|
8
|
+
cookies: z.ZodNullable<z.ZodArray<z.ZodAny, "many">>;
|
|
9
|
+
proxy: z.ZodString;
|
|
10
|
+
status: z.ZodEnum<["verification_required", "shadow_banned", "healthy", "banned", "suspended"]>;
|
|
11
|
+
verified: z.ZodBoolean;
|
|
12
|
+
isActive: z.ZodBoolean;
|
|
13
|
+
assignedOrganizations: z.ZodArray<z.ZodString, "many">;
|
|
14
|
+
lastUsed: z.ZodNullable<z.ZodNumber>;
|
|
15
|
+
}, "strip", z.ZodTypeAny, {
|
|
16
|
+
id: string;
|
|
17
|
+
email: string;
|
|
18
|
+
status: "suspended" | "verification_required" | "shadow_banned" | "healthy" | "banned";
|
|
19
|
+
cookies: any[] | null;
|
|
20
|
+
password: string;
|
|
21
|
+
isActive: boolean;
|
|
22
|
+
provider: "user_provided" | "lancer_provided";
|
|
23
|
+
proxy: string;
|
|
24
|
+
verified: boolean;
|
|
25
|
+
assignedOrganizations: string[];
|
|
26
|
+
lastUsed: number | null;
|
|
27
|
+
}, {
|
|
28
|
+
id: string;
|
|
29
|
+
email: string;
|
|
30
|
+
status: "suspended" | "verification_required" | "shadow_banned" | "healthy" | "banned";
|
|
31
|
+
cookies: any[] | null;
|
|
32
|
+
password: string;
|
|
33
|
+
isActive: boolean;
|
|
34
|
+
provider: "user_provided" | "lancer_provided";
|
|
35
|
+
proxy: string;
|
|
36
|
+
verified: boolean;
|
|
37
|
+
assignedOrganizations: string[];
|
|
38
|
+
lastUsed: number | null;
|
|
39
|
+
}>;
|
|
40
|
+
export declare const createManagerAccountSchema: z.ZodObject<Pick<{
|
|
41
|
+
id: z.ZodString;
|
|
42
|
+
provider: z.ZodEnum<["user_provided", "lancer_provided"]>;
|
|
43
|
+
email: z.ZodString;
|
|
44
|
+
password: z.ZodString;
|
|
45
|
+
cookies: z.ZodNullable<z.ZodArray<z.ZodAny, "many">>;
|
|
46
|
+
proxy: z.ZodString;
|
|
47
|
+
status: z.ZodEnum<["verification_required", "shadow_banned", "healthy", "banned", "suspended"]>;
|
|
48
|
+
verified: z.ZodBoolean;
|
|
49
|
+
isActive: z.ZodBoolean;
|
|
50
|
+
assignedOrganizations: z.ZodArray<z.ZodString, "many">;
|
|
51
|
+
lastUsed: z.ZodNullable<z.ZodNumber>;
|
|
52
|
+
}, "email" | "password" | "provider" | "proxy" | "assignedOrganizations">, "strip", z.ZodTypeAny, {
|
|
53
|
+
email: string;
|
|
54
|
+
password: string;
|
|
55
|
+
provider: "user_provided" | "lancer_provided";
|
|
56
|
+
proxy: string;
|
|
57
|
+
assignedOrganizations: string[];
|
|
58
|
+
}, {
|
|
59
|
+
email: string;
|
|
60
|
+
password: string;
|
|
61
|
+
provider: "user_provided" | "lancer_provided";
|
|
62
|
+
proxy: string;
|
|
63
|
+
assignedOrganizations: string[];
|
|
64
|
+
}>;
|
|
65
|
+
export declare const updateManagerAccountSchema: z.ZodObject<{
|
|
66
|
+
email: z.ZodOptional<z.ZodString>;
|
|
67
|
+
status: z.ZodOptional<z.ZodEnum<["verification_required", "shadow_banned", "healthy", "banned", "suspended"]>>;
|
|
68
|
+
cookies: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodAny, "many">>>;
|
|
69
|
+
password: z.ZodOptional<z.ZodString>;
|
|
70
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
71
|
+
proxy: z.ZodOptional<z.ZodString>;
|
|
72
|
+
verified: z.ZodOptional<z.ZodBoolean>;
|
|
73
|
+
assignedOrganizations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
74
|
+
lastUsed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
75
|
+
}, "strip", z.ZodTypeAny, {
|
|
76
|
+
email?: string | undefined;
|
|
77
|
+
status?: "suspended" | "verification_required" | "shadow_banned" | "healthy" | "banned" | undefined;
|
|
78
|
+
cookies?: any[] | null | undefined;
|
|
79
|
+
password?: string | undefined;
|
|
80
|
+
isActive?: boolean | undefined;
|
|
81
|
+
proxy?: string | undefined;
|
|
82
|
+
verified?: boolean | undefined;
|
|
83
|
+
assignedOrganizations?: string[] | undefined;
|
|
84
|
+
lastUsed?: number | null | undefined;
|
|
85
|
+
}, {
|
|
86
|
+
email?: string | undefined;
|
|
87
|
+
status?: "suspended" | "verification_required" | "shadow_banned" | "healthy" | "banned" | undefined;
|
|
88
|
+
cookies?: any[] | null | undefined;
|
|
89
|
+
password?: string | undefined;
|
|
90
|
+
isActive?: boolean | undefined;
|
|
91
|
+
proxy?: string | undefined;
|
|
92
|
+
verified?: boolean | undefined;
|
|
93
|
+
assignedOrganizations?: string[] | undefined;
|
|
94
|
+
lastUsed?: number | null | undefined;
|
|
95
|
+
}>;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.updateManagerAccountSchema = exports.createManagerAccountSchema = exports.managerAccountSchema = exports.managerAccountProvider = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const account_status_1 = require("./account-status");
|
|
6
|
+
exports.managerAccountProvider = zod_1.z.enum([
|
|
7
|
+
'user_provided',
|
|
8
|
+
'lancer_provided',
|
|
9
|
+
]);
|
|
10
|
+
exports.managerAccountSchema = zod_1.z.object({
|
|
11
|
+
id: zod_1.z.string(),
|
|
12
|
+
provider: exports.managerAccountProvider,
|
|
13
|
+
email: zod_1.z.string().email(),
|
|
14
|
+
password: zod_1.z.string(),
|
|
15
|
+
cookies: zod_1.z.array(zod_1.z.any()).nullable(),
|
|
16
|
+
proxy: zod_1.z.string(),
|
|
17
|
+
status: account_status_1.accountStatusSchema,
|
|
18
|
+
verified: zod_1.z.boolean(),
|
|
19
|
+
isActive: zod_1.z.boolean(),
|
|
20
|
+
assignedOrganizations: zod_1.z.array(zod_1.z.string()),
|
|
21
|
+
lastUsed: zod_1.z.number().nullable(),
|
|
22
|
+
});
|
|
23
|
+
exports.createManagerAccountSchema = exports.managerAccountSchema.pick({
|
|
24
|
+
email: true,
|
|
25
|
+
password: true,
|
|
26
|
+
proxy: true,
|
|
27
|
+
assignedOrganizations: true,
|
|
28
|
+
provider: true,
|
|
29
|
+
});
|
|
30
|
+
exports.updateManagerAccountSchema = exports.managerAccountSchema
|
|
31
|
+
.omit({
|
|
32
|
+
id: true,
|
|
33
|
+
provider: true,
|
|
34
|
+
})
|
|
35
|
+
.partial();
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const scraperAccountSchema: z.ZodObject<{
|
|
3
|
+
id: z.ZodString;
|
|
4
|
+
email: z.ZodString;
|
|
5
|
+
password: z.ZodString;
|
|
6
|
+
cookies: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
7
|
+
proxy_credentials: z.ZodString;
|
|
8
|
+
region: z.ZodEnum<["all", "Worldwide", "UKOnly", "USOnly"]>;
|
|
9
|
+
isActive: z.ZodBoolean;
|
|
10
|
+
lastUsed: z.ZodNumber;
|
|
11
|
+
status: z.ZodEnum<["verification_required", "shadow_banned", "healthy", "banned", "suspended"]>;
|
|
12
|
+
verified: z.ZodBoolean;
|
|
13
|
+
}, "strip", z.ZodTypeAny, {
|
|
14
|
+
id: string;
|
|
15
|
+
email: string;
|
|
16
|
+
status: "suspended" | "verification_required" | "shadow_banned" | "healthy" | "banned";
|
|
17
|
+
region: "all" | "USOnly" | "UKOnly" | "Worldwide";
|
|
18
|
+
cookies: Record<string, string>;
|
|
19
|
+
password: string;
|
|
20
|
+
isActive: boolean;
|
|
21
|
+
verified: boolean;
|
|
22
|
+
lastUsed: number;
|
|
23
|
+
proxy_credentials: string;
|
|
24
|
+
}, {
|
|
25
|
+
id: string;
|
|
26
|
+
email: string;
|
|
27
|
+
status: "suspended" | "verification_required" | "shadow_banned" | "healthy" | "banned";
|
|
28
|
+
region: "all" | "USOnly" | "UKOnly" | "Worldwide";
|
|
29
|
+
cookies: Record<string, string>;
|
|
30
|
+
password: string;
|
|
31
|
+
isActive: boolean;
|
|
32
|
+
verified: boolean;
|
|
33
|
+
lastUsed: number;
|
|
34
|
+
proxy_credentials: string;
|
|
35
|
+
}>;
|
|
36
|
+
export declare const createScraperAccountSchema: z.ZodObject<Pick<{
|
|
37
|
+
id: z.ZodString;
|
|
38
|
+
email: z.ZodString;
|
|
39
|
+
password: z.ZodString;
|
|
40
|
+
cookies: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
41
|
+
proxy_credentials: z.ZodString;
|
|
42
|
+
region: z.ZodEnum<["all", "Worldwide", "UKOnly", "USOnly"]>;
|
|
43
|
+
isActive: z.ZodBoolean;
|
|
44
|
+
lastUsed: z.ZodNumber;
|
|
45
|
+
status: z.ZodEnum<["verification_required", "shadow_banned", "healthy", "banned", "suspended"]>;
|
|
46
|
+
verified: z.ZodBoolean;
|
|
47
|
+
}, "email" | "region" | "password" | "isActive" | "verified" | "proxy_credentials">, "strip", z.ZodTypeAny, {
|
|
48
|
+
email: string;
|
|
49
|
+
region: "all" | "USOnly" | "UKOnly" | "Worldwide";
|
|
50
|
+
password: string;
|
|
51
|
+
isActive: boolean;
|
|
52
|
+
verified: boolean;
|
|
53
|
+
proxy_credentials: string;
|
|
54
|
+
}, {
|
|
55
|
+
email: string;
|
|
56
|
+
region: "all" | "USOnly" | "UKOnly" | "Worldwide";
|
|
57
|
+
password: string;
|
|
58
|
+
isActive: boolean;
|
|
59
|
+
verified: boolean;
|
|
60
|
+
proxy_credentials: string;
|
|
61
|
+
}>;
|
|
62
|
+
export declare const updateScraperAccountSchema: z.ZodObject<{
|
|
63
|
+
email: z.ZodOptional<z.ZodString>;
|
|
64
|
+
status: z.ZodOptional<z.ZodEnum<["verification_required", "shadow_banned", "healthy", "banned", "suspended"]>>;
|
|
65
|
+
region: z.ZodOptional<z.ZodEnum<["all", "Worldwide", "UKOnly", "USOnly"]>>;
|
|
66
|
+
cookies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
67
|
+
password: z.ZodOptional<z.ZodString>;
|
|
68
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
69
|
+
verified: z.ZodOptional<z.ZodBoolean>;
|
|
70
|
+
lastUsed: z.ZodOptional<z.ZodNumber>;
|
|
71
|
+
proxy_credentials: z.ZodOptional<z.ZodString>;
|
|
72
|
+
}, "strip", z.ZodTypeAny, {
|
|
73
|
+
email?: string | undefined;
|
|
74
|
+
status?: "suspended" | "verification_required" | "shadow_banned" | "healthy" | "banned" | undefined;
|
|
75
|
+
region?: "all" | "USOnly" | "UKOnly" | "Worldwide" | undefined;
|
|
76
|
+
cookies?: Record<string, string> | undefined;
|
|
77
|
+
password?: string | undefined;
|
|
78
|
+
isActive?: boolean | undefined;
|
|
79
|
+
verified?: boolean | undefined;
|
|
80
|
+
lastUsed?: number | undefined;
|
|
81
|
+
proxy_credentials?: string | undefined;
|
|
82
|
+
}, {
|
|
83
|
+
email?: string | undefined;
|
|
84
|
+
status?: "suspended" | "verification_required" | "shadow_banned" | "healthy" | "banned" | undefined;
|
|
85
|
+
region?: "all" | "USOnly" | "UKOnly" | "Worldwide" | undefined;
|
|
86
|
+
cookies?: Record<string, string> | undefined;
|
|
87
|
+
password?: string | undefined;
|
|
88
|
+
isActive?: boolean | undefined;
|
|
89
|
+
verified?: boolean | undefined;
|
|
90
|
+
lastUsed?: number | undefined;
|
|
91
|
+
proxy_credentials?: string | undefined;
|
|
92
|
+
}>;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.updateScraperAccountSchema = exports.createScraperAccountSchema = exports.scraperAccountSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const account_status_1 = require("./account-status");
|
|
6
|
+
const job_filters_1 = require("../job-filters");
|
|
7
|
+
exports.scraperAccountSchema = zod_1.z.object({
|
|
8
|
+
id: zod_1.z.string(),
|
|
9
|
+
email: zod_1.z.string().email(),
|
|
10
|
+
password: zod_1.z.string(),
|
|
11
|
+
cookies: zod_1.z.record(zod_1.z.string(), zod_1.z.string()),
|
|
12
|
+
proxy_credentials: zod_1.z.string(),
|
|
13
|
+
region: job_filters_1.regionEnum,
|
|
14
|
+
isActive: zod_1.z.boolean(),
|
|
15
|
+
lastUsed: zod_1.z.number(),
|
|
16
|
+
status: account_status_1.accountStatusSchema,
|
|
17
|
+
verified: zod_1.z.boolean(),
|
|
18
|
+
});
|
|
19
|
+
exports.createScraperAccountSchema = exports.scraperAccountSchema.pick({
|
|
20
|
+
email: true,
|
|
21
|
+
password: true,
|
|
22
|
+
proxy_credentials: true,
|
|
23
|
+
region: true,
|
|
24
|
+
verified: true,
|
|
25
|
+
isActive: true,
|
|
26
|
+
});
|
|
27
|
+
exports.updateScraperAccountSchema = exports.scraperAccountSchema
|
|
28
|
+
.omit({
|
|
29
|
+
id: true,
|
|
30
|
+
})
|
|
31
|
+
.partial();
|
package/dist/schemas/index.d.ts
CHANGED
package/dist/schemas/index.js
CHANGED
|
@@ -26,4 +26,4 @@ __exportStar(require("./bidding"), exports);
|
|
|
26
26
|
__exportStar(require("./scraper"), exports);
|
|
27
27
|
__exportStar(require("./config"), exports);
|
|
28
28
|
__exportStar(require("./logger"), exports);
|
|
29
|
-
__exportStar(require("./
|
|
29
|
+
__exportStar(require("./account"), exports);
|
|
@@ -44,16 +44,18 @@ export declare const createUpworkScraperAccountSchema: z.ZodObject<Pick<{
|
|
|
44
44
|
lastUsed: z.ZodNumber;
|
|
45
45
|
status: z.ZodEnum<["verification_required", "shadow_banned", "healthy", "banned", "suspended"]>;
|
|
46
46
|
verified: z.ZodBoolean;
|
|
47
|
-
}, "email" | "region" | "password" | "verified" | "proxy_credentials">, "strip", z.ZodTypeAny, {
|
|
47
|
+
}, "email" | "region" | "password" | "isActive" | "verified" | "proxy_credentials">, "strip", z.ZodTypeAny, {
|
|
48
48
|
email: string;
|
|
49
49
|
region: "all" | "USOnly" | "UKOnly" | "Worldwide";
|
|
50
50
|
password: string;
|
|
51
|
+
isActive: boolean;
|
|
51
52
|
verified: boolean;
|
|
52
53
|
proxy_credentials: string;
|
|
53
54
|
}, {
|
|
54
55
|
email: string;
|
|
55
56
|
region: "all" | "USOnly" | "UKOnly" | "Worldwide";
|
|
56
57
|
password: string;
|
|
58
|
+
isActive: boolean;
|
|
57
59
|
verified: boolean;
|
|
58
60
|
proxy_credentials: string;
|
|
59
61
|
}>;
|
|
@@ -22,6 +22,7 @@ exports.createUpworkScraperAccountSchema = exports.upworkScraperAccountSchema.pi
|
|
|
22
22
|
proxy_credentials: true,
|
|
23
23
|
region: true,
|
|
24
24
|
verified: true,
|
|
25
|
+
isActive: true,
|
|
25
26
|
});
|
|
26
27
|
exports.updateUpworkScraperAccountSchema = exports.upworkScraperAccountSchema
|
|
27
28
|
.omit({
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./account-status"), exports);
|
|
18
|
+
__exportStar(require("./manager-account"), exports);
|
|
19
|
+
__exportStar(require("./scraper-account"), exports);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { createManagerAccountSchema, updateManagerAccountSchema, managerAccountProvider, managerAccountSchema } from '../../schemas';
|
|
3
|
+
export interface ManagerAccount extends z.infer<typeof managerAccountSchema> {
|
|
4
|
+
}
|
|
5
|
+
export type ManagerAccountProvider = z.infer<typeof managerAccountProvider>;
|
|
6
|
+
export type CreateManagerAccount = z.infer<typeof createManagerAccountSchema>;
|
|
7
|
+
export type UpdateManagerAccount = z.infer<typeof updateManagerAccountSchema>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { createScraperAccountSchema, updateScraperAccountSchema, scraperAccountSchema } from '../../schemas';
|
|
3
|
+
export type ScraperAccount = z.infer<typeof scraperAccountSchema>;
|
|
4
|
+
export type CreateScraperAccount = z.infer<typeof createScraperAccountSchema>;
|
|
5
|
+
export type UpdateScraperAccount = z.infer<typeof updateScraperAccountSchema>;
|
package/dist/types/index.d.ts
CHANGED
package/dist/types/index.js
CHANGED
|
@@ -25,4 +25,4 @@ __exportStar(require("./ai"), exports);
|
|
|
25
25
|
__exportStar(require("./scraper"), exports);
|
|
26
26
|
__exportStar(require("./config"), exports);
|
|
27
27
|
__exportStar(require("./logger"), exports);
|
|
28
|
-
__exportStar(require("./
|
|
28
|
+
__exportStar(require("./account"), exports);
|