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.
@@ -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);
@@ -1,10 +1,11 @@
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";
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';
@@ -24,3 +24,4 @@ __exportStar(require("./campaign"), exports);
24
24
  __exportStar(require("./ai"), exports);
25
25
  __exportStar(require("./bidding"), exports);
26
26
  __exportStar(require("./scraper"), exports);
27
+ __exportStar(require("./config"), exports);
@@ -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,4 @@
1
+ import { z } from 'zod';
2
+ import { agencyConfigSchema } from '../../schemas';
3
+ export interface AgencyConfig extends z.infer<typeof agencyConfigSchema> {
4
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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);
@@ -7,3 +7,4 @@ export * from './campaign';
7
7
  export * from './bidding';
8
8
  export * from './ai';
9
9
  export * from './scraper';
10
+ export * from './config';
@@ -23,3 +23,4 @@ __exportStar(require("./campaign"), exports);
23
23
  __exportStar(require("./bidding"), exports);
24
24
  __exportStar(require("./ai"), exports);
25
25
  __exportStar(require("./scraper"), exports);
26
+ __exportStar(require("./config"), exports);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "commonjs",
3
3
  "name": "lancer-shared",
4
- "version": "1.0.25",
4
+ "version": "1.0.27",
5
5
  "description": "This package contains shared stuff.",
6
6
  "types": "./dist/index.d.ts",
7
7
  "main": "./dist/index.js",