lancer-shared 1.2.301 → 1.2.303

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 (60) hide show
  1. package/dist/bundle.cjs.js +1 -0
  2. package/dist/bundle.cjs.js.map +1 -1
  3. package/dist/bundle.esm.js +1 -0
  4. package/dist/bundle.esm.js.map +1 -1
  5. package/dist/schemas/account/bidder-account.d.ts +40 -40
  6. package/dist/schemas/account/scraper-account.d.ts +27 -27
  7. package/dist/schemas/agent/index.d.ts +273 -273
  8. package/dist/schemas/agent/proposal.d.ts +4 -4
  9. package/dist/schemas/bidder/bid.d.ts +2358 -2358
  10. package/dist/schemas/campaign/campaign-analytics.d.ts +1404 -1404
  11. package/dist/schemas/campaign/campaign-chat-bot.d.ts +24 -24
  12. package/dist/schemas/campaign/campaign-expenses.d.ts +2 -2
  13. package/dist/schemas/campaign/campaign-insights.d.ts +12 -12
  14. package/dist/schemas/campaign/campaign.d.ts +566 -566
  15. package/dist/schemas/campaign/sequence/boost-node.d.ts +2 -2
  16. package/dist/schemas/campaign/sequence/client-size-node.d.ts +8 -8
  17. package/dist/schemas/campaign/sequence/client-spent-node.d.ts +16 -16
  18. package/dist/schemas/campaign/sequence/hire-rate-node.d.ts +16 -16
  19. package/dist/schemas/campaign/sequence/hourly-rate-node.d.ts +16 -16
  20. package/dist/schemas/campaign/sequence/rating-node.d.ts +16 -16
  21. package/dist/schemas/campaign/sequence/suitability-node.d.ts +16 -16
  22. package/dist/schemas/dashboard/index.d.ts +46 -46
  23. package/dist/schemas/golden-dataset/sample.d.ts +12 -12
  24. package/dist/schemas/infrastructure/index.d.ts +8 -8
  25. package/dist/schemas/invoice/index.d.ts +55 -55
  26. package/dist/schemas/job/index.d.ts +189 -189
  27. package/dist/schemas/job/job-api.d.ts +4 -4
  28. package/dist/schemas/job/job-details.d.ts +726 -726
  29. package/dist/schemas/job/job-filters.d.ts +55 -55
  30. package/dist/schemas/job/job-listing.d.ts +96 -96
  31. package/dist/schemas/job/nuxt.d.ts +130 -130
  32. package/dist/schemas/lead/index.d.ts +1040 -1040
  33. package/dist/schemas/lead/lead-status.d.ts +4 -4
  34. package/dist/schemas/logger/feed/feed-chunk-enrich.d.ts +16 -16
  35. package/dist/schemas/logger/feed/feed-enrich.d.ts +12 -12
  36. package/dist/schemas/logger/feed/feed-job-enrich.d.ts +272 -272
  37. package/dist/schemas/logger/feed/feed-scrape.d.ts +6 -6
  38. package/dist/schemas/logger/log-event.d.ts +103 -103
  39. package/dist/schemas/logger/scraper-events.d.ts +73 -73
  40. package/dist/schemas/notifications/index.d.ts +4 -4
  41. package/dist/schemas/organization/billing.d.ts +2 -2
  42. package/dist/schemas/organization/cover-letter.d.ts +4 -4
  43. package/dist/schemas/organization/index.d.ts +112 -112
  44. package/dist/schemas/organization/onboarding.d.ts +6 -6
  45. package/dist/schemas/organization/organization-leads.d.ts +4 -4
  46. package/dist/schemas/organization/subscription.d.ts +12 -12
  47. package/dist/schemas/plan/index.d.ts +55 -55
  48. package/dist/schemas/proxy/proxy.d.ts +29 -29
  49. package/dist/schemas/saved-search/index.d.ts +4 -4
  50. package/dist/schemas/scraper/scrape-payload.d.ts +876 -876
  51. package/dist/schemas/scraper/scrape-result.d.ts +174 -174
  52. package/dist/schemas/scraper/upwork-profile.d.ts +16 -16
  53. package/dist/schemas/shared.d.ts +1 -1
  54. package/dist/schemas/talent/index.d.ts +750 -750
  55. package/dist/schemas/transaction/index.d.ts +20 -20
  56. package/dist/schemas/upwork-analytics/index.d.ts +22 -22
  57. package/dist/schemas/usage/index.d.ts +16 -16
  58. package/dist/schemas/usage-event/index.d.ts +11 -11
  59. package/dist/schemas/user/index.d.ts +4 -4
  60. package/package.json +2 -2
