@flowselections/floriday-afhandeling-module 1.0.31 → 1.0.32
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-lib/components/afhandeling/ControlePage.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/ControlePage.js +23 -10
- package/dist-lib/components/afhandeling/VervoerdersPage.d.ts +8 -1
- package/dist-lib/components/afhandeling/VervoerdersPage.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/VervoerdersPage.js +17 -2
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +678 -116
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +678 -116
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +678 -116
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +694 -127
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/afhandelingSettings.functions.d.ts +1356 -232
- package/dist-lib/lib/afhandelingSettings.functions.d.ts.map +1 -1
- package/dist-lib/lib/carriers.functions.d.ts +3390 -580
- package/dist-lib/lib/carriers.functions.d.ts.map +1 -1
- package/dist-lib/lib/cartAssignments.functions.d.ts +3390 -580
- package/dist-lib/lib/cartAssignments.functions.d.ts.map +1 -1
- package/dist-lib/lib/cartControl.functions.d.ts +6780 -1160
- package/dist-lib/lib/cartControl.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday.functions.d.ts +678 -116
- package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
- package/package.json +1 -7
|
@@ -912,6 +912,126 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
912
912
|
};
|
|
913
913
|
Relationships: [];
|
|
914
914
|
};
|
|
915
|
+
cao_holidays: {
|
|
916
|
+
Row: {
|
|
917
|
+
created_at: string;
|
|
918
|
+
description: string | null;
|
|
919
|
+
holiday_date: string;
|
|
920
|
+
id: string;
|
|
921
|
+
updated_at: string;
|
|
922
|
+
};
|
|
923
|
+
Insert: {
|
|
924
|
+
created_at?: string;
|
|
925
|
+
description?: string | null;
|
|
926
|
+
holiday_date: string;
|
|
927
|
+
id?: string;
|
|
928
|
+
updated_at?: string;
|
|
929
|
+
};
|
|
930
|
+
Update: {
|
|
931
|
+
created_at?: string;
|
|
932
|
+
description?: string | null;
|
|
933
|
+
holiday_date?: string;
|
|
934
|
+
id?: string;
|
|
935
|
+
updated_at?: string;
|
|
936
|
+
};
|
|
937
|
+
Relationships: [];
|
|
938
|
+
};
|
|
939
|
+
cao_settings: {
|
|
940
|
+
Row: {
|
|
941
|
+
auto_break_after_hours: number;
|
|
942
|
+
auto_break_minutes: number;
|
|
943
|
+
auto_break_unpaid: boolean;
|
|
944
|
+
auto_stop_after_hours: number;
|
|
945
|
+
callout_fee: number;
|
|
946
|
+
created_at: string;
|
|
947
|
+
daily_regular_hours: number;
|
|
948
|
+
default_hourly_rate: number;
|
|
949
|
+
id: string;
|
|
950
|
+
materials_markup_percent: number;
|
|
951
|
+
max_daily_hours: number;
|
|
952
|
+
max_weekly_hours: number;
|
|
953
|
+
meal_allowance_amount: number;
|
|
954
|
+
overtime_pct_178: number;
|
|
955
|
+
overtime_pct_189: number;
|
|
956
|
+
overtime_pct_212: number;
|
|
957
|
+
reminder_after_hours: number;
|
|
958
|
+
standby_evening_amount: number;
|
|
959
|
+
standby_weekend_amount: number;
|
|
960
|
+
travel_cost_per_km: number | null;
|
|
961
|
+
travel_cost_threshold_km: number | null;
|
|
962
|
+
travel_counts_as_work: boolean;
|
|
963
|
+
travel_hourly_rate: number;
|
|
964
|
+
travel_rate_per_hour: number;
|
|
965
|
+
travel_threshold_minutes: number;
|
|
966
|
+
updated_at: string;
|
|
967
|
+
weekend_always_212: boolean;
|
|
968
|
+
window_end: string;
|
|
969
|
+
window_start: string;
|
|
970
|
+
};
|
|
971
|
+
Insert: {
|
|
972
|
+
auto_break_after_hours?: number;
|
|
973
|
+
auto_break_minutes?: number;
|
|
974
|
+
auto_break_unpaid?: boolean;
|
|
975
|
+
auto_stop_after_hours?: number;
|
|
976
|
+
callout_fee?: number;
|
|
977
|
+
created_at?: string;
|
|
978
|
+
daily_regular_hours?: number;
|
|
979
|
+
default_hourly_rate?: number;
|
|
980
|
+
id?: string;
|
|
981
|
+
materials_markup_percent?: number;
|
|
982
|
+
max_daily_hours?: number;
|
|
983
|
+
max_weekly_hours?: number;
|
|
984
|
+
meal_allowance_amount?: number;
|
|
985
|
+
overtime_pct_178?: number;
|
|
986
|
+
overtime_pct_189?: number;
|
|
987
|
+
overtime_pct_212?: number;
|
|
988
|
+
reminder_after_hours?: number;
|
|
989
|
+
standby_evening_amount?: number;
|
|
990
|
+
standby_weekend_amount?: number;
|
|
991
|
+
travel_cost_per_km?: number | null;
|
|
992
|
+
travel_cost_threshold_km?: number | null;
|
|
993
|
+
travel_counts_as_work?: boolean;
|
|
994
|
+
travel_hourly_rate?: number;
|
|
995
|
+
travel_rate_per_hour?: number;
|
|
996
|
+
travel_threshold_minutes?: number;
|
|
997
|
+
updated_at?: string;
|
|
998
|
+
weekend_always_212?: boolean;
|
|
999
|
+
window_end?: string;
|
|
1000
|
+
window_start?: string;
|
|
1001
|
+
};
|
|
1002
|
+
Update: {
|
|
1003
|
+
auto_break_after_hours?: number;
|
|
1004
|
+
auto_break_minutes?: number;
|
|
1005
|
+
auto_break_unpaid?: boolean;
|
|
1006
|
+
auto_stop_after_hours?: number;
|
|
1007
|
+
callout_fee?: number;
|
|
1008
|
+
created_at?: string;
|
|
1009
|
+
daily_regular_hours?: number;
|
|
1010
|
+
default_hourly_rate?: number;
|
|
1011
|
+
id?: string;
|
|
1012
|
+
materials_markup_percent?: number;
|
|
1013
|
+
max_daily_hours?: number;
|
|
1014
|
+
max_weekly_hours?: number;
|
|
1015
|
+
meal_allowance_amount?: number;
|
|
1016
|
+
overtime_pct_178?: number;
|
|
1017
|
+
overtime_pct_189?: number;
|
|
1018
|
+
overtime_pct_212?: number;
|
|
1019
|
+
reminder_after_hours?: number;
|
|
1020
|
+
standby_evening_amount?: number;
|
|
1021
|
+
standby_weekend_amount?: number;
|
|
1022
|
+
travel_cost_per_km?: number | null;
|
|
1023
|
+
travel_cost_threshold_km?: number | null;
|
|
1024
|
+
travel_counts_as_work?: boolean;
|
|
1025
|
+
travel_hourly_rate?: number;
|
|
1026
|
+
travel_rate_per_hour?: number;
|
|
1027
|
+
travel_threshold_minutes?: number;
|
|
1028
|
+
updated_at?: string;
|
|
1029
|
+
weekend_always_212?: boolean;
|
|
1030
|
+
window_end?: string;
|
|
1031
|
+
window_start?: string;
|
|
1032
|
+
};
|
|
1033
|
+
Relationships: [];
|
|
1034
|
+
};
|
|
915
1035
|
carrier_shipping_rates: {
|
|
916
1036
|
Row: {
|
|
917
1037
|
carrier_id: string;
|
|
@@ -7806,7 +7926,6 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
7806
7926
|
start_date: string;
|
|
7807
7927
|
start_time: string | null;
|
|
7808
7928
|
status: string;
|
|
7809
|
-
tenant_id: string;
|
|
7810
7929
|
updated_at: string;
|
|
7811
7930
|
user_id: string;
|
|
7812
7931
|
};
|
|
@@ -7824,7 +7943,6 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
7824
7943
|
start_date: string;
|
|
7825
7944
|
start_time?: string | null;
|
|
7826
7945
|
status?: string;
|
|
7827
|
-
tenant_id?: string;
|
|
7828
7946
|
updated_at?: string;
|
|
7829
7947
|
user_id: string;
|
|
7830
7948
|
};
|
|
@@ -7842,7 +7960,6 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
7842
7960
|
start_date?: string;
|
|
7843
7961
|
start_time?: string | null;
|
|
7844
7962
|
status?: string;
|
|
7845
|
-
tenant_id?: string;
|
|
7846
7963
|
updated_at?: string;
|
|
7847
7964
|
user_id?: string;
|
|
7848
7965
|
};
|
|
@@ -7850,13 +7967,13 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
7850
7967
|
foreignKeyName: "leave_requests_monteur_id_fkey";
|
|
7851
7968
|
columns: ["monteur_id"];
|
|
7852
7969
|
isOneToOne: false;
|
|
7853
|
-
referencedRelation: "
|
|
7970
|
+
referencedRelation: "profiles";
|
|
7854
7971
|
referencedColumns: ["id"];
|
|
7855
7972
|
}, {
|
|
7856
7973
|
foreignKeyName: "leave_requests_user_id_fkey";
|
|
7857
7974
|
columns: ["user_id"];
|
|
7858
7975
|
isOneToOne: false;
|
|
7859
|
-
referencedRelation: "
|
|
7976
|
+
referencedRelation: "profiles";
|
|
7860
7977
|
referencedColumns: ["id"];
|
|
7861
7978
|
}];
|
|
7862
7979
|
};
|
|
@@ -10011,6 +10128,90 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
10011
10128
|
};
|
|
10012
10129
|
Relationships: [];
|
|
10013
10130
|
};
|
|
10131
|
+
material_usage: {
|
|
10132
|
+
Row: {
|
|
10133
|
+
created_at: string;
|
|
10134
|
+
id: string;
|
|
10135
|
+
material_name: string;
|
|
10136
|
+
monteur_id: string | null;
|
|
10137
|
+
price_at_time: number;
|
|
10138
|
+
quantity_used: number;
|
|
10139
|
+
updated_at: string;
|
|
10140
|
+
van_inventory_id: string | null;
|
|
10141
|
+
work_order_id: string;
|
|
10142
|
+
};
|
|
10143
|
+
Insert: {
|
|
10144
|
+
created_at?: string;
|
|
10145
|
+
id?: string;
|
|
10146
|
+
material_name: string;
|
|
10147
|
+
monteur_id?: string | null;
|
|
10148
|
+
price_at_time?: number;
|
|
10149
|
+
quantity_used?: number;
|
|
10150
|
+
updated_at?: string;
|
|
10151
|
+
van_inventory_id?: string | null;
|
|
10152
|
+
work_order_id: string;
|
|
10153
|
+
};
|
|
10154
|
+
Update: {
|
|
10155
|
+
created_at?: string;
|
|
10156
|
+
id?: string;
|
|
10157
|
+
material_name?: string;
|
|
10158
|
+
monteur_id?: string | null;
|
|
10159
|
+
price_at_time?: number;
|
|
10160
|
+
quantity_used?: number;
|
|
10161
|
+
updated_at?: string;
|
|
10162
|
+
van_inventory_id?: string | null;
|
|
10163
|
+
work_order_id?: string;
|
|
10164
|
+
};
|
|
10165
|
+
Relationships: [{
|
|
10166
|
+
foreignKeyName: "material_usage_monteur_id_fkey";
|
|
10167
|
+
columns: ["monteur_id"];
|
|
10168
|
+
isOneToOne: false;
|
|
10169
|
+
referencedRelation: "profiles";
|
|
10170
|
+
referencedColumns: ["id"];
|
|
10171
|
+
}, {
|
|
10172
|
+
foreignKeyName: "material_usage_van_inventory_id_fkey";
|
|
10173
|
+
columns: ["van_inventory_id"];
|
|
10174
|
+
isOneToOne: false;
|
|
10175
|
+
referencedRelation: "van_inventories";
|
|
10176
|
+
referencedColumns: ["id"];
|
|
10177
|
+
}, {
|
|
10178
|
+
foreignKeyName: "material_usage_work_order_id_fkey";
|
|
10179
|
+
columns: ["work_order_id"];
|
|
10180
|
+
isOneToOne: false;
|
|
10181
|
+
referencedRelation: "work_orders";
|
|
10182
|
+
referencedColumns: ["id"];
|
|
10183
|
+
}];
|
|
10184
|
+
};
|
|
10185
|
+
module_features: {
|
|
10186
|
+
Row: {
|
|
10187
|
+
created_at: string;
|
|
10188
|
+
feature_id: string;
|
|
10189
|
+
id: string;
|
|
10190
|
+
is_active: boolean;
|
|
10191
|
+
last_seen_at: string;
|
|
10192
|
+
module_id: string;
|
|
10193
|
+
name: string;
|
|
10194
|
+
};
|
|
10195
|
+
Insert: {
|
|
10196
|
+
created_at?: string;
|
|
10197
|
+
feature_id: string;
|
|
10198
|
+
id?: string;
|
|
10199
|
+
is_active?: boolean;
|
|
10200
|
+
last_seen_at?: string;
|
|
10201
|
+
module_id: string;
|
|
10202
|
+
name: string;
|
|
10203
|
+
};
|
|
10204
|
+
Update: {
|
|
10205
|
+
created_at?: string;
|
|
10206
|
+
feature_id?: string;
|
|
10207
|
+
id?: string;
|
|
10208
|
+
is_active?: boolean;
|
|
10209
|
+
last_seen_at?: string;
|
|
10210
|
+
module_id?: string;
|
|
10211
|
+
name?: string;
|
|
10212
|
+
};
|
|
10213
|
+
Relationships: [];
|
|
10214
|
+
};
|
|
10014
10215
|
module_permissions: {
|
|
10015
10216
|
Row: {
|
|
10016
10217
|
created_at: string;
|
|
@@ -10119,63 +10320,6 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
10119
10320
|
};
|
|
10120
10321
|
Relationships: [];
|
|
10121
10322
|
};
|
|
10122
|
-
monteurs: {
|
|
10123
|
-
Row: {
|
|
10124
|
-
avatar_url: string | null;
|
|
10125
|
-
color: string | null;
|
|
10126
|
-
created_at: string;
|
|
10127
|
-
email: string | null;
|
|
10128
|
-
id: string;
|
|
10129
|
-
is_active: boolean;
|
|
10130
|
-
leave_balance_hours: number;
|
|
10131
|
-
name: string;
|
|
10132
|
-
persnr: number | null;
|
|
10133
|
-
phone: string | null;
|
|
10134
|
-
role: string;
|
|
10135
|
-
tenant_id: string;
|
|
10136
|
-
updated_at: string;
|
|
10137
|
-
user_id: string | null;
|
|
10138
|
-
};
|
|
10139
|
-
Insert: {
|
|
10140
|
-
avatar_url?: string | null;
|
|
10141
|
-
color?: string | null;
|
|
10142
|
-
created_at?: string;
|
|
10143
|
-
email?: string | null;
|
|
10144
|
-
id?: string;
|
|
10145
|
-
is_active?: boolean;
|
|
10146
|
-
leave_balance_hours?: number;
|
|
10147
|
-
name: string;
|
|
10148
|
-
persnr?: number | null;
|
|
10149
|
-
phone?: string | null;
|
|
10150
|
-
role?: string;
|
|
10151
|
-
tenant_id: string;
|
|
10152
|
-
updated_at?: string;
|
|
10153
|
-
user_id?: string | null;
|
|
10154
|
-
};
|
|
10155
|
-
Update: {
|
|
10156
|
-
avatar_url?: string | null;
|
|
10157
|
-
color?: string | null;
|
|
10158
|
-
created_at?: string;
|
|
10159
|
-
email?: string | null;
|
|
10160
|
-
id?: string;
|
|
10161
|
-
is_active?: boolean;
|
|
10162
|
-
leave_balance_hours?: number;
|
|
10163
|
-
name?: string;
|
|
10164
|
-
persnr?: number | null;
|
|
10165
|
-
phone?: string | null;
|
|
10166
|
-
role?: string;
|
|
10167
|
-
tenant_id?: string;
|
|
10168
|
-
updated_at?: string;
|
|
10169
|
-
user_id?: string | null;
|
|
10170
|
-
};
|
|
10171
|
-
Relationships: [{
|
|
10172
|
-
foreignKeyName: "monteurs_tenant_id_fkey";
|
|
10173
|
-
columns: ["tenant_id"];
|
|
10174
|
-
isOneToOne: false;
|
|
10175
|
-
referencedRelation: "tenants";
|
|
10176
|
-
referencedColumns: ["id"];
|
|
10177
|
-
}];
|
|
10178
|
-
};
|
|
10179
10323
|
nmbrs_component_mapping: {
|
|
10180
10324
|
Row: {
|
|
10181
10325
|
created_at: string;
|
|
@@ -10246,13 +10390,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
10246
10390
|
nmbrs_employee_number?: string;
|
|
10247
10391
|
updated_at?: string;
|
|
10248
10392
|
};
|
|
10249
|
-
Relationships: [
|
|
10250
|
-
foreignKeyName: "nmbrs_employee_mapping_monteur_id_fkey";
|
|
10251
|
-
columns: ["monteur_id"];
|
|
10252
|
-
isOneToOne: true;
|
|
10253
|
-
referencedRelation: "monteurs";
|
|
10254
|
-
referencedColumns: ["id"];
|
|
10255
|
-
}];
|
|
10393
|
+
Relationships: [];
|
|
10256
10394
|
};
|
|
10257
10395
|
nmbrs_export_lines: {
|
|
10258
10396
|
Row: {
|
|
@@ -10301,12 +10439,6 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
10301
10439
|
wage_code?: string;
|
|
10302
10440
|
};
|
|
10303
10441
|
Relationships: [{
|
|
10304
|
-
foreignKeyName: "nmbrs_export_lines_monteur_id_fkey";
|
|
10305
|
-
columns: ["monteur_id"];
|
|
10306
|
-
isOneToOne: false;
|
|
10307
|
-
referencedRelation: "monteurs";
|
|
10308
|
-
referencedColumns: ["id"];
|
|
10309
|
-
}, {
|
|
10310
10442
|
foreignKeyName: "nmbrs_export_lines_run_id_fkey";
|
|
10311
10443
|
columns: ["run_id"];
|
|
10312
10444
|
isOneToOne: false;
|
|
@@ -12697,6 +12829,9 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
12697
12829
|
created_at: string;
|
|
12698
12830
|
id: string;
|
|
12699
12831
|
laatst_gezien: string;
|
|
12832
|
+
laatste_fout: string | null;
|
|
12833
|
+
laatste_request_id: number | null;
|
|
12834
|
+
mislukte_posts: number;
|
|
12700
12835
|
tick_sleutel: string;
|
|
12701
12836
|
updated_at: string;
|
|
12702
12837
|
};
|
|
@@ -12706,6 +12841,9 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
12706
12841
|
created_at?: string;
|
|
12707
12842
|
id?: string;
|
|
12708
12843
|
laatst_gezien?: string;
|
|
12844
|
+
laatste_fout?: string | null;
|
|
12845
|
+
laatste_request_id?: number | null;
|
|
12846
|
+
mislukte_posts?: number;
|
|
12709
12847
|
tick_sleutel?: string;
|
|
12710
12848
|
updated_at?: string;
|
|
12711
12849
|
};
|
|
@@ -12715,6 +12853,9 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
12715
12853
|
created_at?: string;
|
|
12716
12854
|
id?: string;
|
|
12717
12855
|
laatst_gezien?: string;
|
|
12856
|
+
laatste_fout?: string | null;
|
|
12857
|
+
laatste_request_id?: number | null;
|
|
12858
|
+
mislukte_posts?: number;
|
|
12718
12859
|
tick_sleutel?: string;
|
|
12719
12860
|
updated_at?: string;
|
|
12720
12861
|
};
|
|
@@ -14223,6 +14364,96 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
14223
14364
|
referencedColumns: ["id"];
|
|
14224
14365
|
}];
|
|
14225
14366
|
};
|
|
14367
|
+
role_assignments: {
|
|
14368
|
+
Row: {
|
|
14369
|
+
created_at: string;
|
|
14370
|
+
id: string;
|
|
14371
|
+
role_id: string;
|
|
14372
|
+
user_id: string;
|
|
14373
|
+
};
|
|
14374
|
+
Insert: {
|
|
14375
|
+
created_at?: string;
|
|
14376
|
+
id?: string;
|
|
14377
|
+
role_id: string;
|
|
14378
|
+
user_id: string;
|
|
14379
|
+
};
|
|
14380
|
+
Update: {
|
|
14381
|
+
created_at?: string;
|
|
14382
|
+
id?: string;
|
|
14383
|
+
role_id?: string;
|
|
14384
|
+
user_id?: string;
|
|
14385
|
+
};
|
|
14386
|
+
Relationships: [{
|
|
14387
|
+
foreignKeyName: "role_assignments_role_id_fkey";
|
|
14388
|
+
columns: ["role_id"];
|
|
14389
|
+
isOneToOne: false;
|
|
14390
|
+
referencedRelation: "roles";
|
|
14391
|
+
referencedColumns: ["id"];
|
|
14392
|
+
}];
|
|
14393
|
+
};
|
|
14394
|
+
role_permissions: {
|
|
14395
|
+
Row: {
|
|
14396
|
+
can_edit: boolean;
|
|
14397
|
+
can_view: boolean;
|
|
14398
|
+
feature_id: string;
|
|
14399
|
+
id: string;
|
|
14400
|
+
module_id: string;
|
|
14401
|
+
role_id: string;
|
|
14402
|
+
updated_at: string;
|
|
14403
|
+
};
|
|
14404
|
+
Insert: {
|
|
14405
|
+
can_edit?: boolean;
|
|
14406
|
+
can_view?: boolean;
|
|
14407
|
+
feature_id?: string;
|
|
14408
|
+
id?: string;
|
|
14409
|
+
module_id: string;
|
|
14410
|
+
role_id: string;
|
|
14411
|
+
updated_at?: string;
|
|
14412
|
+
};
|
|
14413
|
+
Update: {
|
|
14414
|
+
can_edit?: boolean;
|
|
14415
|
+
can_view?: boolean;
|
|
14416
|
+
feature_id?: string;
|
|
14417
|
+
id?: string;
|
|
14418
|
+
module_id?: string;
|
|
14419
|
+
role_id?: string;
|
|
14420
|
+
updated_at?: string;
|
|
14421
|
+
};
|
|
14422
|
+
Relationships: [{
|
|
14423
|
+
foreignKeyName: "role_permissions_role_id_fkey";
|
|
14424
|
+
columns: ["role_id"];
|
|
14425
|
+
isOneToOne: false;
|
|
14426
|
+
referencedRelation: "roles";
|
|
14427
|
+
referencedColumns: ["id"];
|
|
14428
|
+
}];
|
|
14429
|
+
};
|
|
14430
|
+
roles: {
|
|
14431
|
+
Row: {
|
|
14432
|
+
created_at: string;
|
|
14433
|
+
id: string;
|
|
14434
|
+
is_protected: boolean;
|
|
14435
|
+
key: string;
|
|
14436
|
+
name: string;
|
|
14437
|
+
updated_at: string;
|
|
14438
|
+
};
|
|
14439
|
+
Insert: {
|
|
14440
|
+
created_at?: string;
|
|
14441
|
+
id?: string;
|
|
14442
|
+
is_protected?: boolean;
|
|
14443
|
+
key: string;
|
|
14444
|
+
name: string;
|
|
14445
|
+
updated_at?: string;
|
|
14446
|
+
};
|
|
14447
|
+
Update: {
|
|
14448
|
+
created_at?: string;
|
|
14449
|
+
id?: string;
|
|
14450
|
+
is_protected?: boolean;
|
|
14451
|
+
key?: string;
|
|
14452
|
+
name?: string;
|
|
14453
|
+
updated_at?: string;
|
|
14454
|
+
};
|
|
14455
|
+
Relationships: [];
|
|
14456
|
+
};
|
|
14226
14457
|
rooms: {
|
|
14227
14458
|
Row: {
|
|
14228
14459
|
capacity: number;
|
|
@@ -14892,6 +15123,54 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
14892
15123
|
};
|
|
14893
15124
|
Relationships: [];
|
|
14894
15125
|
};
|
|
15126
|
+
time_compensation_entries: {
|
|
15127
|
+
Row: {
|
|
15128
|
+
created_at: string;
|
|
15129
|
+
employee_id: string;
|
|
15130
|
+
entry_date: string;
|
|
15131
|
+
id: string;
|
|
15132
|
+
km: number;
|
|
15133
|
+
meal_allowance: number;
|
|
15134
|
+
notes: string | null;
|
|
15135
|
+
standby_evening: number;
|
|
15136
|
+
standby_weekend: number;
|
|
15137
|
+
tvt_change: number;
|
|
15138
|
+
updated_at: string;
|
|
15139
|
+
};
|
|
15140
|
+
Insert: {
|
|
15141
|
+
created_at?: string;
|
|
15142
|
+
employee_id: string;
|
|
15143
|
+
entry_date: string;
|
|
15144
|
+
id?: string;
|
|
15145
|
+
km?: number;
|
|
15146
|
+
meal_allowance?: number;
|
|
15147
|
+
notes?: string | null;
|
|
15148
|
+
standby_evening?: number;
|
|
15149
|
+
standby_weekend?: number;
|
|
15150
|
+
tvt_change?: number;
|
|
15151
|
+
updated_at?: string;
|
|
15152
|
+
};
|
|
15153
|
+
Update: {
|
|
15154
|
+
created_at?: string;
|
|
15155
|
+
employee_id?: string;
|
|
15156
|
+
entry_date?: string;
|
|
15157
|
+
id?: string;
|
|
15158
|
+
km?: number;
|
|
15159
|
+
meal_allowance?: number;
|
|
15160
|
+
notes?: string | null;
|
|
15161
|
+
standby_evening?: number;
|
|
15162
|
+
standby_weekend?: number;
|
|
15163
|
+
tvt_change?: number;
|
|
15164
|
+
updated_at?: string;
|
|
15165
|
+
};
|
|
15166
|
+
Relationships: [{
|
|
15167
|
+
foreignKeyName: "time_compensation_entries_employee_id_fkey";
|
|
15168
|
+
columns: ["employee_id"];
|
|
15169
|
+
isOneToOne: false;
|
|
15170
|
+
referencedRelation: "profiles";
|
|
15171
|
+
referencedColumns: ["id"];
|
|
15172
|
+
}];
|
|
15173
|
+
};
|
|
14895
15174
|
time_entries: {
|
|
14896
15175
|
Row: {
|
|
14897
15176
|
created_at: string;
|
|
@@ -14926,65 +15205,170 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
14926
15205
|
undertime?: number;
|
|
14927
15206
|
updated_at?: string;
|
|
14928
15207
|
};
|
|
15208
|
+
Relationships: [];
|
|
15209
|
+
};
|
|
15210
|
+
time_log_week_approvals: {
|
|
15211
|
+
Row: {
|
|
15212
|
+
approved_at: string | null;
|
|
15213
|
+
approved_by: string | null;
|
|
15214
|
+
created_at: string;
|
|
15215
|
+
employee_id: string;
|
|
15216
|
+
id: string;
|
|
15217
|
+
locked: boolean;
|
|
15218
|
+
notes: string | null;
|
|
15219
|
+
status: string;
|
|
15220
|
+
submitted_at: string | null;
|
|
15221
|
+
updated_at: string;
|
|
15222
|
+
week_start: string;
|
|
15223
|
+
};
|
|
15224
|
+
Insert: {
|
|
15225
|
+
approved_at?: string | null;
|
|
15226
|
+
approved_by?: string | null;
|
|
15227
|
+
created_at?: string;
|
|
15228
|
+
employee_id: string;
|
|
15229
|
+
id?: string;
|
|
15230
|
+
locked?: boolean;
|
|
15231
|
+
notes?: string | null;
|
|
15232
|
+
status?: string;
|
|
15233
|
+
submitted_at?: string | null;
|
|
15234
|
+
updated_at?: string;
|
|
15235
|
+
week_start: string;
|
|
15236
|
+
};
|
|
15237
|
+
Update: {
|
|
15238
|
+
approved_at?: string | null;
|
|
15239
|
+
approved_by?: string | null;
|
|
15240
|
+
created_at?: string;
|
|
15241
|
+
employee_id?: string;
|
|
15242
|
+
id?: string;
|
|
15243
|
+
locked?: boolean;
|
|
15244
|
+
notes?: string | null;
|
|
15245
|
+
status?: string;
|
|
15246
|
+
submitted_at?: string | null;
|
|
15247
|
+
updated_at?: string;
|
|
15248
|
+
week_start?: string;
|
|
15249
|
+
};
|
|
14929
15250
|
Relationships: [{
|
|
14930
|
-
foreignKeyName: "
|
|
15251
|
+
foreignKeyName: "time_log_week_approvals_employee_id_fkey";
|
|
14931
15252
|
columns: ["employee_id"];
|
|
14932
15253
|
isOneToOne: false;
|
|
14933
|
-
referencedRelation: "
|
|
15254
|
+
referencedRelation: "profiles";
|
|
14934
15255
|
referencedColumns: ["id"];
|
|
14935
15256
|
}];
|
|
14936
15257
|
};
|
|
14937
15258
|
time_logs: {
|
|
14938
15259
|
Row: {
|
|
15260
|
+
auto_stop_reason: string | null;
|
|
15261
|
+
auto_stopped: boolean;
|
|
14939
15262
|
created_at: string;
|
|
15263
|
+
current_latitude: number | null;
|
|
15264
|
+
current_longitude: number | null;
|
|
15265
|
+
current_position_updated_at: string | null;
|
|
14940
15266
|
employee_id: string;
|
|
15267
|
+
end_latitude: number | null;
|
|
15268
|
+
end_longitude: number | null;
|
|
14941
15269
|
end_time: string | null;
|
|
15270
|
+
eta_distance_km: number | null;
|
|
15271
|
+
eta_minutes: number | null;
|
|
15272
|
+
eta_updated_at: string | null;
|
|
15273
|
+
hour_category: string | null;
|
|
14942
15274
|
id: string;
|
|
15275
|
+
last_reminder_at: string | null;
|
|
14943
15276
|
notes: string | null;
|
|
14944
15277
|
overtime_hours: number;
|
|
14945
15278
|
overtime_type: string | null;
|
|
14946
15279
|
regular_hours: number;
|
|
15280
|
+
reminder_count: number;
|
|
15281
|
+
requires_review: boolean;
|
|
15282
|
+
start_latitude: number | null;
|
|
15283
|
+
start_longitude: number | null;
|
|
14947
15284
|
start_time: string;
|
|
14948
15285
|
travel_cost: number | null;
|
|
14949
15286
|
travel_distance_km: number | null;
|
|
15287
|
+
travel_duration_min: number | null;
|
|
15288
|
+
travel_time_minutes: number | null;
|
|
14950
15289
|
type: string;
|
|
14951
15290
|
updated_at: string;
|
|
15291
|
+
work_order_id: string | null;
|
|
14952
15292
|
};
|
|
14953
15293
|
Insert: {
|
|
15294
|
+
auto_stop_reason?: string | null;
|
|
15295
|
+
auto_stopped?: boolean;
|
|
14954
15296
|
created_at?: string;
|
|
15297
|
+
current_latitude?: number | null;
|
|
15298
|
+
current_longitude?: number | null;
|
|
15299
|
+
current_position_updated_at?: string | null;
|
|
14955
15300
|
employee_id: string;
|
|
15301
|
+
end_latitude?: number | null;
|
|
15302
|
+
end_longitude?: number | null;
|
|
14956
15303
|
end_time?: string | null;
|
|
15304
|
+
eta_distance_km?: number | null;
|
|
15305
|
+
eta_minutes?: number | null;
|
|
15306
|
+
eta_updated_at?: string | null;
|
|
15307
|
+
hour_category?: string | null;
|
|
14957
15308
|
id?: string;
|
|
15309
|
+
last_reminder_at?: string | null;
|
|
14958
15310
|
notes?: string | null;
|
|
14959
15311
|
overtime_hours?: number;
|
|
14960
15312
|
overtime_type?: string | null;
|
|
14961
15313
|
regular_hours?: number;
|
|
15314
|
+
reminder_count?: number;
|
|
15315
|
+
requires_review?: boolean;
|
|
15316
|
+
start_latitude?: number | null;
|
|
15317
|
+
start_longitude?: number | null;
|
|
14962
15318
|
start_time?: string;
|
|
14963
15319
|
travel_cost?: number | null;
|
|
14964
15320
|
travel_distance_km?: number | null;
|
|
15321
|
+
travel_duration_min?: number | null;
|
|
15322
|
+
travel_time_minutes?: number | null;
|
|
14965
15323
|
type: string;
|
|
14966
15324
|
updated_at?: string;
|
|
15325
|
+
work_order_id?: string | null;
|
|
14967
15326
|
};
|
|
14968
15327
|
Update: {
|
|
15328
|
+
auto_stop_reason?: string | null;
|
|
15329
|
+
auto_stopped?: boolean;
|
|
14969
15330
|
created_at?: string;
|
|
15331
|
+
current_latitude?: number | null;
|
|
15332
|
+
current_longitude?: number | null;
|
|
15333
|
+
current_position_updated_at?: string | null;
|
|
14970
15334
|
employee_id?: string;
|
|
15335
|
+
end_latitude?: number | null;
|
|
15336
|
+
end_longitude?: number | null;
|
|
14971
15337
|
end_time?: string | null;
|
|
15338
|
+
eta_distance_km?: number | null;
|
|
15339
|
+
eta_minutes?: number | null;
|
|
15340
|
+
eta_updated_at?: string | null;
|
|
15341
|
+
hour_category?: string | null;
|
|
14972
15342
|
id?: string;
|
|
15343
|
+
last_reminder_at?: string | null;
|
|
14973
15344
|
notes?: string | null;
|
|
14974
15345
|
overtime_hours?: number;
|
|
14975
15346
|
overtime_type?: string | null;
|
|
14976
15347
|
regular_hours?: number;
|
|
15348
|
+
reminder_count?: number;
|
|
15349
|
+
requires_review?: boolean;
|
|
15350
|
+
start_latitude?: number | null;
|
|
15351
|
+
start_longitude?: number | null;
|
|
14977
15352
|
start_time?: string;
|
|
14978
15353
|
travel_cost?: number | null;
|
|
14979
15354
|
travel_distance_km?: number | null;
|
|
15355
|
+
travel_duration_min?: number | null;
|
|
15356
|
+
travel_time_minutes?: number | null;
|
|
14980
15357
|
type?: string;
|
|
14981
15358
|
updated_at?: string;
|
|
15359
|
+
work_order_id?: string | null;
|
|
14982
15360
|
};
|
|
14983
15361
|
Relationships: [{
|
|
14984
15362
|
foreignKeyName: "time_logs_employee_id_fkey";
|
|
14985
15363
|
columns: ["employee_id"];
|
|
14986
15364
|
isOneToOne: false;
|
|
14987
|
-
referencedRelation: "
|
|
15365
|
+
referencedRelation: "profiles";
|
|
15366
|
+
referencedColumns: ["id"];
|
|
15367
|
+
}, {
|
|
15368
|
+
foreignKeyName: "time_logs_work_order_id_fkey";
|
|
15369
|
+
columns: ["work_order_id"];
|
|
15370
|
+
isOneToOne: false;
|
|
15371
|
+
referencedRelation: "work_orders";
|
|
14988
15372
|
referencedColumns: ["id"];
|
|
14989
15373
|
}];
|
|
14990
15374
|
};
|
|
@@ -15023,7 +15407,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
15023
15407
|
foreignKeyName: "time_off_entries_employee_id_fkey";
|
|
15024
15408
|
columns: ["employee_id"];
|
|
15025
15409
|
isOneToOne: false;
|
|
15026
|
-
referencedRelation: "
|
|
15410
|
+
referencedRelation: "profiles";
|
|
15027
15411
|
referencedColumns: ["id"];
|
|
15028
15412
|
}];
|
|
15029
15413
|
};
|
|
@@ -15333,6 +15717,39 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
15333
15717
|
};
|
|
15334
15718
|
Relationships: [];
|
|
15335
15719
|
};
|
|
15720
|
+
twinfield_cron_locks: {
|
|
15721
|
+
Row: {
|
|
15722
|
+
created_at: string;
|
|
15723
|
+
heartbeat_at: string;
|
|
15724
|
+
job_name: string;
|
|
15725
|
+
last_error: string | null;
|
|
15726
|
+
last_finished_at: string | null;
|
|
15727
|
+
locked_at: string;
|
|
15728
|
+
run_id: string;
|
|
15729
|
+
updated_at: string;
|
|
15730
|
+
};
|
|
15731
|
+
Insert: {
|
|
15732
|
+
created_at?: string;
|
|
15733
|
+
heartbeat_at?: string;
|
|
15734
|
+
job_name: string;
|
|
15735
|
+
last_error?: string | null;
|
|
15736
|
+
last_finished_at?: string | null;
|
|
15737
|
+
locked_at?: string;
|
|
15738
|
+
run_id?: string;
|
|
15739
|
+
updated_at?: string;
|
|
15740
|
+
};
|
|
15741
|
+
Update: {
|
|
15742
|
+
created_at?: string;
|
|
15743
|
+
heartbeat_at?: string;
|
|
15744
|
+
job_name?: string;
|
|
15745
|
+
last_error?: string | null;
|
|
15746
|
+
last_finished_at?: string | null;
|
|
15747
|
+
locked_at?: string;
|
|
15748
|
+
run_id?: string;
|
|
15749
|
+
updated_at?: string;
|
|
15750
|
+
};
|
|
15751
|
+
Relationships: [];
|
|
15752
|
+
};
|
|
15336
15753
|
twinfield_customers: {
|
|
15337
15754
|
Row: {
|
|
15338
15755
|
address: string | null;
|
|
@@ -15933,6 +16350,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
15933
16350
|
twinfield_push_queue: {
|
|
15934
16351
|
Row: {
|
|
15935
16352
|
action: string;
|
|
16353
|
+
attempt_started_at: string | null;
|
|
15936
16354
|
attempts: number;
|
|
15937
16355
|
connection_id: string | null;
|
|
15938
16356
|
created_at: string;
|
|
@@ -15949,6 +16367,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
15949
16367
|
};
|
|
15950
16368
|
Insert: {
|
|
15951
16369
|
action?: string;
|
|
16370
|
+
attempt_started_at?: string | null;
|
|
15952
16371
|
attempts?: number;
|
|
15953
16372
|
connection_id?: string | null;
|
|
15954
16373
|
created_at?: string;
|
|
@@ -15965,6 +16384,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
15965
16384
|
};
|
|
15966
16385
|
Update: {
|
|
15967
16386
|
action?: string;
|
|
16387
|
+
attempt_started_at?: string | null;
|
|
15968
16388
|
attempts?: number;
|
|
15969
16389
|
connection_id?: string | null;
|
|
15970
16390
|
created_at?: string;
|
|
@@ -16162,13 +16582,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
16162
16582
|
workday_end?: string | null;
|
|
16163
16583
|
workday_start?: string | null;
|
|
16164
16584
|
};
|
|
16165
|
-
Relationships: [
|
|
16166
|
-
foreignKeyName: "uren_cao_profiles_monteur_id_fkey";
|
|
16167
|
-
columns: ["monteur_id"];
|
|
16168
|
-
isOneToOne: true;
|
|
16169
|
-
referencedRelation: "monteurs";
|
|
16170
|
-
referencedColumns: ["id"];
|
|
16171
|
-
}];
|
|
16585
|
+
Relationships: [];
|
|
16172
16586
|
};
|
|
16173
16587
|
uren_entries: {
|
|
16174
16588
|
Row: {
|
|
@@ -16214,12 +16628,6 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
16214
16628
|
werkbon_id?: string | null;
|
|
16215
16629
|
};
|
|
16216
16630
|
Relationships: [{
|
|
16217
|
-
foreignKeyName: "uren_entries_monteur_id_fkey";
|
|
16218
|
-
columns: ["monteur_id"];
|
|
16219
|
-
isOneToOne: false;
|
|
16220
|
-
referencedRelation: "monteurs";
|
|
16221
|
-
referencedColumns: ["id"];
|
|
16222
|
-
}, {
|
|
16223
16631
|
foreignKeyName: "uren_entries_werkbon_id_fkey";
|
|
16224
16632
|
columns: ["werkbon_id"];
|
|
16225
16633
|
isOneToOne: false;
|
|
@@ -16687,17 +17095,12 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
16687
17095
|
submitted_at?: string | null;
|
|
16688
17096
|
updated_at?: string;
|
|
16689
17097
|
};
|
|
16690
|
-
Relationships: [
|
|
16691
|
-
foreignKeyName: "uren_weekstaten_monteur_id_fkey";
|
|
16692
|
-
columns: ["monteur_id"];
|
|
16693
|
-
isOneToOne: false;
|
|
16694
|
-
referencedRelation: "monteurs";
|
|
16695
|
-
referencedColumns: ["id"];
|
|
16696
|
-
}];
|
|
17098
|
+
Relationships: [];
|
|
16697
17099
|
};
|
|
16698
17100
|
user_module_permissions: {
|
|
16699
17101
|
Row: {
|
|
16700
17102
|
created_at: string;
|
|
17103
|
+
feature_id: string;
|
|
16701
17104
|
id: string;
|
|
16702
17105
|
module_id: string;
|
|
16703
17106
|
permission: string;
|
|
@@ -16706,6 +17109,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
16706
17109
|
};
|
|
16707
17110
|
Insert: {
|
|
16708
17111
|
created_at?: string;
|
|
17112
|
+
feature_id?: string;
|
|
16709
17113
|
id?: string;
|
|
16710
17114
|
module_id: string;
|
|
16711
17115
|
permission: string;
|
|
@@ -16714,6 +17118,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
16714
17118
|
};
|
|
16715
17119
|
Update: {
|
|
16716
17120
|
created_at?: string;
|
|
17121
|
+
feature_id?: string;
|
|
16717
17122
|
id?: string;
|
|
16718
17123
|
module_id?: string;
|
|
16719
17124
|
permission?: string;
|
|
@@ -16749,6 +17154,51 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
16749
17154
|
referencedColumns: ["id"];
|
|
16750
17155
|
}];
|
|
16751
17156
|
};
|
|
17157
|
+
van_inventories: {
|
|
17158
|
+
Row: {
|
|
17159
|
+
barcode: string | null;
|
|
17160
|
+
created_at: string;
|
|
17161
|
+
id: string;
|
|
17162
|
+
monteur_id: string | null;
|
|
17163
|
+
price_per_unit: number;
|
|
17164
|
+
product_name: string;
|
|
17165
|
+
quantity_current: number;
|
|
17166
|
+
quantity_min: number;
|
|
17167
|
+
unit: string;
|
|
17168
|
+
updated_at: string;
|
|
17169
|
+
};
|
|
17170
|
+
Insert: {
|
|
17171
|
+
barcode?: string | null;
|
|
17172
|
+
created_at?: string;
|
|
17173
|
+
id?: string;
|
|
17174
|
+
monteur_id?: string | null;
|
|
17175
|
+
price_per_unit?: number;
|
|
17176
|
+
product_name: string;
|
|
17177
|
+
quantity_current?: number;
|
|
17178
|
+
quantity_min?: number;
|
|
17179
|
+
unit?: string;
|
|
17180
|
+
updated_at?: string;
|
|
17181
|
+
};
|
|
17182
|
+
Update: {
|
|
17183
|
+
barcode?: string | null;
|
|
17184
|
+
created_at?: string;
|
|
17185
|
+
id?: string;
|
|
17186
|
+
monteur_id?: string | null;
|
|
17187
|
+
price_per_unit?: number;
|
|
17188
|
+
product_name?: string;
|
|
17189
|
+
quantity_current?: number;
|
|
17190
|
+
quantity_min?: number;
|
|
17191
|
+
unit?: string;
|
|
17192
|
+
updated_at?: string;
|
|
17193
|
+
};
|
|
17194
|
+
Relationships: [{
|
|
17195
|
+
foreignKeyName: "van_inventories_monteur_id_fkey";
|
|
17196
|
+
columns: ["monteur_id"];
|
|
17197
|
+
isOneToOne: false;
|
|
17198
|
+
referencedRelation: "profiles";
|
|
17199
|
+
referencedColumns: ["id"];
|
|
17200
|
+
}];
|
|
17201
|
+
};
|
|
16752
17202
|
voorraad_custom_fields: {
|
|
16753
17203
|
Row: {
|
|
16754
17204
|
created_at: string;
|
|
@@ -17699,7 +18149,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
17699
18149
|
foreignKeyName: "work_order_monteurs_monteur_id_fkey";
|
|
17700
18150
|
columns: ["monteur_id"];
|
|
17701
18151
|
isOneToOne: false;
|
|
17702
|
-
referencedRelation: "
|
|
18152
|
+
referencedRelation: "profiles";
|
|
17703
18153
|
referencedColumns: ["id"];
|
|
17704
18154
|
}, {
|
|
17705
18155
|
foreignKeyName: "work_order_monteurs_work_order_id_fkey";
|
|
@@ -17709,6 +18159,60 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
17709
18159
|
referencedColumns: ["id"];
|
|
17710
18160
|
}];
|
|
17711
18161
|
};
|
|
18162
|
+
work_order_photos: {
|
|
18163
|
+
Row: {
|
|
18164
|
+
ai_caption: string | null;
|
|
18165
|
+
ai_categorized_at: string | null;
|
|
18166
|
+
ai_labels: import("../integrations/supabase/types").Json | null;
|
|
18167
|
+
caption: string | null;
|
|
18168
|
+
created_at: string;
|
|
18169
|
+
id: string;
|
|
18170
|
+
monteur_id: string | null;
|
|
18171
|
+
photo_type: string;
|
|
18172
|
+
storage_path: string;
|
|
18173
|
+
updated_at: string;
|
|
18174
|
+
work_order_id: string;
|
|
18175
|
+
};
|
|
18176
|
+
Insert: {
|
|
18177
|
+
ai_caption?: string | null;
|
|
18178
|
+
ai_categorized_at?: string | null;
|
|
18179
|
+
ai_labels?: import("../integrations/supabase/types").Json | null;
|
|
18180
|
+
caption?: string | null;
|
|
18181
|
+
created_at?: string;
|
|
18182
|
+
id?: string;
|
|
18183
|
+
monteur_id?: string | null;
|
|
18184
|
+
photo_type?: string;
|
|
18185
|
+
storage_path: string;
|
|
18186
|
+
updated_at?: string;
|
|
18187
|
+
work_order_id: string;
|
|
18188
|
+
};
|
|
18189
|
+
Update: {
|
|
18190
|
+
ai_caption?: string | null;
|
|
18191
|
+
ai_categorized_at?: string | null;
|
|
18192
|
+
ai_labels?: import("../integrations/supabase/types").Json | null;
|
|
18193
|
+
caption?: string | null;
|
|
18194
|
+
created_at?: string;
|
|
18195
|
+
id?: string;
|
|
18196
|
+
monteur_id?: string | null;
|
|
18197
|
+
photo_type?: string;
|
|
18198
|
+
storage_path?: string;
|
|
18199
|
+
updated_at?: string;
|
|
18200
|
+
work_order_id?: string;
|
|
18201
|
+
};
|
|
18202
|
+
Relationships: [{
|
|
18203
|
+
foreignKeyName: "work_order_photos_monteur_id_fkey";
|
|
18204
|
+
columns: ["monteur_id"];
|
|
18205
|
+
isOneToOne: false;
|
|
18206
|
+
referencedRelation: "profiles";
|
|
18207
|
+
referencedColumns: ["id"];
|
|
18208
|
+
}, {
|
|
18209
|
+
foreignKeyName: "work_order_photos_work_order_id_fkey";
|
|
18210
|
+
columns: ["work_order_id"];
|
|
18211
|
+
isOneToOne: false;
|
|
18212
|
+
referencedRelation: "work_orders";
|
|
18213
|
+
referencedColumns: ["id"];
|
|
18214
|
+
}];
|
|
18215
|
+
};
|
|
17712
18216
|
work_orders: {
|
|
17713
18217
|
Row: {
|
|
17714
18218
|
assigned_to: string | null;
|
|
@@ -17740,7 +18244,6 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
17740
18244
|
scheduled_end_time: string | null;
|
|
17741
18245
|
scheduled_start_time: string | null;
|
|
17742
18246
|
status: string;
|
|
17743
|
-
tenant_id: string;
|
|
17744
18247
|
total_hours_worked: number | null;
|
|
17745
18248
|
total_price: number | null;
|
|
17746
18249
|
travel_time_minutes: number | null;
|
|
@@ -17778,7 +18281,6 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
17778
18281
|
scheduled_end_time?: string | null;
|
|
17779
18282
|
scheduled_start_time?: string | null;
|
|
17780
18283
|
status?: string;
|
|
17781
|
-
tenant_id: string;
|
|
17782
18284
|
total_hours_worked?: number | null;
|
|
17783
18285
|
total_price?: number | null;
|
|
17784
18286
|
travel_time_minutes?: number | null;
|
|
@@ -17816,7 +18318,6 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
17816
18318
|
scheduled_end_time?: string | null;
|
|
17817
18319
|
scheduled_start_time?: string | null;
|
|
17818
18320
|
status?: string;
|
|
17819
|
-
tenant_id?: string;
|
|
17820
18321
|
total_hours_worked?: number | null;
|
|
17821
18322
|
total_price?: number | null;
|
|
17822
18323
|
travel_time_minutes?: number | null;
|
|
@@ -17830,12 +18331,6 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
17830
18331
|
isOneToOne: false;
|
|
17831
18332
|
referencedRelation: "work_orders";
|
|
17832
18333
|
referencedColumns: ["id"];
|
|
17833
|
-
}, {
|
|
17834
|
-
foreignKeyName: "work_orders_tenant_id_fkey";
|
|
17835
|
-
columns: ["tenant_id"];
|
|
17836
|
-
isOneToOne: false;
|
|
17837
|
-
referencedRelation: "tenants";
|
|
17838
|
-
referencedColumns: ["id"];
|
|
17839
18334
|
}];
|
|
17840
18335
|
};
|
|
17841
18336
|
};
|
|
@@ -18571,6 +19066,10 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
18571
19066
|
};
|
|
18572
19067
|
Returns: number;
|
|
18573
19068
|
};
|
|
19069
|
+
can_manage_hours: {
|
|
19070
|
+
Args: never;
|
|
19071
|
+
Returns: boolean;
|
|
19072
|
+
};
|
|
18574
19073
|
check_offer_product_available_stock: {
|
|
18575
19074
|
Args: {
|
|
18576
19075
|
p_campaign_product_id: string;
|
|
@@ -18760,6 +19259,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
18760
19259
|
};
|
|
18761
19260
|
Returns: {
|
|
18762
19261
|
action: string;
|
|
19262
|
+
attempt_started_at: string | null;
|
|
18763
19263
|
attempts: number;
|
|
18764
19264
|
connection_id: string | null;
|
|
18765
19265
|
created_at: string;
|
|
@@ -18847,6 +19347,30 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
18847
19347
|
agent_naam: string;
|
|
18848
19348
|
}[];
|
|
18849
19349
|
};
|
|
19350
|
+
consume_van_inventory: {
|
|
19351
|
+
Args: {
|
|
19352
|
+
p_inventory_id: string;
|
|
19353
|
+
p_quantity: number;
|
|
19354
|
+
};
|
|
19355
|
+
Returns: {
|
|
19356
|
+
barcode: string | null;
|
|
19357
|
+
created_at: string;
|
|
19358
|
+
id: string;
|
|
19359
|
+
monteur_id: string | null;
|
|
19360
|
+
price_per_unit: number;
|
|
19361
|
+
product_name: string;
|
|
19362
|
+
quantity_current: number;
|
|
19363
|
+
quantity_min: number;
|
|
19364
|
+
unit: string;
|
|
19365
|
+
updated_at: string;
|
|
19366
|
+
};
|
|
19367
|
+
SetofOptions: {
|
|
19368
|
+
from: "*";
|
|
19369
|
+
to: "van_inventories";
|
|
19370
|
+
isOneToOne: true;
|
|
19371
|
+
isSetofReturn: false;
|
|
19372
|
+
};
|
|
19373
|
+
};
|
|
18850
19374
|
control_get_todays_carts: {
|
|
18851
19375
|
Args: never;
|
|
18852
19376
|
Returns: {
|
|
@@ -18920,6 +19444,13 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
18920
19444
|
_user_id: string;
|
|
18921
19445
|
};
|
|
18922
19446
|
Returns: string;
|
|
19447
|
+
} | {
|
|
19448
|
+
Args: {
|
|
19449
|
+
_feature_id?: string;
|
|
19450
|
+
_module_id: string;
|
|
19451
|
+
_user_id: string;
|
|
19452
|
+
};
|
|
19453
|
+
Returns: string;
|
|
18923
19454
|
};
|
|
18924
19455
|
email_auth_decrypt: {
|
|
18925
19456
|
Args: {
|
|
@@ -19271,12 +19802,6 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
19271
19802
|
Args: never;
|
|
19272
19803
|
Returns: string;
|
|
19273
19804
|
};
|
|
19274
|
-
get_work_order_tenant_id: {
|
|
19275
|
-
Args: {
|
|
19276
|
-
wo_id: string;
|
|
19277
|
-
};
|
|
19278
|
-
Returns: string;
|
|
19279
|
-
};
|
|
19280
19805
|
has_module_permission: {
|
|
19281
19806
|
Args: {
|
|
19282
19807
|
_min: string;
|
|
@@ -19310,6 +19835,13 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
19310
19835
|
};
|
|
19311
19836
|
Returns: boolean;
|
|
19312
19837
|
};
|
|
19838
|
+
is_time_log_week_locked: {
|
|
19839
|
+
Args: {
|
|
19840
|
+
p_employee_id: string;
|
|
19841
|
+
p_start_time: string;
|
|
19842
|
+
};
|
|
19843
|
+
Returns: boolean;
|
|
19844
|
+
};
|
|
19313
19845
|
is_user_admin: {
|
|
19314
19846
|
Args: never;
|
|
19315
19847
|
Returns: boolean;
|
|
@@ -19324,13 +19856,14 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
19324
19856
|
};
|
|
19325
19857
|
Returns: boolean;
|
|
19326
19858
|
};
|
|
19327
|
-
|
|
19859
|
+
list_medewerkers: {
|
|
19328
19860
|
Args: never;
|
|
19329
19861
|
Returns: {
|
|
19330
19862
|
avatar_url: string;
|
|
19331
19863
|
display_name: string;
|
|
19332
19864
|
email: string;
|
|
19333
19865
|
id: string;
|
|
19866
|
+
roles: string[];
|
|
19334
19867
|
}[];
|
|
19335
19868
|
};
|
|
19336
19869
|
list_my_planning_items: {
|
|
@@ -20121,6 +20654,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
20121
20654
|
my_module_permissions: {
|
|
20122
20655
|
Args: never;
|
|
20123
20656
|
Returns: {
|
|
20657
|
+
feature_id: string;
|
|
20124
20658
|
module_id: string;
|
|
20125
20659
|
permission: string;
|
|
20126
20660
|
}[];
|
|
@@ -21001,6 +21535,16 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
21001
21535
|
};
|
|
21002
21536
|
Returns: string[];
|
|
21003
21537
|
};
|
|
21538
|
+
switch_time_log: {
|
|
21539
|
+
Args: {
|
|
21540
|
+
p_employee_id: string;
|
|
21541
|
+
p_start_lat?: number;
|
|
21542
|
+
p_start_lng?: number;
|
|
21543
|
+
p_type: string;
|
|
21544
|
+
p_work_order_id?: string;
|
|
21545
|
+
};
|
|
21546
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21547
|
+
};
|
|
21004
21548
|
sync_all_layer_stocks: {
|
|
21005
21549
|
Args: never;
|
|
21006
21550
|
Returns: undefined;
|
|
@@ -21051,6 +21595,24 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
21051
21595
|
};
|
|
21052
21596
|
Returns: boolean;
|
|
21053
21597
|
};
|
|
21598
|
+
twinfield_cron_lock_acquire: {
|
|
21599
|
+
Args: {
|
|
21600
|
+
_job_name: string;
|
|
21601
|
+
_stale_seconds?: number;
|
|
21602
|
+
};
|
|
21603
|
+
Returns: boolean;
|
|
21604
|
+
};
|
|
21605
|
+
twinfield_cron_lock_release: {
|
|
21606
|
+
Args: {
|
|
21607
|
+
_error?: string;
|
|
21608
|
+
_job_name: string;
|
|
21609
|
+
};
|
|
21610
|
+
Returns: undefined;
|
|
21611
|
+
};
|
|
21612
|
+
twinfield_prune_push_queue: {
|
|
21613
|
+
Args: never;
|
|
21614
|
+
Returns: number;
|
|
21615
|
+
};
|
|
21054
21616
|
twinfield_register_cron: {
|
|
21055
21617
|
Args: {
|
|
21056
21618
|
apikey?: string;
|