lancer-shared 1.2.271 → 1.2.272

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 (44) hide show
  1. package/dist/bundle.cjs.js +9 -4
  2. package/dist/bundle.cjs.js.map +1 -1
  3. package/dist/bundle.esm.js +9 -5
  4. package/dist/bundle.esm.js.map +1 -1
  5. package/dist/schemas/account/bidder-account.d.ts +20 -20
  6. package/dist/schemas/account/scraper-account.d.ts +22 -22
  7. package/dist/schemas/agent/index.d.ts +216 -216
  8. package/dist/schemas/agent/proposal.d.ts +2 -2
  9. package/dist/schemas/bidder/bid.d.ts +2062 -2043
  10. package/dist/schemas/campaign/campaign-analytics.d.ts +784 -776
  11. package/dist/schemas/campaign/campaign-chat-bot.d.ts +9 -9
  12. package/dist/schemas/campaign/campaign.d.ts +378 -378
  13. package/dist/schemas/dashboard/index.d.ts +12 -12
  14. package/dist/schemas/golden-dataset/sample.d.ts +8 -8
  15. package/dist/schemas/invoice/index.d.ts +4 -4
  16. package/dist/schemas/job/index.d.ts +112 -112
  17. package/dist/schemas/job/job-api.d.ts +6 -6
  18. package/dist/schemas/job/job-details.d.ts +74 -74
  19. package/dist/schemas/job/job-filters.d.ts +47 -47
  20. package/dist/schemas/job/job-listing.d.ts +22 -22
  21. package/dist/schemas/job/nuxt.d.ts +24 -24
  22. package/dist/schemas/lead/index.d.ts +845 -844
  23. package/dist/schemas/lead/insufficient-connects-action.d.ts +3 -0
  24. package/dist/schemas/lead/lead-status.d.ts +10 -10
  25. package/dist/schemas/logger/feed/feed-chunk-enrich.d.ts +6 -6
  26. package/dist/schemas/logger/feed/feed-enrich.d.ts +6 -6
  27. package/dist/schemas/logger/feed/feed-job-enrich.d.ts +140 -140
  28. package/dist/schemas/logger/feed/feed-scrape.d.ts +6 -6
  29. package/dist/schemas/logger/log-event.d.ts +72 -72
  30. package/dist/schemas/logger/scraper-events.d.ts +28 -28
  31. package/dist/schemas/notifications/index.d.ts +4 -4
  32. package/dist/schemas/organization/billing.d.ts +2 -2
  33. package/dist/schemas/organization/index.d.ts +66 -62
  34. package/dist/schemas/organization/organization-leads.d.ts +4 -4
  35. package/dist/schemas/organization/subscription.d.ts +9 -9
  36. package/dist/schemas/plan/index.d.ts +22 -22
  37. package/dist/schemas/proxy/proxy.d.ts +2 -2
  38. package/dist/schemas/scraper/scrape-payload.d.ts +495 -490
  39. package/dist/schemas/scraper/scrape-result.d.ts +136 -136
  40. package/dist/schemas/talent/index.d.ts +148 -148
  41. package/dist/schemas/transaction/index.d.ts +2 -2
  42. package/dist/schemas/usage/index.d.ts +2 -2
  43. package/dist/schemas/usage-event/index.d.ts +8 -8
  44. package/package.json +1 -1
