lancer-shared 1.0.25 → 1.0.27
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/config/agency-config.d.ts +11 -0
- package/dist/schemas/config/agency-config.js +8 -0
- package/dist/schemas/config/index.d.ts +1 -0
- package/dist/schemas/config/index.js +17 -0
- package/dist/schemas/index.d.ts +11 -10
- package/dist/schemas/index.js +1 -0
- package/dist/schemas/lead/lead.d.ts +8 -0
- package/dist/schemas/lead/lead.js +1 -0
- package/dist/types/config/agency-config.d.ts +4 -0
- package/dist/types/config/agency-config.js +2 -0
- package/dist/types/config/index.d.ts +1 -0
- package/dist/types/config/index.js +17 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.js +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const agencyConfigSchema: z.ZodObject<{
|
|
3
|
+
agencyName: z.ZodString;
|
|
4
|
+
contractorName: z.ZodString;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
agencyName: string;
|
|
7
|
+
contractorName: string;
|
|
8
|
+
}, {
|
|
9
|
+
agencyName: string;
|
|
10
|
+
contractorName: string;
|
|
11
|
+
}>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.agencyConfigSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.agencyConfigSchema = zod_1.z.object({
|
|
6
|
+
agencyName: zod_1.z.string(),
|
|
7
|
+
contractorName: zod_1.z.string(),
|
|
8
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './agency-config';
|
|
@@ -0,0 +1,17 @@
|
|
|
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("./agency-config"), exports);
|
package/dist/schemas/index.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
10
|
-
export * from
|
|
1
|
+
export * from './lead';
|
|
2
|
+
export * from './saved-search';
|
|
3
|
+
export * from './shared';
|
|
4
|
+
export * from './user';
|
|
5
|
+
export * from './chat-message';
|
|
6
|
+
export * from './job-filters';
|
|
7
|
+
export * from './campaign';
|
|
8
|
+
export * from './ai';
|
|
9
|
+
export * from './bidding';
|
|
10
|
+
export * from './scraper';
|
|
11
|
+
export * from './config';
|
package/dist/schemas/index.js
CHANGED
|
@@ -514,6 +514,7 @@ export declare const leadSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
514
514
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
515
515
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
516
516
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
517
|
+
biddingTaskScheduled: z.ZodNullable<z.ZodBoolean>;
|
|
517
518
|
scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
|
|
518
519
|
}>, "strip", z.ZodTypeAny, {
|
|
519
520
|
id: string | null;
|
|
@@ -590,6 +591,7 @@ export declare const leadSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
590
591
|
biddingAmount: number | null;
|
|
591
592
|
boosted: boolean | null;
|
|
592
593
|
boostingAmount: number | null;
|
|
594
|
+
biddingTaskScheduled: boolean | null;
|
|
593
595
|
scheduledBiddingTime: number | null;
|
|
594
596
|
}, {
|
|
595
597
|
id: string | null;
|
|
@@ -666,6 +668,7 @@ export declare const leadSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
666
668
|
biddingAmount: number | null;
|
|
667
669
|
boosted: boolean | null;
|
|
668
670
|
boostingAmount: number | null;
|
|
671
|
+
biddingTaskScheduled: boolean | null;
|
|
669
672
|
scheduledBiddingTime: number | null;
|
|
670
673
|
}>;
|
|
671
674
|
export declare const jobListItemSchema: z.ZodObject<{
|
|
@@ -854,6 +857,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
854
857
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
855
858
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
856
859
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
860
|
+
biddingTaskScheduled: z.ZodNullable<z.ZodBoolean>;
|
|
857
861
|
scheduledBiddingTime: z.ZodNullable<z.ZodNumber>;
|
|
858
862
|
}>, "strip", z.ZodTypeAny, {
|
|
859
863
|
id: string | null;
|
|
@@ -930,6 +934,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
930
934
|
biddingAmount: number | null;
|
|
931
935
|
boosted: boolean | null;
|
|
932
936
|
boostingAmount: number | null;
|
|
937
|
+
biddingTaskScheduled: boolean | null;
|
|
933
938
|
scheduledBiddingTime: number | null;
|
|
934
939
|
}, {
|
|
935
940
|
id: string | null;
|
|
@@ -1006,6 +1011,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1006
1011
|
biddingAmount: number | null;
|
|
1007
1012
|
boosted: boolean | null;
|
|
1008
1013
|
boostingAmount: number | null;
|
|
1014
|
+
biddingTaskScheduled: boolean | null;
|
|
1009
1015
|
scheduledBiddingTime: number | null;
|
|
1010
1016
|
}>, "many">;
|
|
1011
1017
|
nextCursor: z.ZodNullable<z.ZodString>;
|
|
@@ -1087,6 +1093,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1087
1093
|
biddingAmount: number | null;
|
|
1088
1094
|
boosted: boolean | null;
|
|
1089
1095
|
boostingAmount: number | null;
|
|
1096
|
+
biddingTaskScheduled: boolean | null;
|
|
1090
1097
|
scheduledBiddingTime: number | null;
|
|
1091
1098
|
}[];
|
|
1092
1099
|
nextCursor: string | null;
|
|
@@ -1168,6 +1175,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1168
1175
|
biddingAmount: number | null;
|
|
1169
1176
|
boosted: boolean | null;
|
|
1170
1177
|
boostingAmount: number | null;
|
|
1178
|
+
biddingTaskScheduled: boolean | null;
|
|
1171
1179
|
scheduledBiddingTime: number | null;
|
|
1172
1180
|
}[];
|
|
1173
1181
|
nextCursor: string | null;
|
|
@@ -77,6 +77,7 @@ exports.leadSchema = exports.upworkJobSchema.extend({
|
|
|
77
77
|
biddingAmount: (0, zod_1.number)().nullable(),
|
|
78
78
|
boosted: (0, zod_1.boolean)().nullable(),
|
|
79
79
|
boostingAmount: (0, zod_1.number)().nullable(),
|
|
80
|
+
biddingTaskScheduled: (0, zod_1.boolean)().nullable(),
|
|
80
81
|
scheduledBiddingTime: (0, zod_1.number)().nullable(),
|
|
81
82
|
});
|
|
82
83
|
exports.jobListItemSchema = zod_1.z.object({
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './agency-config';
|
|
@@ -0,0 +1,17 @@
|
|
|
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("./agency-config"), exports);
|
package/dist/types/index.d.ts
CHANGED
package/dist/types/index.js
CHANGED