lancer-shared 1.2.341 → 1.2.342
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 +12 -0
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +11 -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 +7 -0
- package/dist/schemas/bidder/exceptions/index.d.ts +3 -0
- package/dist/schemas/logger/log-event.d.ts +3 -0
- package/dist/schemas/scraper/scrape-payload.d.ts +5 -0
- package/package.json +1 -1
|
@@ -94,6 +94,7 @@ export declare const ROUTES: {
|
|
|
94
94
|
readonly BIDDER_FAILURES: "admin/dashboard/bidder-failures";
|
|
95
95
|
readonly MARK_BIDDER_FAILURE_VIEWED: (eventId: string) => string;
|
|
96
96
|
readonly BIDDER_FAILURE_VIEWS: "admin/dashboard/bidder-failure-views";
|
|
97
|
+
readonly CONNECTION_REQUESTS: "admin/dashboard/connection-requests";
|
|
97
98
|
};
|
|
98
99
|
readonly ALERTS: {
|
|
99
100
|
readonly BASE: "admin/alerts";
|
|
@@ -124,6 +124,7 @@ export declare const bidderAccountSchema: z.ZodObject<{
|
|
|
124
124
|
isProtected: z.ZodOptional<z.ZodBoolean>;
|
|
125
125
|
status: z.ZodEnum<["connected", "failed_to_connect", "connecting", "draft", "reconnecting"]>;
|
|
126
126
|
errorMessage: z.ZodNullable<z.ZodString>;
|
|
127
|
+
requiresManualReview: z.ZodNullable<z.ZodBoolean>;
|
|
127
128
|
connectedToChat: z.ZodNullable<z.ZodBoolean>;
|
|
128
129
|
failedToRefreshRooms: z.ZodNullable<z.ZodBoolean>;
|
|
129
130
|
failedToRefreshRoomsAttempts: z.ZodNullable<z.ZodNumber>;
|
|
@@ -179,6 +180,7 @@ export declare const bidderAccountSchema: z.ZodObject<{
|
|
|
179
180
|
createdAt: number;
|
|
180
181
|
updatedAt: number;
|
|
181
182
|
errorMessage: string | null;
|
|
183
|
+
requiresManualReview: boolean | null;
|
|
182
184
|
connectedToChat: boolean | null;
|
|
183
185
|
failedToRefreshRooms: boolean | null;
|
|
184
186
|
failedToRefreshRoomsAttempts: number | null;
|
|
@@ -230,6 +232,7 @@ export declare const bidderAccountSchema: z.ZodObject<{
|
|
|
230
232
|
createdAt: number;
|
|
231
233
|
updatedAt: number;
|
|
232
234
|
errorMessage: string | null;
|
|
235
|
+
requiresManualReview: boolean | null;
|
|
233
236
|
connectedToChat: boolean | null;
|
|
234
237
|
failedToRefreshRooms: boolean | null;
|
|
235
238
|
failedToRefreshRoomsAttempts: number | null;
|
|
@@ -333,6 +336,7 @@ export declare const createBidderAccountSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
333
336
|
isProtected: z.ZodOptional<z.ZodBoolean>;
|
|
334
337
|
status: z.ZodEnum<["connected", "failed_to_connect", "connecting", "draft", "reconnecting"]>;
|
|
335
338
|
errorMessage: z.ZodNullable<z.ZodString>;
|
|
339
|
+
requiresManualReview: z.ZodNullable<z.ZodBoolean>;
|
|
336
340
|
connectedToChat: z.ZodNullable<z.ZodBoolean>;
|
|
337
341
|
failedToRefreshRooms: z.ZodNullable<z.ZodBoolean>;
|
|
338
342
|
failedToRefreshRoomsAttempts: z.ZodNullable<z.ZodNumber>;
|
|
@@ -466,6 +470,7 @@ export declare const updateBidderAccountSchema: z.ZodObject<{
|
|
|
466
470
|
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
467
471
|
isProtected: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
468
472
|
errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
473
|
+
requiresManualReview: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
469
474
|
connectedToChat: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
470
475
|
failedToRefreshRooms: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
471
476
|
failedToRefreshRoomsAttempts: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -522,6 +527,7 @@ export declare const updateBidderAccountSchema: z.ZodObject<{
|
|
|
522
527
|
updatedAt?: number | undefined;
|
|
523
528
|
isProtected?: boolean | undefined;
|
|
524
529
|
errorMessage?: string | null | undefined;
|
|
530
|
+
requiresManualReview?: boolean | null | undefined;
|
|
525
531
|
connectedToChat?: boolean | null | undefined;
|
|
526
532
|
failedToRefreshRooms?: boolean | null | undefined;
|
|
527
533
|
failedToRefreshRoomsAttempts?: number | null | undefined;
|
|
@@ -572,6 +578,7 @@ export declare const updateBidderAccountSchema: z.ZodObject<{
|
|
|
572
578
|
updatedAt?: number | undefined;
|
|
573
579
|
isProtected?: boolean | undefined;
|
|
574
580
|
errorMessage?: string | null | undefined;
|
|
581
|
+
requiresManualReview?: boolean | null | undefined;
|
|
575
582
|
connectedToChat?: boolean | null | undefined;
|
|
576
583
|
failedToRefreshRooms?: boolean | null | undefined;
|
|
577
584
|
failedToRefreshRoomsAttempts?: number | null | undefined;
|
|
@@ -82,3 +82,6 @@ export type BiddingError = CloudflareChallengeFailedException | DeleteMultilogin
|
|
|
82
82
|
export declare const TRACKED_BID_FAILURE_MONITORING_CODES: readonly ["CLOUDFLARE_CHALLENGE_FAILED_EXCEPTION", "GO_TO_URL_EXCEPTION", "SELECTOR_NOT_FOUND_ERROR", "PROPOSAL_SUBMIT_FAILED", "PROXY_NOT_REACHABLE_EXCEPTION", "ELEMENT_NOT_CLICKABLE_EXCEPTION", "LOGIN_FAILED_EXCEPTION", "INVALID_CREDENTIALS_EXCEPTION", "NETWORK_RESTRICTIONS_EXCEPTION"];
|
|
83
83
|
export type TrackedBidFailureMonitoringCode = (typeof TRACKED_BID_FAILURE_MONITORING_CODES)[number];
|
|
84
84
|
export declare const isTrackedBidFailureMonitoringCode: (code?: string | null) => boolean;
|
|
85
|
+
export declare const USER_FACING_CREDENTIAL_ERROR_CODES: readonly ["INVALID_CREDENTIALS_EXCEPTION", "INCORRECT_SECURITY_QUESTION_ANSWER_EXCEPTION", "TWO_FACTOR_PRESENT_EXCEPTION"];
|
|
86
|
+
export type UserFacingCredentialErrorCode = (typeof USER_FACING_CREDENTIAL_ERROR_CODES)[number];
|
|
87
|
+
export declare const isUserFacingCredentialErrorCode: (code?: string | null) => boolean;
|
|
@@ -340,12 +340,15 @@ export declare const verifyCredentialsSucceededEventMetadataSchema: z.ZodObject<
|
|
|
340
340
|
export declare const verifyCredentialsFailedEventMetadataSchema: z.ZodObject<{
|
|
341
341
|
bidderAccountId: z.ZodString;
|
|
342
342
|
errorMessage: z.ZodString;
|
|
343
|
+
errorCode: z.ZodOptional<z.ZodString>;
|
|
343
344
|
}, "strip", z.ZodTypeAny, {
|
|
344
345
|
errorMessage: string;
|
|
345
346
|
bidderAccountId: string;
|
|
347
|
+
errorCode?: string | undefined;
|
|
346
348
|
}, {
|
|
347
349
|
errorMessage: string;
|
|
348
350
|
bidderAccountId: string;
|
|
351
|
+
errorCode?: string | undefined;
|
|
349
352
|
}>;
|
|
350
353
|
export declare const refreshRoomsFailedEventMetadataSchema: z.ZodObject<{
|
|
351
354
|
bidderAccountId: z.ZodOptional<z.ZodString>;
|
|
@@ -2231,6 +2231,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2231
2231
|
isProtected: z.ZodOptional<z.ZodBoolean>;
|
|
2232
2232
|
status: z.ZodEnum<["connected", "failed_to_connect", "connecting", "draft", "reconnecting"]>;
|
|
2233
2233
|
errorMessage: z.ZodNullable<z.ZodString>;
|
|
2234
|
+
requiresManualReview: z.ZodNullable<z.ZodBoolean>;
|
|
2234
2235
|
connectedToChat: z.ZodNullable<z.ZodBoolean>;
|
|
2235
2236
|
failedToRefreshRooms: z.ZodNullable<z.ZodBoolean>;
|
|
2236
2237
|
failedToRefreshRoomsAttempts: z.ZodNullable<z.ZodNumber>;
|
|
@@ -2286,6 +2287,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2286
2287
|
createdAt: number;
|
|
2287
2288
|
updatedAt: number;
|
|
2288
2289
|
errorMessage: string | null;
|
|
2290
|
+
requiresManualReview: boolean | null;
|
|
2289
2291
|
connectedToChat: boolean | null;
|
|
2290
2292
|
failedToRefreshRooms: boolean | null;
|
|
2291
2293
|
failedToRefreshRoomsAttempts: number | null;
|
|
@@ -2337,6 +2339,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2337
2339
|
createdAt: number;
|
|
2338
2340
|
updatedAt: number;
|
|
2339
2341
|
errorMessage: string | null;
|
|
2342
|
+
requiresManualReview: boolean | null;
|
|
2340
2343
|
connectedToChat: boolean | null;
|
|
2341
2344
|
failedToRefreshRooms: boolean | null;
|
|
2342
2345
|
failedToRefreshRoomsAttempts: number | null;
|
|
@@ -2752,6 +2755,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2752
2755
|
createdAt: number;
|
|
2753
2756
|
updatedAt: number;
|
|
2754
2757
|
errorMessage: string | null;
|
|
2758
|
+
requiresManualReview: boolean | null;
|
|
2755
2759
|
connectedToChat: boolean | null;
|
|
2756
2760
|
failedToRefreshRooms: boolean | null;
|
|
2757
2761
|
failedToRefreshRoomsAttempts: number | null;
|
|
@@ -3167,6 +3171,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
3167
3171
|
createdAt: number;
|
|
3168
3172
|
updatedAt: number;
|
|
3169
3173
|
errorMessage: string | null;
|
|
3174
|
+
requiresManualReview: boolean | null;
|
|
3170
3175
|
connectedToChat: boolean | null;
|
|
3171
3176
|
failedToRefreshRooms: boolean | null;
|
|
3172
3177
|
failedToRefreshRoomsAttempts: number | null;
|