lancer-shared 1.2.270 → 1.2.271
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 +4 -2
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +4 -2
- package/dist/bundle.esm.js.map +1 -1
- package/dist/constants/routes.d.ts +1 -1
- package/dist/schemas/campaign/campaign-analytics.d.ts +56 -8
- package/dist/schemas/organization/index.d.ts +20 -4
- package/dist/schemas/organization/subscription.d.ts +6 -0
- package/dist/schemas/scraper/scrape-payload.d.ts +19 -5
- package/package.json +1 -1
|
@@ -142,7 +142,7 @@ export declare const ROUTES: {
|
|
|
142
142
|
readonly PAYMENT_METHODS: (id: string) => string;
|
|
143
143
|
readonly TRACK_USAGE: (id: string) => string;
|
|
144
144
|
readonly SUBSCRIBE: (id: string) => string;
|
|
145
|
-
readonly
|
|
145
|
+
readonly SUBSCRIBE_US_BIDDER_ACCOUNT: (id: string) => string;
|
|
146
146
|
readonly PAUSE_CAMPAIGNS: (id: string) => string;
|
|
147
147
|
readonly BIDDER_ACCOUNTS: {
|
|
148
148
|
readonly BASE: (id: string) => string;
|
|
@@ -227,6 +227,8 @@ export declare const campaignStatusActivitySchema: z.ZodObject<z.objectUtil.exte
|
|
|
227
227
|
usage: z.ZodRecord<z.ZodEnum<["suitabilityComplete", "proposalComplete", "biddingComplete"]>, z.ZodNumber>;
|
|
228
228
|
trialEndsAt: z.ZodNullable<z.ZodNumber>;
|
|
229
229
|
billingInterval: z.ZodEnum<["monthly", "quarterly", "yearly"]>;
|
|
230
|
+
hasUsBidderAccess: z.ZodNullable<z.ZodBoolean>;
|
|
231
|
+
usBidderSubscriptionItemId: z.ZodNullable<z.ZodString>;
|
|
230
232
|
}, "strip", z.ZodTypeAny, {
|
|
231
233
|
source: "manual" | "stripe";
|
|
232
234
|
status: "active" | "paused" | "trialing" | "cancelled" | "payment_processing" | "payment_pending" | "payment_failed";
|
|
@@ -250,6 +252,8 @@ export declare const campaignStatusActivitySchema: z.ZodObject<z.objectUtil.exte
|
|
|
250
252
|
usage: Partial<Record<"suitabilityComplete" | "proposalComplete" | "biddingComplete", number>>;
|
|
251
253
|
trialEndsAt: number | null;
|
|
252
254
|
billingInterval: "monthly" | "quarterly" | "yearly";
|
|
255
|
+
hasUsBidderAccess: boolean | null;
|
|
256
|
+
usBidderSubscriptionItemId: string | null;
|
|
253
257
|
}, {
|
|
254
258
|
source: "manual" | "stripe";
|
|
255
259
|
status: "active" | "paused" | "trialing" | "cancelled" | "payment_processing" | "payment_pending" | "payment_failed";
|
|
@@ -273,6 +277,8 @@ export declare const campaignStatusActivitySchema: z.ZodObject<z.objectUtil.exte
|
|
|
273
277
|
usage: Partial<Record<"suitabilityComplete" | "proposalComplete" | "biddingComplete", number>>;
|
|
274
278
|
trialEndsAt: number | null;
|
|
275
279
|
billingInterval: "monthly" | "quarterly" | "yearly";
|
|
280
|
+
hasUsBidderAccess: boolean | null;
|
|
281
|
+
usBidderSubscriptionItemId: string | null;
|
|
276
282
|
}>>;
|
|
277
283
|
active: z.ZodBoolean;
|
|
278
284
|
limits: z.ZodObject<{
|
|
@@ -328,7 +334,7 @@ export declare const campaignStatusActivitySchema: z.ZodObject<z.objectUtil.exte
|
|
|
328
334
|
updatedAt: z.ZodNumber;
|
|
329
335
|
openRouterApiKey: z.ZodNullable<z.ZodString>;
|
|
330
336
|
nextProposalStatusSyncTime: z.ZodNullable<z.ZodNumber>;
|
|
331
|
-
|
|
337
|
+
usBidderAccountSubscription: z.ZodOptional<z.ZodObject<{
|
|
332
338
|
usBidderAccountPayment: z.ZodOptional<z.ZodObject<{
|
|
333
339
|
paidAt: z.ZodOptional<z.ZodNumber>;
|
|
334
340
|
amount: z.ZodOptional<z.ZodNumber>;
|
|
@@ -871,6 +877,8 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
871
877
|
usage: z.ZodRecord<z.ZodEnum<["suitabilityComplete", "proposalComplete", "biddingComplete"]>, z.ZodNumber>;
|
|
872
878
|
trialEndsAt: z.ZodNullable<z.ZodNumber>;
|
|
873
879
|
billingInterval: z.ZodEnum<["monthly", "quarterly", "yearly"]>;
|
|
880
|
+
hasUsBidderAccess: z.ZodNullable<z.ZodBoolean>;
|
|
881
|
+
usBidderSubscriptionItemId: z.ZodNullable<z.ZodString>;
|
|
874
882
|
}, "strip", z.ZodTypeAny, {
|
|
875
883
|
source: "manual" | "stripe";
|
|
876
884
|
status: "active" | "paused" | "trialing" | "cancelled" | "payment_processing" | "payment_pending" | "payment_failed";
|
|
@@ -894,6 +902,8 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
894
902
|
usage: Partial<Record<"suitabilityComplete" | "proposalComplete" | "biddingComplete", number>>;
|
|
895
903
|
trialEndsAt: number | null;
|
|
896
904
|
billingInterval: "monthly" | "quarterly" | "yearly";
|
|
905
|
+
hasUsBidderAccess: boolean | null;
|
|
906
|
+
usBidderSubscriptionItemId: string | null;
|
|
897
907
|
}, {
|
|
898
908
|
source: "manual" | "stripe";
|
|
899
909
|
status: "active" | "paused" | "trialing" | "cancelled" | "payment_processing" | "payment_pending" | "payment_failed";
|
|
@@ -917,6 +927,8 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
917
927
|
usage: Partial<Record<"suitabilityComplete" | "proposalComplete" | "biddingComplete", number>>;
|
|
918
928
|
trialEndsAt: number | null;
|
|
919
929
|
billingInterval: "monthly" | "quarterly" | "yearly";
|
|
930
|
+
hasUsBidderAccess: boolean | null;
|
|
931
|
+
usBidderSubscriptionItemId: string | null;
|
|
920
932
|
}>>;
|
|
921
933
|
active: z.ZodBoolean;
|
|
922
934
|
limits: z.ZodObject<{
|
|
@@ -972,7 +984,7 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
972
984
|
updatedAt: z.ZodNumber;
|
|
973
985
|
openRouterApiKey: z.ZodNullable<z.ZodString>;
|
|
974
986
|
nextProposalStatusSyncTime: z.ZodNullable<z.ZodNumber>;
|
|
975
|
-
|
|
987
|
+
usBidderAccountSubscription: z.ZodOptional<z.ZodObject<{
|
|
976
988
|
usBidderAccountPayment: z.ZodOptional<z.ZodObject<{
|
|
977
989
|
paidAt: z.ZodOptional<z.ZodNumber>;
|
|
978
990
|
amount: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1945,6 +1957,8 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
1945
1957
|
usage: z.ZodRecord<z.ZodEnum<["suitabilityComplete", "proposalComplete", "biddingComplete"]>, z.ZodNumber>;
|
|
1946
1958
|
trialEndsAt: z.ZodNullable<z.ZodNumber>;
|
|
1947
1959
|
billingInterval: z.ZodEnum<["monthly", "quarterly", "yearly"]>;
|
|
1960
|
+
hasUsBidderAccess: z.ZodNullable<z.ZodBoolean>;
|
|
1961
|
+
usBidderSubscriptionItemId: z.ZodNullable<z.ZodString>;
|
|
1948
1962
|
}, "strip", z.ZodTypeAny, {
|
|
1949
1963
|
source: "manual" | "stripe";
|
|
1950
1964
|
status: "active" | "paused" | "trialing" | "cancelled" | "payment_processing" | "payment_pending" | "payment_failed";
|
|
@@ -1968,6 +1982,8 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
1968
1982
|
usage: Partial<Record<"suitabilityComplete" | "proposalComplete" | "biddingComplete", number>>;
|
|
1969
1983
|
trialEndsAt: number | null;
|
|
1970
1984
|
billingInterval: "monthly" | "quarterly" | "yearly";
|
|
1985
|
+
hasUsBidderAccess: boolean | null;
|
|
1986
|
+
usBidderSubscriptionItemId: string | null;
|
|
1971
1987
|
}, {
|
|
1972
1988
|
source: "manual" | "stripe";
|
|
1973
1989
|
status: "active" | "paused" | "trialing" | "cancelled" | "payment_processing" | "payment_pending" | "payment_failed";
|
|
@@ -1991,6 +2007,8 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
1991
2007
|
usage: Partial<Record<"suitabilityComplete" | "proposalComplete" | "biddingComplete", number>>;
|
|
1992
2008
|
trialEndsAt: number | null;
|
|
1993
2009
|
billingInterval: "monthly" | "quarterly" | "yearly";
|
|
2010
|
+
hasUsBidderAccess: boolean | null;
|
|
2011
|
+
usBidderSubscriptionItemId: string | null;
|
|
1994
2012
|
}>>;
|
|
1995
2013
|
active: z.ZodBoolean;
|
|
1996
2014
|
limits: z.ZodObject<{
|
|
@@ -2046,7 +2064,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
2046
2064
|
updatedAt: z.ZodNumber;
|
|
2047
2065
|
openRouterApiKey: z.ZodNullable<z.ZodString>;
|
|
2048
2066
|
nextProposalStatusSyncTime: z.ZodNullable<z.ZodNumber>;
|
|
2049
|
-
|
|
2067
|
+
usBidderAccountSubscription: z.ZodOptional<z.ZodObject<{
|
|
2050
2068
|
usBidderAccountPayment: z.ZodOptional<z.ZodObject<{
|
|
2051
2069
|
paidAt: z.ZodOptional<z.ZodNumber>;
|
|
2052
2070
|
amount: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3019,6 +3037,8 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
3019
3037
|
usage: z.ZodRecord<z.ZodEnum<["suitabilityComplete", "proposalComplete", "biddingComplete"]>, z.ZodNumber>;
|
|
3020
3038
|
trialEndsAt: z.ZodNullable<z.ZodNumber>;
|
|
3021
3039
|
billingInterval: z.ZodEnum<["monthly", "quarterly", "yearly"]>;
|
|
3040
|
+
hasUsBidderAccess: z.ZodNullable<z.ZodBoolean>;
|
|
3041
|
+
usBidderSubscriptionItemId: z.ZodNullable<z.ZodString>;
|
|
3022
3042
|
}, "strip", z.ZodTypeAny, {
|
|
3023
3043
|
source: "manual" | "stripe";
|
|
3024
3044
|
status: "active" | "paused" | "trialing" | "cancelled" | "payment_processing" | "payment_pending" | "payment_failed";
|
|
@@ -3042,6 +3062,8 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
3042
3062
|
usage: Partial<Record<"suitabilityComplete" | "proposalComplete" | "biddingComplete", number>>;
|
|
3043
3063
|
trialEndsAt: number | null;
|
|
3044
3064
|
billingInterval: "monthly" | "quarterly" | "yearly";
|
|
3065
|
+
hasUsBidderAccess: boolean | null;
|
|
3066
|
+
usBidderSubscriptionItemId: string | null;
|
|
3045
3067
|
}, {
|
|
3046
3068
|
source: "manual" | "stripe";
|
|
3047
3069
|
status: "active" | "paused" | "trialing" | "cancelled" | "payment_processing" | "payment_pending" | "payment_failed";
|
|
@@ -3065,6 +3087,8 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
3065
3087
|
usage: Partial<Record<"suitabilityComplete" | "proposalComplete" | "biddingComplete", number>>;
|
|
3066
3088
|
trialEndsAt: number | null;
|
|
3067
3089
|
billingInterval: "monthly" | "quarterly" | "yearly";
|
|
3090
|
+
hasUsBidderAccess: boolean | null;
|
|
3091
|
+
usBidderSubscriptionItemId: string | null;
|
|
3068
3092
|
}>>;
|
|
3069
3093
|
active: z.ZodBoolean;
|
|
3070
3094
|
limits: z.ZodObject<{
|
|
@@ -3120,7 +3144,7 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
3120
3144
|
updatedAt: z.ZodNumber;
|
|
3121
3145
|
openRouterApiKey: z.ZodNullable<z.ZodString>;
|
|
3122
3146
|
nextProposalStatusSyncTime: z.ZodNullable<z.ZodNumber>;
|
|
3123
|
-
|
|
3147
|
+
usBidderAccountSubscription: z.ZodOptional<z.ZodObject<{
|
|
3124
3148
|
usBidderAccountPayment: z.ZodOptional<z.ZodObject<{
|
|
3125
3149
|
paidAt: z.ZodOptional<z.ZodNumber>;
|
|
3126
3150
|
amount: z.ZodOptional<z.ZodNumber>;
|
|
@@ -4090,6 +4114,8 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
4090
4114
|
usage: z.ZodRecord<z.ZodEnum<["suitabilityComplete", "proposalComplete", "biddingComplete"]>, z.ZodNumber>;
|
|
4091
4115
|
trialEndsAt: z.ZodNullable<z.ZodNumber>;
|
|
4092
4116
|
billingInterval: z.ZodEnum<["monthly", "quarterly", "yearly"]>;
|
|
4117
|
+
hasUsBidderAccess: z.ZodNullable<z.ZodBoolean>;
|
|
4118
|
+
usBidderSubscriptionItemId: z.ZodNullable<z.ZodString>;
|
|
4093
4119
|
}, "strip", z.ZodTypeAny, {
|
|
4094
4120
|
source: "manual" | "stripe";
|
|
4095
4121
|
status: "active" | "paused" | "trialing" | "cancelled" | "payment_processing" | "payment_pending" | "payment_failed";
|
|
@@ -4113,6 +4139,8 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
4113
4139
|
usage: Partial<Record<"suitabilityComplete" | "proposalComplete" | "biddingComplete", number>>;
|
|
4114
4140
|
trialEndsAt: number | null;
|
|
4115
4141
|
billingInterval: "monthly" | "quarterly" | "yearly";
|
|
4142
|
+
hasUsBidderAccess: boolean | null;
|
|
4143
|
+
usBidderSubscriptionItemId: string | null;
|
|
4116
4144
|
}, {
|
|
4117
4145
|
source: "manual" | "stripe";
|
|
4118
4146
|
status: "active" | "paused" | "trialing" | "cancelled" | "payment_processing" | "payment_pending" | "payment_failed";
|
|
@@ -4136,6 +4164,8 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
4136
4164
|
usage: Partial<Record<"suitabilityComplete" | "proposalComplete" | "biddingComplete", number>>;
|
|
4137
4165
|
trialEndsAt: number | null;
|
|
4138
4166
|
billingInterval: "monthly" | "quarterly" | "yearly";
|
|
4167
|
+
hasUsBidderAccess: boolean | null;
|
|
4168
|
+
usBidderSubscriptionItemId: string | null;
|
|
4139
4169
|
}>>;
|
|
4140
4170
|
active: z.ZodBoolean;
|
|
4141
4171
|
limits: z.ZodObject<{
|
|
@@ -4191,7 +4221,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
4191
4221
|
updatedAt: z.ZodNumber;
|
|
4192
4222
|
openRouterApiKey: z.ZodNullable<z.ZodString>;
|
|
4193
4223
|
nextProposalStatusSyncTime: z.ZodNullable<z.ZodNumber>;
|
|
4194
|
-
|
|
4224
|
+
usBidderAccountSubscription: z.ZodOptional<z.ZodObject<{
|
|
4195
4225
|
usBidderAccountPayment: z.ZodOptional<z.ZodObject<{
|
|
4196
4226
|
paidAt: z.ZodOptional<z.ZodNumber>;
|
|
4197
4227
|
amount: z.ZodOptional<z.ZodNumber>;
|
|
@@ -4733,6 +4763,8 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
4733
4763
|
usage: z.ZodRecord<z.ZodEnum<["suitabilityComplete", "proposalComplete", "biddingComplete"]>, z.ZodNumber>;
|
|
4734
4764
|
trialEndsAt: z.ZodNullable<z.ZodNumber>;
|
|
4735
4765
|
billingInterval: z.ZodEnum<["monthly", "quarterly", "yearly"]>;
|
|
4766
|
+
hasUsBidderAccess: z.ZodNullable<z.ZodBoolean>;
|
|
4767
|
+
usBidderSubscriptionItemId: z.ZodNullable<z.ZodString>;
|
|
4736
4768
|
}, "strip", z.ZodTypeAny, {
|
|
4737
4769
|
source: "manual" | "stripe";
|
|
4738
4770
|
status: "active" | "paused" | "trialing" | "cancelled" | "payment_processing" | "payment_pending" | "payment_failed";
|
|
@@ -4756,6 +4788,8 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
4756
4788
|
usage: Partial<Record<"suitabilityComplete" | "proposalComplete" | "biddingComplete", number>>;
|
|
4757
4789
|
trialEndsAt: number | null;
|
|
4758
4790
|
billingInterval: "monthly" | "quarterly" | "yearly";
|
|
4791
|
+
hasUsBidderAccess: boolean | null;
|
|
4792
|
+
usBidderSubscriptionItemId: string | null;
|
|
4759
4793
|
}, {
|
|
4760
4794
|
source: "manual" | "stripe";
|
|
4761
4795
|
status: "active" | "paused" | "trialing" | "cancelled" | "payment_processing" | "payment_pending" | "payment_failed";
|
|
@@ -4779,6 +4813,8 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
4779
4813
|
usage: Partial<Record<"suitabilityComplete" | "proposalComplete" | "biddingComplete", number>>;
|
|
4780
4814
|
trialEndsAt: number | null;
|
|
4781
4815
|
billingInterval: "monthly" | "quarterly" | "yearly";
|
|
4816
|
+
hasUsBidderAccess: boolean | null;
|
|
4817
|
+
usBidderSubscriptionItemId: string | null;
|
|
4782
4818
|
}>>;
|
|
4783
4819
|
active: z.ZodBoolean;
|
|
4784
4820
|
limits: z.ZodObject<{
|
|
@@ -4834,7 +4870,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
4834
4870
|
updatedAt: z.ZodNumber;
|
|
4835
4871
|
openRouterApiKey: z.ZodNullable<z.ZodString>;
|
|
4836
4872
|
nextProposalStatusSyncTime: z.ZodNullable<z.ZodNumber>;
|
|
4837
|
-
|
|
4873
|
+
usBidderAccountSubscription: z.ZodOptional<z.ZodObject<{
|
|
4838
4874
|
usBidderAccountPayment: z.ZodOptional<z.ZodObject<{
|
|
4839
4875
|
paidAt: z.ZodOptional<z.ZodNumber>;
|
|
4840
4876
|
amount: z.ZodOptional<z.ZodNumber>;
|
|
@@ -5806,6 +5842,8 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
5806
5842
|
usage: z.ZodRecord<z.ZodEnum<["suitabilityComplete", "proposalComplete", "biddingComplete"]>, z.ZodNumber>;
|
|
5807
5843
|
trialEndsAt: z.ZodNullable<z.ZodNumber>;
|
|
5808
5844
|
billingInterval: z.ZodEnum<["monthly", "quarterly", "yearly"]>;
|
|
5845
|
+
hasUsBidderAccess: z.ZodNullable<z.ZodBoolean>;
|
|
5846
|
+
usBidderSubscriptionItemId: z.ZodNullable<z.ZodString>;
|
|
5809
5847
|
}, "strip", z.ZodTypeAny, {
|
|
5810
5848
|
source: "manual" | "stripe";
|
|
5811
5849
|
status: "active" | "paused" | "trialing" | "cancelled" | "payment_processing" | "payment_pending" | "payment_failed";
|
|
@@ -5829,6 +5867,8 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
5829
5867
|
usage: Partial<Record<"suitabilityComplete" | "proposalComplete" | "biddingComplete", number>>;
|
|
5830
5868
|
trialEndsAt: number | null;
|
|
5831
5869
|
billingInterval: "monthly" | "quarterly" | "yearly";
|
|
5870
|
+
hasUsBidderAccess: boolean | null;
|
|
5871
|
+
usBidderSubscriptionItemId: string | null;
|
|
5832
5872
|
}, {
|
|
5833
5873
|
source: "manual" | "stripe";
|
|
5834
5874
|
status: "active" | "paused" | "trialing" | "cancelled" | "payment_processing" | "payment_pending" | "payment_failed";
|
|
@@ -5852,6 +5892,8 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
5852
5892
|
usage: Partial<Record<"suitabilityComplete" | "proposalComplete" | "biddingComplete", number>>;
|
|
5853
5893
|
trialEndsAt: number | null;
|
|
5854
5894
|
billingInterval: "monthly" | "quarterly" | "yearly";
|
|
5895
|
+
hasUsBidderAccess: boolean | null;
|
|
5896
|
+
usBidderSubscriptionItemId: string | null;
|
|
5855
5897
|
}>>;
|
|
5856
5898
|
active: z.ZodBoolean;
|
|
5857
5899
|
limits: z.ZodObject<{
|
|
@@ -5907,7 +5949,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
5907
5949
|
updatedAt: z.ZodNumber;
|
|
5908
5950
|
openRouterApiKey: z.ZodNullable<z.ZodString>;
|
|
5909
5951
|
nextProposalStatusSyncTime: z.ZodNullable<z.ZodNumber>;
|
|
5910
|
-
|
|
5952
|
+
usBidderAccountSubscription: z.ZodOptional<z.ZodObject<{
|
|
5911
5953
|
usBidderAccountPayment: z.ZodOptional<z.ZodObject<{
|
|
5912
5954
|
paidAt: z.ZodOptional<z.ZodNumber>;
|
|
5913
5955
|
amount: z.ZodOptional<z.ZodNumber>;
|
|
@@ -6879,6 +6921,8 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
6879
6921
|
usage: z.ZodRecord<z.ZodEnum<["suitabilityComplete", "proposalComplete", "biddingComplete"]>, z.ZodNumber>;
|
|
6880
6922
|
trialEndsAt: z.ZodNullable<z.ZodNumber>;
|
|
6881
6923
|
billingInterval: z.ZodEnum<["monthly", "quarterly", "yearly"]>;
|
|
6924
|
+
hasUsBidderAccess: z.ZodNullable<z.ZodBoolean>;
|
|
6925
|
+
usBidderSubscriptionItemId: z.ZodNullable<z.ZodString>;
|
|
6882
6926
|
}, "strip", z.ZodTypeAny, {
|
|
6883
6927
|
source: "manual" | "stripe";
|
|
6884
6928
|
status: "active" | "paused" | "trialing" | "cancelled" | "payment_processing" | "payment_pending" | "payment_failed";
|
|
@@ -6902,6 +6946,8 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
6902
6946
|
usage: Partial<Record<"suitabilityComplete" | "proposalComplete" | "biddingComplete", number>>;
|
|
6903
6947
|
trialEndsAt: number | null;
|
|
6904
6948
|
billingInterval: "monthly" | "quarterly" | "yearly";
|
|
6949
|
+
hasUsBidderAccess: boolean | null;
|
|
6950
|
+
usBidderSubscriptionItemId: string | null;
|
|
6905
6951
|
}, {
|
|
6906
6952
|
source: "manual" | "stripe";
|
|
6907
6953
|
status: "active" | "paused" | "trialing" | "cancelled" | "payment_processing" | "payment_pending" | "payment_failed";
|
|
@@ -6925,6 +6971,8 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
6925
6971
|
usage: Partial<Record<"suitabilityComplete" | "proposalComplete" | "biddingComplete", number>>;
|
|
6926
6972
|
trialEndsAt: number | null;
|
|
6927
6973
|
billingInterval: "monthly" | "quarterly" | "yearly";
|
|
6974
|
+
hasUsBidderAccess: boolean | null;
|
|
6975
|
+
usBidderSubscriptionItemId: string | null;
|
|
6928
6976
|
}>>;
|
|
6929
6977
|
active: z.ZodBoolean;
|
|
6930
6978
|
limits: z.ZodObject<{
|
|
@@ -6980,7 +7028,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
6980
7028
|
updatedAt: z.ZodNumber;
|
|
6981
7029
|
openRouterApiKey: z.ZodNullable<z.ZodString>;
|
|
6982
7030
|
nextProposalStatusSyncTime: z.ZodNullable<z.ZodNumber>;
|
|
6983
|
-
|
|
7031
|
+
usBidderAccountSubscription: z.ZodOptional<z.ZodObject<{
|
|
6984
7032
|
usBidderAccountPayment: z.ZodOptional<z.ZodObject<{
|
|
6985
7033
|
paidAt: z.ZodOptional<z.ZodNumber>;
|
|
6986
7034
|
amount: z.ZodOptional<z.ZodNumber>;
|
|
@@ -152,6 +152,8 @@ export declare const organizationSchema: z.ZodObject<{
|
|
|
152
152
|
usage: z.ZodRecord<z.ZodEnum<["suitabilityComplete", "proposalComplete", "biddingComplete"]>, z.ZodNumber>;
|
|
153
153
|
trialEndsAt: z.ZodNullable<z.ZodNumber>;
|
|
154
154
|
billingInterval: z.ZodEnum<["monthly", "quarterly", "yearly"]>;
|
|
155
|
+
hasUsBidderAccess: z.ZodNullable<z.ZodBoolean>;
|
|
156
|
+
usBidderSubscriptionItemId: z.ZodNullable<z.ZodString>;
|
|
155
157
|
}, "strip", z.ZodTypeAny, {
|
|
156
158
|
source: "manual" | "stripe";
|
|
157
159
|
status: "active" | "paused" | "trialing" | "cancelled" | "payment_processing" | "payment_pending" | "payment_failed";
|
|
@@ -175,6 +177,8 @@ export declare const organizationSchema: z.ZodObject<{
|
|
|
175
177
|
usage: Partial<Record<"suitabilityComplete" | "proposalComplete" | "biddingComplete", number>>;
|
|
176
178
|
trialEndsAt: number | null;
|
|
177
179
|
billingInterval: "monthly" | "quarterly" | "yearly";
|
|
180
|
+
hasUsBidderAccess: boolean | null;
|
|
181
|
+
usBidderSubscriptionItemId: string | null;
|
|
178
182
|
}, {
|
|
179
183
|
source: "manual" | "stripe";
|
|
180
184
|
status: "active" | "paused" | "trialing" | "cancelled" | "payment_processing" | "payment_pending" | "payment_failed";
|
|
@@ -198,6 +202,8 @@ export declare const organizationSchema: z.ZodObject<{
|
|
|
198
202
|
usage: Partial<Record<"suitabilityComplete" | "proposalComplete" | "biddingComplete", number>>;
|
|
199
203
|
trialEndsAt: number | null;
|
|
200
204
|
billingInterval: "monthly" | "quarterly" | "yearly";
|
|
205
|
+
hasUsBidderAccess: boolean | null;
|
|
206
|
+
usBidderSubscriptionItemId: string | null;
|
|
201
207
|
}>>;
|
|
202
208
|
active: z.ZodBoolean;
|
|
203
209
|
limits: z.ZodObject<{
|
|
@@ -253,7 +259,7 @@ export declare const organizationSchema: z.ZodObject<{
|
|
|
253
259
|
updatedAt: z.ZodNumber;
|
|
254
260
|
openRouterApiKey: z.ZodNullable<z.ZodString>;
|
|
255
261
|
nextProposalStatusSyncTime: z.ZodNullable<z.ZodNumber>;
|
|
256
|
-
|
|
262
|
+
usBidderAccountSubscription: z.ZodOptional<z.ZodObject<{
|
|
257
263
|
usBidderAccountPayment: z.ZodOptional<z.ZodObject<{
|
|
258
264
|
paidAt: z.ZodOptional<z.ZodNumber>;
|
|
259
265
|
amount: z.ZodOptional<z.ZodNumber>;
|
|
@@ -332,6 +338,8 @@ export declare const organizationSchema: z.ZodObject<{
|
|
|
332
338
|
usage: Partial<Record<"suitabilityComplete" | "proposalComplete" | "biddingComplete", number>>;
|
|
333
339
|
trialEndsAt: number | null;
|
|
334
340
|
billingInterval: "monthly" | "quarterly" | "yearly";
|
|
341
|
+
hasUsBidderAccess: boolean | null;
|
|
342
|
+
usBidderSubscriptionItemId: string | null;
|
|
335
343
|
} | null;
|
|
336
344
|
limits: {
|
|
337
345
|
monthlyCredits: number;
|
|
@@ -344,7 +352,7 @@ export declare const organizationSchema: z.ZodObject<{
|
|
|
344
352
|
updatedAt: number;
|
|
345
353
|
openRouterApiKey: string | null;
|
|
346
354
|
nextProposalStatusSyncTime: number | null;
|
|
347
|
-
|
|
355
|
+
usBidderAccountSubscription?: {
|
|
348
356
|
usBidderAccountPayment?: {
|
|
349
357
|
status: string;
|
|
350
358
|
error?: string | undefined;
|
|
@@ -391,6 +399,8 @@ export declare const organizationSchema: z.ZodObject<{
|
|
|
391
399
|
usage: Partial<Record<"suitabilityComplete" | "proposalComplete" | "biddingComplete", number>>;
|
|
392
400
|
trialEndsAt: number | null;
|
|
393
401
|
billingInterval: "monthly" | "quarterly" | "yearly";
|
|
402
|
+
hasUsBidderAccess: boolean | null;
|
|
403
|
+
usBidderSubscriptionItemId: string | null;
|
|
394
404
|
} | null;
|
|
395
405
|
limits: {
|
|
396
406
|
monthlyCredits: number;
|
|
@@ -403,7 +413,7 @@ export declare const organizationSchema: z.ZodObject<{
|
|
|
403
413
|
updatedAt: number;
|
|
404
414
|
openRouterApiKey: string | null;
|
|
405
415
|
nextProposalStatusSyncTime: number | null;
|
|
406
|
-
|
|
416
|
+
usBidderAccountSubscription?: {
|
|
407
417
|
usBidderAccountPayment?: {
|
|
408
418
|
status: string;
|
|
409
419
|
error?: string | undefined;
|
|
@@ -728,6 +738,8 @@ export declare const createOrganizationSchema: z.ZodObject<Pick<{
|
|
|
728
738
|
usage: z.ZodRecord<z.ZodEnum<["suitabilityComplete", "proposalComplete", "biddingComplete"]>, z.ZodNumber>;
|
|
729
739
|
trialEndsAt: z.ZodNullable<z.ZodNumber>;
|
|
730
740
|
billingInterval: z.ZodEnum<["monthly", "quarterly", "yearly"]>;
|
|
741
|
+
hasUsBidderAccess: z.ZodNullable<z.ZodBoolean>;
|
|
742
|
+
usBidderSubscriptionItemId: z.ZodNullable<z.ZodString>;
|
|
731
743
|
}, "strip", z.ZodTypeAny, {
|
|
732
744
|
source: "manual" | "stripe";
|
|
733
745
|
status: "active" | "paused" | "trialing" | "cancelled" | "payment_processing" | "payment_pending" | "payment_failed";
|
|
@@ -751,6 +763,8 @@ export declare const createOrganizationSchema: z.ZodObject<Pick<{
|
|
|
751
763
|
usage: Partial<Record<"suitabilityComplete" | "proposalComplete" | "biddingComplete", number>>;
|
|
752
764
|
trialEndsAt: number | null;
|
|
753
765
|
billingInterval: "monthly" | "quarterly" | "yearly";
|
|
766
|
+
hasUsBidderAccess: boolean | null;
|
|
767
|
+
usBidderSubscriptionItemId: string | null;
|
|
754
768
|
}, {
|
|
755
769
|
source: "manual" | "stripe";
|
|
756
770
|
status: "active" | "paused" | "trialing" | "cancelled" | "payment_processing" | "payment_pending" | "payment_failed";
|
|
@@ -774,6 +788,8 @@ export declare const createOrganizationSchema: z.ZodObject<Pick<{
|
|
|
774
788
|
usage: Partial<Record<"suitabilityComplete" | "proposalComplete" | "biddingComplete", number>>;
|
|
775
789
|
trialEndsAt: number | null;
|
|
776
790
|
billingInterval: "monthly" | "quarterly" | "yearly";
|
|
791
|
+
hasUsBidderAccess: boolean | null;
|
|
792
|
+
usBidderSubscriptionItemId: string | null;
|
|
777
793
|
}>>;
|
|
778
794
|
active: z.ZodBoolean;
|
|
779
795
|
limits: z.ZodObject<{
|
|
@@ -829,7 +845,7 @@ export declare const createOrganizationSchema: z.ZodObject<Pick<{
|
|
|
829
845
|
updatedAt: z.ZodNumber;
|
|
830
846
|
openRouterApiKey: z.ZodNullable<z.ZodString>;
|
|
831
847
|
nextProposalStatusSyncTime: z.ZodNullable<z.ZodNumber>;
|
|
832
|
-
|
|
848
|
+
usBidderAccountSubscription: z.ZodOptional<z.ZodObject<{
|
|
833
849
|
usBidderAccountPayment: z.ZodOptional<z.ZodObject<{
|
|
834
850
|
paidAt: z.ZodOptional<z.ZodNumber>;
|
|
835
851
|
amount: z.ZodOptional<z.ZodNumber>;
|
|
@@ -146,6 +146,8 @@ export declare const subscriptionSchema: z.ZodObject<{
|
|
|
146
146
|
usage: z.ZodRecord<z.ZodEnum<["suitabilityComplete", "proposalComplete", "biddingComplete"]>, z.ZodNumber>;
|
|
147
147
|
trialEndsAt: z.ZodNullable<z.ZodNumber>;
|
|
148
148
|
billingInterval: z.ZodEnum<["monthly", "quarterly", "yearly"]>;
|
|
149
|
+
hasUsBidderAccess: z.ZodNullable<z.ZodBoolean>;
|
|
150
|
+
usBidderSubscriptionItemId: z.ZodNullable<z.ZodString>;
|
|
149
151
|
}, "strip", z.ZodTypeAny, {
|
|
150
152
|
source: "manual" | "stripe";
|
|
151
153
|
status: "active" | "paused" | "trialing" | "cancelled" | "payment_processing" | "payment_pending" | "payment_failed";
|
|
@@ -169,6 +171,8 @@ export declare const subscriptionSchema: z.ZodObject<{
|
|
|
169
171
|
usage: Partial<Record<"suitabilityComplete" | "proposalComplete" | "biddingComplete", number>>;
|
|
170
172
|
trialEndsAt: number | null;
|
|
171
173
|
billingInterval: "monthly" | "quarterly" | "yearly";
|
|
174
|
+
hasUsBidderAccess: boolean | null;
|
|
175
|
+
usBidderSubscriptionItemId: string | null;
|
|
172
176
|
}, {
|
|
173
177
|
source: "manual" | "stripe";
|
|
174
178
|
status: "active" | "paused" | "trialing" | "cancelled" | "payment_processing" | "payment_pending" | "payment_failed";
|
|
@@ -192,6 +196,8 @@ export declare const subscriptionSchema: z.ZodObject<{
|
|
|
192
196
|
usage: Partial<Record<"suitabilityComplete" | "proposalComplete" | "biddingComplete", number>>;
|
|
193
197
|
trialEndsAt: number | null;
|
|
194
198
|
billingInterval: "monthly" | "quarterly" | "yearly";
|
|
199
|
+
hasUsBidderAccess: boolean | null;
|
|
200
|
+
usBidderSubscriptionItemId: string | null;
|
|
195
201
|
}>;
|
|
196
202
|
export type SubscriptionStatus = z.infer<typeof subscriptionStatusEnum>;
|
|
197
203
|
export interface SubscriptionStripeMetadataItem extends infer<typeof subscriptionStripeMetadataItemSchema> {
|
|
@@ -1109,6 +1109,8 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1109
1109
|
usage: z.ZodRecord<z.ZodEnum<["suitabilityComplete", "proposalComplete", "biddingComplete"]>, z.ZodNumber>;
|
|
1110
1110
|
trialEndsAt: z.ZodNullable<z.ZodNumber>;
|
|
1111
1111
|
billingInterval: z.ZodEnum<["monthly", "quarterly", "yearly"]>;
|
|
1112
|
+
hasUsBidderAccess: z.ZodNullable<z.ZodBoolean>;
|
|
1113
|
+
usBidderSubscriptionItemId: z.ZodNullable<z.ZodString>;
|
|
1112
1114
|
}, "strip", z.ZodTypeAny, {
|
|
1113
1115
|
source: "manual" | "stripe";
|
|
1114
1116
|
status: "active" | "paused" | "trialing" | "cancelled" | "payment_processing" | "payment_pending" | "payment_failed";
|
|
@@ -1132,6 +1134,8 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1132
1134
|
usage: Partial<Record<"suitabilityComplete" | "proposalComplete" | "biddingComplete", number>>;
|
|
1133
1135
|
trialEndsAt: number | null;
|
|
1134
1136
|
billingInterval: "monthly" | "quarterly" | "yearly";
|
|
1137
|
+
hasUsBidderAccess: boolean | null;
|
|
1138
|
+
usBidderSubscriptionItemId: string | null;
|
|
1135
1139
|
}, {
|
|
1136
1140
|
source: "manual" | "stripe";
|
|
1137
1141
|
status: "active" | "paused" | "trialing" | "cancelled" | "payment_processing" | "payment_pending" | "payment_failed";
|
|
@@ -1155,6 +1159,8 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1155
1159
|
usage: Partial<Record<"suitabilityComplete" | "proposalComplete" | "biddingComplete", number>>;
|
|
1156
1160
|
trialEndsAt: number | null;
|
|
1157
1161
|
billingInterval: "monthly" | "quarterly" | "yearly";
|
|
1162
|
+
hasUsBidderAccess: boolean | null;
|
|
1163
|
+
usBidderSubscriptionItemId: string | null;
|
|
1158
1164
|
}>>;
|
|
1159
1165
|
active: z.ZodBoolean;
|
|
1160
1166
|
limits: z.ZodObject<{
|
|
@@ -1210,7 +1216,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1210
1216
|
updatedAt: z.ZodNumber;
|
|
1211
1217
|
openRouterApiKey: z.ZodNullable<z.ZodString>;
|
|
1212
1218
|
nextProposalStatusSyncTime: z.ZodNullable<z.ZodNumber>;
|
|
1213
|
-
|
|
1219
|
+
usBidderAccountSubscription: z.ZodOptional<z.ZodObject<{
|
|
1214
1220
|
usBidderAccountPayment: z.ZodOptional<z.ZodObject<{
|
|
1215
1221
|
paidAt: z.ZodOptional<z.ZodNumber>;
|
|
1216
1222
|
amount: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1289,6 +1295,8 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1289
1295
|
usage: Partial<Record<"suitabilityComplete" | "proposalComplete" | "biddingComplete", number>>;
|
|
1290
1296
|
trialEndsAt: number | null;
|
|
1291
1297
|
billingInterval: "monthly" | "quarterly" | "yearly";
|
|
1298
|
+
hasUsBidderAccess: boolean | null;
|
|
1299
|
+
usBidderSubscriptionItemId: string | null;
|
|
1292
1300
|
} | null;
|
|
1293
1301
|
limits: {
|
|
1294
1302
|
monthlyCredits: number;
|
|
@@ -1301,7 +1309,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1301
1309
|
updatedAt: number;
|
|
1302
1310
|
openRouterApiKey: string | null;
|
|
1303
1311
|
nextProposalStatusSyncTime: number | null;
|
|
1304
|
-
|
|
1312
|
+
usBidderAccountSubscription?: {
|
|
1305
1313
|
usBidderAccountPayment?: {
|
|
1306
1314
|
status: string;
|
|
1307
1315
|
error?: string | undefined;
|
|
@@ -1348,6 +1356,8 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1348
1356
|
usage: Partial<Record<"suitabilityComplete" | "proposalComplete" | "biddingComplete", number>>;
|
|
1349
1357
|
trialEndsAt: number | null;
|
|
1350
1358
|
billingInterval: "monthly" | "quarterly" | "yearly";
|
|
1359
|
+
hasUsBidderAccess: boolean | null;
|
|
1360
|
+
usBidderSubscriptionItemId: string | null;
|
|
1351
1361
|
} | null;
|
|
1352
1362
|
limits: {
|
|
1353
1363
|
monthlyCredits: number;
|
|
@@ -1360,7 +1370,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1360
1370
|
updatedAt: number;
|
|
1361
1371
|
openRouterApiKey: string | null;
|
|
1362
1372
|
nextProposalStatusSyncTime: number | null;
|
|
1363
|
-
|
|
1373
|
+
usBidderAccountSubscription?: {
|
|
1364
1374
|
usBidderAccountPayment?: {
|
|
1365
1375
|
status: string;
|
|
1366
1376
|
error?: string | undefined;
|
|
@@ -2255,6 +2265,8 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2255
2265
|
usage: Partial<Record<"suitabilityComplete" | "proposalComplete" | "biddingComplete", number>>;
|
|
2256
2266
|
trialEndsAt: number | null;
|
|
2257
2267
|
billingInterval: "monthly" | "quarterly" | "yearly";
|
|
2268
|
+
hasUsBidderAccess: boolean | null;
|
|
2269
|
+
usBidderSubscriptionItemId: string | null;
|
|
2258
2270
|
} | null;
|
|
2259
2271
|
limits: {
|
|
2260
2272
|
monthlyCredits: number;
|
|
@@ -2267,7 +2279,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2267
2279
|
updatedAt: number;
|
|
2268
2280
|
openRouterApiKey: string | null;
|
|
2269
2281
|
nextProposalStatusSyncTime: number | null;
|
|
2270
|
-
|
|
2282
|
+
usBidderAccountSubscription?: {
|
|
2271
2283
|
usBidderAccountPayment?: {
|
|
2272
2284
|
status: string;
|
|
2273
2285
|
error?: string | undefined;
|
|
@@ -2633,6 +2645,8 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2633
2645
|
usage: Partial<Record<"suitabilityComplete" | "proposalComplete" | "biddingComplete", number>>;
|
|
2634
2646
|
trialEndsAt: number | null;
|
|
2635
2647
|
billingInterval: "monthly" | "quarterly" | "yearly";
|
|
2648
|
+
hasUsBidderAccess: boolean | null;
|
|
2649
|
+
usBidderSubscriptionItemId: string | null;
|
|
2636
2650
|
} | null;
|
|
2637
2651
|
limits: {
|
|
2638
2652
|
monthlyCredits: number;
|
|
@@ -2645,7 +2659,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2645
2659
|
updatedAt: number;
|
|
2646
2660
|
openRouterApiKey: string | null;
|
|
2647
2661
|
nextProposalStatusSyncTime: number | null;
|
|
2648
|
-
|
|
2662
|
+
usBidderAccountSubscription?: {
|
|
2649
2663
|
usBidderAccountPayment?: {
|
|
2650
2664
|
status: string;
|
|
2651
2665
|
error?: string | undefined;
|