lancer-shared 1.2.337 → 1.2.338
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 +14 -0
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +14 -1
- package/dist/bundle.esm.js.map +1 -1
- package/dist/constants/routes.d.ts +1 -0
- package/dist/schemas/account/bidder-account.d.ts +71 -0
- package/dist/schemas/dashboard/index.d.ts +6 -6
- package/dist/schemas/scraper/scrape-payload.d.ts +36 -0
- package/dist/schemas/usage-event/index.d.ts +6 -6
- package/package.json +1 -1
|
@@ -71,6 +71,7 @@ export declare const ROUTES: {
|
|
|
71
71
|
readonly REFRESH_WITH_IPROYAL_PROXY: (bidderId: string) => string;
|
|
72
72
|
readonly AGENCIES: "admin/bidder-accounts/agencies";
|
|
73
73
|
readonly ASSIGN_IPROYAL_PROXY: (bidderId: string) => string;
|
|
74
|
+
readonly ASSIGN_DECODO_PROXY: (bidderId: string) => string;
|
|
74
75
|
};
|
|
75
76
|
readonly SCRAPER_ACCOUNTS: {
|
|
76
77
|
readonly BASE: "admin/scraper-accounts";
|
|
@@ -131,6 +131,18 @@ export declare const bidderAccountSchema: z.ZodObject<{
|
|
|
131
131
|
userId: z.ZodNullable<z.ZodString>;
|
|
132
132
|
connectingToChatStartedAt: z.ZodNullable<z.ZodNumber>;
|
|
133
133
|
shouldRefetchAllRooms: z.ZodNullable<z.ZodBoolean>;
|
|
134
|
+
assignedOrganizationPlans: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
135
|
+
organizationId: z.ZodString;
|
|
136
|
+
planId: z.ZodNullable<z.ZodString>;
|
|
137
|
+
}, "strip", z.ZodTypeAny, {
|
|
138
|
+
organizationId: string;
|
|
139
|
+
planId: string | null;
|
|
140
|
+
}, {
|
|
141
|
+
organizationId: string;
|
|
142
|
+
planId: string | null;
|
|
143
|
+
}>, "many">>;
|
|
144
|
+
assignedOrganizationNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
145
|
+
biddingCompleteLast30Days: z.ZodOptional<z.ZodNumber>;
|
|
134
146
|
}, "strip", z.ZodTypeAny, {
|
|
135
147
|
id: string;
|
|
136
148
|
name: string | null;
|
|
@@ -176,6 +188,12 @@ export declare const bidderAccountSchema: z.ZodObject<{
|
|
|
176
188
|
shouldRefetchAllRooms: boolean | null;
|
|
177
189
|
googleOauthTokens?: any;
|
|
178
190
|
isProtected?: boolean | undefined;
|
|
191
|
+
assignedOrganizationPlans?: {
|
|
192
|
+
organizationId: string;
|
|
193
|
+
planId: string | null;
|
|
194
|
+
}[] | undefined;
|
|
195
|
+
assignedOrganizationNames?: string[] | undefined;
|
|
196
|
+
biddingCompleteLast30Days?: number | undefined;
|
|
179
197
|
}, {
|
|
180
198
|
id: string;
|
|
181
199
|
name: string | null;
|
|
@@ -221,6 +239,12 @@ export declare const bidderAccountSchema: z.ZodObject<{
|
|
|
221
239
|
shouldRefetchAllRooms: boolean | null;
|
|
222
240
|
googleOauthTokens?: any;
|
|
223
241
|
isProtected?: boolean | undefined;
|
|
242
|
+
assignedOrganizationPlans?: {
|
|
243
|
+
organizationId: string;
|
|
244
|
+
planId: string | null;
|
|
245
|
+
}[] | undefined;
|
|
246
|
+
assignedOrganizationNames?: string[] | undefined;
|
|
247
|
+
biddingCompleteLast30Days?: number | undefined;
|
|
224
248
|
}>;
|
|
225
249
|
export declare const connectUpworkAccountSchema: z.ZodObject<{
|
|
226
250
|
email: z.ZodString;
|
|
@@ -316,6 +340,18 @@ export declare const createBidderAccountSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
316
340
|
userId: z.ZodNullable<z.ZodString>;
|
|
317
341
|
connectingToChatStartedAt: z.ZodNullable<z.ZodNumber>;
|
|
318
342
|
shouldRefetchAllRooms: z.ZodNullable<z.ZodBoolean>;
|
|
343
|
+
assignedOrganizationPlans: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
344
|
+
organizationId: z.ZodString;
|
|
345
|
+
planId: z.ZodNullable<z.ZodString>;
|
|
346
|
+
}, "strip", z.ZodTypeAny, {
|
|
347
|
+
organizationId: string;
|
|
348
|
+
planId: string | null;
|
|
349
|
+
}, {
|
|
350
|
+
organizationId: string;
|
|
351
|
+
planId: string | null;
|
|
352
|
+
}>, "many">>;
|
|
353
|
+
assignedOrganizationNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
354
|
+
biddingCompleteLast30Days: z.ZodOptional<z.ZodNumber>;
|
|
319
355
|
}, "name" | "email" | "region" | "password" | "provider" | "securityQuestionAnswer" | "assignedOrganizations" | "multiLoginProfileId" | "proxyId" | "profilePhotoUrl" | "agencies">, {
|
|
320
356
|
proxyCountry: z.ZodNullable<z.ZodEnum<["US", "CA", "GB", "AF", "AL", "DZ", "AD", "AO", "AR", "AM", "AU", "AT", "AZ", "BD", "BY", "BE", "BA", "BR", "BG", "CM", "CF", "CL", "CN", "CO", "CR", "HR", "CY", "CZ", "DK", "DM", "DO", "EC", "EG", "SV", "EE", "ET", "FI", "FR", "GE", "DE", "GH", "GR", "GL", "GD", "GT", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IL", "IT", "JM", "JP", "JO", "KZ", "KR", "LV", "LB", "LT", "LU", "MK", "MW", "MY", "MT", "MX", "FM", "MD", "MC", "MN", "ME", "MA", "NL", "NZ", "NI", "NG", "NO", "PK", "PW", "PY", "PE", "PH", "PL", "PT", "PR", "QA", "RO", "RU", "SM", "SA", "SN", "RS", "SG", "SK", "SI", "SO", "ZA", "ES", "LK", "SR", "SE", "CH", "TH", "TR", "UG", "UA", "AE", "UY", "UZ", "VE", "VN", "YE", "ZM", "ZW"]>>;
|
|
321
357
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -437,6 +473,18 @@ export declare const updateBidderAccountSchema: z.ZodObject<{
|
|
|
437
473
|
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
438
474
|
connectingToChatStartedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
439
475
|
shouldRefetchAllRooms: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
476
|
+
assignedOrganizationPlans: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
477
|
+
organizationId: z.ZodString;
|
|
478
|
+
planId: z.ZodNullable<z.ZodString>;
|
|
479
|
+
}, "strip", z.ZodTypeAny, {
|
|
480
|
+
organizationId: string;
|
|
481
|
+
planId: string | null;
|
|
482
|
+
}, {
|
|
483
|
+
organizationId: string;
|
|
484
|
+
planId: string | null;
|
|
485
|
+
}>, "many">>>;
|
|
486
|
+
assignedOrganizationNames: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
487
|
+
biddingCompleteLast30Days: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
440
488
|
}, "strip", z.ZodTypeAny, {
|
|
441
489
|
name?: string | null | undefined;
|
|
442
490
|
email?: string | undefined;
|
|
@@ -481,6 +529,12 @@ export declare const updateBidderAccountSchema: z.ZodObject<{
|
|
|
481
529
|
userId?: string | null | undefined;
|
|
482
530
|
connectingToChatStartedAt?: number | null | undefined;
|
|
483
531
|
shouldRefetchAllRooms?: boolean | null | undefined;
|
|
532
|
+
assignedOrganizationPlans?: {
|
|
533
|
+
organizationId: string;
|
|
534
|
+
planId: string | null;
|
|
535
|
+
}[] | undefined;
|
|
536
|
+
assignedOrganizationNames?: string[] | undefined;
|
|
537
|
+
biddingCompleteLast30Days?: number | undefined;
|
|
484
538
|
}, {
|
|
485
539
|
name?: string | null | undefined;
|
|
486
540
|
email?: string | undefined;
|
|
@@ -525,6 +579,12 @@ export declare const updateBidderAccountSchema: z.ZodObject<{
|
|
|
525
579
|
userId?: string | null | undefined;
|
|
526
580
|
connectingToChatStartedAt?: number | null | undefined;
|
|
527
581
|
shouldRefetchAllRooms?: boolean | null | undefined;
|
|
582
|
+
assignedOrganizationPlans?: {
|
|
583
|
+
organizationId: string;
|
|
584
|
+
planId: string | null;
|
|
585
|
+
}[] | undefined;
|
|
586
|
+
assignedOrganizationNames?: string[] | undefined;
|
|
587
|
+
biddingCompleteLast30Days?: number | undefined;
|
|
528
588
|
}>;
|
|
529
589
|
export declare const verifyBidderAccountCredentialsSchema: z.ZodObject<{
|
|
530
590
|
organizationId: z.ZodString;
|
|
@@ -645,6 +705,16 @@ export declare const reconnectBidderAccountRequestBodySchema: z.ZodObject<{
|
|
|
645
705
|
organizationId: string;
|
|
646
706
|
bidderAccountId: string;
|
|
647
707
|
}>;
|
|
708
|
+
export declare const assignDecodoProxyToBidderAccountSchema: z.ZodObject<{
|
|
709
|
+
proxyString: z.ZodString;
|
|
710
|
+
country: z.ZodEnum<["US", "CA", "GB", "AF", "AL", "DZ", "AD", "AO", "AR", "AM", "AU", "AT", "AZ", "BD", "BY", "BE", "BA", "BR", "BG", "CM", "CF", "CL", "CN", "CO", "CR", "HR", "CY", "CZ", "DK", "DM", "DO", "EC", "EG", "SV", "EE", "ET", "FI", "FR", "GE", "DE", "GH", "GR", "GL", "GD", "GT", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IL", "IT", "JM", "JP", "JO", "KZ", "KR", "LV", "LB", "LT", "LU", "MK", "MW", "MY", "MT", "MX", "FM", "MD", "MC", "MN", "ME", "MA", "NL", "NZ", "NI", "NG", "NO", "PK", "PW", "PY", "PE", "PH", "PL", "PT", "PR", "QA", "RO", "RU", "SM", "SA", "SN", "RS", "SG", "SK", "SI", "SO", "ZA", "ES", "LK", "SR", "SE", "CH", "TH", "TR", "UG", "UA", "AE", "UY", "UZ", "VE", "VN", "YE", "ZM", "ZW"]>;
|
|
711
|
+
}, "strip", z.ZodTypeAny, {
|
|
712
|
+
country: "US" | "CA" | "GB" | "AF" | "AL" | "DZ" | "AD" | "AO" | "AR" | "AM" | "AU" | "AT" | "AZ" | "BD" | "BY" | "BE" | "BA" | "BR" | "BG" | "CM" | "CF" | "CL" | "CN" | "CO" | "CR" | "HR" | "CY" | "CZ" | "DK" | "DM" | "DO" | "EC" | "EG" | "SV" | "EE" | "ET" | "FI" | "FR" | "GE" | "DE" | "GH" | "GR" | "GL" | "GD" | "GT" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IL" | "IT" | "JM" | "JP" | "JO" | "KZ" | "KR" | "LV" | "LB" | "LT" | "LU" | "MK" | "MW" | "MY" | "MT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MA" | "NL" | "NZ" | "NI" | "NG" | "NO" | "PK" | "PW" | "PY" | "PE" | "PH" | "PL" | "PT" | "PR" | "QA" | "RO" | "RU" | "SM" | "SA" | "SN" | "RS" | "SG" | "SK" | "SI" | "SO" | "ZA" | "ES" | "LK" | "SR" | "SE" | "CH" | "TH" | "TR" | "UG" | "UA" | "AE" | "UY" | "UZ" | "VE" | "VN" | "YE" | "ZM" | "ZW";
|
|
713
|
+
proxyString: string;
|
|
714
|
+
}, {
|
|
715
|
+
country: "US" | "CA" | "GB" | "AF" | "AL" | "DZ" | "AD" | "AO" | "AR" | "AM" | "AU" | "AT" | "AZ" | "BD" | "BY" | "BE" | "BA" | "BR" | "BG" | "CM" | "CF" | "CL" | "CN" | "CO" | "CR" | "HR" | "CY" | "CZ" | "DK" | "DM" | "DO" | "EC" | "EG" | "SV" | "EE" | "ET" | "FI" | "FR" | "GE" | "DE" | "GH" | "GR" | "GL" | "GD" | "GT" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IL" | "IT" | "JM" | "JP" | "JO" | "KZ" | "KR" | "LV" | "LB" | "LT" | "LU" | "MK" | "MW" | "MY" | "MT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MA" | "NL" | "NZ" | "NI" | "NG" | "NO" | "PK" | "PW" | "PY" | "PE" | "PH" | "PL" | "PT" | "PR" | "QA" | "RO" | "RU" | "SM" | "SA" | "SN" | "RS" | "SG" | "SK" | "SI" | "SO" | "ZA" | "ES" | "LK" | "SR" | "SE" | "CH" | "TH" | "TR" | "UG" | "UA" | "AE" | "UY" | "UZ" | "VE" | "VN" | "YE" | "ZM" | "ZW";
|
|
716
|
+
proxyString: string;
|
|
717
|
+
}>;
|
|
648
718
|
export declare const reconnectBidderAccountResponseSchema: z.ZodObject<{
|
|
649
719
|
agencyName: z.ZodString;
|
|
650
720
|
photoUrl: z.ZodString;
|
|
@@ -687,6 +757,7 @@ export type AcceptUpworkInvitation = z.infer<typeof acceptUpworkInvitationSchema
|
|
|
687
757
|
export type AcceptUpworkInvitationResponse = z.infer<typeof acceptUpworkInvitationResponseSchema>;
|
|
688
758
|
export type ReconnectBidderAccountRequestBody = z.infer<typeof reconnectBidderAccountRequestBodySchema>;
|
|
689
759
|
export type ReconnectBidderAccountResponse = z.infer<typeof reconnectBidderAccountResponseSchema>;
|
|
760
|
+
export type AssignDecodoProxyToBidderAccount = z.infer<typeof assignDecodoProxyToBidderAccountSchema>;
|
|
690
761
|
export type ConnectUpworkAccount = z.infer<typeof connectUpworkAccountSchema>;
|
|
691
762
|
export declare const upworkOrganizationTypeEnum: z.ZodEnum<["freelancer", "agency", "client"]>;
|
|
692
763
|
export declare const upworkOrganizationSchema: z.ZodObject<{
|
|
@@ -424,6 +424,7 @@ export declare const bidderMonitoringRowSchema: z.ZodObject<{
|
|
|
424
424
|
organizationId: string | null;
|
|
425
425
|
errorMessage: string | null;
|
|
426
426
|
bidderAccountId: string | null;
|
|
427
|
+
proxyString: string | null;
|
|
427
428
|
viewed: boolean;
|
|
428
429
|
leadId: string | null;
|
|
429
430
|
campaignId: string | null;
|
|
@@ -431,7 +432,6 @@ export declare const bidderMonitoringRowSchema: z.ZodObject<{
|
|
|
431
432
|
organizationName: string | null;
|
|
432
433
|
eventId: string;
|
|
433
434
|
eventType: "biddingFailed" | "syncProposalsStatusFailed" | "refreshRoomsFailed";
|
|
434
|
-
proxyString: string | null;
|
|
435
435
|
screenshotUrl: string | null;
|
|
436
436
|
attempt: number | null;
|
|
437
437
|
viewedAt: number | null;
|
|
@@ -442,6 +442,7 @@ export declare const bidderMonitoringRowSchema: z.ZodObject<{
|
|
|
442
442
|
organizationId: string | null;
|
|
443
443
|
errorMessage: string | null;
|
|
444
444
|
bidderAccountId: string | null;
|
|
445
|
+
proxyString: string | null;
|
|
445
446
|
viewed: boolean;
|
|
446
447
|
leadId: string | null;
|
|
447
448
|
campaignId: string | null;
|
|
@@ -449,7 +450,6 @@ export declare const bidderMonitoringRowSchema: z.ZodObject<{
|
|
|
449
450
|
organizationName: string | null;
|
|
450
451
|
eventId: string;
|
|
451
452
|
eventType: "biddingFailed" | "syncProposalsStatusFailed" | "refreshRoomsFailed";
|
|
452
|
-
proxyString: string | null;
|
|
453
453
|
screenshotUrl: string | null;
|
|
454
454
|
attempt: number | null;
|
|
455
455
|
viewedAt: number | null;
|
|
@@ -480,6 +480,7 @@ export declare const bidderFailureDashboardResponseSchema: z.ZodObject<{
|
|
|
480
480
|
organizationId: string | null;
|
|
481
481
|
errorMessage: string | null;
|
|
482
482
|
bidderAccountId: string | null;
|
|
483
|
+
proxyString: string | null;
|
|
483
484
|
viewed: boolean;
|
|
484
485
|
leadId: string | null;
|
|
485
486
|
campaignId: string | null;
|
|
@@ -487,7 +488,6 @@ export declare const bidderFailureDashboardResponseSchema: z.ZodObject<{
|
|
|
487
488
|
organizationName: string | null;
|
|
488
489
|
eventId: string;
|
|
489
490
|
eventType: "biddingFailed" | "syncProposalsStatusFailed" | "refreshRoomsFailed";
|
|
490
|
-
proxyString: string | null;
|
|
491
491
|
screenshotUrl: string | null;
|
|
492
492
|
attempt: number | null;
|
|
493
493
|
viewedAt: number | null;
|
|
@@ -498,6 +498,7 @@ export declare const bidderFailureDashboardResponseSchema: z.ZodObject<{
|
|
|
498
498
|
organizationId: string | null;
|
|
499
499
|
errorMessage: string | null;
|
|
500
500
|
bidderAccountId: string | null;
|
|
501
|
+
proxyString: string | null;
|
|
501
502
|
viewed: boolean;
|
|
502
503
|
leadId: string | null;
|
|
503
504
|
campaignId: string | null;
|
|
@@ -505,7 +506,6 @@ export declare const bidderFailureDashboardResponseSchema: z.ZodObject<{
|
|
|
505
506
|
organizationName: string | null;
|
|
506
507
|
eventId: string;
|
|
507
508
|
eventType: "biddingFailed" | "syncProposalsStatusFailed" | "refreshRoomsFailed";
|
|
508
|
-
proxyString: string | null;
|
|
509
509
|
screenshotUrl: string | null;
|
|
510
510
|
attempt: number | null;
|
|
511
511
|
viewedAt: number | null;
|
|
@@ -520,6 +520,7 @@ export declare const bidderFailureDashboardResponseSchema: z.ZodObject<{
|
|
|
520
520
|
organizationId: string | null;
|
|
521
521
|
errorMessage: string | null;
|
|
522
522
|
bidderAccountId: string | null;
|
|
523
|
+
proxyString: string | null;
|
|
523
524
|
viewed: boolean;
|
|
524
525
|
leadId: string | null;
|
|
525
526
|
campaignId: string | null;
|
|
@@ -527,7 +528,6 @@ export declare const bidderFailureDashboardResponseSchema: z.ZodObject<{
|
|
|
527
528
|
organizationName: string | null;
|
|
528
529
|
eventId: string;
|
|
529
530
|
eventType: "biddingFailed" | "syncProposalsStatusFailed" | "refreshRoomsFailed";
|
|
530
|
-
proxyString: string | null;
|
|
531
531
|
screenshotUrl: string | null;
|
|
532
532
|
attempt: number | null;
|
|
533
533
|
viewedAt: number | null;
|
|
@@ -542,6 +542,7 @@ export declare const bidderFailureDashboardResponseSchema: z.ZodObject<{
|
|
|
542
542
|
organizationId: string | null;
|
|
543
543
|
errorMessage: string | null;
|
|
544
544
|
bidderAccountId: string | null;
|
|
545
|
+
proxyString: string | null;
|
|
545
546
|
viewed: boolean;
|
|
546
547
|
leadId: string | null;
|
|
547
548
|
campaignId: string | null;
|
|
@@ -549,7 +550,6 @@ export declare const bidderFailureDashboardResponseSchema: z.ZodObject<{
|
|
|
549
550
|
organizationName: string | null;
|
|
550
551
|
eventId: string;
|
|
551
552
|
eventType: "biddingFailed" | "syncProposalsStatusFailed" | "refreshRoomsFailed";
|
|
552
|
-
proxyString: string | null;
|
|
553
553
|
screenshotUrl: string | null;
|
|
554
554
|
attempt: number | null;
|
|
555
555
|
viewedAt: number | null;
|
|
@@ -2235,6 +2235,18 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2235
2235
|
userId: z.ZodNullable<z.ZodString>;
|
|
2236
2236
|
connectingToChatStartedAt: z.ZodNullable<z.ZodNumber>;
|
|
2237
2237
|
shouldRefetchAllRooms: z.ZodNullable<z.ZodBoolean>;
|
|
2238
|
+
assignedOrganizationPlans: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2239
|
+
organizationId: z.ZodString;
|
|
2240
|
+
planId: z.ZodNullable<z.ZodString>;
|
|
2241
|
+
}, "strip", z.ZodTypeAny, {
|
|
2242
|
+
organizationId: string;
|
|
2243
|
+
planId: string | null;
|
|
2244
|
+
}, {
|
|
2245
|
+
organizationId: string;
|
|
2246
|
+
planId: string | null;
|
|
2247
|
+
}>, "many">>;
|
|
2248
|
+
assignedOrganizationNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2249
|
+
biddingCompleteLast30Days: z.ZodOptional<z.ZodNumber>;
|
|
2238
2250
|
}, "strip", z.ZodTypeAny, {
|
|
2239
2251
|
id: string;
|
|
2240
2252
|
name: string | null;
|
|
@@ -2280,6 +2292,12 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2280
2292
|
shouldRefetchAllRooms: boolean | null;
|
|
2281
2293
|
googleOauthTokens?: any;
|
|
2282
2294
|
isProtected?: boolean | undefined;
|
|
2295
|
+
assignedOrganizationPlans?: {
|
|
2296
|
+
organizationId: string;
|
|
2297
|
+
planId: string | null;
|
|
2298
|
+
}[] | undefined;
|
|
2299
|
+
assignedOrganizationNames?: string[] | undefined;
|
|
2300
|
+
biddingCompleteLast30Days?: number | undefined;
|
|
2283
2301
|
}, {
|
|
2284
2302
|
id: string;
|
|
2285
2303
|
name: string | null;
|
|
@@ -2325,6 +2343,12 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2325
2343
|
shouldRefetchAllRooms: boolean | null;
|
|
2326
2344
|
googleOauthTokens?: any;
|
|
2327
2345
|
isProtected?: boolean | undefined;
|
|
2346
|
+
assignedOrganizationPlans?: {
|
|
2347
|
+
organizationId: string;
|
|
2348
|
+
planId: string | null;
|
|
2349
|
+
}[] | undefined;
|
|
2350
|
+
assignedOrganizationNames?: string[] | undefined;
|
|
2351
|
+
biddingCompleteLast30Days?: number | undefined;
|
|
2328
2352
|
}>;
|
|
2329
2353
|
firstExecutionTime: z.ZodNumber;
|
|
2330
2354
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2733,6 +2757,12 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2733
2757
|
shouldRefetchAllRooms: boolean | null;
|
|
2734
2758
|
googleOauthTokens?: any;
|
|
2735
2759
|
isProtected?: boolean | undefined;
|
|
2760
|
+
assignedOrganizationPlans?: {
|
|
2761
|
+
organizationId: string;
|
|
2762
|
+
planId: string | null;
|
|
2763
|
+
}[] | undefined;
|
|
2764
|
+
assignedOrganizationNames?: string[] | undefined;
|
|
2765
|
+
biddingCompleteLast30Days?: number | undefined;
|
|
2736
2766
|
};
|
|
2737
2767
|
firstExecutionTime: number;
|
|
2738
2768
|
}, {
|
|
@@ -3141,6 +3171,12 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
3141
3171
|
shouldRefetchAllRooms: boolean | null;
|
|
3142
3172
|
googleOauthTokens?: any;
|
|
3143
3173
|
isProtected?: boolean | undefined;
|
|
3174
|
+
assignedOrganizationPlans?: {
|
|
3175
|
+
organizationId: string;
|
|
3176
|
+
planId: string | null;
|
|
3177
|
+
}[] | undefined;
|
|
3178
|
+
assignedOrganizationNames?: string[] | undefined;
|
|
3179
|
+
biddingCompleteLast30Days?: number | undefined;
|
|
3144
3180
|
};
|
|
3145
3181
|
firstExecutionTime: number;
|
|
3146
3182
|
}>;
|
|
@@ -7,14 +7,14 @@ export declare const usageEventMetadataSchema: z.ZodObject<{
|
|
|
7
7
|
planId: z.ZodNullable<z.ZodString>;
|
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
9
|
userId: string | null;
|
|
10
|
+
planId: string | null;
|
|
10
11
|
campaignId: string | null;
|
|
11
12
|
stripeSubscriptionId: string | null;
|
|
12
|
-
planId: string | null;
|
|
13
13
|
}, {
|
|
14
14
|
userId: string | null;
|
|
15
|
+
planId: string | null;
|
|
15
16
|
campaignId: string | null;
|
|
16
17
|
stripeSubscriptionId: string | null;
|
|
17
|
-
planId: string | null;
|
|
18
18
|
}>;
|
|
19
19
|
export declare const usageEventSchema: z.ZodObject<{
|
|
20
20
|
organizationId: z.ZodString;
|
|
@@ -27,21 +27,21 @@ export declare const usageEventSchema: z.ZodObject<{
|
|
|
27
27
|
planId: z.ZodNullable<z.ZodString>;
|
|
28
28
|
}, "strip", z.ZodTypeAny, {
|
|
29
29
|
userId: string | null;
|
|
30
|
+
planId: string | null;
|
|
30
31
|
campaignId: string | null;
|
|
31
32
|
stripeSubscriptionId: string | null;
|
|
32
|
-
planId: string | null;
|
|
33
33
|
}, {
|
|
34
34
|
userId: string | null;
|
|
35
|
+
planId: string | null;
|
|
35
36
|
campaignId: string | null;
|
|
36
37
|
stripeSubscriptionId: string | null;
|
|
37
|
-
planId: string | null;
|
|
38
38
|
}>;
|
|
39
39
|
}, "strip", z.ZodTypeAny, {
|
|
40
40
|
metadata: {
|
|
41
41
|
userId: string | null;
|
|
42
|
+
planId: string | null;
|
|
42
43
|
campaignId: string | null;
|
|
43
44
|
stripeSubscriptionId: string | null;
|
|
44
|
-
planId: string | null;
|
|
45
45
|
};
|
|
46
46
|
organizationId: string;
|
|
47
47
|
typeId: "suitabilityComplete" | "proposalComplete" | "biddingComplete";
|
|
@@ -49,9 +49,9 @@ export declare const usageEventSchema: z.ZodObject<{
|
|
|
49
49
|
}, {
|
|
50
50
|
metadata: {
|
|
51
51
|
userId: string | null;
|
|
52
|
+
planId: string | null;
|
|
52
53
|
campaignId: string | null;
|
|
53
54
|
stripeSubscriptionId: string | null;
|
|
54
|
-
planId: string | null;
|
|
55
55
|
};
|
|
56
56
|
organizationId: string;
|
|
57
57
|
typeId: "suitabilityComplete" | "proposalComplete" | "biddingComplete";
|