@dakkitor/api-contracts 1.1.51 → 1.1.53
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/abilities/abilities.contract.d.ts +2 -0
- package/dist/abilities/abilities.contract.d.ts.map +1 -1
- package/dist/abilities/abilities.contract.js +4 -1
- package/dist/abilities/kpi.abilities.json +6 -0
- package/dist/actives/actives.contract.d.ts +34 -34
- package/dist/bookings/bookings.contract.d.ts +51 -51
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/bookings/bookings.contract.js +22 -13
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const BookingStatusSchema: z.ZodEnum<["
|
|
2
|
+
export declare const BookingStatusSchema: z.ZodEnum<["CANCELLED", "JOB_CANCELLED", "REFUSED_BY_CLIENT", "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY", "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE", "REFUSED_BY_FIRST_JOB_FILLED", "REFUSED_BY_FIRST_IGNORED_DENIED", "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE", "WAITING_FOR_CONFIRMATION", "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", "DIDNT_START_OVERBOOK_BY_CLIENT", "DIDNT_START_OVERBOOK_BY_US", "ANOTHER_SITUATION", "CONFIRMED_OVERBOOK", "CONFIRMED", "YELLOW_FOR_TOMORROW", "SPOKE_WITH_WORKER_IN_THE_MORNING", "ON_THE_WAY_TO_THE_SITE", "AT_THE_INDUCTION", "STARTED_THE_JOB", "COMPLETED"]>;
|
|
3
3
|
export declare const BookingSortableFieldsSchema: z.ZodEnum<["status", "startDate", "createdAt", "updatedAt"]>;
|
|
4
4
|
export declare const BookingPaySchema: z.ZodObject<{
|
|
5
5
|
rate: z.ZodNumber;
|
|
@@ -31,13 +31,13 @@ export declare const BookingItemSchema: z.ZodObject<{
|
|
|
31
31
|
rate: number;
|
|
32
32
|
unit?: "DAILY" | "HOURLY" | undefined;
|
|
33
33
|
}>>;
|
|
34
|
-
status: z.ZodOptional<z.ZodEnum<["
|
|
34
|
+
status: z.ZodOptional<z.ZodEnum<["CANCELLED", "JOB_CANCELLED", "REFUSED_BY_CLIENT", "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY", "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE", "REFUSED_BY_FIRST_JOB_FILLED", "REFUSED_BY_FIRST_IGNORED_DENIED", "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE", "WAITING_FOR_CONFIRMATION", "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", "DIDNT_START_OVERBOOK_BY_CLIENT", "DIDNT_START_OVERBOOK_BY_US", "ANOTHER_SITUATION", "CONFIRMED_OVERBOOK", "CONFIRMED", "YELLOW_FOR_TOMORROW", "SPOKE_WITH_WORKER_IN_THE_MORNING", "ON_THE_WAY_TO_THE_SITE", "AT_THE_INDUCTION", "STARTED_THE_JOB", "COMPLETED"]>>;
|
|
35
35
|
}, "strip", z.ZodTypeAny, {
|
|
36
36
|
startDate: string;
|
|
37
37
|
worker: {
|
|
38
38
|
id: string;
|
|
39
39
|
};
|
|
40
|
-
status?: "
|
|
40
|
+
status?: "CANCELLED" | "JOB_CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "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" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "CONFIRMED_OVERBOOK" | "CONFIRMED" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "COMPLETED" | undefined;
|
|
41
41
|
endDate?: string | null | undefined;
|
|
42
42
|
pay?: {
|
|
43
43
|
rate: number;
|
|
@@ -48,7 +48,7 @@ export declare const BookingItemSchema: z.ZodObject<{
|
|
|
48
48
|
worker: {
|
|
49
49
|
id: string;
|
|
50
50
|
};
|
|
51
|
-
status?: "
|
|
51
|
+
status?: "CANCELLED" | "JOB_CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "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" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "CONFIRMED_OVERBOOK" | "CONFIRMED" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "COMPLETED" | undefined;
|
|
52
52
|
endDate?: string | null | undefined;
|
|
53
53
|
pay?: {
|
|
54
54
|
rate: number;
|
|
@@ -86,7 +86,7 @@ export declare const BookingWorkerSchema: z.ZodObject<{
|
|
|
86
86
|
}>;
|
|
87
87
|
export declare const BookingSchema: z.ZodObject<{
|
|
88
88
|
id: z.ZodString;
|
|
89
|
-
status: z.ZodEnum<["
|
|
89
|
+
status: z.ZodEnum<["CANCELLED", "JOB_CANCELLED", "REFUSED_BY_CLIENT", "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY", "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE", "REFUSED_BY_FIRST_JOB_FILLED", "REFUSED_BY_FIRST_IGNORED_DENIED", "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE", "WAITING_FOR_CONFIRMATION", "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", "DIDNT_START_OVERBOOK_BY_CLIENT", "DIDNT_START_OVERBOOK_BY_US", "ANOTHER_SITUATION", "CONFIRMED_OVERBOOK", "CONFIRMED", "YELLOW_FOR_TOMORROW", "SPOKE_WITH_WORKER_IN_THE_MORNING", "ON_THE_WAY_TO_THE_SITE", "AT_THE_INDUCTION", "STARTED_THE_JOB", "COMPLETED"]>;
|
|
90
90
|
startDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
91
91
|
endDate: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
92
92
|
worker: z.ZodObject<{
|
|
@@ -1116,7 +1116,7 @@ export declare const BookingSchema: z.ZodObject<{
|
|
|
1116
1116
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1117
1117
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1118
1118
|
}, "strip", z.ZodTypeAny, {
|
|
1119
|
-
status: "
|
|
1119
|
+
status: "CANCELLED" | "JOB_CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "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" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "CONFIRMED_OVERBOOK" | "CONFIRMED" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "COMPLETED";
|
|
1120
1120
|
startDate: string;
|
|
1121
1121
|
createdAt: string;
|
|
1122
1122
|
updatedAt: string;
|
|
@@ -1306,7 +1306,7 @@ export declare const BookingSchema: z.ZodObject<{
|
|
|
1306
1306
|
};
|
|
1307
1307
|
endDate?: string | null | undefined;
|
|
1308
1308
|
}, {
|
|
1309
|
-
status: "
|
|
1309
|
+
status: "CANCELLED" | "JOB_CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "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" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "CONFIRMED_OVERBOOK" | "CONFIRMED" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "COMPLETED";
|
|
1310
1310
|
startDate: string | Date;
|
|
1311
1311
|
createdAt: string | Date;
|
|
1312
1312
|
updatedAt: string | Date;
|
|
@@ -1524,13 +1524,13 @@ export declare const CreateBookingSchema: z.ZodObject<{
|
|
|
1524
1524
|
rate: number;
|
|
1525
1525
|
unit?: "DAILY" | "HOURLY" | undefined;
|
|
1526
1526
|
}>>;
|
|
1527
|
-
status: z.ZodOptional<z.ZodEnum<["
|
|
1527
|
+
status: z.ZodOptional<z.ZodEnum<["CANCELLED", "JOB_CANCELLED", "REFUSED_BY_CLIENT", "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY", "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE", "REFUSED_BY_FIRST_JOB_FILLED", "REFUSED_BY_FIRST_IGNORED_DENIED", "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE", "WAITING_FOR_CONFIRMATION", "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", "DIDNT_START_OVERBOOK_BY_CLIENT", "DIDNT_START_OVERBOOK_BY_US", "ANOTHER_SITUATION", "CONFIRMED_OVERBOOK", "CONFIRMED", "YELLOW_FOR_TOMORROW", "SPOKE_WITH_WORKER_IN_THE_MORNING", "ON_THE_WAY_TO_THE_SITE", "AT_THE_INDUCTION", "STARTED_THE_JOB", "COMPLETED"]>>;
|
|
1528
1528
|
}, "strip", z.ZodTypeAny, {
|
|
1529
1529
|
startDate: string;
|
|
1530
1530
|
worker: {
|
|
1531
1531
|
id: string;
|
|
1532
1532
|
};
|
|
1533
|
-
status?: "
|
|
1533
|
+
status?: "CANCELLED" | "JOB_CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "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" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "CONFIRMED_OVERBOOK" | "CONFIRMED" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "COMPLETED" | undefined;
|
|
1534
1534
|
endDate?: string | null | undefined;
|
|
1535
1535
|
pay?: {
|
|
1536
1536
|
rate: number;
|
|
@@ -1541,7 +1541,7 @@ export declare const CreateBookingSchema: z.ZodObject<{
|
|
|
1541
1541
|
worker: {
|
|
1542
1542
|
id: string;
|
|
1543
1543
|
};
|
|
1544
|
-
status?: "
|
|
1544
|
+
status?: "CANCELLED" | "JOB_CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "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" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "CONFIRMED_OVERBOOK" | "CONFIRMED" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "COMPLETED" | undefined;
|
|
1545
1545
|
endDate?: string | null | undefined;
|
|
1546
1546
|
pay?: {
|
|
1547
1547
|
rate: number;
|
|
@@ -1557,7 +1557,7 @@ export declare const CreateBookingSchema: z.ZodObject<{
|
|
|
1557
1557
|
worker: {
|
|
1558
1558
|
id: string;
|
|
1559
1559
|
};
|
|
1560
|
-
status?: "
|
|
1560
|
+
status?: "CANCELLED" | "JOB_CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "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" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "CONFIRMED_OVERBOOK" | "CONFIRMED" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "COMPLETED" | undefined;
|
|
1561
1561
|
endDate?: string | null | undefined;
|
|
1562
1562
|
pay?: {
|
|
1563
1563
|
rate: number;
|
|
@@ -1573,7 +1573,7 @@ export declare const CreateBookingSchema: z.ZodObject<{
|
|
|
1573
1573
|
worker: {
|
|
1574
1574
|
id: string;
|
|
1575
1575
|
};
|
|
1576
|
-
status?: "
|
|
1576
|
+
status?: "CANCELLED" | "JOB_CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "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" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "CONFIRMED_OVERBOOK" | "CONFIRMED" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "COMPLETED" | undefined;
|
|
1577
1577
|
endDate?: string | null | undefined;
|
|
1578
1578
|
pay?: {
|
|
1579
1579
|
rate: number;
|
|
@@ -1594,9 +1594,9 @@ export declare const UpdateBookingSchema: z.ZodObject<{
|
|
|
1594
1594
|
rate: number;
|
|
1595
1595
|
unit?: "DAILY" | "HOURLY" | undefined;
|
|
1596
1596
|
}>>;
|
|
1597
|
-
status: z.ZodOptional<z.ZodEnum<["
|
|
1597
|
+
status: z.ZodOptional<z.ZodEnum<["CANCELLED", "JOB_CANCELLED", "REFUSED_BY_CLIENT", "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY", "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE", "REFUSED_BY_FIRST_JOB_FILLED", "REFUSED_BY_FIRST_IGNORED_DENIED", "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE", "WAITING_FOR_CONFIRMATION", "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", "DIDNT_START_OVERBOOK_BY_CLIENT", "DIDNT_START_OVERBOOK_BY_US", "ANOTHER_SITUATION", "CONFIRMED_OVERBOOK", "CONFIRMED", "YELLOW_FOR_TOMORROW", "SPOKE_WITH_WORKER_IN_THE_MORNING", "ON_THE_WAY_TO_THE_SITE", "AT_THE_INDUCTION", "STARTED_THE_JOB", "COMPLETED"]>>;
|
|
1598
1598
|
}, "strip", z.ZodTypeAny, {
|
|
1599
|
-
status?: "
|
|
1599
|
+
status?: "CANCELLED" | "JOB_CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "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" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "CONFIRMED_OVERBOOK" | "CONFIRMED" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "COMPLETED" | undefined;
|
|
1600
1600
|
startDate?: string | undefined;
|
|
1601
1601
|
endDate?: string | null | undefined;
|
|
1602
1602
|
pay?: {
|
|
@@ -1604,7 +1604,7 @@ export declare const UpdateBookingSchema: z.ZodObject<{
|
|
|
1604
1604
|
unit: "DAILY" | "HOURLY";
|
|
1605
1605
|
} | undefined;
|
|
1606
1606
|
}, {
|
|
1607
|
-
status?: "
|
|
1607
|
+
status?: "CANCELLED" | "JOB_CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "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" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "CONFIRMED_OVERBOOK" | "CONFIRMED" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "COMPLETED" | undefined;
|
|
1608
1608
|
startDate?: string | undefined;
|
|
1609
1609
|
endDate?: string | null | undefined;
|
|
1610
1610
|
pay?: {
|
|
@@ -1618,7 +1618,7 @@ export declare const FilterBookingSchema: z.ZodObject<{
|
|
|
1618
1618
|
} & {
|
|
1619
1619
|
workerName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1620
1620
|
agentId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1621
|
-
status: z.ZodNullable<z.ZodOptional<z.ZodEnum<["
|
|
1621
|
+
status: z.ZodNullable<z.ZodOptional<z.ZodEnum<["CANCELLED", "JOB_CANCELLED", "REFUSED_BY_CLIENT", "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY", "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE", "REFUSED_BY_FIRST_JOB_FILLED", "REFUSED_BY_FIRST_IGNORED_DENIED", "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE", "WAITING_FOR_CONFIRMATION", "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", "DIDNT_START_OVERBOOK_BY_CLIENT", "DIDNT_START_OVERBOOK_BY_US", "ANOTHER_SITUATION", "CONFIRMED_OVERBOOK", "CONFIRMED", "YELLOW_FOR_TOMORROW", "SPOKE_WITH_WORKER_IN_THE_MORNING", "ON_THE_WAY_TO_THE_SITE", "AT_THE_INDUCTION", "STARTED_THE_JOB", "COMPLETED"]>>>;
|
|
1622
1622
|
job: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1623
1623
|
userId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1624
1624
|
clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -1672,7 +1672,7 @@ export declare const FilterBookingSchema: z.ZodObject<{
|
|
|
1672
1672
|
}, "strip", z.ZodTypeAny, {
|
|
1673
1673
|
limit: number;
|
|
1674
1674
|
page: number;
|
|
1675
|
-
status?: "
|
|
1675
|
+
status?: "CANCELLED" | "JOB_CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "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" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "CONFIRMED_OVERBOOK" | "CONFIRMED" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "COMPLETED" | null | undefined;
|
|
1676
1676
|
startDate?: {
|
|
1677
1677
|
from?: string | null | undefined;
|
|
1678
1678
|
to?: string | null | undefined;
|
|
@@ -1698,7 +1698,7 @@ export declare const FilterBookingSchema: z.ZodObject<{
|
|
|
1698
1698
|
sortBy?: "status" | "startDate" | "createdAt" | "updatedAt" | null | undefined;
|
|
1699
1699
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
1700
1700
|
}, {
|
|
1701
|
-
status?: "
|
|
1701
|
+
status?: "CANCELLED" | "JOB_CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "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" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "CONFIRMED_OVERBOOK" | "CONFIRMED" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "COMPLETED" | null | undefined;
|
|
1702
1702
|
startDate?: {
|
|
1703
1703
|
from?: string | null | undefined;
|
|
1704
1704
|
to?: string | null | undefined;
|
|
@@ -1729,7 +1729,7 @@ export declare const FilterBookingSchema: z.ZodObject<{
|
|
|
1729
1729
|
export declare const PaginatedBookingResponseSchema: z.ZodObject<{
|
|
1730
1730
|
items: z.ZodArray<z.ZodObject<{
|
|
1731
1731
|
id: z.ZodString;
|
|
1732
|
-
status: z.ZodEnum<["
|
|
1732
|
+
status: z.ZodEnum<["CANCELLED", "JOB_CANCELLED", "REFUSED_BY_CLIENT", "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY", "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE", "REFUSED_BY_FIRST_JOB_FILLED", "REFUSED_BY_FIRST_IGNORED_DENIED", "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE", "WAITING_FOR_CONFIRMATION", "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", "DIDNT_START_OVERBOOK_BY_CLIENT", "DIDNT_START_OVERBOOK_BY_US", "ANOTHER_SITUATION", "CONFIRMED_OVERBOOK", "CONFIRMED", "YELLOW_FOR_TOMORROW", "SPOKE_WITH_WORKER_IN_THE_MORNING", "ON_THE_WAY_TO_THE_SITE", "AT_THE_INDUCTION", "STARTED_THE_JOB", "COMPLETED"]>;
|
|
1733
1733
|
startDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1734
1734
|
endDate: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
1735
1735
|
worker: z.ZodObject<{
|
|
@@ -2759,7 +2759,7 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
|
|
|
2759
2759
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2760
2760
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2761
2761
|
}, "strip", z.ZodTypeAny, {
|
|
2762
|
-
status: "
|
|
2762
|
+
status: "CANCELLED" | "JOB_CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "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" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "CONFIRMED_OVERBOOK" | "CONFIRMED" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "COMPLETED";
|
|
2763
2763
|
startDate: string;
|
|
2764
2764
|
createdAt: string;
|
|
2765
2765
|
updatedAt: string;
|
|
@@ -2949,7 +2949,7 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
|
|
|
2949
2949
|
};
|
|
2950
2950
|
endDate?: string | null | undefined;
|
|
2951
2951
|
}, {
|
|
2952
|
-
status: "
|
|
2952
|
+
status: "CANCELLED" | "JOB_CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "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" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "CONFIRMED_OVERBOOK" | "CONFIRMED" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "COMPLETED";
|
|
2953
2953
|
startDate: string | Date;
|
|
2954
2954
|
createdAt: string | Date;
|
|
2955
2955
|
updatedAt: string | Date;
|
|
@@ -3147,7 +3147,7 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
|
|
|
3147
3147
|
}, "strip", z.ZodTypeAny, {
|
|
3148
3148
|
limit: number;
|
|
3149
3149
|
items: {
|
|
3150
|
-
status: "
|
|
3150
|
+
status: "CANCELLED" | "JOB_CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "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" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "CONFIRMED_OVERBOOK" | "CONFIRMED" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "COMPLETED";
|
|
3151
3151
|
startDate: string;
|
|
3152
3152
|
createdAt: string;
|
|
3153
3153
|
updatedAt: string;
|
|
@@ -3344,7 +3344,7 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
|
|
|
3344
3344
|
}, {
|
|
3345
3345
|
limit: number;
|
|
3346
3346
|
items: {
|
|
3347
|
-
status: "
|
|
3347
|
+
status: "CANCELLED" | "JOB_CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "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" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "CONFIRMED_OVERBOOK" | "CONFIRMED" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "COMPLETED";
|
|
3348
3348
|
startDate: string | Date;
|
|
3349
3349
|
createdAt: string | Date;
|
|
3350
3350
|
updatedAt: string | Date;
|
|
@@ -3541,7 +3541,7 @@ export declare const PaginatedBookingResponseSchema: z.ZodObject<{
|
|
|
3541
3541
|
}>;
|
|
3542
3542
|
export declare const BookingArraySchema: z.ZodArray<z.ZodObject<{
|
|
3543
3543
|
id: z.ZodString;
|
|
3544
|
-
status: z.ZodEnum<["
|
|
3544
|
+
status: z.ZodEnum<["CANCELLED", "JOB_CANCELLED", "REFUSED_BY_CLIENT", "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY", "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE", "REFUSED_BY_FIRST_JOB_FILLED", "REFUSED_BY_FIRST_IGNORED_DENIED", "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE", "WAITING_FOR_CONFIRMATION", "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", "DIDNT_START_OVERBOOK_BY_CLIENT", "DIDNT_START_OVERBOOK_BY_US", "ANOTHER_SITUATION", "CONFIRMED_OVERBOOK", "CONFIRMED", "YELLOW_FOR_TOMORROW", "SPOKE_WITH_WORKER_IN_THE_MORNING", "ON_THE_WAY_TO_THE_SITE", "AT_THE_INDUCTION", "STARTED_THE_JOB", "COMPLETED"]>;
|
|
3545
3545
|
startDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3546
3546
|
endDate: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
3547
3547
|
worker: z.ZodObject<{
|
|
@@ -4571,7 +4571,7 @@ export declare const BookingArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
4571
4571
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4572
4572
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
4573
4573
|
}, "strip", z.ZodTypeAny, {
|
|
4574
|
-
status: "
|
|
4574
|
+
status: "CANCELLED" | "JOB_CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "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" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "CONFIRMED_OVERBOOK" | "CONFIRMED" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "COMPLETED";
|
|
4575
4575
|
startDate: string;
|
|
4576
4576
|
createdAt: string;
|
|
4577
4577
|
updatedAt: string;
|
|
@@ -4761,7 +4761,7 @@ export declare const BookingArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
4761
4761
|
};
|
|
4762
4762
|
endDate?: string | null | undefined;
|
|
4763
4763
|
}, {
|
|
4764
|
-
status: "
|
|
4764
|
+
status: "CANCELLED" | "JOB_CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "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" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "CONFIRMED_OVERBOOK" | "CONFIRMED" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "COMPLETED";
|
|
4765
4765
|
startDate: string | Date;
|
|
4766
4766
|
createdAt: string | Date;
|
|
4767
4767
|
updatedAt: string | Date;
|
|
@@ -5001,13 +5001,13 @@ export declare const bookingsContractRouter: {
|
|
|
5001
5001
|
rate: number;
|
|
5002
5002
|
unit?: "DAILY" | "HOURLY" | undefined;
|
|
5003
5003
|
}>>;
|
|
5004
|
-
status: z.ZodOptional<z.ZodEnum<["
|
|
5004
|
+
status: z.ZodOptional<z.ZodEnum<["CANCELLED", "JOB_CANCELLED", "REFUSED_BY_CLIENT", "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY", "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE", "REFUSED_BY_FIRST_JOB_FILLED", "REFUSED_BY_FIRST_IGNORED_DENIED", "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE", "WAITING_FOR_CONFIRMATION", "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", "DIDNT_START_OVERBOOK_BY_CLIENT", "DIDNT_START_OVERBOOK_BY_US", "ANOTHER_SITUATION", "CONFIRMED_OVERBOOK", "CONFIRMED", "YELLOW_FOR_TOMORROW", "SPOKE_WITH_WORKER_IN_THE_MORNING", "ON_THE_WAY_TO_THE_SITE", "AT_THE_INDUCTION", "STARTED_THE_JOB", "COMPLETED"]>>;
|
|
5005
5005
|
}, "strip", z.ZodTypeAny, {
|
|
5006
5006
|
startDate: string;
|
|
5007
5007
|
worker: {
|
|
5008
5008
|
id: string;
|
|
5009
5009
|
};
|
|
5010
|
-
status?: "
|
|
5010
|
+
status?: "CANCELLED" | "JOB_CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "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" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "CONFIRMED_OVERBOOK" | "CONFIRMED" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "COMPLETED" | undefined;
|
|
5011
5011
|
endDate?: string | null | undefined;
|
|
5012
5012
|
pay?: {
|
|
5013
5013
|
rate: number;
|
|
@@ -5018,7 +5018,7 @@ export declare const bookingsContractRouter: {
|
|
|
5018
5018
|
worker: {
|
|
5019
5019
|
id: string;
|
|
5020
5020
|
};
|
|
5021
|
-
status?: "
|
|
5021
|
+
status?: "CANCELLED" | "JOB_CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "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" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "CONFIRMED_OVERBOOK" | "CONFIRMED" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "COMPLETED" | undefined;
|
|
5022
5022
|
endDate?: string | null | undefined;
|
|
5023
5023
|
pay?: {
|
|
5024
5024
|
rate: number;
|
|
@@ -5034,7 +5034,7 @@ export declare const bookingsContractRouter: {
|
|
|
5034
5034
|
worker: {
|
|
5035
5035
|
id: string;
|
|
5036
5036
|
};
|
|
5037
|
-
status?: "
|
|
5037
|
+
status?: "CANCELLED" | "JOB_CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "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" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "CONFIRMED_OVERBOOK" | "CONFIRMED" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "COMPLETED" | undefined;
|
|
5038
5038
|
endDate?: string | null | undefined;
|
|
5039
5039
|
pay?: {
|
|
5040
5040
|
rate: number;
|
|
@@ -5050,7 +5050,7 @@ export declare const bookingsContractRouter: {
|
|
|
5050
5050
|
worker: {
|
|
5051
5051
|
id: string;
|
|
5052
5052
|
};
|
|
5053
|
-
status?: "
|
|
5053
|
+
status?: "CANCELLED" | "JOB_CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "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" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "CONFIRMED_OVERBOOK" | "CONFIRMED" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "COMPLETED" | undefined;
|
|
5054
5054
|
endDate?: string | null | undefined;
|
|
5055
5055
|
pay?: {
|
|
5056
5056
|
rate: number;
|
|
@@ -5162,7 +5162,7 @@ export declare const bookingsContractRouter: {
|
|
|
5162
5162
|
}>;
|
|
5163
5163
|
201: z.ZodArray<z.ZodObject<{
|
|
5164
5164
|
id: z.ZodString;
|
|
5165
|
-
status: z.ZodEnum<["
|
|
5165
|
+
status: z.ZodEnum<["CANCELLED", "JOB_CANCELLED", "REFUSED_BY_CLIENT", "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY", "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE", "REFUSED_BY_FIRST_JOB_FILLED", "REFUSED_BY_FIRST_IGNORED_DENIED", "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE", "WAITING_FOR_CONFIRMATION", "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", "DIDNT_START_OVERBOOK_BY_CLIENT", "DIDNT_START_OVERBOOK_BY_US", "ANOTHER_SITUATION", "CONFIRMED_OVERBOOK", "CONFIRMED", "YELLOW_FOR_TOMORROW", "SPOKE_WITH_WORKER_IN_THE_MORNING", "ON_THE_WAY_TO_THE_SITE", "AT_THE_INDUCTION", "STARTED_THE_JOB", "COMPLETED"]>;
|
|
5166
5166
|
startDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
5167
5167
|
endDate: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
5168
5168
|
worker: z.ZodObject<{
|
|
@@ -6192,7 +6192,7 @@ export declare const bookingsContractRouter: {
|
|
|
6192
6192
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
6193
6193
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
6194
6194
|
}, "strip", z.ZodTypeAny, {
|
|
6195
|
-
status: "
|
|
6195
|
+
status: "CANCELLED" | "JOB_CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "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" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "CONFIRMED_OVERBOOK" | "CONFIRMED" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "COMPLETED";
|
|
6196
6196
|
startDate: string;
|
|
6197
6197
|
createdAt: string;
|
|
6198
6198
|
updatedAt: string;
|
|
@@ -6382,7 +6382,7 @@ export declare const bookingsContractRouter: {
|
|
|
6382
6382
|
};
|
|
6383
6383
|
endDate?: string | null | undefined;
|
|
6384
6384
|
}, {
|
|
6385
|
-
status: "
|
|
6385
|
+
status: "CANCELLED" | "JOB_CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "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" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "CONFIRMED_OVERBOOK" | "CONFIRMED" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "COMPLETED";
|
|
6386
6386
|
startDate: string | Date;
|
|
6387
6387
|
createdAt: string | Date;
|
|
6388
6388
|
updatedAt: string | Date;
|
|
@@ -6612,7 +6612,7 @@ export declare const bookingsContractRouter: {
|
|
|
6612
6612
|
} & {
|
|
6613
6613
|
workerName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
6614
6614
|
agentId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
6615
|
-
status: z.ZodNullable<z.ZodOptional<z.ZodEnum<["
|
|
6615
|
+
status: z.ZodNullable<z.ZodOptional<z.ZodEnum<["CANCELLED", "JOB_CANCELLED", "REFUSED_BY_CLIENT", "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY", "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE", "REFUSED_BY_FIRST_JOB_FILLED", "REFUSED_BY_FIRST_IGNORED_DENIED", "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE", "WAITING_FOR_CONFIRMATION", "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", "DIDNT_START_OVERBOOK_BY_CLIENT", "DIDNT_START_OVERBOOK_BY_US", "ANOTHER_SITUATION", "CONFIRMED_OVERBOOK", "CONFIRMED", "YELLOW_FOR_TOMORROW", "SPOKE_WITH_WORKER_IN_THE_MORNING", "ON_THE_WAY_TO_THE_SITE", "AT_THE_INDUCTION", "STARTED_THE_JOB", "COMPLETED"]>>>;
|
|
6616
6616
|
job: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
6617
6617
|
userId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
6618
6618
|
clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -6666,7 +6666,7 @@ export declare const bookingsContractRouter: {
|
|
|
6666
6666
|
}, "strip", z.ZodTypeAny, {
|
|
6667
6667
|
limit: number;
|
|
6668
6668
|
page: number;
|
|
6669
|
-
status?: "
|
|
6669
|
+
status?: "CANCELLED" | "JOB_CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "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" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "CONFIRMED_OVERBOOK" | "CONFIRMED" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "COMPLETED" | null | undefined;
|
|
6670
6670
|
startDate?: {
|
|
6671
6671
|
from?: string | null | undefined;
|
|
6672
6672
|
to?: string | null | undefined;
|
|
@@ -6692,7 +6692,7 @@ export declare const bookingsContractRouter: {
|
|
|
6692
6692
|
sortBy?: "status" | "startDate" | "createdAt" | "updatedAt" | null | undefined;
|
|
6693
6693
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
6694
6694
|
}, {
|
|
6695
|
-
status?: "
|
|
6695
|
+
status?: "CANCELLED" | "JOB_CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "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" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "CONFIRMED_OVERBOOK" | "CONFIRMED" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "COMPLETED" | null | undefined;
|
|
6696
6696
|
startDate?: {
|
|
6697
6697
|
from?: string | null | undefined;
|
|
6698
6698
|
to?: string | null | undefined;
|
|
@@ -6827,7 +6827,7 @@ export declare const bookingsContractRouter: {
|
|
|
6827
6827
|
200: z.ZodObject<{
|
|
6828
6828
|
items: z.ZodArray<z.ZodObject<{
|
|
6829
6829
|
id: z.ZodString;
|
|
6830
|
-
status: z.ZodEnum<["
|
|
6830
|
+
status: z.ZodEnum<["CANCELLED", "JOB_CANCELLED", "REFUSED_BY_CLIENT", "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY", "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE", "REFUSED_BY_FIRST_JOB_FILLED", "REFUSED_BY_FIRST_IGNORED_DENIED", "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE", "WAITING_FOR_CONFIRMATION", "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", "DIDNT_START_OVERBOOK_BY_CLIENT", "DIDNT_START_OVERBOOK_BY_US", "ANOTHER_SITUATION", "CONFIRMED_OVERBOOK", "CONFIRMED", "YELLOW_FOR_TOMORROW", "SPOKE_WITH_WORKER_IN_THE_MORNING", "ON_THE_WAY_TO_THE_SITE", "AT_THE_INDUCTION", "STARTED_THE_JOB", "COMPLETED"]>;
|
|
6831
6831
|
startDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
6832
6832
|
endDate: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
6833
6833
|
worker: z.ZodObject<{
|
|
@@ -7857,7 +7857,7 @@ export declare const bookingsContractRouter: {
|
|
|
7857
7857
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
7858
7858
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
7859
7859
|
}, "strip", z.ZodTypeAny, {
|
|
7860
|
-
status: "
|
|
7860
|
+
status: "CANCELLED" | "JOB_CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "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" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "CONFIRMED_OVERBOOK" | "CONFIRMED" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "COMPLETED";
|
|
7861
7861
|
startDate: string;
|
|
7862
7862
|
createdAt: string;
|
|
7863
7863
|
updatedAt: string;
|
|
@@ -8047,7 +8047,7 @@ export declare const bookingsContractRouter: {
|
|
|
8047
8047
|
};
|
|
8048
8048
|
endDate?: string | null | undefined;
|
|
8049
8049
|
}, {
|
|
8050
|
-
status: "
|
|
8050
|
+
status: "CANCELLED" | "JOB_CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "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" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "CONFIRMED_OVERBOOK" | "CONFIRMED" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "COMPLETED";
|
|
8051
8051
|
startDate: string | Date;
|
|
8052
8052
|
createdAt: string | Date;
|
|
8053
8053
|
updatedAt: string | Date;
|
|
@@ -8245,7 +8245,7 @@ export declare const bookingsContractRouter: {
|
|
|
8245
8245
|
}, "strip", z.ZodTypeAny, {
|
|
8246
8246
|
limit: number;
|
|
8247
8247
|
items: {
|
|
8248
|
-
status: "
|
|
8248
|
+
status: "CANCELLED" | "JOB_CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "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" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "CONFIRMED_OVERBOOK" | "CONFIRMED" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "COMPLETED";
|
|
8249
8249
|
startDate: string;
|
|
8250
8250
|
createdAt: string;
|
|
8251
8251
|
updatedAt: string;
|
|
@@ -8442,7 +8442,7 @@ export declare const bookingsContractRouter: {
|
|
|
8442
8442
|
}, {
|
|
8443
8443
|
limit: number;
|
|
8444
8444
|
items: {
|
|
8445
|
-
status: "
|
|
8445
|
+
status: "CANCELLED" | "JOB_CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "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" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "CONFIRMED_OVERBOOK" | "CONFIRMED" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "COMPLETED";
|
|
8446
8446
|
startDate: string | Date;
|
|
8447
8447
|
createdAt: string | Date;
|
|
8448
8448
|
updatedAt: string | Date;
|
|
@@ -8759,7 +8759,7 @@ export declare const bookingsContractRouter: {
|
|
|
8759
8759
|
}>;
|
|
8760
8760
|
200: z.ZodObject<{
|
|
8761
8761
|
id: z.ZodString;
|
|
8762
|
-
status: z.ZodEnum<["
|
|
8762
|
+
status: z.ZodEnum<["CANCELLED", "JOB_CANCELLED", "REFUSED_BY_CLIENT", "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY", "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE", "REFUSED_BY_FIRST_JOB_FILLED", "REFUSED_BY_FIRST_IGNORED_DENIED", "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE", "WAITING_FOR_CONFIRMATION", "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", "DIDNT_START_OVERBOOK_BY_CLIENT", "DIDNT_START_OVERBOOK_BY_US", "ANOTHER_SITUATION", "CONFIRMED_OVERBOOK", "CONFIRMED", "YELLOW_FOR_TOMORROW", "SPOKE_WITH_WORKER_IN_THE_MORNING", "ON_THE_WAY_TO_THE_SITE", "AT_THE_INDUCTION", "STARTED_THE_JOB", "COMPLETED"]>;
|
|
8763
8763
|
startDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
8764
8764
|
endDate: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
8765
8765
|
worker: z.ZodObject<{
|
|
@@ -9789,7 +9789,7 @@ export declare const bookingsContractRouter: {
|
|
|
9789
9789
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
9790
9790
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
9791
9791
|
}, "strip", z.ZodTypeAny, {
|
|
9792
|
-
status: "
|
|
9792
|
+
status: "CANCELLED" | "JOB_CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "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" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "CONFIRMED_OVERBOOK" | "CONFIRMED" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "COMPLETED";
|
|
9793
9793
|
startDate: string;
|
|
9794
9794
|
createdAt: string;
|
|
9795
9795
|
updatedAt: string;
|
|
@@ -9979,7 +9979,7 @@ export declare const bookingsContractRouter: {
|
|
|
9979
9979
|
};
|
|
9980
9980
|
endDate?: string | null | undefined;
|
|
9981
9981
|
}, {
|
|
9982
|
-
status: "
|
|
9982
|
+
status: "CANCELLED" | "JOB_CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "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" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "CONFIRMED_OVERBOOK" | "CONFIRMED" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "COMPLETED";
|
|
9983
9983
|
startDate: string | Date;
|
|
9984
9984
|
createdAt: string | Date;
|
|
9985
9985
|
updatedAt: string | Date;
|
|
@@ -10225,9 +10225,9 @@ export declare const bookingsContractRouter: {
|
|
|
10225
10225
|
rate: number;
|
|
10226
10226
|
unit?: "DAILY" | "HOURLY" | undefined;
|
|
10227
10227
|
}>>;
|
|
10228
|
-
status: z.ZodOptional<z.ZodEnum<["
|
|
10228
|
+
status: z.ZodOptional<z.ZodEnum<["CANCELLED", "JOB_CANCELLED", "REFUSED_BY_CLIENT", "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY", "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE", "REFUSED_BY_FIRST_JOB_FILLED", "REFUSED_BY_FIRST_IGNORED_DENIED", "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE", "WAITING_FOR_CONFIRMATION", "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", "DIDNT_START_OVERBOOK_BY_CLIENT", "DIDNT_START_OVERBOOK_BY_US", "ANOTHER_SITUATION", "CONFIRMED_OVERBOOK", "CONFIRMED", "YELLOW_FOR_TOMORROW", "SPOKE_WITH_WORKER_IN_THE_MORNING", "ON_THE_WAY_TO_THE_SITE", "AT_THE_INDUCTION", "STARTED_THE_JOB", "COMPLETED"]>>;
|
|
10229
10229
|
}, "strip", z.ZodTypeAny, {
|
|
10230
|
-
status?: "
|
|
10230
|
+
status?: "CANCELLED" | "JOB_CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "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" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "CONFIRMED_OVERBOOK" | "CONFIRMED" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "COMPLETED" | undefined;
|
|
10231
10231
|
startDate?: string | undefined;
|
|
10232
10232
|
endDate?: string | null | undefined;
|
|
10233
10233
|
pay?: {
|
|
@@ -10235,7 +10235,7 @@ export declare const bookingsContractRouter: {
|
|
|
10235
10235
|
unit: "DAILY" | "HOURLY";
|
|
10236
10236
|
} | undefined;
|
|
10237
10237
|
}, {
|
|
10238
|
-
status?: "
|
|
10238
|
+
status?: "CANCELLED" | "JOB_CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "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" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "CONFIRMED_OVERBOOK" | "CONFIRMED" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "COMPLETED" | undefined;
|
|
10239
10239
|
startDate?: string | undefined;
|
|
10240
10240
|
endDate?: string | null | undefined;
|
|
10241
10241
|
pay?: {
|
|
@@ -10347,7 +10347,7 @@ export declare const bookingsContractRouter: {
|
|
|
10347
10347
|
}>;
|
|
10348
10348
|
200: z.ZodObject<{
|
|
10349
10349
|
id: z.ZodString;
|
|
10350
|
-
status: z.ZodEnum<["
|
|
10350
|
+
status: z.ZodEnum<["CANCELLED", "JOB_CANCELLED", "REFUSED_BY_CLIENT", "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY", "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE", "REFUSED_BY_FIRST_JOB_FILLED", "REFUSED_BY_FIRST_IGNORED_DENIED", "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE", "WAITING_FOR_CONFIRMATION", "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", "DIDNT_START_OVERBOOK_BY_CLIENT", "DIDNT_START_OVERBOOK_BY_US", "ANOTHER_SITUATION", "CONFIRMED_OVERBOOK", "CONFIRMED", "YELLOW_FOR_TOMORROW", "SPOKE_WITH_WORKER_IN_THE_MORNING", "ON_THE_WAY_TO_THE_SITE", "AT_THE_INDUCTION", "STARTED_THE_JOB", "COMPLETED"]>;
|
|
10351
10351
|
startDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
10352
10352
|
endDate: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate, z.ZodNull]>, string | null, string | Date | null>>>;
|
|
10353
10353
|
worker: z.ZodObject<{
|
|
@@ -11377,7 +11377,7 @@ export declare const bookingsContractRouter: {
|
|
|
11377
11377
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
11378
11378
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
11379
11379
|
}, "strip", z.ZodTypeAny, {
|
|
11380
|
-
status: "
|
|
11380
|
+
status: "CANCELLED" | "JOB_CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "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" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "CONFIRMED_OVERBOOK" | "CONFIRMED" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "COMPLETED";
|
|
11381
11381
|
startDate: string;
|
|
11382
11382
|
createdAt: string;
|
|
11383
11383
|
updatedAt: string;
|
|
@@ -11567,7 +11567,7 @@ export declare const bookingsContractRouter: {
|
|
|
11567
11567
|
};
|
|
11568
11568
|
endDate?: string | null | undefined;
|
|
11569
11569
|
}, {
|
|
11570
|
-
status: "
|
|
11570
|
+
status: "CANCELLED" | "JOB_CANCELLED" | "REFUSED_BY_CLIENT" | "REFUSED_BY_FIRST_BECAUSE_OF_NATIONALITY" | "REFUSED_BY_FIRST_NOT_ENOUGH_EXPERIENCE" | "REFUSED_BY_FIRST_JOB_FILLED" | "REFUSED_BY_FIRST_IGNORED_DENIED" | "REFUSED_BY_FIRST_BECAUSE_OF_DISTANCE" | "WAITING_FOR_CONFIRMATION" | "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" | "DIDNT_START_OVERBOOK_BY_CLIENT" | "DIDNT_START_OVERBOOK_BY_US" | "ANOTHER_SITUATION" | "CONFIRMED_OVERBOOK" | "CONFIRMED" | "YELLOW_FOR_TOMORROW" | "SPOKE_WITH_WORKER_IN_THE_MORNING" | "ON_THE_WAY_TO_THE_SITE" | "AT_THE_INDUCTION" | "STARTED_THE_JOB" | "COMPLETED";
|
|
11571
11571
|
startDate: string | Date;
|
|
11572
11572
|
createdAt: string | Date;
|
|
11573
11573
|
updatedAt: string | Date;
|