lancer-shared 1.2.325 → 1.2.327

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.
Files changed (41) hide show
  1. package/dist/bundle.cjs.js +107 -0
  2. package/dist/bundle.cjs.js.map +1 -1
  3. package/dist/bundle.esm.js +96 -1
  4. package/dist/bundle.esm.js.map +1 -1
  5. package/dist/constants/chat.d.ts +17 -1
  6. package/dist/constants/routes.d.ts +1 -0
  7. package/dist/schemas/account/bidder-account.d.ts +33 -33
  8. package/dist/schemas/account/scraper-account.d.ts +10 -10
  9. package/dist/schemas/agent/index.d.ts +208 -208
  10. package/dist/schemas/agent/proposal.d.ts +2 -2
  11. package/dist/schemas/bidder/bid.d.ts +1744 -1744
  12. package/dist/schemas/campaign/campaign-analytics.d.ts +250 -250
  13. package/dist/schemas/campaign/campaign-chat-bot.d.ts +4 -4
  14. package/dist/schemas/campaign/campaign.d.ts +69 -69
  15. package/dist/schemas/chat/index.d.ts +563 -68
  16. package/dist/schemas/dashboard/index.d.ts +18 -18
  17. package/dist/schemas/golden-dataset/sample.d.ts +4 -4
  18. package/dist/schemas/job/index.d.ts +70 -70
  19. package/dist/schemas/job/job-details.d.ts +14 -14
  20. package/dist/schemas/job/job-listing.d.ts +10 -10
  21. package/dist/schemas/job/nuxt.d.ts +6 -6
  22. package/dist/schemas/lead/index.d.ts +683 -683
  23. package/dist/schemas/lead/lead-status.d.ts +2 -2
  24. package/dist/schemas/logger/feed/feed-job-enrich.d.ts +98 -98
  25. package/dist/schemas/logger/log-event.d.ts +40 -40
  26. package/dist/schemas/logger/scraper-events.d.ts +8 -8
  27. package/dist/schemas/notifications/index.d.ts +4 -4
  28. package/dist/schemas/organization/billing.d.ts +2 -2
  29. package/dist/schemas/organization/index.d.ts +34 -34
  30. package/dist/schemas/organization/onboarding.d.ts +2 -2
  31. package/dist/schemas/organization/organization-leads.d.ts +2 -2
  32. package/dist/schemas/organization/subscription.d.ts +6 -6
  33. package/dist/schemas/plan/index.d.ts +2 -2
  34. package/dist/schemas/proxy/proxy.d.ts +3 -3
  35. package/dist/schemas/scraper/scrape-payload.d.ts +262 -262
  36. package/dist/schemas/scraper/scrape-result.d.ts +86 -86
  37. package/dist/schemas/transaction/index.d.ts +4 -4
  38. package/dist/schemas/upwork-talent/index.d.ts +24 -8
  39. package/dist/schemas/usage/index.d.ts +2 -2
  40. package/dist/schemas/usage-event/index.d.ts +8 -8
  41. package/package.json +1 -1