@@ -24,18 +24,18 @@ declare const oneTimePaymentSchema: z.ZodObject<{
24
24
  error: z.ZodOptional<z.ZodString>;
25
25
  }, "strip", z.ZodTypeAny, {
26
26
  status: string;
27
- error?: string | undefined;
28
- currency?: string | undefined;
29
- amount?: number | undefined;
30
27
  paidAt?: number | undefined;
28
+ amount?: number | undefined;
29
+ currency?: string | undefined;
31
30
  paymentIntentId?: string | undefined;
31
+ error?: string | undefined;
32
32
  }, {
33
33
  status: string;
34
- error?: string | undefined;
35
- currency?: string | undefined;
36
- amount?: number | undefined;
37
34
  paidAt?: number | undefined;
35
+ amount?: number | undefined;
36
+ currency?: string | undefined;
38
37
  paymentIntentId?: string | undefined;
38
+ error?: string | undefined;
39
39
  }>;
40
40
  declare const oneTimePaymentsSchema: z.ZodObject<{
41
41
  usBidderAccountPayment: z.ZodOptional<z.ZodObject<{
@@ -47,36 +47,36 @@ declare const oneTimePaymentsSchema: z.ZodObject<{
47
47
  error: z.ZodOptional<z.ZodString>;
48
48
  }, "strip", z.ZodTypeAny, {
49
49
  status: string;
50
- error?: string | undefined;
51
- currency?: string | undefined;
52
- amount?: number | undefined;
53
50
  paidAt?: number | undefined;
51
+ amount?: number | undefined;
52
+ currency?: string | undefined;
54
53
  paymentIntentId?: string | undefined;
54
+ error?: string | undefined;
55
55
  }, {
56
56
  status: string;
57
- error?: string | undefined;
58
- currency?: string | undefined;
59
- amount?: number | undefined;
60
57
  paidAt?: number | undefined;
58
+ amount?: number | undefined;
59
+ currency?: string | undefined;
61
60
  paymentIntentId?: string | undefined;
61
+ error?: string | undefined;
62
62
  }>>;
63
63
  }, "strip", z.ZodTypeAny, {
64
64
  usBidderAccountPayment?: {
65
65
  status: string;
66
- error?: string | undefined;
67
- currency?: string | undefined;
68
- amount?: number | undefined;
69
66
  paidAt?: number | undefined;
67
+ amount?: number | undefined;
68
+ currency?: string | undefined;
70
69
  paymentIntentId?: string | undefined;
70
+ error?: string | undefined;
71
71
  } | undefined;
72
72
  }, {
73
73
  usBidderAccountPayment?: {
74
74
  status: string;
75
- error?: string | undefined;
76
- currency?: string | undefined;
77
- amount?: number | undefined;
78
75
  paidAt?: number | undefined;
76
+ amount?: number | undefined;
77
+ currency?: string | undefined;
79
78
  paymentIntentId?: string | undefined;
79
+ error?: string | undefined;
80
80
  } | undefined;
81
81
  }>;
82
82
  export declare const organizationSchema: z.ZodObject<{
@@ -154,8 +154,7 @@ export declare const organizationSchema: z.ZodObject<{
154
154
  hasUsBidderAccess: z.ZodNullable<z.ZodBoolean>;
155
155
  usBidderSubscriptionItemId: z.ZodNullable<z.ZodString>;
156
156
  }, "strip", z.ZodTypeAny, {
157
- source: "manual" | "stripe";
158
- status: "active" | "paused" | "trialing" | "cancelled" | "payment_processing" | "payment_pending" | "payment_failed";
157
+ status: "active" | "trialing" | "cancelled" | "paused" | "payment_processing" | "payment_pending" | "payment_failed";
159
158
  planId: string;
160
159
  pendingPlanId: string | null;
161
160
  startedAt: number;
@@ -173,14 +172,14 @@ export declare const organizationSchema: z.ZodObject<{
173
172
  hosted_invoice_url: string | null;
174
173
  };
175
174
  };
175
+ source: "stripe" | "manual";
176
176
  usage: Partial<Record<"suitabilityComplete" | "proposalComplete" | "biddingComplete", number>>;
177
177
  trialEndsAt: number | null;
178
178
  billingInterval: "monthly" | "quarterly" | "yearly" | null;
179
179
  hasUsBidderAccess: boolean | null;
180
180
  usBidderSubscriptionItemId: string | null;
181
181
  }, {
182
- source: "manual" | "stripe";
183
- status: "active" | "paused" | "trialing" | "cancelled" | "payment_processing" | "payment_pending" | "payment_failed";
182
+ status: "active" | "trialing" | "cancelled" | "paused" | "payment_processing" | "payment_pending" | "payment_failed";
184
183
  planId: string;
185
184
  pendingPlanId: string | null;
186
185
  startedAt: number;
@@ -198,6 +197,7 @@ export declare const organizationSchema: z.ZodObject<{
198
197
  hosted_invoice_url: string | null;
199
198
  };
200
199
  };
200
+ source: "stripe" | "manual";
201
201
  usage: Partial<Record<"suitabilityComplete" | "proposalComplete" | "biddingComplete", number>>;
202
202
  trialEndsAt: number | null;
203
203
  billingInterval: "monthly" | "quarterly" | "yearly" | null;
@@ -268,36 +268,36 @@ export declare const organizationSchema: z.ZodObject<{
268
268
  error: z.ZodOptional<z.ZodString>;
269
269
  }, "strip", z.ZodTypeAny, {
270
270
  status: string;
271
- error?: string | undefined;
272
- currency?: string | undefined;
273
- amount?: number | undefined;
274
271
  paidAt?: number | undefined;
272
+ amount?: number | undefined;
273
+ currency?: string | undefined;
275
274
  paymentIntentId?: string | undefined;
275
+ error?: string | undefined;
276
276
  }, {
277
277
  status: string;
278
- error?: string | undefined;
279
- currency?: string | undefined;
280
- amount?: number | undefined;
281
278
  paidAt?: number | undefined;
279
+ amount?: number | undefined;
280
+ currency?: string | undefined;
282
281
  paymentIntentId?: string | undefined;
282
+ error?: string | undefined;
283
283
  }>>;
284
284
  }, "strip", z.ZodTypeAny, {
285
285
  usBidderAccountPayment?: {
286
286
  status: string;
287
- error?: string | undefined;
288
- currency?: string | undefined;
289
- amount?: number | undefined;
290
287
  paidAt?: number | undefined;
288
+ amount?: number | undefined;
289
+ currency?: string | undefined;
291
290
  paymentIntentId?: string | undefined;
291
+ error?: string | undefined;
292
292
  } | undefined;
293
293
  }, {
294
294
  usBidderAccountPayment?: {
295
295
  status: string;
296
- error?: string | undefined;
297
- currency?: string | undefined;
298
- amount?: number | undefined;
299
296
  paidAt?: number | undefined;
297
+ amount?: number | undefined;
298
+ currency?: string | undefined;
300
299
  paymentIntentId?: string | undefined;
300
+ error?: string | undefined;
301
301
  } | undefined;
302
302
  }>>;