@@ -70,7 +70,6 @@ export declare const transactionSchema: z.ZodObject<{
70
70
  }, "strip", z.ZodTypeAny, {
71
71
  type: "subscription" | "add-on" | "refund";
72
72
  status: "failed" | "succeeded" | "refunded";
73
- timestamp: number;
74
73
  stripe: {
75
74
  invoice: {
76
75
  id: string | null;
@@ -79,12 +78,12 @@ export declare const transactionSchema: z.ZodObject<{
79
78
  id: string | null;
80
79
  };
81
80
  };
81
+ timestamp: number;
82
82
  orgId: string;
83
83
  amountUsd: number;
84
84
  }, {
85
85
  type: "subscription" | "add-on" | "refund";
86
86
  status: "failed" | "succeeded" | "refunded";
87
- timestamp: number;
88
87
  stripe: {
89
88
  invoice: {
90
89
  id: string | null;
@@ -93,6 +92,7 @@ export declare const transactionSchema: z.ZodObject<{
93
92
  id: string | null;
94
93
  };
95
94
  };
95
+ timestamp: number;
96
96
  orgId: string;
97
97
  amountUsd: number;
98
98
  }>;
@@ -18,8 +18,8 @@ export declare const dailyUsageSchema: z.ZodObject<{
18
18
  model: z.ZodString;
19
19
  timestamp: z.ZodNumber;
20
20
  }, "strip", z.ZodTypeAny, {
21
- timestamp: number;
22
21
  model: string;
22
+ timestamp: number;
23
23
  breakdown: {
24
24
  proposal: number;
25
25
  suitability: number;
@@ -28,8 +28,8 @@ export declare const dailyUsageSchema: z.ZodObject<{
28
28
  campaignId?: string | undefined;
29
29
  tokensUsed?: number | undefined;
30
30
  }, {
31
- timestamp: number;
32
31
  model: string;
32
+ timestamp: number;
33
33
  breakdown: {
34
34
  proposal: number;
35
35
  suitability: number;
@@ -8,13 +8,13 @@ export declare const usageEventMetadataSchema: z.ZodObject<{
8
8
  }, "strip", z.ZodTypeAny, {
9
9
  campaignId: string | null;
10
10
  userId: string | null;
11
- stripeSubscriptionId: string | null;
12
11
  planId: string | null;
12
+ stripeSubscriptionId: string | null;
13
13
  }, {
14
14
  campaignId: string | null;
15
15
  userId: string | null;
16
- stripeSubscriptionId: string | null;
17
16
  planId: string | null;
17
+ stripeSubscriptionId: string | null;
18
18
  }>;
19
19
  export declare const usageEventSchema: z.ZodObject<{
20
20
  organizationId: z.ZodString;
@@ -28,34 +28,34 @@ export declare const usageEventSchema: z.ZodObject<{
28
28
  }, "strip", z.ZodTypeAny, {
29
29
  campaignId: string | null;
30
30
  userId: string | null;
31
- stripeSubscriptionId: string | null;
32
31
  planId: string | null;
32
+ stripeSubscriptionId: string | null;
33
33
  }, {
34
34
  campaignId: string | null;
35
35
  userId: string | null;
36
- stripeSubscriptionId: string | null;
37
36
  planId: string | null;
37
+ stripeSubscriptionId: string | null;
38
38
  }>;
39
39
  }, "strip", z.ZodTypeAny, {
40
40
  metadata: {
41
41
  campaignId: string | null;
42
42
  userId: string | null;
43
- stripeSubscriptionId: string | null;
44
43
  planId: string | null;
44
+ stripeSubscriptionId: string | null;
45
45
  };
46
46
  organizationId: string;
47
- typeId: "suitabilityComplete" | "proposalComplete" | "biddingComplete";
48
47
  timestamp: number;
48
+ typeId: "suitabilityComplete" | "proposalComplete" | "biddingComplete";
49
49
  }, {
50
50
  metadata: {
51
51
  campaignId: string | null;
52
52
  userId: string | null;
53
- stripeSubscriptionId: string | null;
54
53
  planId: string | null;
54
+ stripeSubscriptionId: string | null;
55
55
  };
56
56
  organizationId: string;
57
- typeId: "suitabilityComplete" | "proposalComplete" | "biddingComplete";
58
57
  timestamp: number;
58
+ typeId: "suitabilityComplete" | "proposalComplete" | "biddingComplete";
59
59
  }>;
60
60
  export type UsageEventType = z.infer<typeof usageEventTypeEnum>;
61
61
  export interface UsageEvent extends infer<typeof usageEventSchema> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lancer-shared",
3
- "version": "1.2.271",
3
+ "version": "1.2.272",
4
4
  "description": "This package contains shared stuff.",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "dist/bundle.cjs.js",