@flowselections/floriday-afhandeling-module 1.0.31 → 1.0.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/components/afhandeling/AutoProcessStatus.js +1 -1
- package/dist-lib/components/afhandeling/ControleLijstPrint.d.ts +6 -6
- package/dist-lib/components/afhandeling/ControleLijstPrint.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/ControleLijstPrint.js +73 -48
- package/dist-lib/components/afhandeling/ControlePage.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/ControlePage.js +47 -14
- package/dist-lib/components/afhandeling/DagDetailDialog.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/DagDetailDialog.js +48 -24
- package/dist-lib/components/afhandeling/VervoerdersPage.d.ts +8 -1
- package/dist-lib/components/afhandeling/VervoerdersPage.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/VervoerdersPage.js +17 -2
- package/dist-lib/components/afhandeling/WeekAgendaView.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/WeekAgendaView.js +16 -5
- package/dist-lib/components/afhandeling/WerkplekWaarschuwing.d.ts +10 -0
- package/dist-lib/components/afhandeling/WerkplekWaarschuwing.d.ts.map +1 -0
- package/dist-lib/components/afhandeling/WerkplekWaarschuwing.js +28 -0
- package/dist-lib/components/pickstation/PakbonTemplate.js +70 -70
- package/dist-lib/components/pickstation/printDocuments.d.ts +9 -2
- package/dist-lib/components/pickstation/printDocuments.d.ts.map +1 -1
- package/dist-lib/components/pickstation/printDocuments.js +8 -52
- package/dist-lib/components/settings/AfhandelingSettingsCard.d.ts.map +1 -1
- package/dist-lib/components/settings/AfhandelingSettingsCard.js +12 -1
- package/dist-lib/hooks/useEngineTasks.js +1 -1
- package/dist-lib/hooks/useOrderPlanning.d.ts.map +1 -1
- package/dist-lib/hooks/useOrderPlanning.js +32 -14
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +695 -128
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +695 -128
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/{client.d.ts → moduleClient.d.ts} +697 -129
- package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -0
- package/dist-lib/integrations/supabase/moduleClient.js +38 -0
- package/dist-lib/integrations/supabase/types.d.ts +727 -155
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.js +3 -0
- package/dist-lib/lib/afhandelingSettings.functions.d.ts +1390 -256
- package/dist-lib/lib/afhandelingSettings.functions.d.ts.map +1 -1
- package/dist-lib/lib/carrierSignupMail.server.js +26 -26
- package/dist-lib/lib/carriers.functions.d.ts +3475 -640
- package/dist-lib/lib/carriers.functions.d.ts.map +1 -1
- package/dist-lib/lib/cartAssignments.functions.d.ts +3475 -640
- package/dist-lib/lib/cartAssignments.functions.d.ts.map +1 -1
- package/dist-lib/lib/cartControl.functions.d.ts +6950 -1280
- package/dist-lib/lib/cartControl.functions.d.ts.map +1 -1
- package/dist-lib/lib/deliveryNotePrint.d.ts +14 -6
- package/dist-lib/lib/deliveryNotePrint.d.ts.map +1 -1
- package/dist-lib/lib/deliveryNotePrint.js +61 -14
- package/dist-lib/lib/floriday.functions.d.ts +695 -128
- package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
- package/dist-lib/lib/floridayAutoProcess.js +1 -1
- package/dist-lib/lib/logisticsEngine/capacity.js +1 -1
- package/dist-lib/lib/logisticsEngine/emitQueue.d.ts +20 -0
- package/dist-lib/lib/logisticsEngine/emitQueue.d.ts.map +1 -0
- package/dist-lib/lib/logisticsEngine/emitQueue.js +88 -0
- package/dist-lib/lib/logisticsEngine/engine.js +1 -1
- package/dist-lib/lib/logisticsEngine/reschedule.js +1 -1
- package/dist-lib/lib/logisticsEngine/staffPlanning.js +1 -1
- package/dist-lib/lib/printing.d.ts +56 -0
- package/dist-lib/lib/printing.d.ts.map +1 -0
- package/dist-lib/lib/printing.js +209 -0
- package/package.json +3 -7
- package/dist-lib/integrations/supabase/auth-attacher.d.ts +0 -2
- package/dist-lib/integrations/supabase/auth-attacher.d.ts.map +0 -1
- package/dist-lib/integrations/supabase/auth-attacher.js +0 -12
- package/dist-lib/integrations/supabase/client.d.ts.map +0 -1
- package/dist-lib/integrations/supabase/client.js +0 -13
|
@@ -912,6 +912,126 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
912
912
|
};
|
|
913
913
|
Relationships: [];
|
|
914
914
|
};
|
|
915
|
+
cao_holidays: {
|
|
916
|
+
Row: {
|
|
917
|
+
created_at: string;
|
|
918
|
+
description: string | null;
|
|
919
|
+
holiday_date: string;
|
|
920
|
+
id: string;
|
|
921
|
+
updated_at: string;
|
|
922
|
+
};
|
|
923
|
+
Insert: {
|
|
924
|
+
created_at?: string;
|
|
925
|
+
description?: string | null;
|
|
926
|
+
holiday_date: string;
|
|
927
|
+
id?: string;
|
|
928
|
+
updated_at?: string;
|
|
929
|
+
};
|
|
930
|
+
Update: {
|
|
931
|
+
created_at?: string;
|
|
932
|
+
description?: string | null;
|
|
933
|
+
holiday_date?: string;
|
|
934
|
+
id?: string;
|
|
935
|
+
updated_at?: string;
|
|
936
|
+
};
|
|
937
|
+
Relationships: [];
|
|
938
|
+
};
|
|
939
|
+
cao_settings: {
|
|
940
|
+
Row: {
|
|
941
|
+
auto_break_after_hours: number;
|
|
942
|
+
auto_break_minutes: number;
|
|
943
|
+
auto_break_unpaid: boolean;
|
|
944
|
+
auto_stop_after_hours: number;
|
|
945
|
+
callout_fee: number;
|
|
946
|
+
created_at: string;
|
|
947
|
+
daily_regular_hours: number;
|
|
948
|
+
default_hourly_rate: number;
|
|
949
|
+
id: string;
|
|
950
|
+
materials_markup_percent: number;
|
|
951
|
+
max_daily_hours: number;
|
|
952
|
+
max_weekly_hours: number;
|
|
953
|
+
meal_allowance_amount: number;
|
|
954
|
+
overtime_pct_178: number;
|
|
955
|
+
overtime_pct_189: number;
|
|
956
|
+
overtime_pct_212: number;
|
|
957
|
+
reminder_after_hours: number;
|
|
958
|
+
standby_evening_amount: number;
|
|
959
|
+
standby_weekend_amount: number;
|
|
960
|
+
travel_cost_per_km: number | null;
|
|
961
|
+
travel_cost_threshold_km: number | null;
|
|
962
|
+
travel_counts_as_work: boolean;
|
|
963
|
+
travel_hourly_rate: number;
|
|
964
|
+
travel_rate_per_hour: number;
|
|
965
|
+
travel_threshold_minutes: number;
|
|
966
|
+
updated_at: string;
|
|
967
|
+
weekend_always_212: boolean;
|
|
968
|
+
window_end: string;
|
|
969
|
+
window_start: string;
|
|
970
|
+
};
|
|
971
|
+
Insert: {
|
|
972
|
+
auto_break_after_hours?: number;
|
|
973
|
+
auto_break_minutes?: number;
|
|
974
|
+
auto_break_unpaid?: boolean;
|
|
975
|
+
auto_stop_after_hours?: number;
|
|
976
|
+
callout_fee?: number;
|
|
977
|
+
created_at?: string;
|
|
978
|
+
daily_regular_hours?: number;
|
|
979
|
+
default_hourly_rate?: number;
|
|
980
|
+
id?: string;
|
|
981
|
+
materials_markup_percent?: number;
|
|
982
|
+
max_daily_hours?: number;
|
|
983
|
+
max_weekly_hours?: number;
|
|
984
|
+
meal_allowance_amount?: number;
|
|
985
|
+
overtime_pct_178?: number;
|
|
986
|
+
overtime_pct_189?: number;
|
|
987
|
+
overtime_pct_212?: number;
|
|
988
|
+
reminder_after_hours?: number;
|
|
989
|
+
standby_evening_amount?: number;
|
|
990
|
+
standby_weekend_amount?: number;
|
|
991
|
+
travel_cost_per_km?: number | null;
|
|
992
|
+
travel_cost_threshold_km?: number | null;
|
|
993
|
+
travel_counts_as_work?: boolean;
|
|
994
|
+
travel_hourly_rate?: number;
|
|
995
|
+
travel_rate_per_hour?: number;
|
|
996
|
+
travel_threshold_minutes?: number;
|
|
997
|
+
updated_at?: string;
|
|
998
|
+
weekend_always_212?: boolean;
|
|
999
|
+
window_end?: string;
|
|
1000
|
+
window_start?: string;
|
|
1001
|
+
};
|
|
1002
|
+
Update: {
|
|
1003
|
+
auto_break_after_hours?: number;
|
|
1004
|
+
auto_break_minutes?: number;
|
|
1005
|
+
auto_break_unpaid?: boolean;
|
|
1006
|
+
auto_stop_after_hours?: number;
|
|
1007
|
+
callout_fee?: number;
|
|
1008
|
+
created_at?: string;
|
|
1009
|
+
daily_regular_hours?: number;
|
|
1010
|
+
default_hourly_rate?: number;
|
|
1011
|
+
id?: string;
|
|
1012
|
+
materials_markup_percent?: number;
|
|
1013
|
+
max_daily_hours?: number;
|
|
1014
|
+
max_weekly_hours?: number;
|
|
1015
|
+
meal_allowance_amount?: number;
|
|
1016
|
+
overtime_pct_178?: number;
|
|
1017
|
+
overtime_pct_189?: number;
|
|
1018
|
+
overtime_pct_212?: number;
|
|
1019
|
+
reminder_after_hours?: number;
|
|
1020
|
+
standby_evening_amount?: number;
|
|
1021
|
+
standby_weekend_amount?: number;
|
|
1022
|
+
travel_cost_per_km?: number | null;
|
|
1023
|
+
travel_cost_threshold_km?: number | null;
|
|
1024
|
+
travel_counts_as_work?: boolean;
|
|
1025
|
+
travel_hourly_rate?: number;
|
|
1026
|
+
travel_rate_per_hour?: number;
|
|
1027
|
+
travel_threshold_minutes?: number;
|
|
1028
|
+
updated_at?: string;
|
|
1029
|
+
weekend_always_212?: boolean;
|
|
1030
|
+
window_end?: string;
|
|
1031
|
+
window_start?: string;
|
|
1032
|
+
};
|
|
1033
|
+
Relationships: [];
|
|
1034
|
+
};
|
|
915
1035
|
carrier_shipping_rates: {
|
|
916
1036
|
Row: {
|
|
917
1037
|
carrier_id: string;
|
|
@@ -7806,7 +7926,6 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
7806
7926
|
start_date: string;
|
|
7807
7927
|
start_time: string | null;
|
|
7808
7928
|
status: string;
|
|
7809
|
-
tenant_id: string;
|
|
7810
7929
|
updated_at: string;
|
|
7811
7930
|
user_id: string;
|
|
7812
7931
|
};
|
|
@@ -7824,7 +7943,6 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
7824
7943
|
start_date: string;
|
|
7825
7944
|
start_time?: string | null;
|
|
7826
7945
|
status?: string;
|
|
7827
|
-
tenant_id?: string;
|
|
7828
7946
|
updated_at?: string;
|
|
7829
7947
|
user_id: string;
|
|
7830
7948
|
};
|
|
@@ -7842,7 +7960,6 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
7842
7960
|
start_date?: string;
|
|
7843
7961
|
start_time?: string | null;
|
|
7844
7962
|
status?: string;
|
|
7845
|
-
tenant_id?: string;
|
|
7846
7963
|
updated_at?: string;
|
|
7847
7964
|
user_id?: string;
|
|
7848
7965
|
};
|
|
@@ -7850,13 +7967,13 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
7850
7967
|
foreignKeyName: "leave_requests_monteur_id_fkey";
|
|
7851
7968
|
columns: ["monteur_id"];
|
|
7852
7969
|
isOneToOne: false;
|
|
7853
|
-
referencedRelation: "
|
|
7970
|
+
referencedRelation: "profiles";
|
|
7854
7971
|
referencedColumns: ["id"];
|
|
7855
7972
|
}, {
|
|
7856
7973
|
foreignKeyName: "leave_requests_user_id_fkey";
|
|
7857
7974
|
columns: ["user_id"];
|
|
7858
7975
|
isOneToOne: false;
|
|
7859
|
-
referencedRelation: "
|
|
7976
|
+
referencedRelation: "profiles";
|
|
7860
7977
|
referencedColumns: ["id"];
|
|
7861
7978
|
}];
|
|
7862
7979
|
};
|
|
@@ -10011,6 +10128,90 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
10011
10128
|
};
|
|
10012
10129
|
Relationships: [];
|
|
10013
10130
|
};
|
|
10131
|
+
material_usage: {
|
|
10132
|
+
Row: {
|
|
10133
|
+
created_at: string;
|
|
10134
|
+
id: string;
|
|
10135
|
+
material_name: string;
|
|
10136
|
+
monteur_id: string | null;
|
|
10137
|
+
price_at_time: number;
|
|
10138
|
+
quantity_used: number;
|
|
10139
|
+
updated_at: string;
|
|
10140
|
+
van_inventory_id: string | null;
|
|
10141
|
+
work_order_id: string;
|
|
10142
|
+
};
|
|
10143
|
+
Insert: {
|
|
10144
|
+
created_at?: string;
|
|
10145
|
+
id?: string;
|
|
10146
|
+
material_name: string;
|
|
10147
|
+
monteur_id?: string | null;
|
|
10148
|
+
price_at_time?: number;
|
|
10149
|
+
quantity_used?: number;
|
|
10150
|
+
updated_at?: string;
|
|
10151
|
+
van_inventory_id?: string | null;
|
|
10152
|
+
work_order_id: string;
|
|
10153
|
+
};
|
|
10154
|
+
Update: {
|
|
10155
|
+
created_at?: string;
|
|
10156
|
+
id?: string;
|
|
10157
|
+
material_name?: string;
|
|
10158
|
+
monteur_id?: string | null;
|
|
10159
|
+
price_at_time?: number;
|
|
10160
|
+
quantity_used?: number;
|
|
10161
|
+
updated_at?: string;
|
|
10162
|
+
van_inventory_id?: string | null;
|
|
10163
|
+
work_order_id?: string;
|
|
10164
|
+
};
|
|
10165
|
+
Relationships: [{
|
|
10166
|
+
foreignKeyName: "material_usage_monteur_id_fkey";
|
|
10167
|
+
columns: ["monteur_id"];
|
|
10168
|
+
isOneToOne: false;
|
|
10169
|
+
referencedRelation: "profiles";
|
|
10170
|
+
referencedColumns: ["id"];
|
|
10171
|
+
}, {
|
|
10172
|
+
foreignKeyName: "material_usage_van_inventory_id_fkey";
|
|
10173
|
+
columns: ["van_inventory_id"];
|
|
10174
|
+
isOneToOne: false;
|
|
10175
|
+
referencedRelation: "van_inventories";
|
|
10176
|
+
referencedColumns: ["id"];
|
|
10177
|
+
}, {
|
|
10178
|
+
foreignKeyName: "material_usage_work_order_id_fkey";
|
|
10179
|
+
columns: ["work_order_id"];
|
|
10180
|
+
isOneToOne: false;
|
|
10181
|
+
referencedRelation: "work_orders";
|
|
10182
|
+
referencedColumns: ["id"];
|
|
10183
|
+
}];
|
|
10184
|
+
};
|
|
10185
|
+
module_features: {
|
|
10186
|
+
Row: {
|
|
10187
|
+
created_at: string;
|
|
10188
|
+
feature_id: string;
|
|
10189
|
+
id: string;
|
|
10190
|
+
is_active: boolean;
|
|
10191
|
+
last_seen_at: string;
|
|
10192
|
+
module_id: string;
|
|
10193
|
+
name: string;
|
|
10194
|
+
};
|
|
10195
|
+
Insert: {
|
|
10196
|
+
created_at?: string;
|
|
10197
|
+
feature_id: string;
|
|
10198
|
+
id?: string;
|
|
10199
|
+
is_active?: boolean;
|
|
10200
|
+
last_seen_at?: string;
|
|
10201
|
+
module_id: string;
|
|
10202
|
+
name: string;
|
|
10203
|
+
};
|
|
10204
|
+
Update: {
|
|
10205
|
+
created_at?: string;
|
|
10206
|
+
feature_id?: string;
|
|
10207
|
+
id?: string;
|
|
10208
|
+
is_active?: boolean;
|
|
10209
|
+
last_seen_at?: string;
|
|
10210
|
+
module_id?: string;
|
|
10211
|
+
name?: string;
|
|
10212
|
+
};
|
|
10213
|
+
Relationships: [];
|
|
10214
|
+
};
|
|
10014
10215
|
module_permissions: {
|
|
10015
10216
|
Row: {
|
|
10016
10217
|
created_at: string;
|
|
@@ -10041,6 +10242,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
10041
10242
|
module_registry: {
|
|
10042
10243
|
Row: {
|
|
10043
10244
|
created_at: string;
|
|
10245
|
+
enforce: boolean;
|
|
10044
10246
|
is_active: boolean;
|
|
10045
10247
|
last_seen_at: string;
|
|
10046
10248
|
module_id: string;
|
|
@@ -10050,6 +10252,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
10050
10252
|
};
|
|
10051
10253
|
Insert: {
|
|
10052
10254
|
created_at?: string;
|
|
10255
|
+
enforce?: boolean;
|
|
10053
10256
|
is_active?: boolean;
|
|
10054
10257
|
last_seen_at?: string;
|
|
10055
10258
|
module_id: string;
|
|
@@ -10059,6 +10262,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
10059
10262
|
};
|
|
10060
10263
|
Update: {
|
|
10061
10264
|
created_at?: string;
|
|
10265
|
+
enforce?: boolean;
|
|
10062
10266
|
is_active?: boolean;
|
|
10063
10267
|
last_seen_at?: string;
|
|
10064
10268
|
module_id?: string;
|
|
@@ -10119,63 +10323,6 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
10119
10323
|
};
|
|
10120
10324
|
Relationships: [];
|
|
10121
10325
|
};
|
|
10122
|
-
monteurs: {
|
|
10123
|
-
Row: {
|
|
10124
|
-
avatar_url: string | null;
|
|
10125
|
-
color: string | null;
|
|
10126
|
-
created_at: string;
|
|
10127
|
-
email: string | null;
|
|
10128
|
-
id: string;
|
|
10129
|
-
is_active: boolean;
|
|
10130
|
-
leave_balance_hours: number;
|
|
10131
|
-
name: string;
|
|
10132
|
-
persnr: number | null;
|
|
10133
|
-
phone: string | null;
|
|
10134
|
-
role: string;
|
|
10135
|
-
tenant_id: string;
|
|
10136
|
-
updated_at: string;
|
|
10137
|
-
user_id: string | null;
|
|
10138
|
-
};
|
|
10139
|
-
Insert: {
|
|
10140
|
-
avatar_url?: string | null;
|
|
10141
|
-
color?: string | null;
|
|
10142
|
-
created_at?: string;
|
|
10143
|
-
email?: string | null;
|
|
10144
|
-
id?: string;
|
|
10145
|
-
is_active?: boolean;
|
|
10146
|
-
leave_balance_hours?: number;
|
|
10147
|
-
name: string;
|
|
10148
|
-
persnr?: number | null;
|
|
10149
|
-
phone?: string | null;
|
|
10150
|
-
role?: string;
|
|
10151
|
-
tenant_id: string;
|
|
10152
|
-
updated_at?: string;
|
|
10153
|
-
user_id?: string | null;
|
|
10154
|
-
};
|
|
10155
|
-
Update: {
|
|
10156
|
-
avatar_url?: string | null;
|
|
10157
|
-
color?: string | null;
|
|
10158
|
-
created_at?: string;
|
|
10159
|
-
email?: string | null;
|
|
10160
|
-
id?: string;
|
|
10161
|
-
is_active?: boolean;
|
|
10162
|
-
leave_balance_hours?: number;
|
|
10163
|
-
name?: string;
|
|
10164
|
-
persnr?: number | null;
|
|
10165
|
-
phone?: string | null;
|
|
10166
|
-
role?: string;
|
|
10167
|
-
tenant_id?: string;
|
|
10168
|
-
updated_at?: string;
|
|
10169
|
-
user_id?: string | null;
|
|
10170
|
-
};
|
|
10171
|
-
Relationships: [{
|
|
10172
|
-
foreignKeyName: "monteurs_tenant_id_fkey";
|
|
10173
|
-
columns: ["tenant_id"];
|
|
10174
|
-
isOneToOne: false;
|
|
10175
|
-
referencedRelation: "tenants";
|
|
10176
|
-
referencedColumns: ["id"];
|
|
10177
|
-
}];
|
|
10178
|
-
};
|
|
10179
10326
|
nmbrs_component_mapping: {
|
|
10180
10327
|
Row: {
|
|
10181
10328
|
created_at: string;
|
|
@@ -10246,13 +10393,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
10246
10393
|
nmbrs_employee_number?: string;
|
|
10247
10394
|
updated_at?: string;
|
|
10248
10395
|
};
|
|
10249
|
-
Relationships: [
|
|
10250
|
-
foreignKeyName: "nmbrs_employee_mapping_monteur_id_fkey";
|
|
10251
|
-
columns: ["monteur_id"];
|
|
10252
|
-
isOneToOne: true;
|
|
10253
|
-
referencedRelation: "monteurs";
|
|
10254
|
-
referencedColumns: ["id"];
|
|
10255
|
-
}];
|
|
10396
|
+
Relationships: [];
|
|
10256
10397
|
};
|
|
10257
10398
|
nmbrs_export_lines: {
|
|
10258
10399
|
Row: {
|
|
@@ -10301,12 +10442,6 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
10301
10442
|
wage_code?: string;
|
|
10302
10443
|
};
|
|
10303
10444
|
Relationships: [{
|
|
10304
|
-
foreignKeyName: "nmbrs_export_lines_monteur_id_fkey";
|
|
10305
|
-
columns: ["monteur_id"];
|
|
10306
|
-
isOneToOne: false;
|
|
10307
|
-
referencedRelation: "monteurs";
|
|
10308
|
-
referencedColumns: ["id"];
|
|
10309
|
-
}, {
|
|
10310
10445
|
foreignKeyName: "nmbrs_export_lines_run_id_fkey";
|
|
10311
10446
|
columns: ["run_id"];
|
|
10312
10447
|
isOneToOne: false;
|
|
@@ -12697,6 +12832,9 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
12697
12832
|
created_at: string;
|
|
12698
12833
|
id: string;
|
|
12699
12834
|
laatst_gezien: string;
|
|
12835
|
+
laatste_fout: string | null;
|
|
12836
|
+
laatste_request_id: number | null;
|
|
12837
|
+
mislukte_posts: number;
|
|
12700
12838
|
tick_sleutel: string;
|
|
12701
12839
|
updated_at: string;
|
|
12702
12840
|
};
|
|
@@ -12706,6 +12844,9 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
12706
12844
|
created_at?: string;
|
|
12707
12845
|
id?: string;
|
|
12708
12846
|
laatst_gezien?: string;
|
|
12847
|
+
laatste_fout?: string | null;
|
|
12848
|
+
laatste_request_id?: number | null;
|
|
12849
|
+
mislukte_posts?: number;
|
|
12709
12850
|
tick_sleutel?: string;
|
|
12710
12851
|
updated_at?: string;
|
|
12711
12852
|
};
|
|
@@ -12715,6 +12856,9 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
12715
12856
|
created_at?: string;
|
|
12716
12857
|
id?: string;
|
|
12717
12858
|
laatst_gezien?: string;
|
|
12859
|
+
laatste_fout?: string | null;
|
|
12860
|
+
laatste_request_id?: number | null;
|
|
12861
|
+
mislukte_posts?: number;
|
|
12718
12862
|
tick_sleutel?: string;
|
|
12719
12863
|
updated_at?: string;
|
|
12720
12864
|
};
|
|
@@ -14223,6 +14367,96 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
14223
14367
|
referencedColumns: ["id"];
|
|
14224
14368
|
}];
|
|
14225
14369
|
};
|
|
14370
|
+
role_assignments: {
|
|
14371
|
+
Row: {
|
|
14372
|
+
created_at: string;
|
|
14373
|
+
id: string;
|
|
14374
|
+
role_id: string;
|
|
14375
|
+
user_id: string;
|
|
14376
|
+
};
|
|
14377
|
+
Insert: {
|
|
14378
|
+
created_at?: string;
|
|
14379
|
+
id?: string;
|
|
14380
|
+
role_id: string;
|
|
14381
|
+
user_id: string;
|
|
14382
|
+
};
|
|
14383
|
+
Update: {
|
|
14384
|
+
created_at?: string;
|
|
14385
|
+
id?: string;
|
|
14386
|
+
role_id?: string;
|
|
14387
|
+
user_id?: string;
|
|
14388
|
+
};
|
|
14389
|
+
Relationships: [{
|
|
14390
|
+
foreignKeyName: "role_assignments_role_id_fkey";
|
|
14391
|
+
columns: ["role_id"];
|
|
14392
|
+
isOneToOne: false;
|
|
14393
|
+
referencedRelation: "roles";
|
|
14394
|
+
referencedColumns: ["id"];
|
|
14395
|
+
}];
|
|
14396
|
+
};
|
|
14397
|
+
role_permissions: {
|
|
14398
|
+
Row: {
|
|
14399
|
+
can_edit: boolean;
|
|
14400
|
+
can_view: boolean;
|
|
14401
|
+
feature_id: string;
|
|
14402
|
+
id: string;
|
|
14403
|
+
module_id: string;
|
|
14404
|
+
role_id: string;
|
|
14405
|
+
updated_at: string;
|
|
14406
|
+
};
|
|
14407
|
+
Insert: {
|
|
14408
|
+
can_edit?: boolean;
|
|
14409
|
+
can_view?: boolean;
|
|
14410
|
+
feature_id?: string;
|
|
14411
|
+
id?: string;
|
|
14412
|
+
module_id: string;
|
|
14413
|
+
role_id: string;
|
|
14414
|
+
updated_at?: string;
|
|
14415
|
+
};
|
|
14416
|
+
Update: {
|
|
14417
|
+
can_edit?: boolean;
|
|
14418
|
+
can_view?: boolean;
|
|
14419
|
+
feature_id?: string;
|
|
14420
|
+
id?: string;
|
|
14421
|
+
module_id?: string;
|
|
14422
|
+
role_id?: string;
|
|
14423
|
+
updated_at?: string;
|
|
14424
|
+
};
|
|
14425
|
+
Relationships: [{
|
|
14426
|
+
foreignKeyName: "role_permissions_role_id_fkey";
|
|
14427
|
+
columns: ["role_id"];
|
|
14428
|
+
isOneToOne: false;
|
|
14429
|
+
referencedRelation: "roles";
|
|
14430
|
+
referencedColumns: ["id"];
|
|
14431
|
+
}];
|
|
14432
|
+
};
|
|
14433
|
+
roles: {
|
|
14434
|
+
Row: {
|
|
14435
|
+
created_at: string;
|
|
14436
|
+
id: string;
|
|
14437
|
+
is_protected: boolean;
|
|
14438
|
+
key: string;
|
|
14439
|
+
name: string;
|
|
14440
|
+
updated_at: string;
|
|
14441
|
+
};
|
|
14442
|
+
Insert: {
|
|
14443
|
+
created_at?: string;
|
|
14444
|
+
id?: string;
|
|
14445
|
+
is_protected?: boolean;
|
|
14446
|
+
key: string;
|
|
14447
|
+
name: string;
|
|
14448
|
+
updated_at?: string;
|
|
14449
|
+
};
|
|
14450
|
+
Update: {
|
|
14451
|
+
created_at?: string;
|
|
14452
|
+
id?: string;
|
|
14453
|
+
is_protected?: boolean;
|
|
14454
|
+
key?: string;
|
|
14455
|
+
name?: string;
|
|
14456
|
+
updated_at?: string;
|
|
14457
|
+
};
|
|
14458
|
+
Relationships: [];
|
|
14459
|
+
};
|
|
14226
14460
|
rooms: {
|
|
14227
14461
|
Row: {
|
|
14228
14462
|
capacity: number;
|
|
@@ -14892,6 +15126,54 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
14892
15126
|
};
|
|
14893
15127
|
Relationships: [];
|
|
14894
15128
|
};
|
|
15129
|
+
time_compensation_entries: {
|
|
15130
|
+
Row: {
|
|
15131
|
+
created_at: string;
|
|
15132
|
+
employee_id: string;
|
|
15133
|
+
entry_date: string;
|
|
15134
|
+
id: string;
|
|
15135
|
+
km: number;
|
|
15136
|
+
meal_allowance: number;
|
|
15137
|
+
notes: string | null;
|
|
15138
|
+
standby_evening: number;
|
|
15139
|
+
standby_weekend: number;
|
|
15140
|
+
tvt_change: number;
|
|
15141
|
+
updated_at: string;
|
|
15142
|
+
};
|
|
15143
|
+
Insert: {
|
|
15144
|
+
created_at?: string;
|
|
15145
|
+
employee_id: string;
|
|
15146
|
+
entry_date: string;
|
|
15147
|
+
id?: string;
|
|
15148
|
+
km?: number;
|
|
15149
|
+
meal_allowance?: number;
|
|
15150
|
+
notes?: string | null;
|
|
15151
|
+
standby_evening?: number;
|
|
15152
|
+
standby_weekend?: number;
|
|
15153
|
+
tvt_change?: number;
|
|
15154
|
+
updated_at?: string;
|
|
15155
|
+
};
|
|
15156
|
+
Update: {
|
|
15157
|
+
created_at?: string;
|
|
15158
|
+
employee_id?: string;
|
|
15159
|
+
entry_date?: string;
|
|
15160
|
+
id?: string;
|
|
15161
|
+
km?: number;
|
|
15162
|
+
meal_allowance?: number;
|
|
15163
|
+
notes?: string | null;
|
|
15164
|
+
standby_evening?: number;
|
|
15165
|
+
standby_weekend?: number;
|
|
15166
|
+
tvt_change?: number;
|
|
15167
|
+
updated_at?: string;
|
|
15168
|
+
};
|
|
15169
|
+
Relationships: [{
|
|
15170
|
+
foreignKeyName: "time_compensation_entries_employee_id_fkey";
|
|
15171
|
+
columns: ["employee_id"];
|
|
15172
|
+
isOneToOne: false;
|
|
15173
|
+
referencedRelation: "profiles";
|
|
15174
|
+
referencedColumns: ["id"];
|
|
15175
|
+
}];
|
|
15176
|
+
};
|
|
14895
15177
|
time_entries: {
|
|
14896
15178
|
Row: {
|
|
14897
15179
|
created_at: string;
|
|
@@ -14926,65 +15208,170 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
14926
15208
|
undertime?: number;
|
|
14927
15209
|
updated_at?: string;
|
|
14928
15210
|
};
|
|
15211
|
+
Relationships: [];
|
|
15212
|
+
};
|
|
15213
|
+
time_log_week_approvals: {
|
|
15214
|
+
Row: {
|
|
15215
|
+
approved_at: string | null;
|
|
15216
|
+
approved_by: string | null;
|
|
15217
|
+
created_at: string;
|
|
15218
|
+
employee_id: string;
|
|
15219
|
+
id: string;
|
|
15220
|
+
locked: boolean;
|
|
15221
|
+
notes: string | null;
|
|
15222
|
+
status: string;
|
|
15223
|
+
submitted_at: string | null;
|
|
15224
|
+
updated_at: string;
|
|
15225
|
+
week_start: string;
|
|
15226
|
+
};
|
|
15227
|
+
Insert: {
|
|
15228
|
+
approved_at?: string | null;
|
|
15229
|
+
approved_by?: string | null;
|
|
15230
|
+
created_at?: string;
|
|
15231
|
+
employee_id: string;
|
|
15232
|
+
id?: string;
|
|
15233
|
+
locked?: boolean;
|
|
15234
|
+
notes?: string | null;
|
|
15235
|
+
status?: string;
|
|
15236
|
+
submitted_at?: string | null;
|
|
15237
|
+
updated_at?: string;
|
|
15238
|
+
week_start: string;
|
|
15239
|
+
};
|
|
15240
|
+
Update: {
|
|
15241
|
+
approved_at?: string | null;
|
|
15242
|
+
approved_by?: string | null;
|
|
15243
|
+
created_at?: string;
|
|
15244
|
+
employee_id?: string;
|
|
15245
|
+
id?: string;
|
|
15246
|
+
locked?: boolean;
|
|
15247
|
+
notes?: string | null;
|
|
15248
|
+
status?: string;
|
|
15249
|
+
submitted_at?: string | null;
|
|
15250
|
+
updated_at?: string;
|
|
15251
|
+
week_start?: string;
|
|
15252
|
+
};
|
|
14929
15253
|
Relationships: [{
|
|
14930
|
-
foreignKeyName: "
|
|
15254
|
+
foreignKeyName: "time_log_week_approvals_employee_id_fkey";
|
|
14931
15255
|
columns: ["employee_id"];
|
|
14932
15256
|
isOneToOne: false;
|
|
14933
|
-
referencedRelation: "
|
|
15257
|
+
referencedRelation: "profiles";
|
|
14934
15258
|
referencedColumns: ["id"];
|
|
14935
15259
|
}];
|
|
14936
15260
|
};
|
|
14937
15261
|
time_logs: {
|
|
14938
15262
|
Row: {
|
|
15263
|
+
auto_stop_reason: string | null;
|
|
15264
|
+
auto_stopped: boolean;
|
|
14939
15265
|
created_at: string;
|
|
15266
|
+
current_latitude: number | null;
|
|
15267
|
+
current_longitude: number | null;
|
|
15268
|
+
current_position_updated_at: string | null;
|
|
14940
15269
|
employee_id: string;
|
|
15270
|
+
end_latitude: number | null;
|
|
15271
|
+
end_longitude: number | null;
|
|
14941
15272
|
end_time: string | null;
|
|
15273
|
+
eta_distance_km: number | null;
|
|
15274
|
+
eta_minutes: number | null;
|
|
15275
|
+
eta_updated_at: string | null;
|
|
15276
|
+
hour_category: string | null;
|
|
14942
15277
|
id: string;
|
|
15278
|
+
last_reminder_at: string | null;
|
|
14943
15279
|
notes: string | null;
|
|
14944
15280
|
overtime_hours: number;
|
|
14945
15281
|
overtime_type: string | null;
|
|
14946
15282
|
regular_hours: number;
|
|
15283
|
+
reminder_count: number;
|
|
15284
|
+
requires_review: boolean;
|
|
15285
|
+
start_latitude: number | null;
|
|
15286
|
+
start_longitude: number | null;
|
|
14947
15287
|
start_time: string;
|
|
14948
15288
|
travel_cost: number | null;
|
|
14949
15289
|
travel_distance_km: number | null;
|
|
15290
|
+
travel_duration_min: number | null;
|
|
15291
|
+
travel_time_minutes: number | null;
|
|
14950
15292
|
type: string;
|
|
14951
15293
|
updated_at: string;
|
|
15294
|
+
work_order_id: string | null;
|
|
14952
15295
|
};
|
|
14953
15296
|
Insert: {
|
|
15297
|
+
auto_stop_reason?: string | null;
|
|
15298
|
+
auto_stopped?: boolean;
|
|
14954
15299
|
created_at?: string;
|
|
15300
|
+
current_latitude?: number | null;
|
|
15301
|
+
current_longitude?: number | null;
|
|
15302
|
+
current_position_updated_at?: string | null;
|
|
14955
15303
|
employee_id: string;
|
|
15304
|
+
end_latitude?: number | null;
|
|
15305
|
+
end_longitude?: number | null;
|
|
14956
15306
|
end_time?: string | null;
|
|
15307
|
+
eta_distance_km?: number | null;
|
|
15308
|
+
eta_minutes?: number | null;
|
|
15309
|
+
eta_updated_at?: string | null;
|
|
15310
|
+
hour_category?: string | null;
|
|
14957
15311
|
id?: string;
|
|
15312
|
+
last_reminder_at?: string | null;
|
|
14958
15313
|
notes?: string | null;
|
|
14959
15314
|
overtime_hours?: number;
|
|
14960
15315
|
overtime_type?: string | null;
|
|
14961
15316
|
regular_hours?: number;
|
|
15317
|
+
reminder_count?: number;
|
|
15318
|
+
requires_review?: boolean;
|
|
15319
|
+
start_latitude?: number | null;
|
|
15320
|
+
start_longitude?: number | null;
|
|
14962
15321
|
start_time?: string;
|
|
14963
15322
|
travel_cost?: number | null;
|
|
14964
15323
|
travel_distance_km?: number | null;
|
|
15324
|
+
travel_duration_min?: number | null;
|
|
15325
|
+
travel_time_minutes?: number | null;
|
|
14965
15326
|
type: string;
|
|
14966
15327
|
updated_at?: string;
|
|
15328
|
+
work_order_id?: string | null;
|
|
14967
15329
|
};
|
|
14968
15330
|
Update: {
|
|
15331
|
+
auto_stop_reason?: string | null;
|
|
15332
|
+
auto_stopped?: boolean;
|
|
14969
15333
|
created_at?: string;
|
|
15334
|
+
current_latitude?: number | null;
|
|
15335
|
+
current_longitude?: number | null;
|
|
15336
|
+
current_position_updated_at?: string | null;
|
|
14970
15337
|
employee_id?: string;
|
|
15338
|
+
end_latitude?: number | null;
|
|
15339
|
+
end_longitude?: number | null;
|
|
14971
15340
|
end_time?: string | null;
|
|
15341
|
+
eta_distance_km?: number | null;
|
|
15342
|
+
eta_minutes?: number | null;
|
|
15343
|
+
eta_updated_at?: string | null;
|
|
15344
|
+
hour_category?: string | null;
|
|
14972
15345
|
id?: string;
|
|
15346
|
+
last_reminder_at?: string | null;
|
|
14973
15347
|
notes?: string | null;
|
|
14974
15348
|
overtime_hours?: number;
|
|
14975
15349
|
overtime_type?: string | null;
|
|
14976
15350
|
regular_hours?: number;
|
|
15351
|
+
reminder_count?: number;
|
|
15352
|
+
requires_review?: boolean;
|
|
15353
|
+
start_latitude?: number | null;
|
|
15354
|
+
start_longitude?: number | null;
|
|
14977
15355
|
start_time?: string;
|
|
14978
15356
|
travel_cost?: number | null;
|
|
14979
15357
|
travel_distance_km?: number | null;
|
|
15358
|
+
travel_duration_min?: number | null;
|
|
15359
|
+
travel_time_minutes?: number | null;
|
|
14980
15360
|
type?: string;
|
|
14981
15361
|
updated_at?: string;
|
|
15362
|
+
work_order_id?: string | null;
|
|
14982
15363
|
};
|
|
14983
15364
|
Relationships: [{
|
|
14984
15365
|
foreignKeyName: "time_logs_employee_id_fkey";
|
|
14985
15366
|
columns: ["employee_id"];
|
|
14986
15367
|
isOneToOne: false;
|
|
14987
|
-
referencedRelation: "
|
|
15368
|
+
referencedRelation: "profiles";
|
|
15369
|
+
referencedColumns: ["id"];
|
|
15370
|
+
}, {
|
|
15371
|
+
foreignKeyName: "time_logs_work_order_id_fkey";
|
|
15372
|
+
columns: ["work_order_id"];
|
|
15373
|
+
isOneToOne: false;
|
|
15374
|
+
referencedRelation: "work_orders";
|
|
14988
15375
|
referencedColumns: ["id"];
|
|
14989
15376
|
}];
|
|
14990
15377
|
};
|
|
@@ -15023,7 +15410,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
15023
15410
|
foreignKeyName: "time_off_entries_employee_id_fkey";
|
|
15024
15411
|
columns: ["employee_id"];
|
|
15025
15412
|
isOneToOne: false;
|
|
15026
|
-
referencedRelation: "
|
|
15413
|
+
referencedRelation: "profiles";
|
|
15027
15414
|
referencedColumns: ["id"];
|
|
15028
15415
|
}];
|
|
15029
15416
|
};
|
|
@@ -15333,6 +15720,39 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
15333
15720
|
};
|
|
15334
15721
|
Relationships: [];
|
|
15335
15722
|
};
|
|
15723
|
+
twinfield_cron_locks: {
|
|
15724
|
+
Row: {
|
|
15725
|
+
created_at: string;
|
|
15726
|
+
heartbeat_at: string;
|
|
15727
|
+
job_name: string;
|
|
15728
|
+
last_error: string | null;
|
|
15729
|
+
last_finished_at: string | null;
|
|
15730
|
+
locked_at: string;
|
|
15731
|
+
run_id: string;
|
|
15732
|
+
updated_at: string;
|
|
15733
|
+
};
|
|
15734
|
+
Insert: {
|
|
15735
|
+
created_at?: string;
|
|
15736
|
+
heartbeat_at?: string;
|
|
15737
|
+
job_name: string;
|
|
15738
|
+
last_error?: string | null;
|
|
15739
|
+
last_finished_at?: string | null;
|
|
15740
|
+
locked_at?: string;
|
|
15741
|
+
run_id?: string;
|
|
15742
|
+
updated_at?: string;
|
|
15743
|
+
};
|
|
15744
|
+
Update: {
|
|
15745
|
+
created_at?: string;
|
|
15746
|
+
heartbeat_at?: string;
|
|
15747
|
+
job_name?: string;
|
|
15748
|
+
last_error?: string | null;
|
|
15749
|
+
last_finished_at?: string | null;
|
|
15750
|
+
locked_at?: string;
|
|
15751
|
+
run_id?: string;
|
|
15752
|
+
updated_at?: string;
|
|
15753
|
+
};
|
|
15754
|
+
Relationships: [];
|
|
15755
|
+
};
|
|
15336
15756
|
twinfield_customers: {
|
|
15337
15757
|
Row: {
|
|
15338
15758
|
address: string | null;
|
|
@@ -15933,6 +16353,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
15933
16353
|
twinfield_push_queue: {
|
|
15934
16354
|
Row: {
|
|
15935
16355
|
action: string;
|
|
16356
|
+
attempt_started_at: string | null;
|
|
15936
16357
|
attempts: number;
|
|
15937
16358
|
connection_id: string | null;
|
|
15938
16359
|
created_at: string;
|
|
@@ -15949,6 +16370,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
15949
16370
|
};
|
|
15950
16371
|
Insert: {
|
|
15951
16372
|
action?: string;
|
|
16373
|
+
attempt_started_at?: string | null;
|
|
15952
16374
|
attempts?: number;
|
|
15953
16375
|
connection_id?: string | null;
|
|
15954
16376
|
created_at?: string;
|
|
@@ -15965,6 +16387,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
15965
16387
|
};
|
|
15966
16388
|
Update: {
|
|
15967
16389
|
action?: string;
|
|
16390
|
+
attempt_started_at?: string | null;
|
|
15968
16391
|
attempts?: number;
|
|
15969
16392
|
connection_id?: string | null;
|
|
15970
16393
|
created_at?: string;
|
|
@@ -16162,13 +16585,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
16162
16585
|
workday_end?: string | null;
|
|
16163
16586
|
workday_start?: string | null;
|
|
16164
16587
|
};
|
|
16165
|
-
Relationships: [
|
|
16166
|
-
foreignKeyName: "uren_cao_profiles_monteur_id_fkey";
|
|
16167
|
-
columns: ["monteur_id"];
|
|
16168
|
-
isOneToOne: true;
|
|
16169
|
-
referencedRelation: "monteurs";
|
|
16170
|
-
referencedColumns: ["id"];
|
|
16171
|
-
}];
|
|
16588
|
+
Relationships: [];
|
|
16172
16589
|
};
|
|
16173
16590
|
uren_entries: {
|
|
16174
16591
|
Row: {
|
|
@@ -16214,12 +16631,6 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
16214
16631
|
werkbon_id?: string | null;
|
|
16215
16632
|
};
|
|
16216
16633
|
Relationships: [{
|
|
16217
|
-
foreignKeyName: "uren_entries_monteur_id_fkey";
|
|
16218
|
-
columns: ["monteur_id"];
|
|
16219
|
-
isOneToOne: false;
|
|
16220
|
-
referencedRelation: "monteurs";
|
|
16221
|
-
referencedColumns: ["id"];
|
|
16222
|
-
}, {
|
|
16223
16634
|
foreignKeyName: "uren_entries_werkbon_id_fkey";
|
|
16224
16635
|
columns: ["werkbon_id"];
|
|
16225
16636
|
isOneToOne: false;
|
|
@@ -16687,17 +17098,12 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
16687
17098
|
submitted_at?: string | null;
|
|
16688
17099
|
updated_at?: string;
|
|
16689
17100
|
};
|
|
16690
|
-
Relationships: [
|
|
16691
|
-
foreignKeyName: "uren_weekstaten_monteur_id_fkey";
|
|
16692
|
-
columns: ["monteur_id"];
|
|
16693
|
-
isOneToOne: false;
|
|
16694
|
-
referencedRelation: "monteurs";
|
|
16695
|
-
referencedColumns: ["id"];
|
|
16696
|
-
}];
|
|
17101
|
+
Relationships: [];
|
|
16697
17102
|
};
|
|
16698
17103
|
user_module_permissions: {
|
|
16699
17104
|
Row: {
|
|
16700
17105
|
created_at: string;
|
|
17106
|
+
feature_id: string;
|
|
16701
17107
|
id: string;
|
|
16702
17108
|
module_id: string;
|
|
16703
17109
|
permission: string;
|
|
@@ -16706,6 +17112,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
16706
17112
|
};
|
|
16707
17113
|
Insert: {
|
|
16708
17114
|
created_at?: string;
|
|
17115
|
+
feature_id?: string;
|
|
16709
17116
|
id?: string;
|
|
16710
17117
|
module_id: string;
|
|
16711
17118
|
permission: string;
|
|
@@ -16714,6 +17121,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
16714
17121
|
};
|
|
16715
17122
|
Update: {
|
|
16716
17123
|
created_at?: string;
|
|
17124
|
+
feature_id?: string;
|
|
16717
17125
|
id?: string;
|
|
16718
17126
|
module_id?: string;
|
|
16719
17127
|
permission?: string;
|
|
@@ -16749,6 +17157,51 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
16749
17157
|
referencedColumns: ["id"];
|
|
16750
17158
|
}];
|
|
16751
17159
|
};
|
|
17160
|
+
van_inventories: {
|
|
17161
|
+
Row: {
|
|
17162
|
+
barcode: string | null;
|
|
17163
|
+
created_at: string;
|
|
17164
|
+
id: string;
|
|
17165
|
+
monteur_id: string | null;
|
|
17166
|
+
price_per_unit: number;
|
|
17167
|
+
product_name: string;
|
|
17168
|
+
quantity_current: number;
|
|
17169
|
+
quantity_min: number;
|
|
17170
|
+
unit: string;
|
|
17171
|
+
updated_at: string;
|
|
17172
|
+
};
|
|
17173
|
+
Insert: {
|
|
17174
|
+
barcode?: string | null;
|
|
17175
|
+
created_at?: string;
|
|
17176
|
+
id?: string;
|
|
17177
|
+
monteur_id?: string | null;
|
|
17178
|
+
price_per_unit?: number;
|
|
17179
|
+
product_name: string;
|
|
17180
|
+
quantity_current?: number;
|
|
17181
|
+
quantity_min?: number;
|
|
17182
|
+
unit?: string;
|
|
17183
|
+
updated_at?: string;
|
|
17184
|
+
};
|
|
17185
|
+
Update: {
|
|
17186
|
+
barcode?: string | null;
|
|
17187
|
+
created_at?: string;
|
|
17188
|
+
id?: string;
|
|
17189
|
+
monteur_id?: string | null;
|
|
17190
|
+
price_per_unit?: number;
|
|
17191
|
+
product_name?: string;
|
|
17192
|
+
quantity_current?: number;
|
|
17193
|
+
quantity_min?: number;
|
|
17194
|
+
unit?: string;
|
|
17195
|
+
updated_at?: string;
|
|
17196
|
+
};
|
|
17197
|
+
Relationships: [{
|
|
17198
|
+
foreignKeyName: "van_inventories_monteur_id_fkey";
|
|
17199
|
+
columns: ["monteur_id"];
|
|
17200
|
+
isOneToOne: false;
|
|
17201
|
+
referencedRelation: "profiles";
|
|
17202
|
+
referencedColumns: ["id"];
|
|
17203
|
+
}];
|
|
17204
|
+
};
|
|
16752
17205
|
voorraad_custom_fields: {
|
|
16753
17206
|
Row: {
|
|
16754
17207
|
created_at: string;
|
|
@@ -17699,7 +18152,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
17699
18152
|
foreignKeyName: "work_order_monteurs_monteur_id_fkey";
|
|
17700
18153
|
columns: ["monteur_id"];
|
|
17701
18154
|
isOneToOne: false;
|
|
17702
|
-
referencedRelation: "
|
|
18155
|
+
referencedRelation: "profiles";
|
|
17703
18156
|
referencedColumns: ["id"];
|
|
17704
18157
|
}, {
|
|
17705
18158
|
foreignKeyName: "work_order_monteurs_work_order_id_fkey";
|
|
@@ -17709,6 +18162,60 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
17709
18162
|
referencedColumns: ["id"];
|
|
17710
18163
|
}];
|
|
17711
18164
|
};
|
|
18165
|
+
work_order_photos: {
|
|
18166
|
+
Row: {
|
|
18167
|
+
ai_caption: string | null;
|
|
18168
|
+
ai_categorized_at: string | null;
|
|
18169
|
+
ai_labels: import("../integrations/supabase/types").Json | null;
|
|
18170
|
+
caption: string | null;
|
|
18171
|
+
created_at: string;
|
|
18172
|
+
id: string;
|
|
18173
|
+
monteur_id: string | null;
|
|
18174
|
+
photo_type: string;
|
|
18175
|
+
storage_path: string;
|
|
18176
|
+
updated_at: string;
|
|
18177
|
+
work_order_id: string;
|
|
18178
|
+
};
|
|
18179
|
+
Insert: {
|
|
18180
|
+
ai_caption?: string | null;
|
|
18181
|
+
ai_categorized_at?: string | null;
|
|
18182
|
+
ai_labels?: import("../integrations/supabase/types").Json | null;
|
|
18183
|
+
caption?: string | null;
|
|
18184
|
+
created_at?: string;
|
|
18185
|
+
id?: string;
|
|
18186
|
+
monteur_id?: string | null;
|
|
18187
|
+
photo_type?: string;
|
|
18188
|
+
storage_path: string;
|
|
18189
|
+
updated_at?: string;
|
|
18190
|
+
work_order_id: string;
|
|
18191
|
+
};
|
|
18192
|
+
Update: {
|
|
18193
|
+
ai_caption?: string | null;
|
|
18194
|
+
ai_categorized_at?: string | null;
|
|
18195
|
+
ai_labels?: import("../integrations/supabase/types").Json | null;
|
|
18196
|
+
caption?: string | null;
|
|
18197
|
+
created_at?: string;
|
|
18198
|
+
id?: string;
|
|
18199
|
+
monteur_id?: string | null;
|
|
18200
|
+
photo_type?: string;
|
|
18201
|
+
storage_path?: string;
|
|
18202
|
+
updated_at?: string;
|
|
18203
|
+
work_order_id?: string;
|
|
18204
|
+
};
|
|
18205
|
+
Relationships: [{
|
|
18206
|
+
foreignKeyName: "work_order_photos_monteur_id_fkey";
|
|
18207
|
+
columns: ["monteur_id"];
|
|
18208
|
+
isOneToOne: false;
|
|
18209
|
+
referencedRelation: "profiles";
|
|
18210
|
+
referencedColumns: ["id"];
|
|
18211
|
+
}, {
|
|
18212
|
+
foreignKeyName: "work_order_photos_work_order_id_fkey";
|
|
18213
|
+
columns: ["work_order_id"];
|
|
18214
|
+
isOneToOne: false;
|
|
18215
|
+
referencedRelation: "work_orders";
|
|
18216
|
+
referencedColumns: ["id"];
|
|
18217
|
+
}];
|
|
18218
|
+
};
|
|
17712
18219
|
work_orders: {
|
|
17713
18220
|
Row: {
|
|
17714
18221
|
assigned_to: string | null;
|
|
@@ -17740,7 +18247,6 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
17740
18247
|
scheduled_end_time: string | null;
|
|
17741
18248
|
scheduled_start_time: string | null;
|
|
17742
18249
|
status: string;
|
|
17743
|
-
tenant_id: string;
|
|
17744
18250
|
total_hours_worked: number | null;
|
|
17745
18251
|
total_price: number | null;
|
|
17746
18252
|
travel_time_minutes: number | null;
|
|
@@ -17778,7 +18284,6 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
17778
18284
|
scheduled_end_time?: string | null;
|
|
17779
18285
|
scheduled_start_time?: string | null;
|
|
17780
18286
|
status?: string;
|
|
17781
|
-
tenant_id: string;
|
|
17782
18287
|
total_hours_worked?: number | null;
|
|
17783
18288
|
total_price?: number | null;
|
|
17784
18289
|
travel_time_minutes?: number | null;
|
|
@@ -17816,7 +18321,6 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
17816
18321
|
scheduled_end_time?: string | null;
|
|
17817
18322
|
scheduled_start_time?: string | null;
|
|
17818
18323
|
status?: string;
|
|
17819
|
-
tenant_id?: string;
|
|
17820
18324
|
total_hours_worked?: number | null;
|
|
17821
18325
|
total_price?: number | null;
|
|
17822
18326
|
travel_time_minutes?: number | null;
|
|
@@ -17830,12 +18334,6 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
17830
18334
|
isOneToOne: false;
|
|
17831
18335
|
referencedRelation: "work_orders";
|
|
17832
18336
|
referencedColumns: ["id"];
|
|
17833
|
-
}, {
|
|
17834
|
-
foreignKeyName: "work_orders_tenant_id_fkey";
|
|
17835
|
-
columns: ["tenant_id"];
|
|
17836
|
-
isOneToOne: false;
|
|
17837
|
-
referencedRelation: "tenants";
|
|
17838
|
-
referencedColumns: ["id"];
|
|
17839
18337
|
}];
|
|
17840
18338
|
};
|
|
17841
18339
|
};
|
|
@@ -18520,6 +19018,19 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
18520
19018
|
};
|
|
18521
19019
|
Returns: undefined;
|
|
18522
19020
|
};
|
|
19021
|
+
approve_mailbox_order_proposal: {
|
|
19022
|
+
Args: {
|
|
19023
|
+
p_custom_fields: import("../integrations/supabase/types").Json;
|
|
19024
|
+
p_customer_id: string;
|
|
19025
|
+
p_delivery_date: string;
|
|
19026
|
+
p_field_values?: import("../integrations/supabase/types").Json;
|
|
19027
|
+
p_lines: import("../integrations/supabase/types").Json;
|
|
19028
|
+
p_notes: string;
|
|
19029
|
+
p_proposal_id: string;
|
|
19030
|
+
p_reviewed_by: string;
|
|
19031
|
+
};
|
|
19032
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
19033
|
+
};
|
|
18523
19034
|
assign_cart_numbers: {
|
|
18524
19035
|
Args: {
|
|
18525
19036
|
p_carts: import("../integrations/supabase/types").Json;
|
|
@@ -18571,6 +19082,10 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
18571
19082
|
};
|
|
18572
19083
|
Returns: number;
|
|
18573
19084
|
};
|
|
19085
|
+
can_manage_hours: {
|
|
19086
|
+
Args: never;
|
|
19087
|
+
Returns: boolean;
|
|
19088
|
+
};
|
|
18574
19089
|
check_offer_product_available_stock: {
|
|
18575
19090
|
Args: {
|
|
18576
19091
|
p_campaign_product_id: string;
|
|
@@ -18760,6 +19275,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
18760
19275
|
};
|
|
18761
19276
|
Returns: {
|
|
18762
19277
|
action: string;
|
|
19278
|
+
attempt_started_at: string | null;
|
|
18763
19279
|
attempts: number;
|
|
18764
19280
|
connection_id: string | null;
|
|
18765
19281
|
created_at: string;
|
|
@@ -18847,6 +19363,30 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
18847
19363
|
agent_naam: string;
|
|
18848
19364
|
}[];
|
|
18849
19365
|
};
|
|
19366
|
+
consume_van_inventory: {
|
|
19367
|
+
Args: {
|
|
19368
|
+
p_inventory_id: string;
|
|
19369
|
+
p_quantity: number;
|
|
19370
|
+
};
|
|
19371
|
+
Returns: {
|
|
19372
|
+
barcode: string | null;
|
|
19373
|
+
created_at: string;
|
|
19374
|
+
id: string;
|
|
19375
|
+
monteur_id: string | null;
|
|
19376
|
+
price_per_unit: number;
|
|
19377
|
+
product_name: string;
|
|
19378
|
+
quantity_current: number;
|
|
19379
|
+
quantity_min: number;
|
|
19380
|
+
unit: string;
|
|
19381
|
+
updated_at: string;
|
|
19382
|
+
};
|
|
19383
|
+
SetofOptions: {
|
|
19384
|
+
from: "*";
|
|
19385
|
+
to: "van_inventories";
|
|
19386
|
+
isOneToOne: true;
|
|
19387
|
+
isSetofReturn: false;
|
|
19388
|
+
};
|
|
19389
|
+
};
|
|
18850
19390
|
control_get_todays_carts: {
|
|
18851
19391
|
Args: never;
|
|
18852
19392
|
Returns: {
|
|
@@ -18920,6 +19460,13 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
18920
19460
|
_user_id: string;
|
|
18921
19461
|
};
|
|
18922
19462
|
Returns: string;
|
|
19463
|
+
} | {
|
|
19464
|
+
Args: {
|
|
19465
|
+
_feature_id: string;
|
|
19466
|
+
_module_id: string;
|
|
19467
|
+
_user_id: string;
|
|
19468
|
+
};
|
|
19469
|
+
Returns: string;
|
|
18923
19470
|
};
|
|
18924
19471
|
email_auth_decrypt: {
|
|
18925
19472
|
Args: {
|
|
@@ -19271,12 +19818,6 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
19271
19818
|
Args: never;
|
|
19272
19819
|
Returns: string;
|
|
19273
19820
|
};
|
|
19274
|
-
get_work_order_tenant_id: {
|
|
19275
|
-
Args: {
|
|
19276
|
-
wo_id: string;
|
|
19277
|
-
};
|
|
19278
|
-
Returns: string;
|
|
19279
|
-
};
|
|
19280
19821
|
has_module_permission: {
|
|
19281
19822
|
Args: {
|
|
19282
19823
|
_min: string;
|
|
@@ -19310,6 +19851,13 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
19310
19851
|
};
|
|
19311
19852
|
Returns: boolean;
|
|
19312
19853
|
};
|
|
19854
|
+
is_time_log_week_locked: {
|
|
19855
|
+
Args: {
|
|
19856
|
+
p_employee_id: string;
|
|
19857
|
+
p_start_time: string;
|
|
19858
|
+
};
|
|
19859
|
+
Returns: boolean;
|
|
19860
|
+
};
|
|
19313
19861
|
is_user_admin: {
|
|
19314
19862
|
Args: never;
|
|
19315
19863
|
Returns: boolean;
|
|
@@ -19324,13 +19872,14 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
19324
19872
|
};
|
|
19325
19873
|
Returns: boolean;
|
|
19326
19874
|
};
|
|
19327
|
-
|
|
19875
|
+
list_medewerkers: {
|
|
19328
19876
|
Args: never;
|
|
19329
19877
|
Returns: {
|
|
19330
19878
|
avatar_url: string;
|
|
19331
19879
|
display_name: string;
|
|
19332
19880
|
email: string;
|
|
19333
19881
|
id: string;
|
|
19882
|
+
roles: string[];
|
|
19334
19883
|
}[];
|
|
19335
19884
|
};
|
|
19336
19885
|
list_my_planning_items: {
|
|
@@ -19656,17 +20205,6 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
19656
20205
|
Returns: string;
|
|
19657
20206
|
};
|
|
19658
20207
|
logistics_emit_event: {
|
|
19659
|
-
Args: {
|
|
19660
|
-
p_event_type: string;
|
|
19661
|
-
p_idempotency_key?: string;
|
|
19662
|
-
p_order_ref: string;
|
|
19663
|
-
p_payload?: import("../integrations/supabase/types").Json;
|
|
19664
|
-
p_shadow?: boolean;
|
|
19665
|
-
p_source_module: string;
|
|
19666
|
-
p_strategy_id?: string;
|
|
19667
|
-
};
|
|
19668
|
-
Returns: import("../integrations/supabase/types").Json;
|
|
19669
|
-
} | {
|
|
19670
20208
|
Args: {
|
|
19671
20209
|
p_event_type: string;
|
|
19672
20210
|
p_idempotency_key?: string;
|
|
@@ -20121,6 +20659,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
20121
20659
|
my_module_permissions: {
|
|
20122
20660
|
Args: never;
|
|
20123
20661
|
Returns: {
|
|
20662
|
+
feature_id: string;
|
|
20124
20663
|
module_id: string;
|
|
20125
20664
|
permission: string;
|
|
20126
20665
|
}[];
|
|
@@ -21001,6 +21540,16 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
21001
21540
|
};
|
|
21002
21541
|
Returns: string[];
|
|
21003
21542
|
};
|
|
21543
|
+
switch_time_log: {
|
|
21544
|
+
Args: {
|
|
21545
|
+
p_employee_id: string;
|
|
21546
|
+
p_start_lat?: number;
|
|
21547
|
+
p_start_lng?: number;
|
|
21548
|
+
p_type: string;
|
|
21549
|
+
p_work_order_id?: string;
|
|
21550
|
+
};
|
|
21551
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21552
|
+
};
|
|
21004
21553
|
sync_all_layer_stocks: {
|
|
21005
21554
|
Args: never;
|
|
21006
21555
|
Returns: undefined;
|
|
@@ -21051,6 +21600,24 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
21051
21600
|
};
|
|
21052
21601
|
Returns: boolean;
|
|
21053
21602
|
};
|
|
21603
|
+
twinfield_cron_lock_acquire: {
|
|
21604
|
+
Args: {
|
|
21605
|
+
_job_name: string;
|
|
21606
|
+
_stale_seconds?: number;
|
|
21607
|
+
};
|
|
21608
|
+
Returns: boolean;
|
|
21609
|
+
};
|
|
21610
|
+
twinfield_cron_lock_release: {
|
|
21611
|
+
Args: {
|
|
21612
|
+
_error?: string;
|
|
21613
|
+
_job_name: string;
|
|
21614
|
+
};
|
|
21615
|
+
Returns: undefined;
|
|
21616
|
+
};
|
|
21617
|
+
twinfield_prune_push_queue: {
|
|
21618
|
+
Args: never;
|
|
21619
|
+
Returns: number;
|
|
21620
|
+
};
|
|
21054
21621
|
twinfield_register_cron: {
|
|
21055
21622
|
Args: {
|
|
21056
21623
|
apikey?: string;
|
|
@@ -21094,7 +21661,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
21094
21661
|
Enums: {
|
|
21095
21662
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|
|
21096
21663
|
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
|
|
21097
|
-
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
|
|
21664
|
+
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon" | "veilingbon" | "afleverbrief" | "veilingbrief";
|
|
21098
21665
|
doc_orientation: "portrait" | "landscape";
|
|
21099
21666
|
exact_env: "staging" | "live";
|
|
21100
21667
|
exact_push_status: "pending" | "sent" | "error";
|