303
303
  insufficientConnectsAction: z.ZodNullable<z.ZodEnum<["buy_more_connects", "pause_campaigns"]>>;
@@ -306,27 +306,11 @@ export declare const organizationSchema: z.ZodObject<{
306
306
  }, "strip", z.ZodTypeAny, {
307
307
  type: "agency" | "freelancer";
308
308
  id: string;
309
- active: boolean;
310
309
  name: string;
311
- billing: {
312
- stripe: {
313
- customer: {
314
- id: string | null;
315
- };
316
- };
317
- savedCard: boolean;
318
- } | null;
319
- createdAt: number;
320
- updatedAt: number;
321
- limits: {
322
- monthlyCredits: number;
323
- usedCredits: number;
324
- extraCredits: number;
325
- };
326
310
  associatedBidders: string[] | null;
311
+ active: boolean;
327
312
  subscription: {
328
- source: "manual" | "stripe";
329
- status: "active" | "paused" | "trialing" | "cancelled" | "payment_processing" | "payment_pending" | "payment_failed";
313
+ status: "active" | "trialing" | "cancelled" | "paused" | "payment_processing" | "payment_pending" | "payment_failed";
330
314
  planId: string;
331
315
  pendingPlanId: string | null;
332
316
  startedAt: number;
@@ -344,14 +328,30 @@ export declare const organizationSchema: z.ZodObject<{
344
328
  hosted_invoice_url: string | null;
345
329
  };
346
330
  };
331
+ source: "stripe" | "manual";
347
332
  usage: Partial<Record<"suitabilityComplete" | "proposalComplete" | "biddingComplete", number>>;
348
333
  trialEndsAt: number | null;
349
334
  billingInterval: "monthly" | "quarterly" | "yearly" | null;
350
335
  hasUsBidderAccess: boolean | null;
351
336
  usBidderSubscriptionItemId: string | null;
352
337
  } | null;