@@ -17,24 +17,24 @@ export declare const logEventSchema: z.ZodObject<{
17
17
  reason: string | null;
18
18
  source: string;
19
19
  metadata: Record<string, unknown> | null;
20
+ organizationId: string | null;
20
21
  userId: string | null;
21
22
  leadId: string | null;
22
- organizationId: string | null;
23
23
  campaignId: string | null;
24
+ timestamp: number;
24
25
  resourceType: string;
25
26
  resourceId: string | null;
26
- timestamp: number;
27
27
  }, {
28
28
  type: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "leadStatusCheckFailed" | "leadStatusUpdated" | "jobSyncPublished" | "jobSyncReceived" | "jobsIndexed" | "leadsCreatedAndSynced" | "jobDuplicateSkipped" | "manualSuitabilityAnalyzed" | "manualProposalGenerated" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "acceptInvitationFailed" | "syncProposalsStatusCompleted" | "syncProposalsStatusFailed" | "scheduleBidding" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "feedEnrichStarted" | "feedEnrichCompleted" | "feedEnrichFailed" | "feedJobEnrichStarted" | "feedJobEnrichCompleted" | "feedJobEnrichFailed" | "feedChunkEnrichStarted" | "feedChunkEnrichCompleted" | "feedChunkEnrichFailed" | "scrapeJobsCompleted" | "scraperAccountError" | "scraperAccountSwapStarted" | "scraperAccountSwapCompleted" | "scraperAccountSwapFailed" | "verifyCredentialsSucceeded" | "verifyCredentialsFailed";
29
29
  reason: string | null;
30
30
  source: string;
31
31
  metadata: Record<string, unknown> | null;
32
+ organizationId: string | null;
32
33
  userId: string | null;
33
34
  leadId: string | null;
34
- organizationId: string | null;
35
35
  campaignId: string | null;
36
- resourceId: string | null;
37
36
  timestamp: number;
37
+ resourceId: string | null;
38
38
  resourceType?: string | undefined;
39
39
  }>;
