@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
|
@@ -875,6 +875,126 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
875
875
|
};
|
|
876
876
|
Relationships: [];
|
|
877
877
|
};
|
|
878
|
+
cao_holidays: {
|
|
879
|
+
Row: {
|
|
880
|
+
created_at: string;
|
|
881
|
+
description: string | null;
|
|
882
|
+
holiday_date: string;
|
|
883
|
+
id: string;
|
|
884
|
+
updated_at: string;
|
|
885
|
+
};
|
|
886
|
+
Insert: {
|
|
887
|
+
created_at?: string;
|
|
888
|
+
description?: string | null;
|
|
889
|
+
holiday_date: string;
|
|
890
|
+
id?: string;
|
|
891
|
+
updated_at?: string;
|
|
892
|
+
};
|
|
893
|
+
Update: {
|
|
894
|
+
created_at?: string;
|
|
895
|
+
description?: string | null;
|
|
896
|
+
holiday_date?: string;
|
|
897
|
+
id?: string;
|
|
898
|
+
updated_at?: string;
|
|
899
|
+
};
|
|
900
|
+
Relationships: [];
|
|
901
|
+
};
|
|
902
|
+
cao_settings: {
|
|
903
|
+
Row: {
|
|
904
|
+
auto_break_after_hours: number;
|
|
905
|
+
auto_break_minutes: number;
|
|
906
|
+
auto_break_unpaid: boolean;
|
|
907
|
+
auto_stop_after_hours: number;
|
|
908
|
+
callout_fee: number;
|
|
909
|
+
created_at: string;
|
|
910
|
+
daily_regular_hours: number;
|
|
911
|
+
default_hourly_rate: number;
|
|
912
|
+
id: string;
|
|
913
|
+
materials_markup_percent: number;
|
|
914
|
+
max_daily_hours: number;
|
|
915
|
+
max_weekly_hours: number;
|
|
916
|
+
meal_allowance_amount: number;
|
|
917
|
+
overtime_pct_178: number;
|
|
918
|
+
overtime_pct_189: number;
|
|
919
|
+
overtime_pct_212: number;
|
|
920
|
+
reminder_after_hours: number;
|
|
921
|
+
standby_evening_amount: number;
|
|
922
|
+
standby_weekend_amount: number;
|
|
923
|
+
travel_cost_per_km: number | null;
|
|
924
|
+
travel_cost_threshold_km: number | null;
|
|
925
|
+
travel_counts_as_work: boolean;
|
|
926
|
+
travel_hourly_rate: number;
|
|
927
|
+
travel_rate_per_hour: number;
|
|
928
|
+
travel_threshold_minutes: number;
|
|
929
|
+
updated_at: string;
|
|
930
|
+
weekend_always_212: boolean;
|
|
931
|
+
window_end: string;
|
|
932
|
+
window_start: string;
|
|
933
|
+
};
|
|
934
|
+
Insert: {
|
|
935
|
+
auto_break_after_hours?: number;
|
|
936
|
+
auto_break_minutes?: number;
|
|
937
|
+
auto_break_unpaid?: boolean;
|
|
938
|
+
auto_stop_after_hours?: number;
|
|
939
|
+
callout_fee?: number;
|
|
940
|
+
created_at?: string;
|
|
941
|
+
daily_regular_hours?: number;
|
|
942
|
+
default_hourly_rate?: number;
|
|
943
|
+
id?: string;
|
|
944
|
+
materials_markup_percent?: number;
|
|
945
|
+
max_daily_hours?: number;
|
|
946
|
+
max_weekly_hours?: number;
|
|
947
|
+
meal_allowance_amount?: number;
|
|
948
|
+
overtime_pct_178?: number;
|
|
949
|
+
overtime_pct_189?: number;
|
|
950
|
+
overtime_pct_212?: number;
|
|
951
|
+
reminder_after_hours?: number;
|
|
952
|
+
standby_evening_amount?: number;
|
|
953
|
+
standby_weekend_amount?: number;
|
|
954
|
+
travel_cost_per_km?: number | null;
|
|
955
|
+
travel_cost_threshold_km?: number | null;
|
|
956
|
+
travel_counts_as_work?: boolean;
|
|
957
|
+
travel_hourly_rate?: number;
|
|
958
|
+
travel_rate_per_hour?: number;
|
|
959
|
+
travel_threshold_minutes?: number;
|
|
960
|
+
updated_at?: string;
|
|
961
|
+
weekend_always_212?: boolean;
|
|
962
|
+
window_end?: string;
|
|
963
|
+
window_start?: string;
|
|
964
|
+
};
|
|
965
|
+
Update: {
|
|
966
|
+
auto_break_after_hours?: number;
|
|
967
|
+
auto_break_minutes?: number;
|
|
968
|
+
auto_break_unpaid?: boolean;
|
|
969
|
+
auto_stop_after_hours?: number;
|
|
970
|
+
callout_fee?: number;
|
|
971
|
+
created_at?: string;
|
|
972
|
+
daily_regular_hours?: number;
|
|
973
|
+
default_hourly_rate?: number;
|
|
974
|
+
id?: string;
|
|
975
|
+
materials_markup_percent?: number;
|
|
976
|
+
max_daily_hours?: number;
|
|
977
|
+
max_weekly_hours?: number;
|
|
978
|
+
meal_allowance_amount?: number;
|
|
979
|
+
overtime_pct_178?: number;
|
|
980
|
+
overtime_pct_189?: number;
|
|
981
|
+
overtime_pct_212?: number;
|
|
982
|
+
reminder_after_hours?: number;
|
|
983
|
+
standby_evening_amount?: number;
|
|
984
|
+
standby_weekend_amount?: number;
|
|
985
|
+
travel_cost_per_km?: number | null;
|
|
986
|
+
travel_cost_threshold_km?: number | null;
|
|
987
|
+
travel_counts_as_work?: boolean;
|
|
988
|
+
travel_hourly_rate?: number;
|
|
989
|
+
travel_rate_per_hour?: number;
|
|
990
|
+
travel_threshold_minutes?: number;
|
|
991
|
+
updated_at?: string;
|
|
992
|
+
weekend_always_212?: boolean;
|
|
993
|
+
window_end?: string;
|
|
994
|
+
window_start?: string;
|
|
995
|
+
};
|
|
996
|
+
Relationships: [];
|
|
997
|
+
};
|
|
878
998
|
carrier_shipping_rates: {
|
|
879
999
|
Row: {
|
|
880
1000
|
carrier_id: string;
|
|
@@ -1687,7 +1807,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
1687
1807
|
city: string | null;
|
|
1688
1808
|
country: string | null;
|
|
1689
1809
|
created_at: string;
|
|
1690
|
-
customer_id: string
|
|
1810
|
+
customer_id: string;
|
|
1691
1811
|
external_key: string | null;
|
|
1692
1812
|
external_provider: string | null;
|
|
1693
1813
|
floriday_location_id: string | null;
|
|
@@ -1711,7 +1831,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
1711
1831
|
city?: string | null;
|
|
1712
1832
|
country?: string | null;
|
|
1713
1833
|
created_at?: string;
|
|
1714
|
-
customer_id
|
|
1834
|
+
customer_id: string;
|
|
1715
1835
|
external_key?: string | null;
|
|
1716
1836
|
external_provider?: string | null;
|
|
1717
1837
|
floriday_location_id?: string | null;
|
|
@@ -1735,7 +1855,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
1735
1855
|
city?: string | null;
|
|
1736
1856
|
country?: string | null;
|
|
1737
1857
|
created_at?: string;
|
|
1738
|
-
customer_id?: string
|
|
1858
|
+
customer_id?: string;
|
|
1739
1859
|
external_key?: string | null;
|
|
1740
1860
|
external_provider?: string | null;
|
|
1741
1861
|
floriday_location_id?: string | null;
|
|
@@ -5698,12 +5818,17 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
5698
5818
|
attempts: number;
|
|
5699
5819
|
connection_id: string;
|
|
5700
5820
|
created_at: string;
|
|
5821
|
+
desired_available: boolean | null;
|
|
5701
5822
|
gateway_attempt_id: string | null;
|
|
5702
5823
|
id: string;
|
|
5703
5824
|
last_error: string | null;
|
|
5825
|
+
locked_at: string | null;
|
|
5826
|
+
locked_by: string | null;
|
|
5827
|
+
next_attempt_at: string;
|
|
5704
5828
|
number_of_pieces: number;
|
|
5705
5829
|
sent_at: string | null;
|
|
5706
5830
|
status: string;
|
|
5831
|
+
superseded_by: string | null;
|
|
5707
5832
|
trade_item_id: string;
|
|
5708
5833
|
updated_at: string;
|
|
5709
5834
|
user_id: string;
|
|
@@ -5712,12 +5837,17 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
5712
5837
|
attempts?: number;
|
|
5713
5838
|
connection_id: string;
|
|
5714
5839
|
created_at?: string;
|
|
5840
|
+
desired_available?: boolean | null;
|
|
5715
5841
|
gateway_attempt_id?: string | null;
|
|
5716
5842
|
id?: string;
|
|
5717
5843
|
last_error?: string | null;
|
|
5844
|
+
locked_at?: string | null;
|
|
5845
|
+
locked_by?: string | null;
|
|
5846
|
+
next_attempt_at?: string;
|
|
5718
5847
|
number_of_pieces?: number;
|
|
5719
5848
|
sent_at?: string | null;
|
|
5720
5849
|
status?: string;
|
|
5850
|
+
superseded_by?: string | null;
|
|
5721
5851
|
trade_item_id: string;
|
|
5722
5852
|
updated_at?: string;
|
|
5723
5853
|
user_id: string;
|
|
@@ -5726,12 +5856,17 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
5726
5856
|
attempts?: number;
|
|
5727
5857
|
connection_id?: string;
|
|
5728
5858
|
created_at?: string;
|
|
5859
|
+
desired_available?: boolean | null;
|
|
5729
5860
|
gateway_attempt_id?: string | null;
|
|
5730
5861
|
id?: string;
|
|
5731
5862
|
last_error?: string | null;
|
|
5863
|
+
locked_at?: string | null;
|
|
5864
|
+
locked_by?: string | null;
|
|
5865
|
+
next_attempt_at?: string;
|
|
5732
5866
|
number_of_pieces?: number;
|
|
5733
5867
|
sent_at?: string | null;
|
|
5734
5868
|
status?: string;
|
|
5869
|
+
superseded_by?: string | null;
|
|
5735
5870
|
trade_item_id?: string;
|
|
5736
5871
|
updated_at?: string;
|
|
5737
5872
|
user_id?: string;
|
|
@@ -6468,6 +6603,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
6468
6603
|
Row: {
|
|
6469
6604
|
buyer_organization_id: string | null;
|
|
6470
6605
|
connection_id: string;
|
|
6606
|
+
controlled_at: string | null;
|
|
6471
6607
|
created_at: string;
|
|
6472
6608
|
data: import("../integrations/supabase/types").Json;
|
|
6473
6609
|
floriday_id: string;
|
|
@@ -6479,6 +6615,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
6479
6615
|
Insert: {
|
|
6480
6616
|
buyer_organization_id?: string | null;
|
|
6481
6617
|
connection_id: string;
|
|
6618
|
+
controlled_at?: string | null;
|
|
6482
6619
|
created_at?: string;
|
|
6483
6620
|
data: import("../integrations/supabase/types").Json;
|
|
6484
6621
|
floriday_id: string;
|
|
@@ -6490,6 +6627,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
6490
6627
|
Update: {
|
|
6491
6628
|
buyer_organization_id?: string | null;
|
|
6492
6629
|
connection_id?: string;
|
|
6630
|
+
controlled_at?: string | null;
|
|
6493
6631
|
created_at?: string;
|
|
6494
6632
|
data?: import("../integrations/supabase/types").Json;
|
|
6495
6633
|
floriday_id?: string;
|
|
@@ -7391,6 +7529,54 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
7391
7529
|
};
|
|
7392
7530
|
Relationships: [];
|
|
7393
7531
|
};
|
|
7532
|
+
invoice_timing_settings: {
|
|
7533
|
+
Row: {
|
|
7534
|
+
anchor: string;
|
|
7535
|
+
business_days_only: boolean;
|
|
7536
|
+
created_at: string;
|
|
7537
|
+
enabled: boolean;
|
|
7538
|
+
id: string;
|
|
7539
|
+
offset_days: number;
|
|
7540
|
+
pickup_anchor: string;
|
|
7541
|
+
pickup_business_days_only: boolean;
|
|
7542
|
+
pickup_offset_days: number;
|
|
7543
|
+
pickup_time_of_day: string;
|
|
7544
|
+
singleton: boolean;
|
|
7545
|
+
time_of_day: string;
|
|
7546
|
+
updated_at: string;
|
|
7547
|
+
};
|
|
7548
|
+
Insert: {
|
|
7549
|
+
anchor?: string;
|
|
7550
|
+
business_days_only?: boolean;
|
|
7551
|
+
created_at?: string;
|
|
7552
|
+
enabled?: boolean;
|
|
7553
|
+
id?: string;
|
|
7554
|
+
offset_days?: number;
|
|
7555
|
+
pickup_anchor?: string;
|
|
7556
|
+
pickup_business_days_only?: boolean;
|
|
7557
|
+
pickup_offset_days?: number;
|
|
7558
|
+
pickup_time_of_day?: string;
|
|
7559
|
+
singleton?: boolean;
|
|
7560
|
+
time_of_day?: string;
|
|
7561
|
+
updated_at?: string;
|
|
7562
|
+
};
|
|
7563
|
+
Update: {
|
|
7564
|
+
anchor?: string;
|
|
7565
|
+
business_days_only?: boolean;
|
|
7566
|
+
created_at?: string;
|
|
7567
|
+
enabled?: boolean;
|
|
7568
|
+
id?: string;
|
|
7569
|
+
offset_days?: number;
|
|
7570
|
+
pickup_anchor?: string;
|
|
7571
|
+
pickup_business_days_only?: boolean;
|
|
7572
|
+
pickup_offset_days?: number;
|
|
7573
|
+
pickup_time_of_day?: string;
|
|
7574
|
+
singleton?: boolean;
|
|
7575
|
+
time_of_day?: string;
|
|
7576
|
+
updated_at?: string;
|
|
7577
|
+
};
|
|
7578
|
+
Relationships: [];
|
|
7579
|
+
};
|
|
7394
7580
|
itk_contact_persons: {
|
|
7395
7581
|
Row: {
|
|
7396
7582
|
created_at: string;
|
|
@@ -7703,7 +7889,6 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
7703
7889
|
start_date: string;
|
|
7704
7890
|
start_time: string | null;
|
|
7705
7891
|
status: string;
|
|
7706
|
-
tenant_id: string;
|
|
7707
7892
|
updated_at: string;
|
|
7708
7893
|
user_id: string;
|
|
7709
7894
|
};
|
|
@@ -7721,7 +7906,6 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
7721
7906
|
start_date: string;
|
|
7722
7907
|
start_time?: string | null;
|
|
7723
7908
|
status?: string;
|
|
7724
|
-
tenant_id?: string;
|
|
7725
7909
|
updated_at?: string;
|
|
7726
7910
|
user_id: string;
|
|
7727
7911
|
};
|
|
@@ -7739,7 +7923,6 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
7739
7923
|
start_date?: string;
|
|
7740
7924
|
start_time?: string | null;
|
|
7741
7925
|
status?: string;
|
|
7742
|
-
tenant_id?: string;
|
|
7743
7926
|
updated_at?: string;
|
|
7744
7927
|
user_id?: string;
|
|
7745
7928
|
};
|
|
@@ -7747,13 +7930,13 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
7747
7930
|
foreignKeyName: "leave_requests_monteur_id_fkey";
|
|
7748
7931
|
columns: ["monteur_id"];
|
|
7749
7932
|
isOneToOne: false;
|
|
7750
|
-
referencedRelation: "
|
|
7933
|
+
referencedRelation: "profiles";
|
|
7751
7934
|
referencedColumns: ["id"];
|
|
7752
7935
|
}, {
|
|
7753
7936
|
foreignKeyName: "leave_requests_user_id_fkey";
|
|
7754
7937
|
columns: ["user_id"];
|
|
7755
7938
|
isOneToOne: false;
|
|
7756
|
-
referencedRelation: "
|
|
7939
|
+
referencedRelation: "profiles";
|
|
7757
7940
|
referencedColumns: ["id"];
|
|
7758
7941
|
}];
|
|
7759
7942
|
};
|
|
@@ -8480,6 +8663,69 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
8480
8663
|
};
|
|
8481
8664
|
Relationships: [];
|
|
8482
8665
|
};
|
|
8666
|
+
logistics_floriday_pushes: {
|
|
8667
|
+
Row: {
|
|
8668
|
+
attempts: number;
|
|
8669
|
+
created_at: string;
|
|
8670
|
+
first_queued_at: string;
|
|
8671
|
+
fulfillment_order_id: string | null;
|
|
8672
|
+
id: string;
|
|
8673
|
+
last_error: string | null;
|
|
8674
|
+
last_error_at: string | null;
|
|
8675
|
+
last_sent_hash: string | null;
|
|
8676
|
+
locked_by: string | null;
|
|
8677
|
+
locked_until: string | null;
|
|
8678
|
+
next_attempt_at: string;
|
|
8679
|
+
order_ref: string;
|
|
8680
|
+
payload: import("../integrations/supabase/types").Json;
|
|
8681
|
+
payload_hash: string | null;
|
|
8682
|
+
revision: number;
|
|
8683
|
+
sent_at: string | null;
|
|
8684
|
+
status: string;
|
|
8685
|
+
updated_at: string;
|
|
8686
|
+
};
|
|
8687
|
+
Insert: {
|
|
8688
|
+
attempts?: number;
|
|
8689
|
+
created_at?: string;
|
|
8690
|
+
first_queued_at?: string;
|
|
8691
|
+
fulfillment_order_id?: string | null;
|
|
8692
|
+
id?: string;
|
|
8693
|
+
last_error?: string | null;
|
|
8694
|
+
last_error_at?: string | null;
|
|
8695
|
+
last_sent_hash?: string | null;
|
|
8696
|
+
locked_by?: string | null;
|
|
8697
|
+
locked_until?: string | null;
|
|
8698
|
+
next_attempt_at?: string;
|
|
8699
|
+
order_ref: string;
|
|
8700
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
8701
|
+
payload_hash?: string | null;
|
|
8702
|
+
revision?: number;
|
|
8703
|
+
sent_at?: string | null;
|
|
8704
|
+
status?: string;
|
|
8705
|
+
updated_at?: string;
|
|
8706
|
+
};
|
|
8707
|
+
Update: {
|
|
8708
|
+
attempts?: number;
|
|
8709
|
+
created_at?: string;
|
|
8710
|
+
first_queued_at?: string;
|
|
8711
|
+
fulfillment_order_id?: string | null;
|
|
8712
|
+
id?: string;
|
|
8713
|
+
last_error?: string | null;
|
|
8714
|
+
last_error_at?: string | null;
|
|
8715
|
+
last_sent_hash?: string | null;
|
|
8716
|
+
locked_by?: string | null;
|
|
8717
|
+
locked_until?: string | null;
|
|
8718
|
+
next_attempt_at?: string;
|
|
8719
|
+
order_ref?: string;
|
|
8720
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
8721
|
+
payload_hash?: string | null;
|
|
8722
|
+
revision?: number;
|
|
8723
|
+
sent_at?: string | null;
|
|
8724
|
+
status?: string;
|
|
8725
|
+
updated_at?: string;
|
|
8726
|
+
};
|
|
8727
|
+
Relationships: [];
|
|
8728
|
+
};
|
|
8483
8729
|
logistics_formulas: {
|
|
8484
8730
|
Row: {
|
|
8485
8731
|
created_at: string;
|
|
@@ -8558,6 +8804,45 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
8558
8804
|
};
|
|
8559
8805
|
Relationships: [];
|
|
8560
8806
|
};
|
|
8807
|
+
logistics_plan_queue: {
|
|
8808
|
+
Row: {
|
|
8809
|
+
attempts: number;
|
|
8810
|
+
claimed_at: string | null;
|
|
8811
|
+
enqueued_at: string;
|
|
8812
|
+
error: string | null;
|
|
8813
|
+
id: string;
|
|
8814
|
+
next_attempt_at: string;
|
|
8815
|
+
order_id: string;
|
|
8816
|
+
reason: string;
|
|
8817
|
+
status: string;
|
|
8818
|
+
updated_at: string;
|
|
8819
|
+
};
|
|
8820
|
+
Insert: {
|
|
8821
|
+
attempts?: number;
|
|
8822
|
+
claimed_at?: string | null;
|
|
8823
|
+
enqueued_at?: string;
|
|
8824
|
+
error?: string | null;
|
|
8825
|
+
id?: string;
|
|
8826
|
+
next_attempt_at?: string;
|
|
8827
|
+
order_id: string;
|
|
8828
|
+
reason?: string;
|
|
8829
|
+
status?: string;
|
|
8830
|
+
updated_at?: string;
|
|
8831
|
+
};
|
|
8832
|
+
Update: {
|
|
8833
|
+
attempts?: number;
|
|
8834
|
+
claimed_at?: string | null;
|
|
8835
|
+
enqueued_at?: string;
|
|
8836
|
+
error?: string | null;
|
|
8837
|
+
id?: string;
|
|
8838
|
+
next_attempt_at?: string;
|
|
8839
|
+
order_id?: string;
|
|
8840
|
+
reason?: string;
|
|
8841
|
+
status?: string;
|
|
8842
|
+
updated_at?: string;
|
|
8843
|
+
};
|
|
8844
|
+
Relationships: [];
|
|
8845
|
+
};
|
|
8561
8846
|
logistics_plan_runs: {
|
|
8562
8847
|
Row: {
|
|
8563
8848
|
created_at: string;
|
|
@@ -8633,6 +8918,24 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
8633
8918
|
referencedColumns: ["id"];
|
|
8634
8919
|
}];
|
|
8635
8920
|
};
|
|
8921
|
+
logistics_plan_settings: {
|
|
8922
|
+
Row: {
|
|
8923
|
+
key: string;
|
|
8924
|
+
updated_at: string;
|
|
8925
|
+
value: string;
|
|
8926
|
+
};
|
|
8927
|
+
Insert: {
|
|
8928
|
+
key: string;
|
|
8929
|
+
updated_at?: string;
|
|
8930
|
+
value: string;
|
|
8931
|
+
};
|
|
8932
|
+
Update: {
|
|
8933
|
+
key?: string;
|
|
8934
|
+
updated_at?: string;
|
|
8935
|
+
value?: string;
|
|
8936
|
+
};
|
|
8937
|
+
Relationships: [];
|
|
8938
|
+
};
|
|
8636
8939
|
logistics_rebuffer_state: {
|
|
8637
8940
|
Row: {
|
|
8638
8941
|
created_at: string;
|
|
@@ -9343,14 +9646,17 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
9343
9646
|
};
|
|
9344
9647
|
mailbox_messages: {
|
|
9345
9648
|
Row: {
|
|
9649
|
+
attachments: import("../integrations/supabase/types").Json;
|
|
9346
9650
|
body_html: string | null;
|
|
9347
9651
|
body_text: string | null;
|
|
9652
|
+
cc_recipients: import("../integrations/supabase/types").Json;
|
|
9348
9653
|
connection_id: string | null;
|
|
9349
9654
|
created_at: string;
|
|
9350
9655
|
error_message: string | null;
|
|
9351
9656
|
external_id: string | null;
|
|
9352
9657
|
from_email: string | null;
|
|
9353
9658
|
from_name: string | null;
|
|
9659
|
+
has_attachments: boolean;
|
|
9354
9660
|
id: string;
|
|
9355
9661
|
message_id: string | null;
|
|
9356
9662
|
profile_id: string | null;
|
|
@@ -9358,18 +9664,22 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
9358
9664
|
received_at: string | null;
|
|
9359
9665
|
status: string;
|
|
9360
9666
|
subject: string | null;
|
|
9667
|
+
to_recipients: import("../integrations/supabase/types").Json;
|
|
9361
9668
|
uid: number | null;
|
|
9362
9669
|
updated_at: string;
|
|
9363
9670
|
};
|
|
9364
9671
|
Insert: {
|
|
9672
|
+
attachments?: import("../integrations/supabase/types").Json;
|
|
9365
9673
|
body_html?: string | null;
|
|
9366
9674
|
body_text?: string | null;
|
|
9675
|
+
cc_recipients?: import("../integrations/supabase/types").Json;
|
|
9367
9676
|
connection_id?: string | null;
|
|
9368
9677
|
created_at?: string;
|
|
9369
9678
|
error_message?: string | null;
|
|
9370
9679
|
external_id?: string | null;
|
|
9371
9680
|
from_email?: string | null;
|
|
9372
9681
|
from_name?: string | null;
|
|
9682
|
+
has_attachments?: boolean;
|
|
9373
9683
|
id?: string;
|
|
9374
9684
|
message_id?: string | null;
|
|
9375
9685
|
profile_id?: string | null;
|
|
@@ -9377,18 +9687,22 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
9377
9687
|
received_at?: string | null;
|
|
9378
9688
|
status?: string;
|
|
9379
9689
|
subject?: string | null;
|
|
9690
|
+
to_recipients?: import("../integrations/supabase/types").Json;
|
|
9380
9691
|
uid?: number | null;
|
|
9381
9692
|
updated_at?: string;
|
|
9382
9693
|
};
|
|
9383
9694
|
Update: {
|
|
9695
|
+
attachments?: import("../integrations/supabase/types").Json;
|
|
9384
9696
|
body_html?: string | null;
|
|
9385
9697
|
body_text?: string | null;
|
|
9698
|
+
cc_recipients?: import("../integrations/supabase/types").Json;
|
|
9386
9699
|
connection_id?: string | null;
|
|
9387
9700
|
created_at?: string;
|
|
9388
9701
|
error_message?: string | null;
|
|
9389
9702
|
external_id?: string | null;
|
|
9390
9703
|
from_email?: string | null;
|
|
9391
9704
|
from_name?: string | null;
|
|
9705
|
+
has_attachments?: boolean;
|
|
9392
9706
|
id?: string;
|
|
9393
9707
|
message_id?: string | null;
|
|
9394
9708
|
profile_id?: string | null;
|
|
@@ -9396,6 +9710,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
9396
9710
|
received_at?: string | null;
|
|
9397
9711
|
status?: string;
|
|
9398
9712
|
subject?: string | null;
|
|
9713
|
+
to_recipients?: import("../integrations/supabase/types").Json;
|
|
9399
9714
|
uid?: number | null;
|
|
9400
9715
|
updated_at?: string;
|
|
9401
9716
|
};
|
|
@@ -9776,6 +10091,90 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
9776
10091
|
};
|
|
9777
10092
|
Relationships: [];
|
|
9778
10093
|
};
|
|
10094
|
+
material_usage: {
|
|
10095
|
+
Row: {
|
|
10096
|
+
created_at: string;
|
|
10097
|
+
id: string;
|
|
10098
|
+
material_name: string;
|
|
10099
|
+
monteur_id: string | null;
|
|
10100
|
+
price_at_time: number;
|
|
10101
|
+
quantity_used: number;
|
|
10102
|
+
updated_at: string;
|
|
10103
|
+
van_inventory_id: string | null;
|
|
10104
|
+
work_order_id: string;
|
|
10105
|
+
};
|
|
10106
|
+
Insert: {
|
|
10107
|
+
created_at?: string;
|
|
10108
|
+
id?: string;
|
|
10109
|
+
material_name: string;
|
|
10110
|
+
monteur_id?: string | null;
|
|
10111
|
+
price_at_time?: number;
|
|
10112
|
+
quantity_used?: number;
|
|
10113
|
+
updated_at?: string;
|
|
10114
|
+
van_inventory_id?: string | null;
|
|
10115
|
+
work_order_id: string;
|
|
10116
|
+
};
|
|
10117
|
+
Update: {
|
|
10118
|
+
created_at?: string;
|
|
10119
|
+
id?: string;
|
|
10120
|
+
material_name?: string;
|
|
10121
|
+
monteur_id?: string | null;
|
|
10122
|
+
price_at_time?: number;
|
|
10123
|
+
quantity_used?: number;
|
|
10124
|
+
updated_at?: string;
|
|
10125
|
+
van_inventory_id?: string | null;
|
|
10126
|
+
work_order_id?: string;
|
|
10127
|
+
};
|
|
10128
|
+
Relationships: [{
|
|
10129
|
+
foreignKeyName: "material_usage_monteur_id_fkey";
|
|
10130
|
+
columns: ["monteur_id"];
|
|
10131
|
+
isOneToOne: false;
|
|
10132
|
+
referencedRelation: "profiles";
|
|
10133
|
+
referencedColumns: ["id"];
|
|
10134
|
+
}, {
|
|
10135
|
+
foreignKeyName: "material_usage_van_inventory_id_fkey";
|
|
10136
|
+
columns: ["van_inventory_id"];
|
|
10137
|
+
isOneToOne: false;
|
|
10138
|
+
referencedRelation: "van_inventories";
|
|
10139
|
+
referencedColumns: ["id"];
|
|
10140
|
+
}, {
|
|
10141
|
+
foreignKeyName: "material_usage_work_order_id_fkey";
|
|
10142
|
+
columns: ["work_order_id"];
|
|
10143
|
+
isOneToOne: false;
|
|
10144
|
+
referencedRelation: "work_orders";
|
|
10145
|
+
referencedColumns: ["id"];
|
|
10146
|
+
}];
|
|
10147
|
+
};
|
|
10148
|
+
module_features: {
|
|
10149
|
+
Row: {
|
|
10150
|
+
created_at: string;
|
|
10151
|
+
feature_id: string;
|
|
10152
|
+
id: string;
|
|
10153
|
+
is_active: boolean;
|
|
10154
|
+
last_seen_at: string;
|
|
10155
|
+
module_id: string;
|
|
10156
|
+
name: string;
|
|
10157
|
+
};
|
|
10158
|
+
Insert: {
|
|
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
|
+
Update: {
|
|
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
|
+
Relationships: [];
|
|
10177
|
+
};
|
|
9779
10178
|
module_permissions: {
|
|
9780
10179
|
Row: {
|
|
9781
10180
|
created_at: string;
|
|
@@ -9803,6 +10202,39 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
9803
10202
|
};
|
|
9804
10203
|
Relationships: [];
|
|
9805
10204
|
};
|
|
10205
|
+
module_registry: {
|
|
10206
|
+
Row: {
|
|
10207
|
+
created_at: string;
|
|
10208
|
+
enforce: boolean;
|
|
10209
|
+
is_active: boolean;
|
|
10210
|
+
last_seen_at: string;
|
|
10211
|
+
module_id: string;
|
|
10212
|
+
name: string;
|
|
10213
|
+
shell_id: string | null;
|
|
10214
|
+
sort_order: number | null;
|
|
10215
|
+
};
|
|
10216
|
+
Insert: {
|
|
10217
|
+
created_at?: string;
|
|
10218
|
+
enforce?: boolean;
|
|
10219
|
+
is_active?: boolean;
|
|
10220
|
+
last_seen_at?: string;
|
|
10221
|
+
module_id: string;
|
|
10222
|
+
name: string;
|
|
10223
|
+
shell_id?: string | null;
|
|
10224
|
+
sort_order?: number | null;
|
|
10225
|
+
};
|
|
10226
|
+
Update: {
|
|
10227
|
+
created_at?: string;
|
|
10228
|
+
enforce?: boolean;
|
|
10229
|
+
is_active?: boolean;
|
|
10230
|
+
last_seen_at?: string;
|
|
10231
|
+
module_id?: string;
|
|
10232
|
+
name?: string;
|
|
10233
|
+
shell_id?: string | null;
|
|
10234
|
+
sort_order?: number | null;
|
|
10235
|
+
};
|
|
10236
|
+
Relationships: [];
|
|
10237
|
+
};
|
|
9806
10238
|
module_runtime_config: {
|
|
9807
10239
|
Row: {
|
|
9808
10240
|
key: string;
|
|
@@ -9854,63 +10286,6 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
9854
10286
|
};
|
|
9855
10287
|
Relationships: [];
|
|
9856
10288
|
};
|
|
9857
|
-
monteurs: {
|
|
9858
|
-
Row: {
|
|
9859
|
-
avatar_url: string | null;
|
|
9860
|
-
color: string | null;
|
|
9861
|
-
created_at: string;
|
|
9862
|
-
email: string | null;
|
|
9863
|
-
id: string;
|
|
9864
|
-
is_active: boolean;
|
|
9865
|
-
leave_balance_hours: number;
|
|
9866
|
-
name: string;
|
|
9867
|
-
persnr: number | null;
|
|
9868
|
-
phone: string | null;
|
|
9869
|
-
role: string;
|
|
9870
|
-
tenant_id: string;
|
|
9871
|
-
updated_at: string;
|
|
9872
|
-
user_id: string | null;
|
|
9873
|
-
};
|
|
9874
|
-
Insert: {
|
|
9875
|
-
avatar_url?: string | null;
|
|
9876
|
-
color?: string | null;
|
|
9877
|
-
created_at?: string;
|
|
9878
|
-
email?: string | null;
|
|
9879
|
-
id?: string;
|
|
9880
|
-
is_active?: boolean;
|
|
9881
|
-
leave_balance_hours?: number;
|
|
9882
|
-
name: string;
|
|
9883
|
-
persnr?: number | null;
|
|
9884
|
-
phone?: string | null;
|
|
9885
|
-
role?: string;
|
|
9886
|
-
tenant_id: string;
|
|
9887
|
-
updated_at?: string;
|
|
9888
|
-
user_id?: string | null;
|
|
9889
|
-
};
|
|
9890
|
-
Update: {
|
|
9891
|
-
avatar_url?: string | null;
|
|
9892
|
-
color?: string | null;
|
|
9893
|
-
created_at?: string;
|
|
9894
|
-
email?: string | null;
|
|
9895
|
-
id?: string;
|
|
9896
|
-
is_active?: boolean;
|
|
9897
|
-
leave_balance_hours?: number;
|
|
9898
|
-
name?: string;
|
|
9899
|
-
persnr?: number | null;
|
|
9900
|
-
phone?: string | null;
|
|
9901
|
-
role?: string;
|
|
9902
|
-
tenant_id?: string;
|
|
9903
|
-
updated_at?: string;
|
|
9904
|
-
user_id?: string | null;
|
|
9905
|
-
};
|
|
9906
|
-
Relationships: [{
|
|
9907
|
-
foreignKeyName: "monteurs_tenant_id_fkey";
|
|
9908
|
-
columns: ["tenant_id"];
|
|
9909
|
-
isOneToOne: false;
|
|
9910
|
-
referencedRelation: "tenants";
|
|
9911
|
-
referencedColumns: ["id"];
|
|
9912
|
-
}];
|
|
9913
|
-
};
|
|
9914
10289
|
nmbrs_component_mapping: {
|
|
9915
10290
|
Row: {
|
|
9916
10291
|
created_at: string;
|
|
@@ -9981,13 +10356,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
9981
10356
|
nmbrs_employee_number?: string;
|
|
9982
10357
|
updated_at?: string;
|
|
9983
10358
|
};
|
|
9984
|
-
Relationships: [
|
|
9985
|
-
foreignKeyName: "nmbrs_employee_mapping_monteur_id_fkey";
|
|
9986
|
-
columns: ["monteur_id"];
|
|
9987
|
-
isOneToOne: true;
|
|
9988
|
-
referencedRelation: "monteurs";
|
|
9989
|
-
referencedColumns: ["id"];
|
|
9990
|
-
}];
|
|
10359
|
+
Relationships: [];
|
|
9991
10360
|
};
|
|
9992
10361
|
nmbrs_export_lines: {
|
|
9993
10362
|
Row: {
|
|
@@ -10036,12 +10405,6 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
10036
10405
|
wage_code?: string;
|
|
10037
10406
|
};
|
|
10038
10407
|
Relationships: [{
|
|
10039
|
-
foreignKeyName: "nmbrs_export_lines_monteur_id_fkey";
|
|
10040
|
-
columns: ["monteur_id"];
|
|
10041
|
-
isOneToOne: false;
|
|
10042
|
-
referencedRelation: "monteurs";
|
|
10043
|
-
referencedColumns: ["id"];
|
|
10044
|
-
}, {
|
|
10045
10408
|
foreignKeyName: "nmbrs_export_lines_run_id_fkey";
|
|
10046
10409
|
columns: ["run_id"];
|
|
10047
10410
|
isOneToOne: false;
|
|
@@ -10862,6 +11225,45 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
10862
11225
|
};
|
|
10863
11226
|
Relationships: [];
|
|
10864
11227
|
};
|
|
11228
|
+
order_invoice_links: {
|
|
11229
|
+
Row: {
|
|
11230
|
+
attempts: number;
|
|
11231
|
+
created_at: string;
|
|
11232
|
+
error_message: string | null;
|
|
11233
|
+
id: string;
|
|
11234
|
+
invoice_number: string | null;
|
|
11235
|
+
next_attempt_at: string;
|
|
11236
|
+
order_id: string;
|
|
11237
|
+
processed_at: string | null;
|
|
11238
|
+
status: string;
|
|
11239
|
+
updated_at: string;
|
|
11240
|
+
};
|
|
11241
|
+
Insert: {
|
|
11242
|
+
attempts?: number;
|
|
11243
|
+
created_at?: string;
|
|
11244
|
+
error_message?: string | null;
|
|
11245
|
+
id?: string;
|
|
11246
|
+
invoice_number?: string | null;
|
|
11247
|
+
next_attempt_at?: string;
|
|
11248
|
+
order_id: string;
|
|
11249
|
+
processed_at?: string | null;
|
|
11250
|
+
status?: string;
|
|
11251
|
+
updated_at?: string;
|
|
11252
|
+
};
|
|
11253
|
+
Update: {
|
|
11254
|
+
attempts?: number;
|
|
11255
|
+
created_at?: string;
|
|
11256
|
+
error_message?: string | null;
|
|
11257
|
+
id?: string;
|
|
11258
|
+
invoice_number?: string | null;
|
|
11259
|
+
next_attempt_at?: string;
|
|
11260
|
+
order_id?: string;
|
|
11261
|
+
processed_at?: string | null;
|
|
11262
|
+
status?: string;
|
|
11263
|
+
updated_at?: string;
|
|
11264
|
+
};
|
|
11265
|
+
Relationships: [];
|
|
11266
|
+
};
|
|
10865
11267
|
order_items: {
|
|
10866
11268
|
Row: {
|
|
10867
11269
|
crates_per_layer: number | null;
|
|
@@ -11044,6 +11446,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
11044
11446
|
delivery_date: string | null;
|
|
11045
11447
|
floriday_sales_order_id: string | null;
|
|
11046
11448
|
id: string;
|
|
11449
|
+
invoice_due_at: string | null;
|
|
11047
11450
|
is_reservation: boolean;
|
|
11048
11451
|
notes: string | null;
|
|
11049
11452
|
order_date: string;
|
|
@@ -11065,6 +11468,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
11065
11468
|
delivery_date?: string | null;
|
|
11066
11469
|
floriday_sales_order_id?: string | null;
|
|
11067
11470
|
id?: string;
|
|
11471
|
+
invoice_due_at?: string | null;
|
|
11068
11472
|
is_reservation?: boolean;
|
|
11069
11473
|
notes?: string | null;
|
|
11070
11474
|
order_date?: string;
|
|
@@ -11086,6 +11490,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
11086
11490
|
delivery_date?: string | null;
|
|
11087
11491
|
floriday_sales_order_id?: string | null;
|
|
11088
11492
|
id?: string;
|
|
11493
|
+
invoice_due_at?: string | null;
|
|
11089
11494
|
is_reservation?: boolean;
|
|
11090
11495
|
notes?: string | null;
|
|
11091
11496
|
order_date?: string;
|
|
@@ -12282,22 +12687,27 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
12282
12687
|
created_at: string;
|
|
12283
12688
|
documentnaam: string;
|
|
12284
12689
|
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
12690
|
+
extern_job_id: string | null;
|
|
12285
12691
|
foutmelding: string | null;
|
|
12286
12692
|
gebruiker_id: string | null;
|
|
12287
12693
|
gebruiker_naam: string;
|
|
12288
12694
|
gestart_op: string | null;
|
|
12289
12695
|
id: string;
|
|
12696
|
+
idempotentie_sleutel: string | null;
|
|
12290
12697
|
is_herprint: boolean;
|
|
12291
12698
|
kopieen: number;
|
|
12292
12699
|
layout_id: string | null;
|
|
12293
12700
|
opgepakt_op: string | null;
|
|
12294
12701
|
paginas: number;
|
|
12295
12702
|
payload: import("../integrations/supabase/types").Json;
|
|
12703
|
+
pdf_base64: string | null;
|
|
12704
|
+
pdf_url: string | null;
|
|
12296
12705
|
pogingen: number;
|
|
12297
12706
|
printer_id: string | null;
|
|
12298
12707
|
render_html: string | null;
|
|
12299
12708
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
12300
12709
|
updated_at: string;
|
|
12710
|
+
volgende_poging: string | null;
|
|
12301
12711
|
voltooid_op: string | null;
|
|
12302
12712
|
};
|
|
12303
12713
|
Insert: {
|
|
@@ -12306,22 +12716,27 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
12306
12716
|
created_at?: string;
|
|
12307
12717
|
documentnaam?: string;
|
|
12308
12718
|
documenttype?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
12719
|
+
extern_job_id?: string | null;
|
|
12309
12720
|
foutmelding?: string | null;
|
|
12310
12721
|
gebruiker_id?: string | null;
|
|
12311
12722
|
gebruiker_naam?: string;
|
|
12312
12723
|
gestart_op?: string | null;
|
|
12313
12724
|
id?: string;
|
|
12725
|
+
idempotentie_sleutel?: string | null;
|
|
12314
12726
|
is_herprint?: boolean;
|
|
12315
12727
|
kopieen?: number;
|
|
12316
12728
|
layout_id?: string | null;
|
|
12317
12729
|
opgepakt_op?: string | null;
|
|
12318
12730
|
paginas?: number;
|
|
12319
12731
|
payload?: import("../integrations/supabase/types").Json;
|
|
12732
|
+
pdf_base64?: string | null;
|
|
12733
|
+
pdf_url?: string | null;
|
|
12320
12734
|
pogingen?: number;
|
|
12321
12735
|
printer_id?: string | null;
|
|
12322
12736
|
render_html?: string | null;
|
|
12323
12737
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
12324
12738
|
updated_at?: string;
|
|
12739
|
+
volgende_poging?: string | null;
|
|
12325
12740
|
voltooid_op?: string | null;
|
|
12326
12741
|
};
|
|
12327
12742
|
Update: {
|
|
@@ -12330,22 +12745,27 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
12330
12745
|
created_at?: string;
|
|
12331
12746
|
documentnaam?: string;
|
|
12332
12747
|
documenttype?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
12748
|
+
extern_job_id?: string | null;
|
|
12333
12749
|
foutmelding?: string | null;
|
|
12334
12750
|
gebruiker_id?: string | null;
|
|
12335
12751
|
gebruiker_naam?: string;
|
|
12336
12752
|
gestart_op?: string | null;
|
|
12337
12753
|
id?: string;
|
|
12754
|
+
idempotentie_sleutel?: string | null;
|
|
12338
12755
|
is_herprint?: boolean;
|
|
12339
12756
|
kopieen?: number;
|
|
12340
12757
|
layout_id?: string | null;
|
|
12341
12758
|
opgepakt_op?: string | null;
|
|
12342
12759
|
paginas?: number;
|
|
12343
12760
|
payload?: import("../integrations/supabase/types").Json;
|
|
12761
|
+
pdf_base64?: string | null;
|
|
12762
|
+
pdf_url?: string | null;
|
|
12344
12763
|
pogingen?: number;
|
|
12345
12764
|
printer_id?: string | null;
|
|
12346
12765
|
render_html?: string | null;
|
|
12347
12766
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
12348
12767
|
updated_at?: string;
|
|
12768
|
+
volgende_poging?: string | null;
|
|
12349
12769
|
voltooid_op?: string | null;
|
|
12350
12770
|
};
|
|
12351
12771
|
Relationships: [{
|
|
@@ -12368,6 +12788,72 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
12368
12788
|
referencedColumns: ["id"];
|
|
12369
12789
|
}];
|
|
12370
12790
|
};
|
|
12791
|
+
print_queue_runners: {
|
|
12792
|
+
Row: {
|
|
12793
|
+
actief: boolean;
|
|
12794
|
+
basis_url: string;
|
|
12795
|
+
created_at: string;
|
|
12796
|
+
id: string;
|
|
12797
|
+
laatst_gezien: string;
|
|
12798
|
+
laatste_fout: string | null;
|
|
12799
|
+
laatste_request_id: number | null;
|
|
12800
|
+
mislukte_posts: number;
|
|
12801
|
+
tick_sleutel: string;
|
|
12802
|
+
updated_at: string;
|
|
12803
|
+
};
|
|
12804
|
+
Insert: {
|
|
12805
|
+
actief?: boolean;
|
|
12806
|
+
basis_url: string;
|
|
12807
|
+
created_at?: string;
|
|
12808
|
+
id?: string;
|
|
12809
|
+
laatst_gezien?: string;
|
|
12810
|
+
laatste_fout?: string | null;
|
|
12811
|
+
laatste_request_id?: number | null;
|
|
12812
|
+
mislukte_posts?: number;
|
|
12813
|
+
tick_sleutel?: string;
|
|
12814
|
+
updated_at?: string;
|
|
12815
|
+
};
|
|
12816
|
+
Update: {
|
|
12817
|
+
actief?: boolean;
|
|
12818
|
+
basis_url?: string;
|
|
12819
|
+
created_at?: string;
|
|
12820
|
+
id?: string;
|
|
12821
|
+
laatst_gezien?: string;
|
|
12822
|
+
laatste_fout?: string | null;
|
|
12823
|
+
laatste_request_id?: number | null;
|
|
12824
|
+
mislukte_posts?: number;
|
|
12825
|
+
tick_sleutel?: string;
|
|
12826
|
+
updated_at?: string;
|
|
12827
|
+
};
|
|
12828
|
+
Relationships: [];
|
|
12829
|
+
};
|
|
12830
|
+
print_queue_settings: {
|
|
12831
|
+
Row: {
|
|
12832
|
+
bewaar_bestanden_dagen: number;
|
|
12833
|
+
bewaar_opdrachten_dagen: number;
|
|
12834
|
+
created_at: string;
|
|
12835
|
+
dubbel_venster_minuten: number;
|
|
12836
|
+
id: string;
|
|
12837
|
+
updated_at: string;
|
|
12838
|
+
};
|
|
12839
|
+
Insert: {
|
|
12840
|
+
bewaar_bestanden_dagen?: number;
|
|
12841
|
+
bewaar_opdrachten_dagen?: number;
|
|
12842
|
+
created_at?: string;
|
|
12843
|
+
dubbel_venster_minuten?: number;
|
|
12844
|
+
id?: string;
|
|
12845
|
+
updated_at?: string;
|
|
12846
|
+
};
|
|
12847
|
+
Update: {
|
|
12848
|
+
bewaar_bestanden_dagen?: number;
|
|
12849
|
+
bewaar_opdrachten_dagen?: number;
|
|
12850
|
+
created_at?: string;
|
|
12851
|
+
dubbel_venster_minuten?: number;
|
|
12852
|
+
id?: string;
|
|
12853
|
+
updated_at?: string;
|
|
12854
|
+
};
|
|
12855
|
+
Relationships: [];
|
|
12856
|
+
};
|
|
12371
12857
|
print_rules: {
|
|
12372
12858
|
Row: {
|
|
12373
12859
|
actief: boolean;
|
|
@@ -12528,6 +13014,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
12528
13014
|
agent_id: string | null;
|
|
12529
13015
|
created_at: string;
|
|
12530
13016
|
driver: string;
|
|
13017
|
+
extern_printer_id: string | null;
|
|
12531
13018
|
id: string;
|
|
12532
13019
|
ip_adres: string | null;
|
|
12533
13020
|
laatst_gezien: string | null;
|
|
@@ -12549,6 +13036,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
12549
13036
|
agent_id?: string | null;
|
|
12550
13037
|
created_at?: string;
|
|
12551
13038
|
driver?: string;
|
|
13039
|
+
extern_printer_id?: string | null;
|
|
12552
13040
|
id?: string;
|
|
12553
13041
|
ip_adres?: string | null;
|
|
12554
13042
|
laatst_gezien?: string | null;
|
|
@@ -12570,6 +13058,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
12570
13058
|
agent_id?: string | null;
|
|
12571
13059
|
created_at?: string;
|
|
12572
13060
|
driver?: string;
|
|
13061
|
+
extern_printer_id?: string | null;
|
|
12573
13062
|
id?: string;
|
|
12574
13063
|
ip_adres?: string | null;
|
|
12575
13064
|
laatst_gezien?: string | null;
|
|
@@ -13841,6 +14330,96 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
13841
14330
|
referencedColumns: ["id"];
|
|
13842
14331
|
}];
|
|
13843
14332
|
};
|
|
14333
|
+
role_assignments: {
|
|
14334
|
+
Row: {
|
|
14335
|
+
created_at: string;
|
|
14336
|
+
id: string;
|
|
14337
|
+
role_id: string;
|
|
14338
|
+
user_id: string;
|
|
14339
|
+
};
|
|
14340
|
+
Insert: {
|
|
14341
|
+
created_at?: string;
|
|
14342
|
+
id?: string;
|
|
14343
|
+
role_id: string;
|
|
14344
|
+
user_id: string;
|
|
14345
|
+
};
|
|
14346
|
+
Update: {
|
|
14347
|
+
created_at?: string;
|
|
14348
|
+
id?: string;
|
|
14349
|
+
role_id?: string;
|
|
14350
|
+
user_id?: string;
|
|
14351
|
+
};
|
|
14352
|
+
Relationships: [{
|
|
14353
|
+
foreignKeyName: "role_assignments_role_id_fkey";
|
|
14354
|
+
columns: ["role_id"];
|
|
14355
|
+
isOneToOne: false;
|
|
14356
|
+
referencedRelation: "roles";
|
|
14357
|
+
referencedColumns: ["id"];
|
|
14358
|
+
}];
|
|
14359
|
+
};
|
|
14360
|
+
role_permissions: {
|
|
14361
|
+
Row: {
|
|
14362
|
+
can_edit: boolean;
|
|
14363
|
+
can_view: boolean;
|
|
14364
|
+
feature_id: string;
|
|
14365
|
+
id: string;
|
|
14366
|
+
module_id: string;
|
|
14367
|
+
role_id: string;
|
|
14368
|
+
updated_at: string;
|
|
14369
|
+
};
|
|
14370
|
+
Insert: {
|
|
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
|
+
Update: {
|
|
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
|
+
Relationships: [{
|
|
14389
|
+
foreignKeyName: "role_permissions_role_id_fkey";
|
|
14390
|
+
columns: ["role_id"];
|
|
14391
|
+
isOneToOne: false;
|
|
14392
|
+
referencedRelation: "roles";
|
|
14393
|
+
referencedColumns: ["id"];
|
|
14394
|
+
}];
|
|
14395
|
+
};
|
|
14396
|
+
roles: {
|
|
14397
|
+
Row: {
|
|
14398
|
+
created_at: string;
|
|
14399
|
+
id: string;
|
|
14400
|
+
is_protected: boolean;
|
|
14401
|
+
key: string;
|
|
14402
|
+
name: string;
|
|
14403
|
+
updated_at: string;
|
|
14404
|
+
};
|
|
14405
|
+
Insert: {
|
|
14406
|
+
created_at?: string;
|
|
14407
|
+
id?: string;
|
|
14408
|
+
is_protected?: boolean;
|
|
14409
|
+
key: string;
|
|
14410
|
+
name: string;
|
|
14411
|
+
updated_at?: string;
|
|
14412
|
+
};
|
|
14413
|
+
Update: {
|
|
14414
|
+
created_at?: string;
|
|
14415
|
+
id?: string;
|
|
14416
|
+
is_protected?: boolean;
|
|
14417
|
+
key?: string;
|
|
14418
|
+
name?: string;
|
|
14419
|
+
updated_at?: string;
|
|
14420
|
+
};
|
|
14421
|
+
Relationships: [];
|
|
14422
|
+
};
|
|
13844
14423
|
rooms: {
|
|
13845
14424
|
Row: {
|
|
13846
14425
|
capacity: number;
|
|
@@ -14510,6 +15089,54 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
14510
15089
|
};
|
|
14511
15090
|
Relationships: [];
|
|
14512
15091
|
};
|
|
15092
|
+
time_compensation_entries: {
|
|
15093
|
+
Row: {
|
|
15094
|
+
created_at: string;
|
|
15095
|
+
employee_id: string;
|
|
15096
|
+
entry_date: string;
|
|
15097
|
+
id: string;
|
|
15098
|
+
km: number;
|
|
15099
|
+
meal_allowance: number;
|
|
15100
|
+
notes: string | null;
|
|
15101
|
+
standby_evening: number;
|
|
15102
|
+
standby_weekend: number;
|
|
15103
|
+
tvt_change: number;
|
|
15104
|
+
updated_at: string;
|
|
15105
|
+
};
|
|
15106
|
+
Insert: {
|
|
15107
|
+
created_at?: string;
|
|
15108
|
+
employee_id: string;
|
|
15109
|
+
entry_date: string;
|
|
15110
|
+
id?: string;
|
|
15111
|
+
km?: number;
|
|
15112
|
+
meal_allowance?: number;
|
|
15113
|
+
notes?: string | null;
|
|
15114
|
+
standby_evening?: number;
|
|
15115
|
+
standby_weekend?: number;
|
|
15116
|
+
tvt_change?: number;
|
|
15117
|
+
updated_at?: string;
|
|
15118
|
+
};
|
|
15119
|
+
Update: {
|
|
15120
|
+
created_at?: string;
|
|
15121
|
+
employee_id?: string;
|
|
15122
|
+
entry_date?: string;
|
|
15123
|
+
id?: string;
|
|
15124
|
+
km?: number;
|
|
15125
|
+
meal_allowance?: number;
|
|
15126
|
+
notes?: string | null;
|
|
15127
|
+
standby_evening?: number;
|
|
15128
|
+
standby_weekend?: number;
|
|
15129
|
+
tvt_change?: number;
|
|
15130
|
+
updated_at?: string;
|
|
15131
|
+
};
|
|
15132
|
+
Relationships: [{
|
|
15133
|
+
foreignKeyName: "time_compensation_entries_employee_id_fkey";
|
|
15134
|
+
columns: ["employee_id"];
|
|
15135
|
+
isOneToOne: false;
|
|
15136
|
+
referencedRelation: "profiles";
|
|
15137
|
+
referencedColumns: ["id"];
|
|
15138
|
+
}];
|
|
15139
|
+
};
|
|
14513
15140
|
time_entries: {
|
|
14514
15141
|
Row: {
|
|
14515
15142
|
created_at: string;
|
|
@@ -14544,65 +15171,170 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
14544
15171
|
undertime?: number;
|
|
14545
15172
|
updated_at?: string;
|
|
14546
15173
|
};
|
|
15174
|
+
Relationships: [];
|
|
15175
|
+
};
|
|
15176
|
+
time_log_week_approvals: {
|
|
15177
|
+
Row: {
|
|
15178
|
+
approved_at: string | null;
|
|
15179
|
+
approved_by: string | null;
|
|
15180
|
+
created_at: string;
|
|
15181
|
+
employee_id: string;
|
|
15182
|
+
id: string;
|
|
15183
|
+
locked: boolean;
|
|
15184
|
+
notes: string | null;
|
|
15185
|
+
status: string;
|
|
15186
|
+
submitted_at: string | null;
|
|
15187
|
+
updated_at: string;
|
|
15188
|
+
week_start: string;
|
|
15189
|
+
};
|
|
15190
|
+
Insert: {
|
|
15191
|
+
approved_at?: string | null;
|
|
15192
|
+
approved_by?: string | null;
|
|
15193
|
+
created_at?: string;
|
|
15194
|
+
employee_id: string;
|
|
15195
|
+
id?: string;
|
|
15196
|
+
locked?: boolean;
|
|
15197
|
+
notes?: string | null;
|
|
15198
|
+
status?: string;
|
|
15199
|
+
submitted_at?: string | null;
|
|
15200
|
+
updated_at?: string;
|
|
15201
|
+
week_start: string;
|
|
15202
|
+
};
|
|
15203
|
+
Update: {
|
|
15204
|
+
approved_at?: string | null;
|
|
15205
|
+
approved_by?: string | null;
|
|
15206
|
+
created_at?: string;
|
|
15207
|
+
employee_id?: string;
|
|
15208
|
+
id?: string;
|
|
15209
|
+
locked?: boolean;
|
|
15210
|
+
notes?: string | null;
|
|
15211
|
+
status?: string;
|
|
15212
|
+
submitted_at?: string | null;
|
|
15213
|
+
updated_at?: string;
|
|
15214
|
+
week_start?: string;
|
|
15215
|
+
};
|
|
14547
15216
|
Relationships: [{
|
|
14548
|
-
foreignKeyName: "
|
|
15217
|
+
foreignKeyName: "time_log_week_approvals_employee_id_fkey";
|
|
14549
15218
|
columns: ["employee_id"];
|
|
14550
15219
|
isOneToOne: false;
|
|
14551
|
-
referencedRelation: "
|
|
15220
|
+
referencedRelation: "profiles";
|
|
14552
15221
|
referencedColumns: ["id"];
|
|
14553
15222
|
}];
|
|
14554
15223
|
};
|
|
14555
15224
|
time_logs: {
|
|
14556
15225
|
Row: {
|
|
15226
|
+
auto_stop_reason: string | null;
|
|
15227
|
+
auto_stopped: boolean;
|
|
14557
15228
|
created_at: string;
|
|
15229
|
+
current_latitude: number | null;
|
|
15230
|
+
current_longitude: number | null;
|
|
15231
|
+
current_position_updated_at: string | null;
|
|
14558
15232
|
employee_id: string;
|
|
15233
|
+
end_latitude: number | null;
|
|
15234
|
+
end_longitude: number | null;
|
|
14559
15235
|
end_time: string | null;
|
|
15236
|
+
eta_distance_km: number | null;
|
|
15237
|
+
eta_minutes: number | null;
|
|
15238
|
+
eta_updated_at: string | null;
|
|
15239
|
+
hour_category: string | null;
|
|
14560
15240
|
id: string;
|
|
15241
|
+
last_reminder_at: string | null;
|
|
14561
15242
|
notes: string | null;
|
|
14562
15243
|
overtime_hours: number;
|
|
14563
15244
|
overtime_type: string | null;
|
|
14564
15245
|
regular_hours: number;
|
|
15246
|
+
reminder_count: number;
|
|
15247
|
+
requires_review: boolean;
|
|
15248
|
+
start_latitude: number | null;
|
|
15249
|
+
start_longitude: number | null;
|
|
14565
15250
|
start_time: string;
|
|
14566
15251
|
travel_cost: number | null;
|
|
14567
15252
|
travel_distance_km: number | null;
|
|
15253
|
+
travel_duration_min: number | null;
|
|
15254
|
+
travel_time_minutes: number | null;
|
|
14568
15255
|
type: string;
|
|
14569
15256
|
updated_at: string;
|
|
15257
|
+
work_order_id: string | null;
|
|
14570
15258
|
};
|
|
14571
15259
|
Insert: {
|
|
15260
|
+
auto_stop_reason?: string | null;
|
|
15261
|
+
auto_stopped?: boolean;
|
|
14572
15262
|
created_at?: string;
|
|
15263
|
+
current_latitude?: number | null;
|
|
15264
|
+
current_longitude?: number | null;
|
|
15265
|
+
current_position_updated_at?: string | null;
|
|
14573
15266
|
employee_id: string;
|
|
15267
|
+
end_latitude?: number | null;
|
|
15268
|
+
end_longitude?: number | null;
|
|
14574
15269
|
end_time?: string | null;
|
|
15270
|
+
eta_distance_km?: number | null;
|
|
15271
|
+
eta_minutes?: number | null;
|
|
15272
|
+
eta_updated_at?: string | null;
|
|
15273
|
+
hour_category?: string | null;
|
|
14575
15274
|
id?: string;
|
|
15275
|
+
last_reminder_at?: string | null;
|
|
14576
15276
|
notes?: string | null;
|
|
14577
15277
|
overtime_hours?: number;
|
|
14578
15278
|
overtime_type?: string | null;
|
|
14579
15279
|
regular_hours?: number;
|
|
15280
|
+
reminder_count?: number;
|
|
15281
|
+
requires_review?: boolean;
|
|
15282
|
+
start_latitude?: number | null;
|
|
15283
|
+
start_longitude?: number | null;
|
|
14580
15284
|
start_time?: string;
|
|
14581
15285
|
travel_cost?: number | null;
|
|
14582
15286
|
travel_distance_km?: number | null;
|
|
15287
|
+
travel_duration_min?: number | null;
|
|
15288
|
+
travel_time_minutes?: number | null;
|
|
14583
15289
|
type: string;
|
|
14584
15290
|
updated_at?: string;
|
|
15291
|
+
work_order_id?: string | null;
|
|
14585
15292
|
};
|
|
14586
15293
|
Update: {
|
|
15294
|
+
auto_stop_reason?: string | null;
|
|
15295
|
+
auto_stopped?: boolean;
|
|
14587
15296
|
created_at?: string;
|
|
15297
|
+
current_latitude?: number | null;
|
|
15298
|
+
current_longitude?: number | null;
|
|
15299
|
+
current_position_updated_at?: string | null;
|
|
14588
15300
|
employee_id?: string;
|
|
15301
|
+
end_latitude?: number | null;
|
|
15302
|
+
end_longitude?: number | null;
|
|
14589
15303
|
end_time?: string | null;
|
|
15304
|
+
eta_distance_km?: number | null;
|
|
15305
|
+
eta_minutes?: number | null;
|
|
15306
|
+
eta_updated_at?: string | null;
|
|
15307
|
+
hour_category?: string | null;
|
|
14590
15308
|
id?: string;
|
|
15309
|
+
last_reminder_at?: string | null;
|
|
14591
15310
|
notes?: string | null;
|
|
14592
15311
|
overtime_hours?: number;
|
|
14593
15312
|
overtime_type?: string | null;
|
|
14594
15313
|
regular_hours?: number;
|
|
15314
|
+
reminder_count?: number;
|
|
15315
|
+
requires_review?: boolean;
|
|
15316
|
+
start_latitude?: number | null;
|
|
15317
|
+
start_longitude?: number | null;
|
|
14595
15318
|
start_time?: string;
|
|
14596
15319
|
travel_cost?: number | null;
|
|
14597
15320
|
travel_distance_km?: number | null;
|
|
15321
|
+
travel_duration_min?: number | null;
|
|
15322
|
+
travel_time_minutes?: number | null;
|
|
14598
15323
|
type?: string;
|
|
14599
15324
|
updated_at?: string;
|
|
15325
|
+
work_order_id?: string | null;
|
|
14600
15326
|
};
|
|
14601
15327
|
Relationships: [{
|
|
14602
15328
|
foreignKeyName: "time_logs_employee_id_fkey";
|
|
14603
15329
|
columns: ["employee_id"];
|
|
14604
15330
|
isOneToOne: false;
|
|
14605
|
-
referencedRelation: "
|
|
15331
|
+
referencedRelation: "profiles";
|
|
15332
|
+
referencedColumns: ["id"];
|
|
15333
|
+
}, {
|
|
15334
|
+
foreignKeyName: "time_logs_work_order_id_fkey";
|
|
15335
|
+
columns: ["work_order_id"];
|
|
15336
|
+
isOneToOne: false;
|
|
15337
|
+
referencedRelation: "work_orders";
|
|
14606
15338
|
referencedColumns: ["id"];
|
|
14607
15339
|
}];
|
|
14608
15340
|
};
|
|
@@ -14641,7 +15373,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
14641
15373
|
foreignKeyName: "time_off_entries_employee_id_fkey";
|
|
14642
15374
|
columns: ["employee_id"];
|
|
14643
15375
|
isOneToOne: false;
|
|
14644
|
-
referencedRelation: "
|
|
15376
|
+
referencedRelation: "profiles";
|
|
14645
15377
|
referencedColumns: ["id"];
|
|
14646
15378
|
}];
|
|
14647
15379
|
};
|
|
@@ -14951,6 +15683,39 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
14951
15683
|
};
|
|
14952
15684
|
Relationships: [];
|
|
14953
15685
|
};
|
|
15686
|
+
twinfield_cron_locks: {
|
|
15687
|
+
Row: {
|
|
15688
|
+
created_at: string;
|
|
15689
|
+
heartbeat_at: string;
|
|
15690
|
+
job_name: string;
|
|
15691
|
+
last_error: string | null;
|
|
15692
|
+
last_finished_at: string | null;
|
|
15693
|
+
locked_at: string;
|
|
15694
|
+
run_id: string;
|
|
15695
|
+
updated_at: string;
|
|
15696
|
+
};
|
|
15697
|
+
Insert: {
|
|
15698
|
+
created_at?: string;
|
|
15699
|
+
heartbeat_at?: string;
|
|
15700
|
+
job_name: string;
|
|
15701
|
+
last_error?: string | null;
|
|
15702
|
+
last_finished_at?: string | null;
|
|
15703
|
+
locked_at?: string;
|
|
15704
|
+
run_id?: string;
|
|
15705
|
+
updated_at?: string;
|
|
15706
|
+
};
|
|
15707
|
+
Update: {
|
|
15708
|
+
created_at?: string;
|
|
15709
|
+
heartbeat_at?: string;
|
|
15710
|
+
job_name?: string;
|
|
15711
|
+
last_error?: string | null;
|
|
15712
|
+
last_finished_at?: string | null;
|
|
15713
|
+
locked_at?: string;
|
|
15714
|
+
run_id?: string;
|
|
15715
|
+
updated_at?: string;
|
|
15716
|
+
};
|
|
15717
|
+
Relationships: [];
|
|
15718
|
+
};
|
|
14954
15719
|
twinfield_customers: {
|
|
14955
15720
|
Row: {
|
|
14956
15721
|
address: string | null;
|
|
@@ -15205,6 +15970,8 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
15205
15970
|
};
|
|
15206
15971
|
twinfield_invoice_settings: {
|
|
15207
15972
|
Row: {
|
|
15973
|
+
auto_invoice_enabled: boolean;
|
|
15974
|
+
auto_invoice_trigger_statuses: string[];
|
|
15208
15975
|
created_at: string;
|
|
15209
15976
|
debtor_gl_account: string;
|
|
15210
15977
|
default_credit_invoice_type: string | null;
|
|
@@ -15225,6 +15992,8 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
15225
15992
|
vat_code_export: string | null;
|
|
15226
15993
|
};
|
|
15227
15994
|
Insert: {
|
|
15995
|
+
auto_invoice_enabled?: boolean;
|
|
15996
|
+
auto_invoice_trigger_statuses?: string[];
|
|
15228
15997
|
created_at?: string;
|
|
15229
15998
|
debtor_gl_account?: string;
|
|
15230
15999
|
default_credit_invoice_type?: string | null;
|
|
@@ -15245,6 +16014,8 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
15245
16014
|
vat_code_export?: string | null;
|
|
15246
16015
|
};
|
|
15247
16016
|
Update: {
|
|
16017
|
+
auto_invoice_enabled?: boolean;
|
|
16018
|
+
auto_invoice_trigger_statuses?: string[];
|
|
15248
16019
|
created_at?: string;
|
|
15249
16020
|
debtor_gl_account?: string;
|
|
15250
16021
|
default_credit_invoice_type?: string | null;
|
|
@@ -15545,6 +16316,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
15545
16316
|
twinfield_push_queue: {
|
|
15546
16317
|
Row: {
|
|
15547
16318
|
action: string;
|
|
16319
|
+
attempt_started_at: string | null;
|
|
15548
16320
|
attempts: number;
|
|
15549
16321
|
connection_id: string | null;
|
|
15550
16322
|
created_at: string;
|
|
@@ -15561,6 +16333,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
15561
16333
|
};
|
|
15562
16334
|
Insert: {
|
|
15563
16335
|
action?: string;
|
|
16336
|
+
attempt_started_at?: string | null;
|
|
15564
16337
|
attempts?: number;
|
|
15565
16338
|
connection_id?: string | null;
|
|
15566
16339
|
created_at?: string;
|
|
@@ -15577,6 +16350,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
15577
16350
|
};
|
|
15578
16351
|
Update: {
|
|
15579
16352
|
action?: string;
|
|
16353
|
+
attempt_started_at?: string | null;
|
|
15580
16354
|
attempts?: number;
|
|
15581
16355
|
connection_id?: string | null;
|
|
15582
16356
|
created_at?: string;
|
|
@@ -15774,13 +16548,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
15774
16548
|
workday_end?: string | null;
|
|
15775
16549
|
workday_start?: string | null;
|
|
15776
16550
|
};
|
|
15777
|
-
Relationships: [
|
|
15778
|
-
foreignKeyName: "uren_cao_profiles_monteur_id_fkey";
|
|
15779
|
-
columns: ["monteur_id"];
|
|
15780
|
-
isOneToOne: true;
|
|
15781
|
-
referencedRelation: "monteurs";
|
|
15782
|
-
referencedColumns: ["id"];
|
|
15783
|
-
}];
|
|
16551
|
+
Relationships: [];
|
|
15784
16552
|
};
|
|
15785
16553
|
uren_entries: {
|
|
15786
16554
|
Row: {
|
|
@@ -15826,12 +16594,6 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
15826
16594
|
werkbon_id?: string | null;
|
|
15827
16595
|
};
|
|
15828
16596
|
Relationships: [{
|
|
15829
|
-
foreignKeyName: "uren_entries_monteur_id_fkey";
|
|
15830
|
-
columns: ["monteur_id"];
|
|
15831
|
-
isOneToOne: false;
|
|
15832
|
-
referencedRelation: "monteurs";
|
|
15833
|
-
referencedColumns: ["id"];
|
|
15834
|
-
}, {
|
|
15835
16597
|
foreignKeyName: "uren_entries_werkbon_id_fkey";
|
|
15836
16598
|
columns: ["werkbon_id"];
|
|
15837
16599
|
isOneToOne: false;
|
|
@@ -16299,13 +17061,37 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
16299
17061
|
submitted_at?: string | null;
|
|
16300
17062
|
updated_at?: string;
|
|
16301
17063
|
};
|
|
16302
|
-
Relationships: [
|
|
16303
|
-
|
|
16304
|
-
|
|
16305
|
-
|
|
16306
|
-
|
|
16307
|
-
|
|
16308
|
-
|
|
17064
|
+
Relationships: [];
|
|
17065
|
+
};
|
|
17066
|
+
user_module_permissions: {
|
|
17067
|
+
Row: {
|
|
17068
|
+
created_at: string;
|
|
17069
|
+
feature_id: string;
|
|
17070
|
+
id: string;
|
|
17071
|
+
module_id: string;
|
|
17072
|
+
permission: string;
|
|
17073
|
+
updated_at: string;
|
|
17074
|
+
user_id: string;
|
|
17075
|
+
};
|
|
17076
|
+
Insert: {
|
|
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
|
+
Update: {
|
|
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
|
+
Relationships: [];
|
|
16309
17095
|
};
|
|
16310
17096
|
user_roles: {
|
|
16311
17097
|
Row: {
|
|
@@ -16334,6 +17120,51 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
16334
17120
|
referencedColumns: ["id"];
|
|
16335
17121
|
}];
|
|
16336
17122
|
};
|
|
17123
|
+
van_inventories: {
|
|
17124
|
+
Row: {
|
|
17125
|
+
barcode: string | null;
|
|
17126
|
+
created_at: string;
|
|
17127
|
+
id: string;
|
|
17128
|
+
monteur_id: string | null;
|
|
17129
|
+
price_per_unit: number;
|
|
17130
|
+
product_name: string;
|
|
17131
|
+
quantity_current: number;
|
|
17132
|
+
quantity_min: number;
|
|
17133
|
+
unit: string;
|
|
17134
|
+
updated_at: string;
|
|
17135
|
+
};
|
|
17136
|
+
Insert: {
|
|
17137
|
+
barcode?: string | null;
|
|
17138
|
+
created_at?: string;
|
|
17139
|
+
id?: string;
|
|
17140
|
+
monteur_id?: string | null;
|
|
17141
|
+
price_per_unit?: number;
|
|
17142
|
+
product_name: string;
|
|
17143
|
+
quantity_current?: number;
|
|
17144
|
+
quantity_min?: number;
|
|
17145
|
+
unit?: string;
|
|
17146
|
+
updated_at?: string;
|
|
17147
|
+
};
|
|
17148
|
+
Update: {
|
|
17149
|
+
barcode?: string | null;
|
|
17150
|
+
created_at?: string;
|
|
17151
|
+
id?: string;
|
|
17152
|
+
monteur_id?: string | null;
|
|
17153
|
+
price_per_unit?: number;
|
|
17154
|
+
product_name?: string;
|
|
17155
|
+
quantity_current?: number;
|
|
17156
|
+
quantity_min?: number;
|
|
17157
|
+
unit?: string;
|
|
17158
|
+
updated_at?: string;
|
|
17159
|
+
};
|
|
17160
|
+
Relationships: [{
|
|
17161
|
+
foreignKeyName: "van_inventories_monteur_id_fkey";
|
|
17162
|
+
columns: ["monteur_id"];
|
|
17163
|
+
isOneToOne: false;
|
|
17164
|
+
referencedRelation: "profiles";
|
|
17165
|
+
referencedColumns: ["id"];
|
|
17166
|
+
}];
|
|
17167
|
+
};
|
|
16337
17168
|
voorraad_custom_fields: {
|
|
16338
17169
|
Row: {
|
|
16339
17170
|
created_at: string;
|
|
@@ -17284,7 +18115,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
17284
18115
|
foreignKeyName: "work_order_monteurs_monteur_id_fkey";
|
|
17285
18116
|
columns: ["monteur_id"];
|
|
17286
18117
|
isOneToOne: false;
|
|
17287
|
-
referencedRelation: "
|
|
18118
|
+
referencedRelation: "profiles";
|
|
17288
18119
|
referencedColumns: ["id"];
|
|
17289
18120
|
}, {
|
|
17290
18121
|
foreignKeyName: "work_order_monteurs_work_order_id_fkey";
|
|
@@ -17294,6 +18125,60 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
17294
18125
|
referencedColumns: ["id"];
|
|
17295
18126
|
}];
|
|
17296
18127
|
};
|
|
18128
|
+
work_order_photos: {
|
|
18129
|
+
Row: {
|
|
18130
|
+
ai_caption: string | null;
|
|
18131
|
+
ai_categorized_at: string | null;
|
|
18132
|
+
ai_labels: import("../integrations/supabase/types").Json | null;
|
|
18133
|
+
caption: string | null;
|
|
18134
|
+
created_at: string;
|
|
18135
|
+
id: string;
|
|
18136
|
+
monteur_id: string | null;
|
|
18137
|
+
photo_type: string;
|
|
18138
|
+
storage_path: string;
|
|
18139
|
+
updated_at: string;
|
|
18140
|
+
work_order_id: string;
|
|
18141
|
+
};
|
|
18142
|
+
Insert: {
|
|
18143
|
+
ai_caption?: string | null;
|
|
18144
|
+
ai_categorized_at?: string | null;
|
|
18145
|
+
ai_labels?: import("../integrations/supabase/types").Json | null;
|
|
18146
|
+
caption?: string | null;
|
|
18147
|
+
created_at?: string;
|
|
18148
|
+
id?: string;
|
|
18149
|
+
monteur_id?: string | null;
|
|
18150
|
+
photo_type?: string;
|
|
18151
|
+
storage_path: string;
|
|
18152
|
+
updated_at?: string;
|
|
18153
|
+
work_order_id: string;
|
|
18154
|
+
};
|
|
18155
|
+
Update: {
|
|
18156
|
+
ai_caption?: string | null;
|
|
18157
|
+
ai_categorized_at?: string | null;
|
|
18158
|
+
ai_labels?: import("../integrations/supabase/types").Json | null;
|
|
18159
|
+
caption?: string | null;
|
|
18160
|
+
created_at?: string;
|
|
18161
|
+
id?: string;
|
|
18162
|
+
monteur_id?: string | null;
|
|
18163
|
+
photo_type?: string;
|
|
18164
|
+
storage_path?: string;
|
|
18165
|
+
updated_at?: string;
|
|
18166
|
+
work_order_id?: string;
|
|
18167
|
+
};
|
|
18168
|
+
Relationships: [{
|
|
18169
|
+
foreignKeyName: "work_order_photos_monteur_id_fkey";
|
|
18170
|
+
columns: ["monteur_id"];
|
|
18171
|
+
isOneToOne: false;
|
|
18172
|
+
referencedRelation: "profiles";
|
|
18173
|
+
referencedColumns: ["id"];
|
|
18174
|
+
}, {
|
|
18175
|
+
foreignKeyName: "work_order_photos_work_order_id_fkey";
|
|
18176
|
+
columns: ["work_order_id"];
|
|
18177
|
+
isOneToOne: false;
|
|
18178
|
+
referencedRelation: "work_orders";
|
|
18179
|
+
referencedColumns: ["id"];
|
|
18180
|
+
}];
|
|
18181
|
+
};
|
|
17297
18182
|
work_orders: {
|
|
17298
18183
|
Row: {
|
|
17299
18184
|
assigned_to: string | null;
|
|
@@ -17325,7 +18210,6 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
17325
18210
|
scheduled_end_time: string | null;
|
|
17326
18211
|
scheduled_start_time: string | null;
|
|
17327
18212
|
status: string;
|
|
17328
|
-
tenant_id: string;
|
|
17329
18213
|
total_hours_worked: number | null;
|
|
17330
18214
|
total_price: number | null;
|
|
17331
18215
|
travel_time_minutes: number | null;
|
|
@@ -17363,7 +18247,6 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
17363
18247
|
scheduled_end_time?: string | null;
|
|
17364
18248
|
scheduled_start_time?: string | null;
|
|
17365
18249
|
status?: string;
|
|
17366
|
-
tenant_id: string;
|
|
17367
18250
|
total_hours_worked?: number | null;
|
|
17368
18251
|
total_price?: number | null;
|
|
17369
18252
|
travel_time_minutes?: number | null;
|
|
@@ -17401,7 +18284,6 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
17401
18284
|
scheduled_end_time?: string | null;
|
|
17402
18285
|
scheduled_start_time?: string | null;
|
|
17403
18286
|
status?: string;
|
|
17404
|
-
tenant_id?: string;
|
|
17405
18287
|
total_hours_worked?: number | null;
|
|
17406
18288
|
total_price?: number | null;
|
|
17407
18289
|
travel_time_minutes?: number | null;
|
|
@@ -17415,12 +18297,6 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
17415
18297
|
isOneToOne: false;
|
|
17416
18298
|
referencedRelation: "work_orders";
|
|
17417
18299
|
referencedColumns: ["id"];
|
|
17418
|
-
}, {
|
|
17419
|
-
foreignKeyName: "work_orders_tenant_id_fkey";
|
|
17420
|
-
columns: ["tenant_id"];
|
|
17421
|
-
isOneToOne: false;
|
|
17422
|
-
referencedRelation: "tenants";
|
|
17423
|
-
referencedColumns: ["id"];
|
|
17424
18300
|
}];
|
|
17425
18301
|
};
|
|
17426
18302
|
};
|
|
@@ -18105,6 +18981,19 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
18105
18981
|
};
|
|
18106
18982
|
Returns: undefined;
|
|
18107
18983
|
};
|
|
18984
|
+
approve_mailbox_order_proposal: {
|
|
18985
|
+
Args: {
|
|
18986
|
+
p_custom_fields: import("../integrations/supabase/types").Json;
|
|
18987
|
+
p_customer_id: string;
|
|
18988
|
+
p_delivery_date: string;
|
|
18989
|
+
p_field_values?: import("../integrations/supabase/types").Json;
|
|
18990
|
+
p_lines: import("../integrations/supabase/types").Json;
|
|
18991
|
+
p_notes: string;
|
|
18992
|
+
p_proposal_id: string;
|
|
18993
|
+
p_reviewed_by: string;
|
|
18994
|
+
};
|
|
18995
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
18996
|
+
};
|
|
18108
18997
|
assign_cart_numbers: {
|
|
18109
18998
|
Args: {
|
|
18110
18999
|
p_carts: import("../integrations/supabase/types").Json;
|
|
@@ -18140,6 +19029,10 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
18140
19029
|
processed_items: number;
|
|
18141
19030
|
}[];
|
|
18142
19031
|
};
|
|
19032
|
+
backfill_order_auto_invoice_queue: {
|
|
19033
|
+
Args: never;
|
|
19034
|
+
Returns: number;
|
|
19035
|
+
};
|
|
18143
19036
|
calculate_layer_stock: {
|
|
18144
19037
|
Args: {
|
|
18145
19038
|
p_product_id: string;
|
|
@@ -18152,6 +19045,10 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
18152
19045
|
};
|
|
18153
19046
|
Returns: number;
|
|
18154
19047
|
};
|
|
19048
|
+
can_manage_hours: {
|
|
19049
|
+
Args: never;
|
|
19050
|
+
Returns: boolean;
|
|
19051
|
+
};
|
|
18155
19052
|
check_offer_product_available_stock: {
|
|
18156
19053
|
Args: {
|
|
18157
19054
|
p_campaign_product_id: string;
|
|
@@ -18174,6 +19071,77 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
18174
19071
|
};
|
|
18175
19072
|
Returns: import("../integrations/supabase/types").Json;
|
|
18176
19073
|
};
|
|
19074
|
+
claim_cloud_print_jobs: {
|
|
19075
|
+
Args: {
|
|
19076
|
+
_max?: number;
|
|
19077
|
+
};
|
|
19078
|
+
Returns: {
|
|
19079
|
+
agent_id: string | null;
|
|
19080
|
+
bron_job_id: string | null;
|
|
19081
|
+
created_at: string;
|
|
19082
|
+
documentnaam: string;
|
|
19083
|
+
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
19084
|
+
extern_job_id: string | null;
|
|
19085
|
+
foutmelding: string | null;
|
|
19086
|
+
gebruiker_id: string | null;
|
|
19087
|
+
gebruiker_naam: string;
|
|
19088
|
+
gestart_op: string | null;
|
|
19089
|
+
id: string;
|
|
19090
|
+
idempotentie_sleutel: string | null;
|
|
19091
|
+
is_herprint: boolean;
|
|
19092
|
+
kopieen: number;
|
|
19093
|
+
layout_id: string | null;
|
|
19094
|
+
opgepakt_op: string | null;
|
|
19095
|
+
paginas: number;
|
|
19096
|
+
payload: import("../integrations/supabase/types").Json;
|
|
19097
|
+
pdf_base64: string | null;
|
|
19098
|
+
pdf_url: string | null;
|
|
19099
|
+
pogingen: number;
|
|
19100
|
+
printer_id: string | null;
|
|
19101
|
+
render_html: string | null;
|
|
19102
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
19103
|
+
updated_at: string;
|
|
19104
|
+
volgende_poging: string | null;
|
|
19105
|
+
voltooid_op: string | null;
|
|
19106
|
+
}[];
|
|
19107
|
+
SetofOptions: {
|
|
19108
|
+
from: "*";
|
|
19109
|
+
to: "print_jobs";
|
|
19110
|
+
isOneToOne: false;
|
|
19111
|
+
isSetofReturn: true;
|
|
19112
|
+
};
|
|
19113
|
+
};
|
|
19114
|
+
claim_floriday_stock_queue: {
|
|
19115
|
+
Args: {
|
|
19116
|
+
p_limit?: number;
|
|
19117
|
+
p_worker?: string;
|
|
19118
|
+
};
|
|
19119
|
+
Returns: {
|
|
19120
|
+
attempts: number;
|
|
19121
|
+
connection_id: string;
|
|
19122
|
+
created_at: string;
|
|
19123
|
+
desired_available: boolean | null;
|
|
19124
|
+
gateway_attempt_id: string | null;
|
|
19125
|
+
id: string;
|
|
19126
|
+
last_error: string | null;
|
|
19127
|
+
locked_at: string | null;
|
|
19128
|
+
locked_by: string | null;
|
|
19129
|
+
next_attempt_at: string;
|
|
19130
|
+
number_of_pieces: number;
|
|
19131
|
+
sent_at: string | null;
|
|
19132
|
+
status: string;
|
|
19133
|
+
superseded_by: string | null;
|
|
19134
|
+
trade_item_id: string;
|
|
19135
|
+
updated_at: string;
|
|
19136
|
+
user_id: string;
|
|
19137
|
+
}[];
|
|
19138
|
+
SetofOptions: {
|
|
19139
|
+
from: "*";
|
|
19140
|
+
to: "floriday_continuous_stock_queue";
|
|
19141
|
+
isOneToOne: false;
|
|
19142
|
+
isSetofReturn: true;
|
|
19143
|
+
};
|
|
19144
|
+
};
|
|
18177
19145
|
claim_logistics_tasks: {
|
|
18178
19146
|
Args: {
|
|
18179
19147
|
_limit?: number;
|
|
@@ -18233,22 +19201,27 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
18233
19201
|
created_at: string;
|
|
18234
19202
|
documentnaam: string;
|
|
18235
19203
|
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
19204
|
+
extern_job_id: string | null;
|
|
18236
19205
|
foutmelding: string | null;
|
|
18237
19206
|
gebruiker_id: string | null;
|
|
18238
19207
|
gebruiker_naam: string;
|
|
18239
19208
|
gestart_op: string | null;
|
|
18240
19209
|
id: string;
|
|
19210
|
+
idempotentie_sleutel: string | null;
|
|
18241
19211
|
is_herprint: boolean;
|
|
18242
19212
|
kopieen: number;
|
|
18243
19213
|
layout_id: string | null;
|
|
18244
19214
|
opgepakt_op: string | null;
|
|
18245
19215
|
paginas: number;
|
|
18246
19216
|
payload: import("../integrations/supabase/types").Json;
|
|
19217
|
+
pdf_base64: string | null;
|
|
19218
|
+
pdf_url: string | null;
|
|
18247
19219
|
pogingen: number;
|
|
18248
19220
|
printer_id: string | null;
|
|
18249
19221
|
render_html: string | null;
|
|
18250
19222
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
18251
19223
|
updated_at: string;
|
|
19224
|
+
volgende_poging: string | null;
|
|
18252
19225
|
voltooid_op: string | null;
|
|
18253
19226
|
}[];
|
|
18254
19227
|
SetofOptions: {
|
|
@@ -18265,6 +19238,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
18265
19238
|
};
|
|
18266
19239
|
Returns: {
|
|
18267
19240
|
action: string;
|
|
19241
|
+
attempt_started_at: string | null;
|
|
18268
19242
|
attempts: number;
|
|
18269
19243
|
connection_id: string | null;
|
|
18270
19244
|
created_at: string;
|
|
@@ -18286,10 +19260,28 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
18286
19260
|
isSetofReturn: true;
|
|
18287
19261
|
};
|
|
18288
19262
|
};
|
|
19263
|
+
cleanup_floriday_stock_queue: {
|
|
19264
|
+
Args: never;
|
|
19265
|
+
Returns: undefined;
|
|
19266
|
+
};
|
|
18289
19267
|
cleanup_old_bookings: {
|
|
18290
19268
|
Args: never;
|
|
18291
19269
|
Returns: undefined;
|
|
18292
19270
|
};
|
|
19271
|
+
cleanup_voorraad_module_history: {
|
|
19272
|
+
Args: never;
|
|
19273
|
+
Returns: undefined;
|
|
19274
|
+
};
|
|
19275
|
+
complete_floriday_stock_queue: {
|
|
19276
|
+
Args: {
|
|
19277
|
+
p_attempt_id?: string;
|
|
19278
|
+
p_error?: string;
|
|
19279
|
+
p_id: string;
|
|
19280
|
+
p_ok: boolean;
|
|
19281
|
+
p_permanent?: boolean;
|
|
19282
|
+
};
|
|
19283
|
+
Returns: undefined;
|
|
19284
|
+
};
|
|
18293
19285
|
consume_bom_for_production: {
|
|
18294
19286
|
Args: {
|
|
18295
19287
|
p_connection_id: string;
|
|
@@ -18334,6 +19326,30 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
18334
19326
|
agent_naam: string;
|
|
18335
19327
|
}[];
|
|
18336
19328
|
};
|
|
19329
|
+
consume_van_inventory: {
|
|
19330
|
+
Args: {
|
|
19331
|
+
p_inventory_id: string;
|
|
19332
|
+
p_quantity: number;
|
|
19333
|
+
};
|
|
19334
|
+
Returns: {
|
|
19335
|
+
barcode: string | null;
|
|
19336
|
+
created_at: string;
|
|
19337
|
+
id: string;
|
|
19338
|
+
monteur_id: string | null;
|
|
19339
|
+
price_per_unit: number;
|
|
19340
|
+
product_name: string;
|
|
19341
|
+
quantity_current: number;
|
|
19342
|
+
quantity_min: number;
|
|
19343
|
+
unit: string;
|
|
19344
|
+
updated_at: string;
|
|
19345
|
+
};
|
|
19346
|
+
SetofOptions: {
|
|
19347
|
+
from: "*";
|
|
19348
|
+
to: "van_inventories";
|
|
19349
|
+
isOneToOne: true;
|
|
19350
|
+
isSetofReturn: false;
|
|
19351
|
+
};
|
|
19352
|
+
};
|
|
18337
19353
|
control_get_todays_carts: {
|
|
18338
19354
|
Args: never;
|
|
18339
19355
|
Returns: {
|
|
@@ -18401,6 +19417,20 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
18401
19417
|
};
|
|
18402
19418
|
Returns: import("../integrations/supabase/types").Json;
|
|
18403
19419
|
};
|
|
19420
|
+
effective_module_permission: {
|
|
19421
|
+
Args: {
|
|
19422
|
+
_module_id: string;
|
|
19423
|
+
_user_id: string;
|
|
19424
|
+
};
|
|
19425
|
+
Returns: string;
|
|
19426
|
+
} | {
|
|
19427
|
+
Args: {
|
|
19428
|
+
_feature_id: string;
|
|
19429
|
+
_module_id: string;
|
|
19430
|
+
_user_id: string;
|
|
19431
|
+
};
|
|
19432
|
+
Returns: string;
|
|
19433
|
+
};
|
|
18404
19434
|
email_auth_decrypt: {
|
|
18405
19435
|
Args: {
|
|
18406
19436
|
cipher: string;
|
|
@@ -18751,12 +19781,6 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
18751
19781
|
Args: never;
|
|
18752
19782
|
Returns: string;
|
|
18753
19783
|
};
|
|
18754
|
-
get_work_order_tenant_id: {
|
|
18755
|
-
Args: {
|
|
18756
|
-
wo_id: string;
|
|
18757
|
-
};
|
|
18758
|
-
Returns: string;
|
|
18759
|
-
};
|
|
18760
19784
|
has_module_permission: {
|
|
18761
19785
|
Args: {
|
|
18762
19786
|
_min: string;
|
|
@@ -18790,6 +19814,13 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
18790
19814
|
};
|
|
18791
19815
|
Returns: boolean;
|
|
18792
19816
|
};
|
|
19817
|
+
is_time_log_week_locked: {
|
|
19818
|
+
Args: {
|
|
19819
|
+
p_employee_id: string;
|
|
19820
|
+
p_start_time: string;
|
|
19821
|
+
};
|
|
19822
|
+
Returns: boolean;
|
|
19823
|
+
};
|
|
18793
19824
|
is_user_admin: {
|
|
18794
19825
|
Args: never;
|
|
18795
19826
|
Returns: boolean;
|
|
@@ -18804,13 +19835,14 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
18804
19835
|
};
|
|
18805
19836
|
Returns: boolean;
|
|
18806
19837
|
};
|
|
18807
|
-
|
|
19838
|
+
list_medewerkers: {
|
|
18808
19839
|
Args: never;
|
|
18809
19840
|
Returns: {
|
|
18810
19841
|
avatar_url: string;
|
|
18811
19842
|
display_name: string;
|
|
18812
19843
|
email: string;
|
|
18813
19844
|
id: string;
|
|
19845
|
+
roles: string[];
|
|
18814
19846
|
}[];
|
|
18815
19847
|
};
|
|
18816
19848
|
list_my_planning_items: {
|
|
@@ -19204,6 +20236,51 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
19204
20236
|
isSetofReturn: false;
|
|
19205
20237
|
};
|
|
19206
20238
|
};
|
|
20239
|
+
logistics_floriday_claim_pushes: {
|
|
20240
|
+
Args: {
|
|
20241
|
+
_lease_seconds?: number;
|
|
20242
|
+
_limit?: number;
|
|
20243
|
+
_worker?: string;
|
|
20244
|
+
};
|
|
20245
|
+
Returns: {
|
|
20246
|
+
attempts: number;
|
|
20247
|
+
fulfillment_order_id: string;
|
|
20248
|
+
id: string;
|
|
20249
|
+
last_sent_hash: string;
|
|
20250
|
+
order_ref: string;
|
|
20251
|
+
payload: import("../integrations/supabase/types").Json;
|
|
20252
|
+
payload_hash: string;
|
|
20253
|
+
revision: number;
|
|
20254
|
+
}[];
|
|
20255
|
+
};
|
|
20256
|
+
logistics_floriday_finish_push: {
|
|
20257
|
+
Args: {
|
|
20258
|
+
_error?: string;
|
|
20259
|
+
_fulfillment_order_id?: string;
|
|
20260
|
+
_id: string;
|
|
20261
|
+
_max_age_hours?: number;
|
|
20262
|
+
_max_attempts?: number;
|
|
20263
|
+
_ok: boolean;
|
|
20264
|
+
_permanent?: boolean;
|
|
20265
|
+
_revision: number;
|
|
20266
|
+
_sent_hash?: string;
|
|
20267
|
+
};
|
|
20268
|
+
Returns: string;
|
|
20269
|
+
};
|
|
20270
|
+
logistics_floriday_prune_pushes: {
|
|
20271
|
+
Args: {
|
|
20272
|
+
_days?: number;
|
|
20273
|
+
};
|
|
20274
|
+
Returns: number;
|
|
20275
|
+
};
|
|
20276
|
+
logistics_floriday_queue_push: {
|
|
20277
|
+
Args: {
|
|
20278
|
+
_order_ref: string;
|
|
20279
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
20280
|
+
_payload_hash?: string;
|
|
20281
|
+
};
|
|
20282
|
+
Returns: string;
|
|
20283
|
+
};
|
|
19207
20284
|
logistics_live_carriers: {
|
|
19208
20285
|
Args: {
|
|
19209
20286
|
p_order_ref: string;
|
|
@@ -19256,6 +20333,65 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
19256
20333
|
};
|
|
19257
20334
|
Returns: number;
|
|
19258
20335
|
};
|
|
20336
|
+
logistics_plan_claim: {
|
|
20337
|
+
Args: {
|
|
20338
|
+
p_limit?: number;
|
|
20339
|
+
};
|
|
20340
|
+
Returns: {
|
|
20341
|
+
attempts: number;
|
|
20342
|
+
id: string;
|
|
20343
|
+
order_id: string;
|
|
20344
|
+
}[];
|
|
20345
|
+
};
|
|
20346
|
+
logistics_plan_enqueue: {
|
|
20347
|
+
Args: {
|
|
20348
|
+
p_order_id: string;
|
|
20349
|
+
p_reason?: string;
|
|
20350
|
+
};
|
|
20351
|
+
Returns: undefined;
|
|
20352
|
+
};
|
|
20353
|
+
logistics_plan_ensure_event: {
|
|
20354
|
+
Args: {
|
|
20355
|
+
p_order_id: string;
|
|
20356
|
+
};
|
|
20357
|
+
Returns: boolean;
|
|
20358
|
+
};
|
|
20359
|
+
logistics_plan_finish: {
|
|
20360
|
+
Args: {
|
|
20361
|
+
p_error?: string;
|
|
20362
|
+
p_id: string;
|
|
20363
|
+
};
|
|
20364
|
+
Returns: undefined;
|
|
20365
|
+
};
|
|
20366
|
+
logistics_plan_impact_orders: {
|
|
20367
|
+
Args: {
|
|
20368
|
+
p_order_id: string;
|
|
20369
|
+
};
|
|
20370
|
+
Returns: {
|
|
20371
|
+
buffer_id: string;
|
|
20372
|
+
order_id: string;
|
|
20373
|
+
plan_date: string;
|
|
20374
|
+
}[];
|
|
20375
|
+
};
|
|
20376
|
+
logistics_plan_kick: {
|
|
20377
|
+
Args: never;
|
|
20378
|
+
Returns: undefined;
|
|
20379
|
+
};
|
|
20380
|
+
logistics_plan_prune: {
|
|
20381
|
+
Args: never;
|
|
20382
|
+
Returns: number;
|
|
20383
|
+
};
|
|
20384
|
+
logistics_plan_release_stale: {
|
|
20385
|
+
Args: never;
|
|
20386
|
+
Returns: number;
|
|
20387
|
+
};
|
|
20388
|
+
logistics_plan_setting: {
|
|
20389
|
+
Args: {
|
|
20390
|
+
p_default: number;
|
|
20391
|
+
p_key: string;
|
|
20392
|
+
};
|
|
20393
|
+
Returns: number;
|
|
20394
|
+
};
|
|
19259
20395
|
logistics_queue_capacity_email: {
|
|
19260
20396
|
Args: {
|
|
19261
20397
|
p_alert_id: string;
|
|
@@ -19494,6 +20630,14 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
19494
20630
|
};
|
|
19495
20631
|
Returns: undefined;
|
|
19496
20632
|
};
|
|
20633
|
+
my_module_permissions: {
|
|
20634
|
+
Args: never;
|
|
20635
|
+
Returns: {
|
|
20636
|
+
feature_id: string;
|
|
20637
|
+
module_id: string;
|
|
20638
|
+
permission: string;
|
|
20639
|
+
}[];
|
|
20640
|
+
};
|
|
19497
20641
|
next_manufacture_partij: {
|
|
19498
20642
|
Args: {
|
|
19499
20643
|
_tenant_id: string;
|
|
@@ -19544,6 +20688,13 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
19544
20688
|
};
|
|
19545
20689
|
Returns: boolean;
|
|
19546
20690
|
};
|
|
20691
|
+
opruim_print_historie: {
|
|
20692
|
+
Args: never;
|
|
20693
|
+
Returns: {
|
|
20694
|
+
ontdaan: number;
|
|
20695
|
+
verwijderd: number;
|
|
20696
|
+
}[];
|
|
20697
|
+
};
|
|
19547
20698
|
order_number_prefix: {
|
|
19548
20699
|
Args: {
|
|
19549
20700
|
p_custom_fields?: import("../integrations/supabase/types").Json;
|
|
@@ -19551,6 +20702,15 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
19551
20702
|
};
|
|
19552
20703
|
Returns: string;
|
|
19553
20704
|
};
|
|
20705
|
+
pick_active_printers: {
|
|
20706
|
+
Args: never;
|
|
20707
|
+
Returns: {
|
|
20708
|
+
id: string;
|
|
20709
|
+
locatie: string;
|
|
20710
|
+
naam: string;
|
|
20711
|
+
online: boolean;
|
|
20712
|
+
}[];
|
|
20713
|
+
};
|
|
19554
20714
|
pick_claim_document: {
|
|
19555
20715
|
Args: {
|
|
19556
20716
|
_queue_item_id: string;
|
|
@@ -19737,6 +20897,52 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
19737
20897
|
};
|
|
19738
20898
|
Returns: undefined;
|
|
19739
20899
|
};
|
|
20900
|
+
pick_reset_print: {
|
|
20901
|
+
Args: {
|
|
20902
|
+
_queue_item_id: string;
|
|
20903
|
+
_session_id: string;
|
|
20904
|
+
};
|
|
20905
|
+
Returns: {
|
|
20906
|
+
announced_at: string;
|
|
20907
|
+
assigned_user_id: string | null;
|
|
20908
|
+
barcode: string | null;
|
|
20909
|
+
cancelled_at: string | null;
|
|
20910
|
+
cart_count: number;
|
|
20911
|
+
completed_at: string | null;
|
|
20912
|
+
country_code: string | null;
|
|
20913
|
+
created_at: string;
|
|
20914
|
+
customer_name: string | null;
|
|
20915
|
+
delivery_address: string | null;
|
|
20916
|
+
document_number: string | null;
|
|
20917
|
+
document_type_id: string | null;
|
|
20918
|
+
due_at: string | null;
|
|
20919
|
+
id: string;
|
|
20920
|
+
is_urgent: boolean;
|
|
20921
|
+
line_count: number;
|
|
20922
|
+
order_number: string | null;
|
|
20923
|
+
order_type: string | null;
|
|
20924
|
+
payload: import("../integrations/supabase/types").Json;
|
|
20925
|
+
print_count: number;
|
|
20926
|
+
print_job_id: string | null;
|
|
20927
|
+
printed_at: string | null;
|
|
20928
|
+
printed_by: string | null;
|
|
20929
|
+
printer_id: string | null;
|
|
20930
|
+
priority: number;
|
|
20931
|
+
reference: string | null;
|
|
20932
|
+
route: string | null;
|
|
20933
|
+
screen_id: string | null;
|
|
20934
|
+
station_id: string | null;
|
|
20935
|
+
status_id: string | null;
|
|
20936
|
+
updated_at: string;
|
|
20937
|
+
warnings: import("../integrations/supabase/types").Json;
|
|
20938
|
+
};
|
|
20939
|
+
SetofOptions: {
|
|
20940
|
+
from: "*";
|
|
20941
|
+
to: "pick_queue";
|
|
20942
|
+
isOneToOne: true;
|
|
20943
|
+
isSetofReturn: false;
|
|
20944
|
+
};
|
|
20945
|
+
};
|
|
19740
20946
|
pick_station_dashboard: {
|
|
19741
20947
|
Args: never;
|
|
19742
20948
|
Returns: {
|
|
@@ -19883,6 +21089,12 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
19883
21089
|
};
|
|
19884
21090
|
Returns: undefined;
|
|
19885
21091
|
};
|
|
21092
|
+
reset_stalled_floriday_stock_queue: {
|
|
21093
|
+
Args: {
|
|
21094
|
+
p_include_failed?: boolean;
|
|
21095
|
+
};
|
|
21096
|
+
Returns: number;
|
|
21097
|
+
};
|
|
19886
21098
|
resolve_group_allocation: {
|
|
19887
21099
|
Args: {
|
|
19888
21100
|
_needed: number;
|
|
@@ -19927,14 +21139,28 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
19927
21139
|
};
|
|
19928
21140
|
Returns: import("../integrations/supabase/types").Json;
|
|
19929
21141
|
};
|
|
21142
|
+
ruim_print_jobs_op: {
|
|
21143
|
+
Args: {
|
|
21144
|
+
_bewaar_dagen?: number;
|
|
21145
|
+
};
|
|
21146
|
+
Returns: number;
|
|
21147
|
+
};
|
|
19930
21148
|
run_floriday_continuous_stock_sync: {
|
|
19931
21149
|
Args: never;
|
|
19932
21150
|
Returns: undefined;
|
|
19933
21151
|
};
|
|
21152
|
+
run_floriday_stock_queue_process: {
|
|
21153
|
+
Args: never;
|
|
21154
|
+
Returns: undefined;
|
|
21155
|
+
};
|
|
19934
21156
|
run_logistics_tasks_dispatch: {
|
|
19935
21157
|
Args: never;
|
|
19936
21158
|
Returns: undefined;
|
|
19937
21159
|
};
|
|
21160
|
+
run_print_queue_ticks: {
|
|
21161
|
+
Args: never;
|
|
21162
|
+
Returns: number;
|
|
21163
|
+
};
|
|
19938
21164
|
run_twinfield_queue_tick: {
|
|
19939
21165
|
Args: never;
|
|
19940
21166
|
Returns: undefined;
|
|
@@ -20175,6 +21401,13 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
20175
21401
|
};
|
|
20176
21402
|
Returns: number;
|
|
20177
21403
|
};
|
|
21404
|
+
schedule_floriday_stock_queue_process: {
|
|
21405
|
+
Args: {
|
|
21406
|
+
p_apikey: string;
|
|
21407
|
+
p_url: string;
|
|
21408
|
+
};
|
|
21409
|
+
Returns: number;
|
|
21410
|
+
};
|
|
20178
21411
|
schedule_floriday_token_refresh: {
|
|
20179
21412
|
Args: {
|
|
20180
21413
|
p_apikey: string;
|
|
@@ -20281,6 +21514,16 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
20281
21514
|
};
|
|
20282
21515
|
Returns: string[];
|
|
20283
21516
|
};
|
|
21517
|
+
switch_time_log: {
|
|
21518
|
+
Args: {
|
|
21519
|
+
p_employee_id: string;
|
|
21520
|
+
p_start_lat?: number;
|
|
21521
|
+
p_start_lng?: number;
|
|
21522
|
+
p_type: string;
|
|
21523
|
+
p_work_order_id?: string;
|
|
21524
|
+
};
|
|
21525
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21526
|
+
};
|
|
20284
21527
|
sync_all_layer_stocks: {
|
|
20285
21528
|
Args: never;
|
|
20286
21529
|
Returns: undefined;
|
|
@@ -20315,6 +21558,15 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
20315
21558
|
};
|
|
20316
21559
|
Returns: undefined;
|
|
20317
21560
|
};
|
|
21561
|
+
trade_item_stock_duplicates: {
|
|
21562
|
+
Args: never;
|
|
21563
|
+
Returns: {
|
|
21564
|
+
keys: string[];
|
|
21565
|
+
product_id: string;
|
|
21566
|
+
product_name: string;
|
|
21567
|
+
row_count: number;
|
|
21568
|
+
}[];
|
|
21569
|
+
};
|
|
20318
21570
|
try_debtor_lock: {
|
|
20319
21571
|
Args: {
|
|
20320
21572
|
_group_key: string;
|
|
@@ -20322,6 +21574,24 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
20322
21574
|
};
|
|
20323
21575
|
Returns: boolean;
|
|
20324
21576
|
};
|
|
21577
|
+
twinfield_cron_lock_acquire: {
|
|
21578
|
+
Args: {
|
|
21579
|
+
_job_name: string;
|
|
21580
|
+
_stale_seconds?: number;
|
|
21581
|
+
};
|
|
21582
|
+
Returns: boolean;
|
|
21583
|
+
};
|
|
21584
|
+
twinfield_cron_lock_release: {
|
|
21585
|
+
Args: {
|
|
21586
|
+
_error?: string;
|
|
21587
|
+
_job_name: string;
|
|
21588
|
+
};
|
|
21589
|
+
Returns: undefined;
|
|
21590
|
+
};
|
|
21591
|
+
twinfield_prune_push_queue: {
|
|
21592
|
+
Args: never;
|
|
21593
|
+
Returns: number;
|
|
21594
|
+
};
|
|
20325
21595
|
twinfield_register_cron: {
|
|
20326
21596
|
Args: {
|
|
20327
21597
|
apikey?: string;
|
|
@@ -20364,7 +21634,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
20364
21634
|
};
|
|
20365
21635
|
Enums: {
|
|
20366
21636
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|
|
20367
|
-
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin";
|
|
21637
|
+
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
|
|
20368
21638
|
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
|
|
20369
21639
|
doc_orientation: "portrait" | "landscape";
|
|
20370
21640
|
exact_env: "staging" | "live";
|
|
@@ -21264,6 +22534,126 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
21264
22534
|
};
|
|
21265
22535
|
Relationships: [];
|
|
21266
22536
|
};
|
|
22537
|
+
cao_holidays: {
|
|
22538
|
+
Row: {
|
|
22539
|
+
created_at: string;
|
|
22540
|
+
description: string | null;
|
|
22541
|
+
holiday_date: string;
|
|
22542
|
+
id: string;
|
|
22543
|
+
updated_at: string;
|
|
22544
|
+
};
|
|
22545
|
+
Insert: {
|
|
22546
|
+
created_at?: string;
|
|
22547
|
+
description?: string | null;
|
|
22548
|
+
holiday_date: string;
|
|
22549
|
+
id?: string;
|
|
22550
|
+
updated_at?: string;
|
|
22551
|
+
};
|
|
22552
|
+
Update: {
|
|
22553
|
+
created_at?: string;
|
|
22554
|
+
description?: string | null;
|
|
22555
|
+
holiday_date?: string;
|
|
22556
|
+
id?: string;
|
|
22557
|
+
updated_at?: string;
|
|
22558
|
+
};
|
|
22559
|
+
Relationships: [];
|
|
22560
|
+
};
|
|
22561
|
+
cao_settings: {
|
|
22562
|
+
Row: {
|
|
22563
|
+
auto_break_after_hours: number;
|
|
22564
|
+
auto_break_minutes: number;
|
|
22565
|
+
auto_break_unpaid: boolean;
|
|
22566
|
+
auto_stop_after_hours: number;
|
|
22567
|
+
callout_fee: number;
|
|
22568
|
+
created_at: string;
|
|
22569
|
+
daily_regular_hours: number;
|
|
22570
|
+
default_hourly_rate: number;
|
|
22571
|
+
id: string;
|
|
22572
|
+
materials_markup_percent: number;
|
|
22573
|
+
max_daily_hours: number;
|
|
22574
|
+
max_weekly_hours: number;
|
|
22575
|
+
meal_allowance_amount: number;
|
|
22576
|
+
overtime_pct_178: number;
|
|
22577
|
+
overtime_pct_189: number;
|
|
22578
|
+
overtime_pct_212: number;
|
|
22579
|
+
reminder_after_hours: number;
|
|
22580
|
+
standby_evening_amount: number;
|
|
22581
|
+
standby_weekend_amount: number;
|
|
22582
|
+
travel_cost_per_km: number | null;
|
|
22583
|
+
travel_cost_threshold_km: number | null;
|
|
22584
|
+
travel_counts_as_work: boolean;
|
|
22585
|
+
travel_hourly_rate: number;
|
|
22586
|
+
travel_rate_per_hour: number;
|
|
22587
|
+
travel_threshold_minutes: number;
|
|
22588
|
+
updated_at: string;
|
|
22589
|
+
weekend_always_212: boolean;
|
|
22590
|
+
window_end: string;
|
|
22591
|
+
window_start: string;
|
|
22592
|
+
};
|
|
22593
|
+
Insert: {
|
|
22594
|
+
auto_break_after_hours?: number;
|
|
22595
|
+
auto_break_minutes?: number;
|
|
22596
|
+
auto_break_unpaid?: boolean;
|
|
22597
|
+
auto_stop_after_hours?: number;
|
|
22598
|
+
callout_fee?: number;
|
|
22599
|
+
created_at?: string;
|
|
22600
|
+
daily_regular_hours?: number;
|
|
22601
|
+
default_hourly_rate?: number;
|
|
22602
|
+
id?: string;
|
|
22603
|
+
materials_markup_percent?: number;
|
|
22604
|
+
max_daily_hours?: number;
|
|
22605
|
+
max_weekly_hours?: number;
|
|
22606
|
+
meal_allowance_amount?: number;
|
|
22607
|
+
overtime_pct_178?: number;
|
|
22608
|
+
overtime_pct_189?: number;
|
|
22609
|
+
overtime_pct_212?: number;
|
|
22610
|
+
reminder_after_hours?: number;
|
|
22611
|
+
standby_evening_amount?: number;
|
|
22612
|
+
standby_weekend_amount?: number;
|
|
22613
|
+
travel_cost_per_km?: number | null;
|
|
22614
|
+
travel_cost_threshold_km?: number | null;
|
|
22615
|
+
travel_counts_as_work?: boolean;
|
|
22616
|
+
travel_hourly_rate?: number;
|
|
22617
|
+
travel_rate_per_hour?: number;
|
|
22618
|
+
travel_threshold_minutes?: number;
|
|
22619
|
+
updated_at?: string;
|
|
22620
|
+
weekend_always_212?: boolean;
|
|
22621
|
+
window_end?: string;
|
|
22622
|
+
window_start?: string;
|
|
22623
|
+
};
|
|
22624
|
+
Update: {
|
|
22625
|
+
auto_break_after_hours?: number;
|
|
22626
|
+
auto_break_minutes?: number;
|
|
22627
|
+
auto_break_unpaid?: boolean;
|
|
22628
|
+
auto_stop_after_hours?: number;
|
|
22629
|
+
callout_fee?: number;
|
|
22630
|
+
created_at?: string;
|
|
22631
|
+
daily_regular_hours?: number;
|
|
22632
|
+
default_hourly_rate?: number;
|
|
22633
|
+
id?: string;
|
|
22634
|
+
materials_markup_percent?: number;
|
|
22635
|
+
max_daily_hours?: number;
|
|
22636
|
+
max_weekly_hours?: number;
|
|
22637
|
+
meal_allowance_amount?: number;
|
|
22638
|
+
overtime_pct_178?: number;
|
|
22639
|
+
overtime_pct_189?: number;
|
|
22640
|
+
overtime_pct_212?: number;
|
|
22641
|
+
reminder_after_hours?: number;
|
|
22642
|
+
standby_evening_amount?: number;
|
|
22643
|
+
standby_weekend_amount?: number;
|
|
22644
|
+
travel_cost_per_km?: number | null;
|
|
22645
|
+
travel_cost_threshold_km?: number | null;
|
|
22646
|
+
travel_counts_as_work?: boolean;
|
|
22647
|
+
travel_hourly_rate?: number;
|
|
22648
|
+
travel_rate_per_hour?: number;
|
|
22649
|
+
travel_threshold_minutes?: number;
|
|
22650
|
+
updated_at?: string;
|
|
22651
|
+
weekend_always_212?: boolean;
|
|
22652
|
+
window_end?: string;
|
|
22653
|
+
window_start?: string;
|
|
22654
|
+
};
|
|
22655
|
+
Relationships: [];
|
|
22656
|
+
};
|
|
21267
22657
|
carrier_shipping_rates: {
|
|
21268
22658
|
Row: {
|
|
21269
22659
|
carrier_id: string;
|
|
@@ -22076,7 +23466,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
22076
23466
|
city: string | null;
|
|
22077
23467
|
country: string | null;
|
|
22078
23468
|
created_at: string;
|
|
22079
|
-
customer_id: string
|
|
23469
|
+
customer_id: string;
|
|
22080
23470
|
external_key: string | null;
|
|
22081
23471
|
external_provider: string | null;
|
|
22082
23472
|
floriday_location_id: string | null;
|
|
@@ -22100,7 +23490,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
22100
23490
|
city?: string | null;
|
|
22101
23491
|
country?: string | null;
|
|
22102
23492
|
created_at?: string;
|
|
22103
|
-
customer_id
|
|
23493
|
+
customer_id: string;
|
|
22104
23494
|
external_key?: string | null;
|
|
22105
23495
|
external_provider?: string | null;
|
|
22106
23496
|
floriday_location_id?: string | null;
|
|
@@ -22124,7 +23514,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
22124
23514
|
city?: string | null;
|
|
22125
23515
|
country?: string | null;
|
|
22126
23516
|
created_at?: string;
|
|
22127
|
-
customer_id?: string
|
|
23517
|
+
customer_id?: string;
|
|
22128
23518
|
external_key?: string | null;
|
|
22129
23519
|
external_provider?: string | null;
|
|
22130
23520
|
floriday_location_id?: string | null;
|
|
@@ -26087,12 +27477,17 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
26087
27477
|
attempts: number;
|
|
26088
27478
|
connection_id: string;
|
|
26089
27479
|
created_at: string;
|
|
27480
|
+
desired_available: boolean | null;
|
|
26090
27481
|
gateway_attempt_id: string | null;
|
|
26091
27482
|
id: string;
|
|
26092
27483
|
last_error: string | null;
|
|
27484
|
+
locked_at: string | null;
|
|
27485
|
+
locked_by: string | null;
|
|
27486
|
+
next_attempt_at: string;
|
|
26093
27487
|
number_of_pieces: number;
|
|
26094
27488
|
sent_at: string | null;
|
|
26095
27489
|
status: string;
|
|
27490
|
+
superseded_by: string | null;
|
|
26096
27491
|
trade_item_id: string;
|
|
26097
27492
|
updated_at: string;
|
|
26098
27493
|
user_id: string;
|
|
@@ -26101,12 +27496,17 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
26101
27496
|
attempts?: number;
|
|
26102
27497
|
connection_id: string;
|
|
26103
27498
|
created_at?: string;
|
|
27499
|
+
desired_available?: boolean | null;
|
|
26104
27500
|
gateway_attempt_id?: string | null;
|
|
26105
27501
|
id?: string;
|
|
26106
27502
|
last_error?: string | null;
|
|
27503
|
+
locked_at?: string | null;
|
|
27504
|
+
locked_by?: string | null;
|
|
27505
|
+
next_attempt_at?: string;
|
|
26107
27506
|
number_of_pieces?: number;
|
|
26108
27507
|
sent_at?: string | null;
|
|
26109
27508
|
status?: string;
|
|
27509
|
+
superseded_by?: string | null;
|
|
26110
27510
|
trade_item_id: string;
|
|
26111
27511
|
updated_at?: string;
|
|
26112
27512
|
user_id: string;
|
|
@@ -26115,12 +27515,17 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
26115
27515
|
attempts?: number;
|
|
26116
27516
|
connection_id?: string;
|
|
26117
27517
|
created_at?: string;
|
|
27518
|
+
desired_available?: boolean | null;
|
|
26118
27519
|
gateway_attempt_id?: string | null;
|
|
26119
27520
|
id?: string;
|
|
26120
27521
|
last_error?: string | null;
|
|
27522
|
+
locked_at?: string | null;
|
|
27523
|
+
locked_by?: string | null;
|
|
27524
|
+
next_attempt_at?: string;
|
|
26121
27525
|
number_of_pieces?: number;
|
|
26122
27526
|
sent_at?: string | null;
|
|
26123
27527
|
status?: string;
|
|
27528
|
+
superseded_by?: string | null;
|
|
26124
27529
|
trade_item_id?: string;
|
|
26125
27530
|
updated_at?: string;
|
|
26126
27531
|
user_id?: string;
|
|
@@ -26857,6 +28262,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
26857
28262
|
Row: {
|
|
26858
28263
|
buyer_organization_id: string | null;
|
|
26859
28264
|
connection_id: string;
|
|
28265
|
+
controlled_at: string | null;
|
|
26860
28266
|
created_at: string;
|
|
26861
28267
|
data: import("../integrations/supabase/types").Json;
|
|
26862
28268
|
floriday_id: string;
|
|
@@ -26868,6 +28274,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
26868
28274
|
Insert: {
|
|
26869
28275
|
buyer_organization_id?: string | null;
|
|
26870
28276
|
connection_id: string;
|
|
28277
|
+
controlled_at?: string | null;
|
|
26871
28278
|
created_at?: string;
|
|
26872
28279
|
data: import("../integrations/supabase/types").Json;
|
|
26873
28280
|
floriday_id: string;
|
|
@@ -26879,6 +28286,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
26879
28286
|
Update: {
|
|
26880
28287
|
buyer_organization_id?: string | null;
|
|
26881
28288
|
connection_id?: string;
|
|
28289
|
+
controlled_at?: string | null;
|
|
26882
28290
|
created_at?: string;
|
|
26883
28291
|
data?: import("../integrations/supabase/types").Json;
|
|
26884
28292
|
floriday_id?: string;
|
|
@@ -27780,6 +29188,54 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
27780
29188
|
};
|
|
27781
29189
|
Relationships: [];
|
|
27782
29190
|
};
|
|
29191
|
+
invoice_timing_settings: {
|
|
29192
|
+
Row: {
|
|
29193
|
+
anchor: string;
|
|
29194
|
+
business_days_only: boolean;
|
|
29195
|
+
created_at: string;
|
|
29196
|
+
enabled: boolean;
|
|
29197
|
+
id: string;
|
|
29198
|
+
offset_days: number;
|
|
29199
|
+
pickup_anchor: string;
|
|
29200
|
+
pickup_business_days_only: boolean;
|
|
29201
|
+
pickup_offset_days: number;
|
|
29202
|
+
pickup_time_of_day: string;
|
|
29203
|
+
singleton: boolean;
|
|
29204
|
+
time_of_day: string;
|
|
29205
|
+
updated_at: string;
|
|
29206
|
+
};
|
|
29207
|
+
Insert: {
|
|
29208
|
+
anchor?: string;
|
|
29209
|
+
business_days_only?: boolean;
|
|
29210
|
+
created_at?: string;
|
|
29211
|
+
enabled?: boolean;
|
|
29212
|
+
id?: string;
|
|
29213
|
+
offset_days?: number;
|
|
29214
|
+
pickup_anchor?: string;
|
|
29215
|
+
pickup_business_days_only?: boolean;
|
|
29216
|
+
pickup_offset_days?: number;
|
|
29217
|
+
pickup_time_of_day?: string;
|
|
29218
|
+
singleton?: boolean;
|
|
29219
|
+
time_of_day?: string;
|
|
29220
|
+
updated_at?: string;
|
|
29221
|
+
};
|
|
29222
|
+
Update: {
|
|
29223
|
+
anchor?: string;
|
|
29224
|
+
business_days_only?: boolean;
|
|
29225
|
+
created_at?: string;
|
|
29226
|
+
enabled?: boolean;
|
|
29227
|
+
id?: string;
|
|
29228
|
+
offset_days?: number;
|
|
29229
|
+
pickup_anchor?: string;
|
|
29230
|
+
pickup_business_days_only?: boolean;
|
|
29231
|
+
pickup_offset_days?: number;
|
|
29232
|
+
pickup_time_of_day?: string;
|
|
29233
|
+
singleton?: boolean;
|
|
29234
|
+
time_of_day?: string;
|
|
29235
|
+
updated_at?: string;
|
|
29236
|
+
};
|
|
29237
|
+
Relationships: [];
|
|
29238
|
+
};
|
|
27783
29239
|
itk_contact_persons: {
|
|
27784
29240
|
Row: {
|
|
27785
29241
|
created_at: string;
|
|
@@ -28092,7 +29548,6 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
28092
29548
|
start_date: string;
|
|
28093
29549
|
start_time: string | null;
|
|
28094
29550
|
status: string;
|
|
28095
|
-
tenant_id: string;
|
|
28096
29551
|
updated_at: string;
|
|
28097
29552
|
user_id: string;
|
|
28098
29553
|
};
|
|
@@ -28110,7 +29565,6 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
28110
29565
|
start_date: string;
|
|
28111
29566
|
start_time?: string | null;
|
|
28112
29567
|
status?: string;
|
|
28113
|
-
tenant_id?: string;
|
|
28114
29568
|
updated_at?: string;
|
|
28115
29569
|
user_id: string;
|
|
28116
29570
|
};
|
|
@@ -28128,7 +29582,6 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
28128
29582
|
start_date?: string;
|
|
28129
29583
|
start_time?: string | null;
|
|
28130
29584
|
status?: string;
|
|
28131
|
-
tenant_id?: string;
|
|
28132
29585
|
updated_at?: string;
|
|
28133
29586
|
user_id?: string;
|
|
28134
29587
|
};
|
|
@@ -28136,13 +29589,13 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
28136
29589
|
foreignKeyName: "leave_requests_monteur_id_fkey";
|
|
28137
29590
|
columns: ["monteur_id"];
|
|
28138
29591
|
isOneToOne: false;
|
|
28139
|
-
referencedRelation: "
|
|
29592
|
+
referencedRelation: "profiles";
|
|
28140
29593
|
referencedColumns: ["id"];
|
|
28141
29594
|
}, {
|
|
28142
29595
|
foreignKeyName: "leave_requests_user_id_fkey";
|
|
28143
29596
|
columns: ["user_id"];
|
|
28144
29597
|
isOneToOne: false;
|
|
28145
|
-
referencedRelation: "
|
|
29598
|
+
referencedRelation: "profiles";
|
|
28146
29599
|
referencedColumns: ["id"];
|
|
28147
29600
|
}];
|
|
28148
29601
|
};
|
|
@@ -28869,6 +30322,69 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
28869
30322
|
};
|
|
28870
30323
|
Relationships: [];
|
|
28871
30324
|
};
|
|
30325
|
+
logistics_floriday_pushes: {
|
|
30326
|
+
Row: {
|
|
30327
|
+
attempts: number;
|
|
30328
|
+
created_at: string;
|
|
30329
|
+
first_queued_at: string;
|
|
30330
|
+
fulfillment_order_id: string | null;
|
|
30331
|
+
id: string;
|
|
30332
|
+
last_error: string | null;
|
|
30333
|
+
last_error_at: string | null;
|
|
30334
|
+
last_sent_hash: string | null;
|
|
30335
|
+
locked_by: string | null;
|
|
30336
|
+
locked_until: string | null;
|
|
30337
|
+
next_attempt_at: string;
|
|
30338
|
+
order_ref: string;
|
|
30339
|
+
payload: import("../integrations/supabase/types").Json;
|
|
30340
|
+
payload_hash: string | null;
|
|
30341
|
+
revision: number;
|
|
30342
|
+
sent_at: string | null;
|
|
30343
|
+
status: string;
|
|
30344
|
+
updated_at: string;
|
|
30345
|
+
};
|
|
30346
|
+
Insert: {
|
|
30347
|
+
attempts?: number;
|
|
30348
|
+
created_at?: string;
|
|
30349
|
+
first_queued_at?: string;
|
|
30350
|
+
fulfillment_order_id?: string | null;
|
|
30351
|
+
id?: string;
|
|
30352
|
+
last_error?: string | null;
|
|
30353
|
+
last_error_at?: string | null;
|
|
30354
|
+
last_sent_hash?: string | null;
|
|
30355
|
+
locked_by?: string | null;
|
|
30356
|
+
locked_until?: string | null;
|
|
30357
|
+
next_attempt_at?: string;
|
|
30358
|
+
order_ref: string;
|
|
30359
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
30360
|
+
payload_hash?: string | null;
|
|
30361
|
+
revision?: number;
|
|
30362
|
+
sent_at?: string | null;
|
|
30363
|
+
status?: string;
|
|
30364
|
+
updated_at?: string;
|
|
30365
|
+
};
|
|
30366
|
+
Update: {
|
|
30367
|
+
attempts?: number;
|
|
30368
|
+
created_at?: string;
|
|
30369
|
+
first_queued_at?: string;
|
|
30370
|
+
fulfillment_order_id?: string | null;
|
|
30371
|
+
id?: string;
|
|
30372
|
+
last_error?: string | null;
|
|
30373
|
+
last_error_at?: string | null;
|
|
30374
|
+
last_sent_hash?: string | null;
|
|
30375
|
+
locked_by?: string | null;
|
|
30376
|
+
locked_until?: string | null;
|
|
30377
|
+
next_attempt_at?: string;
|
|
30378
|
+
order_ref?: string;
|
|
30379
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
30380
|
+
payload_hash?: string | null;
|
|
30381
|
+
revision?: number;
|
|
30382
|
+
sent_at?: string | null;
|
|
30383
|
+
status?: string;
|
|
30384
|
+
updated_at?: string;
|
|
30385
|
+
};
|
|
30386
|
+
Relationships: [];
|
|
30387
|
+
};
|
|
28872
30388
|
logistics_formulas: {
|
|
28873
30389
|
Row: {
|
|
28874
30390
|
created_at: string;
|
|
@@ -28947,6 +30463,45 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
28947
30463
|
};
|
|
28948
30464
|
Relationships: [];
|
|
28949
30465
|
};
|
|
30466
|
+
logistics_plan_queue: {
|
|
30467
|
+
Row: {
|
|
30468
|
+
attempts: number;
|
|
30469
|
+
claimed_at: string | null;
|
|
30470
|
+
enqueued_at: string;
|
|
30471
|
+
error: string | null;
|
|
30472
|
+
id: string;
|
|
30473
|
+
next_attempt_at: string;
|
|
30474
|
+
order_id: string;
|
|
30475
|
+
reason: string;
|
|
30476
|
+
status: string;
|
|
30477
|
+
updated_at: string;
|
|
30478
|
+
};
|
|
30479
|
+
Insert: {
|
|
30480
|
+
attempts?: number;
|
|
30481
|
+
claimed_at?: string | null;
|
|
30482
|
+
enqueued_at?: string;
|
|
30483
|
+
error?: string | null;
|
|
30484
|
+
id?: string;
|
|
30485
|
+
next_attempt_at?: string;
|
|
30486
|
+
order_id: string;
|
|
30487
|
+
reason?: string;
|
|
30488
|
+
status?: string;
|
|
30489
|
+
updated_at?: string;
|
|
30490
|
+
};
|
|
30491
|
+
Update: {
|
|
30492
|
+
attempts?: number;
|
|
30493
|
+
claimed_at?: string | null;
|
|
30494
|
+
enqueued_at?: string;
|
|
30495
|
+
error?: string | null;
|
|
30496
|
+
id?: string;
|
|
30497
|
+
next_attempt_at?: string;
|
|
30498
|
+
order_id?: string;
|
|
30499
|
+
reason?: string;
|
|
30500
|
+
status?: string;
|
|
30501
|
+
updated_at?: string;
|
|
30502
|
+
};
|
|
30503
|
+
Relationships: [];
|
|
30504
|
+
};
|
|
28950
30505
|
logistics_plan_runs: {
|
|
28951
30506
|
Row: {
|
|
28952
30507
|
created_at: string;
|
|
@@ -29022,6 +30577,24 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
29022
30577
|
referencedColumns: ["id"];
|
|
29023
30578
|
}];
|
|
29024
30579
|
};
|
|
30580
|
+
logistics_plan_settings: {
|
|
30581
|
+
Row: {
|
|
30582
|
+
key: string;
|
|
30583
|
+
updated_at: string;
|
|
30584
|
+
value: string;
|
|
30585
|
+
};
|
|
30586
|
+
Insert: {
|
|
30587
|
+
key: string;
|
|
30588
|
+
updated_at?: string;
|
|
30589
|
+
value: string;
|
|
30590
|
+
};
|
|
30591
|
+
Update: {
|
|
30592
|
+
key?: string;
|
|
30593
|
+
updated_at?: string;
|
|
30594
|
+
value?: string;
|
|
30595
|
+
};
|
|
30596
|
+
Relationships: [];
|
|
30597
|
+
};
|
|
29025
30598
|
logistics_rebuffer_state: {
|
|
29026
30599
|
Row: {
|
|
29027
30600
|
created_at: string;
|
|
@@ -29732,14 +31305,17 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
29732
31305
|
};
|
|
29733
31306
|
mailbox_messages: {
|
|
29734
31307
|
Row: {
|
|
31308
|
+
attachments: import("../integrations/supabase/types").Json;
|
|
29735
31309
|
body_html: string | null;
|
|
29736
31310
|
body_text: string | null;
|
|
31311
|
+
cc_recipients: import("../integrations/supabase/types").Json;
|
|
29737
31312
|
connection_id: string | null;
|
|
29738
31313
|
created_at: string;
|
|
29739
31314
|
error_message: string | null;
|
|
29740
31315
|
external_id: string | null;
|
|
29741
31316
|
from_email: string | null;
|
|
29742
31317
|
from_name: string | null;
|
|
31318
|
+
has_attachments: boolean;
|
|
29743
31319
|
id: string;
|
|
29744
31320
|
message_id: string | null;
|
|
29745
31321
|
profile_id: string | null;
|
|
@@ -29747,18 +31323,22 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
29747
31323
|
received_at: string | null;
|
|
29748
31324
|
status: string;
|
|
29749
31325
|
subject: string | null;
|
|
31326
|
+
to_recipients: import("../integrations/supabase/types").Json;
|
|
29750
31327
|
uid: number | null;
|
|
29751
31328
|
updated_at: string;
|
|
29752
31329
|
};
|
|
29753
31330
|
Insert: {
|
|
31331
|
+
attachments?: import("../integrations/supabase/types").Json;
|
|
29754
31332
|
body_html?: string | null;
|
|
29755
31333
|
body_text?: string | null;
|
|
31334
|
+
cc_recipients?: import("../integrations/supabase/types").Json;
|
|
29756
31335
|
connection_id?: string | null;
|
|
29757
31336
|
created_at?: string;
|
|
29758
31337
|
error_message?: string | null;
|
|
29759
31338
|
external_id?: string | null;
|
|
29760
31339
|
from_email?: string | null;
|
|
29761
31340
|
from_name?: string | null;
|
|
31341
|
+
has_attachments?: boolean;
|
|
29762
31342
|
id?: string;
|
|
29763
31343
|
message_id?: string | null;
|
|
29764
31344
|
profile_id?: string | null;
|
|
@@ -29766,18 +31346,22 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
29766
31346
|
received_at?: string | null;
|
|
29767
31347
|
status?: string;
|
|
29768
31348
|
subject?: string | null;
|
|
31349
|
+
to_recipients?: import("../integrations/supabase/types").Json;
|
|
29769
31350
|
uid?: number | null;
|
|
29770
31351
|
updated_at?: string;
|
|
29771
31352
|
};
|
|
29772
31353
|
Update: {
|
|
31354
|
+
attachments?: import("../integrations/supabase/types").Json;
|
|
29773
31355
|
body_html?: string | null;
|
|
29774
31356
|
body_text?: string | null;
|
|
31357
|
+
cc_recipients?: import("../integrations/supabase/types").Json;
|
|
29775
31358
|
connection_id?: string | null;
|
|
29776
31359
|
created_at?: string;
|
|
29777
31360
|
error_message?: string | null;
|
|
29778
31361
|
external_id?: string | null;
|
|
29779
31362
|
from_email?: string | null;
|
|
29780
31363
|
from_name?: string | null;
|
|
31364
|
+
has_attachments?: boolean;
|
|
29781
31365
|
id?: string;
|
|
29782
31366
|
message_id?: string | null;
|
|
29783
31367
|
profile_id?: string | null;
|
|
@@ -29785,6 +31369,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
29785
31369
|
received_at?: string | null;
|
|
29786
31370
|
status?: string;
|
|
29787
31371
|
subject?: string | null;
|
|
31372
|
+
to_recipients?: import("../integrations/supabase/types").Json;
|
|
29788
31373
|
uid?: number | null;
|
|
29789
31374
|
updated_at?: string;
|
|
29790
31375
|
};
|
|
@@ -30165,6 +31750,90 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
30165
31750
|
};
|
|
30166
31751
|
Relationships: [];
|
|
30167
31752
|
};
|
|
31753
|
+
material_usage: {
|
|
31754
|
+
Row: {
|
|
31755
|
+
created_at: string;
|
|
31756
|
+
id: string;
|
|
31757
|
+
material_name: string;
|
|
31758
|
+
monteur_id: string | null;
|
|
31759
|
+
price_at_time: number;
|
|
31760
|
+
quantity_used: number;
|
|
31761
|
+
updated_at: string;
|
|
31762
|
+
van_inventory_id: string | null;
|
|
31763
|
+
work_order_id: string;
|
|
31764
|
+
};
|
|
31765
|
+
Insert: {
|
|
31766
|
+
created_at?: string;
|
|
31767
|
+
id?: string;
|
|
31768
|
+
material_name: string;
|
|
31769
|
+
monteur_id?: string | null;
|
|
31770
|
+
price_at_time?: number;
|
|
31771
|
+
quantity_used?: number;
|
|
31772
|
+
updated_at?: string;
|
|
31773
|
+
van_inventory_id?: string | null;
|
|
31774
|
+
work_order_id: string;
|
|
31775
|
+
};
|
|
31776
|
+
Update: {
|
|
31777
|
+
created_at?: string;
|
|
31778
|
+
id?: string;
|
|
31779
|
+
material_name?: string;
|
|
31780
|
+
monteur_id?: string | null;
|
|
31781
|
+
price_at_time?: number;
|
|
31782
|
+
quantity_used?: number;
|
|
31783
|
+
updated_at?: string;
|
|
31784
|
+
van_inventory_id?: string | null;
|
|
31785
|
+
work_order_id?: string;
|
|
31786
|
+
};
|
|
31787
|
+
Relationships: [{
|
|
31788
|
+
foreignKeyName: "material_usage_monteur_id_fkey";
|
|
31789
|
+
columns: ["monteur_id"];
|
|
31790
|
+
isOneToOne: false;
|
|
31791
|
+
referencedRelation: "profiles";
|
|
31792
|
+
referencedColumns: ["id"];
|
|
31793
|
+
}, {
|
|
31794
|
+
foreignKeyName: "material_usage_van_inventory_id_fkey";
|
|
31795
|
+
columns: ["van_inventory_id"];
|
|
31796
|
+
isOneToOne: false;
|
|
31797
|
+
referencedRelation: "van_inventories";
|
|
31798
|
+
referencedColumns: ["id"];
|
|
31799
|
+
}, {
|
|
31800
|
+
foreignKeyName: "material_usage_work_order_id_fkey";
|
|
31801
|
+
columns: ["work_order_id"];
|
|
31802
|
+
isOneToOne: false;
|
|
31803
|
+
referencedRelation: "work_orders";
|
|
31804
|
+
referencedColumns: ["id"];
|
|
31805
|
+
}];
|
|
31806
|
+
};
|
|
31807
|
+
module_features: {
|
|
31808
|
+
Row: {
|
|
31809
|
+
created_at: string;
|
|
31810
|
+
feature_id: string;
|
|
31811
|
+
id: string;
|
|
31812
|
+
is_active: boolean;
|
|
31813
|
+
last_seen_at: string;
|
|
31814
|
+
module_id: string;
|
|
31815
|
+
name: string;
|
|
31816
|
+
};
|
|
31817
|
+
Insert: {
|
|
31818
|
+
created_at?: string;
|
|
31819
|
+
feature_id: string;
|
|
31820
|
+
id?: string;
|
|
31821
|
+
is_active?: boolean;
|
|
31822
|
+
last_seen_at?: string;
|
|
31823
|
+
module_id: string;
|
|
31824
|
+
name: string;
|
|
31825
|
+
};
|
|
31826
|
+
Update: {
|
|
31827
|
+
created_at?: string;
|
|
31828
|
+
feature_id?: string;
|
|
31829
|
+
id?: string;
|
|
31830
|
+
is_active?: boolean;
|
|
31831
|
+
last_seen_at?: string;
|
|
31832
|
+
module_id?: string;
|
|
31833
|
+
name?: string;
|
|
31834
|
+
};
|
|
31835
|
+
Relationships: [];
|
|
31836
|
+
};
|
|
30168
31837
|
module_permissions: {
|
|
30169
31838
|
Row: {
|
|
30170
31839
|
created_at: string;
|
|
@@ -30192,6 +31861,39 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
30192
31861
|
};
|
|
30193
31862
|
Relationships: [];
|
|
30194
31863
|
};
|
|
31864
|
+
module_registry: {
|
|
31865
|
+
Row: {
|
|
31866
|
+
created_at: string;
|
|
31867
|
+
enforce: boolean;
|
|
31868
|
+
is_active: boolean;
|
|
31869
|
+
last_seen_at: string;
|
|
31870
|
+
module_id: string;
|
|
31871
|
+
name: string;
|
|
31872
|
+
shell_id: string | null;
|
|
31873
|
+
sort_order: number | null;
|
|
31874
|
+
};
|
|
31875
|
+
Insert: {
|
|
31876
|
+
created_at?: string;
|
|
31877
|
+
enforce?: boolean;
|
|
31878
|
+
is_active?: boolean;
|
|
31879
|
+
last_seen_at?: string;
|
|
31880
|
+
module_id: string;
|
|
31881
|
+
name: string;
|
|
31882
|
+
shell_id?: string | null;
|
|
31883
|
+
sort_order?: number | null;
|
|
31884
|
+
};
|
|
31885
|
+
Update: {
|
|
31886
|
+
created_at?: string;
|
|
31887
|
+
enforce?: boolean;
|
|
31888
|
+
is_active?: boolean;
|
|
31889
|
+
last_seen_at?: string;
|
|
31890
|
+
module_id?: string;
|
|
31891
|
+
name?: string;
|
|
31892
|
+
shell_id?: string | null;
|
|
31893
|
+
sort_order?: number | null;
|
|
31894
|
+
};
|
|
31895
|
+
Relationships: [];
|
|
31896
|
+
};
|
|
30195
31897
|
module_runtime_config: {
|
|
30196
31898
|
Row: {
|
|
30197
31899
|
key: string;
|
|
@@ -30243,63 +31945,6 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
30243
31945
|
};
|
|
30244
31946
|
Relationships: [];
|
|
30245
31947
|
};
|
|
30246
|
-
monteurs: {
|
|
30247
|
-
Row: {
|
|
30248
|
-
avatar_url: string | null;
|
|
30249
|
-
color: string | null;
|
|
30250
|
-
created_at: string;
|
|
30251
|
-
email: string | null;
|
|
30252
|
-
id: string;
|
|
30253
|
-
is_active: boolean;
|
|
30254
|
-
leave_balance_hours: number;
|
|
30255
|
-
name: string;
|
|
30256
|
-
persnr: number | null;
|
|
30257
|
-
phone: string | null;
|
|
30258
|
-
role: string;
|
|
30259
|
-
tenant_id: string;
|
|
30260
|
-
updated_at: string;
|
|
30261
|
-
user_id: string | null;
|
|
30262
|
-
};
|
|
30263
|
-
Insert: {
|
|
30264
|
-
avatar_url?: string | null;
|
|
30265
|
-
color?: string | null;
|
|
30266
|
-
created_at?: string;
|
|
30267
|
-
email?: string | null;
|
|
30268
|
-
id?: string;
|
|
30269
|
-
is_active?: boolean;
|
|
30270
|
-
leave_balance_hours?: number;
|
|
30271
|
-
name: string;
|
|
30272
|
-
persnr?: number | null;
|
|
30273
|
-
phone?: string | null;
|
|
30274
|
-
role?: string;
|
|
30275
|
-
tenant_id: string;
|
|
30276
|
-
updated_at?: string;
|
|
30277
|
-
user_id?: string | null;
|
|
30278
|
-
};
|
|
30279
|
-
Update: {
|
|
30280
|
-
avatar_url?: string | null;
|
|
30281
|
-
color?: string | null;
|
|
30282
|
-
created_at?: string;
|
|
30283
|
-
email?: string | null;
|
|
30284
|
-
id?: string;
|
|
30285
|
-
is_active?: boolean;
|
|
30286
|
-
leave_balance_hours?: number;
|
|
30287
|
-
name?: string;
|
|
30288
|
-
persnr?: number | null;
|
|
30289
|
-
phone?: string | null;
|
|
30290
|
-
role?: string;
|
|
30291
|
-
tenant_id?: string;
|
|
30292
|
-
updated_at?: string;
|
|
30293
|
-
user_id?: string | null;
|
|
30294
|
-
};
|
|
30295
|
-
Relationships: [{
|
|
30296
|
-
foreignKeyName: "monteurs_tenant_id_fkey";
|
|
30297
|
-
columns: ["tenant_id"];
|
|
30298
|
-
isOneToOne: false;
|
|
30299
|
-
referencedRelation: "tenants";
|
|
30300
|
-
referencedColumns: ["id"];
|
|
30301
|
-
}];
|
|
30302
|
-
};
|
|
30303
31948
|
nmbrs_component_mapping: {
|
|
30304
31949
|
Row: {
|
|
30305
31950
|
created_at: string;
|
|
@@ -30370,13 +32015,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
30370
32015
|
nmbrs_employee_number?: string;
|
|
30371
32016
|
updated_at?: string;
|
|
30372
32017
|
};
|
|
30373
|
-
Relationships: [
|
|
30374
|
-
foreignKeyName: "nmbrs_employee_mapping_monteur_id_fkey";
|
|
30375
|
-
columns: ["monteur_id"];
|
|
30376
|
-
isOneToOne: true;
|
|
30377
|
-
referencedRelation: "monteurs";
|
|
30378
|
-
referencedColumns: ["id"];
|
|
30379
|
-
}];
|
|
32018
|
+
Relationships: [];
|
|
30380
32019
|
};
|
|
30381
32020
|
nmbrs_export_lines: {
|
|
30382
32021
|
Row: {
|
|
@@ -30425,12 +32064,6 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
30425
32064
|
wage_code?: string;
|
|
30426
32065
|
};
|
|
30427
32066
|
Relationships: [{
|
|
30428
|
-
foreignKeyName: "nmbrs_export_lines_monteur_id_fkey";
|
|
30429
|
-
columns: ["monteur_id"];
|
|
30430
|
-
isOneToOne: false;
|
|
30431
|
-
referencedRelation: "monteurs";
|
|
30432
|
-
referencedColumns: ["id"];
|
|
30433
|
-
}, {
|
|
30434
32067
|
foreignKeyName: "nmbrs_export_lines_run_id_fkey";
|
|
30435
32068
|
columns: ["run_id"];
|
|
30436
32069
|
isOneToOne: false;
|
|
@@ -31251,6 +32884,45 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
31251
32884
|
};
|
|
31252
32885
|
Relationships: [];
|
|
31253
32886
|
};
|
|
32887
|
+
order_invoice_links: {
|
|
32888
|
+
Row: {
|
|
32889
|
+
attempts: number;
|
|
32890
|
+
created_at: string;
|
|
32891
|
+
error_message: string | null;
|
|
32892
|
+
id: string;
|
|
32893
|
+
invoice_number: string | null;
|
|
32894
|
+
next_attempt_at: string;
|
|
32895
|
+
order_id: string;
|
|
32896
|
+
processed_at: string | null;
|
|
32897
|
+
status: string;
|
|
32898
|
+
updated_at: string;
|
|
32899
|
+
};
|
|
32900
|
+
Insert: {
|
|
32901
|
+
attempts?: number;
|
|
32902
|
+
created_at?: string;
|
|
32903
|
+
error_message?: string | null;
|
|
32904
|
+
id?: string;
|
|
32905
|
+
invoice_number?: string | null;
|
|
32906
|
+
next_attempt_at?: string;
|
|
32907
|
+
order_id: string;
|
|
32908
|
+
processed_at?: string | null;
|
|
32909
|
+
status?: string;
|
|
32910
|
+
updated_at?: string;
|
|
32911
|
+
};
|
|
32912
|
+
Update: {
|
|
32913
|
+
attempts?: number;
|
|
32914
|
+
created_at?: string;
|
|
32915
|
+
error_message?: string | null;
|
|
32916
|
+
id?: string;
|
|
32917
|
+
invoice_number?: string | null;
|
|
32918
|
+
next_attempt_at?: string;
|
|
32919
|
+
order_id?: string;
|
|
32920
|
+
processed_at?: string | null;
|
|
32921
|
+
status?: string;
|
|
32922
|
+
updated_at?: string;
|
|
32923
|
+
};
|
|
32924
|
+
Relationships: [];
|
|
32925
|
+
};
|
|
31254
32926
|
order_items: {
|
|
31255
32927
|
Row: {
|
|
31256
32928
|
crates_per_layer: number | null;
|
|
@@ -31433,6 +33105,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
31433
33105
|
delivery_date: string | null;
|
|
31434
33106
|
floriday_sales_order_id: string | null;
|
|
31435
33107
|
id: string;
|
|
33108
|
+
invoice_due_at: string | null;
|
|
31436
33109
|
is_reservation: boolean;
|
|
31437
33110
|
notes: string | null;
|
|
31438
33111
|
order_date: string;
|
|
@@ -31454,6 +33127,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
31454
33127
|
delivery_date?: string | null;
|
|
31455
33128
|
floriday_sales_order_id?: string | null;
|
|
31456
33129
|
id?: string;
|
|
33130
|
+
invoice_due_at?: string | null;
|
|
31457
33131
|
is_reservation?: boolean;
|
|
31458
33132
|
notes?: string | null;
|
|
31459
33133
|
order_date?: string;
|
|
@@ -31475,6 +33149,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
31475
33149
|
delivery_date?: string | null;
|
|
31476
33150
|
floriday_sales_order_id?: string | null;
|
|
31477
33151
|
id?: string;
|
|
33152
|
+
invoice_due_at?: string | null;
|
|
31478
33153
|
is_reservation?: boolean;
|
|
31479
33154
|
notes?: string | null;
|
|
31480
33155
|
order_date?: string;
|
|
@@ -32671,22 +34346,27 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
32671
34346
|
created_at: string;
|
|
32672
34347
|
documentnaam: string;
|
|
32673
34348
|
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
34349
|
+
extern_job_id: string | null;
|
|
32674
34350
|
foutmelding: string | null;
|
|
32675
34351
|
gebruiker_id: string | null;
|
|
32676
34352
|
gebruiker_naam: string;
|
|
32677
34353
|
gestart_op: string | null;
|
|
32678
34354
|
id: string;
|
|
34355
|
+
idempotentie_sleutel: string | null;
|
|
32679
34356
|
is_herprint: boolean;
|
|
32680
34357
|
kopieen: number;
|
|
32681
34358
|
layout_id: string | null;
|
|
32682
34359
|
opgepakt_op: string | null;
|
|
32683
34360
|
paginas: number;
|
|
32684
34361
|
payload: import("../integrations/supabase/types").Json;
|
|
34362
|
+
pdf_base64: string | null;
|
|
34363
|
+
pdf_url: string | null;
|
|
32685
34364
|
pogingen: number;
|
|
32686
34365
|
printer_id: string | null;
|
|
32687
34366
|
render_html: string | null;
|
|
32688
34367
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
32689
34368
|
updated_at: string;
|
|
34369
|
+
volgende_poging: string | null;
|
|
32690
34370
|
voltooid_op: string | null;
|
|
32691
34371
|
};
|
|
32692
34372
|
Insert: {
|
|
@@ -32695,22 +34375,27 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
32695
34375
|
created_at?: string;
|
|
32696
34376
|
documentnaam?: string;
|
|
32697
34377
|
documenttype?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
34378
|
+
extern_job_id?: string | null;
|
|
32698
34379
|
foutmelding?: string | null;
|
|
32699
34380
|
gebruiker_id?: string | null;
|
|
32700
34381
|
gebruiker_naam?: string;
|
|
32701
34382
|
gestart_op?: string | null;
|
|
32702
34383
|
id?: string;
|
|
34384
|
+
idempotentie_sleutel?: string | null;
|
|
32703
34385
|
is_herprint?: boolean;
|
|
32704
34386
|
kopieen?: number;
|
|
32705
34387
|
layout_id?: string | null;
|
|
32706
34388
|
opgepakt_op?: string | null;
|
|
32707
34389
|
paginas?: number;
|
|
32708
34390
|
payload?: import("../integrations/supabase/types").Json;
|
|
34391
|
+
pdf_base64?: string | null;
|
|
34392
|
+
pdf_url?: string | null;
|
|
32709
34393
|
pogingen?: number;
|
|
32710
34394
|
printer_id?: string | null;
|
|
32711
34395
|
render_html?: string | null;
|
|
32712
34396
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
32713
34397
|
updated_at?: string;
|
|
34398
|
+
volgende_poging?: string | null;
|
|
32714
34399
|
voltooid_op?: string | null;
|
|
32715
34400
|
};
|
|
32716
34401
|
Update: {
|
|
@@ -32719,22 +34404,27 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
32719
34404
|
created_at?: string;
|
|
32720
34405
|
documentnaam?: string;
|
|
32721
34406
|
documenttype?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
34407
|
+
extern_job_id?: string | null;
|
|
32722
34408
|
foutmelding?: string | null;
|
|
32723
34409
|
gebruiker_id?: string | null;
|
|
32724
34410
|
gebruiker_naam?: string;
|
|
32725
34411
|
gestart_op?: string | null;
|
|
32726
34412
|
id?: string;
|
|
34413
|
+
idempotentie_sleutel?: string | null;
|
|
32727
34414
|
is_herprint?: boolean;
|
|
32728
34415
|
kopieen?: number;
|
|
32729
34416
|
layout_id?: string | null;
|
|
32730
34417
|
opgepakt_op?: string | null;
|
|
32731
34418
|
paginas?: number;
|
|
32732
34419
|
payload?: import("../integrations/supabase/types").Json;
|
|
34420
|
+
pdf_base64?: string | null;
|
|
34421
|
+
pdf_url?: string | null;
|
|
32733
34422
|
pogingen?: number;
|
|
32734
34423
|
printer_id?: string | null;
|
|
32735
34424
|
render_html?: string | null;
|
|
32736
34425
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
32737
34426
|
updated_at?: string;
|
|
34427
|
+
volgende_poging?: string | null;
|
|
32738
34428
|
voltooid_op?: string | null;
|
|
32739
34429
|
};
|
|
32740
34430
|
Relationships: [{
|
|
@@ -32757,6 +34447,72 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
32757
34447
|
referencedColumns: ["id"];
|
|
32758
34448
|
}];
|
|
32759
34449
|
};
|
|
34450
|
+
print_queue_runners: {
|
|
34451
|
+
Row: {
|
|
34452
|
+
actief: boolean;
|
|
34453
|
+
basis_url: string;
|
|
34454
|
+
created_at: string;
|
|
34455
|
+
id: string;
|
|
34456
|
+
laatst_gezien: string;
|
|
34457
|
+
laatste_fout: string | null;
|
|
34458
|
+
laatste_request_id: number | null;
|
|
34459
|
+
mislukte_posts: number;
|
|
34460
|
+
tick_sleutel: string;
|
|
34461
|
+
updated_at: string;
|
|
34462
|
+
};
|
|
34463
|
+
Insert: {
|
|
34464
|
+
actief?: boolean;
|
|
34465
|
+
basis_url: string;
|
|
34466
|
+
created_at?: string;
|
|
34467
|
+
id?: string;
|
|
34468
|
+
laatst_gezien?: string;
|
|
34469
|
+
laatste_fout?: string | null;
|
|
34470
|
+
laatste_request_id?: number | null;
|
|
34471
|
+
mislukte_posts?: number;
|
|
34472
|
+
tick_sleutel?: string;
|
|
34473
|
+
updated_at?: string;
|
|
34474
|
+
};
|
|
34475
|
+
Update: {
|
|
34476
|
+
actief?: boolean;
|
|
34477
|
+
basis_url?: string;
|
|
34478
|
+
created_at?: string;
|
|
34479
|
+
id?: string;
|
|
34480
|
+
laatst_gezien?: string;
|
|
34481
|
+
laatste_fout?: string | null;
|
|
34482
|
+
laatste_request_id?: number | null;
|
|
34483
|
+
mislukte_posts?: number;
|
|
34484
|
+
tick_sleutel?: string;
|
|
34485
|
+
updated_at?: string;
|
|
34486
|
+
};
|
|
34487
|
+
Relationships: [];
|
|
34488
|
+
};
|
|
34489
|
+
print_queue_settings: {
|
|
34490
|
+
Row: {
|
|
34491
|
+
bewaar_bestanden_dagen: number;
|
|
34492
|
+
bewaar_opdrachten_dagen: number;
|
|
34493
|
+
created_at: string;
|
|
34494
|
+
dubbel_venster_minuten: number;
|
|
34495
|
+
id: string;
|
|
34496
|
+
updated_at: string;
|
|
34497
|
+
};
|
|
34498
|
+
Insert: {
|
|
34499
|
+
bewaar_bestanden_dagen?: number;
|
|
34500
|
+
bewaar_opdrachten_dagen?: number;
|
|
34501
|
+
created_at?: string;
|
|
34502
|
+
dubbel_venster_minuten?: number;
|
|
34503
|
+
id?: string;
|
|
34504
|
+
updated_at?: string;
|
|
34505
|
+
};
|
|
34506
|
+
Update: {
|
|
34507
|
+
bewaar_bestanden_dagen?: number;
|
|
34508
|
+
bewaar_opdrachten_dagen?: number;
|
|
34509
|
+
created_at?: string;
|
|
34510
|
+
dubbel_venster_minuten?: number;
|
|
34511
|
+
id?: string;
|
|
34512
|
+
updated_at?: string;
|
|
34513
|
+
};
|
|
34514
|
+
Relationships: [];
|
|
34515
|
+
};
|
|
32760
34516
|
print_rules: {
|
|
32761
34517
|
Row: {
|
|
32762
34518
|
actief: boolean;
|
|
@@ -32917,6 +34673,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
32917
34673
|
agent_id: string | null;
|
|
32918
34674
|
created_at: string;
|
|
32919
34675
|
driver: string;
|
|
34676
|
+
extern_printer_id: string | null;
|
|
32920
34677
|
id: string;
|
|
32921
34678
|
ip_adres: string | null;
|
|
32922
34679
|
laatst_gezien: string | null;
|
|
@@ -32938,6 +34695,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
32938
34695
|
agent_id?: string | null;
|
|
32939
34696
|
created_at?: string;
|
|
32940
34697
|
driver?: string;
|
|
34698
|
+
extern_printer_id?: string | null;
|
|
32941
34699
|
id?: string;
|
|
32942
34700
|
ip_adres?: string | null;
|
|
32943
34701
|
laatst_gezien?: string | null;
|
|
@@ -32959,6 +34717,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
32959
34717
|
agent_id?: string | null;
|
|
32960
34718
|
created_at?: string;
|
|
32961
34719
|
driver?: string;
|
|
34720
|
+
extern_printer_id?: string | null;
|
|
32962
34721
|
id?: string;
|
|
32963
34722
|
ip_adres?: string | null;
|
|
32964
34723
|
laatst_gezien?: string | null;
|
|
@@ -34230,6 +35989,96 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
34230
35989
|
referencedColumns: ["id"];
|
|
34231
35990
|
}];
|
|
34232
35991
|
};
|
|
35992
|
+
role_assignments: {
|
|
35993
|
+
Row: {
|
|
35994
|
+
created_at: string;
|
|
35995
|
+
id: string;
|
|
35996
|
+
role_id: string;
|
|
35997
|
+
user_id: string;
|
|
35998
|
+
};
|
|
35999
|
+
Insert: {
|
|
36000
|
+
created_at?: string;
|
|
36001
|
+
id?: string;
|
|
36002
|
+
role_id: string;
|
|
36003
|
+
user_id: string;
|
|
36004
|
+
};
|
|
36005
|
+
Update: {
|
|
36006
|
+
created_at?: string;
|
|
36007
|
+
id?: string;
|
|
36008
|
+
role_id?: string;
|
|
36009
|
+
user_id?: string;
|
|
36010
|
+
};
|
|
36011
|
+
Relationships: [{
|
|
36012
|
+
foreignKeyName: "role_assignments_role_id_fkey";
|
|
36013
|
+
columns: ["role_id"];
|
|
36014
|
+
isOneToOne: false;
|
|
36015
|
+
referencedRelation: "roles";
|
|
36016
|
+
referencedColumns: ["id"];
|
|
36017
|
+
}];
|
|
36018
|
+
};
|
|
36019
|
+
role_permissions: {
|
|
36020
|
+
Row: {
|
|
36021
|
+
can_edit: boolean;
|
|
36022
|
+
can_view: boolean;
|
|
36023
|
+
feature_id: string;
|
|
36024
|
+
id: string;
|
|
36025
|
+
module_id: string;
|
|
36026
|
+
role_id: string;
|
|
36027
|
+
updated_at: string;
|
|
36028
|
+
};
|
|
36029
|
+
Insert: {
|
|
36030
|
+
can_edit?: boolean;
|
|
36031
|
+
can_view?: boolean;
|
|
36032
|
+
feature_id?: string;
|
|
36033
|
+
id?: string;
|
|
36034
|
+
module_id: string;
|
|
36035
|
+
role_id: string;
|
|
36036
|
+
updated_at?: string;
|
|
36037
|
+
};
|
|
36038
|
+
Update: {
|
|
36039
|
+
can_edit?: boolean;
|
|
36040
|
+
can_view?: boolean;
|
|
36041
|
+
feature_id?: string;
|
|
36042
|
+
id?: string;
|
|
36043
|
+
module_id?: string;
|
|
36044
|
+
role_id?: string;
|
|
36045
|
+
updated_at?: string;
|
|
36046
|
+
};
|
|
36047
|
+
Relationships: [{
|
|
36048
|
+
foreignKeyName: "role_permissions_role_id_fkey";
|
|
36049
|
+
columns: ["role_id"];
|
|
36050
|
+
isOneToOne: false;
|
|
36051
|
+
referencedRelation: "roles";
|
|
36052
|
+
referencedColumns: ["id"];
|
|
36053
|
+
}];
|
|
36054
|
+
};
|
|
36055
|
+
roles: {
|
|
36056
|
+
Row: {
|
|
36057
|
+
created_at: string;
|
|
36058
|
+
id: string;
|
|
36059
|
+
is_protected: boolean;
|
|
36060
|
+
key: string;
|
|
36061
|
+
name: string;
|
|
36062
|
+
updated_at: string;
|
|
36063
|
+
};
|
|
36064
|
+
Insert: {
|
|
36065
|
+
created_at?: string;
|
|
36066
|
+
id?: string;
|
|
36067
|
+
is_protected?: boolean;
|
|
36068
|
+
key: string;
|
|
36069
|
+
name: string;
|
|
36070
|
+
updated_at?: string;
|
|
36071
|
+
};
|
|
36072
|
+
Update: {
|
|
36073
|
+
created_at?: string;
|
|
36074
|
+
id?: string;
|
|
36075
|
+
is_protected?: boolean;
|
|
36076
|
+
key?: string;
|
|
36077
|
+
name?: string;
|
|
36078
|
+
updated_at?: string;
|
|
36079
|
+
};
|
|
36080
|
+
Relationships: [];
|
|
36081
|
+
};
|
|
34233
36082
|
rooms: {
|
|
34234
36083
|
Row: {
|
|
34235
36084
|
capacity: number;
|
|
@@ -34899,6 +36748,54 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
34899
36748
|
};
|
|
34900
36749
|
Relationships: [];
|
|
34901
36750
|
};
|
|
36751
|
+
time_compensation_entries: {
|
|
36752
|
+
Row: {
|
|
36753
|
+
created_at: string;
|
|
36754
|
+
employee_id: string;
|
|
36755
|
+
entry_date: string;
|
|
36756
|
+
id: string;
|
|
36757
|
+
km: number;
|
|
36758
|
+
meal_allowance: number;
|
|
36759
|
+
notes: string | null;
|
|
36760
|
+
standby_evening: number;
|
|
36761
|
+
standby_weekend: number;
|
|
36762
|
+
tvt_change: number;
|
|
36763
|
+
updated_at: string;
|
|
36764
|
+
};
|
|
36765
|
+
Insert: {
|
|
36766
|
+
created_at?: string;
|
|
36767
|
+
employee_id: string;
|
|
36768
|
+
entry_date: string;
|
|
36769
|
+
id?: string;
|
|
36770
|
+
km?: number;
|
|
36771
|
+
meal_allowance?: number;
|
|
36772
|
+
notes?: string | null;
|
|
36773
|
+
standby_evening?: number;
|
|
36774
|
+
standby_weekend?: number;
|
|
36775
|
+
tvt_change?: number;
|
|
36776
|
+
updated_at?: string;
|
|
36777
|
+
};
|
|
36778
|
+
Update: {
|
|
36779
|
+
created_at?: string;
|
|
36780
|
+
employee_id?: string;
|
|
36781
|
+
entry_date?: string;
|
|
36782
|
+
id?: string;
|
|
36783
|
+
km?: number;
|
|
36784
|
+
meal_allowance?: number;
|
|
36785
|
+
notes?: string | null;
|
|
36786
|
+
standby_evening?: number;
|
|
36787
|
+
standby_weekend?: number;
|
|
36788
|
+
tvt_change?: number;
|
|
36789
|
+
updated_at?: string;
|
|
36790
|
+
};
|
|
36791
|
+
Relationships: [{
|
|
36792
|
+
foreignKeyName: "time_compensation_entries_employee_id_fkey";
|
|
36793
|
+
columns: ["employee_id"];
|
|
36794
|
+
isOneToOne: false;
|
|
36795
|
+
referencedRelation: "profiles";
|
|
36796
|
+
referencedColumns: ["id"];
|
|
36797
|
+
}];
|
|
36798
|
+
};
|
|
34902
36799
|
time_entries: {
|
|
34903
36800
|
Row: {
|
|
34904
36801
|
created_at: string;
|
|
@@ -34933,65 +36830,170 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
34933
36830
|
undertime?: number;
|
|
34934
36831
|
updated_at?: string;
|
|
34935
36832
|
};
|
|
36833
|
+
Relationships: [];
|
|
36834
|
+
};
|
|
36835
|
+
time_log_week_approvals: {
|
|
36836
|
+
Row: {
|
|
36837
|
+
approved_at: string | null;
|
|
36838
|
+
approved_by: string | null;
|
|
36839
|
+
created_at: string;
|
|
36840
|
+
employee_id: string;
|
|
36841
|
+
id: string;
|
|
36842
|
+
locked: boolean;
|
|
36843
|
+
notes: string | null;
|
|
36844
|
+
status: string;
|
|
36845
|
+
submitted_at: string | null;
|
|
36846
|
+
updated_at: string;
|
|
36847
|
+
week_start: string;
|
|
36848
|
+
};
|
|
36849
|
+
Insert: {
|
|
36850
|
+
approved_at?: string | null;
|
|
36851
|
+
approved_by?: string | null;
|
|
36852
|
+
created_at?: string;
|
|
36853
|
+
employee_id: string;
|
|
36854
|
+
id?: string;
|
|
36855
|
+
locked?: boolean;
|
|
36856
|
+
notes?: string | null;
|
|
36857
|
+
status?: string;
|
|
36858
|
+
submitted_at?: string | null;
|
|
36859
|
+
updated_at?: string;
|
|
36860
|
+
week_start: string;
|
|
36861
|
+
};
|
|
36862
|
+
Update: {
|
|
36863
|
+
approved_at?: string | null;
|
|
36864
|
+
approved_by?: string | null;
|
|
36865
|
+
created_at?: string;
|
|
36866
|
+
employee_id?: string;
|
|
36867
|
+
id?: string;
|
|
36868
|
+
locked?: boolean;
|
|
36869
|
+
notes?: string | null;
|
|
36870
|
+
status?: string;
|
|
36871
|
+
submitted_at?: string | null;
|
|
36872
|
+
updated_at?: string;
|
|
36873
|
+
week_start?: string;
|
|
36874
|
+
};
|
|
34936
36875
|
Relationships: [{
|
|
34937
|
-
foreignKeyName: "
|
|
36876
|
+
foreignKeyName: "time_log_week_approvals_employee_id_fkey";
|
|
34938
36877
|
columns: ["employee_id"];
|
|
34939
36878
|
isOneToOne: false;
|
|
34940
|
-
referencedRelation: "
|
|
36879
|
+
referencedRelation: "profiles";
|
|
34941
36880
|
referencedColumns: ["id"];
|
|
34942
36881
|
}];
|
|
34943
36882
|
};
|
|
34944
36883
|
time_logs: {
|
|
34945
36884
|
Row: {
|
|
36885
|
+
auto_stop_reason: string | null;
|
|
36886
|
+
auto_stopped: boolean;
|
|
34946
36887
|
created_at: string;
|
|
36888
|
+
current_latitude: number | null;
|
|
36889
|
+
current_longitude: number | null;
|
|
36890
|
+
current_position_updated_at: string | null;
|
|
34947
36891
|
employee_id: string;
|
|
36892
|
+
end_latitude: number | null;
|
|
36893
|
+
end_longitude: number | null;
|
|
34948
36894
|
end_time: string | null;
|
|
36895
|
+
eta_distance_km: number | null;
|
|
36896
|
+
eta_minutes: number | null;
|
|
36897
|
+
eta_updated_at: string | null;
|
|
36898
|
+
hour_category: string | null;
|
|
34949
36899
|
id: string;
|
|
36900
|
+
last_reminder_at: string | null;
|
|
34950
36901
|
notes: string | null;
|
|
34951
36902
|
overtime_hours: number;
|
|
34952
36903
|
overtime_type: string | null;
|
|
34953
36904
|
regular_hours: number;
|
|
36905
|
+
reminder_count: number;
|
|
36906
|
+
requires_review: boolean;
|
|
36907
|
+
start_latitude: number | null;
|
|
36908
|
+
start_longitude: number | null;
|
|
34954
36909
|
start_time: string;
|
|
34955
36910
|
travel_cost: number | null;
|
|
34956
36911
|
travel_distance_km: number | null;
|
|
36912
|
+
travel_duration_min: number | null;
|
|
36913
|
+
travel_time_minutes: number | null;
|
|
34957
36914
|
type: string;
|
|
34958
36915
|
updated_at: string;
|
|
36916
|
+
work_order_id: string | null;
|
|
34959
36917
|
};
|
|
34960
36918
|
Insert: {
|
|
36919
|
+
auto_stop_reason?: string | null;
|
|
36920
|
+
auto_stopped?: boolean;
|
|
34961
36921
|
created_at?: string;
|
|
36922
|
+
current_latitude?: number | null;
|
|
36923
|
+
current_longitude?: number | null;
|
|
36924
|
+
current_position_updated_at?: string | null;
|
|
34962
36925
|
employee_id: string;
|
|
36926
|
+
end_latitude?: number | null;
|
|
36927
|
+
end_longitude?: number | null;
|
|
34963
36928
|
end_time?: string | null;
|
|
36929
|
+
eta_distance_km?: number | null;
|
|
36930
|
+
eta_minutes?: number | null;
|
|
36931
|
+
eta_updated_at?: string | null;
|
|
36932
|
+
hour_category?: string | null;
|
|
34964
36933
|
id?: string;
|
|
36934
|
+
last_reminder_at?: string | null;
|
|
34965
36935
|
notes?: string | null;
|
|
34966
36936
|
overtime_hours?: number;
|
|
34967
36937
|
overtime_type?: string | null;
|
|
34968
36938
|
regular_hours?: number;
|
|
36939
|
+
reminder_count?: number;
|
|
36940
|
+
requires_review?: boolean;
|
|
36941
|
+
start_latitude?: number | null;
|
|
36942
|
+
start_longitude?: number | null;
|
|
34969
36943
|
start_time?: string;
|
|
34970
36944
|
travel_cost?: number | null;
|
|
34971
36945
|
travel_distance_km?: number | null;
|
|
36946
|
+
travel_duration_min?: number | null;
|
|
36947
|
+
travel_time_minutes?: number | null;
|
|
34972
36948
|
type: string;
|
|
34973
36949
|
updated_at?: string;
|
|
36950
|
+
work_order_id?: string | null;
|
|
34974
36951
|
};
|
|
34975
36952
|
Update: {
|
|
36953
|
+
auto_stop_reason?: string | null;
|
|
36954
|
+
auto_stopped?: boolean;
|
|
34976
36955
|
created_at?: string;
|
|
36956
|
+
current_latitude?: number | null;
|
|
36957
|
+
current_longitude?: number | null;
|
|
36958
|
+
current_position_updated_at?: string | null;
|
|
34977
36959
|
employee_id?: string;
|
|
36960
|
+
end_latitude?: number | null;
|
|
36961
|
+
end_longitude?: number | null;
|
|
34978
36962
|
end_time?: string | null;
|
|
36963
|
+
eta_distance_km?: number | null;
|
|
36964
|
+
eta_minutes?: number | null;
|
|
36965
|
+
eta_updated_at?: string | null;
|
|
36966
|
+
hour_category?: string | null;
|
|
34979
36967
|
id?: string;
|
|
36968
|
+
last_reminder_at?: string | null;
|
|
34980
36969
|
notes?: string | null;
|
|
34981
36970
|
overtime_hours?: number;
|
|
34982
36971
|
overtime_type?: string | null;
|
|
34983
36972
|
regular_hours?: number;
|
|
36973
|
+
reminder_count?: number;
|
|
36974
|
+
requires_review?: boolean;
|
|
36975
|
+
start_latitude?: number | null;
|
|
36976
|
+
start_longitude?: number | null;
|
|
34984
36977
|
start_time?: string;
|
|
34985
36978
|
travel_cost?: number | null;
|
|
34986
36979
|
travel_distance_km?: number | null;
|
|
36980
|
+
travel_duration_min?: number | null;
|
|
36981
|
+
travel_time_minutes?: number | null;
|
|
34987
36982
|
type?: string;
|
|
34988
36983
|
updated_at?: string;
|
|
36984
|
+
work_order_id?: string | null;
|
|
34989
36985
|
};
|
|
34990
36986
|
Relationships: [{
|
|
34991
36987
|
foreignKeyName: "time_logs_employee_id_fkey";
|
|
34992
36988
|
columns: ["employee_id"];
|
|
34993
36989
|
isOneToOne: false;
|
|
34994
|
-
referencedRelation: "
|
|
36990
|
+
referencedRelation: "profiles";
|
|
36991
|
+
referencedColumns: ["id"];
|
|
36992
|
+
}, {
|
|
36993
|
+
foreignKeyName: "time_logs_work_order_id_fkey";
|
|
36994
|
+
columns: ["work_order_id"];
|
|
36995
|
+
isOneToOne: false;
|
|
36996
|
+
referencedRelation: "work_orders";
|
|
34995
36997
|
referencedColumns: ["id"];
|
|
34996
36998
|
}];
|
|
34997
36999
|
};
|
|
@@ -35030,7 +37032,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
35030
37032
|
foreignKeyName: "time_off_entries_employee_id_fkey";
|
|
35031
37033
|
columns: ["employee_id"];
|
|
35032
37034
|
isOneToOne: false;
|
|
35033
|
-
referencedRelation: "
|
|
37035
|
+
referencedRelation: "profiles";
|
|
35034
37036
|
referencedColumns: ["id"];
|
|
35035
37037
|
}];
|
|
35036
37038
|
};
|
|
@@ -35340,6 +37342,39 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
35340
37342
|
};
|
|
35341
37343
|
Relationships: [];
|
|
35342
37344
|
};
|
|
37345
|
+
twinfield_cron_locks: {
|
|
37346
|
+
Row: {
|
|
37347
|
+
created_at: string;
|
|
37348
|
+
heartbeat_at: string;
|
|
37349
|
+
job_name: string;
|
|
37350
|
+
last_error: string | null;
|
|
37351
|
+
last_finished_at: string | null;
|
|
37352
|
+
locked_at: string;
|
|
37353
|
+
run_id: string;
|
|
37354
|
+
updated_at: string;
|
|
37355
|
+
};
|
|
37356
|
+
Insert: {
|
|
37357
|
+
created_at?: string;
|
|
37358
|
+
heartbeat_at?: string;
|
|
37359
|
+
job_name: string;
|
|
37360
|
+
last_error?: string | null;
|
|
37361
|
+
last_finished_at?: string | null;
|
|
37362
|
+
locked_at?: string;
|
|
37363
|
+
run_id?: string;
|
|
37364
|
+
updated_at?: string;
|
|
37365
|
+
};
|
|
37366
|
+
Update: {
|
|
37367
|
+
created_at?: string;
|
|
37368
|
+
heartbeat_at?: string;
|
|
37369
|
+
job_name?: string;
|
|
37370
|
+
last_error?: string | null;
|
|
37371
|
+
last_finished_at?: string | null;
|
|
37372
|
+
locked_at?: string;
|
|
37373
|
+
run_id?: string;
|
|
37374
|
+
updated_at?: string;
|
|
37375
|
+
};
|
|
37376
|
+
Relationships: [];
|
|
37377
|
+
};
|
|
35343
37378
|
twinfield_customers: {
|
|
35344
37379
|
Row: {
|
|
35345
37380
|
address: string | null;
|
|
@@ -35594,6 +37629,8 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
35594
37629
|
};
|
|
35595
37630
|
twinfield_invoice_settings: {
|
|
35596
37631
|
Row: {
|
|
37632
|
+
auto_invoice_enabled: boolean;
|
|
37633
|
+
auto_invoice_trigger_statuses: string[];
|
|
35597
37634
|
created_at: string;
|
|
35598
37635
|
debtor_gl_account: string;
|
|
35599
37636
|
default_credit_invoice_type: string | null;
|
|
@@ -35614,6 +37651,8 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
35614
37651
|
vat_code_export: string | null;
|
|
35615
37652
|
};
|
|
35616
37653
|
Insert: {
|
|
37654
|
+
auto_invoice_enabled?: boolean;
|
|
37655
|
+
auto_invoice_trigger_statuses?: string[];
|
|
35617
37656
|
created_at?: string;
|
|
35618
37657
|
debtor_gl_account?: string;
|
|
35619
37658
|
default_credit_invoice_type?: string | null;
|
|
@@ -35634,6 +37673,8 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
35634
37673
|
vat_code_export?: string | null;
|
|
35635
37674
|
};
|
|
35636
37675
|
Update: {
|
|
37676
|
+
auto_invoice_enabled?: boolean;
|
|
37677
|
+
auto_invoice_trigger_statuses?: string[];
|
|
35637
37678
|
created_at?: string;
|
|
35638
37679
|
debtor_gl_account?: string;
|
|
35639
37680
|
default_credit_invoice_type?: string | null;
|
|
@@ -35934,6 +37975,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
35934
37975
|
twinfield_push_queue: {
|
|
35935
37976
|
Row: {
|
|
35936
37977
|
action: string;
|
|
37978
|
+
attempt_started_at: string | null;
|
|
35937
37979
|
attempts: number;
|
|
35938
37980
|
connection_id: string | null;
|
|
35939
37981
|
created_at: string;
|
|
@@ -35950,6 +37992,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
35950
37992
|
};
|
|
35951
37993
|
Insert: {
|
|
35952
37994
|
action?: string;
|
|
37995
|
+
attempt_started_at?: string | null;
|
|
35953
37996
|
attempts?: number;
|
|
35954
37997
|
connection_id?: string | null;
|
|
35955
37998
|
created_at?: string;
|
|
@@ -35966,6 +38009,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
35966
38009
|
};
|
|
35967
38010
|
Update: {
|
|
35968
38011
|
action?: string;
|
|
38012
|
+
attempt_started_at?: string | null;
|
|
35969
38013
|
attempts?: number;
|
|
35970
38014
|
connection_id?: string | null;
|
|
35971
38015
|
created_at?: string;
|
|
@@ -36163,13 +38207,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
36163
38207
|
workday_end?: string | null;
|
|
36164
38208
|
workday_start?: string | null;
|
|
36165
38209
|
};
|
|
36166
|
-
Relationships: [
|
|
36167
|
-
foreignKeyName: "uren_cao_profiles_monteur_id_fkey";
|
|
36168
|
-
columns: ["monteur_id"];
|
|
36169
|
-
isOneToOne: true;
|
|
36170
|
-
referencedRelation: "monteurs";
|
|
36171
|
-
referencedColumns: ["id"];
|
|
36172
|
-
}];
|
|
38210
|
+
Relationships: [];
|
|
36173
38211
|
};
|
|
36174
38212
|
uren_entries: {
|
|
36175
38213
|
Row: {
|
|
@@ -36215,12 +38253,6 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
36215
38253
|
werkbon_id?: string | null;
|
|
36216
38254
|
};
|
|
36217
38255
|
Relationships: [{
|
|
36218
|
-
foreignKeyName: "uren_entries_monteur_id_fkey";
|
|
36219
|
-
columns: ["monteur_id"];
|
|
36220
|
-
isOneToOne: false;
|
|
36221
|
-
referencedRelation: "monteurs";
|
|
36222
|
-
referencedColumns: ["id"];
|
|
36223
|
-
}, {
|
|
36224
38256
|
foreignKeyName: "uren_entries_werkbon_id_fkey";
|
|
36225
38257
|
columns: ["werkbon_id"];
|
|
36226
38258
|
isOneToOne: false;
|
|
@@ -36688,13 +38720,37 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
36688
38720
|
submitted_at?: string | null;
|
|
36689
38721
|
updated_at?: string;
|
|
36690
38722
|
};
|
|
36691
|
-
Relationships: [
|
|
36692
|
-
|
|
36693
|
-
|
|
36694
|
-
|
|
36695
|
-
|
|
36696
|
-
|
|
36697
|
-
|
|
38723
|
+
Relationships: [];
|
|
38724
|
+
};
|
|
38725
|
+
user_module_permissions: {
|
|
38726
|
+
Row: {
|
|
38727
|
+
created_at: string;
|
|
38728
|
+
feature_id: string;
|
|
38729
|
+
id: string;
|
|
38730
|
+
module_id: string;
|
|
38731
|
+
permission: string;
|
|
38732
|
+
updated_at: string;
|
|
38733
|
+
user_id: string;
|
|
38734
|
+
};
|
|
38735
|
+
Insert: {
|
|
38736
|
+
created_at?: string;
|
|
38737
|
+
feature_id?: string;
|
|
38738
|
+
id?: string;
|
|
38739
|
+
module_id: string;
|
|
38740
|
+
permission: string;
|
|
38741
|
+
updated_at?: string;
|
|
38742
|
+
user_id: string;
|
|
38743
|
+
};
|
|
38744
|
+
Update: {
|
|
38745
|
+
created_at?: string;
|
|
38746
|
+
feature_id?: string;
|
|
38747
|
+
id?: string;
|
|
38748
|
+
module_id?: string;
|
|
38749
|
+
permission?: string;
|
|
38750
|
+
updated_at?: string;
|
|
38751
|
+
user_id?: string;
|
|
38752
|
+
};
|
|
38753
|
+
Relationships: [];
|
|
36698
38754
|
};
|
|
36699
38755
|
user_roles: {
|
|
36700
38756
|
Row: {
|
|
@@ -36723,6 +38779,51 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
36723
38779
|
referencedColumns: ["id"];
|
|
36724
38780
|
}];
|
|
36725
38781
|
};
|
|
38782
|
+
van_inventories: {
|
|
38783
|
+
Row: {
|
|
38784
|
+
barcode: string | null;
|
|
38785
|
+
created_at: string;
|
|
38786
|
+
id: string;
|
|
38787
|
+
monteur_id: string | null;
|
|
38788
|
+
price_per_unit: number;
|
|
38789
|
+
product_name: string;
|
|
38790
|
+
quantity_current: number;
|
|
38791
|
+
quantity_min: number;
|
|
38792
|
+
unit: string;
|
|
38793
|
+
updated_at: string;
|
|
38794
|
+
};
|
|
38795
|
+
Insert: {
|
|
38796
|
+
barcode?: string | null;
|
|
38797
|
+
created_at?: string;
|
|
38798
|
+
id?: string;
|
|
38799
|
+
monteur_id?: string | null;
|
|
38800
|
+
price_per_unit?: number;
|
|
38801
|
+
product_name: string;
|
|
38802
|
+
quantity_current?: number;
|
|
38803
|
+
quantity_min?: number;
|
|
38804
|
+
unit?: string;
|
|
38805
|
+
updated_at?: string;
|
|
38806
|
+
};
|
|
38807
|
+
Update: {
|
|
38808
|
+
barcode?: string | null;
|
|
38809
|
+
created_at?: string;
|
|
38810
|
+
id?: string;
|
|
38811
|
+
monteur_id?: string | null;
|
|
38812
|
+
price_per_unit?: number;
|
|
38813
|
+
product_name?: string;
|
|
38814
|
+
quantity_current?: number;
|
|
38815
|
+
quantity_min?: number;
|
|
38816
|
+
unit?: string;
|
|
38817
|
+
updated_at?: string;
|
|
38818
|
+
};
|
|
38819
|
+
Relationships: [{
|
|
38820
|
+
foreignKeyName: "van_inventories_monteur_id_fkey";
|
|
38821
|
+
columns: ["monteur_id"];
|
|
38822
|
+
isOneToOne: false;
|
|
38823
|
+
referencedRelation: "profiles";
|
|
38824
|
+
referencedColumns: ["id"];
|
|
38825
|
+
}];
|
|
38826
|
+
};
|
|
36726
38827
|
voorraad_custom_fields: {
|
|
36727
38828
|
Row: {
|
|
36728
38829
|
created_at: string;
|
|
@@ -37673,7 +39774,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
37673
39774
|
foreignKeyName: "work_order_monteurs_monteur_id_fkey";
|
|
37674
39775
|
columns: ["monteur_id"];
|
|
37675
39776
|
isOneToOne: false;
|
|
37676
|
-
referencedRelation: "
|
|
39777
|
+
referencedRelation: "profiles";
|
|
37677
39778
|
referencedColumns: ["id"];
|
|
37678
39779
|
}, {
|
|
37679
39780
|
foreignKeyName: "work_order_monteurs_work_order_id_fkey";
|
|
@@ -37683,6 +39784,60 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
37683
39784
|
referencedColumns: ["id"];
|
|
37684
39785
|
}];
|
|
37685
39786
|
};
|
|
39787
|
+
work_order_photos: {
|
|
39788
|
+
Row: {
|
|
39789
|
+
ai_caption: string | null;
|
|
39790
|
+
ai_categorized_at: string | null;
|
|
39791
|
+
ai_labels: import("../integrations/supabase/types").Json | null;
|
|
39792
|
+
caption: string | null;
|
|
39793
|
+
created_at: string;
|
|
39794
|
+
id: string;
|
|
39795
|
+
monteur_id: string | null;
|
|
39796
|
+
photo_type: string;
|
|
39797
|
+
storage_path: string;
|
|
39798
|
+
updated_at: string;
|
|
39799
|
+
work_order_id: string;
|
|
39800
|
+
};
|
|
39801
|
+
Insert: {
|
|
39802
|
+
ai_caption?: string | null;
|
|
39803
|
+
ai_categorized_at?: string | null;
|
|
39804
|
+
ai_labels?: import("../integrations/supabase/types").Json | null;
|
|
39805
|
+
caption?: string | null;
|
|
39806
|
+
created_at?: string;
|
|
39807
|
+
id?: string;
|
|
39808
|
+
monteur_id?: string | null;
|
|
39809
|
+
photo_type?: string;
|
|
39810
|
+
storage_path: string;
|
|
39811
|
+
updated_at?: string;
|
|
39812
|
+
work_order_id: string;
|
|
39813
|
+
};
|
|
39814
|
+
Update: {
|
|
39815
|
+
ai_caption?: string | null;
|
|
39816
|
+
ai_categorized_at?: string | null;
|
|
39817
|
+
ai_labels?: import("../integrations/supabase/types").Json | null;
|
|
39818
|
+
caption?: string | null;
|
|
39819
|
+
created_at?: string;
|
|
39820
|
+
id?: string;
|
|
39821
|
+
monteur_id?: string | null;
|
|
39822
|
+
photo_type?: string;
|
|
39823
|
+
storage_path?: string;
|
|
39824
|
+
updated_at?: string;
|
|
39825
|
+
work_order_id?: string;
|
|
39826
|
+
};
|
|
39827
|
+
Relationships: [{
|
|
39828
|
+
foreignKeyName: "work_order_photos_monteur_id_fkey";
|
|
39829
|
+
columns: ["monteur_id"];
|
|
39830
|
+
isOneToOne: false;
|
|
39831
|
+
referencedRelation: "profiles";
|
|
39832
|
+
referencedColumns: ["id"];
|
|
39833
|
+
}, {
|
|
39834
|
+
foreignKeyName: "work_order_photos_work_order_id_fkey";
|
|
39835
|
+
columns: ["work_order_id"];
|
|
39836
|
+
isOneToOne: false;
|
|
39837
|
+
referencedRelation: "work_orders";
|
|
39838
|
+
referencedColumns: ["id"];
|
|
39839
|
+
}];
|
|
39840
|
+
};
|
|
37686
39841
|
work_orders: {
|
|
37687
39842
|
Row: {
|
|
37688
39843
|
assigned_to: string | null;
|
|
@@ -37714,7 +39869,6 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
37714
39869
|
scheduled_end_time: string | null;
|
|
37715
39870
|
scheduled_start_time: string | null;
|
|
37716
39871
|
status: string;
|
|
37717
|
-
tenant_id: string;
|
|
37718
39872
|
total_hours_worked: number | null;
|
|
37719
39873
|
total_price: number | null;
|
|
37720
39874
|
travel_time_minutes: number | null;
|
|
@@ -37752,7 +39906,6 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
37752
39906
|
scheduled_end_time?: string | null;
|
|
37753
39907
|
scheduled_start_time?: string | null;
|
|
37754
39908
|
status?: string;
|
|
37755
|
-
tenant_id: string;
|
|
37756
39909
|
total_hours_worked?: number | null;
|
|
37757
39910
|
total_price?: number | null;
|
|
37758
39911
|
travel_time_minutes?: number | null;
|
|
@@ -37790,7 +39943,6 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
37790
39943
|
scheduled_end_time?: string | null;
|
|
37791
39944
|
scheduled_start_time?: string | null;
|
|
37792
39945
|
status?: string;
|
|
37793
|
-
tenant_id?: string;
|
|
37794
39946
|
total_hours_worked?: number | null;
|
|
37795
39947
|
total_price?: number | null;
|
|
37796
39948
|
travel_time_minutes?: number | null;
|
|
@@ -37804,12 +39956,6 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
37804
39956
|
isOneToOne: false;
|
|
37805
39957
|
referencedRelation: "work_orders";
|
|
37806
39958
|
referencedColumns: ["id"];
|
|
37807
|
-
}, {
|
|
37808
|
-
foreignKeyName: "work_orders_tenant_id_fkey";
|
|
37809
|
-
columns: ["tenant_id"];
|
|
37810
|
-
isOneToOne: false;
|
|
37811
|
-
referencedRelation: "tenants";
|
|
37812
|
-
referencedColumns: ["id"];
|
|
37813
39959
|
}];
|
|
37814
39960
|
};
|
|
37815
39961
|
};
|
|
@@ -38494,6 +40640,19 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
38494
40640
|
};
|
|
38495
40641
|
Returns: undefined;
|
|
38496
40642
|
};
|
|
40643
|
+
approve_mailbox_order_proposal: {
|
|
40644
|
+
Args: {
|
|
40645
|
+
p_custom_fields: import("../integrations/supabase/types").Json;
|
|
40646
|
+
p_customer_id: string;
|
|
40647
|
+
p_delivery_date: string;
|
|
40648
|
+
p_field_values?: import("../integrations/supabase/types").Json;
|
|
40649
|
+
p_lines: import("../integrations/supabase/types").Json;
|
|
40650
|
+
p_notes: string;
|
|
40651
|
+
p_proposal_id: string;
|
|
40652
|
+
p_reviewed_by: string;
|
|
40653
|
+
};
|
|
40654
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
40655
|
+
};
|
|
38497
40656
|
assign_cart_numbers: {
|
|
38498
40657
|
Args: {
|
|
38499
40658
|
p_carts: import("../integrations/supabase/types").Json;
|
|
@@ -38529,6 +40688,10 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
38529
40688
|
processed_items: number;
|
|
38530
40689
|
}[];
|
|
38531
40690
|
};
|
|
40691
|
+
backfill_order_auto_invoice_queue: {
|
|
40692
|
+
Args: never;
|
|
40693
|
+
Returns: number;
|
|
40694
|
+
};
|
|
38532
40695
|
calculate_layer_stock: {
|
|
38533
40696
|
Args: {
|
|
38534
40697
|
p_product_id: string;
|
|
@@ -38541,6 +40704,10 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
38541
40704
|
};
|
|
38542
40705
|
Returns: number;
|
|
38543
40706
|
};
|
|
40707
|
+
can_manage_hours: {
|
|
40708
|
+
Args: never;
|
|
40709
|
+
Returns: boolean;
|
|
40710
|
+
};
|
|
38544
40711
|
check_offer_product_available_stock: {
|
|
38545
40712
|
Args: {
|
|
38546
40713
|
p_campaign_product_id: string;
|
|
@@ -38563,6 +40730,77 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
38563
40730
|
};
|
|
38564
40731
|
Returns: import("../integrations/supabase/types").Json;
|
|
38565
40732
|
};
|
|
40733
|
+
claim_cloud_print_jobs: {
|
|
40734
|
+
Args: {
|
|
40735
|
+
_max?: number;
|
|
40736
|
+
};
|
|
40737
|
+
Returns: {
|
|
40738
|
+
agent_id: string | null;
|
|
40739
|
+
bron_job_id: string | null;
|
|
40740
|
+
created_at: string;
|
|
40741
|
+
documentnaam: string;
|
|
40742
|
+
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
40743
|
+
extern_job_id: string | null;
|
|
40744
|
+
foutmelding: string | null;
|
|
40745
|
+
gebruiker_id: string | null;
|
|
40746
|
+
gebruiker_naam: string;
|
|
40747
|
+
gestart_op: string | null;
|
|
40748
|
+
id: string;
|
|
40749
|
+
idempotentie_sleutel: string | null;
|
|
40750
|
+
is_herprint: boolean;
|
|
40751
|
+
kopieen: number;
|
|
40752
|
+
layout_id: string | null;
|
|
40753
|
+
opgepakt_op: string | null;
|
|
40754
|
+
paginas: number;
|
|
40755
|
+
payload: import("../integrations/supabase/types").Json;
|
|
40756
|
+
pdf_base64: string | null;
|
|
40757
|
+
pdf_url: string | null;
|
|
40758
|
+
pogingen: number;
|
|
40759
|
+
printer_id: string | null;
|
|
40760
|
+
render_html: string | null;
|
|
40761
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
40762
|
+
updated_at: string;
|
|
40763
|
+
volgende_poging: string | null;
|
|
40764
|
+
voltooid_op: string | null;
|
|
40765
|
+
}[];
|
|
40766
|
+
SetofOptions: {
|
|
40767
|
+
from: "*";
|
|
40768
|
+
to: "print_jobs";
|
|
40769
|
+
isOneToOne: false;
|
|
40770
|
+
isSetofReturn: true;
|
|
40771
|
+
};
|
|
40772
|
+
};
|
|
40773
|
+
claim_floriday_stock_queue: {
|
|
40774
|
+
Args: {
|
|
40775
|
+
p_limit?: number;
|
|
40776
|
+
p_worker?: string;
|
|
40777
|
+
};
|
|
40778
|
+
Returns: {
|
|
40779
|
+
attempts: number;
|
|
40780
|
+
connection_id: string;
|
|
40781
|
+
created_at: string;
|
|
40782
|
+
desired_available: boolean | null;
|
|
40783
|
+
gateway_attempt_id: string | null;
|
|
40784
|
+
id: string;
|
|
40785
|
+
last_error: string | null;
|
|
40786
|
+
locked_at: string | null;
|
|
40787
|
+
locked_by: string | null;
|
|
40788
|
+
next_attempt_at: string;
|
|
40789
|
+
number_of_pieces: number;
|
|
40790
|
+
sent_at: string | null;
|
|
40791
|
+
status: string;
|
|
40792
|
+
superseded_by: string | null;
|
|
40793
|
+
trade_item_id: string;
|
|
40794
|
+
updated_at: string;
|
|
40795
|
+
user_id: string;
|
|
40796
|
+
}[];
|
|
40797
|
+
SetofOptions: {
|
|
40798
|
+
from: "*";
|
|
40799
|
+
to: "floriday_continuous_stock_queue";
|
|
40800
|
+
isOneToOne: false;
|
|
40801
|
+
isSetofReturn: true;
|
|
40802
|
+
};
|
|
40803
|
+
};
|
|
38566
40804
|
claim_logistics_tasks: {
|
|
38567
40805
|
Args: {
|
|
38568
40806
|
_limit?: number;
|
|
@@ -38622,22 +40860,27 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
38622
40860
|
created_at: string;
|
|
38623
40861
|
documentnaam: string;
|
|
38624
40862
|
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
40863
|
+
extern_job_id: string | null;
|
|
38625
40864
|
foutmelding: string | null;
|
|
38626
40865
|
gebruiker_id: string | null;
|
|
38627
40866
|
gebruiker_naam: string;
|
|
38628
40867
|
gestart_op: string | null;
|
|
38629
40868
|
id: string;
|
|
40869
|
+
idempotentie_sleutel: string | null;
|
|
38630
40870
|
is_herprint: boolean;
|
|
38631
40871
|
kopieen: number;
|
|
38632
40872
|
layout_id: string | null;
|
|
38633
40873
|
opgepakt_op: string | null;
|
|
38634
40874
|
paginas: number;
|
|
38635
40875
|
payload: import("../integrations/supabase/types").Json;
|
|
40876
|
+
pdf_base64: string | null;
|
|
40877
|
+
pdf_url: string | null;
|
|
38636
40878
|
pogingen: number;
|
|
38637
40879
|
printer_id: string | null;
|
|
38638
40880
|
render_html: string | null;
|
|
38639
40881
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
38640
40882
|
updated_at: string;
|
|
40883
|
+
volgende_poging: string | null;
|
|
38641
40884
|
voltooid_op: string | null;
|
|
38642
40885
|
}[];
|
|
38643
40886
|
SetofOptions: {
|
|
@@ -38654,6 +40897,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
38654
40897
|
};
|
|
38655
40898
|
Returns: {
|
|
38656
40899
|
action: string;
|
|
40900
|
+
attempt_started_at: string | null;
|
|
38657
40901
|
attempts: number;
|
|
38658
40902
|
connection_id: string | null;
|
|
38659
40903
|
created_at: string;
|
|
@@ -38675,10 +40919,28 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
38675
40919
|
isSetofReturn: true;
|
|
38676
40920
|
};
|
|
38677
40921
|
};
|
|
40922
|
+
cleanup_floriday_stock_queue: {
|
|
40923
|
+
Args: never;
|
|
40924
|
+
Returns: undefined;
|
|
40925
|
+
};
|
|
38678
40926
|
cleanup_old_bookings: {
|
|
38679
40927
|
Args: never;
|
|
38680
40928
|
Returns: undefined;
|
|
38681
40929
|
};
|
|
40930
|
+
cleanup_voorraad_module_history: {
|
|
40931
|
+
Args: never;
|
|
40932
|
+
Returns: undefined;
|
|
40933
|
+
};
|
|
40934
|
+
complete_floriday_stock_queue: {
|
|
40935
|
+
Args: {
|
|
40936
|
+
p_attempt_id?: string;
|
|
40937
|
+
p_error?: string;
|
|
40938
|
+
p_id: string;
|
|
40939
|
+
p_ok: boolean;
|
|
40940
|
+
p_permanent?: boolean;
|
|
40941
|
+
};
|
|
40942
|
+
Returns: undefined;
|
|
40943
|
+
};
|
|
38682
40944
|
consume_bom_for_production: {
|
|
38683
40945
|
Args: {
|
|
38684
40946
|
p_connection_id: string;
|
|
@@ -38723,6 +40985,30 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
38723
40985
|
agent_naam: string;
|
|
38724
40986
|
}[];
|
|
38725
40987
|
};
|
|
40988
|
+
consume_van_inventory: {
|
|
40989
|
+
Args: {
|
|
40990
|
+
p_inventory_id: string;
|
|
40991
|
+
p_quantity: number;
|
|
40992
|
+
};
|
|
40993
|
+
Returns: {
|
|
40994
|
+
barcode: string | null;
|
|
40995
|
+
created_at: string;
|
|
40996
|
+
id: string;
|
|
40997
|
+
monteur_id: string | null;
|
|
40998
|
+
price_per_unit: number;
|
|
40999
|
+
product_name: string;
|
|
41000
|
+
quantity_current: number;
|
|
41001
|
+
quantity_min: number;
|
|
41002
|
+
unit: string;
|
|
41003
|
+
updated_at: string;
|
|
41004
|
+
};
|
|
41005
|
+
SetofOptions: {
|
|
41006
|
+
from: "*";
|
|
41007
|
+
to: "van_inventories";
|
|
41008
|
+
isOneToOne: true;
|
|
41009
|
+
isSetofReturn: false;
|
|
41010
|
+
};
|
|
41011
|
+
};
|
|
38726
41012
|
control_get_todays_carts: {
|
|
38727
41013
|
Args: never;
|
|
38728
41014
|
Returns: {
|
|
@@ -38790,6 +41076,20 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
38790
41076
|
};
|
|
38791
41077
|
Returns: import("../integrations/supabase/types").Json;
|
|
38792
41078
|
};
|
|
41079
|
+
effective_module_permission: {
|
|
41080
|
+
Args: {
|
|
41081
|
+
_module_id: string;
|
|
41082
|
+
_user_id: string;
|
|
41083
|
+
};
|
|
41084
|
+
Returns: string;
|
|
41085
|
+
} | {
|
|
41086
|
+
Args: {
|
|
41087
|
+
_feature_id: string;
|
|
41088
|
+
_module_id: string;
|
|
41089
|
+
_user_id: string;
|
|
41090
|
+
};
|
|
41091
|
+
Returns: string;
|
|
41092
|
+
};
|
|
38793
41093
|
email_auth_decrypt: {
|
|
38794
41094
|
Args: {
|
|
38795
41095
|
cipher: string;
|
|
@@ -39140,12 +41440,6 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
39140
41440
|
Args: never;
|
|
39141
41441
|
Returns: string;
|
|
39142
41442
|
};
|
|
39143
|
-
get_work_order_tenant_id: {
|
|
39144
|
-
Args: {
|
|
39145
|
-
wo_id: string;
|
|
39146
|
-
};
|
|
39147
|
-
Returns: string;
|
|
39148
|
-
};
|
|
39149
41443
|
has_module_permission: {
|
|
39150
41444
|
Args: {
|
|
39151
41445
|
_min: string;
|
|
@@ -39179,6 +41473,13 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
39179
41473
|
};
|
|
39180
41474
|
Returns: boolean;
|
|
39181
41475
|
};
|
|
41476
|
+
is_time_log_week_locked: {
|
|
41477
|
+
Args: {
|
|
41478
|
+
p_employee_id: string;
|
|
41479
|
+
p_start_time: string;
|
|
41480
|
+
};
|
|
41481
|
+
Returns: boolean;
|
|
41482
|
+
};
|
|
39182
41483
|
is_user_admin: {
|
|
39183
41484
|
Args: never;
|
|
39184
41485
|
Returns: boolean;
|
|
@@ -39193,13 +41494,14 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
39193
41494
|
};
|
|
39194
41495
|
Returns: boolean;
|
|
39195
41496
|
};
|
|
39196
|
-
|
|
41497
|
+
list_medewerkers: {
|
|
39197
41498
|
Args: never;
|
|
39198
41499
|
Returns: {
|
|
39199
41500
|
avatar_url: string;
|
|
39200
41501
|
display_name: string;
|
|
39201
41502
|
email: string;
|
|
39202
41503
|
id: string;
|
|
41504
|
+
roles: string[];
|
|
39203
41505
|
}[];
|
|
39204
41506
|
};
|
|
39205
41507
|
list_my_planning_items: {
|
|
@@ -39454,144 +41756,189 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
39454
41756
|
isSetofReturn: false;
|
|
39455
41757
|
};
|
|
39456
41758
|
};
|
|
39457
|
-
logistics_complete_task: {
|
|
41759
|
+
logistics_complete_task: {
|
|
41760
|
+
Args: {
|
|
41761
|
+
p_result?: import("../integrations/supabase/types").Json;
|
|
41762
|
+
p_task_id: string;
|
|
41763
|
+
};
|
|
41764
|
+
Returns: {
|
|
41765
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
41766
|
+
attempts: number;
|
|
41767
|
+
buffer_ref: string | null;
|
|
41768
|
+
claimed_at: string | null;
|
|
41769
|
+
claimed_by: string | null;
|
|
41770
|
+
completed_at: string | null;
|
|
41771
|
+
created_at: string;
|
|
41772
|
+
depends_on: string[];
|
|
41773
|
+
due_at: string | null;
|
|
41774
|
+
error: string | null;
|
|
41775
|
+
id: string;
|
|
41776
|
+
last_error: string | null;
|
|
41777
|
+
next_attempt_at: string | null;
|
|
41778
|
+
order_ref: string;
|
|
41779
|
+
owner_module: string;
|
|
41780
|
+
payload: import("../integrations/supabase/types").Json;
|
|
41781
|
+
plan_run_id: string | null;
|
|
41782
|
+
planned_end: string | null;
|
|
41783
|
+
planned_start: string | null;
|
|
41784
|
+
priority: number;
|
|
41785
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
41786
|
+
rule_config_id: string | null;
|
|
41787
|
+
rule_version: number | null;
|
|
41788
|
+
sequence: number;
|
|
41789
|
+
shadow: boolean;
|
|
41790
|
+
started_at: string | null;
|
|
41791
|
+
status: string;
|
|
41792
|
+
strategy_id: string | null;
|
|
41793
|
+
task_type: string;
|
|
41794
|
+
updated_at: string;
|
|
41795
|
+
user_id: string;
|
|
41796
|
+
};
|
|
41797
|
+
SetofOptions: {
|
|
41798
|
+
from: "*";
|
|
41799
|
+
to: "logistics_tasks";
|
|
41800
|
+
isOneToOne: true;
|
|
41801
|
+
isSetofReturn: false;
|
|
41802
|
+
};
|
|
41803
|
+
};
|
|
41804
|
+
logistics_delay_customer_email: {
|
|
41805
|
+
Args: {
|
|
41806
|
+
p_customer: string;
|
|
41807
|
+
p_lang: string;
|
|
41808
|
+
p_new_date: string;
|
|
41809
|
+
p_order: string;
|
|
41810
|
+
p_partial?: boolean;
|
|
41811
|
+
};
|
|
41812
|
+
Returns: {
|
|
41813
|
+
body: string;
|
|
41814
|
+
subject: string;
|
|
41815
|
+
}[];
|
|
41816
|
+
};
|
|
41817
|
+
logistics_document_layout: {
|
|
41818
|
+
Args: {
|
|
41819
|
+
_document_code: string;
|
|
41820
|
+
};
|
|
41821
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
41822
|
+
};
|
|
41823
|
+
logistics_document_station: {
|
|
41824
|
+
Args: {
|
|
41825
|
+
_document_code: string;
|
|
41826
|
+
};
|
|
41827
|
+
Returns: string;
|
|
41828
|
+
};
|
|
41829
|
+
logistics_emit_event: {
|
|
41830
|
+
Args: {
|
|
41831
|
+
p_event_type: string;
|
|
41832
|
+
p_idempotency_key?: string;
|
|
41833
|
+
p_order_ref: string;
|
|
41834
|
+
p_payload?: import("../integrations/supabase/types").Json;
|
|
41835
|
+
p_shadow?: boolean;
|
|
41836
|
+
p_source_module: string;
|
|
41837
|
+
p_strategy_id?: string;
|
|
41838
|
+
};
|
|
41839
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
41840
|
+
} | {
|
|
41841
|
+
Args: {
|
|
41842
|
+
p_event_type: string;
|
|
41843
|
+
p_idempotency_key?: string;
|
|
41844
|
+
p_order_ref: string;
|
|
41845
|
+
p_payload?: import("../integrations/supabase/types").Json;
|
|
41846
|
+
p_priority?: number;
|
|
41847
|
+
p_shadow?: boolean;
|
|
41848
|
+
p_source_module: string;
|
|
41849
|
+
p_strategy_id?: string;
|
|
41850
|
+
};
|
|
41851
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
41852
|
+
};
|
|
41853
|
+
logistics_fail_task: {
|
|
41854
|
+
Args: {
|
|
41855
|
+
p_error: string;
|
|
41856
|
+
p_task_id: string;
|
|
41857
|
+
};
|
|
41858
|
+
Returns: {
|
|
41859
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
41860
|
+
attempts: number;
|
|
41861
|
+
buffer_ref: string | null;
|
|
41862
|
+
claimed_at: string | null;
|
|
41863
|
+
claimed_by: string | null;
|
|
41864
|
+
completed_at: string | null;
|
|
41865
|
+
created_at: string;
|
|
41866
|
+
depends_on: string[];
|
|
41867
|
+
due_at: string | null;
|
|
41868
|
+
error: string | null;
|
|
41869
|
+
id: string;
|
|
41870
|
+
last_error: string | null;
|
|
41871
|
+
next_attempt_at: string | null;
|
|
41872
|
+
order_ref: string;
|
|
41873
|
+
owner_module: string;
|
|
41874
|
+
payload: import("../integrations/supabase/types").Json;
|
|
41875
|
+
plan_run_id: string | null;
|
|
41876
|
+
planned_end: string | null;
|
|
41877
|
+
planned_start: string | null;
|
|
41878
|
+
priority: number;
|
|
41879
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
41880
|
+
rule_config_id: string | null;
|
|
41881
|
+
rule_version: number | null;
|
|
41882
|
+
sequence: number;
|
|
41883
|
+
shadow: boolean;
|
|
41884
|
+
started_at: string | null;
|
|
41885
|
+
status: string;
|
|
41886
|
+
strategy_id: string | null;
|
|
41887
|
+
task_type: string;
|
|
41888
|
+
updated_at: string;
|
|
41889
|
+
user_id: string;
|
|
41890
|
+
};
|
|
41891
|
+
SetofOptions: {
|
|
41892
|
+
from: "*";
|
|
41893
|
+
to: "logistics_tasks";
|
|
41894
|
+
isOneToOne: true;
|
|
41895
|
+
isSetofReturn: false;
|
|
41896
|
+
};
|
|
41897
|
+
};
|
|
41898
|
+
logistics_floriday_claim_pushes: {
|
|
39458
41899
|
Args: {
|
|
39459
|
-
|
|
39460
|
-
|
|
41900
|
+
_lease_seconds?: number;
|
|
41901
|
+
_limit?: number;
|
|
41902
|
+
_worker?: string;
|
|
39461
41903
|
};
|
|
39462
41904
|
Returns: {
|
|
39463
|
-
attempt_log: import("../integrations/supabase/types").Json;
|
|
39464
41905
|
attempts: number;
|
|
39465
|
-
|
|
39466
|
-
claimed_at: string | null;
|
|
39467
|
-
claimed_by: string | null;
|
|
39468
|
-
completed_at: string | null;
|
|
39469
|
-
created_at: string;
|
|
39470
|
-
depends_on: string[];
|
|
39471
|
-
due_at: string | null;
|
|
39472
|
-
error: string | null;
|
|
41906
|
+
fulfillment_order_id: string;
|
|
39473
41907
|
id: string;
|
|
39474
|
-
|
|
39475
|
-
next_attempt_at: string | null;
|
|
41908
|
+
last_sent_hash: string;
|
|
39476
41909
|
order_ref: string;
|
|
39477
|
-
owner_module: string;
|
|
39478
41910
|
payload: import("../integrations/supabase/types").Json;
|
|
39479
|
-
|
|
39480
|
-
|
|
39481
|
-
planned_start: string | null;
|
|
39482
|
-
priority: number;
|
|
39483
|
-
result: import("../integrations/supabase/types").Json | null;
|
|
39484
|
-
rule_config_id: string | null;
|
|
39485
|
-
rule_version: number | null;
|
|
39486
|
-
sequence: number;
|
|
39487
|
-
shadow: boolean;
|
|
39488
|
-
started_at: string | null;
|
|
39489
|
-
status: string;
|
|
39490
|
-
strategy_id: string | null;
|
|
39491
|
-
task_type: string;
|
|
39492
|
-
updated_at: string;
|
|
39493
|
-
user_id: string;
|
|
39494
|
-
};
|
|
39495
|
-
SetofOptions: {
|
|
39496
|
-
from: "*";
|
|
39497
|
-
to: "logistics_tasks";
|
|
39498
|
-
isOneToOne: true;
|
|
39499
|
-
isSetofReturn: false;
|
|
39500
|
-
};
|
|
39501
|
-
};
|
|
39502
|
-
logistics_delay_customer_email: {
|
|
39503
|
-
Args: {
|
|
39504
|
-
p_customer: string;
|
|
39505
|
-
p_lang: string;
|
|
39506
|
-
p_new_date: string;
|
|
39507
|
-
p_order: string;
|
|
39508
|
-
p_partial?: boolean;
|
|
39509
|
-
};
|
|
39510
|
-
Returns: {
|
|
39511
|
-
body: string;
|
|
39512
|
-
subject: string;
|
|
41911
|
+
payload_hash: string;
|
|
41912
|
+
revision: number;
|
|
39513
41913
|
}[];
|
|
39514
41914
|
};
|
|
39515
|
-
|
|
41915
|
+
logistics_floriday_finish_push: {
|
|
39516
41916
|
Args: {
|
|
39517
|
-
|
|
39518
|
-
|
|
39519
|
-
|
|
39520
|
-
|
|
39521
|
-
|
|
39522
|
-
|
|
39523
|
-
|
|
41917
|
+
_error?: string;
|
|
41918
|
+
_fulfillment_order_id?: string;
|
|
41919
|
+
_id: string;
|
|
41920
|
+
_max_age_hours?: number;
|
|
41921
|
+
_max_attempts?: number;
|
|
41922
|
+
_ok: boolean;
|
|
41923
|
+
_permanent?: boolean;
|
|
41924
|
+
_revision: number;
|
|
41925
|
+
_sent_hash?: string;
|
|
39524
41926
|
};
|
|
39525
41927
|
Returns: string;
|
|
39526
41928
|
};
|
|
39527
|
-
|
|
41929
|
+
logistics_floriday_prune_pushes: {
|
|
39528
41930
|
Args: {
|
|
39529
|
-
|
|
39530
|
-
p_idempotency_key?: string;
|
|
39531
|
-
p_order_ref: string;
|
|
39532
|
-
p_payload?: import("../integrations/supabase/types").Json;
|
|
39533
|
-
p_shadow?: boolean;
|
|
39534
|
-
p_source_module: string;
|
|
39535
|
-
p_strategy_id?: string;
|
|
41931
|
+
_days?: number;
|
|
39536
41932
|
};
|
|
39537
|
-
Returns:
|
|
39538
|
-
} | {
|
|
39539
|
-
Args: {
|
|
39540
|
-
p_event_type: string;
|
|
39541
|
-
p_idempotency_key?: string;
|
|
39542
|
-
p_order_ref: string;
|
|
39543
|
-
p_payload?: import("../integrations/supabase/types").Json;
|
|
39544
|
-
p_priority?: number;
|
|
39545
|
-
p_shadow?: boolean;
|
|
39546
|
-
p_source_module: string;
|
|
39547
|
-
p_strategy_id?: string;
|
|
39548
|
-
};
|
|
39549
|
-
Returns: import("../integrations/supabase/types").Json;
|
|
41933
|
+
Returns: number;
|
|
39550
41934
|
};
|
|
39551
|
-
|
|
41935
|
+
logistics_floriday_queue_push: {
|
|
39552
41936
|
Args: {
|
|
39553
|
-
|
|
39554
|
-
|
|
39555
|
-
|
|
39556
|
-
Returns: {
|
|
39557
|
-
attempt_log: import("../integrations/supabase/types").Json;
|
|
39558
|
-
attempts: number;
|
|
39559
|
-
buffer_ref: string | null;
|
|
39560
|
-
claimed_at: string | null;
|
|
39561
|
-
claimed_by: string | null;
|
|
39562
|
-
completed_at: string | null;
|
|
39563
|
-
created_at: string;
|
|
39564
|
-
depends_on: string[];
|
|
39565
|
-
due_at: string | null;
|
|
39566
|
-
error: string | null;
|
|
39567
|
-
id: string;
|
|
39568
|
-
last_error: string | null;
|
|
39569
|
-
next_attempt_at: string | null;
|
|
39570
|
-
order_ref: string;
|
|
39571
|
-
owner_module: string;
|
|
39572
|
-
payload: import("../integrations/supabase/types").Json;
|
|
39573
|
-
plan_run_id: string | null;
|
|
39574
|
-
planned_end: string | null;
|
|
39575
|
-
planned_start: string | null;
|
|
39576
|
-
priority: number;
|
|
39577
|
-
result: import("../integrations/supabase/types").Json | null;
|
|
39578
|
-
rule_config_id: string | null;
|
|
39579
|
-
rule_version: number | null;
|
|
39580
|
-
sequence: number;
|
|
39581
|
-
shadow: boolean;
|
|
39582
|
-
started_at: string | null;
|
|
39583
|
-
status: string;
|
|
39584
|
-
strategy_id: string | null;
|
|
39585
|
-
task_type: string;
|
|
39586
|
-
updated_at: string;
|
|
39587
|
-
user_id: string;
|
|
39588
|
-
};
|
|
39589
|
-
SetofOptions: {
|
|
39590
|
-
from: "*";
|
|
39591
|
-
to: "logistics_tasks";
|
|
39592
|
-
isOneToOne: true;
|
|
39593
|
-
isSetofReturn: false;
|
|
41937
|
+
_order_ref: string;
|
|
41938
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
41939
|
+
_payload_hash?: string;
|
|
39594
41940
|
};
|
|
41941
|
+
Returns: string;
|
|
39595
41942
|
};
|
|
39596
41943
|
logistics_live_carriers: {
|
|
39597
41944
|
Args: {
|
|
@@ -39645,6 +41992,65 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
39645
41992
|
};
|
|
39646
41993
|
Returns: number;
|
|
39647
41994
|
};
|
|
41995
|
+
logistics_plan_claim: {
|
|
41996
|
+
Args: {
|
|
41997
|
+
p_limit?: number;
|
|
41998
|
+
};
|
|
41999
|
+
Returns: {
|
|
42000
|
+
attempts: number;
|
|
42001
|
+
id: string;
|
|
42002
|
+
order_id: string;
|
|
42003
|
+
}[];
|
|
42004
|
+
};
|
|
42005
|
+
logistics_plan_enqueue: {
|
|
42006
|
+
Args: {
|
|
42007
|
+
p_order_id: string;
|
|
42008
|
+
p_reason?: string;
|
|
42009
|
+
};
|
|
42010
|
+
Returns: undefined;
|
|
42011
|
+
};
|
|
42012
|
+
logistics_plan_ensure_event: {
|
|
42013
|
+
Args: {
|
|
42014
|
+
p_order_id: string;
|
|
42015
|
+
};
|
|
42016
|
+
Returns: boolean;
|
|
42017
|
+
};
|
|
42018
|
+
logistics_plan_finish: {
|
|
42019
|
+
Args: {
|
|
42020
|
+
p_error?: string;
|
|
42021
|
+
p_id: string;
|
|
42022
|
+
};
|
|
42023
|
+
Returns: undefined;
|
|
42024
|
+
};
|
|
42025
|
+
logistics_plan_impact_orders: {
|
|
42026
|
+
Args: {
|
|
42027
|
+
p_order_id: string;
|
|
42028
|
+
};
|
|
42029
|
+
Returns: {
|
|
42030
|
+
buffer_id: string;
|
|
42031
|
+
order_id: string;
|
|
42032
|
+
plan_date: string;
|
|
42033
|
+
}[];
|
|
42034
|
+
};
|
|
42035
|
+
logistics_plan_kick: {
|
|
42036
|
+
Args: never;
|
|
42037
|
+
Returns: undefined;
|
|
42038
|
+
};
|
|
42039
|
+
logistics_plan_prune: {
|
|
42040
|
+
Args: never;
|
|
42041
|
+
Returns: number;
|
|
42042
|
+
};
|
|
42043
|
+
logistics_plan_release_stale: {
|
|
42044
|
+
Args: never;
|
|
42045
|
+
Returns: number;
|
|
42046
|
+
};
|
|
42047
|
+
logistics_plan_setting: {
|
|
42048
|
+
Args: {
|
|
42049
|
+
p_default: number;
|
|
42050
|
+
p_key: string;
|
|
42051
|
+
};
|
|
42052
|
+
Returns: number;
|
|
42053
|
+
};
|
|
39648
42054
|
logistics_queue_capacity_email: {
|
|
39649
42055
|
Args: {
|
|
39650
42056
|
p_alert_id: string;
|
|
@@ -39883,6 +42289,14 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
39883
42289
|
};
|
|
39884
42290
|
Returns: undefined;
|
|
39885
42291
|
};
|
|
42292
|
+
my_module_permissions: {
|
|
42293
|
+
Args: never;
|
|
42294
|
+
Returns: {
|
|
42295
|
+
feature_id: string;
|
|
42296
|
+
module_id: string;
|
|
42297
|
+
permission: string;
|
|
42298
|
+
}[];
|
|
42299
|
+
};
|
|
39886
42300
|
next_manufacture_partij: {
|
|
39887
42301
|
Args: {
|
|
39888
42302
|
_tenant_id: string;
|
|
@@ -39933,6 +42347,13 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
39933
42347
|
};
|
|
39934
42348
|
Returns: boolean;
|
|
39935
42349
|
};
|
|
42350
|
+
opruim_print_historie: {
|
|
42351
|
+
Args: never;
|
|
42352
|
+
Returns: {
|
|
42353
|
+
ontdaan: number;
|
|
42354
|
+
verwijderd: number;
|
|
42355
|
+
}[];
|
|
42356
|
+
};
|
|
39936
42357
|
order_number_prefix: {
|
|
39937
42358
|
Args: {
|
|
39938
42359
|
p_custom_fields?: import("../integrations/supabase/types").Json;
|
|
@@ -39940,6 +42361,15 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
39940
42361
|
};
|
|
39941
42362
|
Returns: string;
|
|
39942
42363
|
};
|
|
42364
|
+
pick_active_printers: {
|
|
42365
|
+
Args: never;
|
|
42366
|
+
Returns: {
|
|
42367
|
+
id: string;
|
|
42368
|
+
locatie: string;
|
|
42369
|
+
naam: string;
|
|
42370
|
+
online: boolean;
|
|
42371
|
+
}[];
|
|
42372
|
+
};
|
|
39943
42373
|
pick_claim_document: {
|
|
39944
42374
|
Args: {
|
|
39945
42375
|
_queue_item_id: string;
|
|
@@ -40126,6 +42556,52 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
40126
42556
|
};
|
|
40127
42557
|
Returns: undefined;
|
|
40128
42558
|
};
|
|
42559
|
+
pick_reset_print: {
|
|
42560
|
+
Args: {
|
|
42561
|
+
_queue_item_id: string;
|
|
42562
|
+
_session_id: string;
|
|
42563
|
+
};
|
|
42564
|
+
Returns: {
|
|
42565
|
+
announced_at: string;
|
|
42566
|
+
assigned_user_id: string | null;
|
|
42567
|
+
barcode: string | null;
|
|
42568
|
+
cancelled_at: string | null;
|
|
42569
|
+
cart_count: number;
|
|
42570
|
+
completed_at: string | null;
|
|
42571
|
+
country_code: string | null;
|
|
42572
|
+
created_at: string;
|
|
42573
|
+
customer_name: string | null;
|
|
42574
|
+
delivery_address: string | null;
|
|
42575
|
+
document_number: string | null;
|
|
42576
|
+
document_type_id: string | null;
|
|
42577
|
+
due_at: string | null;
|
|
42578
|
+
id: string;
|
|
42579
|
+
is_urgent: boolean;
|
|
42580
|
+
line_count: number;
|
|
42581
|
+
order_number: string | null;
|
|
42582
|
+
order_type: string | null;
|
|
42583
|
+
payload: import("../integrations/supabase/types").Json;
|
|
42584
|
+
print_count: number;
|
|
42585
|
+
print_job_id: string | null;
|
|
42586
|
+
printed_at: string | null;
|
|
42587
|
+
printed_by: string | null;
|
|
42588
|
+
printer_id: string | null;
|
|
42589
|
+
priority: number;
|
|
42590
|
+
reference: string | null;
|
|
42591
|
+
route: string | null;
|
|
42592
|
+
screen_id: string | null;
|
|
42593
|
+
station_id: string | null;
|
|
42594
|
+
status_id: string | null;
|
|
42595
|
+
updated_at: string;
|
|
42596
|
+
warnings: import("../integrations/supabase/types").Json;
|
|
42597
|
+
};
|
|
42598
|
+
SetofOptions: {
|
|
42599
|
+
from: "*";
|
|
42600
|
+
to: "pick_queue";
|
|
42601
|
+
isOneToOne: true;
|
|
42602
|
+
isSetofReturn: false;
|
|
42603
|
+
};
|
|
42604
|
+
};
|
|
40129
42605
|
pick_station_dashboard: {
|
|
40130
42606
|
Args: never;
|
|
40131
42607
|
Returns: {
|
|
@@ -40272,6 +42748,12 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
40272
42748
|
};
|
|
40273
42749
|
Returns: undefined;
|
|
40274
42750
|
};
|
|
42751
|
+
reset_stalled_floriday_stock_queue: {
|
|
42752
|
+
Args: {
|
|
42753
|
+
p_include_failed?: boolean;
|
|
42754
|
+
};
|
|
42755
|
+
Returns: number;
|
|
42756
|
+
};
|
|
40275
42757
|
resolve_group_allocation: {
|
|
40276
42758
|
Args: {
|
|
40277
42759
|
_needed: number;
|
|
@@ -40316,14 +42798,28 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
40316
42798
|
};
|
|
40317
42799
|
Returns: import("../integrations/supabase/types").Json;
|
|
40318
42800
|
};
|
|
42801
|
+
ruim_print_jobs_op: {
|
|
42802
|
+
Args: {
|
|
42803
|
+
_bewaar_dagen?: number;
|
|
42804
|
+
};
|
|
42805
|
+
Returns: number;
|
|
42806
|
+
};
|
|
40319
42807
|
run_floriday_continuous_stock_sync: {
|
|
40320
42808
|
Args: never;
|
|
40321
42809
|
Returns: undefined;
|
|
40322
42810
|
};
|
|
42811
|
+
run_floriday_stock_queue_process: {
|
|
42812
|
+
Args: never;
|
|
42813
|
+
Returns: undefined;
|
|
42814
|
+
};
|
|
40323
42815
|
run_logistics_tasks_dispatch: {
|
|
40324
42816
|
Args: never;
|
|
40325
42817
|
Returns: undefined;
|
|
40326
42818
|
};
|
|
42819
|
+
run_print_queue_ticks: {
|
|
42820
|
+
Args: never;
|
|
42821
|
+
Returns: number;
|
|
42822
|
+
};
|
|
40327
42823
|
run_twinfield_queue_tick: {
|
|
40328
42824
|
Args: never;
|
|
40329
42825
|
Returns: undefined;
|
|
@@ -40564,6 +43060,13 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
40564
43060
|
};
|
|
40565
43061
|
Returns: number;
|
|
40566
43062
|
};
|
|
43063
|
+
schedule_floriday_stock_queue_process: {
|
|
43064
|
+
Args: {
|
|
43065
|
+
p_apikey: string;
|
|
43066
|
+
p_url: string;
|
|
43067
|
+
};
|
|
43068
|
+
Returns: number;
|
|
43069
|
+
};
|
|
40567
43070
|
schedule_floriday_token_refresh: {
|
|
40568
43071
|
Args: {
|
|
40569
43072
|
p_apikey: string;
|
|
@@ -40670,6 +43173,16 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
40670
43173
|
};
|
|
40671
43174
|
Returns: string[];
|
|
40672
43175
|
};
|
|
43176
|
+
switch_time_log: {
|
|
43177
|
+
Args: {
|
|
43178
|
+
p_employee_id: string;
|
|
43179
|
+
p_start_lat?: number;
|
|
43180
|
+
p_start_lng?: number;
|
|
43181
|
+
p_type: string;
|
|
43182
|
+
p_work_order_id?: string;
|
|
43183
|
+
};
|
|
43184
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
43185
|
+
};
|
|
40673
43186
|
sync_all_layer_stocks: {
|
|
40674
43187
|
Args: never;
|
|
40675
43188
|
Returns: undefined;
|
|
@@ -40704,6 +43217,15 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
40704
43217
|
};
|
|
40705
43218
|
Returns: undefined;
|
|
40706
43219
|
};
|
|
43220
|
+
trade_item_stock_duplicates: {
|
|
43221
|
+
Args: never;
|
|
43222
|
+
Returns: {
|
|
43223
|
+
keys: string[];
|
|
43224
|
+
product_id: string;
|
|
43225
|
+
product_name: string;
|
|
43226
|
+
row_count: number;
|
|
43227
|
+
}[];
|
|
43228
|
+
};
|
|
40707
43229
|
try_debtor_lock: {
|
|
40708
43230
|
Args: {
|
|
40709
43231
|
_group_key: string;
|
|
@@ -40711,6 +43233,24 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
40711
43233
|
};
|
|
40712
43234
|
Returns: boolean;
|
|
40713
43235
|
};
|
|
43236
|
+
twinfield_cron_lock_acquire: {
|
|
43237
|
+
Args: {
|
|
43238
|
+
_job_name: string;
|
|
43239
|
+
_stale_seconds?: number;
|
|
43240
|
+
};
|
|
43241
|
+
Returns: boolean;
|
|
43242
|
+
};
|
|
43243
|
+
twinfield_cron_lock_release: {
|
|
43244
|
+
Args: {
|
|
43245
|
+
_error?: string;
|
|
43246
|
+
_job_name: string;
|
|
43247
|
+
};
|
|
43248
|
+
Returns: undefined;
|
|
43249
|
+
};
|
|
43250
|
+
twinfield_prune_push_queue: {
|
|
43251
|
+
Args: never;
|
|
43252
|
+
Returns: number;
|
|
43253
|
+
};
|
|
40714
43254
|
twinfield_register_cron: {
|
|
40715
43255
|
Args: {
|
|
40716
43256
|
apikey?: string;
|
|
@@ -40753,7 +43293,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
40753
43293
|
};
|
|
40754
43294
|
Enums: {
|
|
40755
43295
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|
|
40756
|
-
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin";
|
|
43296
|
+
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
|
|
40757
43297
|
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
|
|
40758
43298
|
doc_orientation: "portrait" | "landscape";
|
|
40759
43299
|
exact_env: "staging" | "live";
|