@flowselections/floriday-verkoop-module 1.0.40 → 1.0.42
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/EngineBufferCard.d.ts.map +1 -1
- package/dist-lib/components/verkoop/EngineBufferCard.js +2 -2
- package/dist-lib/components/verkoop/InvoiceTimingSettings.d.ts +3 -0
- package/dist-lib/components/verkoop/InvoiceTimingSettings.d.ts.map +1 -0
- package/dist-lib/components/verkoop/InvoiceTimingSettings.js +54 -0
- package/dist-lib/components/verkoop/SalesOrdersTable.d.ts.map +1 -1
- package/dist-lib/components/verkoop/SalesOrdersTable.js +44 -91
- package/dist-lib/components/verkoop/VerkoopOrdersPage.d.ts.map +1 -1
- package/dist-lib/components/verkoop/VerkoopOrdersPage.js +59 -23
- package/dist-lib/index.d.ts +1 -0
- package/dist-lib/index.d.ts.map +1 -1
- package/dist-lib/index.js +3 -1
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +1429 -159
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +1429 -159
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +1429 -159
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +1436 -161
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.js +12 -1
- package/dist-lib/lib/cart-lock.functions.d.ts +1429 -159
- package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-planning-settings.functions.d.ts +15410 -1440
- package/dist-lib/lib/cart-planning-settings.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-replan.functions.d.ts +4290 -480
- package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
- package/dist-lib/lib/create-order.functions.d.ts +42631 -1921
- package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
- package/dist-lib/lib/create-order.functions.js +30 -0
- package/dist-lib/lib/cron/index.d.ts +1 -0
- package/dist-lib/lib/cron/index.d.ts.map +1 -1
- package/dist-lib/lib/cron/index.js +1 -0
- package/dist-lib/lib/cron/invoice-due.d.ts +4 -0
- package/dist-lib/lib/cron/invoice-due.d.ts.map +1 -0
- package/dist-lib/lib/cron/invoice-due.js +21 -0
- package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts +4290 -480
- package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-fulfillment-status.server.d.ts +28 -0
- package/dist-lib/lib/floriday-fulfillment-status.server.d.ts.map +1 -0
- package/dist-lib/lib/floriday-fulfillment-status.server.js +91 -0
- package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +1429 -159
- package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-mirror.functions.d.ts +1429 -159
- package/dist-lib/lib/floriday-mirror.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-mirror.functions.js +27 -4
- package/dist-lib/lib/floriday-public.functions.d.ts +9850 -960
- package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.d.ts +7070 -720
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/invoice-timing.d.ts +38 -0
- package/dist-lib/lib/invoice-timing.d.ts.map +1 -0
- package/dist-lib/lib/invoice-timing.functions.d.ts +86633 -0
- package/dist-lib/lib/invoice-timing.functions.d.ts.map +1 -0
- package/dist-lib/lib/invoice-timing.functions.js +88 -0
- package/dist-lib/lib/invoice-timing.js +139 -0
- package/dist-lib/lib/invoice-timing.server.d.ts +22 -0
- package/dist-lib/lib/invoice-timing.server.d.ts.map +1 -0
- package/dist-lib/lib/invoice-timing.server.js +154 -0
- package/dist-lib/lib/load-carriers.functions.d.ts +1429 -159
- package/dist-lib/lib/load-carriers.functions.d.ts.map +1 -1
- package/dist-lib/lib/logistics-engine.functions.d.ts +7072 -722
- package/dist-lib/lib/logistics-engine.functions.d.ts.map +1 -1
- package/dist-lib/lib/logistics-stock.functions.d.ts +2900 -360
- package/dist-lib/lib/logistics-stock.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-addresses.functions.d.ts +1429 -159
- package/dist-lib/lib/order-addresses.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-buffers.functions.d.ts +4290 -480
- package/dist-lib/lib/order-buffers.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-carrier.functions.d.ts +2900 -360
- package/dist-lib/lib/order-carrier.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-pickup.functions.d.ts +2900 -360
- package/dist-lib/lib/order-pickup.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-shipments.functions.d.ts +5680 -600
- package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-status.d.ts +33 -0
- package/dist-lib/lib/order-status.d.ts.map +1 -0
- package/dist-lib/lib/order-status.js +77 -0
- package/dist-lib/lib/salesorders-list.functions.d.ts +1430 -160
- package/dist-lib/lib/salesorders-list.functions.d.ts.map +1 -1
- package/dist-lib/lib/salesorders-list.functions.js +1 -1
- package/dist-lib/lib/salesorders-list.server.d.ts +2 -1
- package/dist-lib/lib/salesorders-list.server.d.ts.map +1 -1
- package/dist-lib/lib/salesorders-list.server.js +145 -58
- package/dist-lib/lib/salesorders-mapping.d.ts +19 -0
- package/dist-lib/lib/salesorders-mapping.d.ts.map +1 -1
- package/dist-lib/lib/salesorders-mapping.js +19 -7
- package/dist-lib/lib/salesorders.functions.d.ts +7070 -720
- package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
- package/dist-lib/lib/tradeitems.functions.d.ts +1429 -159
- package/dist-lib/lib/tradeitems.functions.d.ts.map +1 -1
- package/dist-lib/lib/useSalesOrdersQuery.d.ts +2 -1
- package/dist-lib/lib/useSalesOrdersQuery.d.ts.map +1 -1
- package/package.json +10 -2
|
@@ -872,6 +872,126 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
872
872
|
};
|
|
873
873
|
Relationships: [];
|
|
874
874
|
};
|
|
875
|
+
cao_holidays: {
|
|
876
|
+
Row: {
|
|
877
|
+
created_at: string;
|
|
878
|
+
description: string | null;
|
|
879
|
+
holiday_date: string;
|
|
880
|
+
id: string;
|
|
881
|
+
updated_at: string;
|
|
882
|
+
};
|
|
883
|
+
Insert: {
|
|
884
|
+
created_at?: string;
|
|
885
|
+
description?: string | null;
|
|
886
|
+
holiday_date: string;
|
|
887
|
+
id?: string;
|
|
888
|
+
updated_at?: string;
|
|
889
|
+
};
|
|
890
|
+
Update: {
|
|
891
|
+
created_at?: string;
|
|
892
|
+
description?: string | null;
|
|
893
|
+
holiday_date?: string;
|
|
894
|
+
id?: string;
|
|
895
|
+
updated_at?: string;
|
|
896
|
+
};
|
|
897
|
+
Relationships: [];
|
|
898
|
+
};
|
|
899
|
+
cao_settings: {
|
|
900
|
+
Row: {
|
|
901
|
+
auto_break_after_hours: number;
|
|
902
|
+
auto_break_minutes: number;
|
|
903
|
+
auto_break_unpaid: boolean;
|
|
904
|
+
auto_stop_after_hours: number;
|
|
905
|
+
callout_fee: number;
|
|
906
|
+
created_at: string;
|
|
907
|
+
daily_regular_hours: number;
|
|
908
|
+
default_hourly_rate: number;
|
|
909
|
+
id: string;
|
|
910
|
+
materials_markup_percent: number;
|
|
911
|
+
max_daily_hours: number;
|
|
912
|
+
max_weekly_hours: number;
|
|
913
|
+
meal_allowance_amount: number;
|
|
914
|
+
overtime_pct_178: number;
|
|
915
|
+
overtime_pct_189: number;
|
|
916
|
+
overtime_pct_212: number;
|
|
917
|
+
reminder_after_hours: number;
|
|
918
|
+
standby_evening_amount: number;
|
|
919
|
+
standby_weekend_amount: number;
|
|
920
|
+
travel_cost_per_km: number | null;
|
|
921
|
+
travel_cost_threshold_km: number | null;
|
|
922
|
+
travel_counts_as_work: boolean;
|
|
923
|
+
travel_hourly_rate: number;
|
|
924
|
+
travel_rate_per_hour: number;
|
|
925
|
+
travel_threshold_minutes: number;
|
|
926
|
+
updated_at: string;
|
|
927
|
+
weekend_always_212: boolean;
|
|
928
|
+
window_end: string;
|
|
929
|
+
window_start: string;
|
|
930
|
+
};
|
|
931
|
+
Insert: {
|
|
932
|
+
auto_break_after_hours?: number;
|
|
933
|
+
auto_break_minutes?: number;
|
|
934
|
+
auto_break_unpaid?: boolean;
|
|
935
|
+
auto_stop_after_hours?: number;
|
|
936
|
+
callout_fee?: number;
|
|
937
|
+
created_at?: string;
|
|
938
|
+
daily_regular_hours?: number;
|
|
939
|
+
default_hourly_rate?: number;
|
|
940
|
+
id?: string;
|
|
941
|
+
materials_markup_percent?: number;
|
|
942
|
+
max_daily_hours?: number;
|
|
943
|
+
max_weekly_hours?: number;
|
|
944
|
+
meal_allowance_amount?: number;
|
|
945
|
+
overtime_pct_178?: number;
|
|
946
|
+
overtime_pct_189?: number;
|
|
947
|
+
overtime_pct_212?: number;
|
|
948
|
+
reminder_after_hours?: number;
|
|
949
|
+
standby_evening_amount?: number;
|
|
950
|
+
standby_weekend_amount?: number;
|
|
951
|
+
travel_cost_per_km?: number | null;
|
|
952
|
+
travel_cost_threshold_km?: number | null;
|
|
953
|
+
travel_counts_as_work?: boolean;
|
|
954
|
+
travel_hourly_rate?: number;
|
|
955
|
+
travel_rate_per_hour?: number;
|
|
956
|
+
travel_threshold_minutes?: number;
|
|
957
|
+
updated_at?: string;
|
|
958
|
+
weekend_always_212?: boolean;
|
|
959
|
+
window_end?: string;
|
|
960
|
+
window_start?: string;
|
|
961
|
+
};
|
|
962
|
+
Update: {
|
|
963
|
+
auto_break_after_hours?: number;
|
|
964
|
+
auto_break_minutes?: number;
|
|
965
|
+
auto_break_unpaid?: boolean;
|
|
966
|
+
auto_stop_after_hours?: number;
|
|
967
|
+
callout_fee?: number;
|
|
968
|
+
created_at?: string;
|
|
969
|
+
daily_regular_hours?: number;
|
|
970
|
+
default_hourly_rate?: number;
|
|
971
|
+
id?: string;
|
|
972
|
+
materials_markup_percent?: number;
|
|
973
|
+
max_daily_hours?: number;
|
|
974
|
+
max_weekly_hours?: number;
|
|
975
|
+
meal_allowance_amount?: number;
|
|
976
|
+
overtime_pct_178?: number;
|
|
977
|
+
overtime_pct_189?: number;
|
|
978
|
+
overtime_pct_212?: number;
|
|
979
|
+
reminder_after_hours?: number;
|
|
980
|
+
standby_evening_amount?: number;
|
|
981
|
+
standby_weekend_amount?: number;
|
|
982
|
+
travel_cost_per_km?: number | null;
|
|
983
|
+
travel_cost_threshold_km?: number | null;
|
|
984
|
+
travel_counts_as_work?: boolean;
|
|
985
|
+
travel_hourly_rate?: number;
|
|
986
|
+
travel_rate_per_hour?: number;
|
|
987
|
+
travel_threshold_minutes?: number;
|
|
988
|
+
updated_at?: string;
|
|
989
|
+
weekend_always_212?: boolean;
|
|
990
|
+
window_end?: string;
|
|
991
|
+
window_start?: string;
|
|
992
|
+
};
|
|
993
|
+
Relationships: [];
|
|
994
|
+
};
|
|
875
995
|
carrier_shipping_rates: {
|
|
876
996
|
Row: {
|
|
877
997
|
carrier_id: string;
|
|
@@ -1684,7 +1804,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
1684
1804
|
city: string | null;
|
|
1685
1805
|
country: string | null;
|
|
1686
1806
|
created_at: string;
|
|
1687
|
-
customer_id: string
|
|
1807
|
+
customer_id: string;
|
|
1688
1808
|
external_key: string | null;
|
|
1689
1809
|
external_provider: string | null;
|
|
1690
1810
|
floriday_location_id: string | null;
|
|
@@ -1708,7 +1828,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
1708
1828
|
city?: string | null;
|
|
1709
1829
|
country?: string | null;
|
|
1710
1830
|
created_at?: string;
|
|
1711
|
-
customer_id
|
|
1831
|
+
customer_id: string;
|
|
1712
1832
|
external_key?: string | null;
|
|
1713
1833
|
external_provider?: string | null;
|
|
1714
1834
|
floriday_location_id?: string | null;
|
|
@@ -1732,7 +1852,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
1732
1852
|
city?: string | null;
|
|
1733
1853
|
country?: string | null;
|
|
1734
1854
|
created_at?: string;
|
|
1735
|
-
customer_id?: string
|
|
1855
|
+
customer_id?: string;
|
|
1736
1856
|
external_key?: string | null;
|
|
1737
1857
|
external_provider?: string | null;
|
|
1738
1858
|
floriday_location_id?: string | null;
|
|
@@ -5695,12 +5815,17 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
5695
5815
|
attempts: number;
|
|
5696
5816
|
connection_id: string;
|
|
5697
5817
|
created_at: string;
|
|
5818
|
+
desired_available: boolean | null;
|
|
5698
5819
|
gateway_attempt_id: string | null;
|
|
5699
5820
|
id: string;
|
|
5700
5821
|
last_error: string | null;
|
|
5822
|
+
locked_at: string | null;
|
|
5823
|
+
locked_by: string | null;
|
|
5824
|
+
next_attempt_at: string;
|
|
5701
5825
|
number_of_pieces: number;
|
|
5702
5826
|
sent_at: string | null;
|
|
5703
5827
|
status: string;
|
|
5828
|
+
superseded_by: string | null;
|
|
5704
5829
|
trade_item_id: string;
|
|
5705
5830
|
updated_at: string;
|
|
5706
5831
|
user_id: string;
|
|
@@ -5709,12 +5834,17 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
5709
5834
|
attempts?: number;
|
|
5710
5835
|
connection_id: string;
|
|
5711
5836
|
created_at?: string;
|
|
5837
|
+
desired_available?: boolean | null;
|
|
5712
5838
|
gateway_attempt_id?: string | null;
|
|
5713
5839
|
id?: string;
|
|
5714
5840
|
last_error?: string | null;
|
|
5841
|
+
locked_at?: string | null;
|
|
5842
|
+
locked_by?: string | null;
|
|
5843
|
+
next_attempt_at?: string;
|
|
5715
5844
|
number_of_pieces?: number;
|
|
5716
5845
|
sent_at?: string | null;
|
|
5717
5846
|
status?: string;
|
|
5847
|
+
superseded_by?: string | null;
|
|
5718
5848
|
trade_item_id: string;
|
|
5719
5849
|
updated_at?: string;
|
|
5720
5850
|
user_id: string;
|
|
@@ -5723,12 +5853,17 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
5723
5853
|
attempts?: number;
|
|
5724
5854
|
connection_id?: string;
|
|
5725
5855
|
created_at?: string;
|
|
5856
|
+
desired_available?: boolean | null;
|
|
5726
5857
|
gateway_attempt_id?: string | null;
|
|
5727
5858
|
id?: string;
|
|
5728
5859
|
last_error?: string | null;
|
|
5860
|
+
locked_at?: string | null;
|
|
5861
|
+
locked_by?: string | null;
|
|
5862
|
+
next_attempt_at?: string;
|
|
5729
5863
|
number_of_pieces?: number;
|
|
5730
5864
|
sent_at?: string | null;
|
|
5731
5865
|
status?: string;
|
|
5866
|
+
superseded_by?: string | null;
|
|
5732
5867
|
trade_item_id?: string;
|
|
5733
5868
|
updated_at?: string;
|
|
5734
5869
|
user_id?: string;
|
|
@@ -6465,6 +6600,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
6465
6600
|
Row: {
|
|
6466
6601
|
buyer_organization_id: string | null;
|
|
6467
6602
|
connection_id: string;
|
|
6603
|
+
controlled_at: string | null;
|
|
6468
6604
|
created_at: string;
|
|
6469
6605
|
data: import("../integrations/supabase/types").Json;
|
|
6470
6606
|
floriday_id: string;
|
|
@@ -6476,6 +6612,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
6476
6612
|
Insert: {
|
|
6477
6613
|
buyer_organization_id?: string | null;
|
|
6478
6614
|
connection_id: string;
|
|
6615
|
+
controlled_at?: string | null;
|
|
6479
6616
|
created_at?: string;
|
|
6480
6617
|
data: import("../integrations/supabase/types").Json;
|
|
6481
6618
|
floriday_id: string;
|
|
@@ -6487,6 +6624,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
6487
6624
|
Update: {
|
|
6488
6625
|
buyer_organization_id?: string | null;
|
|
6489
6626
|
connection_id?: string;
|
|
6627
|
+
controlled_at?: string | null;
|
|
6490
6628
|
created_at?: string;
|
|
6491
6629
|
data?: import("../integrations/supabase/types").Json;
|
|
6492
6630
|
floriday_id?: string;
|
|
@@ -7388,6 +7526,54 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
7388
7526
|
};
|
|
7389
7527
|
Relationships: [];
|
|
7390
7528
|
};
|
|
7529
|
+
invoice_timing_settings: {
|
|
7530
|
+
Row: {
|
|
7531
|
+
anchor: string;
|
|
7532
|
+
business_days_only: boolean;
|
|
7533
|
+
created_at: string;
|
|
7534
|
+
enabled: boolean;
|
|
7535
|
+
id: string;
|
|
7536
|
+
offset_days: number;
|
|
7537
|
+
pickup_anchor: string;
|
|
7538
|
+
pickup_business_days_only: boolean;
|
|
7539
|
+
pickup_offset_days: number;
|
|
7540
|
+
pickup_time_of_day: string;
|
|
7541
|
+
singleton: boolean;
|
|
7542
|
+
time_of_day: string;
|
|
7543
|
+
updated_at: string;
|
|
7544
|
+
};
|
|
7545
|
+
Insert: {
|
|
7546
|
+
anchor?: string;
|
|
7547
|
+
business_days_only?: boolean;
|
|
7548
|
+
created_at?: string;
|
|
7549
|
+
enabled?: boolean;
|
|
7550
|
+
id?: string;
|
|
7551
|
+
offset_days?: number;
|
|
7552
|
+
pickup_anchor?: string;
|
|
7553
|
+
pickup_business_days_only?: boolean;
|
|
7554
|
+
pickup_offset_days?: number;
|
|
7555
|
+
pickup_time_of_day?: string;
|
|
7556
|
+
singleton?: boolean;
|
|
7557
|
+
time_of_day?: string;
|
|
7558
|
+
updated_at?: string;
|
|
7559
|
+
};
|
|
7560
|
+
Update: {
|
|
7561
|
+
anchor?: string;
|
|
7562
|
+
business_days_only?: boolean;
|
|
7563
|
+
created_at?: string;
|
|
7564
|
+
enabled?: boolean;
|
|
7565
|
+
id?: string;
|
|
7566
|
+
offset_days?: number;
|
|
7567
|
+
pickup_anchor?: string;
|
|
7568
|
+
pickup_business_days_only?: boolean;
|
|
7569
|
+
pickup_offset_days?: number;
|
|
7570
|
+
pickup_time_of_day?: string;
|
|
7571
|
+
singleton?: boolean;
|
|
7572
|
+
time_of_day?: string;
|
|
7573
|
+
updated_at?: string;
|
|
7574
|
+
};
|
|
7575
|
+
Relationships: [];
|
|
7576
|
+
};
|
|
7391
7577
|
itk_contact_persons: {
|
|
7392
7578
|
Row: {
|
|
7393
7579
|
created_at: string;
|
|
@@ -7700,7 +7886,6 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
7700
7886
|
start_date: string;
|
|
7701
7887
|
start_time: string | null;
|
|
7702
7888
|
status: string;
|
|
7703
|
-
tenant_id: string;
|
|
7704
7889
|
updated_at: string;
|
|
7705
7890
|
user_id: string;
|
|
7706
7891
|
};
|
|
@@ -7718,7 +7903,6 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
7718
7903
|
start_date: string;
|
|
7719
7904
|
start_time?: string | null;
|
|
7720
7905
|
status?: string;
|
|
7721
|
-
tenant_id?: string;
|
|
7722
7906
|
updated_at?: string;
|
|
7723
7907
|
user_id: string;
|
|
7724
7908
|
};
|
|
@@ -7736,7 +7920,6 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
7736
7920
|
start_date?: string;
|
|
7737
7921
|
start_time?: string | null;
|
|
7738
7922
|
status?: string;
|
|
7739
|
-
tenant_id?: string;
|
|
7740
7923
|
updated_at?: string;
|
|
7741
7924
|
user_id?: string;
|
|
7742
7925
|
};
|
|
@@ -7744,13 +7927,13 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
7744
7927
|
foreignKeyName: "leave_requests_monteur_id_fkey";
|
|
7745
7928
|
columns: ["monteur_id"];
|
|
7746
7929
|
isOneToOne: false;
|
|
7747
|
-
referencedRelation: "
|
|
7930
|
+
referencedRelation: "profiles";
|
|
7748
7931
|
referencedColumns: ["id"];
|
|
7749
7932
|
}, {
|
|
7750
7933
|
foreignKeyName: "leave_requests_user_id_fkey";
|
|
7751
7934
|
columns: ["user_id"];
|
|
7752
7935
|
isOneToOne: false;
|
|
7753
|
-
referencedRelation: "
|
|
7936
|
+
referencedRelation: "profiles";
|
|
7754
7937
|
referencedColumns: ["id"];
|
|
7755
7938
|
}];
|
|
7756
7939
|
};
|
|
@@ -8477,6 +8660,69 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
8477
8660
|
};
|
|
8478
8661
|
Relationships: [];
|
|
8479
8662
|
};
|
|
8663
|
+
logistics_floriday_pushes: {
|
|
8664
|
+
Row: {
|
|
8665
|
+
attempts: number;
|
|
8666
|
+
created_at: string;
|
|
8667
|
+
first_queued_at: string;
|
|
8668
|
+
fulfillment_order_id: string | null;
|
|
8669
|
+
id: string;
|
|
8670
|
+
last_error: string | null;
|
|
8671
|
+
last_error_at: string | null;
|
|
8672
|
+
last_sent_hash: string | null;
|
|
8673
|
+
locked_by: string | null;
|
|
8674
|
+
locked_until: string | null;
|
|
8675
|
+
next_attempt_at: string;
|
|
8676
|
+
order_ref: string;
|
|
8677
|
+
payload: import("../integrations/supabase/types").Json;
|
|
8678
|
+
payload_hash: string | null;
|
|
8679
|
+
revision: number;
|
|
8680
|
+
sent_at: string | null;
|
|
8681
|
+
status: string;
|
|
8682
|
+
updated_at: string;
|
|
8683
|
+
};
|
|
8684
|
+
Insert: {
|
|
8685
|
+
attempts?: number;
|
|
8686
|
+
created_at?: string;
|
|
8687
|
+
first_queued_at?: string;
|
|
8688
|
+
fulfillment_order_id?: string | null;
|
|
8689
|
+
id?: string;
|
|
8690
|
+
last_error?: string | null;
|
|
8691
|
+
last_error_at?: string | null;
|
|
8692
|
+
last_sent_hash?: string | null;
|
|
8693
|
+
locked_by?: string | null;
|
|
8694
|
+
locked_until?: string | null;
|
|
8695
|
+
next_attempt_at?: string;
|
|
8696
|
+
order_ref: string;
|
|
8697
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
8698
|
+
payload_hash?: string | null;
|
|
8699
|
+
revision?: number;
|
|
8700
|
+
sent_at?: string | null;
|
|
8701
|
+
status?: string;
|
|
8702
|
+
updated_at?: string;
|
|
8703
|
+
};
|
|
8704
|
+
Update: {
|
|
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
|
+
Relationships: [];
|
|
8725
|
+
};
|
|
8480
8726
|
logistics_formulas: {
|
|
8481
8727
|
Row: {
|
|
8482
8728
|
created_at: string;
|
|
@@ -8555,6 +8801,45 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
8555
8801
|
};
|
|
8556
8802
|
Relationships: [];
|
|
8557
8803
|
};
|
|
8804
|
+
logistics_plan_queue: {
|
|
8805
|
+
Row: {
|
|
8806
|
+
attempts: number;
|
|
8807
|
+
claimed_at: string | null;
|
|
8808
|
+
enqueued_at: string;
|
|
8809
|
+
error: string | null;
|
|
8810
|
+
id: string;
|
|
8811
|
+
next_attempt_at: string;
|
|
8812
|
+
order_id: string;
|
|
8813
|
+
reason: string;
|
|
8814
|
+
status: string;
|
|
8815
|
+
updated_at: string;
|
|
8816
|
+
};
|
|
8817
|
+
Insert: {
|
|
8818
|
+
attempts?: number;
|
|
8819
|
+
claimed_at?: string | null;
|
|
8820
|
+
enqueued_at?: string;
|
|
8821
|
+
error?: string | null;
|
|
8822
|
+
id?: string;
|
|
8823
|
+
next_attempt_at?: string;
|
|
8824
|
+
order_id: string;
|
|
8825
|
+
reason?: string;
|
|
8826
|
+
status?: string;
|
|
8827
|
+
updated_at?: string;
|
|
8828
|
+
};
|
|
8829
|
+
Update: {
|
|
8830
|
+
attempts?: number;
|
|
8831
|
+
claimed_at?: string | null;
|
|
8832
|
+
enqueued_at?: string;
|
|
8833
|
+
error?: string | null;
|
|
8834
|
+
id?: string;
|
|
8835
|
+
next_attempt_at?: string;
|
|
8836
|
+
order_id?: string;
|
|
8837
|
+
reason?: string;
|
|
8838
|
+
status?: string;
|
|
8839
|
+
updated_at?: string;
|
|
8840
|
+
};
|
|
8841
|
+
Relationships: [];
|
|
8842
|
+
};
|
|
8558
8843
|
logistics_plan_runs: {
|
|
8559
8844
|
Row: {
|
|
8560
8845
|
created_at: string;
|
|
@@ -8630,6 +8915,24 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
8630
8915
|
referencedColumns: ["id"];
|
|
8631
8916
|
}];
|
|
8632
8917
|
};
|
|
8918
|
+
logistics_plan_settings: {
|
|
8919
|
+
Row: {
|
|
8920
|
+
key: string;
|
|
8921
|
+
updated_at: string;
|
|
8922
|
+
value: string;
|
|
8923
|
+
};
|
|
8924
|
+
Insert: {
|
|
8925
|
+
key: string;
|
|
8926
|
+
updated_at?: string;
|
|
8927
|
+
value: string;
|
|
8928
|
+
};
|
|
8929
|
+
Update: {
|
|
8930
|
+
key?: string;
|
|
8931
|
+
updated_at?: string;
|
|
8932
|
+
value?: string;
|
|
8933
|
+
};
|
|
8934
|
+
Relationships: [];
|
|
8935
|
+
};
|
|
8633
8936
|
logistics_rebuffer_state: {
|
|
8634
8937
|
Row: {
|
|
8635
8938
|
created_at: string;
|
|
@@ -9340,14 +9643,17 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
9340
9643
|
};
|
|
9341
9644
|
mailbox_messages: {
|
|
9342
9645
|
Row: {
|
|
9646
|
+
attachments: import("../integrations/supabase/types").Json;
|
|
9343
9647
|
body_html: string | null;
|
|
9344
9648
|
body_text: string | null;
|
|
9649
|
+
cc_recipients: import("../integrations/supabase/types").Json;
|
|
9345
9650
|
connection_id: string | null;
|
|
9346
9651
|
created_at: string;
|
|
9347
9652
|
error_message: string | null;
|
|
9348
9653
|
external_id: string | null;
|
|
9349
9654
|
from_email: string | null;
|
|
9350
9655
|
from_name: string | null;
|
|
9656
|
+
has_attachments: boolean;
|
|
9351
9657
|
id: string;
|
|
9352
9658
|
message_id: string | null;
|
|
9353
9659
|
profile_id: string | null;
|
|
@@ -9355,18 +9661,22 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
9355
9661
|
received_at: string | null;
|
|
9356
9662
|
status: string;
|
|
9357
9663
|
subject: string | null;
|
|
9664
|
+
to_recipients: import("../integrations/supabase/types").Json;
|
|
9358
9665
|
uid: number | null;
|
|
9359
9666
|
updated_at: string;
|
|
9360
9667
|
};
|
|
9361
9668
|
Insert: {
|
|
9669
|
+
attachments?: import("../integrations/supabase/types").Json;
|
|
9362
9670
|
body_html?: string | null;
|
|
9363
9671
|
body_text?: string | null;
|
|
9672
|
+
cc_recipients?: import("../integrations/supabase/types").Json;
|
|
9364
9673
|
connection_id?: string | null;
|
|
9365
9674
|
created_at?: string;
|
|
9366
9675
|
error_message?: string | null;
|
|
9367
9676
|
external_id?: string | null;
|
|
9368
9677
|
from_email?: string | null;
|
|
9369
9678
|
from_name?: string | null;
|
|
9679
|
+
has_attachments?: boolean;
|
|
9370
9680
|
id?: string;
|
|
9371
9681
|
message_id?: string | null;
|
|
9372
9682
|
profile_id?: string | null;
|
|
@@ -9374,18 +9684,22 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
9374
9684
|
received_at?: string | null;
|
|
9375
9685
|
status?: string;
|
|
9376
9686
|
subject?: string | null;
|
|
9687
|
+
to_recipients?: import("../integrations/supabase/types").Json;
|
|
9377
9688
|
uid?: number | null;
|
|
9378
9689
|
updated_at?: string;
|
|
9379
9690
|
};
|
|
9380
9691
|
Update: {
|
|
9692
|
+
attachments?: import("../integrations/supabase/types").Json;
|
|
9381
9693
|
body_html?: string | null;
|
|
9382
9694
|
body_text?: string | null;
|
|
9695
|
+
cc_recipients?: import("../integrations/supabase/types").Json;
|
|
9383
9696
|
connection_id?: string | null;
|
|
9384
9697
|
created_at?: string;
|
|
9385
9698
|
error_message?: string | null;
|
|
9386
9699
|
external_id?: string | null;
|
|
9387
9700
|
from_email?: string | null;
|
|
9388
9701
|
from_name?: string | null;
|
|
9702
|
+
has_attachments?: boolean;
|
|
9389
9703
|
id?: string;
|
|
9390
9704
|
message_id?: string | null;
|
|
9391
9705
|
profile_id?: string | null;
|
|
@@ -9393,6 +9707,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
9393
9707
|
received_at?: string | null;
|
|
9394
9708
|
status?: string;
|
|
9395
9709
|
subject?: string | null;
|
|
9710
|
+
to_recipients?: import("../integrations/supabase/types").Json;
|
|
9396
9711
|
uid?: number | null;
|
|
9397
9712
|
updated_at?: string;
|
|
9398
9713
|
};
|
|
@@ -9773,6 +10088,90 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
9773
10088
|
};
|
|
9774
10089
|
Relationships: [];
|
|
9775
10090
|
};
|
|
10091
|
+
material_usage: {
|
|
10092
|
+
Row: {
|
|
10093
|
+
created_at: string;
|
|
10094
|
+
id: string;
|
|
10095
|
+
material_name: string;
|
|
10096
|
+
monteur_id: string | null;
|
|
10097
|
+
price_at_time: number;
|
|
10098
|
+
quantity_used: number;
|
|
10099
|
+
updated_at: string;
|
|
10100
|
+
van_inventory_id: string | null;
|
|
10101
|
+
work_order_id: string;
|
|
10102
|
+
};
|
|
10103
|
+
Insert: {
|
|
10104
|
+
created_at?: string;
|
|
10105
|
+
id?: string;
|
|
10106
|
+
material_name: string;
|
|
10107
|
+
monteur_id?: string | null;
|
|
10108
|
+
price_at_time?: number;
|
|
10109
|
+
quantity_used?: number;
|
|
10110
|
+
updated_at?: string;
|
|
10111
|
+
van_inventory_id?: string | null;
|
|
10112
|
+
work_order_id: string;
|
|
10113
|
+
};
|
|
10114
|
+
Update: {
|
|
10115
|
+
created_at?: string;
|
|
10116
|
+
id?: string;
|
|
10117
|
+
material_name?: string;
|
|
10118
|
+
monteur_id?: string | null;
|
|
10119
|
+
price_at_time?: number;
|
|
10120
|
+
quantity_used?: number;
|
|
10121
|
+
updated_at?: string;
|
|
10122
|
+
van_inventory_id?: string | null;
|
|
10123
|
+
work_order_id?: string;
|
|
10124
|
+
};
|
|
10125
|
+
Relationships: [{
|
|
10126
|
+
foreignKeyName: "material_usage_monteur_id_fkey";
|
|
10127
|
+
columns: ["monteur_id"];
|
|
10128
|
+
isOneToOne: false;
|
|
10129
|
+
referencedRelation: "profiles";
|
|
10130
|
+
referencedColumns: ["id"];
|
|
10131
|
+
}, {
|
|
10132
|
+
foreignKeyName: "material_usage_van_inventory_id_fkey";
|
|
10133
|
+
columns: ["van_inventory_id"];
|
|
10134
|
+
isOneToOne: false;
|
|
10135
|
+
referencedRelation: "van_inventories";
|
|
10136
|
+
referencedColumns: ["id"];
|
|
10137
|
+
}, {
|
|
10138
|
+
foreignKeyName: "material_usage_work_order_id_fkey";
|
|
10139
|
+
columns: ["work_order_id"];
|
|
10140
|
+
isOneToOne: false;
|
|
10141
|
+
referencedRelation: "work_orders";
|
|
10142
|
+
referencedColumns: ["id"];
|
|
10143
|
+
}];
|
|
10144
|
+
};
|
|
10145
|
+
module_features: {
|
|
10146
|
+
Row: {
|
|
10147
|
+
created_at: string;
|
|
10148
|
+
feature_id: string;
|
|
10149
|
+
id: string;
|
|
10150
|
+
is_active: boolean;
|
|
10151
|
+
last_seen_at: string;
|
|
10152
|
+
module_id: string;
|
|
10153
|
+
name: string;
|
|
10154
|
+
};
|
|
10155
|
+
Insert: {
|
|
10156
|
+
created_at?: string;
|
|
10157
|
+
feature_id: string;
|
|
10158
|
+
id?: string;
|
|
10159
|
+
is_active?: boolean;
|
|
10160
|
+
last_seen_at?: string;
|
|
10161
|
+
module_id: string;
|
|
10162
|
+
name: string;
|
|
10163
|
+
};
|
|
10164
|
+
Update: {
|
|
10165
|
+
created_at?: string;
|
|
10166
|
+
feature_id?: string;
|
|
10167
|
+
id?: string;
|
|
10168
|
+
is_active?: boolean;
|
|
10169
|
+
last_seen_at?: string;
|
|
10170
|
+
module_id?: string;
|
|
10171
|
+
name?: string;
|
|
10172
|
+
};
|
|
10173
|
+
Relationships: [];
|
|
10174
|
+
};
|
|
9776
10175
|
module_permissions: {
|
|
9777
10176
|
Row: {
|
|
9778
10177
|
created_at: string;
|
|
@@ -9800,6 +10199,39 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
9800
10199
|
};
|
|
9801
10200
|
Relationships: [];
|
|
9802
10201
|
};
|
|
10202
|
+
module_registry: {
|
|
10203
|
+
Row: {
|
|
10204
|
+
created_at: string;
|
|
10205
|
+
enforce: boolean;
|
|
10206
|
+
is_active: boolean;
|
|
10207
|
+
last_seen_at: string;
|
|
10208
|
+
module_id: string;
|
|
10209
|
+
name: string;
|
|
10210
|
+
shell_id: string | null;
|
|
10211
|
+
sort_order: number | null;
|
|
10212
|
+
};
|
|
10213
|
+
Insert: {
|
|
10214
|
+
created_at?: string;
|
|
10215
|
+
enforce?: boolean;
|
|
10216
|
+
is_active?: boolean;
|
|
10217
|
+
last_seen_at?: string;
|
|
10218
|
+
module_id: string;
|
|
10219
|
+
name: string;
|
|
10220
|
+
shell_id?: string | null;
|
|
10221
|
+
sort_order?: number | null;
|
|
10222
|
+
};
|
|
10223
|
+
Update: {
|
|
10224
|
+
created_at?: string;
|
|
10225
|
+
enforce?: boolean;
|
|
10226
|
+
is_active?: boolean;
|
|
10227
|
+
last_seen_at?: string;
|
|
10228
|
+
module_id?: string;
|
|
10229
|
+
name?: string;
|
|
10230
|
+
shell_id?: string | null;
|
|
10231
|
+
sort_order?: number | null;
|
|
10232
|
+
};
|
|
10233
|
+
Relationships: [];
|
|
10234
|
+
};
|
|
9803
10235
|
module_runtime_config: {
|
|
9804
10236
|
Row: {
|
|
9805
10237
|
key: string;
|
|
@@ -9851,63 +10283,6 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
9851
10283
|
};
|
|
9852
10284
|
Relationships: [];
|
|
9853
10285
|
};
|
|
9854
|
-
monteurs: {
|
|
9855
|
-
Row: {
|
|
9856
|
-
avatar_url: string | null;
|
|
9857
|
-
color: string | null;
|
|
9858
|
-
created_at: string;
|
|
9859
|
-
email: string | null;
|
|
9860
|
-
id: string;
|
|
9861
|
-
is_active: boolean;
|
|
9862
|
-
leave_balance_hours: number;
|
|
9863
|
-
name: string;
|
|
9864
|
-
persnr: number | null;
|
|
9865
|
-
phone: string | null;
|
|
9866
|
-
role: string;
|
|
9867
|
-
tenant_id: string;
|
|
9868
|
-
updated_at: string;
|
|
9869
|
-
user_id: string | null;
|
|
9870
|
-
};
|
|
9871
|
-
Insert: {
|
|
9872
|
-
avatar_url?: string | null;
|
|
9873
|
-
color?: string | null;
|
|
9874
|
-
created_at?: string;
|
|
9875
|
-
email?: string | null;
|
|
9876
|
-
id?: string;
|
|
9877
|
-
is_active?: boolean;
|
|
9878
|
-
leave_balance_hours?: number;
|
|
9879
|
-
name: string;
|
|
9880
|
-
persnr?: number | null;
|
|
9881
|
-
phone?: string | null;
|
|
9882
|
-
role?: string;
|
|
9883
|
-
tenant_id: string;
|
|
9884
|
-
updated_at?: string;
|
|
9885
|
-
user_id?: string | null;
|
|
9886
|
-
};
|
|
9887
|
-
Update: {
|
|
9888
|
-
avatar_url?: string | null;
|
|
9889
|
-
color?: string | null;
|
|
9890
|
-
created_at?: string;
|
|
9891
|
-
email?: string | null;
|
|
9892
|
-
id?: string;
|
|
9893
|
-
is_active?: boolean;
|
|
9894
|
-
leave_balance_hours?: number;
|
|
9895
|
-
name?: string;
|
|
9896
|
-
persnr?: number | null;
|
|
9897
|
-
phone?: string | null;
|
|
9898
|
-
role?: string;
|
|
9899
|
-
tenant_id?: string;
|
|
9900
|
-
updated_at?: string;
|
|
9901
|
-
user_id?: string | null;
|
|
9902
|
-
};
|
|
9903
|
-
Relationships: [{
|
|
9904
|
-
foreignKeyName: "monteurs_tenant_id_fkey";
|
|
9905
|
-
columns: ["tenant_id"];
|
|
9906
|
-
isOneToOne: false;
|
|
9907
|
-
referencedRelation: "tenants";
|
|
9908
|
-
referencedColumns: ["id"];
|
|
9909
|
-
}];
|
|
9910
|
-
};
|
|
9911
10286
|
nmbrs_component_mapping: {
|
|
9912
10287
|
Row: {
|
|
9913
10288
|
created_at: string;
|
|
@@ -9978,13 +10353,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
9978
10353
|
nmbrs_employee_number?: string;
|
|
9979
10354
|
updated_at?: string;
|
|
9980
10355
|
};
|
|
9981
|
-
Relationships: [
|
|
9982
|
-
foreignKeyName: "nmbrs_employee_mapping_monteur_id_fkey";
|
|
9983
|
-
columns: ["monteur_id"];
|
|
9984
|
-
isOneToOne: true;
|
|
9985
|
-
referencedRelation: "monteurs";
|
|
9986
|
-
referencedColumns: ["id"];
|
|
9987
|
-
}];
|
|
10356
|
+
Relationships: [];
|
|
9988
10357
|
};
|
|
9989
10358
|
nmbrs_export_lines: {
|
|
9990
10359
|
Row: {
|
|
@@ -10033,12 +10402,6 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
10033
10402
|
wage_code?: string;
|
|
10034
10403
|
};
|
|
10035
10404
|
Relationships: [{
|
|
10036
|
-
foreignKeyName: "nmbrs_export_lines_monteur_id_fkey";
|
|
10037
|
-
columns: ["monteur_id"];
|
|
10038
|
-
isOneToOne: false;
|
|
10039
|
-
referencedRelation: "monteurs";
|
|
10040
|
-
referencedColumns: ["id"];
|
|
10041
|
-
}, {
|
|
10042
10405
|
foreignKeyName: "nmbrs_export_lines_run_id_fkey";
|
|
10043
10406
|
columns: ["run_id"];
|
|
10044
10407
|
isOneToOne: false;
|
|
@@ -10859,6 +11222,45 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
10859
11222
|
};
|
|
10860
11223
|
Relationships: [];
|
|
10861
11224
|
};
|
|
11225
|
+
order_invoice_links: {
|
|
11226
|
+
Row: {
|
|
11227
|
+
attempts: number;
|
|
11228
|
+
created_at: string;
|
|
11229
|
+
error_message: string | null;
|
|
11230
|
+
id: string;
|
|
11231
|
+
invoice_number: string | null;
|
|
11232
|
+
next_attempt_at: string;
|
|
11233
|
+
order_id: string;
|
|
11234
|
+
processed_at: string | null;
|
|
11235
|
+
status: string;
|
|
11236
|
+
updated_at: string;
|
|
11237
|
+
};
|
|
11238
|
+
Insert: {
|
|
11239
|
+
attempts?: number;
|
|
11240
|
+
created_at?: string;
|
|
11241
|
+
error_message?: string | null;
|
|
11242
|
+
id?: string;
|
|
11243
|
+
invoice_number?: string | null;
|
|
11244
|
+
next_attempt_at?: string;
|
|
11245
|
+
order_id: string;
|
|
11246
|
+
processed_at?: string | null;
|
|
11247
|
+
status?: string;
|
|
11248
|
+
updated_at?: string;
|
|
11249
|
+
};
|
|
11250
|
+
Update: {
|
|
11251
|
+
attempts?: number;
|
|
11252
|
+
created_at?: string;
|
|
11253
|
+
error_message?: string | null;
|
|
11254
|
+
id?: string;
|
|
11255
|
+
invoice_number?: string | null;
|
|
11256
|
+
next_attempt_at?: string;
|
|
11257
|
+
order_id?: string;
|
|
11258
|
+
processed_at?: string | null;
|
|
11259
|
+
status?: string;
|
|
11260
|
+
updated_at?: string;
|
|
11261
|
+
};
|
|
11262
|
+
Relationships: [];
|
|
11263
|
+
};
|
|
10862
11264
|
order_items: {
|
|
10863
11265
|
Row: {
|
|
10864
11266
|
crates_per_layer: number | null;
|
|
@@ -11041,6 +11443,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
11041
11443
|
delivery_date: string | null;
|
|
11042
11444
|
floriday_sales_order_id: string | null;
|
|
11043
11445
|
id: string;
|
|
11446
|
+
invoice_due_at: string | null;
|
|
11044
11447
|
is_reservation: boolean;
|
|
11045
11448
|
notes: string | null;
|
|
11046
11449
|
order_date: string;
|
|
@@ -11062,6 +11465,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
11062
11465
|
delivery_date?: string | null;
|
|
11063
11466
|
floriday_sales_order_id?: string | null;
|
|
11064
11467
|
id?: string;
|
|
11468
|
+
invoice_due_at?: string | null;
|
|
11065
11469
|
is_reservation?: boolean;
|
|
11066
11470
|
notes?: string | null;
|
|
11067
11471
|
order_date?: string;
|
|
@@ -11083,6 +11487,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
11083
11487
|
delivery_date?: string | null;
|
|
11084
11488
|
floriday_sales_order_id?: string | null;
|
|
11085
11489
|
id?: string;
|
|
11490
|
+
invoice_due_at?: string | null;
|
|
11086
11491
|
is_reservation?: boolean;
|
|
11087
11492
|
notes?: string | null;
|
|
11088
11493
|
order_date?: string;
|
|
@@ -12279,22 +12684,27 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
12279
12684
|
created_at: string;
|
|
12280
12685
|
documentnaam: string;
|
|
12281
12686
|
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
12687
|
+
extern_job_id: string | null;
|
|
12282
12688
|
foutmelding: string | null;
|
|
12283
12689
|
gebruiker_id: string | null;
|
|
12284
12690
|
gebruiker_naam: string;
|
|
12285
12691
|
gestart_op: string | null;
|
|
12286
12692
|
id: string;
|
|
12693
|
+
idempotentie_sleutel: string | null;
|
|
12287
12694
|
is_herprint: boolean;
|
|
12288
12695
|
kopieen: number;
|
|
12289
12696
|
layout_id: string | null;
|
|
12290
12697
|
opgepakt_op: string | null;
|
|
12291
12698
|
paginas: number;
|
|
12292
12699
|
payload: import("../integrations/supabase/types").Json;
|
|
12700
|
+
pdf_base64: string | null;
|
|
12701
|
+
pdf_url: string | null;
|
|
12293
12702
|
pogingen: number;
|
|
12294
12703
|
printer_id: string | null;
|
|
12295
12704
|
render_html: string | null;
|
|
12296
12705
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
12297
12706
|
updated_at: string;
|
|
12707
|
+
volgende_poging: string | null;
|
|
12298
12708
|
voltooid_op: string | null;
|
|
12299
12709
|
};
|
|
12300
12710
|
Insert: {
|
|
@@ -12303,22 +12713,27 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
12303
12713
|
created_at?: string;
|
|
12304
12714
|
documentnaam?: string;
|
|
12305
12715
|
documenttype?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
12716
|
+
extern_job_id?: string | null;
|
|
12306
12717
|
foutmelding?: string | null;
|
|
12307
12718
|
gebruiker_id?: string | null;
|
|
12308
12719
|
gebruiker_naam?: string;
|
|
12309
12720
|
gestart_op?: string | null;
|
|
12310
12721
|
id?: string;
|
|
12722
|
+
idempotentie_sleutel?: string | null;
|
|
12311
12723
|
is_herprint?: boolean;
|
|
12312
12724
|
kopieen?: number;
|
|
12313
12725
|
layout_id?: string | null;
|
|
12314
12726
|
opgepakt_op?: string | null;
|
|
12315
12727
|
paginas?: number;
|
|
12316
12728
|
payload?: import("../integrations/supabase/types").Json;
|
|
12729
|
+
pdf_base64?: string | null;
|
|
12730
|
+
pdf_url?: string | null;
|
|
12317
12731
|
pogingen?: number;
|
|
12318
12732
|
printer_id?: string | null;
|
|
12319
12733
|
render_html?: string | null;
|
|
12320
12734
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
12321
12735
|
updated_at?: string;
|
|
12736
|
+
volgende_poging?: string | null;
|
|
12322
12737
|
voltooid_op?: string | null;
|
|
12323
12738
|
};
|
|
12324
12739
|
Update: {
|
|
@@ -12327,22 +12742,27 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
12327
12742
|
created_at?: string;
|
|
12328
12743
|
documentnaam?: string;
|
|
12329
12744
|
documenttype?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
12745
|
+
extern_job_id?: string | null;
|
|
12330
12746
|
foutmelding?: string | null;
|
|
12331
12747
|
gebruiker_id?: string | null;
|
|
12332
12748
|
gebruiker_naam?: string;
|
|
12333
12749
|
gestart_op?: string | null;
|
|
12334
12750
|
id?: string;
|
|
12751
|
+
idempotentie_sleutel?: string | null;
|
|
12335
12752
|
is_herprint?: boolean;
|
|
12336
12753
|
kopieen?: number;
|
|
12337
12754
|
layout_id?: string | null;
|
|
12338
12755
|
opgepakt_op?: string | null;
|
|
12339
12756
|
paginas?: number;
|
|
12340
12757
|
payload?: import("../integrations/supabase/types").Json;
|
|
12758
|
+
pdf_base64?: string | null;
|
|
12759
|
+
pdf_url?: string | null;
|
|
12341
12760
|
pogingen?: number;
|
|
12342
12761
|
printer_id?: string | null;
|
|
12343
12762
|
render_html?: string | null;
|
|
12344
12763
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
12345
12764
|
updated_at?: string;
|
|
12765
|
+
volgende_poging?: string | null;
|
|
12346
12766
|
voltooid_op?: string | null;
|
|
12347
12767
|
};
|
|
12348
12768
|
Relationships: [{
|
|
@@ -12365,6 +12785,72 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
12365
12785
|
referencedColumns: ["id"];
|
|
12366
12786
|
}];
|
|
12367
12787
|
};
|
|
12788
|
+
print_queue_runners: {
|
|
12789
|
+
Row: {
|
|
12790
|
+
actief: boolean;
|
|
12791
|
+
basis_url: string;
|
|
12792
|
+
created_at: string;
|
|
12793
|
+
id: string;
|
|
12794
|
+
laatst_gezien: string;
|
|
12795
|
+
laatste_fout: string | null;
|
|
12796
|
+
laatste_request_id: number | null;
|
|
12797
|
+
mislukte_posts: number;
|
|
12798
|
+
tick_sleutel: string;
|
|
12799
|
+
updated_at: string;
|
|
12800
|
+
};
|
|
12801
|
+
Insert: {
|
|
12802
|
+
actief?: boolean;
|
|
12803
|
+
basis_url: string;
|
|
12804
|
+
created_at?: string;
|
|
12805
|
+
id?: string;
|
|
12806
|
+
laatst_gezien?: string;
|
|
12807
|
+
laatste_fout?: string | null;
|
|
12808
|
+
laatste_request_id?: number | null;
|
|
12809
|
+
mislukte_posts?: number;
|
|
12810
|
+
tick_sleutel?: string;
|
|
12811
|
+
updated_at?: string;
|
|
12812
|
+
};
|
|
12813
|
+
Update: {
|
|
12814
|
+
actief?: boolean;
|
|
12815
|
+
basis_url?: string;
|
|
12816
|
+
created_at?: string;
|
|
12817
|
+
id?: string;
|
|
12818
|
+
laatst_gezien?: string;
|
|
12819
|
+
laatste_fout?: string | null;
|
|
12820
|
+
laatste_request_id?: number | null;
|
|
12821
|
+
mislukte_posts?: number;
|
|
12822
|
+
tick_sleutel?: string;
|
|
12823
|
+
updated_at?: string;
|
|
12824
|
+
};
|
|
12825
|
+
Relationships: [];
|
|
12826
|
+
};
|
|
12827
|
+
print_queue_settings: {
|
|
12828
|
+
Row: {
|
|
12829
|
+
bewaar_bestanden_dagen: number;
|
|
12830
|
+
bewaar_opdrachten_dagen: number;
|
|
12831
|
+
created_at: string;
|
|
12832
|
+
dubbel_venster_minuten: number;
|
|
12833
|
+
id: string;
|
|
12834
|
+
updated_at: string;
|
|
12835
|
+
};
|
|
12836
|
+
Insert: {
|
|
12837
|
+
bewaar_bestanden_dagen?: number;
|
|
12838
|
+
bewaar_opdrachten_dagen?: number;
|
|
12839
|
+
created_at?: string;
|
|
12840
|
+
dubbel_venster_minuten?: number;
|
|
12841
|
+
id?: string;
|
|
12842
|
+
updated_at?: string;
|
|
12843
|
+
};
|
|
12844
|
+
Update: {
|
|
12845
|
+
bewaar_bestanden_dagen?: number;
|
|
12846
|
+
bewaar_opdrachten_dagen?: number;
|
|
12847
|
+
created_at?: string;
|
|
12848
|
+
dubbel_venster_minuten?: number;
|
|
12849
|
+
id?: string;
|
|
12850
|
+
updated_at?: string;
|
|
12851
|
+
};
|
|
12852
|
+
Relationships: [];
|
|
12853
|
+
};
|
|
12368
12854
|
print_rules: {
|
|
12369
12855
|
Row: {
|
|
12370
12856
|
actief: boolean;
|
|
@@ -12525,6 +13011,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
12525
13011
|
agent_id: string | null;
|
|
12526
13012
|
created_at: string;
|
|
12527
13013
|
driver: string;
|
|
13014
|
+
extern_printer_id: string | null;
|
|
12528
13015
|
id: string;
|
|
12529
13016
|
ip_adres: string | null;
|
|
12530
13017
|
laatst_gezien: string | null;
|
|
@@ -12546,6 +13033,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
12546
13033
|
agent_id?: string | null;
|
|
12547
13034
|
created_at?: string;
|
|
12548
13035
|
driver?: string;
|
|
13036
|
+
extern_printer_id?: string | null;
|
|
12549
13037
|
id?: string;
|
|
12550
13038
|
ip_adres?: string | null;
|
|
12551
13039
|
laatst_gezien?: string | null;
|
|
@@ -12567,6 +13055,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
12567
13055
|
agent_id?: string | null;
|
|
12568
13056
|
created_at?: string;
|
|
12569
13057
|
driver?: string;
|
|
13058
|
+
extern_printer_id?: string | null;
|
|
12570
13059
|
id?: string;
|
|
12571
13060
|
ip_adres?: string | null;
|
|
12572
13061
|
laatst_gezien?: string | null;
|
|
@@ -13838,6 +14327,96 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
13838
14327
|
referencedColumns: ["id"];
|
|
13839
14328
|
}];
|
|
13840
14329
|
};
|
|
14330
|
+
role_assignments: {
|
|
14331
|
+
Row: {
|
|
14332
|
+
created_at: string;
|
|
14333
|
+
id: string;
|
|
14334
|
+
role_id: string;
|
|
14335
|
+
user_id: string;
|
|
14336
|
+
};
|
|
14337
|
+
Insert: {
|
|
14338
|
+
created_at?: string;
|
|
14339
|
+
id?: string;
|
|
14340
|
+
role_id: string;
|
|
14341
|
+
user_id: string;
|
|
14342
|
+
};
|
|
14343
|
+
Update: {
|
|
14344
|
+
created_at?: string;
|
|
14345
|
+
id?: string;
|
|
14346
|
+
role_id?: string;
|
|
14347
|
+
user_id?: string;
|
|
14348
|
+
};
|
|
14349
|
+
Relationships: [{
|
|
14350
|
+
foreignKeyName: "role_assignments_role_id_fkey";
|
|
14351
|
+
columns: ["role_id"];
|
|
14352
|
+
isOneToOne: false;
|
|
14353
|
+
referencedRelation: "roles";
|
|
14354
|
+
referencedColumns: ["id"];
|
|
14355
|
+
}];
|
|
14356
|
+
};
|
|
14357
|
+
role_permissions: {
|
|
14358
|
+
Row: {
|
|
14359
|
+
can_edit: boolean;
|
|
14360
|
+
can_view: boolean;
|
|
14361
|
+
feature_id: string;
|
|
14362
|
+
id: string;
|
|
14363
|
+
module_id: string;
|
|
14364
|
+
role_id: string;
|
|
14365
|
+
updated_at: string;
|
|
14366
|
+
};
|
|
14367
|
+
Insert: {
|
|
14368
|
+
can_edit?: boolean;
|
|
14369
|
+
can_view?: boolean;
|
|
14370
|
+
feature_id?: string;
|
|
14371
|
+
id?: string;
|
|
14372
|
+
module_id: string;
|
|
14373
|
+
role_id: string;
|
|
14374
|
+
updated_at?: string;
|
|
14375
|
+
};
|
|
14376
|
+
Update: {
|
|
14377
|
+
can_edit?: boolean;
|
|
14378
|
+
can_view?: boolean;
|
|
14379
|
+
feature_id?: string;
|
|
14380
|
+
id?: string;
|
|
14381
|
+
module_id?: string;
|
|
14382
|
+
role_id?: string;
|
|
14383
|
+
updated_at?: string;
|
|
14384
|
+
};
|
|
14385
|
+
Relationships: [{
|
|
14386
|
+
foreignKeyName: "role_permissions_role_id_fkey";
|
|
14387
|
+
columns: ["role_id"];
|
|
14388
|
+
isOneToOne: false;
|
|
14389
|
+
referencedRelation: "roles";
|
|
14390
|
+
referencedColumns: ["id"];
|
|
14391
|
+
}];
|
|
14392
|
+
};
|
|
14393
|
+
roles: {
|
|
14394
|
+
Row: {
|
|
14395
|
+
created_at: string;
|
|
14396
|
+
id: string;
|
|
14397
|
+
is_protected: boolean;
|
|
14398
|
+
key: string;
|
|
14399
|
+
name: string;
|
|
14400
|
+
updated_at: string;
|
|
14401
|
+
};
|
|
14402
|
+
Insert: {
|
|
14403
|
+
created_at?: string;
|
|
14404
|
+
id?: string;
|
|
14405
|
+
is_protected?: boolean;
|
|
14406
|
+
key: string;
|
|
14407
|
+
name: string;
|
|
14408
|
+
updated_at?: string;
|
|
14409
|
+
};
|
|
14410
|
+
Update: {
|
|
14411
|
+
created_at?: string;
|
|
14412
|
+
id?: string;
|
|
14413
|
+
is_protected?: boolean;
|
|
14414
|
+
key?: string;
|
|
14415
|
+
name?: string;
|
|
14416
|
+
updated_at?: string;
|
|
14417
|
+
};
|
|
14418
|
+
Relationships: [];
|
|
14419
|
+
};
|
|
13841
14420
|
rooms: {
|
|
13842
14421
|
Row: {
|
|
13843
14422
|
capacity: number;
|
|
@@ -14507,6 +15086,54 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
14507
15086
|
};
|
|
14508
15087
|
Relationships: [];
|
|
14509
15088
|
};
|
|
15089
|
+
time_compensation_entries: {
|
|
15090
|
+
Row: {
|
|
15091
|
+
created_at: string;
|
|
15092
|
+
employee_id: string;
|
|
15093
|
+
entry_date: string;
|
|
15094
|
+
id: string;
|
|
15095
|
+
km: number;
|
|
15096
|
+
meal_allowance: number;
|
|
15097
|
+
notes: string | null;
|
|
15098
|
+
standby_evening: number;
|
|
15099
|
+
standby_weekend: number;
|
|
15100
|
+
tvt_change: number;
|
|
15101
|
+
updated_at: string;
|
|
15102
|
+
};
|
|
15103
|
+
Insert: {
|
|
15104
|
+
created_at?: string;
|
|
15105
|
+
employee_id: string;
|
|
15106
|
+
entry_date: string;
|
|
15107
|
+
id?: string;
|
|
15108
|
+
km?: number;
|
|
15109
|
+
meal_allowance?: number;
|
|
15110
|
+
notes?: string | null;
|
|
15111
|
+
standby_evening?: number;
|
|
15112
|
+
standby_weekend?: number;
|
|
15113
|
+
tvt_change?: number;
|
|
15114
|
+
updated_at?: string;
|
|
15115
|
+
};
|
|
15116
|
+
Update: {
|
|
15117
|
+
created_at?: string;
|
|
15118
|
+
employee_id?: string;
|
|
15119
|
+
entry_date?: string;
|
|
15120
|
+
id?: string;
|
|
15121
|
+
km?: number;
|
|
15122
|
+
meal_allowance?: number;
|
|
15123
|
+
notes?: string | null;
|
|
15124
|
+
standby_evening?: number;
|
|
15125
|
+
standby_weekend?: number;
|
|
15126
|
+
tvt_change?: number;
|
|
15127
|
+
updated_at?: string;
|
|
15128
|
+
};
|
|
15129
|
+
Relationships: [{
|
|
15130
|
+
foreignKeyName: "time_compensation_entries_employee_id_fkey";
|
|
15131
|
+
columns: ["employee_id"];
|
|
15132
|
+
isOneToOne: false;
|
|
15133
|
+
referencedRelation: "profiles";
|
|
15134
|
+
referencedColumns: ["id"];
|
|
15135
|
+
}];
|
|
15136
|
+
};
|
|
14510
15137
|
time_entries: {
|
|
14511
15138
|
Row: {
|
|
14512
15139
|
created_at: string;
|
|
@@ -14541,65 +15168,170 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
14541
15168
|
undertime?: number;
|
|
14542
15169
|
updated_at?: string;
|
|
14543
15170
|
};
|
|
15171
|
+
Relationships: [];
|
|
15172
|
+
};
|
|
15173
|
+
time_log_week_approvals: {
|
|
15174
|
+
Row: {
|
|
15175
|
+
approved_at: string | null;
|
|
15176
|
+
approved_by: string | null;
|
|
15177
|
+
created_at: string;
|
|
15178
|
+
employee_id: string;
|
|
15179
|
+
id: string;
|
|
15180
|
+
locked: boolean;
|
|
15181
|
+
notes: string | null;
|
|
15182
|
+
status: string;
|
|
15183
|
+
submitted_at: string | null;
|
|
15184
|
+
updated_at: string;
|
|
15185
|
+
week_start: string;
|
|
15186
|
+
};
|
|
15187
|
+
Insert: {
|
|
15188
|
+
approved_at?: string | null;
|
|
15189
|
+
approved_by?: string | null;
|
|
15190
|
+
created_at?: string;
|
|
15191
|
+
employee_id: string;
|
|
15192
|
+
id?: string;
|
|
15193
|
+
locked?: boolean;
|
|
15194
|
+
notes?: string | null;
|
|
15195
|
+
status?: string;
|
|
15196
|
+
submitted_at?: string | null;
|
|
15197
|
+
updated_at?: string;
|
|
15198
|
+
week_start: string;
|
|
15199
|
+
};
|
|
15200
|
+
Update: {
|
|
15201
|
+
approved_at?: string | null;
|
|
15202
|
+
approved_by?: string | null;
|
|
15203
|
+
created_at?: string;
|
|
15204
|
+
employee_id?: string;
|
|
15205
|
+
id?: string;
|
|
15206
|
+
locked?: boolean;
|
|
15207
|
+
notes?: string | null;
|
|
15208
|
+
status?: string;
|
|
15209
|
+
submitted_at?: string | null;
|
|
15210
|
+
updated_at?: string;
|
|
15211
|
+
week_start?: string;
|
|
15212
|
+
};
|
|
14544
15213
|
Relationships: [{
|
|
14545
|
-
foreignKeyName: "
|
|
15214
|
+
foreignKeyName: "time_log_week_approvals_employee_id_fkey";
|
|
14546
15215
|
columns: ["employee_id"];
|
|
14547
15216
|
isOneToOne: false;
|
|
14548
|
-
referencedRelation: "
|
|
15217
|
+
referencedRelation: "profiles";
|
|
14549
15218
|
referencedColumns: ["id"];
|
|
14550
15219
|
}];
|
|
14551
15220
|
};
|
|
14552
15221
|
time_logs: {
|
|
14553
15222
|
Row: {
|
|
15223
|
+
auto_stop_reason: string | null;
|
|
15224
|
+
auto_stopped: boolean;
|
|
14554
15225
|
created_at: string;
|
|
15226
|
+
current_latitude: number | null;
|
|
15227
|
+
current_longitude: number | null;
|
|
15228
|
+
current_position_updated_at: string | null;
|
|
14555
15229
|
employee_id: string;
|
|
15230
|
+
end_latitude: number | null;
|
|
15231
|
+
end_longitude: number | null;
|
|
14556
15232
|
end_time: string | null;
|
|
15233
|
+
eta_distance_km: number | null;
|
|
15234
|
+
eta_minutes: number | null;
|
|
15235
|
+
eta_updated_at: string | null;
|
|
15236
|
+
hour_category: string | null;
|
|
14557
15237
|
id: string;
|
|
15238
|
+
last_reminder_at: string | null;
|
|
14558
15239
|
notes: string | null;
|
|
14559
15240
|
overtime_hours: number;
|
|
14560
15241
|
overtime_type: string | null;
|
|
14561
15242
|
regular_hours: number;
|
|
15243
|
+
reminder_count: number;
|
|
15244
|
+
requires_review: boolean;
|
|
15245
|
+
start_latitude: number | null;
|
|
15246
|
+
start_longitude: number | null;
|
|
14562
15247
|
start_time: string;
|
|
14563
15248
|
travel_cost: number | null;
|
|
14564
15249
|
travel_distance_km: number | null;
|
|
15250
|
+
travel_duration_min: number | null;
|
|
15251
|
+
travel_time_minutes: number | null;
|
|
14565
15252
|
type: string;
|
|
14566
15253
|
updated_at: string;
|
|
15254
|
+
work_order_id: string | null;
|
|
14567
15255
|
};
|
|
14568
15256
|
Insert: {
|
|
15257
|
+
auto_stop_reason?: string | null;
|
|
15258
|
+
auto_stopped?: boolean;
|
|
14569
15259
|
created_at?: string;
|
|
15260
|
+
current_latitude?: number | null;
|
|
15261
|
+
current_longitude?: number | null;
|
|
15262
|
+
current_position_updated_at?: string | null;
|
|
14570
15263
|
employee_id: string;
|
|
15264
|
+
end_latitude?: number | null;
|
|
15265
|
+
end_longitude?: number | null;
|
|
14571
15266
|
end_time?: string | null;
|
|
15267
|
+
eta_distance_km?: number | null;
|
|
15268
|
+
eta_minutes?: number | null;
|
|
15269
|
+
eta_updated_at?: string | null;
|
|
15270
|
+
hour_category?: string | null;
|
|
14572
15271
|
id?: string;
|
|
15272
|
+
last_reminder_at?: string | null;
|
|
14573
15273
|
notes?: string | null;
|
|
14574
15274
|
overtime_hours?: number;
|
|
14575
15275
|
overtime_type?: string | null;
|
|
14576
15276
|
regular_hours?: number;
|
|
15277
|
+
reminder_count?: number;
|
|
15278
|
+
requires_review?: boolean;
|
|
15279
|
+
start_latitude?: number | null;
|
|
15280
|
+
start_longitude?: number | null;
|
|
14577
15281
|
start_time?: string;
|
|
14578
15282
|
travel_cost?: number | null;
|
|
14579
15283
|
travel_distance_km?: number | null;
|
|
15284
|
+
travel_duration_min?: number | null;
|
|
15285
|
+
travel_time_minutes?: number | null;
|
|
14580
15286
|
type: string;
|
|
14581
15287
|
updated_at?: string;
|
|
15288
|
+
work_order_id?: string | null;
|
|
14582
15289
|
};
|
|
14583
15290
|
Update: {
|
|
15291
|
+
auto_stop_reason?: string | null;
|
|
15292
|
+
auto_stopped?: boolean;
|
|
14584
15293
|
created_at?: string;
|
|
15294
|
+
current_latitude?: number | null;
|
|
15295
|
+
current_longitude?: number | null;
|
|
15296
|
+
current_position_updated_at?: string | null;
|
|
14585
15297
|
employee_id?: string;
|
|
15298
|
+
end_latitude?: number | null;
|
|
15299
|
+
end_longitude?: number | null;
|
|
14586
15300
|
end_time?: string | null;
|
|
15301
|
+
eta_distance_km?: number | null;
|
|
15302
|
+
eta_minutes?: number | null;
|
|
15303
|
+
eta_updated_at?: string | null;
|
|
15304
|
+
hour_category?: string | null;
|
|
14587
15305
|
id?: string;
|
|
15306
|
+
last_reminder_at?: string | null;
|
|
14588
15307
|
notes?: string | null;
|
|
14589
15308
|
overtime_hours?: number;
|
|
14590
15309
|
overtime_type?: string | null;
|
|
14591
15310
|
regular_hours?: number;
|
|
15311
|
+
reminder_count?: number;
|
|
15312
|
+
requires_review?: boolean;
|
|
15313
|
+
start_latitude?: number | null;
|
|
15314
|
+
start_longitude?: number | null;
|
|
14592
15315
|
start_time?: string;
|
|
14593
15316
|
travel_cost?: number | null;
|
|
14594
15317
|
travel_distance_km?: number | null;
|
|
15318
|
+
travel_duration_min?: number | null;
|
|
15319
|
+
travel_time_minutes?: number | null;
|
|
14595
15320
|
type?: string;
|
|
14596
15321
|
updated_at?: string;
|
|
15322
|
+
work_order_id?: string | null;
|
|
14597
15323
|
};
|
|
14598
15324
|
Relationships: [{
|
|
14599
15325
|
foreignKeyName: "time_logs_employee_id_fkey";
|
|
14600
15326
|
columns: ["employee_id"];
|
|
14601
15327
|
isOneToOne: false;
|
|
14602
|
-
referencedRelation: "
|
|
15328
|
+
referencedRelation: "profiles";
|
|
15329
|
+
referencedColumns: ["id"];
|
|
15330
|
+
}, {
|
|
15331
|
+
foreignKeyName: "time_logs_work_order_id_fkey";
|
|
15332
|
+
columns: ["work_order_id"];
|
|
15333
|
+
isOneToOne: false;
|
|
15334
|
+
referencedRelation: "work_orders";
|
|
14603
15335
|
referencedColumns: ["id"];
|
|
14604
15336
|
}];
|
|
14605
15337
|
};
|
|
@@ -14638,7 +15370,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
14638
15370
|
foreignKeyName: "time_off_entries_employee_id_fkey";
|
|
14639
15371
|
columns: ["employee_id"];
|
|
14640
15372
|
isOneToOne: false;
|
|
14641
|
-
referencedRelation: "
|
|
15373
|
+
referencedRelation: "profiles";
|
|
14642
15374
|
referencedColumns: ["id"];
|
|
14643
15375
|
}];
|
|
14644
15376
|
};
|
|
@@ -14948,6 +15680,39 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
14948
15680
|
};
|
|
14949
15681
|
Relationships: [];
|
|
14950
15682
|
};
|
|
15683
|
+
twinfield_cron_locks: {
|
|
15684
|
+
Row: {
|
|
15685
|
+
created_at: string;
|
|
15686
|
+
heartbeat_at: string;
|
|
15687
|
+
job_name: string;
|
|
15688
|
+
last_error: string | null;
|
|
15689
|
+
last_finished_at: string | null;
|
|
15690
|
+
locked_at: string;
|
|
15691
|
+
run_id: string;
|
|
15692
|
+
updated_at: string;
|
|
15693
|
+
};
|
|
15694
|
+
Insert: {
|
|
15695
|
+
created_at?: string;
|
|
15696
|
+
heartbeat_at?: string;
|
|
15697
|
+
job_name: string;
|
|
15698
|
+
last_error?: string | null;
|
|
15699
|
+
last_finished_at?: string | null;
|
|
15700
|
+
locked_at?: string;
|
|
15701
|
+
run_id?: string;
|
|
15702
|
+
updated_at?: string;
|
|
15703
|
+
};
|
|
15704
|
+
Update: {
|
|
15705
|
+
created_at?: string;
|
|
15706
|
+
heartbeat_at?: string;
|
|
15707
|
+
job_name?: string;
|
|
15708
|
+
last_error?: string | null;
|
|
15709
|
+
last_finished_at?: string | null;
|
|
15710
|
+
locked_at?: string;
|
|
15711
|
+
run_id?: string;
|
|
15712
|
+
updated_at?: string;
|
|
15713
|
+
};
|
|
15714
|
+
Relationships: [];
|
|
15715
|
+
};
|
|
14951
15716
|
twinfield_customers: {
|
|
14952
15717
|
Row: {
|
|
14953
15718
|
address: string | null;
|
|
@@ -15202,6 +15967,8 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
15202
15967
|
};
|
|
15203
15968
|
twinfield_invoice_settings: {
|
|
15204
15969
|
Row: {
|
|
15970
|
+
auto_invoice_enabled: boolean;
|
|
15971
|
+
auto_invoice_trigger_statuses: string[];
|
|
15205
15972
|
created_at: string;
|
|
15206
15973
|
debtor_gl_account: string;
|
|
15207
15974
|
default_credit_invoice_type: string | null;
|
|
@@ -15222,6 +15989,8 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
15222
15989
|
vat_code_export: string | null;
|
|
15223
15990
|
};
|
|
15224
15991
|
Insert: {
|
|
15992
|
+
auto_invoice_enabled?: boolean;
|
|
15993
|
+
auto_invoice_trigger_statuses?: string[];
|
|
15225
15994
|
created_at?: string;
|
|
15226
15995
|
debtor_gl_account?: string;
|
|
15227
15996
|
default_credit_invoice_type?: string | null;
|
|
@@ -15242,6 +16011,8 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
15242
16011
|
vat_code_export?: string | null;
|
|
15243
16012
|
};
|
|
15244
16013
|
Update: {
|
|
16014
|
+
auto_invoice_enabled?: boolean;
|
|
16015
|
+
auto_invoice_trigger_statuses?: string[];
|
|
15245
16016
|
created_at?: string;
|
|
15246
16017
|
debtor_gl_account?: string;
|
|
15247
16018
|
default_credit_invoice_type?: string | null;
|
|
@@ -15542,6 +16313,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
15542
16313
|
twinfield_push_queue: {
|
|
15543
16314
|
Row: {
|
|
15544
16315
|
action: string;
|
|
16316
|
+
attempt_started_at: string | null;
|
|
15545
16317
|
attempts: number;
|
|
15546
16318
|
connection_id: string | null;
|
|
15547
16319
|
created_at: string;
|
|
@@ -15558,6 +16330,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
15558
16330
|
};
|
|
15559
16331
|
Insert: {
|
|
15560
16332
|
action?: string;
|
|
16333
|
+
attempt_started_at?: string | null;
|
|
15561
16334
|
attempts?: number;
|
|
15562
16335
|
connection_id?: string | null;
|
|
15563
16336
|
created_at?: string;
|
|
@@ -15574,6 +16347,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
15574
16347
|
};
|
|
15575
16348
|
Update: {
|
|
15576
16349
|
action?: string;
|
|
16350
|
+
attempt_started_at?: string | null;
|
|
15577
16351
|
attempts?: number;
|
|
15578
16352
|
connection_id?: string | null;
|
|
15579
16353
|
created_at?: string;
|
|
@@ -15771,13 +16545,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
15771
16545
|
workday_end?: string | null;
|
|
15772
16546
|
workday_start?: string | null;
|
|
15773
16547
|
};
|
|
15774
|
-
Relationships: [
|
|
15775
|
-
foreignKeyName: "uren_cao_profiles_monteur_id_fkey";
|
|
15776
|
-
columns: ["monteur_id"];
|
|
15777
|
-
isOneToOne: true;
|
|
15778
|
-
referencedRelation: "monteurs";
|
|
15779
|
-
referencedColumns: ["id"];
|
|
15780
|
-
}];
|
|
16548
|
+
Relationships: [];
|
|
15781
16549
|
};
|
|
15782
16550
|
uren_entries: {
|
|
15783
16551
|
Row: {
|
|
@@ -15823,12 +16591,6 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
15823
16591
|
werkbon_id?: string | null;
|
|
15824
16592
|
};
|
|
15825
16593
|
Relationships: [{
|
|
15826
|
-
foreignKeyName: "uren_entries_monteur_id_fkey";
|
|
15827
|
-
columns: ["monteur_id"];
|
|
15828
|
-
isOneToOne: false;
|
|
15829
|
-
referencedRelation: "monteurs";
|
|
15830
|
-
referencedColumns: ["id"];
|
|
15831
|
-
}, {
|
|
15832
16594
|
foreignKeyName: "uren_entries_werkbon_id_fkey";
|
|
15833
16595
|
columns: ["werkbon_id"];
|
|
15834
16596
|
isOneToOne: false;
|
|
@@ -16296,13 +17058,37 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
16296
17058
|
submitted_at?: string | null;
|
|
16297
17059
|
updated_at?: string;
|
|
16298
17060
|
};
|
|
16299
|
-
Relationships: [
|
|
16300
|
-
|
|
16301
|
-
|
|
16302
|
-
|
|
16303
|
-
|
|
16304
|
-
|
|
16305
|
-
|
|
17061
|
+
Relationships: [];
|
|
17062
|
+
};
|
|
17063
|
+
user_module_permissions: {
|
|
17064
|
+
Row: {
|
|
17065
|
+
created_at: string;
|
|
17066
|
+
feature_id: string;
|
|
17067
|
+
id: string;
|
|
17068
|
+
module_id: string;
|
|
17069
|
+
permission: string;
|
|
17070
|
+
updated_at: string;
|
|
17071
|
+
user_id: string;
|
|
17072
|
+
};
|
|
17073
|
+
Insert: {
|
|
17074
|
+
created_at?: string;
|
|
17075
|
+
feature_id?: string;
|
|
17076
|
+
id?: string;
|
|
17077
|
+
module_id: string;
|
|
17078
|
+
permission: string;
|
|
17079
|
+
updated_at?: string;
|
|
17080
|
+
user_id: string;
|
|
17081
|
+
};
|
|
17082
|
+
Update: {
|
|
17083
|
+
created_at?: string;
|
|
17084
|
+
feature_id?: string;
|
|
17085
|
+
id?: string;
|
|
17086
|
+
module_id?: string;
|
|
17087
|
+
permission?: string;
|
|
17088
|
+
updated_at?: string;
|
|
17089
|
+
user_id?: string;
|
|
17090
|
+
};
|
|
17091
|
+
Relationships: [];
|
|
16306
17092
|
};
|
|
16307
17093
|
user_roles: {
|
|
16308
17094
|
Row: {
|
|
@@ -16331,6 +17117,51 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
16331
17117
|
referencedColumns: ["id"];
|
|
16332
17118
|
}];
|
|
16333
17119
|
};
|
|
17120
|
+
van_inventories: {
|
|
17121
|
+
Row: {
|
|
17122
|
+
barcode: string | null;
|
|
17123
|
+
created_at: string;
|
|
17124
|
+
id: string;
|
|
17125
|
+
monteur_id: string | null;
|
|
17126
|
+
price_per_unit: number;
|
|
17127
|
+
product_name: string;
|
|
17128
|
+
quantity_current: number;
|
|
17129
|
+
quantity_min: number;
|
|
17130
|
+
unit: string;
|
|
17131
|
+
updated_at: string;
|
|
17132
|
+
};
|
|
17133
|
+
Insert: {
|
|
17134
|
+
barcode?: string | null;
|
|
17135
|
+
created_at?: string;
|
|
17136
|
+
id?: string;
|
|
17137
|
+
monteur_id?: string | null;
|
|
17138
|
+
price_per_unit?: number;
|
|
17139
|
+
product_name: string;
|
|
17140
|
+
quantity_current?: number;
|
|
17141
|
+
quantity_min?: number;
|
|
17142
|
+
unit?: string;
|
|
17143
|
+
updated_at?: string;
|
|
17144
|
+
};
|
|
17145
|
+
Update: {
|
|
17146
|
+
barcode?: string | null;
|
|
17147
|
+
created_at?: string;
|
|
17148
|
+
id?: string;
|
|
17149
|
+
monteur_id?: string | null;
|
|
17150
|
+
price_per_unit?: number;
|
|
17151
|
+
product_name?: string;
|
|
17152
|
+
quantity_current?: number;
|
|
17153
|
+
quantity_min?: number;
|
|
17154
|
+
unit?: string;
|
|
17155
|
+
updated_at?: string;
|
|
17156
|
+
};
|
|
17157
|
+
Relationships: [{
|
|
17158
|
+
foreignKeyName: "van_inventories_monteur_id_fkey";
|
|
17159
|
+
columns: ["monteur_id"];
|
|
17160
|
+
isOneToOne: false;
|
|
17161
|
+
referencedRelation: "profiles";
|
|
17162
|
+
referencedColumns: ["id"];
|
|
17163
|
+
}];
|
|
17164
|
+
};
|
|
16334
17165
|
voorraad_custom_fields: {
|
|
16335
17166
|
Row: {
|
|
16336
17167
|
created_at: string;
|
|
@@ -17281,7 +18112,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
17281
18112
|
foreignKeyName: "work_order_monteurs_monteur_id_fkey";
|
|
17282
18113
|
columns: ["monteur_id"];
|
|
17283
18114
|
isOneToOne: false;
|
|
17284
|
-
referencedRelation: "
|
|
18115
|
+
referencedRelation: "profiles";
|
|
17285
18116
|
referencedColumns: ["id"];
|
|
17286
18117
|
}, {
|
|
17287
18118
|
foreignKeyName: "work_order_monteurs_work_order_id_fkey";
|
|
@@ -17291,6 +18122,60 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
17291
18122
|
referencedColumns: ["id"];
|
|
17292
18123
|
}];
|
|
17293
18124
|
};
|
|
18125
|
+
work_order_photos: {
|
|
18126
|
+
Row: {
|
|
18127
|
+
ai_caption: string | null;
|
|
18128
|
+
ai_categorized_at: string | null;
|
|
18129
|
+
ai_labels: import("../integrations/supabase/types").Json | null;
|
|
18130
|
+
caption: string | null;
|
|
18131
|
+
created_at: string;
|
|
18132
|
+
id: string;
|
|
18133
|
+
monteur_id: string | null;
|
|
18134
|
+
photo_type: string;
|
|
18135
|
+
storage_path: string;
|
|
18136
|
+
updated_at: string;
|
|
18137
|
+
work_order_id: string;
|
|
18138
|
+
};
|
|
18139
|
+
Insert: {
|
|
18140
|
+
ai_caption?: string | null;
|
|
18141
|
+
ai_categorized_at?: string | null;
|
|
18142
|
+
ai_labels?: import("../integrations/supabase/types").Json | null;
|
|
18143
|
+
caption?: string | null;
|
|
18144
|
+
created_at?: string;
|
|
18145
|
+
id?: string;
|
|
18146
|
+
monteur_id?: string | null;
|
|
18147
|
+
photo_type?: string;
|
|
18148
|
+
storage_path: string;
|
|
18149
|
+
updated_at?: string;
|
|
18150
|
+
work_order_id: string;
|
|
18151
|
+
};
|
|
18152
|
+
Update: {
|
|
18153
|
+
ai_caption?: string | null;
|
|
18154
|
+
ai_categorized_at?: string | null;
|
|
18155
|
+
ai_labels?: import("../integrations/supabase/types").Json | null;
|
|
18156
|
+
caption?: string | null;
|
|
18157
|
+
created_at?: string;
|
|
18158
|
+
id?: string;
|
|
18159
|
+
monteur_id?: string | null;
|
|
18160
|
+
photo_type?: string;
|
|
18161
|
+
storage_path?: string;
|
|
18162
|
+
updated_at?: string;
|
|
18163
|
+
work_order_id?: string;
|
|
18164
|
+
};
|
|
18165
|
+
Relationships: [{
|
|
18166
|
+
foreignKeyName: "work_order_photos_monteur_id_fkey";
|
|
18167
|
+
columns: ["monteur_id"];
|
|
18168
|
+
isOneToOne: false;
|
|
18169
|
+
referencedRelation: "profiles";
|
|
18170
|
+
referencedColumns: ["id"];
|
|
18171
|
+
}, {
|
|
18172
|
+
foreignKeyName: "work_order_photos_work_order_id_fkey";
|
|
18173
|
+
columns: ["work_order_id"];
|
|
18174
|
+
isOneToOne: false;
|
|
18175
|
+
referencedRelation: "work_orders";
|
|
18176
|
+
referencedColumns: ["id"];
|
|
18177
|
+
}];
|
|
18178
|
+
};
|
|
17294
18179
|
work_orders: {
|
|
17295
18180
|
Row: {
|
|
17296
18181
|
assigned_to: string | null;
|
|
@@ -17322,7 +18207,6 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
17322
18207
|
scheduled_end_time: string | null;
|
|
17323
18208
|
scheduled_start_time: string | null;
|
|
17324
18209
|
status: string;
|
|
17325
|
-
tenant_id: string;
|
|
17326
18210
|
total_hours_worked: number | null;
|
|
17327
18211
|
total_price: number | null;
|
|
17328
18212
|
travel_time_minutes: number | null;
|
|
@@ -17360,7 +18244,6 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
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 checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
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;
|
|
@@ -17412,12 +18294,6 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
17412
18294
|
isOneToOne: false;
|
|
17413
18295
|
referencedRelation: "work_orders";
|
|
17414
18296
|
referencedColumns: ["id"];
|
|
17415
|
-
}, {
|
|
17416
|
-
foreignKeyName: "work_orders_tenant_id_fkey";
|
|
17417
|
-
columns: ["tenant_id"];
|
|
17418
|
-
isOneToOne: false;
|
|
17419
|
-
referencedRelation: "tenants";
|
|
17420
|
-
referencedColumns: ["id"];
|
|
17421
18297
|
}];
|
|
17422
18298
|
};
|
|
17423
18299
|
};
|
|
@@ -18102,6 +18978,19 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
18102
18978
|
};
|
|
18103
18979
|
Returns: undefined;
|
|
18104
18980
|
};
|
|
18981
|
+
approve_mailbox_order_proposal: {
|
|
18982
|
+
Args: {
|
|
18983
|
+
p_custom_fields: import("../integrations/supabase/types").Json;
|
|
18984
|
+
p_customer_id: string;
|
|
18985
|
+
p_delivery_date: string;
|
|
18986
|
+
p_field_values?: import("../integrations/supabase/types").Json;
|
|
18987
|
+
p_lines: import("../integrations/supabase/types").Json;
|
|
18988
|
+
p_notes: string;
|
|
18989
|
+
p_proposal_id: string;
|
|
18990
|
+
p_reviewed_by: string;
|
|
18991
|
+
};
|
|
18992
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
18993
|
+
};
|
|
18105
18994
|
assign_cart_numbers: {
|
|
18106
18995
|
Args: {
|
|
18107
18996
|
p_carts: import("../integrations/supabase/types").Json;
|
|
@@ -18137,6 +19026,10 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
18137
19026
|
processed_items: number;
|
|
18138
19027
|
}[];
|
|
18139
19028
|
};
|
|
19029
|
+
backfill_order_auto_invoice_queue: {
|
|
19030
|
+
Args: never;
|
|
19031
|
+
Returns: number;
|
|
19032
|
+
};
|
|
18140
19033
|
calculate_layer_stock: {
|
|
18141
19034
|
Args: {
|
|
18142
19035
|
p_product_id: string;
|
|
@@ -18149,6 +19042,10 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
18149
19042
|
};
|
|
18150
19043
|
Returns: number;
|
|
18151
19044
|
};
|
|
19045
|
+
can_manage_hours: {
|
|
19046
|
+
Args: never;
|
|
19047
|
+
Returns: boolean;
|
|
19048
|
+
};
|
|
18152
19049
|
check_offer_product_available_stock: {
|
|
18153
19050
|
Args: {
|
|
18154
19051
|
p_campaign_product_id: string;
|
|
@@ -18171,6 +19068,77 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
18171
19068
|
};
|
|
18172
19069
|
Returns: import("../integrations/supabase/types").Json;
|
|
18173
19070
|
};
|
|
19071
|
+
claim_cloud_print_jobs: {
|
|
19072
|
+
Args: {
|
|
19073
|
+
_max?: number;
|
|
19074
|
+
};
|
|
19075
|
+
Returns: {
|
|
19076
|
+
agent_id: string | null;
|
|
19077
|
+
bron_job_id: string | null;
|
|
19078
|
+
created_at: string;
|
|
19079
|
+
documentnaam: string;
|
|
19080
|
+
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
19081
|
+
extern_job_id: string | null;
|
|
19082
|
+
foutmelding: string | null;
|
|
19083
|
+
gebruiker_id: string | null;
|
|
19084
|
+
gebruiker_naam: string;
|
|
19085
|
+
gestart_op: string | null;
|
|
19086
|
+
id: string;
|
|
19087
|
+
idempotentie_sleutel: string | null;
|
|
19088
|
+
is_herprint: boolean;
|
|
19089
|
+
kopieen: number;
|
|
19090
|
+
layout_id: string | null;
|
|
19091
|
+
opgepakt_op: string | null;
|
|
19092
|
+
paginas: number;
|
|
19093
|
+
payload: import("../integrations/supabase/types").Json;
|
|
19094
|
+
pdf_base64: string | null;
|
|
19095
|
+
pdf_url: string | null;
|
|
19096
|
+
pogingen: number;
|
|
19097
|
+
printer_id: string | null;
|
|
19098
|
+
render_html: string | null;
|
|
19099
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
19100
|
+
updated_at: string;
|
|
19101
|
+
volgende_poging: string | null;
|
|
19102
|
+
voltooid_op: string | null;
|
|
19103
|
+
}[];
|
|
19104
|
+
SetofOptions: {
|
|
19105
|
+
from: "*";
|
|
19106
|
+
to: "print_jobs";
|
|
19107
|
+
isOneToOne: false;
|
|
19108
|
+
isSetofReturn: true;
|
|
19109
|
+
};
|
|
19110
|
+
};
|
|
19111
|
+
claim_floriday_stock_queue: {
|
|
19112
|
+
Args: {
|
|
19113
|
+
p_limit?: number;
|
|
19114
|
+
p_worker?: string;
|
|
19115
|
+
};
|
|
19116
|
+
Returns: {
|
|
19117
|
+
attempts: number;
|
|
19118
|
+
connection_id: string;
|
|
19119
|
+
created_at: string;
|
|
19120
|
+
desired_available: boolean | null;
|
|
19121
|
+
gateway_attempt_id: string | null;
|
|
19122
|
+
id: string;
|
|
19123
|
+
last_error: string | null;
|
|
19124
|
+
locked_at: string | null;
|
|
19125
|
+
locked_by: string | null;
|
|
19126
|
+
next_attempt_at: string;
|
|
19127
|
+
number_of_pieces: number;
|
|
19128
|
+
sent_at: string | null;
|
|
19129
|
+
status: string;
|
|
19130
|
+
superseded_by: string | null;
|
|
19131
|
+
trade_item_id: string;
|
|
19132
|
+
updated_at: string;
|
|
19133
|
+
user_id: string;
|
|
19134
|
+
}[];
|
|
19135
|
+
SetofOptions: {
|
|
19136
|
+
from: "*";
|
|
19137
|
+
to: "floriday_continuous_stock_queue";
|
|
19138
|
+
isOneToOne: false;
|
|
19139
|
+
isSetofReturn: true;
|
|
19140
|
+
};
|
|
19141
|
+
};
|
|
18174
19142
|
claim_logistics_tasks: {
|
|
18175
19143
|
Args: {
|
|
18176
19144
|
_limit?: number;
|
|
@@ -18230,22 +19198,27 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
18230
19198
|
created_at: string;
|
|
18231
19199
|
documentnaam: string;
|
|
18232
19200
|
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
19201
|
+
extern_job_id: string | null;
|
|
18233
19202
|
foutmelding: string | null;
|
|
18234
19203
|
gebruiker_id: string | null;
|
|
18235
19204
|
gebruiker_naam: string;
|
|
18236
19205
|
gestart_op: string | null;
|
|
18237
19206
|
id: string;
|
|
19207
|
+
idempotentie_sleutel: string | null;
|
|
18238
19208
|
is_herprint: boolean;
|
|
18239
19209
|
kopieen: number;
|
|
18240
19210
|
layout_id: string | null;
|
|
18241
19211
|
opgepakt_op: string | null;
|
|
18242
19212
|
paginas: number;
|
|
18243
19213
|
payload: import("../integrations/supabase/types").Json;
|
|
19214
|
+
pdf_base64: string | null;
|
|
19215
|
+
pdf_url: string | null;
|
|
18244
19216
|
pogingen: number;
|
|
18245
19217
|
printer_id: string | null;
|
|
18246
19218
|
render_html: string | null;
|
|
18247
19219
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
18248
19220
|
updated_at: string;
|
|
19221
|
+
volgende_poging: string | null;
|
|
18249
19222
|
voltooid_op: string | null;
|
|
18250
19223
|
}[];
|
|
18251
19224
|
SetofOptions: {
|
|
@@ -18262,6 +19235,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
18262
19235
|
};
|
|
18263
19236
|
Returns: {
|
|
18264
19237
|
action: string;
|
|
19238
|
+
attempt_started_at: string | null;
|
|
18265
19239
|
attempts: number;
|
|
18266
19240
|
connection_id: string | null;
|
|
18267
19241
|
created_at: string;
|
|
@@ -18283,10 +19257,28 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
18283
19257
|
isSetofReturn: true;
|
|
18284
19258
|
};
|
|
18285
19259
|
};
|
|
19260
|
+
cleanup_floriday_stock_queue: {
|
|
19261
|
+
Args: never;
|
|
19262
|
+
Returns: undefined;
|
|
19263
|
+
};
|
|
18286
19264
|
cleanup_old_bookings: {
|
|
18287
19265
|
Args: never;
|
|
18288
19266
|
Returns: undefined;
|
|
18289
19267
|
};
|
|
19268
|
+
cleanup_voorraad_module_history: {
|
|
19269
|
+
Args: never;
|
|
19270
|
+
Returns: undefined;
|
|
19271
|
+
};
|
|
19272
|
+
complete_floriday_stock_queue: {
|
|
19273
|
+
Args: {
|
|
19274
|
+
p_attempt_id?: string;
|
|
19275
|
+
p_error?: string;
|
|
19276
|
+
p_id: string;
|
|
19277
|
+
p_ok: boolean;
|
|
19278
|
+
p_permanent?: boolean;
|
|
19279
|
+
};
|
|
19280
|
+
Returns: undefined;
|
|
19281
|
+
};
|
|
18290
19282
|
consume_bom_for_production: {
|
|
18291
19283
|
Args: {
|
|
18292
19284
|
p_connection_id: string;
|
|
@@ -18331,6 +19323,30 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
18331
19323
|
agent_naam: string;
|
|
18332
19324
|
}[];
|
|
18333
19325
|
};
|
|
19326
|
+
consume_van_inventory: {
|
|
19327
|
+
Args: {
|
|
19328
|
+
p_inventory_id: string;
|
|
19329
|
+
p_quantity: number;
|
|
19330
|
+
};
|
|
19331
|
+
Returns: {
|
|
19332
|
+
barcode: string | null;
|
|
19333
|
+
created_at: string;
|
|
19334
|
+
id: string;
|
|
19335
|
+
monteur_id: string | null;
|
|
19336
|
+
price_per_unit: number;
|
|
19337
|
+
product_name: string;
|
|
19338
|
+
quantity_current: number;
|
|
19339
|
+
quantity_min: number;
|
|
19340
|
+
unit: string;
|
|
19341
|
+
updated_at: string;
|
|
19342
|
+
};
|
|
19343
|
+
SetofOptions: {
|
|
19344
|
+
from: "*";
|
|
19345
|
+
to: "van_inventories";
|
|
19346
|
+
isOneToOne: true;
|
|
19347
|
+
isSetofReturn: false;
|
|
19348
|
+
};
|
|
19349
|
+
};
|
|
18334
19350
|
control_get_todays_carts: {
|
|
18335
19351
|
Args: never;
|
|
18336
19352
|
Returns: {
|
|
@@ -18398,6 +19414,20 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
18398
19414
|
};
|
|
18399
19415
|
Returns: import("../integrations/supabase/types").Json;
|
|
18400
19416
|
};
|
|
19417
|
+
effective_module_permission: {
|
|
19418
|
+
Args: {
|
|
19419
|
+
_module_id: string;
|
|
19420
|
+
_user_id: string;
|
|
19421
|
+
};
|
|
19422
|
+
Returns: string;
|
|
19423
|
+
} | {
|
|
19424
|
+
Args: {
|
|
19425
|
+
_feature_id: string;
|
|
19426
|
+
_module_id: string;
|
|
19427
|
+
_user_id: string;
|
|
19428
|
+
};
|
|
19429
|
+
Returns: string;
|
|
19430
|
+
};
|
|
18401
19431
|
email_auth_decrypt: {
|
|
18402
19432
|
Args: {
|
|
18403
19433
|
cipher: string;
|
|
@@ -18748,12 +19778,6 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
18748
19778
|
Args: never;
|
|
18749
19779
|
Returns: string;
|
|
18750
19780
|
};
|
|
18751
|
-
get_work_order_tenant_id: {
|
|
18752
|
-
Args: {
|
|
18753
|
-
wo_id: string;
|
|
18754
|
-
};
|
|
18755
|
-
Returns: string;
|
|
18756
|
-
};
|
|
18757
19781
|
has_module_permission: {
|
|
18758
19782
|
Args: {
|
|
18759
19783
|
_min: string;
|
|
@@ -18787,6 +19811,13 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
18787
19811
|
};
|
|
18788
19812
|
Returns: boolean;
|
|
18789
19813
|
};
|
|
19814
|
+
is_time_log_week_locked: {
|
|
19815
|
+
Args: {
|
|
19816
|
+
p_employee_id: string;
|
|
19817
|
+
p_start_time: string;
|
|
19818
|
+
};
|
|
19819
|
+
Returns: boolean;
|
|
19820
|
+
};
|
|
18790
19821
|
is_user_admin: {
|
|
18791
19822
|
Args: never;
|
|
18792
19823
|
Returns: boolean;
|
|
@@ -18801,13 +19832,14 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
18801
19832
|
};
|
|
18802
19833
|
Returns: boolean;
|
|
18803
19834
|
};
|
|
18804
|
-
|
|
19835
|
+
list_medewerkers: {
|
|
18805
19836
|
Args: never;
|
|
18806
19837
|
Returns: {
|
|
18807
19838
|
avatar_url: string;
|
|
18808
19839
|
display_name: string;
|
|
18809
19840
|
email: string;
|
|
18810
19841
|
id: string;
|
|
19842
|
+
roles: string[];
|
|
18811
19843
|
}[];
|
|
18812
19844
|
};
|
|
18813
19845
|
list_my_planning_items: {
|
|
@@ -19201,6 +20233,51 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
19201
20233
|
isSetofReturn: false;
|
|
19202
20234
|
};
|
|
19203
20235
|
};
|
|
20236
|
+
logistics_floriday_claim_pushes: {
|
|
20237
|
+
Args: {
|
|
20238
|
+
_lease_seconds?: number;
|
|
20239
|
+
_limit?: number;
|
|
20240
|
+
_worker?: string;
|
|
20241
|
+
};
|
|
20242
|
+
Returns: {
|
|
20243
|
+
attempts: number;
|
|
20244
|
+
fulfillment_order_id: string;
|
|
20245
|
+
id: string;
|
|
20246
|
+
last_sent_hash: string;
|
|
20247
|
+
order_ref: string;
|
|
20248
|
+
payload: import("../integrations/supabase/types").Json;
|
|
20249
|
+
payload_hash: string;
|
|
20250
|
+
revision: number;
|
|
20251
|
+
}[];
|
|
20252
|
+
};
|
|
20253
|
+
logistics_floriday_finish_push: {
|
|
20254
|
+
Args: {
|
|
20255
|
+
_error?: string;
|
|
20256
|
+
_fulfillment_order_id?: string;
|
|
20257
|
+
_id: string;
|
|
20258
|
+
_max_age_hours?: number;
|
|
20259
|
+
_max_attempts?: number;
|
|
20260
|
+
_ok: boolean;
|
|
20261
|
+
_permanent?: boolean;
|
|
20262
|
+
_revision: number;
|
|
20263
|
+
_sent_hash?: string;
|
|
20264
|
+
};
|
|
20265
|
+
Returns: string;
|
|
20266
|
+
};
|
|
20267
|
+
logistics_floriday_prune_pushes: {
|
|
20268
|
+
Args: {
|
|
20269
|
+
_days?: number;
|
|
20270
|
+
};
|
|
20271
|
+
Returns: number;
|
|
20272
|
+
};
|
|
20273
|
+
logistics_floriday_queue_push: {
|
|
20274
|
+
Args: {
|
|
20275
|
+
_order_ref: string;
|
|
20276
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
20277
|
+
_payload_hash?: string;
|
|
20278
|
+
};
|
|
20279
|
+
Returns: string;
|
|
20280
|
+
};
|
|
19204
20281
|
logistics_live_carriers: {
|
|
19205
20282
|
Args: {
|
|
19206
20283
|
p_order_ref: string;
|
|
@@ -19253,6 +20330,65 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
19253
20330
|
};
|
|
19254
20331
|
Returns: number;
|
|
19255
20332
|
};
|
|
20333
|
+
logistics_plan_claim: {
|
|
20334
|
+
Args: {
|
|
20335
|
+
p_limit?: number;
|
|
20336
|
+
};
|
|
20337
|
+
Returns: {
|
|
20338
|
+
attempts: number;
|
|
20339
|
+
id: string;
|
|
20340
|
+
order_id: string;
|
|
20341
|
+
}[];
|
|
20342
|
+
};
|
|
20343
|
+
logistics_plan_enqueue: {
|
|
20344
|
+
Args: {
|
|
20345
|
+
p_order_id: string;
|
|
20346
|
+
p_reason?: string;
|
|
20347
|
+
};
|
|
20348
|
+
Returns: undefined;
|
|
20349
|
+
};
|
|
20350
|
+
logistics_plan_ensure_event: {
|
|
20351
|
+
Args: {
|
|
20352
|
+
p_order_id: string;
|
|
20353
|
+
};
|
|
20354
|
+
Returns: boolean;
|
|
20355
|
+
};
|
|
20356
|
+
logistics_plan_finish: {
|
|
20357
|
+
Args: {
|
|
20358
|
+
p_error?: string;
|
|
20359
|
+
p_id: string;
|
|
20360
|
+
};
|
|
20361
|
+
Returns: undefined;
|
|
20362
|
+
};
|
|
20363
|
+
logistics_plan_impact_orders: {
|
|
20364
|
+
Args: {
|
|
20365
|
+
p_order_id: string;
|
|
20366
|
+
};
|
|
20367
|
+
Returns: {
|
|
20368
|
+
buffer_id: string;
|
|
20369
|
+
order_id: string;
|
|
20370
|
+
plan_date: string;
|
|
20371
|
+
}[];
|
|
20372
|
+
};
|
|
20373
|
+
logistics_plan_kick: {
|
|
20374
|
+
Args: never;
|
|
20375
|
+
Returns: undefined;
|
|
20376
|
+
};
|
|
20377
|
+
logistics_plan_prune: {
|
|
20378
|
+
Args: never;
|
|
20379
|
+
Returns: number;
|
|
20380
|
+
};
|
|
20381
|
+
logistics_plan_release_stale: {
|
|
20382
|
+
Args: never;
|
|
20383
|
+
Returns: number;
|
|
20384
|
+
};
|
|
20385
|
+
logistics_plan_setting: {
|
|
20386
|
+
Args: {
|
|
20387
|
+
p_default: number;
|
|
20388
|
+
p_key: string;
|
|
20389
|
+
};
|
|
20390
|
+
Returns: number;
|
|
20391
|
+
};
|
|
19256
20392
|
logistics_queue_capacity_email: {
|
|
19257
20393
|
Args: {
|
|
19258
20394
|
p_alert_id: string;
|
|
@@ -19491,6 +20627,14 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
19491
20627
|
};
|
|
19492
20628
|
Returns: undefined;
|
|
19493
20629
|
};
|
|
20630
|
+
my_module_permissions: {
|
|
20631
|
+
Args: never;
|
|
20632
|
+
Returns: {
|
|
20633
|
+
feature_id: string;
|
|
20634
|
+
module_id: string;
|
|
20635
|
+
permission: string;
|
|
20636
|
+
}[];
|
|
20637
|
+
};
|
|
19494
20638
|
next_manufacture_partij: {
|
|
19495
20639
|
Args: {
|
|
19496
20640
|
_tenant_id: string;
|
|
@@ -19541,6 +20685,13 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
19541
20685
|
};
|
|
19542
20686
|
Returns: boolean;
|
|
19543
20687
|
};
|
|
20688
|
+
opruim_print_historie: {
|
|
20689
|
+
Args: never;
|
|
20690
|
+
Returns: {
|
|
20691
|
+
ontdaan: number;
|
|
20692
|
+
verwijderd: number;
|
|
20693
|
+
}[];
|
|
20694
|
+
};
|
|
19544
20695
|
order_number_prefix: {
|
|
19545
20696
|
Args: {
|
|
19546
20697
|
p_custom_fields?: import("../integrations/supabase/types").Json;
|
|
@@ -19548,6 +20699,15 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
19548
20699
|
};
|
|
19549
20700
|
Returns: string;
|
|
19550
20701
|
};
|
|
20702
|
+
pick_active_printers: {
|
|
20703
|
+
Args: never;
|
|
20704
|
+
Returns: {
|
|
20705
|
+
id: string;
|
|
20706
|
+
locatie: string;
|
|
20707
|
+
naam: string;
|
|
20708
|
+
online: boolean;
|
|
20709
|
+
}[];
|
|
20710
|
+
};
|
|
19551
20711
|
pick_claim_document: {
|
|
19552
20712
|
Args: {
|
|
19553
20713
|
_queue_item_id: string;
|
|
@@ -19734,6 +20894,52 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
19734
20894
|
};
|
|
19735
20895
|
Returns: undefined;
|
|
19736
20896
|
};
|
|
20897
|
+
pick_reset_print: {
|
|
20898
|
+
Args: {
|
|
20899
|
+
_queue_item_id: string;
|
|
20900
|
+
_session_id: string;
|
|
20901
|
+
};
|
|
20902
|
+
Returns: {
|
|
20903
|
+
announced_at: string;
|
|
20904
|
+
assigned_user_id: string | null;
|
|
20905
|
+
barcode: string | null;
|
|
20906
|
+
cancelled_at: string | null;
|
|
20907
|
+
cart_count: number;
|
|
20908
|
+
completed_at: string | null;
|
|
20909
|
+
country_code: string | null;
|
|
20910
|
+
created_at: string;
|
|
20911
|
+
customer_name: string | null;
|
|
20912
|
+
delivery_address: string | null;
|
|
20913
|
+
document_number: string | null;
|
|
20914
|
+
document_type_id: string | null;
|
|
20915
|
+
due_at: string | null;
|
|
20916
|
+
id: string;
|
|
20917
|
+
is_urgent: boolean;
|
|
20918
|
+
line_count: number;
|
|
20919
|
+
order_number: string | null;
|
|
20920
|
+
order_type: string | null;
|
|
20921
|
+
payload: import("../integrations/supabase/types").Json;
|
|
20922
|
+
print_count: number;
|
|
20923
|
+
print_job_id: string | null;
|
|
20924
|
+
printed_at: string | null;
|
|
20925
|
+
printed_by: string | null;
|
|
20926
|
+
printer_id: string | null;
|
|
20927
|
+
priority: number;
|
|
20928
|
+
reference: string | null;
|
|
20929
|
+
route: string | null;
|
|
20930
|
+
screen_id: string | null;
|
|
20931
|
+
station_id: string | null;
|
|
20932
|
+
status_id: string | null;
|
|
20933
|
+
updated_at: string;
|
|
20934
|
+
warnings: import("../integrations/supabase/types").Json;
|
|
20935
|
+
};
|
|
20936
|
+
SetofOptions: {
|
|
20937
|
+
from: "*";
|
|
20938
|
+
to: "pick_queue";
|
|
20939
|
+
isOneToOne: true;
|
|
20940
|
+
isSetofReturn: false;
|
|
20941
|
+
};
|
|
20942
|
+
};
|
|
19737
20943
|
pick_station_dashboard: {
|
|
19738
20944
|
Args: never;
|
|
19739
20945
|
Returns: {
|
|
@@ -19880,6 +21086,12 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
19880
21086
|
};
|
|
19881
21087
|
Returns: undefined;
|
|
19882
21088
|
};
|
|
21089
|
+
reset_stalled_floriday_stock_queue: {
|
|
21090
|
+
Args: {
|
|
21091
|
+
p_include_failed?: boolean;
|
|
21092
|
+
};
|
|
21093
|
+
Returns: number;
|
|
21094
|
+
};
|
|
19883
21095
|
resolve_group_allocation: {
|
|
19884
21096
|
Args: {
|
|
19885
21097
|
_needed: number;
|
|
@@ -19924,14 +21136,28 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
19924
21136
|
};
|
|
19925
21137
|
Returns: import("../integrations/supabase/types").Json;
|
|
19926
21138
|
};
|
|
21139
|
+
ruim_print_jobs_op: {
|
|
21140
|
+
Args: {
|
|
21141
|
+
_bewaar_dagen?: number;
|
|
21142
|
+
};
|
|
21143
|
+
Returns: number;
|
|
21144
|
+
};
|
|
19927
21145
|
run_floriday_continuous_stock_sync: {
|
|
19928
21146
|
Args: never;
|
|
19929
21147
|
Returns: undefined;
|
|
19930
21148
|
};
|
|
21149
|
+
run_floriday_stock_queue_process: {
|
|
21150
|
+
Args: never;
|
|
21151
|
+
Returns: undefined;
|
|
21152
|
+
};
|
|
19931
21153
|
run_logistics_tasks_dispatch: {
|
|
19932
21154
|
Args: never;
|
|
19933
21155
|
Returns: undefined;
|
|
19934
21156
|
};
|
|
21157
|
+
run_print_queue_ticks: {
|
|
21158
|
+
Args: never;
|
|
21159
|
+
Returns: number;
|
|
21160
|
+
};
|
|
19935
21161
|
run_twinfield_queue_tick: {
|
|
19936
21162
|
Args: never;
|
|
19937
21163
|
Returns: undefined;
|
|
@@ -20172,6 +21398,13 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
20172
21398
|
};
|
|
20173
21399
|
Returns: number;
|
|
20174
21400
|
};
|
|
21401
|
+
schedule_floriday_stock_queue_process: {
|
|
21402
|
+
Args: {
|
|
21403
|
+
p_apikey: string;
|
|
21404
|
+
p_url: string;
|
|
21405
|
+
};
|
|
21406
|
+
Returns: number;
|
|
21407
|
+
};
|
|
20175
21408
|
schedule_floriday_token_refresh: {
|
|
20176
21409
|
Args: {
|
|
20177
21410
|
p_apikey: string;
|
|
@@ -20278,6 +21511,16 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
20278
21511
|
};
|
|
20279
21512
|
Returns: string[];
|
|
20280
21513
|
};
|
|
21514
|
+
switch_time_log: {
|
|
21515
|
+
Args: {
|
|
21516
|
+
p_employee_id: string;
|
|
21517
|
+
p_start_lat?: number;
|
|
21518
|
+
p_start_lng?: number;
|
|
21519
|
+
p_type: string;
|
|
21520
|
+
p_work_order_id?: string;
|
|
21521
|
+
};
|
|
21522
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21523
|
+
};
|
|
20281
21524
|
sync_all_layer_stocks: {
|
|
20282
21525
|
Args: never;
|
|
20283
21526
|
Returns: undefined;
|
|
@@ -20312,6 +21555,15 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
20312
21555
|
};
|
|
20313
21556
|
Returns: undefined;
|
|
20314
21557
|
};
|
|
21558
|
+
trade_item_stock_duplicates: {
|
|
21559
|
+
Args: never;
|
|
21560
|
+
Returns: {
|
|
21561
|
+
keys: string[];
|
|
21562
|
+
product_id: string;
|
|
21563
|
+
product_name: string;
|
|
21564
|
+
row_count: number;
|
|
21565
|
+
}[];
|
|
21566
|
+
};
|
|
20315
21567
|
try_debtor_lock: {
|
|
20316
21568
|
Args: {
|
|
20317
21569
|
_group_key: string;
|
|
@@ -20319,6 +21571,24 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
20319
21571
|
};
|
|
20320
21572
|
Returns: boolean;
|
|
20321
21573
|
};
|
|
21574
|
+
twinfield_cron_lock_acquire: {
|
|
21575
|
+
Args: {
|
|
21576
|
+
_job_name: string;
|
|
21577
|
+
_stale_seconds?: number;
|
|
21578
|
+
};
|
|
21579
|
+
Returns: boolean;
|
|
21580
|
+
};
|
|
21581
|
+
twinfield_cron_lock_release: {
|
|
21582
|
+
Args: {
|
|
21583
|
+
_error?: string;
|
|
21584
|
+
_job_name: string;
|
|
21585
|
+
};
|
|
21586
|
+
Returns: undefined;
|
|
21587
|
+
};
|
|
21588
|
+
twinfield_prune_push_queue: {
|
|
21589
|
+
Args: never;
|
|
21590
|
+
Returns: number;
|
|
21591
|
+
};
|
|
20322
21592
|
twinfield_register_cron: {
|
|
20323
21593
|
Args: {
|
|
20324
21594
|
apikey?: string;
|
|
@@ -20361,7 +21631,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
20361
21631
|
};
|
|
20362
21632
|
Enums: {
|
|
20363
21633
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|
|
20364
|
-
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin";
|
|
21634
|
+
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
|
|
20365
21635
|
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
|
|
20366
21636
|
doc_orientation: "portrait" | "landscape";
|
|
20367
21637
|
exact_env: "staging" | "live";
|
|
@@ -21261,6 +22531,126 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
21261
22531
|
};
|
|
21262
22532
|
Relationships: [];
|
|
21263
22533
|
};
|
|
22534
|
+
cao_holidays: {
|
|
22535
|
+
Row: {
|
|
22536
|
+
created_at: string;
|
|
22537
|
+
description: string | null;
|
|
22538
|
+
holiday_date: string;
|
|
22539
|
+
id: string;
|
|
22540
|
+
updated_at: string;
|
|
22541
|
+
};
|
|
22542
|
+
Insert: {
|
|
22543
|
+
created_at?: string;
|
|
22544
|
+
description?: string | null;
|
|
22545
|
+
holiday_date: string;
|
|
22546
|
+
id?: string;
|
|
22547
|
+
updated_at?: string;
|
|
22548
|
+
};
|
|
22549
|
+
Update: {
|
|
22550
|
+
created_at?: string;
|
|
22551
|
+
description?: string | null;
|
|
22552
|
+
holiday_date?: string;
|
|
22553
|
+
id?: string;
|
|
22554
|
+
updated_at?: string;
|
|
22555
|
+
};
|
|
22556
|
+
Relationships: [];
|
|
22557
|
+
};
|
|
22558
|
+
cao_settings: {
|
|
22559
|
+
Row: {
|
|
22560
|
+
auto_break_after_hours: number;
|
|
22561
|
+
auto_break_minutes: number;
|
|
22562
|
+
auto_break_unpaid: boolean;
|
|
22563
|
+
auto_stop_after_hours: number;
|
|
22564
|
+
callout_fee: number;
|
|
22565
|
+
created_at: string;
|
|
22566
|
+
daily_regular_hours: number;
|
|
22567
|
+
default_hourly_rate: number;
|
|
22568
|
+
id: string;
|
|
22569
|
+
materials_markup_percent: number;
|
|
22570
|
+
max_daily_hours: number;
|
|
22571
|
+
max_weekly_hours: number;
|
|
22572
|
+
meal_allowance_amount: number;
|
|
22573
|
+
overtime_pct_178: number;
|
|
22574
|
+
overtime_pct_189: number;
|
|
22575
|
+
overtime_pct_212: number;
|
|
22576
|
+
reminder_after_hours: number;
|
|
22577
|
+
standby_evening_amount: number;
|
|
22578
|
+
standby_weekend_amount: number;
|
|
22579
|
+
travel_cost_per_km: number | null;
|
|
22580
|
+
travel_cost_threshold_km: number | null;
|
|
22581
|
+
travel_counts_as_work: boolean;
|
|
22582
|
+
travel_hourly_rate: number;
|
|
22583
|
+
travel_rate_per_hour: number;
|
|
22584
|
+
travel_threshold_minutes: number;
|
|
22585
|
+
updated_at: string;
|
|
22586
|
+
weekend_always_212: boolean;
|
|
22587
|
+
window_end: string;
|
|
22588
|
+
window_start: string;
|
|
22589
|
+
};
|
|
22590
|
+
Insert: {
|
|
22591
|
+
auto_break_after_hours?: number;
|
|
22592
|
+
auto_break_minutes?: number;
|
|
22593
|
+
auto_break_unpaid?: boolean;
|
|
22594
|
+
auto_stop_after_hours?: number;
|
|
22595
|
+
callout_fee?: number;
|
|
22596
|
+
created_at?: string;
|
|
22597
|
+
daily_regular_hours?: number;
|
|
22598
|
+
default_hourly_rate?: number;
|
|
22599
|
+
id?: string;
|
|
22600
|
+
materials_markup_percent?: number;
|
|
22601
|
+
max_daily_hours?: number;
|
|
22602
|
+
max_weekly_hours?: number;
|
|
22603
|
+
meal_allowance_amount?: number;
|
|
22604
|
+
overtime_pct_178?: number;
|
|
22605
|
+
overtime_pct_189?: number;
|
|
22606
|
+
overtime_pct_212?: number;
|
|
22607
|
+
reminder_after_hours?: number;
|
|
22608
|
+
standby_evening_amount?: number;
|
|
22609
|
+
standby_weekend_amount?: number;
|
|
22610
|
+
travel_cost_per_km?: number | null;
|
|
22611
|
+
travel_cost_threshold_km?: number | null;
|
|
22612
|
+
travel_counts_as_work?: boolean;
|
|
22613
|
+
travel_hourly_rate?: number;
|
|
22614
|
+
travel_rate_per_hour?: number;
|
|
22615
|
+
travel_threshold_minutes?: number;
|
|
22616
|
+
updated_at?: string;
|
|
22617
|
+
weekend_always_212?: boolean;
|
|
22618
|
+
window_end?: string;
|
|
22619
|
+
window_start?: string;
|
|
22620
|
+
};
|
|
22621
|
+
Update: {
|
|
22622
|
+
auto_break_after_hours?: number;
|
|
22623
|
+
auto_break_minutes?: number;
|
|
22624
|
+
auto_break_unpaid?: boolean;
|
|
22625
|
+
auto_stop_after_hours?: number;
|
|
22626
|
+
callout_fee?: number;
|
|
22627
|
+
created_at?: string;
|
|
22628
|
+
daily_regular_hours?: number;
|
|
22629
|
+
default_hourly_rate?: number;
|
|
22630
|
+
id?: string;
|
|
22631
|
+
materials_markup_percent?: number;
|
|
22632
|
+
max_daily_hours?: number;
|
|
22633
|
+
max_weekly_hours?: number;
|
|
22634
|
+
meal_allowance_amount?: number;
|
|
22635
|
+
overtime_pct_178?: number;
|
|
22636
|
+
overtime_pct_189?: number;
|
|
22637
|
+
overtime_pct_212?: number;
|
|
22638
|
+
reminder_after_hours?: number;
|
|
22639
|
+
standby_evening_amount?: number;
|
|
22640
|
+
standby_weekend_amount?: number;
|
|
22641
|
+
travel_cost_per_km?: number | null;
|
|
22642
|
+
travel_cost_threshold_km?: number | null;
|
|
22643
|
+
travel_counts_as_work?: boolean;
|
|
22644
|
+
travel_hourly_rate?: number;
|
|
22645
|
+
travel_rate_per_hour?: number;
|
|
22646
|
+
travel_threshold_minutes?: number;
|
|
22647
|
+
updated_at?: string;
|
|
22648
|
+
weekend_always_212?: boolean;
|
|
22649
|
+
window_end?: string;
|
|
22650
|
+
window_start?: string;
|
|
22651
|
+
};
|
|
22652
|
+
Relationships: [];
|
|
22653
|
+
};
|
|
21264
22654
|
carrier_shipping_rates: {
|
|
21265
22655
|
Row: {
|
|
21266
22656
|
carrier_id: string;
|
|
@@ -22073,7 +23463,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
22073
23463
|
city: string | null;
|
|
22074
23464
|
country: string | null;
|
|
22075
23465
|
created_at: string;
|
|
22076
|
-
customer_id: string
|
|
23466
|
+
customer_id: string;
|
|
22077
23467
|
external_key: string | null;
|
|
22078
23468
|
external_provider: string | null;
|
|
22079
23469
|
floriday_location_id: string | null;
|
|
@@ -22097,7 +23487,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
22097
23487
|
city?: string | null;
|
|
22098
23488
|
country?: string | null;
|
|
22099
23489
|
created_at?: string;
|
|
22100
|
-
customer_id
|
|
23490
|
+
customer_id: string;
|
|
22101
23491
|
external_key?: string | null;
|
|
22102
23492
|
external_provider?: string | null;
|
|
22103
23493
|
floriday_location_id?: string | null;
|
|
@@ -22121,7 +23511,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
22121
23511
|
city?: string | null;
|
|
22122
23512
|
country?: string | null;
|
|
22123
23513
|
created_at?: string;
|
|
22124
|
-
customer_id?: string
|
|
23514
|
+
customer_id?: string;
|
|
22125
23515
|
external_key?: string | null;
|
|
22126
23516
|
external_provider?: string | null;
|
|
22127
23517
|
floriday_location_id?: string | null;
|
|
@@ -26084,12 +27474,17 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
26084
27474
|
attempts: number;
|
|
26085
27475
|
connection_id: string;
|
|
26086
27476
|
created_at: string;
|
|
27477
|
+
desired_available: boolean | null;
|
|
26087
27478
|
gateway_attempt_id: string | null;
|
|
26088
27479
|
id: string;
|
|
26089
27480
|
last_error: string | null;
|
|
27481
|
+
locked_at: string | null;
|
|
27482
|
+
locked_by: string | null;
|
|
27483
|
+
next_attempt_at: string;
|
|
26090
27484
|
number_of_pieces: number;
|
|
26091
27485
|
sent_at: string | null;
|
|
26092
27486
|
status: string;
|
|
27487
|
+
superseded_by: string | null;
|
|
26093
27488
|
trade_item_id: string;
|
|
26094
27489
|
updated_at: string;
|
|
26095
27490
|
user_id: string;
|
|
@@ -26098,12 +27493,17 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
26098
27493
|
attempts?: number;
|
|
26099
27494
|
connection_id: string;
|
|
26100
27495
|
created_at?: string;
|
|
27496
|
+
desired_available?: boolean | null;
|
|
26101
27497
|
gateway_attempt_id?: string | null;
|
|
26102
27498
|
id?: string;
|
|
26103
27499
|
last_error?: string | null;
|
|
27500
|
+
locked_at?: string | null;
|
|
27501
|
+
locked_by?: string | null;
|
|
27502
|
+
next_attempt_at?: string;
|
|
26104
27503
|
number_of_pieces?: number;
|
|
26105
27504
|
sent_at?: string | null;
|
|
26106
27505
|
status?: string;
|
|
27506
|
+
superseded_by?: string | null;
|
|
26107
27507
|
trade_item_id: string;
|
|
26108
27508
|
updated_at?: string;
|
|
26109
27509
|
user_id: string;
|
|
@@ -26112,12 +27512,17 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
26112
27512
|
attempts?: number;
|
|
26113
27513
|
connection_id?: string;
|
|
26114
27514
|
created_at?: string;
|
|
27515
|
+
desired_available?: boolean | null;
|
|
26115
27516
|
gateway_attempt_id?: string | null;
|
|
26116
27517
|
id?: string;
|
|
26117
27518
|
last_error?: string | null;
|
|
27519
|
+
locked_at?: string | null;
|
|
27520
|
+
locked_by?: string | null;
|
|
27521
|
+
next_attempt_at?: string;
|
|
26118
27522
|
number_of_pieces?: number;
|
|
26119
27523
|
sent_at?: string | null;
|
|
26120
27524
|
status?: string;
|
|
27525
|
+
superseded_by?: string | null;
|
|
26121
27526
|
trade_item_id?: string;
|
|
26122
27527
|
updated_at?: string;
|
|
26123
27528
|
user_id?: string;
|
|
@@ -26854,6 +28259,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
26854
28259
|
Row: {
|
|
26855
28260
|
buyer_organization_id: string | null;
|
|
26856
28261
|
connection_id: string;
|
|
28262
|
+
controlled_at: string | null;
|
|
26857
28263
|
created_at: string;
|
|
26858
28264
|
data: import("../integrations/supabase/types").Json;
|
|
26859
28265
|
floriday_id: string;
|
|
@@ -26865,6 +28271,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
26865
28271
|
Insert: {
|
|
26866
28272
|
buyer_organization_id?: string | null;
|
|
26867
28273
|
connection_id: string;
|
|
28274
|
+
controlled_at?: string | null;
|
|
26868
28275
|
created_at?: string;
|
|
26869
28276
|
data: import("../integrations/supabase/types").Json;
|
|
26870
28277
|
floriday_id: string;
|
|
@@ -26876,6 +28283,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
26876
28283
|
Update: {
|
|
26877
28284
|
buyer_organization_id?: string | null;
|
|
26878
28285
|
connection_id?: string;
|
|
28286
|
+
controlled_at?: string | null;
|
|
26879
28287
|
created_at?: string;
|
|
26880
28288
|
data?: import("../integrations/supabase/types").Json;
|
|
26881
28289
|
floriday_id?: string;
|
|
@@ -27777,6 +29185,54 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
27777
29185
|
};
|
|
27778
29186
|
Relationships: [];
|
|
27779
29187
|
};
|
|
29188
|
+
invoice_timing_settings: {
|
|
29189
|
+
Row: {
|
|
29190
|
+
anchor: string;
|
|
29191
|
+
business_days_only: boolean;
|
|
29192
|
+
created_at: string;
|
|
29193
|
+
enabled: boolean;
|
|
29194
|
+
id: string;
|
|
29195
|
+
offset_days: number;
|
|
29196
|
+
pickup_anchor: string;
|
|
29197
|
+
pickup_business_days_only: boolean;
|
|
29198
|
+
pickup_offset_days: number;
|
|
29199
|
+
pickup_time_of_day: string;
|
|
29200
|
+
singleton: boolean;
|
|
29201
|
+
time_of_day: string;
|
|
29202
|
+
updated_at: string;
|
|
29203
|
+
};
|
|
29204
|
+
Insert: {
|
|
29205
|
+
anchor?: string;
|
|
29206
|
+
business_days_only?: boolean;
|
|
29207
|
+
created_at?: string;
|
|
29208
|
+
enabled?: boolean;
|
|
29209
|
+
id?: string;
|
|
29210
|
+
offset_days?: number;
|
|
29211
|
+
pickup_anchor?: string;
|
|
29212
|
+
pickup_business_days_only?: boolean;
|
|
29213
|
+
pickup_offset_days?: number;
|
|
29214
|
+
pickup_time_of_day?: string;
|
|
29215
|
+
singleton?: boolean;
|
|
29216
|
+
time_of_day?: string;
|
|
29217
|
+
updated_at?: string;
|
|
29218
|
+
};
|
|
29219
|
+
Update: {
|
|
29220
|
+
anchor?: string;
|
|
29221
|
+
business_days_only?: boolean;
|
|
29222
|
+
created_at?: string;
|
|
29223
|
+
enabled?: boolean;
|
|
29224
|
+
id?: string;
|
|
29225
|
+
offset_days?: number;
|
|
29226
|
+
pickup_anchor?: string;
|
|
29227
|
+
pickup_business_days_only?: boolean;
|
|
29228
|
+
pickup_offset_days?: number;
|
|
29229
|
+
pickup_time_of_day?: string;
|
|
29230
|
+
singleton?: boolean;
|
|
29231
|
+
time_of_day?: string;
|
|
29232
|
+
updated_at?: string;
|
|
29233
|
+
};
|
|
29234
|
+
Relationships: [];
|
|
29235
|
+
};
|
|
27780
29236
|
itk_contact_persons: {
|
|
27781
29237
|
Row: {
|
|
27782
29238
|
created_at: string;
|
|
@@ -28089,7 +29545,6 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
28089
29545
|
start_date: string;
|
|
28090
29546
|
start_time: string | null;
|
|
28091
29547
|
status: string;
|
|
28092
|
-
tenant_id: string;
|
|
28093
29548
|
updated_at: string;
|
|
28094
29549
|
user_id: string;
|
|
28095
29550
|
};
|
|
@@ -28107,7 +29562,6 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
28107
29562
|
start_date: string;
|
|
28108
29563
|
start_time?: string | null;
|
|
28109
29564
|
status?: string;
|
|
28110
|
-
tenant_id?: string;
|
|
28111
29565
|
updated_at?: string;
|
|
28112
29566
|
user_id: string;
|
|
28113
29567
|
};
|
|
@@ -28125,7 +29579,6 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
28125
29579
|
start_date?: string;
|
|
28126
29580
|
start_time?: string | null;
|
|
28127
29581
|
status?: string;
|
|
28128
|
-
tenant_id?: string;
|
|
28129
29582
|
updated_at?: string;
|
|
28130
29583
|
user_id?: string;
|
|
28131
29584
|
};
|
|
@@ -28133,13 +29586,13 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
28133
29586
|
foreignKeyName: "leave_requests_monteur_id_fkey";
|
|
28134
29587
|
columns: ["monteur_id"];
|
|
28135
29588
|
isOneToOne: false;
|
|
28136
|
-
referencedRelation: "
|
|
29589
|
+
referencedRelation: "profiles";
|
|
28137
29590
|
referencedColumns: ["id"];
|
|
28138
29591
|
}, {
|
|
28139
29592
|
foreignKeyName: "leave_requests_user_id_fkey";
|
|
28140
29593
|
columns: ["user_id"];
|
|
28141
29594
|
isOneToOne: false;
|
|
28142
|
-
referencedRelation: "
|
|
29595
|
+
referencedRelation: "profiles";
|
|
28143
29596
|
referencedColumns: ["id"];
|
|
28144
29597
|
}];
|
|
28145
29598
|
};
|
|
@@ -28866,6 +30319,69 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
28866
30319
|
};
|
|
28867
30320
|
Relationships: [];
|
|
28868
30321
|
};
|
|
30322
|
+
logistics_floriday_pushes: {
|
|
30323
|
+
Row: {
|
|
30324
|
+
attempts: number;
|
|
30325
|
+
created_at: string;
|
|
30326
|
+
first_queued_at: string;
|
|
30327
|
+
fulfillment_order_id: string | null;
|
|
30328
|
+
id: string;
|
|
30329
|
+
last_error: string | null;
|
|
30330
|
+
last_error_at: string | null;
|
|
30331
|
+
last_sent_hash: string | null;
|
|
30332
|
+
locked_by: string | null;
|
|
30333
|
+
locked_until: string | null;
|
|
30334
|
+
next_attempt_at: string;
|
|
30335
|
+
order_ref: string;
|
|
30336
|
+
payload: import("../integrations/supabase/types").Json;
|
|
30337
|
+
payload_hash: string | null;
|
|
30338
|
+
revision: number;
|
|
30339
|
+
sent_at: string | null;
|
|
30340
|
+
status: string;
|
|
30341
|
+
updated_at: string;
|
|
30342
|
+
};
|
|
30343
|
+
Insert: {
|
|
30344
|
+
attempts?: number;
|
|
30345
|
+
created_at?: string;
|
|
30346
|
+
first_queued_at?: string;
|
|
30347
|
+
fulfillment_order_id?: string | null;
|
|
30348
|
+
id?: string;
|
|
30349
|
+
last_error?: string | null;
|
|
30350
|
+
last_error_at?: string | null;
|
|
30351
|
+
last_sent_hash?: string | null;
|
|
30352
|
+
locked_by?: string | null;
|
|
30353
|
+
locked_until?: string | null;
|
|
30354
|
+
next_attempt_at?: string;
|
|
30355
|
+
order_ref: string;
|
|
30356
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
30357
|
+
payload_hash?: string | null;
|
|
30358
|
+
revision?: number;
|
|
30359
|
+
sent_at?: string | null;
|
|
30360
|
+
status?: string;
|
|
30361
|
+
updated_at?: string;
|
|
30362
|
+
};
|
|
30363
|
+
Update: {
|
|
30364
|
+
attempts?: number;
|
|
30365
|
+
created_at?: string;
|
|
30366
|
+
first_queued_at?: string;
|
|
30367
|
+
fulfillment_order_id?: string | null;
|
|
30368
|
+
id?: string;
|
|
30369
|
+
last_error?: string | null;
|
|
30370
|
+
last_error_at?: string | null;
|
|
30371
|
+
last_sent_hash?: string | null;
|
|
30372
|
+
locked_by?: string | null;
|
|
30373
|
+
locked_until?: string | null;
|
|
30374
|
+
next_attempt_at?: string;
|
|
30375
|
+
order_ref?: string;
|
|
30376
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
30377
|
+
payload_hash?: string | null;
|
|
30378
|
+
revision?: number;
|
|
30379
|
+
sent_at?: string | null;
|
|
30380
|
+
status?: string;
|
|
30381
|
+
updated_at?: string;
|
|
30382
|
+
};
|
|
30383
|
+
Relationships: [];
|
|
30384
|
+
};
|
|
28869
30385
|
logistics_formulas: {
|
|
28870
30386
|
Row: {
|
|
28871
30387
|
created_at: string;
|
|
@@ -28944,6 +30460,45 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
28944
30460
|
};
|
|
28945
30461
|
Relationships: [];
|
|
28946
30462
|
};
|
|
30463
|
+
logistics_plan_queue: {
|
|
30464
|
+
Row: {
|
|
30465
|
+
attempts: number;
|
|
30466
|
+
claimed_at: string | null;
|
|
30467
|
+
enqueued_at: string;
|
|
30468
|
+
error: string | null;
|
|
30469
|
+
id: string;
|
|
30470
|
+
next_attempt_at: string;
|
|
30471
|
+
order_id: string;
|
|
30472
|
+
reason: string;
|
|
30473
|
+
status: string;
|
|
30474
|
+
updated_at: string;
|
|
30475
|
+
};
|
|
30476
|
+
Insert: {
|
|
30477
|
+
attempts?: number;
|
|
30478
|
+
claimed_at?: string | null;
|
|
30479
|
+
enqueued_at?: string;
|
|
30480
|
+
error?: string | null;
|
|
30481
|
+
id?: string;
|
|
30482
|
+
next_attempt_at?: string;
|
|
30483
|
+
order_id: string;
|
|
30484
|
+
reason?: string;
|
|
30485
|
+
status?: string;
|
|
30486
|
+
updated_at?: string;
|
|
30487
|
+
};
|
|
30488
|
+
Update: {
|
|
30489
|
+
attempts?: number;
|
|
30490
|
+
claimed_at?: string | null;
|
|
30491
|
+
enqueued_at?: string;
|
|
30492
|
+
error?: string | null;
|
|
30493
|
+
id?: string;
|
|
30494
|
+
next_attempt_at?: string;
|
|
30495
|
+
order_id?: string;
|
|
30496
|
+
reason?: string;
|
|
30497
|
+
status?: string;
|
|
30498
|
+
updated_at?: string;
|
|
30499
|
+
};
|
|
30500
|
+
Relationships: [];
|
|
30501
|
+
};
|
|
28947
30502
|
logistics_plan_runs: {
|
|
28948
30503
|
Row: {
|
|
28949
30504
|
created_at: string;
|
|
@@ -29019,6 +30574,24 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
29019
30574
|
referencedColumns: ["id"];
|
|
29020
30575
|
}];
|
|
29021
30576
|
};
|
|
30577
|
+
logistics_plan_settings: {
|
|
30578
|
+
Row: {
|
|
30579
|
+
key: string;
|
|
30580
|
+
updated_at: string;
|
|
30581
|
+
value: string;
|
|
30582
|
+
};
|
|
30583
|
+
Insert: {
|
|
30584
|
+
key: string;
|
|
30585
|
+
updated_at?: string;
|
|
30586
|
+
value: string;
|
|
30587
|
+
};
|
|
30588
|
+
Update: {
|
|
30589
|
+
key?: string;
|
|
30590
|
+
updated_at?: string;
|
|
30591
|
+
value?: string;
|
|
30592
|
+
};
|
|
30593
|
+
Relationships: [];
|
|
30594
|
+
};
|
|
29022
30595
|
logistics_rebuffer_state: {
|
|
29023
30596
|
Row: {
|
|
29024
30597
|
created_at: string;
|
|
@@ -29729,14 +31302,17 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
29729
31302
|
};
|
|
29730
31303
|
mailbox_messages: {
|
|
29731
31304
|
Row: {
|
|
31305
|
+
attachments: import("../integrations/supabase/types").Json;
|
|
29732
31306
|
body_html: string | null;
|
|
29733
31307
|
body_text: string | null;
|
|
31308
|
+
cc_recipients: import("../integrations/supabase/types").Json;
|
|
29734
31309
|
connection_id: string | null;
|
|
29735
31310
|
created_at: string;
|
|
29736
31311
|
error_message: string | null;
|
|
29737
31312
|
external_id: string | null;
|
|
29738
31313
|
from_email: string | null;
|
|
29739
31314
|
from_name: string | null;
|
|
31315
|
+
has_attachments: boolean;
|
|
29740
31316
|
id: string;
|
|
29741
31317
|
message_id: string | null;
|
|
29742
31318
|
profile_id: string | null;
|
|
@@ -29744,18 +31320,22 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
29744
31320
|
received_at: string | null;
|
|
29745
31321
|
status: string;
|
|
29746
31322
|
subject: string | null;
|
|
31323
|
+
to_recipients: import("../integrations/supabase/types").Json;
|
|
29747
31324
|
uid: number | null;
|
|
29748
31325
|
updated_at: string;
|
|
29749
31326
|
};
|
|
29750
31327
|
Insert: {
|
|
31328
|
+
attachments?: import("../integrations/supabase/types").Json;
|
|
29751
31329
|
body_html?: string | null;
|
|
29752
31330
|
body_text?: string | null;
|
|
31331
|
+
cc_recipients?: import("../integrations/supabase/types").Json;
|
|
29753
31332
|
connection_id?: string | null;
|
|
29754
31333
|
created_at?: string;
|
|
29755
31334
|
error_message?: string | null;
|
|
29756
31335
|
external_id?: string | null;
|
|
29757
31336
|
from_email?: string | null;
|
|
29758
31337
|
from_name?: string | null;
|
|
31338
|
+
has_attachments?: boolean;
|
|
29759
31339
|
id?: string;
|
|
29760
31340
|
message_id?: string | null;
|
|
29761
31341
|
profile_id?: string | null;
|
|
@@ -29763,18 +31343,22 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
29763
31343
|
received_at?: string | null;
|
|
29764
31344
|
status?: string;
|
|
29765
31345
|
subject?: string | null;
|
|
31346
|
+
to_recipients?: import("../integrations/supabase/types").Json;
|
|
29766
31347
|
uid?: number | null;
|
|
29767
31348
|
updated_at?: string;
|
|
29768
31349
|
};
|
|
29769
31350
|
Update: {
|
|
31351
|
+
attachments?: import("../integrations/supabase/types").Json;
|
|
29770
31352
|
body_html?: string | null;
|
|
29771
31353
|
body_text?: string | null;
|
|
31354
|
+
cc_recipients?: import("../integrations/supabase/types").Json;
|
|
29772
31355
|
connection_id?: string | null;
|
|
29773
31356
|
created_at?: string;
|
|
29774
31357
|
error_message?: string | null;
|
|
29775
31358
|
external_id?: string | null;
|
|
29776
31359
|
from_email?: string | null;
|
|
29777
31360
|
from_name?: string | null;
|
|
31361
|
+
has_attachments?: boolean;
|
|
29778
31362
|
id?: string;
|
|
29779
31363
|
message_id?: string | null;
|
|
29780
31364
|
profile_id?: string | null;
|
|
@@ -29782,6 +31366,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
29782
31366
|
received_at?: string | null;
|
|
29783
31367
|
status?: string;
|
|
29784
31368
|
subject?: string | null;
|
|
31369
|
+
to_recipients?: import("../integrations/supabase/types").Json;
|
|
29785
31370
|
uid?: number | null;
|
|
29786
31371
|
updated_at?: string;
|
|
29787
31372
|
};
|
|
@@ -30162,6 +31747,90 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
30162
31747
|
};
|
|
30163
31748
|
Relationships: [];
|
|
30164
31749
|
};
|
|
31750
|
+
material_usage: {
|
|
31751
|
+
Row: {
|
|
31752
|
+
created_at: string;
|
|
31753
|
+
id: string;
|
|
31754
|
+
material_name: string;
|
|
31755
|
+
monteur_id: string | null;
|
|
31756
|
+
price_at_time: number;
|
|
31757
|
+
quantity_used: number;
|
|
31758
|
+
updated_at: string;
|
|
31759
|
+
van_inventory_id: string | null;
|
|
31760
|
+
work_order_id: string;
|
|
31761
|
+
};
|
|
31762
|
+
Insert: {
|
|
31763
|
+
created_at?: string;
|
|
31764
|
+
id?: string;
|
|
31765
|
+
material_name: string;
|
|
31766
|
+
monteur_id?: string | null;
|
|
31767
|
+
price_at_time?: number;
|
|
31768
|
+
quantity_used?: number;
|
|
31769
|
+
updated_at?: string;
|
|
31770
|
+
van_inventory_id?: string | null;
|
|
31771
|
+
work_order_id: string;
|
|
31772
|
+
};
|
|
31773
|
+
Update: {
|
|
31774
|
+
created_at?: string;
|
|
31775
|
+
id?: string;
|
|
31776
|
+
material_name?: string;
|
|
31777
|
+
monteur_id?: string | null;
|
|
31778
|
+
price_at_time?: number;
|
|
31779
|
+
quantity_used?: number;
|
|
31780
|
+
updated_at?: string;
|
|
31781
|
+
van_inventory_id?: string | null;
|
|
31782
|
+
work_order_id?: string;
|
|
31783
|
+
};
|
|
31784
|
+
Relationships: [{
|
|
31785
|
+
foreignKeyName: "material_usage_monteur_id_fkey";
|
|
31786
|
+
columns: ["monteur_id"];
|
|
31787
|
+
isOneToOne: false;
|
|
31788
|
+
referencedRelation: "profiles";
|
|
31789
|
+
referencedColumns: ["id"];
|
|
31790
|
+
}, {
|
|
31791
|
+
foreignKeyName: "material_usage_van_inventory_id_fkey";
|
|
31792
|
+
columns: ["van_inventory_id"];
|
|
31793
|
+
isOneToOne: false;
|
|
31794
|
+
referencedRelation: "van_inventories";
|
|
31795
|
+
referencedColumns: ["id"];
|
|
31796
|
+
}, {
|
|
31797
|
+
foreignKeyName: "material_usage_work_order_id_fkey";
|
|
31798
|
+
columns: ["work_order_id"];
|
|
31799
|
+
isOneToOne: false;
|
|
31800
|
+
referencedRelation: "work_orders";
|
|
31801
|
+
referencedColumns: ["id"];
|
|
31802
|
+
}];
|
|
31803
|
+
};
|
|
31804
|
+
module_features: {
|
|
31805
|
+
Row: {
|
|
31806
|
+
created_at: string;
|
|
31807
|
+
feature_id: string;
|
|
31808
|
+
id: string;
|
|
31809
|
+
is_active: boolean;
|
|
31810
|
+
last_seen_at: string;
|
|
31811
|
+
module_id: string;
|
|
31812
|
+
name: string;
|
|
31813
|
+
};
|
|
31814
|
+
Insert: {
|
|
31815
|
+
created_at?: string;
|
|
31816
|
+
feature_id: string;
|
|
31817
|
+
id?: string;
|
|
31818
|
+
is_active?: boolean;
|
|
31819
|
+
last_seen_at?: string;
|
|
31820
|
+
module_id: string;
|
|
31821
|
+
name: string;
|
|
31822
|
+
};
|
|
31823
|
+
Update: {
|
|
31824
|
+
created_at?: string;
|
|
31825
|
+
feature_id?: string;
|
|
31826
|
+
id?: string;
|
|
31827
|
+
is_active?: boolean;
|
|
31828
|
+
last_seen_at?: string;
|
|
31829
|
+
module_id?: string;
|
|
31830
|
+
name?: string;
|
|
31831
|
+
};
|
|
31832
|
+
Relationships: [];
|
|
31833
|
+
};
|
|
30165
31834
|
module_permissions: {
|
|
30166
31835
|
Row: {
|
|
30167
31836
|
created_at: string;
|
|
@@ -30189,6 +31858,39 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
30189
31858
|
};
|
|
30190
31859
|
Relationships: [];
|
|
30191
31860
|
};
|
|
31861
|
+
module_registry: {
|
|
31862
|
+
Row: {
|
|
31863
|
+
created_at: string;
|
|
31864
|
+
enforce: boolean;
|
|
31865
|
+
is_active: boolean;
|
|
31866
|
+
last_seen_at: string;
|
|
31867
|
+
module_id: string;
|
|
31868
|
+
name: string;
|
|
31869
|
+
shell_id: string | null;
|
|
31870
|
+
sort_order: number | null;
|
|
31871
|
+
};
|
|
31872
|
+
Insert: {
|
|
31873
|
+
created_at?: string;
|
|
31874
|
+
enforce?: boolean;
|
|
31875
|
+
is_active?: boolean;
|
|
31876
|
+
last_seen_at?: string;
|
|
31877
|
+
module_id: string;
|
|
31878
|
+
name: string;
|
|
31879
|
+
shell_id?: string | null;
|
|
31880
|
+
sort_order?: number | null;
|
|
31881
|
+
};
|
|
31882
|
+
Update: {
|
|
31883
|
+
created_at?: string;
|
|
31884
|
+
enforce?: boolean;
|
|
31885
|
+
is_active?: boolean;
|
|
31886
|
+
last_seen_at?: string;
|
|
31887
|
+
module_id?: string;
|
|
31888
|
+
name?: string;
|
|
31889
|
+
shell_id?: string | null;
|
|
31890
|
+
sort_order?: number | null;
|
|
31891
|
+
};
|
|
31892
|
+
Relationships: [];
|
|
31893
|
+
};
|
|
30192
31894
|
module_runtime_config: {
|
|
30193
31895
|
Row: {
|
|
30194
31896
|
key: string;
|
|
@@ -30240,63 +31942,6 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
30240
31942
|
};
|
|
30241
31943
|
Relationships: [];
|
|
30242
31944
|
};
|
|
30243
|
-
monteurs: {
|
|
30244
|
-
Row: {
|
|
30245
|
-
avatar_url: string | null;
|
|
30246
|
-
color: string | null;
|
|
30247
|
-
created_at: string;
|
|
30248
|
-
email: string | null;
|
|
30249
|
-
id: string;
|
|
30250
|
-
is_active: boolean;
|
|
30251
|
-
leave_balance_hours: number;
|
|
30252
|
-
name: string;
|
|
30253
|
-
persnr: number | null;
|
|
30254
|
-
phone: string | null;
|
|
30255
|
-
role: string;
|
|
30256
|
-
tenant_id: string;
|
|
30257
|
-
updated_at: string;
|
|
30258
|
-
user_id: string | null;
|
|
30259
|
-
};
|
|
30260
|
-
Insert: {
|
|
30261
|
-
avatar_url?: string | null;
|
|
30262
|
-
color?: string | null;
|
|
30263
|
-
created_at?: string;
|
|
30264
|
-
email?: string | null;
|
|
30265
|
-
id?: string;
|
|
30266
|
-
is_active?: boolean;
|
|
30267
|
-
leave_balance_hours?: number;
|
|
30268
|
-
name: string;
|
|
30269
|
-
persnr?: number | null;
|
|
30270
|
-
phone?: string | null;
|
|
30271
|
-
role?: string;
|
|
30272
|
-
tenant_id: string;
|
|
30273
|
-
updated_at?: string;
|
|
30274
|
-
user_id?: string | null;
|
|
30275
|
-
};
|
|
30276
|
-
Update: {
|
|
30277
|
-
avatar_url?: string | null;
|
|
30278
|
-
color?: string | null;
|
|
30279
|
-
created_at?: string;
|
|
30280
|
-
email?: string | null;
|
|
30281
|
-
id?: string;
|
|
30282
|
-
is_active?: boolean;
|
|
30283
|
-
leave_balance_hours?: number;
|
|
30284
|
-
name?: string;
|
|
30285
|
-
persnr?: number | null;
|
|
30286
|
-
phone?: string | null;
|
|
30287
|
-
role?: string;
|
|
30288
|
-
tenant_id?: string;
|
|
30289
|
-
updated_at?: string;
|
|
30290
|
-
user_id?: string | null;
|
|
30291
|
-
};
|
|
30292
|
-
Relationships: [{
|
|
30293
|
-
foreignKeyName: "monteurs_tenant_id_fkey";
|
|
30294
|
-
columns: ["tenant_id"];
|
|
30295
|
-
isOneToOne: false;
|
|
30296
|
-
referencedRelation: "tenants";
|
|
30297
|
-
referencedColumns: ["id"];
|
|
30298
|
-
}];
|
|
30299
|
-
};
|
|
30300
31945
|
nmbrs_component_mapping: {
|
|
30301
31946
|
Row: {
|
|
30302
31947
|
created_at: string;
|
|
@@ -30367,13 +32012,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
30367
32012
|
nmbrs_employee_number?: string;
|
|
30368
32013
|
updated_at?: string;
|
|
30369
32014
|
};
|
|
30370
|
-
Relationships: [
|
|
30371
|
-
foreignKeyName: "nmbrs_employee_mapping_monteur_id_fkey";
|
|
30372
|
-
columns: ["monteur_id"];
|
|
30373
|
-
isOneToOne: true;
|
|
30374
|
-
referencedRelation: "monteurs";
|
|
30375
|
-
referencedColumns: ["id"];
|
|
30376
|
-
}];
|
|
32015
|
+
Relationships: [];
|
|
30377
32016
|
};
|
|
30378
32017
|
nmbrs_export_lines: {
|
|
30379
32018
|
Row: {
|
|
@@ -30422,12 +32061,6 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
30422
32061
|
wage_code?: string;
|
|
30423
32062
|
};
|
|
30424
32063
|
Relationships: [{
|
|
30425
|
-
foreignKeyName: "nmbrs_export_lines_monteur_id_fkey";
|
|
30426
|
-
columns: ["monteur_id"];
|
|
30427
|
-
isOneToOne: false;
|
|
30428
|
-
referencedRelation: "monteurs";
|
|
30429
|
-
referencedColumns: ["id"];
|
|
30430
|
-
}, {
|
|
30431
32064
|
foreignKeyName: "nmbrs_export_lines_run_id_fkey";
|
|
30432
32065
|
columns: ["run_id"];
|
|
30433
32066
|
isOneToOne: false;
|
|
@@ -31248,6 +32881,45 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
31248
32881
|
};
|
|
31249
32882
|
Relationships: [];
|
|
31250
32883
|
};
|
|
32884
|
+
order_invoice_links: {
|
|
32885
|
+
Row: {
|
|
32886
|
+
attempts: number;
|
|
32887
|
+
created_at: string;
|
|
32888
|
+
error_message: string | null;
|
|
32889
|
+
id: string;
|
|
32890
|
+
invoice_number: string | null;
|
|
32891
|
+
next_attempt_at: string;
|
|
32892
|
+
order_id: string;
|
|
32893
|
+
processed_at: string | null;
|
|
32894
|
+
status: string;
|
|
32895
|
+
updated_at: string;
|
|
32896
|
+
};
|
|
32897
|
+
Insert: {
|
|
32898
|
+
attempts?: number;
|
|
32899
|
+
created_at?: string;
|
|
32900
|
+
error_message?: string | null;
|
|
32901
|
+
id?: string;
|
|
32902
|
+
invoice_number?: string | null;
|
|
32903
|
+
next_attempt_at?: string;
|
|
32904
|
+
order_id: string;
|
|
32905
|
+
processed_at?: string | null;
|
|
32906
|
+
status?: string;
|
|
32907
|
+
updated_at?: string;
|
|
32908
|
+
};
|
|
32909
|
+
Update: {
|
|
32910
|
+
attempts?: number;
|
|
32911
|
+
created_at?: string;
|
|
32912
|
+
error_message?: string | null;
|
|
32913
|
+
id?: string;
|
|
32914
|
+
invoice_number?: string | null;
|
|
32915
|
+
next_attempt_at?: string;
|
|
32916
|
+
order_id?: string;
|
|
32917
|
+
processed_at?: string | null;
|
|
32918
|
+
status?: string;
|
|
32919
|
+
updated_at?: string;
|
|
32920
|
+
};
|
|
32921
|
+
Relationships: [];
|
|
32922
|
+
};
|
|
31251
32923
|
order_items: {
|
|
31252
32924
|
Row: {
|
|
31253
32925
|
crates_per_layer: number | null;
|
|
@@ -31430,6 +33102,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
31430
33102
|
delivery_date: string | null;
|
|
31431
33103
|
floriday_sales_order_id: string | null;
|
|
31432
33104
|
id: string;
|
|
33105
|
+
invoice_due_at: string | null;
|
|
31433
33106
|
is_reservation: boolean;
|
|
31434
33107
|
notes: string | null;
|
|
31435
33108
|
order_date: string;
|
|
@@ -31451,6 +33124,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
31451
33124
|
delivery_date?: string | null;
|
|
31452
33125
|
floriday_sales_order_id?: string | null;
|
|
31453
33126
|
id?: string;
|
|
33127
|
+
invoice_due_at?: string | null;
|
|
31454
33128
|
is_reservation?: boolean;
|
|
31455
33129
|
notes?: string | null;
|
|
31456
33130
|
order_date?: string;
|
|
@@ -31472,6 +33146,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
31472
33146
|
delivery_date?: string | null;
|
|
31473
33147
|
floriday_sales_order_id?: string | null;
|
|
31474
33148
|
id?: string;
|
|
33149
|
+
invoice_due_at?: string | null;
|
|
31475
33150
|
is_reservation?: boolean;
|
|
31476
33151
|
notes?: string | null;
|
|
31477
33152
|
order_date?: string;
|
|
@@ -32668,22 +34343,27 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
32668
34343
|
created_at: string;
|
|
32669
34344
|
documentnaam: string;
|
|
32670
34345
|
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
34346
|
+
extern_job_id: string | null;
|
|
32671
34347
|
foutmelding: string | null;
|
|
32672
34348
|
gebruiker_id: string | null;
|
|
32673
34349
|
gebruiker_naam: string;
|
|
32674
34350
|
gestart_op: string | null;
|
|
32675
34351
|
id: string;
|
|
34352
|
+
idempotentie_sleutel: string | null;
|
|
32676
34353
|
is_herprint: boolean;
|
|
32677
34354
|
kopieen: number;
|
|
32678
34355
|
layout_id: string | null;
|
|
32679
34356
|
opgepakt_op: string | null;
|
|
32680
34357
|
paginas: number;
|
|
32681
34358
|
payload: import("../integrations/supabase/types").Json;
|
|
34359
|
+
pdf_base64: string | null;
|
|
34360
|
+
pdf_url: string | null;
|
|
32682
34361
|
pogingen: number;
|
|
32683
34362
|
printer_id: string | null;
|
|
32684
34363
|
render_html: string | null;
|
|
32685
34364
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
32686
34365
|
updated_at: string;
|
|
34366
|
+
volgende_poging: string | null;
|
|
32687
34367
|
voltooid_op: string | null;
|
|
32688
34368
|
};
|
|
32689
34369
|
Insert: {
|
|
@@ -32692,22 +34372,27 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
32692
34372
|
created_at?: string;
|
|
32693
34373
|
documentnaam?: string;
|
|
32694
34374
|
documenttype?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
34375
|
+
extern_job_id?: string | null;
|
|
32695
34376
|
foutmelding?: string | null;
|
|
32696
34377
|
gebruiker_id?: string | null;
|
|
32697
34378
|
gebruiker_naam?: string;
|
|
32698
34379
|
gestart_op?: string | null;
|
|
32699
34380
|
id?: string;
|
|
34381
|
+
idempotentie_sleutel?: string | null;
|
|
32700
34382
|
is_herprint?: boolean;
|
|
32701
34383
|
kopieen?: number;
|
|
32702
34384
|
layout_id?: string | null;
|
|
32703
34385
|
opgepakt_op?: string | null;
|
|
32704
34386
|
paginas?: number;
|
|
32705
34387
|
payload?: import("../integrations/supabase/types").Json;
|
|
34388
|
+
pdf_base64?: string | null;
|
|
34389
|
+
pdf_url?: string | null;
|
|
32706
34390
|
pogingen?: number;
|
|
32707
34391
|
printer_id?: string | null;
|
|
32708
34392
|
render_html?: string | null;
|
|
32709
34393
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
32710
34394
|
updated_at?: string;
|
|
34395
|
+
volgende_poging?: string | null;
|
|
32711
34396
|
voltooid_op?: string | null;
|
|
32712
34397
|
};
|
|
32713
34398
|
Update: {
|
|
@@ -32716,22 +34401,27 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
32716
34401
|
created_at?: string;
|
|
32717
34402
|
documentnaam?: string;
|
|
32718
34403
|
documenttype?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
34404
|
+
extern_job_id?: string | null;
|
|
32719
34405
|
foutmelding?: string | null;
|
|
32720
34406
|
gebruiker_id?: string | null;
|
|
32721
34407
|
gebruiker_naam?: string;
|
|
32722
34408
|
gestart_op?: string | null;
|
|
32723
34409
|
id?: string;
|
|
34410
|
+
idempotentie_sleutel?: string | null;
|
|
32724
34411
|
is_herprint?: boolean;
|
|
32725
34412
|
kopieen?: number;
|
|
32726
34413
|
layout_id?: string | null;
|
|
32727
34414
|
opgepakt_op?: string | null;
|
|
32728
34415
|
paginas?: number;
|
|
32729
34416
|
payload?: import("../integrations/supabase/types").Json;
|
|
34417
|
+
pdf_base64?: string | null;
|
|
34418
|
+
pdf_url?: string | null;
|
|
32730
34419
|
pogingen?: number;
|
|
32731
34420
|
printer_id?: string | null;
|
|
32732
34421
|
render_html?: string | null;
|
|
32733
34422
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
32734
34423
|
updated_at?: string;
|
|
34424
|
+
volgende_poging?: string | null;
|
|
32735
34425
|
voltooid_op?: string | null;
|
|
32736
34426
|
};
|
|
32737
34427
|
Relationships: [{
|
|
@@ -32754,6 +34444,72 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
32754
34444
|
referencedColumns: ["id"];
|
|
32755
34445
|
}];
|
|
32756
34446
|
};
|
|
34447
|
+
print_queue_runners: {
|
|
34448
|
+
Row: {
|
|
34449
|
+
actief: boolean;
|
|
34450
|
+
basis_url: string;
|
|
34451
|
+
created_at: string;
|
|
34452
|
+
id: string;
|
|
34453
|
+
laatst_gezien: string;
|
|
34454
|
+
laatste_fout: string | null;
|
|
34455
|
+
laatste_request_id: number | null;
|
|
34456
|
+
mislukte_posts: number;
|
|
34457
|
+
tick_sleutel: string;
|
|
34458
|
+
updated_at: string;
|
|
34459
|
+
};
|
|
34460
|
+
Insert: {
|
|
34461
|
+
actief?: boolean;
|
|
34462
|
+
basis_url: string;
|
|
34463
|
+
created_at?: string;
|
|
34464
|
+
id?: string;
|
|
34465
|
+
laatst_gezien?: string;
|
|
34466
|
+
laatste_fout?: string | null;
|
|
34467
|
+
laatste_request_id?: number | null;
|
|
34468
|
+
mislukte_posts?: number;
|
|
34469
|
+
tick_sleutel?: string;
|
|
34470
|
+
updated_at?: string;
|
|
34471
|
+
};
|
|
34472
|
+
Update: {
|
|
34473
|
+
actief?: boolean;
|
|
34474
|
+
basis_url?: string;
|
|
34475
|
+
created_at?: string;
|
|
34476
|
+
id?: string;
|
|
34477
|
+
laatst_gezien?: string;
|
|
34478
|
+
laatste_fout?: string | null;
|
|
34479
|
+
laatste_request_id?: number | null;
|
|
34480
|
+
mislukte_posts?: number;
|
|
34481
|
+
tick_sleutel?: string;
|
|
34482
|
+
updated_at?: string;
|
|
34483
|
+
};
|
|
34484
|
+
Relationships: [];
|
|
34485
|
+
};
|
|
34486
|
+
print_queue_settings: {
|
|
34487
|
+
Row: {
|
|
34488
|
+
bewaar_bestanden_dagen: number;
|
|
34489
|
+
bewaar_opdrachten_dagen: number;
|
|
34490
|
+
created_at: string;
|
|
34491
|
+
dubbel_venster_minuten: number;
|
|
34492
|
+
id: string;
|
|
34493
|
+
updated_at: string;
|
|
34494
|
+
};
|
|
34495
|
+
Insert: {
|
|
34496
|
+
bewaar_bestanden_dagen?: number;
|
|
34497
|
+
bewaar_opdrachten_dagen?: number;
|
|
34498
|
+
created_at?: string;
|
|
34499
|
+
dubbel_venster_minuten?: number;
|
|
34500
|
+
id?: string;
|
|
34501
|
+
updated_at?: string;
|
|
34502
|
+
};
|
|
34503
|
+
Update: {
|
|
34504
|
+
bewaar_bestanden_dagen?: number;
|
|
34505
|
+
bewaar_opdrachten_dagen?: number;
|
|
34506
|
+
created_at?: string;
|
|
34507
|
+
dubbel_venster_minuten?: number;
|
|
34508
|
+
id?: string;
|
|
34509
|
+
updated_at?: string;
|
|
34510
|
+
};
|
|
34511
|
+
Relationships: [];
|
|
34512
|
+
};
|
|
32757
34513
|
print_rules: {
|
|
32758
34514
|
Row: {
|
|
32759
34515
|
actief: boolean;
|
|
@@ -32914,6 +34670,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
32914
34670
|
agent_id: string | null;
|
|
32915
34671
|
created_at: string;
|
|
32916
34672
|
driver: string;
|
|
34673
|
+
extern_printer_id: string | null;
|
|
32917
34674
|
id: string;
|
|
32918
34675
|
ip_adres: string | null;
|
|
32919
34676
|
laatst_gezien: string | null;
|
|
@@ -32935,6 +34692,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
32935
34692
|
agent_id?: string | null;
|
|
32936
34693
|
created_at?: string;
|
|
32937
34694
|
driver?: string;
|
|
34695
|
+
extern_printer_id?: string | null;
|
|
32938
34696
|
id?: string;
|
|
32939
34697
|
ip_adres?: string | null;
|
|
32940
34698
|
laatst_gezien?: string | null;
|
|
@@ -32956,6 +34714,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
32956
34714
|
agent_id?: string | null;
|
|
32957
34715
|
created_at?: string;
|
|
32958
34716
|
driver?: string;
|
|
34717
|
+
extern_printer_id?: string | null;
|
|
32959
34718
|
id?: string;
|
|
32960
34719
|
ip_adres?: string | null;
|
|
32961
34720
|
laatst_gezien?: string | null;
|
|
@@ -34227,6 +35986,96 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
34227
35986
|
referencedColumns: ["id"];
|
|
34228
35987
|
}];
|
|
34229
35988
|
};
|
|
35989
|
+
role_assignments: {
|
|
35990
|
+
Row: {
|
|
35991
|
+
created_at: string;
|
|
35992
|
+
id: string;
|
|
35993
|
+
role_id: string;
|
|
35994
|
+
user_id: string;
|
|
35995
|
+
};
|
|
35996
|
+
Insert: {
|
|
35997
|
+
created_at?: string;
|
|
35998
|
+
id?: string;
|
|
35999
|
+
role_id: string;
|
|
36000
|
+
user_id: string;
|
|
36001
|
+
};
|
|
36002
|
+
Update: {
|
|
36003
|
+
created_at?: string;
|
|
36004
|
+
id?: string;
|
|
36005
|
+
role_id?: string;
|
|
36006
|
+
user_id?: string;
|
|
36007
|
+
};
|
|
36008
|
+
Relationships: [{
|
|
36009
|
+
foreignKeyName: "role_assignments_role_id_fkey";
|
|
36010
|
+
columns: ["role_id"];
|
|
36011
|
+
isOneToOne: false;
|
|
36012
|
+
referencedRelation: "roles";
|
|
36013
|
+
referencedColumns: ["id"];
|
|
36014
|
+
}];
|
|
36015
|
+
};
|
|
36016
|
+
role_permissions: {
|
|
36017
|
+
Row: {
|
|
36018
|
+
can_edit: boolean;
|
|
36019
|
+
can_view: boolean;
|
|
36020
|
+
feature_id: string;
|
|
36021
|
+
id: string;
|
|
36022
|
+
module_id: string;
|
|
36023
|
+
role_id: string;
|
|
36024
|
+
updated_at: string;
|
|
36025
|
+
};
|
|
36026
|
+
Insert: {
|
|
36027
|
+
can_edit?: boolean;
|
|
36028
|
+
can_view?: boolean;
|
|
36029
|
+
feature_id?: string;
|
|
36030
|
+
id?: string;
|
|
36031
|
+
module_id: string;
|
|
36032
|
+
role_id: string;
|
|
36033
|
+
updated_at?: string;
|
|
36034
|
+
};
|
|
36035
|
+
Update: {
|
|
36036
|
+
can_edit?: boolean;
|
|
36037
|
+
can_view?: boolean;
|
|
36038
|
+
feature_id?: string;
|
|
36039
|
+
id?: string;
|
|
36040
|
+
module_id?: string;
|
|
36041
|
+
role_id?: string;
|
|
36042
|
+
updated_at?: string;
|
|
36043
|
+
};
|
|
36044
|
+
Relationships: [{
|
|
36045
|
+
foreignKeyName: "role_permissions_role_id_fkey";
|
|
36046
|
+
columns: ["role_id"];
|
|
36047
|
+
isOneToOne: false;
|
|
36048
|
+
referencedRelation: "roles";
|
|
36049
|
+
referencedColumns: ["id"];
|
|
36050
|
+
}];
|
|
36051
|
+
};
|
|
36052
|
+
roles: {
|
|
36053
|
+
Row: {
|
|
36054
|
+
created_at: string;
|
|
36055
|
+
id: string;
|
|
36056
|
+
is_protected: boolean;
|
|
36057
|
+
key: string;
|
|
36058
|
+
name: string;
|
|
36059
|
+
updated_at: string;
|
|
36060
|
+
};
|
|
36061
|
+
Insert: {
|
|
36062
|
+
created_at?: string;
|
|
36063
|
+
id?: string;
|
|
36064
|
+
is_protected?: boolean;
|
|
36065
|
+
key: string;
|
|
36066
|
+
name: string;
|
|
36067
|
+
updated_at?: string;
|
|
36068
|
+
};
|
|
36069
|
+
Update: {
|
|
36070
|
+
created_at?: string;
|
|
36071
|
+
id?: string;
|
|
36072
|
+
is_protected?: boolean;
|
|
36073
|
+
key?: string;
|
|
36074
|
+
name?: string;
|
|
36075
|
+
updated_at?: string;
|
|
36076
|
+
};
|
|
36077
|
+
Relationships: [];
|
|
36078
|
+
};
|
|
34230
36079
|
rooms: {
|
|
34231
36080
|
Row: {
|
|
34232
36081
|
capacity: number;
|
|
@@ -34896,6 +36745,54 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
34896
36745
|
};
|
|
34897
36746
|
Relationships: [];
|
|
34898
36747
|
};
|
|
36748
|
+
time_compensation_entries: {
|
|
36749
|
+
Row: {
|
|
36750
|
+
created_at: string;
|
|
36751
|
+
employee_id: string;
|
|
36752
|
+
entry_date: string;
|
|
36753
|
+
id: string;
|
|
36754
|
+
km: number;
|
|
36755
|
+
meal_allowance: number;
|
|
36756
|
+
notes: string | null;
|
|
36757
|
+
standby_evening: number;
|
|
36758
|
+
standby_weekend: number;
|
|
36759
|
+
tvt_change: number;
|
|
36760
|
+
updated_at: string;
|
|
36761
|
+
};
|
|
36762
|
+
Insert: {
|
|
36763
|
+
created_at?: string;
|
|
36764
|
+
employee_id: string;
|
|
36765
|
+
entry_date: string;
|
|
36766
|
+
id?: string;
|
|
36767
|
+
km?: number;
|
|
36768
|
+
meal_allowance?: number;
|
|
36769
|
+
notes?: string | null;
|
|
36770
|
+
standby_evening?: number;
|
|
36771
|
+
standby_weekend?: number;
|
|
36772
|
+
tvt_change?: number;
|
|
36773
|
+
updated_at?: string;
|
|
36774
|
+
};
|
|
36775
|
+
Update: {
|
|
36776
|
+
created_at?: string;
|
|
36777
|
+
employee_id?: string;
|
|
36778
|
+
entry_date?: string;
|
|
36779
|
+
id?: string;
|
|
36780
|
+
km?: number;
|
|
36781
|
+
meal_allowance?: number;
|
|
36782
|
+
notes?: string | null;
|
|
36783
|
+
standby_evening?: number;
|
|
36784
|
+
standby_weekend?: number;
|
|
36785
|
+
tvt_change?: number;
|
|
36786
|
+
updated_at?: string;
|
|
36787
|
+
};
|
|
36788
|
+
Relationships: [{
|
|
36789
|
+
foreignKeyName: "time_compensation_entries_employee_id_fkey";
|
|
36790
|
+
columns: ["employee_id"];
|
|
36791
|
+
isOneToOne: false;
|
|
36792
|
+
referencedRelation: "profiles";
|
|
36793
|
+
referencedColumns: ["id"];
|
|
36794
|
+
}];
|
|
36795
|
+
};
|
|
34899
36796
|
time_entries: {
|
|
34900
36797
|
Row: {
|
|
34901
36798
|
created_at: string;
|
|
@@ -34930,65 +36827,170 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
34930
36827
|
undertime?: number;
|
|
34931
36828
|
updated_at?: string;
|
|
34932
36829
|
};
|
|
36830
|
+
Relationships: [];
|
|
36831
|
+
};
|
|
36832
|
+
time_log_week_approvals: {
|
|
36833
|
+
Row: {
|
|
36834
|
+
approved_at: string | null;
|
|
36835
|
+
approved_by: string | null;
|
|
36836
|
+
created_at: string;
|
|
36837
|
+
employee_id: string;
|
|
36838
|
+
id: string;
|
|
36839
|
+
locked: boolean;
|
|
36840
|
+
notes: string | null;
|
|
36841
|
+
status: string;
|
|
36842
|
+
submitted_at: string | null;
|
|
36843
|
+
updated_at: string;
|
|
36844
|
+
week_start: string;
|
|
36845
|
+
};
|
|
36846
|
+
Insert: {
|
|
36847
|
+
approved_at?: string | null;
|
|
36848
|
+
approved_by?: string | null;
|
|
36849
|
+
created_at?: string;
|
|
36850
|
+
employee_id: string;
|
|
36851
|
+
id?: string;
|
|
36852
|
+
locked?: boolean;
|
|
36853
|
+
notes?: string | null;
|
|
36854
|
+
status?: string;
|
|
36855
|
+
submitted_at?: string | null;
|
|
36856
|
+
updated_at?: string;
|
|
36857
|
+
week_start: string;
|
|
36858
|
+
};
|
|
36859
|
+
Update: {
|
|
36860
|
+
approved_at?: string | null;
|
|
36861
|
+
approved_by?: string | null;
|
|
36862
|
+
created_at?: string;
|
|
36863
|
+
employee_id?: string;
|
|
36864
|
+
id?: string;
|
|
36865
|
+
locked?: boolean;
|
|
36866
|
+
notes?: string | null;
|
|
36867
|
+
status?: string;
|
|
36868
|
+
submitted_at?: string | null;
|
|
36869
|
+
updated_at?: string;
|
|
36870
|
+
week_start?: string;
|
|
36871
|
+
};
|
|
34933
36872
|
Relationships: [{
|
|
34934
|
-
foreignKeyName: "
|
|
36873
|
+
foreignKeyName: "time_log_week_approvals_employee_id_fkey";
|
|
34935
36874
|
columns: ["employee_id"];
|
|
34936
36875
|
isOneToOne: false;
|
|
34937
|
-
referencedRelation: "
|
|
36876
|
+
referencedRelation: "profiles";
|
|
34938
36877
|
referencedColumns: ["id"];
|
|
34939
36878
|
}];
|
|
34940
36879
|
};
|
|
34941
36880
|
time_logs: {
|
|
34942
36881
|
Row: {
|
|
36882
|
+
auto_stop_reason: string | null;
|
|
36883
|
+
auto_stopped: boolean;
|
|
34943
36884
|
created_at: string;
|
|
36885
|
+
current_latitude: number | null;
|
|
36886
|
+
current_longitude: number | null;
|
|
36887
|
+
current_position_updated_at: string | null;
|
|
34944
36888
|
employee_id: string;
|
|
36889
|
+
end_latitude: number | null;
|
|
36890
|
+
end_longitude: number | null;
|
|
34945
36891
|
end_time: string | null;
|
|
36892
|
+
eta_distance_km: number | null;
|
|
36893
|
+
eta_minutes: number | null;
|
|
36894
|
+
eta_updated_at: string | null;
|
|
36895
|
+
hour_category: string | null;
|
|
34946
36896
|
id: string;
|
|
36897
|
+
last_reminder_at: string | null;
|
|
34947
36898
|
notes: string | null;
|
|
34948
36899
|
overtime_hours: number;
|
|
34949
36900
|
overtime_type: string | null;
|
|
34950
36901
|
regular_hours: number;
|
|
36902
|
+
reminder_count: number;
|
|
36903
|
+
requires_review: boolean;
|
|
36904
|
+
start_latitude: number | null;
|
|
36905
|
+
start_longitude: number | null;
|
|
34951
36906
|
start_time: string;
|
|
34952
36907
|
travel_cost: number | null;
|
|
34953
36908
|
travel_distance_km: number | null;
|
|
36909
|
+
travel_duration_min: number | null;
|
|
36910
|
+
travel_time_minutes: number | null;
|
|
34954
36911
|
type: string;
|
|
34955
36912
|
updated_at: string;
|
|
36913
|
+
work_order_id: string | null;
|
|
34956
36914
|
};
|
|
34957
36915
|
Insert: {
|
|
36916
|
+
auto_stop_reason?: string | null;
|
|
36917
|
+
auto_stopped?: boolean;
|
|
34958
36918
|
created_at?: string;
|
|
36919
|
+
current_latitude?: number | null;
|
|
36920
|
+
current_longitude?: number | null;
|
|
36921
|
+
current_position_updated_at?: string | null;
|
|
34959
36922
|
employee_id: string;
|
|
36923
|
+
end_latitude?: number | null;
|
|
36924
|
+
end_longitude?: number | null;
|
|
34960
36925
|
end_time?: string | null;
|
|
36926
|
+
eta_distance_km?: number | null;
|
|
36927
|
+
eta_minutes?: number | null;
|
|
36928
|
+
eta_updated_at?: string | null;
|
|
36929
|
+
hour_category?: string | null;
|
|
34961
36930
|
id?: string;
|
|
36931
|
+
last_reminder_at?: string | null;
|
|
34962
36932
|
notes?: string | null;
|
|
34963
36933
|
overtime_hours?: number;
|
|
34964
36934
|
overtime_type?: string | null;
|
|
34965
36935
|
regular_hours?: number;
|
|
36936
|
+
reminder_count?: number;
|
|
36937
|
+
requires_review?: boolean;
|
|
36938
|
+
start_latitude?: number | null;
|
|
36939
|
+
start_longitude?: number | null;
|
|
34966
36940
|
start_time?: string;
|
|
34967
36941
|
travel_cost?: number | null;
|
|
34968
36942
|
travel_distance_km?: number | null;
|
|
36943
|
+
travel_duration_min?: number | null;
|
|
36944
|
+
travel_time_minutes?: number | null;
|
|
34969
36945
|
type: string;
|
|
34970
36946
|
updated_at?: string;
|
|
36947
|
+
work_order_id?: string | null;
|
|
34971
36948
|
};
|
|
34972
36949
|
Update: {
|
|
36950
|
+
auto_stop_reason?: string | null;
|
|
36951
|
+
auto_stopped?: boolean;
|
|
34973
36952
|
created_at?: string;
|
|
36953
|
+
current_latitude?: number | null;
|
|
36954
|
+
current_longitude?: number | null;
|
|
36955
|
+
current_position_updated_at?: string | null;
|
|
34974
36956
|
employee_id?: string;
|
|
36957
|
+
end_latitude?: number | null;
|
|
36958
|
+
end_longitude?: number | null;
|
|
34975
36959
|
end_time?: string | null;
|
|
36960
|
+
eta_distance_km?: number | null;
|
|
36961
|
+
eta_minutes?: number | null;
|
|
36962
|
+
eta_updated_at?: string | null;
|
|
36963
|
+
hour_category?: string | null;
|
|
34976
36964
|
id?: string;
|
|
36965
|
+
last_reminder_at?: string | null;
|
|
34977
36966
|
notes?: string | null;
|
|
34978
36967
|
overtime_hours?: number;
|
|
34979
36968
|
overtime_type?: string | null;
|
|
34980
36969
|
regular_hours?: number;
|
|
36970
|
+
reminder_count?: number;
|
|
36971
|
+
requires_review?: boolean;
|
|
36972
|
+
start_latitude?: number | null;
|
|
36973
|
+
start_longitude?: number | null;
|
|
34981
36974
|
start_time?: string;
|
|
34982
36975
|
travel_cost?: number | null;
|
|
34983
36976
|
travel_distance_km?: number | null;
|
|
36977
|
+
travel_duration_min?: number | null;
|
|
36978
|
+
travel_time_minutes?: number | null;
|
|
34984
36979
|
type?: string;
|
|
34985
36980
|
updated_at?: string;
|
|
36981
|
+
work_order_id?: string | null;
|
|
34986
36982
|
};
|
|
34987
36983
|
Relationships: [{
|
|
34988
36984
|
foreignKeyName: "time_logs_employee_id_fkey";
|
|
34989
36985
|
columns: ["employee_id"];
|
|
34990
36986
|
isOneToOne: false;
|
|
34991
|
-
referencedRelation: "
|
|
36987
|
+
referencedRelation: "profiles";
|
|
36988
|
+
referencedColumns: ["id"];
|
|
36989
|
+
}, {
|
|
36990
|
+
foreignKeyName: "time_logs_work_order_id_fkey";
|
|
36991
|
+
columns: ["work_order_id"];
|
|
36992
|
+
isOneToOne: false;
|
|
36993
|
+
referencedRelation: "work_orders";
|
|
34992
36994
|
referencedColumns: ["id"];
|
|
34993
36995
|
}];
|
|
34994
36996
|
};
|
|
@@ -35027,7 +37029,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
35027
37029
|
foreignKeyName: "time_off_entries_employee_id_fkey";
|
|
35028
37030
|
columns: ["employee_id"];
|
|
35029
37031
|
isOneToOne: false;
|
|
35030
|
-
referencedRelation: "
|
|
37032
|
+
referencedRelation: "profiles";
|
|
35031
37033
|
referencedColumns: ["id"];
|
|
35032
37034
|
}];
|
|
35033
37035
|
};
|
|
@@ -35337,6 +37339,39 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
35337
37339
|
};
|
|
35338
37340
|
Relationships: [];
|
|
35339
37341
|
};
|
|
37342
|
+
twinfield_cron_locks: {
|
|
37343
|
+
Row: {
|
|
37344
|
+
created_at: string;
|
|
37345
|
+
heartbeat_at: string;
|
|
37346
|
+
job_name: string;
|
|
37347
|
+
last_error: string | null;
|
|
37348
|
+
last_finished_at: string | null;
|
|
37349
|
+
locked_at: string;
|
|
37350
|
+
run_id: string;
|
|
37351
|
+
updated_at: string;
|
|
37352
|
+
};
|
|
37353
|
+
Insert: {
|
|
37354
|
+
created_at?: string;
|
|
37355
|
+
heartbeat_at?: string;
|
|
37356
|
+
job_name: string;
|
|
37357
|
+
last_error?: string | null;
|
|
37358
|
+
last_finished_at?: string | null;
|
|
37359
|
+
locked_at?: string;
|
|
37360
|
+
run_id?: string;
|
|
37361
|
+
updated_at?: string;
|
|
37362
|
+
};
|
|
37363
|
+
Update: {
|
|
37364
|
+
created_at?: string;
|
|
37365
|
+
heartbeat_at?: string;
|
|
37366
|
+
job_name?: string;
|
|
37367
|
+
last_error?: string | null;
|
|
37368
|
+
last_finished_at?: string | null;
|
|
37369
|
+
locked_at?: string;
|
|
37370
|
+
run_id?: string;
|
|
37371
|
+
updated_at?: string;
|
|
37372
|
+
};
|
|
37373
|
+
Relationships: [];
|
|
37374
|
+
};
|
|
35340
37375
|
twinfield_customers: {
|
|
35341
37376
|
Row: {
|
|
35342
37377
|
address: string | null;
|
|
@@ -35591,6 +37626,8 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
35591
37626
|
};
|
|
35592
37627
|
twinfield_invoice_settings: {
|
|
35593
37628
|
Row: {
|
|
37629
|
+
auto_invoice_enabled: boolean;
|
|
37630
|
+
auto_invoice_trigger_statuses: string[];
|
|
35594
37631
|
created_at: string;
|
|
35595
37632
|
debtor_gl_account: string;
|
|
35596
37633
|
default_credit_invoice_type: string | null;
|
|
@@ -35611,6 +37648,8 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
35611
37648
|
vat_code_export: string | null;
|
|
35612
37649
|
};
|
|
35613
37650
|
Insert: {
|
|
37651
|
+
auto_invoice_enabled?: boolean;
|
|
37652
|
+
auto_invoice_trigger_statuses?: string[];
|
|
35614
37653
|
created_at?: string;
|
|
35615
37654
|
debtor_gl_account?: string;
|
|
35616
37655
|
default_credit_invoice_type?: string | null;
|
|
@@ -35631,6 +37670,8 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
35631
37670
|
vat_code_export?: string | null;
|
|
35632
37671
|
};
|
|
35633
37672
|
Update: {
|
|
37673
|
+
auto_invoice_enabled?: boolean;
|
|
37674
|
+
auto_invoice_trigger_statuses?: string[];
|
|
35634
37675
|
created_at?: string;
|
|
35635
37676
|
debtor_gl_account?: string;
|
|
35636
37677
|
default_credit_invoice_type?: string | null;
|
|
@@ -35931,6 +37972,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
35931
37972
|
twinfield_push_queue: {
|
|
35932
37973
|
Row: {
|
|
35933
37974
|
action: string;
|
|
37975
|
+
attempt_started_at: string | null;
|
|
35934
37976
|
attempts: number;
|
|
35935
37977
|
connection_id: string | null;
|
|
35936
37978
|
created_at: string;
|
|
@@ -35947,6 +37989,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
35947
37989
|
};
|
|
35948
37990
|
Insert: {
|
|
35949
37991
|
action?: string;
|
|
37992
|
+
attempt_started_at?: string | null;
|
|
35950
37993
|
attempts?: number;
|
|
35951
37994
|
connection_id?: string | null;
|
|
35952
37995
|
created_at?: string;
|
|
@@ -35963,6 +38006,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
35963
38006
|
};
|
|
35964
38007
|
Update: {
|
|
35965
38008
|
action?: string;
|
|
38009
|
+
attempt_started_at?: string | null;
|
|
35966
38010
|
attempts?: number;
|
|
35967
38011
|
connection_id?: string | null;
|
|
35968
38012
|
created_at?: string;
|
|
@@ -36160,13 +38204,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
36160
38204
|
workday_end?: string | null;
|
|
36161
38205
|
workday_start?: string | null;
|
|
36162
38206
|
};
|
|
36163
|
-
Relationships: [
|
|
36164
|
-
foreignKeyName: "uren_cao_profiles_monteur_id_fkey";
|
|
36165
|
-
columns: ["monteur_id"];
|
|
36166
|
-
isOneToOne: true;
|
|
36167
|
-
referencedRelation: "monteurs";
|
|
36168
|
-
referencedColumns: ["id"];
|
|
36169
|
-
}];
|
|
38207
|
+
Relationships: [];
|
|
36170
38208
|
};
|
|
36171
38209
|
uren_entries: {
|
|
36172
38210
|
Row: {
|
|
@@ -36212,12 +38250,6 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
36212
38250
|
werkbon_id?: string | null;
|
|
36213
38251
|
};
|
|
36214
38252
|
Relationships: [{
|
|
36215
|
-
foreignKeyName: "uren_entries_monteur_id_fkey";
|
|
36216
|
-
columns: ["monteur_id"];
|
|
36217
|
-
isOneToOne: false;
|
|
36218
|
-
referencedRelation: "monteurs";
|
|
36219
|
-
referencedColumns: ["id"];
|
|
36220
|
-
}, {
|
|
36221
38253
|
foreignKeyName: "uren_entries_werkbon_id_fkey";
|
|
36222
38254
|
columns: ["werkbon_id"];
|
|
36223
38255
|
isOneToOne: false;
|
|
@@ -36685,13 +38717,37 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
36685
38717
|
submitted_at?: string | null;
|
|
36686
38718
|
updated_at?: string;
|
|
36687
38719
|
};
|
|
36688
|
-
Relationships: [
|
|
36689
|
-
|
|
36690
|
-
|
|
36691
|
-
|
|
36692
|
-
|
|
36693
|
-
|
|
36694
|
-
|
|
38720
|
+
Relationships: [];
|
|
38721
|
+
};
|
|
38722
|
+
user_module_permissions: {
|
|
38723
|
+
Row: {
|
|
38724
|
+
created_at: string;
|
|
38725
|
+
feature_id: string;
|
|
38726
|
+
id: string;
|
|
38727
|
+
module_id: string;
|
|
38728
|
+
permission: string;
|
|
38729
|
+
updated_at: string;
|
|
38730
|
+
user_id: string;
|
|
38731
|
+
};
|
|
38732
|
+
Insert: {
|
|
38733
|
+
created_at?: string;
|
|
38734
|
+
feature_id?: string;
|
|
38735
|
+
id?: string;
|
|
38736
|
+
module_id: string;
|
|
38737
|
+
permission: string;
|
|
38738
|
+
updated_at?: string;
|
|
38739
|
+
user_id: string;
|
|
38740
|
+
};
|
|
38741
|
+
Update: {
|
|
38742
|
+
created_at?: string;
|
|
38743
|
+
feature_id?: string;
|
|
38744
|
+
id?: string;
|
|
38745
|
+
module_id?: string;
|
|
38746
|
+
permission?: string;
|
|
38747
|
+
updated_at?: string;
|
|
38748
|
+
user_id?: string;
|
|
38749
|
+
};
|
|
38750
|
+
Relationships: [];
|
|
36695
38751
|
};
|
|
36696
38752
|
user_roles: {
|
|
36697
38753
|
Row: {
|
|
@@ -36720,6 +38776,51 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
36720
38776
|
referencedColumns: ["id"];
|
|
36721
38777
|
}];
|
|
36722
38778
|
};
|
|
38779
|
+
van_inventories: {
|
|
38780
|
+
Row: {
|
|
38781
|
+
barcode: string | null;
|
|
38782
|
+
created_at: string;
|
|
38783
|
+
id: string;
|
|
38784
|
+
monteur_id: string | null;
|
|
38785
|
+
price_per_unit: number;
|
|
38786
|
+
product_name: string;
|
|
38787
|
+
quantity_current: number;
|
|
38788
|
+
quantity_min: number;
|
|
38789
|
+
unit: string;
|
|
38790
|
+
updated_at: string;
|
|
38791
|
+
};
|
|
38792
|
+
Insert: {
|
|
38793
|
+
barcode?: string | null;
|
|
38794
|
+
created_at?: string;
|
|
38795
|
+
id?: string;
|
|
38796
|
+
monteur_id?: string | null;
|
|
38797
|
+
price_per_unit?: number;
|
|
38798
|
+
product_name: string;
|
|
38799
|
+
quantity_current?: number;
|
|
38800
|
+
quantity_min?: number;
|
|
38801
|
+
unit?: string;
|
|
38802
|
+
updated_at?: string;
|
|
38803
|
+
};
|
|
38804
|
+
Update: {
|
|
38805
|
+
barcode?: string | null;
|
|
38806
|
+
created_at?: string;
|
|
38807
|
+
id?: string;
|
|
38808
|
+
monteur_id?: string | null;
|
|
38809
|
+
price_per_unit?: number;
|
|
38810
|
+
product_name?: string;
|
|
38811
|
+
quantity_current?: number;
|
|
38812
|
+
quantity_min?: number;
|
|
38813
|
+
unit?: string;
|
|
38814
|
+
updated_at?: string;
|
|
38815
|
+
};
|
|
38816
|
+
Relationships: [{
|
|
38817
|
+
foreignKeyName: "van_inventories_monteur_id_fkey";
|
|
38818
|
+
columns: ["monteur_id"];
|
|
38819
|
+
isOneToOne: false;
|
|
38820
|
+
referencedRelation: "profiles";
|
|
38821
|
+
referencedColumns: ["id"];
|
|
38822
|
+
}];
|
|
38823
|
+
};
|
|
36723
38824
|
voorraad_custom_fields: {
|
|
36724
38825
|
Row: {
|
|
36725
38826
|
created_at: string;
|
|
@@ -37670,7 +39771,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
37670
39771
|
foreignKeyName: "work_order_monteurs_monteur_id_fkey";
|
|
37671
39772
|
columns: ["monteur_id"];
|
|
37672
39773
|
isOneToOne: false;
|
|
37673
|
-
referencedRelation: "
|
|
39774
|
+
referencedRelation: "profiles";
|
|
37674
39775
|
referencedColumns: ["id"];
|
|
37675
39776
|
}, {
|
|
37676
39777
|
foreignKeyName: "work_order_monteurs_work_order_id_fkey";
|
|
@@ -37680,6 +39781,60 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
37680
39781
|
referencedColumns: ["id"];
|
|
37681
39782
|
}];
|
|
37682
39783
|
};
|
|
39784
|
+
work_order_photos: {
|
|
39785
|
+
Row: {
|
|
39786
|
+
ai_caption: string | null;
|
|
39787
|
+
ai_categorized_at: string | null;
|
|
39788
|
+
ai_labels: import("../integrations/supabase/types").Json | null;
|
|
39789
|
+
caption: string | null;
|
|
39790
|
+
created_at: string;
|
|
39791
|
+
id: string;
|
|
39792
|
+
monteur_id: string | null;
|
|
39793
|
+
photo_type: string;
|
|
39794
|
+
storage_path: string;
|
|
39795
|
+
updated_at: string;
|
|
39796
|
+
work_order_id: string;
|
|
39797
|
+
};
|
|
39798
|
+
Insert: {
|
|
39799
|
+
ai_caption?: string | null;
|
|
39800
|
+
ai_categorized_at?: string | null;
|
|
39801
|
+
ai_labels?: import("../integrations/supabase/types").Json | null;
|
|
39802
|
+
caption?: string | null;
|
|
39803
|
+
created_at?: string;
|
|
39804
|
+
id?: string;
|
|
39805
|
+
monteur_id?: string | null;
|
|
39806
|
+
photo_type?: string;
|
|
39807
|
+
storage_path: string;
|
|
39808
|
+
updated_at?: string;
|
|
39809
|
+
work_order_id: string;
|
|
39810
|
+
};
|
|
39811
|
+
Update: {
|
|
39812
|
+
ai_caption?: string | null;
|
|
39813
|
+
ai_categorized_at?: string | null;
|
|
39814
|
+
ai_labels?: import("../integrations/supabase/types").Json | null;
|
|
39815
|
+
caption?: string | null;
|
|
39816
|
+
created_at?: string;
|
|
39817
|
+
id?: string;
|
|
39818
|
+
monteur_id?: string | null;
|
|
39819
|
+
photo_type?: string;
|
|
39820
|
+
storage_path?: string;
|
|
39821
|
+
updated_at?: string;
|
|
39822
|
+
work_order_id?: string;
|
|
39823
|
+
};
|
|
39824
|
+
Relationships: [{
|
|
39825
|
+
foreignKeyName: "work_order_photos_monteur_id_fkey";
|
|
39826
|
+
columns: ["monteur_id"];
|
|
39827
|
+
isOneToOne: false;
|
|
39828
|
+
referencedRelation: "profiles";
|
|
39829
|
+
referencedColumns: ["id"];
|
|
39830
|
+
}, {
|
|
39831
|
+
foreignKeyName: "work_order_photos_work_order_id_fkey";
|
|
39832
|
+
columns: ["work_order_id"];
|
|
39833
|
+
isOneToOne: false;
|
|
39834
|
+
referencedRelation: "work_orders";
|
|
39835
|
+
referencedColumns: ["id"];
|
|
39836
|
+
}];
|
|
39837
|
+
};
|
|
37683
39838
|
work_orders: {
|
|
37684
39839
|
Row: {
|
|
37685
39840
|
assigned_to: string | null;
|
|
@@ -37711,7 +39866,6 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
37711
39866
|
scheduled_end_time: string | null;
|
|
37712
39867
|
scheduled_start_time: string | null;
|
|
37713
39868
|
status: string;
|
|
37714
|
-
tenant_id: string;
|
|
37715
39869
|
total_hours_worked: number | null;
|
|
37716
39870
|
total_price: number | null;
|
|
37717
39871
|
travel_time_minutes: number | null;
|
|
@@ -37749,7 +39903,6 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
37749
39903
|
scheduled_end_time?: string | null;
|
|
37750
39904
|
scheduled_start_time?: string | null;
|
|
37751
39905
|
status?: string;
|
|
37752
|
-
tenant_id: string;
|
|
37753
39906
|
total_hours_worked?: number | null;
|
|
37754
39907
|
total_price?: number | null;
|
|
37755
39908
|
travel_time_minutes?: number | null;
|
|
@@ -37787,7 +39940,6 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
37787
39940
|
scheduled_end_time?: string | null;
|
|
37788
39941
|
scheduled_start_time?: string | null;
|
|
37789
39942
|
status?: string;
|
|
37790
|
-
tenant_id?: string;
|
|
37791
39943
|
total_hours_worked?: number | null;
|
|
37792
39944
|
total_price?: number | null;
|
|
37793
39945
|
travel_time_minutes?: number | null;
|
|
@@ -37801,12 +39953,6 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
37801
39953
|
isOneToOne: false;
|
|
37802
39954
|
referencedRelation: "work_orders";
|
|
37803
39955
|
referencedColumns: ["id"];
|
|
37804
|
-
}, {
|
|
37805
|
-
foreignKeyName: "work_orders_tenant_id_fkey";
|
|
37806
|
-
columns: ["tenant_id"];
|
|
37807
|
-
isOneToOne: false;
|
|
37808
|
-
referencedRelation: "tenants";
|
|
37809
|
-
referencedColumns: ["id"];
|
|
37810
39956
|
}];
|
|
37811
39957
|
};
|
|
37812
39958
|
};
|
|
@@ -38491,6 +40637,19 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
38491
40637
|
};
|
|
38492
40638
|
Returns: undefined;
|
|
38493
40639
|
};
|
|
40640
|
+
approve_mailbox_order_proposal: {
|
|
40641
|
+
Args: {
|
|
40642
|
+
p_custom_fields: import("../integrations/supabase/types").Json;
|
|
40643
|
+
p_customer_id: string;
|
|
40644
|
+
p_delivery_date: string;
|
|
40645
|
+
p_field_values?: import("../integrations/supabase/types").Json;
|
|
40646
|
+
p_lines: import("../integrations/supabase/types").Json;
|
|
40647
|
+
p_notes: string;
|
|
40648
|
+
p_proposal_id: string;
|
|
40649
|
+
p_reviewed_by: string;
|
|
40650
|
+
};
|
|
40651
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
40652
|
+
};
|
|
38494
40653
|
assign_cart_numbers: {
|
|
38495
40654
|
Args: {
|
|
38496
40655
|
p_carts: import("../integrations/supabase/types").Json;
|
|
@@ -38526,6 +40685,10 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
38526
40685
|
processed_items: number;
|
|
38527
40686
|
}[];
|
|
38528
40687
|
};
|
|
40688
|
+
backfill_order_auto_invoice_queue: {
|
|
40689
|
+
Args: never;
|
|
40690
|
+
Returns: number;
|
|
40691
|
+
};
|
|
38529
40692
|
calculate_layer_stock: {
|
|
38530
40693
|
Args: {
|
|
38531
40694
|
p_product_id: string;
|
|
@@ -38538,6 +40701,10 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
38538
40701
|
};
|
|
38539
40702
|
Returns: number;
|
|
38540
40703
|
};
|
|
40704
|
+
can_manage_hours: {
|
|
40705
|
+
Args: never;
|
|
40706
|
+
Returns: boolean;
|
|
40707
|
+
};
|
|
38541
40708
|
check_offer_product_available_stock: {
|
|
38542
40709
|
Args: {
|
|
38543
40710
|
p_campaign_product_id: string;
|
|
@@ -38560,6 +40727,77 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
38560
40727
|
};
|
|
38561
40728
|
Returns: import("../integrations/supabase/types").Json;
|
|
38562
40729
|
};
|
|
40730
|
+
claim_cloud_print_jobs: {
|
|
40731
|
+
Args: {
|
|
40732
|
+
_max?: number;
|
|
40733
|
+
};
|
|
40734
|
+
Returns: {
|
|
40735
|
+
agent_id: string | null;
|
|
40736
|
+
bron_job_id: string | null;
|
|
40737
|
+
created_at: string;
|
|
40738
|
+
documentnaam: string;
|
|
40739
|
+
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
40740
|
+
extern_job_id: string | null;
|
|
40741
|
+
foutmelding: string | null;
|
|
40742
|
+
gebruiker_id: string | null;
|
|
40743
|
+
gebruiker_naam: string;
|
|
40744
|
+
gestart_op: string | null;
|
|
40745
|
+
id: string;
|
|
40746
|
+
idempotentie_sleutel: string | null;
|
|
40747
|
+
is_herprint: boolean;
|
|
40748
|
+
kopieen: number;
|
|
40749
|
+
layout_id: string | null;
|
|
40750
|
+
opgepakt_op: string | null;
|
|
40751
|
+
paginas: number;
|
|
40752
|
+
payload: import("../integrations/supabase/types").Json;
|
|
40753
|
+
pdf_base64: string | null;
|
|
40754
|
+
pdf_url: string | null;
|
|
40755
|
+
pogingen: number;
|
|
40756
|
+
printer_id: string | null;
|
|
40757
|
+
render_html: string | null;
|
|
40758
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
40759
|
+
updated_at: string;
|
|
40760
|
+
volgende_poging: string | null;
|
|
40761
|
+
voltooid_op: string | null;
|
|
40762
|
+
}[];
|
|
40763
|
+
SetofOptions: {
|
|
40764
|
+
from: "*";
|
|
40765
|
+
to: "print_jobs";
|
|
40766
|
+
isOneToOne: false;
|
|
40767
|
+
isSetofReturn: true;
|
|
40768
|
+
};
|
|
40769
|
+
};
|
|
40770
|
+
claim_floriday_stock_queue: {
|
|
40771
|
+
Args: {
|
|
40772
|
+
p_limit?: number;
|
|
40773
|
+
p_worker?: string;
|
|
40774
|
+
};
|
|
40775
|
+
Returns: {
|
|
40776
|
+
attempts: number;
|
|
40777
|
+
connection_id: string;
|
|
40778
|
+
created_at: string;
|
|
40779
|
+
desired_available: boolean | null;
|
|
40780
|
+
gateway_attempt_id: string | null;
|
|
40781
|
+
id: string;
|
|
40782
|
+
last_error: string | null;
|
|
40783
|
+
locked_at: string | null;
|
|
40784
|
+
locked_by: string | null;
|
|
40785
|
+
next_attempt_at: string;
|
|
40786
|
+
number_of_pieces: number;
|
|
40787
|
+
sent_at: string | null;
|
|
40788
|
+
status: string;
|
|
40789
|
+
superseded_by: string | null;
|
|
40790
|
+
trade_item_id: string;
|
|
40791
|
+
updated_at: string;
|
|
40792
|
+
user_id: string;
|
|
40793
|
+
}[];
|
|
40794
|
+
SetofOptions: {
|
|
40795
|
+
from: "*";
|
|
40796
|
+
to: "floriday_continuous_stock_queue";
|
|
40797
|
+
isOneToOne: false;
|
|
40798
|
+
isSetofReturn: true;
|
|
40799
|
+
};
|
|
40800
|
+
};
|
|
38563
40801
|
claim_logistics_tasks: {
|
|
38564
40802
|
Args: {
|
|
38565
40803
|
_limit?: number;
|
|
@@ -38619,22 +40857,27 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
38619
40857
|
created_at: string;
|
|
38620
40858
|
documentnaam: string;
|
|
38621
40859
|
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
40860
|
+
extern_job_id: string | null;
|
|
38622
40861
|
foutmelding: string | null;
|
|
38623
40862
|
gebruiker_id: string | null;
|
|
38624
40863
|
gebruiker_naam: string;
|
|
38625
40864
|
gestart_op: string | null;
|
|
38626
40865
|
id: string;
|
|
40866
|
+
idempotentie_sleutel: string | null;
|
|
38627
40867
|
is_herprint: boolean;
|
|
38628
40868
|
kopieen: number;
|
|
38629
40869
|
layout_id: string | null;
|
|
38630
40870
|
opgepakt_op: string | null;
|
|
38631
40871
|
paginas: number;
|
|
38632
40872
|
payload: import("../integrations/supabase/types").Json;
|
|
40873
|
+
pdf_base64: string | null;
|
|
40874
|
+
pdf_url: string | null;
|
|
38633
40875
|
pogingen: number;
|
|
38634
40876
|
printer_id: string | null;
|
|
38635
40877
|
render_html: string | null;
|
|
38636
40878
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
38637
40879
|
updated_at: string;
|
|
40880
|
+
volgende_poging: string | null;
|
|
38638
40881
|
voltooid_op: string | null;
|
|
38639
40882
|
}[];
|
|
38640
40883
|
SetofOptions: {
|
|
@@ -38651,6 +40894,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
38651
40894
|
};
|
|
38652
40895
|
Returns: {
|
|
38653
40896
|
action: string;
|
|
40897
|
+
attempt_started_at: string | null;
|
|
38654
40898
|
attempts: number;
|
|
38655
40899
|
connection_id: string | null;
|
|
38656
40900
|
created_at: string;
|
|
@@ -38672,10 +40916,28 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
38672
40916
|
isSetofReturn: true;
|
|
38673
40917
|
};
|
|
38674
40918
|
};
|
|
40919
|
+
cleanup_floriday_stock_queue: {
|
|
40920
|
+
Args: never;
|
|
40921
|
+
Returns: undefined;
|
|
40922
|
+
};
|
|
38675
40923
|
cleanup_old_bookings: {
|
|
38676
40924
|
Args: never;
|
|
38677
40925
|
Returns: undefined;
|
|
38678
40926
|
};
|
|
40927
|
+
cleanup_voorraad_module_history: {
|
|
40928
|
+
Args: never;
|
|
40929
|
+
Returns: undefined;
|
|
40930
|
+
};
|
|
40931
|
+
complete_floriday_stock_queue: {
|
|
40932
|
+
Args: {
|
|
40933
|
+
p_attempt_id?: string;
|
|
40934
|
+
p_error?: string;
|
|
40935
|
+
p_id: string;
|
|
40936
|
+
p_ok: boolean;
|
|
40937
|
+
p_permanent?: boolean;
|
|
40938
|
+
};
|
|
40939
|
+
Returns: undefined;
|
|
40940
|
+
};
|
|
38679
40941
|
consume_bom_for_production: {
|
|
38680
40942
|
Args: {
|
|
38681
40943
|
p_connection_id: string;
|
|
@@ -38720,6 +40982,30 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
38720
40982
|
agent_naam: string;
|
|
38721
40983
|
}[];
|
|
38722
40984
|
};
|
|
40985
|
+
consume_van_inventory: {
|
|
40986
|
+
Args: {
|
|
40987
|
+
p_inventory_id: string;
|
|
40988
|
+
p_quantity: number;
|
|
40989
|
+
};
|
|
40990
|
+
Returns: {
|
|
40991
|
+
barcode: string | null;
|
|
40992
|
+
created_at: string;
|
|
40993
|
+
id: string;
|
|
40994
|
+
monteur_id: string | null;
|
|
40995
|
+
price_per_unit: number;
|
|
40996
|
+
product_name: string;
|
|
40997
|
+
quantity_current: number;
|
|
40998
|
+
quantity_min: number;
|
|
40999
|
+
unit: string;
|
|
41000
|
+
updated_at: string;
|
|
41001
|
+
};
|
|
41002
|
+
SetofOptions: {
|
|
41003
|
+
from: "*";
|
|
41004
|
+
to: "van_inventories";
|
|
41005
|
+
isOneToOne: true;
|
|
41006
|
+
isSetofReturn: false;
|
|
41007
|
+
};
|
|
41008
|
+
};
|
|
38723
41009
|
control_get_todays_carts: {
|
|
38724
41010
|
Args: never;
|
|
38725
41011
|
Returns: {
|
|
@@ -38787,6 +41073,20 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
38787
41073
|
};
|
|
38788
41074
|
Returns: import("../integrations/supabase/types").Json;
|
|
38789
41075
|
};
|
|
41076
|
+
effective_module_permission: {
|
|
41077
|
+
Args: {
|
|
41078
|
+
_module_id: string;
|
|
41079
|
+
_user_id: string;
|
|
41080
|
+
};
|
|
41081
|
+
Returns: string;
|
|
41082
|
+
} | {
|
|
41083
|
+
Args: {
|
|
41084
|
+
_feature_id: string;
|
|
41085
|
+
_module_id: string;
|
|
41086
|
+
_user_id: string;
|
|
41087
|
+
};
|
|
41088
|
+
Returns: string;
|
|
41089
|
+
};
|
|
38790
41090
|
email_auth_decrypt: {
|
|
38791
41091
|
Args: {
|
|
38792
41092
|
cipher: string;
|
|
@@ -39137,12 +41437,6 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
39137
41437
|
Args: never;
|
|
39138
41438
|
Returns: string;
|
|
39139
41439
|
};
|
|
39140
|
-
get_work_order_tenant_id: {
|
|
39141
|
-
Args: {
|
|
39142
|
-
wo_id: string;
|
|
39143
|
-
};
|
|
39144
|
-
Returns: string;
|
|
39145
|
-
};
|
|
39146
41440
|
has_module_permission: {
|
|
39147
41441
|
Args: {
|
|
39148
41442
|
_min: string;
|
|
@@ -39176,6 +41470,13 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
39176
41470
|
};
|
|
39177
41471
|
Returns: boolean;
|
|
39178
41472
|
};
|
|
41473
|
+
is_time_log_week_locked: {
|
|
41474
|
+
Args: {
|
|
41475
|
+
p_employee_id: string;
|
|
41476
|
+
p_start_time: string;
|
|
41477
|
+
};
|
|
41478
|
+
Returns: boolean;
|
|
41479
|
+
};
|
|
39179
41480
|
is_user_admin: {
|
|
39180
41481
|
Args: never;
|
|
39181
41482
|
Returns: boolean;
|
|
@@ -39190,13 +41491,14 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
39190
41491
|
};
|
|
39191
41492
|
Returns: boolean;
|
|
39192
41493
|
};
|
|
39193
|
-
|
|
41494
|
+
list_medewerkers: {
|
|
39194
41495
|
Args: never;
|
|
39195
41496
|
Returns: {
|
|
39196
41497
|
avatar_url: string;
|
|
39197
41498
|
display_name: string;
|
|
39198
41499
|
email: string;
|
|
39199
41500
|
id: string;
|
|
41501
|
+
roles: string[];
|
|
39200
41502
|
}[];
|
|
39201
41503
|
};
|
|
39202
41504
|
list_my_planning_items: {
|
|
@@ -39451,144 +41753,189 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
39451
41753
|
isSetofReturn: false;
|
|
39452
41754
|
};
|
|
39453
41755
|
};
|
|
39454
|
-
logistics_complete_task: {
|
|
41756
|
+
logistics_complete_task: {
|
|
41757
|
+
Args: {
|
|
41758
|
+
p_result?: import("../integrations/supabase/types").Json;
|
|
41759
|
+
p_task_id: string;
|
|
41760
|
+
};
|
|
41761
|
+
Returns: {
|
|
41762
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
41763
|
+
attempts: number;
|
|
41764
|
+
buffer_ref: string | null;
|
|
41765
|
+
claimed_at: string | null;
|
|
41766
|
+
claimed_by: string | null;
|
|
41767
|
+
completed_at: string | null;
|
|
41768
|
+
created_at: string;
|
|
41769
|
+
depends_on: string[];
|
|
41770
|
+
due_at: string | null;
|
|
41771
|
+
error: string | null;
|
|
41772
|
+
id: string;
|
|
41773
|
+
last_error: string | null;
|
|
41774
|
+
next_attempt_at: string | null;
|
|
41775
|
+
order_ref: string;
|
|
41776
|
+
owner_module: string;
|
|
41777
|
+
payload: import("../integrations/supabase/types").Json;
|
|
41778
|
+
plan_run_id: string | null;
|
|
41779
|
+
planned_end: string | null;
|
|
41780
|
+
planned_start: string | null;
|
|
41781
|
+
priority: number;
|
|
41782
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
41783
|
+
rule_config_id: string | null;
|
|
41784
|
+
rule_version: number | null;
|
|
41785
|
+
sequence: number;
|
|
41786
|
+
shadow: boolean;
|
|
41787
|
+
started_at: string | null;
|
|
41788
|
+
status: string;
|
|
41789
|
+
strategy_id: string | null;
|
|
41790
|
+
task_type: string;
|
|
41791
|
+
updated_at: string;
|
|
41792
|
+
user_id: string;
|
|
41793
|
+
};
|
|
41794
|
+
SetofOptions: {
|
|
41795
|
+
from: "*";
|
|
41796
|
+
to: "logistics_tasks";
|
|
41797
|
+
isOneToOne: true;
|
|
41798
|
+
isSetofReturn: false;
|
|
41799
|
+
};
|
|
41800
|
+
};
|
|
41801
|
+
logistics_delay_customer_email: {
|
|
41802
|
+
Args: {
|
|
41803
|
+
p_customer: string;
|
|
41804
|
+
p_lang: string;
|
|
41805
|
+
p_new_date: string;
|
|
41806
|
+
p_order: string;
|
|
41807
|
+
p_partial?: boolean;
|
|
41808
|
+
};
|
|
41809
|
+
Returns: {
|
|
41810
|
+
body: string;
|
|
41811
|
+
subject: string;
|
|
41812
|
+
}[];
|
|
41813
|
+
};
|
|
41814
|
+
logistics_document_layout: {
|
|
41815
|
+
Args: {
|
|
41816
|
+
_document_code: string;
|
|
41817
|
+
};
|
|
41818
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
41819
|
+
};
|
|
41820
|
+
logistics_document_station: {
|
|
41821
|
+
Args: {
|
|
41822
|
+
_document_code: string;
|
|
41823
|
+
};
|
|
41824
|
+
Returns: string;
|
|
41825
|
+
};
|
|
41826
|
+
logistics_emit_event: {
|
|
41827
|
+
Args: {
|
|
41828
|
+
p_event_type: string;
|
|
41829
|
+
p_idempotency_key?: string;
|
|
41830
|
+
p_order_ref: string;
|
|
41831
|
+
p_payload?: import("../integrations/supabase/types").Json;
|
|
41832
|
+
p_shadow?: boolean;
|
|
41833
|
+
p_source_module: string;
|
|
41834
|
+
p_strategy_id?: string;
|
|
41835
|
+
};
|
|
41836
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
41837
|
+
} | {
|
|
41838
|
+
Args: {
|
|
41839
|
+
p_event_type: string;
|
|
41840
|
+
p_idempotency_key?: string;
|
|
41841
|
+
p_order_ref: string;
|
|
41842
|
+
p_payload?: import("../integrations/supabase/types").Json;
|
|
41843
|
+
p_priority?: number;
|
|
41844
|
+
p_shadow?: boolean;
|
|
41845
|
+
p_source_module: string;
|
|
41846
|
+
p_strategy_id?: string;
|
|
41847
|
+
};
|
|
41848
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
41849
|
+
};
|
|
41850
|
+
logistics_fail_task: {
|
|
41851
|
+
Args: {
|
|
41852
|
+
p_error: string;
|
|
41853
|
+
p_task_id: string;
|
|
41854
|
+
};
|
|
41855
|
+
Returns: {
|
|
41856
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
41857
|
+
attempts: number;
|
|
41858
|
+
buffer_ref: string | null;
|
|
41859
|
+
claimed_at: string | null;
|
|
41860
|
+
claimed_by: string | null;
|
|
41861
|
+
completed_at: string | null;
|
|
41862
|
+
created_at: string;
|
|
41863
|
+
depends_on: string[];
|
|
41864
|
+
due_at: string | null;
|
|
41865
|
+
error: string | null;
|
|
41866
|
+
id: string;
|
|
41867
|
+
last_error: string | null;
|
|
41868
|
+
next_attempt_at: string | null;
|
|
41869
|
+
order_ref: string;
|
|
41870
|
+
owner_module: string;
|
|
41871
|
+
payload: import("../integrations/supabase/types").Json;
|
|
41872
|
+
plan_run_id: string | null;
|
|
41873
|
+
planned_end: string | null;
|
|
41874
|
+
planned_start: string | null;
|
|
41875
|
+
priority: number;
|
|
41876
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
41877
|
+
rule_config_id: string | null;
|
|
41878
|
+
rule_version: number | null;
|
|
41879
|
+
sequence: number;
|
|
41880
|
+
shadow: boolean;
|
|
41881
|
+
started_at: string | null;
|
|
41882
|
+
status: string;
|
|
41883
|
+
strategy_id: string | null;
|
|
41884
|
+
task_type: string;
|
|
41885
|
+
updated_at: string;
|
|
41886
|
+
user_id: string;
|
|
41887
|
+
};
|
|
41888
|
+
SetofOptions: {
|
|
41889
|
+
from: "*";
|
|
41890
|
+
to: "logistics_tasks";
|
|
41891
|
+
isOneToOne: true;
|
|
41892
|
+
isSetofReturn: false;
|
|
41893
|
+
};
|
|
41894
|
+
};
|
|
41895
|
+
logistics_floriday_claim_pushes: {
|
|
39455
41896
|
Args: {
|
|
39456
|
-
|
|
39457
|
-
|
|
41897
|
+
_lease_seconds?: number;
|
|
41898
|
+
_limit?: number;
|
|
41899
|
+
_worker?: string;
|
|
39458
41900
|
};
|
|
39459
41901
|
Returns: {
|
|
39460
|
-
attempt_log: import("../integrations/supabase/types").Json;
|
|
39461
41902
|
attempts: number;
|
|
39462
|
-
|
|
39463
|
-
claimed_at: string | null;
|
|
39464
|
-
claimed_by: string | null;
|
|
39465
|
-
completed_at: string | null;
|
|
39466
|
-
created_at: string;
|
|
39467
|
-
depends_on: string[];
|
|
39468
|
-
due_at: string | null;
|
|
39469
|
-
error: string | null;
|
|
41903
|
+
fulfillment_order_id: string;
|
|
39470
41904
|
id: string;
|
|
39471
|
-
|
|
39472
|
-
next_attempt_at: string | null;
|
|
41905
|
+
last_sent_hash: string;
|
|
39473
41906
|
order_ref: string;
|
|
39474
|
-
owner_module: string;
|
|
39475
41907
|
payload: import("../integrations/supabase/types").Json;
|
|
39476
|
-
|
|
39477
|
-
|
|
39478
|
-
planned_start: string | null;
|
|
39479
|
-
priority: number;
|
|
39480
|
-
result: import("../integrations/supabase/types").Json | null;
|
|
39481
|
-
rule_config_id: string | null;
|
|
39482
|
-
rule_version: number | null;
|
|
39483
|
-
sequence: number;
|
|
39484
|
-
shadow: boolean;
|
|
39485
|
-
started_at: string | null;
|
|
39486
|
-
status: string;
|
|
39487
|
-
strategy_id: string | null;
|
|
39488
|
-
task_type: string;
|
|
39489
|
-
updated_at: string;
|
|
39490
|
-
user_id: string;
|
|
39491
|
-
};
|
|
39492
|
-
SetofOptions: {
|
|
39493
|
-
from: "*";
|
|
39494
|
-
to: "logistics_tasks";
|
|
39495
|
-
isOneToOne: true;
|
|
39496
|
-
isSetofReturn: false;
|
|
39497
|
-
};
|
|
39498
|
-
};
|
|
39499
|
-
logistics_delay_customer_email: {
|
|
39500
|
-
Args: {
|
|
39501
|
-
p_customer: string;
|
|
39502
|
-
p_lang: string;
|
|
39503
|
-
p_new_date: string;
|
|
39504
|
-
p_order: string;
|
|
39505
|
-
p_partial?: boolean;
|
|
39506
|
-
};
|
|
39507
|
-
Returns: {
|
|
39508
|
-
body: string;
|
|
39509
|
-
subject: string;
|
|
41908
|
+
payload_hash: string;
|
|
41909
|
+
revision: number;
|
|
39510
41910
|
}[];
|
|
39511
41911
|
};
|
|
39512
|
-
|
|
41912
|
+
logistics_floriday_finish_push: {
|
|
39513
41913
|
Args: {
|
|
39514
|
-
|
|
39515
|
-
|
|
39516
|
-
|
|
39517
|
-
|
|
39518
|
-
|
|
39519
|
-
|
|
39520
|
-
|
|
41914
|
+
_error?: string;
|
|
41915
|
+
_fulfillment_order_id?: string;
|
|
41916
|
+
_id: string;
|
|
41917
|
+
_max_age_hours?: number;
|
|
41918
|
+
_max_attempts?: number;
|
|
41919
|
+
_ok: boolean;
|
|
41920
|
+
_permanent?: boolean;
|
|
41921
|
+
_revision: number;
|
|
41922
|
+
_sent_hash?: string;
|
|
39521
41923
|
};
|
|
39522
41924
|
Returns: string;
|
|
39523
41925
|
};
|
|
39524
|
-
|
|
41926
|
+
logistics_floriday_prune_pushes: {
|
|
39525
41927
|
Args: {
|
|
39526
|
-
|
|
39527
|
-
p_idempotency_key?: string;
|
|
39528
|
-
p_order_ref: string;
|
|
39529
|
-
p_payload?: import("../integrations/supabase/types").Json;
|
|
39530
|
-
p_shadow?: boolean;
|
|
39531
|
-
p_source_module: string;
|
|
39532
|
-
p_strategy_id?: string;
|
|
41928
|
+
_days?: number;
|
|
39533
41929
|
};
|
|
39534
|
-
Returns:
|
|
39535
|
-
} | {
|
|
39536
|
-
Args: {
|
|
39537
|
-
p_event_type: string;
|
|
39538
|
-
p_idempotency_key?: string;
|
|
39539
|
-
p_order_ref: string;
|
|
39540
|
-
p_payload?: import("../integrations/supabase/types").Json;
|
|
39541
|
-
p_priority?: number;
|
|
39542
|
-
p_shadow?: boolean;
|
|
39543
|
-
p_source_module: string;
|
|
39544
|
-
p_strategy_id?: string;
|
|
39545
|
-
};
|
|
39546
|
-
Returns: import("../integrations/supabase/types").Json;
|
|
41930
|
+
Returns: number;
|
|
39547
41931
|
};
|
|
39548
|
-
|
|
41932
|
+
logistics_floriday_queue_push: {
|
|
39549
41933
|
Args: {
|
|
39550
|
-
|
|
39551
|
-
|
|
39552
|
-
|
|
39553
|
-
Returns: {
|
|
39554
|
-
attempt_log: import("../integrations/supabase/types").Json;
|
|
39555
|
-
attempts: number;
|
|
39556
|
-
buffer_ref: string | null;
|
|
39557
|
-
claimed_at: string | null;
|
|
39558
|
-
claimed_by: string | null;
|
|
39559
|
-
completed_at: string | null;
|
|
39560
|
-
created_at: string;
|
|
39561
|
-
depends_on: string[];
|
|
39562
|
-
due_at: string | null;
|
|
39563
|
-
error: string | null;
|
|
39564
|
-
id: string;
|
|
39565
|
-
last_error: string | null;
|
|
39566
|
-
next_attempt_at: string | null;
|
|
39567
|
-
order_ref: string;
|
|
39568
|
-
owner_module: string;
|
|
39569
|
-
payload: import("../integrations/supabase/types").Json;
|
|
39570
|
-
plan_run_id: string | null;
|
|
39571
|
-
planned_end: string | null;
|
|
39572
|
-
planned_start: string | null;
|
|
39573
|
-
priority: number;
|
|
39574
|
-
result: import("../integrations/supabase/types").Json | null;
|
|
39575
|
-
rule_config_id: string | null;
|
|
39576
|
-
rule_version: number | null;
|
|
39577
|
-
sequence: number;
|
|
39578
|
-
shadow: boolean;
|
|
39579
|
-
started_at: string | null;
|
|
39580
|
-
status: string;
|
|
39581
|
-
strategy_id: string | null;
|
|
39582
|
-
task_type: string;
|
|
39583
|
-
updated_at: string;
|
|
39584
|
-
user_id: string;
|
|
39585
|
-
};
|
|
39586
|
-
SetofOptions: {
|
|
39587
|
-
from: "*";
|
|
39588
|
-
to: "logistics_tasks";
|
|
39589
|
-
isOneToOne: true;
|
|
39590
|
-
isSetofReturn: false;
|
|
41934
|
+
_order_ref: string;
|
|
41935
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
41936
|
+
_payload_hash?: string;
|
|
39591
41937
|
};
|
|
41938
|
+
Returns: string;
|
|
39592
41939
|
};
|
|
39593
41940
|
logistics_live_carriers: {
|
|
39594
41941
|
Args: {
|
|
@@ -39642,6 +41989,65 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
39642
41989
|
};
|
|
39643
41990
|
Returns: number;
|
|
39644
41991
|
};
|
|
41992
|
+
logistics_plan_claim: {
|
|
41993
|
+
Args: {
|
|
41994
|
+
p_limit?: number;
|
|
41995
|
+
};
|
|
41996
|
+
Returns: {
|
|
41997
|
+
attempts: number;
|
|
41998
|
+
id: string;
|
|
41999
|
+
order_id: string;
|
|
42000
|
+
}[];
|
|
42001
|
+
};
|
|
42002
|
+
logistics_plan_enqueue: {
|
|
42003
|
+
Args: {
|
|
42004
|
+
p_order_id: string;
|
|
42005
|
+
p_reason?: string;
|
|
42006
|
+
};
|
|
42007
|
+
Returns: undefined;
|
|
42008
|
+
};
|
|
42009
|
+
logistics_plan_ensure_event: {
|
|
42010
|
+
Args: {
|
|
42011
|
+
p_order_id: string;
|
|
42012
|
+
};
|
|
42013
|
+
Returns: boolean;
|
|
42014
|
+
};
|
|
42015
|
+
logistics_plan_finish: {
|
|
42016
|
+
Args: {
|
|
42017
|
+
p_error?: string;
|
|
42018
|
+
p_id: string;
|
|
42019
|
+
};
|
|
42020
|
+
Returns: undefined;
|
|
42021
|
+
};
|
|
42022
|
+
logistics_plan_impact_orders: {
|
|
42023
|
+
Args: {
|
|
42024
|
+
p_order_id: string;
|
|
42025
|
+
};
|
|
42026
|
+
Returns: {
|
|
42027
|
+
buffer_id: string;
|
|
42028
|
+
order_id: string;
|
|
42029
|
+
plan_date: string;
|
|
42030
|
+
}[];
|
|
42031
|
+
};
|
|
42032
|
+
logistics_plan_kick: {
|
|
42033
|
+
Args: never;
|
|
42034
|
+
Returns: undefined;
|
|
42035
|
+
};
|
|
42036
|
+
logistics_plan_prune: {
|
|
42037
|
+
Args: never;
|
|
42038
|
+
Returns: number;
|
|
42039
|
+
};
|
|
42040
|
+
logistics_plan_release_stale: {
|
|
42041
|
+
Args: never;
|
|
42042
|
+
Returns: number;
|
|
42043
|
+
};
|
|
42044
|
+
logistics_plan_setting: {
|
|
42045
|
+
Args: {
|
|
42046
|
+
p_default: number;
|
|
42047
|
+
p_key: string;
|
|
42048
|
+
};
|
|
42049
|
+
Returns: number;
|
|
42050
|
+
};
|
|
39645
42051
|
logistics_queue_capacity_email: {
|
|
39646
42052
|
Args: {
|
|
39647
42053
|
p_alert_id: string;
|
|
@@ -39880,6 +42286,14 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
39880
42286
|
};
|
|
39881
42287
|
Returns: undefined;
|
|
39882
42288
|
};
|
|
42289
|
+
my_module_permissions: {
|
|
42290
|
+
Args: never;
|
|
42291
|
+
Returns: {
|
|
42292
|
+
feature_id: string;
|
|
42293
|
+
module_id: string;
|
|
42294
|
+
permission: string;
|
|
42295
|
+
}[];
|
|
42296
|
+
};
|
|
39883
42297
|
next_manufacture_partij: {
|
|
39884
42298
|
Args: {
|
|
39885
42299
|
_tenant_id: string;
|
|
@@ -39930,6 +42344,13 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
39930
42344
|
};
|
|
39931
42345
|
Returns: boolean;
|
|
39932
42346
|
};
|
|
42347
|
+
opruim_print_historie: {
|
|
42348
|
+
Args: never;
|
|
42349
|
+
Returns: {
|
|
42350
|
+
ontdaan: number;
|
|
42351
|
+
verwijderd: number;
|
|
42352
|
+
}[];
|
|
42353
|
+
};
|
|
39933
42354
|
order_number_prefix: {
|
|
39934
42355
|
Args: {
|
|
39935
42356
|
p_custom_fields?: import("../integrations/supabase/types").Json;
|
|
@@ -39937,6 +42358,15 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
39937
42358
|
};
|
|
39938
42359
|
Returns: string;
|
|
39939
42360
|
};
|
|
42361
|
+
pick_active_printers: {
|
|
42362
|
+
Args: never;
|
|
42363
|
+
Returns: {
|
|
42364
|
+
id: string;
|
|
42365
|
+
locatie: string;
|
|
42366
|
+
naam: string;
|
|
42367
|
+
online: boolean;
|
|
42368
|
+
}[];
|
|
42369
|
+
};
|
|
39940
42370
|
pick_claim_document: {
|
|
39941
42371
|
Args: {
|
|
39942
42372
|
_queue_item_id: string;
|
|
@@ -40123,6 +42553,52 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
40123
42553
|
};
|
|
40124
42554
|
Returns: undefined;
|
|
40125
42555
|
};
|
|
42556
|
+
pick_reset_print: {
|
|
42557
|
+
Args: {
|
|
42558
|
+
_queue_item_id: string;
|
|
42559
|
+
_session_id: string;
|
|
42560
|
+
};
|
|
42561
|
+
Returns: {
|
|
42562
|
+
announced_at: string;
|
|
42563
|
+
assigned_user_id: string | null;
|
|
42564
|
+
barcode: string | null;
|
|
42565
|
+
cancelled_at: string | null;
|
|
42566
|
+
cart_count: number;
|
|
42567
|
+
completed_at: string | null;
|
|
42568
|
+
country_code: string | null;
|
|
42569
|
+
created_at: string;
|
|
42570
|
+
customer_name: string | null;
|
|
42571
|
+
delivery_address: string | null;
|
|
42572
|
+
document_number: string | null;
|
|
42573
|
+
document_type_id: string | null;
|
|
42574
|
+
due_at: string | null;
|
|
42575
|
+
id: string;
|
|
42576
|
+
is_urgent: boolean;
|
|
42577
|
+
line_count: number;
|
|
42578
|
+
order_number: string | null;
|
|
42579
|
+
order_type: string | null;
|
|
42580
|
+
payload: import("../integrations/supabase/types").Json;
|
|
42581
|
+
print_count: number;
|
|
42582
|
+
print_job_id: string | null;
|
|
42583
|
+
printed_at: string | null;
|
|
42584
|
+
printed_by: string | null;
|
|
42585
|
+
printer_id: string | null;
|
|
42586
|
+
priority: number;
|
|
42587
|
+
reference: string | null;
|
|
42588
|
+
route: string | null;
|
|
42589
|
+
screen_id: string | null;
|
|
42590
|
+
station_id: string | null;
|
|
42591
|
+
status_id: string | null;
|
|
42592
|
+
updated_at: string;
|
|
42593
|
+
warnings: import("../integrations/supabase/types").Json;
|
|
42594
|
+
};
|
|
42595
|
+
SetofOptions: {
|
|
42596
|
+
from: "*";
|
|
42597
|
+
to: "pick_queue";
|
|
42598
|
+
isOneToOne: true;
|
|
42599
|
+
isSetofReturn: false;
|
|
42600
|
+
};
|
|
42601
|
+
};
|
|
40126
42602
|
pick_station_dashboard: {
|
|
40127
42603
|
Args: never;
|
|
40128
42604
|
Returns: {
|
|
@@ -40269,6 +42745,12 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
40269
42745
|
};
|
|
40270
42746
|
Returns: undefined;
|
|
40271
42747
|
};
|
|
42748
|
+
reset_stalled_floriday_stock_queue: {
|
|
42749
|
+
Args: {
|
|
42750
|
+
p_include_failed?: boolean;
|
|
42751
|
+
};
|
|
42752
|
+
Returns: number;
|
|
42753
|
+
};
|
|
40272
42754
|
resolve_group_allocation: {
|
|
40273
42755
|
Args: {
|
|
40274
42756
|
_needed: number;
|
|
@@ -40313,14 +42795,28 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
40313
42795
|
};
|
|
40314
42796
|
Returns: import("../integrations/supabase/types").Json;
|
|
40315
42797
|
};
|
|
42798
|
+
ruim_print_jobs_op: {
|
|
42799
|
+
Args: {
|
|
42800
|
+
_bewaar_dagen?: number;
|
|
42801
|
+
};
|
|
42802
|
+
Returns: number;
|
|
42803
|
+
};
|
|
40316
42804
|
run_floriday_continuous_stock_sync: {
|
|
40317
42805
|
Args: never;
|
|
40318
42806
|
Returns: undefined;
|
|
40319
42807
|
};
|
|
42808
|
+
run_floriday_stock_queue_process: {
|
|
42809
|
+
Args: never;
|
|
42810
|
+
Returns: undefined;
|
|
42811
|
+
};
|
|
40320
42812
|
run_logistics_tasks_dispatch: {
|
|
40321
42813
|
Args: never;
|
|
40322
42814
|
Returns: undefined;
|
|
40323
42815
|
};
|
|
42816
|
+
run_print_queue_ticks: {
|
|
42817
|
+
Args: never;
|
|
42818
|
+
Returns: number;
|
|
42819
|
+
};
|
|
40324
42820
|
run_twinfield_queue_tick: {
|
|
40325
42821
|
Args: never;
|
|
40326
42822
|
Returns: undefined;
|
|
@@ -40561,6 +43057,13 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
40561
43057
|
};
|
|
40562
43058
|
Returns: number;
|
|
40563
43059
|
};
|
|
43060
|
+
schedule_floriday_stock_queue_process: {
|
|
43061
|
+
Args: {
|
|
43062
|
+
p_apikey: string;
|
|
43063
|
+
p_url: string;
|
|
43064
|
+
};
|
|
43065
|
+
Returns: number;
|
|
43066
|
+
};
|
|
40564
43067
|
schedule_floriday_token_refresh: {
|
|
40565
43068
|
Args: {
|
|
40566
43069
|
p_apikey: string;
|
|
@@ -40667,6 +43170,16 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
40667
43170
|
};
|
|
40668
43171
|
Returns: string[];
|
|
40669
43172
|
};
|
|
43173
|
+
switch_time_log: {
|
|
43174
|
+
Args: {
|
|
43175
|
+
p_employee_id: string;
|
|
43176
|
+
p_start_lat?: number;
|
|
43177
|
+
p_start_lng?: number;
|
|
43178
|
+
p_type: string;
|
|
43179
|
+
p_work_order_id?: string;
|
|
43180
|
+
};
|
|
43181
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
43182
|
+
};
|
|
40670
43183
|
sync_all_layer_stocks: {
|
|
40671
43184
|
Args: never;
|
|
40672
43185
|
Returns: undefined;
|
|
@@ -40701,6 +43214,15 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
40701
43214
|
};
|
|
40702
43215
|
Returns: undefined;
|
|
40703
43216
|
};
|
|
43217
|
+
trade_item_stock_duplicates: {
|
|
43218
|
+
Args: never;
|
|
43219
|
+
Returns: {
|
|
43220
|
+
keys: string[];
|
|
43221
|
+
product_id: string;
|
|
43222
|
+
product_name: string;
|
|
43223
|
+
row_count: number;
|
|
43224
|
+
}[];
|
|
43225
|
+
};
|
|
40704
43226
|
try_debtor_lock: {
|
|
40705
43227
|
Args: {
|
|
40706
43228
|
_group_key: string;
|
|
@@ -40708,6 +43230,24 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
40708
43230
|
};
|
|
40709
43231
|
Returns: boolean;
|
|
40710
43232
|
};
|
|
43233
|
+
twinfield_cron_lock_acquire: {
|
|
43234
|
+
Args: {
|
|
43235
|
+
_job_name: string;
|
|
43236
|
+
_stale_seconds?: number;
|
|
43237
|
+
};
|
|
43238
|
+
Returns: boolean;
|
|
43239
|
+
};
|
|
43240
|
+
twinfield_cron_lock_release: {
|
|
43241
|
+
Args: {
|
|
43242
|
+
_error?: string;
|
|
43243
|
+
_job_name: string;
|
|
43244
|
+
};
|
|
43245
|
+
Returns: undefined;
|
|
43246
|
+
};
|
|
43247
|
+
twinfield_prune_push_queue: {
|
|
43248
|
+
Args: never;
|
|
43249
|
+
Returns: number;
|
|
43250
|
+
};
|
|
40711
43251
|
twinfield_register_cron: {
|
|
40712
43252
|
Args: {
|
|
40713
43253
|
apikey?: string;
|
|
@@ -40750,7 +43290,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
40750
43290
|
};
|
|
40751
43291
|
Enums: {
|
|
40752
43292
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|
|
40753
|
-
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin";
|
|
43293
|
+
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
|
|
40754
43294
|
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
|
|
40755
43295
|
doc_orientation: "portrait" | "landscape";
|
|
40756
43296
|
exact_env: "staging" | "live";
|