40
40
  export declare const biddingCompletedEventMetadata: z.ZodObject<{
@@ -45,18 +45,18 @@ export declare const biddingCompletedEventMetadata: z.ZodObject<{
45
45
  boostedForPlace: z.ZodNullable<z.ZodNumber>;
46
46
  specialisedProfile: z.ZodNullable<z.ZodString>;
47
47
  }, "strip", z.ZodTypeAny, {
48
+ specialisedProfile: string | null;
48
49
  biddingAmount: number;
49
50
  boosted: boolean;
50
51
  boostingAmount: number;
51
52
  boostedForPlace: number | null;
52
- specialisedProfile: string | null;
53
53
  applicationId: string;
54
54
  }, {
55
+ specialisedProfile: string | null;
55
56
  biddingAmount: number;
56
57
  boosted: boolean;
57
58
  boostingAmount: number;
58
59
  boostedForPlace: number | null;
59
- specialisedProfile: string | null;
60
60
  applicationId: string;
61
61
  }>;
62
62
  export declare const biddingFailedEventMetadata: z.ZodObject<{
@@ -142,9 +142,9 @@ export declare const leadStatusEventMetadata: z.ZodObject<{
142
142
  }>>;
143
143
  reason: z.ZodOptional<z.ZodString>;
144
144
  }, "strip", z.ZodTypeAny, {
145
+ organizationId: string;
145
146
  userId: string;
146
147
  leadId: string;
147
- organizationId: string;
148
148
  campaignId: string;
149
149
  reason?: string | undefined;
150
150
  metadata?: {
@@ -152,9 +152,9 @@ export declare const leadStatusEventMetadata: z.ZodObject<{
152
152
  proposalId: string | null;
153
153
  } | undefined;
154
154
  }, {
155
+ organizationId: string;
155
156
  userId: string;
156
157
  leadId: string;
157
- organizationId: string;
158
158
  campaignId: string;
159
159
  reason?: string | undefined;
160
160
  metadata?: {
@@ -174,12 +174,12 @@ export declare const scheduleBiddingEventMetadataSchema: z.ZodObject<{
174
174
  campaignId: z.ZodString;
175
175
  leadId: z.ZodString;
176
176
  }, "strip", z.ZodTypeAny, {
177
- leadId: string;
178
177
  organizationId: string;
178
+ leadId: string;
179
179
  campaignId: string;
180
180
  }, {
181
- leadId: string;
182
181
  organizationId: string;
182
+ leadId: string;
183
183
  campaignId: string;
184
184
  }>;
185
185
  export declare const verifyCredentialsSucceededEventMetadataSchema: z.ZodObject<{
@@ -203,21 +203,21 @@ export declare const verifyCredentialsSucceededEventMetadataSchema: z.ZodObject<
203
203
  agencyId: z.ZodNullable<z.ZodString>;
204
204
  }, "strip", z.ZodTypeAny, {
205
205
  name: string;
206
- organizationId: string;
207
206
  logoUrl: string | null;
208
207
  contractors: {
209
208
  name: string;
210
209
  specializedProfiles: string[];
211
210
  }[];
211
+ organizationId: string;
212
212
  agencyId: string | null;
213
213
  }, {
214
214
  name: string;
215
- organizationId: string;
216
215
  logoUrl: string | null;
217
216
  contractors: {
218
217
  name: string;
219
218
  specializedProfiles: string[];
220
219
  }[];
220
+ organizationId: string;
221
221
  agencyId: string | null;
222
222
  }>, "many">;
223
223
  specialisedProfiles: z.ZodArray<z.ZodString, "many">;
@@ -267,15 +267,14 @@ export declare const verifyCredentialsSucceededEventMetadataSchema: z.ZodObject<
267
267
  }>, "many">;
268
268
  userId: z.ZodNullable<z.ZodString>;
269
269
  }, "strip", z.ZodTypeAny, {
270
- userId: string | null;
271
270
  agencies: {
272
271
  name: string;
273
- organizationId: string;
274
272
  logoUrl: string | null;
275
273
  contractors: {
276
274
  name: string;
277
275
  specializedProfiles: string[];
278
276
  }[];
277
+ organizationId: string;
279
278
  agencyId: string | null;
280
279
  }[];
281
280
  specialisedProfiles: string[];
@@ -283,6 +282,7 @@ export declare const verifyCredentialsSucceededEventMetadataSchema: z.ZodObject<
283
282
  title: string;
284
283
  imageUrl: string;
285
284
  }[];
285
+ userId: string | null;
286
286
  bidderAccountId: string;
287
287
  accountName: string;
288
288
  accountPhotoUrl: string;
@@ -299,15 +299,14 @@ export declare const verifyCredentialsSucceededEventMetadataSchema: z.ZodObject<
299
299
  portrait100?: string | undefined;
300
300
  }[];
301
301
  }, {
302
- userId: string | null;
303
302
  agencies: {
304
303
  name: string;
305
- organizationId: string;
306
304
  logoUrl: string | null;
307
305
  contractors: {
308
306
  name: string;
309
307
  specializedProfiles: string[];
310
308
  }[];
309
+ organizationId: string;
311
310
  agencyId: string | null;
312
311
  }[];
313
312
  specialisedProfiles: string[];
@@ -315,6 +314,7 @@ export declare const verifyCredentialsSucceededEventMetadataSchema: z.ZodObject<
315
314
  title: string;
316
315
  imageUrl: string;
317
316
  }[];
317
+ userId: string | null;
318
318
  bidderAccountId: string;
319
319
  accountName: string;
320
320
  accountPhotoUrl: string;
@@ -367,21 +367,21 @@ export declare const suitabilityPendingEventMetadataSchema: z.ZodObject<{
367
367
  }>, "many">;
368
368
  }, "strip", z.ZodTypeAny, {
369
369
  title: string;
370
+ jobUrl: string;
370
371
  jobId: string;
371
372
  applyToLeads: {
372
373
  leadId: string;
373
374
  campaignId: string;
374
375
  }[];
375
- jobUrl: string;
376
376
  timestamp: number;
377
377
  }, {
378
378
  title: string;
379
+ jobUrl: string;
379
380
  jobId: string;
380
381
  applyToLeads: {
381
382
  leadId: string;
382
383
  campaignId: string;
383
384
  }[];
384
- jobUrl: string;
385
385
  timestamp: number;
386
386
  }>;
387
387
  export type SuitabilityPendingEventMetadata = z.infer<typeof suitabilityPendingEventMetadataSchema>;