338
+ limits: {
339
+ monthlyCredits: number;
340
+ usedCredits: number;
341
+ extraCredits: number;
342
+ };
343
+ billing: {
344
+ stripe: {
345
+ customer: {
346
+ id: string | null;
347
+ };
348
+ };
349
+ savedCard: boolean;
350
+ } | null;
353
351
  lastBidTime: number | null;
354
352
  nextScheduledBidTime: number | null;
353
+ createdAt: number;
354
+ updatedAt: number;
355
355
  openRouterApiKey: string | null;
356
356
  nextProposalStatusSyncTime: number | null;
357
357
  insufficientConnectsAction: "buy_more_connects" | "pause_campaigns" | null;
@@ -360,37 +360,21 @@ export declare const organizationSchema: z.ZodObject<{
360
360
  usBidderAccountSubscription?: {
361
361
  usBidderAccountPayment?: {
362
362
  status: string;
363
- error?: string | undefined;
364
- currency?: string | undefined;
365
- amount?: number | undefined;
366
363
  paidAt?: number | undefined;
364
+ amount?: number | undefined;
365
+ currency?: string | undefined;
367
366
  paymentIntentId?: string | undefined;
367
+ error?: string | undefined;
368
368
  } | undefined;
369
369
  } | undefined;
370
370
  }, {
371
371
  type: "agency" | "freelancer";
372
372
  id: string;
373
- active: boolean;
374
373
  name: string;
375
- billing: {
376
- stripe: {
377
- customer: {
378
- id: string | null;
379
- };
380
- };
381
- savedCard: boolean;
382
- } | null;
383
- createdAt: number;
384
- updatedAt: number;
385
- limits: {
386
- monthlyCredits: number;
387
- usedCredits: number;
388
- extraCredits: number;
389
- };
390
374
  associatedBidders: string[] | null;
375
+ active: boolean;
391
376
  subscription: {
392
- source: "manual" | "stripe";
393
- status: "active" | "paused" | "trialing" | "cancelled" | "payment_processing" | "payment_pending" | "payment_failed";
377
+ status: "active" | "trialing" | "cancelled" | "paused" | "payment_processing" | "payment_pending" | "payment_failed";
394
378
  planId: string;
395
379
  pendingPlanId: string | null;
396
380
  startedAt: number;
@@ -408,14 +392,30 @@ export declare const organizationSchema: z.ZodObject<{
408
392
  hosted_invoice_url: string | null;
409
393
  };
410
394
  };
395
+ source: "stripe" | "manual";
411
396
  usage: Partial<Record<"suitabilityComplete" | "proposalComplete" | "biddingComplete", number>>;
412
397
  trialEndsAt: number | null;
413
398
  billingInterval: "monthly" | "quarterly" | "yearly" | null;
414
399
  hasUsBidderAccess: boolean | null;
415
400
  usBidderSubscriptionItemId: string | null;
416
401
  } | null;
