@flowselections/floriday-verkoop-module 1.0.41 → 1.0.43
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/verkoop/SalesOrdersTable.d.ts +5 -2
- package/dist-lib/components/verkoop/SalesOrdersTable.d.ts.map +1 -1
- package/dist-lib/components/verkoop/SalesOrdersTable.js +27 -13
- package/dist-lib/components/verkoop/VerkoopOrdersPage.d.ts.map +1 -1
- package/dist-lib/components/verkoop/VerkoopOrdersPage.js +141 -27
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +1428 -172
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +1428 -172
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +1428 -172
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +1453 -170
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.js +3 -0
- package/dist-lib/lib/cart-lock.functions.d.ts +1428 -172
- package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-planning-settings.functions.d.ts +15224 -1408
- package/dist-lib/lib/cart-planning-settings.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-replan.functions.d.ts +4152 -384
- package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
- package/dist-lib/lib/create-order.functions.d.ts +65255 -1978
- package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
- package/dist-lib/lib/create-order.functions.js +48 -1
- package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts +4152 -384
- package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +1428 -172
- package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-mirror.functions.d.ts +1428 -172
- package/dist-lib/lib/floriday-mirror.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-mirror.functions.js +6 -1
- package/dist-lib/lib/floriday-public.functions.d.ts +9688 -896
- package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.d.ts +6920 -640
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/invoice-timing.functions.d.ts +5536 -512
- package/dist-lib/lib/invoice-timing.functions.d.ts.map +1 -1
- package/dist-lib/lib/invoice-timing.server.d.ts.map +1 -1
- package/dist-lib/lib/invoice-timing.server.js +1 -0
- package/dist-lib/lib/load-carriers.functions.d.ts +1428 -172
- package/dist-lib/lib/load-carriers.functions.d.ts.map +1 -1
- package/dist-lib/lib/logistics-engine.functions.d.ts +6920 -640
- package/dist-lib/lib/logistics-engine.functions.d.ts.map +1 -1
- package/dist-lib/lib/logistics-stock.functions.d.ts +2768 -256
- package/dist-lib/lib/logistics-stock.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-addresses.functions.d.ts +1428 -172
- package/dist-lib/lib/order-addresses.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-buffers.functions.d.ts +4152 -384
- package/dist-lib/lib/order-buffers.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-cancel.server.d.ts +24 -0
- package/dist-lib/lib/order-cancel.server.d.ts.map +1 -0
- package/dist-lib/lib/order-cancel.server.js +130 -0
- package/dist-lib/lib/order-carrier.functions.d.ts +2768 -256
- package/dist-lib/lib/order-carrier.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-pickup.functions.d.ts +2768 -256
- package/dist-lib/lib/order-pickup.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-shipments.functions.d.ts +5536 -512
- package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -1
- package/dist-lib/lib/salesorders-list.functions.d.ts +1428 -172
- package/dist-lib/lib/salesorders-list.functions.d.ts.map +1 -1
- package/dist-lib/lib/salesorders-list.server.d.ts.map +1 -1
- package/dist-lib/lib/salesorders-list.server.js +4 -60
- package/dist-lib/lib/salesorders-mapping.d.ts +6 -0
- package/dist-lib/lib/salesorders-mapping.d.ts.map +1 -1
- package/dist-lib/lib/salesorders-mapping.js +17 -0
- package/dist-lib/lib/salesorders.functions.d.ts +6920 -640
- package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
- package/dist-lib/lib/tradeitems.functions.d.ts +1428 -172
- package/dist-lib/lib/tradeitems.functions.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -881,6 +881,126 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
881
881
|
};
|
|
882
882
|
Relationships: [];
|
|
883
883
|
};
|
|
884
|
+
cao_holidays: {
|
|
885
|
+
Row: {
|
|
886
|
+
created_at: string;
|
|
887
|
+
description: string | null;
|
|
888
|
+
holiday_date: string;
|
|
889
|
+
id: string;
|
|
890
|
+
updated_at: string;
|
|
891
|
+
};
|
|
892
|
+
Insert: {
|
|
893
|
+
created_at?: string;
|
|
894
|
+
description?: string | null;
|
|
895
|
+
holiday_date: string;
|
|
896
|
+
id?: string;
|
|
897
|
+
updated_at?: string;
|
|
898
|
+
};
|
|
899
|
+
Update: {
|
|
900
|
+
created_at?: string;
|
|
901
|
+
description?: string | null;
|
|
902
|
+
holiday_date?: string;
|
|
903
|
+
id?: string;
|
|
904
|
+
updated_at?: string;
|
|
905
|
+
};
|
|
906
|
+
Relationships: [];
|
|
907
|
+
};
|
|
908
|
+
cao_settings: {
|
|
909
|
+
Row: {
|
|
910
|
+
auto_break_after_hours: number;
|
|
911
|
+
auto_break_minutes: number;
|
|
912
|
+
auto_break_unpaid: boolean;
|
|
913
|
+
auto_stop_after_hours: number;
|
|
914
|
+
callout_fee: number;
|
|
915
|
+
created_at: string;
|
|
916
|
+
daily_regular_hours: number;
|
|
917
|
+
default_hourly_rate: number;
|
|
918
|
+
id: string;
|
|
919
|
+
materials_markup_percent: number;
|
|
920
|
+
max_daily_hours: number;
|
|
921
|
+
max_weekly_hours: number;
|
|
922
|
+
meal_allowance_amount: number;
|
|
923
|
+
overtime_pct_178: number;
|
|
924
|
+
overtime_pct_189: number;
|
|
925
|
+
overtime_pct_212: number;
|
|
926
|
+
reminder_after_hours: number;
|
|
927
|
+
standby_evening_amount: number;
|
|
928
|
+
standby_weekend_amount: number;
|
|
929
|
+
travel_cost_per_km: number | null;
|
|
930
|
+
travel_cost_threshold_km: number | null;
|
|
931
|
+
travel_counts_as_work: boolean;
|
|
932
|
+
travel_hourly_rate: number;
|
|
933
|
+
travel_rate_per_hour: number;
|
|
934
|
+
travel_threshold_minutes: number;
|
|
935
|
+
updated_at: string;
|
|
936
|
+
weekend_always_212: boolean;
|
|
937
|
+
window_end: string;
|
|
938
|
+
window_start: string;
|
|
939
|
+
};
|
|
940
|
+
Insert: {
|
|
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
|
+
Update: {
|
|
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
|
+
Relationships: [];
|
|
1003
|
+
};
|
|
884
1004
|
carrier_shipping_rates: {
|
|
885
1005
|
Row: {
|
|
886
1006
|
carrier_id: string;
|
|
@@ -4934,6 +5054,42 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
4934
5054
|
};
|
|
4935
5055
|
Relationships: [];
|
|
4936
5056
|
};
|
|
5057
|
+
facturen: {
|
|
5058
|
+
Row: {
|
|
5059
|
+
bedrag_incl_btw: number;
|
|
5060
|
+
created_at: string;
|
|
5061
|
+
datum: string;
|
|
5062
|
+
factuurnummer: string;
|
|
5063
|
+
id: string;
|
|
5064
|
+
klantnaam: string;
|
|
5065
|
+
status: string;
|
|
5066
|
+
updated_at: string;
|
|
5067
|
+
user_id: string;
|
|
5068
|
+
};
|
|
5069
|
+
Insert: {
|
|
5070
|
+
bedrag_incl_btw: number;
|
|
5071
|
+
created_at?: string;
|
|
5072
|
+
datum?: string;
|
|
5073
|
+
factuurnummer: string;
|
|
5074
|
+
id?: string;
|
|
5075
|
+
klantnaam: string;
|
|
5076
|
+
status?: string;
|
|
5077
|
+
updated_at?: string;
|
|
5078
|
+
user_id?: string;
|
|
5079
|
+
};
|
|
5080
|
+
Update: {
|
|
5081
|
+
bedrag_incl_btw?: number;
|
|
5082
|
+
created_at?: string;
|
|
5083
|
+
datum?: string;
|
|
5084
|
+
factuurnummer?: string;
|
|
5085
|
+
id?: string;
|
|
5086
|
+
klantnaam?: string;
|
|
5087
|
+
status?: string;
|
|
5088
|
+
updated_at?: string;
|
|
5089
|
+
user_id?: string;
|
|
5090
|
+
};
|
|
5091
|
+
Relationships: [];
|
|
5092
|
+
};
|
|
4937
5093
|
floricode_connection_settings: {
|
|
4938
5094
|
Row: {
|
|
4939
5095
|
catalog_key: string | null;
|
|
@@ -7658,6 +7814,258 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
7658
7814
|
};
|
|
7659
7815
|
Relationships: [];
|
|
7660
7816
|
};
|
|
7817
|
+
itk_offerte_events: {
|
|
7818
|
+
Row: {
|
|
7819
|
+
created_at: string;
|
|
7820
|
+
event_type: string;
|
|
7821
|
+
id: string;
|
|
7822
|
+
metadata: import("../integrations/supabase/types").Json;
|
|
7823
|
+
offerte_id: string;
|
|
7824
|
+
omschrijving: string | null;
|
|
7825
|
+
user_id: string | null;
|
|
7826
|
+
};
|
|
7827
|
+
Insert: {
|
|
7828
|
+
created_at?: string;
|
|
7829
|
+
event_type: string;
|
|
7830
|
+
id?: string;
|
|
7831
|
+
metadata?: import("../integrations/supabase/types").Json;
|
|
7832
|
+
offerte_id: string;
|
|
7833
|
+
omschrijving?: string | null;
|
|
7834
|
+
user_id?: string | null;
|
|
7835
|
+
};
|
|
7836
|
+
Update: {
|
|
7837
|
+
created_at?: string;
|
|
7838
|
+
event_type?: string;
|
|
7839
|
+
id?: string;
|
|
7840
|
+
metadata?: import("../integrations/supabase/types").Json;
|
|
7841
|
+
offerte_id?: string;
|
|
7842
|
+
omschrijving?: string | null;
|
|
7843
|
+
user_id?: string | null;
|
|
7844
|
+
};
|
|
7845
|
+
Relationships: [{
|
|
7846
|
+
foreignKeyName: "itk_offerte_events_offerte_id_fkey";
|
|
7847
|
+
columns: ["offerte_id"];
|
|
7848
|
+
isOneToOne: false;
|
|
7849
|
+
referencedRelation: "itk_offertes";
|
|
7850
|
+
referencedColumns: ["id"];
|
|
7851
|
+
}];
|
|
7852
|
+
};
|
|
7853
|
+
itk_offerte_regels: {
|
|
7854
|
+
Row: {
|
|
7855
|
+
created_at: string;
|
|
7856
|
+
id: string;
|
|
7857
|
+
line_total_cents: number;
|
|
7858
|
+
offerte_id: string;
|
|
7859
|
+
omschrijving: string;
|
|
7860
|
+
package_id: string | null;
|
|
7861
|
+
quantity: number;
|
|
7862
|
+
sort_order: number;
|
|
7863
|
+
source: string;
|
|
7864
|
+
unit_price_cents: number;
|
|
7865
|
+
updated_at: string;
|
|
7866
|
+
};
|
|
7867
|
+
Insert: {
|
|
7868
|
+
created_at?: string;
|
|
7869
|
+
id?: string;
|
|
7870
|
+
line_total_cents?: number;
|
|
7871
|
+
offerte_id: string;
|
|
7872
|
+
omschrijving?: string;
|
|
7873
|
+
package_id?: string | null;
|
|
7874
|
+
quantity?: number;
|
|
7875
|
+
sort_order?: number;
|
|
7876
|
+
source?: string;
|
|
7877
|
+
unit_price_cents?: number;
|
|
7878
|
+
updated_at?: string;
|
|
7879
|
+
};
|
|
7880
|
+
Update: {
|
|
7881
|
+
created_at?: string;
|
|
7882
|
+
id?: string;
|
|
7883
|
+
line_total_cents?: number;
|
|
7884
|
+
offerte_id?: string;
|
|
7885
|
+
omschrijving?: string;
|
|
7886
|
+
package_id?: string | null;
|
|
7887
|
+
quantity?: number;
|
|
7888
|
+
sort_order?: number;
|
|
7889
|
+
source?: string;
|
|
7890
|
+
unit_price_cents?: number;
|
|
7891
|
+
updated_at?: string;
|
|
7892
|
+
};
|
|
7893
|
+
Relationships: [{
|
|
7894
|
+
foreignKeyName: "itk_offerte_regels_offerte_id_fkey";
|
|
7895
|
+
columns: ["offerte_id"];
|
|
7896
|
+
isOneToOne: false;
|
|
7897
|
+
referencedRelation: "itk_offertes";
|
|
7898
|
+
referencedColumns: ["id"];
|
|
7899
|
+
}, {
|
|
7900
|
+
foreignKeyName: "itk_offerte_regels_package_id_fkey";
|
|
7901
|
+
columns: ["package_id"];
|
|
7902
|
+
isOneToOne: false;
|
|
7903
|
+
referencedRelation: "werkbon_packages";
|
|
7904
|
+
referencedColumns: ["id"];
|
|
7905
|
+
}];
|
|
7906
|
+
};
|
|
7907
|
+
itk_offerte_settings: {
|
|
7908
|
+
Row: {
|
|
7909
|
+
auto_convert_binnen_mandaat: boolean;
|
|
7910
|
+
created_at: string;
|
|
7911
|
+
default_geldigheid_dagen: number;
|
|
7912
|
+
default_vat_rate: number;
|
|
7913
|
+
id: string;
|
|
7914
|
+
singleton: boolean;
|
|
7915
|
+
updated_at: string;
|
|
7916
|
+
};
|
|
7917
|
+
Insert: {
|
|
7918
|
+
auto_convert_binnen_mandaat?: boolean;
|
|
7919
|
+
created_at?: string;
|
|
7920
|
+
default_geldigheid_dagen?: number;
|
|
7921
|
+
default_vat_rate?: number;
|
|
7922
|
+
id?: string;
|
|
7923
|
+
singleton?: boolean;
|
|
7924
|
+
updated_at?: string;
|
|
7925
|
+
};
|
|
7926
|
+
Update: {
|
|
7927
|
+
auto_convert_binnen_mandaat?: boolean;
|
|
7928
|
+
created_at?: string;
|
|
7929
|
+
default_geldigheid_dagen?: number;
|
|
7930
|
+
default_vat_rate?: number;
|
|
7931
|
+
id?: string;
|
|
7932
|
+
singleton?: boolean;
|
|
7933
|
+
updated_at?: string;
|
|
7934
|
+
};
|
|
7935
|
+
Relationships: [];
|
|
7936
|
+
};
|
|
7937
|
+
itk_offertes: {
|
|
7938
|
+
Row: {
|
|
7939
|
+
ai_generated: boolean;
|
|
7940
|
+
approved_at: string | null;
|
|
7941
|
+
binnen_mandaat: boolean;
|
|
7942
|
+
contact_id: string | null;
|
|
7943
|
+
converted_at: string | null;
|
|
7944
|
+
created_at: string;
|
|
7945
|
+
created_by: string | null;
|
|
7946
|
+
customer_id: string | null;
|
|
7947
|
+
follow_up_werkbon_id: string | null;
|
|
7948
|
+
id: string;
|
|
7949
|
+
jaar: number;
|
|
7950
|
+
mandaat_restant_cents: number;
|
|
7951
|
+
notities: string | null;
|
|
7952
|
+
offerte_number: string | null;
|
|
7953
|
+
omschrijving: string;
|
|
7954
|
+
rejected_at: string | null;
|
|
7955
|
+
sent_at: string | null;
|
|
7956
|
+
source_number: string | null;
|
|
7957
|
+
source_ref: string | null;
|
|
7958
|
+
source_type: string;
|
|
7959
|
+
status: string;
|
|
7960
|
+
subtotal_cents: number;
|
|
7961
|
+
total_cents: number;
|
|
7962
|
+
updated_at: string;
|
|
7963
|
+
valid_until: string | null;
|
|
7964
|
+
vat_cents: number;
|
|
7965
|
+
vat_rate: number;
|
|
7966
|
+
viewed_at: string | null;
|
|
7967
|
+
volgnummer: number | null;
|
|
7968
|
+
werkbon_id: string | null;
|
|
7969
|
+
work_location_id: string | null;
|
|
7970
|
+
};
|
|
7971
|
+
Insert: {
|
|
7972
|
+
ai_generated?: boolean;
|
|
7973
|
+
approved_at?: string | null;
|
|
7974
|
+
binnen_mandaat?: boolean;
|
|
7975
|
+
contact_id?: string | null;
|
|
7976
|
+
converted_at?: string | null;
|
|
7977
|
+
created_at?: string;
|
|
7978
|
+
created_by?: string | null;
|
|
7979
|
+
customer_id?: string | null;
|
|
7980
|
+
follow_up_werkbon_id?: string | null;
|
|
7981
|
+
id?: string;
|
|
7982
|
+
jaar?: number;
|
|
7983
|
+
mandaat_restant_cents?: number;
|
|
7984
|
+
notities?: string | null;
|
|
7985
|
+
offerte_number?: string | null;
|
|
7986
|
+
omschrijving?: string;
|
|
7987
|
+
rejected_at?: string | null;
|
|
7988
|
+
sent_at?: string | null;
|
|
7989
|
+
source_number?: string | null;
|
|
7990
|
+
source_ref?: string | null;
|
|
7991
|
+
source_type?: string;
|
|
7992
|
+
status?: string;
|
|
7993
|
+
subtotal_cents?: number;
|
|
7994
|
+
total_cents?: number;
|
|
7995
|
+
updated_at?: string;
|
|
7996
|
+
valid_until?: string | null;
|
|
7997
|
+
vat_cents?: number;
|
|
7998
|
+
vat_rate?: number;
|
|
7999
|
+
viewed_at?: string | null;
|
|
8000
|
+
volgnummer?: number | null;
|
|
8001
|
+
werkbon_id?: string | null;
|
|
8002
|
+
work_location_id?: string | null;
|
|
8003
|
+
};
|
|
8004
|
+
Update: {
|
|
8005
|
+
ai_generated?: boolean;
|
|
8006
|
+
approved_at?: string | null;
|
|
8007
|
+
binnen_mandaat?: boolean;
|
|
8008
|
+
contact_id?: string | null;
|
|
8009
|
+
converted_at?: string | null;
|
|
8010
|
+
created_at?: string;
|
|
8011
|
+
created_by?: string | null;
|
|
8012
|
+
customer_id?: string | null;
|
|
8013
|
+
follow_up_werkbon_id?: string | null;
|
|
8014
|
+
id?: string;
|
|
8015
|
+
jaar?: number;
|
|
8016
|
+
mandaat_restant_cents?: number;
|
|
8017
|
+
notities?: string | null;
|
|
8018
|
+
offerte_number?: string | null;
|
|
8019
|
+
omschrijving?: string;
|
|
8020
|
+
rejected_at?: string | null;
|
|
8021
|
+
sent_at?: string | null;
|
|
8022
|
+
source_number?: string | null;
|
|
8023
|
+
source_ref?: string | null;
|
|
8024
|
+
source_type?: string;
|
|
8025
|
+
status?: string;
|
|
8026
|
+
subtotal_cents?: number;
|
|
8027
|
+
total_cents?: number;
|
|
8028
|
+
updated_at?: string;
|
|
8029
|
+
valid_until?: string | null;
|
|
8030
|
+
vat_cents?: number;
|
|
8031
|
+
vat_rate?: number;
|
|
8032
|
+
viewed_at?: string | null;
|
|
8033
|
+
volgnummer?: number | null;
|
|
8034
|
+
werkbon_id?: string | null;
|
|
8035
|
+
work_location_id?: string | null;
|
|
8036
|
+
};
|
|
8037
|
+
Relationships: [{
|
|
8038
|
+
foreignKeyName: "itk_offertes_contact_id_fkey";
|
|
8039
|
+
columns: ["contact_id"];
|
|
8040
|
+
isOneToOne: false;
|
|
8041
|
+
referencedRelation: "itk_contact_persons";
|
|
8042
|
+
referencedColumns: ["id"];
|
|
8043
|
+
}, {
|
|
8044
|
+
foreignKeyName: "itk_offertes_customer_id_fkey";
|
|
8045
|
+
columns: ["customer_id"];
|
|
8046
|
+
isOneToOne: false;
|
|
8047
|
+
referencedRelation: "itk_customers";
|
|
8048
|
+
referencedColumns: ["id"];
|
|
8049
|
+
}, {
|
|
8050
|
+
foreignKeyName: "itk_offertes_follow_up_werkbon_id_fkey";
|
|
8051
|
+
columns: ["follow_up_werkbon_id"];
|
|
8052
|
+
isOneToOne: false;
|
|
8053
|
+
referencedRelation: "werkbonnen";
|
|
8054
|
+
referencedColumns: ["id"];
|
|
8055
|
+
}, {
|
|
8056
|
+
foreignKeyName: "itk_offertes_werkbon_id_fkey";
|
|
8057
|
+
columns: ["werkbon_id"];
|
|
8058
|
+
isOneToOne: false;
|
|
8059
|
+
referencedRelation: "werkbonnen";
|
|
8060
|
+
referencedColumns: ["id"];
|
|
8061
|
+
}, {
|
|
8062
|
+
foreignKeyName: "itk_offertes_work_location_id_fkey";
|
|
8063
|
+
columns: ["work_location_id"];
|
|
8064
|
+
isOneToOne: false;
|
|
8065
|
+
referencedRelation: "itk_work_locations";
|
|
8066
|
+
referencedColumns: ["id"];
|
|
8067
|
+
}];
|
|
8068
|
+
};
|
|
7661
8069
|
itk_work_locations: {
|
|
7662
8070
|
Row: {
|
|
7663
8071
|
city: string | null;
|
|
@@ -7775,7 +8183,6 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
7775
8183
|
start_date: string;
|
|
7776
8184
|
start_time: string | null;
|
|
7777
8185
|
status: string;
|
|
7778
|
-
tenant_id: string;
|
|
7779
8186
|
updated_at: string;
|
|
7780
8187
|
user_id: string;
|
|
7781
8188
|
};
|
|
@@ -7793,7 +8200,6 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
7793
8200
|
start_date: string;
|
|
7794
8201
|
start_time?: string | null;
|
|
7795
8202
|
status?: string;
|
|
7796
|
-
tenant_id?: string;
|
|
7797
8203
|
updated_at?: string;
|
|
7798
8204
|
user_id: string;
|
|
7799
8205
|
};
|
|
@@ -7811,7 +8217,6 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
7811
8217
|
start_date?: string;
|
|
7812
8218
|
start_time?: string | null;
|
|
7813
8219
|
status?: string;
|
|
7814
|
-
tenant_id?: string;
|
|
7815
8220
|
updated_at?: string;
|
|
7816
8221
|
user_id?: string;
|
|
7817
8222
|
};
|
|
@@ -7819,13 +8224,13 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
7819
8224
|
foreignKeyName: "leave_requests_monteur_id_fkey";
|
|
7820
8225
|
columns: ["monteur_id"];
|
|
7821
8226
|
isOneToOne: false;
|
|
7822
|
-
referencedRelation: "
|
|
8227
|
+
referencedRelation: "profiles";
|
|
7823
8228
|
referencedColumns: ["id"];
|
|
7824
8229
|
}, {
|
|
7825
8230
|
foreignKeyName: "leave_requests_user_id_fkey";
|
|
7826
8231
|
columns: ["user_id"];
|
|
7827
8232
|
isOneToOne: false;
|
|
7828
|
-
referencedRelation: "
|
|
8233
|
+
referencedRelation: "profiles";
|
|
7829
8234
|
referencedColumns: ["id"];
|
|
7830
8235
|
}];
|
|
7831
8236
|
};
|
|
@@ -8693,21 +9098,60 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
8693
9098
|
};
|
|
8694
9099
|
Relationships: [];
|
|
8695
9100
|
};
|
|
8696
|
-
|
|
9101
|
+
logistics_plan_queue: {
|
|
8697
9102
|
Row: {
|
|
8698
|
-
|
|
9103
|
+
attempts: number;
|
|
9104
|
+
claimed_at: string | null;
|
|
9105
|
+
enqueued_at: string;
|
|
8699
9106
|
error: string | null;
|
|
8700
9107
|
id: string;
|
|
8701
|
-
|
|
8702
|
-
|
|
8703
|
-
|
|
8704
|
-
rule_version: number | null;
|
|
8705
|
-
settings_hash: string | null;
|
|
8706
|
-
settings_snapshot: import("../integrations/supabase/types").Json;
|
|
8707
|
-
source_module: string | null;
|
|
9108
|
+
next_attempt_at: string;
|
|
9109
|
+
order_id: string;
|
|
9110
|
+
reason: string;
|
|
8708
9111
|
status: string;
|
|
8709
|
-
|
|
8710
|
-
|
|
9112
|
+
updated_at: string;
|
|
9113
|
+
};
|
|
9114
|
+
Insert: {
|
|
9115
|
+
attempts?: number;
|
|
9116
|
+
claimed_at?: string | null;
|
|
9117
|
+
enqueued_at?: string;
|
|
9118
|
+
error?: string | null;
|
|
9119
|
+
id?: string;
|
|
9120
|
+
next_attempt_at?: string;
|
|
9121
|
+
order_id: string;
|
|
9122
|
+
reason?: string;
|
|
9123
|
+
status?: string;
|
|
9124
|
+
updated_at?: string;
|
|
9125
|
+
};
|
|
9126
|
+
Update: {
|
|
9127
|
+
attempts?: number;
|
|
9128
|
+
claimed_at?: string | null;
|
|
9129
|
+
enqueued_at?: string;
|
|
9130
|
+
error?: string | null;
|
|
9131
|
+
id?: string;
|
|
9132
|
+
next_attempt_at?: string;
|
|
9133
|
+
order_id?: string;
|
|
9134
|
+
reason?: string;
|
|
9135
|
+
status?: string;
|
|
9136
|
+
updated_at?: string;
|
|
9137
|
+
};
|
|
9138
|
+
Relationships: [];
|
|
9139
|
+
};
|
|
9140
|
+
logistics_plan_runs: {
|
|
9141
|
+
Row: {
|
|
9142
|
+
created_at: string;
|
|
9143
|
+
error: string | null;
|
|
9144
|
+
id: string;
|
|
9145
|
+
input: import("../integrations/supabase/types").Json;
|
|
9146
|
+
order_ref: string;
|
|
9147
|
+
rule_config_id: string | null;
|
|
9148
|
+
rule_version: number | null;
|
|
9149
|
+
settings_hash: string | null;
|
|
9150
|
+
settings_snapshot: import("../integrations/supabase/types").Json;
|
|
9151
|
+
source_module: string | null;
|
|
9152
|
+
status: string;
|
|
9153
|
+
strategy_id: string | null;
|
|
9154
|
+
tasks_created: number;
|
|
8711
9155
|
tasks_revised: number;
|
|
8712
9156
|
trigger: string;
|
|
8713
9157
|
updated_at: string;
|
|
@@ -8768,6 +9212,24 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
8768
9212
|
referencedColumns: ["id"];
|
|
8769
9213
|
}];
|
|
8770
9214
|
};
|
|
9215
|
+
logistics_plan_settings: {
|
|
9216
|
+
Row: {
|
|
9217
|
+
key: string;
|
|
9218
|
+
updated_at: string;
|
|
9219
|
+
value: string;
|
|
9220
|
+
};
|
|
9221
|
+
Insert: {
|
|
9222
|
+
key: string;
|
|
9223
|
+
updated_at?: string;
|
|
9224
|
+
value: string;
|
|
9225
|
+
};
|
|
9226
|
+
Update: {
|
|
9227
|
+
key?: string;
|
|
9228
|
+
updated_at?: string;
|
|
9229
|
+
value?: string;
|
|
9230
|
+
};
|
|
9231
|
+
Relationships: [];
|
|
9232
|
+
};
|
|
8771
9233
|
logistics_rebuffer_state: {
|
|
8772
9234
|
Row: {
|
|
8773
9235
|
created_at: string;
|
|
@@ -9923,6 +10385,147 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
9923
10385
|
};
|
|
9924
10386
|
Relationships: [];
|
|
9925
10387
|
};
|
|
10388
|
+
material_usage: {
|
|
10389
|
+
Row: {
|
|
10390
|
+
created_at: string;
|
|
10391
|
+
id: string;
|
|
10392
|
+
material_name: string;
|
|
10393
|
+
monteur_id: string | null;
|
|
10394
|
+
price_at_time: number;
|
|
10395
|
+
quantity_used: number;
|
|
10396
|
+
updated_at: string;
|
|
10397
|
+
van_inventory_id: string | null;
|
|
10398
|
+
work_order_id: string;
|
|
10399
|
+
};
|
|
10400
|
+
Insert: {
|
|
10401
|
+
created_at?: string;
|
|
10402
|
+
id?: string;
|
|
10403
|
+
material_name: string;
|
|
10404
|
+
monteur_id?: string | null;
|
|
10405
|
+
price_at_time?: number;
|
|
10406
|
+
quantity_used?: number;
|
|
10407
|
+
updated_at?: string;
|
|
10408
|
+
van_inventory_id?: string | null;
|
|
10409
|
+
work_order_id: string;
|
|
10410
|
+
};
|
|
10411
|
+
Update: {
|
|
10412
|
+
created_at?: string;
|
|
10413
|
+
id?: string;
|
|
10414
|
+
material_name?: string;
|
|
10415
|
+
monteur_id?: string | null;
|
|
10416
|
+
price_at_time?: number;
|
|
10417
|
+
quantity_used?: number;
|
|
10418
|
+
updated_at?: string;
|
|
10419
|
+
van_inventory_id?: string | null;
|
|
10420
|
+
work_order_id?: string;
|
|
10421
|
+
};
|
|
10422
|
+
Relationships: [{
|
|
10423
|
+
foreignKeyName: "material_usage_monteur_id_fkey";
|
|
10424
|
+
columns: ["monteur_id"];
|
|
10425
|
+
isOneToOne: false;
|
|
10426
|
+
referencedRelation: "profiles";
|
|
10427
|
+
referencedColumns: ["id"];
|
|
10428
|
+
}, {
|
|
10429
|
+
foreignKeyName: "material_usage_van_inventory_id_fkey";
|
|
10430
|
+
columns: ["van_inventory_id"];
|
|
10431
|
+
isOneToOne: false;
|
|
10432
|
+
referencedRelation: "van_inventories";
|
|
10433
|
+
referencedColumns: ["id"];
|
|
10434
|
+
}, {
|
|
10435
|
+
foreignKeyName: "material_usage_work_order_id_fkey";
|
|
10436
|
+
columns: ["work_order_id"];
|
|
10437
|
+
isOneToOne: false;
|
|
10438
|
+
referencedRelation: "work_orders";
|
|
10439
|
+
referencedColumns: ["id"];
|
|
10440
|
+
}];
|
|
10441
|
+
};
|
|
10442
|
+
medewerker_details: {
|
|
10443
|
+
Row: {
|
|
10444
|
+
color: string | null;
|
|
10445
|
+
created_at: string;
|
|
10446
|
+
hours_fri: number | null;
|
|
10447
|
+
hours_mon: number | null;
|
|
10448
|
+
hours_thu: number | null;
|
|
10449
|
+
hours_tue: number | null;
|
|
10450
|
+
hours_wed: number | null;
|
|
10451
|
+
id: string;
|
|
10452
|
+
is_active: boolean;
|
|
10453
|
+
leave_balance_hours: number;
|
|
10454
|
+
persnr: string | null;
|
|
10455
|
+
phone: string | null;
|
|
10456
|
+
profile_id: string;
|
|
10457
|
+
updated_at: string;
|
|
10458
|
+
};
|
|
10459
|
+
Insert: {
|
|
10460
|
+
color?: string | null;
|
|
10461
|
+
created_at?: string;
|
|
10462
|
+
hours_fri?: number | null;
|
|
10463
|
+
hours_mon?: number | null;
|
|
10464
|
+
hours_thu?: number | null;
|
|
10465
|
+
hours_tue?: number | null;
|
|
10466
|
+
hours_wed?: number | null;
|
|
10467
|
+
id?: string;
|
|
10468
|
+
is_active?: boolean;
|
|
10469
|
+
leave_balance_hours?: number;
|
|
10470
|
+
persnr?: string | null;
|
|
10471
|
+
phone?: string | null;
|
|
10472
|
+
profile_id: string;
|
|
10473
|
+
updated_at?: string;
|
|
10474
|
+
};
|
|
10475
|
+
Update: {
|
|
10476
|
+
color?: string | null;
|
|
10477
|
+
created_at?: string;
|
|
10478
|
+
hours_fri?: number | null;
|
|
10479
|
+
hours_mon?: number | null;
|
|
10480
|
+
hours_thu?: number | null;
|
|
10481
|
+
hours_tue?: number | null;
|
|
10482
|
+
hours_wed?: number | null;
|
|
10483
|
+
id?: string;
|
|
10484
|
+
is_active?: boolean;
|
|
10485
|
+
leave_balance_hours?: number;
|
|
10486
|
+
persnr?: string | null;
|
|
10487
|
+
phone?: string | null;
|
|
10488
|
+
profile_id?: string;
|
|
10489
|
+
updated_at?: string;
|
|
10490
|
+
};
|
|
10491
|
+
Relationships: [{
|
|
10492
|
+
foreignKeyName: "medewerker_details_profile_id_fkey";
|
|
10493
|
+
columns: ["profile_id"];
|
|
10494
|
+
isOneToOne: true;
|
|
10495
|
+
referencedRelation: "profiles";
|
|
10496
|
+
referencedColumns: ["id"];
|
|
10497
|
+
}];
|
|
10498
|
+
};
|
|
10499
|
+
module_features: {
|
|
10500
|
+
Row: {
|
|
10501
|
+
created_at: string;
|
|
10502
|
+
feature_id: string;
|
|
10503
|
+
id: string;
|
|
10504
|
+
is_active: boolean;
|
|
10505
|
+
last_seen_at: string;
|
|
10506
|
+
module_id: string;
|
|
10507
|
+
name: string;
|
|
10508
|
+
};
|
|
10509
|
+
Insert: {
|
|
10510
|
+
created_at?: string;
|
|
10511
|
+
feature_id: string;
|
|
10512
|
+
id?: string;
|
|
10513
|
+
is_active?: boolean;
|
|
10514
|
+
last_seen_at?: string;
|
|
10515
|
+
module_id: string;
|
|
10516
|
+
name: string;
|
|
10517
|
+
};
|
|
10518
|
+
Update: {
|
|
10519
|
+
created_at?: string;
|
|
10520
|
+
feature_id?: string;
|
|
10521
|
+
id?: string;
|
|
10522
|
+
is_active?: boolean;
|
|
10523
|
+
last_seen_at?: string;
|
|
10524
|
+
module_id?: string;
|
|
10525
|
+
name?: string;
|
|
10526
|
+
};
|
|
10527
|
+
Relationships: [];
|
|
10528
|
+
};
|
|
9926
10529
|
module_permissions: {
|
|
9927
10530
|
Row: {
|
|
9928
10531
|
created_at: string;
|
|
@@ -9953,6 +10556,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
9953
10556
|
module_registry: {
|
|
9954
10557
|
Row: {
|
|
9955
10558
|
created_at: string;
|
|
10559
|
+
enforce: boolean;
|
|
9956
10560
|
is_active: boolean;
|
|
9957
10561
|
last_seen_at: string;
|
|
9958
10562
|
module_id: string;
|
|
@@ -9962,6 +10566,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
9962
10566
|
};
|
|
9963
10567
|
Insert: {
|
|
9964
10568
|
created_at?: string;
|
|
10569
|
+
enforce?: boolean;
|
|
9965
10570
|
is_active?: boolean;
|
|
9966
10571
|
last_seen_at?: string;
|
|
9967
10572
|
module_id: string;
|
|
@@ -9971,6 +10576,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
9971
10576
|
};
|
|
9972
10577
|
Update: {
|
|
9973
10578
|
created_at?: string;
|
|
10579
|
+
enforce?: boolean;
|
|
9974
10580
|
is_active?: boolean;
|
|
9975
10581
|
last_seen_at?: string;
|
|
9976
10582
|
module_id?: string;
|
|
@@ -10031,63 +10637,6 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
10031
10637
|
};
|
|
10032
10638
|
Relationships: [];
|
|
10033
10639
|
};
|
|
10034
|
-
monteurs: {
|
|
10035
|
-
Row: {
|
|
10036
|
-
avatar_url: string | null;
|
|
10037
|
-
color: string | null;
|
|
10038
|
-
created_at: string;
|
|
10039
|
-
email: string | null;
|
|
10040
|
-
id: string;
|
|
10041
|
-
is_active: boolean;
|
|
10042
|
-
leave_balance_hours: number;
|
|
10043
|
-
name: string;
|
|
10044
|
-
persnr: number | null;
|
|
10045
|
-
phone: string | null;
|
|
10046
|
-
role: string;
|
|
10047
|
-
tenant_id: string;
|
|
10048
|
-
updated_at: string;
|
|
10049
|
-
user_id: string | null;
|
|
10050
|
-
};
|
|
10051
|
-
Insert: {
|
|
10052
|
-
avatar_url?: string | null;
|
|
10053
|
-
color?: string | null;
|
|
10054
|
-
created_at?: string;
|
|
10055
|
-
email?: string | null;
|
|
10056
|
-
id?: string;
|
|
10057
|
-
is_active?: boolean;
|
|
10058
|
-
leave_balance_hours?: number;
|
|
10059
|
-
name: string;
|
|
10060
|
-
persnr?: number | null;
|
|
10061
|
-
phone?: string | null;
|
|
10062
|
-
role?: string;
|
|
10063
|
-
tenant_id: string;
|
|
10064
|
-
updated_at?: string;
|
|
10065
|
-
user_id?: string | null;
|
|
10066
|
-
};
|
|
10067
|
-
Update: {
|
|
10068
|
-
avatar_url?: string | null;
|
|
10069
|
-
color?: string | null;
|
|
10070
|
-
created_at?: string;
|
|
10071
|
-
email?: string | null;
|
|
10072
|
-
id?: string;
|
|
10073
|
-
is_active?: boolean;
|
|
10074
|
-
leave_balance_hours?: number;
|
|
10075
|
-
name?: string;
|
|
10076
|
-
persnr?: number | null;
|
|
10077
|
-
phone?: string | null;
|
|
10078
|
-
role?: string;
|
|
10079
|
-
tenant_id?: string;
|
|
10080
|
-
updated_at?: string;
|
|
10081
|
-
user_id?: string | null;
|
|
10082
|
-
};
|
|
10083
|
-
Relationships: [{
|
|
10084
|
-
foreignKeyName: "monteurs_tenant_id_fkey";
|
|
10085
|
-
columns: ["tenant_id"];
|
|
10086
|
-
isOneToOne: false;
|
|
10087
|
-
referencedRelation: "tenants";
|
|
10088
|
-
referencedColumns: ["id"];
|
|
10089
|
-
}];
|
|
10090
|
-
};
|
|
10091
10640
|
nmbrs_component_mapping: {
|
|
10092
10641
|
Row: {
|
|
10093
10642
|
created_at: string;
|
|
@@ -10158,13 +10707,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
10158
10707
|
nmbrs_employee_number?: string;
|
|
10159
10708
|
updated_at?: string;
|
|
10160
10709
|
};
|
|
10161
|
-
Relationships: [
|
|
10162
|
-
foreignKeyName: "nmbrs_employee_mapping_monteur_id_fkey";
|
|
10163
|
-
columns: ["monteur_id"];
|
|
10164
|
-
isOneToOne: true;
|
|
10165
|
-
referencedRelation: "monteurs";
|
|
10166
|
-
referencedColumns: ["id"];
|
|
10167
|
-
}];
|
|
10710
|
+
Relationships: [];
|
|
10168
10711
|
};
|
|
10169
10712
|
nmbrs_export_lines: {
|
|
10170
10713
|
Row: {
|
|
@@ -10213,12 +10756,6 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
10213
10756
|
wage_code?: string;
|
|
10214
10757
|
};
|
|
10215
10758
|
Relationships: [{
|
|
10216
|
-
foreignKeyName: "nmbrs_export_lines_monteur_id_fkey";
|
|
10217
|
-
columns: ["monteur_id"];
|
|
10218
|
-
isOneToOne: false;
|
|
10219
|
-
referencedRelation: "monteurs";
|
|
10220
|
-
referencedColumns: ["id"];
|
|
10221
|
-
}, {
|
|
10222
10759
|
foreignKeyName: "nmbrs_export_lines_run_id_fkey";
|
|
10223
10760
|
columns: ["run_id"];
|
|
10224
10761
|
isOneToOne: false;
|
|
@@ -11046,6 +11583,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
11046
11583
|
error_message: string | null;
|
|
11047
11584
|
id: string;
|
|
11048
11585
|
invoice_number: string | null;
|
|
11586
|
+
next_attempt_at: string;
|
|
11049
11587
|
order_id: string;
|
|
11050
11588
|
processed_at: string | null;
|
|
11051
11589
|
status: string;
|
|
@@ -11057,6 +11595,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
11057
11595
|
error_message?: string | null;
|
|
11058
11596
|
id?: string;
|
|
11059
11597
|
invoice_number?: string | null;
|
|
11598
|
+
next_attempt_at?: string;
|
|
11060
11599
|
order_id: string;
|
|
11061
11600
|
processed_at?: string | null;
|
|
11062
11601
|
status?: string;
|
|
@@ -11068,6 +11607,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
11068
11607
|
error_message?: string | null;
|
|
11069
11608
|
id?: string;
|
|
11070
11609
|
invoice_number?: string | null;
|
|
11610
|
+
next_attempt_at?: string;
|
|
11071
11611
|
order_id?: string;
|
|
11072
11612
|
processed_at?: string | null;
|
|
11073
11613
|
status?: string;
|
|
@@ -11249,6 +11789,8 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
11249
11789
|
orders: {
|
|
11250
11790
|
Row: {
|
|
11251
11791
|
buffer_id: string | null;
|
|
11792
|
+
cancel_reason: string | null;
|
|
11793
|
+
cancelled_at: string | null;
|
|
11252
11794
|
created_at: string;
|
|
11253
11795
|
custom_fields: import("../integrations/supabase/types").Json;
|
|
11254
11796
|
customer_id: string | null;
|
|
@@ -11271,6 +11813,8 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
11271
11813
|
};
|
|
11272
11814
|
Insert: {
|
|
11273
11815
|
buffer_id?: string | null;
|
|
11816
|
+
cancel_reason?: string | null;
|
|
11817
|
+
cancelled_at?: string | null;
|
|
11274
11818
|
created_at?: string;
|
|
11275
11819
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
11276
11820
|
customer_id?: string | null;
|
|
@@ -11293,6 +11837,8 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
11293
11837
|
};
|
|
11294
11838
|
Update: {
|
|
11295
11839
|
buffer_id?: string | null;
|
|
11840
|
+
cancel_reason?: string | null;
|
|
11841
|
+
cancelled_at?: string | null;
|
|
11296
11842
|
created_at?: string;
|
|
11297
11843
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
11298
11844
|
customer_id?: string | null;
|
|
@@ -12606,6 +13152,9 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
12606
13152
|
created_at: string;
|
|
12607
13153
|
id: string;
|
|
12608
13154
|
laatst_gezien: string;
|
|
13155
|
+
laatste_fout: string | null;
|
|
13156
|
+
laatste_request_id: number | null;
|
|
13157
|
+
mislukte_posts: number;
|
|
12609
13158
|
tick_sleutel: string;
|
|
12610
13159
|
updated_at: string;
|
|
12611
13160
|
};
|
|
@@ -12615,6 +13164,9 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
12615
13164
|
created_at?: string;
|
|
12616
13165
|
id?: string;
|
|
12617
13166
|
laatst_gezien?: string;
|
|
13167
|
+
laatste_fout?: string | null;
|
|
13168
|
+
laatste_request_id?: number | null;
|
|
13169
|
+
mislukte_posts?: number;
|
|
12618
13170
|
tick_sleutel?: string;
|
|
12619
13171
|
updated_at?: string;
|
|
12620
13172
|
};
|
|
@@ -12624,6 +13176,9 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
12624
13176
|
created_at?: string;
|
|
12625
13177
|
id?: string;
|
|
12626
13178
|
laatst_gezien?: string;
|
|
13179
|
+
laatste_fout?: string | null;
|
|
13180
|
+
laatste_request_id?: number | null;
|
|
13181
|
+
mislukte_posts?: number;
|
|
12627
13182
|
tick_sleutel?: string;
|
|
12628
13183
|
updated_at?: string;
|
|
12629
13184
|
};
|
|
@@ -13346,54 +13901,147 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
13346
13901
|
};
|
|
13347
13902
|
Relationships: [];
|
|
13348
13903
|
};
|
|
13349
|
-
|
|
13904
|
+
profile_modules: {
|
|
13350
13905
|
Row: {
|
|
13351
|
-
address: string | null;
|
|
13352
|
-
avatar_url: string | null;
|
|
13353
13906
|
created_at: string;
|
|
13354
|
-
display_name: string | null;
|
|
13355
|
-
email: string | null;
|
|
13356
13907
|
id: string;
|
|
13357
|
-
|
|
13358
|
-
|
|
13359
|
-
tenant_id: string | null;
|
|
13360
|
-
updated_at: string;
|
|
13908
|
+
module_id: string;
|
|
13909
|
+
profile_id: string;
|
|
13361
13910
|
};
|
|
13362
13911
|
Insert: {
|
|
13363
|
-
address?: string | null;
|
|
13364
|
-
avatar_url?: string | null;
|
|
13365
13912
|
created_at?: string;
|
|
13366
|
-
|
|
13367
|
-
|
|
13368
|
-
|
|
13369
|
-
is_superadmin?: boolean;
|
|
13370
|
-
notification_preferences?: import("../integrations/supabase/types").Json;
|
|
13371
|
-
tenant_id?: string | null;
|
|
13372
|
-
updated_at?: string;
|
|
13913
|
+
id?: string;
|
|
13914
|
+
module_id: string;
|
|
13915
|
+
profile_id: string;
|
|
13373
13916
|
};
|
|
13374
13917
|
Update: {
|
|
13375
|
-
address?: string | null;
|
|
13376
|
-
avatar_url?: string | null;
|
|
13377
13918
|
created_at?: string;
|
|
13378
|
-
display_name?: string | null;
|
|
13379
|
-
email?: string | null;
|
|
13380
13919
|
id?: string;
|
|
13381
|
-
|
|
13382
|
-
|
|
13383
|
-
tenant_id?: string | null;
|
|
13384
|
-
updated_at?: string;
|
|
13920
|
+
module_id?: string;
|
|
13921
|
+
profile_id?: string;
|
|
13385
13922
|
};
|
|
13386
13923
|
Relationships: [{
|
|
13387
|
-
foreignKeyName: "
|
|
13388
|
-
columns: ["
|
|
13924
|
+
foreignKeyName: "profile_modules_profile_id_fkey";
|
|
13925
|
+
columns: ["profile_id"];
|
|
13389
13926
|
isOneToOne: false;
|
|
13390
|
-
referencedRelation: "
|
|
13927
|
+
referencedRelation: "profiles_org";
|
|
13391
13928
|
referencedColumns: ["id"];
|
|
13392
13929
|
}];
|
|
13393
13930
|
};
|
|
13394
|
-
|
|
13931
|
+
profile_roles: {
|
|
13395
13932
|
Row: {
|
|
13396
|
-
|
|
13933
|
+
created_at: string;
|
|
13934
|
+
id: string;
|
|
13935
|
+
profile_id: string;
|
|
13936
|
+
role_id: string;
|
|
13937
|
+
};
|
|
13938
|
+
Insert: {
|
|
13939
|
+
created_at?: string;
|
|
13940
|
+
id?: string;
|
|
13941
|
+
profile_id: string;
|
|
13942
|
+
role_id: string;
|
|
13943
|
+
};
|
|
13944
|
+
Update: {
|
|
13945
|
+
created_at?: string;
|
|
13946
|
+
id?: string;
|
|
13947
|
+
profile_id?: string;
|
|
13948
|
+
role_id?: string;
|
|
13949
|
+
};
|
|
13950
|
+
Relationships: [{
|
|
13951
|
+
foreignKeyName: "profile_roles_profile_id_fkey";
|
|
13952
|
+
columns: ["profile_id"];
|
|
13953
|
+
isOneToOne: false;
|
|
13954
|
+
referencedRelation: "profiles_org";
|
|
13955
|
+
referencedColumns: ["id"];
|
|
13956
|
+
}, {
|
|
13957
|
+
foreignKeyName: "profile_roles_role_id_fkey";
|
|
13958
|
+
columns: ["role_id"];
|
|
13959
|
+
isOneToOne: false;
|
|
13960
|
+
referencedRelation: "roles";
|
|
13961
|
+
referencedColumns: ["id"];
|
|
13962
|
+
}];
|
|
13963
|
+
};
|
|
13964
|
+
profiles: {
|
|
13965
|
+
Row: {
|
|
13966
|
+
address: string | null;
|
|
13967
|
+
avatar_url: string | null;
|
|
13968
|
+
created_at: string;
|
|
13969
|
+
display_name: string | null;
|
|
13970
|
+
email: string | null;
|
|
13971
|
+
id: string;
|
|
13972
|
+
is_superadmin: boolean;
|
|
13973
|
+
notification_preferences: import("../integrations/supabase/types").Json;
|
|
13974
|
+
tenant_id: string | null;
|
|
13975
|
+
updated_at: string;
|
|
13976
|
+
};
|
|
13977
|
+
Insert: {
|
|
13978
|
+
address?: string | null;
|
|
13979
|
+
avatar_url?: string | null;
|
|
13980
|
+
created_at?: string;
|
|
13981
|
+
display_name?: string | null;
|
|
13982
|
+
email?: string | null;
|
|
13983
|
+
id: string;
|
|
13984
|
+
is_superadmin?: boolean;
|
|
13985
|
+
notification_preferences?: import("../integrations/supabase/types").Json;
|
|
13986
|
+
tenant_id?: string | null;
|
|
13987
|
+
updated_at?: string;
|
|
13988
|
+
};
|
|
13989
|
+
Update: {
|
|
13990
|
+
address?: string | null;
|
|
13991
|
+
avatar_url?: string | null;
|
|
13992
|
+
created_at?: string;
|
|
13993
|
+
display_name?: string | null;
|
|
13994
|
+
email?: string | null;
|
|
13995
|
+
id?: string;
|
|
13996
|
+
is_superadmin?: boolean;
|
|
13997
|
+
notification_preferences?: import("../integrations/supabase/types").Json;
|
|
13998
|
+
tenant_id?: string | null;
|
|
13999
|
+
updated_at?: string;
|
|
14000
|
+
};
|
|
14001
|
+
Relationships: [{
|
|
14002
|
+
foreignKeyName: "profiles_tenant_id_fkey";
|
|
14003
|
+
columns: ["tenant_id"];
|
|
14004
|
+
isOneToOne: false;
|
|
14005
|
+
referencedRelation: "tenants";
|
|
14006
|
+
referencedColumns: ["id"];
|
|
14007
|
+
}];
|
|
14008
|
+
};
|
|
14009
|
+
profiles_org: {
|
|
14010
|
+
Row: {
|
|
14011
|
+
created_at: string;
|
|
14012
|
+
id: string;
|
|
14013
|
+
is_default: boolean;
|
|
14014
|
+
name: string;
|
|
14015
|
+
tenant_id: string | null;
|
|
14016
|
+
updated_at: string;
|
|
14017
|
+
};
|
|
14018
|
+
Insert: {
|
|
14019
|
+
created_at?: string;
|
|
14020
|
+
id?: string;
|
|
14021
|
+
is_default?: boolean;
|
|
14022
|
+
name: string;
|
|
14023
|
+
tenant_id?: string | null;
|
|
14024
|
+
updated_at?: string;
|
|
14025
|
+
};
|
|
14026
|
+
Update: {
|
|
14027
|
+
created_at?: string;
|
|
14028
|
+
id?: string;
|
|
14029
|
+
is_default?: boolean;
|
|
14030
|
+
name?: string;
|
|
14031
|
+
tenant_id?: string | null;
|
|
14032
|
+
updated_at?: string;
|
|
14033
|
+
};
|
|
14034
|
+
Relationships: [{
|
|
14035
|
+
foreignKeyName: "profiles_org_tenant_id_fkey";
|
|
14036
|
+
columns: ["tenant_id"];
|
|
14037
|
+
isOneToOne: false;
|
|
14038
|
+
referencedRelation: "tenants";
|
|
14039
|
+
referencedColumns: ["id"];
|
|
14040
|
+
}];
|
|
14041
|
+
};
|
|
14042
|
+
projects: {
|
|
14043
|
+
Row: {
|
|
14044
|
+
contact_name: string | null;
|
|
13397
14045
|
created_at: string;
|
|
13398
14046
|
email: string | null;
|
|
13399
14047
|
id: string;
|
|
@@ -14132,6 +14780,96 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
14132
14780
|
referencedColumns: ["id"];
|
|
14133
14781
|
}];
|
|
14134
14782
|
};
|
|
14783
|
+
role_assignments: {
|
|
14784
|
+
Row: {
|
|
14785
|
+
created_at: string;
|
|
14786
|
+
id: string;
|
|
14787
|
+
role_id: string;
|
|
14788
|
+
user_id: string;
|
|
14789
|
+
};
|
|
14790
|
+
Insert: {
|
|
14791
|
+
created_at?: string;
|
|
14792
|
+
id?: string;
|
|
14793
|
+
role_id: string;
|
|
14794
|
+
user_id: string;
|
|
14795
|
+
};
|
|
14796
|
+
Update: {
|
|
14797
|
+
created_at?: string;
|
|
14798
|
+
id?: string;
|
|
14799
|
+
role_id?: string;
|
|
14800
|
+
user_id?: string;
|
|
14801
|
+
};
|
|
14802
|
+
Relationships: [{
|
|
14803
|
+
foreignKeyName: "role_assignments_role_id_fkey";
|
|
14804
|
+
columns: ["role_id"];
|
|
14805
|
+
isOneToOne: false;
|
|
14806
|
+
referencedRelation: "roles";
|
|
14807
|
+
referencedColumns: ["id"];
|
|
14808
|
+
}];
|
|
14809
|
+
};
|
|
14810
|
+
role_permissions: {
|
|
14811
|
+
Row: {
|
|
14812
|
+
can_edit: boolean;
|
|
14813
|
+
can_view: boolean;
|
|
14814
|
+
feature_id: string;
|
|
14815
|
+
id: string;
|
|
14816
|
+
module_id: string;
|
|
14817
|
+
role_id: string;
|
|
14818
|
+
updated_at: string;
|
|
14819
|
+
};
|
|
14820
|
+
Insert: {
|
|
14821
|
+
can_edit?: boolean;
|
|
14822
|
+
can_view?: boolean;
|
|
14823
|
+
feature_id?: string;
|
|
14824
|
+
id?: string;
|
|
14825
|
+
module_id: string;
|
|
14826
|
+
role_id: string;
|
|
14827
|
+
updated_at?: string;
|
|
14828
|
+
};
|
|
14829
|
+
Update: {
|
|
14830
|
+
can_edit?: boolean;
|
|
14831
|
+
can_view?: boolean;
|
|
14832
|
+
feature_id?: string;
|
|
14833
|
+
id?: string;
|
|
14834
|
+
module_id?: string;
|
|
14835
|
+
role_id?: string;
|
|
14836
|
+
updated_at?: string;
|
|
14837
|
+
};
|
|
14838
|
+
Relationships: [{
|
|
14839
|
+
foreignKeyName: "role_permissions_role_id_fkey";
|
|
14840
|
+
columns: ["role_id"];
|
|
14841
|
+
isOneToOne: false;
|
|
14842
|
+
referencedRelation: "roles";
|
|
14843
|
+
referencedColumns: ["id"];
|
|
14844
|
+
}];
|
|
14845
|
+
};
|
|
14846
|
+
roles: {
|
|
14847
|
+
Row: {
|
|
14848
|
+
created_at: string;
|
|
14849
|
+
id: string;
|
|
14850
|
+
is_protected: boolean;
|
|
14851
|
+
key: string;
|
|
14852
|
+
name: string;
|
|
14853
|
+
updated_at: string;
|
|
14854
|
+
};
|
|
14855
|
+
Insert: {
|
|
14856
|
+
created_at?: string;
|
|
14857
|
+
id?: string;
|
|
14858
|
+
is_protected?: boolean;
|
|
14859
|
+
key: string;
|
|
14860
|
+
name: string;
|
|
14861
|
+
updated_at?: string;
|
|
14862
|
+
};
|
|
14863
|
+
Update: {
|
|
14864
|
+
created_at?: string;
|
|
14865
|
+
id?: string;
|
|
14866
|
+
is_protected?: boolean;
|
|
14867
|
+
key?: string;
|
|
14868
|
+
name?: string;
|
|
14869
|
+
updated_at?: string;
|
|
14870
|
+
};
|
|
14871
|
+
Relationships: [];
|
|
14872
|
+
};
|
|
14135
14873
|
rooms: {
|
|
14136
14874
|
Row: {
|
|
14137
14875
|
capacity: number;
|
|
@@ -14475,6 +15213,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
14475
15213
|
type: string;
|
|
14476
15214
|
updated_at: string;
|
|
14477
15215
|
vereist_medewerker: boolean;
|
|
15216
|
+
werkplek: string | null;
|
|
14478
15217
|
};
|
|
14479
15218
|
Insert: {
|
|
14480
15219
|
actief?: boolean;
|
|
@@ -14488,6 +15227,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
14488
15227
|
type?: string;
|
|
14489
15228
|
updated_at?: string;
|
|
14490
15229
|
vereist_medewerker?: boolean;
|
|
15230
|
+
werkplek?: string | null;
|
|
14491
15231
|
};
|
|
14492
15232
|
Update: {
|
|
14493
15233
|
actief?: boolean;
|
|
@@ -14501,9 +15241,46 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
14501
15241
|
type?: string;
|
|
14502
15242
|
updated_at?: string;
|
|
14503
15243
|
vereist_medewerker?: boolean;
|
|
15244
|
+
werkplek?: string | null;
|
|
14504
15245
|
};
|
|
14505
15246
|
Relationships: [];
|
|
14506
15247
|
};
|
|
15248
|
+
sick_periods: {
|
|
15249
|
+
Row: {
|
|
15250
|
+
created_at: string;
|
|
15251
|
+
employee_id: string;
|
|
15252
|
+
end_date: string | null;
|
|
15253
|
+
id: string;
|
|
15254
|
+
notes: string | null;
|
|
15255
|
+
start_date: string;
|
|
15256
|
+
updated_at: string;
|
|
15257
|
+
};
|
|
15258
|
+
Insert: {
|
|
15259
|
+
created_at?: string;
|
|
15260
|
+
employee_id: string;
|
|
15261
|
+
end_date?: string | null;
|
|
15262
|
+
id?: string;
|
|
15263
|
+
notes?: string | null;
|
|
15264
|
+
start_date: string;
|
|
15265
|
+
updated_at?: string;
|
|
15266
|
+
};
|
|
15267
|
+
Update: {
|
|
15268
|
+
created_at?: string;
|
|
15269
|
+
employee_id?: string;
|
|
15270
|
+
end_date?: string | null;
|
|
15271
|
+
id?: string;
|
|
15272
|
+
notes?: string | null;
|
|
15273
|
+
start_date?: string;
|
|
15274
|
+
updated_at?: string;
|
|
15275
|
+
};
|
|
15276
|
+
Relationships: [{
|
|
15277
|
+
foreignKeyName: "sick_periods_employee_id_fkey";
|
|
15278
|
+
columns: ["employee_id"];
|
|
15279
|
+
isOneToOne: false;
|
|
15280
|
+
referencedRelation: "profiles";
|
|
15281
|
+
referencedColumns: ["id"];
|
|
15282
|
+
}];
|
|
15283
|
+
};
|
|
14507
15284
|
sidebar_config: {
|
|
14508
15285
|
Row: {
|
|
14509
15286
|
id: string;
|
|
@@ -14801,6 +15578,54 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
14801
15578
|
};
|
|
14802
15579
|
Relationships: [];
|
|
14803
15580
|
};
|
|
15581
|
+
time_compensation_entries: {
|
|
15582
|
+
Row: {
|
|
15583
|
+
created_at: string;
|
|
15584
|
+
employee_id: string;
|
|
15585
|
+
entry_date: string;
|
|
15586
|
+
id: string;
|
|
15587
|
+
km: number;
|
|
15588
|
+
meal_allowance: number;
|
|
15589
|
+
notes: string | null;
|
|
15590
|
+
standby_evening: number;
|
|
15591
|
+
standby_weekend: number;
|
|
15592
|
+
tvt_change: number;
|
|
15593
|
+
updated_at: string;
|
|
15594
|
+
};
|
|
15595
|
+
Insert: {
|
|
15596
|
+
created_at?: string;
|
|
15597
|
+
employee_id: string;
|
|
15598
|
+
entry_date: string;
|
|
15599
|
+
id?: string;
|
|
15600
|
+
km?: number;
|
|
15601
|
+
meal_allowance?: number;
|
|
15602
|
+
notes?: string | null;
|
|
15603
|
+
standby_evening?: number;
|
|
15604
|
+
standby_weekend?: number;
|
|
15605
|
+
tvt_change?: number;
|
|
15606
|
+
updated_at?: string;
|
|
15607
|
+
};
|
|
15608
|
+
Update: {
|
|
15609
|
+
created_at?: string;
|
|
15610
|
+
employee_id?: string;
|
|
15611
|
+
entry_date?: string;
|
|
15612
|
+
id?: string;
|
|
15613
|
+
km?: number;
|
|
15614
|
+
meal_allowance?: number;
|
|
15615
|
+
notes?: string | null;
|
|
15616
|
+
standby_evening?: number;
|
|
15617
|
+
standby_weekend?: number;
|
|
15618
|
+
tvt_change?: number;
|
|
15619
|
+
updated_at?: string;
|
|
15620
|
+
};
|
|
15621
|
+
Relationships: [{
|
|
15622
|
+
foreignKeyName: "time_compensation_entries_employee_id_fkey";
|
|
15623
|
+
columns: ["employee_id"];
|
|
15624
|
+
isOneToOne: false;
|
|
15625
|
+
referencedRelation: "profiles";
|
|
15626
|
+
referencedColumns: ["id"];
|
|
15627
|
+
}];
|
|
15628
|
+
};
|
|
14804
15629
|
time_entries: {
|
|
14805
15630
|
Row: {
|
|
14806
15631
|
created_at: string;
|
|
@@ -14835,65 +15660,170 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
14835
15660
|
undertime?: number;
|
|
14836
15661
|
updated_at?: string;
|
|
14837
15662
|
};
|
|
15663
|
+
Relationships: [];
|
|
15664
|
+
};
|
|
15665
|
+
time_log_week_approvals: {
|
|
15666
|
+
Row: {
|
|
15667
|
+
approved_at: string | null;
|
|
15668
|
+
approved_by: string | null;
|
|
15669
|
+
created_at: string;
|
|
15670
|
+
employee_id: string;
|
|
15671
|
+
id: string;
|
|
15672
|
+
locked: boolean;
|
|
15673
|
+
notes: string | null;
|
|
15674
|
+
status: string;
|
|
15675
|
+
submitted_at: string | null;
|
|
15676
|
+
updated_at: string;
|
|
15677
|
+
week_start: string;
|
|
15678
|
+
};
|
|
15679
|
+
Insert: {
|
|
15680
|
+
approved_at?: string | null;
|
|
15681
|
+
approved_by?: string | null;
|
|
15682
|
+
created_at?: string;
|
|
15683
|
+
employee_id: string;
|
|
15684
|
+
id?: string;
|
|
15685
|
+
locked?: boolean;
|
|
15686
|
+
notes?: string | null;
|
|
15687
|
+
status?: string;
|
|
15688
|
+
submitted_at?: string | null;
|
|
15689
|
+
updated_at?: string;
|
|
15690
|
+
week_start: string;
|
|
15691
|
+
};
|
|
15692
|
+
Update: {
|
|
15693
|
+
approved_at?: string | null;
|
|
15694
|
+
approved_by?: string | null;
|
|
15695
|
+
created_at?: string;
|
|
15696
|
+
employee_id?: string;
|
|
15697
|
+
id?: string;
|
|
15698
|
+
locked?: boolean;
|
|
15699
|
+
notes?: string | null;
|
|
15700
|
+
status?: string;
|
|
15701
|
+
submitted_at?: string | null;
|
|
15702
|
+
updated_at?: string;
|
|
15703
|
+
week_start?: string;
|
|
15704
|
+
};
|
|
14838
15705
|
Relationships: [{
|
|
14839
|
-
foreignKeyName: "
|
|
15706
|
+
foreignKeyName: "time_log_week_approvals_employee_id_fkey";
|
|
14840
15707
|
columns: ["employee_id"];
|
|
14841
15708
|
isOneToOne: false;
|
|
14842
|
-
referencedRelation: "
|
|
15709
|
+
referencedRelation: "profiles";
|
|
14843
15710
|
referencedColumns: ["id"];
|
|
14844
15711
|
}];
|
|
14845
15712
|
};
|
|
14846
15713
|
time_logs: {
|
|
14847
15714
|
Row: {
|
|
15715
|
+
auto_stop_reason: string | null;
|
|
15716
|
+
auto_stopped: boolean;
|
|
14848
15717
|
created_at: string;
|
|
15718
|
+
current_latitude: number | null;
|
|
15719
|
+
current_longitude: number | null;
|
|
15720
|
+
current_position_updated_at: string | null;
|
|
14849
15721
|
employee_id: string;
|
|
15722
|
+
end_latitude: number | null;
|
|
15723
|
+
end_longitude: number | null;
|
|
14850
15724
|
end_time: string | null;
|
|
15725
|
+
eta_distance_km: number | null;
|
|
15726
|
+
eta_minutes: number | null;
|
|
15727
|
+
eta_updated_at: string | null;
|
|
15728
|
+
hour_category: string | null;
|
|
14851
15729
|
id: string;
|
|
15730
|
+
last_reminder_at: string | null;
|
|
14852
15731
|
notes: string | null;
|
|
14853
15732
|
overtime_hours: number;
|
|
14854
15733
|
overtime_type: string | null;
|
|
14855
15734
|
regular_hours: number;
|
|
15735
|
+
reminder_count: number;
|
|
15736
|
+
requires_review: boolean;
|
|
15737
|
+
start_latitude: number | null;
|
|
15738
|
+
start_longitude: number | null;
|
|
14856
15739
|
start_time: string;
|
|
14857
15740
|
travel_cost: number | null;
|
|
14858
15741
|
travel_distance_km: number | null;
|
|
15742
|
+
travel_duration_min: number | null;
|
|
15743
|
+
travel_time_minutes: number | null;
|
|
14859
15744
|
type: string;
|
|
14860
15745
|
updated_at: string;
|
|
15746
|
+
work_order_id: string | null;
|
|
14861
15747
|
};
|
|
14862
15748
|
Insert: {
|
|
15749
|
+
auto_stop_reason?: string | null;
|
|
15750
|
+
auto_stopped?: boolean;
|
|
14863
15751
|
created_at?: string;
|
|
15752
|
+
current_latitude?: number | null;
|
|
15753
|
+
current_longitude?: number | null;
|
|
15754
|
+
current_position_updated_at?: string | null;
|
|
14864
15755
|
employee_id: string;
|
|
15756
|
+
end_latitude?: number | null;
|
|
15757
|
+
end_longitude?: number | null;
|
|
14865
15758
|
end_time?: string | null;
|
|
15759
|
+
eta_distance_km?: number | null;
|
|
15760
|
+
eta_minutes?: number | null;
|
|
15761
|
+
eta_updated_at?: string | null;
|
|
15762
|
+
hour_category?: string | null;
|
|
14866
15763
|
id?: string;
|
|
15764
|
+
last_reminder_at?: string | null;
|
|
14867
15765
|
notes?: string | null;
|
|
14868
15766
|
overtime_hours?: number;
|
|
14869
15767
|
overtime_type?: string | null;
|
|
14870
15768
|
regular_hours?: number;
|
|
15769
|
+
reminder_count?: number;
|
|
15770
|
+
requires_review?: boolean;
|
|
15771
|
+
start_latitude?: number | null;
|
|
15772
|
+
start_longitude?: number | null;
|
|
14871
15773
|
start_time?: string;
|
|
14872
15774
|
travel_cost?: number | null;
|
|
14873
15775
|
travel_distance_km?: number | null;
|
|
15776
|
+
travel_duration_min?: number | null;
|
|
15777
|
+
travel_time_minutes?: number | null;
|
|
14874
15778
|
type: string;
|
|
14875
15779
|
updated_at?: string;
|
|
15780
|
+
work_order_id?: string | null;
|
|
14876
15781
|
};
|
|
14877
15782
|
Update: {
|
|
15783
|
+
auto_stop_reason?: string | null;
|
|
15784
|
+
auto_stopped?: boolean;
|
|
14878
15785
|
created_at?: string;
|
|
15786
|
+
current_latitude?: number | null;
|
|
15787
|
+
current_longitude?: number | null;
|
|
15788
|
+
current_position_updated_at?: string | null;
|
|
14879
15789
|
employee_id?: string;
|
|
15790
|
+
end_latitude?: number | null;
|
|
15791
|
+
end_longitude?: number | null;
|
|
14880
15792
|
end_time?: string | null;
|
|
15793
|
+
eta_distance_km?: number | null;
|
|
15794
|
+
eta_minutes?: number | null;
|
|
15795
|
+
eta_updated_at?: string | null;
|
|
15796
|
+
hour_category?: string | null;
|
|
14881
15797
|
id?: string;
|
|
15798
|
+
last_reminder_at?: string | null;
|
|
14882
15799
|
notes?: string | null;
|
|
14883
15800
|
overtime_hours?: number;
|
|
14884
15801
|
overtime_type?: string | null;
|
|
14885
15802
|
regular_hours?: number;
|
|
15803
|
+
reminder_count?: number;
|
|
15804
|
+
requires_review?: boolean;
|
|
15805
|
+
start_latitude?: number | null;
|
|
15806
|
+
start_longitude?: number | null;
|
|
14886
15807
|
start_time?: string;
|
|
14887
15808
|
travel_cost?: number | null;
|
|
14888
15809
|
travel_distance_km?: number | null;
|
|
15810
|
+
travel_duration_min?: number | null;
|
|
15811
|
+
travel_time_minutes?: number | null;
|
|
14889
15812
|
type?: string;
|
|
14890
15813
|
updated_at?: string;
|
|
15814
|
+
work_order_id?: string | null;
|
|
14891
15815
|
};
|
|
14892
15816
|
Relationships: [{
|
|
14893
15817
|
foreignKeyName: "time_logs_employee_id_fkey";
|
|
14894
15818
|
columns: ["employee_id"];
|
|
14895
15819
|
isOneToOne: false;
|
|
14896
|
-
referencedRelation: "
|
|
15820
|
+
referencedRelation: "profiles";
|
|
15821
|
+
referencedColumns: ["id"];
|
|
15822
|
+
}, {
|
|
15823
|
+
foreignKeyName: "time_logs_work_order_id_fkey";
|
|
15824
|
+
columns: ["work_order_id"];
|
|
15825
|
+
isOneToOne: false;
|
|
15826
|
+
referencedRelation: "work_orders";
|
|
14897
15827
|
referencedColumns: ["id"];
|
|
14898
15828
|
}];
|
|
14899
15829
|
};
|
|
@@ -14932,7 +15862,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
14932
15862
|
foreignKeyName: "time_off_entries_employee_id_fkey";
|
|
14933
15863
|
columns: ["employee_id"];
|
|
14934
15864
|
isOneToOne: false;
|
|
14935
|
-
referencedRelation: "
|
|
15865
|
+
referencedRelation: "profiles";
|
|
14936
15866
|
referencedColumns: ["id"];
|
|
14937
15867
|
}];
|
|
14938
15868
|
};
|
|
@@ -15242,6 +16172,39 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
15242
16172
|
};
|
|
15243
16173
|
Relationships: [];
|
|
15244
16174
|
};
|
|
16175
|
+
twinfield_cron_locks: {
|
|
16176
|
+
Row: {
|
|
16177
|
+
created_at: string;
|
|
16178
|
+
heartbeat_at: string;
|
|
16179
|
+
job_name: string;
|
|
16180
|
+
last_error: string | null;
|
|
16181
|
+
last_finished_at: string | null;
|
|
16182
|
+
locked_at: string;
|
|
16183
|
+
run_id: string;
|
|
16184
|
+
updated_at: string;
|
|
16185
|
+
};
|
|
16186
|
+
Insert: {
|
|
16187
|
+
created_at?: string;
|
|
16188
|
+
heartbeat_at?: string;
|
|
16189
|
+
job_name: string;
|
|
16190
|
+
last_error?: string | null;
|
|
16191
|
+
last_finished_at?: string | null;
|
|
16192
|
+
locked_at?: string;
|
|
16193
|
+
run_id?: string;
|
|
16194
|
+
updated_at?: string;
|
|
16195
|
+
};
|
|
16196
|
+
Update: {
|
|
16197
|
+
created_at?: string;
|
|
16198
|
+
heartbeat_at?: string;
|
|
16199
|
+
job_name?: string;
|
|
16200
|
+
last_error?: string | null;
|
|
16201
|
+
last_finished_at?: string | null;
|
|
16202
|
+
locked_at?: string;
|
|
16203
|
+
run_id?: string;
|
|
16204
|
+
updated_at?: string;
|
|
16205
|
+
};
|
|
16206
|
+
Relationships: [];
|
|
16207
|
+
};
|
|
15245
16208
|
twinfield_customers: {
|
|
15246
16209
|
Row: {
|
|
15247
16210
|
address: string | null;
|
|
@@ -15842,6 +16805,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
15842
16805
|
twinfield_push_queue: {
|
|
15843
16806
|
Row: {
|
|
15844
16807
|
action: string;
|
|
16808
|
+
attempt_started_at: string | null;
|
|
15845
16809
|
attempts: number;
|
|
15846
16810
|
connection_id: string | null;
|
|
15847
16811
|
created_at: string;
|
|
@@ -15858,6 +16822,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
15858
16822
|
};
|
|
15859
16823
|
Insert: {
|
|
15860
16824
|
action?: string;
|
|
16825
|
+
attempt_started_at?: string | null;
|
|
15861
16826
|
attempts?: number;
|
|
15862
16827
|
connection_id?: string | null;
|
|
15863
16828
|
created_at?: string;
|
|
@@ -15874,6 +16839,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
15874
16839
|
};
|
|
15875
16840
|
Update: {
|
|
15876
16841
|
action?: string;
|
|
16842
|
+
attempt_started_at?: string | null;
|
|
15877
16843
|
attempts?: number;
|
|
15878
16844
|
connection_id?: string | null;
|
|
15879
16845
|
created_at?: string;
|
|
@@ -16071,13 +17037,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
16071
17037
|
workday_end?: string | null;
|
|
16072
17038
|
workday_start?: string | null;
|
|
16073
17039
|
};
|
|
16074
|
-
Relationships: [
|
|
16075
|
-
foreignKeyName: "uren_cao_profiles_monteur_id_fkey";
|
|
16076
|
-
columns: ["monteur_id"];
|
|
16077
|
-
isOneToOne: true;
|
|
16078
|
-
referencedRelation: "monteurs";
|
|
16079
|
-
referencedColumns: ["id"];
|
|
16080
|
-
}];
|
|
17040
|
+
Relationships: [];
|
|
16081
17041
|
};
|
|
16082
17042
|
uren_entries: {
|
|
16083
17043
|
Row: {
|
|
@@ -16121,14 +17081,8 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
16121
17081
|
travel_km?: number;
|
|
16122
17082
|
updated_at?: string;
|
|
16123
17083
|
werkbon_id?: string | null;
|
|
16124
|
-
};
|
|
16125
|
-
Relationships: [{
|
|
16126
|
-
foreignKeyName: "uren_entries_monteur_id_fkey";
|
|
16127
|
-
columns: ["monteur_id"];
|
|
16128
|
-
isOneToOne: false;
|
|
16129
|
-
referencedRelation: "monteurs";
|
|
16130
|
-
referencedColumns: ["id"];
|
|
16131
|
-
}, {
|
|
17084
|
+
};
|
|
17085
|
+
Relationships: [{
|
|
16132
17086
|
foreignKeyName: "uren_entries_werkbon_id_fkey";
|
|
16133
17087
|
columns: ["werkbon_id"];
|
|
16134
17088
|
isOneToOne: false;
|
|
@@ -16596,17 +17550,12 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
16596
17550
|
submitted_at?: string | null;
|
|
16597
17551
|
updated_at?: string;
|
|
16598
17552
|
};
|
|
16599
|
-
Relationships: [
|
|
16600
|
-
foreignKeyName: "uren_weekstaten_monteur_id_fkey";
|
|
16601
|
-
columns: ["monteur_id"];
|
|
16602
|
-
isOneToOne: false;
|
|
16603
|
-
referencedRelation: "monteurs";
|
|
16604
|
-
referencedColumns: ["id"];
|
|
16605
|
-
}];
|
|
17553
|
+
Relationships: [];
|
|
16606
17554
|
};
|
|
16607
17555
|
user_module_permissions: {
|
|
16608
17556
|
Row: {
|
|
16609
17557
|
created_at: string;
|
|
17558
|
+
feature_id: string;
|
|
16610
17559
|
id: string;
|
|
16611
17560
|
module_id: string;
|
|
16612
17561
|
permission: string;
|
|
@@ -16615,6 +17564,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
16615
17564
|
};
|
|
16616
17565
|
Insert: {
|
|
16617
17566
|
created_at?: string;
|
|
17567
|
+
feature_id?: string;
|
|
16618
17568
|
id?: string;
|
|
16619
17569
|
module_id: string;
|
|
16620
17570
|
permission: string;
|
|
@@ -16623,6 +17573,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
16623
17573
|
};
|
|
16624
17574
|
Update: {
|
|
16625
17575
|
created_at?: string;
|
|
17576
|
+
feature_id?: string;
|
|
16626
17577
|
id?: string;
|
|
16627
17578
|
module_id?: string;
|
|
16628
17579
|
permission?: string;
|
|
@@ -16658,6 +17609,51 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
16658
17609
|
referencedColumns: ["id"];
|
|
16659
17610
|
}];
|
|
16660
17611
|
};
|
|
17612
|
+
van_inventories: {
|
|
17613
|
+
Row: {
|
|
17614
|
+
barcode: string | null;
|
|
17615
|
+
created_at: string;
|
|
17616
|
+
id: string;
|
|
17617
|
+
monteur_id: string | null;
|
|
17618
|
+
price_per_unit: number;
|
|
17619
|
+
product_name: string;
|
|
17620
|
+
quantity_current: number;
|
|
17621
|
+
quantity_min: number;
|
|
17622
|
+
unit: string;
|
|
17623
|
+
updated_at: string;
|
|
17624
|
+
};
|
|
17625
|
+
Insert: {
|
|
17626
|
+
barcode?: string | null;
|
|
17627
|
+
created_at?: string;
|
|
17628
|
+
id?: string;
|
|
17629
|
+
monteur_id?: string | null;
|
|
17630
|
+
price_per_unit?: number;
|
|
17631
|
+
product_name: string;
|
|
17632
|
+
quantity_current?: number;
|
|
17633
|
+
quantity_min?: number;
|
|
17634
|
+
unit?: string;
|
|
17635
|
+
updated_at?: string;
|
|
17636
|
+
};
|
|
17637
|
+
Update: {
|
|
17638
|
+
barcode?: string | null;
|
|
17639
|
+
created_at?: string;
|
|
17640
|
+
id?: string;
|
|
17641
|
+
monteur_id?: string | null;
|
|
17642
|
+
price_per_unit?: number;
|
|
17643
|
+
product_name?: string;
|
|
17644
|
+
quantity_current?: number;
|
|
17645
|
+
quantity_min?: number;
|
|
17646
|
+
unit?: string;
|
|
17647
|
+
updated_at?: string;
|
|
17648
|
+
};
|
|
17649
|
+
Relationships: [{
|
|
17650
|
+
foreignKeyName: "van_inventories_monteur_id_fkey";
|
|
17651
|
+
columns: ["monteur_id"];
|
|
17652
|
+
isOneToOne: false;
|
|
17653
|
+
referencedRelation: "profiles";
|
|
17654
|
+
referencedColumns: ["id"];
|
|
17655
|
+
}];
|
|
17656
|
+
};
|
|
16661
17657
|
voorraad_custom_fields: {
|
|
16662
17658
|
Row: {
|
|
16663
17659
|
created_at: string;
|
|
@@ -17608,7 +18604,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
17608
18604
|
foreignKeyName: "work_order_monteurs_monteur_id_fkey";
|
|
17609
18605
|
columns: ["monteur_id"];
|
|
17610
18606
|
isOneToOne: false;
|
|
17611
|
-
referencedRelation: "
|
|
18607
|
+
referencedRelation: "profiles";
|
|
17612
18608
|
referencedColumns: ["id"];
|
|
17613
18609
|
}, {
|
|
17614
18610
|
foreignKeyName: "work_order_monteurs_work_order_id_fkey";
|
|
@@ -17618,6 +18614,60 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
17618
18614
|
referencedColumns: ["id"];
|
|
17619
18615
|
}];
|
|
17620
18616
|
};
|
|
18617
|
+
work_order_photos: {
|
|
18618
|
+
Row: {
|
|
18619
|
+
ai_caption: string | null;
|
|
18620
|
+
ai_categorized_at: string | null;
|
|
18621
|
+
ai_labels: import("../integrations/supabase/types").Json | null;
|
|
18622
|
+
caption: string | null;
|
|
18623
|
+
created_at: string;
|
|
18624
|
+
id: string;
|
|
18625
|
+
monteur_id: string | null;
|
|
18626
|
+
photo_type: string;
|
|
18627
|
+
storage_path: string;
|
|
18628
|
+
updated_at: string;
|
|
18629
|
+
work_order_id: string;
|
|
18630
|
+
};
|
|
18631
|
+
Insert: {
|
|
18632
|
+
ai_caption?: string | null;
|
|
18633
|
+
ai_categorized_at?: string | null;
|
|
18634
|
+
ai_labels?: import("../integrations/supabase/types").Json | null;
|
|
18635
|
+
caption?: string | null;
|
|
18636
|
+
created_at?: string;
|
|
18637
|
+
id?: string;
|
|
18638
|
+
monteur_id?: string | null;
|
|
18639
|
+
photo_type?: string;
|
|
18640
|
+
storage_path: string;
|
|
18641
|
+
updated_at?: string;
|
|
18642
|
+
work_order_id: string;
|
|
18643
|
+
};
|
|
18644
|
+
Update: {
|
|
18645
|
+
ai_caption?: string | null;
|
|
18646
|
+
ai_categorized_at?: string | null;
|
|
18647
|
+
ai_labels?: import("../integrations/supabase/types").Json | null;
|
|
18648
|
+
caption?: string | null;
|
|
18649
|
+
created_at?: string;
|
|
18650
|
+
id?: string;
|
|
18651
|
+
monteur_id?: string | null;
|
|
18652
|
+
photo_type?: string;
|
|
18653
|
+
storage_path?: string;
|
|
18654
|
+
updated_at?: string;
|
|
18655
|
+
work_order_id?: string;
|
|
18656
|
+
};
|
|
18657
|
+
Relationships: [{
|
|
18658
|
+
foreignKeyName: "work_order_photos_monteur_id_fkey";
|
|
18659
|
+
columns: ["monteur_id"];
|
|
18660
|
+
isOneToOne: false;
|
|
18661
|
+
referencedRelation: "profiles";
|
|
18662
|
+
referencedColumns: ["id"];
|
|
18663
|
+
}, {
|
|
18664
|
+
foreignKeyName: "work_order_photos_work_order_id_fkey";
|
|
18665
|
+
columns: ["work_order_id"];
|
|
18666
|
+
isOneToOne: false;
|
|
18667
|
+
referencedRelation: "work_orders";
|
|
18668
|
+
referencedColumns: ["id"];
|
|
18669
|
+
}];
|
|
18670
|
+
};
|
|
17621
18671
|
work_orders: {
|
|
17622
18672
|
Row: {
|
|
17623
18673
|
assigned_to: string | null;
|
|
@@ -17649,7 +18699,6 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
17649
18699
|
scheduled_end_time: string | null;
|
|
17650
18700
|
scheduled_start_time: string | null;
|
|
17651
18701
|
status: string;
|
|
17652
|
-
tenant_id: string;
|
|
17653
18702
|
total_hours_worked: number | null;
|
|
17654
18703
|
total_price: number | null;
|
|
17655
18704
|
travel_time_minutes: number | null;
|
|
@@ -17687,7 +18736,6 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
17687
18736
|
scheduled_end_time?: string | null;
|
|
17688
18737
|
scheduled_start_time?: string | null;
|
|
17689
18738
|
status?: string;
|
|
17690
|
-
tenant_id: string;
|
|
17691
18739
|
total_hours_worked?: number | null;
|
|
17692
18740
|
total_price?: number | null;
|
|
17693
18741
|
travel_time_minutes?: number | null;
|
|
@@ -17725,7 +18773,6 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
17725
18773
|
scheduled_end_time?: string | null;
|
|
17726
18774
|
scheduled_start_time?: string | null;
|
|
17727
18775
|
status?: string;
|
|
17728
|
-
tenant_id?: string;
|
|
17729
18776
|
total_hours_worked?: number | null;
|
|
17730
18777
|
total_price?: number | null;
|
|
17731
18778
|
travel_time_minutes?: number | null;
|
|
@@ -17739,12 +18786,6 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
17739
18786
|
isOneToOne: false;
|
|
17740
18787
|
referencedRelation: "work_orders";
|
|
17741
18788
|
referencedColumns: ["id"];
|
|
17742
|
-
}, {
|
|
17743
|
-
foreignKeyName: "work_orders_tenant_id_fkey";
|
|
17744
|
-
columns: ["tenant_id"];
|
|
17745
|
-
isOneToOne: false;
|
|
17746
|
-
referencedRelation: "tenants";
|
|
17747
|
-
referencedColumns: ["id"];
|
|
17748
18789
|
}];
|
|
17749
18790
|
};
|
|
17750
18791
|
};
|
|
@@ -18429,6 +19470,19 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
18429
19470
|
};
|
|
18430
19471
|
Returns: undefined;
|
|
18431
19472
|
};
|
|
19473
|
+
approve_mailbox_order_proposal: {
|
|
19474
|
+
Args: {
|
|
19475
|
+
p_custom_fields: import("../integrations/supabase/types").Json;
|
|
19476
|
+
p_customer_id: string;
|
|
19477
|
+
p_delivery_date: string;
|
|
19478
|
+
p_field_values?: import("../integrations/supabase/types").Json;
|
|
19479
|
+
p_lines: import("../integrations/supabase/types").Json;
|
|
19480
|
+
p_notes: string;
|
|
19481
|
+
p_proposal_id: string;
|
|
19482
|
+
p_reviewed_by: string;
|
|
19483
|
+
};
|
|
19484
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
19485
|
+
};
|
|
18432
19486
|
assign_cart_numbers: {
|
|
18433
19487
|
Args: {
|
|
18434
19488
|
p_carts: import("../integrations/supabase/types").Json;
|
|
@@ -18480,6 +19534,10 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
18480
19534
|
};
|
|
18481
19535
|
Returns: number;
|
|
18482
19536
|
};
|
|
19537
|
+
can_manage_hours: {
|
|
19538
|
+
Args: never;
|
|
19539
|
+
Returns: boolean;
|
|
19540
|
+
};
|
|
18483
19541
|
check_offer_product_available_stock: {
|
|
18484
19542
|
Args: {
|
|
18485
19543
|
p_campaign_product_id: string;
|
|
@@ -18669,6 +19727,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
18669
19727
|
};
|
|
18670
19728
|
Returns: {
|
|
18671
19729
|
action: string;
|
|
19730
|
+
attempt_started_at: string | null;
|
|
18672
19731
|
attempts: number;
|
|
18673
19732
|
connection_id: string | null;
|
|
18674
19733
|
created_at: string;
|
|
@@ -18756,6 +19815,30 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
18756
19815
|
agent_naam: string;
|
|
18757
19816
|
}[];
|
|
18758
19817
|
};
|
|
19818
|
+
consume_van_inventory: {
|
|
19819
|
+
Args: {
|
|
19820
|
+
p_inventory_id: string;
|
|
19821
|
+
p_quantity: number;
|
|
19822
|
+
};
|
|
19823
|
+
Returns: {
|
|
19824
|
+
barcode: string | null;
|
|
19825
|
+
created_at: string;
|
|
19826
|
+
id: string;
|
|
19827
|
+
monteur_id: string | null;
|
|
19828
|
+
price_per_unit: number;
|
|
19829
|
+
product_name: string;
|
|
19830
|
+
quantity_current: number;
|
|
19831
|
+
quantity_min: number;
|
|
19832
|
+
unit: string;
|
|
19833
|
+
updated_at: string;
|
|
19834
|
+
};
|
|
19835
|
+
SetofOptions: {
|
|
19836
|
+
from: "*";
|
|
19837
|
+
to: "van_inventories";
|
|
19838
|
+
isOneToOne: true;
|
|
19839
|
+
isSetofReturn: false;
|
|
19840
|
+
};
|
|
19841
|
+
};
|
|
18759
19842
|
control_get_todays_carts: {
|
|
18760
19843
|
Args: never;
|
|
18761
19844
|
Returns: {
|
|
@@ -18829,6 +19912,13 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
18829
19912
|
_user_id: string;
|
|
18830
19913
|
};
|
|
18831
19914
|
Returns: string;
|
|
19915
|
+
} | {
|
|
19916
|
+
Args: {
|
|
19917
|
+
_feature_id: string;
|
|
19918
|
+
_module_id: string;
|
|
19919
|
+
_user_id: string;
|
|
19920
|
+
};
|
|
19921
|
+
Returns: string;
|
|
18832
19922
|
};
|
|
18833
19923
|
email_auth_decrypt: {
|
|
18834
19924
|
Args: {
|
|
@@ -18875,6 +19965,13 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
18875
19965
|
};
|
|
18876
19966
|
Returns: string;
|
|
18877
19967
|
};
|
|
19968
|
+
employee_day_hours: {
|
|
19969
|
+
Args: {
|
|
19970
|
+
_day: string;
|
|
19971
|
+
_employee_id: string;
|
|
19972
|
+
};
|
|
19973
|
+
Returns: number;
|
|
19974
|
+
};
|
|
18878
19975
|
enqueue_cart_replan_if_unlocked: {
|
|
18879
19976
|
Args: {
|
|
18880
19977
|
p_order_id: string;
|
|
@@ -19180,12 +20277,6 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
19180
20277
|
Args: never;
|
|
19181
20278
|
Returns: string;
|
|
19182
20279
|
};
|
|
19183
|
-
get_work_order_tenant_id: {
|
|
19184
|
-
Args: {
|
|
19185
|
-
wo_id: string;
|
|
19186
|
-
};
|
|
19187
|
-
Returns: string;
|
|
19188
|
-
};
|
|
19189
20280
|
has_module_permission: {
|
|
19190
20281
|
Args: {
|
|
19191
20282
|
_min: string;
|
|
@@ -19219,6 +20310,13 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
19219
20310
|
};
|
|
19220
20311
|
Returns: boolean;
|
|
19221
20312
|
};
|
|
20313
|
+
is_time_log_week_locked: {
|
|
20314
|
+
Args: {
|
|
20315
|
+
p_employee_id: string;
|
|
20316
|
+
p_start_time: string;
|
|
20317
|
+
};
|
|
20318
|
+
Returns: boolean;
|
|
20319
|
+
};
|
|
19222
20320
|
is_user_admin: {
|
|
19223
20321
|
Args: never;
|
|
19224
20322
|
Returns: boolean;
|
|
@@ -19227,19 +20325,43 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
19227
20325
|
Args: never;
|
|
19228
20326
|
Returns: boolean;
|
|
19229
20327
|
};
|
|
20328
|
+
itk_offerte_naar_werkbon: {
|
|
20329
|
+
Args: {
|
|
20330
|
+
_offerte_id: string;
|
|
20331
|
+
};
|
|
20332
|
+
Returns: string;
|
|
20333
|
+
};
|
|
20334
|
+
itk_offerte_restant_mandaat: {
|
|
20335
|
+
Args: {
|
|
20336
|
+
_exclude_offerte_id?: string;
|
|
20337
|
+
_werkbon_id: string;
|
|
20338
|
+
};
|
|
20339
|
+
Returns: number;
|
|
20340
|
+
};
|
|
19230
20341
|
jwt_has_role: {
|
|
19231
20342
|
Args: {
|
|
19232
20343
|
_role: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"];
|
|
19233
20344
|
};
|
|
19234
20345
|
Returns: boolean;
|
|
19235
20346
|
};
|
|
19236
|
-
|
|
20347
|
+
list_medewerkers: {
|
|
19237
20348
|
Args: never;
|
|
19238
20349
|
Returns: {
|
|
19239
20350
|
avatar_url: string;
|
|
20351
|
+
color: string;
|
|
19240
20352
|
display_name: string;
|
|
19241
20353
|
email: string;
|
|
20354
|
+
hours_fri: number;
|
|
20355
|
+
hours_mon: number;
|
|
20356
|
+
hours_thu: number;
|
|
20357
|
+
hours_tue: number;
|
|
20358
|
+
hours_wed: number;
|
|
19242
20359
|
id: string;
|
|
20360
|
+
is_active: boolean;
|
|
20361
|
+
leave_balance_hours: number;
|
|
20362
|
+
persnr: string;
|
|
20363
|
+
phone: string;
|
|
20364
|
+
roles: string[];
|
|
19243
20365
|
}[];
|
|
19244
20366
|
};
|
|
19245
20367
|
list_my_planning_items: {
|
|
@@ -19565,17 +20687,6 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
19565
20687
|
Returns: string;
|
|
19566
20688
|
};
|
|
19567
20689
|
logistics_emit_event: {
|
|
19568
|
-
Args: {
|
|
19569
|
-
p_event_type: string;
|
|
19570
|
-
p_idempotency_key?: string;
|
|
19571
|
-
p_order_ref: string;
|
|
19572
|
-
p_payload?: import("../integrations/supabase/types").Json;
|
|
19573
|
-
p_shadow?: boolean;
|
|
19574
|
-
p_source_module: string;
|
|
19575
|
-
p_strategy_id?: string;
|
|
19576
|
-
};
|
|
19577
|
-
Returns: import("../integrations/supabase/types").Json;
|
|
19578
|
-
} | {
|
|
19579
20690
|
Args: {
|
|
19580
20691
|
p_event_type: string;
|
|
19581
20692
|
p_idempotency_key?: string;
|
|
@@ -19730,6 +20841,65 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
19730
20841
|
};
|
|
19731
20842
|
Returns: number;
|
|
19732
20843
|
};
|
|
20844
|
+
logistics_plan_claim: {
|
|
20845
|
+
Args: {
|
|
20846
|
+
p_limit?: number;
|
|
20847
|
+
};
|
|
20848
|
+
Returns: {
|
|
20849
|
+
attempts: number;
|
|
20850
|
+
id: string;
|
|
20851
|
+
order_id: string;
|
|
20852
|
+
}[];
|
|
20853
|
+
};
|
|
20854
|
+
logistics_plan_enqueue: {
|
|
20855
|
+
Args: {
|
|
20856
|
+
p_order_id: string;
|
|
20857
|
+
p_reason?: string;
|
|
20858
|
+
};
|
|
20859
|
+
Returns: undefined;
|
|
20860
|
+
};
|
|
20861
|
+
logistics_plan_ensure_event: {
|
|
20862
|
+
Args: {
|
|
20863
|
+
p_order_id: string;
|
|
20864
|
+
};
|
|
20865
|
+
Returns: boolean;
|
|
20866
|
+
};
|
|
20867
|
+
logistics_plan_finish: {
|
|
20868
|
+
Args: {
|
|
20869
|
+
p_error?: string;
|
|
20870
|
+
p_id: string;
|
|
20871
|
+
};
|
|
20872
|
+
Returns: undefined;
|
|
20873
|
+
};
|
|
20874
|
+
logistics_plan_impact_orders: {
|
|
20875
|
+
Args: {
|
|
20876
|
+
p_order_id: string;
|
|
20877
|
+
};
|
|
20878
|
+
Returns: {
|
|
20879
|
+
buffer_id: string;
|
|
20880
|
+
order_id: string;
|
|
20881
|
+
plan_date: string;
|
|
20882
|
+
}[];
|
|
20883
|
+
};
|
|
20884
|
+
logistics_plan_kick: {
|
|
20885
|
+
Args: never;
|
|
20886
|
+
Returns: undefined;
|
|
20887
|
+
};
|
|
20888
|
+
logistics_plan_prune: {
|
|
20889
|
+
Args: never;
|
|
20890
|
+
Returns: number;
|
|
20891
|
+
};
|
|
20892
|
+
logistics_plan_release_stale: {
|
|
20893
|
+
Args: never;
|
|
20894
|
+
Returns: number;
|
|
20895
|
+
};
|
|
20896
|
+
logistics_plan_setting: {
|
|
20897
|
+
Args: {
|
|
20898
|
+
p_default: number;
|
|
20899
|
+
p_key: string;
|
|
20900
|
+
};
|
|
20901
|
+
Returns: number;
|
|
20902
|
+
};
|
|
19733
20903
|
logistics_queue_capacity_email: {
|
|
19734
20904
|
Args: {
|
|
19735
20905
|
p_alert_id: string;
|
|
@@ -19971,6 +21141,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
19971
21141
|
my_module_permissions: {
|
|
19972
21142
|
Args: never;
|
|
19973
21143
|
Returns: {
|
|
21144
|
+
feature_id: string;
|
|
19974
21145
|
module_id: string;
|
|
19975
21146
|
permission: string;
|
|
19976
21147
|
}[];
|
|
@@ -20360,6 +21531,37 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
20360
21531
|
};
|
|
20361
21532
|
Returns: undefined;
|
|
20362
21533
|
};
|
|
21534
|
+
quote_create_from_source: {
|
|
21535
|
+
Args: {
|
|
21536
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
21537
|
+
_source_id: string;
|
|
21538
|
+
_source_type: string;
|
|
21539
|
+
};
|
|
21540
|
+
Returns: string;
|
|
21541
|
+
};
|
|
21542
|
+
quote_get_billable_lines: {
|
|
21543
|
+
Args: {
|
|
21544
|
+
_quotation_id: string;
|
|
21545
|
+
};
|
|
21546
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21547
|
+
};
|
|
21548
|
+
quote_get_summary: {
|
|
21549
|
+
Args: {
|
|
21550
|
+
_quotation_id: string;
|
|
21551
|
+
};
|
|
21552
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21553
|
+
};
|
|
21554
|
+
quote_list_packages: {
|
|
21555
|
+
Args: never;
|
|
21556
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21557
|
+
};
|
|
21558
|
+
quote_list_sources: {
|
|
21559
|
+
Args: {
|
|
21560
|
+
_limit?: number;
|
|
21561
|
+
_source_type?: string;
|
|
21562
|
+
};
|
|
21563
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21564
|
+
};
|
|
20363
21565
|
recompute_all_reserved_stock: {
|
|
20364
21566
|
Args: never;
|
|
20365
21567
|
Returns: undefined;
|
|
@@ -20851,6 +22053,16 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
20851
22053
|
};
|
|
20852
22054
|
Returns: string[];
|
|
20853
22055
|
};
|
|
22056
|
+
switch_time_log: {
|
|
22057
|
+
Args: {
|
|
22058
|
+
p_employee_id: string;
|
|
22059
|
+
p_start_lat?: number;
|
|
22060
|
+
p_start_lng?: number;
|
|
22061
|
+
p_type: string;
|
|
22062
|
+
p_work_order_id?: string;
|
|
22063
|
+
};
|
|
22064
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22065
|
+
};
|
|
20854
22066
|
sync_all_layer_stocks: {
|
|
20855
22067
|
Args: never;
|
|
20856
22068
|
Returns: undefined;
|
|
@@ -20885,6 +22097,12 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
20885
22097
|
};
|
|
20886
22098
|
Returns: undefined;
|
|
20887
22099
|
};
|
|
22100
|
+
sync_sick_time_off: {
|
|
22101
|
+
Args: {
|
|
22102
|
+
_period_id: string;
|
|
22103
|
+
};
|
|
22104
|
+
Returns: number;
|
|
22105
|
+
};
|
|
20888
22106
|
trade_item_stock_duplicates: {
|
|
20889
22107
|
Args: never;
|
|
20890
22108
|
Returns: {
|
|
@@ -20901,6 +22119,24 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
20901
22119
|
};
|
|
20902
22120
|
Returns: boolean;
|
|
20903
22121
|
};
|
|
22122
|
+
twinfield_cron_lock_acquire: {
|
|
22123
|
+
Args: {
|
|
22124
|
+
_job_name: string;
|
|
22125
|
+
_stale_seconds?: number;
|
|
22126
|
+
};
|
|
22127
|
+
Returns: boolean;
|
|
22128
|
+
};
|
|
22129
|
+
twinfield_cron_lock_release: {
|
|
22130
|
+
Args: {
|
|
22131
|
+
_error?: string;
|
|
22132
|
+
_job_name: string;
|
|
22133
|
+
};
|
|
22134
|
+
Returns: undefined;
|
|
22135
|
+
};
|
|
22136
|
+
twinfield_prune_push_queue: {
|
|
22137
|
+
Args: never;
|
|
22138
|
+
Returns: number;
|
|
22139
|
+
};
|
|
20904
22140
|
twinfield_register_cron: {
|
|
20905
22141
|
Args: {
|
|
20906
22142
|
apikey?: string;
|
|
@@ -20940,11 +22176,31 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
20940
22176
|
Args: never;
|
|
20941
22177
|
Returns: string;
|
|
20942
22178
|
};
|
|
22179
|
+
wo_create_from_source: {
|
|
22180
|
+
Args: {
|
|
22181
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
22182
|
+
_source_id: string;
|
|
22183
|
+
_source_type: string;
|
|
22184
|
+
};
|
|
22185
|
+
Returns: string;
|
|
22186
|
+
};
|
|
22187
|
+
wo_get_billable_lines: {
|
|
22188
|
+
Args: {
|
|
22189
|
+
_work_order_id: string;
|
|
22190
|
+
};
|
|
22191
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22192
|
+
};
|
|
22193
|
+
wo_get_summary: {
|
|
22194
|
+
Args: {
|
|
22195
|
+
_work_order_id: string;
|
|
22196
|
+
};
|
|
22197
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22198
|
+
};
|
|
20943
22199
|
};
|
|
20944
22200
|
Enums: {
|
|
20945
22201
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|
|
20946
22202
|
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
|
|
20947
|
-
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
|
|
22203
|
+
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon" | "veilingbon" | "afleverbrief" | "veilingbrief";
|
|
20948
22204
|
doc_orientation: "portrait" | "landscape";
|
|
20949
22205
|
exact_env: "staging" | "live";
|
|
20950
22206
|
exact_push_status: "pending" | "sent" | "error";
|