@flowselections/logistiek-engine 1.0.7 → 1.0.8
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/RuleEnginePage.d.ts +1 -1
- package/dist-lib/components/RuleEnginePage.d.ts.map +1 -1
- package/dist-lib/components/RuleEnginePage.js +22 -2
- package/dist-lib/hooks/useRuleEngine.d.ts.map +1 -1
- package/dist-lib/hooks/useRuleEngine.js +3 -1
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +694 -116
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +694 -116
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +694 -116
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +710 -127
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/floridayDocuments.functions.d.ts +2082 -348
- package/dist-lib/lib/floridayDocuments.functions.d.ts.map +1 -1
- package/dist-lib/lib/floridayPush.functions.d.ts +694 -116
- package/dist-lib/lib/floridayPush.functions.d.ts.map +1 -1
- package/dist-lib/lib/loadCarrierPlanning.functions.d.ts +3470 -580
- package/dist-lib/lib/loadCarrierPlanning.functions.d.ts.map +1 -1
- package/dist-lib/lib/logisticsRecalcJob.functions.d.ts +1388 -232
- package/dist-lib/lib/logisticsRecalcJob.functions.d.ts.map +1 -1
- package/dist-lib/lib/logisticsRecalculate.functions.d.ts +694 -116
- package/dist-lib/lib/logisticsRecalculate.functions.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -871,6 +871,126 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
871
871
|
};
|
|
872
872
|
Relationships: [];
|
|
873
873
|
};
|
|
874
|
+
cao_holidays: {
|
|
875
|
+
Row: {
|
|
876
|
+
created_at: string;
|
|
877
|
+
description: string | null;
|
|
878
|
+
holiday_date: string;
|
|
879
|
+
id: string;
|
|
880
|
+
updated_at: string;
|
|
881
|
+
};
|
|
882
|
+
Insert: {
|
|
883
|
+
created_at?: string;
|
|
884
|
+
description?: string | null;
|
|
885
|
+
holiday_date: string;
|
|
886
|
+
id?: string;
|
|
887
|
+
updated_at?: string;
|
|
888
|
+
};
|
|
889
|
+
Update: {
|
|
890
|
+
created_at?: string;
|
|
891
|
+
description?: string | null;
|
|
892
|
+
holiday_date?: string;
|
|
893
|
+
id?: string;
|
|
894
|
+
updated_at?: string;
|
|
895
|
+
};
|
|
896
|
+
Relationships: [];
|
|
897
|
+
};
|
|
898
|
+
cao_settings: {
|
|
899
|
+
Row: {
|
|
900
|
+
auto_break_after_hours: number;
|
|
901
|
+
auto_break_minutes: number;
|
|
902
|
+
auto_break_unpaid: boolean;
|
|
903
|
+
auto_stop_after_hours: number;
|
|
904
|
+
callout_fee: number;
|
|
905
|
+
created_at: string;
|
|
906
|
+
daily_regular_hours: number;
|
|
907
|
+
default_hourly_rate: number;
|
|
908
|
+
id: string;
|
|
909
|
+
materials_markup_percent: number;
|
|
910
|
+
max_daily_hours: number;
|
|
911
|
+
max_weekly_hours: number;
|
|
912
|
+
meal_allowance_amount: number;
|
|
913
|
+
overtime_pct_178: number;
|
|
914
|
+
overtime_pct_189: number;
|
|
915
|
+
overtime_pct_212: number;
|
|
916
|
+
reminder_after_hours: number;
|
|
917
|
+
standby_evening_amount: number;
|
|
918
|
+
standby_weekend_amount: number;
|
|
919
|
+
travel_cost_per_km: number | null;
|
|
920
|
+
travel_cost_threshold_km: number | null;
|
|
921
|
+
travel_counts_as_work: boolean;
|
|
922
|
+
travel_hourly_rate: number;
|
|
923
|
+
travel_rate_per_hour: number;
|
|
924
|
+
travel_threshold_minutes: number;
|
|
925
|
+
updated_at: string;
|
|
926
|
+
weekend_always_212: boolean;
|
|
927
|
+
window_end: string;
|
|
928
|
+
window_start: string;
|
|
929
|
+
};
|
|
930
|
+
Insert: {
|
|
931
|
+
auto_break_after_hours?: number;
|
|
932
|
+
auto_break_minutes?: number;
|
|
933
|
+
auto_break_unpaid?: boolean;
|
|
934
|
+
auto_stop_after_hours?: number;
|
|
935
|
+
callout_fee?: number;
|
|
936
|
+
created_at?: string;
|
|
937
|
+
daily_regular_hours?: number;
|
|
938
|
+
default_hourly_rate?: number;
|
|
939
|
+
id?: string;
|
|
940
|
+
materials_markup_percent?: number;
|
|
941
|
+
max_daily_hours?: number;
|
|
942
|
+
max_weekly_hours?: number;
|
|
943
|
+
meal_allowance_amount?: number;
|
|
944
|
+
overtime_pct_178?: number;
|
|
945
|
+
overtime_pct_189?: number;
|
|
946
|
+
overtime_pct_212?: number;
|
|
947
|
+
reminder_after_hours?: number;
|
|
948
|
+
standby_evening_amount?: number;
|
|
949
|
+
standby_weekend_amount?: number;
|
|
950
|
+
travel_cost_per_km?: number | null;
|
|
951
|
+
travel_cost_threshold_km?: number | null;
|
|
952
|
+
travel_counts_as_work?: boolean;
|
|
953
|
+
travel_hourly_rate?: number;
|
|
954
|
+
travel_rate_per_hour?: number;
|
|
955
|
+
travel_threshold_minutes?: number;
|
|
956
|
+
updated_at?: string;
|
|
957
|
+
weekend_always_212?: boolean;
|
|
958
|
+
window_end?: string;
|
|
959
|
+
window_start?: string;
|
|
960
|
+
};
|
|
961
|
+
Update: {
|
|
962
|
+
auto_break_after_hours?: number;
|
|
963
|
+
auto_break_minutes?: number;
|
|
964
|
+
auto_break_unpaid?: boolean;
|
|
965
|
+
auto_stop_after_hours?: number;
|
|
966
|
+
callout_fee?: number;
|
|
967
|
+
created_at?: string;
|
|
968
|
+
daily_regular_hours?: number;
|
|
969
|
+
default_hourly_rate?: number;
|
|
970
|
+
id?: string;
|
|
971
|
+
materials_markup_percent?: number;
|
|
972
|
+
max_daily_hours?: number;
|
|
973
|
+
max_weekly_hours?: number;
|
|
974
|
+
meal_allowance_amount?: number;
|
|
975
|
+
overtime_pct_178?: number;
|
|
976
|
+
overtime_pct_189?: number;
|
|
977
|
+
overtime_pct_212?: number;
|
|
978
|
+
reminder_after_hours?: number;
|
|
979
|
+
standby_evening_amount?: number;
|
|
980
|
+
standby_weekend_amount?: number;
|
|
981
|
+
travel_cost_per_km?: number | null;
|
|
982
|
+
travel_cost_threshold_km?: number | null;
|
|
983
|
+
travel_counts_as_work?: boolean;
|
|
984
|
+
travel_hourly_rate?: number;
|
|
985
|
+
travel_rate_per_hour?: number;
|
|
986
|
+
travel_threshold_minutes?: number;
|
|
987
|
+
updated_at?: string;
|
|
988
|
+
weekend_always_212?: boolean;
|
|
989
|
+
window_end?: string;
|
|
990
|
+
window_start?: string;
|
|
991
|
+
};
|
|
992
|
+
Relationships: [];
|
|
993
|
+
};
|
|
874
994
|
carrier_shipping_rates: {
|
|
875
995
|
Row: {
|
|
876
996
|
carrier_id: string;
|
|
@@ -7765,7 +7885,6 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
7765
7885
|
start_date: string;
|
|
7766
7886
|
start_time: string | null;
|
|
7767
7887
|
status: string;
|
|
7768
|
-
tenant_id: string;
|
|
7769
7888
|
updated_at: string;
|
|
7770
7889
|
user_id: string;
|
|
7771
7890
|
};
|
|
@@ -7783,7 +7902,6 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
7783
7902
|
start_date: string;
|
|
7784
7903
|
start_time?: string | null;
|
|
7785
7904
|
status?: string;
|
|
7786
|
-
tenant_id?: string;
|
|
7787
7905
|
updated_at?: string;
|
|
7788
7906
|
user_id: string;
|
|
7789
7907
|
};
|
|
@@ -7801,7 +7919,6 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
7801
7919
|
start_date?: string;
|
|
7802
7920
|
start_time?: string | null;
|
|
7803
7921
|
status?: string;
|
|
7804
|
-
tenant_id?: string;
|
|
7805
7922
|
updated_at?: string;
|
|
7806
7923
|
user_id?: string;
|
|
7807
7924
|
};
|
|
@@ -7809,13 +7926,13 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
7809
7926
|
foreignKeyName: "leave_requests_monteur_id_fkey";
|
|
7810
7927
|
columns: ["monteur_id"];
|
|
7811
7928
|
isOneToOne: false;
|
|
7812
|
-
referencedRelation: "
|
|
7929
|
+
referencedRelation: "profiles";
|
|
7813
7930
|
referencedColumns: ["id"];
|
|
7814
7931
|
}, {
|
|
7815
7932
|
foreignKeyName: "leave_requests_user_id_fkey";
|
|
7816
7933
|
columns: ["user_id"];
|
|
7817
7934
|
isOneToOne: false;
|
|
7818
|
-
referencedRelation: "
|
|
7935
|
+
referencedRelation: "profiles";
|
|
7819
7936
|
referencedColumns: ["id"];
|
|
7820
7937
|
}];
|
|
7821
7938
|
};
|
|
@@ -9970,6 +10087,90 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
9970
10087
|
};
|
|
9971
10088
|
Relationships: [];
|
|
9972
10089
|
};
|
|
10090
|
+
material_usage: {
|
|
10091
|
+
Row: {
|
|
10092
|
+
created_at: string;
|
|
10093
|
+
id: string;
|
|
10094
|
+
material_name: string;
|
|
10095
|
+
monteur_id: string | null;
|
|
10096
|
+
price_at_time: number;
|
|
10097
|
+
quantity_used: number;
|
|
10098
|
+
updated_at: string;
|
|
10099
|
+
van_inventory_id: string | null;
|
|
10100
|
+
work_order_id: string;
|
|
10101
|
+
};
|
|
10102
|
+
Insert: {
|
|
10103
|
+
created_at?: string;
|
|
10104
|
+
id?: string;
|
|
10105
|
+
material_name: string;
|
|
10106
|
+
monteur_id?: string | null;
|
|
10107
|
+
price_at_time?: number;
|
|
10108
|
+
quantity_used?: number;
|
|
10109
|
+
updated_at?: string;
|
|
10110
|
+
van_inventory_id?: string | null;
|
|
10111
|
+
work_order_id: string;
|
|
10112
|
+
};
|
|
10113
|
+
Update: {
|
|
10114
|
+
created_at?: string;
|
|
10115
|
+
id?: string;
|
|
10116
|
+
material_name?: string;
|
|
10117
|
+
monteur_id?: string | null;
|
|
10118
|
+
price_at_time?: number;
|
|
10119
|
+
quantity_used?: number;
|
|
10120
|
+
updated_at?: string;
|
|
10121
|
+
van_inventory_id?: string | null;
|
|
10122
|
+
work_order_id?: string;
|
|
10123
|
+
};
|
|
10124
|
+
Relationships: [{
|
|
10125
|
+
foreignKeyName: "material_usage_monteur_id_fkey";
|
|
10126
|
+
columns: ["monteur_id"];
|
|
10127
|
+
isOneToOne: false;
|
|
10128
|
+
referencedRelation: "profiles";
|
|
10129
|
+
referencedColumns: ["id"];
|
|
10130
|
+
}, {
|
|
10131
|
+
foreignKeyName: "material_usage_van_inventory_id_fkey";
|
|
10132
|
+
columns: ["van_inventory_id"];
|
|
10133
|
+
isOneToOne: false;
|
|
10134
|
+
referencedRelation: "van_inventories";
|
|
10135
|
+
referencedColumns: ["id"];
|
|
10136
|
+
}, {
|
|
10137
|
+
foreignKeyName: "material_usage_work_order_id_fkey";
|
|
10138
|
+
columns: ["work_order_id"];
|
|
10139
|
+
isOneToOne: false;
|
|
10140
|
+
referencedRelation: "work_orders";
|
|
10141
|
+
referencedColumns: ["id"];
|
|
10142
|
+
}];
|
|
10143
|
+
};
|
|
10144
|
+
module_features: {
|
|
10145
|
+
Row: {
|
|
10146
|
+
created_at: string;
|
|
10147
|
+
feature_id: string;
|
|
10148
|
+
id: string;
|
|
10149
|
+
is_active: boolean;
|
|
10150
|
+
last_seen_at: string;
|
|
10151
|
+
module_id: string;
|
|
10152
|
+
name: string;
|
|
10153
|
+
};
|
|
10154
|
+
Insert: {
|
|
10155
|
+
created_at?: string;
|
|
10156
|
+
feature_id: string;
|
|
10157
|
+
id?: string;
|
|
10158
|
+
is_active?: boolean;
|
|
10159
|
+
last_seen_at?: string;
|
|
10160
|
+
module_id: string;
|
|
10161
|
+
name: string;
|
|
10162
|
+
};
|
|
10163
|
+
Update: {
|
|
10164
|
+
created_at?: string;
|
|
10165
|
+
feature_id?: string;
|
|
10166
|
+
id?: string;
|
|
10167
|
+
is_active?: boolean;
|
|
10168
|
+
last_seen_at?: string;
|
|
10169
|
+
module_id?: string;
|
|
10170
|
+
name?: string;
|
|
10171
|
+
};
|
|
10172
|
+
Relationships: [];
|
|
10173
|
+
};
|
|
9973
10174
|
module_permissions: {
|
|
9974
10175
|
Row: {
|
|
9975
10176
|
created_at: string;
|
|
@@ -10000,6 +10201,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
10000
10201
|
module_registry: {
|
|
10001
10202
|
Row: {
|
|
10002
10203
|
created_at: string;
|
|
10204
|
+
enforce: boolean;
|
|
10003
10205
|
is_active: boolean;
|
|
10004
10206
|
last_seen_at: string;
|
|
10005
10207
|
module_id: string;
|
|
@@ -10009,6 +10211,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
10009
10211
|
};
|
|
10010
10212
|
Insert: {
|
|
10011
10213
|
created_at?: string;
|
|
10214
|
+
enforce?: boolean;
|
|
10012
10215
|
is_active?: boolean;
|
|
10013
10216
|
last_seen_at?: string;
|
|
10014
10217
|
module_id: string;
|
|
@@ -10018,6 +10221,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
10018
10221
|
};
|
|
10019
10222
|
Update: {
|
|
10020
10223
|
created_at?: string;
|
|
10224
|
+
enforce?: boolean;
|
|
10021
10225
|
is_active?: boolean;
|
|
10022
10226
|
last_seen_at?: string;
|
|
10023
10227
|
module_id?: string;
|
|
@@ -10078,63 +10282,6 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
10078
10282
|
};
|
|
10079
10283
|
Relationships: [];
|
|
10080
10284
|
};
|
|
10081
|
-
monteurs: {
|
|
10082
|
-
Row: {
|
|
10083
|
-
avatar_url: string | null;
|
|
10084
|
-
color: string | null;
|
|
10085
|
-
created_at: string;
|
|
10086
|
-
email: string | null;
|
|
10087
|
-
id: string;
|
|
10088
|
-
is_active: boolean;
|
|
10089
|
-
leave_balance_hours: number;
|
|
10090
|
-
name: string;
|
|
10091
|
-
persnr: number | null;
|
|
10092
|
-
phone: string | null;
|
|
10093
|
-
role: string;
|
|
10094
|
-
tenant_id: string;
|
|
10095
|
-
updated_at: string;
|
|
10096
|
-
user_id: string | null;
|
|
10097
|
-
};
|
|
10098
|
-
Insert: {
|
|
10099
|
-
avatar_url?: string | null;
|
|
10100
|
-
color?: string | null;
|
|
10101
|
-
created_at?: string;
|
|
10102
|
-
email?: string | null;
|
|
10103
|
-
id?: string;
|
|
10104
|
-
is_active?: boolean;
|
|
10105
|
-
leave_balance_hours?: number;
|
|
10106
|
-
name: string;
|
|
10107
|
-
persnr?: number | null;
|
|
10108
|
-
phone?: string | null;
|
|
10109
|
-
role?: string;
|
|
10110
|
-
tenant_id: string;
|
|
10111
|
-
updated_at?: string;
|
|
10112
|
-
user_id?: string | null;
|
|
10113
|
-
};
|
|
10114
|
-
Update: {
|
|
10115
|
-
avatar_url?: string | null;
|
|
10116
|
-
color?: string | null;
|
|
10117
|
-
created_at?: string;
|
|
10118
|
-
email?: string | null;
|
|
10119
|
-
id?: string;
|
|
10120
|
-
is_active?: boolean;
|
|
10121
|
-
leave_balance_hours?: number;
|
|
10122
|
-
name?: string;
|
|
10123
|
-
persnr?: number | null;
|
|
10124
|
-
phone?: string | null;
|
|
10125
|
-
role?: string;
|
|
10126
|
-
tenant_id?: string;
|
|
10127
|
-
updated_at?: string;
|
|
10128
|
-
user_id?: string | null;
|
|
10129
|
-
};
|
|
10130
|
-
Relationships: [{
|
|
10131
|
-
foreignKeyName: "monteurs_tenant_id_fkey";
|
|
10132
|
-
columns: ["tenant_id"];
|
|
10133
|
-
isOneToOne: false;
|
|
10134
|
-
referencedRelation: "tenants";
|
|
10135
|
-
referencedColumns: ["id"];
|
|
10136
|
-
}];
|
|
10137
|
-
};
|
|
10138
10285
|
nmbrs_component_mapping: {
|
|
10139
10286
|
Row: {
|
|
10140
10287
|
created_at: string;
|
|
@@ -10205,13 +10352,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
10205
10352
|
nmbrs_employee_number?: string;
|
|
10206
10353
|
updated_at?: string;
|
|
10207
10354
|
};
|
|
10208
|
-
Relationships: [
|
|
10209
|
-
foreignKeyName: "nmbrs_employee_mapping_monteur_id_fkey";
|
|
10210
|
-
columns: ["monteur_id"];
|
|
10211
|
-
isOneToOne: true;
|
|
10212
|
-
referencedRelation: "monteurs";
|
|
10213
|
-
referencedColumns: ["id"];
|
|
10214
|
-
}];
|
|
10355
|
+
Relationships: [];
|
|
10215
10356
|
};
|
|
10216
10357
|
nmbrs_export_lines: {
|
|
10217
10358
|
Row: {
|
|
@@ -10260,12 +10401,6 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
10260
10401
|
wage_code?: string;
|
|
10261
10402
|
};
|
|
10262
10403
|
Relationships: [{
|
|
10263
|
-
foreignKeyName: "nmbrs_export_lines_monteur_id_fkey";
|
|
10264
|
-
columns: ["monteur_id"];
|
|
10265
|
-
isOneToOne: false;
|
|
10266
|
-
referencedRelation: "monteurs";
|
|
10267
|
-
referencedColumns: ["id"];
|
|
10268
|
-
}, {
|
|
10269
10404
|
foreignKeyName: "nmbrs_export_lines_run_id_fkey";
|
|
10270
10405
|
columns: ["run_id"];
|
|
10271
10406
|
isOneToOne: false;
|
|
@@ -12656,6 +12791,9 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
12656
12791
|
created_at: string;
|
|
12657
12792
|
id: string;
|
|
12658
12793
|
laatst_gezien: string;
|
|
12794
|
+
laatste_fout: string | null;
|
|
12795
|
+
laatste_request_id: number | null;
|
|
12796
|
+
mislukte_posts: number;
|
|
12659
12797
|
tick_sleutel: string;
|
|
12660
12798
|
updated_at: string;
|
|
12661
12799
|
};
|
|
@@ -12665,6 +12803,9 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
12665
12803
|
created_at?: string;
|
|
12666
12804
|
id?: string;
|
|
12667
12805
|
laatst_gezien?: string;
|
|
12806
|
+
laatste_fout?: string | null;
|
|
12807
|
+
laatste_request_id?: number | null;
|
|
12808
|
+
mislukte_posts?: number;
|
|
12668
12809
|
tick_sleutel?: string;
|
|
12669
12810
|
updated_at?: string;
|
|
12670
12811
|
};
|
|
@@ -12674,6 +12815,9 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
12674
12815
|
created_at?: string;
|
|
12675
12816
|
id?: string;
|
|
12676
12817
|
laatst_gezien?: string;
|
|
12818
|
+
laatste_fout?: string | null;
|
|
12819
|
+
laatste_request_id?: number | null;
|
|
12820
|
+
mislukte_posts?: number;
|
|
12677
12821
|
tick_sleutel?: string;
|
|
12678
12822
|
updated_at?: string;
|
|
12679
12823
|
};
|
|
@@ -14182,6 +14326,96 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
14182
14326
|
referencedColumns: ["id"];
|
|
14183
14327
|
}];
|
|
14184
14328
|
};
|
|
14329
|
+
role_assignments: {
|
|
14330
|
+
Row: {
|
|
14331
|
+
created_at: string;
|
|
14332
|
+
id: string;
|
|
14333
|
+
role_id: string;
|
|
14334
|
+
user_id: string;
|
|
14335
|
+
};
|
|
14336
|
+
Insert: {
|
|
14337
|
+
created_at?: string;
|
|
14338
|
+
id?: string;
|
|
14339
|
+
role_id: string;
|
|
14340
|
+
user_id: string;
|
|
14341
|
+
};
|
|
14342
|
+
Update: {
|
|
14343
|
+
created_at?: string;
|
|
14344
|
+
id?: string;
|
|
14345
|
+
role_id?: string;
|
|
14346
|
+
user_id?: string;
|
|
14347
|
+
};
|
|
14348
|
+
Relationships: [{
|
|
14349
|
+
foreignKeyName: "role_assignments_role_id_fkey";
|
|
14350
|
+
columns: ["role_id"];
|
|
14351
|
+
isOneToOne: false;
|
|
14352
|
+
referencedRelation: "roles";
|
|
14353
|
+
referencedColumns: ["id"];
|
|
14354
|
+
}];
|
|
14355
|
+
};
|
|
14356
|
+
role_permissions: {
|
|
14357
|
+
Row: {
|
|
14358
|
+
can_edit: boolean;
|
|
14359
|
+
can_view: boolean;
|
|
14360
|
+
feature_id: string;
|
|
14361
|
+
id: string;
|
|
14362
|
+
module_id: string;
|
|
14363
|
+
role_id: string;
|
|
14364
|
+
updated_at: string;
|
|
14365
|
+
};
|
|
14366
|
+
Insert: {
|
|
14367
|
+
can_edit?: boolean;
|
|
14368
|
+
can_view?: boolean;
|
|
14369
|
+
feature_id?: string;
|
|
14370
|
+
id?: string;
|
|
14371
|
+
module_id: string;
|
|
14372
|
+
role_id: string;
|
|
14373
|
+
updated_at?: string;
|
|
14374
|
+
};
|
|
14375
|
+
Update: {
|
|
14376
|
+
can_edit?: boolean;
|
|
14377
|
+
can_view?: boolean;
|
|
14378
|
+
feature_id?: string;
|
|
14379
|
+
id?: string;
|
|
14380
|
+
module_id?: string;
|
|
14381
|
+
role_id?: string;
|
|
14382
|
+
updated_at?: string;
|
|
14383
|
+
};
|
|
14384
|
+
Relationships: [{
|
|
14385
|
+
foreignKeyName: "role_permissions_role_id_fkey";
|
|
14386
|
+
columns: ["role_id"];
|
|
14387
|
+
isOneToOne: false;
|
|
14388
|
+
referencedRelation: "roles";
|
|
14389
|
+
referencedColumns: ["id"];
|
|
14390
|
+
}];
|
|
14391
|
+
};
|
|
14392
|
+
roles: {
|
|
14393
|
+
Row: {
|
|
14394
|
+
created_at: string;
|
|
14395
|
+
id: string;
|
|
14396
|
+
is_protected: boolean;
|
|
14397
|
+
key: string;
|
|
14398
|
+
name: string;
|
|
14399
|
+
updated_at: string;
|
|
14400
|
+
};
|
|
14401
|
+
Insert: {
|
|
14402
|
+
created_at?: string;
|
|
14403
|
+
id?: string;
|
|
14404
|
+
is_protected?: boolean;
|
|
14405
|
+
key: string;
|
|
14406
|
+
name: string;
|
|
14407
|
+
updated_at?: string;
|
|
14408
|
+
};
|
|
14409
|
+
Update: {
|
|
14410
|
+
created_at?: string;
|
|
14411
|
+
id?: string;
|
|
14412
|
+
is_protected?: boolean;
|
|
14413
|
+
key?: string;
|
|
14414
|
+
name?: string;
|
|
14415
|
+
updated_at?: string;
|
|
14416
|
+
};
|
|
14417
|
+
Relationships: [];
|
|
14418
|
+
};
|
|
14185
14419
|
rooms: {
|
|
14186
14420
|
Row: {
|
|
14187
14421
|
capacity: number;
|
|
@@ -14851,6 +15085,54 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
14851
15085
|
};
|
|
14852
15086
|
Relationships: [];
|
|
14853
15087
|
};
|
|
15088
|
+
time_compensation_entries: {
|
|
15089
|
+
Row: {
|
|
15090
|
+
created_at: string;
|
|
15091
|
+
employee_id: string;
|
|
15092
|
+
entry_date: string;
|
|
15093
|
+
id: string;
|
|
15094
|
+
km: number;
|
|
15095
|
+
meal_allowance: number;
|
|
15096
|
+
notes: string | null;
|
|
15097
|
+
standby_evening: number;
|
|
15098
|
+
standby_weekend: number;
|
|
15099
|
+
tvt_change: number;
|
|
15100
|
+
updated_at: string;
|
|
15101
|
+
};
|
|
15102
|
+
Insert: {
|
|
15103
|
+
created_at?: string;
|
|
15104
|
+
employee_id: string;
|
|
15105
|
+
entry_date: string;
|
|
15106
|
+
id?: string;
|
|
15107
|
+
km?: number;
|
|
15108
|
+
meal_allowance?: number;
|
|
15109
|
+
notes?: string | null;
|
|
15110
|
+
standby_evening?: number;
|
|
15111
|
+
standby_weekend?: number;
|
|
15112
|
+
tvt_change?: number;
|
|
15113
|
+
updated_at?: string;
|
|
15114
|
+
};
|
|
15115
|
+
Update: {
|
|
15116
|
+
created_at?: string;
|
|
15117
|
+
employee_id?: string;
|
|
15118
|
+
entry_date?: string;
|
|
15119
|
+
id?: string;
|
|
15120
|
+
km?: number;
|
|
15121
|
+
meal_allowance?: number;
|
|
15122
|
+
notes?: string | null;
|
|
15123
|
+
standby_evening?: number;
|
|
15124
|
+
standby_weekend?: number;
|
|
15125
|
+
tvt_change?: number;
|
|
15126
|
+
updated_at?: string;
|
|
15127
|
+
};
|
|
15128
|
+
Relationships: [{
|
|
15129
|
+
foreignKeyName: "time_compensation_entries_employee_id_fkey";
|
|
15130
|
+
columns: ["employee_id"];
|
|
15131
|
+
isOneToOne: false;
|
|
15132
|
+
referencedRelation: "profiles";
|
|
15133
|
+
referencedColumns: ["id"];
|
|
15134
|
+
}];
|
|
15135
|
+
};
|
|
14854
15136
|
time_entries: {
|
|
14855
15137
|
Row: {
|
|
14856
15138
|
created_at: string;
|
|
@@ -14885,65 +15167,170 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
14885
15167
|
undertime?: number;
|
|
14886
15168
|
updated_at?: string;
|
|
14887
15169
|
};
|
|
15170
|
+
Relationships: [];
|
|
15171
|
+
};
|
|
15172
|
+
time_log_week_approvals: {
|
|
15173
|
+
Row: {
|
|
15174
|
+
approved_at: string | null;
|
|
15175
|
+
approved_by: string | null;
|
|
15176
|
+
created_at: string;
|
|
15177
|
+
employee_id: string;
|
|
15178
|
+
id: string;
|
|
15179
|
+
locked: boolean;
|
|
15180
|
+
notes: string | null;
|
|
15181
|
+
status: string;
|
|
15182
|
+
submitted_at: string | null;
|
|
15183
|
+
updated_at: string;
|
|
15184
|
+
week_start: string;
|
|
15185
|
+
};
|
|
15186
|
+
Insert: {
|
|
15187
|
+
approved_at?: string | null;
|
|
15188
|
+
approved_by?: string | null;
|
|
15189
|
+
created_at?: string;
|
|
15190
|
+
employee_id: string;
|
|
15191
|
+
id?: string;
|
|
15192
|
+
locked?: boolean;
|
|
15193
|
+
notes?: string | null;
|
|
15194
|
+
status?: string;
|
|
15195
|
+
submitted_at?: string | null;
|
|
15196
|
+
updated_at?: string;
|
|
15197
|
+
week_start: string;
|
|
15198
|
+
};
|
|
15199
|
+
Update: {
|
|
15200
|
+
approved_at?: string | null;
|
|
15201
|
+
approved_by?: string | null;
|
|
15202
|
+
created_at?: string;
|
|
15203
|
+
employee_id?: string;
|
|
15204
|
+
id?: string;
|
|
15205
|
+
locked?: boolean;
|
|
15206
|
+
notes?: string | null;
|
|
15207
|
+
status?: string;
|
|
15208
|
+
submitted_at?: string | null;
|
|
15209
|
+
updated_at?: string;
|
|
15210
|
+
week_start?: string;
|
|
15211
|
+
};
|
|
14888
15212
|
Relationships: [{
|
|
14889
|
-
foreignKeyName: "
|
|
15213
|
+
foreignKeyName: "time_log_week_approvals_employee_id_fkey";
|
|
14890
15214
|
columns: ["employee_id"];
|
|
14891
15215
|
isOneToOne: false;
|
|
14892
|
-
referencedRelation: "
|
|
15216
|
+
referencedRelation: "profiles";
|
|
14893
15217
|
referencedColumns: ["id"];
|
|
14894
15218
|
}];
|
|
14895
15219
|
};
|
|
14896
15220
|
time_logs: {
|
|
14897
15221
|
Row: {
|
|
15222
|
+
auto_stop_reason: string | null;
|
|
15223
|
+
auto_stopped: boolean;
|
|
14898
15224
|
created_at: string;
|
|
15225
|
+
current_latitude: number | null;
|
|
15226
|
+
current_longitude: number | null;
|
|
15227
|
+
current_position_updated_at: string | null;
|
|
14899
15228
|
employee_id: string;
|
|
15229
|
+
end_latitude: number | null;
|
|
15230
|
+
end_longitude: number | null;
|
|
14900
15231
|
end_time: string | null;
|
|
15232
|
+
eta_distance_km: number | null;
|
|
15233
|
+
eta_minutes: number | null;
|
|
15234
|
+
eta_updated_at: string | null;
|
|
15235
|
+
hour_category: string | null;
|
|
14901
15236
|
id: string;
|
|
15237
|
+
last_reminder_at: string | null;
|
|
14902
15238
|
notes: string | null;
|
|
14903
15239
|
overtime_hours: number;
|
|
14904
15240
|
overtime_type: string | null;
|
|
14905
15241
|
regular_hours: number;
|
|
15242
|
+
reminder_count: number;
|
|
15243
|
+
requires_review: boolean;
|
|
15244
|
+
start_latitude: number | null;
|
|
15245
|
+
start_longitude: number | null;
|
|
14906
15246
|
start_time: string;
|
|
14907
15247
|
travel_cost: number | null;
|
|
14908
15248
|
travel_distance_km: number | null;
|
|
15249
|
+
travel_duration_min: number | null;
|
|
15250
|
+
travel_time_minutes: number | null;
|
|
14909
15251
|
type: string;
|
|
14910
15252
|
updated_at: string;
|
|
15253
|
+
work_order_id: string | null;
|
|
14911
15254
|
};
|
|
14912
15255
|
Insert: {
|
|
15256
|
+
auto_stop_reason?: string | null;
|
|
15257
|
+
auto_stopped?: boolean;
|
|
14913
15258
|
created_at?: string;
|
|
15259
|
+
current_latitude?: number | null;
|
|
15260
|
+
current_longitude?: number | null;
|
|
15261
|
+
current_position_updated_at?: string | null;
|
|
14914
15262
|
employee_id: string;
|
|
15263
|
+
end_latitude?: number | null;
|
|
15264
|
+
end_longitude?: number | null;
|
|
14915
15265
|
end_time?: string | null;
|
|
15266
|
+
eta_distance_km?: number | null;
|
|
15267
|
+
eta_minutes?: number | null;
|
|
15268
|
+
eta_updated_at?: string | null;
|
|
15269
|
+
hour_category?: string | null;
|
|
14916
15270
|
id?: string;
|
|
15271
|
+
last_reminder_at?: string | null;
|
|
14917
15272
|
notes?: string | null;
|
|
14918
15273
|
overtime_hours?: number;
|
|
14919
15274
|
overtime_type?: string | null;
|
|
14920
15275
|
regular_hours?: number;
|
|
15276
|
+
reminder_count?: number;
|
|
15277
|
+
requires_review?: boolean;
|
|
15278
|
+
start_latitude?: number | null;
|
|
15279
|
+
start_longitude?: number | null;
|
|
14921
15280
|
start_time?: string;
|
|
14922
15281
|
travel_cost?: number | null;
|
|
14923
15282
|
travel_distance_km?: number | null;
|
|
15283
|
+
travel_duration_min?: number | null;
|
|
15284
|
+
travel_time_minutes?: number | null;
|
|
14924
15285
|
type: string;
|
|
14925
15286
|
updated_at?: string;
|
|
15287
|
+
work_order_id?: string | null;
|
|
14926
15288
|
};
|
|
14927
15289
|
Update: {
|
|
15290
|
+
auto_stop_reason?: string | null;
|
|
15291
|
+
auto_stopped?: boolean;
|
|
14928
15292
|
created_at?: string;
|
|
15293
|
+
current_latitude?: number | null;
|
|
15294
|
+
current_longitude?: number | null;
|
|
15295
|
+
current_position_updated_at?: string | null;
|
|
14929
15296
|
employee_id?: string;
|
|
15297
|
+
end_latitude?: number | null;
|
|
15298
|
+
end_longitude?: number | null;
|
|
14930
15299
|
end_time?: string | null;
|
|
15300
|
+
eta_distance_km?: number | null;
|
|
15301
|
+
eta_minutes?: number | null;
|
|
15302
|
+
eta_updated_at?: string | null;
|
|
15303
|
+
hour_category?: string | null;
|
|
14931
15304
|
id?: string;
|
|
15305
|
+
last_reminder_at?: string | null;
|
|
14932
15306
|
notes?: string | null;
|
|
14933
15307
|
overtime_hours?: number;
|
|
14934
15308
|
overtime_type?: string | null;
|
|
14935
15309
|
regular_hours?: number;
|
|
15310
|
+
reminder_count?: number;
|
|
15311
|
+
requires_review?: boolean;
|
|
15312
|
+
start_latitude?: number | null;
|
|
15313
|
+
start_longitude?: number | null;
|
|
14936
15314
|
start_time?: string;
|
|
14937
15315
|
travel_cost?: number | null;
|
|
14938
15316
|
travel_distance_km?: number | null;
|
|
15317
|
+
travel_duration_min?: number | null;
|
|
15318
|
+
travel_time_minutes?: number | null;
|
|
14939
15319
|
type?: string;
|
|
14940
15320
|
updated_at?: string;
|
|
15321
|
+
work_order_id?: string | null;
|
|
14941
15322
|
};
|
|
14942
15323
|
Relationships: [{
|
|
14943
15324
|
foreignKeyName: "time_logs_employee_id_fkey";
|
|
14944
15325
|
columns: ["employee_id"];
|
|
14945
15326
|
isOneToOne: false;
|
|
14946
|
-
referencedRelation: "
|
|
15327
|
+
referencedRelation: "profiles";
|
|
15328
|
+
referencedColumns: ["id"];
|
|
15329
|
+
}, {
|
|
15330
|
+
foreignKeyName: "time_logs_work_order_id_fkey";
|
|
15331
|
+
columns: ["work_order_id"];
|
|
15332
|
+
isOneToOne: false;
|
|
15333
|
+
referencedRelation: "work_orders";
|
|
14947
15334
|
referencedColumns: ["id"];
|
|
14948
15335
|
}];
|
|
14949
15336
|
};
|
|
@@ -14982,7 +15369,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
14982
15369
|
foreignKeyName: "time_off_entries_employee_id_fkey";
|
|
14983
15370
|
columns: ["employee_id"];
|
|
14984
15371
|
isOneToOne: false;
|
|
14985
|
-
referencedRelation: "
|
|
15372
|
+
referencedRelation: "profiles";
|
|
14986
15373
|
referencedColumns: ["id"];
|
|
14987
15374
|
}];
|
|
14988
15375
|
};
|
|
@@ -15292,6 +15679,39 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
15292
15679
|
};
|
|
15293
15680
|
Relationships: [];
|
|
15294
15681
|
};
|
|
15682
|
+
twinfield_cron_locks: {
|
|
15683
|
+
Row: {
|
|
15684
|
+
created_at: string;
|
|
15685
|
+
heartbeat_at: string;
|
|
15686
|
+
job_name: string;
|
|
15687
|
+
last_error: string | null;
|
|
15688
|
+
last_finished_at: string | null;
|
|
15689
|
+
locked_at: string;
|
|
15690
|
+
run_id: string;
|
|
15691
|
+
updated_at: string;
|
|
15692
|
+
};
|
|
15693
|
+
Insert: {
|
|
15694
|
+
created_at?: string;
|
|
15695
|
+
heartbeat_at?: string;
|
|
15696
|
+
job_name: string;
|
|
15697
|
+
last_error?: string | null;
|
|
15698
|
+
last_finished_at?: string | null;
|
|
15699
|
+
locked_at?: string;
|
|
15700
|
+
run_id?: string;
|
|
15701
|
+
updated_at?: string;
|
|
15702
|
+
};
|
|
15703
|
+
Update: {
|
|
15704
|
+
created_at?: string;
|
|
15705
|
+
heartbeat_at?: string;
|
|
15706
|
+
job_name?: string;
|
|
15707
|
+
last_error?: string | null;
|
|
15708
|
+
last_finished_at?: string | null;
|
|
15709
|
+
locked_at?: string;
|
|
15710
|
+
run_id?: string;
|
|
15711
|
+
updated_at?: string;
|
|
15712
|
+
};
|
|
15713
|
+
Relationships: [];
|
|
15714
|
+
};
|
|
15295
15715
|
twinfield_customers: {
|
|
15296
15716
|
Row: {
|
|
15297
15717
|
address: string | null;
|
|
@@ -15892,6 +16312,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
15892
16312
|
twinfield_push_queue: {
|
|
15893
16313
|
Row: {
|
|
15894
16314
|
action: string;
|
|
16315
|
+
attempt_started_at: string | null;
|
|
15895
16316
|
attempts: number;
|
|
15896
16317
|
connection_id: string | null;
|
|
15897
16318
|
created_at: string;
|
|
@@ -15908,6 +16329,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
15908
16329
|
};
|
|
15909
16330
|
Insert: {
|
|
15910
16331
|
action?: string;
|
|
16332
|
+
attempt_started_at?: string | null;
|
|
15911
16333
|
attempts?: number;
|
|
15912
16334
|
connection_id?: string | null;
|
|
15913
16335
|
created_at?: string;
|
|
@@ -15924,6 +16346,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
15924
16346
|
};
|
|
15925
16347
|
Update: {
|
|
15926
16348
|
action?: string;
|
|
16349
|
+
attempt_started_at?: string | null;
|
|
15927
16350
|
attempts?: number;
|
|
15928
16351
|
connection_id?: string | null;
|
|
15929
16352
|
created_at?: string;
|
|
@@ -16121,13 +16544,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
16121
16544
|
workday_end?: string | null;
|
|
16122
16545
|
workday_start?: string | null;
|
|
16123
16546
|
};
|
|
16124
|
-
Relationships: [
|
|
16125
|
-
foreignKeyName: "uren_cao_profiles_monteur_id_fkey";
|
|
16126
|
-
columns: ["monteur_id"];
|
|
16127
|
-
isOneToOne: true;
|
|
16128
|
-
referencedRelation: "monteurs";
|
|
16129
|
-
referencedColumns: ["id"];
|
|
16130
|
-
}];
|
|
16547
|
+
Relationships: [];
|
|
16131
16548
|
};
|
|
16132
16549
|
uren_entries: {
|
|
16133
16550
|
Row: {
|
|
@@ -16173,12 +16590,6 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
16173
16590
|
werkbon_id?: string | null;
|
|
16174
16591
|
};
|
|
16175
16592
|
Relationships: [{
|
|
16176
|
-
foreignKeyName: "uren_entries_monteur_id_fkey";
|
|
16177
|
-
columns: ["monteur_id"];
|
|
16178
|
-
isOneToOne: false;
|
|
16179
|
-
referencedRelation: "monteurs";
|
|
16180
|
-
referencedColumns: ["id"];
|
|
16181
|
-
}, {
|
|
16182
16593
|
foreignKeyName: "uren_entries_werkbon_id_fkey";
|
|
16183
16594
|
columns: ["werkbon_id"];
|
|
16184
16595
|
isOneToOne: false;
|
|
@@ -16646,17 +17057,12 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
16646
17057
|
submitted_at?: string | null;
|
|
16647
17058
|
updated_at?: string;
|
|
16648
17059
|
};
|
|
16649
|
-
Relationships: [
|
|
16650
|
-
foreignKeyName: "uren_weekstaten_monteur_id_fkey";
|
|
16651
|
-
columns: ["monteur_id"];
|
|
16652
|
-
isOneToOne: false;
|
|
16653
|
-
referencedRelation: "monteurs";
|
|
16654
|
-
referencedColumns: ["id"];
|
|
16655
|
-
}];
|
|
17060
|
+
Relationships: [];
|
|
16656
17061
|
};
|
|
16657
17062
|
user_module_permissions: {
|
|
16658
17063
|
Row: {
|
|
16659
17064
|
created_at: string;
|
|
17065
|
+
feature_id: string;
|
|
16660
17066
|
id: string;
|
|
16661
17067
|
module_id: string;
|
|
16662
17068
|
permission: string;
|
|
@@ -16665,6 +17071,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
16665
17071
|
};
|
|
16666
17072
|
Insert: {
|
|
16667
17073
|
created_at?: string;
|
|
17074
|
+
feature_id?: string;
|
|
16668
17075
|
id?: string;
|
|
16669
17076
|
module_id: string;
|
|
16670
17077
|
permission: string;
|
|
@@ -16673,6 +17080,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
16673
17080
|
};
|
|
16674
17081
|
Update: {
|
|
16675
17082
|
created_at?: string;
|
|
17083
|
+
feature_id?: string;
|
|
16676
17084
|
id?: string;
|
|
16677
17085
|
module_id?: string;
|
|
16678
17086
|
permission?: string;
|
|
@@ -16708,6 +17116,51 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
16708
17116
|
referencedColumns: ["id"];
|
|
16709
17117
|
}];
|
|
16710
17118
|
};
|
|
17119
|
+
van_inventories: {
|
|
17120
|
+
Row: {
|
|
17121
|
+
barcode: string | null;
|
|
17122
|
+
created_at: string;
|
|
17123
|
+
id: string;
|
|
17124
|
+
monteur_id: string | null;
|
|
17125
|
+
price_per_unit: number;
|
|
17126
|
+
product_name: string;
|
|
17127
|
+
quantity_current: number;
|
|
17128
|
+
quantity_min: number;
|
|
17129
|
+
unit: string;
|
|
17130
|
+
updated_at: string;
|
|
17131
|
+
};
|
|
17132
|
+
Insert: {
|
|
17133
|
+
barcode?: string | null;
|
|
17134
|
+
created_at?: string;
|
|
17135
|
+
id?: string;
|
|
17136
|
+
monteur_id?: string | null;
|
|
17137
|
+
price_per_unit?: number;
|
|
17138
|
+
product_name: string;
|
|
17139
|
+
quantity_current?: number;
|
|
17140
|
+
quantity_min?: number;
|
|
17141
|
+
unit?: string;
|
|
17142
|
+
updated_at?: string;
|
|
17143
|
+
};
|
|
17144
|
+
Update: {
|
|
17145
|
+
barcode?: string | null;
|
|
17146
|
+
created_at?: string;
|
|
17147
|
+
id?: string;
|
|
17148
|
+
monteur_id?: string | null;
|
|
17149
|
+
price_per_unit?: number;
|
|
17150
|
+
product_name?: string;
|
|
17151
|
+
quantity_current?: number;
|
|
17152
|
+
quantity_min?: number;
|
|
17153
|
+
unit?: string;
|
|
17154
|
+
updated_at?: string;
|
|
17155
|
+
};
|
|
17156
|
+
Relationships: [{
|
|
17157
|
+
foreignKeyName: "van_inventories_monteur_id_fkey";
|
|
17158
|
+
columns: ["monteur_id"];
|
|
17159
|
+
isOneToOne: false;
|
|
17160
|
+
referencedRelation: "profiles";
|
|
17161
|
+
referencedColumns: ["id"];
|
|
17162
|
+
}];
|
|
17163
|
+
};
|
|
16711
17164
|
voorraad_custom_fields: {
|
|
16712
17165
|
Row: {
|
|
16713
17166
|
created_at: string;
|
|
@@ -17658,7 +18111,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
17658
18111
|
foreignKeyName: "work_order_monteurs_monteur_id_fkey";
|
|
17659
18112
|
columns: ["monteur_id"];
|
|
17660
18113
|
isOneToOne: false;
|
|
17661
|
-
referencedRelation: "
|
|
18114
|
+
referencedRelation: "profiles";
|
|
17662
18115
|
referencedColumns: ["id"];
|
|
17663
18116
|
}, {
|
|
17664
18117
|
foreignKeyName: "work_order_monteurs_work_order_id_fkey";
|
|
@@ -17668,6 +18121,60 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
17668
18121
|
referencedColumns: ["id"];
|
|
17669
18122
|
}];
|
|
17670
18123
|
};
|
|
18124
|
+
work_order_photos: {
|
|
18125
|
+
Row: {
|
|
18126
|
+
ai_caption: string | null;
|
|
18127
|
+
ai_categorized_at: string | null;
|
|
18128
|
+
ai_labels: import("../integrations/supabase/types").Json | null;
|
|
18129
|
+
caption: string | null;
|
|
18130
|
+
created_at: string;
|
|
18131
|
+
id: string;
|
|
18132
|
+
monteur_id: string | null;
|
|
18133
|
+
photo_type: string;
|
|
18134
|
+
storage_path: string;
|
|
18135
|
+
updated_at: string;
|
|
18136
|
+
work_order_id: string;
|
|
18137
|
+
};
|
|
18138
|
+
Insert: {
|
|
18139
|
+
ai_caption?: string | null;
|
|
18140
|
+
ai_categorized_at?: string | null;
|
|
18141
|
+
ai_labels?: import("../integrations/supabase/types").Json | null;
|
|
18142
|
+
caption?: string | null;
|
|
18143
|
+
created_at?: string;
|
|
18144
|
+
id?: string;
|
|
18145
|
+
monteur_id?: string | null;
|
|
18146
|
+
photo_type?: string;
|
|
18147
|
+
storage_path: string;
|
|
18148
|
+
updated_at?: string;
|
|
18149
|
+
work_order_id: string;
|
|
18150
|
+
};
|
|
18151
|
+
Update: {
|
|
18152
|
+
ai_caption?: string | null;
|
|
18153
|
+
ai_categorized_at?: string | null;
|
|
18154
|
+
ai_labels?: import("../integrations/supabase/types").Json | null;
|
|
18155
|
+
caption?: string | null;
|
|
18156
|
+
created_at?: string;
|
|
18157
|
+
id?: string;
|
|
18158
|
+
monteur_id?: string | null;
|
|
18159
|
+
photo_type?: string;
|
|
18160
|
+
storage_path?: string;
|
|
18161
|
+
updated_at?: string;
|
|
18162
|
+
work_order_id?: string;
|
|
18163
|
+
};
|
|
18164
|
+
Relationships: [{
|
|
18165
|
+
foreignKeyName: "work_order_photos_monteur_id_fkey";
|
|
18166
|
+
columns: ["monteur_id"];
|
|
18167
|
+
isOneToOne: false;
|
|
18168
|
+
referencedRelation: "profiles";
|
|
18169
|
+
referencedColumns: ["id"];
|
|
18170
|
+
}, {
|
|
18171
|
+
foreignKeyName: "work_order_photos_work_order_id_fkey";
|
|
18172
|
+
columns: ["work_order_id"];
|
|
18173
|
+
isOneToOne: false;
|
|
18174
|
+
referencedRelation: "work_orders";
|
|
18175
|
+
referencedColumns: ["id"];
|
|
18176
|
+
}];
|
|
18177
|
+
};
|
|
17671
18178
|
work_orders: {
|
|
17672
18179
|
Row: {
|
|
17673
18180
|
assigned_to: string | null;
|
|
@@ -17699,7 +18206,6 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
17699
18206
|
scheduled_end_time: string | null;
|
|
17700
18207
|
scheduled_start_time: string | null;
|
|
17701
18208
|
status: string;
|
|
17702
|
-
tenant_id: string;
|
|
17703
18209
|
total_hours_worked: number | null;
|
|
17704
18210
|
total_price: number | null;
|
|
17705
18211
|
travel_time_minutes: number | null;
|
|
@@ -17737,7 +18243,6 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
17737
18243
|
scheduled_end_time?: string | null;
|
|
17738
18244
|
scheduled_start_time?: string | null;
|
|
17739
18245
|
status?: string;
|
|
17740
|
-
tenant_id: string;
|
|
17741
18246
|
total_hours_worked?: number | null;
|
|
17742
18247
|
total_price?: number | null;
|
|
17743
18248
|
travel_time_minutes?: number | null;
|
|
@@ -17775,7 +18280,6 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
17775
18280
|
scheduled_end_time?: string | null;
|
|
17776
18281
|
scheduled_start_time?: string | null;
|
|
17777
18282
|
status?: string;
|
|
17778
|
-
tenant_id?: string;
|
|
17779
18283
|
total_hours_worked?: number | null;
|
|
17780
18284
|
total_price?: number | null;
|
|
17781
18285
|
travel_time_minutes?: number | null;
|
|
@@ -17789,12 +18293,6 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
17789
18293
|
isOneToOne: false;
|
|
17790
18294
|
referencedRelation: "work_orders";
|
|
17791
18295
|
referencedColumns: ["id"];
|
|
17792
|
-
}, {
|
|
17793
|
-
foreignKeyName: "work_orders_tenant_id_fkey";
|
|
17794
|
-
columns: ["tenant_id"];
|
|
17795
|
-
isOneToOne: false;
|
|
17796
|
-
referencedRelation: "tenants";
|
|
17797
|
-
referencedColumns: ["id"];
|
|
17798
18296
|
}];
|
|
17799
18297
|
};
|
|
17800
18298
|
};
|
|
@@ -18479,6 +18977,19 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
18479
18977
|
};
|
|
18480
18978
|
Returns: undefined;
|
|
18481
18979
|
};
|
|
18980
|
+
approve_mailbox_order_proposal: {
|
|
18981
|
+
Args: {
|
|
18982
|
+
p_custom_fields: import("../integrations/supabase/types").Json;
|
|
18983
|
+
p_customer_id: string;
|
|
18984
|
+
p_delivery_date: string;
|
|
18985
|
+
p_field_values?: import("../integrations/supabase/types").Json;
|
|
18986
|
+
p_lines: import("../integrations/supabase/types").Json;
|
|
18987
|
+
p_notes: string;
|
|
18988
|
+
p_proposal_id: string;
|
|
18989
|
+
p_reviewed_by: string;
|
|
18990
|
+
};
|
|
18991
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
18992
|
+
};
|
|
18482
18993
|
assign_cart_numbers: {
|
|
18483
18994
|
Args: {
|
|
18484
18995
|
p_carts: import("../integrations/supabase/types").Json;
|
|
@@ -18530,6 +19041,10 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
18530
19041
|
};
|
|
18531
19042
|
Returns: number;
|
|
18532
19043
|
};
|
|
19044
|
+
can_manage_hours: {
|
|
19045
|
+
Args: never;
|
|
19046
|
+
Returns: boolean;
|
|
19047
|
+
};
|
|
18533
19048
|
check_offer_product_available_stock: {
|
|
18534
19049
|
Args: {
|
|
18535
19050
|
p_campaign_product_id: string;
|
|
@@ -18719,6 +19234,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
18719
19234
|
};
|
|
18720
19235
|
Returns: {
|
|
18721
19236
|
action: string;
|
|
19237
|
+
attempt_started_at: string | null;
|
|
18722
19238
|
attempts: number;
|
|
18723
19239
|
connection_id: string | null;
|
|
18724
19240
|
created_at: string;
|
|
@@ -18806,6 +19322,30 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
18806
19322
|
agent_naam: string;
|
|
18807
19323
|
}[];
|
|
18808
19324
|
};
|
|
19325
|
+
consume_van_inventory: {
|
|
19326
|
+
Args: {
|
|
19327
|
+
p_inventory_id: string;
|
|
19328
|
+
p_quantity: number;
|
|
19329
|
+
};
|
|
19330
|
+
Returns: {
|
|
19331
|
+
barcode: string | null;
|
|
19332
|
+
created_at: string;
|
|
19333
|
+
id: string;
|
|
19334
|
+
monteur_id: string | null;
|
|
19335
|
+
price_per_unit: number;
|
|
19336
|
+
product_name: string;
|
|
19337
|
+
quantity_current: number;
|
|
19338
|
+
quantity_min: number;
|
|
19339
|
+
unit: string;
|
|
19340
|
+
updated_at: string;
|
|
19341
|
+
};
|
|
19342
|
+
SetofOptions: {
|
|
19343
|
+
from: "*";
|
|
19344
|
+
to: "van_inventories";
|
|
19345
|
+
isOneToOne: true;
|
|
19346
|
+
isSetofReturn: false;
|
|
19347
|
+
};
|
|
19348
|
+
};
|
|
18809
19349
|
control_get_todays_carts: {
|
|
18810
19350
|
Args: never;
|
|
18811
19351
|
Returns: {
|
|
@@ -18879,6 +19419,13 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
18879
19419
|
_user_id: string;
|
|
18880
19420
|
};
|
|
18881
19421
|
Returns: string;
|
|
19422
|
+
} | {
|
|
19423
|
+
Args: {
|
|
19424
|
+
_feature_id: string;
|
|
19425
|
+
_module_id: string;
|
|
19426
|
+
_user_id: string;
|
|
19427
|
+
};
|
|
19428
|
+
Returns: string;
|
|
18882
19429
|
};
|
|
18883
19430
|
email_auth_decrypt: {
|
|
18884
19431
|
Args: {
|
|
@@ -19230,12 +19777,6 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
19230
19777
|
Args: never;
|
|
19231
19778
|
Returns: string;
|
|
19232
19779
|
};
|
|
19233
|
-
get_work_order_tenant_id: {
|
|
19234
|
-
Args: {
|
|
19235
|
-
wo_id: string;
|
|
19236
|
-
};
|
|
19237
|
-
Returns: string;
|
|
19238
|
-
};
|
|
19239
19780
|
has_module_permission: {
|
|
19240
19781
|
Args: {
|
|
19241
19782
|
_min: string;
|
|
@@ -19269,6 +19810,13 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
19269
19810
|
};
|
|
19270
19811
|
Returns: boolean;
|
|
19271
19812
|
};
|
|
19813
|
+
is_time_log_week_locked: {
|
|
19814
|
+
Args: {
|
|
19815
|
+
p_employee_id: string;
|
|
19816
|
+
p_start_time: string;
|
|
19817
|
+
};
|
|
19818
|
+
Returns: boolean;
|
|
19819
|
+
};
|
|
19272
19820
|
is_user_admin: {
|
|
19273
19821
|
Args: never;
|
|
19274
19822
|
Returns: boolean;
|
|
@@ -19283,13 +19831,14 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
19283
19831
|
};
|
|
19284
19832
|
Returns: boolean;
|
|
19285
19833
|
};
|
|
19286
|
-
|
|
19834
|
+
list_medewerkers: {
|
|
19287
19835
|
Args: never;
|
|
19288
19836
|
Returns: {
|
|
19289
19837
|
avatar_url: string;
|
|
19290
19838
|
display_name: string;
|
|
19291
19839
|
email: string;
|
|
19292
19840
|
id: string;
|
|
19841
|
+
roles: string[];
|
|
19293
19842
|
}[];
|
|
19294
19843
|
};
|
|
19295
19844
|
list_my_planning_items: {
|
|
@@ -20080,6 +20629,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
20080
20629
|
my_module_permissions: {
|
|
20081
20630
|
Args: never;
|
|
20082
20631
|
Returns: {
|
|
20632
|
+
feature_id: string;
|
|
20083
20633
|
module_id: string;
|
|
20084
20634
|
permission: string;
|
|
20085
20635
|
}[];
|
|
@@ -20960,6 +21510,16 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
20960
21510
|
};
|
|
20961
21511
|
Returns: string[];
|
|
20962
21512
|
};
|
|
21513
|
+
switch_time_log: {
|
|
21514
|
+
Args: {
|
|
21515
|
+
p_employee_id: string;
|
|
21516
|
+
p_start_lat?: number;
|
|
21517
|
+
p_start_lng?: number;
|
|
21518
|
+
p_type: string;
|
|
21519
|
+
p_work_order_id?: string;
|
|
21520
|
+
};
|
|
21521
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21522
|
+
};
|
|
20963
21523
|
sync_all_layer_stocks: {
|
|
20964
21524
|
Args: never;
|
|
20965
21525
|
Returns: undefined;
|
|
@@ -21010,6 +21570,24 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
21010
21570
|
};
|
|
21011
21571
|
Returns: boolean;
|
|
21012
21572
|
};
|
|
21573
|
+
twinfield_cron_lock_acquire: {
|
|
21574
|
+
Args: {
|
|
21575
|
+
_job_name: string;
|
|
21576
|
+
_stale_seconds?: number;
|
|
21577
|
+
};
|
|
21578
|
+
Returns: boolean;
|
|
21579
|
+
};
|
|
21580
|
+
twinfield_cron_lock_release: {
|
|
21581
|
+
Args: {
|
|
21582
|
+
_error?: string;
|
|
21583
|
+
_job_name: string;
|
|
21584
|
+
};
|
|
21585
|
+
Returns: undefined;
|
|
21586
|
+
};
|
|
21587
|
+
twinfield_prune_push_queue: {
|
|
21588
|
+
Args: never;
|
|
21589
|
+
Returns: number;
|
|
21590
|
+
};
|
|
21013
21591
|
twinfield_register_cron: {
|
|
21014
21592
|
Args: {
|
|
21015
21593
|
apikey?: string;
|
|
@@ -21953,6 +22531,126 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
21953
22531
|
};
|
|
21954
22532
|
Relationships: [];
|
|
21955
22533
|
};
|
|
22534
|
+
cao_holidays: {
|
|
22535
|
+
Row: {
|
|
22536
|
+
created_at: string;
|
|
22537
|
+
description: string | null;
|
|
22538
|
+
holiday_date: string;
|
|
22539
|
+
id: string;
|
|
22540
|
+
updated_at: string;
|
|
22541
|
+
};
|
|
22542
|
+
Insert: {
|
|
22543
|
+
created_at?: string;
|
|
22544
|
+
description?: string | null;
|
|
22545
|
+
holiday_date: string;
|
|
22546
|
+
id?: string;
|
|
22547
|
+
updated_at?: string;
|
|
22548
|
+
};
|
|
22549
|
+
Update: {
|
|
22550
|
+
created_at?: string;
|
|
22551
|
+
description?: string | null;
|
|
22552
|
+
holiday_date?: string;
|
|
22553
|
+
id?: string;
|
|
22554
|
+
updated_at?: string;
|
|
22555
|
+
};
|
|
22556
|
+
Relationships: [];
|
|
22557
|
+
};
|
|
22558
|
+
cao_settings: {
|
|
22559
|
+
Row: {
|
|
22560
|
+
auto_break_after_hours: number;
|
|
22561
|
+
auto_break_minutes: number;
|
|
22562
|
+
auto_break_unpaid: boolean;
|
|
22563
|
+
auto_stop_after_hours: number;
|
|
22564
|
+
callout_fee: number;
|
|
22565
|
+
created_at: string;
|
|
22566
|
+
daily_regular_hours: number;
|
|
22567
|
+
default_hourly_rate: number;
|
|
22568
|
+
id: string;
|
|
22569
|
+
materials_markup_percent: number;
|
|
22570
|
+
max_daily_hours: number;
|
|
22571
|
+
max_weekly_hours: number;
|
|
22572
|
+
meal_allowance_amount: number;
|
|
22573
|
+
overtime_pct_178: number;
|
|
22574
|
+
overtime_pct_189: number;
|
|
22575
|
+
overtime_pct_212: number;
|
|
22576
|
+
reminder_after_hours: number;
|
|
22577
|
+
standby_evening_amount: number;
|
|
22578
|
+
standby_weekend_amount: number;
|
|
22579
|
+
travel_cost_per_km: number | null;
|
|
22580
|
+
travel_cost_threshold_km: number | null;
|
|
22581
|
+
travel_counts_as_work: boolean;
|
|
22582
|
+
travel_hourly_rate: number;
|
|
22583
|
+
travel_rate_per_hour: number;
|
|
22584
|
+
travel_threshold_minutes: number;
|
|
22585
|
+
updated_at: string;
|
|
22586
|
+
weekend_always_212: boolean;
|
|
22587
|
+
window_end: string;
|
|
22588
|
+
window_start: string;
|
|
22589
|
+
};
|
|
22590
|
+
Insert: {
|
|
22591
|
+
auto_break_after_hours?: number;
|
|
22592
|
+
auto_break_minutes?: number;
|
|
22593
|
+
auto_break_unpaid?: boolean;
|
|
22594
|
+
auto_stop_after_hours?: number;
|
|
22595
|
+
callout_fee?: number;
|
|
22596
|
+
created_at?: string;
|
|
22597
|
+
daily_regular_hours?: number;
|
|
22598
|
+
default_hourly_rate?: number;
|
|
22599
|
+
id?: string;
|
|
22600
|
+
materials_markup_percent?: number;
|
|
22601
|
+
max_daily_hours?: number;
|
|
22602
|
+
max_weekly_hours?: number;
|
|
22603
|
+
meal_allowance_amount?: number;
|
|
22604
|
+
overtime_pct_178?: number;
|
|
22605
|
+
overtime_pct_189?: number;
|
|
22606
|
+
overtime_pct_212?: number;
|
|
22607
|
+
reminder_after_hours?: number;
|
|
22608
|
+
standby_evening_amount?: number;
|
|
22609
|
+
standby_weekend_amount?: number;
|
|
22610
|
+
travel_cost_per_km?: number | null;
|
|
22611
|
+
travel_cost_threshold_km?: number | null;
|
|
22612
|
+
travel_counts_as_work?: boolean;
|
|
22613
|
+
travel_hourly_rate?: number;
|
|
22614
|
+
travel_rate_per_hour?: number;
|
|
22615
|
+
travel_threshold_minutes?: number;
|
|
22616
|
+
updated_at?: string;
|
|
22617
|
+
weekend_always_212?: boolean;
|
|
22618
|
+
window_end?: string;
|
|
22619
|
+
window_start?: string;
|
|
22620
|
+
};
|
|
22621
|
+
Update: {
|
|
22622
|
+
auto_break_after_hours?: number;
|
|
22623
|
+
auto_break_minutes?: number;
|
|
22624
|
+
auto_break_unpaid?: boolean;
|
|
22625
|
+
auto_stop_after_hours?: number;
|
|
22626
|
+
callout_fee?: number;
|
|
22627
|
+
created_at?: string;
|
|
22628
|
+
daily_regular_hours?: number;
|
|
22629
|
+
default_hourly_rate?: number;
|
|
22630
|
+
id?: string;
|
|
22631
|
+
materials_markup_percent?: number;
|
|
22632
|
+
max_daily_hours?: number;
|
|
22633
|
+
max_weekly_hours?: number;
|
|
22634
|
+
meal_allowance_amount?: number;
|
|
22635
|
+
overtime_pct_178?: number;
|
|
22636
|
+
overtime_pct_189?: number;
|
|
22637
|
+
overtime_pct_212?: number;
|
|
22638
|
+
reminder_after_hours?: number;
|
|
22639
|
+
standby_evening_amount?: number;
|
|
22640
|
+
standby_weekend_amount?: number;
|
|
22641
|
+
travel_cost_per_km?: number | null;
|
|
22642
|
+
travel_cost_threshold_km?: number | null;
|
|
22643
|
+
travel_counts_as_work?: boolean;
|
|
22644
|
+
travel_hourly_rate?: number;
|
|
22645
|
+
travel_rate_per_hour?: number;
|
|
22646
|
+
travel_threshold_minutes?: number;
|
|
22647
|
+
updated_at?: string;
|
|
22648
|
+
weekend_always_212?: boolean;
|
|
22649
|
+
window_end?: string;
|
|
22650
|
+
window_start?: string;
|
|
22651
|
+
};
|
|
22652
|
+
Relationships: [];
|
|
22653
|
+
};
|
|
21956
22654
|
carrier_shipping_rates: {
|
|
21957
22655
|
Row: {
|
|
21958
22656
|
carrier_id: string;
|
|
@@ -28847,7 +29545,6 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
28847
29545
|
start_date: string;
|
|
28848
29546
|
start_time: string | null;
|
|
28849
29547
|
status: string;
|
|
28850
|
-
tenant_id: string;
|
|
28851
29548
|
updated_at: string;
|
|
28852
29549
|
user_id: string;
|
|
28853
29550
|
};
|
|
@@ -28865,7 +29562,6 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
28865
29562
|
start_date: string;
|
|
28866
29563
|
start_time?: string | null;
|
|
28867
29564
|
status?: string;
|
|
28868
|
-
tenant_id?: string;
|
|
28869
29565
|
updated_at?: string;
|
|
28870
29566
|
user_id: string;
|
|
28871
29567
|
};
|
|
@@ -28883,7 +29579,6 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
28883
29579
|
start_date?: string;
|
|
28884
29580
|
start_time?: string | null;
|
|
28885
29581
|
status?: string;
|
|
28886
|
-
tenant_id?: string;
|
|
28887
29582
|
updated_at?: string;
|
|
28888
29583
|
user_id?: string;
|
|
28889
29584
|
};
|
|
@@ -28891,13 +29586,13 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
28891
29586
|
foreignKeyName: "leave_requests_monteur_id_fkey";
|
|
28892
29587
|
columns: ["monteur_id"];
|
|
28893
29588
|
isOneToOne: false;
|
|
28894
|
-
referencedRelation: "
|
|
29589
|
+
referencedRelation: "profiles";
|
|
28895
29590
|
referencedColumns: ["id"];
|
|
28896
29591
|
}, {
|
|
28897
29592
|
foreignKeyName: "leave_requests_user_id_fkey";
|
|
28898
29593
|
columns: ["user_id"];
|
|
28899
29594
|
isOneToOne: false;
|
|
28900
|
-
referencedRelation: "
|
|
29595
|
+
referencedRelation: "profiles";
|
|
28901
29596
|
referencedColumns: ["id"];
|
|
28902
29597
|
}];
|
|
28903
29598
|
};
|
|
@@ -31052,6 +31747,90 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
31052
31747
|
};
|
|
31053
31748
|
Relationships: [];
|
|
31054
31749
|
};
|
|
31750
|
+
material_usage: {
|
|
31751
|
+
Row: {
|
|
31752
|
+
created_at: string;
|
|
31753
|
+
id: string;
|
|
31754
|
+
material_name: string;
|
|
31755
|
+
monteur_id: string | null;
|
|
31756
|
+
price_at_time: number;
|
|
31757
|
+
quantity_used: number;
|
|
31758
|
+
updated_at: string;
|
|
31759
|
+
van_inventory_id: string | null;
|
|
31760
|
+
work_order_id: string;
|
|
31761
|
+
};
|
|
31762
|
+
Insert: {
|
|
31763
|
+
created_at?: string;
|
|
31764
|
+
id?: string;
|
|
31765
|
+
material_name: string;
|
|
31766
|
+
monteur_id?: string | null;
|
|
31767
|
+
price_at_time?: number;
|
|
31768
|
+
quantity_used?: number;
|
|
31769
|
+
updated_at?: string;
|
|
31770
|
+
van_inventory_id?: string | null;
|
|
31771
|
+
work_order_id: string;
|
|
31772
|
+
};
|
|
31773
|
+
Update: {
|
|
31774
|
+
created_at?: string;
|
|
31775
|
+
id?: string;
|
|
31776
|
+
material_name?: string;
|
|
31777
|
+
monteur_id?: string | null;
|
|
31778
|
+
price_at_time?: number;
|
|
31779
|
+
quantity_used?: number;
|
|
31780
|
+
updated_at?: string;
|
|
31781
|
+
van_inventory_id?: string | null;
|
|
31782
|
+
work_order_id?: string;
|
|
31783
|
+
};
|
|
31784
|
+
Relationships: [{
|
|
31785
|
+
foreignKeyName: "material_usage_monteur_id_fkey";
|
|
31786
|
+
columns: ["monteur_id"];
|
|
31787
|
+
isOneToOne: false;
|
|
31788
|
+
referencedRelation: "profiles";
|
|
31789
|
+
referencedColumns: ["id"];
|
|
31790
|
+
}, {
|
|
31791
|
+
foreignKeyName: "material_usage_van_inventory_id_fkey";
|
|
31792
|
+
columns: ["van_inventory_id"];
|
|
31793
|
+
isOneToOne: false;
|
|
31794
|
+
referencedRelation: "van_inventories";
|
|
31795
|
+
referencedColumns: ["id"];
|
|
31796
|
+
}, {
|
|
31797
|
+
foreignKeyName: "material_usage_work_order_id_fkey";
|
|
31798
|
+
columns: ["work_order_id"];
|
|
31799
|
+
isOneToOne: false;
|
|
31800
|
+
referencedRelation: "work_orders";
|
|
31801
|
+
referencedColumns: ["id"];
|
|
31802
|
+
}];
|
|
31803
|
+
};
|
|
31804
|
+
module_features: {
|
|
31805
|
+
Row: {
|
|
31806
|
+
created_at: string;
|
|
31807
|
+
feature_id: string;
|
|
31808
|
+
id: string;
|
|
31809
|
+
is_active: boolean;
|
|
31810
|
+
last_seen_at: string;
|
|
31811
|
+
module_id: string;
|
|
31812
|
+
name: string;
|
|
31813
|
+
};
|
|
31814
|
+
Insert: {
|
|
31815
|
+
created_at?: string;
|
|
31816
|
+
feature_id: string;
|
|
31817
|
+
id?: string;
|
|
31818
|
+
is_active?: boolean;
|
|
31819
|
+
last_seen_at?: string;
|
|
31820
|
+
module_id: string;
|
|
31821
|
+
name: string;
|
|
31822
|
+
};
|
|
31823
|
+
Update: {
|
|
31824
|
+
created_at?: string;
|
|
31825
|
+
feature_id?: string;
|
|
31826
|
+
id?: string;
|
|
31827
|
+
is_active?: boolean;
|
|
31828
|
+
last_seen_at?: string;
|
|
31829
|
+
module_id?: string;
|
|
31830
|
+
name?: string;
|
|
31831
|
+
};
|
|
31832
|
+
Relationships: [];
|
|
31833
|
+
};
|
|
31055
31834
|
module_permissions: {
|
|
31056
31835
|
Row: {
|
|
31057
31836
|
created_at: string;
|
|
@@ -31082,6 +31861,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
31082
31861
|
module_registry: {
|
|
31083
31862
|
Row: {
|
|
31084
31863
|
created_at: string;
|
|
31864
|
+
enforce: boolean;
|
|
31085
31865
|
is_active: boolean;
|
|
31086
31866
|
last_seen_at: string;
|
|
31087
31867
|
module_id: string;
|
|
@@ -31091,6 +31871,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
31091
31871
|
};
|
|
31092
31872
|
Insert: {
|
|
31093
31873
|
created_at?: string;
|
|
31874
|
+
enforce?: boolean;
|
|
31094
31875
|
is_active?: boolean;
|
|
31095
31876
|
last_seen_at?: string;
|
|
31096
31877
|
module_id: string;
|
|
@@ -31100,6 +31881,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
31100
31881
|
};
|
|
31101
31882
|
Update: {
|
|
31102
31883
|
created_at?: string;
|
|
31884
|
+
enforce?: boolean;
|
|
31103
31885
|
is_active?: boolean;
|
|
31104
31886
|
last_seen_at?: string;
|
|
31105
31887
|
module_id?: string;
|
|
@@ -31160,63 +31942,6 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
31160
31942
|
};
|
|
31161
31943
|
Relationships: [];
|
|
31162
31944
|
};
|
|
31163
|
-
monteurs: {
|
|
31164
|
-
Row: {
|
|
31165
|
-
avatar_url: string | null;
|
|
31166
|
-
color: string | null;
|
|
31167
|
-
created_at: string;
|
|
31168
|
-
email: string | null;
|
|
31169
|
-
id: string;
|
|
31170
|
-
is_active: boolean;
|
|
31171
|
-
leave_balance_hours: number;
|
|
31172
|
-
name: string;
|
|
31173
|
-
persnr: number | null;
|
|
31174
|
-
phone: string | null;
|
|
31175
|
-
role: string;
|
|
31176
|
-
tenant_id: string;
|
|
31177
|
-
updated_at: string;
|
|
31178
|
-
user_id: string | null;
|
|
31179
|
-
};
|
|
31180
|
-
Insert: {
|
|
31181
|
-
avatar_url?: string | null;
|
|
31182
|
-
color?: string | null;
|
|
31183
|
-
created_at?: string;
|
|
31184
|
-
email?: string | null;
|
|
31185
|
-
id?: string;
|
|
31186
|
-
is_active?: boolean;
|
|
31187
|
-
leave_balance_hours?: number;
|
|
31188
|
-
name: string;
|
|
31189
|
-
persnr?: number | null;
|
|
31190
|
-
phone?: string | null;
|
|
31191
|
-
role?: string;
|
|
31192
|
-
tenant_id: string;
|
|
31193
|
-
updated_at?: string;
|
|
31194
|
-
user_id?: string | null;
|
|
31195
|
-
};
|
|
31196
|
-
Update: {
|
|
31197
|
-
avatar_url?: string | null;
|
|
31198
|
-
color?: string | null;
|
|
31199
|
-
created_at?: string;
|
|
31200
|
-
email?: string | null;
|
|
31201
|
-
id?: string;
|
|
31202
|
-
is_active?: boolean;
|
|
31203
|
-
leave_balance_hours?: number;
|
|
31204
|
-
name?: string;
|
|
31205
|
-
persnr?: number | null;
|
|
31206
|
-
phone?: string | null;
|
|
31207
|
-
role?: string;
|
|
31208
|
-
tenant_id?: string;
|
|
31209
|
-
updated_at?: string;
|
|
31210
|
-
user_id?: string | null;
|
|
31211
|
-
};
|
|
31212
|
-
Relationships: [{
|
|
31213
|
-
foreignKeyName: "monteurs_tenant_id_fkey";
|
|
31214
|
-
columns: ["tenant_id"];
|
|
31215
|
-
isOneToOne: false;
|
|
31216
|
-
referencedRelation: "tenants";
|
|
31217
|
-
referencedColumns: ["id"];
|
|
31218
|
-
}];
|
|
31219
|
-
};
|
|
31220
31945
|
nmbrs_component_mapping: {
|
|
31221
31946
|
Row: {
|
|
31222
31947
|
created_at: string;
|
|
@@ -31287,13 +32012,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
31287
32012
|
nmbrs_employee_number?: string;
|
|
31288
32013
|
updated_at?: string;
|
|
31289
32014
|
};
|
|
31290
|
-
Relationships: [
|
|
31291
|
-
foreignKeyName: "nmbrs_employee_mapping_monteur_id_fkey";
|
|
31292
|
-
columns: ["monteur_id"];
|
|
31293
|
-
isOneToOne: true;
|
|
31294
|
-
referencedRelation: "monteurs";
|
|
31295
|
-
referencedColumns: ["id"];
|
|
31296
|
-
}];
|
|
32015
|
+
Relationships: [];
|
|
31297
32016
|
};
|
|
31298
32017
|
nmbrs_export_lines: {
|
|
31299
32018
|
Row: {
|
|
@@ -31342,12 +32061,6 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
31342
32061
|
wage_code?: string;
|
|
31343
32062
|
};
|
|
31344
32063
|
Relationships: [{
|
|
31345
|
-
foreignKeyName: "nmbrs_export_lines_monteur_id_fkey";
|
|
31346
|
-
columns: ["monteur_id"];
|
|
31347
|
-
isOneToOne: false;
|
|
31348
|
-
referencedRelation: "monteurs";
|
|
31349
|
-
referencedColumns: ["id"];
|
|
31350
|
-
}, {
|
|
31351
32064
|
foreignKeyName: "nmbrs_export_lines_run_id_fkey";
|
|
31352
32065
|
columns: ["run_id"];
|
|
31353
32066
|
isOneToOne: false;
|
|
@@ -33738,6 +34451,9 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
33738
34451
|
created_at: string;
|
|
33739
34452
|
id: string;
|
|
33740
34453
|
laatst_gezien: string;
|
|
34454
|
+
laatste_fout: string | null;
|
|
34455
|
+
laatste_request_id: number | null;
|
|
34456
|
+
mislukte_posts: number;
|
|
33741
34457
|
tick_sleutel: string;
|
|
33742
34458
|
updated_at: string;
|
|
33743
34459
|
};
|
|
@@ -33747,6 +34463,9 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
33747
34463
|
created_at?: string;
|
|
33748
34464
|
id?: string;
|
|
33749
34465
|
laatst_gezien?: string;
|
|
34466
|
+
laatste_fout?: string | null;
|
|
34467
|
+
laatste_request_id?: number | null;
|
|
34468
|
+
mislukte_posts?: number;
|
|
33750
34469
|
tick_sleutel?: string;
|
|
33751
34470
|
updated_at?: string;
|
|
33752
34471
|
};
|
|
@@ -33756,6 +34475,9 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
33756
34475
|
created_at?: string;
|
|
33757
34476
|
id?: string;
|
|
33758
34477
|
laatst_gezien?: string;
|
|
34478
|
+
laatste_fout?: string | null;
|
|
34479
|
+
laatste_request_id?: number | null;
|
|
34480
|
+
mislukte_posts?: number;
|
|
33759
34481
|
tick_sleutel?: string;
|
|
33760
34482
|
updated_at?: string;
|
|
33761
34483
|
};
|
|
@@ -35264,6 +35986,96 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
35264
35986
|
referencedColumns: ["id"];
|
|
35265
35987
|
}];
|
|
35266
35988
|
};
|
|
35989
|
+
role_assignments: {
|
|
35990
|
+
Row: {
|
|
35991
|
+
created_at: string;
|
|
35992
|
+
id: string;
|
|
35993
|
+
role_id: string;
|
|
35994
|
+
user_id: string;
|
|
35995
|
+
};
|
|
35996
|
+
Insert: {
|
|
35997
|
+
created_at?: string;
|
|
35998
|
+
id?: string;
|
|
35999
|
+
role_id: string;
|
|
36000
|
+
user_id: string;
|
|
36001
|
+
};
|
|
36002
|
+
Update: {
|
|
36003
|
+
created_at?: string;
|
|
36004
|
+
id?: string;
|
|
36005
|
+
role_id?: string;
|
|
36006
|
+
user_id?: string;
|
|
36007
|
+
};
|
|
36008
|
+
Relationships: [{
|
|
36009
|
+
foreignKeyName: "role_assignments_role_id_fkey";
|
|
36010
|
+
columns: ["role_id"];
|
|
36011
|
+
isOneToOne: false;
|
|
36012
|
+
referencedRelation: "roles";
|
|
36013
|
+
referencedColumns: ["id"];
|
|
36014
|
+
}];
|
|
36015
|
+
};
|
|
36016
|
+
role_permissions: {
|
|
36017
|
+
Row: {
|
|
36018
|
+
can_edit: boolean;
|
|
36019
|
+
can_view: boolean;
|
|
36020
|
+
feature_id: string;
|
|
36021
|
+
id: string;
|
|
36022
|
+
module_id: string;
|
|
36023
|
+
role_id: string;
|
|
36024
|
+
updated_at: string;
|
|
36025
|
+
};
|
|
36026
|
+
Insert: {
|
|
36027
|
+
can_edit?: boolean;
|
|
36028
|
+
can_view?: boolean;
|
|
36029
|
+
feature_id?: string;
|
|
36030
|
+
id?: string;
|
|
36031
|
+
module_id: string;
|
|
36032
|
+
role_id: string;
|
|
36033
|
+
updated_at?: string;
|
|
36034
|
+
};
|
|
36035
|
+
Update: {
|
|
36036
|
+
can_edit?: boolean;
|
|
36037
|
+
can_view?: boolean;
|
|
36038
|
+
feature_id?: string;
|
|
36039
|
+
id?: string;
|
|
36040
|
+
module_id?: string;
|
|
36041
|
+
role_id?: string;
|
|
36042
|
+
updated_at?: string;
|
|
36043
|
+
};
|
|
36044
|
+
Relationships: [{
|
|
36045
|
+
foreignKeyName: "role_permissions_role_id_fkey";
|
|
36046
|
+
columns: ["role_id"];
|
|
36047
|
+
isOneToOne: false;
|
|
36048
|
+
referencedRelation: "roles";
|
|
36049
|
+
referencedColumns: ["id"];
|
|
36050
|
+
}];
|
|
36051
|
+
};
|
|
36052
|
+
roles: {
|
|
36053
|
+
Row: {
|
|
36054
|
+
created_at: string;
|
|
36055
|
+
id: string;
|
|
36056
|
+
is_protected: boolean;
|
|
36057
|
+
key: string;
|
|
36058
|
+
name: string;
|
|
36059
|
+
updated_at: string;
|
|
36060
|
+
};
|
|
36061
|
+
Insert: {
|
|
36062
|
+
created_at?: string;
|
|
36063
|
+
id?: string;
|
|
36064
|
+
is_protected?: boolean;
|
|
36065
|
+
key: string;
|
|
36066
|
+
name: string;
|
|
36067
|
+
updated_at?: string;
|
|
36068
|
+
};
|
|
36069
|
+
Update: {
|
|
36070
|
+
created_at?: string;
|
|
36071
|
+
id?: string;
|
|
36072
|
+
is_protected?: boolean;
|
|
36073
|
+
key?: string;
|
|
36074
|
+
name?: string;
|
|
36075
|
+
updated_at?: string;
|
|
36076
|
+
};
|
|
36077
|
+
Relationships: [];
|
|
36078
|
+
};
|
|
35267
36079
|
rooms: {
|
|
35268
36080
|
Row: {
|
|
35269
36081
|
capacity: number;
|
|
@@ -35933,6 +36745,54 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
35933
36745
|
};
|
|
35934
36746
|
Relationships: [];
|
|
35935
36747
|
};
|
|
36748
|
+
time_compensation_entries: {
|
|
36749
|
+
Row: {
|
|
36750
|
+
created_at: string;
|
|
36751
|
+
employee_id: string;
|
|
36752
|
+
entry_date: string;
|
|
36753
|
+
id: string;
|
|
36754
|
+
km: number;
|
|
36755
|
+
meal_allowance: number;
|
|
36756
|
+
notes: string | null;
|
|
36757
|
+
standby_evening: number;
|
|
36758
|
+
standby_weekend: number;
|
|
36759
|
+
tvt_change: number;
|
|
36760
|
+
updated_at: string;
|
|
36761
|
+
};
|
|
36762
|
+
Insert: {
|
|
36763
|
+
created_at?: string;
|
|
36764
|
+
employee_id: string;
|
|
36765
|
+
entry_date: string;
|
|
36766
|
+
id?: string;
|
|
36767
|
+
km?: number;
|
|
36768
|
+
meal_allowance?: number;
|
|
36769
|
+
notes?: string | null;
|
|
36770
|
+
standby_evening?: number;
|
|
36771
|
+
standby_weekend?: number;
|
|
36772
|
+
tvt_change?: number;
|
|
36773
|
+
updated_at?: string;
|
|
36774
|
+
};
|
|
36775
|
+
Update: {
|
|
36776
|
+
created_at?: string;
|
|
36777
|
+
employee_id?: string;
|
|
36778
|
+
entry_date?: string;
|
|
36779
|
+
id?: string;
|
|
36780
|
+
km?: number;
|
|
36781
|
+
meal_allowance?: number;
|
|
36782
|
+
notes?: string | null;
|
|
36783
|
+
standby_evening?: number;
|
|
36784
|
+
standby_weekend?: number;
|
|
36785
|
+
tvt_change?: number;
|
|
36786
|
+
updated_at?: string;
|
|
36787
|
+
};
|
|
36788
|
+
Relationships: [{
|
|
36789
|
+
foreignKeyName: "time_compensation_entries_employee_id_fkey";
|
|
36790
|
+
columns: ["employee_id"];
|
|
36791
|
+
isOneToOne: false;
|
|
36792
|
+
referencedRelation: "profiles";
|
|
36793
|
+
referencedColumns: ["id"];
|
|
36794
|
+
}];
|
|
36795
|
+
};
|
|
35936
36796
|
time_entries: {
|
|
35937
36797
|
Row: {
|
|
35938
36798
|
created_at: string;
|
|
@@ -35967,65 +36827,170 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
35967
36827
|
undertime?: number;
|
|
35968
36828
|
updated_at?: string;
|
|
35969
36829
|
};
|
|
36830
|
+
Relationships: [];
|
|
36831
|
+
};
|
|
36832
|
+
time_log_week_approvals: {
|
|
36833
|
+
Row: {
|
|
36834
|
+
approved_at: string | null;
|
|
36835
|
+
approved_by: string | null;
|
|
36836
|
+
created_at: string;
|
|
36837
|
+
employee_id: string;
|
|
36838
|
+
id: string;
|
|
36839
|
+
locked: boolean;
|
|
36840
|
+
notes: string | null;
|
|
36841
|
+
status: string;
|
|
36842
|
+
submitted_at: string | null;
|
|
36843
|
+
updated_at: string;
|
|
36844
|
+
week_start: string;
|
|
36845
|
+
};
|
|
36846
|
+
Insert: {
|
|
36847
|
+
approved_at?: string | null;
|
|
36848
|
+
approved_by?: string | null;
|
|
36849
|
+
created_at?: string;
|
|
36850
|
+
employee_id: string;
|
|
36851
|
+
id?: string;
|
|
36852
|
+
locked?: boolean;
|
|
36853
|
+
notes?: string | null;
|
|
36854
|
+
status?: string;
|
|
36855
|
+
submitted_at?: string | null;
|
|
36856
|
+
updated_at?: string;
|
|
36857
|
+
week_start: string;
|
|
36858
|
+
};
|
|
36859
|
+
Update: {
|
|
36860
|
+
approved_at?: string | null;
|
|
36861
|
+
approved_by?: string | null;
|
|
36862
|
+
created_at?: string;
|
|
36863
|
+
employee_id?: string;
|
|
36864
|
+
id?: string;
|
|
36865
|
+
locked?: boolean;
|
|
36866
|
+
notes?: string | null;
|
|
36867
|
+
status?: string;
|
|
36868
|
+
submitted_at?: string | null;
|
|
36869
|
+
updated_at?: string;
|
|
36870
|
+
week_start?: string;
|
|
36871
|
+
};
|
|
35970
36872
|
Relationships: [{
|
|
35971
|
-
foreignKeyName: "
|
|
36873
|
+
foreignKeyName: "time_log_week_approvals_employee_id_fkey";
|
|
35972
36874
|
columns: ["employee_id"];
|
|
35973
36875
|
isOneToOne: false;
|
|
35974
|
-
referencedRelation: "
|
|
36876
|
+
referencedRelation: "profiles";
|
|
35975
36877
|
referencedColumns: ["id"];
|
|
35976
36878
|
}];
|
|
35977
36879
|
};
|
|
35978
36880
|
time_logs: {
|
|
35979
36881
|
Row: {
|
|
36882
|
+
auto_stop_reason: string | null;
|
|
36883
|
+
auto_stopped: boolean;
|
|
35980
36884
|
created_at: string;
|
|
36885
|
+
current_latitude: number | null;
|
|
36886
|
+
current_longitude: number | null;
|
|
36887
|
+
current_position_updated_at: string | null;
|
|
35981
36888
|
employee_id: string;
|
|
36889
|
+
end_latitude: number | null;
|
|
36890
|
+
end_longitude: number | null;
|
|
35982
36891
|
end_time: string | null;
|
|
36892
|
+
eta_distance_km: number | null;
|
|
36893
|
+
eta_minutes: number | null;
|
|
36894
|
+
eta_updated_at: string | null;
|
|
36895
|
+
hour_category: string | null;
|
|
35983
36896
|
id: string;
|
|
36897
|
+
last_reminder_at: string | null;
|
|
35984
36898
|
notes: string | null;
|
|
35985
36899
|
overtime_hours: number;
|
|
35986
36900
|
overtime_type: string | null;
|
|
35987
36901
|
regular_hours: number;
|
|
36902
|
+
reminder_count: number;
|
|
36903
|
+
requires_review: boolean;
|
|
36904
|
+
start_latitude: number | null;
|
|
36905
|
+
start_longitude: number | null;
|
|
35988
36906
|
start_time: string;
|
|
35989
36907
|
travel_cost: number | null;
|
|
35990
36908
|
travel_distance_km: number | null;
|
|
36909
|
+
travel_duration_min: number | null;
|
|
36910
|
+
travel_time_minutes: number | null;
|
|
35991
36911
|
type: string;
|
|
35992
36912
|
updated_at: string;
|
|
36913
|
+
work_order_id: string | null;
|
|
35993
36914
|
};
|
|
35994
36915
|
Insert: {
|
|
36916
|
+
auto_stop_reason?: string | null;
|
|
36917
|
+
auto_stopped?: boolean;
|
|
35995
36918
|
created_at?: string;
|
|
36919
|
+
current_latitude?: number | null;
|
|
36920
|
+
current_longitude?: number | null;
|
|
36921
|
+
current_position_updated_at?: string | null;
|
|
35996
36922
|
employee_id: string;
|
|
36923
|
+
end_latitude?: number | null;
|
|
36924
|
+
end_longitude?: number | null;
|
|
35997
36925
|
end_time?: string | null;
|
|
36926
|
+
eta_distance_km?: number | null;
|
|
36927
|
+
eta_minutes?: number | null;
|
|
36928
|
+
eta_updated_at?: string | null;
|
|
36929
|
+
hour_category?: string | null;
|
|
35998
36930
|
id?: string;
|
|
36931
|
+
last_reminder_at?: string | null;
|
|
35999
36932
|
notes?: string | null;
|
|
36000
36933
|
overtime_hours?: number;
|
|
36001
36934
|
overtime_type?: string | null;
|
|
36002
36935
|
regular_hours?: number;
|
|
36936
|
+
reminder_count?: number;
|
|
36937
|
+
requires_review?: boolean;
|
|
36938
|
+
start_latitude?: number | null;
|
|
36939
|
+
start_longitude?: number | null;
|
|
36003
36940
|
start_time?: string;
|
|
36004
36941
|
travel_cost?: number | null;
|
|
36005
36942
|
travel_distance_km?: number | null;
|
|
36943
|
+
travel_duration_min?: number | null;
|
|
36944
|
+
travel_time_minutes?: number | null;
|
|
36006
36945
|
type: string;
|
|
36007
36946
|
updated_at?: string;
|
|
36947
|
+
work_order_id?: string | null;
|
|
36008
36948
|
};
|
|
36009
36949
|
Update: {
|
|
36950
|
+
auto_stop_reason?: string | null;
|
|
36951
|
+
auto_stopped?: boolean;
|
|
36010
36952
|
created_at?: string;
|
|
36953
|
+
current_latitude?: number | null;
|
|
36954
|
+
current_longitude?: number | null;
|
|
36955
|
+
current_position_updated_at?: string | null;
|
|
36011
36956
|
employee_id?: string;
|
|
36957
|
+
end_latitude?: number | null;
|
|
36958
|
+
end_longitude?: number | null;
|
|
36012
36959
|
end_time?: string | null;
|
|
36960
|
+
eta_distance_km?: number | null;
|
|
36961
|
+
eta_minutes?: number | null;
|
|
36962
|
+
eta_updated_at?: string | null;
|
|
36963
|
+
hour_category?: string | null;
|
|
36013
36964
|
id?: string;
|
|
36965
|
+
last_reminder_at?: string | null;
|
|
36014
36966
|
notes?: string | null;
|
|
36015
36967
|
overtime_hours?: number;
|
|
36016
36968
|
overtime_type?: string | null;
|
|
36017
36969
|
regular_hours?: number;
|
|
36970
|
+
reminder_count?: number;
|
|
36971
|
+
requires_review?: boolean;
|
|
36972
|
+
start_latitude?: number | null;
|
|
36973
|
+
start_longitude?: number | null;
|
|
36018
36974
|
start_time?: string;
|
|
36019
36975
|
travel_cost?: number | null;
|
|
36020
36976
|
travel_distance_km?: number | null;
|
|
36977
|
+
travel_duration_min?: number | null;
|
|
36978
|
+
travel_time_minutes?: number | null;
|
|
36021
36979
|
type?: string;
|
|
36022
36980
|
updated_at?: string;
|
|
36981
|
+
work_order_id?: string | null;
|
|
36023
36982
|
};
|
|
36024
36983
|
Relationships: [{
|
|
36025
36984
|
foreignKeyName: "time_logs_employee_id_fkey";
|
|
36026
36985
|
columns: ["employee_id"];
|
|
36027
36986
|
isOneToOne: false;
|
|
36028
|
-
referencedRelation: "
|
|
36987
|
+
referencedRelation: "profiles";
|
|
36988
|
+
referencedColumns: ["id"];
|
|
36989
|
+
}, {
|
|
36990
|
+
foreignKeyName: "time_logs_work_order_id_fkey";
|
|
36991
|
+
columns: ["work_order_id"];
|
|
36992
|
+
isOneToOne: false;
|
|
36993
|
+
referencedRelation: "work_orders";
|
|
36029
36994
|
referencedColumns: ["id"];
|
|
36030
36995
|
}];
|
|
36031
36996
|
};
|
|
@@ -36064,7 +37029,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
36064
37029
|
foreignKeyName: "time_off_entries_employee_id_fkey";
|
|
36065
37030
|
columns: ["employee_id"];
|
|
36066
37031
|
isOneToOne: false;
|
|
36067
|
-
referencedRelation: "
|
|
37032
|
+
referencedRelation: "profiles";
|
|
36068
37033
|
referencedColumns: ["id"];
|
|
36069
37034
|
}];
|
|
36070
37035
|
};
|
|
@@ -36374,6 +37339,39 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
36374
37339
|
};
|
|
36375
37340
|
Relationships: [];
|
|
36376
37341
|
};
|
|
37342
|
+
twinfield_cron_locks: {
|
|
37343
|
+
Row: {
|
|
37344
|
+
created_at: string;
|
|
37345
|
+
heartbeat_at: string;
|
|
37346
|
+
job_name: string;
|
|
37347
|
+
last_error: string | null;
|
|
37348
|
+
last_finished_at: string | null;
|
|
37349
|
+
locked_at: string;
|
|
37350
|
+
run_id: string;
|
|
37351
|
+
updated_at: string;
|
|
37352
|
+
};
|
|
37353
|
+
Insert: {
|
|
37354
|
+
created_at?: string;
|
|
37355
|
+
heartbeat_at?: string;
|
|
37356
|
+
job_name: string;
|
|
37357
|
+
last_error?: string | null;
|
|
37358
|
+
last_finished_at?: string | null;
|
|
37359
|
+
locked_at?: string;
|
|
37360
|
+
run_id?: string;
|
|
37361
|
+
updated_at?: string;
|
|
37362
|
+
};
|
|
37363
|
+
Update: {
|
|
37364
|
+
created_at?: string;
|
|
37365
|
+
heartbeat_at?: string;
|
|
37366
|
+
job_name?: string;
|
|
37367
|
+
last_error?: string | null;
|
|
37368
|
+
last_finished_at?: string | null;
|
|
37369
|
+
locked_at?: string;
|
|
37370
|
+
run_id?: string;
|
|
37371
|
+
updated_at?: string;
|
|
37372
|
+
};
|
|
37373
|
+
Relationships: [];
|
|
37374
|
+
};
|
|
36377
37375
|
twinfield_customers: {
|
|
36378
37376
|
Row: {
|
|
36379
37377
|
address: string | null;
|
|
@@ -36974,6 +37972,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
36974
37972
|
twinfield_push_queue: {
|
|
36975
37973
|
Row: {
|
|
36976
37974
|
action: string;
|
|
37975
|
+
attempt_started_at: string | null;
|
|
36977
37976
|
attempts: number;
|
|
36978
37977
|
connection_id: string | null;
|
|
36979
37978
|
created_at: string;
|
|
@@ -36990,6 +37989,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
36990
37989
|
};
|
|
36991
37990
|
Insert: {
|
|
36992
37991
|
action?: string;
|
|
37992
|
+
attempt_started_at?: string | null;
|
|
36993
37993
|
attempts?: number;
|
|
36994
37994
|
connection_id?: string | null;
|
|
36995
37995
|
created_at?: string;
|
|
@@ -37006,6 +38006,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
37006
38006
|
};
|
|
37007
38007
|
Update: {
|
|
37008
38008
|
action?: string;
|
|
38009
|
+
attempt_started_at?: string | null;
|
|
37009
38010
|
attempts?: number;
|
|
37010
38011
|
connection_id?: string | null;
|
|
37011
38012
|
created_at?: string;
|
|
@@ -37203,13 +38204,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
37203
38204
|
workday_end?: string | null;
|
|
37204
38205
|
workday_start?: string | null;
|
|
37205
38206
|
};
|
|
37206
|
-
Relationships: [
|
|
37207
|
-
foreignKeyName: "uren_cao_profiles_monteur_id_fkey";
|
|
37208
|
-
columns: ["monteur_id"];
|
|
37209
|
-
isOneToOne: true;
|
|
37210
|
-
referencedRelation: "monteurs";
|
|
37211
|
-
referencedColumns: ["id"];
|
|
37212
|
-
}];
|
|
38207
|
+
Relationships: [];
|
|
37213
38208
|
};
|
|
37214
38209
|
uren_entries: {
|
|
37215
38210
|
Row: {
|
|
@@ -37255,12 +38250,6 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
37255
38250
|
werkbon_id?: string | null;
|
|
37256
38251
|
};
|
|
37257
38252
|
Relationships: [{
|
|
37258
|
-
foreignKeyName: "uren_entries_monteur_id_fkey";
|
|
37259
|
-
columns: ["monteur_id"];
|
|
37260
|
-
isOneToOne: false;
|
|
37261
|
-
referencedRelation: "monteurs";
|
|
37262
|
-
referencedColumns: ["id"];
|
|
37263
|
-
}, {
|
|
37264
38253
|
foreignKeyName: "uren_entries_werkbon_id_fkey";
|
|
37265
38254
|
columns: ["werkbon_id"];
|
|
37266
38255
|
isOneToOne: false;
|
|
@@ -37728,17 +38717,12 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
37728
38717
|
submitted_at?: string | null;
|
|
37729
38718
|
updated_at?: string;
|
|
37730
38719
|
};
|
|
37731
|
-
Relationships: [
|
|
37732
|
-
foreignKeyName: "uren_weekstaten_monteur_id_fkey";
|
|
37733
|
-
columns: ["monteur_id"];
|
|
37734
|
-
isOneToOne: false;
|
|
37735
|
-
referencedRelation: "monteurs";
|
|
37736
|
-
referencedColumns: ["id"];
|
|
37737
|
-
}];
|
|
38720
|
+
Relationships: [];
|
|
37738
38721
|
};
|
|
37739
38722
|
user_module_permissions: {
|
|
37740
38723
|
Row: {
|
|
37741
38724
|
created_at: string;
|
|
38725
|
+
feature_id: string;
|
|
37742
38726
|
id: string;
|
|
37743
38727
|
module_id: string;
|
|
37744
38728
|
permission: string;
|
|
@@ -37747,6 +38731,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
37747
38731
|
};
|
|
37748
38732
|
Insert: {
|
|
37749
38733
|
created_at?: string;
|
|
38734
|
+
feature_id?: string;
|
|
37750
38735
|
id?: string;
|
|
37751
38736
|
module_id: string;
|
|
37752
38737
|
permission: string;
|
|
@@ -37755,6 +38740,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
37755
38740
|
};
|
|
37756
38741
|
Update: {
|
|
37757
38742
|
created_at?: string;
|
|
38743
|
+
feature_id?: string;
|
|
37758
38744
|
id?: string;
|
|
37759
38745
|
module_id?: string;
|
|
37760
38746
|
permission?: string;
|
|
@@ -37790,6 +38776,51 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
37790
38776
|
referencedColumns: ["id"];
|
|
37791
38777
|
}];
|
|
37792
38778
|
};
|
|
38779
|
+
van_inventories: {
|
|
38780
|
+
Row: {
|
|
38781
|
+
barcode: string | null;
|
|
38782
|
+
created_at: string;
|
|
38783
|
+
id: string;
|
|
38784
|
+
monteur_id: string | null;
|
|
38785
|
+
price_per_unit: number;
|
|
38786
|
+
product_name: string;
|
|
38787
|
+
quantity_current: number;
|
|
38788
|
+
quantity_min: number;
|
|
38789
|
+
unit: string;
|
|
38790
|
+
updated_at: string;
|
|
38791
|
+
};
|
|
38792
|
+
Insert: {
|
|
38793
|
+
barcode?: string | null;
|
|
38794
|
+
created_at?: string;
|
|
38795
|
+
id?: string;
|
|
38796
|
+
monteur_id?: string | null;
|
|
38797
|
+
price_per_unit?: number;
|
|
38798
|
+
product_name: string;
|
|
38799
|
+
quantity_current?: number;
|
|
38800
|
+
quantity_min?: number;
|
|
38801
|
+
unit?: string;
|
|
38802
|
+
updated_at?: string;
|
|
38803
|
+
};
|
|
38804
|
+
Update: {
|
|
38805
|
+
barcode?: string | null;
|
|
38806
|
+
created_at?: string;
|
|
38807
|
+
id?: string;
|
|
38808
|
+
monteur_id?: string | null;
|
|
38809
|
+
price_per_unit?: number;
|
|
38810
|
+
product_name?: string;
|
|
38811
|
+
quantity_current?: number;
|
|
38812
|
+
quantity_min?: number;
|
|
38813
|
+
unit?: string;
|
|
38814
|
+
updated_at?: string;
|
|
38815
|
+
};
|
|
38816
|
+
Relationships: [{
|
|
38817
|
+
foreignKeyName: "van_inventories_monteur_id_fkey";
|
|
38818
|
+
columns: ["monteur_id"];
|
|
38819
|
+
isOneToOne: false;
|
|
38820
|
+
referencedRelation: "profiles";
|
|
38821
|
+
referencedColumns: ["id"];
|
|
38822
|
+
}];
|
|
38823
|
+
};
|
|
37793
38824
|
voorraad_custom_fields: {
|
|
37794
38825
|
Row: {
|
|
37795
38826
|
created_at: string;
|
|
@@ -38740,7 +39771,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
38740
39771
|
foreignKeyName: "work_order_monteurs_monteur_id_fkey";
|
|
38741
39772
|
columns: ["monteur_id"];
|
|
38742
39773
|
isOneToOne: false;
|
|
38743
|
-
referencedRelation: "
|
|
39774
|
+
referencedRelation: "profiles";
|
|
38744
39775
|
referencedColumns: ["id"];
|
|
38745
39776
|
}, {
|
|
38746
39777
|
foreignKeyName: "work_order_monteurs_work_order_id_fkey";
|
|
@@ -38750,6 +39781,60 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
38750
39781
|
referencedColumns: ["id"];
|
|
38751
39782
|
}];
|
|
38752
39783
|
};
|
|
39784
|
+
work_order_photos: {
|
|
39785
|
+
Row: {
|
|
39786
|
+
ai_caption: string | null;
|
|
39787
|
+
ai_categorized_at: string | null;
|
|
39788
|
+
ai_labels: import("../integrations/supabase/types").Json | null;
|
|
39789
|
+
caption: string | null;
|
|
39790
|
+
created_at: string;
|
|
39791
|
+
id: string;
|
|
39792
|
+
monteur_id: string | null;
|
|
39793
|
+
photo_type: string;
|
|
39794
|
+
storage_path: string;
|
|
39795
|
+
updated_at: string;
|
|
39796
|
+
work_order_id: string;
|
|
39797
|
+
};
|
|
39798
|
+
Insert: {
|
|
39799
|
+
ai_caption?: string | null;
|
|
39800
|
+
ai_categorized_at?: string | null;
|
|
39801
|
+
ai_labels?: import("../integrations/supabase/types").Json | null;
|
|
39802
|
+
caption?: string | null;
|
|
39803
|
+
created_at?: string;
|
|
39804
|
+
id?: string;
|
|
39805
|
+
monteur_id?: string | null;
|
|
39806
|
+
photo_type?: string;
|
|
39807
|
+
storage_path: string;
|
|
39808
|
+
updated_at?: string;
|
|
39809
|
+
work_order_id: string;
|
|
39810
|
+
};
|
|
39811
|
+
Update: {
|
|
39812
|
+
ai_caption?: string | null;
|
|
39813
|
+
ai_categorized_at?: string | null;
|
|
39814
|
+
ai_labels?: import("../integrations/supabase/types").Json | null;
|
|
39815
|
+
caption?: string | null;
|
|
39816
|
+
created_at?: string;
|
|
39817
|
+
id?: string;
|
|
39818
|
+
monteur_id?: string | null;
|
|
39819
|
+
photo_type?: string;
|
|
39820
|
+
storage_path?: string;
|
|
39821
|
+
updated_at?: string;
|
|
39822
|
+
work_order_id?: string;
|
|
39823
|
+
};
|
|
39824
|
+
Relationships: [{
|
|
39825
|
+
foreignKeyName: "work_order_photos_monteur_id_fkey";
|
|
39826
|
+
columns: ["monteur_id"];
|
|
39827
|
+
isOneToOne: false;
|
|
39828
|
+
referencedRelation: "profiles";
|
|
39829
|
+
referencedColumns: ["id"];
|
|
39830
|
+
}, {
|
|
39831
|
+
foreignKeyName: "work_order_photos_work_order_id_fkey";
|
|
39832
|
+
columns: ["work_order_id"];
|
|
39833
|
+
isOneToOne: false;
|
|
39834
|
+
referencedRelation: "work_orders";
|
|
39835
|
+
referencedColumns: ["id"];
|
|
39836
|
+
}];
|
|
39837
|
+
};
|
|
38753
39838
|
work_orders: {
|
|
38754
39839
|
Row: {
|
|
38755
39840
|
assigned_to: string | null;
|
|
@@ -38781,7 +39866,6 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
38781
39866
|
scheduled_end_time: string | null;
|
|
38782
39867
|
scheduled_start_time: string | null;
|
|
38783
39868
|
status: string;
|
|
38784
|
-
tenant_id: string;
|
|
38785
39869
|
total_hours_worked: number | null;
|
|
38786
39870
|
total_price: number | null;
|
|
38787
39871
|
travel_time_minutes: number | null;
|
|
@@ -38819,7 +39903,6 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
38819
39903
|
scheduled_end_time?: string | null;
|
|
38820
39904
|
scheduled_start_time?: string | null;
|
|
38821
39905
|
status?: string;
|
|
38822
|
-
tenant_id: string;
|
|
38823
39906
|
total_hours_worked?: number | null;
|
|
38824
39907
|
total_price?: number | null;
|
|
38825
39908
|
travel_time_minutes?: number | null;
|
|
@@ -38857,7 +39940,6 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
38857
39940
|
scheduled_end_time?: string | null;
|
|
38858
39941
|
scheduled_start_time?: string | null;
|
|
38859
39942
|
status?: string;
|
|
38860
|
-
tenant_id?: string;
|
|
38861
39943
|
total_hours_worked?: number | null;
|
|
38862
39944
|
total_price?: number | null;
|
|
38863
39945
|
travel_time_minutes?: number | null;
|
|
@@ -38871,12 +39953,6 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
38871
39953
|
isOneToOne: false;
|
|
38872
39954
|
referencedRelation: "work_orders";
|
|
38873
39955
|
referencedColumns: ["id"];
|
|
38874
|
-
}, {
|
|
38875
|
-
foreignKeyName: "work_orders_tenant_id_fkey";
|
|
38876
|
-
columns: ["tenant_id"];
|
|
38877
|
-
isOneToOne: false;
|
|
38878
|
-
referencedRelation: "tenants";
|
|
38879
|
-
referencedColumns: ["id"];
|
|
38880
39956
|
}];
|
|
38881
39957
|
};
|
|
38882
39958
|
};
|
|
@@ -39561,6 +40637,19 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
39561
40637
|
};
|
|
39562
40638
|
Returns: undefined;
|
|
39563
40639
|
};
|
|
40640
|
+
approve_mailbox_order_proposal: {
|
|
40641
|
+
Args: {
|
|
40642
|
+
p_custom_fields: import("../integrations/supabase/types").Json;
|
|
40643
|
+
p_customer_id: string;
|
|
40644
|
+
p_delivery_date: string;
|
|
40645
|
+
p_field_values?: import("../integrations/supabase/types").Json;
|
|
40646
|
+
p_lines: import("../integrations/supabase/types").Json;
|
|
40647
|
+
p_notes: string;
|
|
40648
|
+
p_proposal_id: string;
|
|
40649
|
+
p_reviewed_by: string;
|
|
40650
|
+
};
|
|
40651
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
40652
|
+
};
|
|
39564
40653
|
assign_cart_numbers: {
|
|
39565
40654
|
Args: {
|
|
39566
40655
|
p_carts: import("../integrations/supabase/types").Json;
|
|
@@ -39612,6 +40701,10 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
39612
40701
|
};
|
|
39613
40702
|
Returns: number;
|
|
39614
40703
|
};
|
|
40704
|
+
can_manage_hours: {
|
|
40705
|
+
Args: never;
|
|
40706
|
+
Returns: boolean;
|
|
40707
|
+
};
|
|
39615
40708
|
check_offer_product_available_stock: {
|
|
39616
40709
|
Args: {
|
|
39617
40710
|
p_campaign_product_id: string;
|
|
@@ -39801,6 +40894,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
39801
40894
|
};
|
|
39802
40895
|
Returns: {
|
|
39803
40896
|
action: string;
|
|
40897
|
+
attempt_started_at: string | null;
|
|
39804
40898
|
attempts: number;
|
|
39805
40899
|
connection_id: string | null;
|
|
39806
40900
|
created_at: string;
|
|
@@ -39888,6 +40982,30 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
39888
40982
|
agent_naam: string;
|
|
39889
40983
|
}[];
|
|
39890
40984
|
};
|
|
40985
|
+
consume_van_inventory: {
|
|
40986
|
+
Args: {
|
|
40987
|
+
p_inventory_id: string;
|
|
40988
|
+
p_quantity: number;
|
|
40989
|
+
};
|
|
40990
|
+
Returns: {
|
|
40991
|
+
barcode: string | null;
|
|
40992
|
+
created_at: string;
|
|
40993
|
+
id: string;
|
|
40994
|
+
monteur_id: string | null;
|
|
40995
|
+
price_per_unit: number;
|
|
40996
|
+
product_name: string;
|
|
40997
|
+
quantity_current: number;
|
|
40998
|
+
quantity_min: number;
|
|
40999
|
+
unit: string;
|
|
41000
|
+
updated_at: string;
|
|
41001
|
+
};
|
|
41002
|
+
SetofOptions: {
|
|
41003
|
+
from: "*";
|
|
41004
|
+
to: "van_inventories";
|
|
41005
|
+
isOneToOne: true;
|
|
41006
|
+
isSetofReturn: false;
|
|
41007
|
+
};
|
|
41008
|
+
};
|
|
39891
41009
|
control_get_todays_carts: {
|
|
39892
41010
|
Args: never;
|
|
39893
41011
|
Returns: {
|
|
@@ -39961,6 +41079,13 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
39961
41079
|
_user_id: string;
|
|
39962
41080
|
};
|
|
39963
41081
|
Returns: string;
|
|
41082
|
+
} | {
|
|
41083
|
+
Args: {
|
|
41084
|
+
_feature_id: string;
|
|
41085
|
+
_module_id: string;
|
|
41086
|
+
_user_id: string;
|
|
41087
|
+
};
|
|
41088
|
+
Returns: string;
|
|
39964
41089
|
};
|
|
39965
41090
|
email_auth_decrypt: {
|
|
39966
41091
|
Args: {
|
|
@@ -40312,12 +41437,6 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
40312
41437
|
Args: never;
|
|
40313
41438
|
Returns: string;
|
|
40314
41439
|
};
|
|
40315
|
-
get_work_order_tenant_id: {
|
|
40316
|
-
Args: {
|
|
40317
|
-
wo_id: string;
|
|
40318
|
-
};
|
|
40319
|
-
Returns: string;
|
|
40320
|
-
};
|
|
40321
41440
|
has_module_permission: {
|
|
40322
41441
|
Args: {
|
|
40323
41442
|
_min: string;
|
|
@@ -40351,6 +41470,13 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
40351
41470
|
};
|
|
40352
41471
|
Returns: boolean;
|
|
40353
41472
|
};
|
|
41473
|
+
is_time_log_week_locked: {
|
|
41474
|
+
Args: {
|
|
41475
|
+
p_employee_id: string;
|
|
41476
|
+
p_start_time: string;
|
|
41477
|
+
};
|
|
41478
|
+
Returns: boolean;
|
|
41479
|
+
};
|
|
40354
41480
|
is_user_admin: {
|
|
40355
41481
|
Args: never;
|
|
40356
41482
|
Returns: boolean;
|
|
@@ -40365,13 +41491,14 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
40365
41491
|
};
|
|
40366
41492
|
Returns: boolean;
|
|
40367
41493
|
};
|
|
40368
|
-
|
|
41494
|
+
list_medewerkers: {
|
|
40369
41495
|
Args: never;
|
|
40370
41496
|
Returns: {
|
|
40371
41497
|
avatar_url: string;
|
|
40372
41498
|
display_name: string;
|
|
40373
41499
|
email: string;
|
|
40374
41500
|
id: string;
|
|
41501
|
+
roles: string[];
|
|
40375
41502
|
}[];
|
|
40376
41503
|
};
|
|
40377
41504
|
list_my_planning_items: {
|
|
@@ -41162,6 +42289,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
41162
42289
|
my_module_permissions: {
|
|
41163
42290
|
Args: never;
|
|
41164
42291
|
Returns: {
|
|
42292
|
+
feature_id: string;
|
|
41165
42293
|
module_id: string;
|
|
41166
42294
|
permission: string;
|
|
41167
42295
|
}[];
|
|
@@ -42042,6 +43170,16 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
42042
43170
|
};
|
|
42043
43171
|
Returns: string[];
|
|
42044
43172
|
};
|
|
43173
|
+
switch_time_log: {
|
|
43174
|
+
Args: {
|
|
43175
|
+
p_employee_id: string;
|
|
43176
|
+
p_start_lat?: number;
|
|
43177
|
+
p_start_lng?: number;
|
|
43178
|
+
p_type: string;
|
|
43179
|
+
p_work_order_id?: string;
|
|
43180
|
+
};
|
|
43181
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
43182
|
+
};
|
|
42045
43183
|
sync_all_layer_stocks: {
|
|
42046
43184
|
Args: never;
|
|
42047
43185
|
Returns: undefined;
|
|
@@ -42092,6 +43230,24 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
42092
43230
|
};
|
|
42093
43231
|
Returns: boolean;
|
|
42094
43232
|
};
|
|
43233
|
+
twinfield_cron_lock_acquire: {
|
|
43234
|
+
Args: {
|
|
43235
|
+
_job_name: string;
|
|
43236
|
+
_stale_seconds?: number;
|
|
43237
|
+
};
|
|
43238
|
+
Returns: boolean;
|
|
43239
|
+
};
|
|
43240
|
+
twinfield_cron_lock_release: {
|
|
43241
|
+
Args: {
|
|
43242
|
+
_error?: string;
|
|
43243
|
+
_job_name: string;
|
|
43244
|
+
};
|
|
43245
|
+
Returns: undefined;
|
|
43246
|
+
};
|
|
43247
|
+
twinfield_prune_push_queue: {
|
|
43248
|
+
Args: never;
|
|
43249
|
+
Returns: number;
|
|
43250
|
+
};
|
|
42095
43251
|
twinfield_register_cron: {
|
|
42096
43252
|
Args: {
|
|
42097
43253
|
apikey?: string;
|