lancer-shared 1.0.151 → 1.0.152

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.
@@ -24,11 +24,11 @@ export declare const bidderAccountSchema: z.ZodObject<{
24
24
  cookies: any[] | null;
25
25
  password: string;
26
26
  isActive: boolean;
27
+ multiLoginProfileId: string | null;
27
28
  provider: "user-provided" | "lancer-provided";
28
29
  verified: boolean;
29
30
  assignedOrganizations: string[];
30
31
  lastUsed: number | null;
31
- multiLoginProfileId: string | null;
32
32
  proxy: string | null;
33
33
  }, {
34
34
  id: string;
@@ -39,11 +39,11 @@ export declare const bidderAccountSchema: z.ZodObject<{
39
39
  cookies: any[] | null;
40
40
  password: string;
41
41
  isActive: boolean;
42
+ multiLoginProfileId: string | null;
42
43
  provider: "user-provided" | "lancer-provided";
43
44
  verified: boolean;
44
45
  assignedOrganizations: string[];
45
46
  lastUsed: number | null;
46
- multiLoginProfileId: string | null;
47
47
  proxy: string | null;
48
48
  }>;
49
49
  export declare const createBidderAccountSchema: z.ZodObject<Pick<{
@@ -84,11 +84,11 @@ export declare const updateBidderAccountSchema: z.ZodObject<{
84
84
  cookies: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodAny, "many">>>;
85
85
  password: z.ZodOptional<z.ZodString>;
86
86
  isActive: z.ZodOptional<z.ZodBoolean>;
87
+ multiLoginProfileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
87
88
  provider: z.ZodOptional<z.ZodEnum<["user-provided", "lancer-provided"]>>;
88
89
  verified: z.ZodOptional<z.ZodBoolean>;
89
90
  assignedOrganizations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
90
91
  lastUsed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
91
- multiLoginProfileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
92
92
  proxy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
93
93
  }, "strip", z.ZodTypeAny, {
94
94
  email?: string | undefined;
@@ -98,11 +98,11 @@ export declare const updateBidderAccountSchema: z.ZodObject<{
98
98
  cookies?: any[] | null | undefined;
99
99
  password?: string | undefined;
100
100
  isActive?: boolean | undefined;
101
+ multiLoginProfileId?: string | null | undefined;
101
102
  provider?: "user-provided" | "lancer-provided" | undefined;
102
103
  verified?: boolean | undefined;
103
104
  assignedOrganizations?: string[] | undefined;
104
105
  lastUsed?: number | null | undefined;
105
- multiLoginProfileId?: string | null | undefined;
106
106
  proxy?: string | null | undefined;
107
107
  }, {
108
108
  email?: string | undefined;
@@ -112,10 +112,10 @@ export declare const updateBidderAccountSchema: z.ZodObject<{
112
112
  cookies?: any[] | null | undefined;
113
113
  password?: string | undefined;
114
114
  isActive?: boolean | undefined;
115
+ multiLoginProfileId?: string | null | undefined;
115
116
  provider?: "user-provided" | "lancer-provided" | undefined;
116
117
  verified?: boolean | undefined;
117
118
  assignedOrganizations?: string[] | undefined;
118
119
  lastUsed?: number | null | undefined;
119
- multiLoginProfileId?: string | null | undefined;
120
120
  proxy?: string | null | undefined;
121
121
  }>;
@@ -116,26 +116,26 @@ export declare const bidPayloadSchema: z.ZodObject<{
116
116
  username: z.ZodString;
117
117
  password: z.ZodString;
118
118
  cookies: z.ZodArray<z.ZodAny, "many">;
119
- profileId: z.ZodString;
119
+ multiLoginProfileId: z.ZodString;
120
120
  }, "strip", z.ZodTypeAny, {
121
121
  username: string;
122
122
  cookies: any[];
123
123
  password: string;
124
124
  jobUrl: string;
125
- profileId: string;
125
+ multiLoginProfileId: string;
126
126
  }, {
127
127
  username: string;
128
128
  cookies: any[];
129
129
  password: string;
130
130
  jobUrl: string;
131
- profileId: string;
131
+ multiLoginProfileId: string;
132
132
  }>;
133
133
  export declare const agencyBidPayloadSchema: z.ZodObject<z.objectUtil.extendShape<{
134
134
  jobUrl: z.ZodString;
135
135
  username: z.ZodString;
136
136
  password: z.ZodString;
137
137
  cookies: z.ZodArray<z.ZodAny, "many">;
138
- profileId: z.ZodString;
138
+ multiLoginProfileId: z.ZodString;
139
139
  }, {
140
140
  proposalData: z.ZodObject<z.objectUtil.extendShape<{
141
141
  coverLetter: z.ZodString;
@@ -186,7 +186,7 @@ export declare const agencyBidPayloadSchema: z.ZodObject<z.objectUtil.extendShap
186
186
  cookies: any[];
187
187
  password: string;
188
188
  jobUrl: string;
189
- profileId: string;
189
+ multiLoginProfileId: string;
190
190
  proposalData: {
191
191
  coverLetter: string;
192
192
  questionAnswerPairs: {
@@ -205,7 +205,7 @@ export declare const agencyBidPayloadSchema: z.ZodObject<z.objectUtil.extendShap
205
205
  cookies: any[];
206
206
  password: string;
207
207
  jobUrl: string;
208
- profileId: string;
208
+ multiLoginProfileId: string;
209
209
  proposalData: {
210
210
  coverLetter: string;
211
211
  questionAnswerPairs: {
@@ -225,7 +225,7 @@ export declare const freelancerBidPayloadSchema: z.ZodObject<z.objectUtil.extend
225
225
  username: z.ZodString;
226
226
  password: z.ZodString;
227
227
  cookies: z.ZodArray<z.ZodAny, "many">;
228
- profileId: z.ZodString;
228
+ multiLoginProfileId: z.ZodString;
229
229
  }, {
230
230
  proposalData: z.ZodObject<{
231
231
  coverLetter: z.ZodString;
@@ -266,7 +266,7 @@ export declare const freelancerBidPayloadSchema: z.ZodObject<z.objectUtil.extend
266
266
  cookies: any[];
267
267
  password: string;
268
268
  jobUrl: string;
269
- profileId: string;
269
+ multiLoginProfileId: string;
270
270
  proposalData: {
271
271
  coverLetter: string;
272
272
  questionAnswerPairs: {
@@ -282,7 +282,7 @@ export declare const freelancerBidPayloadSchema: z.ZodObject<z.objectUtil.extend
282
282
  cookies: any[];
283
283
  password: string;
284
284
  jobUrl: string;
285
- profileId: string;
285
+ multiLoginProfileId: string;
286
286
  proposalData: {
287
287
  coverLetter: string;
288
288
  questionAnswerPairs: {
@@ -21,7 +21,7 @@ exports.bidPayloadSchema = zod_1.z.object({
21
21
  username: zod_1.z.string(),
22
22
  password: zod_1.z.string(),
23
23
  cookies: zod_1.z.array(zod_1.z.any()),
24
- profileId: zod_1.z.string(),
24
+ multiLoginProfileId: zod_1.z.string(),
25
25
  });
26
26
  exports.agencyBidPayloadSchema = exports.bidPayloadSchema.extend({
27
27
  proposalData: exports.agencyBidProposalDataSchema,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "commonjs",
3
3
  "name": "lancer-shared",
4
- "version": "1.0.151",
4
+ "version": "1.0.152",
5
5
  "description": "This package contains shared stuff.",
6
6
  "types": "./dist/index.d.ts",
7
7
  "main": "./dist/index.js",