402
+ limits: {
403
+ monthlyCredits: number;
404
+ usedCredits: number;
405
+ extraCredits: number;
406
+ };
407
+ billing: {
408
+ stripe: {
409
+ customer: {
410
+ id: string | null;
411
+ };
412
+ };
413
+ savedCard: boolean;
414
+ } | null;
417
415
  lastBidTime: number | null;
418
416
  nextScheduledBidTime: number | null;
417
+ createdAt: number;
418
+ updatedAt: number;
419
419
  openRouterApiKey: string | null;
420
420
  nextProposalStatusSyncTime: number | null;
421
421
  insufficientConnectsAction: "buy_more_connects" | "pause_campaigns" | null;
@@ -424,11 +424,11 @@ export declare const organizationSchema: z.ZodObject<{
424
424
  usBidderAccountSubscription?: {
425
425
  usBidderAccountPayment?: {
426
426
  status: string;
427
- error?: string | undefined;
428
- currency?: string | undefined;
429
- amount?: number | undefined;
430
427
  paidAt?: number | undefined;
428
+ amount?: number | undefined;
429
+ currency?: string | undefined;
431
430
  paymentIntentId?: string | undefined;
431
+ error?: string | undefined;
432
432
  } | undefined;
433
433
  } | undefined;
434
434
  }>;
