lancer-shared 1.2.321 → 1.2.323
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 +22 -5
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +21 -6
- package/dist/bundle.esm.js.map +1 -1
- package/dist/constants/chat.d.ts +3 -0
- package/dist/constants/index.d.ts +1 -0
- package/dist/constants/routes.d.ts +1 -0
- package/dist/schemas/account/bidder-account.d.ts +10 -10
- package/dist/schemas/account/scraper-account.d.ts +10 -10
- package/dist/schemas/agent/index.d.ts +50 -50
- package/dist/schemas/bidder/bid.d.ts +352 -352
- package/dist/schemas/campaign/campaign-analytics.d.ts +78 -78
- package/dist/schemas/campaign/campaign-chat-bot.d.ts +4 -4
- package/dist/schemas/chat/index.d.ts +145 -66
- package/dist/schemas/dashboard/index.d.ts +18 -18
- package/dist/schemas/golden-dataset/sample.d.ts +4 -4
- package/dist/schemas/job/index.d.ts +32 -32
- package/dist/schemas/job/nuxt.d.ts +6 -6
- package/dist/schemas/lead/index.d.ts +165 -165
- package/dist/schemas/lead/lead-status.d.ts +2 -2
- package/dist/schemas/logger/feed/feed-job-enrich.d.ts +30 -30
- package/dist/schemas/logger/log-event.d.ts +20 -20
- package/dist/schemas/logger/scraper-events.d.ts +4 -4
- package/dist/schemas/organization/organization-leads.d.ts +2 -2
- package/dist/schemas/plan/index.d.ts +2 -2
- package/dist/schemas/proxy/proxy.d.ts +3 -3
- package/dist/schemas/scraper/scrape-payload.d.ts +44 -44
- package/dist/schemas/scraper/scrape-result.d.ts +28 -28
- package/dist/schemas/transaction/index.d.ts +2 -2
- package/dist/schemas/upwork-talent/index.d.ts +2 -2
- package/dist/schemas/usage/index.d.ts +2 -2
- package/dist/schemas/usage-event/index.d.ts +6 -6
- package/package.json +1 -1
|
@@ -14,16 +14,16 @@ export declare const updateLeadStatusSchema: z.ZodObject<{
|
|
|
14
14
|
leadId: string;
|
|
15
15
|
organizationId: string;
|
|
16
16
|
campaignId: string;
|
|
17
|
-
proposalId?: string | undefined;
|
|
18
17
|
userId?: string | undefined;
|
|
18
|
+
proposalId?: string | undefined;
|
|
19
19
|
wonAmount?: number | undefined;
|
|
20
20
|
}, {
|
|
21
21
|
status: "rejected" | "biddingFailed" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "biddingScheduled" | "alreadyHired" | "won";
|
|
22
22
|
leadId: string;
|
|
23
23
|
organizationId: string;
|
|
24
24
|
campaignId: string;
|
|
25
|
-
proposalId?: string | undefined;
|
|
26
25
|
userId?: string | undefined;
|
|
26
|
+
proposalId?: string | undefined;
|
|
27
27
|
wonAmount?: number | undefined;
|
|
28
28
|
}>;
|
|
29
29
|
export declare const updateOrganizationLeadsStatusPayloadSchema: z.ZodArray<z.ZodObject<{
|
|
@@ -683,9 +683,9 @@ export declare const feedJobEnrichCompletedEventMetadata: z.ZodObject<z.objectUt
|
|
|
683
683
|
numHours: z.ZodNullable<z.ZodNumber>;
|
|
684
684
|
totalBilled: z.ZodNullable<z.ZodNumber>;
|
|
685
685
|
}, "strip", z.ZodTypeAny, {
|
|
686
|
-
hourlyRate: number | null;
|
|
687
|
-
jobTitle: string | null;
|
|
688
686
|
freelancerName: string | null;
|
|
687
|
+
jobTitle: string | null;
|
|
688
|
+
hourlyRate: number | null;
|
|
689
689
|
freelancerRating: number | null;
|
|
690
690
|
freelancerFeedback: string | null;
|
|
691
691
|
clientFeedback: string | null;
|
|
@@ -696,9 +696,9 @@ export declare const feedJobEnrichCompletedEventMetadata: z.ZodObject<z.objectUt
|
|
|
696
696
|
numHours: number | null;
|
|
697
697
|
totalBilled: number | null;
|
|
698
698
|
}, {
|
|
699
|
-
hourlyRate: number | null;
|
|
700
|
-
jobTitle: string | null;
|
|
701
699
|
freelancerName: string | null;
|
|
700
|
+
jobTitle: string | null;
|
|
701
|
+
hourlyRate: number | null;
|
|
702
702
|
freelancerRating: number | null;
|
|
703
703
|
freelancerFeedback: string | null;
|
|
704
704
|
clientFeedback: string | null;
|
|
@@ -742,8 +742,8 @@ export declare const feedJobEnrichCompletedEventMetadata: z.ZodObject<z.objectUt
|
|
|
742
742
|
unansweredInvites: z.ZodNullable<z.ZodNumber>;
|
|
743
743
|
updatedAt: z.ZodNullable<z.ZodNumber>;
|
|
744
744
|
}, "strip", z.ZodTypeAny, {
|
|
745
|
-
unansweredInvites: number | null;
|
|
746
745
|
updatedAt: number | null;
|
|
746
|
+
unansweredInvites: number | null;
|
|
747
747
|
proposals: {
|
|
748
748
|
max: number | null;
|
|
749
749
|
min: number | null;
|
|
@@ -754,8 +754,8 @@ export declare const feedJobEnrichCompletedEventMetadata: z.ZodObject<z.objectUt
|
|
|
754
754
|
interviewing: number | null;
|
|
755
755
|
invitesSent: number | null;
|
|
756
756
|
}, {
|
|
757
|
-
unansweredInvites: number | null;
|
|
758
757
|
updatedAt: number | null;
|
|
758
|
+
unansweredInvites: number | null;
|
|
759
759
|
proposals: {
|
|
760
760
|
max: number | null;
|
|
761
761
|
min: number | null;
|
|
@@ -787,8 +787,8 @@ export declare const feedJobEnrichCompletedEventMetadata: z.ZodObject<z.objectUt
|
|
|
787
787
|
unansweredInvites: z.ZodNullable<z.ZodNumber>;
|
|
788
788
|
updatedAt: z.ZodNullable<z.ZodNumber>;
|
|
789
789
|
}, "strip", z.ZodTypeAny, {
|
|
790
|
-
unansweredInvites: number | null;
|
|
791
790
|
updatedAt: number | null;
|
|
791
|
+
unansweredInvites: number | null;
|
|
792
792
|
proposals: {
|
|
793
793
|
max: number | null;
|
|
794
794
|
min: number | null;
|
|
@@ -799,8 +799,8 @@ export declare const feedJobEnrichCompletedEventMetadata: z.ZodObject<z.objectUt
|
|
|
799
799
|
interviewing: number | null;
|
|
800
800
|
invitesSent: number | null;
|
|
801
801
|
}, {
|
|
802
|
-
unansweredInvites: number | null;
|
|
803
802
|
updatedAt: number | null;
|
|
803
|
+
unansweredInvites: number | null;
|
|
804
804
|
proposals: {
|
|
805
805
|
max: number | null;
|
|
806
806
|
min: number | null;
|
|
@@ -847,15 +847,15 @@ export declare const feedJobEnrichCompletedEventMetadata: z.ZodObject<z.objectUt
|
|
|
847
847
|
description: string | null;
|
|
848
848
|
region: "USOnly" | "UKOnly" | "Worldwide" | "All" | null;
|
|
849
849
|
datetime: number | null;
|
|
850
|
+
createdAt: number | null;
|
|
850
851
|
category: string | null;
|
|
851
852
|
uid: string | null;
|
|
852
853
|
questions: string[] | null;
|
|
853
854
|
occupation: string | null;
|
|
854
|
-
createdAt: number | null;
|
|
855
855
|
clientReviews: {
|
|
856
|
-
hourlyRate: number | null;
|
|
857
|
-
jobTitle: string | null;
|
|
858
856
|
freelancerName: string | null;
|
|
857
|
+
jobTitle: string | null;
|
|
858
|
+
hourlyRate: number | null;
|
|
859
859
|
freelancerRating: number | null;
|
|
860
860
|
freelancerFeedback: string | null;
|
|
861
861
|
clientFeedback: string | null;
|
|
@@ -910,8 +910,8 @@ export declare const feedJobEnrichCompletedEventMetadata: z.ZodObject<z.objectUt
|
|
|
910
910
|
avg: number | null;
|
|
911
911
|
} | null;
|
|
912
912
|
jobActivity: {
|
|
913
|
-
unansweredInvites: number | null;
|
|
914
913
|
updatedAt: number | null;
|
|
914
|
+
unansweredInvites: number | null;
|
|
915
915
|
proposals: {
|
|
916
916
|
max: number | null;
|
|
917
917
|
min: number | null;
|
|
@@ -924,8 +924,8 @@ export declare const feedJobEnrichCompletedEventMetadata: z.ZodObject<z.objectUt
|
|
|
924
924
|
} | null;
|
|
925
925
|
activityUpdates: 2 | 1 | 3 | null;
|
|
926
926
|
activity?: Partial<Record<"4h" | "24h", {
|
|
927
|
-
unansweredInvites: number | null;
|
|
928
927
|
updatedAt: number | null;
|
|
928
|
+
unansweredInvites: number | null;
|
|
929
929
|
proposals: {
|
|
930
930
|
max: number | null;
|
|
931
931
|
min: number | null;
|
|
@@ -960,15 +960,15 @@ export declare const feedJobEnrichCompletedEventMetadata: z.ZodObject<z.objectUt
|
|
|
960
960
|
description: string | null;
|
|
961
961
|
region: "USOnly" | "UKOnly" | "Worldwide" | "All" | null;
|
|
962
962
|
datetime: number | null;
|
|
963
|
+
createdAt: number | null;
|
|
963
964
|
category: string | null;
|
|
964
965
|
uid: string | null;
|
|
965
966
|
questions: string[] | null;
|
|
966
967
|
occupation: string | null;
|
|
967
|
-
createdAt: number | null;
|
|
968
968
|
clientReviews: {
|
|
969
|
-
hourlyRate: number | null;
|
|
970
|
-
jobTitle: string | null;
|
|
971
969
|
freelancerName: string | null;
|
|
970
|
+
jobTitle: string | null;
|
|
971
|
+
hourlyRate: number | null;
|
|
972
972
|
freelancerRating: number | null;
|
|
973
973
|
freelancerFeedback: string | null;
|
|
974
974
|
clientFeedback: string | null;
|
|
@@ -1023,8 +1023,8 @@ export declare const feedJobEnrichCompletedEventMetadata: z.ZodObject<z.objectUt
|
|
|
1023
1023
|
avg: number | null;
|
|
1024
1024
|
} | null;
|
|
1025
1025
|
jobActivity: {
|
|
1026
|
-
unansweredInvites: number | null;
|
|
1027
1026
|
updatedAt: number | null;
|
|
1027
|
+
unansweredInvites: number | null;
|
|
1028
1028
|
proposals: {
|
|
1029
1029
|
max: number | null;
|
|
1030
1030
|
min: number | null;
|
|
@@ -1037,8 +1037,8 @@ export declare const feedJobEnrichCompletedEventMetadata: z.ZodObject<z.objectUt
|
|
|
1037
1037
|
} | null;
|
|
1038
1038
|
activityUpdates: 2 | 1 | 3 | null;
|
|
1039
1039
|
activity?: Partial<Record<"4h" | "24h", {
|
|
1040
|
-
unansweredInvites: number | null;
|
|
1041
1040
|
updatedAt: number | null;
|
|
1041
|
+
unansweredInvites: number | null;
|
|
1042
1042
|
proposals: {
|
|
1043
1043
|
max: number | null;
|
|
1044
1044
|
min: number | null;
|
|
@@ -1061,6 +1061,7 @@ export declare const feedJobEnrichCompletedEventMetadata: z.ZodObject<z.objectUt
|
|
|
1061
1061
|
}>, "strip", z.ZodTypeAny, {
|
|
1062
1062
|
region: "USOnly" | "UKOnly" | "Worldwide" | "All";
|
|
1063
1063
|
duration: string;
|
|
1064
|
+
accountId: string;
|
|
1064
1065
|
job: {
|
|
1065
1066
|
id: string | null;
|
|
1066
1067
|
title: string | null;
|
|
@@ -1078,15 +1079,15 @@ export declare const feedJobEnrichCompletedEventMetadata: z.ZodObject<z.objectUt
|
|
|
1078
1079
|
description: string | null;
|
|
1079
1080
|
region: "USOnly" | "UKOnly" | "Worldwide" | "All" | null;
|
|
1080
1081
|
datetime: number | null;
|
|
1082
|
+
createdAt: number | null;
|
|
1081
1083
|
category: string | null;
|
|
1082
1084
|
uid: string | null;
|
|
1083
1085
|
questions: string[] | null;
|
|
1084
1086
|
occupation: string | null;
|
|
1085
|
-
createdAt: number | null;
|
|
1086
1087
|
clientReviews: {
|
|
1087
|
-
hourlyRate: number | null;
|
|
1088
|
-
jobTitle: string | null;
|
|
1089
1088
|
freelancerName: string | null;
|
|
1089
|
+
jobTitle: string | null;
|
|
1090
|
+
hourlyRate: number | null;
|
|
1090
1091
|
freelancerRating: number | null;
|
|
1091
1092
|
freelancerFeedback: string | null;
|
|
1092
1093
|
clientFeedback: string | null;
|
|
@@ -1141,8 +1142,8 @@ export declare const feedJobEnrichCompletedEventMetadata: z.ZodObject<z.objectUt
|
|
|
1141
1142
|
avg: number | null;
|
|
1142
1143
|
} | null;
|
|
1143
1144
|
jobActivity: {
|
|
1144
|
-
unansweredInvites: number | null;
|
|
1145
1145
|
updatedAt: number | null;
|
|
1146
|
+
unansweredInvites: number | null;
|
|
1146
1147
|
proposals: {
|
|
1147
1148
|
max: number | null;
|
|
1148
1149
|
min: number | null;
|
|
@@ -1155,8 +1156,8 @@ export declare const feedJobEnrichCompletedEventMetadata: z.ZodObject<z.objectUt
|
|
|
1155
1156
|
} | null;
|
|
1156
1157
|
activityUpdates: 2 | 1 | 3 | null;
|
|
1157
1158
|
activity?: Partial<Record<"4h" | "24h", {
|
|
1158
|
-
unansweredInvites: number | null;
|
|
1159
1159
|
updatedAt: number | null;
|
|
1160
|
+
unansweredInvites: number | null;
|
|
1160
1161
|
proposals: {
|
|
1161
1162
|
max: number | null;
|
|
1162
1163
|
min: number | null;
|
|
@@ -1175,11 +1176,11 @@ export declare const feedJobEnrichCompletedEventMetadata: z.ZodObject<z.objectUt
|
|
|
1175
1176
|
invitesSent: number;
|
|
1176
1177
|
} | null | undefined;
|
|
1177
1178
|
};
|
|
1178
|
-
accountId: string;
|
|
1179
1179
|
accountEmail: string;
|
|
1180
1180
|
}, {
|
|
1181
1181
|
region: "USOnly" | "UKOnly" | "Worldwide" | "All";
|
|
1182
1182
|
duration: string;
|
|
1183
|
+
accountId: string;
|
|
1183
1184
|
job: {
|
|
1184
1185
|
id: string | null;
|
|
1185
1186
|
title: string | null;
|
|
@@ -1197,15 +1198,15 @@ export declare const feedJobEnrichCompletedEventMetadata: z.ZodObject<z.objectUt
|
|
|
1197
1198
|
description: string | null;
|
|
1198
1199
|
region: "USOnly" | "UKOnly" | "Worldwide" | "All" | null;
|
|
1199
1200
|
datetime: number | null;
|
|
1201
|
+
createdAt: number | null;
|
|
1200
1202
|
category: string | null;
|
|
1201
1203
|
uid: string | null;
|
|
1202
1204
|
questions: string[] | null;
|
|
1203
1205
|
occupation: string | null;
|
|
1204
|
-
createdAt: number | null;
|
|
1205
1206
|
clientReviews: {
|
|
1206
|
-
hourlyRate: number | null;
|
|
1207
|
-
jobTitle: string | null;
|
|
1208
1207
|
freelancerName: string | null;
|
|
1208
|
+
jobTitle: string | null;
|
|
1209
|
+
hourlyRate: number | null;
|
|
1209
1210
|
freelancerRating: number | null;
|
|
1210
1211
|
freelancerFeedback: string | null;
|
|
1211
1212
|
clientFeedback: string | null;
|
|
@@ -1260,8 +1261,8 @@ export declare const feedJobEnrichCompletedEventMetadata: z.ZodObject<z.objectUt
|
|
|
1260
1261
|
avg: number | null;
|
|
1261
1262
|
} | null;
|
|
1262
1263
|
jobActivity: {
|
|
1263
|
-
unansweredInvites: number | null;
|
|
1264
1264
|
updatedAt: number | null;
|
|
1265
|
+
unansweredInvites: number | null;
|
|
1265
1266
|
proposals: {
|
|
1266
1267
|
max: number | null;
|
|
1267
1268
|
min: number | null;
|
|
@@ -1274,8 +1275,8 @@ export declare const feedJobEnrichCompletedEventMetadata: z.ZodObject<z.objectUt
|
|
|
1274
1275
|
} | null;
|
|
1275
1276
|
activityUpdates: 2 | 1 | 3 | null;
|
|
1276
1277
|
activity?: Partial<Record<"4h" | "24h", {
|
|
1277
|
-
unansweredInvites: number | null;
|
|
1278
1278
|
updatedAt: number | null;
|
|
1279
|
+
unansweredInvites: number | null;
|
|
1279
1280
|
proposals: {
|
|
1280
1281
|
max: number | null;
|
|
1281
1282
|
min: number | null;
|
|
@@ -1294,7 +1295,6 @@ export declare const feedJobEnrichCompletedEventMetadata: z.ZodObject<z.objectUt
|
|
|
1294
1295
|
invitesSent: number;
|
|
1295
1296
|
} | null | undefined;
|
|
1296
1297
|
};
|
|
1297
|
-
accountId: string;
|
|
1298
1298
|
accountEmail: string;
|
|
1299
1299
|
}>;
|
|
1300
1300
|
export declare const feedJobEnrichFailedEventMetadata: z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -17,10 +17,10 @@ export declare const logEventSchema: z.ZodObject<{
|
|
|
17
17
|
reason: string | null;
|
|
18
18
|
source: string;
|
|
19
19
|
metadata: Record<string, unknown> | null;
|
|
20
|
+
userId: string | null;
|
|
20
21
|
leadId: string | null;
|
|
21
22
|
organizationId: string | null;
|
|
22
23
|
campaignId: string | null;
|
|
23
|
-
userId: string | null;
|
|
24
24
|
resourceType: string;
|
|
25
25
|
resourceId: string | null;
|
|
26
26
|
timestamp: number;
|
|
@@ -29,10 +29,10 @@ export declare const logEventSchema: z.ZodObject<{
|
|
|
29
29
|
reason: string | null;
|
|
30
30
|
source: string;
|
|
31
31
|
metadata: Record<string, unknown> | null;
|
|
32
|
+
userId: string | null;
|
|
32
33
|
leadId: string | null;
|
|
33
34
|
organizationId: string | null;
|
|
34
35
|
campaignId: string | null;
|
|
35
|
-
userId: string | null;
|
|
36
36
|
resourceId: string | null;
|
|
37
37
|
timestamp: number;
|
|
38
38
|
resourceType?: string | undefined;
|
|
@@ -142,20 +142,20 @@ export declare const leadStatusEventMetadata: z.ZodObject<{
|
|
|
142
142
|
}>>;
|
|
143
143
|
reason: z.ZodOptional<z.ZodString>;
|
|
144
144
|
}, "strip", z.ZodTypeAny, {
|
|
145
|
+
userId: string;
|
|
145
146
|
leadId: string;
|
|
146
147
|
organizationId: string;
|
|
147
148
|
campaignId: string;
|
|
148
|
-
userId: string;
|
|
149
149
|
reason?: string | undefined;
|
|
150
150
|
metadata?: {
|
|
151
151
|
status: "rejected" | "biddingFailed" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "biddingScheduled" | "alreadyHired" | "won";
|
|
152
152
|
proposalId: string | null;
|
|
153
153
|
} | undefined;
|
|
154
154
|
}, {
|
|
155
|
+
userId: string;
|
|
155
156
|
leadId: string;
|
|
156
157
|
organizationId: string;
|
|
157
158
|
campaignId: string;
|
|
158
|
-
userId: string;
|
|
159
159
|
reason?: string | undefined;
|
|
160
160
|
metadata?: {
|
|
161
161
|
status: "rejected" | "biddingFailed" | "leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "alreadyBiddedOn" | "viewed" | "replied" | "biddingScheduled" | "alreadyHired" | "won";
|
|
@@ -515,12 +515,6 @@ export declare const proposalCompleteEventMetadataSchema: z.ZodObject<{
|
|
|
515
515
|
campaignId: string;
|
|
516
516
|
}>, "many">;
|
|
517
517
|
}, "strip", z.ZodTypeAny, {
|
|
518
|
-
jobId: string;
|
|
519
|
-
isOverallHighestPriorityCampaign: boolean;
|
|
520
|
-
applyToLeads: {
|
|
521
|
-
leadId: string;
|
|
522
|
-
campaignId: string;
|
|
523
|
-
}[];
|
|
524
518
|
proposal: {
|
|
525
519
|
coverLetter: string;
|
|
526
520
|
questionAnswerPairs: {
|
|
@@ -528,6 +522,12 @@ export declare const proposalCompleteEventMetadataSchema: z.ZodObject<{
|
|
|
528
522
|
question: string;
|
|
529
523
|
}[];
|
|
530
524
|
};
|
|
525
|
+
jobId: string;
|
|
526
|
+
isOverallHighestPriorityCampaign: boolean;
|
|
527
|
+
applyToLeads: {
|
|
528
|
+
leadId: string;
|
|
529
|
+
campaignId: string;
|
|
530
|
+
}[];
|
|
531
531
|
provider?: string | undefined;
|
|
532
532
|
model?: string | undefined;
|
|
533
533
|
coverLetterTemplateId?: string | undefined;
|
|
@@ -538,12 +538,6 @@ export declare const proposalCompleteEventMetadataSchema: z.ZodObject<{
|
|
|
538
538
|
role: string;
|
|
539
539
|
}[] | undefined;
|
|
540
540
|
}, {
|
|
541
|
-
jobId: string;
|
|
542
|
-
isOverallHighestPriorityCampaign: boolean;
|
|
543
|
-
applyToLeads: {
|
|
544
|
-
leadId: string;
|
|
545
|
-
campaignId: string;
|
|
546
|
-
}[];
|
|
547
541
|
proposal: {
|
|
548
542
|
coverLetter: string;
|
|
549
543
|
questionAnswerPairs: {
|
|
@@ -551,6 +545,12 @@ export declare const proposalCompleteEventMetadataSchema: z.ZodObject<{
|
|
|
551
545
|
question: string;
|
|
552
546
|
}[];
|
|
553
547
|
};
|
|
548
|
+
jobId: string;
|
|
549
|
+
isOverallHighestPriorityCampaign: boolean;
|
|
550
|
+
applyToLeads: {
|
|
551
|
+
leadId: string;
|
|
552
|
+
campaignId: string;
|
|
553
|
+
}[];
|
|
554
554
|
provider?: string | undefined;
|
|
555
555
|
model?: string | undefined;
|
|
556
556
|
coverLetterTemplateId?: string | undefined;
|
|
@@ -579,10 +579,10 @@ export declare const eventLoggerPayloadSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
579
579
|
reason: string | null;
|
|
580
580
|
source: string;
|
|
581
581
|
metadata: Record<string, unknown> | null;
|
|
582
|
+
userId: string | null;
|
|
582
583
|
leadId: string | null;
|
|
583
584
|
organizationId: string | null;
|
|
584
585
|
campaignId: string | null;
|
|
585
|
-
userId: string | null;
|
|
586
586
|
resourceType: string;
|
|
587
587
|
resourceId: string | null;
|
|
588
588
|
timestamp: number;
|
|
@@ -591,10 +591,10 @@ export declare const eventLoggerPayloadSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
591
591
|
reason: string | null;
|
|
592
592
|
source: string;
|
|
593
593
|
metadata: Record<string, unknown> | null;
|
|
594
|
+
userId: string | null;
|
|
594
595
|
leadId: string | null;
|
|
595
596
|
organizationId: string | null;
|
|
596
597
|
campaignId: string | null;
|
|
597
|
-
userId: string | null;
|
|
598
598
|
resourceId: string | null;
|
|
599
599
|
timestamp: number;
|
|
600
600
|
resourceType?: string | undefined;
|
|
@@ -615,10 +615,10 @@ export declare const eventLoggerPayloadSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
615
615
|
reason: string | null;
|
|
616
616
|
source: string;
|
|
617
617
|
metadata: Record<string, unknown> | null;
|
|
618
|
+
userId: string | null;
|
|
618
619
|
leadId: string | null;
|
|
619
620
|
organizationId: string | null;
|
|
620
621
|
campaignId: string | null;
|
|
621
|
-
userId: string | null;
|
|
622
622
|
resourceType: string;
|
|
623
623
|
resourceId: string | null;
|
|
624
624
|
timestamp: number;
|
|
@@ -627,10 +627,10 @@ export declare const eventLoggerPayloadSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
627
627
|
reason: string | null;
|
|
628
628
|
source: string;
|
|
629
629
|
metadata: Record<string, unknown> | null;
|
|
630
|
+
userId: string | null;
|
|
630
631
|
leadId: string | null;
|
|
631
632
|
organizationId: string | null;
|
|
632
633
|
campaignId: string | null;
|
|
633
|
-
userId: string | null;
|
|
634
634
|
resourceId: string | null;
|
|
635
635
|
timestamp: number;
|
|
636
636
|
resourceType?: string | undefined;
|
|
@@ -44,8 +44,8 @@ export declare const jobActivityScrapedEventMetadata: z.ZodObject<{
|
|
|
44
44
|
unansweredInvites: z.ZodNullable<z.ZodNumber>;
|
|
45
45
|
updatedAt: z.ZodNullable<z.ZodNumber>;
|
|
46
46
|
}, "strip", z.ZodTypeAny, {
|
|
47
|
-
unansweredInvites: number | null;
|
|
48
47
|
updatedAt: number | null;
|
|
48
|
+
unansweredInvites: number | null;
|
|
49
49
|
proposals: {
|
|
50
50
|
max: number | null;
|
|
51
51
|
min: number | null;
|
|
@@ -56,8 +56,8 @@ export declare const jobActivityScrapedEventMetadata: z.ZodObject<{
|
|
|
56
56
|
interviewing: number | null;
|
|
57
57
|
invitesSent: number | null;
|
|
58
58
|
}, {
|
|
59
|
-
unansweredInvites: number | null;
|
|
60
59
|
updatedAt: number | null;
|
|
60
|
+
unansweredInvites: number | null;
|
|
61
61
|
proposals: {
|
|
62
62
|
max: number | null;
|
|
63
63
|
min: number | null;
|
|
@@ -74,8 +74,8 @@ export declare const jobActivityScrapedEventMetadata: z.ZodObject<{
|
|
|
74
74
|
}, "strip", z.ZodTypeAny, {
|
|
75
75
|
region: "USOnly" | "UKOnly" | "Worldwide" | "All";
|
|
76
76
|
activity: {
|
|
77
|
-
unansweredInvites: number | null;
|
|
78
77
|
updatedAt: number | null;
|
|
78
|
+
unansweredInvites: number | null;
|
|
79
79
|
proposals: {
|
|
80
80
|
max: number | null;
|
|
81
81
|
min: number | null;
|
|
@@ -91,8 +91,8 @@ export declare const jobActivityScrapedEventMetadata: z.ZodObject<{
|
|
|
91
91
|
}, {
|
|
92
92
|
region: "USOnly" | "UKOnly" | "Worldwide" | "All";
|
|
93
93
|
activity: {
|
|
94
|
-
unansweredInvites: number | null;
|
|
95
94
|
updatedAt: number | null;
|
|
95
|
+
unansweredInvites: number | null;
|
|
96
96
|
proposals: {
|
|
97
97
|
max: number | null;
|
|
98
98
|
min: number | null;
|
|
@@ -9,15 +9,15 @@ export declare const getOrganizationLeadsRequestQuerySchema: z.ZodObject<{
|
|
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
|
10
10
|
cursor?: string | undefined;
|
|
11
11
|
status?: "all" | "rejected" | "contacted" | "viewed" | "replied" | "suitable" | undefined;
|
|
12
|
+
limit?: number | undefined;
|
|
12
13
|
campaignId?: string | undefined;
|
|
13
14
|
inQueue?: boolean | undefined;
|
|
14
|
-
limit?: number | undefined;
|
|
15
15
|
}, {
|
|
16
16
|
cursor?: string | undefined;
|
|
17
17
|
status?: "all" | "rejected" | "contacted" | "viewed" | "replied" | "suitable" | undefined;
|
|
18
|
+
limit?: number | undefined;
|
|
18
19
|
campaignId?: string | undefined;
|
|
19
20
|
inQueue?: boolean | undefined;
|
|
20
|
-
limit?: number | undefined;
|
|
21
21
|
}>;
|
|
22
22
|
export type GetOrganizationLeadsStatus = z.infer<typeof getOrganizationLeadsStatusEnum>;
|
|
23
23
|
export type GetOrganizationLeadsRequestQuery = z.infer<typeof getOrganizationLeadsRequestQuerySchema>;
|
|
@@ -279,6 +279,7 @@ export declare const planSchema: z.ZodObject<{
|
|
|
279
279
|
name: string;
|
|
280
280
|
description: string;
|
|
281
281
|
version: number;
|
|
282
|
+
createdAt: number;
|
|
282
283
|
sortOrder: number;
|
|
283
284
|
pricing: {
|
|
284
285
|
monthly: {
|
|
@@ -301,7 +302,6 @@ export declare const planSchema: z.ZodObject<{
|
|
|
301
302
|
}[] | undefined;
|
|
302
303
|
};
|
|
303
304
|
price: number;
|
|
304
|
-
createdAt: number;
|
|
305
305
|
isActive: boolean;
|
|
306
306
|
archivedAt: number | null;
|
|
307
307
|
icon: string | null;
|
|
@@ -318,6 +318,7 @@ export declare const planSchema: z.ZodObject<{
|
|
|
318
318
|
name: string;
|
|
319
319
|
description: string;
|
|
320
320
|
version: number;
|
|
321
|
+
createdAt: number;
|
|
321
322
|
sortOrder: number;
|
|
322
323
|
pricing: {
|
|
323
324
|
monthly: {
|
|
@@ -340,7 +341,6 @@ export declare const planSchema: z.ZodObject<{
|
|
|
340
341
|
}[] | undefined;
|
|
341
342
|
};
|
|
342
343
|
price: number;
|
|
343
|
-
createdAt: number;
|
|
344
344
|
isActive: boolean;
|
|
345
345
|
archivedAt: number | null;
|
|
346
346
|
icon: string | null;
|
|
@@ -32,13 +32,13 @@ export declare const proxySchema: z.ZodObject<{
|
|
|
32
32
|
status: "invalid" | "valid" | "pending_validation" | null;
|
|
33
33
|
region: string | null;
|
|
34
34
|
ip: string;
|
|
35
|
+
accountId: string | null;
|
|
35
36
|
city: string | null;
|
|
36
37
|
externalId: string;
|
|
37
38
|
password: string;
|
|
38
39
|
provider: "webshare" | "decodo" | "proxy-cheap" | "rayobyte" | "brightdata" | "iproyal";
|
|
39
40
|
isProxy: boolean | null;
|
|
40
41
|
claimedCountry: "US" | "CA" | "GB" | "AF" | "AL" | "DZ" | "AD" | "AO" | "AR" | "AM" | "AU" | "AT" | "AZ" | "BD" | "BY" | "BE" | "BA" | "BR" | "BG" | "CM" | "CF" | "CL" | "CN" | "CO" | "CR" | "HR" | "CY" | "CZ" | "DK" | "DM" | "DO" | "EC" | "EG" | "SV" | "EE" | "ET" | "FI" | "FR" | "GE" | "DE" | "GH" | "GR" | "GL" | "GD" | "GT" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IL" | "IT" | "JM" | "JP" | "JO" | "KZ" | "KR" | "LV" | "LB" | "LT" | "LU" | "MK" | "MW" | "MY" | "MT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MA" | "NL" | "NZ" | "NI" | "NG" | "NO" | "PK" | "PW" | "PY" | "PE" | "PH" | "PL" | "PT" | "PR" | "QA" | "RO" | "RU" | "SM" | "SA" | "SN" | "RS" | "SG" | "SK" | "SI" | "SO" | "ZA" | "ES" | "LK" | "SR" | "SE" | "CH" | "TH" | "TR" | "UG" | "UA" | "AE" | "UY" | "UZ" | "VE" | "VN" | "YE" | "ZM" | "ZW";
|
|
41
|
-
accountId: string | null;
|
|
42
42
|
}, {
|
|
43
43
|
type: "rotating" | "static";
|
|
44
44
|
id: string;
|
|
@@ -49,13 +49,13 @@ export declare const proxySchema: z.ZodObject<{
|
|
|
49
49
|
status: "invalid" | "valid" | "pending_validation" | null;
|
|
50
50
|
region: string | null;
|
|
51
51
|
ip: string;
|
|
52
|
+
accountId: string | null;
|
|
52
53
|
city: string | null;
|
|
53
54
|
externalId: string;
|
|
54
55
|
password: string;
|
|
55
56
|
provider: "webshare" | "decodo" | "proxy-cheap" | "rayobyte" | "brightdata" | "iproyal";
|
|
56
57
|
isProxy: boolean | null;
|
|
57
58
|
claimedCountry: "US" | "CA" | "GB" | "AF" | "AL" | "DZ" | "AD" | "AO" | "AR" | "AM" | "AU" | "AT" | "AZ" | "BD" | "BY" | "BE" | "BA" | "BR" | "BG" | "CM" | "CF" | "CL" | "CN" | "CO" | "CR" | "HR" | "CY" | "CZ" | "DK" | "DM" | "DO" | "EC" | "EG" | "SV" | "EE" | "ET" | "FI" | "FR" | "GE" | "DE" | "GH" | "GR" | "GL" | "GD" | "GT" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IL" | "IT" | "JM" | "JP" | "JO" | "KZ" | "KR" | "LV" | "LB" | "LT" | "LU" | "MK" | "MW" | "MY" | "MT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MA" | "NL" | "NZ" | "NI" | "NG" | "NO" | "PK" | "PW" | "PY" | "PE" | "PH" | "PL" | "PT" | "PR" | "QA" | "RO" | "RU" | "SM" | "SA" | "SN" | "RS" | "SG" | "SK" | "SI" | "SO" | "ZA" | "ES" | "LK" | "SR" | "SE" | "CH" | "TH" | "TR" | "UG" | "UA" | "AE" | "UY" | "UZ" | "VE" | "VN" | "YE" | "ZM" | "ZW";
|
|
58
|
-
accountId: string | null;
|
|
59
59
|
}>;
|
|
60
60
|
export declare const externalProxySchema: z.ZodObject<Omit<{
|
|
61
61
|
id: z.ZodString;
|
|
@@ -74,7 +74,7 @@ export declare const externalProxySchema: z.ZodObject<Omit<{
|
|
|
74
74
|
region: z.ZodNullable<z.ZodString>;
|
|
75
75
|
accountId: z.ZodNullable<z.ZodString>;
|
|
76
76
|
type: z.ZodEnum<["rotating", "static"]>;
|
|
77
|
-
}, "id" | "country" | "status" | "
|
|
77
|
+
}, "id" | "country" | "status" | "accountId" | "city">, "strip", z.ZodTypeAny, {
|
|
78
78
|
type: "rotating" | "static";
|
|
79
79
|
port: number;
|
|
80
80
|
username: string;
|