@@ -416,15 +416,15 @@ export declare const suitabilityCompleteEventMetadataSchema: z.ZodObject<{
416
416
  }>, "many">;
417
417
  }, "strip", z.ZodTypeAny, {
418
418
  jobId: string;
419
+ suitabilityRating: number;
420
+ suitabilityReason: string;
419
421
  applyToLeads: {
420
422
  leadId: string;
421
423
  campaignId: string;
422
424
  }[];
423
- suitabilityRating: number;
424
- suitabilityReason: string;
425
425
  provider?: string | undefined;
426
- model?: string | undefined;
427
426
  agentStatus?: string | undefined;
427
+ model?: string | undefined;
428
428
  promptTokens?: number | undefined;
429
429
  completionTokens?: number | undefined;
430
430
  messages?: {
@@ -433,15 +433,15 @@ export declare const suitabilityCompleteEventMetadataSchema: z.ZodObject<{
433
433
  }[] | undefined;
434
434
  }, {
435
435
  jobId: string;
436
+ suitabilityRating: number;
437
+ suitabilityReason: string;
436
438
  applyToLeads: {
437
439
  leadId: string;
438
440
  campaignId: string;
439
441
  }[];
440
- suitabilityRating: number;
441
- suitabilityReason: string;
442
442
  provider?: string | undefined;
443
- model?: string | undefined;
444
443
  agentStatus?: string | undefined;
444
+ model?: string | undefined;
445
445
  promptTokens?: number | undefined;
446
446
  completionTokens?: number | undefined;
447
447
  messages?: {
@@ -475,17 +475,17 @@ export declare const proposalCompleteEventMetadataSchema: z.ZodObject<{
475
475
  question: string;
476
476
  }>, "many">;
477
477
  }, "strip", z.ZodTypeAny, {
478
- coverLetter: string;
479
478
  questionAnswerPairs: {
480
479
  answer: string;
481
480
  question: string;
482
481
  }[];
483
- }, {
484
482
  coverLetter: string;
483
+ }, {
485
484
  questionAnswerPairs: {
486
485
  answer: string;
487
486
  question: string;
488
487
  }[];
488
+ coverLetter: string;
489
489
  }>;
490
490
  model: z.ZodOptional<z.ZodString>;
491
491
  provider: z.ZodOptional<z.ZodString>;
@@ -515,22 +515,22 @@ export declare const proposalCompleteEventMetadataSchema: z.ZodObject<{
515
515
  campaignId: string;
516
516
  }>, "many">;
517
517
  }, "strip", z.ZodTypeAny, {
518
+ jobId: string;
518
519
  proposal: {
519
- coverLetter: string;
520
520
  questionAnswerPairs: {
521
521
  answer: string;
522
522
  question: string;
523
523
  }[];
524
+ coverLetter: string;
524
525
  };
525
- jobId: string;
526
526
  isOverallHighestPriorityCampaign: boolean;
527
527
  applyToLeads: {
528
528
  leadId: string;
529
529
  campaignId: string;
530
530
  }[];
531
531
  provider?: string | undefined;
532
- model?: string | undefined;
533
532
  coverLetterTemplateId?: string | undefined;
533
+ model?: string | undefined;
534
534
  promptTokens?: number | undefined;
535
535
  completionTokens?: number | undefined;
536
536
  messages?: {
@@ -538,22 +538,22 @@ export declare const proposalCompleteEventMetadataSchema: z.ZodObject<{
538
538
  role: string;
539
539
  }[] | undefined;
540
540
  }, {
541
+ jobId: string;
541
542
  proposal: {
542
- coverLetter: string;
543
543
  questionAnswerPairs: {
544
544
  answer: string;
545
545
  question: string;
546
546
  }[];
547
+ coverLetter: string;
547
548
  };
548
- jobId: string;
549
549
  isOverallHighestPriorityCampaign: boolean;
550
550
  applyToLeads: {
551
551
  leadId: string;
552
552
  campaignId: string;
553
553
  }[];
554
554
  provider?: string | undefined;
555
- model?: string | undefined;
556
555
  coverLetterTemplateId?: string | undefined;
556
+ model?: string | undefined;
557
557
  promptTokens?: number | undefined;
558
558
  completionTokens?: number | undefined;
559
559
  messages?: {
@@ -579,24 +579,24 @@ 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
+ organizationId: string | null;
582
583
  userId: string | null;
583
584
  leadId: string | null;
584
- organizationId: string | null;
585
585
  campaignId: string | null;
586
+ timestamp: number;
586
587
  resourceType: string;
587
588
  resourceId: string | null;
588
- timestamp: number;
589
589
  }, {
590
590
  type: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "leadStatusCheckFailed" | "leadStatusUpdated" | "jobSyncPublished" | "jobSyncReceived" | "jobsIndexed" | "leadsCreatedAndSynced" | "jobDuplicateSkipped" | "manualSuitabilityAnalyzed" | "manualProposalGenerated" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "acceptInvitationFailed" | "syncProposalsStatusCompleted" | "syncProposalsStatusFailed" | "scheduleBidding" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "feedEnrichStarted" | "feedEnrichCompleted" | "feedEnrichFailed" | "feedJobEnrichStarted" | "feedJobEnrichCompleted" | "feedJobEnrichFailed" | "feedChunkEnrichStarted" | "feedChunkEnrichCompleted" | "feedChunkEnrichFailed" | "scrapeJobsCompleted" | "scraperAccountError" | "scraperAccountSwapStarted" | "scraperAccountSwapCompleted" | "scraperAccountSwapFailed" | "verifyCredentialsSucceeded" | "verifyCredentialsFailed";
591
591
  reason: string | null;
592
592
  source: string;
593
593
  metadata: Record<string, unknown> | null;
594
+ organizationId: string | null;
594
595
  userId: string | null;
595
596
  leadId: string | null;
596
- organizationId: string | null;
597
597
  campaignId: string | null;
598
- resourceId: string | null;
599
598
  timestamp: number;
599
+ resourceId: string | null;
600
600
  resourceType?: string | undefined;
601
601
  }>, z.ZodArray<z.ZodObject<{
602
602
  type: z.ZodEnum<["leadStatusCheckFailed", "leadStatusUpdated", "jobSyncPublished", "jobSyncReceived", "jobsIndexed", "leadsCreatedAndSynced", "jobDuplicateSkipped", "suitabilityPending", "suitabilityProcessing", "suitabilityComplete", "suitabilityFailed", "manualSuitabilityAnalyzed", "proposalProcessing", "proposalComplete", "proposalFailed", "manualProposalGenerated", "biddingProcessing", "biddingComplete", "biddingFailed", "biddingSkipped", "biddingPending", "biddingRetry", "biddingInsufficientConnects", "biddingWarningAlert", "biddingRejected", "biddingRejectedWithFeedback", "checkSuitableLeadFeedbackStatus", "biddingApproved", "acceptInvitationFailed", "syncProposalsStatusCompleted", "syncProposalsStatusFailed", "scheduleBidding", "errorLogged", "cloudTaskRetry", "manualLeadEdited", "leadArchived", "auditTrailLogged", "feedScrapeStarted", "feedScrapeCompleted", "feedScrapeFailed", "feedEnrichStarted", "feedEnrichCompleted", "feedEnrichFailed", "feedJobEnrichStarted", "feedJobEnrichCompleted", "feedJobEnrichFailed", "feedChunkEnrichStarted", "feedChunkEnrichCompleted", "feedChunkEnrichFailed", "scrapeJobsCompleted", "scraperAccountError", "scraperAccountSwapStarted", "scraperAccountSwapCompleted", "scraperAccountSwapFailed", "verifyCredentialsSucceeded", "verifyCredentialsFailed"]>;
@@ -615,24 +615,24 @@ 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
+ organizationId: string | null;
618
619
  userId: string | null;
619
620
  leadId: string | null;
620
- organizationId: string | null;
621
621
  campaignId: string | null;
622
+ timestamp: number;
622
623
  resourceType: string;
623
624
  resourceId: string | null;
624
- timestamp: number;
625
625
  }, {
626
626
  type: "suitabilityPending" | "suitabilityProcessing" | "suitabilityComplete" | "suitabilityFailed" | "proposalProcessing" | "proposalComplete" | "proposalFailed" | "biddingProcessing" | "biddingComplete" | "biddingFailed" | "leadStatusCheckFailed" | "leadStatusUpdated" | "jobSyncPublished" | "jobSyncReceived" | "jobsIndexed" | "leadsCreatedAndSynced" | "jobDuplicateSkipped" | "manualSuitabilityAnalyzed" | "manualProposalGenerated" | "biddingSkipped" | "biddingPending" | "biddingRetry" | "biddingInsufficientConnects" | "biddingWarningAlert" | "biddingRejected" | "biddingRejectedWithFeedback" | "checkSuitableLeadFeedbackStatus" | "biddingApproved" | "acceptInvitationFailed" | "syncProposalsStatusCompleted" | "syncProposalsStatusFailed" | "scheduleBidding" | "errorLogged" | "cloudTaskRetry" | "manualLeadEdited" | "leadArchived" | "auditTrailLogged" | "feedScrapeStarted" | "feedScrapeCompleted" | "feedScrapeFailed" | "feedEnrichStarted" | "feedEnrichCompleted" | "feedEnrichFailed" | "feedJobEnrichStarted" | "feedJobEnrichCompleted" | "feedJobEnrichFailed" | "feedChunkEnrichStarted" | "feedChunkEnrichCompleted" | "feedChunkEnrichFailed" | "scrapeJobsCompleted" | "scraperAccountError" | "scraperAccountSwapStarted" | "scraperAccountSwapCompleted" | "scraperAccountSwapFailed" | "verifyCredentialsSucceeded" | "verifyCredentialsFailed";
627
627
  reason: string | null;
628
628
  source: string;
629
629
  metadata: Record<string, unknown> | null;
630
+ organizationId: string | null;
630
631
  userId: string | null;
631
632
  leadId: string | null;
632
- organizationId: string | null;
633
633
  campaignId: string | null;
634
- resourceId: string | null;
635
634
  timestamp: number;
635
+ resourceId: string | null;
636
636
  resourceType?: string | undefined;
637
637
  }>, "many">]>;
638
638
  export type EventLoggerPayload = z.infer<typeof eventLoggerPayloadSchema>;
@@ -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
- updatedAt: number | null;
48
47
  unansweredInvites: number | null;
48
+ updatedAt: 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
- updatedAt: number | null;
60
59
  unansweredInvites: number | null;
60
+ updatedAt: 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
- updatedAt: number | null;
78
77
  unansweredInvites: number | null;
78
+ updatedAt: 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
- updatedAt: number | null;
95
94
  unansweredInvites: number | null;
95
+ updatedAt: number | null;
96
96
  proposals: {
97
97
  max: number | null;
98
98
  min: number | null;
@@ -229,6 +229,7 @@ export declare const jobActivityScrapeFailedEventMetadata: z.ZodObject<{
229
229
  totalFeedback: number;
230
230
  hasFinancialPrivacy: boolean;
231
231
  };
232
+ premium: boolean;
232
233
  publishedOn: string;
233
234
  renewedOn: string | null;
234
235
  engagement: string | null;
@@ -239,7 +240,6 @@ export declare const jobActivityScrapeFailedEventMetadata: z.ZodObject<{
239
240
  tierText: string | null;
240
241
  isApplied: boolean;
241
242
  proposalsTier: string | null;
242
- premium: boolean;
243
243
  attrs: {
244
244
  uid: string;
245
245
  prefLabel: string;
@@ -280,6 +280,7 @@ export declare const jobActivityScrapeFailedEventMetadata: z.ZodObject<{
280
280
  totalFeedback: number;
281
281
  hasFinancialPrivacy: boolean;
282
282
  };
283
+ premium: boolean;
283
284
  publishedOn: string;
284
285
  renewedOn: string | null;
285
286
  engagement: string | null;
@@ -290,7 +291,6 @@ export declare const jobActivityScrapeFailedEventMetadata: z.ZodObject<{
290
291
  tierText: string | null;
291
292
  isApplied: boolean;
292
293
  proposalsTier: string | null;
293
- premium: boolean;
294
294
  attrs: {
295
295
  uid: string;
296
296
  prefLabel: string;
@@ -335,6 +335,7 @@ export declare const jobActivityScrapeFailedEventMetadata: z.ZodObject<{
335
335
  totalFeedback: number;
336
336
  hasFinancialPrivacy: boolean;
337
337
  };
338
+ premium: boolean;
338
339
  publishedOn: string;
339
340
  renewedOn: string | null;
340
341
  engagement: string | null;
@@ -345,7 +346,6 @@ export declare const jobActivityScrapeFailedEventMetadata: z.ZodObject<{
345
346
  tierText: string | null;
346
347
  isApplied: boolean;
347
348
  proposalsTier: string | null;
348
- premium: boolean;
349
349
  attrs: {
350
350
  uid: string;
351
351
  prefLabel: string;
@@ -390,6 +390,7 @@ export declare const jobActivityScrapeFailedEventMetadata: z.ZodObject<{
390
390
  totalFeedback: number;
391
391
  hasFinancialPrivacy: boolean;
392
392
  };
393
+ premium: boolean;
393
394
  publishedOn: string;
394
395
  renewedOn: string | null;
395
396
  engagement: string | null;
@@ -400,7 +401,6 @@ export declare const jobActivityScrapeFailedEventMetadata: z.ZodObject<{
400
401
  tierText: string | null;
401
402
  isApplied: boolean;
402
403
  proposalsTier: string | null;
403
- premium: boolean;
404
404
  attrs: {
405
405
  uid: string;
406
406
  prefLabel: string;
@@ -7,15 +7,15 @@ export declare const sendAlertPayloadSchema: z.ZodObject<{
7
7
  errorMessage: z.ZodString;
8
8
  }, "strip", z.ZodTypeAny, {
9
9
  type: "proposal" | "suitability" | "bidding" | "scraper";
10
- leadId: string | null;
11
10
  organizationId: string | null;
12
- campaignId: string | null;
13
11
  errorMessage: string;
12
+ leadId: string | null;
13
+ campaignId: string | null;
14
14
  }, {
15
15
  type: "proposal" | "suitability" | "bidding" | "scraper";
16
- leadId: string | null;
17
16
  organizationId: string | null;
18
- campaignId: string | null;
19
17
  errorMessage: string;
18
+ leadId: string | null;
19
+ campaignId: string | null;
20
20
  }>;
21
21
  export type SendAlertPayload = z.infer<typeof sendAlertPayloadSchema>;
@@ -35,17 +35,17 @@ export declare const billingSchema: import("zod").ZodObject<{
35
35
  };
36
36
  }>;
37
37
  }, "strip", import("zod").ZodTypeAny, {
38
+ savedCard: boolean;
38
39
  stripe: {
39
40
  customer: {
40
41
  id: string | null;
41
42
  };
42
43
  };
43
- savedCard: boolean;
44
44
  }, {
45
+ savedCard: boolean;
45
46
  stripe: {
46
47
  customer: {
47
48
  id: string | null;
48
49
  };
49
50
  };
50
- savedCard: boolean;
51
51
  }>;