@dakkitor/api-contracts 1.1.13 → 1.1.14
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/index.d.ts
CHANGED
|
@@ -2394,10 +2394,115 @@ export declare const apiContractRouter: {
|
|
|
2394
2394
|
hoursWorkedUpdatedAt: import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate, import("zod").ZodNull]>, string | null, string | Date | null>>;
|
|
2395
2395
|
booking: import("zod").ZodObject<{
|
|
2396
2396
|
id: import("zod").ZodString;
|
|
2397
|
+
status: import("zod").ZodEnum<["PENDING", "CONFIRMED", "CANCELLED", "COMPLETED", "REFUSED_BECAUSE_OF_NATIONALITY", "REFUSED_NOT_ENOUGH_EXPERIENCE", "REFUSED_JOB_FILLED", "REFUSED_IGNORED_DENIED", "REFUSED_BECAUSE_OF_DISTANCE", "WAITING_FOR_CONFIRMATION", "JOB_CANCELLED", "ANOTHER_SITUATION", "YELLOW_FOR_TOMORROW", "SPOKE_WITH_WORKER_IN_THE_MORNING", "ON_THE_WAY_TO_THE_SITE", "AT_THE_INDUCTION", "STARTED_THE_JOB", "DIDNT_START_BECAUSE_OF_WORKER", "DIDNT_START_BECAUSE_OF_US", "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE", "DIDNT_START_BECAUSE_OF_AGENCY", "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS"]>;
|
|
2398
|
+
startDate: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
|
|
2399
|
+
endDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate, import("zod").ZodNull]>, string | null, string | Date | null>>>;
|
|
2400
|
+
worker: import("zod").ZodObject<{
|
|
2401
|
+
id: import("zod").ZodString;
|
|
2402
|
+
firstName: import("zod").ZodString;
|
|
2403
|
+
lastName: import("zod").ZodString;
|
|
2404
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2405
|
+
id: string;
|
|
2406
|
+
firstName: string;
|
|
2407
|
+
lastName: string;
|
|
2408
|
+
}, {
|
|
2409
|
+
id: string;
|
|
2410
|
+
firstName: string;
|
|
2411
|
+
lastName: string;
|
|
2412
|
+
}>;
|
|
2413
|
+
user: import("zod").ZodObject<{
|
|
2414
|
+
id: import("zod").ZodString;
|
|
2415
|
+
firstName: import("zod").ZodString;
|
|
2416
|
+
lastName: import("zod").ZodString;
|
|
2417
|
+
email: import("zod").ZodString;
|
|
2418
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2419
|
+
id: string;
|
|
2420
|
+
firstName: string;
|
|
2421
|
+
lastName: string;
|
|
2422
|
+
email: string;
|
|
2423
|
+
}, {
|
|
2424
|
+
id: string;
|
|
2425
|
+
firstName: string;
|
|
2426
|
+
lastName: string;
|
|
2427
|
+
email: string;
|
|
2428
|
+
}>;
|
|
2429
|
+
pay: import("zod").ZodObject<{
|
|
2430
|
+
rate: import("zod").ZodNumber;
|
|
2431
|
+
unit: import("zod").ZodEnum<["DAILY", "HOURLY"]>;
|
|
2432
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2433
|
+
rate: number;
|
|
2434
|
+
unit: "DAILY" | "HOURLY";
|
|
2435
|
+
}, {
|
|
2436
|
+
rate: number;
|
|
2437
|
+
unit: "DAILY" | "HOURLY";
|
|
2438
|
+
}>;
|
|
2439
|
+
job: import("zod").ZodObject<{
|
|
2440
|
+
id: import("zod").ZodString;
|
|
2441
|
+
title: import("zod").ZodString;
|
|
2442
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2443
|
+
id: string;
|
|
2444
|
+
title: string;
|
|
2445
|
+
}, {
|
|
2446
|
+
id: string;
|
|
2447
|
+
title: string;
|
|
2448
|
+
}>;
|
|
2449
|
+
userId: import("zod").ZodString;
|
|
2450
|
+
createdAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
|
|
2451
|
+
updatedAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
|
|
2397
2452
|
}, "strip", import("zod").ZodTypeAny, {
|
|
2453
|
+
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
2454
|
+
createdAt: string;
|
|
2455
|
+
updatedAt: string;
|
|
2398
2456
|
id: string;
|
|
2457
|
+
pay: {
|
|
2458
|
+
rate: number;
|
|
2459
|
+
unit: "DAILY" | "HOURLY";
|
|
2460
|
+
};
|
|
2461
|
+
startDate: string;
|
|
2462
|
+
worker: {
|
|
2463
|
+
id: string;
|
|
2464
|
+
firstName: string;
|
|
2465
|
+
lastName: string;
|
|
2466
|
+
};
|
|
2467
|
+
user: {
|
|
2468
|
+
id: string;
|
|
2469
|
+
firstName: string;
|
|
2470
|
+
lastName: string;
|
|
2471
|
+
email: string;
|
|
2472
|
+
};
|
|
2473
|
+
job: {
|
|
2474
|
+
id: string;
|
|
2475
|
+
title: string;
|
|
2476
|
+
};
|
|
2477
|
+
userId: string;
|
|
2478
|
+
endDate?: string | null | undefined;
|
|
2399
2479
|
}, {
|
|
2480
|
+
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
2481
|
+
createdAt: string | Date;
|
|
2482
|
+
updatedAt: string | Date;
|
|
2400
2483
|
id: string;
|
|
2484
|
+
pay: {
|
|
2485
|
+
rate: number;
|
|
2486
|
+
unit: "DAILY" | "HOURLY";
|
|
2487
|
+
};
|
|
2488
|
+
startDate: string | Date;
|
|
2489
|
+
worker: {
|
|
2490
|
+
id: string;
|
|
2491
|
+
firstName: string;
|
|
2492
|
+
lastName: string;
|
|
2493
|
+
};
|
|
2494
|
+
user: {
|
|
2495
|
+
id: string;
|
|
2496
|
+
firstName: string;
|
|
2497
|
+
lastName: string;
|
|
2498
|
+
email: string;
|
|
2499
|
+
};
|
|
2500
|
+
job: {
|
|
2501
|
+
id: string;
|
|
2502
|
+
title: string;
|
|
2503
|
+
};
|
|
2504
|
+
userId: string;
|
|
2505
|
+
endDate?: string | Date | null | undefined;
|
|
2401
2506
|
}>;
|
|
2402
2507
|
createdAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
|
|
2403
2508
|
updatedAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
|
|
@@ -2418,7 +2523,32 @@ export declare const apiContractRouter: {
|
|
|
2418
2523
|
hoursWorked: number | null;
|
|
2419
2524
|
hoursWorkedUpdatedAt: string | null;
|
|
2420
2525
|
booking: {
|
|
2526
|
+
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
2527
|
+
createdAt: string;
|
|
2528
|
+
updatedAt: string;
|
|
2421
2529
|
id: string;
|
|
2530
|
+
pay: {
|
|
2531
|
+
rate: number;
|
|
2532
|
+
unit: "DAILY" | "HOURLY";
|
|
2533
|
+
};
|
|
2534
|
+
startDate: string;
|
|
2535
|
+
worker: {
|
|
2536
|
+
id: string;
|
|
2537
|
+
firstName: string;
|
|
2538
|
+
lastName: string;
|
|
2539
|
+
};
|
|
2540
|
+
user: {
|
|
2541
|
+
id: string;
|
|
2542
|
+
firstName: string;
|
|
2543
|
+
lastName: string;
|
|
2544
|
+
email: string;
|
|
2545
|
+
};
|
|
2546
|
+
job: {
|
|
2547
|
+
id: string;
|
|
2548
|
+
title: string;
|
|
2549
|
+
};
|
|
2550
|
+
userId: string;
|
|
2551
|
+
endDate?: string | null | undefined;
|
|
2422
2552
|
};
|
|
2423
2553
|
}, {
|
|
2424
2554
|
date: string | Date;
|
|
@@ -2437,7 +2567,32 @@ export declare const apiContractRouter: {
|
|
|
2437
2567
|
hoursWorked: number | null;
|
|
2438
2568
|
hoursWorkedUpdatedAt: string | Date | null;
|
|
2439
2569
|
booking: {
|
|
2570
|
+
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
2571
|
+
createdAt: string | Date;
|
|
2572
|
+
updatedAt: string | Date;
|
|
2440
2573
|
id: string;
|
|
2574
|
+
pay: {
|
|
2575
|
+
rate: number;
|
|
2576
|
+
unit: "DAILY" | "HOURLY";
|
|
2577
|
+
};
|
|
2578
|
+
startDate: string | Date;
|
|
2579
|
+
worker: {
|
|
2580
|
+
id: string;
|
|
2581
|
+
firstName: string;
|
|
2582
|
+
lastName: string;
|
|
2583
|
+
};
|
|
2584
|
+
user: {
|
|
2585
|
+
id: string;
|
|
2586
|
+
firstName: string;
|
|
2587
|
+
lastName: string;
|
|
2588
|
+
email: string;
|
|
2589
|
+
};
|
|
2590
|
+
job: {
|
|
2591
|
+
id: string;
|
|
2592
|
+
title: string;
|
|
2593
|
+
};
|
|
2594
|
+
userId: string;
|
|
2595
|
+
endDate?: string | Date | null | undefined;
|
|
2441
2596
|
};
|
|
2442
2597
|
}>;
|
|
2443
2598
|
404: import("zod").ZodObject<{
|
|
@@ -2718,10 +2873,115 @@ export declare const apiContractRouter: {
|
|
|
2718
2873
|
hoursWorkedUpdatedAt: import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate, import("zod").ZodNull]>, string | null, string | Date | null>>;
|
|
2719
2874
|
booking: import("zod").ZodObject<{
|
|
2720
2875
|
id: import("zod").ZodString;
|
|
2876
|
+
status: import("zod").ZodEnum<["PENDING", "CONFIRMED", "CANCELLED", "COMPLETED", "REFUSED_BECAUSE_OF_NATIONALITY", "REFUSED_NOT_ENOUGH_EXPERIENCE", "REFUSED_JOB_FILLED", "REFUSED_IGNORED_DENIED", "REFUSED_BECAUSE_OF_DISTANCE", "WAITING_FOR_CONFIRMATION", "JOB_CANCELLED", "ANOTHER_SITUATION", "YELLOW_FOR_TOMORROW", "SPOKE_WITH_WORKER_IN_THE_MORNING", "ON_THE_WAY_TO_THE_SITE", "AT_THE_INDUCTION", "STARTED_THE_JOB", "DIDNT_START_BECAUSE_OF_WORKER", "DIDNT_START_BECAUSE_OF_US", "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE", "DIDNT_START_BECAUSE_OF_AGENCY", "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS"]>;
|
|
2877
|
+
startDate: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
|
|
2878
|
+
endDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate, import("zod").ZodNull]>, string | null, string | Date | null>>>;
|
|
2879
|
+
worker: import("zod").ZodObject<{
|
|
2880
|
+
id: import("zod").ZodString;
|
|
2881
|
+
firstName: import("zod").ZodString;
|
|
2882
|
+
lastName: import("zod").ZodString;
|
|
2883
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2884
|
+
id: string;
|
|
2885
|
+
firstName: string;
|
|
2886
|
+
lastName: string;
|
|
2887
|
+
}, {
|
|
2888
|
+
id: string;
|
|
2889
|
+
firstName: string;
|
|
2890
|
+
lastName: string;
|
|
2891
|
+
}>;
|
|
2892
|
+
user: import("zod").ZodObject<{
|
|
2893
|
+
id: import("zod").ZodString;
|
|
2894
|
+
firstName: import("zod").ZodString;
|
|
2895
|
+
lastName: import("zod").ZodString;
|
|
2896
|
+
email: import("zod").ZodString;
|
|
2897
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2898
|
+
id: string;
|
|
2899
|
+
firstName: string;
|
|
2900
|
+
lastName: string;
|
|
2901
|
+
email: string;
|
|
2902
|
+
}, {
|
|
2903
|
+
id: string;
|
|
2904
|
+
firstName: string;
|
|
2905
|
+
lastName: string;
|
|
2906
|
+
email: string;
|
|
2907
|
+
}>;
|
|
2908
|
+
pay: import("zod").ZodObject<{
|
|
2909
|
+
rate: import("zod").ZodNumber;
|
|
2910
|
+
unit: import("zod").ZodEnum<["DAILY", "HOURLY"]>;
|
|
2911
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2912
|
+
rate: number;
|
|
2913
|
+
unit: "DAILY" | "HOURLY";
|
|
2914
|
+
}, {
|
|
2915
|
+
rate: number;
|
|
2916
|
+
unit: "DAILY" | "HOURLY";
|
|
2917
|
+
}>;
|
|
2918
|
+
job: import("zod").ZodObject<{
|
|
2919
|
+
id: import("zod").ZodString;
|
|
2920
|
+
title: import("zod").ZodString;
|
|
2921
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2922
|
+
id: string;
|
|
2923
|
+
title: string;
|
|
2924
|
+
}, {
|
|
2925
|
+
id: string;
|
|
2926
|
+
title: string;
|
|
2927
|
+
}>;
|
|
2928
|
+
userId: import("zod").ZodString;
|
|
2929
|
+
createdAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
|
|
2930
|
+
updatedAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
|
|
2721
2931
|
}, "strip", import("zod").ZodTypeAny, {
|
|
2932
|
+
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
2933
|
+
createdAt: string;
|
|
2934
|
+
updatedAt: string;
|
|
2722
2935
|
id: string;
|
|
2936
|
+
pay: {
|
|
2937
|
+
rate: number;
|
|
2938
|
+
unit: "DAILY" | "HOURLY";
|
|
2939
|
+
};
|
|
2940
|
+
startDate: string;
|
|
2941
|
+
worker: {
|
|
2942
|
+
id: string;
|
|
2943
|
+
firstName: string;
|
|
2944
|
+
lastName: string;
|
|
2945
|
+
};
|
|
2946
|
+
user: {
|
|
2947
|
+
id: string;
|
|
2948
|
+
firstName: string;
|
|
2949
|
+
lastName: string;
|
|
2950
|
+
email: string;
|
|
2951
|
+
};
|
|
2952
|
+
job: {
|
|
2953
|
+
id: string;
|
|
2954
|
+
title: string;
|
|
2955
|
+
};
|
|
2956
|
+
userId: string;
|
|
2957
|
+
endDate?: string | null | undefined;
|
|
2723
2958
|
}, {
|
|
2959
|
+
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
2960
|
+
createdAt: string | Date;
|
|
2961
|
+
updatedAt: string | Date;
|
|
2724
2962
|
id: string;
|
|
2963
|
+
pay: {
|
|
2964
|
+
rate: number;
|
|
2965
|
+
unit: "DAILY" | "HOURLY";
|
|
2966
|
+
};
|
|
2967
|
+
startDate: string | Date;
|
|
2968
|
+
worker: {
|
|
2969
|
+
id: string;
|
|
2970
|
+
firstName: string;
|
|
2971
|
+
lastName: string;
|
|
2972
|
+
};
|
|
2973
|
+
user: {
|
|
2974
|
+
id: string;
|
|
2975
|
+
firstName: string;
|
|
2976
|
+
lastName: string;
|
|
2977
|
+
email: string;
|
|
2978
|
+
};
|
|
2979
|
+
job: {
|
|
2980
|
+
id: string;
|
|
2981
|
+
title: string;
|
|
2982
|
+
};
|
|
2983
|
+
userId: string;
|
|
2984
|
+
endDate?: string | Date | null | undefined;
|
|
2725
2985
|
}>;
|
|
2726
2986
|
createdAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
|
|
2727
2987
|
updatedAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
|
|
@@ -2742,7 +3002,32 @@ export declare const apiContractRouter: {
|
|
|
2742
3002
|
hoursWorked: number | null;
|
|
2743
3003
|
hoursWorkedUpdatedAt: string | null;
|
|
2744
3004
|
booking: {
|
|
3005
|
+
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
3006
|
+
createdAt: string;
|
|
3007
|
+
updatedAt: string;
|
|
2745
3008
|
id: string;
|
|
3009
|
+
pay: {
|
|
3010
|
+
rate: number;
|
|
3011
|
+
unit: "DAILY" | "HOURLY";
|
|
3012
|
+
};
|
|
3013
|
+
startDate: string;
|
|
3014
|
+
worker: {
|
|
3015
|
+
id: string;
|
|
3016
|
+
firstName: string;
|
|
3017
|
+
lastName: string;
|
|
3018
|
+
};
|
|
3019
|
+
user: {
|
|
3020
|
+
id: string;
|
|
3021
|
+
firstName: string;
|
|
3022
|
+
lastName: string;
|
|
3023
|
+
email: string;
|
|
3024
|
+
};
|
|
3025
|
+
job: {
|
|
3026
|
+
id: string;
|
|
3027
|
+
title: string;
|
|
3028
|
+
};
|
|
3029
|
+
userId: string;
|
|
3030
|
+
endDate?: string | null | undefined;
|
|
2746
3031
|
};
|
|
2747
3032
|
}, {
|
|
2748
3033
|
date: string | Date;
|
|
@@ -2761,7 +3046,32 @@ export declare const apiContractRouter: {
|
|
|
2761
3046
|
hoursWorked: number | null;
|
|
2762
3047
|
hoursWorkedUpdatedAt: string | Date | null;
|
|
2763
3048
|
booking: {
|
|
3049
|
+
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
3050
|
+
createdAt: string | Date;
|
|
3051
|
+
updatedAt: string | Date;
|
|
2764
3052
|
id: string;
|
|
3053
|
+
pay: {
|
|
3054
|
+
rate: number;
|
|
3055
|
+
unit: "DAILY" | "HOURLY";
|
|
3056
|
+
};
|
|
3057
|
+
startDate: string | Date;
|
|
3058
|
+
worker: {
|
|
3059
|
+
id: string;
|
|
3060
|
+
firstName: string;
|
|
3061
|
+
lastName: string;
|
|
3062
|
+
};
|
|
3063
|
+
user: {
|
|
3064
|
+
id: string;
|
|
3065
|
+
firstName: string;
|
|
3066
|
+
lastName: string;
|
|
3067
|
+
email: string;
|
|
3068
|
+
};
|
|
3069
|
+
job: {
|
|
3070
|
+
id: string;
|
|
3071
|
+
title: string;
|
|
3072
|
+
};
|
|
3073
|
+
userId: string;
|
|
3074
|
+
endDate?: string | Date | null | undefined;
|
|
2765
3075
|
};
|
|
2766
3076
|
}>, "many">;
|
|
2767
3077
|
totalCount: import("zod").ZodNumber;
|
|
@@ -2788,12 +3098,37 @@ export declare const apiContractRouter: {
|
|
|
2788
3098
|
hoursWorked: number | null;
|
|
2789
3099
|
hoursWorkedUpdatedAt: string | null;
|
|
2790
3100
|
booking: {
|
|
3101
|
+
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
3102
|
+
createdAt: string;
|
|
3103
|
+
updatedAt: string;
|
|
2791
3104
|
id: string;
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
|
|
3105
|
+
pay: {
|
|
3106
|
+
rate: number;
|
|
3107
|
+
unit: "DAILY" | "HOURLY";
|
|
3108
|
+
};
|
|
3109
|
+
startDate: string;
|
|
3110
|
+
worker: {
|
|
3111
|
+
id: string;
|
|
3112
|
+
firstName: string;
|
|
3113
|
+
lastName: string;
|
|
3114
|
+
};
|
|
3115
|
+
user: {
|
|
3116
|
+
id: string;
|
|
3117
|
+
firstName: string;
|
|
3118
|
+
lastName: string;
|
|
3119
|
+
email: string;
|
|
3120
|
+
};
|
|
3121
|
+
job: {
|
|
3122
|
+
id: string;
|
|
3123
|
+
title: string;
|
|
3124
|
+
};
|
|
3125
|
+
userId: string;
|
|
3126
|
+
endDate?: string | null | undefined;
|
|
3127
|
+
};
|
|
3128
|
+
}[];
|
|
3129
|
+
totalCount: number;
|
|
3130
|
+
skip: number;
|
|
3131
|
+
currentPage: number;
|
|
2797
3132
|
totalPages: number;
|
|
2798
3133
|
}, {
|
|
2799
3134
|
limit: number;
|
|
@@ -2814,7 +3149,32 @@ export declare const apiContractRouter: {
|
|
|
2814
3149
|
hoursWorked: number | null;
|
|
2815
3150
|
hoursWorkedUpdatedAt: string | Date | null;
|
|
2816
3151
|
booking: {
|
|
3152
|
+
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
3153
|
+
createdAt: string | Date;
|
|
3154
|
+
updatedAt: string | Date;
|
|
2817
3155
|
id: string;
|
|
3156
|
+
pay: {
|
|
3157
|
+
rate: number;
|
|
3158
|
+
unit: "DAILY" | "HOURLY";
|
|
3159
|
+
};
|
|
3160
|
+
startDate: string | Date;
|
|
3161
|
+
worker: {
|
|
3162
|
+
id: string;
|
|
3163
|
+
firstName: string;
|
|
3164
|
+
lastName: string;
|
|
3165
|
+
};
|
|
3166
|
+
user: {
|
|
3167
|
+
id: string;
|
|
3168
|
+
firstName: string;
|
|
3169
|
+
lastName: string;
|
|
3170
|
+
email: string;
|
|
3171
|
+
};
|
|
3172
|
+
job: {
|
|
3173
|
+
id: string;
|
|
3174
|
+
title: string;
|
|
3175
|
+
};
|
|
3176
|
+
userId: string;
|
|
3177
|
+
endDate?: string | Date | null | undefined;
|
|
2818
3178
|
};
|
|
2819
3179
|
}[];
|
|
2820
3180
|
totalCount: number;
|
|
@@ -2964,10 +3324,115 @@ export declare const apiContractRouter: {
|
|
|
2964
3324
|
hoursWorkedUpdatedAt: import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate, import("zod").ZodNull]>, string | null, string | Date | null>>;
|
|
2965
3325
|
booking: import("zod").ZodObject<{
|
|
2966
3326
|
id: import("zod").ZodString;
|
|
3327
|
+
status: import("zod").ZodEnum<["PENDING", "CONFIRMED", "CANCELLED", "COMPLETED", "REFUSED_BECAUSE_OF_NATIONALITY", "REFUSED_NOT_ENOUGH_EXPERIENCE", "REFUSED_JOB_FILLED", "REFUSED_IGNORED_DENIED", "REFUSED_BECAUSE_OF_DISTANCE", "WAITING_FOR_CONFIRMATION", "JOB_CANCELLED", "ANOTHER_SITUATION", "YELLOW_FOR_TOMORROW", "SPOKE_WITH_WORKER_IN_THE_MORNING", "ON_THE_WAY_TO_THE_SITE", "AT_THE_INDUCTION", "STARTED_THE_JOB", "DIDNT_START_BECAUSE_OF_WORKER", "DIDNT_START_BECAUSE_OF_US", "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE", "DIDNT_START_BECAUSE_OF_AGENCY", "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS"]>;
|
|
3328
|
+
startDate: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
|
|
3329
|
+
endDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate, import("zod").ZodNull]>, string | null, string | Date | null>>>;
|
|
3330
|
+
worker: import("zod").ZodObject<{
|
|
3331
|
+
id: import("zod").ZodString;
|
|
3332
|
+
firstName: import("zod").ZodString;
|
|
3333
|
+
lastName: import("zod").ZodString;
|
|
3334
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
3335
|
+
id: string;
|
|
3336
|
+
firstName: string;
|
|
3337
|
+
lastName: string;
|
|
3338
|
+
}, {
|
|
3339
|
+
id: string;
|
|
3340
|
+
firstName: string;
|
|
3341
|
+
lastName: string;
|
|
3342
|
+
}>;
|
|
3343
|
+
user: import("zod").ZodObject<{
|
|
3344
|
+
id: import("zod").ZodString;
|
|
3345
|
+
firstName: import("zod").ZodString;
|
|
3346
|
+
lastName: import("zod").ZodString;
|
|
3347
|
+
email: import("zod").ZodString;
|
|
3348
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
3349
|
+
id: string;
|
|
3350
|
+
firstName: string;
|
|
3351
|
+
lastName: string;
|
|
3352
|
+
email: string;
|
|
3353
|
+
}, {
|
|
3354
|
+
id: string;
|
|
3355
|
+
firstName: string;
|
|
3356
|
+
lastName: string;
|
|
3357
|
+
email: string;
|
|
3358
|
+
}>;
|
|
3359
|
+
pay: import("zod").ZodObject<{
|
|
3360
|
+
rate: import("zod").ZodNumber;
|
|
3361
|
+
unit: import("zod").ZodEnum<["DAILY", "HOURLY"]>;
|
|
3362
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
3363
|
+
rate: number;
|
|
3364
|
+
unit: "DAILY" | "HOURLY";
|
|
3365
|
+
}, {
|
|
3366
|
+
rate: number;
|
|
3367
|
+
unit: "DAILY" | "HOURLY";
|
|
3368
|
+
}>;
|
|
3369
|
+
job: import("zod").ZodObject<{
|
|
3370
|
+
id: import("zod").ZodString;
|
|
3371
|
+
title: import("zod").ZodString;
|
|
3372
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
3373
|
+
id: string;
|
|
3374
|
+
title: string;
|
|
3375
|
+
}, {
|
|
3376
|
+
id: string;
|
|
3377
|
+
title: string;
|
|
3378
|
+
}>;
|
|
3379
|
+
userId: import("zod").ZodString;
|
|
3380
|
+
createdAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
|
|
3381
|
+
updatedAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
|
|
2967
3382
|
}, "strip", import("zod").ZodTypeAny, {
|
|
3383
|
+
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
3384
|
+
createdAt: string;
|
|
3385
|
+
updatedAt: string;
|
|
2968
3386
|
id: string;
|
|
3387
|
+
pay: {
|
|
3388
|
+
rate: number;
|
|
3389
|
+
unit: "DAILY" | "HOURLY";
|
|
3390
|
+
};
|
|
3391
|
+
startDate: string;
|
|
3392
|
+
worker: {
|
|
3393
|
+
id: string;
|
|
3394
|
+
firstName: string;
|
|
3395
|
+
lastName: string;
|
|
3396
|
+
};
|
|
3397
|
+
user: {
|
|
3398
|
+
id: string;
|
|
3399
|
+
firstName: string;
|
|
3400
|
+
lastName: string;
|
|
3401
|
+
email: string;
|
|
3402
|
+
};
|
|
3403
|
+
job: {
|
|
3404
|
+
id: string;
|
|
3405
|
+
title: string;
|
|
3406
|
+
};
|
|
3407
|
+
userId: string;
|
|
3408
|
+
endDate?: string | null | undefined;
|
|
2969
3409
|
}, {
|
|
3410
|
+
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
3411
|
+
createdAt: string | Date;
|
|
3412
|
+
updatedAt: string | Date;
|
|
2970
3413
|
id: string;
|
|
3414
|
+
pay: {
|
|
3415
|
+
rate: number;
|
|
3416
|
+
unit: "DAILY" | "HOURLY";
|
|
3417
|
+
};
|
|
3418
|
+
startDate: string | Date;
|
|
3419
|
+
worker: {
|
|
3420
|
+
id: string;
|
|
3421
|
+
firstName: string;
|
|
3422
|
+
lastName: string;
|
|
3423
|
+
};
|
|
3424
|
+
user: {
|
|
3425
|
+
id: string;
|
|
3426
|
+
firstName: string;
|
|
3427
|
+
lastName: string;
|
|
3428
|
+
email: string;
|
|
3429
|
+
};
|
|
3430
|
+
job: {
|
|
3431
|
+
id: string;
|
|
3432
|
+
title: string;
|
|
3433
|
+
};
|
|
3434
|
+
userId: string;
|
|
3435
|
+
endDate?: string | Date | null | undefined;
|
|
2971
3436
|
}>;
|
|
2972
3437
|
createdAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
|
|
2973
3438
|
updatedAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
|
|
@@ -2988,7 +3453,32 @@ export declare const apiContractRouter: {
|
|
|
2988
3453
|
hoursWorked: number | null;
|
|
2989
3454
|
hoursWorkedUpdatedAt: string | null;
|
|
2990
3455
|
booking: {
|
|
3456
|
+
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
3457
|
+
createdAt: string;
|
|
3458
|
+
updatedAt: string;
|
|
2991
3459
|
id: string;
|
|
3460
|
+
pay: {
|
|
3461
|
+
rate: number;
|
|
3462
|
+
unit: "DAILY" | "HOURLY";
|
|
3463
|
+
};
|
|
3464
|
+
startDate: string;
|
|
3465
|
+
worker: {
|
|
3466
|
+
id: string;
|
|
3467
|
+
firstName: string;
|
|
3468
|
+
lastName: string;
|
|
3469
|
+
};
|
|
3470
|
+
user: {
|
|
3471
|
+
id: string;
|
|
3472
|
+
firstName: string;
|
|
3473
|
+
lastName: string;
|
|
3474
|
+
email: string;
|
|
3475
|
+
};
|
|
3476
|
+
job: {
|
|
3477
|
+
id: string;
|
|
3478
|
+
title: string;
|
|
3479
|
+
};
|
|
3480
|
+
userId: string;
|
|
3481
|
+
endDate?: string | null | undefined;
|
|
2992
3482
|
};
|
|
2993
3483
|
}, {
|
|
2994
3484
|
date: string | Date;
|
|
@@ -3007,7 +3497,32 @@ export declare const apiContractRouter: {
|
|
|
3007
3497
|
hoursWorked: number | null;
|
|
3008
3498
|
hoursWorkedUpdatedAt: string | Date | null;
|
|
3009
3499
|
booking: {
|
|
3500
|
+
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
3501
|
+
createdAt: string | Date;
|
|
3502
|
+
updatedAt: string | Date;
|
|
3010
3503
|
id: string;
|
|
3504
|
+
pay: {
|
|
3505
|
+
rate: number;
|
|
3506
|
+
unit: "DAILY" | "HOURLY";
|
|
3507
|
+
};
|
|
3508
|
+
startDate: string | Date;
|
|
3509
|
+
worker: {
|
|
3510
|
+
id: string;
|
|
3511
|
+
firstName: string;
|
|
3512
|
+
lastName: string;
|
|
3513
|
+
};
|
|
3514
|
+
user: {
|
|
3515
|
+
id: string;
|
|
3516
|
+
firstName: string;
|
|
3517
|
+
lastName: string;
|
|
3518
|
+
email: string;
|
|
3519
|
+
};
|
|
3520
|
+
job: {
|
|
3521
|
+
id: string;
|
|
3522
|
+
title: string;
|
|
3523
|
+
};
|
|
3524
|
+
userId: string;
|
|
3525
|
+
endDate?: string | Date | null | undefined;
|
|
3011
3526
|
};
|
|
3012
3527
|
}>;
|
|
3013
3528
|
404: import("zod").ZodObject<{
|
|
@@ -3211,10 +3726,115 @@ export declare const apiContractRouter: {
|
|
|
3211
3726
|
hoursWorkedUpdatedAt: import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate, import("zod").ZodNull]>, string | null, string | Date | null>>;
|
|
3212
3727
|
booking: import("zod").ZodObject<{
|
|
3213
3728
|
id: import("zod").ZodString;
|
|
3729
|
+
status: import("zod").ZodEnum<["PENDING", "CONFIRMED", "CANCELLED", "COMPLETED", "REFUSED_BECAUSE_OF_NATIONALITY", "REFUSED_NOT_ENOUGH_EXPERIENCE", "REFUSED_JOB_FILLED", "REFUSED_IGNORED_DENIED", "REFUSED_BECAUSE_OF_DISTANCE", "WAITING_FOR_CONFIRMATION", "JOB_CANCELLED", "ANOTHER_SITUATION", "YELLOW_FOR_TOMORROW", "SPOKE_WITH_WORKER_IN_THE_MORNING", "ON_THE_WAY_TO_THE_SITE", "AT_THE_INDUCTION", "STARTED_THE_JOB", "DIDNT_START_BECAUSE_OF_WORKER", "DIDNT_START_BECAUSE_OF_US", "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE", "DIDNT_START_BECAUSE_OF_AGENCY", "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS"]>;
|
|
3730
|
+
startDate: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
|
|
3731
|
+
endDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate, import("zod").ZodNull]>, string | null, string | Date | null>>>;
|
|
3732
|
+
worker: import("zod").ZodObject<{
|
|
3733
|
+
id: import("zod").ZodString;
|
|
3734
|
+
firstName: import("zod").ZodString;
|
|
3735
|
+
lastName: import("zod").ZodString;
|
|
3736
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
3737
|
+
id: string;
|
|
3738
|
+
firstName: string;
|
|
3739
|
+
lastName: string;
|
|
3740
|
+
}, {
|
|
3741
|
+
id: string;
|
|
3742
|
+
firstName: string;
|
|
3743
|
+
lastName: string;
|
|
3744
|
+
}>;
|
|
3745
|
+
user: import("zod").ZodObject<{
|
|
3746
|
+
id: import("zod").ZodString;
|
|
3747
|
+
firstName: import("zod").ZodString;
|
|
3748
|
+
lastName: import("zod").ZodString;
|
|
3749
|
+
email: import("zod").ZodString;
|
|
3750
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
3751
|
+
id: string;
|
|
3752
|
+
firstName: string;
|
|
3753
|
+
lastName: string;
|
|
3754
|
+
email: string;
|
|
3755
|
+
}, {
|
|
3756
|
+
id: string;
|
|
3757
|
+
firstName: string;
|
|
3758
|
+
lastName: string;
|
|
3759
|
+
email: string;
|
|
3760
|
+
}>;
|
|
3761
|
+
pay: import("zod").ZodObject<{
|
|
3762
|
+
rate: import("zod").ZodNumber;
|
|
3763
|
+
unit: import("zod").ZodEnum<["DAILY", "HOURLY"]>;
|
|
3764
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
3765
|
+
rate: number;
|
|
3766
|
+
unit: "DAILY" | "HOURLY";
|
|
3767
|
+
}, {
|
|
3768
|
+
rate: number;
|
|
3769
|
+
unit: "DAILY" | "HOURLY";
|
|
3770
|
+
}>;
|
|
3771
|
+
job: import("zod").ZodObject<{
|
|
3772
|
+
id: import("zod").ZodString;
|
|
3773
|
+
title: import("zod").ZodString;
|
|
3774
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
3775
|
+
id: string;
|
|
3776
|
+
title: string;
|
|
3777
|
+
}, {
|
|
3778
|
+
id: string;
|
|
3779
|
+
title: string;
|
|
3780
|
+
}>;
|
|
3781
|
+
userId: import("zod").ZodString;
|
|
3782
|
+
createdAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
|
|
3783
|
+
updatedAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
|
|
3214
3784
|
}, "strip", import("zod").ZodTypeAny, {
|
|
3785
|
+
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
3786
|
+
createdAt: string;
|
|
3787
|
+
updatedAt: string;
|
|
3215
3788
|
id: string;
|
|
3789
|
+
pay: {
|
|
3790
|
+
rate: number;
|
|
3791
|
+
unit: "DAILY" | "HOURLY";
|
|
3792
|
+
};
|
|
3793
|
+
startDate: string;
|
|
3794
|
+
worker: {
|
|
3795
|
+
id: string;
|
|
3796
|
+
firstName: string;
|
|
3797
|
+
lastName: string;
|
|
3798
|
+
};
|
|
3799
|
+
user: {
|
|
3800
|
+
id: string;
|
|
3801
|
+
firstName: string;
|
|
3802
|
+
lastName: string;
|
|
3803
|
+
email: string;
|
|
3804
|
+
};
|
|
3805
|
+
job: {
|
|
3806
|
+
id: string;
|
|
3807
|
+
title: string;
|
|
3808
|
+
};
|
|
3809
|
+
userId: string;
|
|
3810
|
+
endDate?: string | null | undefined;
|
|
3216
3811
|
}, {
|
|
3812
|
+
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
3813
|
+
createdAt: string | Date;
|
|
3814
|
+
updatedAt: string | Date;
|
|
3217
3815
|
id: string;
|
|
3816
|
+
pay: {
|
|
3817
|
+
rate: number;
|
|
3818
|
+
unit: "DAILY" | "HOURLY";
|
|
3819
|
+
};
|
|
3820
|
+
startDate: string | Date;
|
|
3821
|
+
worker: {
|
|
3822
|
+
id: string;
|
|
3823
|
+
firstName: string;
|
|
3824
|
+
lastName: string;
|
|
3825
|
+
};
|
|
3826
|
+
user: {
|
|
3827
|
+
id: string;
|
|
3828
|
+
firstName: string;
|
|
3829
|
+
lastName: string;
|
|
3830
|
+
email: string;
|
|
3831
|
+
};
|
|
3832
|
+
job: {
|
|
3833
|
+
id: string;
|
|
3834
|
+
title: string;
|
|
3835
|
+
};
|
|
3836
|
+
userId: string;
|
|
3837
|
+
endDate?: string | Date | null | undefined;
|
|
3218
3838
|
}>;
|
|
3219
3839
|
createdAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
|
|
3220
3840
|
updatedAt: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>, string, string | Date>;
|
|
@@ -3235,7 +3855,32 @@ export declare const apiContractRouter: {
|
|
|
3235
3855
|
hoursWorked: number | null;
|
|
3236
3856
|
hoursWorkedUpdatedAt: string | null;
|
|
3237
3857
|
booking: {
|
|
3858
|
+
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
3859
|
+
createdAt: string;
|
|
3860
|
+
updatedAt: string;
|
|
3238
3861
|
id: string;
|
|
3862
|
+
pay: {
|
|
3863
|
+
rate: number;
|
|
3864
|
+
unit: "DAILY" | "HOURLY";
|
|
3865
|
+
};
|
|
3866
|
+
startDate: string;
|
|
3867
|
+
worker: {
|
|
3868
|
+
id: string;
|
|
3869
|
+
firstName: string;
|
|
3870
|
+
lastName: string;
|
|
3871
|
+
};
|
|
3872
|
+
user: {
|
|
3873
|
+
id: string;
|
|
3874
|
+
firstName: string;
|
|
3875
|
+
lastName: string;
|
|
3876
|
+
email: string;
|
|
3877
|
+
};
|
|
3878
|
+
job: {
|
|
3879
|
+
id: string;
|
|
3880
|
+
title: string;
|
|
3881
|
+
};
|
|
3882
|
+
userId: string;
|
|
3883
|
+
endDate?: string | null | undefined;
|
|
3239
3884
|
};
|
|
3240
3885
|
}, {
|
|
3241
3886
|
date: string | Date;
|
|
@@ -3254,7 +3899,32 @@ export declare const apiContractRouter: {
|
|
|
3254
3899
|
hoursWorked: number | null;
|
|
3255
3900
|
hoursWorkedUpdatedAt: string | Date | null;
|
|
3256
3901
|
booking: {
|
|
3902
|
+
status: "PENDING" | "CONFIRMED" | "CANCELLED" | "COMPLETED" | "REFUSED_BECAUSE_OF_NATIONALITY" | "REFUSED_NOT_ENOUGH_EXPERIENCE" | "REFUSED_JOB_FILLED" | "REFUSED_IGNORED_DENIED" | "REFUSED_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "JOB_CANCELLED" | "ANOTHER_SITUATION" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "DIDNT_START_BECAUSE_OF_WORKER" | "DIDNT_START_BECAUSE_OF_US" | "DIDNT_START_BECAUSE_OF_CONSTRUCTION_SITE" | "DIDNT_START_BECAUSE_OF_AGENCY" | "DIDNT_START_BECAUSE_OF_TOOLS_REQUIREMENTS";
|
|
3903
|
+
createdAt: string | Date;
|
|
3904
|
+
updatedAt: string | Date;
|
|
3257
3905
|
id: string;
|
|
3906
|
+
pay: {
|
|
3907
|
+
rate: number;
|
|
3908
|
+
unit: "DAILY" | "HOURLY";
|
|
3909
|
+
};
|
|
3910
|
+
startDate: string | Date;
|
|
3911
|
+
worker: {
|
|
3912
|
+
id: string;
|
|
3913
|
+
firstName: string;
|
|
3914
|
+
lastName: string;
|
|
3915
|
+
};
|
|
3916
|
+
user: {
|
|
3917
|
+
id: string;
|
|
3918
|
+
firstName: string;
|
|
3919
|
+
lastName: string;
|
|
3920
|
+
email: string;
|
|
3921
|
+
};
|
|
3922
|
+
job: {
|
|
3923
|
+
id: string;
|
|
3924
|
+
title: string;
|
|
3925
|
+
};
|
|
3926
|
+
userId: string;
|
|
3927
|
+
endDate?: string | Date | null | undefined;
|
|
3258
3928
|
};
|
|
3259
3929
|
}>;
|
|
3260
3930
|
404: import("zod").ZodObject<{
|
|
@@ -3786,13 +4456,13 @@ export declare const apiContractRouter: {
|
|
|
3786
4456
|
companyId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
3787
4457
|
tradeId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
3788
4458
|
}, "strip", import("zod").ZodTypeAny, {
|
|
3789
|
-
clientId?: string | null | undefined;
|
|
3790
4459
|
userId?: string | null | undefined;
|
|
4460
|
+
clientId?: string | null | undefined;
|
|
3791
4461
|
companyId?: string | null | undefined;
|
|
3792
4462
|
tradeId?: string | null | undefined;
|
|
3793
4463
|
}, {
|
|
3794
|
-
clientId?: string | null | undefined;
|
|
3795
4464
|
userId?: string | null | undefined;
|
|
4465
|
+
clientId?: string | null | undefined;
|
|
3796
4466
|
companyId?: string | null | undefined;
|
|
3797
4467
|
tradeId?: string | null | undefined;
|
|
3798
4468
|
}>>>;
|
|
@@ -3840,9 +4510,6 @@ export declare const apiContractRouter: {
|
|
|
3840
4510
|
from?: string | null | undefined;
|
|
3841
4511
|
to?: string | null | undefined;
|
|
3842
4512
|
} | null | undefined;
|
|
3843
|
-
sortBy?: "status" | "createdAt" | "updatedAt" | "startDate" | null | undefined;
|
|
3844
|
-
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
3845
|
-
clientId?: string | null | undefined;
|
|
3846
4513
|
startDate?: {
|
|
3847
4514
|
from?: string | null | undefined;
|
|
3848
4515
|
to?: string | null | undefined;
|
|
@@ -3852,11 +4519,14 @@ export declare const apiContractRouter: {
|
|
|
3852
4519
|
to?: string | null | undefined;
|
|
3853
4520
|
} | null | undefined;
|
|
3854
4521
|
job?: {
|
|
3855
|
-
clientId?: string | null | undefined;
|
|
3856
4522
|
userId?: string | null | undefined;
|
|
4523
|
+
clientId?: string | null | undefined;
|
|
3857
4524
|
companyId?: string | null | undefined;
|
|
3858
4525
|
tradeId?: string | null | undefined;
|
|
3859
4526
|
} | null | undefined;
|
|
4527
|
+
sortBy?: "status" | "createdAt" | "updatedAt" | "startDate" | null | undefined;
|
|
4528
|
+
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
4529
|
+
clientId?: string | null | undefined;
|
|
3860
4530
|
workerName?: string | null | undefined;
|
|
3861
4531
|
companyId?: string | null | undefined;
|
|
3862
4532
|
agentName?: string | null | undefined;
|
|
@@ -3866,11 +4536,6 @@ export declare const apiContractRouter: {
|
|
|
3866
4536
|
from?: string | null | undefined;
|
|
3867
4537
|
to?: string | null | undefined;
|
|
3868
4538
|
} | null | undefined;
|
|
3869
|
-
limit?: number | undefined;
|
|
3870
|
-
page?: number | undefined;
|
|
3871
|
-
sortBy?: "status" | "createdAt" | "updatedAt" | "startDate" | null | undefined;
|
|
3872
|
-
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
3873
|
-
clientId?: string | null | undefined;
|
|
3874
4539
|
startDate?: {
|
|
3875
4540
|
from?: string | null | undefined;
|
|
3876
4541
|
to?: string | null | undefined;
|
|
@@ -3880,11 +4545,16 @@ export declare const apiContractRouter: {
|
|
|
3880
4545
|
to?: string | null | undefined;
|
|
3881
4546
|
} | null | undefined;
|
|
3882
4547
|
job?: {
|
|
3883
|
-
clientId?: string | null | undefined;
|
|
3884
4548
|
userId?: string | null | undefined;
|
|
4549
|
+
clientId?: string | null | undefined;
|
|
3885
4550
|
companyId?: string | null | undefined;
|
|
3886
4551
|
tradeId?: string | null | undefined;
|
|
3887
4552
|
} | null | undefined;
|
|
4553
|
+
limit?: number | undefined;
|
|
4554
|
+
page?: number | undefined;
|
|
4555
|
+
sortBy?: "status" | "createdAt" | "updatedAt" | "startDate" | null | undefined;
|
|
4556
|
+
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
4557
|
+
clientId?: string | null | undefined;
|
|
3888
4558
|
workerName?: string | null | undefined;
|
|
3889
4559
|
companyId?: string | null | undefined;
|
|
3890
4560
|
agentName?: string | null | undefined;
|
|
@@ -6186,8 +6856,8 @@ export declare const apiContractRouter: {
|
|
|
6186
6856
|
email: import("zod").ZodString;
|
|
6187
6857
|
source: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6188
6858
|
}, "strip", import("zod").ZodTypeAny, {
|
|
6189
|
-
name: string;
|
|
6190
6859
|
email: string;
|
|
6860
|
+
name: string;
|
|
6191
6861
|
client: {
|
|
6192
6862
|
id: string;
|
|
6193
6863
|
};
|
|
@@ -6195,8 +6865,8 @@ export declare const apiContractRouter: {
|
|
|
6195
6865
|
position?: string | undefined;
|
|
6196
6866
|
source?: string | undefined;
|
|
6197
6867
|
}, {
|
|
6198
|
-
name: string;
|
|
6199
6868
|
email: string;
|
|
6869
|
+
name: string;
|
|
6200
6870
|
client: {
|
|
6201
6871
|
id: string;
|
|
6202
6872
|
};
|
|
@@ -6408,9 +7078,9 @@ export declare const apiContractRouter: {
|
|
|
6408
7078
|
createdAt: string;
|
|
6409
7079
|
updatedAt: string;
|
|
6410
7080
|
id: string;
|
|
7081
|
+
email: string;
|
|
6411
7082
|
clientId: string;
|
|
6412
7083
|
name: string;
|
|
6413
|
-
email: string;
|
|
6414
7084
|
client: {
|
|
6415
7085
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
6416
7086
|
createdAt: string;
|
|
@@ -6444,9 +7114,9 @@ export declare const apiContractRouter: {
|
|
|
6444
7114
|
createdAt: string | Date;
|
|
6445
7115
|
updatedAt: string | Date;
|
|
6446
7116
|
id: string;
|
|
7117
|
+
email: string;
|
|
6447
7118
|
clientId: string;
|
|
6448
7119
|
name: string;
|
|
6449
|
-
email: string;
|
|
6450
7120
|
client: {
|
|
6451
7121
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
6452
7122
|
createdAt: string | Date;
|
|
@@ -6531,14 +7201,14 @@ export declare const apiContractRouter: {
|
|
|
6531
7201
|
email: import("zod").ZodString;
|
|
6532
7202
|
source: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6533
7203
|
}, "client">, "strip", import("zod").ZodTypeAny, {
|
|
6534
|
-
name: string;
|
|
6535
7204
|
email: string;
|
|
7205
|
+
name: string;
|
|
6536
7206
|
phone: string;
|
|
6537
7207
|
position?: string | undefined;
|
|
6538
7208
|
source?: string | undefined;
|
|
6539
7209
|
}, {
|
|
6540
|
-
name: string;
|
|
6541
7210
|
email: string;
|
|
7211
|
+
name: string;
|
|
6542
7212
|
phone: string;
|
|
6543
7213
|
position?: string | undefined;
|
|
6544
7214
|
source?: string | undefined;
|
|
@@ -6747,9 +7417,9 @@ export declare const apiContractRouter: {
|
|
|
6747
7417
|
createdAt: string;
|
|
6748
7418
|
updatedAt: string;
|
|
6749
7419
|
id: string;
|
|
7420
|
+
email: string;
|
|
6750
7421
|
clientId: string;
|
|
6751
7422
|
name: string;
|
|
6752
|
-
email: string;
|
|
6753
7423
|
client: {
|
|
6754
7424
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
6755
7425
|
createdAt: string;
|
|
@@ -6783,9 +7453,9 @@ export declare const apiContractRouter: {
|
|
|
6783
7453
|
createdAt: string | Date;
|
|
6784
7454
|
updatedAt: string | Date;
|
|
6785
7455
|
id: string;
|
|
7456
|
+
email: string;
|
|
6786
7457
|
clientId: string;
|
|
6787
7458
|
name: string;
|
|
6788
|
-
email: string;
|
|
6789
7459
|
client: {
|
|
6790
7460
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
6791
7461
|
createdAt: string | Date;
|
|
@@ -6861,21 +7531,21 @@ export declare const apiContractRouter: {
|
|
|
6861
7531
|
}, "strip", import("zod").ZodTypeAny, {
|
|
6862
7532
|
limit: number;
|
|
6863
7533
|
page: number;
|
|
6864
|
-
sortBy: "createdAt" | "updatedAt" | "
|
|
7534
|
+
sortBy: "createdAt" | "updatedAt" | "email" | "name" | "position";
|
|
6865
7535
|
sortOrder: "ASC" | "DESC";
|
|
7536
|
+
email?: string | undefined;
|
|
6866
7537
|
clientId?: string | undefined;
|
|
6867
7538
|
name?: string | undefined;
|
|
6868
|
-
email?: string | undefined;
|
|
6869
7539
|
phone?: string | undefined;
|
|
6870
7540
|
createdById?: string | undefined;
|
|
6871
7541
|
}, {
|
|
7542
|
+
email?: string | undefined;
|
|
6872
7543
|
limit?: number | undefined;
|
|
6873
7544
|
page?: number | undefined;
|
|
6874
|
-
sortBy?: "createdAt" | "updatedAt" | "
|
|
7545
|
+
sortBy?: "createdAt" | "updatedAt" | "email" | "name" | "position" | undefined;
|
|
6875
7546
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
6876
7547
|
clientId?: string | undefined;
|
|
6877
7548
|
name?: string | undefined;
|
|
6878
|
-
email?: string | undefined;
|
|
6879
7549
|
phone?: string | undefined;
|
|
6880
7550
|
createdById?: string | undefined;
|
|
6881
7551
|
}>;
|
|
@@ -7086,9 +7756,9 @@ export declare const apiContractRouter: {
|
|
|
7086
7756
|
createdAt: string;
|
|
7087
7757
|
updatedAt: string;
|
|
7088
7758
|
id: string;
|
|
7759
|
+
email: string;
|
|
7089
7760
|
clientId: string;
|
|
7090
7761
|
name: string;
|
|
7091
|
-
email: string;
|
|
7092
7762
|
client: {
|
|
7093
7763
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
7094
7764
|
createdAt: string;
|
|
@@ -7122,9 +7792,9 @@ export declare const apiContractRouter: {
|
|
|
7122
7792
|
createdAt: string | Date;
|
|
7123
7793
|
updatedAt: string | Date;
|
|
7124
7794
|
id: string;
|
|
7795
|
+
email: string;
|
|
7125
7796
|
clientId: string;
|
|
7126
7797
|
name: string;
|
|
7127
|
-
email: string;
|
|
7128
7798
|
client: {
|
|
7129
7799
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
7130
7800
|
createdAt: string | Date;
|
|
@@ -7166,9 +7836,9 @@ export declare const apiContractRouter: {
|
|
|
7166
7836
|
createdAt: string;
|
|
7167
7837
|
updatedAt: string;
|
|
7168
7838
|
id: string;
|
|
7839
|
+
email: string;
|
|
7169
7840
|
clientId: string;
|
|
7170
7841
|
name: string;
|
|
7171
|
-
email: string;
|
|
7172
7842
|
client: {
|
|
7173
7843
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
7174
7844
|
createdAt: string;
|
|
@@ -7209,9 +7879,9 @@ export declare const apiContractRouter: {
|
|
|
7209
7879
|
createdAt: string | Date;
|
|
7210
7880
|
updatedAt: string | Date;
|
|
7211
7881
|
id: string;
|
|
7882
|
+
email: string;
|
|
7212
7883
|
clientId: string;
|
|
7213
7884
|
name: string;
|
|
7214
|
-
email: string;
|
|
7215
7885
|
client: {
|
|
7216
7886
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
7217
7887
|
createdAt: string | Date;
|
|
@@ -7466,9 +8136,9 @@ export declare const apiContractRouter: {
|
|
|
7466
8136
|
createdAt: string;
|
|
7467
8137
|
updatedAt: string;
|
|
7468
8138
|
id: string;
|
|
8139
|
+
email: string;
|
|
7469
8140
|
clientId: string;
|
|
7470
8141
|
name: string;
|
|
7471
|
-
email: string;
|
|
7472
8142
|
client: {
|
|
7473
8143
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
7474
8144
|
createdAt: string;
|
|
@@ -7502,9 +8172,9 @@ export declare const apiContractRouter: {
|
|
|
7502
8172
|
createdAt: string | Date;
|
|
7503
8173
|
updatedAt: string | Date;
|
|
7504
8174
|
id: string;
|
|
8175
|
+
email: string;
|
|
7505
8176
|
clientId: string;
|
|
7506
8177
|
name: string;
|
|
7507
|
-
email: string;
|
|
7508
8178
|
client: {
|
|
7509
8179
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
7510
8180
|
createdAt: string | Date;
|
|
@@ -7589,14 +8259,14 @@ export declare const apiContractRouter: {
|
|
|
7589
8259
|
email: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7590
8260
|
source: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
7591
8261
|
}, "client">, "strip", import("zod").ZodTypeAny, {
|
|
7592
|
-
name?: string | undefined;
|
|
7593
8262
|
email?: string | undefined;
|
|
8263
|
+
name?: string | undefined;
|
|
7594
8264
|
phone?: string | undefined;
|
|
7595
8265
|
position?: string | undefined;
|
|
7596
8266
|
source?: string | undefined;
|
|
7597
8267
|
}, {
|
|
7598
|
-
name?: string | undefined;
|
|
7599
8268
|
email?: string | undefined;
|
|
8269
|
+
name?: string | undefined;
|
|
7600
8270
|
phone?: string | undefined;
|
|
7601
8271
|
position?: string | undefined;
|
|
7602
8272
|
source?: string | undefined;
|
|
@@ -7805,9 +8475,9 @@ export declare const apiContractRouter: {
|
|
|
7805
8475
|
createdAt: string;
|
|
7806
8476
|
updatedAt: string;
|
|
7807
8477
|
id: string;
|
|
8478
|
+
email: string;
|
|
7808
8479
|
clientId: string;
|
|
7809
8480
|
name: string;
|
|
7810
|
-
email: string;
|
|
7811
8481
|
client: {
|
|
7812
8482
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
7813
8483
|
createdAt: string;
|
|
@@ -7841,9 +8511,9 @@ export declare const apiContractRouter: {
|
|
|
7841
8511
|
createdAt: string | Date;
|
|
7842
8512
|
updatedAt: string | Date;
|
|
7843
8513
|
id: string;
|
|
8514
|
+
email: string;
|
|
7844
8515
|
clientId: string;
|
|
7845
8516
|
name: string;
|
|
7846
|
-
email: string;
|
|
7847
8517
|
client: {
|
|
7848
8518
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
7849
8519
|
createdAt: string | Date;
|
|
@@ -8328,9 +8998,9 @@ export declare const apiContractRouter: {
|
|
|
8328
8998
|
createdAt: string;
|
|
8329
8999
|
updatedAt: string;
|
|
8330
9000
|
id: string;
|
|
9001
|
+
email: string;
|
|
8331
9002
|
clientId: string;
|
|
8332
9003
|
name: string;
|
|
8333
|
-
email: string;
|
|
8334
9004
|
client: {
|
|
8335
9005
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
8336
9006
|
createdAt: string;
|
|
@@ -8364,9 +9034,9 @@ export declare const apiContractRouter: {
|
|
|
8364
9034
|
createdAt: string | Date;
|
|
8365
9035
|
updatedAt: string | Date;
|
|
8366
9036
|
id: string;
|
|
9037
|
+
email: string;
|
|
8367
9038
|
clientId: string;
|
|
8368
9039
|
name: string;
|
|
8369
|
-
email: string;
|
|
8370
9040
|
client: {
|
|
8371
9041
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
8372
9042
|
createdAt: string | Date;
|
|
@@ -8429,9 +9099,9 @@ export declare const apiContractRouter: {
|
|
|
8429
9099
|
createdAt: string;
|
|
8430
9100
|
updatedAt: string;
|
|
8431
9101
|
id: string;
|
|
9102
|
+
email: string;
|
|
8432
9103
|
clientId: string;
|
|
8433
9104
|
name: string;
|
|
8434
|
-
email: string;
|
|
8435
9105
|
client: {
|
|
8436
9106
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
8437
9107
|
createdAt: string;
|
|
@@ -8486,9 +9156,9 @@ export declare const apiContractRouter: {
|
|
|
8486
9156
|
createdAt: string | Date;
|
|
8487
9157
|
updatedAt: string | Date;
|
|
8488
9158
|
id: string;
|
|
9159
|
+
email: string;
|
|
8489
9160
|
clientId: string;
|
|
8490
9161
|
name: string;
|
|
8491
|
-
email: string;
|
|
8492
9162
|
client: {
|
|
8493
9163
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
8494
9164
|
createdAt: string | Date;
|
|
@@ -8805,9 +9475,9 @@ export declare const apiContractRouter: {
|
|
|
8805
9475
|
createdAt: string;
|
|
8806
9476
|
updatedAt: string;
|
|
8807
9477
|
id: string;
|
|
9478
|
+
email: string;
|
|
8808
9479
|
clientId: string;
|
|
8809
9480
|
name: string;
|
|
8810
|
-
email: string;
|
|
8811
9481
|
client: {
|
|
8812
9482
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
8813
9483
|
createdAt: string;
|
|
@@ -8841,9 +9511,9 @@ export declare const apiContractRouter: {
|
|
|
8841
9511
|
createdAt: string | Date;
|
|
8842
9512
|
updatedAt: string | Date;
|
|
8843
9513
|
id: string;
|
|
9514
|
+
email: string;
|
|
8844
9515
|
clientId: string;
|
|
8845
9516
|
name: string;
|
|
8846
|
-
email: string;
|
|
8847
9517
|
client: {
|
|
8848
9518
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
8849
9519
|
createdAt: string | Date;
|
|
@@ -8906,9 +9576,9 @@ export declare const apiContractRouter: {
|
|
|
8906
9576
|
createdAt: string;
|
|
8907
9577
|
updatedAt: string;
|
|
8908
9578
|
id: string;
|
|
9579
|
+
email: string;
|
|
8909
9580
|
clientId: string;
|
|
8910
9581
|
name: string;
|
|
8911
|
-
email: string;
|
|
8912
9582
|
client: {
|
|
8913
9583
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
8914
9584
|
createdAt: string;
|
|
@@ -8963,9 +9633,9 @@ export declare const apiContractRouter: {
|
|
|
8963
9633
|
createdAt: string | Date;
|
|
8964
9634
|
updatedAt: string | Date;
|
|
8965
9635
|
id: string;
|
|
9636
|
+
email: string;
|
|
8966
9637
|
clientId: string;
|
|
8967
9638
|
name: string;
|
|
8968
|
-
email: string;
|
|
8969
9639
|
client: {
|
|
8970
9640
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
8971
9641
|
createdAt: string | Date;
|
|
@@ -9028,9 +9698,9 @@ export declare const apiContractRouter: {
|
|
|
9028
9698
|
createdAt: string;
|
|
9029
9699
|
updatedAt: string;
|
|
9030
9700
|
id: string;
|
|
9701
|
+
email: string;
|
|
9031
9702
|
clientId: string;
|
|
9032
9703
|
name: string;
|
|
9033
|
-
email: string;
|
|
9034
9704
|
client: {
|
|
9035
9705
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
9036
9706
|
createdAt: string;
|
|
@@ -9092,9 +9762,9 @@ export declare const apiContractRouter: {
|
|
|
9092
9762
|
createdAt: string | Date;
|
|
9093
9763
|
updatedAt: string | Date;
|
|
9094
9764
|
id: string;
|
|
9765
|
+
email: string;
|
|
9095
9766
|
clientId: string;
|
|
9096
9767
|
name: string;
|
|
9097
|
-
email: string;
|
|
9098
9768
|
client: {
|
|
9099
9769
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
9100
9770
|
createdAt: string | Date;
|
|
@@ -9365,9 +10035,9 @@ export declare const apiContractRouter: {
|
|
|
9365
10035
|
createdAt: string;
|
|
9366
10036
|
updatedAt: string;
|
|
9367
10037
|
id: string;
|
|
10038
|
+
email: string;
|
|
9368
10039
|
clientId: string;
|
|
9369
10040
|
name: string;
|
|
9370
|
-
email: string;
|
|
9371
10041
|
client: {
|
|
9372
10042
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
9373
10043
|
createdAt: string;
|
|
@@ -9401,9 +10071,9 @@ export declare const apiContractRouter: {
|
|
|
9401
10071
|
createdAt: string | Date;
|
|
9402
10072
|
updatedAt: string | Date;
|
|
9403
10073
|
id: string;
|
|
10074
|
+
email: string;
|
|
9404
10075
|
clientId: string;
|
|
9405
10076
|
name: string;
|
|
9406
|
-
email: string;
|
|
9407
10077
|
client: {
|
|
9408
10078
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
9409
10079
|
createdAt: string | Date;
|
|
@@ -9466,9 +10136,9 @@ export declare const apiContractRouter: {
|
|
|
9466
10136
|
createdAt: string;
|
|
9467
10137
|
updatedAt: string;
|
|
9468
10138
|
id: string;
|
|
10139
|
+
email: string;
|
|
9469
10140
|
clientId: string;
|
|
9470
10141
|
name: string;
|
|
9471
|
-
email: string;
|
|
9472
10142
|
client: {
|
|
9473
10143
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
9474
10144
|
createdAt: string;
|
|
@@ -9523,9 +10193,9 @@ export declare const apiContractRouter: {
|
|
|
9523
10193
|
createdAt: string | Date;
|
|
9524
10194
|
updatedAt: string | Date;
|
|
9525
10195
|
id: string;
|
|
10196
|
+
email: string;
|
|
9526
10197
|
clientId: string;
|
|
9527
10198
|
name: string;
|
|
9528
|
-
email: string;
|
|
9529
10199
|
client: {
|
|
9530
10200
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
9531
10201
|
createdAt: string | Date;
|
|
@@ -9850,9 +10520,9 @@ export declare const apiContractRouter: {
|
|
|
9850
10520
|
createdAt: string;
|
|
9851
10521
|
updatedAt: string;
|
|
9852
10522
|
id: string;
|
|
10523
|
+
email: string;
|
|
9853
10524
|
clientId: string;
|
|
9854
10525
|
name: string;
|
|
9855
|
-
email: string;
|
|
9856
10526
|
client: {
|
|
9857
10527
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
9858
10528
|
createdAt: string;
|
|
@@ -9886,9 +10556,9 @@ export declare const apiContractRouter: {
|
|
|
9886
10556
|
createdAt: string | Date;
|
|
9887
10557
|
updatedAt: string | Date;
|
|
9888
10558
|
id: string;
|
|
10559
|
+
email: string;
|
|
9889
10560
|
clientId: string;
|
|
9890
10561
|
name: string;
|
|
9891
|
-
email: string;
|
|
9892
10562
|
client: {
|
|
9893
10563
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
9894
10564
|
createdAt: string | Date;
|
|
@@ -9951,9 +10621,9 @@ export declare const apiContractRouter: {
|
|
|
9951
10621
|
createdAt: string;
|
|
9952
10622
|
updatedAt: string;
|
|
9953
10623
|
id: string;
|
|
10624
|
+
email: string;
|
|
9954
10625
|
clientId: string;
|
|
9955
10626
|
name: string;
|
|
9956
|
-
email: string;
|
|
9957
10627
|
client: {
|
|
9958
10628
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
9959
10629
|
createdAt: string;
|
|
@@ -10008,9 +10678,9 @@ export declare const apiContractRouter: {
|
|
|
10008
10678
|
createdAt: string | Date;
|
|
10009
10679
|
updatedAt: string | Date;
|
|
10010
10680
|
id: string;
|
|
10681
|
+
email: string;
|
|
10011
10682
|
clientId: string;
|
|
10012
10683
|
name: string;
|
|
10013
|
-
email: string;
|
|
10014
10684
|
client: {
|
|
10015
10685
|
status: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED";
|
|
10016
10686
|
createdAt: string | Date;
|
|
@@ -11736,9 +12406,9 @@ export declare const apiContractRouter: {
|
|
|
11736
12406
|
page: number;
|
|
11737
12407
|
sortOrder: "ASC" | "DESC";
|
|
11738
12408
|
status?: "BLACKLISTED" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "INACTIVE" | undefined;
|
|
12409
|
+
email?: string | undefined;
|
|
11739
12410
|
sortBy?: "status" | "createdAt" | "updatedAt" | "email" | "phone" | "rating" | "distance" | "nameSimilarity" | "fullName" | undefined;
|
|
11740
12411
|
name?: string | undefined;
|
|
11741
|
-
email?: string | undefined;
|
|
11742
12412
|
phone?: string | undefined;
|
|
11743
12413
|
nino?: string | undefined;
|
|
11744
12414
|
englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | undefined;
|
|
@@ -11755,12 +12425,12 @@ export declare const apiContractRouter: {
|
|
|
11755
12425
|
}[] | undefined;
|
|
11756
12426
|
}, {
|
|
11757
12427
|
status?: "BLACKLISTED" | "AVAILABLE" | "PARTIALLY_AVAILABLE" | "BOOKED" | "ON_HOLD" | "INACTIVE" | undefined;
|
|
12428
|
+
email?: string | undefined;
|
|
11758
12429
|
limit?: number | undefined;
|
|
11759
12430
|
page?: number | undefined;
|
|
11760
12431
|
sortBy?: "status" | "createdAt" | "updatedAt" | "email" | "phone" | "rating" | "distance" | "nameSimilarity" | "fullName" | undefined;
|
|
11761
12432
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
11762
12433
|
name?: string | undefined;
|
|
11763
|
-
email?: string | undefined;
|
|
11764
12434
|
phone?: string | undefined;
|
|
11765
12435
|
nino?: string | undefined;
|
|
11766
12436
|
englishLevel?: "NONE" | "BASIC" | "INTERMEDIATE" | "ADVANCED" | "NATIVE" | undefined;
|
|
@@ -13472,22 +14142,22 @@ export declare const apiContractRouter: {
|
|
|
13472
14142
|
}, "strip", import("zod").ZodTypeAny, {
|
|
13473
14143
|
limit: number;
|
|
13474
14144
|
page: number;
|
|
14145
|
+
email?: string | undefined;
|
|
13475
14146
|
sortBy?: "createdAt" | "firstName" | "lastName" | "email" | "phone" | undefined;
|
|
13476
14147
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
13477
14148
|
name?: string | undefined;
|
|
13478
|
-
email?: string | undefined;
|
|
13479
14149
|
phone?: string | undefined;
|
|
13480
14150
|
roles?: {
|
|
13481
14151
|
values?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
|
|
13482
14152
|
requireAll?: boolean | undefined;
|
|
13483
14153
|
} | undefined;
|
|
13484
14154
|
}, {
|
|
14155
|
+
email?: string | undefined;
|
|
13485
14156
|
limit?: number | undefined;
|
|
13486
14157
|
page?: number | undefined;
|
|
13487
14158
|
sortBy?: "createdAt" | "firstName" | "lastName" | "email" | "phone" | undefined;
|
|
13488
14159
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
13489
14160
|
name?: string | undefined;
|
|
13490
|
-
email?: string | undefined;
|
|
13491
14161
|
phone?: string | undefined;
|
|
13492
14162
|
roles?: {
|
|
13493
14163
|
values?: ("SECOND_AGENT" | "FIRST_AGENT" | "ADMIN" | "COMPANY_CHECKING")[] | undefined;
|
|
@@ -16870,10 +17540,6 @@ export declare const apiContractRouter: {
|
|
|
16870
17540
|
createdAt: string;
|
|
16871
17541
|
updatedAt: string;
|
|
16872
17542
|
id: string;
|
|
16873
|
-
client: {
|
|
16874
|
-
id: string;
|
|
16875
|
-
name: string;
|
|
16876
|
-
};
|
|
16877
17543
|
user: {
|
|
16878
17544
|
id: string;
|
|
16879
17545
|
firstName: string;
|
|
@@ -16881,6 +17547,10 @@ export declare const apiContractRouter: {
|
|
|
16881
17547
|
email: string;
|
|
16882
17548
|
};
|
|
16883
17549
|
userId: string;
|
|
17550
|
+
client: {
|
|
17551
|
+
id: string;
|
|
17552
|
+
name: string;
|
|
17553
|
+
};
|
|
16884
17554
|
company: {
|
|
16885
17555
|
id: string;
|
|
16886
17556
|
name: string;
|
|
@@ -16893,10 +17563,6 @@ export declare const apiContractRouter: {
|
|
|
16893
17563
|
createdAt: string | Date;
|
|
16894
17564
|
updatedAt: string | Date;
|
|
16895
17565
|
id: string;
|
|
16896
|
-
client: {
|
|
16897
|
-
id: string;
|
|
16898
|
-
name: string;
|
|
16899
|
-
};
|
|
16900
17566
|
user: {
|
|
16901
17567
|
id: string;
|
|
16902
17568
|
firstName: string;
|
|
@@ -16904,6 +17570,10 @@ export declare const apiContractRouter: {
|
|
|
16904
17570
|
email: string;
|
|
16905
17571
|
};
|
|
16906
17572
|
userId: string;
|
|
17573
|
+
client: {
|
|
17574
|
+
id: string;
|
|
17575
|
+
name: string;
|
|
17576
|
+
};
|
|
16907
17577
|
company: {
|
|
16908
17578
|
id: string;
|
|
16909
17579
|
name: string;
|
|
@@ -16960,19 +17630,19 @@ export declare const apiContractRouter: {
|
|
|
16960
17630
|
limit: number;
|
|
16961
17631
|
page: number;
|
|
16962
17632
|
status?: "ACTIVE" | "APPROVED" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT" | null | undefined;
|
|
17633
|
+
userId?: string | null | undefined;
|
|
16963
17634
|
sortBy?: "status" | "createdAt" | "updatedAt" | null | undefined;
|
|
16964
17635
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
16965
17636
|
clientId?: string | null | undefined;
|
|
16966
|
-
userId?: string | null | undefined;
|
|
16967
17637
|
companyId?: string | null | undefined;
|
|
16968
17638
|
}, {
|
|
16969
17639
|
status?: "ACTIVE" | "APPROVED" | "REJECTED" | "INACTIVE" | "PENDING_APPROVAL" | "CHANGED_COMPANY" | "CHANGED_AGENT" | null | undefined;
|
|
17640
|
+
userId?: string | null | undefined;
|
|
16970
17641
|
limit?: number | undefined;
|
|
16971
17642
|
page?: number | undefined;
|
|
16972
17643
|
sortBy?: "status" | "createdAt" | "updatedAt" | null | undefined;
|
|
16973
17644
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
16974
17645
|
clientId?: string | null | undefined;
|
|
16975
|
-
userId?: string | null | undefined;
|
|
16976
17646
|
companyId?: string | null | undefined;
|
|
16977
17647
|
}>;
|
|
16978
17648
|
summary: "Get all collaborations";
|
|
@@ -17134,10 +17804,6 @@ export declare const apiContractRouter: {
|
|
|
17134
17804
|
createdAt: string;
|
|
17135
17805
|
updatedAt: string;
|
|
17136
17806
|
id: string;
|
|
17137
|
-
client: {
|
|
17138
|
-
id: string;
|
|
17139
|
-
name: string;
|
|
17140
|
-
};
|
|
17141
17807
|
user: {
|
|
17142
17808
|
id: string;
|
|
17143
17809
|
firstName: string;
|
|
@@ -17145,6 +17811,10 @@ export declare const apiContractRouter: {
|
|
|
17145
17811
|
email: string;
|
|
17146
17812
|
};
|
|
17147
17813
|
userId: string;
|
|
17814
|
+
client: {
|
|
17815
|
+
id: string;
|
|
17816
|
+
name: string;
|
|
17817
|
+
};
|
|
17148
17818
|
company: {
|
|
17149
17819
|
id: string;
|
|
17150
17820
|
name: string;
|
|
@@ -17157,10 +17827,6 @@ export declare const apiContractRouter: {
|
|
|
17157
17827
|
createdAt: string | Date;
|
|
17158
17828
|
updatedAt: string | Date;
|
|
17159
17829
|
id: string;
|
|
17160
|
-
client: {
|
|
17161
|
-
id: string;
|
|
17162
|
-
name: string;
|
|
17163
|
-
};
|
|
17164
17830
|
user: {
|
|
17165
17831
|
id: string;
|
|
17166
17832
|
firstName: string;
|
|
@@ -17168,6 +17834,10 @@ export declare const apiContractRouter: {
|
|
|
17168
17834
|
email: string;
|
|
17169
17835
|
};
|
|
17170
17836
|
userId: string;
|
|
17837
|
+
client: {
|
|
17838
|
+
id: string;
|
|
17839
|
+
name: string;
|
|
17840
|
+
};
|
|
17171
17841
|
company: {
|
|
17172
17842
|
id: string;
|
|
17173
17843
|
name: string;
|
|
@@ -17188,10 +17858,6 @@ export declare const apiContractRouter: {
|
|
|
17188
17858
|
createdAt: string;
|
|
17189
17859
|
updatedAt: string;
|
|
17190
17860
|
id: string;
|
|
17191
|
-
client: {
|
|
17192
|
-
id: string;
|
|
17193
|
-
name: string;
|
|
17194
|
-
};
|
|
17195
17861
|
user: {
|
|
17196
17862
|
id: string;
|
|
17197
17863
|
firstName: string;
|
|
@@ -17199,6 +17865,10 @@ export declare const apiContractRouter: {
|
|
|
17199
17865
|
email: string;
|
|
17200
17866
|
};
|
|
17201
17867
|
userId: string;
|
|
17868
|
+
client: {
|
|
17869
|
+
id: string;
|
|
17870
|
+
name: string;
|
|
17871
|
+
};
|
|
17202
17872
|
company: {
|
|
17203
17873
|
id: string;
|
|
17204
17874
|
name: string;
|
|
@@ -17218,10 +17888,6 @@ export declare const apiContractRouter: {
|
|
|
17218
17888
|
createdAt: string | Date;
|
|
17219
17889
|
updatedAt: string | Date;
|
|
17220
17890
|
id: string;
|
|
17221
|
-
client: {
|
|
17222
|
-
id: string;
|
|
17223
|
-
name: string;
|
|
17224
|
-
};
|
|
17225
17891
|
user: {
|
|
17226
17892
|
id: string;
|
|
17227
17893
|
firstName: string;
|
|
@@ -17229,6 +17895,10 @@ export declare const apiContractRouter: {
|
|
|
17229
17895
|
email: string;
|
|
17230
17896
|
};
|
|
17231
17897
|
userId: string;
|
|
17898
|
+
client: {
|
|
17899
|
+
id: string;
|
|
17900
|
+
name: string;
|
|
17901
|
+
};
|
|
17232
17902
|
company: {
|
|
17233
17903
|
id: string;
|
|
17234
17904
|
name: string;
|
|
@@ -17393,25 +18063,25 @@ export declare const apiContractRouter: {
|
|
|
17393
18063
|
}>;
|
|
17394
18064
|
}, "strip", import("zod").ZodTypeAny, {
|
|
17395
18065
|
id: string;
|
|
17396
|
-
client: {
|
|
17397
|
-
name: string;
|
|
17398
|
-
};
|
|
17399
18066
|
user: {
|
|
17400
18067
|
firstName: string;
|
|
17401
18068
|
lastName: string;
|
|
17402
18069
|
};
|
|
18070
|
+
client: {
|
|
18071
|
+
name: string;
|
|
18072
|
+
};
|
|
17403
18073
|
company: {
|
|
17404
18074
|
name: string;
|
|
17405
18075
|
};
|
|
17406
18076
|
}, {
|
|
17407
18077
|
id: string;
|
|
17408
|
-
client: {
|
|
17409
|
-
name: string;
|
|
17410
|
-
};
|
|
17411
18078
|
user: {
|
|
17412
18079
|
firstName: string;
|
|
17413
18080
|
lastName: string;
|
|
17414
18081
|
};
|
|
18082
|
+
client: {
|
|
18083
|
+
name: string;
|
|
18084
|
+
};
|
|
17415
18085
|
company: {
|
|
17416
18086
|
name: string;
|
|
17417
18087
|
};
|
|
@@ -17590,10 +18260,6 @@ export declare const apiContractRouter: {
|
|
|
17590
18260
|
createdAt: string;
|
|
17591
18261
|
updatedAt: string;
|
|
17592
18262
|
id: string;
|
|
17593
|
-
client: {
|
|
17594
|
-
id: string;
|
|
17595
|
-
name: string;
|
|
17596
|
-
};
|
|
17597
18263
|
user: {
|
|
17598
18264
|
id: string;
|
|
17599
18265
|
firstName: string;
|
|
@@ -17601,6 +18267,10 @@ export declare const apiContractRouter: {
|
|
|
17601
18267
|
email: string;
|
|
17602
18268
|
};
|
|
17603
18269
|
userId: string;
|
|
18270
|
+
client: {
|
|
18271
|
+
id: string;
|
|
18272
|
+
name: string;
|
|
18273
|
+
};
|
|
17604
18274
|
company: {
|
|
17605
18275
|
id: string;
|
|
17606
18276
|
name: string;
|
|
@@ -17613,10 +18283,6 @@ export declare const apiContractRouter: {
|
|
|
17613
18283
|
createdAt: string | Date;
|
|
17614
18284
|
updatedAt: string | Date;
|
|
17615
18285
|
id: string;
|
|
17616
|
-
client: {
|
|
17617
|
-
id: string;
|
|
17618
|
-
name: string;
|
|
17619
|
-
};
|
|
17620
18286
|
user: {
|
|
17621
18287
|
id: string;
|
|
17622
18288
|
firstName: string;
|
|
@@ -17624,6 +18290,10 @@ export declare const apiContractRouter: {
|
|
|
17624
18290
|
email: string;
|
|
17625
18291
|
};
|
|
17626
18292
|
userId: string;
|
|
18293
|
+
client: {
|
|
18294
|
+
id: string;
|
|
18295
|
+
name: string;
|
|
18296
|
+
};
|
|
17627
18297
|
company: {
|
|
17628
18298
|
id: string;
|
|
17629
18299
|
name: string;
|
|
@@ -17838,10 +18508,6 @@ export declare const apiContractRouter: {
|
|
|
17838
18508
|
createdAt: string;
|
|
17839
18509
|
updatedAt: string;
|
|
17840
18510
|
id: string;
|
|
17841
|
-
client: {
|
|
17842
|
-
id: string;
|
|
17843
|
-
name: string;
|
|
17844
|
-
};
|
|
17845
18511
|
user: {
|
|
17846
18512
|
id: string;
|
|
17847
18513
|
firstName: string;
|
|
@@ -17849,6 +18515,10 @@ export declare const apiContractRouter: {
|
|
|
17849
18515
|
email: string;
|
|
17850
18516
|
};
|
|
17851
18517
|
userId: string;
|
|
18518
|
+
client: {
|
|
18519
|
+
id: string;
|
|
18520
|
+
name: string;
|
|
18521
|
+
};
|
|
17852
18522
|
company: {
|
|
17853
18523
|
id: string;
|
|
17854
18524
|
name: string;
|
|
@@ -17861,10 +18531,6 @@ export declare const apiContractRouter: {
|
|
|
17861
18531
|
createdAt: string | Date;
|
|
17862
18532
|
updatedAt: string | Date;
|
|
17863
18533
|
id: string;
|
|
17864
|
-
client: {
|
|
17865
|
-
id: string;
|
|
17866
|
-
name: string;
|
|
17867
|
-
};
|
|
17868
18534
|
user: {
|
|
17869
18535
|
id: string;
|
|
17870
18536
|
firstName: string;
|
|
@@ -17872,6 +18538,10 @@ export declare const apiContractRouter: {
|
|
|
17872
18538
|
email: string;
|
|
17873
18539
|
};
|
|
17874
18540
|
userId: string;
|
|
18541
|
+
client: {
|
|
18542
|
+
id: string;
|
|
18543
|
+
name: string;
|
|
18544
|
+
};
|
|
17875
18545
|
company: {
|
|
17876
18546
|
id: string;
|
|
17877
18547
|
name: string;
|
|
@@ -18290,10 +18960,6 @@ export declare const apiContractRouter: {
|
|
|
18290
18960
|
createdAt: string;
|
|
18291
18961
|
updatedAt: string;
|
|
18292
18962
|
id: string;
|
|
18293
|
-
client: {
|
|
18294
|
-
id: string;
|
|
18295
|
-
name: string;
|
|
18296
|
-
};
|
|
18297
18963
|
user: {
|
|
18298
18964
|
id: string;
|
|
18299
18965
|
firstName: string;
|
|
@@ -18301,6 +18967,10 @@ export declare const apiContractRouter: {
|
|
|
18301
18967
|
email: string;
|
|
18302
18968
|
};
|
|
18303
18969
|
userId: string;
|
|
18970
|
+
client: {
|
|
18971
|
+
id: string;
|
|
18972
|
+
name: string;
|
|
18973
|
+
};
|
|
18304
18974
|
company: {
|
|
18305
18975
|
id: string;
|
|
18306
18976
|
name: string;
|
|
@@ -18313,10 +18983,6 @@ export declare const apiContractRouter: {
|
|
|
18313
18983
|
createdAt: string | Date;
|
|
18314
18984
|
updatedAt: string | Date;
|
|
18315
18985
|
id: string;
|
|
18316
|
-
client: {
|
|
18317
|
-
id: string;
|
|
18318
|
-
name: string;
|
|
18319
|
-
};
|
|
18320
18986
|
user: {
|
|
18321
18987
|
id: string;
|
|
18322
18988
|
firstName: string;
|
|
@@ -18324,6 +18990,10 @@ export declare const apiContractRouter: {
|
|
|
18324
18990
|
email: string;
|
|
18325
18991
|
};
|
|
18326
18992
|
userId: string;
|
|
18993
|
+
client: {
|
|
18994
|
+
id: string;
|
|
18995
|
+
name: string;
|
|
18996
|
+
};
|
|
18327
18997
|
company: {
|
|
18328
18998
|
id: string;
|
|
18329
18999
|
name: string;
|
|
@@ -24895,13 +25565,13 @@ export declare const apiContractRouter: {
|
|
|
24895
25565
|
endDate: import("zod").ZodOptional<import("zod").ZodString>;
|
|
24896
25566
|
agentId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
24897
25567
|
}, "strip", import("zod").ZodTypeAny, {
|
|
24898
|
-
agentId?: string | undefined;
|
|
24899
25568
|
startDate?: string | undefined;
|
|
24900
25569
|
endDate?: string | undefined;
|
|
24901
|
-
}, {
|
|
24902
25570
|
agentId?: string | undefined;
|
|
25571
|
+
}, {
|
|
24903
25572
|
startDate?: string | undefined;
|
|
24904
25573
|
endDate?: string | undefined;
|
|
25574
|
+
agentId?: string | undefined;
|
|
24905
25575
|
}>;
|
|
24906
25576
|
summary: "Retrieve agent daily metrics history";
|
|
24907
25577
|
method: "GET";
|
|
@@ -27102,8 +27772,8 @@ export declare const apiContractRouter: {
|
|
|
27102
27772
|
createdAt: string;
|
|
27103
27773
|
updatedAt: string;
|
|
27104
27774
|
id: string;
|
|
27105
|
-
description: string | null;
|
|
27106
27775
|
userId: string;
|
|
27776
|
+
description: string | null;
|
|
27107
27777
|
location: string;
|
|
27108
27778
|
size: number;
|
|
27109
27779
|
originalName: string;
|
|
@@ -27116,8 +27786,8 @@ export declare const apiContractRouter: {
|
|
|
27116
27786
|
createdAt: string | Date;
|
|
27117
27787
|
updatedAt: string | Date;
|
|
27118
27788
|
id: string;
|
|
27119
|
-
description: string | null;
|
|
27120
27789
|
userId: string;
|
|
27790
|
+
description: string | null;
|
|
27121
27791
|
location: string;
|
|
27122
27792
|
size: number;
|
|
27123
27793
|
originalName: string;
|
|
@@ -27265,8 +27935,8 @@ export declare const apiContractRouter: {
|
|
|
27265
27935
|
createdAt: string;
|
|
27266
27936
|
updatedAt: string;
|
|
27267
27937
|
id: string;
|
|
27268
|
-
description: string | null;
|
|
27269
27938
|
userId: string;
|
|
27939
|
+
description: string | null;
|
|
27270
27940
|
location: string;
|
|
27271
27941
|
size: number;
|
|
27272
27942
|
originalName: string;
|
|
@@ -27279,8 +27949,8 @@ export declare const apiContractRouter: {
|
|
|
27279
27949
|
createdAt: string | Date;
|
|
27280
27950
|
updatedAt: string | Date;
|
|
27281
27951
|
id: string;
|
|
27282
|
-
description: string | null;
|
|
27283
27952
|
userId: string;
|
|
27953
|
+
description: string | null;
|
|
27284
27954
|
location: string;
|
|
27285
27955
|
size: number;
|
|
27286
27956
|
originalName: string;
|
|
@@ -27425,8 +28095,8 @@ export declare const apiContractRouter: {
|
|
|
27425
28095
|
createdAt: string;
|
|
27426
28096
|
updatedAt: string;
|
|
27427
28097
|
id: string;
|
|
27428
|
-
description: string | null;
|
|
27429
28098
|
userId: string;
|
|
28099
|
+
description: string | null;
|
|
27430
28100
|
location: string;
|
|
27431
28101
|
size: number;
|
|
27432
28102
|
originalName: string;
|
|
@@ -27439,8 +28109,8 @@ export declare const apiContractRouter: {
|
|
|
27439
28109
|
createdAt: string | Date;
|
|
27440
28110
|
updatedAt: string | Date;
|
|
27441
28111
|
id: string;
|
|
27442
|
-
description: string | null;
|
|
27443
28112
|
userId: string;
|
|
28113
|
+
description: string | null;
|
|
27444
28114
|
location: string;
|
|
27445
28115
|
size: number;
|
|
27446
28116
|
originalName: string;
|
|
@@ -27769,8 +28439,8 @@ export declare const apiContractRouter: {
|
|
|
27769
28439
|
createdAt: string;
|
|
27770
28440
|
updatedAt: string;
|
|
27771
28441
|
id: string;
|
|
27772
|
-
description: string | null;
|
|
27773
28442
|
userId: string;
|
|
28443
|
+
description: string | null;
|
|
27774
28444
|
location: string;
|
|
27775
28445
|
size: number;
|
|
27776
28446
|
originalName: string;
|
|
@@ -27783,8 +28453,8 @@ export declare const apiContractRouter: {
|
|
|
27783
28453
|
createdAt: string | Date;
|
|
27784
28454
|
updatedAt: string | Date;
|
|
27785
28455
|
id: string;
|
|
27786
|
-
description: string | null;
|
|
27787
28456
|
userId: string;
|
|
28457
|
+
description: string | null;
|
|
27788
28458
|
location: string;
|
|
27789
28459
|
size: number;
|
|
27790
28460
|
originalName: string;
|