@@ -496,9 +496,9 @@ export declare const organizationProfileSchema: z.ZodObject<{
496
496
  type: "agency" | "freelancer";
497
497
  id: string;
498
498
  name: string;
499
- summary: string;
500
- title: string;
501
499
  createdAt: number;
500
+ title: string;
501
+ summary: string;
502
502
  coreServices: string;
503
503
  toolsSkillsTechnologies: string;
504
504
  approach: string;
@@ -519,9 +519,9 @@ export declare const organizationProfileSchema: z.ZodObject<{
519
519
  type: "agency" | "freelancer";
520
520
  id: string;
521
521
  name: string;
522
- summary: string;
523
- title: string;
524
522
  createdAt: number;
523
+ title: string;
524
+ summary: string;
525
525
  coreServices: string;
526
526
  toolsSkillsTechnologies: string;
527
527
  approach: string;
@@ -584,9 +584,9 @@ export declare const updateOrganizationProfileSchema: z.ZodObject<z.objectUtil.e
584
584
  id: string;
585
585
  type?: "agency" | "freelancer" | undefined;
586
586
  name?: string | undefined;
587
- summary?: string | undefined;
588
- title?: string | undefined;
589
587
  createdAt?: number | undefined;
588
+ title?: string | undefined;
589
+ summary?: string | undefined;
590
590
  coreServices?: string | undefined;
591
591
  toolsSkillsTechnologies?: string | undefined;
592
592
  approach?: string | undefined;
@@ -607,9 +607,9 @@ export declare const updateOrganizationProfileSchema: z.ZodObject<z.objectUtil.e
607
607
  id: string;
608
608
  type?: "agency" | "freelancer" | undefined;
609
609
  name?: string | undefined;
610
- summary?: string | undefined;
611
- title?: string | undefined;
612
610
  createdAt?: number | undefined;
611
+ title?: string | undefined;
612
+ summary?: string | undefined;
613
613
  coreServices?: string | undefined;
614
614
  toolsSkillsTechnologies?: string | undefined;
615
615
  approach?: string | undefined;
@@ -749,8 +749,7 @@ export declare const createOrganizationSchema: z.ZodObject<Pick<{
749
749
  hasUsBidderAccess: z.ZodNullable<z.ZodBoolean>;
750
750
  usBidderSubscriptionItemId: z.ZodNullable<z.ZodString>;
751
751
  }, "strip", z.ZodTypeAny, {
752
- source: "manual" | "stripe";
753
- status: "active" | "paused" | "trialing" | "cancelled" | "payment_processing" | "payment_pending" | "payment_failed";
752
+ status: "active" | "trialing" | "cancelled" | "paused" | "payment_processing" | "payment_pending" | "payment_failed";
754
753
  planId: string;
755
754
  pendingPlanId: string | null;
756
755
  startedAt: number;
@@ -768,14 +767,14 @@ export declare const createOrganizationSchema: z.ZodObject<Pick<{
768
767
  hosted_invoice_url: string | null;
769
768
  };
770
769
  };
770
+ source: "stripe" | "manual";
771
771
  usage: Partial<Record<"suitabilityComplete" | "proposalComplete" | "biddingComplete", number>>;
772
772
  trialEndsAt: number | null;
773
773
  billingInterval: "monthly" | "quarterly" | "yearly" | null;
774
774
  hasUsBidderAccess: boolean | null;
775
775
  usBidderSubscriptionItemId: string | null;
776
776
  }, {
777
- source: "manual" | "stripe";
778
- status: "active" | "paused" | "trialing" | "cancelled" | "payment_processing" | "payment_pending" | "payment_failed";
777
+ status: "active" | "trialing" | "cancelled" | "paused" | "payment_processing" | "payment_pending" | "payment_failed";
779
778
  planId: string;
780
779
  pendingPlanId: string | null;
781
780
  startedAt: number;
@@ -793,6 +792,7 @@ export declare const createOrganizationSchema: z.ZodObject<Pick<{
793
792
  hosted_invoice_url: string | null;
794
793
  };
795
794
  };
795
+ source: "stripe" | "manual";
796
796
  usage: Partial<Record<"suitabilityComplete" | "proposalComplete" | "biddingComplete", number>>;
797
797
  trialEndsAt: number | null;
798
798
  billingInterval: "monthly" | "quarterly" | "yearly" | null;
@@ -863,36 +863,36 @@ export declare const createOrganizationSchema: z.ZodObject<Pick<{
863
863
  error: z.ZodOptional<z.ZodString>;
864
864
  }, "strip", z.ZodTypeAny, {
865
865
  status: string;
866
- error?: string | undefined;
867
- currency?: string | undefined;
868
- amount?: number | undefined;
869
866
  paidAt?: number | undefined;
867
+ amount?: number | undefined;
868
+ currency?: string | undefined;
870
869
  paymentIntentId?: string | undefined;
870
+ error?: string | undefined;
871
871
  }, {
872
872
  status: string;
873
- error?: string | undefined;
874
- currency?: string | undefined;
875
- amount?: number | undefined;
876
873
  paidAt?: number | undefined;
874
+ amount?: number | undefined;
875
+ currency?: string | undefined;
877
876
  paymentIntentId?: string | undefined;
877
+ error?: string | undefined;
878
878
  }>>;
879
879
  }, "strip", z.ZodTypeAny, {
880
880
  usBidderAccountPayment?: {
881
881
  status: string;
882
- error?: string | undefined;
883
- currency?: string | undefined;
884
- amount?: number | undefined;
885
882
  paidAt?: number | undefined;
883
+ amount?: number | undefined;
884
+ currency?: string | undefined;
886
885
  paymentIntentId?: string | undefined;
886
+ error?: string | undefined;
887
887
  } | undefined;
888
888
  }, {
889
889
  usBidderAccountPayment?: {
890
890
  status: string;
891
- error?: string | undefined;
892
- currency?: string | undefined;
893
- amount?: number | undefined;
894
891
  paidAt?: number | undefined;
892
+ amount?: number | undefined;
893
+ currency?: string | undefined;
895
894
  paymentIntentId?: string | undefined;
895
+ error?: string | undefined;
896
896
  } | undefined;
897
897
  }>>;
898
898
  insufficientConnectsAction: z.ZodNullable<z.ZodEnum<["buy_more_connects", "pause_campaigns"]>>;
@@ -922,12 +922,12 @@ export declare const questionRulesSchema: z.ZodObject<{
922
922
  answer: z.ZodString;
923
923
  exampleAnswer: z.ZodOptional<z.ZodString>;
924
924
  }, "strip", z.ZodTypeAny, {
925
- answer: string;
926
925
  question: string;
926
+ answer: string;
927
927
  exampleAnswer?: string | undefined;
928
928
  }, {
929
- answer: string;
930
929
  question: string;
930
+ answer: string;
931
931
  exampleAnswer?: string | undefined;
932
932
  }>;
933
933
  export type QuestionRules = z.infer<typeof questionRulesSchema>;
