lancer-shared 1.2.279 → 1.2.281
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 +3 -0
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +3 -0
- package/dist/bundle.esm.js.map +1 -1
- package/dist/schemas/agent/index.d.ts +5 -0
- package/dist/schemas/bidder/bid.d.ts +49 -0
- package/dist/schemas/campaign/campaign-analytics.d.ts +17 -0
- package/dist/schemas/campaign/campaign.d.ts +9 -0
- package/dist/schemas/lead/index.d.ts +18 -0
- package/dist/schemas/logger/log-event.d.ts +4 -1
- package/dist/schemas/scraper/scrape-payload.d.ts +10 -0
- package/package.json +1 -1
|
@@ -411,6 +411,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
411
411
|
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
412
412
|
checkFeedbackStatusCreatedAt: z.ZodNullable<z.ZodNumber>;
|
|
413
413
|
biddingScheduledAt: z.ZodNullable<z.ZodNumber>;
|
|
414
|
+
coverLetterTemplateId: z.ZodNullable<z.ZodString>;
|
|
414
415
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
415
416
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
416
417
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
@@ -512,6 +513,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
512
513
|
answer: string;
|
|
513
514
|
question: string;
|
|
514
515
|
}[] | null;
|
|
516
|
+
coverLetterTemplateId: string | null;
|
|
515
517
|
jobId: string;
|
|
516
518
|
skills: {
|
|
517
519
|
name: string;
|
|
@@ -677,6 +679,7 @@ export declare const leadSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
|
677
679
|
answer: string;
|
|
678
680
|
question: string;
|
|
679
681
|
}[] | null;
|
|
682
|
+
coverLetterTemplateId: string | null;
|
|
680
683
|
jobId: string;
|
|
681
684
|
skills: {
|
|
682
685
|
name: string;
|
|
@@ -1150,6 +1153,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1150
1153
|
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
1151
1154
|
checkFeedbackStatusCreatedAt: z.ZodNullable<z.ZodNumber>;
|
|
1152
1155
|
biddingScheduledAt: z.ZodNullable<z.ZodNumber>;
|
|
1156
|
+
coverLetterTemplateId: z.ZodNullable<z.ZodString>;
|
|
1153
1157
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
1154
1158
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
1155
1159
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
@@ -1251,6 +1255,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1251
1255
|
answer: string;
|
|
1252
1256
|
question: string;
|
|
1253
1257
|
}[] | null;
|
|
1258
|
+
coverLetterTemplateId: string | null;
|
|
1254
1259
|
jobId: string;
|
|
1255
1260
|
skills: {
|
|
1256
1261
|
name: string;
|
|
@@ -1416,6 +1421,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1416
1421
|
answer: string;
|
|
1417
1422
|
question: string;
|
|
1418
1423
|
}[] | null;
|
|
1424
|
+
coverLetterTemplateId: string | null;
|
|
1419
1425
|
jobId: string;
|
|
1420
1426
|
skills: {
|
|
1421
1427
|
name: string;
|
|
@@ -1586,6 +1592,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1586
1592
|
answer: string;
|
|
1587
1593
|
question: string;
|
|
1588
1594
|
}[] | null;
|
|
1595
|
+
coverLetterTemplateId: string | null;
|
|
1589
1596
|
jobId: string;
|
|
1590
1597
|
skills: {
|
|
1591
1598
|
name: string;
|
|
@@ -1756,6 +1763,7 @@ export declare const leadResponseSchema: z.ZodObject<{
|
|
|
1756
1763
|
answer: string;
|
|
1757
1764
|
question: string;
|
|
1758
1765
|
}[] | null;
|
|
1766
|
+
coverLetterTemplateId: string | null;
|
|
1759
1767
|
jobId: string;
|
|
1760
1768
|
skills: {
|
|
1761
1769
|
name: string;
|
|
@@ -2777,6 +2785,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
2777
2785
|
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
2778
2786
|
checkFeedbackStatusCreatedAt: z.ZodNullable<z.ZodNumber>;
|
|
2779
2787
|
biddingScheduledAt: z.ZodNullable<z.ZodNumber>;
|
|
2788
|
+
coverLetterTemplateId: z.ZodNullable<z.ZodString>;
|
|
2780
2789
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
2781
2790
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
2782
2791
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
@@ -2878,6 +2887,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
2878
2887
|
answer: string;
|
|
2879
2888
|
question: string;
|
|
2880
2889
|
}[] | null;
|
|
2890
|
+
coverLetterTemplateId: string | null;
|
|
2881
2891
|
jobId: string;
|
|
2882
2892
|
skills: {
|
|
2883
2893
|
name: string;
|
|
@@ -3043,6 +3053,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
3043
3053
|
answer: string;
|
|
3044
3054
|
question: string;
|
|
3045
3055
|
}[] | null;
|
|
3056
|
+
coverLetterTemplateId: string | null;
|
|
3046
3057
|
jobId: string;
|
|
3047
3058
|
skills: {
|
|
3048
3059
|
name: string;
|
|
@@ -3326,6 +3337,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
3326
3337
|
answer: string;
|
|
3327
3338
|
question: string;
|
|
3328
3339
|
}[] | null;
|
|
3340
|
+
coverLetterTemplateId: string | null;
|
|
3329
3341
|
jobId: string;
|
|
3330
3342
|
skills: {
|
|
3331
3343
|
name: string;
|
|
@@ -3610,6 +3622,7 @@ export declare const findLeadsResponseSchema: z.ZodObject<{
|
|
|
3610
3622
|
answer: string;
|
|
3611
3623
|
question: string;
|
|
3612
3624
|
}[] | null;
|
|
3625
|
+
coverLetterTemplateId: string | null;
|
|
3613
3626
|
jobId: string;
|
|
3614
3627
|
skills: {
|
|
3615
3628
|
name: string;
|
|
@@ -4108,6 +4121,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
4108
4121
|
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
4109
4122
|
checkFeedbackStatusCreatedAt: z.ZodNullable<z.ZodNumber>;
|
|
4110
4123
|
biddingScheduledAt: z.ZodNullable<z.ZodNumber>;
|
|
4124
|
+
coverLetterTemplateId: z.ZodNullable<z.ZodString>;
|
|
4111
4125
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
4112
4126
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
4113
4127
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
@@ -4209,6 +4223,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
4209
4223
|
answer: string;
|
|
4210
4224
|
question: string;
|
|
4211
4225
|
}[] | null;
|
|
4226
|
+
coverLetterTemplateId: string | null;
|
|
4212
4227
|
jobId: string;
|
|
4213
4228
|
skills: {
|
|
4214
4229
|
name: string;
|
|
@@ -4374,6 +4389,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
4374
4389
|
answer: string;
|
|
4375
4390
|
question: string;
|
|
4376
4391
|
}[] | null;
|
|
4392
|
+
coverLetterTemplateId: string | null;
|
|
4377
4393
|
jobId: string;
|
|
4378
4394
|
skills: {
|
|
4379
4395
|
name: string;
|
|
@@ -4554,6 +4570,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
4554
4570
|
answer: string;
|
|
4555
4571
|
question: string;
|
|
4556
4572
|
}[] | null;
|
|
4573
|
+
coverLetterTemplateId: string | null;
|
|
4557
4574
|
jobId: string;
|
|
4558
4575
|
skills: {
|
|
4559
4576
|
name: string;
|
|
@@ -4726,6 +4743,7 @@ export declare const getCampaignLeadsResponseSchema: z.ZodObject<{
|
|
|
4726
4743
|
answer: string;
|
|
4727
4744
|
question: string;
|
|
4728
4745
|
}[] | null;
|
|
4746
|
+
coverLetterTemplateId: string | null;
|
|
4729
4747
|
jobId: string;
|
|
4730
4748
|
skills: {
|
|
4731
4749
|
name: string;
|
|
@@ -301,7 +301,7 @@ export declare const suitabilityFailedEventMetadataSchema: z.ZodObject<{
|
|
|
301
301
|
reason: string;
|
|
302
302
|
agentStatus: string;
|
|
303
303
|
}>;
|
|
304
|
-
export type
|
|
304
|
+
export type SuitabilityFaßiledEventMetadata = z.infer<typeof suitabilityFailedEventMetadataSchema>;
|
|
305
305
|
export declare const proposalCompleteEventMetadataSchema: z.ZodObject<{
|
|
306
306
|
proposal: z.ZodObject<{
|
|
307
307
|
coverLetter: z.ZodString;
|
|
@@ -332,6 +332,7 @@ export declare const proposalCompleteEventMetadataSchema: z.ZodObject<{
|
|
|
332
332
|
provider: z.ZodOptional<z.ZodString>;
|
|
333
333
|
promptTokens: z.ZodOptional<z.ZodNumber>;
|
|
334
334
|
completionTokens: z.ZodOptional<z.ZodNumber>;
|
|
335
|
+
coverLetterTemplateId: z.ZodOptional<z.ZodString>;
|
|
335
336
|
messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
336
337
|
role: z.ZodString;
|
|
337
338
|
content: z.ZodString;
|
|
@@ -370,6 +371,7 @@ export declare const proposalCompleteEventMetadataSchema: z.ZodObject<{
|
|
|
370
371
|
};
|
|
371
372
|
provider?: string | undefined;
|
|
372
373
|
model?: string | undefined;
|
|
374
|
+
coverLetterTemplateId?: string | undefined;
|
|
373
375
|
promptTokens?: number | undefined;
|
|
374
376
|
completionTokens?: number | undefined;
|
|
375
377
|
messages?: {
|
|
@@ -392,6 +394,7 @@ export declare const proposalCompleteEventMetadataSchema: z.ZodObject<{
|
|
|
392
394
|
};
|
|
393
395
|
provider?: string | undefined;
|
|
394
396
|
model?: string | undefined;
|
|
397
|
+
coverLetterTemplateId?: string | undefined;
|
|
395
398
|
promptTokens?: number | undefined;
|
|
396
399
|
completionTokens?: number | undefined;
|
|
397
400
|
messages?: {
|
|
@@ -733,6 +733,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
733
733
|
bidderId: string | null;
|
|
734
734
|
}>>;
|
|
735
735
|
coverLetterTemplateId: z.ZodNullable<z.ZodString>;
|
|
736
|
+
coverLetterTemplatesIds: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
736
737
|
priority: z.ZodNullable<z.ZodNumber>;
|
|
737
738
|
coverLetterTemplate: z.ZodNullable<z.ZodObject<{
|
|
738
739
|
id: z.ZodString;
|
|
@@ -895,6 +896,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
895
896
|
boostingAmount: number;
|
|
896
897
|
};
|
|
897
898
|
notificationsEnabled: boolean | null;
|
|
899
|
+
coverLetterTemplatesIds: string[] | null;
|
|
898
900
|
coverLetterTemplate: {
|
|
899
901
|
id: string;
|
|
900
902
|
name: string;
|
|
@@ -1010,6 +1012,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1010
1012
|
boostingAmount?: number | undefined;
|
|
1011
1013
|
};
|
|
1012
1014
|
notificationsEnabled: boolean | null;
|
|
1015
|
+
coverLetterTemplatesIds: string[] | null;
|
|
1013
1016
|
coverLetterTemplate: {
|
|
1014
1017
|
id: string;
|
|
1015
1018
|
name: string;
|
|
@@ -1728,6 +1731,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1728
1731
|
biddingDelayInMinutes: z.ZodNullable<z.ZodNumber>;
|
|
1729
1732
|
checkFeedbackStatusCreatedAt: z.ZodNullable<z.ZodNumber>;
|
|
1730
1733
|
biddingScheduledAt: z.ZodNullable<z.ZodNumber>;
|
|
1734
|
+
coverLetterTemplateId: z.ZodNullable<z.ZodString>;
|
|
1731
1735
|
wonAmount: z.ZodOptional<z.ZodNumber>;
|
|
1732
1736
|
feedbackCheckTaskId: z.ZodNullable<z.ZodString>;
|
|
1733
1737
|
bidDecision: z.ZodNullable<z.ZodEnum<["proceeded", "rejected"]>>;
|
|
@@ -1829,6 +1833,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1829
1833
|
answer: string;
|
|
1830
1834
|
question: string;
|
|
1831
1835
|
}[] | null;
|
|
1836
|
+
coverLetterTemplateId: string | null;
|
|
1832
1837
|
jobId: string;
|
|
1833
1838
|
skills: {
|
|
1834
1839
|
name: string;
|
|
@@ -1994,6 +1999,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1994
1999
|
answer: string;
|
|
1995
2000
|
question: string;
|
|
1996
2001
|
}[] | null;
|
|
2002
|
+
coverLetterTemplateId: string | null;
|
|
1997
2003
|
jobId: string;
|
|
1998
2004
|
skills: {
|
|
1999
2005
|
name: string;
|
|
@@ -2338,6 +2344,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2338
2344
|
answer: string;
|
|
2339
2345
|
question: string;
|
|
2340
2346
|
}[] | null;
|
|
2347
|
+
coverLetterTemplateId: string | null;
|
|
2341
2348
|
jobId: string;
|
|
2342
2349
|
skills: {
|
|
2343
2350
|
name: string;
|
|
@@ -2571,6 +2578,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2571
2578
|
boostingAmount: number;
|
|
2572
2579
|
};
|
|
2573
2580
|
notificationsEnabled: boolean | null;
|
|
2581
|
+
coverLetterTemplatesIds: string[] | null;
|
|
2574
2582
|
coverLetterTemplate: {
|
|
2575
2583
|
id: string;
|
|
2576
2584
|
name: string;
|
|
@@ -2723,6 +2731,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2723
2731
|
answer: string;
|
|
2724
2732
|
question: string;
|
|
2725
2733
|
}[] | null;
|
|
2734
|
+
coverLetterTemplateId: string | null;
|
|
2726
2735
|
jobId: string;
|
|
2727
2736
|
skills: {
|
|
2728
2737
|
name: string;
|
|
@@ -2951,6 +2960,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2951
2960
|
boostingAmount?: number | undefined;
|
|
2952
2961
|
};
|
|
2953
2962
|
notificationsEnabled: boolean | null;
|
|
2963
|
+
coverLetterTemplatesIds: string[] | null;
|
|
2954
2964
|
coverLetterTemplate: {
|
|
2955
2965
|
id: string;
|
|
2956
2966
|
name: string;
|