lancer-shared 1.2.171 → 1.2.173
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/bundle.cjs.js
CHANGED
|
@@ -6541,9 +6541,10 @@ const ROUTES = {
|
|
|
6541
6541
|
BASE: (id) => `organizations/${id}/cover-letter`,
|
|
6542
6542
|
BY_ID: (id, coverLetterId) => `organizations/${id}/cover-letter/${coverLetterId}`,
|
|
6543
6543
|
},
|
|
6544
|
-
|
|
6545
|
-
BASE: (id) => `organizations/${id}/
|
|
6546
|
-
|
|
6544
|
+
PROFILES: {
|
|
6545
|
+
BASE: (id) => `organizations/${id}/profiles`,
|
|
6546
|
+
BY_ID: (id, profileId) => `organizations/${id}/profiles/${profileId}`,
|
|
6547
|
+
DUPLICATE: (id, profileId) => `organizations/${id}/profiles/${profileId}/duplicate`,
|
|
6547
6548
|
},
|
|
6548
6549
|
MEMBERS: {
|
|
6549
6550
|
BASE: (id) => `organizations/${id}/members`,
|
|
@@ -12977,7 +12978,8 @@ const caseStudySchema = objectType({
|
|
|
12977
12978
|
title: stringType(),
|
|
12978
12979
|
description: stringType(),
|
|
12979
12980
|
});
|
|
12980
|
-
z.object({
|
|
12981
|
+
const organizationProfileSchema = z.object({
|
|
12982
|
+
id: stringType(),
|
|
12981
12983
|
type: z.enum(['freelancer', 'agency']),
|
|
12982
12984
|
name: z.string(),
|
|
12983
12985
|
summary: z.string(),
|
|
@@ -12993,6 +12995,15 @@ z.object({
|
|
|
12993
12995
|
teamSize: z.number(),
|
|
12994
12996
|
}),
|
|
12995
12997
|
caseStudies: z.array(caseStudySchema),
|
|
12998
|
+
createdAt: numberType(),
|
|
12999
|
+
});
|
|
13000
|
+
const updateOrganizationProfileSchema = organizationProfileSchema
|
|
13001
|
+
.partial()
|
|
13002
|
+
.extend({
|
|
13003
|
+
id: stringType(),
|
|
13004
|
+
});
|
|
13005
|
+
const createOrganizationProfileSchema = organizationProfileSchema.pick({
|
|
13006
|
+
name: true,
|
|
12996
13007
|
});
|
|
12997
13008
|
const createOrganizationSchema = organizationSchema.pick({
|
|
12998
13009
|
name: true,
|
|
@@ -13089,6 +13100,7 @@ const campaignSchema = z.object({
|
|
|
13089
13100
|
coverLetterTemplateId: z.string().nullable(),
|
|
13090
13101
|
priority: z.number().nullable(),
|
|
13091
13102
|
coverLetterTemplate: coverLetterTemplateSchema.nullable(),
|
|
13103
|
+
organizationProfileId: z.string().nullable(),
|
|
13092
13104
|
});
|
|
13093
13105
|
const upworkAccountConnectStatusSchema = z.union([
|
|
13094
13106
|
z.literal('processing'),
|
|
@@ -23202,6 +23214,7 @@ exports.createBidderAccountSchema = createBidderAccountSchema;
|
|
|
23202
23214
|
exports.createCampaignSchema = createCampaignSchema;
|
|
23203
23215
|
exports.createChatbotSchema = createChatbotSchema;
|
|
23204
23216
|
exports.createCoverLetterTemplateSchema = createCoverLetterTemplateSchema;
|
|
23217
|
+
exports.createOrganizationProfileSchema = createOrganizationProfileSchema;
|
|
23205
23218
|
exports.createOrganizationSchema = createOrganizationSchema;
|
|
23206
23219
|
exports.createScraperAccountSchema = createScraperAccountSchema;
|
|
23207
23220
|
exports.dailyUsageSchema = dailyUsageSchema;
|
|
@@ -23313,6 +23326,7 @@ exports.openPageException = openPageException;
|
|
|
23313
23326
|
exports.organizationCampaignStatsSchema = organizationCampaignStatsSchema;
|
|
23314
23327
|
exports.organizationMemberRoleEnum = organizationMemberRoleEnum;
|
|
23315
23328
|
exports.organizationMemberSchema = organizationMemberSchema;
|
|
23329
|
+
exports.organizationProfileSchema = organizationProfileSchema;
|
|
23316
23330
|
exports.organizationSchema = organizationSchema;
|
|
23317
23331
|
exports.organizationSettingsSchema = organizationSettingsSchema;
|
|
23318
23332
|
exports.organizationTierEnum = organizationTierEnum;
|
|
@@ -23414,6 +23428,7 @@ exports.updateCampaignSchema = updateCampaignSchema;
|
|
|
23414
23428
|
exports.updateChatbotSchema = updateChatbotSchema;
|
|
23415
23429
|
exports.updateLeadStatusSchema = updateLeadStatusSchema;
|
|
23416
23430
|
exports.updateOrganizationLeadsStatusPayloadSchema = updateOrganizationLeadsStatusPayloadSchema;
|
|
23431
|
+
exports.updateOrganizationProfileSchema = updateOrganizationProfileSchema;
|
|
23417
23432
|
exports.updateScraperAccountSchema = updateScraperAccountSchema;
|
|
23418
23433
|
exports.updateSuitableLeadNotificationBodySchema = updateSuitableLeadNotificationBodySchema;
|
|
23419
23434
|
exports.updateSuitableLeadNotificationType = updateSuitableLeadNotificationType;
|
|
@@ -118,9 +118,10 @@ export declare const ROUTES: {
|
|
|
118
118
|
readonly BASE: (id: string) => string;
|
|
119
119
|
readonly BY_ID: (id: string, coverLetterId: string) => string;
|
|
120
120
|
};
|
|
121
|
-
readonly
|
|
121
|
+
readonly PROFILES: {
|
|
122
122
|
readonly BASE: (id: string) => string;
|
|
123
|
-
readonly
|
|
123
|
+
readonly BY_ID: (id: string, profileId: string) => string;
|
|
124
|
+
readonly DUPLICATE: (id: string, profileId: string) => string;
|
|
124
125
|
};
|
|
125
126
|
readonly MEMBERS: {
|
|
126
127
|
readonly BASE: (id: string) => string;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { Lead } from '../lead';
|
|
3
2
|
export declare const bidPayloadProposalDataSchema: z.ZodObject<{
|
|
4
3
|
organizationId: z.ZodString;
|
|
5
4
|
campaignId: z.ZodString;
|
|
@@ -321,7 +320,7 @@ export declare const bidPayloadProposalDataSchema: z.ZodObject<{
|
|
|
321
320
|
answer: string;
|
|
322
321
|
}>, "many">>;
|
|
323
322
|
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
|
|
324
|
-
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "viewed", "replied", "won"]>>;
|
|
323
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "viewed", "replied", "won"]>>;
|
|
325
324
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
326
325
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
327
326
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -435,7 +434,7 @@ export declare const bidPayloadProposalDataSchema: z.ZodObject<{
|
|
|
435
434
|
answer: string;
|
|
436
435
|
}[] | null;
|
|
437
436
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
438
|
-
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
437
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "viewed" | "replied" | "won" | null;
|
|
439
438
|
biddingAmount: number | null;
|
|
440
439
|
boosted: boolean | null;
|
|
441
440
|
boostingAmount: number | null;
|
|
@@ -570,7 +569,7 @@ export declare const bidPayloadProposalDataSchema: z.ZodObject<{
|
|
|
570
569
|
answer: string;
|
|
571
570
|
}[] | null;
|
|
572
571
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
573
|
-
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
572
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "viewed" | "replied" | "won" | null;
|
|
574
573
|
biddingAmount: number | null;
|
|
575
574
|
boosted: boolean | null;
|
|
576
575
|
boostingAmount: number | null;
|
|
@@ -734,7 +733,7 @@ export declare const bidPayloadProposalDataSchema: z.ZodObject<{
|
|
|
734
733
|
answer: string;
|
|
735
734
|
}[] | null;
|
|
736
735
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
737
|
-
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
736
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "viewed" | "replied" | "won" | null;
|
|
738
737
|
biddingAmount: number | null;
|
|
739
738
|
boosted: boolean | null;
|
|
740
739
|
boostingAmount: number | null;
|
|
@@ -888,7 +887,7 @@ export declare const bidPayloadProposalDataSchema: z.ZodObject<{
|
|
|
888
887
|
answer: string;
|
|
889
888
|
}[] | null;
|
|
890
889
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
891
|
-
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
890
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "viewed" | "replied" | "won" | null;
|
|
892
891
|
biddingAmount: number | null;
|
|
893
892
|
boosted: boolean | null;
|
|
894
893
|
boostingAmount: number | null;
|
|
@@ -1254,7 +1253,7 @@ export declare const freelancerBidProposalDataSchema: z.ZodObject<{
|
|
|
1254
1253
|
answer: string;
|
|
1255
1254
|
}>, "many">>;
|
|
1256
1255
|
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
|
|
1257
|
-
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "viewed", "replied", "won"]>>;
|
|
1256
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "viewed", "replied", "won"]>>;
|
|
1258
1257
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
1259
1258
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
1260
1259
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1368,7 +1367,7 @@ export declare const freelancerBidProposalDataSchema: z.ZodObject<{
|
|
|
1368
1367
|
answer: string;
|
|
1369
1368
|
}[] | null;
|
|
1370
1369
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
1371
|
-
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
1370
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "viewed" | "replied" | "won" | null;
|
|
1372
1371
|
biddingAmount: number | null;
|
|
1373
1372
|
boosted: boolean | null;
|
|
1374
1373
|
boostingAmount: number | null;
|
|
@@ -1503,7 +1502,7 @@ export declare const freelancerBidProposalDataSchema: z.ZodObject<{
|
|
|
1503
1502
|
answer: string;
|
|
1504
1503
|
}[] | null;
|
|
1505
1504
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
1506
|
-
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
1505
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "viewed" | "replied" | "won" | null;
|
|
1507
1506
|
biddingAmount: number | null;
|
|
1508
1507
|
boosted: boolean | null;
|
|
1509
1508
|
boostingAmount: number | null;
|
|
@@ -1667,7 +1666,7 @@ export declare const freelancerBidProposalDataSchema: z.ZodObject<{
|
|
|
1667
1666
|
answer: string;
|
|
1668
1667
|
}[] | null;
|
|
1669
1668
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
1670
|
-
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
1669
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "viewed" | "replied" | "won" | null;
|
|
1671
1670
|
biddingAmount: number | null;
|
|
1672
1671
|
boosted: boolean | null;
|
|
1673
1672
|
boostingAmount: number | null;
|
|
@@ -1821,7 +1820,7 @@ export declare const freelancerBidProposalDataSchema: z.ZodObject<{
|
|
|
1821
1820
|
answer: string;
|
|
1822
1821
|
}[] | null;
|
|
1823
1822
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
1824
|
-
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
1823
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "viewed" | "replied" | "won" | null;
|
|
1825
1824
|
biddingAmount: number | null;
|
|
1826
1825
|
boosted: boolean | null;
|
|
1827
1826
|
boostingAmount: number | null;
|
|
@@ -2187,7 +2186,7 @@ export declare const agencyBidProposalDataSchema: z.ZodObject<z.objectUtil.exten
|
|
|
2187
2186
|
answer: string;
|
|
2188
2187
|
}>, "many">>;
|
|
2189
2188
|
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
|
|
2190
|
-
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "viewed", "replied", "won"]>>;
|
|
2189
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "viewed", "replied", "won"]>>;
|
|
2191
2190
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
2192
2191
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
2193
2192
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -2301,7 +2300,7 @@ export declare const agencyBidProposalDataSchema: z.ZodObject<z.objectUtil.exten
|
|
|
2301
2300
|
answer: string;
|
|
2302
2301
|
}[] | null;
|
|
2303
2302
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
2304
|
-
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
2303
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "viewed" | "replied" | "won" | null;
|
|
2305
2304
|
biddingAmount: number | null;
|
|
2306
2305
|
boosted: boolean | null;
|
|
2307
2306
|
boostingAmount: number | null;
|
|
@@ -2436,7 +2435,7 @@ export declare const agencyBidProposalDataSchema: z.ZodObject<z.objectUtil.exten
|
|
|
2436
2435
|
answer: string;
|
|
2437
2436
|
}[] | null;
|
|
2438
2437
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
2439
|
-
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
2438
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "viewed" | "replied" | "won" | null;
|
|
2440
2439
|
biddingAmount: number | null;
|
|
2441
2440
|
boosted: boolean | null;
|
|
2442
2441
|
boostingAmount: number | null;
|
|
@@ -2604,7 +2603,7 @@ export declare const agencyBidProposalDataSchema: z.ZodObject<z.objectUtil.exten
|
|
|
2604
2603
|
answer: string;
|
|
2605
2604
|
}[] | null;
|
|
2606
2605
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
2607
|
-
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
2606
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "viewed" | "replied" | "won" | null;
|
|
2608
2607
|
biddingAmount: number | null;
|
|
2609
2608
|
boosted: boolean | null;
|
|
2610
2609
|
boostingAmount: number | null;
|
|
@@ -2761,7 +2760,7 @@ export declare const agencyBidProposalDataSchema: z.ZodObject<z.objectUtil.exten
|
|
|
2761
2760
|
answer: string;
|
|
2762
2761
|
}[] | null;
|
|
2763
2762
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
2764
|
-
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
2763
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "viewed" | "replied" | "won" | null;
|
|
2765
2764
|
biddingAmount: number | null;
|
|
2766
2765
|
boosted: boolean | null;
|
|
2767
2766
|
boostingAmount: number | null;
|
|
@@ -3130,7 +3129,7 @@ export declare const bidPayloadSchema: z.ZodObject<{
|
|
|
3130
3129
|
answer: string;
|
|
3131
3130
|
}>, "many">>;
|
|
3132
3131
|
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
|
|
3133
|
-
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "viewed", "replied", "won"]>>;
|
|
3132
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "viewed", "replied", "won"]>>;
|
|
3134
3133
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
3135
3134
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
3136
3135
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -3244,7 +3243,7 @@ export declare const bidPayloadSchema: z.ZodObject<{
|
|
|
3244
3243
|
answer: string;
|
|
3245
3244
|
}[] | null;
|
|
3246
3245
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
3247
|
-
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
3246
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "viewed" | "replied" | "won" | null;
|
|
3248
3247
|
biddingAmount: number | null;
|
|
3249
3248
|
boosted: boolean | null;
|
|
3250
3249
|
boostingAmount: number | null;
|
|
@@ -3379,7 +3378,7 @@ export declare const bidPayloadSchema: z.ZodObject<{
|
|
|
3379
3378
|
answer: string;
|
|
3380
3379
|
}[] | null;
|
|
3381
3380
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
3382
|
-
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
3381
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "viewed" | "replied" | "won" | null;
|
|
3383
3382
|
biddingAmount: number | null;
|
|
3384
3383
|
boosted: boolean | null;
|
|
3385
3384
|
boostingAmount: number | null;
|
|
@@ -3522,7 +3521,7 @@ export declare const bidPayloadSchema: z.ZodObject<{
|
|
|
3522
3521
|
answer: string;
|
|
3523
3522
|
}[] | null;
|
|
3524
3523
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
3525
|
-
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
3524
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "viewed" | "replied" | "won" | null;
|
|
3526
3525
|
biddingAmount: number | null;
|
|
3527
3526
|
boosted: boolean | null;
|
|
3528
3527
|
boostingAmount: number | null;
|
|
@@ -3664,7 +3663,7 @@ export declare const bidPayloadSchema: z.ZodObject<{
|
|
|
3664
3663
|
answer: string;
|
|
3665
3664
|
}[] | null;
|
|
3666
3665
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
3667
|
-
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
3666
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "viewed" | "replied" | "won" | null;
|
|
3668
3667
|
biddingAmount: number | null;
|
|
3669
3668
|
boosted: boolean | null;
|
|
3670
3669
|
boostingAmount: number | null;
|
|
@@ -4021,7 +4020,7 @@ export declare const agencyBidPayloadSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
4021
4020
|
answer: string;
|
|
4022
4021
|
}>, "many">>;
|
|
4023
4022
|
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
|
|
4024
|
-
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "viewed", "replied", "won"]>>;
|
|
4023
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "viewed", "replied", "won"]>>;
|
|
4025
4024
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
4026
4025
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
4027
4026
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -4135,7 +4134,7 @@ export declare const agencyBidPayloadSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
4135
4134
|
answer: string;
|
|
4136
4135
|
}[] | null;
|
|
4137
4136
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
4138
|
-
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
4137
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "viewed" | "replied" | "won" | null;
|
|
4139
4138
|
biddingAmount: number | null;
|
|
4140
4139
|
boosted: boolean | null;
|
|
4141
4140
|
boostingAmount: number | null;
|
|
@@ -4270,7 +4269,7 @@ export declare const agencyBidPayloadSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
4270
4269
|
answer: string;
|
|
4271
4270
|
}[] | null;
|
|
4272
4271
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
4273
|
-
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
4272
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "viewed" | "replied" | "won" | null;
|
|
4274
4273
|
biddingAmount: number | null;
|
|
4275
4274
|
boosted: boolean | null;
|
|
4276
4275
|
boostingAmount: number | null;
|
|
@@ -4628,7 +4627,7 @@ export declare const agencyBidPayloadSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
4628
4627
|
answer: string;
|
|
4629
4628
|
}>, "many">>;
|
|
4630
4629
|
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
|
|
4631
|
-
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "viewed", "replied", "won"]>>;
|
|
4630
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "viewed", "replied", "won"]>>;
|
|
4632
4631
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
4633
4632
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
4634
4633
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -4742,7 +4741,7 @@ export declare const agencyBidPayloadSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
4742
4741
|
answer: string;
|
|
4743
4742
|
}[] | null;
|
|
4744
4743
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
4745
|
-
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
4744
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "viewed" | "replied" | "won" | null;
|
|
4746
4745
|
biddingAmount: number | null;
|
|
4747
4746
|
boosted: boolean | null;
|
|
4748
4747
|
boostingAmount: number | null;
|
|
@@ -4877,7 +4876,7 @@ export declare const agencyBidPayloadSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
4877
4876
|
answer: string;
|
|
4878
4877
|
}[] | null;
|
|
4879
4878
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
4880
|
-
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
4879
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "viewed" | "replied" | "won" | null;
|
|
4881
4880
|
biddingAmount: number | null;
|
|
4882
4881
|
boosted: boolean | null;
|
|
4883
4882
|
boostingAmount: number | null;
|
|
@@ -5045,7 +5044,7 @@ export declare const agencyBidPayloadSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
5045
5044
|
answer: string;
|
|
5046
5045
|
}[] | null;
|
|
5047
5046
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
5048
|
-
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
5047
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "viewed" | "replied" | "won" | null;
|
|
5049
5048
|
biddingAmount: number | null;
|
|
5050
5049
|
boosted: boolean | null;
|
|
5051
5050
|
boostingAmount: number | null;
|
|
@@ -5202,7 +5201,7 @@ export declare const agencyBidPayloadSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
5202
5201
|
answer: string;
|
|
5203
5202
|
}[] | null;
|
|
5204
5203
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
5205
|
-
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
5204
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "viewed" | "replied" | "won" | null;
|
|
5206
5205
|
biddingAmount: number | null;
|
|
5207
5206
|
boosted: boolean | null;
|
|
5208
5207
|
boostingAmount: number | null;
|
|
@@ -5357,7 +5356,7 @@ export declare const agencyBidPayloadSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
5357
5356
|
answer: string;
|
|
5358
5357
|
}[] | null;
|
|
5359
5358
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
5360
|
-
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
5359
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "viewed" | "replied" | "won" | null;
|
|
5361
5360
|
biddingAmount: number | null;
|
|
5362
5361
|
boosted: boolean | null;
|
|
5363
5362
|
boostingAmount: number | null;
|
|
@@ -5502,7 +5501,7 @@ export declare const agencyBidPayloadSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
5502
5501
|
answer: string;
|
|
5503
5502
|
}[] | null;
|
|
5504
5503
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
5505
|
-
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
5504
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "viewed" | "replied" | "won" | null;
|
|
5506
5505
|
biddingAmount: number | null;
|
|
5507
5506
|
boosted: boolean | null;
|
|
5508
5507
|
boostingAmount: number | null;
|
|
@@ -5657,7 +5656,7 @@ export declare const agencyBidPayloadSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
5657
5656
|
answer: string;
|
|
5658
5657
|
}[] | null;
|
|
5659
5658
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
5660
|
-
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
5659
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "viewed" | "replied" | "won" | null;
|
|
5661
5660
|
biddingAmount: number | null;
|
|
5662
5661
|
boosted: boolean | null;
|
|
5663
5662
|
boostingAmount: number | null;
|
|
@@ -5802,7 +5801,7 @@ export declare const agencyBidPayloadSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
5802
5801
|
answer: string;
|
|
5803
5802
|
}[] | null;
|
|
5804
5803
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
5805
|
-
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
5804
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "viewed" | "replied" | "won" | null;
|
|
5806
5805
|
biddingAmount: number | null;
|
|
5807
5806
|
boosted: boolean | null;
|
|
5808
5807
|
boostingAmount: number | null;
|
|
@@ -6172,7 +6171,7 @@ export declare const freelancerBidPayloadSchema: z.ZodObject<z.objectUtil.extend
|
|
|
6172
6171
|
answer: string;
|
|
6173
6172
|
}>, "many">>;
|
|
6174
6173
|
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
|
|
6175
|
-
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "viewed", "replied", "won"]>>;
|
|
6174
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "viewed", "replied", "won"]>>;
|
|
6176
6175
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
6177
6176
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
6178
6177
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -6286,7 +6285,7 @@ export declare const freelancerBidPayloadSchema: z.ZodObject<z.objectUtil.extend
|
|
|
6286
6285
|
answer: string;
|
|
6287
6286
|
}[] | null;
|
|
6288
6287
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
6289
|
-
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
6288
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "viewed" | "replied" | "won" | null;
|
|
6290
6289
|
biddingAmount: number | null;
|
|
6291
6290
|
boosted: boolean | null;
|
|
6292
6291
|
boostingAmount: number | null;
|
|
@@ -6421,7 +6420,7 @@ export declare const freelancerBidPayloadSchema: z.ZodObject<z.objectUtil.extend
|
|
|
6421
6420
|
answer: string;
|
|
6422
6421
|
}[] | null;
|
|
6423
6422
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
6424
|
-
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
6423
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "viewed" | "replied" | "won" | null;
|
|
6425
6424
|
biddingAmount: number | null;
|
|
6426
6425
|
boosted: boolean | null;
|
|
6427
6426
|
boostingAmount: number | null;
|
|
@@ -6779,7 +6778,7 @@ export declare const freelancerBidPayloadSchema: z.ZodObject<z.objectUtil.extend
|
|
|
6779
6778
|
answer: string;
|
|
6780
6779
|
}>, "many">>;
|
|
6781
6780
|
agentStatus: z.ZodNullable<z.ZodEnum<["suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "proposalProcessing", "proposalComplete", "proposalFailed", "biddingProcessing", "biddingComplete", "biddingFailed", "jobArchived"]>>;
|
|
6782
|
-
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "viewed", "replied", "won"]>>;
|
|
6781
|
+
leadStatus: z.ZodNullable<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "viewed", "replied", "won"]>>;
|
|
6783
6782
|
biddingAmount: z.ZodNullable<z.ZodNumber>;
|
|
6784
6783
|
boosted: z.ZodNullable<z.ZodBoolean>;
|
|
6785
6784
|
boostingAmount: z.ZodNullable<z.ZodNumber>;
|
|
@@ -6893,7 +6892,7 @@ export declare const freelancerBidPayloadSchema: z.ZodObject<z.objectUtil.extend
|
|
|
6893
6892
|
answer: string;
|
|
6894
6893
|
}[] | null;
|
|
6895
6894
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
6896
|
-
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
6895
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "viewed" | "replied" | "won" | null;
|
|
6897
6896
|
biddingAmount: number | null;
|
|
6898
6897
|
boosted: boolean | null;
|
|
6899
6898
|
boostingAmount: number | null;
|
|
@@ -7028,7 +7027,7 @@ export declare const freelancerBidPayloadSchema: z.ZodObject<z.objectUtil.extend
|
|
|
7028
7027
|
answer: string;
|
|
7029
7028
|
}[] | null;
|
|
7030
7029
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
7031
|
-
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
7030
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "viewed" | "replied" | "won" | null;
|
|
7032
7031
|
biddingAmount: number | null;
|
|
7033
7032
|
boosted: boolean | null;
|
|
7034
7033
|
boostingAmount: number | null;
|
|
@@ -7192,7 +7191,7 @@ export declare const freelancerBidPayloadSchema: z.ZodObject<z.objectUtil.extend
|
|
|
7192
7191
|
answer: string;
|
|
7193
7192
|
}[] | null;
|
|
7194
7193
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
7195
|
-
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
7194
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "viewed" | "replied" | "won" | null;
|
|
7196
7195
|
biddingAmount: number | null;
|
|
7197
7196
|
boosted: boolean | null;
|
|
7198
7197
|
boostingAmount: number | null;
|
|
@@ -7346,7 +7345,7 @@ export declare const freelancerBidPayloadSchema: z.ZodObject<z.objectUtil.extend
|
|
|
7346
7345
|
answer: string;
|
|
7347
7346
|
}[] | null;
|
|
7348
7347
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
7349
|
-
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
7348
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "viewed" | "replied" | "won" | null;
|
|
7350
7349
|
biddingAmount: number | null;
|
|
7351
7350
|
boosted: boolean | null;
|
|
7352
7351
|
boostingAmount: number | null;
|
|
@@ -7498,7 +7497,7 @@ export declare const freelancerBidPayloadSchema: z.ZodObject<z.objectUtil.extend
|
|
|
7498
7497
|
answer: string;
|
|
7499
7498
|
}[] | null;
|
|
7500
7499
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
7501
|
-
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
7500
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "viewed" | "replied" | "won" | null;
|
|
7502
7501
|
biddingAmount: number | null;
|
|
7503
7502
|
boosted: boolean | null;
|
|
7504
7503
|
boostingAmount: number | null;
|
|
@@ -7643,7 +7642,7 @@ export declare const freelancerBidPayloadSchema: z.ZodObject<z.objectUtil.extend
|
|
|
7643
7642
|
answer: string;
|
|
7644
7643
|
}[] | null;
|
|
7645
7644
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
7646
|
-
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
7645
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "viewed" | "replied" | "won" | null;
|
|
7647
7646
|
biddingAmount: number | null;
|
|
7648
7647
|
boosted: boolean | null;
|
|
7649
7648
|
boostingAmount: number | null;
|
|
@@ -7795,7 +7794,7 @@ export declare const freelancerBidPayloadSchema: z.ZodObject<z.objectUtil.extend
|
|
|
7795
7794
|
answer: string;
|
|
7796
7795
|
}[] | null;
|
|
7797
7796
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
7798
|
-
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
7797
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "viewed" | "replied" | "won" | null;
|
|
7799
7798
|
biddingAmount: number | null;
|
|
7800
7799
|
boosted: boolean | null;
|
|
7801
7800
|
boostingAmount: number | null;
|
|
@@ -7940,7 +7939,7 @@ export declare const freelancerBidPayloadSchema: z.ZodObject<z.objectUtil.extend
|
|
|
7940
7939
|
answer: string;
|
|
7941
7940
|
}[] | null;
|
|
7942
7941
|
agentStatus: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "jobArchived" | null;
|
|
7943
|
-
leadStatus: "leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won" | null;
|
|
7942
|
+
leadStatus: "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "viewed" | "replied" | "won" | null;
|
|
7944
7943
|
biddingAmount: number | null;
|
|
7945
7944
|
boosted: boolean | null;
|
|
7946
7945
|
boostingAmount: number | null;
|
|
@@ -8000,9 +7999,7 @@ export declare const bidDtoSchema: z.ZodObject<{
|
|
|
8000
7999
|
leadId: string;
|
|
8001
8000
|
}>;
|
|
8002
8001
|
export type BidPayload = z.infer<typeof bidPayloadSchema>;
|
|
8003
|
-
export
|
|
8004
|
-
lead: Lead;
|
|
8005
|
-
}
|
|
8002
|
+
export type BidProposalData = z.infer<typeof bidPayloadProposalDataSchema>;
|
|
8006
8003
|
export type AgencyBidPayload = z.infer<typeof agencyBidPayloadSchema>;
|
|
8007
8004
|
export type FreelancerBidPayload = z.infer<typeof freelancerBidPayloadSchema>;
|
|
8008
8005
|
export type AgencyBidProposalData = z.infer<typeof agencyBidProposalDataSchema>;
|
|
@@ -266,7 +266,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
266
266
|
sleepStartAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
267
267
|
sleepEndAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
268
268
|
sleepTimezone: z.ZodNullable<z.ZodString>;
|
|
269
|
-
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
269
|
+
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
270
270
|
expenses: z.ZodObject<{
|
|
271
271
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
272
272
|
boostingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -319,6 +319,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
319
319
|
template: string;
|
|
320
320
|
instructions: string;
|
|
321
321
|
}>>;
|
|
322
|
+
organizationProfileId: z.ZodNullable<z.ZodString>;
|
|
322
323
|
}, "strip", z.ZodTypeAny, {
|
|
323
324
|
id: string;
|
|
324
325
|
name: string;
|
|
@@ -389,7 +390,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
389
390
|
sleepStartAtHour: number | null;
|
|
390
391
|
sleepEndAtHour: number | null;
|
|
391
392
|
sleepTimezone: string | null;
|
|
392
|
-
leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won", number>> | null;
|
|
393
|
+
leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "viewed" | "replied" | "won", number>> | null;
|
|
393
394
|
expenses: {
|
|
394
395
|
biddingAmount: number;
|
|
395
396
|
boostingAmount: number;
|
|
@@ -411,6 +412,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
411
412
|
template: string;
|
|
412
413
|
instructions: string;
|
|
413
414
|
} | null;
|
|
415
|
+
organizationProfileId: string | null;
|
|
414
416
|
status?: "active" | "draft" | "paused" | "error" | undefined;
|
|
415
417
|
}, {
|
|
416
418
|
id: string;
|
|
@@ -475,7 +477,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
475
477
|
biddingHourlyRatePercentage: number | null;
|
|
476
478
|
bidWithWarning: "bid" | "skip";
|
|
477
479
|
sleepTimezone: string | null;
|
|
478
|
-
leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won", number>> | null;
|
|
480
|
+
leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "viewed" | "replied" | "won", number>> | null;
|
|
479
481
|
expenses: {
|
|
480
482
|
biddingAmount?: number | undefined;
|
|
481
483
|
boostingAmount?: number | undefined;
|
|
@@ -497,6 +499,7 @@ export declare const campaignSchema: z.ZodObject<{
|
|
|
497
499
|
template: string;
|
|
498
500
|
instructions: string;
|
|
499
501
|
} | null;
|
|
502
|
+
organizationProfileId: string | null;
|
|
500
503
|
status?: "active" | "draft" | "paused" | "error" | undefined;
|
|
501
504
|
boostingEnabled?: boolean | null | undefined;
|
|
502
505
|
maximumBoost?: number | null | undefined;
|
|
@@ -771,7 +774,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
771
774
|
sleepStartAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
772
775
|
sleepEndAtHour: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
773
776
|
sleepTimezone: z.ZodNullable<z.ZodString>;
|
|
774
|
-
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
777
|
+
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "viewed", "replied", "won"]>, z.ZodNumber>>;
|
|
775
778
|
expenses: z.ZodObject<{
|
|
776
779
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
777
780
|
boostingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -824,6 +827,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
824
827
|
template: string;
|
|
825
828
|
instructions: string;
|
|
826
829
|
}>>;
|
|
830
|
+
organizationProfileId: z.ZodNullable<z.ZodString>;
|
|
827
831
|
}, "id" | "createdAt" | "updatedAt" | "bidConfig">, "strip", z.ZodTypeAny, {
|
|
828
832
|
name: string;
|
|
829
833
|
filters: {
|
|
@@ -891,7 +895,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
891
895
|
sleepStartAtHour: number | null;
|
|
892
896
|
sleepEndAtHour: number | null;
|
|
893
897
|
sleepTimezone: string | null;
|
|
894
|
-
leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won", number>> | null;
|
|
898
|
+
leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "viewed" | "replied" | "won", number>> | null;
|
|
895
899
|
expenses: {
|
|
896
900
|
biddingAmount: number;
|
|
897
901
|
boostingAmount: number;
|
|
@@ -907,6 +911,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
907
911
|
template: string;
|
|
908
912
|
instructions: string;
|
|
909
913
|
} | null;
|
|
914
|
+
organizationProfileId: string | null;
|
|
910
915
|
status?: "active" | "draft" | "paused" | "error" | undefined;
|
|
911
916
|
}, {
|
|
912
917
|
name: string;
|
|
@@ -968,7 +973,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
968
973
|
biddingHourlyRatePercentage: number | null;
|
|
969
974
|
bidWithWarning: "bid" | "skip";
|
|
970
975
|
sleepTimezone: string | null;
|
|
971
|
-
leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won", number>> | null;
|
|
976
|
+
leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "viewed" | "replied" | "won", number>> | null;
|
|
972
977
|
expenses: {
|
|
973
978
|
biddingAmount?: number | undefined;
|
|
974
979
|
boostingAmount?: number | undefined;
|
|
@@ -984,6 +989,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
|
|
|
984
989
|
template: string;
|
|
985
990
|
instructions: string;
|
|
986
991
|
} | null;
|
|
992
|
+
organizationProfileId: string | null;
|
|
987
993
|
status?: "active" | "draft" | "paused" | "error" | undefined;
|
|
988
994
|
boostingEnabled?: boolean | null | undefined;
|
|
989
995
|
maximumBoost?: number | null | undefined;
|
|
@@ -1238,7 +1244,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1238
1244
|
sleepStartAtHour: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodNumber>>>;
|
|
1239
1245
|
sleepEndAtHour: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodNumber>>>;
|
|
1240
1246
|
sleepTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1241
|
-
leadCounts: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "viewed", "replied", "won"]>, z.ZodNumber>>>;
|
|
1247
|
+
leadCounts: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "viewed", "replied", "won"]>, z.ZodNumber>>>;
|
|
1242
1248
|
expenses: z.ZodOptional<z.ZodObject<{
|
|
1243
1249
|
biddingAmount: z.ZodDefault<z.ZodNumber>;
|
|
1244
1250
|
boostingAmount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1290,6 +1296,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1290
1296
|
template: string;
|
|
1291
1297
|
instructions: string;
|
|
1292
1298
|
}>>>;
|
|
1299
|
+
organizationProfileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1293
1300
|
}, "strip", z.ZodTypeAny, {
|
|
1294
1301
|
status?: "active" | "draft" | "paused" | "error" | undefined;
|
|
1295
1302
|
id?: string | undefined;
|
|
@@ -1359,7 +1366,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1359
1366
|
sleepStartAtHour?: number | null | undefined;
|
|
1360
1367
|
sleepEndAtHour?: number | null | undefined;
|
|
1361
1368
|
sleepTimezone?: string | null | undefined;
|
|
1362
|
-
leadCounts?: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won", number>> | null | undefined;
|
|
1369
|
+
leadCounts?: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "viewed" | "replied" | "won", number>> | null | undefined;
|
|
1363
1370
|
expenses?: {
|
|
1364
1371
|
biddingAmount: number;
|
|
1365
1372
|
boostingAmount: number;
|
|
@@ -1381,6 +1388,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1381
1388
|
template: string;
|
|
1382
1389
|
instructions: string;
|
|
1383
1390
|
} | null | undefined;
|
|
1391
|
+
organizationProfileId?: string | null | undefined;
|
|
1384
1392
|
}, {
|
|
1385
1393
|
status?: "active" | "draft" | "paused" | "error" | undefined;
|
|
1386
1394
|
id?: string | undefined;
|
|
@@ -1450,7 +1458,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1450
1458
|
sleepStartAtHour?: number | null | undefined;
|
|
1451
1459
|
sleepEndAtHour?: number | null | undefined;
|
|
1452
1460
|
sleepTimezone?: string | null | undefined;
|
|
1453
|
-
leadCounts?: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "viewed" | "replied" | "won", number>> | null | undefined;
|
|
1461
|
+
leadCounts?: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "viewed" | "replied" | "won", number>> | null | undefined;
|
|
1454
1462
|
expenses?: {
|
|
1455
1463
|
biddingAmount?: number | undefined;
|
|
1456
1464
|
boostingAmount?: number | undefined;
|
|
@@ -1472,6 +1480,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
|
|
|
1472
1480
|
template: string;
|
|
1473
1481
|
instructions: string;
|
|
1474
1482
|
} | null | undefined;
|
|
1483
|
+
organizationProfileId?: string | null | undefined;
|
|
1475
1484
|
}>;
|
|
1476
1485
|
export type BiddingHourlyRateStrategy = z.infer<typeof biddingHourlyRateStrategyEnum>;
|
|
1477
1486
|
export interface Campaign extends z.infer<typeof campaignSchema> {
|
|
@@ -430,7 +430,8 @@ export declare const caseStudySchema: z.ZodObject<{
|
|
|
430
430
|
description: string;
|
|
431
431
|
}>;
|
|
432
432
|
export type CaseStudy = z.infer<typeof caseStudySchema>;
|
|
433
|
-
declare const organizationProfileSchema: z.ZodObject<{
|
|
433
|
+
export declare const organizationProfileSchema: z.ZodObject<{
|
|
434
|
+
id: z.ZodString;
|
|
434
435
|
type: z.ZodEnum<["freelancer", "agency"]>;
|
|
435
436
|
name: z.ZodString;
|
|
436
437
|
summary: z.ZodString;
|
|
@@ -466,9 +467,12 @@ declare const organizationProfileSchema: z.ZodObject<{
|
|
|
466
467
|
title: string;
|
|
467
468
|
description: string;
|
|
468
469
|
}>, "many">;
|
|
470
|
+
createdAt: z.ZodNumber;
|
|
469
471
|
}, "strip", z.ZodTypeAny, {
|
|
470
472
|
type: "agency" | "freelancer";
|
|
473
|
+
id: string;
|
|
471
474
|
name: string;
|
|
475
|
+
createdAt: number;
|
|
472
476
|
summary: string;
|
|
473
477
|
coreServices: string;
|
|
474
478
|
toolsSkillsTechnologies: string;
|
|
@@ -488,7 +492,9 @@ declare const organizationProfileSchema: z.ZodObject<{
|
|
|
488
492
|
}[];
|
|
489
493
|
}, {
|
|
490
494
|
type: "agency" | "freelancer";
|
|
495
|
+
id: string;
|
|
491
496
|
name: string;
|
|
497
|
+
createdAt: number;
|
|
492
498
|
summary: string;
|
|
493
499
|
coreServices: string;
|
|
494
500
|
toolsSkillsTechnologies: string;
|
|
@@ -507,7 +513,137 @@ declare const organizationProfileSchema: z.ZodObject<{
|
|
|
507
513
|
description: string;
|
|
508
514
|
}[];
|
|
509
515
|
}>;
|
|
516
|
+
export declare const updateOrganizationProfileSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
517
|
+
id: z.ZodOptional<z.ZodString>;
|
|
518
|
+
type: z.ZodOptional<z.ZodEnum<["freelancer", "agency"]>>;
|
|
519
|
+
name: z.ZodOptional<z.ZodString>;
|
|
520
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
521
|
+
coreServices: z.ZodOptional<z.ZodString>;
|
|
522
|
+
toolsSkillsTechnologies: z.ZodOptional<z.ZodString>;
|
|
523
|
+
approach: z.ZodOptional<z.ZodString>;
|
|
524
|
+
icp: z.ZodOptional<z.ZodString>;
|
|
525
|
+
projectsTheyAvoid: z.ZodOptional<z.ZodString>;
|
|
526
|
+
spokenLanguages: z.ZodOptional<z.ZodString>;
|
|
527
|
+
agencyInfo: z.ZodOptional<z.ZodObject<{
|
|
528
|
+
location: z.ZodArray<z.ZodString, "many">;
|
|
529
|
+
website: z.ZodString;
|
|
530
|
+
teamSize: z.ZodNumber;
|
|
531
|
+
}, "strip", z.ZodTypeAny, {
|
|
532
|
+
location: string[];
|
|
533
|
+
website: string;
|
|
534
|
+
teamSize: number;
|
|
535
|
+
}, {
|
|
536
|
+
location: string[];
|
|
537
|
+
website: string;
|
|
538
|
+
teamSize: number;
|
|
539
|
+
}>>;
|
|
540
|
+
caseStudies: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
541
|
+
id: z.ZodString;
|
|
542
|
+
title: z.ZodString;
|
|
543
|
+
description: z.ZodString;
|
|
544
|
+
}, "strip", z.ZodTypeAny, {
|
|
545
|
+
id: string;
|
|
546
|
+
title: string;
|
|
547
|
+
description: string;
|
|
548
|
+
}, {
|
|
549
|
+
id: string;
|
|
550
|
+
title: string;
|
|
551
|
+
description: string;
|
|
552
|
+
}>, "many">>;
|
|
553
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
554
|
+
}, {
|
|
555
|
+
id: z.ZodString;
|
|
556
|
+
}>, "strip", z.ZodTypeAny, {
|
|
557
|
+
id: string;
|
|
558
|
+
type?: "agency" | "freelancer" | undefined;
|
|
559
|
+
name?: string | undefined;
|
|
560
|
+
createdAt?: number | undefined;
|
|
561
|
+
summary?: string | undefined;
|
|
562
|
+
coreServices?: string | undefined;
|
|
563
|
+
toolsSkillsTechnologies?: string | undefined;
|
|
564
|
+
approach?: string | undefined;
|
|
565
|
+
icp?: string | undefined;
|
|
566
|
+
projectsTheyAvoid?: string | undefined;
|
|
567
|
+
spokenLanguages?: string | undefined;
|
|
568
|
+
agencyInfo?: {
|
|
569
|
+
location: string[];
|
|
570
|
+
website: string;
|
|
571
|
+
teamSize: number;
|
|
572
|
+
} | undefined;
|
|
573
|
+
caseStudies?: {
|
|
574
|
+
id: string;
|
|
575
|
+
title: string;
|
|
576
|
+
description: string;
|
|
577
|
+
}[] | undefined;
|
|
578
|
+
}, {
|
|
579
|
+
id: string;
|
|
580
|
+
type?: "agency" | "freelancer" | undefined;
|
|
581
|
+
name?: string | undefined;
|
|
582
|
+
createdAt?: number | undefined;
|
|
583
|
+
summary?: string | undefined;
|
|
584
|
+
coreServices?: string | undefined;
|
|
585
|
+
toolsSkillsTechnologies?: string | undefined;
|
|
586
|
+
approach?: string | undefined;
|
|
587
|
+
icp?: string | undefined;
|
|
588
|
+
projectsTheyAvoid?: string | undefined;
|
|
589
|
+
spokenLanguages?: string | undefined;
|
|
590
|
+
agencyInfo?: {
|
|
591
|
+
location: string[];
|
|
592
|
+
website: string;
|
|
593
|
+
teamSize: number;
|
|
594
|
+
} | undefined;
|
|
595
|
+
caseStudies?: {
|
|
596
|
+
id: string;
|
|
597
|
+
title: string;
|
|
598
|
+
description: string;
|
|
599
|
+
}[] | undefined;
|
|
600
|
+
}>;
|
|
601
|
+
export declare const createOrganizationProfileSchema: z.ZodObject<Pick<{
|
|
602
|
+
id: z.ZodString;
|
|
603
|
+
type: z.ZodEnum<["freelancer", "agency"]>;
|
|
604
|
+
name: z.ZodString;
|
|
605
|
+
summary: z.ZodString;
|
|
606
|
+
coreServices: z.ZodString;
|
|
607
|
+
toolsSkillsTechnologies: z.ZodString;
|
|
608
|
+
approach: z.ZodString;
|
|
609
|
+
icp: z.ZodString;
|
|
610
|
+
projectsTheyAvoid: z.ZodString;
|
|
611
|
+
spokenLanguages: z.ZodString;
|
|
612
|
+
agencyInfo: z.ZodObject<{
|
|
613
|
+
location: z.ZodArray<z.ZodString, "many">;
|
|
614
|
+
website: z.ZodString;
|
|
615
|
+
teamSize: z.ZodNumber;
|
|
616
|
+
}, "strip", z.ZodTypeAny, {
|
|
617
|
+
location: string[];
|
|
618
|
+
website: string;
|
|
619
|
+
teamSize: number;
|
|
620
|
+
}, {
|
|
621
|
+
location: string[];
|
|
622
|
+
website: string;
|
|
623
|
+
teamSize: number;
|
|
624
|
+
}>;
|
|
625
|
+
caseStudies: z.ZodArray<z.ZodObject<{
|
|
626
|
+
id: z.ZodString;
|
|
627
|
+
title: z.ZodString;
|
|
628
|
+
description: z.ZodString;
|
|
629
|
+
}, "strip", z.ZodTypeAny, {
|
|
630
|
+
id: string;
|
|
631
|
+
title: string;
|
|
632
|
+
description: string;
|
|
633
|
+
}, {
|
|
634
|
+
id: string;
|
|
635
|
+
title: string;
|
|
636
|
+
description: string;
|
|
637
|
+
}>, "many">;
|
|
638
|
+
createdAt: z.ZodNumber;
|
|
639
|
+
}, "name">, "strip", z.ZodTypeAny, {
|
|
640
|
+
name: string;
|
|
641
|
+
}, {
|
|
642
|
+
name: string;
|
|
643
|
+
}>;
|
|
510
644
|
export type OrganizationProfile = z.infer<typeof organizationProfileSchema>;
|
|
645
|
+
export type UpdateOrganizationProfile = z.infer<typeof updateOrganizationProfileSchema>;
|
|
646
|
+
export type CreateOrganizationProfile = z.infer<typeof createOrganizationProfileSchema>;
|
|
511
647
|
export declare const createOrganizationSchema: z.ZodObject<Pick<{
|
|
512
648
|
id: z.ZodString;
|
|
513
649
|
name: z.ZodString;
|
|
@@ -901,7 +1037,7 @@ export interface OneTimePayments extends z.infer<typeof oneTimePaymentsSchema> {
|
|
|
901
1037
|
export interface Organization extends infer<typeof organizationSchema> {
|
|
902
1038
|
coverLetterTemplates: CoverLetterTemplate[] | null;
|
|
903
1039
|
settings: OrganizationSettings | null;
|
|
904
|
-
|
|
1040
|
+
profiles: OrganizationProfile[] | null;
|
|
905
1041
|
onboarding: OnboardingProgress | null;
|
|
906
1042
|
oneTimePayments: OneTimePayments;
|
|
907
1043
|
}
|