@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
|
@@ -884,6 +884,126 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
884
884
|
};
|
|
885
885
|
Relationships: [];
|
|
886
886
|
};
|
|
887
|
+
cao_holidays: {
|
|
888
|
+
Row: {
|
|
889
|
+
created_at: string;
|
|
890
|
+
description: string | null;
|
|
891
|
+
holiday_date: string;
|
|
892
|
+
id: string;
|
|
893
|
+
updated_at: string;
|
|
894
|
+
};
|
|
895
|
+
Insert: {
|
|
896
|
+
created_at?: string;
|
|
897
|
+
description?: string | null;
|
|
898
|
+
holiday_date: string;
|
|
899
|
+
id?: string;
|
|
900
|
+
updated_at?: string;
|
|
901
|
+
};
|
|
902
|
+
Update: {
|
|
903
|
+
created_at?: string;
|
|
904
|
+
description?: string | null;
|
|
905
|
+
holiday_date?: string;
|
|
906
|
+
id?: string;
|
|
907
|
+
updated_at?: string;
|
|
908
|
+
};
|
|
909
|
+
Relationships: [];
|
|
910
|
+
};
|
|
911
|
+
cao_settings: {
|
|
912
|
+
Row: {
|
|
913
|
+
auto_break_after_hours: number;
|
|
914
|
+
auto_break_minutes: number;
|
|
915
|
+
auto_break_unpaid: boolean;
|
|
916
|
+
auto_stop_after_hours: number;
|
|
917
|
+
callout_fee: number;
|
|
918
|
+
created_at: string;
|
|
919
|
+
daily_regular_hours: number;
|
|
920
|
+
default_hourly_rate: number;
|
|
921
|
+
id: string;
|
|
922
|
+
materials_markup_percent: number;
|
|
923
|
+
max_daily_hours: number;
|
|
924
|
+
max_weekly_hours: number;
|
|
925
|
+
meal_allowance_amount: number;
|
|
926
|
+
overtime_pct_178: number;
|
|
927
|
+
overtime_pct_189: number;
|
|
928
|
+
overtime_pct_212: number;
|
|
929
|
+
reminder_after_hours: number;
|
|
930
|
+
standby_evening_amount: number;
|
|
931
|
+
standby_weekend_amount: number;
|
|
932
|
+
travel_cost_per_km: number | null;
|
|
933
|
+
travel_cost_threshold_km: number | null;
|
|
934
|
+
travel_counts_as_work: boolean;
|
|
935
|
+
travel_hourly_rate: number;
|
|
936
|
+
travel_rate_per_hour: number;
|
|
937
|
+
travel_threshold_minutes: number;
|
|
938
|
+
updated_at: string;
|
|
939
|
+
weekend_always_212: boolean;
|
|
940
|
+
window_end: string;
|
|
941
|
+
window_start: string;
|
|
942
|
+
};
|
|
943
|
+
Insert: {
|
|
944
|
+
auto_break_after_hours?: number;
|
|
945
|
+
auto_break_minutes?: number;
|
|
946
|
+
auto_break_unpaid?: boolean;
|
|
947
|
+
auto_stop_after_hours?: number;
|
|
948
|
+
callout_fee?: number;
|
|
949
|
+
created_at?: string;
|
|
950
|
+
daily_regular_hours?: number;
|
|
951
|
+
default_hourly_rate?: number;
|
|
952
|
+
id?: string;
|
|
953
|
+
materials_markup_percent?: number;
|
|
954
|
+
max_daily_hours?: number;
|
|
955
|
+
max_weekly_hours?: number;
|
|
956
|
+
meal_allowance_amount?: number;
|
|
957
|
+
overtime_pct_178?: number;
|
|
958
|
+
overtime_pct_189?: number;
|
|
959
|
+
overtime_pct_212?: number;
|
|
960
|
+
reminder_after_hours?: number;
|
|
961
|
+
standby_evening_amount?: number;
|
|
962
|
+
standby_weekend_amount?: number;
|
|
963
|
+
travel_cost_per_km?: number | null;
|
|
964
|
+
travel_cost_threshold_km?: number | null;
|
|
965
|
+
travel_counts_as_work?: boolean;
|
|
966
|
+
travel_hourly_rate?: number;
|
|
967
|
+
travel_rate_per_hour?: number;
|
|
968
|
+
travel_threshold_minutes?: number;
|
|
969
|
+
updated_at?: string;
|
|
970
|
+
weekend_always_212?: boolean;
|
|
971
|
+
window_end?: string;
|
|
972
|
+
window_start?: string;
|
|
973
|
+
};
|
|
974
|
+
Update: {
|
|
975
|
+
auto_break_after_hours?: number;
|
|
976
|
+
auto_break_minutes?: number;
|
|
977
|
+
auto_break_unpaid?: boolean;
|
|
978
|
+
auto_stop_after_hours?: number;
|
|
979
|
+
callout_fee?: number;
|
|
980
|
+
created_at?: string;
|
|
981
|
+
daily_regular_hours?: number;
|
|
982
|
+
default_hourly_rate?: number;
|
|
983
|
+
id?: string;
|
|
984
|
+
materials_markup_percent?: number;
|
|
985
|
+
max_daily_hours?: number;
|
|
986
|
+
max_weekly_hours?: number;
|
|
987
|
+
meal_allowance_amount?: number;
|
|
988
|
+
overtime_pct_178?: number;
|
|
989
|
+
overtime_pct_189?: number;
|
|
990
|
+
overtime_pct_212?: number;
|
|
991
|
+
reminder_after_hours?: number;
|
|
992
|
+
standby_evening_amount?: number;
|
|
993
|
+
standby_weekend_amount?: number;
|
|
994
|
+
travel_cost_per_km?: number | null;
|
|
995
|
+
travel_cost_threshold_km?: number | null;
|
|
996
|
+
travel_counts_as_work?: boolean;
|
|
997
|
+
travel_hourly_rate?: number;
|
|
998
|
+
travel_rate_per_hour?: number;
|
|
999
|
+
travel_threshold_minutes?: number;
|
|
1000
|
+
updated_at?: string;
|
|
1001
|
+
weekend_always_212?: boolean;
|
|
1002
|
+
window_end?: string;
|
|
1003
|
+
window_start?: string;
|
|
1004
|
+
};
|
|
1005
|
+
Relationships: [];
|
|
1006
|
+
};
|
|
887
1007
|
carrier_shipping_rates: {
|
|
888
1008
|
Row: {
|
|
889
1009
|
carrier_id: string;
|
|
@@ -1696,7 +1816,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
1696
1816
|
city: string | null;
|
|
1697
1817
|
country: string | null;
|
|
1698
1818
|
created_at: string;
|
|
1699
|
-
customer_id: string
|
|
1819
|
+
customer_id: string;
|
|
1700
1820
|
external_key: string | null;
|
|
1701
1821
|
external_provider: string | null;
|
|
1702
1822
|
floriday_location_id: string | null;
|
|
@@ -1720,7 +1840,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
1720
1840
|
city?: string | null;
|
|
1721
1841
|
country?: string | null;
|
|
1722
1842
|
created_at?: string;
|
|
1723
|
-
customer_id
|
|
1843
|
+
customer_id: string;
|
|
1724
1844
|
external_key?: string | null;
|
|
1725
1845
|
external_provider?: string | null;
|
|
1726
1846
|
floriday_location_id?: string | null;
|
|
@@ -1744,7 +1864,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
1744
1864
|
city?: string | null;
|
|
1745
1865
|
country?: string | null;
|
|
1746
1866
|
created_at?: string;
|
|
1747
|
-
customer_id?: string
|
|
1867
|
+
customer_id?: string;
|
|
1748
1868
|
external_key?: string | null;
|
|
1749
1869
|
external_provider?: string | null;
|
|
1750
1870
|
floriday_location_id?: string | null;
|
|
@@ -5707,12 +5827,17 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
5707
5827
|
attempts: number;
|
|
5708
5828
|
connection_id: string;
|
|
5709
5829
|
created_at: string;
|
|
5830
|
+
desired_available: boolean | null;
|
|
5710
5831
|
gateway_attempt_id: string | null;
|
|
5711
5832
|
id: string;
|
|
5712
5833
|
last_error: string | null;
|
|
5834
|
+
locked_at: string | null;
|
|
5835
|
+
locked_by: string | null;
|
|
5836
|
+
next_attempt_at: string;
|
|
5713
5837
|
number_of_pieces: number;
|
|
5714
5838
|
sent_at: string | null;
|
|
5715
5839
|
status: string;
|
|
5840
|
+
superseded_by: string | null;
|
|
5716
5841
|
trade_item_id: string;
|
|
5717
5842
|
updated_at: string;
|
|
5718
5843
|
user_id: string;
|
|
@@ -5721,12 +5846,17 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
5721
5846
|
attempts?: number;
|
|
5722
5847
|
connection_id: string;
|
|
5723
5848
|
created_at?: string;
|
|
5849
|
+
desired_available?: boolean | null;
|
|
5724
5850
|
gateway_attempt_id?: string | null;
|
|
5725
5851
|
id?: string;
|
|
5726
5852
|
last_error?: string | null;
|
|
5853
|
+
locked_at?: string | null;
|
|
5854
|
+
locked_by?: string | null;
|
|
5855
|
+
next_attempt_at?: string;
|
|
5727
5856
|
number_of_pieces?: number;
|
|
5728
5857
|
sent_at?: string | null;
|
|
5729
5858
|
status?: string;
|
|
5859
|
+
superseded_by?: string | null;
|
|
5730
5860
|
trade_item_id: string;
|
|
5731
5861
|
updated_at?: string;
|
|
5732
5862
|
user_id: string;
|
|
@@ -5735,12 +5865,17 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
5735
5865
|
attempts?: number;
|
|
5736
5866
|
connection_id?: string;
|
|
5737
5867
|
created_at?: string;
|
|
5868
|
+
desired_available?: boolean | null;
|
|
5738
5869
|
gateway_attempt_id?: string | null;
|
|
5739
5870
|
id?: string;
|
|
5740
5871
|
last_error?: string | null;
|
|
5872
|
+
locked_at?: string | null;
|
|
5873
|
+
locked_by?: string | null;
|
|
5874
|
+
next_attempt_at?: string;
|
|
5741
5875
|
number_of_pieces?: number;
|
|
5742
5876
|
sent_at?: string | null;
|
|
5743
5877
|
status?: string;
|
|
5878
|
+
superseded_by?: string | null;
|
|
5744
5879
|
trade_item_id?: string;
|
|
5745
5880
|
updated_at?: string;
|
|
5746
5881
|
user_id?: string;
|
|
@@ -6477,6 +6612,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
6477
6612
|
Row: {
|
|
6478
6613
|
buyer_organization_id: string | null;
|
|
6479
6614
|
connection_id: string;
|
|
6615
|
+
controlled_at: string | null;
|
|
6480
6616
|
created_at: string;
|
|
6481
6617
|
data: import("../integrations/supabase/types").Json;
|
|
6482
6618
|
floriday_id: string;
|
|
@@ -6488,6 +6624,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
6488
6624
|
Insert: {
|
|
6489
6625
|
buyer_organization_id?: string | null;
|
|
6490
6626
|
connection_id: string;
|
|
6627
|
+
controlled_at?: string | null;
|
|
6491
6628
|
created_at?: string;
|
|
6492
6629
|
data: import("../integrations/supabase/types").Json;
|
|
6493
6630
|
floriday_id: string;
|
|
@@ -6499,6 +6636,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
6499
6636
|
Update: {
|
|
6500
6637
|
buyer_organization_id?: string | null;
|
|
6501
6638
|
connection_id?: string;
|
|
6639
|
+
controlled_at?: string | null;
|
|
6502
6640
|
created_at?: string;
|
|
6503
6641
|
data?: import("../integrations/supabase/types").Json;
|
|
6504
6642
|
floriday_id?: string;
|
|
@@ -7400,6 +7538,54 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
7400
7538
|
};
|
|
7401
7539
|
Relationships: [];
|
|
7402
7540
|
};
|
|
7541
|
+
invoice_timing_settings: {
|
|
7542
|
+
Row: {
|
|
7543
|
+
anchor: string;
|
|
7544
|
+
business_days_only: boolean;
|
|
7545
|
+
created_at: string;
|
|
7546
|
+
enabled: boolean;
|
|
7547
|
+
id: string;
|
|
7548
|
+
offset_days: number;
|
|
7549
|
+
pickup_anchor: string;
|
|
7550
|
+
pickup_business_days_only: boolean;
|
|
7551
|
+
pickup_offset_days: number;
|
|
7552
|
+
pickup_time_of_day: string;
|
|
7553
|
+
singleton: boolean;
|
|
7554
|
+
time_of_day: string;
|
|
7555
|
+
updated_at: string;
|
|
7556
|
+
};
|
|
7557
|
+
Insert: {
|
|
7558
|
+
anchor?: string;
|
|
7559
|
+
business_days_only?: boolean;
|
|
7560
|
+
created_at?: string;
|
|
7561
|
+
enabled?: boolean;
|
|
7562
|
+
id?: string;
|
|
7563
|
+
offset_days?: number;
|
|
7564
|
+
pickup_anchor?: string;
|
|
7565
|
+
pickup_business_days_only?: boolean;
|
|
7566
|
+
pickup_offset_days?: number;
|
|
7567
|
+
pickup_time_of_day?: string;
|
|
7568
|
+
singleton?: boolean;
|
|
7569
|
+
time_of_day?: string;
|
|
7570
|
+
updated_at?: string;
|
|
7571
|
+
};
|
|
7572
|
+
Update: {
|
|
7573
|
+
anchor?: string;
|
|
7574
|
+
business_days_only?: boolean;
|
|
7575
|
+
created_at?: string;
|
|
7576
|
+
enabled?: boolean;
|
|
7577
|
+
id?: string;
|
|
7578
|
+
offset_days?: number;
|
|
7579
|
+
pickup_anchor?: string;
|
|
7580
|
+
pickup_business_days_only?: boolean;
|
|
7581
|
+
pickup_offset_days?: number;
|
|
7582
|
+
pickup_time_of_day?: string;
|
|
7583
|
+
singleton?: boolean;
|
|
7584
|
+
time_of_day?: string;
|
|
7585
|
+
updated_at?: string;
|
|
7586
|
+
};
|
|
7587
|
+
Relationships: [];
|
|
7588
|
+
};
|
|
7403
7589
|
itk_contact_persons: {
|
|
7404
7590
|
Row: {
|
|
7405
7591
|
created_at: string;
|
|
@@ -7712,7 +7898,6 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
7712
7898
|
start_date: string;
|
|
7713
7899
|
start_time: string | null;
|
|
7714
7900
|
status: string;
|
|
7715
|
-
tenant_id: string;
|
|
7716
7901
|
updated_at: string;
|
|
7717
7902
|
user_id: string;
|
|
7718
7903
|
};
|
|
@@ -7730,7 +7915,6 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
7730
7915
|
start_date: string;
|
|
7731
7916
|
start_time?: string | null;
|
|
7732
7917
|
status?: string;
|
|
7733
|
-
tenant_id?: string;
|
|
7734
7918
|
updated_at?: string;
|
|
7735
7919
|
user_id: string;
|
|
7736
7920
|
};
|
|
@@ -7748,7 +7932,6 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
7748
7932
|
start_date?: string;
|
|
7749
7933
|
start_time?: string | null;
|
|
7750
7934
|
status?: string;
|
|
7751
|
-
tenant_id?: string;
|
|
7752
7935
|
updated_at?: string;
|
|
7753
7936
|
user_id?: string;
|
|
7754
7937
|
};
|
|
@@ -7756,13 +7939,13 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
7756
7939
|
foreignKeyName: "leave_requests_monteur_id_fkey";
|
|
7757
7940
|
columns: ["monteur_id"];
|
|
7758
7941
|
isOneToOne: false;
|
|
7759
|
-
referencedRelation: "
|
|
7942
|
+
referencedRelation: "profiles";
|
|
7760
7943
|
referencedColumns: ["id"];
|
|
7761
7944
|
}, {
|
|
7762
7945
|
foreignKeyName: "leave_requests_user_id_fkey";
|
|
7763
7946
|
columns: ["user_id"];
|
|
7764
7947
|
isOneToOne: false;
|
|
7765
|
-
referencedRelation: "
|
|
7948
|
+
referencedRelation: "profiles";
|
|
7766
7949
|
referencedColumns: ["id"];
|
|
7767
7950
|
}];
|
|
7768
7951
|
};
|
|
@@ -8489,6 +8672,69 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
8489
8672
|
};
|
|
8490
8673
|
Relationships: [];
|
|
8491
8674
|
};
|
|
8675
|
+
logistics_floriday_pushes: {
|
|
8676
|
+
Row: {
|
|
8677
|
+
attempts: number;
|
|
8678
|
+
created_at: string;
|
|
8679
|
+
first_queued_at: string;
|
|
8680
|
+
fulfillment_order_id: string | null;
|
|
8681
|
+
id: string;
|
|
8682
|
+
last_error: string | null;
|
|
8683
|
+
last_error_at: string | null;
|
|
8684
|
+
last_sent_hash: string | null;
|
|
8685
|
+
locked_by: string | null;
|
|
8686
|
+
locked_until: string | null;
|
|
8687
|
+
next_attempt_at: string;
|
|
8688
|
+
order_ref: string;
|
|
8689
|
+
payload: import("../integrations/supabase/types").Json;
|
|
8690
|
+
payload_hash: string | null;
|
|
8691
|
+
revision: number;
|
|
8692
|
+
sent_at: string | null;
|
|
8693
|
+
status: string;
|
|
8694
|
+
updated_at: string;
|
|
8695
|
+
};
|
|
8696
|
+
Insert: {
|
|
8697
|
+
attempts?: number;
|
|
8698
|
+
created_at?: string;
|
|
8699
|
+
first_queued_at?: string;
|
|
8700
|
+
fulfillment_order_id?: string | null;
|
|
8701
|
+
id?: string;
|
|
8702
|
+
last_error?: string | null;
|
|
8703
|
+
last_error_at?: string | null;
|
|
8704
|
+
last_sent_hash?: string | null;
|
|
8705
|
+
locked_by?: string | null;
|
|
8706
|
+
locked_until?: string | null;
|
|
8707
|
+
next_attempt_at?: string;
|
|
8708
|
+
order_ref: string;
|
|
8709
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
8710
|
+
payload_hash?: string | null;
|
|
8711
|
+
revision?: number;
|
|
8712
|
+
sent_at?: string | null;
|
|
8713
|
+
status?: string;
|
|
8714
|
+
updated_at?: string;
|
|
8715
|
+
};
|
|
8716
|
+
Update: {
|
|
8717
|
+
attempts?: number;
|
|
8718
|
+
created_at?: string;
|
|
8719
|
+
first_queued_at?: string;
|
|
8720
|
+
fulfillment_order_id?: string | null;
|
|
8721
|
+
id?: string;
|
|
8722
|
+
last_error?: string | null;
|
|
8723
|
+
last_error_at?: string | null;
|
|
8724
|
+
last_sent_hash?: string | null;
|
|
8725
|
+
locked_by?: string | null;
|
|
8726
|
+
locked_until?: string | null;
|
|
8727
|
+
next_attempt_at?: string;
|
|
8728
|
+
order_ref?: string;
|
|
8729
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
8730
|
+
payload_hash?: string | null;
|
|
8731
|
+
revision?: number;
|
|
8732
|
+
sent_at?: string | null;
|
|
8733
|
+
status?: string;
|
|
8734
|
+
updated_at?: string;
|
|
8735
|
+
};
|
|
8736
|
+
Relationships: [];
|
|
8737
|
+
};
|
|
8492
8738
|
logistics_formulas: {
|
|
8493
8739
|
Row: {
|
|
8494
8740
|
created_at: string;
|
|
@@ -8567,6 +8813,45 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
8567
8813
|
};
|
|
8568
8814
|
Relationships: [];
|
|
8569
8815
|
};
|
|
8816
|
+
logistics_plan_queue: {
|
|
8817
|
+
Row: {
|
|
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
|
+
Insert: {
|
|
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
|
+
Update: {
|
|
8842
|
+
attempts?: number;
|
|
8843
|
+
claimed_at?: string | null;
|
|
8844
|
+
enqueued_at?: string;
|
|
8845
|
+
error?: string | null;
|
|
8846
|
+
id?: string;
|
|
8847
|
+
next_attempt_at?: string;
|
|
8848
|
+
order_id?: string;
|
|
8849
|
+
reason?: string;
|
|
8850
|
+
status?: string;
|
|
8851
|
+
updated_at?: string;
|
|
8852
|
+
};
|
|
8853
|
+
Relationships: [];
|
|
8854
|
+
};
|
|
8570
8855
|
logistics_plan_runs: {
|
|
8571
8856
|
Row: {
|
|
8572
8857
|
created_at: string;
|
|
@@ -8642,6 +8927,24 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
8642
8927
|
referencedColumns: ["id"];
|
|
8643
8928
|
}];
|
|
8644
8929
|
};
|
|
8930
|
+
logistics_plan_settings: {
|
|
8931
|
+
Row: {
|
|
8932
|
+
key: string;
|
|
8933
|
+
updated_at: string;
|
|
8934
|
+
value: string;
|
|
8935
|
+
};
|
|
8936
|
+
Insert: {
|
|
8937
|
+
key: string;
|
|
8938
|
+
updated_at?: string;
|
|
8939
|
+
value: string;
|
|
8940
|
+
};
|
|
8941
|
+
Update: {
|
|
8942
|
+
key?: string;
|
|
8943
|
+
updated_at?: string;
|
|
8944
|
+
value?: string;
|
|
8945
|
+
};
|
|
8946
|
+
Relationships: [];
|
|
8947
|
+
};
|
|
8645
8948
|
logistics_rebuffer_state: {
|
|
8646
8949
|
Row: {
|
|
8647
8950
|
created_at: string;
|
|
@@ -9352,14 +9655,17 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
9352
9655
|
};
|
|
9353
9656
|
mailbox_messages: {
|
|
9354
9657
|
Row: {
|
|
9658
|
+
attachments: import("../integrations/supabase/types").Json;
|
|
9355
9659
|
body_html: string | null;
|
|
9356
9660
|
body_text: string | null;
|
|
9661
|
+
cc_recipients: import("../integrations/supabase/types").Json;
|
|
9357
9662
|
connection_id: string | null;
|
|
9358
9663
|
created_at: string;
|
|
9359
9664
|
error_message: string | null;
|
|
9360
9665
|
external_id: string | null;
|
|
9361
9666
|
from_email: string | null;
|
|
9362
9667
|
from_name: string | null;
|
|
9668
|
+
has_attachments: boolean;
|
|
9363
9669
|
id: string;
|
|
9364
9670
|
message_id: string | null;
|
|
9365
9671
|
profile_id: string | null;
|
|
@@ -9367,18 +9673,22 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
9367
9673
|
received_at: string | null;
|
|
9368
9674
|
status: string;
|
|
9369
9675
|
subject: string | null;
|
|
9676
|
+
to_recipients: import("../integrations/supabase/types").Json;
|
|
9370
9677
|
uid: number | null;
|
|
9371
9678
|
updated_at: string;
|
|
9372
9679
|
};
|
|
9373
9680
|
Insert: {
|
|
9681
|
+
attachments?: import("../integrations/supabase/types").Json;
|
|
9374
9682
|
body_html?: string | null;
|
|
9375
9683
|
body_text?: string | null;
|
|
9684
|
+
cc_recipients?: import("../integrations/supabase/types").Json;
|
|
9376
9685
|
connection_id?: string | null;
|
|
9377
9686
|
created_at?: string;
|
|
9378
9687
|
error_message?: string | null;
|
|
9379
9688
|
external_id?: string | null;
|
|
9380
9689
|
from_email?: string | null;
|
|
9381
9690
|
from_name?: string | null;
|
|
9691
|
+
has_attachments?: boolean;
|
|
9382
9692
|
id?: string;
|
|
9383
9693
|
message_id?: string | null;
|
|
9384
9694
|
profile_id?: string | null;
|
|
@@ -9386,18 +9696,22 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
9386
9696
|
received_at?: string | null;
|
|
9387
9697
|
status?: string;
|
|
9388
9698
|
subject?: string | null;
|
|
9699
|
+
to_recipients?: import("../integrations/supabase/types").Json;
|
|
9389
9700
|
uid?: number | null;
|
|
9390
9701
|
updated_at?: string;
|
|
9391
9702
|
};
|
|
9392
9703
|
Update: {
|
|
9704
|
+
attachments?: import("../integrations/supabase/types").Json;
|
|
9393
9705
|
body_html?: string | null;
|
|
9394
9706
|
body_text?: string | null;
|
|
9707
|
+
cc_recipients?: import("../integrations/supabase/types").Json;
|
|
9395
9708
|
connection_id?: string | null;
|
|
9396
9709
|
created_at?: string;
|
|
9397
9710
|
error_message?: string | null;
|
|
9398
9711
|
external_id?: string | null;
|
|
9399
9712
|
from_email?: string | null;
|
|
9400
9713
|
from_name?: string | null;
|
|
9714
|
+
has_attachments?: boolean;
|
|
9401
9715
|
id?: string;
|
|
9402
9716
|
message_id?: string | null;
|
|
9403
9717
|
profile_id?: string | null;
|
|
@@ -9405,6 +9719,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
9405
9719
|
received_at?: string | null;
|
|
9406
9720
|
status?: string;
|
|
9407
9721
|
subject?: string | null;
|
|
9722
|
+
to_recipients?: import("../integrations/supabase/types").Json;
|
|
9408
9723
|
uid?: number | null;
|
|
9409
9724
|
updated_at?: string;
|
|
9410
9725
|
};
|
|
@@ -9785,6 +10100,90 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
9785
10100
|
};
|
|
9786
10101
|
Relationships: [];
|
|
9787
10102
|
};
|
|
10103
|
+
material_usage: {
|
|
10104
|
+
Row: {
|
|
10105
|
+
created_at: string;
|
|
10106
|
+
id: string;
|
|
10107
|
+
material_name: string;
|
|
10108
|
+
monteur_id: string | null;
|
|
10109
|
+
price_at_time: number;
|
|
10110
|
+
quantity_used: number;
|
|
10111
|
+
updated_at: string;
|
|
10112
|
+
van_inventory_id: string | null;
|
|
10113
|
+
work_order_id: string;
|
|
10114
|
+
};
|
|
10115
|
+
Insert: {
|
|
10116
|
+
created_at?: string;
|
|
10117
|
+
id?: string;
|
|
10118
|
+
material_name: string;
|
|
10119
|
+
monteur_id?: string | null;
|
|
10120
|
+
price_at_time?: number;
|
|
10121
|
+
quantity_used?: number;
|
|
10122
|
+
updated_at?: string;
|
|
10123
|
+
van_inventory_id?: string | null;
|
|
10124
|
+
work_order_id: string;
|
|
10125
|
+
};
|
|
10126
|
+
Update: {
|
|
10127
|
+
created_at?: string;
|
|
10128
|
+
id?: string;
|
|
10129
|
+
material_name?: string;
|
|
10130
|
+
monteur_id?: string | null;
|
|
10131
|
+
price_at_time?: number;
|
|
10132
|
+
quantity_used?: number;
|
|
10133
|
+
updated_at?: string;
|
|
10134
|
+
van_inventory_id?: string | null;
|
|
10135
|
+
work_order_id?: string;
|
|
10136
|
+
};
|
|
10137
|
+
Relationships: [{
|
|
10138
|
+
foreignKeyName: "material_usage_monteur_id_fkey";
|
|
10139
|
+
columns: ["monteur_id"];
|
|
10140
|
+
isOneToOne: false;
|
|
10141
|
+
referencedRelation: "profiles";
|
|
10142
|
+
referencedColumns: ["id"];
|
|
10143
|
+
}, {
|
|
10144
|
+
foreignKeyName: "material_usage_van_inventory_id_fkey";
|
|
10145
|
+
columns: ["van_inventory_id"];
|
|
10146
|
+
isOneToOne: false;
|
|
10147
|
+
referencedRelation: "van_inventories";
|
|
10148
|
+
referencedColumns: ["id"];
|
|
10149
|
+
}, {
|
|
10150
|
+
foreignKeyName: "material_usage_work_order_id_fkey";
|
|
10151
|
+
columns: ["work_order_id"];
|
|
10152
|
+
isOneToOne: false;
|
|
10153
|
+
referencedRelation: "work_orders";
|
|
10154
|
+
referencedColumns: ["id"];
|
|
10155
|
+
}];
|
|
10156
|
+
};
|
|
10157
|
+
module_features: {
|
|
10158
|
+
Row: {
|
|
10159
|
+
created_at: string;
|
|
10160
|
+
feature_id: string;
|
|
10161
|
+
id: string;
|
|
10162
|
+
is_active: boolean;
|
|
10163
|
+
last_seen_at: string;
|
|
10164
|
+
module_id: string;
|
|
10165
|
+
name: string;
|
|
10166
|
+
};
|
|
10167
|
+
Insert: {
|
|
10168
|
+
created_at?: string;
|
|
10169
|
+
feature_id: string;
|
|
10170
|
+
id?: string;
|
|
10171
|
+
is_active?: boolean;
|
|
10172
|
+
last_seen_at?: string;
|
|
10173
|
+
module_id: string;
|
|
10174
|
+
name: string;
|
|
10175
|
+
};
|
|
10176
|
+
Update: {
|
|
10177
|
+
created_at?: string;
|
|
10178
|
+
feature_id?: string;
|
|
10179
|
+
id?: string;
|
|
10180
|
+
is_active?: boolean;
|
|
10181
|
+
last_seen_at?: string;
|
|
10182
|
+
module_id?: string;
|
|
10183
|
+
name?: string;
|
|
10184
|
+
};
|
|
10185
|
+
Relationships: [];
|
|
10186
|
+
};
|
|
9788
10187
|
module_permissions: {
|
|
9789
10188
|
Row: {
|
|
9790
10189
|
created_at: string;
|
|
@@ -9812,6 +10211,39 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
9812
10211
|
};
|
|
9813
10212
|
Relationships: [];
|
|
9814
10213
|
};
|
|
10214
|
+
module_registry: {
|
|
10215
|
+
Row: {
|
|
10216
|
+
created_at: string;
|
|
10217
|
+
enforce: boolean;
|
|
10218
|
+
is_active: boolean;
|
|
10219
|
+
last_seen_at: string;
|
|
10220
|
+
module_id: string;
|
|
10221
|
+
name: string;
|
|
10222
|
+
shell_id: string | null;
|
|
10223
|
+
sort_order: number | null;
|
|
10224
|
+
};
|
|
10225
|
+
Insert: {
|
|
10226
|
+
created_at?: string;
|
|
10227
|
+
enforce?: boolean;
|
|
10228
|
+
is_active?: boolean;
|
|
10229
|
+
last_seen_at?: string;
|
|
10230
|
+
module_id: string;
|
|
10231
|
+
name: string;
|
|
10232
|
+
shell_id?: string | null;
|
|
10233
|
+
sort_order?: number | null;
|
|
10234
|
+
};
|
|
10235
|
+
Update: {
|
|
10236
|
+
created_at?: string;
|
|
10237
|
+
enforce?: boolean;
|
|
10238
|
+
is_active?: boolean;
|
|
10239
|
+
last_seen_at?: string;
|
|
10240
|
+
module_id?: string;
|
|
10241
|
+
name?: string;
|
|
10242
|
+
shell_id?: string | null;
|
|
10243
|
+
sort_order?: number | null;
|
|
10244
|
+
};
|
|
10245
|
+
Relationships: [];
|
|
10246
|
+
};
|
|
9815
10247
|
module_runtime_config: {
|
|
9816
10248
|
Row: {
|
|
9817
10249
|
key: string;
|
|
@@ -9863,64 +10295,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
9863
10295
|
};
|
|
9864
10296
|
Relationships: [];
|
|
9865
10297
|
};
|
|
9866
|
-
|
|
9867
|
-
Row: {
|
|
9868
|
-
avatar_url: string | null;
|
|
9869
|
-
color: string | null;
|
|
9870
|
-
created_at: string;
|
|
9871
|
-
email: string | null;
|
|
9872
|
-
id: string;
|
|
9873
|
-
is_active: boolean;
|
|
9874
|
-
leave_balance_hours: number;
|
|
9875
|
-
name: string;
|
|
9876
|
-
persnr: number | null;
|
|
9877
|
-
phone: string | null;
|
|
9878
|
-
role: string;
|
|
9879
|
-
tenant_id: string;
|
|
9880
|
-
updated_at: string;
|
|
9881
|
-
user_id: string | null;
|
|
9882
|
-
};
|
|
9883
|
-
Insert: {
|
|
9884
|
-
avatar_url?: string | null;
|
|
9885
|
-
color?: string | null;
|
|
9886
|
-
created_at?: string;
|
|
9887
|
-
email?: string | null;
|
|
9888
|
-
id?: string;
|
|
9889
|
-
is_active?: boolean;
|
|
9890
|
-
leave_balance_hours?: number;
|
|
9891
|
-
name: string;
|
|
9892
|
-
persnr?: number | null;
|
|
9893
|
-
phone?: string | null;
|
|
9894
|
-
role?: string;
|
|
9895
|
-
tenant_id: string;
|
|
9896
|
-
updated_at?: string;
|
|
9897
|
-
user_id?: string | null;
|
|
9898
|
-
};
|
|
9899
|
-
Update: {
|
|
9900
|
-
avatar_url?: string | null;
|
|
9901
|
-
color?: string | null;
|
|
9902
|
-
created_at?: string;
|
|
9903
|
-
email?: string | null;
|
|
9904
|
-
id?: string;
|
|
9905
|
-
is_active?: boolean;
|
|
9906
|
-
leave_balance_hours?: number;
|
|
9907
|
-
name?: string;
|
|
9908
|
-
persnr?: number | null;
|
|
9909
|
-
phone?: string | null;
|
|
9910
|
-
role?: string;
|
|
9911
|
-
tenant_id?: string;
|
|
9912
|
-
updated_at?: string;
|
|
9913
|
-
user_id?: string | null;
|
|
9914
|
-
};
|
|
9915
|
-
Relationships: [{
|
|
9916
|
-
foreignKeyName: "monteurs_tenant_id_fkey";
|
|
9917
|
-
columns: ["tenant_id"];
|
|
9918
|
-
isOneToOne: false;
|
|
9919
|
-
referencedRelation: "tenants";
|
|
9920
|
-
referencedColumns: ["id"];
|
|
9921
|
-
}];
|
|
9922
|
-
};
|
|
9923
|
-
nmbrs_component_mapping: {
|
|
10298
|
+
nmbrs_component_mapping: {
|
|
9924
10299
|
Row: {
|
|
9925
10300
|
created_at: string;
|
|
9926
10301
|
id: string;
|
|
@@ -9990,13 +10365,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
9990
10365
|
nmbrs_employee_number?: string;
|
|
9991
10366
|
updated_at?: string;
|
|
9992
10367
|
};
|
|
9993
|
-
Relationships: [
|
|
9994
|
-
foreignKeyName: "nmbrs_employee_mapping_monteur_id_fkey";
|
|
9995
|
-
columns: ["monteur_id"];
|
|
9996
|
-
isOneToOne: true;
|
|
9997
|
-
referencedRelation: "monteurs";
|
|
9998
|
-
referencedColumns: ["id"];
|
|
9999
|
-
}];
|
|
10368
|
+
Relationships: [];
|
|
10000
10369
|
};
|
|
10001
10370
|
nmbrs_export_lines: {
|
|
10002
10371
|
Row: {
|
|
@@ -10045,12 +10414,6 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
10045
10414
|
wage_code?: string;
|
|
10046
10415
|
};
|
|
10047
10416
|
Relationships: [{
|
|
10048
|
-
foreignKeyName: "nmbrs_export_lines_monteur_id_fkey";
|
|
10049
|
-
columns: ["monteur_id"];
|
|
10050
|
-
isOneToOne: false;
|
|
10051
|
-
referencedRelation: "monteurs";
|
|
10052
|
-
referencedColumns: ["id"];
|
|
10053
|
-
}, {
|
|
10054
10417
|
foreignKeyName: "nmbrs_export_lines_run_id_fkey";
|
|
10055
10418
|
columns: ["run_id"];
|
|
10056
10419
|
isOneToOne: false;
|
|
@@ -10871,6 +11234,45 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
10871
11234
|
};
|
|
10872
11235
|
Relationships: [];
|
|
10873
11236
|
};
|
|
11237
|
+
order_invoice_links: {
|
|
11238
|
+
Row: {
|
|
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
|
+
Insert: {
|
|
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
|
+
Update: {
|
|
11263
|
+
attempts?: number;
|
|
11264
|
+
created_at?: string;
|
|
11265
|
+
error_message?: string | null;
|
|
11266
|
+
id?: string;
|
|
11267
|
+
invoice_number?: string | null;
|
|
11268
|
+
next_attempt_at?: string;
|
|
11269
|
+
order_id?: string;
|
|
11270
|
+
processed_at?: string | null;
|
|
11271
|
+
status?: string;
|
|
11272
|
+
updated_at?: string;
|
|
11273
|
+
};
|
|
11274
|
+
Relationships: [];
|
|
11275
|
+
};
|
|
10874
11276
|
order_items: {
|
|
10875
11277
|
Row: {
|
|
10876
11278
|
crates_per_layer: number | null;
|
|
@@ -11053,6 +11455,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
11053
11455
|
delivery_date: string | null;
|
|
11054
11456
|
floriday_sales_order_id: string | null;
|
|
11055
11457
|
id: string;
|
|
11458
|
+
invoice_due_at: string | null;
|
|
11056
11459
|
is_reservation: boolean;
|
|
11057
11460
|
notes: string | null;
|
|
11058
11461
|
order_date: string;
|
|
@@ -11074,6 +11477,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
11074
11477
|
delivery_date?: string | null;
|
|
11075
11478
|
floriday_sales_order_id?: string | null;
|
|
11076
11479
|
id?: string;
|
|
11480
|
+
invoice_due_at?: string | null;
|
|
11077
11481
|
is_reservation?: boolean;
|
|
11078
11482
|
notes?: string | null;
|
|
11079
11483
|
order_date?: string;
|
|
@@ -11095,6 +11499,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
11095
11499
|
delivery_date?: string | null;
|
|
11096
11500
|
floriday_sales_order_id?: string | null;
|
|
11097
11501
|
id?: string;
|
|
11502
|
+
invoice_due_at?: string | null;
|
|
11098
11503
|
is_reservation?: boolean;
|
|
11099
11504
|
notes?: string | null;
|
|
11100
11505
|
order_date?: string;
|
|
@@ -12291,22 +12696,27 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
12291
12696
|
created_at: string;
|
|
12292
12697
|
documentnaam: string;
|
|
12293
12698
|
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
12699
|
+
extern_job_id: string | null;
|
|
12294
12700
|
foutmelding: string | null;
|
|
12295
12701
|
gebruiker_id: string | null;
|
|
12296
12702
|
gebruiker_naam: string;
|
|
12297
12703
|
gestart_op: string | null;
|
|
12298
12704
|
id: string;
|
|
12705
|
+
idempotentie_sleutel: string | null;
|
|
12299
12706
|
is_herprint: boolean;
|
|
12300
12707
|
kopieen: number;
|
|
12301
12708
|
layout_id: string | null;
|
|
12302
12709
|
opgepakt_op: string | null;
|
|
12303
12710
|
paginas: number;
|
|
12304
12711
|
payload: import("../integrations/supabase/types").Json;
|
|
12712
|
+
pdf_base64: string | null;
|
|
12713
|
+
pdf_url: string | null;
|
|
12305
12714
|
pogingen: number;
|
|
12306
12715
|
printer_id: string | null;
|
|
12307
12716
|
render_html: string | null;
|
|
12308
12717
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
12309
12718
|
updated_at: string;
|
|
12719
|
+
volgende_poging: string | null;
|
|
12310
12720
|
voltooid_op: string | null;
|
|
12311
12721
|
};
|
|
12312
12722
|
Insert: {
|
|
@@ -12315,22 +12725,27 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
12315
12725
|
created_at?: string;
|
|
12316
12726
|
documentnaam?: string;
|
|
12317
12727
|
documenttype?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
12728
|
+
extern_job_id?: string | null;
|
|
12318
12729
|
foutmelding?: string | null;
|
|
12319
12730
|
gebruiker_id?: string | null;
|
|
12320
12731
|
gebruiker_naam?: string;
|
|
12321
12732
|
gestart_op?: string | null;
|
|
12322
12733
|
id?: string;
|
|
12734
|
+
idempotentie_sleutel?: string | null;
|
|
12323
12735
|
is_herprint?: boolean;
|
|
12324
12736
|
kopieen?: number;
|
|
12325
12737
|
layout_id?: string | null;
|
|
12326
12738
|
opgepakt_op?: string | null;
|
|
12327
12739
|
paginas?: number;
|
|
12328
12740
|
payload?: import("../integrations/supabase/types").Json;
|
|
12741
|
+
pdf_base64?: string | null;
|
|
12742
|
+
pdf_url?: string | null;
|
|
12329
12743
|
pogingen?: number;
|
|
12330
12744
|
printer_id?: string | null;
|
|
12331
12745
|
render_html?: string | null;
|
|
12332
12746
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
12333
12747
|
updated_at?: string;
|
|
12748
|
+
volgende_poging?: string | null;
|
|
12334
12749
|
voltooid_op?: string | null;
|
|
12335
12750
|
};
|
|
12336
12751
|
Update: {
|
|
@@ -12339,22 +12754,27 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
12339
12754
|
created_at?: string;
|
|
12340
12755
|
documentnaam?: string;
|
|
12341
12756
|
documenttype?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
12757
|
+
extern_job_id?: string | null;
|
|
12342
12758
|
foutmelding?: string | null;
|
|
12343
12759
|
gebruiker_id?: string | null;
|
|
12344
12760
|
gebruiker_naam?: string;
|
|
12345
12761
|
gestart_op?: string | null;
|
|
12346
12762
|
id?: string;
|
|
12763
|
+
idempotentie_sleutel?: string | null;
|
|
12347
12764
|
is_herprint?: boolean;
|
|
12348
12765
|
kopieen?: number;
|
|
12349
12766
|
layout_id?: string | null;
|
|
12350
12767
|
opgepakt_op?: string | null;
|
|
12351
12768
|
paginas?: number;
|
|
12352
12769
|
payload?: import("../integrations/supabase/types").Json;
|
|
12770
|
+
pdf_base64?: string | null;
|
|
12771
|
+
pdf_url?: string | null;
|
|
12353
12772
|
pogingen?: number;
|
|
12354
12773
|
printer_id?: string | null;
|
|
12355
12774
|
render_html?: string | null;
|
|
12356
12775
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
12357
12776
|
updated_at?: string;
|
|
12777
|
+
volgende_poging?: string | null;
|
|
12358
12778
|
voltooid_op?: string | null;
|
|
12359
12779
|
};
|
|
12360
12780
|
Relationships: [{
|
|
@@ -12377,6 +12797,72 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
12377
12797
|
referencedColumns: ["id"];
|
|
12378
12798
|
}];
|
|
12379
12799
|
};
|
|
12800
|
+
print_queue_runners: {
|
|
12801
|
+
Row: {
|
|
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
|
+
Insert: {
|
|
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
|
+
Update: {
|
|
12826
|
+
actief?: boolean;
|
|
12827
|
+
basis_url?: string;
|
|
12828
|
+
created_at?: string;
|
|
12829
|
+
id?: string;
|
|
12830
|
+
laatst_gezien?: string;
|
|
12831
|
+
laatste_fout?: string | null;
|
|
12832
|
+
laatste_request_id?: number | null;
|
|
12833
|
+
mislukte_posts?: number;
|
|
12834
|
+
tick_sleutel?: string;
|
|
12835
|
+
updated_at?: string;
|
|
12836
|
+
};
|
|
12837
|
+
Relationships: [];
|
|
12838
|
+
};
|
|
12839
|
+
print_queue_settings: {
|
|
12840
|
+
Row: {
|
|
12841
|
+
bewaar_bestanden_dagen: number;
|
|
12842
|
+
bewaar_opdrachten_dagen: number;
|
|
12843
|
+
created_at: string;
|
|
12844
|
+
dubbel_venster_minuten: number;
|
|
12845
|
+
id: string;
|
|
12846
|
+
updated_at: string;
|
|
12847
|
+
};
|
|
12848
|
+
Insert: {
|
|
12849
|
+
bewaar_bestanden_dagen?: number;
|
|
12850
|
+
bewaar_opdrachten_dagen?: number;
|
|
12851
|
+
created_at?: string;
|
|
12852
|
+
dubbel_venster_minuten?: number;
|
|
12853
|
+
id?: string;
|
|
12854
|
+
updated_at?: string;
|
|
12855
|
+
};
|
|
12856
|
+
Update: {
|
|
12857
|
+
bewaar_bestanden_dagen?: number;
|
|
12858
|
+
bewaar_opdrachten_dagen?: number;
|
|
12859
|
+
created_at?: string;
|
|
12860
|
+
dubbel_venster_minuten?: number;
|
|
12861
|
+
id?: string;
|
|
12862
|
+
updated_at?: string;
|
|
12863
|
+
};
|
|
12864
|
+
Relationships: [];
|
|
12865
|
+
};
|
|
12380
12866
|
print_rules: {
|
|
12381
12867
|
Row: {
|
|
12382
12868
|
actief: boolean;
|
|
@@ -12537,6 +13023,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
12537
13023
|
agent_id: string | null;
|
|
12538
13024
|
created_at: string;
|
|
12539
13025
|
driver: string;
|
|
13026
|
+
extern_printer_id: string | null;
|
|
12540
13027
|
id: string;
|
|
12541
13028
|
ip_adres: string | null;
|
|
12542
13029
|
laatst_gezien: string | null;
|
|
@@ -12558,6 +13045,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
12558
13045
|
agent_id?: string | null;
|
|
12559
13046
|
created_at?: string;
|
|
12560
13047
|
driver?: string;
|
|
13048
|
+
extern_printer_id?: string | null;
|
|
12561
13049
|
id?: string;
|
|
12562
13050
|
ip_adres?: string | null;
|
|
12563
13051
|
laatst_gezien?: string | null;
|
|
@@ -12579,6 +13067,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
12579
13067
|
agent_id?: string | null;
|
|
12580
13068
|
created_at?: string;
|
|
12581
13069
|
driver?: string;
|
|
13070
|
+
extern_printer_id?: string | null;
|
|
12582
13071
|
id?: string;
|
|
12583
13072
|
ip_adres?: string | null;
|
|
12584
13073
|
laatst_gezien?: string | null;
|
|
@@ -13850,6 +14339,96 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
13850
14339
|
referencedColumns: ["id"];
|
|
13851
14340
|
}];
|
|
13852
14341
|
};
|
|
14342
|
+
role_assignments: {
|
|
14343
|
+
Row: {
|
|
14344
|
+
created_at: string;
|
|
14345
|
+
id: string;
|
|
14346
|
+
role_id: string;
|
|
14347
|
+
user_id: string;
|
|
14348
|
+
};
|
|
14349
|
+
Insert: {
|
|
14350
|
+
created_at?: string;
|
|
14351
|
+
id?: string;
|
|
14352
|
+
role_id: string;
|
|
14353
|
+
user_id: string;
|
|
14354
|
+
};
|
|
14355
|
+
Update: {
|
|
14356
|
+
created_at?: string;
|
|
14357
|
+
id?: string;
|
|
14358
|
+
role_id?: string;
|
|
14359
|
+
user_id?: string;
|
|
14360
|
+
};
|
|
14361
|
+
Relationships: [{
|
|
14362
|
+
foreignKeyName: "role_assignments_role_id_fkey";
|
|
14363
|
+
columns: ["role_id"];
|
|
14364
|
+
isOneToOne: false;
|
|
14365
|
+
referencedRelation: "roles";
|
|
14366
|
+
referencedColumns: ["id"];
|
|
14367
|
+
}];
|
|
14368
|
+
};
|
|
14369
|
+
role_permissions: {
|
|
14370
|
+
Row: {
|
|
14371
|
+
can_edit: boolean;
|
|
14372
|
+
can_view: boolean;
|
|
14373
|
+
feature_id: string;
|
|
14374
|
+
id: string;
|
|
14375
|
+
module_id: string;
|
|
14376
|
+
role_id: string;
|
|
14377
|
+
updated_at: string;
|
|
14378
|
+
};
|
|
14379
|
+
Insert: {
|
|
14380
|
+
can_edit?: boolean;
|
|
14381
|
+
can_view?: boolean;
|
|
14382
|
+
feature_id?: string;
|
|
14383
|
+
id?: string;
|
|
14384
|
+
module_id: string;
|
|
14385
|
+
role_id: string;
|
|
14386
|
+
updated_at?: string;
|
|
14387
|
+
};
|
|
14388
|
+
Update: {
|
|
14389
|
+
can_edit?: boolean;
|
|
14390
|
+
can_view?: boolean;
|
|
14391
|
+
feature_id?: string;
|
|
14392
|
+
id?: string;
|
|
14393
|
+
module_id?: string;
|
|
14394
|
+
role_id?: string;
|
|
14395
|
+
updated_at?: string;
|
|
14396
|
+
};
|
|
14397
|
+
Relationships: [{
|
|
14398
|
+
foreignKeyName: "role_permissions_role_id_fkey";
|
|
14399
|
+
columns: ["role_id"];
|
|
14400
|
+
isOneToOne: false;
|
|
14401
|
+
referencedRelation: "roles";
|
|
14402
|
+
referencedColumns: ["id"];
|
|
14403
|
+
}];
|
|
14404
|
+
};
|
|
14405
|
+
roles: {
|
|
14406
|
+
Row: {
|
|
14407
|
+
created_at: string;
|
|
14408
|
+
id: string;
|
|
14409
|
+
is_protected: boolean;
|
|
14410
|
+
key: string;
|
|
14411
|
+
name: string;
|
|
14412
|
+
updated_at: string;
|
|
14413
|
+
};
|
|
14414
|
+
Insert: {
|
|
14415
|
+
created_at?: string;
|
|
14416
|
+
id?: string;
|
|
14417
|
+
is_protected?: boolean;
|
|
14418
|
+
key: string;
|
|
14419
|
+
name: string;
|
|
14420
|
+
updated_at?: string;
|
|
14421
|
+
};
|
|
14422
|
+
Update: {
|
|
14423
|
+
created_at?: string;
|
|
14424
|
+
id?: string;
|
|
14425
|
+
is_protected?: boolean;
|
|
14426
|
+
key?: string;
|
|
14427
|
+
name?: string;
|
|
14428
|
+
updated_at?: string;
|
|
14429
|
+
};
|
|
14430
|
+
Relationships: [];
|
|
14431
|
+
};
|
|
13853
14432
|
rooms: {
|
|
13854
14433
|
Row: {
|
|
13855
14434
|
capacity: number;
|
|
@@ -14519,99 +15098,252 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
14519
15098
|
};
|
|
14520
15099
|
Relationships: [];
|
|
14521
15100
|
};
|
|
14522
|
-
|
|
15101
|
+
time_compensation_entries: {
|
|
14523
15102
|
Row: {
|
|
14524
15103
|
created_at: string;
|
|
14525
15104
|
employee_id: string;
|
|
14526
15105
|
entry_date: string;
|
|
14527
|
-
hours: number;
|
|
14528
15106
|
id: string;
|
|
15107
|
+
km: number;
|
|
15108
|
+
meal_allowance: number;
|
|
14529
15109
|
notes: string | null;
|
|
14530
|
-
|
|
14531
|
-
|
|
15110
|
+
standby_evening: number;
|
|
15111
|
+
standby_weekend: number;
|
|
15112
|
+
tvt_change: number;
|
|
14532
15113
|
updated_at: string;
|
|
14533
15114
|
};
|
|
14534
15115
|
Insert: {
|
|
14535
15116
|
created_at?: string;
|
|
14536
15117
|
employee_id: string;
|
|
14537
15118
|
entry_date: string;
|
|
14538
|
-
hours?: number;
|
|
14539
15119
|
id?: string;
|
|
15120
|
+
km?: number;
|
|
15121
|
+
meal_allowance?: number;
|
|
14540
15122
|
notes?: string | null;
|
|
14541
|
-
|
|
14542
|
-
|
|
15123
|
+
standby_evening?: number;
|
|
15124
|
+
standby_weekend?: number;
|
|
15125
|
+
tvt_change?: number;
|
|
14543
15126
|
updated_at?: string;
|
|
14544
15127
|
};
|
|
14545
15128
|
Update: {
|
|
14546
15129
|
created_at?: string;
|
|
14547
15130
|
employee_id?: string;
|
|
14548
15131
|
entry_date?: string;
|
|
14549
|
-
hours?: number;
|
|
14550
15132
|
id?: string;
|
|
15133
|
+
km?: number;
|
|
15134
|
+
meal_allowance?: number;
|
|
14551
15135
|
notes?: string | null;
|
|
14552
|
-
|
|
14553
|
-
|
|
15136
|
+
standby_evening?: number;
|
|
15137
|
+
standby_weekend?: number;
|
|
15138
|
+
tvt_change?: number;
|
|
14554
15139
|
updated_at?: string;
|
|
14555
15140
|
};
|
|
14556
15141
|
Relationships: [{
|
|
14557
|
-
foreignKeyName: "
|
|
15142
|
+
foreignKeyName: "time_compensation_entries_employee_id_fkey";
|
|
14558
15143
|
columns: ["employee_id"];
|
|
14559
15144
|
isOneToOne: false;
|
|
14560
|
-
referencedRelation: "
|
|
15145
|
+
referencedRelation: "profiles";
|
|
14561
15146
|
referencedColumns: ["id"];
|
|
14562
15147
|
}];
|
|
14563
15148
|
};
|
|
14564
|
-
|
|
15149
|
+
time_entries: {
|
|
14565
15150
|
Row: {
|
|
14566
15151
|
created_at: string;
|
|
14567
15152
|
employee_id: string;
|
|
14568
|
-
|
|
15153
|
+
entry_date: string;
|
|
15154
|
+
hours: number;
|
|
14569
15155
|
id: string;
|
|
14570
15156
|
notes: string | null;
|
|
14571
|
-
|
|
14572
|
-
|
|
14573
|
-
regular_hours: number;
|
|
14574
|
-
start_time: string;
|
|
14575
|
-
travel_cost: number | null;
|
|
14576
|
-
travel_distance_km: number | null;
|
|
14577
|
-
type: string;
|
|
15157
|
+
overtime: number;
|
|
15158
|
+
undertime: number;
|
|
14578
15159
|
updated_at: string;
|
|
14579
15160
|
};
|
|
14580
15161
|
Insert: {
|
|
14581
15162
|
created_at?: string;
|
|
14582
15163
|
employee_id: string;
|
|
14583
|
-
|
|
15164
|
+
entry_date: string;
|
|
15165
|
+
hours?: number;
|
|
14584
15166
|
id?: string;
|
|
14585
15167
|
notes?: string | null;
|
|
14586
|
-
|
|
14587
|
-
|
|
14588
|
-
regular_hours?: number;
|
|
14589
|
-
start_time?: string;
|
|
14590
|
-
travel_cost?: number | null;
|
|
14591
|
-
travel_distance_km?: number | null;
|
|
14592
|
-
type: string;
|
|
15168
|
+
overtime?: number;
|
|
15169
|
+
undertime?: number;
|
|
14593
15170
|
updated_at?: string;
|
|
14594
15171
|
};
|
|
14595
15172
|
Update: {
|
|
14596
15173
|
created_at?: string;
|
|
14597
15174
|
employee_id?: string;
|
|
14598
|
-
|
|
15175
|
+
entry_date?: string;
|
|
15176
|
+
hours?: number;
|
|
14599
15177
|
id?: string;
|
|
14600
15178
|
notes?: string | null;
|
|
14601
|
-
|
|
14602
|
-
|
|
14603
|
-
regular_hours?: number;
|
|
14604
|
-
start_time?: string;
|
|
14605
|
-
travel_cost?: number | null;
|
|
14606
|
-
travel_distance_km?: number | null;
|
|
14607
|
-
type?: string;
|
|
15179
|
+
overtime?: number;
|
|
15180
|
+
undertime?: number;
|
|
14608
15181
|
updated_at?: string;
|
|
14609
15182
|
};
|
|
14610
|
-
Relationships: [
|
|
14611
|
-
|
|
15183
|
+
Relationships: [];
|
|
15184
|
+
};
|
|
15185
|
+
time_log_week_approvals: {
|
|
15186
|
+
Row: {
|
|
15187
|
+
approved_at: string | null;
|
|
15188
|
+
approved_by: string | null;
|
|
15189
|
+
created_at: string;
|
|
15190
|
+
employee_id: string;
|
|
15191
|
+
id: string;
|
|
15192
|
+
locked: boolean;
|
|
15193
|
+
notes: string | null;
|
|
15194
|
+
status: string;
|
|
15195
|
+
submitted_at: string | null;
|
|
15196
|
+
updated_at: string;
|
|
15197
|
+
week_start: string;
|
|
15198
|
+
};
|
|
15199
|
+
Insert: {
|
|
15200
|
+
approved_at?: string | null;
|
|
15201
|
+
approved_by?: string | null;
|
|
15202
|
+
created_at?: string;
|
|
15203
|
+
employee_id: string;
|
|
15204
|
+
id?: string;
|
|
15205
|
+
locked?: boolean;
|
|
15206
|
+
notes?: string | null;
|
|
15207
|
+
status?: string;
|
|
15208
|
+
submitted_at?: string | null;
|
|
15209
|
+
updated_at?: string;
|
|
15210
|
+
week_start: string;
|
|
15211
|
+
};
|
|
15212
|
+
Update: {
|
|
15213
|
+
approved_at?: string | null;
|
|
15214
|
+
approved_by?: string | null;
|
|
15215
|
+
created_at?: string;
|
|
15216
|
+
employee_id?: string;
|
|
15217
|
+
id?: string;
|
|
15218
|
+
locked?: boolean;
|
|
15219
|
+
notes?: string | null;
|
|
15220
|
+
status?: string;
|
|
15221
|
+
submitted_at?: string | null;
|
|
15222
|
+
updated_at?: string;
|
|
15223
|
+
week_start?: string;
|
|
15224
|
+
};
|
|
15225
|
+
Relationships: [{
|
|
15226
|
+
foreignKeyName: "time_log_week_approvals_employee_id_fkey";
|
|
15227
|
+
columns: ["employee_id"];
|
|
15228
|
+
isOneToOne: false;
|
|
15229
|
+
referencedRelation: "profiles";
|
|
15230
|
+
referencedColumns: ["id"];
|
|
15231
|
+
}];
|
|
15232
|
+
};
|
|
15233
|
+
time_logs: {
|
|
15234
|
+
Row: {
|
|
15235
|
+
auto_stop_reason: string | null;
|
|
15236
|
+
auto_stopped: boolean;
|
|
15237
|
+
created_at: string;
|
|
15238
|
+
current_latitude: number | null;
|
|
15239
|
+
current_longitude: number | null;
|
|
15240
|
+
current_position_updated_at: string | null;
|
|
15241
|
+
employee_id: string;
|
|
15242
|
+
end_latitude: number | null;
|
|
15243
|
+
end_longitude: number | null;
|
|
15244
|
+
end_time: string | null;
|
|
15245
|
+
eta_distance_km: number | null;
|
|
15246
|
+
eta_minutes: number | null;
|
|
15247
|
+
eta_updated_at: string | null;
|
|
15248
|
+
hour_category: string | null;
|
|
15249
|
+
id: string;
|
|
15250
|
+
last_reminder_at: string | null;
|
|
15251
|
+
notes: string | null;
|
|
15252
|
+
overtime_hours: number;
|
|
15253
|
+
overtime_type: string | null;
|
|
15254
|
+
regular_hours: number;
|
|
15255
|
+
reminder_count: number;
|
|
15256
|
+
requires_review: boolean;
|
|
15257
|
+
start_latitude: number | null;
|
|
15258
|
+
start_longitude: number | null;
|
|
15259
|
+
start_time: string;
|
|
15260
|
+
travel_cost: number | null;
|
|
15261
|
+
travel_distance_km: number | null;
|
|
15262
|
+
travel_duration_min: number | null;
|
|
15263
|
+
travel_time_minutes: number | null;
|
|
15264
|
+
type: string;
|
|
15265
|
+
updated_at: string;
|
|
15266
|
+
work_order_id: string | null;
|
|
15267
|
+
};
|
|
15268
|
+
Insert: {
|
|
15269
|
+
auto_stop_reason?: string | null;
|
|
15270
|
+
auto_stopped?: boolean;
|
|
15271
|
+
created_at?: string;
|
|
15272
|
+
current_latitude?: number | null;
|
|
15273
|
+
current_longitude?: number | null;
|
|
15274
|
+
current_position_updated_at?: string | null;
|
|
15275
|
+
employee_id: string;
|
|
15276
|
+
end_latitude?: number | null;
|
|
15277
|
+
end_longitude?: number | null;
|
|
15278
|
+
end_time?: string | null;
|
|
15279
|
+
eta_distance_km?: number | null;
|
|
15280
|
+
eta_minutes?: number | null;
|
|
15281
|
+
eta_updated_at?: string | null;
|
|
15282
|
+
hour_category?: string | null;
|
|
15283
|
+
id?: string;
|
|
15284
|
+
last_reminder_at?: string | null;
|
|
15285
|
+
notes?: string | null;
|
|
15286
|
+
overtime_hours?: number;
|
|
15287
|
+
overtime_type?: string | null;
|
|
15288
|
+
regular_hours?: number;
|
|
15289
|
+
reminder_count?: number;
|
|
15290
|
+
requires_review?: boolean;
|
|
15291
|
+
start_latitude?: number | null;
|
|
15292
|
+
start_longitude?: number | null;
|
|
15293
|
+
start_time?: string;
|
|
15294
|
+
travel_cost?: number | null;
|
|
15295
|
+
travel_distance_km?: number | null;
|
|
15296
|
+
travel_duration_min?: number | null;
|
|
15297
|
+
travel_time_minutes?: number | null;
|
|
15298
|
+
type: string;
|
|
15299
|
+
updated_at?: string;
|
|
15300
|
+
work_order_id?: string | null;
|
|
15301
|
+
};
|
|
15302
|
+
Update: {
|
|
15303
|
+
auto_stop_reason?: string | null;
|
|
15304
|
+
auto_stopped?: boolean;
|
|
15305
|
+
created_at?: string;
|
|
15306
|
+
current_latitude?: number | null;
|
|
15307
|
+
current_longitude?: number | null;
|
|
15308
|
+
current_position_updated_at?: string | null;
|
|
15309
|
+
employee_id?: string;
|
|
15310
|
+
end_latitude?: number | null;
|
|
15311
|
+
end_longitude?: number | null;
|
|
15312
|
+
end_time?: string | null;
|
|
15313
|
+
eta_distance_km?: number | null;
|
|
15314
|
+
eta_minutes?: number | null;
|
|
15315
|
+
eta_updated_at?: string | null;
|
|
15316
|
+
hour_category?: string | null;
|
|
15317
|
+
id?: string;
|
|
15318
|
+
last_reminder_at?: string | null;
|
|
15319
|
+
notes?: string | null;
|
|
15320
|
+
overtime_hours?: number;
|
|
15321
|
+
overtime_type?: string | null;
|
|
15322
|
+
regular_hours?: number;
|
|
15323
|
+
reminder_count?: number;
|
|
15324
|
+
requires_review?: boolean;
|
|
15325
|
+
start_latitude?: number | null;
|
|
15326
|
+
start_longitude?: number | null;
|
|
15327
|
+
start_time?: string;
|
|
15328
|
+
travel_cost?: number | null;
|
|
15329
|
+
travel_distance_km?: number | null;
|
|
15330
|
+
travel_duration_min?: number | null;
|
|
15331
|
+
travel_time_minutes?: number | null;
|
|
15332
|
+
type?: string;
|
|
15333
|
+
updated_at?: string;
|
|
15334
|
+
work_order_id?: string | null;
|
|
15335
|
+
};
|
|
15336
|
+
Relationships: [{
|
|
15337
|
+
foreignKeyName: "time_logs_employee_id_fkey";
|
|
14612
15338
|
columns: ["employee_id"];
|
|
14613
15339
|
isOneToOne: false;
|
|
14614
|
-
referencedRelation: "
|
|
15340
|
+
referencedRelation: "profiles";
|
|
15341
|
+
referencedColumns: ["id"];
|
|
15342
|
+
}, {
|
|
15343
|
+
foreignKeyName: "time_logs_work_order_id_fkey";
|
|
15344
|
+
columns: ["work_order_id"];
|
|
15345
|
+
isOneToOne: false;
|
|
15346
|
+
referencedRelation: "work_orders";
|
|
14615
15347
|
referencedColumns: ["id"];
|
|
14616
15348
|
}];
|
|
14617
15349
|
};
|
|
@@ -14650,7 +15382,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
14650
15382
|
foreignKeyName: "time_off_entries_employee_id_fkey";
|
|
14651
15383
|
columns: ["employee_id"];
|
|
14652
15384
|
isOneToOne: false;
|
|
14653
|
-
referencedRelation: "
|
|
15385
|
+
referencedRelation: "profiles";
|
|
14654
15386
|
referencedColumns: ["id"];
|
|
14655
15387
|
}];
|
|
14656
15388
|
};
|
|
@@ -14960,6 +15692,39 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
14960
15692
|
};
|
|
14961
15693
|
Relationships: [];
|
|
14962
15694
|
};
|
|
15695
|
+
twinfield_cron_locks: {
|
|
15696
|
+
Row: {
|
|
15697
|
+
created_at: string;
|
|
15698
|
+
heartbeat_at: string;
|
|
15699
|
+
job_name: string;
|
|
15700
|
+
last_error: string | null;
|
|
15701
|
+
last_finished_at: string | null;
|
|
15702
|
+
locked_at: string;
|
|
15703
|
+
run_id: string;
|
|
15704
|
+
updated_at: string;
|
|
15705
|
+
};
|
|
15706
|
+
Insert: {
|
|
15707
|
+
created_at?: string;
|
|
15708
|
+
heartbeat_at?: string;
|
|
15709
|
+
job_name: string;
|
|
15710
|
+
last_error?: string | null;
|
|
15711
|
+
last_finished_at?: string | null;
|
|
15712
|
+
locked_at?: string;
|
|
15713
|
+
run_id?: string;
|
|
15714
|
+
updated_at?: string;
|
|
15715
|
+
};
|
|
15716
|
+
Update: {
|
|
15717
|
+
created_at?: string;
|
|
15718
|
+
heartbeat_at?: string;
|
|
15719
|
+
job_name?: string;
|
|
15720
|
+
last_error?: string | null;
|
|
15721
|
+
last_finished_at?: string | null;
|
|
15722
|
+
locked_at?: string;
|
|
15723
|
+
run_id?: string;
|
|
15724
|
+
updated_at?: string;
|
|
15725
|
+
};
|
|
15726
|
+
Relationships: [];
|
|
15727
|
+
};
|
|
14963
15728
|
twinfield_customers: {
|
|
14964
15729
|
Row: {
|
|
14965
15730
|
address: string | null;
|
|
@@ -15214,6 +15979,8 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
15214
15979
|
};
|
|
15215
15980
|
twinfield_invoice_settings: {
|
|
15216
15981
|
Row: {
|
|
15982
|
+
auto_invoice_enabled: boolean;
|
|
15983
|
+
auto_invoice_trigger_statuses: string[];
|
|
15217
15984
|
created_at: string;
|
|
15218
15985
|
debtor_gl_account: string;
|
|
15219
15986
|
default_credit_invoice_type: string | null;
|
|
@@ -15234,6 +16001,8 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
15234
16001
|
vat_code_export: string | null;
|
|
15235
16002
|
};
|
|
15236
16003
|
Insert: {
|
|
16004
|
+
auto_invoice_enabled?: boolean;
|
|
16005
|
+
auto_invoice_trigger_statuses?: string[];
|
|
15237
16006
|
created_at?: string;
|
|
15238
16007
|
debtor_gl_account?: string;
|
|
15239
16008
|
default_credit_invoice_type?: string | null;
|
|
@@ -15254,6 +16023,8 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
15254
16023
|
vat_code_export?: string | null;
|
|
15255
16024
|
};
|
|
15256
16025
|
Update: {
|
|
16026
|
+
auto_invoice_enabled?: boolean;
|
|
16027
|
+
auto_invoice_trigger_statuses?: string[];
|
|
15257
16028
|
created_at?: string;
|
|
15258
16029
|
debtor_gl_account?: string;
|
|
15259
16030
|
default_credit_invoice_type?: string | null;
|
|
@@ -15554,6 +16325,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
15554
16325
|
twinfield_push_queue: {
|
|
15555
16326
|
Row: {
|
|
15556
16327
|
action: string;
|
|
16328
|
+
attempt_started_at: string | null;
|
|
15557
16329
|
attempts: number;
|
|
15558
16330
|
connection_id: string | null;
|
|
15559
16331
|
created_at: string;
|
|
@@ -15570,6 +16342,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
15570
16342
|
};
|
|
15571
16343
|
Insert: {
|
|
15572
16344
|
action?: string;
|
|
16345
|
+
attempt_started_at?: string | null;
|
|
15573
16346
|
attempts?: number;
|
|
15574
16347
|
connection_id?: string | null;
|
|
15575
16348
|
created_at?: string;
|
|
@@ -15586,6 +16359,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
15586
16359
|
};
|
|
15587
16360
|
Update: {
|
|
15588
16361
|
action?: string;
|
|
16362
|
+
attempt_started_at?: string | null;
|
|
15589
16363
|
attempts?: number;
|
|
15590
16364
|
connection_id?: string | null;
|
|
15591
16365
|
created_at?: string;
|
|
@@ -15783,13 +16557,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
15783
16557
|
workday_end?: string | null;
|
|
15784
16558
|
workday_start?: string | null;
|
|
15785
16559
|
};
|
|
15786
|
-
Relationships: [
|
|
15787
|
-
foreignKeyName: "uren_cao_profiles_monteur_id_fkey";
|
|
15788
|
-
columns: ["monteur_id"];
|
|
15789
|
-
isOneToOne: true;
|
|
15790
|
-
referencedRelation: "monteurs";
|
|
15791
|
-
referencedColumns: ["id"];
|
|
15792
|
-
}];
|
|
16560
|
+
Relationships: [];
|
|
15793
16561
|
};
|
|
15794
16562
|
uren_entries: {
|
|
15795
16563
|
Row: {
|
|
@@ -15835,12 +16603,6 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
15835
16603
|
werkbon_id?: string | null;
|
|
15836
16604
|
};
|
|
15837
16605
|
Relationships: [{
|
|
15838
|
-
foreignKeyName: "uren_entries_monteur_id_fkey";
|
|
15839
|
-
columns: ["monteur_id"];
|
|
15840
|
-
isOneToOne: false;
|
|
15841
|
-
referencedRelation: "monteurs";
|
|
15842
|
-
referencedColumns: ["id"];
|
|
15843
|
-
}, {
|
|
15844
16606
|
foreignKeyName: "uren_entries_werkbon_id_fkey";
|
|
15845
16607
|
columns: ["werkbon_id"];
|
|
15846
16608
|
isOneToOne: false;
|
|
@@ -16308,13 +17070,37 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
16308
17070
|
submitted_at?: string | null;
|
|
16309
17071
|
updated_at?: string;
|
|
16310
17072
|
};
|
|
16311
|
-
Relationships: [
|
|
16312
|
-
|
|
16313
|
-
|
|
16314
|
-
|
|
16315
|
-
|
|
16316
|
-
|
|
16317
|
-
|
|
17073
|
+
Relationships: [];
|
|
17074
|
+
};
|
|
17075
|
+
user_module_permissions: {
|
|
17076
|
+
Row: {
|
|
17077
|
+
created_at: string;
|
|
17078
|
+
feature_id: string;
|
|
17079
|
+
id: string;
|
|
17080
|
+
module_id: string;
|
|
17081
|
+
permission: string;
|
|
17082
|
+
updated_at: string;
|
|
17083
|
+
user_id: string;
|
|
17084
|
+
};
|
|
17085
|
+
Insert: {
|
|
17086
|
+
created_at?: string;
|
|
17087
|
+
feature_id?: string;
|
|
17088
|
+
id?: string;
|
|
17089
|
+
module_id: string;
|
|
17090
|
+
permission: string;
|
|
17091
|
+
updated_at?: string;
|
|
17092
|
+
user_id: string;
|
|
17093
|
+
};
|
|
17094
|
+
Update: {
|
|
17095
|
+
created_at?: string;
|
|
17096
|
+
feature_id?: string;
|
|
17097
|
+
id?: string;
|
|
17098
|
+
module_id?: string;
|
|
17099
|
+
permission?: string;
|
|
17100
|
+
updated_at?: string;
|
|
17101
|
+
user_id?: string;
|
|
17102
|
+
};
|
|
17103
|
+
Relationships: [];
|
|
16318
17104
|
};
|
|
16319
17105
|
user_roles: {
|
|
16320
17106
|
Row: {
|
|
@@ -16343,6 +17129,51 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
16343
17129
|
referencedColumns: ["id"];
|
|
16344
17130
|
}];
|
|
16345
17131
|
};
|
|
17132
|
+
van_inventories: {
|
|
17133
|
+
Row: {
|
|
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
|
+
Insert: {
|
|
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
|
+
Update: {
|
|
17158
|
+
barcode?: string | null;
|
|
17159
|
+
created_at?: string;
|
|
17160
|
+
id?: string;
|
|
17161
|
+
monteur_id?: string | null;
|
|
17162
|
+
price_per_unit?: number;
|
|
17163
|
+
product_name?: string;
|
|
17164
|
+
quantity_current?: number;
|
|
17165
|
+
quantity_min?: number;
|
|
17166
|
+
unit?: string;
|
|
17167
|
+
updated_at?: string;
|
|
17168
|
+
};
|
|
17169
|
+
Relationships: [{
|
|
17170
|
+
foreignKeyName: "van_inventories_monteur_id_fkey";
|
|
17171
|
+
columns: ["monteur_id"];
|
|
17172
|
+
isOneToOne: false;
|
|
17173
|
+
referencedRelation: "profiles";
|
|
17174
|
+
referencedColumns: ["id"];
|
|
17175
|
+
}];
|
|
17176
|
+
};
|
|
16346
17177
|
voorraad_custom_fields: {
|
|
16347
17178
|
Row: {
|
|
16348
17179
|
created_at: string;
|
|
@@ -17293,7 +18124,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
17293
18124
|
foreignKeyName: "work_order_monteurs_monteur_id_fkey";
|
|
17294
18125
|
columns: ["monteur_id"];
|
|
17295
18126
|
isOneToOne: false;
|
|
17296
|
-
referencedRelation: "
|
|
18127
|
+
referencedRelation: "profiles";
|
|
17297
18128
|
referencedColumns: ["id"];
|
|
17298
18129
|
}, {
|
|
17299
18130
|
foreignKeyName: "work_order_monteurs_work_order_id_fkey";
|
|
@@ -17303,6 +18134,60 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
17303
18134
|
referencedColumns: ["id"];
|
|
17304
18135
|
}];
|
|
17305
18136
|
};
|
|
18137
|
+
work_order_photos: {
|
|
18138
|
+
Row: {
|
|
18139
|
+
ai_caption: string | null;
|
|
18140
|
+
ai_categorized_at: string | null;
|
|
18141
|
+
ai_labels: import("../integrations/supabase/types").Json | null;
|
|
18142
|
+
caption: string | null;
|
|
18143
|
+
created_at: string;
|
|
18144
|
+
id: string;
|
|
18145
|
+
monteur_id: string | null;
|
|
18146
|
+
photo_type: string;
|
|
18147
|
+
storage_path: string;
|
|
18148
|
+
updated_at: string;
|
|
18149
|
+
work_order_id: string;
|
|
18150
|
+
};
|
|
18151
|
+
Insert: {
|
|
18152
|
+
ai_caption?: string | null;
|
|
18153
|
+
ai_categorized_at?: string | null;
|
|
18154
|
+
ai_labels?: import("../integrations/supabase/types").Json | null;
|
|
18155
|
+
caption?: string | null;
|
|
18156
|
+
created_at?: string;
|
|
18157
|
+
id?: string;
|
|
18158
|
+
monteur_id?: string | null;
|
|
18159
|
+
photo_type?: string;
|
|
18160
|
+
storage_path: string;
|
|
18161
|
+
updated_at?: string;
|
|
18162
|
+
work_order_id: string;
|
|
18163
|
+
};
|
|
18164
|
+
Update: {
|
|
18165
|
+
ai_caption?: string | null;
|
|
18166
|
+
ai_categorized_at?: string | null;
|
|
18167
|
+
ai_labels?: import("../integrations/supabase/types").Json | null;
|
|
18168
|
+
caption?: string | null;
|
|
18169
|
+
created_at?: string;
|
|
18170
|
+
id?: string;
|
|
18171
|
+
monteur_id?: string | null;
|
|
18172
|
+
photo_type?: string;
|
|
18173
|
+
storage_path?: string;
|
|
18174
|
+
updated_at?: string;
|
|
18175
|
+
work_order_id?: string;
|
|
18176
|
+
};
|
|
18177
|
+
Relationships: [{
|
|
18178
|
+
foreignKeyName: "work_order_photos_monteur_id_fkey";
|
|
18179
|
+
columns: ["monteur_id"];
|
|
18180
|
+
isOneToOne: false;
|
|
18181
|
+
referencedRelation: "profiles";
|
|
18182
|
+
referencedColumns: ["id"];
|
|
18183
|
+
}, {
|
|
18184
|
+
foreignKeyName: "work_order_photos_work_order_id_fkey";
|
|
18185
|
+
columns: ["work_order_id"];
|
|
18186
|
+
isOneToOne: false;
|
|
18187
|
+
referencedRelation: "work_orders";
|
|
18188
|
+
referencedColumns: ["id"];
|
|
18189
|
+
}];
|
|
18190
|
+
};
|
|
17306
18191
|
work_orders: {
|
|
17307
18192
|
Row: {
|
|
17308
18193
|
assigned_to: string | null;
|
|
@@ -17334,7 +18219,6 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
17334
18219
|
scheduled_end_time: string | null;
|
|
17335
18220
|
scheduled_start_time: string | null;
|
|
17336
18221
|
status: string;
|
|
17337
|
-
tenant_id: string;
|
|
17338
18222
|
total_hours_worked: number | null;
|
|
17339
18223
|
total_price: number | null;
|
|
17340
18224
|
travel_time_minutes: number | null;
|
|
@@ -17372,7 +18256,6 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
17372
18256
|
scheduled_end_time?: string | null;
|
|
17373
18257
|
scheduled_start_time?: string | null;
|
|
17374
18258
|
status?: string;
|
|
17375
|
-
tenant_id: string;
|
|
17376
18259
|
total_hours_worked?: number | null;
|
|
17377
18260
|
total_price?: number | null;
|
|
17378
18261
|
travel_time_minutes?: number | null;
|
|
@@ -17410,7 +18293,6 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
17410
18293
|
scheduled_end_time?: string | null;
|
|
17411
18294
|
scheduled_start_time?: string | null;
|
|
17412
18295
|
status?: string;
|
|
17413
|
-
tenant_id?: string;
|
|
17414
18296
|
total_hours_worked?: number | null;
|
|
17415
18297
|
total_price?: number | null;
|
|
17416
18298
|
travel_time_minutes?: number | null;
|
|
@@ -17424,12 +18306,6 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
17424
18306
|
isOneToOne: false;
|
|
17425
18307
|
referencedRelation: "work_orders";
|
|
17426
18308
|
referencedColumns: ["id"];
|
|
17427
|
-
}, {
|
|
17428
|
-
foreignKeyName: "work_orders_tenant_id_fkey";
|
|
17429
|
-
columns: ["tenant_id"];
|
|
17430
|
-
isOneToOne: false;
|
|
17431
|
-
referencedRelation: "tenants";
|
|
17432
|
-
referencedColumns: ["id"];
|
|
17433
18309
|
}];
|
|
17434
18310
|
};
|
|
17435
18311
|
};
|
|
@@ -18114,6 +18990,19 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
18114
18990
|
};
|
|
18115
18991
|
Returns: undefined;
|
|
18116
18992
|
};
|
|
18993
|
+
approve_mailbox_order_proposal: {
|
|
18994
|
+
Args: {
|
|
18995
|
+
p_custom_fields: import("../integrations/supabase/types").Json;
|
|
18996
|
+
p_customer_id: string;
|
|
18997
|
+
p_delivery_date: string;
|
|
18998
|
+
p_field_values?: import("../integrations/supabase/types").Json;
|
|
18999
|
+
p_lines: import("../integrations/supabase/types").Json;
|
|
19000
|
+
p_notes: string;
|
|
19001
|
+
p_proposal_id: string;
|
|
19002
|
+
p_reviewed_by: string;
|
|
19003
|
+
};
|
|
19004
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
19005
|
+
};
|
|
18117
19006
|
assign_cart_numbers: {
|
|
18118
19007
|
Args: {
|
|
18119
19008
|
p_carts: import("../integrations/supabase/types").Json;
|
|
@@ -18149,6 +19038,10 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
18149
19038
|
processed_items: number;
|
|
18150
19039
|
}[];
|
|
18151
19040
|
};
|
|
19041
|
+
backfill_order_auto_invoice_queue: {
|
|
19042
|
+
Args: never;
|
|
19043
|
+
Returns: number;
|
|
19044
|
+
};
|
|
18152
19045
|
calculate_layer_stock: {
|
|
18153
19046
|
Args: {
|
|
18154
19047
|
p_product_id: string;
|
|
@@ -18161,6 +19054,10 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
18161
19054
|
};
|
|
18162
19055
|
Returns: number;
|
|
18163
19056
|
};
|
|
19057
|
+
can_manage_hours: {
|
|
19058
|
+
Args: never;
|
|
19059
|
+
Returns: boolean;
|
|
19060
|
+
};
|
|
18164
19061
|
check_offer_product_available_stock: {
|
|
18165
19062
|
Args: {
|
|
18166
19063
|
p_campaign_product_id: string;
|
|
@@ -18183,7 +19080,78 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
18183
19080
|
};
|
|
18184
19081
|
Returns: import("../integrations/supabase/types").Json;
|
|
18185
19082
|
};
|
|
18186
|
-
|
|
19083
|
+
claim_cloud_print_jobs: {
|
|
19084
|
+
Args: {
|
|
19085
|
+
_max?: number;
|
|
19086
|
+
};
|
|
19087
|
+
Returns: {
|
|
19088
|
+
agent_id: string | null;
|
|
19089
|
+
bron_job_id: string | null;
|
|
19090
|
+
created_at: string;
|
|
19091
|
+
documentnaam: string;
|
|
19092
|
+
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
19093
|
+
extern_job_id: string | null;
|
|
19094
|
+
foutmelding: string | null;
|
|
19095
|
+
gebruiker_id: string | null;
|
|
19096
|
+
gebruiker_naam: string;
|
|
19097
|
+
gestart_op: string | null;
|
|
19098
|
+
id: string;
|
|
19099
|
+
idempotentie_sleutel: string | null;
|
|
19100
|
+
is_herprint: boolean;
|
|
19101
|
+
kopieen: number;
|
|
19102
|
+
layout_id: string | null;
|
|
19103
|
+
opgepakt_op: string | null;
|
|
19104
|
+
paginas: number;
|
|
19105
|
+
payload: import("../integrations/supabase/types").Json;
|
|
19106
|
+
pdf_base64: string | null;
|
|
19107
|
+
pdf_url: string | null;
|
|
19108
|
+
pogingen: number;
|
|
19109
|
+
printer_id: string | null;
|
|
19110
|
+
render_html: string | null;
|
|
19111
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
19112
|
+
updated_at: string;
|
|
19113
|
+
volgende_poging: string | null;
|
|
19114
|
+
voltooid_op: string | null;
|
|
19115
|
+
}[];
|
|
19116
|
+
SetofOptions: {
|
|
19117
|
+
from: "*";
|
|
19118
|
+
to: "print_jobs";
|
|
19119
|
+
isOneToOne: false;
|
|
19120
|
+
isSetofReturn: true;
|
|
19121
|
+
};
|
|
19122
|
+
};
|
|
19123
|
+
claim_floriday_stock_queue: {
|
|
19124
|
+
Args: {
|
|
19125
|
+
p_limit?: number;
|
|
19126
|
+
p_worker?: string;
|
|
19127
|
+
};
|
|
19128
|
+
Returns: {
|
|
19129
|
+
attempts: number;
|
|
19130
|
+
connection_id: string;
|
|
19131
|
+
created_at: string;
|
|
19132
|
+
desired_available: boolean | null;
|
|
19133
|
+
gateway_attempt_id: string | null;
|
|
19134
|
+
id: string;
|
|
19135
|
+
last_error: string | null;
|
|
19136
|
+
locked_at: string | null;
|
|
19137
|
+
locked_by: string | null;
|
|
19138
|
+
next_attempt_at: string;
|
|
19139
|
+
number_of_pieces: number;
|
|
19140
|
+
sent_at: string | null;
|
|
19141
|
+
status: string;
|
|
19142
|
+
superseded_by: string | null;
|
|
19143
|
+
trade_item_id: string;
|
|
19144
|
+
updated_at: string;
|
|
19145
|
+
user_id: string;
|
|
19146
|
+
}[];
|
|
19147
|
+
SetofOptions: {
|
|
19148
|
+
from: "*";
|
|
19149
|
+
to: "floriday_continuous_stock_queue";
|
|
19150
|
+
isOneToOne: false;
|
|
19151
|
+
isSetofReturn: true;
|
|
19152
|
+
};
|
|
19153
|
+
};
|
|
19154
|
+
claim_logistics_tasks: {
|
|
18187
19155
|
Args: {
|
|
18188
19156
|
_limit?: number;
|
|
18189
19157
|
_owner_module: string;
|
|
@@ -18242,22 +19210,27 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
18242
19210
|
created_at: string;
|
|
18243
19211
|
documentnaam: string;
|
|
18244
19212
|
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
19213
|
+
extern_job_id: string | null;
|
|
18245
19214
|
foutmelding: string | null;
|
|
18246
19215
|
gebruiker_id: string | null;
|
|
18247
19216
|
gebruiker_naam: string;
|
|
18248
19217
|
gestart_op: string | null;
|
|
18249
19218
|
id: string;
|
|
19219
|
+
idempotentie_sleutel: string | null;
|
|
18250
19220
|
is_herprint: boolean;
|
|
18251
19221
|
kopieen: number;
|
|
18252
19222
|
layout_id: string | null;
|
|
18253
19223
|
opgepakt_op: string | null;
|
|
18254
19224
|
paginas: number;
|
|
18255
19225
|
payload: import("../integrations/supabase/types").Json;
|
|
19226
|
+
pdf_base64: string | null;
|
|
19227
|
+
pdf_url: string | null;
|
|
18256
19228
|
pogingen: number;
|
|
18257
19229
|
printer_id: string | null;
|
|
18258
19230
|
render_html: string | null;
|
|
18259
19231
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
18260
19232
|
updated_at: string;
|
|
19233
|
+
volgende_poging: string | null;
|
|
18261
19234
|
voltooid_op: string | null;
|
|
18262
19235
|
}[];
|
|
18263
19236
|
SetofOptions: {
|
|
@@ -18274,6 +19247,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
18274
19247
|
};
|
|
18275
19248
|
Returns: {
|
|
18276
19249
|
action: string;
|
|
19250
|
+
attempt_started_at: string | null;
|
|
18277
19251
|
attempts: number;
|
|
18278
19252
|
connection_id: string | null;
|
|
18279
19253
|
created_at: string;
|
|
@@ -18295,10 +19269,28 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
18295
19269
|
isSetofReturn: true;
|
|
18296
19270
|
};
|
|
18297
19271
|
};
|
|
19272
|
+
cleanup_floriday_stock_queue: {
|
|
19273
|
+
Args: never;
|
|
19274
|
+
Returns: undefined;
|
|
19275
|
+
};
|
|
18298
19276
|
cleanup_old_bookings: {
|
|
18299
19277
|
Args: never;
|
|
18300
19278
|
Returns: undefined;
|
|
18301
19279
|
};
|
|
19280
|
+
cleanup_voorraad_module_history: {
|
|
19281
|
+
Args: never;
|
|
19282
|
+
Returns: undefined;
|
|
19283
|
+
};
|
|
19284
|
+
complete_floriday_stock_queue: {
|
|
19285
|
+
Args: {
|
|
19286
|
+
p_attempt_id?: string;
|
|
19287
|
+
p_error?: string;
|
|
19288
|
+
p_id: string;
|
|
19289
|
+
p_ok: boolean;
|
|
19290
|
+
p_permanent?: boolean;
|
|
19291
|
+
};
|
|
19292
|
+
Returns: undefined;
|
|
19293
|
+
};
|
|
18302
19294
|
consume_bom_for_production: {
|
|
18303
19295
|
Args: {
|
|
18304
19296
|
p_connection_id: string;
|
|
@@ -18343,6 +19335,30 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
18343
19335
|
agent_naam: string;
|
|
18344
19336
|
}[];
|
|
18345
19337
|
};
|
|
19338
|
+
consume_van_inventory: {
|
|
19339
|
+
Args: {
|
|
19340
|
+
p_inventory_id: string;
|
|
19341
|
+
p_quantity: number;
|
|
19342
|
+
};
|
|
19343
|
+
Returns: {
|
|
19344
|
+
barcode: string | null;
|
|
19345
|
+
created_at: string;
|
|
19346
|
+
id: string;
|
|
19347
|
+
monteur_id: string | null;
|
|
19348
|
+
price_per_unit: number;
|
|
19349
|
+
product_name: string;
|
|
19350
|
+
quantity_current: number;
|
|
19351
|
+
quantity_min: number;
|
|
19352
|
+
unit: string;
|
|
19353
|
+
updated_at: string;
|
|
19354
|
+
};
|
|
19355
|
+
SetofOptions: {
|
|
19356
|
+
from: "*";
|
|
19357
|
+
to: "van_inventories";
|
|
19358
|
+
isOneToOne: true;
|
|
19359
|
+
isSetofReturn: false;
|
|
19360
|
+
};
|
|
19361
|
+
};
|
|
18346
19362
|
control_get_todays_carts: {
|
|
18347
19363
|
Args: never;
|
|
18348
19364
|
Returns: {
|
|
@@ -18410,6 +19426,20 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
18410
19426
|
};
|
|
18411
19427
|
Returns: import("../integrations/supabase/types").Json;
|
|
18412
19428
|
};
|
|
19429
|
+
effective_module_permission: {
|
|
19430
|
+
Args: {
|
|
19431
|
+
_module_id: string;
|
|
19432
|
+
_user_id: string;
|
|
19433
|
+
};
|
|
19434
|
+
Returns: string;
|
|
19435
|
+
} | {
|
|
19436
|
+
Args: {
|
|
19437
|
+
_feature_id: string;
|
|
19438
|
+
_module_id: string;
|
|
19439
|
+
_user_id: string;
|
|
19440
|
+
};
|
|
19441
|
+
Returns: string;
|
|
19442
|
+
};
|
|
18413
19443
|
email_auth_decrypt: {
|
|
18414
19444
|
Args: {
|
|
18415
19445
|
cipher: string;
|
|
@@ -18760,12 +19790,6 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
18760
19790
|
Args: never;
|
|
18761
19791
|
Returns: string;
|
|
18762
19792
|
};
|
|
18763
|
-
get_work_order_tenant_id: {
|
|
18764
|
-
Args: {
|
|
18765
|
-
wo_id: string;
|
|
18766
|
-
};
|
|
18767
|
-
Returns: string;
|
|
18768
|
-
};
|
|
18769
19793
|
has_module_permission: {
|
|
18770
19794
|
Args: {
|
|
18771
19795
|
_min: string;
|
|
@@ -18799,6 +19823,13 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
18799
19823
|
};
|
|
18800
19824
|
Returns: boolean;
|
|
18801
19825
|
};
|
|
19826
|
+
is_time_log_week_locked: {
|
|
19827
|
+
Args: {
|
|
19828
|
+
p_employee_id: string;
|
|
19829
|
+
p_start_time: string;
|
|
19830
|
+
};
|
|
19831
|
+
Returns: boolean;
|
|
19832
|
+
};
|
|
18802
19833
|
is_user_admin: {
|
|
18803
19834
|
Args: never;
|
|
18804
19835
|
Returns: boolean;
|
|
@@ -18813,13 +19844,14 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
18813
19844
|
};
|
|
18814
19845
|
Returns: boolean;
|
|
18815
19846
|
};
|
|
18816
|
-
|
|
19847
|
+
list_medewerkers: {
|
|
18817
19848
|
Args: never;
|
|
18818
19849
|
Returns: {
|
|
18819
19850
|
avatar_url: string;
|
|
18820
19851
|
display_name: string;
|
|
18821
19852
|
email: string;
|
|
18822
19853
|
id: string;
|
|
19854
|
+
roles: string[];
|
|
18823
19855
|
}[];
|
|
18824
19856
|
};
|
|
18825
19857
|
list_my_planning_items: {
|
|
@@ -19213,6 +20245,51 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
19213
20245
|
isSetofReturn: false;
|
|
19214
20246
|
};
|
|
19215
20247
|
};
|
|
20248
|
+
logistics_floriday_claim_pushes: {
|
|
20249
|
+
Args: {
|
|
20250
|
+
_lease_seconds?: number;
|
|
20251
|
+
_limit?: number;
|
|
20252
|
+
_worker?: string;
|
|
20253
|
+
};
|
|
20254
|
+
Returns: {
|
|
20255
|
+
attempts: number;
|
|
20256
|
+
fulfillment_order_id: string;
|
|
20257
|
+
id: string;
|
|
20258
|
+
last_sent_hash: string;
|
|
20259
|
+
order_ref: string;
|
|
20260
|
+
payload: import("../integrations/supabase/types").Json;
|
|
20261
|
+
payload_hash: string;
|
|
20262
|
+
revision: number;
|
|
20263
|
+
}[];
|
|
20264
|
+
};
|
|
20265
|
+
logistics_floriday_finish_push: {
|
|
20266
|
+
Args: {
|
|
20267
|
+
_error?: string;
|
|
20268
|
+
_fulfillment_order_id?: string;
|
|
20269
|
+
_id: string;
|
|
20270
|
+
_max_age_hours?: number;
|
|
20271
|
+
_max_attempts?: number;
|
|
20272
|
+
_ok: boolean;
|
|
20273
|
+
_permanent?: boolean;
|
|
20274
|
+
_revision: number;
|
|
20275
|
+
_sent_hash?: string;
|
|
20276
|
+
};
|
|
20277
|
+
Returns: string;
|
|
20278
|
+
};
|
|
20279
|
+
logistics_floriday_prune_pushes: {
|
|
20280
|
+
Args: {
|
|
20281
|
+
_days?: number;
|
|
20282
|
+
};
|
|
20283
|
+
Returns: number;
|
|
20284
|
+
};
|
|
20285
|
+
logistics_floriday_queue_push: {
|
|
20286
|
+
Args: {
|
|
20287
|
+
_order_ref: string;
|
|
20288
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
20289
|
+
_payload_hash?: string;
|
|
20290
|
+
};
|
|
20291
|
+
Returns: string;
|
|
20292
|
+
};
|
|
19216
20293
|
logistics_live_carriers: {
|
|
19217
20294
|
Args: {
|
|
19218
20295
|
p_order_ref: string;
|
|
@@ -19265,6 +20342,65 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
19265
20342
|
};
|
|
19266
20343
|
Returns: number;
|
|
19267
20344
|
};
|
|
20345
|
+
logistics_plan_claim: {
|
|
20346
|
+
Args: {
|
|
20347
|
+
p_limit?: number;
|
|
20348
|
+
};
|
|
20349
|
+
Returns: {
|
|
20350
|
+
attempts: number;
|
|
20351
|
+
id: string;
|
|
20352
|
+
order_id: string;
|
|
20353
|
+
}[];
|
|
20354
|
+
};
|
|
20355
|
+
logistics_plan_enqueue: {
|
|
20356
|
+
Args: {
|
|
20357
|
+
p_order_id: string;
|
|
20358
|
+
p_reason?: string;
|
|
20359
|
+
};
|
|
20360
|
+
Returns: undefined;
|
|
20361
|
+
};
|
|
20362
|
+
logistics_plan_ensure_event: {
|
|
20363
|
+
Args: {
|
|
20364
|
+
p_order_id: string;
|
|
20365
|
+
};
|
|
20366
|
+
Returns: boolean;
|
|
20367
|
+
};
|
|
20368
|
+
logistics_plan_finish: {
|
|
20369
|
+
Args: {
|
|
20370
|
+
p_error?: string;
|
|
20371
|
+
p_id: string;
|
|
20372
|
+
};
|
|
20373
|
+
Returns: undefined;
|
|
20374
|
+
};
|
|
20375
|
+
logistics_plan_impact_orders: {
|
|
20376
|
+
Args: {
|
|
20377
|
+
p_order_id: string;
|
|
20378
|
+
};
|
|
20379
|
+
Returns: {
|
|
20380
|
+
buffer_id: string;
|
|
20381
|
+
order_id: string;
|
|
20382
|
+
plan_date: string;
|
|
20383
|
+
}[];
|
|
20384
|
+
};
|
|
20385
|
+
logistics_plan_kick: {
|
|
20386
|
+
Args: never;
|
|
20387
|
+
Returns: undefined;
|
|
20388
|
+
};
|
|
20389
|
+
logistics_plan_prune: {
|
|
20390
|
+
Args: never;
|
|
20391
|
+
Returns: number;
|
|
20392
|
+
};
|
|
20393
|
+
logistics_plan_release_stale: {
|
|
20394
|
+
Args: never;
|
|
20395
|
+
Returns: number;
|
|
20396
|
+
};
|
|
20397
|
+
logistics_plan_setting: {
|
|
20398
|
+
Args: {
|
|
20399
|
+
p_default: number;
|
|
20400
|
+
p_key: string;
|
|
20401
|
+
};
|
|
20402
|
+
Returns: number;
|
|
20403
|
+
};
|
|
19268
20404
|
logistics_queue_capacity_email: {
|
|
19269
20405
|
Args: {
|
|
19270
20406
|
p_alert_id: string;
|
|
@@ -19503,6 +20639,14 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
19503
20639
|
};
|
|
19504
20640
|
Returns: undefined;
|
|
19505
20641
|
};
|
|
20642
|
+
my_module_permissions: {
|
|
20643
|
+
Args: never;
|
|
20644
|
+
Returns: {
|
|
20645
|
+
feature_id: string;
|
|
20646
|
+
module_id: string;
|
|
20647
|
+
permission: string;
|
|
20648
|
+
}[];
|
|
20649
|
+
};
|
|
19506
20650
|
next_manufacture_partij: {
|
|
19507
20651
|
Args: {
|
|
19508
20652
|
_tenant_id: string;
|
|
@@ -19553,6 +20697,13 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
19553
20697
|
};
|
|
19554
20698
|
Returns: boolean;
|
|
19555
20699
|
};
|
|
20700
|
+
opruim_print_historie: {
|
|
20701
|
+
Args: never;
|
|
20702
|
+
Returns: {
|
|
20703
|
+
ontdaan: number;
|
|
20704
|
+
verwijderd: number;
|
|
20705
|
+
}[];
|
|
20706
|
+
};
|
|
19556
20707
|
order_number_prefix: {
|
|
19557
20708
|
Args: {
|
|
19558
20709
|
p_custom_fields?: import("../integrations/supabase/types").Json;
|
|
@@ -19560,6 +20711,15 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
19560
20711
|
};
|
|
19561
20712
|
Returns: string;
|
|
19562
20713
|
};
|
|
20714
|
+
pick_active_printers: {
|
|
20715
|
+
Args: never;
|
|
20716
|
+
Returns: {
|
|
20717
|
+
id: string;
|
|
20718
|
+
locatie: string;
|
|
20719
|
+
naam: string;
|
|
20720
|
+
online: boolean;
|
|
20721
|
+
}[];
|
|
20722
|
+
};
|
|
19563
20723
|
pick_claim_document: {
|
|
19564
20724
|
Args: {
|
|
19565
20725
|
_queue_item_id: string;
|
|
@@ -19746,6 +20906,52 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
19746
20906
|
};
|
|
19747
20907
|
Returns: undefined;
|
|
19748
20908
|
};
|
|
20909
|
+
pick_reset_print: {
|
|
20910
|
+
Args: {
|
|
20911
|
+
_queue_item_id: string;
|
|
20912
|
+
_session_id: string;
|
|
20913
|
+
};
|
|
20914
|
+
Returns: {
|
|
20915
|
+
announced_at: string;
|
|
20916
|
+
assigned_user_id: string | null;
|
|
20917
|
+
barcode: string | null;
|
|
20918
|
+
cancelled_at: string | null;
|
|
20919
|
+
cart_count: number;
|
|
20920
|
+
completed_at: string | null;
|
|
20921
|
+
country_code: string | null;
|
|
20922
|
+
created_at: string;
|
|
20923
|
+
customer_name: string | null;
|
|
20924
|
+
delivery_address: string | null;
|
|
20925
|
+
document_number: string | null;
|
|
20926
|
+
document_type_id: string | null;
|
|
20927
|
+
due_at: string | null;
|
|
20928
|
+
id: string;
|
|
20929
|
+
is_urgent: boolean;
|
|
20930
|
+
line_count: number;
|
|
20931
|
+
order_number: string | null;
|
|
20932
|
+
order_type: string | null;
|
|
20933
|
+
payload: import("../integrations/supabase/types").Json;
|
|
20934
|
+
print_count: number;
|
|
20935
|
+
print_job_id: string | null;
|
|
20936
|
+
printed_at: string | null;
|
|
20937
|
+
printed_by: string | null;
|
|
20938
|
+
printer_id: string | null;
|
|
20939
|
+
priority: number;
|
|
20940
|
+
reference: string | null;
|
|
20941
|
+
route: string | null;
|
|
20942
|
+
screen_id: string | null;
|
|
20943
|
+
station_id: string | null;
|
|
20944
|
+
status_id: string | null;
|
|
20945
|
+
updated_at: string;
|
|
20946
|
+
warnings: import("../integrations/supabase/types").Json;
|
|
20947
|
+
};
|
|
20948
|
+
SetofOptions: {
|
|
20949
|
+
from: "*";
|
|
20950
|
+
to: "pick_queue";
|
|
20951
|
+
isOneToOne: true;
|
|
20952
|
+
isSetofReturn: false;
|
|
20953
|
+
};
|
|
20954
|
+
};
|
|
19749
20955
|
pick_station_dashboard: {
|
|
19750
20956
|
Args: never;
|
|
19751
20957
|
Returns: {
|
|
@@ -19892,6 +21098,12 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
19892
21098
|
};
|
|
19893
21099
|
Returns: undefined;
|
|
19894
21100
|
};
|
|
21101
|
+
reset_stalled_floriday_stock_queue: {
|
|
21102
|
+
Args: {
|
|
21103
|
+
p_include_failed?: boolean;
|
|
21104
|
+
};
|
|
21105
|
+
Returns: number;
|
|
21106
|
+
};
|
|
19895
21107
|
resolve_group_allocation: {
|
|
19896
21108
|
Args: {
|
|
19897
21109
|
_needed: number;
|
|
@@ -19936,14 +21148,28 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
19936
21148
|
};
|
|
19937
21149
|
Returns: import("../integrations/supabase/types").Json;
|
|
19938
21150
|
};
|
|
21151
|
+
ruim_print_jobs_op: {
|
|
21152
|
+
Args: {
|
|
21153
|
+
_bewaar_dagen?: number;
|
|
21154
|
+
};
|
|
21155
|
+
Returns: number;
|
|
21156
|
+
};
|
|
19939
21157
|
run_floriday_continuous_stock_sync: {
|
|
19940
21158
|
Args: never;
|
|
19941
21159
|
Returns: undefined;
|
|
19942
21160
|
};
|
|
21161
|
+
run_floriday_stock_queue_process: {
|
|
21162
|
+
Args: never;
|
|
21163
|
+
Returns: undefined;
|
|
21164
|
+
};
|
|
19943
21165
|
run_logistics_tasks_dispatch: {
|
|
19944
21166
|
Args: never;
|
|
19945
21167
|
Returns: undefined;
|
|
19946
21168
|
};
|
|
21169
|
+
run_print_queue_ticks: {
|
|
21170
|
+
Args: never;
|
|
21171
|
+
Returns: number;
|
|
21172
|
+
};
|
|
19947
21173
|
run_twinfield_queue_tick: {
|
|
19948
21174
|
Args: never;
|
|
19949
21175
|
Returns: undefined;
|
|
@@ -20184,6 +21410,13 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
20184
21410
|
};
|
|
20185
21411
|
Returns: number;
|
|
20186
21412
|
};
|
|
21413
|
+
schedule_floriday_stock_queue_process: {
|
|
21414
|
+
Args: {
|
|
21415
|
+
p_apikey: string;
|
|
21416
|
+
p_url: string;
|
|
21417
|
+
};
|
|
21418
|
+
Returns: number;
|
|
21419
|
+
};
|
|
20187
21420
|
schedule_floriday_token_refresh: {
|
|
20188
21421
|
Args: {
|
|
20189
21422
|
p_apikey: string;
|
|
@@ -20290,6 +21523,16 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
20290
21523
|
};
|
|
20291
21524
|
Returns: string[];
|
|
20292
21525
|
};
|
|
21526
|
+
switch_time_log: {
|
|
21527
|
+
Args: {
|
|
21528
|
+
p_employee_id: string;
|
|
21529
|
+
p_start_lat?: number;
|
|
21530
|
+
p_start_lng?: number;
|
|
21531
|
+
p_type: string;
|
|
21532
|
+
p_work_order_id?: string;
|
|
21533
|
+
};
|
|
21534
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21535
|
+
};
|
|
20293
21536
|
sync_all_layer_stocks: {
|
|
20294
21537
|
Args: never;
|
|
20295
21538
|
Returns: undefined;
|
|
@@ -20324,6 +21567,15 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
20324
21567
|
};
|
|
20325
21568
|
Returns: undefined;
|
|
20326
21569
|
};
|
|
21570
|
+
trade_item_stock_duplicates: {
|
|
21571
|
+
Args: never;
|
|
21572
|
+
Returns: {
|
|
21573
|
+
keys: string[];
|
|
21574
|
+
product_id: string;
|
|
21575
|
+
product_name: string;
|
|
21576
|
+
row_count: number;
|
|
21577
|
+
}[];
|
|
21578
|
+
};
|
|
20327
21579
|
try_debtor_lock: {
|
|
20328
21580
|
Args: {
|
|
20329
21581
|
_group_key: string;
|
|
@@ -20331,6 +21583,24 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
20331
21583
|
};
|
|
20332
21584
|
Returns: boolean;
|
|
20333
21585
|
};
|
|
21586
|
+
twinfield_cron_lock_acquire: {
|
|
21587
|
+
Args: {
|
|
21588
|
+
_job_name: string;
|
|
21589
|
+
_stale_seconds?: number;
|
|
21590
|
+
};
|
|
21591
|
+
Returns: boolean;
|
|
21592
|
+
};
|
|
21593
|
+
twinfield_cron_lock_release: {
|
|
21594
|
+
Args: {
|
|
21595
|
+
_error?: string;
|
|
21596
|
+
_job_name: string;
|
|
21597
|
+
};
|
|
21598
|
+
Returns: undefined;
|
|
21599
|
+
};
|
|
21600
|
+
twinfield_prune_push_queue: {
|
|
21601
|
+
Args: never;
|
|
21602
|
+
Returns: number;
|
|
21603
|
+
};
|
|
20334
21604
|
twinfield_register_cron: {
|
|
20335
21605
|
Args: {
|
|
20336
21606
|
apikey?: string;
|
|
@@ -20373,7 +21643,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
20373
21643
|
};
|
|
20374
21644
|
Enums: {
|
|
20375
21645
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|
|
20376
|
-
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin";
|
|
21646
|
+
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
|
|
20377
21647
|
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
|
|
20378
21648
|
doc_orientation: "portrait" | "landscape";
|
|
20379
21649
|
exact_env: "staging" | "live";
|