@@ -938,12 +938,12 @@ export declare const aiConfigSchema: z.ZodObject<{
938
938
  answer: z.ZodString;
939
939
  exampleAnswer: z.ZodOptional<z.ZodString>;
940
940
  }, "strip", z.ZodTypeAny, {
941
- answer: string;
942
941
  question: string;
942
+ answer: string;
943
943
  exampleAnswer?: string | undefined;
944
944
  }, {
945
- answer: string;
946
945
  question: string;
946
+ answer: string;
947
947
  exampleAnswer?: string | undefined;
948
948
  }>, "many">>;
949
949
  disqualifierRules: z.ZodNullable<z.ZodString>;
@@ -951,8 +951,8 @@ export declare const aiConfigSchema: z.ZodObject<{
951
951
  }, "strip", z.ZodTypeAny, {
952
952
  questionHandling: string | null;
953
953
  questionRules: {
954
- answer: string;
955
954
  question: string;
955
+ answer: string;
956
956
  exampleAnswer?: string | undefined;
957
957
  }[] | null;
958
958
  disqualifierRules: string | null;
@@ -960,8 +960,8 @@ export declare const aiConfigSchema: z.ZodObject<{
960
960
  }, {
961
961
  questionHandling: string | null;
962
962
  questionRules: {
963
- answer: string;
964
963
  question: string;
964
+ answer: string;
965
965
  exampleAnswer?: string | undefined;
966
966
  }[] | null;
967
967
  disqualifierRules: string | null;
@@ -988,12 +988,12 @@ export declare const organizationSettingsSchema: z.ZodObject<{
988
988
  answer: z.ZodString;
989
989
  exampleAnswer: z.ZodOptional<z.ZodString>;
990
990
  }, "strip", z.ZodTypeAny, {
991
- answer: string;
992
991
  question: string;
992
+ answer: string;
993
993
  exampleAnswer?: string | undefined;
994
994
  }, {
995
- answer: string;
996
995
  question: string;
996
+ answer: string;
997
997
  exampleAnswer?: string | undefined;
998
998
  }>, "many">>;
999
999
  disqualifierRules: z.ZodNullable<z.ZodString>;
@@ -1001,8 +1001,8 @@ export declare const organizationSettingsSchema: z.ZodObject<{
1001
1001
  }, "strip", z.ZodTypeAny, {
1002
1002
  questionHandling: string | null;
1003
1003
  questionRules: {
1004
- answer: string;
1005
1004
  question: string;
1005
+ answer: string;
1006
1006
  exampleAnswer?: string | undefined;
1007
1007
  }[] | null;
1008
1008
  disqualifierRules: string | null;
@@ -1010,8 +1010,8 @@ export declare const organizationSettingsSchema: z.ZodObject<{
1010
1010
  }, {
1011
1011
  questionHandling: string | null;
1012
1012
  questionRules: {
1013
- answer: string;
1014
1013
  question: string;
1014
+ answer: string;
1015
1015
  exampleAnswer?: string | undefined;
1016
1016
  }[] | null;
1017
1017
  disqualifierRules: string | null;
@@ -1021,8 +1021,8 @@ export declare const organizationSettingsSchema: z.ZodObject<{
1021
1021
  aiConfig: {
1022
1022
  questionHandling: string | null;
1023
1023
  questionRules: {
1024
- answer: string;
1025
1024
  question: string;
1025
+ answer: string;
1026
1026
  exampleAnswer?: string | undefined;
1027
1027
  }[] | null;
1028
1028
  disqualifierRules: string | null;
@@ -1032,8 +1032,8 @@ export declare const organizationSettingsSchema: z.ZodObject<{
1032
1032
  aiConfig: {
1033
1033
  questionHandling: string | null;
1034
1034
  questionRules: {
1035
- answer: string;
1036
1035
  question: string;
1036
+ answer: string;
1037
1037
  exampleAnswer?: string | undefined;
1038
1038
  }[] | null;
1039
1039
  disqualifierRules: string | null;
@@ -8,17 +8,17 @@ export declare const onboardingSectionSchema: z.ZodObject<{
8
8
  description: z.ZodString;
9
9
  }, "strip", z.ZodTypeAny, {
10
10
  id: string;
11
- title: string;
12
- description: string;
13
- videoUrl: string | null;
14
11
  parentId: string | null;
12
+ title: string;
15
13
  stepNumber: string;
14
+ videoUrl: string | null;
15
+ description: string;
16
16
  }, {
17
17
  id: string;
18
- title: string;
19
- description: string;
20
- videoUrl: string | null;
21
18
  parentId: string | null;
19
+ title: string;
22
20
  stepNumber: string;
21
+ videoUrl: string | null;
22
+ description: string;
23
23
  }>;
24
24
  export type OnboardingSection = z.infer<typeof onboardingSectionSchema>;
@@ -8,16 +8,16 @@ export declare const getOrganizationLeadsRequestQuerySchema: z.ZodObject<{
8
8
  inQueue: z.ZodOptional<z.ZodBoolean>;
9
9
  }, "strip", z.ZodTypeAny, {
10
10
  cursor?: string | undefined;
11
- status?: "all" | "rejected" | "contacted" | "viewed" | "replied" | "suitable" | undefined;
11
+ limit?: number | undefined;
12
+ status?: "all" | "suitable" | "contacted" | "viewed" | "replied" | "rejected" | undefined;
12
13
  campaignId?: string | undefined;
13
14
  inQueue?: boolean | undefined;
14
- limit?: number | undefined;
15
15
  }, {
16
16
  cursor?: string | undefined;
17
- status?: "all" | "rejected" | "contacted" | "viewed" | "replied" | "suitable" | undefined;
17
+ limit?: number | undefined;
18
+ status?: "all" | "suitable" | "contacted" | "viewed" | "replied" | "rejected" | 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>;
@@ -149,12 +149,6 @@ export declare const subscriptionSchema: z.ZodObject<{
149
149
  hasUsBidderAccess: z.ZodNullable<z.ZodBoolean>;
150
150
  usBidderSubscriptionItemId: z.ZodNullable<z.ZodString>;
151
151
  }, "strip", z.ZodTypeAny, {
152
- source: "manual" | "stripe";
153
- status: "active" | "paused" | "trialing" | "cancelled" | "payment_processing" | "payment_pending" | "payment_failed";
154
- planId: string;
155
- pendingPlanId: string | null;
156
- startedAt: number;
157
- currentPeriodEnd: number;
158
152
  stripe: {
159
153
  id: string;
160
154
  items: {
@@ -168,18 +162,18 @@ export declare const subscriptionSchema: z.ZodObject<{
168
162
  hosted_invoice_url: string | null;
169
163
  };
170
164
  };
165
+ status: "active" | "trialing" | "cancelled" | "paused" | "payment_processing" | "payment_pending" | "payment_failed";
166
+ planId: string;
167
+ pendingPlanId: string | null;
168
+ startedAt: number;
169
+ currentPeriodEnd: number;
170
+ source: "stripe" | "manual";
171
171
  usage: Partial<Record<"suitabilityComplete" | "proposalComplete" | "biddingComplete", number>>;
172
172
  trialEndsAt: number | null;
173
173
  billingInterval: "monthly" | "quarterly" | "yearly" | null;
174
174
  hasUsBidderAccess: boolean | null;
175
175
  usBidderSubscriptionItemId: string | null;
176
176
  }, {
177
- source: "manual" | "stripe";
178
- status: "active" | "paused" | "trialing" | "cancelled" | "payment_processing" | "payment_pending" | "payment_failed";
179
- planId: string;
180
- pendingPlanId: string | null;
181
- startedAt: number;
182
- currentPeriodEnd: number;
183
177
  stripe: {
184
178
  id: string;
185
179
  items: {
@@ -193,6 +187,12 @@ export declare const subscriptionSchema: z.ZodObject<{
193
187
  hosted_invoice_url: string | null;
194
188
  };
195
189
  };
190
+ status: "active" | "trialing" | "cancelled" | "paused" | "payment_processing" | "payment_pending" | "payment_failed";
191
+ planId: string;
192
+ pendingPlanId: string | null;
193
+ startedAt: number;
194
+ currentPeriodEnd: number;
195
+ source: "stripe" | "manual";
196
196
  usage: Partial<Record<"suitabilityComplete" | "proposalComplete" | "biddingComplete", number>>;
197
197
  trialEndsAt: number | null;
198
198
  billingInterval: "monthly" | "quarterly" | "yearly" | null;