@flowselections/floriday-afhandeling-module 1.0.30 → 1.0.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/components/afhandeling/ControlePage.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/ControlePage.js +23 -10
- package/dist-lib/components/afhandeling/LeveringenPage.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/LeveringenPage.js +7 -24
- package/dist-lib/components/afhandeling/PickAgendaView.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/PickAgendaView.js +22 -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 +5 -1
- package/dist-lib/components/afhandeling/WeekAgendaView.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/WeekAgendaView.js +19 -29
- package/dist-lib/hooks/useEngineTasks.d.ts +2 -0
- package/dist-lib/hooks/useEngineTasks.d.ts.map +1 -1
- package/dist-lib/hooks/useEngineTasks.js +19 -4
- package/dist-lib/hooks/useOrderPlanning.d.ts +12 -1
- package/dist-lib/hooks/useOrderPlanning.d.ts.map +1 -1
- package/dist-lib/hooks/useOrderPlanning.js +65 -26
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +1351 -164
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +1351 -164
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +1351 -164
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +1360 -168
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.js +12 -1
- package/dist-lib/lib/afhandelingSettings.functions.d.ts +2614 -240
- package/dist-lib/lib/afhandelingSettings.functions.d.ts.map +1 -1
- package/dist-lib/lib/agendaRange.d.ts +13 -0
- package/dist-lib/lib/agendaRange.d.ts.map +1 -0
- package/dist-lib/lib/agendaRange.js +25 -0
- package/dist-lib/lib/carriers.functions.d.ts +6535 -600
- package/dist-lib/lib/carriers.functions.d.ts.map +1 -1
- package/dist-lib/lib/cartAssignments.functions.d.ts +6535 -600
- package/dist-lib/lib/cartAssignments.functions.d.ts.map +1 -1
- package/dist-lib/lib/cartControl.functions.d.ts +13070 -1200
- package/dist-lib/lib/cartControl.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday.functions.d.ts +1367 -166
- package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday.functions.js +86 -20
- package/dist-lib/lib/logisticsEngine/engine.d.ts +16 -3
- package/dist-lib/lib/logisticsEngine/engine.d.ts.map +1 -1
- package/dist-lib/lib/logisticsEngine/engine.js +13 -6
- package/package.json +2 -8
|
@@ -22,6 +22,23 @@ export interface FloridayOrder {
|
|
|
22
22
|
/** Floriday salesOrderId — nodig voor afleverbrief PDF via gateway. */
|
|
23
23
|
salesOrderId?: string | null;
|
|
24
24
|
}
|
|
25
|
+
export interface GetFloridayOrdersInput {
|
|
26
|
+
/** Ondergrens leverdatum (YYYY-MM-DD). */
|
|
27
|
+
from?: string;
|
|
28
|
+
/** Bovengrens leverdatum (YYYY-MM-DD). */
|
|
29
|
+
to?: string;
|
|
30
|
+
}
|
|
31
|
+
export interface GetFloridayOrdersResult {
|
|
32
|
+
orders: FloridayOrder[];
|
|
33
|
+
error?: string;
|
|
34
|
+
/** Venster dat daadwerkelijk gebruikt is. */
|
|
35
|
+
range: {
|
|
36
|
+
from: string;
|
|
37
|
+
to: string;
|
|
38
|
+
};
|
|
39
|
+
/** Dichtstbijzijnde leverdatum buiten het venster (voor "spring naar week"). */
|
|
40
|
+
nearestDeliveryDate?: string | null;
|
|
41
|
+
}
|
|
25
42
|
export declare const getFloridayOrders: import("@tanstack/start-client-core").OptionalFetcher<readonly [import("@tanstack/start-client-core").FunctionMiddlewareAfterServer<{}, unknown, undefined, {
|
|
26
43
|
supabase: SupabaseClient<import("../integrations/supabase/types").Database, "public", "public", {
|
|
27
44
|
Tables: {
|
|
@@ -895,6 +912,126 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
895
912
|
};
|
|
896
913
|
Relationships: [];
|
|
897
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
|
+
};
|
|
898
1035
|
carrier_shipping_rates: {
|
|
899
1036
|
Row: {
|
|
900
1037
|
carrier_id: string;
|
|
@@ -1707,7 +1844,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
1707
1844
|
city: string | null;
|
|
1708
1845
|
country: string | null;
|
|
1709
1846
|
created_at: string;
|
|
1710
|
-
customer_id: string
|
|
1847
|
+
customer_id: string;
|
|
1711
1848
|
external_key: string | null;
|
|
1712
1849
|
external_provider: string | null;
|
|
1713
1850
|
floriday_location_id: string | null;
|
|
@@ -1731,7 +1868,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
1731
1868
|
city?: string | null;
|
|
1732
1869
|
country?: string | null;
|
|
1733
1870
|
created_at?: string;
|
|
1734
|
-
customer_id
|
|
1871
|
+
customer_id: string;
|
|
1735
1872
|
external_key?: string | null;
|
|
1736
1873
|
external_provider?: string | null;
|
|
1737
1874
|
floriday_location_id?: string | null;
|
|
@@ -1755,7 +1892,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
1755
1892
|
city?: string | null;
|
|
1756
1893
|
country?: string | null;
|
|
1757
1894
|
created_at?: string;
|
|
1758
|
-
customer_id?: string
|
|
1895
|
+
customer_id?: string;
|
|
1759
1896
|
external_key?: string | null;
|
|
1760
1897
|
external_provider?: string | null;
|
|
1761
1898
|
floriday_location_id?: string | null;
|
|
@@ -6503,6 +6640,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
6503
6640
|
Row: {
|
|
6504
6641
|
buyer_organization_id: string | null;
|
|
6505
6642
|
connection_id: string;
|
|
6643
|
+
controlled_at: string | null;
|
|
6506
6644
|
created_at: string;
|
|
6507
6645
|
data: import("../integrations/supabase/types").Json;
|
|
6508
6646
|
floriday_id: string;
|
|
@@ -6514,6 +6652,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
6514
6652
|
Insert: {
|
|
6515
6653
|
buyer_organization_id?: string | null;
|
|
6516
6654
|
connection_id: string;
|
|
6655
|
+
controlled_at?: string | null;
|
|
6517
6656
|
created_at?: string;
|
|
6518
6657
|
data: import("../integrations/supabase/types").Json;
|
|
6519
6658
|
floriday_id: string;
|
|
@@ -6525,6 +6664,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
6525
6664
|
Update: {
|
|
6526
6665
|
buyer_organization_id?: string | null;
|
|
6527
6666
|
connection_id?: string;
|
|
6667
|
+
controlled_at?: string | null;
|
|
6528
6668
|
created_at?: string;
|
|
6529
6669
|
data?: import("../integrations/supabase/types").Json;
|
|
6530
6670
|
floriday_id?: string;
|
|
@@ -7426,6 +7566,54 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
7426
7566
|
};
|
|
7427
7567
|
Relationships: [];
|
|
7428
7568
|
};
|
|
7569
|
+
invoice_timing_settings: {
|
|
7570
|
+
Row: {
|
|
7571
|
+
anchor: string;
|
|
7572
|
+
business_days_only: boolean;
|
|
7573
|
+
created_at: string;
|
|
7574
|
+
enabled: boolean;
|
|
7575
|
+
id: string;
|
|
7576
|
+
offset_days: number;
|
|
7577
|
+
pickup_anchor: string;
|
|
7578
|
+
pickup_business_days_only: boolean;
|
|
7579
|
+
pickup_offset_days: number;
|
|
7580
|
+
pickup_time_of_day: string;
|
|
7581
|
+
singleton: boolean;
|
|
7582
|
+
time_of_day: string;
|
|
7583
|
+
updated_at: string;
|
|
7584
|
+
};
|
|
7585
|
+
Insert: {
|
|
7586
|
+
anchor?: string;
|
|
7587
|
+
business_days_only?: boolean;
|
|
7588
|
+
created_at?: string;
|
|
7589
|
+
enabled?: boolean;
|
|
7590
|
+
id?: string;
|
|
7591
|
+
offset_days?: number;
|
|
7592
|
+
pickup_anchor?: string;
|
|
7593
|
+
pickup_business_days_only?: boolean;
|
|
7594
|
+
pickup_offset_days?: number;
|
|
7595
|
+
pickup_time_of_day?: string;
|
|
7596
|
+
singleton?: boolean;
|
|
7597
|
+
time_of_day?: string;
|
|
7598
|
+
updated_at?: string;
|
|
7599
|
+
};
|
|
7600
|
+
Update: {
|
|
7601
|
+
anchor?: string;
|
|
7602
|
+
business_days_only?: boolean;
|
|
7603
|
+
created_at?: string;
|
|
7604
|
+
enabled?: boolean;
|
|
7605
|
+
id?: string;
|
|
7606
|
+
offset_days?: number;
|
|
7607
|
+
pickup_anchor?: string;
|
|
7608
|
+
pickup_business_days_only?: boolean;
|
|
7609
|
+
pickup_offset_days?: number;
|
|
7610
|
+
pickup_time_of_day?: string;
|
|
7611
|
+
singleton?: boolean;
|
|
7612
|
+
time_of_day?: string;
|
|
7613
|
+
updated_at?: string;
|
|
7614
|
+
};
|
|
7615
|
+
Relationships: [];
|
|
7616
|
+
};
|
|
7429
7617
|
itk_contact_persons: {
|
|
7430
7618
|
Row: {
|
|
7431
7619
|
created_at: string;
|
|
@@ -7738,7 +7926,6 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
7738
7926
|
start_date: string;
|
|
7739
7927
|
start_time: string | null;
|
|
7740
7928
|
status: string;
|
|
7741
|
-
tenant_id: string;
|
|
7742
7929
|
updated_at: string;
|
|
7743
7930
|
user_id: string;
|
|
7744
7931
|
};
|
|
@@ -7756,7 +7943,6 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
7756
7943
|
start_date: string;
|
|
7757
7944
|
start_time?: string | null;
|
|
7758
7945
|
status?: string;
|
|
7759
|
-
tenant_id?: string;
|
|
7760
7946
|
updated_at?: string;
|
|
7761
7947
|
user_id: string;
|
|
7762
7948
|
};
|
|
@@ -7774,7 +7960,6 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
7774
7960
|
start_date?: string;
|
|
7775
7961
|
start_time?: string | null;
|
|
7776
7962
|
status?: string;
|
|
7777
|
-
tenant_id?: string;
|
|
7778
7963
|
updated_at?: string;
|
|
7779
7964
|
user_id?: string;
|
|
7780
7965
|
};
|
|
@@ -7782,13 +7967,13 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
7782
7967
|
foreignKeyName: "leave_requests_monteur_id_fkey";
|
|
7783
7968
|
columns: ["monteur_id"];
|
|
7784
7969
|
isOneToOne: false;
|
|
7785
|
-
referencedRelation: "
|
|
7970
|
+
referencedRelation: "profiles";
|
|
7786
7971
|
referencedColumns: ["id"];
|
|
7787
7972
|
}, {
|
|
7788
7973
|
foreignKeyName: "leave_requests_user_id_fkey";
|
|
7789
7974
|
columns: ["user_id"];
|
|
7790
7975
|
isOneToOne: false;
|
|
7791
|
-
referencedRelation: "
|
|
7976
|
+
referencedRelation: "profiles";
|
|
7792
7977
|
referencedColumns: ["id"];
|
|
7793
7978
|
}];
|
|
7794
7979
|
};
|
|
@@ -8515,6 +8700,69 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
8515
8700
|
};
|
|
8516
8701
|
Relationships: [];
|
|
8517
8702
|
};
|
|
8703
|
+
logistics_floriday_pushes: {
|
|
8704
|
+
Row: {
|
|
8705
|
+
attempts: number;
|
|
8706
|
+
created_at: string;
|
|
8707
|
+
first_queued_at: string;
|
|
8708
|
+
fulfillment_order_id: string | null;
|
|
8709
|
+
id: string;
|
|
8710
|
+
last_error: string | null;
|
|
8711
|
+
last_error_at: string | null;
|
|
8712
|
+
last_sent_hash: string | null;
|
|
8713
|
+
locked_by: string | null;
|
|
8714
|
+
locked_until: string | null;
|
|
8715
|
+
next_attempt_at: string;
|
|
8716
|
+
order_ref: string;
|
|
8717
|
+
payload: import("../integrations/supabase/types").Json;
|
|
8718
|
+
payload_hash: string | null;
|
|
8719
|
+
revision: number;
|
|
8720
|
+
sent_at: string | null;
|
|
8721
|
+
status: string;
|
|
8722
|
+
updated_at: string;
|
|
8723
|
+
};
|
|
8724
|
+
Insert: {
|
|
8725
|
+
attempts?: number;
|
|
8726
|
+
created_at?: string;
|
|
8727
|
+
first_queued_at?: string;
|
|
8728
|
+
fulfillment_order_id?: string | null;
|
|
8729
|
+
id?: string;
|
|
8730
|
+
last_error?: string | null;
|
|
8731
|
+
last_error_at?: string | null;
|
|
8732
|
+
last_sent_hash?: string | null;
|
|
8733
|
+
locked_by?: string | null;
|
|
8734
|
+
locked_until?: string | null;
|
|
8735
|
+
next_attempt_at?: string;
|
|
8736
|
+
order_ref: string;
|
|
8737
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
8738
|
+
payload_hash?: string | null;
|
|
8739
|
+
revision?: number;
|
|
8740
|
+
sent_at?: string | null;
|
|
8741
|
+
status?: string;
|
|
8742
|
+
updated_at?: string;
|
|
8743
|
+
};
|
|
8744
|
+
Update: {
|
|
8745
|
+
attempts?: number;
|
|
8746
|
+
created_at?: string;
|
|
8747
|
+
first_queued_at?: string;
|
|
8748
|
+
fulfillment_order_id?: string | null;
|
|
8749
|
+
id?: string;
|
|
8750
|
+
last_error?: string | null;
|
|
8751
|
+
last_error_at?: string | null;
|
|
8752
|
+
last_sent_hash?: string | null;
|
|
8753
|
+
locked_by?: string | null;
|
|
8754
|
+
locked_until?: string | null;
|
|
8755
|
+
next_attempt_at?: string;
|
|
8756
|
+
order_ref?: string;
|
|
8757
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
8758
|
+
payload_hash?: string | null;
|
|
8759
|
+
revision?: number;
|
|
8760
|
+
sent_at?: string | null;
|
|
8761
|
+
status?: string;
|
|
8762
|
+
updated_at?: string;
|
|
8763
|
+
};
|
|
8764
|
+
Relationships: [];
|
|
8765
|
+
};
|
|
8518
8766
|
logistics_formulas: {
|
|
8519
8767
|
Row: {
|
|
8520
8768
|
created_at: string;
|
|
@@ -8593,6 +8841,45 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
8593
8841
|
};
|
|
8594
8842
|
Relationships: [];
|
|
8595
8843
|
};
|
|
8844
|
+
logistics_plan_queue: {
|
|
8845
|
+
Row: {
|
|
8846
|
+
attempts: number;
|
|
8847
|
+
claimed_at: string | null;
|
|
8848
|
+
enqueued_at: string;
|
|
8849
|
+
error: string | null;
|
|
8850
|
+
id: string;
|
|
8851
|
+
next_attempt_at: string;
|
|
8852
|
+
order_id: string;
|
|
8853
|
+
reason: string;
|
|
8854
|
+
status: string;
|
|
8855
|
+
updated_at: string;
|
|
8856
|
+
};
|
|
8857
|
+
Insert: {
|
|
8858
|
+
attempts?: number;
|
|
8859
|
+
claimed_at?: string | null;
|
|
8860
|
+
enqueued_at?: string;
|
|
8861
|
+
error?: string | null;
|
|
8862
|
+
id?: string;
|
|
8863
|
+
next_attempt_at?: string;
|
|
8864
|
+
order_id: string;
|
|
8865
|
+
reason?: string;
|
|
8866
|
+
status?: string;
|
|
8867
|
+
updated_at?: string;
|
|
8868
|
+
};
|
|
8869
|
+
Update: {
|
|
8870
|
+
attempts?: number;
|
|
8871
|
+
claimed_at?: string | null;
|
|
8872
|
+
enqueued_at?: string;
|
|
8873
|
+
error?: string | null;
|
|
8874
|
+
id?: string;
|
|
8875
|
+
next_attempt_at?: string;
|
|
8876
|
+
order_id?: string;
|
|
8877
|
+
reason?: string;
|
|
8878
|
+
status?: string;
|
|
8879
|
+
updated_at?: string;
|
|
8880
|
+
};
|
|
8881
|
+
Relationships: [];
|
|
8882
|
+
};
|
|
8596
8883
|
logistics_plan_runs: {
|
|
8597
8884
|
Row: {
|
|
8598
8885
|
created_at: string;
|
|
@@ -8668,6 +8955,24 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
8668
8955
|
referencedColumns: ["id"];
|
|
8669
8956
|
}];
|
|
8670
8957
|
};
|
|
8958
|
+
logistics_plan_settings: {
|
|
8959
|
+
Row: {
|
|
8960
|
+
key: string;
|
|
8961
|
+
updated_at: string;
|
|
8962
|
+
value: string;
|
|
8963
|
+
};
|
|
8964
|
+
Insert: {
|
|
8965
|
+
key: string;
|
|
8966
|
+
updated_at?: string;
|
|
8967
|
+
value: string;
|
|
8968
|
+
};
|
|
8969
|
+
Update: {
|
|
8970
|
+
key?: string;
|
|
8971
|
+
updated_at?: string;
|
|
8972
|
+
value?: string;
|
|
8973
|
+
};
|
|
8974
|
+
Relationships: [];
|
|
8975
|
+
};
|
|
8671
8976
|
logistics_rebuffer_state: {
|
|
8672
8977
|
Row: {
|
|
8673
8978
|
created_at: string;
|
|
@@ -9378,14 +9683,17 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
9378
9683
|
};
|
|
9379
9684
|
mailbox_messages: {
|
|
9380
9685
|
Row: {
|
|
9686
|
+
attachments: import("../integrations/supabase/types").Json;
|
|
9381
9687
|
body_html: string | null;
|
|
9382
9688
|
body_text: string | null;
|
|
9689
|
+
cc_recipients: import("../integrations/supabase/types").Json;
|
|
9383
9690
|
connection_id: string | null;
|
|
9384
9691
|
created_at: string;
|
|
9385
9692
|
error_message: string | null;
|
|
9386
9693
|
external_id: string | null;
|
|
9387
9694
|
from_email: string | null;
|
|
9388
9695
|
from_name: string | null;
|
|
9696
|
+
has_attachments: boolean;
|
|
9389
9697
|
id: string;
|
|
9390
9698
|
message_id: string | null;
|
|
9391
9699
|
profile_id: string | null;
|
|
@@ -9393,18 +9701,22 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
9393
9701
|
received_at: string | null;
|
|
9394
9702
|
status: string;
|
|
9395
9703
|
subject: string | null;
|
|
9704
|
+
to_recipients: import("../integrations/supabase/types").Json;
|
|
9396
9705
|
uid: number | null;
|
|
9397
9706
|
updated_at: string;
|
|
9398
9707
|
};
|
|
9399
9708
|
Insert: {
|
|
9709
|
+
attachments?: import("../integrations/supabase/types").Json;
|
|
9400
9710
|
body_html?: string | null;
|
|
9401
9711
|
body_text?: string | null;
|
|
9712
|
+
cc_recipients?: import("../integrations/supabase/types").Json;
|
|
9402
9713
|
connection_id?: string | null;
|
|
9403
9714
|
created_at?: string;
|
|
9404
9715
|
error_message?: string | null;
|
|
9405
9716
|
external_id?: string | null;
|
|
9406
9717
|
from_email?: string | null;
|
|
9407
9718
|
from_name?: string | null;
|
|
9719
|
+
has_attachments?: boolean;
|
|
9408
9720
|
id?: string;
|
|
9409
9721
|
message_id?: string | null;
|
|
9410
9722
|
profile_id?: string | null;
|
|
@@ -9412,18 +9724,22 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
9412
9724
|
received_at?: string | null;
|
|
9413
9725
|
status?: string;
|
|
9414
9726
|
subject?: string | null;
|
|
9727
|
+
to_recipients?: import("../integrations/supabase/types").Json;
|
|
9415
9728
|
uid?: number | null;
|
|
9416
9729
|
updated_at?: string;
|
|
9417
9730
|
};
|
|
9418
9731
|
Update: {
|
|
9732
|
+
attachments?: import("../integrations/supabase/types").Json;
|
|
9419
9733
|
body_html?: string | null;
|
|
9420
9734
|
body_text?: string | null;
|
|
9735
|
+
cc_recipients?: import("../integrations/supabase/types").Json;
|
|
9421
9736
|
connection_id?: string | null;
|
|
9422
9737
|
created_at?: string;
|
|
9423
9738
|
error_message?: string | null;
|
|
9424
9739
|
external_id?: string | null;
|
|
9425
9740
|
from_email?: string | null;
|
|
9426
9741
|
from_name?: string | null;
|
|
9742
|
+
has_attachments?: boolean;
|
|
9427
9743
|
id?: string;
|
|
9428
9744
|
message_id?: string | null;
|
|
9429
9745
|
profile_id?: string | null;
|
|
@@ -9431,6 +9747,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
9431
9747
|
received_at?: string | null;
|
|
9432
9748
|
status?: string;
|
|
9433
9749
|
subject?: string | null;
|
|
9750
|
+
to_recipients?: import("../integrations/supabase/types").Json;
|
|
9434
9751
|
uid?: number | null;
|
|
9435
9752
|
updated_at?: string;
|
|
9436
9753
|
};
|
|
@@ -9811,6 +10128,90 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
9811
10128
|
};
|
|
9812
10129
|
Relationships: [];
|
|
9813
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
|
+
};
|
|
9814
10215
|
module_permissions: {
|
|
9815
10216
|
Row: {
|
|
9816
10217
|
created_at: string;
|
|
@@ -9838,6 +10239,36 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
9838
10239
|
};
|
|
9839
10240
|
Relationships: [];
|
|
9840
10241
|
};
|
|
10242
|
+
module_registry: {
|
|
10243
|
+
Row: {
|
|
10244
|
+
created_at: string;
|
|
10245
|
+
is_active: boolean;
|
|
10246
|
+
last_seen_at: string;
|
|
10247
|
+
module_id: string;
|
|
10248
|
+
name: string;
|
|
10249
|
+
shell_id: string | null;
|
|
10250
|
+
sort_order: number | null;
|
|
10251
|
+
};
|
|
10252
|
+
Insert: {
|
|
10253
|
+
created_at?: string;
|
|
10254
|
+
is_active?: boolean;
|
|
10255
|
+
last_seen_at?: string;
|
|
10256
|
+
module_id: string;
|
|
10257
|
+
name: string;
|
|
10258
|
+
shell_id?: string | null;
|
|
10259
|
+
sort_order?: number | null;
|
|
10260
|
+
};
|
|
10261
|
+
Update: {
|
|
10262
|
+
created_at?: string;
|
|
10263
|
+
is_active?: boolean;
|
|
10264
|
+
last_seen_at?: string;
|
|
10265
|
+
module_id?: string;
|
|
10266
|
+
name?: string;
|
|
10267
|
+
shell_id?: string | null;
|
|
10268
|
+
sort_order?: number | null;
|
|
10269
|
+
};
|
|
10270
|
+
Relationships: [];
|
|
10271
|
+
};
|
|
9841
10272
|
module_runtime_config: {
|
|
9842
10273
|
Row: {
|
|
9843
10274
|
key: string;
|
|
@@ -9889,64 +10320,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
9889
10320
|
};
|
|
9890
10321
|
Relationships: [];
|
|
9891
10322
|
};
|
|
9892
|
-
|
|
9893
|
-
Row: {
|
|
9894
|
-
avatar_url: string | null;
|
|
9895
|
-
color: string | null;
|
|
9896
|
-
created_at: string;
|
|
9897
|
-
email: string | null;
|
|
9898
|
-
id: string;
|
|
9899
|
-
is_active: boolean;
|
|
9900
|
-
leave_balance_hours: number;
|
|
9901
|
-
name: string;
|
|
9902
|
-
persnr: number | null;
|
|
9903
|
-
phone: string | null;
|
|
9904
|
-
role: string;
|
|
9905
|
-
tenant_id: string;
|
|
9906
|
-
updated_at: string;
|
|
9907
|
-
user_id: string | null;
|
|
9908
|
-
};
|
|
9909
|
-
Insert: {
|
|
9910
|
-
avatar_url?: string | null;
|
|
9911
|
-
color?: string | null;
|
|
9912
|
-
created_at?: string;
|
|
9913
|
-
email?: string | null;
|
|
9914
|
-
id?: string;
|
|
9915
|
-
is_active?: boolean;
|
|
9916
|
-
leave_balance_hours?: number;
|
|
9917
|
-
name: string;
|
|
9918
|
-
persnr?: number | null;
|
|
9919
|
-
phone?: string | null;
|
|
9920
|
-
role?: string;
|
|
9921
|
-
tenant_id: string;
|
|
9922
|
-
updated_at?: string;
|
|
9923
|
-
user_id?: string | null;
|
|
9924
|
-
};
|
|
9925
|
-
Update: {
|
|
9926
|
-
avatar_url?: string | null;
|
|
9927
|
-
color?: string | null;
|
|
9928
|
-
created_at?: string;
|
|
9929
|
-
email?: string | null;
|
|
9930
|
-
id?: string;
|
|
9931
|
-
is_active?: boolean;
|
|
9932
|
-
leave_balance_hours?: number;
|
|
9933
|
-
name?: string;
|
|
9934
|
-
persnr?: number | null;
|
|
9935
|
-
phone?: string | null;
|
|
9936
|
-
role?: string;
|
|
9937
|
-
tenant_id?: string;
|
|
9938
|
-
updated_at?: string;
|
|
9939
|
-
user_id?: string | null;
|
|
9940
|
-
};
|
|
9941
|
-
Relationships: [{
|
|
9942
|
-
foreignKeyName: "monteurs_tenant_id_fkey";
|
|
9943
|
-
columns: ["tenant_id"];
|
|
9944
|
-
isOneToOne: false;
|
|
9945
|
-
referencedRelation: "tenants";
|
|
9946
|
-
referencedColumns: ["id"];
|
|
9947
|
-
}];
|
|
9948
|
-
};
|
|
9949
|
-
nmbrs_component_mapping: {
|
|
10323
|
+
nmbrs_component_mapping: {
|
|
9950
10324
|
Row: {
|
|
9951
10325
|
created_at: string;
|
|
9952
10326
|
id: string;
|
|
@@ -10016,13 +10390,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
10016
10390
|
nmbrs_employee_number?: string;
|
|
10017
10391
|
updated_at?: string;
|
|
10018
10392
|
};
|
|
10019
|
-
Relationships: [
|
|
10020
|
-
foreignKeyName: "nmbrs_employee_mapping_monteur_id_fkey";
|
|
10021
|
-
columns: ["monteur_id"];
|
|
10022
|
-
isOneToOne: true;
|
|
10023
|
-
referencedRelation: "monteurs";
|
|
10024
|
-
referencedColumns: ["id"];
|
|
10025
|
-
}];
|
|
10393
|
+
Relationships: [];
|
|
10026
10394
|
};
|
|
10027
10395
|
nmbrs_export_lines: {
|
|
10028
10396
|
Row: {
|
|
@@ -10071,12 +10439,6 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
10071
10439
|
wage_code?: string;
|
|
10072
10440
|
};
|
|
10073
10441
|
Relationships: [{
|
|
10074
|
-
foreignKeyName: "nmbrs_export_lines_monteur_id_fkey";
|
|
10075
|
-
columns: ["monteur_id"];
|
|
10076
|
-
isOneToOne: false;
|
|
10077
|
-
referencedRelation: "monteurs";
|
|
10078
|
-
referencedColumns: ["id"];
|
|
10079
|
-
}, {
|
|
10080
10442
|
foreignKeyName: "nmbrs_export_lines_run_id_fkey";
|
|
10081
10443
|
columns: ["run_id"];
|
|
10082
10444
|
isOneToOne: false;
|
|
@@ -10897,6 +11259,45 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
10897
11259
|
};
|
|
10898
11260
|
Relationships: [];
|
|
10899
11261
|
};
|
|
11262
|
+
order_invoice_links: {
|
|
11263
|
+
Row: {
|
|
11264
|
+
attempts: number;
|
|
11265
|
+
created_at: string;
|
|
11266
|
+
error_message: string | null;
|
|
11267
|
+
id: string;
|
|
11268
|
+
invoice_number: string | null;
|
|
11269
|
+
next_attempt_at: string;
|
|
11270
|
+
order_id: string;
|
|
11271
|
+
processed_at: string | null;
|
|
11272
|
+
status: string;
|
|
11273
|
+
updated_at: string;
|
|
11274
|
+
};
|
|
11275
|
+
Insert: {
|
|
11276
|
+
attempts?: number;
|
|
11277
|
+
created_at?: string;
|
|
11278
|
+
error_message?: string | null;
|
|
11279
|
+
id?: string;
|
|
11280
|
+
invoice_number?: string | null;
|
|
11281
|
+
next_attempt_at?: string;
|
|
11282
|
+
order_id: string;
|
|
11283
|
+
processed_at?: string | null;
|
|
11284
|
+
status?: string;
|
|
11285
|
+
updated_at?: string;
|
|
11286
|
+
};
|
|
11287
|
+
Update: {
|
|
11288
|
+
attempts?: number;
|
|
11289
|
+
created_at?: string;
|
|
11290
|
+
error_message?: string | null;
|
|
11291
|
+
id?: string;
|
|
11292
|
+
invoice_number?: string | null;
|
|
11293
|
+
next_attempt_at?: string;
|
|
11294
|
+
order_id?: string;
|
|
11295
|
+
processed_at?: string | null;
|
|
11296
|
+
status?: string;
|
|
11297
|
+
updated_at?: string;
|
|
11298
|
+
};
|
|
11299
|
+
Relationships: [];
|
|
11300
|
+
};
|
|
10900
11301
|
order_items: {
|
|
10901
11302
|
Row: {
|
|
10902
11303
|
crates_per_layer: number | null;
|
|
@@ -11079,6 +11480,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
11079
11480
|
delivery_date: string | null;
|
|
11080
11481
|
floriday_sales_order_id: string | null;
|
|
11081
11482
|
id: string;
|
|
11483
|
+
invoice_due_at: string | null;
|
|
11082
11484
|
is_reservation: boolean;
|
|
11083
11485
|
notes: string | null;
|
|
11084
11486
|
order_date: string;
|
|
@@ -11100,6 +11502,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
11100
11502
|
delivery_date?: string | null;
|
|
11101
11503
|
floriday_sales_order_id?: string | null;
|
|
11102
11504
|
id?: string;
|
|
11505
|
+
invoice_due_at?: string | null;
|
|
11103
11506
|
is_reservation?: boolean;
|
|
11104
11507
|
notes?: string | null;
|
|
11105
11508
|
order_date?: string;
|
|
@@ -11121,6 +11524,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
11121
11524
|
delivery_date?: string | null;
|
|
11122
11525
|
floriday_sales_order_id?: string | null;
|
|
11123
11526
|
id?: string;
|
|
11527
|
+
invoice_due_at?: string | null;
|
|
11124
11528
|
is_reservation?: boolean;
|
|
11125
11529
|
notes?: string | null;
|
|
11126
11530
|
order_date?: string;
|
|
@@ -12317,22 +12721,27 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
12317
12721
|
created_at: string;
|
|
12318
12722
|
documentnaam: string;
|
|
12319
12723
|
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
12724
|
+
extern_job_id: string | null;
|
|
12320
12725
|
foutmelding: string | null;
|
|
12321
12726
|
gebruiker_id: string | null;
|
|
12322
12727
|
gebruiker_naam: string;
|
|
12323
12728
|
gestart_op: string | null;
|
|
12324
12729
|
id: string;
|
|
12730
|
+
idempotentie_sleutel: string | null;
|
|
12325
12731
|
is_herprint: boolean;
|
|
12326
12732
|
kopieen: number;
|
|
12327
12733
|
layout_id: string | null;
|
|
12328
12734
|
opgepakt_op: string | null;
|
|
12329
12735
|
paginas: number;
|
|
12330
12736
|
payload: import("../integrations/supabase/types").Json;
|
|
12737
|
+
pdf_base64: string | null;
|
|
12738
|
+
pdf_url: string | null;
|
|
12331
12739
|
pogingen: number;
|
|
12332
12740
|
printer_id: string | null;
|
|
12333
12741
|
render_html: string | null;
|
|
12334
12742
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
12335
12743
|
updated_at: string;
|
|
12744
|
+
volgende_poging: string | null;
|
|
12336
12745
|
voltooid_op: string | null;
|
|
12337
12746
|
};
|
|
12338
12747
|
Insert: {
|
|
@@ -12341,22 +12750,27 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
12341
12750
|
created_at?: string;
|
|
12342
12751
|
documentnaam?: string;
|
|
12343
12752
|
documenttype?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
12753
|
+
extern_job_id?: string | null;
|
|
12344
12754
|
foutmelding?: string | null;
|
|
12345
12755
|
gebruiker_id?: string | null;
|
|
12346
12756
|
gebruiker_naam?: string;
|
|
12347
12757
|
gestart_op?: string | null;
|
|
12348
12758
|
id?: string;
|
|
12759
|
+
idempotentie_sleutel?: string | null;
|
|
12349
12760
|
is_herprint?: boolean;
|
|
12350
12761
|
kopieen?: number;
|
|
12351
12762
|
layout_id?: string | null;
|
|
12352
12763
|
opgepakt_op?: string | null;
|
|
12353
12764
|
paginas?: number;
|
|
12354
12765
|
payload?: import("../integrations/supabase/types").Json;
|
|
12766
|
+
pdf_base64?: string | null;
|
|
12767
|
+
pdf_url?: string | null;
|
|
12355
12768
|
pogingen?: number;
|
|
12356
12769
|
printer_id?: string | null;
|
|
12357
12770
|
render_html?: string | null;
|
|
12358
12771
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
12359
12772
|
updated_at?: string;
|
|
12773
|
+
volgende_poging?: string | null;
|
|
12360
12774
|
voltooid_op?: string | null;
|
|
12361
12775
|
};
|
|
12362
12776
|
Update: {
|
|
@@ -12365,22 +12779,27 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
12365
12779
|
created_at?: string;
|
|
12366
12780
|
documentnaam?: string;
|
|
12367
12781
|
documenttype?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
12782
|
+
extern_job_id?: string | null;
|
|
12368
12783
|
foutmelding?: string | null;
|
|
12369
12784
|
gebruiker_id?: string | null;
|
|
12370
12785
|
gebruiker_naam?: string;
|
|
12371
12786
|
gestart_op?: string | null;
|
|
12372
12787
|
id?: string;
|
|
12788
|
+
idempotentie_sleutel?: string | null;
|
|
12373
12789
|
is_herprint?: boolean;
|
|
12374
12790
|
kopieen?: number;
|
|
12375
12791
|
layout_id?: string | null;
|
|
12376
12792
|
opgepakt_op?: string | null;
|
|
12377
12793
|
paginas?: number;
|
|
12378
12794
|
payload?: import("../integrations/supabase/types").Json;
|
|
12795
|
+
pdf_base64?: string | null;
|
|
12796
|
+
pdf_url?: string | null;
|
|
12379
12797
|
pogingen?: number;
|
|
12380
12798
|
printer_id?: string | null;
|
|
12381
12799
|
render_html?: string | null;
|
|
12382
12800
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
12383
12801
|
updated_at?: string;
|
|
12802
|
+
volgende_poging?: string | null;
|
|
12384
12803
|
voltooid_op?: string | null;
|
|
12385
12804
|
};
|
|
12386
12805
|
Relationships: [{
|
|
@@ -12403,6 +12822,72 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
12403
12822
|
referencedColumns: ["id"];
|
|
12404
12823
|
}];
|
|
12405
12824
|
};
|
|
12825
|
+
print_queue_runners: {
|
|
12826
|
+
Row: {
|
|
12827
|
+
actief: boolean;
|
|
12828
|
+
basis_url: string;
|
|
12829
|
+
created_at: string;
|
|
12830
|
+
id: string;
|
|
12831
|
+
laatst_gezien: string;
|
|
12832
|
+
laatste_fout: string | null;
|
|
12833
|
+
laatste_request_id: number | null;
|
|
12834
|
+
mislukte_posts: number;
|
|
12835
|
+
tick_sleutel: string;
|
|
12836
|
+
updated_at: string;
|
|
12837
|
+
};
|
|
12838
|
+
Insert: {
|
|
12839
|
+
actief?: boolean;
|
|
12840
|
+
basis_url: string;
|
|
12841
|
+
created_at?: string;
|
|
12842
|
+
id?: string;
|
|
12843
|
+
laatst_gezien?: string;
|
|
12844
|
+
laatste_fout?: string | null;
|
|
12845
|
+
laatste_request_id?: number | null;
|
|
12846
|
+
mislukte_posts?: number;
|
|
12847
|
+
tick_sleutel?: string;
|
|
12848
|
+
updated_at?: string;
|
|
12849
|
+
};
|
|
12850
|
+
Update: {
|
|
12851
|
+
actief?: boolean;
|
|
12852
|
+
basis_url?: string;
|
|
12853
|
+
created_at?: string;
|
|
12854
|
+
id?: string;
|
|
12855
|
+
laatst_gezien?: string;
|
|
12856
|
+
laatste_fout?: string | null;
|
|
12857
|
+
laatste_request_id?: number | null;
|
|
12858
|
+
mislukte_posts?: number;
|
|
12859
|
+
tick_sleutel?: string;
|
|
12860
|
+
updated_at?: string;
|
|
12861
|
+
};
|
|
12862
|
+
Relationships: [];
|
|
12863
|
+
};
|
|
12864
|
+
print_queue_settings: {
|
|
12865
|
+
Row: {
|
|
12866
|
+
bewaar_bestanden_dagen: number;
|
|
12867
|
+
bewaar_opdrachten_dagen: number;
|
|
12868
|
+
created_at: string;
|
|
12869
|
+
dubbel_venster_minuten: number;
|
|
12870
|
+
id: string;
|
|
12871
|
+
updated_at: string;
|
|
12872
|
+
};
|
|
12873
|
+
Insert: {
|
|
12874
|
+
bewaar_bestanden_dagen?: number;
|
|
12875
|
+
bewaar_opdrachten_dagen?: number;
|
|
12876
|
+
created_at?: string;
|
|
12877
|
+
dubbel_venster_minuten?: number;
|
|
12878
|
+
id?: string;
|
|
12879
|
+
updated_at?: string;
|
|
12880
|
+
};
|
|
12881
|
+
Update: {
|
|
12882
|
+
bewaar_bestanden_dagen?: number;
|
|
12883
|
+
bewaar_opdrachten_dagen?: number;
|
|
12884
|
+
created_at?: string;
|
|
12885
|
+
dubbel_venster_minuten?: number;
|
|
12886
|
+
id?: string;
|
|
12887
|
+
updated_at?: string;
|
|
12888
|
+
};
|
|
12889
|
+
Relationships: [];
|
|
12890
|
+
};
|
|
12406
12891
|
print_rules: {
|
|
12407
12892
|
Row: {
|
|
12408
12893
|
actief: boolean;
|
|
@@ -12563,6 +13048,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
12563
13048
|
agent_id: string | null;
|
|
12564
13049
|
created_at: string;
|
|
12565
13050
|
driver: string;
|
|
13051
|
+
extern_printer_id: string | null;
|
|
12566
13052
|
id: string;
|
|
12567
13053
|
ip_adres: string | null;
|
|
12568
13054
|
laatst_gezien: string | null;
|
|
@@ -12584,6 +13070,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
12584
13070
|
agent_id?: string | null;
|
|
12585
13071
|
created_at?: string;
|
|
12586
13072
|
driver?: string;
|
|
13073
|
+
extern_printer_id?: string | null;
|
|
12587
13074
|
id?: string;
|
|
12588
13075
|
ip_adres?: string | null;
|
|
12589
13076
|
laatst_gezien?: string | null;
|
|
@@ -12605,6 +13092,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
12605
13092
|
agent_id?: string | null;
|
|
12606
13093
|
created_at?: string;
|
|
12607
13094
|
driver?: string;
|
|
13095
|
+
extern_printer_id?: string | null;
|
|
12608
13096
|
id?: string;
|
|
12609
13097
|
ip_adres?: string | null;
|
|
12610
13098
|
laatst_gezien?: string | null;
|
|
@@ -13876,6 +14364,96 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
13876
14364
|
referencedColumns: ["id"];
|
|
13877
14365
|
}];
|
|
13878
14366
|
};
|
|
14367
|
+
role_assignments: {
|
|
14368
|
+
Row: {
|
|
14369
|
+
created_at: string;
|
|
14370
|
+
id: string;
|
|
14371
|
+
role_id: string;
|
|
14372
|
+
user_id: string;
|
|
14373
|
+
};
|
|
14374
|
+
Insert: {
|
|
14375
|
+
created_at?: string;
|
|
14376
|
+
id?: string;
|
|
14377
|
+
role_id: string;
|
|
14378
|
+
user_id: string;
|
|
14379
|
+
};
|
|
14380
|
+
Update: {
|
|
14381
|
+
created_at?: string;
|
|
14382
|
+
id?: string;
|
|
14383
|
+
role_id?: string;
|
|
14384
|
+
user_id?: string;
|
|
14385
|
+
};
|
|
14386
|
+
Relationships: [{
|
|
14387
|
+
foreignKeyName: "role_assignments_role_id_fkey";
|
|
14388
|
+
columns: ["role_id"];
|
|
14389
|
+
isOneToOne: false;
|
|
14390
|
+
referencedRelation: "roles";
|
|
14391
|
+
referencedColumns: ["id"];
|
|
14392
|
+
}];
|
|
14393
|
+
};
|
|
14394
|
+
role_permissions: {
|
|
14395
|
+
Row: {
|
|
14396
|
+
can_edit: boolean;
|
|
14397
|
+
can_view: boolean;
|
|
14398
|
+
feature_id: string;
|
|
14399
|
+
id: string;
|
|
14400
|
+
module_id: string;
|
|
14401
|
+
role_id: string;
|
|
14402
|
+
updated_at: string;
|
|
14403
|
+
};
|
|
14404
|
+
Insert: {
|
|
14405
|
+
can_edit?: boolean;
|
|
14406
|
+
can_view?: boolean;
|
|
14407
|
+
feature_id?: string;
|
|
14408
|
+
id?: string;
|
|
14409
|
+
module_id: string;
|
|
14410
|
+
role_id: string;
|
|
14411
|
+
updated_at?: string;
|
|
14412
|
+
};
|
|
14413
|
+
Update: {
|
|
14414
|
+
can_edit?: boolean;
|
|
14415
|
+
can_view?: boolean;
|
|
14416
|
+
feature_id?: string;
|
|
14417
|
+
id?: string;
|
|
14418
|
+
module_id?: string;
|
|
14419
|
+
role_id?: string;
|
|
14420
|
+
updated_at?: string;
|
|
14421
|
+
};
|
|
14422
|
+
Relationships: [{
|
|
14423
|
+
foreignKeyName: "role_permissions_role_id_fkey";
|
|
14424
|
+
columns: ["role_id"];
|
|
14425
|
+
isOneToOne: false;
|
|
14426
|
+
referencedRelation: "roles";
|
|
14427
|
+
referencedColumns: ["id"];
|
|
14428
|
+
}];
|
|
14429
|
+
};
|
|
14430
|
+
roles: {
|
|
14431
|
+
Row: {
|
|
14432
|
+
created_at: string;
|
|
14433
|
+
id: string;
|
|
14434
|
+
is_protected: boolean;
|
|
14435
|
+
key: string;
|
|
14436
|
+
name: string;
|
|
14437
|
+
updated_at: string;
|
|
14438
|
+
};
|
|
14439
|
+
Insert: {
|
|
14440
|
+
created_at?: string;
|
|
14441
|
+
id?: string;
|
|
14442
|
+
is_protected?: boolean;
|
|
14443
|
+
key: string;
|
|
14444
|
+
name: string;
|
|
14445
|
+
updated_at?: string;
|
|
14446
|
+
};
|
|
14447
|
+
Update: {
|
|
14448
|
+
created_at?: string;
|
|
14449
|
+
id?: string;
|
|
14450
|
+
is_protected?: boolean;
|
|
14451
|
+
key?: string;
|
|
14452
|
+
name?: string;
|
|
14453
|
+
updated_at?: string;
|
|
14454
|
+
};
|
|
14455
|
+
Relationships: [];
|
|
14456
|
+
};
|
|
13879
14457
|
rooms: {
|
|
13880
14458
|
Row: {
|
|
13881
14459
|
capacity: number;
|
|
@@ -14545,101 +15123,254 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
14545
15123
|
};
|
|
14546
15124
|
Relationships: [];
|
|
14547
15125
|
};
|
|
14548
|
-
|
|
15126
|
+
time_compensation_entries: {
|
|
14549
15127
|
Row: {
|
|
14550
15128
|
created_at: string;
|
|
14551
15129
|
employee_id: string;
|
|
14552
15130
|
entry_date: string;
|
|
14553
|
-
hours: number;
|
|
14554
15131
|
id: string;
|
|
15132
|
+
km: number;
|
|
15133
|
+
meal_allowance: number;
|
|
14555
15134
|
notes: string | null;
|
|
14556
|
-
|
|
14557
|
-
|
|
15135
|
+
standby_evening: number;
|
|
15136
|
+
standby_weekend: number;
|
|
15137
|
+
tvt_change: number;
|
|
14558
15138
|
updated_at: string;
|
|
14559
15139
|
};
|
|
14560
15140
|
Insert: {
|
|
14561
15141
|
created_at?: string;
|
|
14562
15142
|
employee_id: string;
|
|
14563
15143
|
entry_date: string;
|
|
14564
|
-
hours?: number;
|
|
14565
15144
|
id?: string;
|
|
15145
|
+
km?: number;
|
|
15146
|
+
meal_allowance?: number;
|
|
14566
15147
|
notes?: string | null;
|
|
14567
|
-
|
|
14568
|
-
|
|
15148
|
+
standby_evening?: number;
|
|
15149
|
+
standby_weekend?: number;
|
|
15150
|
+
tvt_change?: number;
|
|
14569
15151
|
updated_at?: string;
|
|
14570
15152
|
};
|
|
14571
15153
|
Update: {
|
|
14572
15154
|
created_at?: string;
|
|
14573
15155
|
employee_id?: string;
|
|
14574
15156
|
entry_date?: string;
|
|
14575
|
-
hours?: number;
|
|
14576
15157
|
id?: string;
|
|
15158
|
+
km?: number;
|
|
15159
|
+
meal_allowance?: number;
|
|
14577
15160
|
notes?: string | null;
|
|
14578
|
-
|
|
14579
|
-
|
|
15161
|
+
standby_evening?: number;
|
|
15162
|
+
standby_weekend?: number;
|
|
15163
|
+
tvt_change?: number;
|
|
14580
15164
|
updated_at?: string;
|
|
14581
15165
|
};
|
|
14582
15166
|
Relationships: [{
|
|
14583
|
-
foreignKeyName: "
|
|
15167
|
+
foreignKeyName: "time_compensation_entries_employee_id_fkey";
|
|
14584
15168
|
columns: ["employee_id"];
|
|
14585
15169
|
isOneToOne: false;
|
|
14586
|
-
referencedRelation: "
|
|
15170
|
+
referencedRelation: "profiles";
|
|
14587
15171
|
referencedColumns: ["id"];
|
|
14588
15172
|
}];
|
|
14589
15173
|
};
|
|
14590
|
-
|
|
15174
|
+
time_entries: {
|
|
14591
15175
|
Row: {
|
|
14592
15176
|
created_at: string;
|
|
14593
15177
|
employee_id: string;
|
|
14594
|
-
|
|
15178
|
+
entry_date: string;
|
|
15179
|
+
hours: number;
|
|
14595
15180
|
id: string;
|
|
14596
15181
|
notes: string | null;
|
|
14597
|
-
|
|
14598
|
-
|
|
14599
|
-
regular_hours: number;
|
|
14600
|
-
start_time: string;
|
|
14601
|
-
travel_cost: number | null;
|
|
14602
|
-
travel_distance_km: number | null;
|
|
14603
|
-
type: string;
|
|
15182
|
+
overtime: number;
|
|
15183
|
+
undertime: number;
|
|
14604
15184
|
updated_at: string;
|
|
14605
15185
|
};
|
|
14606
15186
|
Insert: {
|
|
14607
15187
|
created_at?: string;
|
|
14608
15188
|
employee_id: string;
|
|
14609
|
-
|
|
15189
|
+
entry_date: string;
|
|
15190
|
+
hours?: number;
|
|
14610
15191
|
id?: string;
|
|
14611
15192
|
notes?: string | null;
|
|
14612
|
-
|
|
14613
|
-
|
|
14614
|
-
regular_hours?: number;
|
|
14615
|
-
start_time?: string;
|
|
14616
|
-
travel_cost?: number | null;
|
|
14617
|
-
travel_distance_km?: number | null;
|
|
14618
|
-
type: string;
|
|
15193
|
+
overtime?: number;
|
|
15194
|
+
undertime?: number;
|
|
14619
15195
|
updated_at?: string;
|
|
14620
15196
|
};
|
|
14621
15197
|
Update: {
|
|
14622
15198
|
created_at?: string;
|
|
14623
15199
|
employee_id?: string;
|
|
14624
|
-
|
|
15200
|
+
entry_date?: string;
|
|
15201
|
+
hours?: number;
|
|
14625
15202
|
id?: string;
|
|
14626
15203
|
notes?: string | null;
|
|
14627
|
-
|
|
14628
|
-
|
|
14629
|
-
regular_hours?: number;
|
|
14630
|
-
start_time?: string;
|
|
14631
|
-
travel_cost?: number | null;
|
|
14632
|
-
travel_distance_km?: number | null;
|
|
14633
|
-
type?: string;
|
|
15204
|
+
overtime?: number;
|
|
15205
|
+
undertime?: number;
|
|
14634
15206
|
updated_at?: string;
|
|
14635
15207
|
};
|
|
14636
|
-
Relationships: [
|
|
14637
|
-
|
|
14638
|
-
|
|
14639
|
-
|
|
14640
|
-
|
|
14641
|
-
|
|
14642
|
-
|
|
15208
|
+
Relationships: [];
|
|
15209
|
+
};
|
|
15210
|
+
time_log_week_approvals: {
|
|
15211
|
+
Row: {
|
|
15212
|
+
approved_at: string | null;
|
|
15213
|
+
approved_by: string | null;
|
|
15214
|
+
created_at: string;
|
|
15215
|
+
employee_id: string;
|
|
15216
|
+
id: string;
|
|
15217
|
+
locked: boolean;
|
|
15218
|
+
notes: string | null;
|
|
15219
|
+
status: string;
|
|
15220
|
+
submitted_at: string | null;
|
|
15221
|
+
updated_at: string;
|
|
15222
|
+
week_start: string;
|
|
15223
|
+
};
|
|
15224
|
+
Insert: {
|
|
15225
|
+
approved_at?: string | null;
|
|
15226
|
+
approved_by?: string | null;
|
|
15227
|
+
created_at?: string;
|
|
15228
|
+
employee_id: string;
|
|
15229
|
+
id?: string;
|
|
15230
|
+
locked?: boolean;
|
|
15231
|
+
notes?: string | null;
|
|
15232
|
+
status?: string;
|
|
15233
|
+
submitted_at?: string | null;
|
|
15234
|
+
updated_at?: string;
|
|
15235
|
+
week_start: string;
|
|
15236
|
+
};
|
|
15237
|
+
Update: {
|
|
15238
|
+
approved_at?: string | null;
|
|
15239
|
+
approved_by?: string | null;
|
|
15240
|
+
created_at?: string;
|
|
15241
|
+
employee_id?: string;
|
|
15242
|
+
id?: string;
|
|
15243
|
+
locked?: boolean;
|
|
15244
|
+
notes?: string | null;
|
|
15245
|
+
status?: string;
|
|
15246
|
+
submitted_at?: string | null;
|
|
15247
|
+
updated_at?: string;
|
|
15248
|
+
week_start?: string;
|
|
15249
|
+
};
|
|
15250
|
+
Relationships: [{
|
|
15251
|
+
foreignKeyName: "time_log_week_approvals_employee_id_fkey";
|
|
15252
|
+
columns: ["employee_id"];
|
|
15253
|
+
isOneToOne: false;
|
|
15254
|
+
referencedRelation: "profiles";
|
|
15255
|
+
referencedColumns: ["id"];
|
|
15256
|
+
}];
|
|
15257
|
+
};
|
|
15258
|
+
time_logs: {
|
|
15259
|
+
Row: {
|
|
15260
|
+
auto_stop_reason: string | null;
|
|
15261
|
+
auto_stopped: boolean;
|
|
15262
|
+
created_at: string;
|
|
15263
|
+
current_latitude: number | null;
|
|
15264
|
+
current_longitude: number | null;
|
|
15265
|
+
current_position_updated_at: string | null;
|
|
15266
|
+
employee_id: string;
|
|
15267
|
+
end_latitude: number | null;
|
|
15268
|
+
end_longitude: number | null;
|
|
15269
|
+
end_time: string | null;
|
|
15270
|
+
eta_distance_km: number | null;
|
|
15271
|
+
eta_minutes: number | null;
|
|
15272
|
+
eta_updated_at: string | null;
|
|
15273
|
+
hour_category: string | null;
|
|
15274
|
+
id: string;
|
|
15275
|
+
last_reminder_at: string | null;
|
|
15276
|
+
notes: string | null;
|
|
15277
|
+
overtime_hours: number;
|
|
15278
|
+
overtime_type: string | null;
|
|
15279
|
+
regular_hours: number;
|
|
15280
|
+
reminder_count: number;
|
|
15281
|
+
requires_review: boolean;
|
|
15282
|
+
start_latitude: number | null;
|
|
15283
|
+
start_longitude: number | null;
|
|
15284
|
+
start_time: string;
|
|
15285
|
+
travel_cost: number | null;
|
|
15286
|
+
travel_distance_km: number | null;
|
|
15287
|
+
travel_duration_min: number | null;
|
|
15288
|
+
travel_time_minutes: number | null;
|
|
15289
|
+
type: string;
|
|
15290
|
+
updated_at: string;
|
|
15291
|
+
work_order_id: string | null;
|
|
15292
|
+
};
|
|
15293
|
+
Insert: {
|
|
15294
|
+
auto_stop_reason?: string | null;
|
|
15295
|
+
auto_stopped?: boolean;
|
|
15296
|
+
created_at?: string;
|
|
15297
|
+
current_latitude?: number | null;
|
|
15298
|
+
current_longitude?: number | null;
|
|
15299
|
+
current_position_updated_at?: string | null;
|
|
15300
|
+
employee_id: string;
|
|
15301
|
+
end_latitude?: number | null;
|
|
15302
|
+
end_longitude?: number | null;
|
|
15303
|
+
end_time?: string | null;
|
|
15304
|
+
eta_distance_km?: number | null;
|
|
15305
|
+
eta_minutes?: number | null;
|
|
15306
|
+
eta_updated_at?: string | null;
|
|
15307
|
+
hour_category?: string | null;
|
|
15308
|
+
id?: string;
|
|
15309
|
+
last_reminder_at?: string | null;
|
|
15310
|
+
notes?: string | null;
|
|
15311
|
+
overtime_hours?: number;
|
|
15312
|
+
overtime_type?: string | null;
|
|
15313
|
+
regular_hours?: number;
|
|
15314
|
+
reminder_count?: number;
|
|
15315
|
+
requires_review?: boolean;
|
|
15316
|
+
start_latitude?: number | null;
|
|
15317
|
+
start_longitude?: number | null;
|
|
15318
|
+
start_time?: string;
|
|
15319
|
+
travel_cost?: number | null;
|
|
15320
|
+
travel_distance_km?: number | null;
|
|
15321
|
+
travel_duration_min?: number | null;
|
|
15322
|
+
travel_time_minutes?: number | null;
|
|
15323
|
+
type: string;
|
|
15324
|
+
updated_at?: string;
|
|
15325
|
+
work_order_id?: string | null;
|
|
15326
|
+
};
|
|
15327
|
+
Update: {
|
|
15328
|
+
auto_stop_reason?: string | null;
|
|
15329
|
+
auto_stopped?: boolean;
|
|
15330
|
+
created_at?: string;
|
|
15331
|
+
current_latitude?: number | null;
|
|
15332
|
+
current_longitude?: number | null;
|
|
15333
|
+
current_position_updated_at?: string | null;
|
|
15334
|
+
employee_id?: string;
|
|
15335
|
+
end_latitude?: number | null;
|
|
15336
|
+
end_longitude?: number | null;
|
|
15337
|
+
end_time?: string | null;
|
|
15338
|
+
eta_distance_km?: number | null;
|
|
15339
|
+
eta_minutes?: number | null;
|
|
15340
|
+
eta_updated_at?: string | null;
|
|
15341
|
+
hour_category?: string | null;
|
|
15342
|
+
id?: string;
|
|
15343
|
+
last_reminder_at?: string | null;
|
|
15344
|
+
notes?: string | null;
|
|
15345
|
+
overtime_hours?: number;
|
|
15346
|
+
overtime_type?: string | null;
|
|
15347
|
+
regular_hours?: number;
|
|
15348
|
+
reminder_count?: number;
|
|
15349
|
+
requires_review?: boolean;
|
|
15350
|
+
start_latitude?: number | null;
|
|
15351
|
+
start_longitude?: number | null;
|
|
15352
|
+
start_time?: string;
|
|
15353
|
+
travel_cost?: number | null;
|
|
15354
|
+
travel_distance_km?: number | null;
|
|
15355
|
+
travel_duration_min?: number | null;
|
|
15356
|
+
travel_time_minutes?: number | null;
|
|
15357
|
+
type?: string;
|
|
15358
|
+
updated_at?: string;
|
|
15359
|
+
work_order_id?: string | null;
|
|
15360
|
+
};
|
|
15361
|
+
Relationships: [{
|
|
15362
|
+
foreignKeyName: "time_logs_employee_id_fkey";
|
|
15363
|
+
columns: ["employee_id"];
|
|
15364
|
+
isOneToOne: false;
|
|
15365
|
+
referencedRelation: "profiles";
|
|
15366
|
+
referencedColumns: ["id"];
|
|
15367
|
+
}, {
|
|
15368
|
+
foreignKeyName: "time_logs_work_order_id_fkey";
|
|
15369
|
+
columns: ["work_order_id"];
|
|
15370
|
+
isOneToOne: false;
|
|
15371
|
+
referencedRelation: "work_orders";
|
|
15372
|
+
referencedColumns: ["id"];
|
|
15373
|
+
}];
|
|
14643
15374
|
};
|
|
14644
15375
|
time_off_entries: {
|
|
14645
15376
|
Row: {
|
|
@@ -14676,7 +15407,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
14676
15407
|
foreignKeyName: "time_off_entries_employee_id_fkey";
|
|
14677
15408
|
columns: ["employee_id"];
|
|
14678
15409
|
isOneToOne: false;
|
|
14679
|
-
referencedRelation: "
|
|
15410
|
+
referencedRelation: "profiles";
|
|
14680
15411
|
referencedColumns: ["id"];
|
|
14681
15412
|
}];
|
|
14682
15413
|
};
|
|
@@ -14986,6 +15717,39 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
14986
15717
|
};
|
|
14987
15718
|
Relationships: [];
|
|
14988
15719
|
};
|
|
15720
|
+
twinfield_cron_locks: {
|
|
15721
|
+
Row: {
|
|
15722
|
+
created_at: string;
|
|
15723
|
+
heartbeat_at: string;
|
|
15724
|
+
job_name: string;
|
|
15725
|
+
last_error: string | null;
|
|
15726
|
+
last_finished_at: string | null;
|
|
15727
|
+
locked_at: string;
|
|
15728
|
+
run_id: string;
|
|
15729
|
+
updated_at: string;
|
|
15730
|
+
};
|
|
15731
|
+
Insert: {
|
|
15732
|
+
created_at?: string;
|
|
15733
|
+
heartbeat_at?: string;
|
|
15734
|
+
job_name: string;
|
|
15735
|
+
last_error?: string | null;
|
|
15736
|
+
last_finished_at?: string | null;
|
|
15737
|
+
locked_at?: string;
|
|
15738
|
+
run_id?: string;
|
|
15739
|
+
updated_at?: string;
|
|
15740
|
+
};
|
|
15741
|
+
Update: {
|
|
15742
|
+
created_at?: string;
|
|
15743
|
+
heartbeat_at?: string;
|
|
15744
|
+
job_name?: string;
|
|
15745
|
+
last_error?: string | null;
|
|
15746
|
+
last_finished_at?: string | null;
|
|
15747
|
+
locked_at?: string;
|
|
15748
|
+
run_id?: string;
|
|
15749
|
+
updated_at?: string;
|
|
15750
|
+
};
|
|
15751
|
+
Relationships: [];
|
|
15752
|
+
};
|
|
14989
15753
|
twinfield_customers: {
|
|
14990
15754
|
Row: {
|
|
14991
15755
|
address: string | null;
|
|
@@ -15240,6 +16004,8 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
15240
16004
|
};
|
|
15241
16005
|
twinfield_invoice_settings: {
|
|
15242
16006
|
Row: {
|
|
16007
|
+
auto_invoice_enabled: boolean;
|
|
16008
|
+
auto_invoice_trigger_statuses: string[];
|
|
15243
16009
|
created_at: string;
|
|
15244
16010
|
debtor_gl_account: string;
|
|
15245
16011
|
default_credit_invoice_type: string | null;
|
|
@@ -15260,6 +16026,8 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
15260
16026
|
vat_code_export: string | null;
|
|
15261
16027
|
};
|
|
15262
16028
|
Insert: {
|
|
16029
|
+
auto_invoice_enabled?: boolean;
|
|
16030
|
+
auto_invoice_trigger_statuses?: string[];
|
|
15263
16031
|
created_at?: string;
|
|
15264
16032
|
debtor_gl_account?: string;
|
|
15265
16033
|
default_credit_invoice_type?: string | null;
|
|
@@ -15280,6 +16048,8 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
15280
16048
|
vat_code_export?: string | null;
|
|
15281
16049
|
};
|
|
15282
16050
|
Update: {
|
|
16051
|
+
auto_invoice_enabled?: boolean;
|
|
16052
|
+
auto_invoice_trigger_statuses?: string[];
|
|
15283
16053
|
created_at?: string;
|
|
15284
16054
|
debtor_gl_account?: string;
|
|
15285
16055
|
default_credit_invoice_type?: string | null;
|
|
@@ -15580,6 +16350,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
15580
16350
|
twinfield_push_queue: {
|
|
15581
16351
|
Row: {
|
|
15582
16352
|
action: string;
|
|
16353
|
+
attempt_started_at: string | null;
|
|
15583
16354
|
attempts: number;
|
|
15584
16355
|
connection_id: string | null;
|
|
15585
16356
|
created_at: string;
|
|
@@ -15596,6 +16367,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
15596
16367
|
};
|
|
15597
16368
|
Insert: {
|
|
15598
16369
|
action?: string;
|
|
16370
|
+
attempt_started_at?: string | null;
|
|
15599
16371
|
attempts?: number;
|
|
15600
16372
|
connection_id?: string | null;
|
|
15601
16373
|
created_at?: string;
|
|
@@ -15612,6 +16384,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
15612
16384
|
};
|
|
15613
16385
|
Update: {
|
|
15614
16386
|
action?: string;
|
|
16387
|
+
attempt_started_at?: string | null;
|
|
15615
16388
|
attempts?: number;
|
|
15616
16389
|
connection_id?: string | null;
|
|
15617
16390
|
created_at?: string;
|
|
@@ -15809,13 +16582,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
15809
16582
|
workday_end?: string | null;
|
|
15810
16583
|
workday_start?: string | null;
|
|
15811
16584
|
};
|
|
15812
|
-
Relationships: [
|
|
15813
|
-
foreignKeyName: "uren_cao_profiles_monteur_id_fkey";
|
|
15814
|
-
columns: ["monteur_id"];
|
|
15815
|
-
isOneToOne: true;
|
|
15816
|
-
referencedRelation: "monteurs";
|
|
15817
|
-
referencedColumns: ["id"];
|
|
15818
|
-
}];
|
|
16585
|
+
Relationships: [];
|
|
15819
16586
|
};
|
|
15820
16587
|
uren_entries: {
|
|
15821
16588
|
Row: {
|
|
@@ -15861,12 +16628,6 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
15861
16628
|
werkbon_id?: string | null;
|
|
15862
16629
|
};
|
|
15863
16630
|
Relationships: [{
|
|
15864
|
-
foreignKeyName: "uren_entries_monteur_id_fkey";
|
|
15865
|
-
columns: ["monteur_id"];
|
|
15866
|
-
isOneToOne: false;
|
|
15867
|
-
referencedRelation: "monteurs";
|
|
15868
|
-
referencedColumns: ["id"];
|
|
15869
|
-
}, {
|
|
15870
16631
|
foreignKeyName: "uren_entries_werkbon_id_fkey";
|
|
15871
16632
|
columns: ["werkbon_id"];
|
|
15872
16633
|
isOneToOne: false;
|
|
@@ -16334,13 +17095,37 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
16334
17095
|
submitted_at?: string | null;
|
|
16335
17096
|
updated_at?: string;
|
|
16336
17097
|
};
|
|
16337
|
-
Relationships: [
|
|
16338
|
-
|
|
16339
|
-
|
|
16340
|
-
|
|
16341
|
-
|
|
16342
|
-
|
|
16343
|
-
|
|
17098
|
+
Relationships: [];
|
|
17099
|
+
};
|
|
17100
|
+
user_module_permissions: {
|
|
17101
|
+
Row: {
|
|
17102
|
+
created_at: string;
|
|
17103
|
+
feature_id: string;
|
|
17104
|
+
id: string;
|
|
17105
|
+
module_id: string;
|
|
17106
|
+
permission: string;
|
|
17107
|
+
updated_at: string;
|
|
17108
|
+
user_id: string;
|
|
17109
|
+
};
|
|
17110
|
+
Insert: {
|
|
17111
|
+
created_at?: string;
|
|
17112
|
+
feature_id?: string;
|
|
17113
|
+
id?: string;
|
|
17114
|
+
module_id: string;
|
|
17115
|
+
permission: string;
|
|
17116
|
+
updated_at?: string;
|
|
17117
|
+
user_id: string;
|
|
17118
|
+
};
|
|
17119
|
+
Update: {
|
|
17120
|
+
created_at?: string;
|
|
17121
|
+
feature_id?: string;
|
|
17122
|
+
id?: string;
|
|
17123
|
+
module_id?: string;
|
|
17124
|
+
permission?: string;
|
|
17125
|
+
updated_at?: string;
|
|
17126
|
+
user_id?: string;
|
|
17127
|
+
};
|
|
17128
|
+
Relationships: [];
|
|
16344
17129
|
};
|
|
16345
17130
|
user_roles: {
|
|
16346
17131
|
Row: {
|
|
@@ -16369,6 +17154,51 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
16369
17154
|
referencedColumns: ["id"];
|
|
16370
17155
|
}];
|
|
16371
17156
|
};
|
|
17157
|
+
van_inventories: {
|
|
17158
|
+
Row: {
|
|
17159
|
+
barcode: string | null;
|
|
17160
|
+
created_at: string;
|
|
17161
|
+
id: string;
|
|
17162
|
+
monteur_id: string | null;
|
|
17163
|
+
price_per_unit: number;
|
|
17164
|
+
product_name: string;
|
|
17165
|
+
quantity_current: number;
|
|
17166
|
+
quantity_min: number;
|
|
17167
|
+
unit: string;
|
|
17168
|
+
updated_at: string;
|
|
17169
|
+
};
|
|
17170
|
+
Insert: {
|
|
17171
|
+
barcode?: string | null;
|
|
17172
|
+
created_at?: string;
|
|
17173
|
+
id?: string;
|
|
17174
|
+
monteur_id?: string | null;
|
|
17175
|
+
price_per_unit?: number;
|
|
17176
|
+
product_name: string;
|
|
17177
|
+
quantity_current?: number;
|
|
17178
|
+
quantity_min?: number;
|
|
17179
|
+
unit?: string;
|
|
17180
|
+
updated_at?: string;
|
|
17181
|
+
};
|
|
17182
|
+
Update: {
|
|
17183
|
+
barcode?: string | null;
|
|
17184
|
+
created_at?: string;
|
|
17185
|
+
id?: string;
|
|
17186
|
+
monteur_id?: string | null;
|
|
17187
|
+
price_per_unit?: number;
|
|
17188
|
+
product_name?: string;
|
|
17189
|
+
quantity_current?: number;
|
|
17190
|
+
quantity_min?: number;
|
|
17191
|
+
unit?: string;
|
|
17192
|
+
updated_at?: string;
|
|
17193
|
+
};
|
|
17194
|
+
Relationships: [{
|
|
17195
|
+
foreignKeyName: "van_inventories_monteur_id_fkey";
|
|
17196
|
+
columns: ["monteur_id"];
|
|
17197
|
+
isOneToOne: false;
|
|
17198
|
+
referencedRelation: "profiles";
|
|
17199
|
+
referencedColumns: ["id"];
|
|
17200
|
+
}];
|
|
17201
|
+
};
|
|
16372
17202
|
voorraad_custom_fields: {
|
|
16373
17203
|
Row: {
|
|
16374
17204
|
created_at: string;
|
|
@@ -17319,7 +18149,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
17319
18149
|
foreignKeyName: "work_order_monteurs_monteur_id_fkey";
|
|
17320
18150
|
columns: ["monteur_id"];
|
|
17321
18151
|
isOneToOne: false;
|
|
17322
|
-
referencedRelation: "
|
|
18152
|
+
referencedRelation: "profiles";
|
|
17323
18153
|
referencedColumns: ["id"];
|
|
17324
18154
|
}, {
|
|
17325
18155
|
foreignKeyName: "work_order_monteurs_work_order_id_fkey";
|
|
@@ -17329,6 +18159,60 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
17329
18159
|
referencedColumns: ["id"];
|
|
17330
18160
|
}];
|
|
17331
18161
|
};
|
|
18162
|
+
work_order_photos: {
|
|
18163
|
+
Row: {
|
|
18164
|
+
ai_caption: string | null;
|
|
18165
|
+
ai_categorized_at: string | null;
|
|
18166
|
+
ai_labels: import("../integrations/supabase/types").Json | null;
|
|
18167
|
+
caption: string | null;
|
|
18168
|
+
created_at: string;
|
|
18169
|
+
id: string;
|
|
18170
|
+
monteur_id: string | null;
|
|
18171
|
+
photo_type: string;
|
|
18172
|
+
storage_path: string;
|
|
18173
|
+
updated_at: string;
|
|
18174
|
+
work_order_id: string;
|
|
18175
|
+
};
|
|
18176
|
+
Insert: {
|
|
18177
|
+
ai_caption?: string | null;
|
|
18178
|
+
ai_categorized_at?: string | null;
|
|
18179
|
+
ai_labels?: import("../integrations/supabase/types").Json | null;
|
|
18180
|
+
caption?: string | null;
|
|
18181
|
+
created_at?: string;
|
|
18182
|
+
id?: string;
|
|
18183
|
+
monteur_id?: string | null;
|
|
18184
|
+
photo_type?: string;
|
|
18185
|
+
storage_path: string;
|
|
18186
|
+
updated_at?: string;
|
|
18187
|
+
work_order_id: string;
|
|
18188
|
+
};
|
|
18189
|
+
Update: {
|
|
18190
|
+
ai_caption?: string | null;
|
|
18191
|
+
ai_categorized_at?: string | null;
|
|
18192
|
+
ai_labels?: import("../integrations/supabase/types").Json | null;
|
|
18193
|
+
caption?: string | null;
|
|
18194
|
+
created_at?: string;
|
|
18195
|
+
id?: string;
|
|
18196
|
+
monteur_id?: string | null;
|
|
18197
|
+
photo_type?: string;
|
|
18198
|
+
storage_path?: string;
|
|
18199
|
+
updated_at?: string;
|
|
18200
|
+
work_order_id?: string;
|
|
18201
|
+
};
|
|
18202
|
+
Relationships: [{
|
|
18203
|
+
foreignKeyName: "work_order_photos_monteur_id_fkey";
|
|
18204
|
+
columns: ["monteur_id"];
|
|
18205
|
+
isOneToOne: false;
|
|
18206
|
+
referencedRelation: "profiles";
|
|
18207
|
+
referencedColumns: ["id"];
|
|
18208
|
+
}, {
|
|
18209
|
+
foreignKeyName: "work_order_photos_work_order_id_fkey";
|
|
18210
|
+
columns: ["work_order_id"];
|
|
18211
|
+
isOneToOne: false;
|
|
18212
|
+
referencedRelation: "work_orders";
|
|
18213
|
+
referencedColumns: ["id"];
|
|
18214
|
+
}];
|
|
18215
|
+
};
|
|
17332
18216
|
work_orders: {
|
|
17333
18217
|
Row: {
|
|
17334
18218
|
assigned_to: string | null;
|
|
@@ -17360,7 +18244,6 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
17360
18244
|
scheduled_end_time: string | null;
|
|
17361
18245
|
scheduled_start_time: string | null;
|
|
17362
18246
|
status: string;
|
|
17363
|
-
tenant_id: string;
|
|
17364
18247
|
total_hours_worked: number | null;
|
|
17365
18248
|
total_price: number | null;
|
|
17366
18249
|
travel_time_minutes: number | null;
|
|
@@ -17398,7 +18281,6 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
17398
18281
|
scheduled_end_time?: string | null;
|
|
17399
18282
|
scheduled_start_time?: string | null;
|
|
17400
18283
|
status?: string;
|
|
17401
|
-
tenant_id: string;
|
|
17402
18284
|
total_hours_worked?: number | null;
|
|
17403
18285
|
total_price?: number | null;
|
|
17404
18286
|
travel_time_minutes?: number | null;
|
|
@@ -17436,7 +18318,6 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
17436
18318
|
scheduled_end_time?: string | null;
|
|
17437
18319
|
scheduled_start_time?: string | null;
|
|
17438
18320
|
status?: string;
|
|
17439
|
-
tenant_id?: string;
|
|
17440
18321
|
total_hours_worked?: number | null;
|
|
17441
18322
|
total_price?: number | null;
|
|
17442
18323
|
travel_time_minutes?: number | null;
|
|
@@ -17450,12 +18331,6 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
17450
18331
|
isOneToOne: false;
|
|
17451
18332
|
referencedRelation: "work_orders";
|
|
17452
18333
|
referencedColumns: ["id"];
|
|
17453
|
-
}, {
|
|
17454
|
-
foreignKeyName: "work_orders_tenant_id_fkey";
|
|
17455
|
-
columns: ["tenant_id"];
|
|
17456
|
-
isOneToOne: false;
|
|
17457
|
-
referencedRelation: "tenants";
|
|
17458
|
-
referencedColumns: ["id"];
|
|
17459
18334
|
}];
|
|
17460
18335
|
};
|
|
17461
18336
|
};
|
|
@@ -18175,6 +19050,10 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
18175
19050
|
processed_items: number;
|
|
18176
19051
|
}[];
|
|
18177
19052
|
};
|
|
19053
|
+
backfill_order_auto_invoice_queue: {
|
|
19054
|
+
Args: never;
|
|
19055
|
+
Returns: number;
|
|
19056
|
+
};
|
|
18178
19057
|
calculate_layer_stock: {
|
|
18179
19058
|
Args: {
|
|
18180
19059
|
p_product_id: string;
|
|
@@ -18187,6 +19066,10 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
18187
19066
|
};
|
|
18188
19067
|
Returns: number;
|
|
18189
19068
|
};
|
|
19069
|
+
can_manage_hours: {
|
|
19070
|
+
Args: never;
|
|
19071
|
+
Returns: boolean;
|
|
19072
|
+
};
|
|
18190
19073
|
check_offer_product_available_stock: {
|
|
18191
19074
|
Args: {
|
|
18192
19075
|
p_campaign_product_id: string;
|
|
@@ -18209,6 +19092,46 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
18209
19092
|
};
|
|
18210
19093
|
Returns: import("../integrations/supabase/types").Json;
|
|
18211
19094
|
};
|
|
19095
|
+
claim_cloud_print_jobs: {
|
|
19096
|
+
Args: {
|
|
19097
|
+
_max?: number;
|
|
19098
|
+
};
|
|
19099
|
+
Returns: {
|
|
19100
|
+
agent_id: string | null;
|
|
19101
|
+
bron_job_id: string | null;
|
|
19102
|
+
created_at: string;
|
|
19103
|
+
documentnaam: string;
|
|
19104
|
+
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
19105
|
+
extern_job_id: string | null;
|
|
19106
|
+
foutmelding: string | null;
|
|
19107
|
+
gebruiker_id: string | null;
|
|
19108
|
+
gebruiker_naam: string;
|
|
19109
|
+
gestart_op: string | null;
|
|
19110
|
+
id: string;
|
|
19111
|
+
idempotentie_sleutel: string | null;
|
|
19112
|
+
is_herprint: boolean;
|
|
19113
|
+
kopieen: number;
|
|
19114
|
+
layout_id: string | null;
|
|
19115
|
+
opgepakt_op: string | null;
|
|
19116
|
+
paginas: number;
|
|
19117
|
+
payload: import("../integrations/supabase/types").Json;
|
|
19118
|
+
pdf_base64: string | null;
|
|
19119
|
+
pdf_url: string | null;
|
|
19120
|
+
pogingen: number;
|
|
19121
|
+
printer_id: string | null;
|
|
19122
|
+
render_html: string | null;
|
|
19123
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
19124
|
+
updated_at: string;
|
|
19125
|
+
volgende_poging: string | null;
|
|
19126
|
+
voltooid_op: string | null;
|
|
19127
|
+
}[];
|
|
19128
|
+
SetofOptions: {
|
|
19129
|
+
from: "*";
|
|
19130
|
+
to: "print_jobs";
|
|
19131
|
+
isOneToOne: false;
|
|
19132
|
+
isSetofReturn: true;
|
|
19133
|
+
};
|
|
19134
|
+
};
|
|
18212
19135
|
claim_floriday_stock_queue: {
|
|
18213
19136
|
Args: {
|
|
18214
19137
|
p_limit?: number;
|
|
@@ -18299,22 +19222,27 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
18299
19222
|
created_at: string;
|
|
18300
19223
|
documentnaam: string;
|
|
18301
19224
|
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
19225
|
+
extern_job_id: string | null;
|
|
18302
19226
|
foutmelding: string | null;
|
|
18303
19227
|
gebruiker_id: string | null;
|
|
18304
19228
|
gebruiker_naam: string;
|
|
18305
19229
|
gestart_op: string | null;
|
|
18306
19230
|
id: string;
|
|
19231
|
+
idempotentie_sleutel: string | null;
|
|
18307
19232
|
is_herprint: boolean;
|
|
18308
19233
|
kopieen: number;
|
|
18309
19234
|
layout_id: string | null;
|
|
18310
19235
|
opgepakt_op: string | null;
|
|
18311
19236
|
paginas: number;
|
|
18312
19237
|
payload: import("../integrations/supabase/types").Json;
|
|
19238
|
+
pdf_base64: string | null;
|
|
19239
|
+
pdf_url: string | null;
|
|
18313
19240
|
pogingen: number;
|
|
18314
19241
|
printer_id: string | null;
|
|
18315
19242
|
render_html: string | null;
|
|
18316
19243
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
18317
19244
|
updated_at: string;
|
|
19245
|
+
volgende_poging: string | null;
|
|
18318
19246
|
voltooid_op: string | null;
|
|
18319
19247
|
}[];
|
|
18320
19248
|
SetofOptions: {
|
|
@@ -18331,6 +19259,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
18331
19259
|
};
|
|
18332
19260
|
Returns: {
|
|
18333
19261
|
action: string;
|
|
19262
|
+
attempt_started_at: string | null;
|
|
18334
19263
|
attempts: number;
|
|
18335
19264
|
connection_id: string | null;
|
|
18336
19265
|
created_at: string;
|
|
@@ -18360,6 +19289,10 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
18360
19289
|
Args: never;
|
|
18361
19290
|
Returns: undefined;
|
|
18362
19291
|
};
|
|
19292
|
+
cleanup_voorraad_module_history: {
|
|
19293
|
+
Args: never;
|
|
19294
|
+
Returns: undefined;
|
|
19295
|
+
};
|
|
18363
19296
|
complete_floriday_stock_queue: {
|
|
18364
19297
|
Args: {
|
|
18365
19298
|
p_attempt_id?: string;
|
|
@@ -18414,6 +19347,30 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
18414
19347
|
agent_naam: string;
|
|
18415
19348
|
}[];
|
|
18416
19349
|
};
|
|
19350
|
+
consume_van_inventory: {
|
|
19351
|
+
Args: {
|
|
19352
|
+
p_inventory_id: string;
|
|
19353
|
+
p_quantity: number;
|
|
19354
|
+
};
|
|
19355
|
+
Returns: {
|
|
19356
|
+
barcode: string | null;
|
|
19357
|
+
created_at: string;
|
|
19358
|
+
id: string;
|
|
19359
|
+
monteur_id: string | null;
|
|
19360
|
+
price_per_unit: number;
|
|
19361
|
+
product_name: string;
|
|
19362
|
+
quantity_current: number;
|
|
19363
|
+
quantity_min: number;
|
|
19364
|
+
unit: string;
|
|
19365
|
+
updated_at: string;
|
|
19366
|
+
};
|
|
19367
|
+
SetofOptions: {
|
|
19368
|
+
from: "*";
|
|
19369
|
+
to: "van_inventories";
|
|
19370
|
+
isOneToOne: true;
|
|
19371
|
+
isSetofReturn: false;
|
|
19372
|
+
};
|
|
19373
|
+
};
|
|
18417
19374
|
control_get_todays_carts: {
|
|
18418
19375
|
Args: never;
|
|
18419
19376
|
Returns: {
|
|
@@ -18481,6 +19438,20 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
18481
19438
|
};
|
|
18482
19439
|
Returns: import("../integrations/supabase/types").Json;
|
|
18483
19440
|
};
|
|
19441
|
+
effective_module_permission: {
|
|
19442
|
+
Args: {
|
|
19443
|
+
_module_id: string;
|
|
19444
|
+
_user_id: string;
|
|
19445
|
+
};
|
|
19446
|
+
Returns: string;
|
|
19447
|
+
} | {
|
|
19448
|
+
Args: {
|
|
19449
|
+
_feature_id?: string;
|
|
19450
|
+
_module_id: string;
|
|
19451
|
+
_user_id: string;
|
|
19452
|
+
};
|
|
19453
|
+
Returns: string;
|
|
19454
|
+
};
|
|
18484
19455
|
email_auth_decrypt: {
|
|
18485
19456
|
Args: {
|
|
18486
19457
|
cipher: string;
|
|
@@ -18831,12 +19802,6 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
18831
19802
|
Args: never;
|
|
18832
19803
|
Returns: string;
|
|
18833
19804
|
};
|
|
18834
|
-
get_work_order_tenant_id: {
|
|
18835
|
-
Args: {
|
|
18836
|
-
wo_id: string;
|
|
18837
|
-
};
|
|
18838
|
-
Returns: string;
|
|
18839
|
-
};
|
|
18840
19805
|
has_module_permission: {
|
|
18841
19806
|
Args: {
|
|
18842
19807
|
_min: string;
|
|
@@ -18870,6 +19835,13 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
18870
19835
|
};
|
|
18871
19836
|
Returns: boolean;
|
|
18872
19837
|
};
|
|
19838
|
+
is_time_log_week_locked: {
|
|
19839
|
+
Args: {
|
|
19840
|
+
p_employee_id: string;
|
|
19841
|
+
p_start_time: string;
|
|
19842
|
+
};
|
|
19843
|
+
Returns: boolean;
|
|
19844
|
+
};
|
|
18873
19845
|
is_user_admin: {
|
|
18874
19846
|
Args: never;
|
|
18875
19847
|
Returns: boolean;
|
|
@@ -18884,13 +19856,14 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
18884
19856
|
};
|
|
18885
19857
|
Returns: boolean;
|
|
18886
19858
|
};
|
|
18887
|
-
|
|
19859
|
+
list_medewerkers: {
|
|
18888
19860
|
Args: never;
|
|
18889
19861
|
Returns: {
|
|
18890
19862
|
avatar_url: string;
|
|
18891
19863
|
display_name: string;
|
|
18892
19864
|
email: string;
|
|
18893
19865
|
id: string;
|
|
19866
|
+
roles: string[];
|
|
18894
19867
|
}[];
|
|
18895
19868
|
};
|
|
18896
19869
|
list_my_planning_items: {
|
|
@@ -19284,6 +20257,51 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
19284
20257
|
isSetofReturn: false;
|
|
19285
20258
|
};
|
|
19286
20259
|
};
|
|
20260
|
+
logistics_floriday_claim_pushes: {
|
|
20261
|
+
Args: {
|
|
20262
|
+
_lease_seconds?: number;
|
|
20263
|
+
_limit?: number;
|
|
20264
|
+
_worker?: string;
|
|
20265
|
+
};
|
|
20266
|
+
Returns: {
|
|
20267
|
+
attempts: number;
|
|
20268
|
+
fulfillment_order_id: string;
|
|
20269
|
+
id: string;
|
|
20270
|
+
last_sent_hash: string;
|
|
20271
|
+
order_ref: string;
|
|
20272
|
+
payload: import("../integrations/supabase/types").Json;
|
|
20273
|
+
payload_hash: string;
|
|
20274
|
+
revision: number;
|
|
20275
|
+
}[];
|
|
20276
|
+
};
|
|
20277
|
+
logistics_floriday_finish_push: {
|
|
20278
|
+
Args: {
|
|
20279
|
+
_error?: string;
|
|
20280
|
+
_fulfillment_order_id?: string;
|
|
20281
|
+
_id: string;
|
|
20282
|
+
_max_age_hours?: number;
|
|
20283
|
+
_max_attempts?: number;
|
|
20284
|
+
_ok: boolean;
|
|
20285
|
+
_permanent?: boolean;
|
|
20286
|
+
_revision: number;
|
|
20287
|
+
_sent_hash?: string;
|
|
20288
|
+
};
|
|
20289
|
+
Returns: string;
|
|
20290
|
+
};
|
|
20291
|
+
logistics_floriday_prune_pushes: {
|
|
20292
|
+
Args: {
|
|
20293
|
+
_days?: number;
|
|
20294
|
+
};
|
|
20295
|
+
Returns: number;
|
|
20296
|
+
};
|
|
20297
|
+
logistics_floriday_queue_push: {
|
|
20298
|
+
Args: {
|
|
20299
|
+
_order_ref: string;
|
|
20300
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
20301
|
+
_payload_hash?: string;
|
|
20302
|
+
};
|
|
20303
|
+
Returns: string;
|
|
20304
|
+
};
|
|
19287
20305
|
logistics_live_carriers: {
|
|
19288
20306
|
Args: {
|
|
19289
20307
|
p_order_ref: string;
|
|
@@ -19336,6 +20354,65 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
19336
20354
|
};
|
|
19337
20355
|
Returns: number;
|
|
19338
20356
|
};
|
|
20357
|
+
logistics_plan_claim: {
|
|
20358
|
+
Args: {
|
|
20359
|
+
p_limit?: number;
|
|
20360
|
+
};
|
|
20361
|
+
Returns: {
|
|
20362
|
+
attempts: number;
|
|
20363
|
+
id: string;
|
|
20364
|
+
order_id: string;
|
|
20365
|
+
}[];
|
|
20366
|
+
};
|
|
20367
|
+
logistics_plan_enqueue: {
|
|
20368
|
+
Args: {
|
|
20369
|
+
p_order_id: string;
|
|
20370
|
+
p_reason?: string;
|
|
20371
|
+
};
|
|
20372
|
+
Returns: undefined;
|
|
20373
|
+
};
|
|
20374
|
+
logistics_plan_ensure_event: {
|
|
20375
|
+
Args: {
|
|
20376
|
+
p_order_id: string;
|
|
20377
|
+
};
|
|
20378
|
+
Returns: boolean;
|
|
20379
|
+
};
|
|
20380
|
+
logistics_plan_finish: {
|
|
20381
|
+
Args: {
|
|
20382
|
+
p_error?: string;
|
|
20383
|
+
p_id: string;
|
|
20384
|
+
};
|
|
20385
|
+
Returns: undefined;
|
|
20386
|
+
};
|
|
20387
|
+
logistics_plan_impact_orders: {
|
|
20388
|
+
Args: {
|
|
20389
|
+
p_order_id: string;
|
|
20390
|
+
};
|
|
20391
|
+
Returns: {
|
|
20392
|
+
buffer_id: string;
|
|
20393
|
+
order_id: string;
|
|
20394
|
+
plan_date: string;
|
|
20395
|
+
}[];
|
|
20396
|
+
};
|
|
20397
|
+
logistics_plan_kick: {
|
|
20398
|
+
Args: never;
|
|
20399
|
+
Returns: undefined;
|
|
20400
|
+
};
|
|
20401
|
+
logistics_plan_prune: {
|
|
20402
|
+
Args: never;
|
|
20403
|
+
Returns: number;
|
|
20404
|
+
};
|
|
20405
|
+
logistics_plan_release_stale: {
|
|
20406
|
+
Args: never;
|
|
20407
|
+
Returns: number;
|
|
20408
|
+
};
|
|
20409
|
+
logistics_plan_setting: {
|
|
20410
|
+
Args: {
|
|
20411
|
+
p_default: number;
|
|
20412
|
+
p_key: string;
|
|
20413
|
+
};
|
|
20414
|
+
Returns: number;
|
|
20415
|
+
};
|
|
19339
20416
|
logistics_queue_capacity_email: {
|
|
19340
20417
|
Args: {
|
|
19341
20418
|
p_alert_id: string;
|
|
@@ -19574,6 +20651,14 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
19574
20651
|
};
|
|
19575
20652
|
Returns: undefined;
|
|
19576
20653
|
};
|
|
20654
|
+
my_module_permissions: {
|
|
20655
|
+
Args: never;
|
|
20656
|
+
Returns: {
|
|
20657
|
+
feature_id: string;
|
|
20658
|
+
module_id: string;
|
|
20659
|
+
permission: string;
|
|
20660
|
+
}[];
|
|
20661
|
+
};
|
|
19577
20662
|
next_manufacture_partij: {
|
|
19578
20663
|
Args: {
|
|
19579
20664
|
_tenant_id: string;
|
|
@@ -19624,6 +20709,13 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
19624
20709
|
};
|
|
19625
20710
|
Returns: boolean;
|
|
19626
20711
|
};
|
|
20712
|
+
opruim_print_historie: {
|
|
20713
|
+
Args: never;
|
|
20714
|
+
Returns: {
|
|
20715
|
+
ontdaan: number;
|
|
20716
|
+
verwijderd: number;
|
|
20717
|
+
}[];
|
|
20718
|
+
};
|
|
19627
20719
|
order_number_prefix: {
|
|
19628
20720
|
Args: {
|
|
19629
20721
|
p_custom_fields?: import("../integrations/supabase/types").Json;
|
|
@@ -19631,6 +20723,15 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
19631
20723
|
};
|
|
19632
20724
|
Returns: string;
|
|
19633
20725
|
};
|
|
20726
|
+
pick_active_printers: {
|
|
20727
|
+
Args: never;
|
|
20728
|
+
Returns: {
|
|
20729
|
+
id: string;
|
|
20730
|
+
locatie: string;
|
|
20731
|
+
naam: string;
|
|
20732
|
+
online: boolean;
|
|
20733
|
+
}[];
|
|
20734
|
+
};
|
|
19634
20735
|
pick_claim_document: {
|
|
19635
20736
|
Args: {
|
|
19636
20737
|
_queue_item_id: string;
|
|
@@ -19817,6 +20918,52 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
19817
20918
|
};
|
|
19818
20919
|
Returns: undefined;
|
|
19819
20920
|
};
|
|
20921
|
+
pick_reset_print: {
|
|
20922
|
+
Args: {
|
|
20923
|
+
_queue_item_id: string;
|
|
20924
|
+
_session_id: string;
|
|
20925
|
+
};
|
|
20926
|
+
Returns: {
|
|
20927
|
+
announced_at: string;
|
|
20928
|
+
assigned_user_id: string | null;
|
|
20929
|
+
barcode: string | null;
|
|
20930
|
+
cancelled_at: string | null;
|
|
20931
|
+
cart_count: number;
|
|
20932
|
+
completed_at: string | null;
|
|
20933
|
+
country_code: string | null;
|
|
20934
|
+
created_at: string;
|
|
20935
|
+
customer_name: string | null;
|
|
20936
|
+
delivery_address: string | null;
|
|
20937
|
+
document_number: string | null;
|
|
20938
|
+
document_type_id: string | null;
|
|
20939
|
+
due_at: string | null;
|
|
20940
|
+
id: string;
|
|
20941
|
+
is_urgent: boolean;
|
|
20942
|
+
line_count: number;
|
|
20943
|
+
order_number: string | null;
|
|
20944
|
+
order_type: string | null;
|
|
20945
|
+
payload: import("../integrations/supabase/types").Json;
|
|
20946
|
+
print_count: number;
|
|
20947
|
+
print_job_id: string | null;
|
|
20948
|
+
printed_at: string | null;
|
|
20949
|
+
printed_by: string | null;
|
|
20950
|
+
printer_id: string | null;
|
|
20951
|
+
priority: number;
|
|
20952
|
+
reference: string | null;
|
|
20953
|
+
route: string | null;
|
|
20954
|
+
screen_id: string | null;
|
|
20955
|
+
station_id: string | null;
|
|
20956
|
+
status_id: string | null;
|
|
20957
|
+
updated_at: string;
|
|
20958
|
+
warnings: import("../integrations/supabase/types").Json;
|
|
20959
|
+
};
|
|
20960
|
+
SetofOptions: {
|
|
20961
|
+
from: "*";
|
|
20962
|
+
to: "pick_queue";
|
|
20963
|
+
isOneToOne: true;
|
|
20964
|
+
isSetofReturn: false;
|
|
20965
|
+
};
|
|
20966
|
+
};
|
|
19820
20967
|
pick_station_dashboard: {
|
|
19821
20968
|
Args: never;
|
|
19822
20969
|
Returns: {
|
|
@@ -19963,6 +21110,12 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
19963
21110
|
};
|
|
19964
21111
|
Returns: undefined;
|
|
19965
21112
|
};
|
|
21113
|
+
reset_stalled_floriday_stock_queue: {
|
|
21114
|
+
Args: {
|
|
21115
|
+
p_include_failed?: boolean;
|
|
21116
|
+
};
|
|
21117
|
+
Returns: number;
|
|
21118
|
+
};
|
|
19966
21119
|
resolve_group_allocation: {
|
|
19967
21120
|
Args: {
|
|
19968
21121
|
_needed: number;
|
|
@@ -20007,14 +21160,28 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
20007
21160
|
};
|
|
20008
21161
|
Returns: import("../integrations/supabase/types").Json;
|
|
20009
21162
|
};
|
|
21163
|
+
ruim_print_jobs_op: {
|
|
21164
|
+
Args: {
|
|
21165
|
+
_bewaar_dagen?: number;
|
|
21166
|
+
};
|
|
21167
|
+
Returns: number;
|
|
21168
|
+
};
|
|
20010
21169
|
run_floriday_continuous_stock_sync: {
|
|
20011
21170
|
Args: never;
|
|
20012
21171
|
Returns: undefined;
|
|
20013
21172
|
};
|
|
21173
|
+
run_floriday_stock_queue_process: {
|
|
21174
|
+
Args: never;
|
|
21175
|
+
Returns: undefined;
|
|
21176
|
+
};
|
|
20014
21177
|
run_logistics_tasks_dispatch: {
|
|
20015
21178
|
Args: never;
|
|
20016
21179
|
Returns: undefined;
|
|
20017
21180
|
};
|
|
21181
|
+
run_print_queue_ticks: {
|
|
21182
|
+
Args: never;
|
|
21183
|
+
Returns: number;
|
|
21184
|
+
};
|
|
20018
21185
|
run_twinfield_queue_tick: {
|
|
20019
21186
|
Args: never;
|
|
20020
21187
|
Returns: undefined;
|
|
@@ -20368,6 +21535,16 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
20368
21535
|
};
|
|
20369
21536
|
Returns: string[];
|
|
20370
21537
|
};
|
|
21538
|
+
switch_time_log: {
|
|
21539
|
+
Args: {
|
|
21540
|
+
p_employee_id: string;
|
|
21541
|
+
p_start_lat?: number;
|
|
21542
|
+
p_start_lng?: number;
|
|
21543
|
+
p_type: string;
|
|
21544
|
+
p_work_order_id?: string;
|
|
21545
|
+
};
|
|
21546
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21547
|
+
};
|
|
20371
21548
|
sync_all_layer_stocks: {
|
|
20372
21549
|
Args: never;
|
|
20373
21550
|
Returns: undefined;
|
|
@@ -20402,6 +21579,15 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
20402
21579
|
};
|
|
20403
21580
|
Returns: undefined;
|
|
20404
21581
|
};
|
|
21582
|
+
trade_item_stock_duplicates: {
|
|
21583
|
+
Args: never;
|
|
21584
|
+
Returns: {
|
|
21585
|
+
keys: string[];
|
|
21586
|
+
product_id: string;
|
|
21587
|
+
product_name: string;
|
|
21588
|
+
row_count: number;
|
|
21589
|
+
}[];
|
|
21590
|
+
};
|
|
20405
21591
|
try_debtor_lock: {
|
|
20406
21592
|
Args: {
|
|
20407
21593
|
_group_key: string;
|
|
@@ -20409,6 +21595,24 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
20409
21595
|
};
|
|
20410
21596
|
Returns: boolean;
|
|
20411
21597
|
};
|
|
21598
|
+
twinfield_cron_lock_acquire: {
|
|
21599
|
+
Args: {
|
|
21600
|
+
_job_name: string;
|
|
21601
|
+
_stale_seconds?: number;
|
|
21602
|
+
};
|
|
21603
|
+
Returns: boolean;
|
|
21604
|
+
};
|
|
21605
|
+
twinfield_cron_lock_release: {
|
|
21606
|
+
Args: {
|
|
21607
|
+
_error?: string;
|
|
21608
|
+
_job_name: string;
|
|
21609
|
+
};
|
|
21610
|
+
Returns: undefined;
|
|
21611
|
+
};
|
|
21612
|
+
twinfield_prune_push_queue: {
|
|
21613
|
+
Args: never;
|
|
21614
|
+
Returns: number;
|
|
21615
|
+
};
|
|
20412
21616
|
twinfield_register_cron: {
|
|
20413
21617
|
Args: {
|
|
20414
21618
|
apikey?: string;
|
|
@@ -20451,7 +21655,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
20451
21655
|
};
|
|
20452
21656
|
Enums: {
|
|
20453
21657
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|
|
20454
|
-
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin";
|
|
21658
|
+
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
|
|
20455
21659
|
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
|
|
20456
21660
|
doc_orientation: "portrait" | "landscape";
|
|
20457
21661
|
exact_env: "staging" | "live";
|
|
@@ -20470,8 +21674,5 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
20470
21674
|
}>;
|
|
20471
21675
|
userId: string;
|
|
20472
21676
|
claims: import("@supabase/auth-js").JwtPayload;
|
|
20473
|
-
}, undefined, undefined, undefined>], undefined, Promise<
|
|
20474
|
-
orders: FloridayOrder[];
|
|
20475
|
-
error?: string;
|
|
20476
|
-
}>>;
|
|
21677
|
+
}, undefined, undefined, undefined>], (input: GetFloridayOrdersInput | undefined) => GetFloridayOrdersInput, Promise<GetFloridayOrdersResult>>;
|
|
20477
21678
|
//# sourceMappingURL=floriday.functions.d.ts.map
|