@flowselections/logistiek-engine 1.0.32 → 1.0.34
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/README.md +24 -24
- package/dist-lib/components/FloridayPoortCard.d.ts +2 -0
- package/dist-lib/components/FloridayPoortCard.d.ts.map +1 -0
- package/dist-lib/components/FloridayPoortCard.js +29 -0
- package/dist-lib/components/LogistiekEnginePage.d.ts.map +1 -1
- package/dist-lib/components/LogistiekEnginePage.js +2 -1
- package/dist-lib/hooks/useFloridayGate.d.ts +40 -0
- package/dist-lib/hooks/useFloridayGate.d.ts.map +1 -0
- package/dist-lib/hooks/useFloridayGate.js +50 -0
- package/dist-lib/index.d.ts +2 -0
- package/dist-lib/index.d.ts.map +1 -1
- package/dist-lib/index.js +2 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +162 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +158 -1515
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +162 -0
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/moduleClient.d.ts +162 -0
- package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +162 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/floridayDocuments.functions.d.ts +486 -0
- package/dist-lib/lib/floridayDocuments.functions.d.ts.map +1 -1
- package/dist-lib/lib/floridayDocuments.server.d.ts +3 -4
- package/dist-lib/lib/floridayDocuments.server.d.ts.map +1 -1
- package/dist-lib/lib/floridayDocuments.server.js +24 -15
- package/dist-lib/lib/floridayGuard.server.d.ts +32 -0
- package/dist-lib/lib/floridayGuard.server.d.ts.map +1 -0
- package/dist-lib/lib/floridayGuard.server.js +137 -0
- package/dist-lib/lib/floridayPush.functions.d.ts +162 -0
- package/dist-lib/lib/floridayPush.functions.d.ts.map +1 -1
- package/dist-lib/lib/floridayPush.server.d.ts.map +1 -1
- package/dist-lib/lib/floridayPush.server.js +1 -1
- package/dist-lib/lib/loadCarrierPlanning.functions.d.ts +810 -0
- package/dist-lib/lib/loadCarrierPlanning.functions.d.ts.map +1 -1
- package/dist-lib/lib/logisticsRecalcJob.functions.d.ts +324 -0
- package/dist-lib/lib/logisticsRecalcJob.functions.d.ts.map +1 -1
- package/dist-lib/lib/logisticsRecalculate.functions.d.ts +162 -0
- package/dist-lib/lib/logisticsRecalculate.functions.d.ts.map +1 -1
- package/dist-lib/lib/modulePrompts.d.ts +1 -0
- package/dist-lib/lib/modulePrompts.d.ts.map +1 -1
- package/dist-lib/lib/modulePrompts.js +2707 -2578
- package/dist-lib/lib/ruleEngineSchema.d.ts.map +1 -1
- package/dist-lib/lib/ruleEngineSchema.js +7 -0
- package/package.json +1 -1
|
@@ -871,126 +871,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
871
871
|
};
|
|
872
872
|
Relationships: [];
|
|
873
873
|
};
|
|
874
|
-
cao_holidays: {
|
|
875
|
-
Row: {
|
|
876
|
-
created_at: string;
|
|
877
|
-
description: string | null;
|
|
878
|
-
holiday_date: string;
|
|
879
|
-
id: string;
|
|
880
|
-
updated_at: string;
|
|
881
|
-
};
|
|
882
|
-
Insert: {
|
|
883
|
-
created_at?: string;
|
|
884
|
-
description?: string | null;
|
|
885
|
-
holiday_date: string;
|
|
886
|
-
id?: string;
|
|
887
|
-
updated_at?: string;
|
|
888
|
-
};
|
|
889
|
-
Update: {
|
|
890
|
-
created_at?: string;
|
|
891
|
-
description?: string | null;
|
|
892
|
-
holiday_date?: string;
|
|
893
|
-
id?: string;
|
|
894
|
-
updated_at?: string;
|
|
895
|
-
};
|
|
896
|
-
Relationships: [];
|
|
897
|
-
};
|
|
898
|
-
cao_settings: {
|
|
899
|
-
Row: {
|
|
900
|
-
auto_break_after_hours: number;
|
|
901
|
-
auto_break_minutes: number;
|
|
902
|
-
auto_break_unpaid: boolean;
|
|
903
|
-
auto_stop_after_hours: number;
|
|
904
|
-
callout_fee: number;
|
|
905
|
-
created_at: string;
|
|
906
|
-
daily_regular_hours: number;
|
|
907
|
-
default_hourly_rate: number;
|
|
908
|
-
id: string;
|
|
909
|
-
materials_markup_percent: number;
|
|
910
|
-
max_daily_hours: number;
|
|
911
|
-
max_weekly_hours: number;
|
|
912
|
-
meal_allowance_amount: number;
|
|
913
|
-
overtime_pct_178: number;
|
|
914
|
-
overtime_pct_189: number;
|
|
915
|
-
overtime_pct_212: number;
|
|
916
|
-
reminder_after_hours: number;
|
|
917
|
-
standby_evening_amount: number;
|
|
918
|
-
standby_weekend_amount: number;
|
|
919
|
-
travel_cost_per_km: number | null;
|
|
920
|
-
travel_cost_threshold_km: number | null;
|
|
921
|
-
travel_counts_as_work: boolean;
|
|
922
|
-
travel_hourly_rate: number;
|
|
923
|
-
travel_rate_per_hour: number;
|
|
924
|
-
travel_threshold_minutes: number;
|
|
925
|
-
updated_at: string;
|
|
926
|
-
weekend_always_212: boolean;
|
|
927
|
-
window_end: string;
|
|
928
|
-
window_start: string;
|
|
929
|
-
};
|
|
930
|
-
Insert: {
|
|
931
|
-
auto_break_after_hours?: number;
|
|
932
|
-
auto_break_minutes?: number;
|
|
933
|
-
auto_break_unpaid?: boolean;
|
|
934
|
-
auto_stop_after_hours?: number;
|
|
935
|
-
callout_fee?: number;
|
|
936
|
-
created_at?: string;
|
|
937
|
-
daily_regular_hours?: number;
|
|
938
|
-
default_hourly_rate?: number;
|
|
939
|
-
id?: string;
|
|
940
|
-
materials_markup_percent?: number;
|
|
941
|
-
max_daily_hours?: number;
|
|
942
|
-
max_weekly_hours?: number;
|
|
943
|
-
meal_allowance_amount?: number;
|
|
944
|
-
overtime_pct_178?: number;
|
|
945
|
-
overtime_pct_189?: number;
|
|
946
|
-
overtime_pct_212?: number;
|
|
947
|
-
reminder_after_hours?: number;
|
|
948
|
-
standby_evening_amount?: number;
|
|
949
|
-
standby_weekend_amount?: number;
|
|
950
|
-
travel_cost_per_km?: number | null;
|
|
951
|
-
travel_cost_threshold_km?: number | null;
|
|
952
|
-
travel_counts_as_work?: boolean;
|
|
953
|
-
travel_hourly_rate?: number;
|
|
954
|
-
travel_rate_per_hour?: number;
|
|
955
|
-
travel_threshold_minutes?: number;
|
|
956
|
-
updated_at?: string;
|
|
957
|
-
weekend_always_212?: boolean;
|
|
958
|
-
window_end?: string;
|
|
959
|
-
window_start?: string;
|
|
960
|
-
};
|
|
961
|
-
Update: {
|
|
962
|
-
auto_break_after_hours?: number;
|
|
963
|
-
auto_break_minutes?: number;
|
|
964
|
-
auto_break_unpaid?: boolean;
|
|
965
|
-
auto_stop_after_hours?: number;
|
|
966
|
-
callout_fee?: number;
|
|
967
|
-
created_at?: string;
|
|
968
|
-
daily_regular_hours?: number;
|
|
969
|
-
default_hourly_rate?: number;
|
|
970
|
-
id?: string;
|
|
971
|
-
materials_markup_percent?: number;
|
|
972
|
-
max_daily_hours?: number;
|
|
973
|
-
max_weekly_hours?: number;
|
|
974
|
-
meal_allowance_amount?: number;
|
|
975
|
-
overtime_pct_178?: number;
|
|
976
|
-
overtime_pct_189?: number;
|
|
977
|
-
overtime_pct_212?: number;
|
|
978
|
-
reminder_after_hours?: number;
|
|
979
|
-
standby_evening_amount?: number;
|
|
980
|
-
standby_weekend_amount?: number;
|
|
981
|
-
travel_cost_per_km?: number | null;
|
|
982
|
-
travel_cost_threshold_km?: number | null;
|
|
983
|
-
travel_counts_as_work?: boolean;
|
|
984
|
-
travel_hourly_rate?: number;
|
|
985
|
-
travel_rate_per_hour?: number;
|
|
986
|
-
travel_threshold_minutes?: number;
|
|
987
|
-
updated_at?: string;
|
|
988
|
-
weekend_always_212?: boolean;
|
|
989
|
-
window_end?: string;
|
|
990
|
-
window_start?: string;
|
|
991
|
-
};
|
|
992
|
-
Relationships: [];
|
|
993
|
-
};
|
|
994
874
|
carrier_shipping_rates: {
|
|
995
875
|
Row: {
|
|
996
876
|
carrier_id: string;
|
|
@@ -1803,7 +1683,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
1803
1683
|
city: string | null;
|
|
1804
1684
|
country: string | null;
|
|
1805
1685
|
created_at: string;
|
|
1806
|
-
customer_id: string;
|
|
1686
|
+
customer_id: string | null;
|
|
1807
1687
|
external_key: string | null;
|
|
1808
1688
|
external_provider: string | null;
|
|
1809
1689
|
floriday_location_id: string | null;
|
|
@@ -1827,7 +1707,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
1827
1707
|
city?: string | null;
|
|
1828
1708
|
country?: string | null;
|
|
1829
1709
|
created_at?: string;
|
|
1830
|
-
customer_id
|
|
1710
|
+
customer_id?: string | null;
|
|
1831
1711
|
external_key?: string | null;
|
|
1832
1712
|
external_provider?: string | null;
|
|
1833
1713
|
floriday_location_id?: string | null;
|
|
@@ -1851,7 +1731,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
1851
1731
|
city?: string | null;
|
|
1852
1732
|
country?: string | null;
|
|
1853
1733
|
created_at?: string;
|
|
1854
|
-
customer_id?: string;
|
|
1734
|
+
customer_id?: string | null;
|
|
1855
1735
|
external_key?: string | null;
|
|
1856
1736
|
external_provider?: string | null;
|
|
1857
1737
|
floriday_location_id?: string | null;
|
|
@@ -5814,17 +5694,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
5814
5694
|
attempts: number;
|
|
5815
5695
|
connection_id: string;
|
|
5816
5696
|
created_at: string;
|
|
5817
|
-
desired_available: boolean | null;
|
|
5818
5697
|
gateway_attempt_id: string | null;
|
|
5819
5698
|
id: string;
|
|
5820
5699
|
last_error: string | null;
|
|
5821
|
-
locked_at: string | null;
|
|
5822
|
-
locked_by: string | null;
|
|
5823
|
-
next_attempt_at: string;
|
|
5824
5700
|
number_of_pieces: number;
|
|
5825
5701
|
sent_at: string | null;
|
|
5826
5702
|
status: string;
|
|
5827
|
-
superseded_by: string | null;
|
|
5828
5703
|
trade_item_id: string;
|
|
5829
5704
|
updated_at: string;
|
|
5830
5705
|
user_id: string;
|
|
@@ -5833,17 +5708,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
5833
5708
|
attempts?: number;
|
|
5834
5709
|
connection_id: string;
|
|
5835
5710
|
created_at?: string;
|
|
5836
|
-
desired_available?: boolean | null;
|
|
5837
5711
|
gateway_attempt_id?: string | null;
|
|
5838
5712
|
id?: string;
|
|
5839
5713
|
last_error?: string | null;
|
|
5840
|
-
locked_at?: string | null;
|
|
5841
|
-
locked_by?: string | null;
|
|
5842
|
-
next_attempt_at?: string;
|
|
5843
5714
|
number_of_pieces?: number;
|
|
5844
5715
|
sent_at?: string | null;
|
|
5845
5716
|
status?: string;
|
|
5846
|
-
superseded_by?: string | null;
|
|
5847
5717
|
trade_item_id: string;
|
|
5848
5718
|
updated_at?: string;
|
|
5849
5719
|
user_id: string;
|
|
@@ -5852,17 +5722,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
5852
5722
|
attempts?: number;
|
|
5853
5723
|
connection_id?: string;
|
|
5854
5724
|
created_at?: string;
|
|
5855
|
-
desired_available?: boolean | null;
|
|
5856
5725
|
gateway_attempt_id?: string | null;
|
|
5857
5726
|
id?: string;
|
|
5858
5727
|
last_error?: string | null;
|
|
5859
|
-
locked_at?: string | null;
|
|
5860
|
-
locked_by?: string | null;
|
|
5861
|
-
next_attempt_at?: string;
|
|
5862
5728
|
number_of_pieces?: number;
|
|
5863
5729
|
sent_at?: string | null;
|
|
5864
5730
|
status?: string;
|
|
5865
|
-
superseded_by?: string | null;
|
|
5866
5731
|
trade_item_id?: string;
|
|
5867
5732
|
updated_at?: string;
|
|
5868
5733
|
user_id?: string;
|
|
@@ -6599,7 +6464,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
6599
6464
|
Row: {
|
|
6600
6465
|
buyer_organization_id: string | null;
|
|
6601
6466
|
connection_id: string;
|
|
6602
|
-
controlled_at: string | null;
|
|
6603
6467
|
created_at: string;
|
|
6604
6468
|
data: import("./types").Json;
|
|
6605
6469
|
floriday_id: string;
|
|
@@ -6611,7 +6475,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
6611
6475
|
Insert: {
|
|
6612
6476
|
buyer_organization_id?: string | null;
|
|
6613
6477
|
connection_id: string;
|
|
6614
|
-
controlled_at?: string | null;
|
|
6615
6478
|
created_at?: string;
|
|
6616
6479
|
data: import("./types").Json;
|
|
6617
6480
|
floriday_id: string;
|
|
@@ -6623,7 +6486,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
6623
6486
|
Update: {
|
|
6624
6487
|
buyer_organization_id?: string | null;
|
|
6625
6488
|
connection_id?: string;
|
|
6626
|
-
controlled_at?: string | null;
|
|
6627
6489
|
created_at?: string;
|
|
6628
6490
|
data?: import("./types").Json;
|
|
6629
6491
|
floriday_id?: string;
|
|
@@ -7525,54 +7387,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
7525
7387
|
};
|
|
7526
7388
|
Relationships: [];
|
|
7527
7389
|
};
|
|
7528
|
-
invoice_timing_settings: {
|
|
7529
|
-
Row: {
|
|
7530
|
-
anchor: string;
|
|
7531
|
-
business_days_only: boolean;
|
|
7532
|
-
created_at: string;
|
|
7533
|
-
enabled: boolean;
|
|
7534
|
-
id: string;
|
|
7535
|
-
offset_days: number;
|
|
7536
|
-
pickup_anchor: string;
|
|
7537
|
-
pickup_business_days_only: boolean;
|
|
7538
|
-
pickup_offset_days: number;
|
|
7539
|
-
pickup_time_of_day: string;
|
|
7540
|
-
singleton: boolean;
|
|
7541
|
-
time_of_day: string;
|
|
7542
|
-
updated_at: string;
|
|
7543
|
-
};
|
|
7544
|
-
Insert: {
|
|
7545
|
-
anchor?: string;
|
|
7546
|
-
business_days_only?: boolean;
|
|
7547
|
-
created_at?: string;
|
|
7548
|
-
enabled?: boolean;
|
|
7549
|
-
id?: string;
|
|
7550
|
-
offset_days?: number;
|
|
7551
|
-
pickup_anchor?: string;
|
|
7552
|
-
pickup_business_days_only?: boolean;
|
|
7553
|
-
pickup_offset_days?: number;
|
|
7554
|
-
pickup_time_of_day?: string;
|
|
7555
|
-
singleton?: boolean;
|
|
7556
|
-
time_of_day?: string;
|
|
7557
|
-
updated_at?: string;
|
|
7558
|
-
};
|
|
7559
|
-
Update: {
|
|
7560
|
-
anchor?: string;
|
|
7561
|
-
business_days_only?: boolean;
|
|
7562
|
-
created_at?: string;
|
|
7563
|
-
enabled?: boolean;
|
|
7564
|
-
id?: string;
|
|
7565
|
-
offset_days?: number;
|
|
7566
|
-
pickup_anchor?: string;
|
|
7567
|
-
pickup_business_days_only?: boolean;
|
|
7568
|
-
pickup_offset_days?: number;
|
|
7569
|
-
pickup_time_of_day?: string;
|
|
7570
|
-
singleton?: boolean;
|
|
7571
|
-
time_of_day?: string;
|
|
7572
|
-
updated_at?: string;
|
|
7573
|
-
};
|
|
7574
|
-
Relationships: [];
|
|
7575
|
-
};
|
|
7576
7390
|
itk_contact_persons: {
|
|
7577
7391
|
Row: {
|
|
7578
7392
|
created_at: string;
|
|
@@ -7885,6 +7699,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
7885
7699
|
start_date: string;
|
|
7886
7700
|
start_time: string | null;
|
|
7887
7701
|
status: string;
|
|
7702
|
+
tenant_id: string;
|
|
7888
7703
|
updated_at: string;
|
|
7889
7704
|
user_id: string;
|
|
7890
7705
|
};
|
|
@@ -7902,6 +7717,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
7902
7717
|
start_date: string;
|
|
7903
7718
|
start_time?: string | null;
|
|
7904
7719
|
status?: string;
|
|
7720
|
+
tenant_id?: string;
|
|
7905
7721
|
updated_at?: string;
|
|
7906
7722
|
user_id: string;
|
|
7907
7723
|
};
|
|
@@ -7919,6 +7735,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
7919
7735
|
start_date?: string;
|
|
7920
7736
|
start_time?: string | null;
|
|
7921
7737
|
status?: string;
|
|
7738
|
+
tenant_id?: string;
|
|
7922
7739
|
updated_at?: string;
|
|
7923
7740
|
user_id?: string;
|
|
7924
7741
|
};
|
|
@@ -7926,13 +7743,13 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
7926
7743
|
foreignKeyName: "leave_requests_monteur_id_fkey";
|
|
7927
7744
|
columns: ["monteur_id"];
|
|
7928
7745
|
isOneToOne: false;
|
|
7929
|
-
referencedRelation: "
|
|
7746
|
+
referencedRelation: "monteurs";
|
|
7930
7747
|
referencedColumns: ["id"];
|
|
7931
7748
|
}, {
|
|
7932
7749
|
foreignKeyName: "leave_requests_user_id_fkey";
|
|
7933
7750
|
columns: ["user_id"];
|
|
7934
7751
|
isOneToOne: false;
|
|
7935
|
-
referencedRelation: "
|
|
7752
|
+
referencedRelation: "monteurs";
|
|
7936
7753
|
referencedColumns: ["id"];
|
|
7937
7754
|
}];
|
|
7938
7755
|
};
|
|
@@ -8659,69 +8476,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
8659
8476
|
};
|
|
8660
8477
|
Relationships: [];
|
|
8661
8478
|
};
|
|
8662
|
-
logistics_floriday_pushes: {
|
|
8663
|
-
Row: {
|
|
8664
|
-
attempts: number;
|
|
8665
|
-
created_at: string;
|
|
8666
|
-
first_queued_at: string;
|
|
8667
|
-
fulfillment_order_id: string | null;
|
|
8668
|
-
id: string;
|
|
8669
|
-
last_error: string | null;
|
|
8670
|
-
last_error_at: string | null;
|
|
8671
|
-
last_sent_hash: string | null;
|
|
8672
|
-
locked_by: string | null;
|
|
8673
|
-
locked_until: string | null;
|
|
8674
|
-
next_attempt_at: string;
|
|
8675
|
-
order_ref: string;
|
|
8676
|
-
payload: import("./types").Json;
|
|
8677
|
-
payload_hash: string | null;
|
|
8678
|
-
revision: number;
|
|
8679
|
-
sent_at: string | null;
|
|
8680
|
-
status: string;
|
|
8681
|
-
updated_at: string;
|
|
8682
|
-
};
|
|
8683
|
-
Insert: {
|
|
8684
|
-
attempts?: number;
|
|
8685
|
-
created_at?: string;
|
|
8686
|
-
first_queued_at?: string;
|
|
8687
|
-
fulfillment_order_id?: string | null;
|
|
8688
|
-
id?: string;
|
|
8689
|
-
last_error?: string | null;
|
|
8690
|
-
last_error_at?: string | null;
|
|
8691
|
-
last_sent_hash?: string | null;
|
|
8692
|
-
locked_by?: string | null;
|
|
8693
|
-
locked_until?: string | null;
|
|
8694
|
-
next_attempt_at?: string;
|
|
8695
|
-
order_ref: string;
|
|
8696
|
-
payload?: import("./types").Json;
|
|
8697
|
-
payload_hash?: string | null;
|
|
8698
|
-
revision?: number;
|
|
8699
|
-
sent_at?: string | null;
|
|
8700
|
-
status?: string;
|
|
8701
|
-
updated_at?: string;
|
|
8702
|
-
};
|
|
8703
|
-
Update: {
|
|
8704
|
-
attempts?: number;
|
|
8705
|
-
created_at?: string;
|
|
8706
|
-
first_queued_at?: string;
|
|
8707
|
-
fulfillment_order_id?: string | null;
|
|
8708
|
-
id?: string;
|
|
8709
|
-
last_error?: string | null;
|
|
8710
|
-
last_error_at?: string | null;
|
|
8711
|
-
last_sent_hash?: string | null;
|
|
8712
|
-
locked_by?: string | null;
|
|
8713
|
-
locked_until?: string | null;
|
|
8714
|
-
next_attempt_at?: string;
|
|
8715
|
-
order_ref?: string;
|
|
8716
|
-
payload?: import("./types").Json;
|
|
8717
|
-
payload_hash?: string | null;
|
|
8718
|
-
revision?: number;
|
|
8719
|
-
sent_at?: string | null;
|
|
8720
|
-
status?: string;
|
|
8721
|
-
updated_at?: string;
|
|
8722
|
-
};
|
|
8723
|
-
Relationships: [];
|
|
8724
|
-
};
|
|
8725
8479
|
logistics_formulas: {
|
|
8726
8480
|
Row: {
|
|
8727
8481
|
created_at: string;
|
|
@@ -8800,45 +8554,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
8800
8554
|
};
|
|
8801
8555
|
Relationships: [];
|
|
8802
8556
|
};
|
|
8803
|
-
logistics_plan_queue: {
|
|
8804
|
-
Row: {
|
|
8805
|
-
attempts: number;
|
|
8806
|
-
claimed_at: string | null;
|
|
8807
|
-
enqueued_at: string;
|
|
8808
|
-
error: string | null;
|
|
8809
|
-
id: string;
|
|
8810
|
-
next_attempt_at: string;
|
|
8811
|
-
order_id: string;
|
|
8812
|
-
reason: string;
|
|
8813
|
-
status: string;
|
|
8814
|
-
updated_at: string;
|
|
8815
|
-
};
|
|
8816
|
-
Insert: {
|
|
8817
|
-
attempts?: number;
|
|
8818
|
-
claimed_at?: string | null;
|
|
8819
|
-
enqueued_at?: string;
|
|
8820
|
-
error?: string | null;
|
|
8821
|
-
id?: string;
|
|
8822
|
-
next_attempt_at?: string;
|
|
8823
|
-
order_id: string;
|
|
8824
|
-
reason?: string;
|
|
8825
|
-
status?: string;
|
|
8826
|
-
updated_at?: string;
|
|
8827
|
-
};
|
|
8828
|
-
Update: {
|
|
8829
|
-
attempts?: number;
|
|
8830
|
-
claimed_at?: string | null;
|
|
8831
|
-
enqueued_at?: string;
|
|
8832
|
-
error?: string | null;
|
|
8833
|
-
id?: string;
|
|
8834
|
-
next_attempt_at?: string;
|
|
8835
|
-
order_id?: string;
|
|
8836
|
-
reason?: string;
|
|
8837
|
-
status?: string;
|
|
8838
|
-
updated_at?: string;
|
|
8839
|
-
};
|
|
8840
|
-
Relationships: [];
|
|
8841
|
-
};
|
|
8842
8557
|
logistics_plan_runs: {
|
|
8843
8558
|
Row: {
|
|
8844
8559
|
created_at: string;
|
|
@@ -8914,24 +8629,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
8914
8629
|
referencedColumns: ["id"];
|
|
8915
8630
|
}];
|
|
8916
8631
|
};
|
|
8917
|
-
logistics_plan_settings: {
|
|
8918
|
-
Row: {
|
|
8919
|
-
key: string;
|
|
8920
|
-
updated_at: string;
|
|
8921
|
-
value: string;
|
|
8922
|
-
};
|
|
8923
|
-
Insert: {
|
|
8924
|
-
key: string;
|
|
8925
|
-
updated_at?: string;
|
|
8926
|
-
value: string;
|
|
8927
|
-
};
|
|
8928
|
-
Update: {
|
|
8929
|
-
key?: string;
|
|
8930
|
-
updated_at?: string;
|
|
8931
|
-
value?: string;
|
|
8932
|
-
};
|
|
8933
|
-
Relationships: [];
|
|
8934
|
-
};
|
|
8935
8632
|
logistics_rebuffer_state: {
|
|
8936
8633
|
Row: {
|
|
8937
8634
|
created_at: string;
|
|
@@ -9390,8 +9087,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
9390
9087
|
};
|
|
9391
9088
|
logistics_tasks: {
|
|
9392
9089
|
Row: {
|
|
9393
|
-
attempt_log: import("./types").Json;
|
|
9394
|
-
attempts: number;
|
|
9395
9090
|
buffer_ref: string | null;
|
|
9396
9091
|
claimed_at: string | null;
|
|
9397
9092
|
claimed_by: string | null;
|
|
@@ -9401,8 +9096,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
9401
9096
|
due_at: string | null;
|
|
9402
9097
|
error: string | null;
|
|
9403
9098
|
id: string;
|
|
9404
|
-
last_error: string | null;
|
|
9405
|
-
next_attempt_at: string | null;
|
|
9406
9099
|
order_ref: string;
|
|
9407
9100
|
owner_module: string;
|
|
9408
9101
|
payload: import("./types").Json;
|
|
@@ -9423,8 +9116,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
9423
9116
|
user_id: string;
|
|
9424
9117
|
};
|
|
9425
9118
|
Insert: {
|
|
9426
|
-
attempt_log?: import("./types").Json;
|
|
9427
|
-
attempts?: number;
|
|
9428
9119
|
buffer_ref?: string | null;
|
|
9429
9120
|
claimed_at?: string | null;
|
|
9430
9121
|
claimed_by?: string | null;
|
|
@@ -9434,8 +9125,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
9434
9125
|
due_at?: string | null;
|
|
9435
9126
|
error?: string | null;
|
|
9436
9127
|
id?: string;
|
|
9437
|
-
last_error?: string | null;
|
|
9438
|
-
next_attempt_at?: string | null;
|
|
9439
9128
|
order_ref: string;
|
|
9440
9129
|
owner_module: string;
|
|
9441
9130
|
payload?: import("./types").Json;
|
|
@@ -9456,8 +9145,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
9456
9145
|
user_id?: string;
|
|
9457
9146
|
};
|
|
9458
9147
|
Update: {
|
|
9459
|
-
attempt_log?: import("./types").Json;
|
|
9460
|
-
attempts?: number;
|
|
9461
9148
|
buffer_ref?: string | null;
|
|
9462
9149
|
claimed_at?: string | null;
|
|
9463
9150
|
claimed_by?: string | null;
|
|
@@ -9467,8 +9154,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
9467
9154
|
due_at?: string | null;
|
|
9468
9155
|
error?: string | null;
|
|
9469
9156
|
id?: string;
|
|
9470
|
-
last_error?: string | null;
|
|
9471
|
-
next_attempt_at?: string | null;
|
|
9472
9157
|
order_ref?: string;
|
|
9473
9158
|
owner_module?: string;
|
|
9474
9159
|
payload?: import("./types").Json;
|
|
@@ -9642,17 +9327,14 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
9642
9327
|
};
|
|
9643
9328
|
mailbox_messages: {
|
|
9644
9329
|
Row: {
|
|
9645
|
-
attachments: import("./types").Json;
|
|
9646
9330
|
body_html: string | null;
|
|
9647
9331
|
body_text: string | null;
|
|
9648
|
-
cc_recipients: import("./types").Json;
|
|
9649
9332
|
connection_id: string | null;
|
|
9650
9333
|
created_at: string;
|
|
9651
9334
|
error_message: string | null;
|
|
9652
9335
|
external_id: string | null;
|
|
9653
9336
|
from_email: string | null;
|
|
9654
9337
|
from_name: string | null;
|
|
9655
|
-
has_attachments: boolean;
|
|
9656
9338
|
id: string;
|
|
9657
9339
|
message_id: string | null;
|
|
9658
9340
|
profile_id: string | null;
|
|
@@ -9660,22 +9342,18 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
9660
9342
|
received_at: string | null;
|
|
9661
9343
|
status: string;
|
|
9662
9344
|
subject: string | null;
|
|
9663
|
-
to_recipients: import("./types").Json;
|
|
9664
9345
|
uid: number | null;
|
|
9665
9346
|
updated_at: string;
|
|
9666
9347
|
};
|
|
9667
9348
|
Insert: {
|
|
9668
|
-
attachments?: import("./types").Json;
|
|
9669
9349
|
body_html?: string | null;
|
|
9670
9350
|
body_text?: string | null;
|
|
9671
|
-
cc_recipients?: import("./types").Json;
|
|
9672
9351
|
connection_id?: string | null;
|
|
9673
9352
|
created_at?: string;
|
|
9674
9353
|
error_message?: string | null;
|
|
9675
9354
|
external_id?: string | null;
|
|
9676
9355
|
from_email?: string | null;
|
|
9677
9356
|
from_name?: string | null;
|
|
9678
|
-
has_attachments?: boolean;
|
|
9679
9357
|
id?: string;
|
|
9680
9358
|
message_id?: string | null;
|
|
9681
9359
|
profile_id?: string | null;
|
|
@@ -9683,22 +9361,18 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
9683
9361
|
received_at?: string | null;
|
|
9684
9362
|
status?: string;
|
|
9685
9363
|
subject?: string | null;
|
|
9686
|
-
to_recipients?: import("./types").Json;
|
|
9687
9364
|
uid?: number | null;
|
|
9688
9365
|
updated_at?: string;
|
|
9689
9366
|
};
|
|
9690
9367
|
Update: {
|
|
9691
|
-
attachments?: import("./types").Json;
|
|
9692
9368
|
body_html?: string | null;
|
|
9693
9369
|
body_text?: string | null;
|
|
9694
|
-
cc_recipients?: import("./types").Json;
|
|
9695
9370
|
connection_id?: string | null;
|
|
9696
9371
|
created_at?: string;
|
|
9697
9372
|
error_message?: string | null;
|
|
9698
9373
|
external_id?: string | null;
|
|
9699
9374
|
from_email?: string | null;
|
|
9700
9375
|
from_name?: string | null;
|
|
9701
|
-
has_attachments?: boolean;
|
|
9702
9376
|
id?: string;
|
|
9703
9377
|
message_id?: string | null;
|
|
9704
9378
|
profile_id?: string | null;
|
|
@@ -9706,7 +9380,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
9706
9380
|
received_at?: string | null;
|
|
9707
9381
|
status?: string;
|
|
9708
9382
|
subject?: string | null;
|
|
9709
|
-
to_recipients?: import("./types").Json;
|
|
9710
9383
|
uid?: number | null;
|
|
9711
9384
|
updated_at?: string;
|
|
9712
9385
|
};
|
|
@@ -10087,200 +9760,140 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
10087
9760
|
};
|
|
10088
9761
|
Relationships: [];
|
|
10089
9762
|
};
|
|
10090
|
-
|
|
9763
|
+
module_permissions: {
|
|
10091
9764
|
Row: {
|
|
10092
9765
|
created_at: string;
|
|
10093
9766
|
id: string;
|
|
10094
|
-
|
|
10095
|
-
|
|
10096
|
-
|
|
10097
|
-
quantity_used: number;
|
|
9767
|
+
module_id: string;
|
|
9768
|
+
permission: string;
|
|
9769
|
+
role: Database["public"]["Enums"]["app_role"];
|
|
10098
9770
|
updated_at: string;
|
|
10099
|
-
van_inventory_id: string | null;
|
|
10100
|
-
work_order_id: string;
|
|
10101
9771
|
};
|
|
10102
9772
|
Insert: {
|
|
10103
9773
|
created_at?: string;
|
|
10104
9774
|
id?: string;
|
|
10105
|
-
|
|
10106
|
-
|
|
10107
|
-
|
|
10108
|
-
quantity_used?: number;
|
|
9775
|
+
module_id: string;
|
|
9776
|
+
permission: string;
|
|
9777
|
+
role: Database["public"]["Enums"]["app_role"];
|
|
10109
9778
|
updated_at?: string;
|
|
10110
|
-
van_inventory_id?: string | null;
|
|
10111
|
-
work_order_id: string;
|
|
10112
9779
|
};
|
|
10113
9780
|
Update: {
|
|
10114
9781
|
created_at?: string;
|
|
10115
9782
|
id?: string;
|
|
10116
|
-
|
|
10117
|
-
|
|
10118
|
-
|
|
10119
|
-
quantity_used?: number;
|
|
9783
|
+
module_id?: string;
|
|
9784
|
+
permission?: string;
|
|
9785
|
+
role?: Database["public"]["Enums"]["app_role"];
|
|
10120
9786
|
updated_at?: string;
|
|
10121
|
-
van_inventory_id?: string | null;
|
|
10122
|
-
work_order_id?: string;
|
|
10123
9787
|
};
|
|
10124
|
-
Relationships: [
|
|
10125
|
-
foreignKeyName: "material_usage_monteur_id_fkey";
|
|
10126
|
-
columns: ["monteur_id"];
|
|
10127
|
-
isOneToOne: false;
|
|
10128
|
-
referencedRelation: "profiles";
|
|
10129
|
-
referencedColumns: ["id"];
|
|
10130
|
-
}, {
|
|
10131
|
-
foreignKeyName: "material_usage_van_inventory_id_fkey";
|
|
10132
|
-
columns: ["van_inventory_id"];
|
|
10133
|
-
isOneToOne: false;
|
|
10134
|
-
referencedRelation: "van_inventories";
|
|
10135
|
-
referencedColumns: ["id"];
|
|
10136
|
-
}, {
|
|
10137
|
-
foreignKeyName: "material_usage_work_order_id_fkey";
|
|
10138
|
-
columns: ["work_order_id"];
|
|
10139
|
-
isOneToOne: false;
|
|
10140
|
-
referencedRelation: "work_orders";
|
|
10141
|
-
referencedColumns: ["id"];
|
|
10142
|
-
}];
|
|
9788
|
+
Relationships: [];
|
|
10143
9789
|
};
|
|
10144
|
-
|
|
9790
|
+
module_runtime_config: {
|
|
10145
9791
|
Row: {
|
|
10146
|
-
|
|
10147
|
-
|
|
10148
|
-
|
|
10149
|
-
is_active: boolean;
|
|
10150
|
-
last_seen_at: string;
|
|
10151
|
-
module_id: string;
|
|
10152
|
-
name: string;
|
|
9792
|
+
key: string;
|
|
9793
|
+
updated_at: string;
|
|
9794
|
+
value: string;
|
|
10153
9795
|
};
|
|
10154
9796
|
Insert: {
|
|
10155
|
-
|
|
10156
|
-
|
|
10157
|
-
|
|
10158
|
-
is_active?: boolean;
|
|
10159
|
-
last_seen_at?: string;
|
|
10160
|
-
module_id: string;
|
|
10161
|
-
name: string;
|
|
9797
|
+
key: string;
|
|
9798
|
+
updated_at?: string;
|
|
9799
|
+
value: string;
|
|
10162
9800
|
};
|
|
10163
9801
|
Update: {
|
|
10164
|
-
|
|
10165
|
-
|
|
10166
|
-
|
|
10167
|
-
is_active?: boolean;
|
|
10168
|
-
last_seen_at?: string;
|
|
10169
|
-
module_id?: string;
|
|
10170
|
-
name?: string;
|
|
9802
|
+
key?: string;
|
|
9803
|
+
updated_at?: string;
|
|
9804
|
+
value?: string;
|
|
10171
9805
|
};
|
|
10172
9806
|
Relationships: [];
|
|
10173
9807
|
};
|
|
10174
|
-
|
|
9808
|
+
modules: {
|
|
10175
9809
|
Row: {
|
|
10176
9810
|
created_at: string;
|
|
9811
|
+
description: string | null;
|
|
10177
9812
|
id: string;
|
|
10178
|
-
|
|
10179
|
-
|
|
10180
|
-
|
|
9813
|
+
is_active: boolean;
|
|
9814
|
+
last_seen_at: string | null;
|
|
9815
|
+
module_key: string;
|
|
9816
|
+
module_name: string;
|
|
10181
9817
|
updated_at: string;
|
|
10182
9818
|
};
|
|
10183
9819
|
Insert: {
|
|
10184
9820
|
created_at?: string;
|
|
9821
|
+
description?: string | null;
|
|
10185
9822
|
id?: string;
|
|
10186
|
-
|
|
10187
|
-
|
|
10188
|
-
|
|
9823
|
+
is_active?: boolean;
|
|
9824
|
+
last_seen_at?: string | null;
|
|
9825
|
+
module_key: string;
|
|
9826
|
+
module_name: string;
|
|
10189
9827
|
updated_at?: string;
|
|
10190
9828
|
};
|
|
10191
9829
|
Update: {
|
|
10192
9830
|
created_at?: string;
|
|
9831
|
+
description?: string | null;
|
|
10193
9832
|
id?: string;
|
|
10194
|
-
module_id?: string;
|
|
10195
|
-
permission?: string;
|
|
10196
|
-
role?: Database["public"]["Enums"]["app_role"];
|
|
10197
|
-
updated_at?: string;
|
|
10198
|
-
};
|
|
10199
|
-
Relationships: [];
|
|
10200
|
-
};
|
|
10201
|
-
module_registry: {
|
|
10202
|
-
Row: {
|
|
10203
|
-
created_at: string;
|
|
10204
|
-
enforce: boolean;
|
|
10205
|
-
is_active: boolean;
|
|
10206
|
-
last_seen_at: string;
|
|
10207
|
-
module_id: string;
|
|
10208
|
-
name: string;
|
|
10209
|
-
shell_id: string | null;
|
|
10210
|
-
sort_order: number | null;
|
|
10211
|
-
};
|
|
10212
|
-
Insert: {
|
|
10213
|
-
created_at?: string;
|
|
10214
|
-
enforce?: boolean;
|
|
10215
|
-
is_active?: boolean;
|
|
10216
|
-
last_seen_at?: string;
|
|
10217
|
-
module_id: string;
|
|
10218
|
-
name: string;
|
|
10219
|
-
shell_id?: string | null;
|
|
10220
|
-
sort_order?: number | null;
|
|
10221
|
-
};
|
|
10222
|
-
Update: {
|
|
10223
|
-
created_at?: string;
|
|
10224
|
-
enforce?: boolean;
|
|
10225
9833
|
is_active?: boolean;
|
|
10226
|
-
last_seen_at?: string;
|
|
10227
|
-
|
|
10228
|
-
|
|
10229
|
-
shell_id?: string | null;
|
|
10230
|
-
sort_order?: number | null;
|
|
10231
|
-
};
|
|
10232
|
-
Relationships: [];
|
|
10233
|
-
};
|
|
10234
|
-
module_runtime_config: {
|
|
10235
|
-
Row: {
|
|
10236
|
-
key: string;
|
|
10237
|
-
updated_at: string;
|
|
10238
|
-
value: string;
|
|
10239
|
-
};
|
|
10240
|
-
Insert: {
|
|
10241
|
-
key: string;
|
|
10242
|
-
updated_at?: string;
|
|
10243
|
-
value: string;
|
|
10244
|
-
};
|
|
10245
|
-
Update: {
|
|
10246
|
-
key?: string;
|
|
9834
|
+
last_seen_at?: string | null;
|
|
9835
|
+
module_key?: string;
|
|
9836
|
+
module_name?: string;
|
|
10247
9837
|
updated_at?: string;
|
|
10248
|
-
value?: string;
|
|
10249
9838
|
};
|
|
10250
9839
|
Relationships: [];
|
|
10251
9840
|
};
|
|
10252
|
-
|
|
9841
|
+
monteurs: {
|
|
10253
9842
|
Row: {
|
|
9843
|
+
avatar_url: string | null;
|
|
9844
|
+
color: string | null;
|
|
10254
9845
|
created_at: string;
|
|
10255
|
-
|
|
9846
|
+
email: string | null;
|
|
10256
9847
|
id: string;
|
|
10257
9848
|
is_active: boolean;
|
|
10258
|
-
|
|
10259
|
-
|
|
10260
|
-
|
|
9849
|
+
leave_balance_hours: number;
|
|
9850
|
+
name: string;
|
|
9851
|
+
persnr: number | null;
|
|
9852
|
+
phone: string | null;
|
|
9853
|
+
role: string;
|
|
9854
|
+
tenant_id: string;
|
|
10261
9855
|
updated_at: string;
|
|
9856
|
+
user_id: string | null;
|
|
10262
9857
|
};
|
|
10263
9858
|
Insert: {
|
|
9859
|
+
avatar_url?: string | null;
|
|
9860
|
+
color?: string | null;
|
|
10264
9861
|
created_at?: string;
|
|
10265
|
-
|
|
9862
|
+
email?: string | null;
|
|
10266
9863
|
id?: string;
|
|
10267
9864
|
is_active?: boolean;
|
|
10268
|
-
|
|
10269
|
-
|
|
10270
|
-
|
|
9865
|
+
leave_balance_hours?: number;
|
|
9866
|
+
name: string;
|
|
9867
|
+
persnr?: number | null;
|
|
9868
|
+
phone?: string | null;
|
|
9869
|
+
role?: string;
|
|
9870
|
+
tenant_id: string;
|
|
10271
9871
|
updated_at?: string;
|
|
9872
|
+
user_id?: string | null;
|
|
10272
9873
|
};
|
|
10273
9874
|
Update: {
|
|
9875
|
+
avatar_url?: string | null;
|
|
9876
|
+
color?: string | null;
|
|
10274
9877
|
created_at?: string;
|
|
10275
|
-
|
|
9878
|
+
email?: string | null;
|
|
10276
9879
|
id?: string;
|
|
10277
9880
|
is_active?: boolean;
|
|
10278
|
-
|
|
10279
|
-
|
|
10280
|
-
|
|
9881
|
+
leave_balance_hours?: number;
|
|
9882
|
+
name?: string;
|
|
9883
|
+
persnr?: number | null;
|
|
9884
|
+
phone?: string | null;
|
|
9885
|
+
role?: string;
|
|
9886
|
+
tenant_id?: string;
|
|
10281
9887
|
updated_at?: string;
|
|
9888
|
+
user_id?: string | null;
|
|
10282
9889
|
};
|
|
10283
|
-
Relationships: [
|
|
9890
|
+
Relationships: [{
|
|
9891
|
+
foreignKeyName: "monteurs_tenant_id_fkey";
|
|
9892
|
+
columns: ["tenant_id"];
|
|
9893
|
+
isOneToOne: false;
|
|
9894
|
+
referencedRelation: "tenants";
|
|
9895
|
+
referencedColumns: ["id"];
|
|
9896
|
+
}];
|
|
10284
9897
|
};
|
|
10285
9898
|
nmbrs_component_mapping: {
|
|
10286
9899
|
Row: {
|
|
@@ -10352,7 +9965,13 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
10352
9965
|
nmbrs_employee_number?: string;
|
|
10353
9966
|
updated_at?: string;
|
|
10354
9967
|
};
|
|
10355
|
-
Relationships: [
|
|
9968
|
+
Relationships: [{
|
|
9969
|
+
foreignKeyName: "nmbrs_employee_mapping_monteur_id_fkey";
|
|
9970
|
+
columns: ["monteur_id"];
|
|
9971
|
+
isOneToOne: true;
|
|
9972
|
+
referencedRelation: "monteurs";
|
|
9973
|
+
referencedColumns: ["id"];
|
|
9974
|
+
}];
|
|
10356
9975
|
};
|
|
10357
9976
|
nmbrs_export_lines: {
|
|
10358
9977
|
Row: {
|
|
@@ -10401,6 +10020,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
10401
10020
|
wage_code?: string;
|
|
10402
10021
|
};
|
|
10403
10022
|
Relationships: [{
|
|
10023
|
+
foreignKeyName: "nmbrs_export_lines_monteur_id_fkey";
|
|
10024
|
+
columns: ["monteur_id"];
|
|
10025
|
+
isOneToOne: false;
|
|
10026
|
+
referencedRelation: "monteurs";
|
|
10027
|
+
referencedColumns: ["id"];
|
|
10028
|
+
}, {
|
|
10404
10029
|
foreignKeyName: "nmbrs_export_lines_run_id_fkey";
|
|
10405
10030
|
columns: ["run_id"];
|
|
10406
10031
|
isOneToOne: false;
|
|
@@ -10878,7 +10503,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
10878
10503
|
};
|
|
10879
10504
|
offer_settings: {
|
|
10880
10505
|
Row: {
|
|
10881
|
-
brand_name: string | null;
|
|
10882
10506
|
button_color: string;
|
|
10883
10507
|
created_at: string;
|
|
10884
10508
|
default_countries: string[];
|
|
@@ -10900,7 +10524,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
10900
10524
|
updated_at: string;
|
|
10901
10525
|
};
|
|
10902
10526
|
Insert: {
|
|
10903
|
-
brand_name?: string | null;
|
|
10904
10527
|
button_color?: string;
|
|
10905
10528
|
created_at?: string;
|
|
10906
10529
|
default_countries?: string[];
|
|
@@ -10922,7 +10545,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
10922
10545
|
updated_at?: string;
|
|
10923
10546
|
};
|
|
10924
10547
|
Update: {
|
|
10925
|
-
brand_name?: string | null;
|
|
10926
10548
|
button_color?: string;
|
|
10927
10549
|
created_at?: string;
|
|
10928
10550
|
default_countries?: string[];
|
|
@@ -11221,45 +10843,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
11221
10843
|
};
|
|
11222
10844
|
Relationships: [];
|
|
11223
10845
|
};
|
|
11224
|
-
order_invoice_links: {
|
|
11225
|
-
Row: {
|
|
11226
|
-
attempts: number;
|
|
11227
|
-
created_at: string;
|
|
11228
|
-
error_message: string | null;
|
|
11229
|
-
id: string;
|
|
11230
|
-
invoice_number: string | null;
|
|
11231
|
-
next_attempt_at: string;
|
|
11232
|
-
order_id: string;
|
|
11233
|
-
processed_at: string | null;
|
|
11234
|
-
status: string;
|
|
11235
|
-
updated_at: string;
|
|
11236
|
-
};
|
|
11237
|
-
Insert: {
|
|
11238
|
-
attempts?: number;
|
|
11239
|
-
created_at?: string;
|
|
11240
|
-
error_message?: string | null;
|
|
11241
|
-
id?: string;
|
|
11242
|
-
invoice_number?: string | null;
|
|
11243
|
-
next_attempt_at?: string;
|
|
11244
|
-
order_id: string;
|
|
11245
|
-
processed_at?: string | null;
|
|
11246
|
-
status?: string;
|
|
11247
|
-
updated_at?: string;
|
|
11248
|
-
};
|
|
11249
|
-
Update: {
|
|
11250
|
-
attempts?: number;
|
|
11251
|
-
created_at?: string;
|
|
11252
|
-
error_message?: string | null;
|
|
11253
|
-
id?: string;
|
|
11254
|
-
invoice_number?: string | null;
|
|
11255
|
-
next_attempt_at?: string;
|
|
11256
|
-
order_id?: string;
|
|
11257
|
-
processed_at?: string | null;
|
|
11258
|
-
status?: string;
|
|
11259
|
-
updated_at?: string;
|
|
11260
|
-
};
|
|
11261
|
-
Relationships: [];
|
|
11262
|
-
};
|
|
11263
10846
|
order_items: {
|
|
11264
10847
|
Row: {
|
|
11265
10848
|
crates_per_layer: number | null;
|
|
@@ -11442,7 +11025,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
11442
11025
|
delivery_date: string | null;
|
|
11443
11026
|
floriday_sales_order_id: string | null;
|
|
11444
11027
|
id: string;
|
|
11445
|
-
invoice_due_at: string | null;
|
|
11446
11028
|
is_reservation: boolean;
|
|
11447
11029
|
notes: string | null;
|
|
11448
11030
|
order_date: string;
|
|
@@ -11464,7 +11046,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
11464
11046
|
delivery_date?: string | null;
|
|
11465
11047
|
floriday_sales_order_id?: string | null;
|
|
11466
11048
|
id?: string;
|
|
11467
|
-
invoice_due_at?: string | null;
|
|
11468
11049
|
is_reservation?: boolean;
|
|
11469
11050
|
notes?: string | null;
|
|
11470
11051
|
order_date?: string;
|
|
@@ -11486,7 +11067,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
11486
11067
|
delivery_date?: string | null;
|
|
11487
11068
|
floriday_sales_order_id?: string | null;
|
|
11488
11069
|
id?: string;
|
|
11489
|
-
invoice_due_at?: string | null;
|
|
11490
11070
|
is_reservation?: boolean;
|
|
11491
11071
|
notes?: string | null;
|
|
11492
11072
|
order_date?: string;
|
|
@@ -12683,27 +12263,22 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
12683
12263
|
created_at: string;
|
|
12684
12264
|
documentnaam: string;
|
|
12685
12265
|
documenttype: Database["public"]["Enums"]["doc_layout_type"];
|
|
12686
|
-
extern_job_id: string | null;
|
|
12687
12266
|
foutmelding: string | null;
|
|
12688
12267
|
gebruiker_id: string | null;
|
|
12689
12268
|
gebruiker_naam: string;
|
|
12690
12269
|
gestart_op: string | null;
|
|
12691
12270
|
id: string;
|
|
12692
|
-
idempotentie_sleutel: string | null;
|
|
12693
12271
|
is_herprint: boolean;
|
|
12694
12272
|
kopieen: number;
|
|
12695
12273
|
layout_id: string | null;
|
|
12696
12274
|
opgepakt_op: string | null;
|
|
12697
12275
|
paginas: number;
|
|
12698
12276
|
payload: import("./types").Json;
|
|
12699
|
-
pdf_base64: string | null;
|
|
12700
|
-
pdf_url: string | null;
|
|
12701
12277
|
pogingen: number;
|
|
12702
12278
|
printer_id: string | null;
|
|
12703
12279
|
render_html: string | null;
|
|
12704
12280
|
status: Database["public"]["Enums"]["print_job_status"];
|
|
12705
12281
|
updated_at: string;
|
|
12706
|
-
volgende_poging: string | null;
|
|
12707
12282
|
voltooid_op: string | null;
|
|
12708
12283
|
};
|
|
12709
12284
|
Insert: {
|
|
@@ -12712,27 +12287,22 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
12712
12287
|
created_at?: string;
|
|
12713
12288
|
documentnaam?: string;
|
|
12714
12289
|
documenttype?: Database["public"]["Enums"]["doc_layout_type"];
|
|
12715
|
-
extern_job_id?: string | null;
|
|
12716
12290
|
foutmelding?: string | null;
|
|
12717
12291
|
gebruiker_id?: string | null;
|
|
12718
12292
|
gebruiker_naam?: string;
|
|
12719
12293
|
gestart_op?: string | null;
|
|
12720
12294
|
id?: string;
|
|
12721
|
-
idempotentie_sleutel?: string | null;
|
|
12722
12295
|
is_herprint?: boolean;
|
|
12723
12296
|
kopieen?: number;
|
|
12724
12297
|
layout_id?: string | null;
|
|
12725
12298
|
opgepakt_op?: string | null;
|
|
12726
12299
|
paginas?: number;
|
|
12727
12300
|
payload?: import("./types").Json;
|
|
12728
|
-
pdf_base64?: string | null;
|
|
12729
|
-
pdf_url?: string | null;
|
|
12730
12301
|
pogingen?: number;
|
|
12731
12302
|
printer_id?: string | null;
|
|
12732
12303
|
render_html?: string | null;
|
|
12733
12304
|
status?: Database["public"]["Enums"]["print_job_status"];
|
|
12734
12305
|
updated_at?: string;
|
|
12735
|
-
volgende_poging?: string | null;
|
|
12736
12306
|
voltooid_op?: string | null;
|
|
12737
12307
|
};
|
|
12738
12308
|
Update: {
|
|
@@ -12741,27 +12311,22 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
12741
12311
|
created_at?: string;
|
|
12742
12312
|
documentnaam?: string;
|
|
12743
12313
|
documenttype?: Database["public"]["Enums"]["doc_layout_type"];
|
|
12744
|
-
extern_job_id?: string | null;
|
|
12745
12314
|
foutmelding?: string | null;
|
|
12746
12315
|
gebruiker_id?: string | null;
|
|
12747
12316
|
gebruiker_naam?: string;
|
|
12748
12317
|
gestart_op?: string | null;
|
|
12749
12318
|
id?: string;
|
|
12750
|
-
idempotentie_sleutel?: string | null;
|
|
12751
12319
|
is_herprint?: boolean;
|
|
12752
12320
|
kopieen?: number;
|
|
12753
12321
|
layout_id?: string | null;
|
|
12754
12322
|
opgepakt_op?: string | null;
|
|
12755
12323
|
paginas?: number;
|
|
12756
12324
|
payload?: import("./types").Json;
|
|
12757
|
-
pdf_base64?: string | null;
|
|
12758
|
-
pdf_url?: string | null;
|
|
12759
12325
|
pogingen?: number;
|
|
12760
12326
|
printer_id?: string | null;
|
|
12761
12327
|
render_html?: string | null;
|
|
12762
12328
|
status?: Database["public"]["Enums"]["print_job_status"];
|
|
12763
12329
|
updated_at?: string;
|
|
12764
|
-
volgende_poging?: string | null;
|
|
12765
12330
|
voltooid_op?: string | null;
|
|
12766
12331
|
};
|
|
12767
12332
|
Relationships: [{
|
|
@@ -12784,72 +12349,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
12784
12349
|
referencedColumns: ["id"];
|
|
12785
12350
|
}];
|
|
12786
12351
|
};
|
|
12787
|
-
print_queue_runners: {
|
|
12788
|
-
Row: {
|
|
12789
|
-
actief: boolean;
|
|
12790
|
-
basis_url: string;
|
|
12791
|
-
created_at: string;
|
|
12792
|
-
id: string;
|
|
12793
|
-
laatst_gezien: string;
|
|
12794
|
-
laatste_fout: string | null;
|
|
12795
|
-
laatste_request_id: number | null;
|
|
12796
|
-
mislukte_posts: number;
|
|
12797
|
-
tick_sleutel: string;
|
|
12798
|
-
updated_at: string;
|
|
12799
|
-
};
|
|
12800
|
-
Insert: {
|
|
12801
|
-
actief?: boolean;
|
|
12802
|
-
basis_url: string;
|
|
12803
|
-
created_at?: string;
|
|
12804
|
-
id?: string;
|
|
12805
|
-
laatst_gezien?: string;
|
|
12806
|
-
laatste_fout?: string | null;
|
|
12807
|
-
laatste_request_id?: number | null;
|
|
12808
|
-
mislukte_posts?: number;
|
|
12809
|
-
tick_sleutel?: string;
|
|
12810
|
-
updated_at?: string;
|
|
12811
|
-
};
|
|
12812
|
-
Update: {
|
|
12813
|
-
actief?: boolean;
|
|
12814
|
-
basis_url?: string;
|
|
12815
|
-
created_at?: string;
|
|
12816
|
-
id?: string;
|
|
12817
|
-
laatst_gezien?: string;
|
|
12818
|
-
laatste_fout?: string | null;
|
|
12819
|
-
laatste_request_id?: number | null;
|
|
12820
|
-
mislukte_posts?: number;
|
|
12821
|
-
tick_sleutel?: string;
|
|
12822
|
-
updated_at?: string;
|
|
12823
|
-
};
|
|
12824
|
-
Relationships: [];
|
|
12825
|
-
};
|
|
12826
|
-
print_queue_settings: {
|
|
12827
|
-
Row: {
|
|
12828
|
-
bewaar_bestanden_dagen: number;
|
|
12829
|
-
bewaar_opdrachten_dagen: number;
|
|
12830
|
-
created_at: string;
|
|
12831
|
-
dubbel_venster_minuten: number;
|
|
12832
|
-
id: string;
|
|
12833
|
-
updated_at: string;
|
|
12834
|
-
};
|
|
12835
|
-
Insert: {
|
|
12836
|
-
bewaar_bestanden_dagen?: number;
|
|
12837
|
-
bewaar_opdrachten_dagen?: number;
|
|
12838
|
-
created_at?: string;
|
|
12839
|
-
dubbel_venster_minuten?: number;
|
|
12840
|
-
id?: string;
|
|
12841
|
-
updated_at?: string;
|
|
12842
|
-
};
|
|
12843
|
-
Update: {
|
|
12844
|
-
bewaar_bestanden_dagen?: number;
|
|
12845
|
-
bewaar_opdrachten_dagen?: number;
|
|
12846
|
-
created_at?: string;
|
|
12847
|
-
dubbel_venster_minuten?: number;
|
|
12848
|
-
id?: string;
|
|
12849
|
-
updated_at?: string;
|
|
12850
|
-
};
|
|
12851
|
-
Relationships: [];
|
|
12852
|
-
};
|
|
12853
12352
|
print_rules: {
|
|
12854
12353
|
Row: {
|
|
12855
12354
|
actief: boolean;
|
|
@@ -13010,7 +12509,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
13010
12509
|
agent_id: string | null;
|
|
13011
12510
|
created_at: string;
|
|
13012
12511
|
driver: string;
|
|
13013
|
-
extern_printer_id: string | null;
|
|
13014
12512
|
id: string;
|
|
13015
12513
|
ip_adres: string | null;
|
|
13016
12514
|
laatst_gezien: string | null;
|
|
@@ -13032,7 +12530,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
13032
12530
|
agent_id?: string | null;
|
|
13033
12531
|
created_at?: string;
|
|
13034
12532
|
driver?: string;
|
|
13035
|
-
extern_printer_id?: string | null;
|
|
13036
12533
|
id?: string;
|
|
13037
12534
|
ip_adres?: string | null;
|
|
13038
12535
|
laatst_gezien?: string | null;
|
|
@@ -13054,7 +12551,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
13054
12551
|
agent_id?: string | null;
|
|
13055
12552
|
created_at?: string;
|
|
13056
12553
|
driver?: string;
|
|
13057
|
-
extern_printer_id?: string | null;
|
|
13058
12554
|
id?: string;
|
|
13059
12555
|
ip_adres?: string | null;
|
|
13060
12556
|
laatst_gezien?: string | null;
|
|
@@ -14326,96 +13822,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
14326
13822
|
referencedColumns: ["id"];
|
|
14327
13823
|
}];
|
|
14328
13824
|
};
|
|
14329
|
-
role_assignments: {
|
|
14330
|
-
Row: {
|
|
14331
|
-
created_at: string;
|
|
14332
|
-
id: string;
|
|
14333
|
-
role_id: string;
|
|
14334
|
-
user_id: string;
|
|
14335
|
-
};
|
|
14336
|
-
Insert: {
|
|
14337
|
-
created_at?: string;
|
|
14338
|
-
id?: string;
|
|
14339
|
-
role_id: string;
|
|
14340
|
-
user_id: string;
|
|
14341
|
-
};
|
|
14342
|
-
Update: {
|
|
14343
|
-
created_at?: string;
|
|
14344
|
-
id?: string;
|
|
14345
|
-
role_id?: string;
|
|
14346
|
-
user_id?: string;
|
|
14347
|
-
};
|
|
14348
|
-
Relationships: [{
|
|
14349
|
-
foreignKeyName: "role_assignments_role_id_fkey";
|
|
14350
|
-
columns: ["role_id"];
|
|
14351
|
-
isOneToOne: false;
|
|
14352
|
-
referencedRelation: "roles";
|
|
14353
|
-
referencedColumns: ["id"];
|
|
14354
|
-
}];
|
|
14355
|
-
};
|
|
14356
|
-
role_permissions: {
|
|
14357
|
-
Row: {
|
|
14358
|
-
can_edit: boolean;
|
|
14359
|
-
can_view: boolean;
|
|
14360
|
-
feature_id: string;
|
|
14361
|
-
id: string;
|
|
14362
|
-
module_id: string;
|
|
14363
|
-
role_id: string;
|
|
14364
|
-
updated_at: string;
|
|
14365
|
-
};
|
|
14366
|
-
Insert: {
|
|
14367
|
-
can_edit?: boolean;
|
|
14368
|
-
can_view?: boolean;
|
|
14369
|
-
feature_id?: string;
|
|
14370
|
-
id?: string;
|
|
14371
|
-
module_id: string;
|
|
14372
|
-
role_id: string;
|
|
14373
|
-
updated_at?: string;
|
|
14374
|
-
};
|
|
14375
|
-
Update: {
|
|
14376
|
-
can_edit?: boolean;
|
|
14377
|
-
can_view?: boolean;
|
|
14378
|
-
feature_id?: string;
|
|
14379
|
-
id?: string;
|
|
14380
|
-
module_id?: string;
|
|
14381
|
-
role_id?: string;
|
|
14382
|
-
updated_at?: string;
|
|
14383
|
-
};
|
|
14384
|
-
Relationships: [{
|
|
14385
|
-
foreignKeyName: "role_permissions_role_id_fkey";
|
|
14386
|
-
columns: ["role_id"];
|
|
14387
|
-
isOneToOne: false;
|
|
14388
|
-
referencedRelation: "roles";
|
|
14389
|
-
referencedColumns: ["id"];
|
|
14390
|
-
}];
|
|
14391
|
-
};
|
|
14392
|
-
roles: {
|
|
14393
|
-
Row: {
|
|
14394
|
-
created_at: string;
|
|
14395
|
-
id: string;
|
|
14396
|
-
is_protected: boolean;
|
|
14397
|
-
key: string;
|
|
14398
|
-
name: string;
|
|
14399
|
-
updated_at: string;
|
|
14400
|
-
};
|
|
14401
|
-
Insert: {
|
|
14402
|
-
created_at?: string;
|
|
14403
|
-
id?: string;
|
|
14404
|
-
is_protected?: boolean;
|
|
14405
|
-
key: string;
|
|
14406
|
-
name: string;
|
|
14407
|
-
updated_at?: string;
|
|
14408
|
-
};
|
|
14409
|
-
Update: {
|
|
14410
|
-
created_at?: string;
|
|
14411
|
-
id?: string;
|
|
14412
|
-
is_protected?: boolean;
|
|
14413
|
-
key?: string;
|
|
14414
|
-
name?: string;
|
|
14415
|
-
updated_at?: string;
|
|
14416
|
-
};
|
|
14417
|
-
Relationships: [];
|
|
14418
|
-
};
|
|
14419
13825
|
rooms: {
|
|
14420
13826
|
Row: {
|
|
14421
13827
|
capacity: number;
|
|
@@ -15085,252 +14491,99 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
15085
14491
|
};
|
|
15086
14492
|
Relationships: [];
|
|
15087
14493
|
};
|
|
15088
|
-
|
|
14494
|
+
time_entries: {
|
|
15089
14495
|
Row: {
|
|
15090
14496
|
created_at: string;
|
|
15091
14497
|
employee_id: string;
|
|
15092
14498
|
entry_date: string;
|
|
14499
|
+
hours: number;
|
|
15093
14500
|
id: string;
|
|
15094
|
-
km: number;
|
|
15095
|
-
meal_allowance: number;
|
|
15096
14501
|
notes: string | null;
|
|
15097
|
-
|
|
15098
|
-
|
|
15099
|
-
tvt_change: number;
|
|
14502
|
+
overtime: number;
|
|
14503
|
+
undertime: number;
|
|
15100
14504
|
updated_at: string;
|
|
15101
14505
|
};
|
|
15102
14506
|
Insert: {
|
|
15103
14507
|
created_at?: string;
|
|
15104
14508
|
employee_id: string;
|
|
15105
14509
|
entry_date: string;
|
|
14510
|
+
hours?: number;
|
|
15106
14511
|
id?: string;
|
|
15107
|
-
km?: number;
|
|
15108
|
-
meal_allowance?: number;
|
|
15109
14512
|
notes?: string | null;
|
|
15110
|
-
|
|
15111
|
-
|
|
15112
|
-
tvt_change?: number;
|
|
14513
|
+
overtime?: number;
|
|
14514
|
+
undertime?: number;
|
|
15113
14515
|
updated_at?: string;
|
|
15114
14516
|
};
|
|
15115
14517
|
Update: {
|
|
15116
14518
|
created_at?: string;
|
|
15117
14519
|
employee_id?: string;
|
|
15118
14520
|
entry_date?: string;
|
|
14521
|
+
hours?: number;
|
|
15119
14522
|
id?: string;
|
|
15120
|
-
km?: number;
|
|
15121
|
-
meal_allowance?: number;
|
|
15122
14523
|
notes?: string | null;
|
|
15123
|
-
|
|
15124
|
-
|
|
15125
|
-
tvt_change?: number;
|
|
14524
|
+
overtime?: number;
|
|
14525
|
+
undertime?: number;
|
|
15126
14526
|
updated_at?: string;
|
|
15127
14527
|
};
|
|
15128
14528
|
Relationships: [{
|
|
15129
|
-
foreignKeyName: "
|
|
14529
|
+
foreignKeyName: "time_entries_employee_id_fkey";
|
|
15130
14530
|
columns: ["employee_id"];
|
|
15131
14531
|
isOneToOne: false;
|
|
15132
|
-
referencedRelation: "
|
|
14532
|
+
referencedRelation: "monteurs";
|
|
15133
14533
|
referencedColumns: ["id"];
|
|
15134
14534
|
}];
|
|
15135
14535
|
};
|
|
15136
|
-
|
|
14536
|
+
time_logs: {
|
|
15137
14537
|
Row: {
|
|
15138
14538
|
created_at: string;
|
|
15139
14539
|
employee_id: string;
|
|
15140
|
-
entry_date: string;
|
|
15141
|
-
hours: number;
|
|
15142
|
-
id: string;
|
|
15143
|
-
notes: string | null;
|
|
15144
|
-
overtime: number;
|
|
15145
|
-
undertime: number;
|
|
15146
|
-
updated_at: string;
|
|
15147
|
-
};
|
|
15148
|
-
Insert: {
|
|
15149
|
-
created_at?: string;
|
|
15150
|
-
employee_id: string;
|
|
15151
|
-
entry_date: string;
|
|
15152
|
-
hours?: number;
|
|
15153
|
-
id?: string;
|
|
15154
|
-
notes?: string | null;
|
|
15155
|
-
overtime?: number;
|
|
15156
|
-
undertime?: number;
|
|
15157
|
-
updated_at?: string;
|
|
15158
|
-
};
|
|
15159
|
-
Update: {
|
|
15160
|
-
created_at?: string;
|
|
15161
|
-
employee_id?: string;
|
|
15162
|
-
entry_date?: string;
|
|
15163
|
-
hours?: number;
|
|
15164
|
-
id?: string;
|
|
15165
|
-
notes?: string | null;
|
|
15166
|
-
overtime?: number;
|
|
15167
|
-
undertime?: number;
|
|
15168
|
-
updated_at?: string;
|
|
15169
|
-
};
|
|
15170
|
-
Relationships: [];
|
|
15171
|
-
};
|
|
15172
|
-
time_log_week_approvals: {
|
|
15173
|
-
Row: {
|
|
15174
|
-
approved_at: string | null;
|
|
15175
|
-
approved_by: string | null;
|
|
15176
|
-
created_at: string;
|
|
15177
|
-
employee_id: string;
|
|
15178
|
-
id: string;
|
|
15179
|
-
locked: boolean;
|
|
15180
|
-
notes: string | null;
|
|
15181
|
-
status: string;
|
|
15182
|
-
submitted_at: string | null;
|
|
15183
|
-
updated_at: string;
|
|
15184
|
-
week_start: string;
|
|
15185
|
-
};
|
|
15186
|
-
Insert: {
|
|
15187
|
-
approved_at?: string | null;
|
|
15188
|
-
approved_by?: string | null;
|
|
15189
|
-
created_at?: string;
|
|
15190
|
-
employee_id: string;
|
|
15191
|
-
id?: string;
|
|
15192
|
-
locked?: boolean;
|
|
15193
|
-
notes?: string | null;
|
|
15194
|
-
status?: string;
|
|
15195
|
-
submitted_at?: string | null;
|
|
15196
|
-
updated_at?: string;
|
|
15197
|
-
week_start: string;
|
|
15198
|
-
};
|
|
15199
|
-
Update: {
|
|
15200
|
-
approved_at?: string | null;
|
|
15201
|
-
approved_by?: string | null;
|
|
15202
|
-
created_at?: string;
|
|
15203
|
-
employee_id?: string;
|
|
15204
|
-
id?: string;
|
|
15205
|
-
locked?: boolean;
|
|
15206
|
-
notes?: string | null;
|
|
15207
|
-
status?: string;
|
|
15208
|
-
submitted_at?: string | null;
|
|
15209
|
-
updated_at?: string;
|
|
15210
|
-
week_start?: string;
|
|
15211
|
-
};
|
|
15212
|
-
Relationships: [{
|
|
15213
|
-
foreignKeyName: "time_log_week_approvals_employee_id_fkey";
|
|
15214
|
-
columns: ["employee_id"];
|
|
15215
|
-
isOneToOne: false;
|
|
15216
|
-
referencedRelation: "profiles";
|
|
15217
|
-
referencedColumns: ["id"];
|
|
15218
|
-
}];
|
|
15219
|
-
};
|
|
15220
|
-
time_logs: {
|
|
15221
|
-
Row: {
|
|
15222
|
-
auto_stop_reason: string | null;
|
|
15223
|
-
auto_stopped: boolean;
|
|
15224
|
-
created_at: string;
|
|
15225
|
-
current_latitude: number | null;
|
|
15226
|
-
current_longitude: number | null;
|
|
15227
|
-
current_position_updated_at: string | null;
|
|
15228
|
-
employee_id: string;
|
|
15229
|
-
end_latitude: number | null;
|
|
15230
|
-
end_longitude: number | null;
|
|
15231
14540
|
end_time: string | null;
|
|
15232
|
-
eta_distance_km: number | null;
|
|
15233
|
-
eta_minutes: number | null;
|
|
15234
|
-
eta_updated_at: string | null;
|
|
15235
|
-
hour_category: string | null;
|
|
15236
14541
|
id: string;
|
|
15237
|
-
last_reminder_at: string | null;
|
|
15238
14542
|
notes: string | null;
|
|
15239
14543
|
overtime_hours: number;
|
|
15240
14544
|
overtime_type: string | null;
|
|
15241
14545
|
regular_hours: number;
|
|
15242
|
-
reminder_count: number;
|
|
15243
|
-
requires_review: boolean;
|
|
15244
|
-
start_latitude: number | null;
|
|
15245
|
-
start_longitude: number | null;
|
|
15246
14546
|
start_time: string;
|
|
15247
14547
|
travel_cost: number | null;
|
|
15248
14548
|
travel_distance_km: number | null;
|
|
15249
|
-
travel_duration_min: number | null;
|
|
15250
|
-
travel_time_minutes: number | null;
|
|
15251
14549
|
type: string;
|
|
15252
14550
|
updated_at: string;
|
|
15253
|
-
work_order_id: string | null;
|
|
15254
14551
|
};
|
|
15255
14552
|
Insert: {
|
|
15256
|
-
auto_stop_reason?: string | null;
|
|
15257
|
-
auto_stopped?: boolean;
|
|
15258
14553
|
created_at?: string;
|
|
15259
|
-
current_latitude?: number | null;
|
|
15260
|
-
current_longitude?: number | null;
|
|
15261
|
-
current_position_updated_at?: string | null;
|
|
15262
14554
|
employee_id: string;
|
|
15263
|
-
end_latitude?: number | null;
|
|
15264
|
-
end_longitude?: number | null;
|
|
15265
14555
|
end_time?: string | null;
|
|
15266
|
-
eta_distance_km?: number | null;
|
|
15267
|
-
eta_minutes?: number | null;
|
|
15268
|
-
eta_updated_at?: string | null;
|
|
15269
|
-
hour_category?: string | null;
|
|
15270
14556
|
id?: string;
|
|
15271
|
-
last_reminder_at?: string | null;
|
|
15272
14557
|
notes?: string | null;
|
|
15273
14558
|
overtime_hours?: number;
|
|
15274
14559
|
overtime_type?: string | null;
|
|
15275
14560
|
regular_hours?: number;
|
|
15276
|
-
reminder_count?: number;
|
|
15277
|
-
requires_review?: boolean;
|
|
15278
|
-
start_latitude?: number | null;
|
|
15279
|
-
start_longitude?: number | null;
|
|
15280
14561
|
start_time?: string;
|
|
15281
14562
|
travel_cost?: number | null;
|
|
15282
14563
|
travel_distance_km?: number | null;
|
|
15283
|
-
travel_duration_min?: number | null;
|
|
15284
|
-
travel_time_minutes?: number | null;
|
|
15285
14564
|
type: string;
|
|
15286
14565
|
updated_at?: string;
|
|
15287
|
-
work_order_id?: string | null;
|
|
15288
14566
|
};
|
|
15289
14567
|
Update: {
|
|
15290
|
-
auto_stop_reason?: string | null;
|
|
15291
|
-
auto_stopped?: boolean;
|
|
15292
14568
|
created_at?: string;
|
|
15293
|
-
current_latitude?: number | null;
|
|
15294
|
-
current_longitude?: number | null;
|
|
15295
|
-
current_position_updated_at?: string | null;
|
|
15296
14569
|
employee_id?: string;
|
|
15297
|
-
end_latitude?: number | null;
|
|
15298
|
-
end_longitude?: number | null;
|
|
15299
14570
|
end_time?: string | null;
|
|
15300
|
-
eta_distance_km?: number | null;
|
|
15301
|
-
eta_minutes?: number | null;
|
|
15302
|
-
eta_updated_at?: string | null;
|
|
15303
|
-
hour_category?: string | null;
|
|
15304
14571
|
id?: string;
|
|
15305
|
-
last_reminder_at?: string | null;
|
|
15306
14572
|
notes?: string | null;
|
|
15307
14573
|
overtime_hours?: number;
|
|
15308
14574
|
overtime_type?: string | null;
|
|
15309
14575
|
regular_hours?: number;
|
|
15310
|
-
reminder_count?: number;
|
|
15311
|
-
requires_review?: boolean;
|
|
15312
|
-
start_latitude?: number | null;
|
|
15313
|
-
start_longitude?: number | null;
|
|
15314
14576
|
start_time?: string;
|
|
15315
14577
|
travel_cost?: number | null;
|
|
15316
14578
|
travel_distance_km?: number | null;
|
|
15317
|
-
travel_duration_min?: number | null;
|
|
15318
|
-
travel_time_minutes?: number | null;
|
|
15319
14579
|
type?: string;
|
|
15320
14580
|
updated_at?: string;
|
|
15321
|
-
work_order_id?: string | null;
|
|
15322
14581
|
};
|
|
15323
14582
|
Relationships: [{
|
|
15324
14583
|
foreignKeyName: "time_logs_employee_id_fkey";
|
|
15325
14584
|
columns: ["employee_id"];
|
|
15326
14585
|
isOneToOne: false;
|
|
15327
|
-
referencedRelation: "
|
|
15328
|
-
referencedColumns: ["id"];
|
|
15329
|
-
}, {
|
|
15330
|
-
foreignKeyName: "time_logs_work_order_id_fkey";
|
|
15331
|
-
columns: ["work_order_id"];
|
|
15332
|
-
isOneToOne: false;
|
|
15333
|
-
referencedRelation: "work_orders";
|
|
14586
|
+
referencedRelation: "monteurs";
|
|
15334
14587
|
referencedColumns: ["id"];
|
|
15335
14588
|
}];
|
|
15336
14589
|
};
|
|
@@ -15369,7 +14622,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
15369
14622
|
foreignKeyName: "time_off_entries_employee_id_fkey";
|
|
15370
14623
|
columns: ["employee_id"];
|
|
15371
14624
|
isOneToOne: false;
|
|
15372
|
-
referencedRelation: "
|
|
14625
|
+
referencedRelation: "monteurs";
|
|
15373
14626
|
referencedColumns: ["id"];
|
|
15374
14627
|
}];
|
|
15375
14628
|
};
|
|
@@ -15679,39 +14932,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
15679
14932
|
};
|
|
15680
14933
|
Relationships: [];
|
|
15681
14934
|
};
|
|
15682
|
-
twinfield_cron_locks: {
|
|
15683
|
-
Row: {
|
|
15684
|
-
created_at: string;
|
|
15685
|
-
heartbeat_at: string;
|
|
15686
|
-
job_name: string;
|
|
15687
|
-
last_error: string | null;
|
|
15688
|
-
last_finished_at: string | null;
|
|
15689
|
-
locked_at: string;
|
|
15690
|
-
run_id: string;
|
|
15691
|
-
updated_at: string;
|
|
15692
|
-
};
|
|
15693
|
-
Insert: {
|
|
15694
|
-
created_at?: string;
|
|
15695
|
-
heartbeat_at?: string;
|
|
15696
|
-
job_name: string;
|
|
15697
|
-
last_error?: string | null;
|
|
15698
|
-
last_finished_at?: string | null;
|
|
15699
|
-
locked_at?: string;
|
|
15700
|
-
run_id?: string;
|
|
15701
|
-
updated_at?: string;
|
|
15702
|
-
};
|
|
15703
|
-
Update: {
|
|
15704
|
-
created_at?: string;
|
|
15705
|
-
heartbeat_at?: string;
|
|
15706
|
-
job_name?: string;
|
|
15707
|
-
last_error?: string | null;
|
|
15708
|
-
last_finished_at?: string | null;
|
|
15709
|
-
locked_at?: string;
|
|
15710
|
-
run_id?: string;
|
|
15711
|
-
updated_at?: string;
|
|
15712
|
-
};
|
|
15713
|
-
Relationships: [];
|
|
15714
|
-
};
|
|
15715
14935
|
twinfield_customers: {
|
|
15716
14936
|
Row: {
|
|
15717
14937
|
address: string | null;
|
|
@@ -15966,8 +15186,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
15966
15186
|
};
|
|
15967
15187
|
twinfield_invoice_settings: {
|
|
15968
15188
|
Row: {
|
|
15969
|
-
auto_invoice_enabled: boolean;
|
|
15970
|
-
auto_invoice_trigger_statuses: string[];
|
|
15971
15189
|
created_at: string;
|
|
15972
15190
|
debtor_gl_account: string;
|
|
15973
15191
|
default_credit_invoice_type: string | null;
|
|
@@ -15988,8 +15206,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
15988
15206
|
vat_code_export: string | null;
|
|
15989
15207
|
};
|
|
15990
15208
|
Insert: {
|
|
15991
|
-
auto_invoice_enabled?: boolean;
|
|
15992
|
-
auto_invoice_trigger_statuses?: string[];
|
|
15993
15209
|
created_at?: string;
|
|
15994
15210
|
debtor_gl_account?: string;
|
|
15995
15211
|
default_credit_invoice_type?: string | null;
|
|
@@ -16010,8 +15226,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
16010
15226
|
vat_code_export?: string | null;
|
|
16011
15227
|
};
|
|
16012
15228
|
Update: {
|
|
16013
|
-
auto_invoice_enabled?: boolean;
|
|
16014
|
-
auto_invoice_trigger_statuses?: string[];
|
|
16015
15229
|
created_at?: string;
|
|
16016
15230
|
debtor_gl_account?: string;
|
|
16017
15231
|
default_credit_invoice_type?: string | null;
|
|
@@ -16312,7 +15526,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
16312
15526
|
twinfield_push_queue: {
|
|
16313
15527
|
Row: {
|
|
16314
15528
|
action: string;
|
|
16315
|
-
attempt_started_at: string | null;
|
|
16316
15529
|
attempts: number;
|
|
16317
15530
|
connection_id: string | null;
|
|
16318
15531
|
created_at: string;
|
|
@@ -16329,7 +15542,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
16329
15542
|
};
|
|
16330
15543
|
Insert: {
|
|
16331
15544
|
action?: string;
|
|
16332
|
-
attempt_started_at?: string | null;
|
|
16333
15545
|
attempts?: number;
|
|
16334
15546
|
connection_id?: string | null;
|
|
16335
15547
|
created_at?: string;
|
|
@@ -16346,7 +15558,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
16346
15558
|
};
|
|
16347
15559
|
Update: {
|
|
16348
15560
|
action?: string;
|
|
16349
|
-
attempt_started_at?: string | null;
|
|
16350
15561
|
attempts?: number;
|
|
16351
15562
|
connection_id?: string | null;
|
|
16352
15563
|
created_at?: string;
|
|
@@ -16544,7 +15755,13 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
16544
15755
|
workday_end?: string | null;
|
|
16545
15756
|
workday_start?: string | null;
|
|
16546
15757
|
};
|
|
16547
|
-
Relationships: [
|
|
15758
|
+
Relationships: [{
|
|
15759
|
+
foreignKeyName: "uren_cao_profiles_monteur_id_fkey";
|
|
15760
|
+
columns: ["monteur_id"];
|
|
15761
|
+
isOneToOne: true;
|
|
15762
|
+
referencedRelation: "monteurs";
|
|
15763
|
+
referencedColumns: ["id"];
|
|
15764
|
+
}];
|
|
16548
15765
|
};
|
|
16549
15766
|
uren_entries: {
|
|
16550
15767
|
Row: {
|
|
@@ -16590,6 +15807,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
16590
15807
|
werkbon_id?: string | null;
|
|
16591
15808
|
};
|
|
16592
15809
|
Relationships: [{
|
|
15810
|
+
foreignKeyName: "uren_entries_monteur_id_fkey";
|
|
15811
|
+
columns: ["monteur_id"];
|
|
15812
|
+
isOneToOne: false;
|
|
15813
|
+
referencedRelation: "monteurs";
|
|
15814
|
+
referencedColumns: ["id"];
|
|
15815
|
+
}, {
|
|
16593
15816
|
foreignKeyName: "uren_entries_werkbon_id_fkey";
|
|
16594
15817
|
columns: ["werkbon_id"];
|
|
16595
15818
|
isOneToOne: false;
|
|
@@ -17057,37 +16280,13 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
17057
16280
|
submitted_at?: string | null;
|
|
17058
16281
|
updated_at?: string;
|
|
17059
16282
|
};
|
|
17060
|
-
Relationships: [
|
|
17061
|
-
|
|
17062
|
-
|
|
17063
|
-
|
|
17064
|
-
|
|
17065
|
-
|
|
17066
|
-
|
|
17067
|
-
module_id: string;
|
|
17068
|
-
permission: string;
|
|
17069
|
-
updated_at: string;
|
|
17070
|
-
user_id: string;
|
|
17071
|
-
};
|
|
17072
|
-
Insert: {
|
|
17073
|
-
created_at?: string;
|
|
17074
|
-
feature_id?: string;
|
|
17075
|
-
id?: string;
|
|
17076
|
-
module_id: string;
|
|
17077
|
-
permission: string;
|
|
17078
|
-
updated_at?: string;
|
|
17079
|
-
user_id: string;
|
|
17080
|
-
};
|
|
17081
|
-
Update: {
|
|
17082
|
-
created_at?: string;
|
|
17083
|
-
feature_id?: string;
|
|
17084
|
-
id?: string;
|
|
17085
|
-
module_id?: string;
|
|
17086
|
-
permission?: string;
|
|
17087
|
-
updated_at?: string;
|
|
17088
|
-
user_id?: string;
|
|
17089
|
-
};
|
|
17090
|
-
Relationships: [];
|
|
16283
|
+
Relationships: [{
|
|
16284
|
+
foreignKeyName: "uren_weekstaten_monteur_id_fkey";
|
|
16285
|
+
columns: ["monteur_id"];
|
|
16286
|
+
isOneToOne: false;
|
|
16287
|
+
referencedRelation: "monteurs";
|
|
16288
|
+
referencedColumns: ["id"];
|
|
16289
|
+
}];
|
|
17091
16290
|
};
|
|
17092
16291
|
user_roles: {
|
|
17093
16292
|
Row: {
|
|
@@ -17116,51 +16315,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
17116
16315
|
referencedColumns: ["id"];
|
|
17117
16316
|
}];
|
|
17118
16317
|
};
|
|
17119
|
-
van_inventories: {
|
|
17120
|
-
Row: {
|
|
17121
|
-
barcode: string | null;
|
|
17122
|
-
created_at: string;
|
|
17123
|
-
id: string;
|
|
17124
|
-
monteur_id: string | null;
|
|
17125
|
-
price_per_unit: number;
|
|
17126
|
-
product_name: string;
|
|
17127
|
-
quantity_current: number;
|
|
17128
|
-
quantity_min: number;
|
|
17129
|
-
unit: string;
|
|
17130
|
-
updated_at: string;
|
|
17131
|
-
};
|
|
17132
|
-
Insert: {
|
|
17133
|
-
barcode?: string | null;
|
|
17134
|
-
created_at?: string;
|
|
17135
|
-
id?: string;
|
|
17136
|
-
monteur_id?: string | null;
|
|
17137
|
-
price_per_unit?: number;
|
|
17138
|
-
product_name: string;
|
|
17139
|
-
quantity_current?: number;
|
|
17140
|
-
quantity_min?: number;
|
|
17141
|
-
unit?: string;
|
|
17142
|
-
updated_at?: string;
|
|
17143
|
-
};
|
|
17144
|
-
Update: {
|
|
17145
|
-
barcode?: string | null;
|
|
17146
|
-
created_at?: string;
|
|
17147
|
-
id?: string;
|
|
17148
|
-
monteur_id?: string | null;
|
|
17149
|
-
price_per_unit?: number;
|
|
17150
|
-
product_name?: string;
|
|
17151
|
-
quantity_current?: number;
|
|
17152
|
-
quantity_min?: number;
|
|
17153
|
-
unit?: string;
|
|
17154
|
-
updated_at?: string;
|
|
17155
|
-
};
|
|
17156
|
-
Relationships: [{
|
|
17157
|
-
foreignKeyName: "van_inventories_monteur_id_fkey";
|
|
17158
|
-
columns: ["monteur_id"];
|
|
17159
|
-
isOneToOne: false;
|
|
17160
|
-
referencedRelation: "profiles";
|
|
17161
|
-
referencedColumns: ["id"];
|
|
17162
|
-
}];
|
|
17163
|
-
};
|
|
17164
16318
|
voorraad_custom_fields: {
|
|
17165
16319
|
Row: {
|
|
17166
16320
|
created_at: string;
|
|
@@ -18111,7 +17265,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
18111
17265
|
foreignKeyName: "work_order_monteurs_monteur_id_fkey";
|
|
18112
17266
|
columns: ["monteur_id"];
|
|
18113
17267
|
isOneToOne: false;
|
|
18114
|
-
referencedRelation: "
|
|
17268
|
+
referencedRelation: "monteurs";
|
|
18115
17269
|
referencedColumns: ["id"];
|
|
18116
17270
|
}, {
|
|
18117
17271
|
foreignKeyName: "work_order_monteurs_work_order_id_fkey";
|
|
@@ -18121,60 +17275,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
18121
17275
|
referencedColumns: ["id"];
|
|
18122
17276
|
}];
|
|
18123
17277
|
};
|
|
18124
|
-
work_order_photos: {
|
|
18125
|
-
Row: {
|
|
18126
|
-
ai_caption: string | null;
|
|
18127
|
-
ai_categorized_at: string | null;
|
|
18128
|
-
ai_labels: import("./types").Json | null;
|
|
18129
|
-
caption: string | null;
|
|
18130
|
-
created_at: string;
|
|
18131
|
-
id: string;
|
|
18132
|
-
monteur_id: string | null;
|
|
18133
|
-
photo_type: string;
|
|
18134
|
-
storage_path: string;
|
|
18135
|
-
updated_at: string;
|
|
18136
|
-
work_order_id: string;
|
|
18137
|
-
};
|
|
18138
|
-
Insert: {
|
|
18139
|
-
ai_caption?: string | null;
|
|
18140
|
-
ai_categorized_at?: string | null;
|
|
18141
|
-
ai_labels?: import("./types").Json | null;
|
|
18142
|
-
caption?: string | null;
|
|
18143
|
-
created_at?: string;
|
|
18144
|
-
id?: string;
|
|
18145
|
-
monteur_id?: string | null;
|
|
18146
|
-
photo_type?: string;
|
|
18147
|
-
storage_path: string;
|
|
18148
|
-
updated_at?: string;
|
|
18149
|
-
work_order_id: string;
|
|
18150
|
-
};
|
|
18151
|
-
Update: {
|
|
18152
|
-
ai_caption?: string | null;
|
|
18153
|
-
ai_categorized_at?: string | null;
|
|
18154
|
-
ai_labels?: import("./types").Json | null;
|
|
18155
|
-
caption?: string | null;
|
|
18156
|
-
created_at?: string;
|
|
18157
|
-
id?: string;
|
|
18158
|
-
monteur_id?: string | null;
|
|
18159
|
-
photo_type?: string;
|
|
18160
|
-
storage_path?: string;
|
|
18161
|
-
updated_at?: string;
|
|
18162
|
-
work_order_id?: string;
|
|
18163
|
-
};
|
|
18164
|
-
Relationships: [{
|
|
18165
|
-
foreignKeyName: "work_order_photos_monteur_id_fkey";
|
|
18166
|
-
columns: ["monteur_id"];
|
|
18167
|
-
isOneToOne: false;
|
|
18168
|
-
referencedRelation: "profiles";
|
|
18169
|
-
referencedColumns: ["id"];
|
|
18170
|
-
}, {
|
|
18171
|
-
foreignKeyName: "work_order_photos_work_order_id_fkey";
|
|
18172
|
-
columns: ["work_order_id"];
|
|
18173
|
-
isOneToOne: false;
|
|
18174
|
-
referencedRelation: "work_orders";
|
|
18175
|
-
referencedColumns: ["id"];
|
|
18176
|
-
}];
|
|
18177
|
-
};
|
|
18178
17278
|
work_orders: {
|
|
18179
17279
|
Row: {
|
|
18180
17280
|
assigned_to: string | null;
|
|
@@ -18206,6 +17306,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
18206
17306
|
scheduled_end_time: string | null;
|
|
18207
17307
|
scheduled_start_time: string | null;
|
|
18208
17308
|
status: string;
|
|
17309
|
+
tenant_id: string;
|
|
18209
17310
|
total_hours_worked: number | null;
|
|
18210
17311
|
total_price: number | null;
|
|
18211
17312
|
travel_time_minutes: number | null;
|
|
@@ -18243,6 +17344,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
18243
17344
|
scheduled_end_time?: string | null;
|
|
18244
17345
|
scheduled_start_time?: string | null;
|
|
18245
17346
|
status?: string;
|
|
17347
|
+
tenant_id: string;
|
|
18246
17348
|
total_hours_worked?: number | null;
|
|
18247
17349
|
total_price?: number | null;
|
|
18248
17350
|
travel_time_minutes?: number | null;
|
|
@@ -18280,6 +17382,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
18280
17382
|
scheduled_end_time?: string | null;
|
|
18281
17383
|
scheduled_start_time?: string | null;
|
|
18282
17384
|
status?: string;
|
|
17385
|
+
tenant_id?: string;
|
|
18283
17386
|
total_hours_worked?: number | null;
|
|
18284
17387
|
total_price?: number | null;
|
|
18285
17388
|
travel_time_minutes?: number | null;
|
|
@@ -18293,6 +17396,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
18293
17396
|
isOneToOne: false;
|
|
18294
17397
|
referencedRelation: "work_orders";
|
|
18295
17398
|
referencedColumns: ["id"];
|
|
17399
|
+
}, {
|
|
17400
|
+
foreignKeyName: "work_orders_tenant_id_fkey";
|
|
17401
|
+
columns: ["tenant_id"];
|
|
17402
|
+
isOneToOne: false;
|
|
17403
|
+
referencedRelation: "tenants";
|
|
17404
|
+
referencedColumns: ["id"];
|
|
18296
17405
|
}];
|
|
18297
17406
|
};
|
|
18298
17407
|
};
|
|
@@ -18977,19 +18086,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
18977
18086
|
};
|
|
18978
18087
|
Returns: undefined;
|
|
18979
18088
|
};
|
|
18980
|
-
approve_mailbox_order_proposal: {
|
|
18981
|
-
Args: {
|
|
18982
|
-
p_custom_fields: import("./types").Json;
|
|
18983
|
-
p_customer_id: string;
|
|
18984
|
-
p_delivery_date: string;
|
|
18985
|
-
p_field_values?: import("./types").Json;
|
|
18986
|
-
p_lines: import("./types").Json;
|
|
18987
|
-
p_notes: string;
|
|
18988
|
-
p_proposal_id: string;
|
|
18989
|
-
p_reviewed_by: string;
|
|
18990
|
-
};
|
|
18991
|
-
Returns: import("./types").Json;
|
|
18992
|
-
};
|
|
18993
18089
|
assign_cart_numbers: {
|
|
18994
18090
|
Args: {
|
|
18995
18091
|
p_carts: import("./types").Json;
|
|
@@ -19025,10 +18121,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
19025
18121
|
processed_items: number;
|
|
19026
18122
|
}[];
|
|
19027
18123
|
};
|
|
19028
|
-
backfill_order_auto_invoice_queue: {
|
|
19029
|
-
Args: never;
|
|
19030
|
-
Returns: number;
|
|
19031
|
-
};
|
|
19032
18124
|
calculate_layer_stock: {
|
|
19033
18125
|
Args: {
|
|
19034
18126
|
p_product_id: string;
|
|
@@ -19041,10 +18133,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
19041
18133
|
};
|
|
19042
18134
|
Returns: number;
|
|
19043
18135
|
};
|
|
19044
|
-
can_manage_hours: {
|
|
19045
|
-
Args: never;
|
|
19046
|
-
Returns: boolean;
|
|
19047
|
-
};
|
|
19048
18136
|
check_offer_product_available_stock: {
|
|
19049
18137
|
Args: {
|
|
19050
18138
|
p_campaign_product_id: string;
|
|
@@ -19067,8 +18155,9 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
19067
18155
|
};
|
|
19068
18156
|
Returns: import("./types").Json;
|
|
19069
18157
|
};
|
|
19070
|
-
|
|
18158
|
+
claim_print_jobs: {
|
|
19071
18159
|
Args: {
|
|
18160
|
+
_agent_id: string;
|
|
19072
18161
|
_max?: number;
|
|
19073
18162
|
};
|
|
19074
18163
|
Returns: {
|
|
@@ -19077,27 +18166,22 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
19077
18166
|
created_at: string;
|
|
19078
18167
|
documentnaam: string;
|
|
19079
18168
|
documenttype: Database["public"]["Enums"]["doc_layout_type"];
|
|
19080
|
-
extern_job_id: string | null;
|
|
19081
18169
|
foutmelding: string | null;
|
|
19082
18170
|
gebruiker_id: string | null;
|
|
19083
18171
|
gebruiker_naam: string;
|
|
19084
18172
|
gestart_op: string | null;
|
|
19085
18173
|
id: string;
|
|
19086
|
-
idempotentie_sleutel: string | null;
|
|
19087
18174
|
is_herprint: boolean;
|
|
19088
18175
|
kopieen: number;
|
|
19089
18176
|
layout_id: string | null;
|
|
19090
18177
|
opgepakt_op: string | null;
|
|
19091
18178
|
paginas: number;
|
|
19092
18179
|
payload: import("./types").Json;
|
|
19093
|
-
pdf_base64: string | null;
|
|
19094
|
-
pdf_url: string | null;
|
|
19095
18180
|
pogingen: number;
|
|
19096
18181
|
printer_id: string | null;
|
|
19097
18182
|
render_html: string | null;
|
|
19098
18183
|
status: Database["public"]["Enums"]["print_job_status"];
|
|
19099
18184
|
updated_at: string;
|
|
19100
|
-
volgende_poging: string | null;
|
|
19101
18185
|
voltooid_op: string | null;
|
|
19102
18186
|
}[];
|
|
19103
18187
|
SetofOptions: {
|
|
@@ -19107,141 +18191,20 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
19107
18191
|
isSetofReturn: true;
|
|
19108
18192
|
};
|
|
19109
18193
|
};
|
|
19110
|
-
|
|
18194
|
+
claim_twinfield_push_batch: {
|
|
19111
18195
|
Args: {
|
|
19112
|
-
|
|
19113
|
-
|
|
18196
|
+
_customer_id?: string;
|
|
18197
|
+
_limit?: number;
|
|
19114
18198
|
};
|
|
19115
18199
|
Returns: {
|
|
18200
|
+
action: string;
|
|
19116
18201
|
attempts: number;
|
|
19117
|
-
connection_id: string;
|
|
18202
|
+
connection_id: string | null;
|
|
19118
18203
|
created_at: string;
|
|
19119
|
-
|
|
19120
|
-
|
|
18204
|
+
customer_id: string | null;
|
|
18205
|
+
external_id: string | null;
|
|
19121
18206
|
id: string;
|
|
19122
|
-
|
|
19123
|
-
locked_at: string | null;
|
|
19124
|
-
locked_by: string | null;
|
|
19125
|
-
next_attempt_at: string;
|
|
19126
|
-
number_of_pieces: number;
|
|
19127
|
-
sent_at: string | null;
|
|
19128
|
-
status: string;
|
|
19129
|
-
superseded_by: string | null;
|
|
19130
|
-
trade_item_id: string;
|
|
19131
|
-
updated_at: string;
|
|
19132
|
-
user_id: string;
|
|
19133
|
-
}[];
|
|
19134
|
-
SetofOptions: {
|
|
19135
|
-
from: "*";
|
|
19136
|
-
to: "floriday_continuous_stock_queue";
|
|
19137
|
-
isOneToOne: false;
|
|
19138
|
-
isSetofReturn: true;
|
|
19139
|
-
};
|
|
19140
|
-
};
|
|
19141
|
-
claim_logistics_tasks: {
|
|
19142
|
-
Args: {
|
|
19143
|
-
_limit?: number;
|
|
19144
|
-
_owner_module: string;
|
|
19145
|
-
_stale_minutes?: number;
|
|
19146
|
-
_task_type: string;
|
|
19147
|
-
_worker: string;
|
|
19148
|
-
};
|
|
19149
|
-
Returns: {
|
|
19150
|
-
attempt_log: import("./types").Json;
|
|
19151
|
-
attempts: number;
|
|
19152
|
-
buffer_ref: string | null;
|
|
19153
|
-
claimed_at: string | null;
|
|
19154
|
-
claimed_by: string | null;
|
|
19155
|
-
completed_at: string | null;
|
|
19156
|
-
created_at: string;
|
|
19157
|
-
depends_on: string[];
|
|
19158
|
-
due_at: string | null;
|
|
19159
|
-
error: string | null;
|
|
19160
|
-
id: string;
|
|
19161
|
-
last_error: string | null;
|
|
19162
|
-
next_attempt_at: string | null;
|
|
19163
|
-
order_ref: string;
|
|
19164
|
-
owner_module: string;
|
|
19165
|
-
payload: import("./types").Json;
|
|
19166
|
-
plan_run_id: string | null;
|
|
19167
|
-
planned_end: string | null;
|
|
19168
|
-
planned_start: string | null;
|
|
19169
|
-
priority: number;
|
|
19170
|
-
result: import("./types").Json | null;
|
|
19171
|
-
rule_config_id: string | null;
|
|
19172
|
-
rule_version: number | null;
|
|
19173
|
-
sequence: number;
|
|
19174
|
-
shadow: boolean;
|
|
19175
|
-
started_at: string | null;
|
|
19176
|
-
status: string;
|
|
19177
|
-
strategy_id: string | null;
|
|
19178
|
-
task_type: string;
|
|
19179
|
-
updated_at: string;
|
|
19180
|
-
user_id: string;
|
|
19181
|
-
}[];
|
|
19182
|
-
SetofOptions: {
|
|
19183
|
-
from: "*";
|
|
19184
|
-
to: "logistics_tasks";
|
|
19185
|
-
isOneToOne: false;
|
|
19186
|
-
isSetofReturn: true;
|
|
19187
|
-
};
|
|
19188
|
-
};
|
|
19189
|
-
claim_print_jobs: {
|
|
19190
|
-
Args: {
|
|
19191
|
-
_agent_id: string;
|
|
19192
|
-
_max?: number;
|
|
19193
|
-
};
|
|
19194
|
-
Returns: {
|
|
19195
|
-
agent_id: string | null;
|
|
19196
|
-
bron_job_id: string | null;
|
|
19197
|
-
created_at: string;
|
|
19198
|
-
documentnaam: string;
|
|
19199
|
-
documenttype: Database["public"]["Enums"]["doc_layout_type"];
|
|
19200
|
-
extern_job_id: string | null;
|
|
19201
|
-
foutmelding: string | null;
|
|
19202
|
-
gebruiker_id: string | null;
|
|
19203
|
-
gebruiker_naam: string;
|
|
19204
|
-
gestart_op: string | null;
|
|
19205
|
-
id: string;
|
|
19206
|
-
idempotentie_sleutel: string | null;
|
|
19207
|
-
is_herprint: boolean;
|
|
19208
|
-
kopieen: number;
|
|
19209
|
-
layout_id: string | null;
|
|
19210
|
-
opgepakt_op: string | null;
|
|
19211
|
-
paginas: number;
|
|
19212
|
-
payload: import("./types").Json;
|
|
19213
|
-
pdf_base64: string | null;
|
|
19214
|
-
pdf_url: string | null;
|
|
19215
|
-
pogingen: number;
|
|
19216
|
-
printer_id: string | null;
|
|
19217
|
-
render_html: string | null;
|
|
19218
|
-
status: Database["public"]["Enums"]["print_job_status"];
|
|
19219
|
-
updated_at: string;
|
|
19220
|
-
volgende_poging: string | null;
|
|
19221
|
-
voltooid_op: string | null;
|
|
19222
|
-
}[];
|
|
19223
|
-
SetofOptions: {
|
|
19224
|
-
from: "*";
|
|
19225
|
-
to: "print_jobs";
|
|
19226
|
-
isOneToOne: false;
|
|
19227
|
-
isSetofReturn: true;
|
|
19228
|
-
};
|
|
19229
|
-
};
|
|
19230
|
-
claim_twinfield_push_batch: {
|
|
19231
|
-
Args: {
|
|
19232
|
-
_customer_id?: string;
|
|
19233
|
-
_limit?: number;
|
|
19234
|
-
};
|
|
19235
|
-
Returns: {
|
|
19236
|
-
action: string;
|
|
19237
|
-
attempt_started_at: string | null;
|
|
19238
|
-
attempts: number;
|
|
19239
|
-
connection_id: string | null;
|
|
19240
|
-
created_at: string;
|
|
19241
|
-
customer_id: string | null;
|
|
19242
|
-
external_id: string | null;
|
|
19243
|
-
id: string;
|
|
19244
|
-
idempotency_key: string;
|
|
18207
|
+
idempotency_key: string;
|
|
19245
18208
|
last_error: string | null;
|
|
19246
18209
|
next_attempt_at: string;
|
|
19247
18210
|
office_code: string | null;
|
|
@@ -19256,28 +18219,10 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
19256
18219
|
isSetofReturn: true;
|
|
19257
18220
|
};
|
|
19258
18221
|
};
|
|
19259
|
-
cleanup_floriday_stock_queue: {
|
|
19260
|
-
Args: never;
|
|
19261
|
-
Returns: undefined;
|
|
19262
|
-
};
|
|
19263
18222
|
cleanup_old_bookings: {
|
|
19264
18223
|
Args: never;
|
|
19265
18224
|
Returns: undefined;
|
|
19266
18225
|
};
|
|
19267
|
-
cleanup_voorraad_module_history: {
|
|
19268
|
-
Args: never;
|
|
19269
|
-
Returns: undefined;
|
|
19270
|
-
};
|
|
19271
|
-
complete_floriday_stock_queue: {
|
|
19272
|
-
Args: {
|
|
19273
|
-
p_attempt_id?: string;
|
|
19274
|
-
p_error?: string;
|
|
19275
|
-
p_id: string;
|
|
19276
|
-
p_ok: boolean;
|
|
19277
|
-
p_permanent?: boolean;
|
|
19278
|
-
};
|
|
19279
|
-
Returns: undefined;
|
|
19280
|
-
};
|
|
19281
18226
|
consume_bom_for_production: {
|
|
19282
18227
|
Args: {
|
|
19283
18228
|
p_connection_id: string;
|
|
@@ -19322,30 +18267,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
19322
18267
|
agent_naam: string;
|
|
19323
18268
|
}[];
|
|
19324
18269
|
};
|
|
19325
|
-
consume_van_inventory: {
|
|
19326
|
-
Args: {
|
|
19327
|
-
p_inventory_id: string;
|
|
19328
|
-
p_quantity: number;
|
|
19329
|
-
};
|
|
19330
|
-
Returns: {
|
|
19331
|
-
barcode: string | null;
|
|
19332
|
-
created_at: string;
|
|
19333
|
-
id: string;
|
|
19334
|
-
monteur_id: string | null;
|
|
19335
|
-
price_per_unit: number;
|
|
19336
|
-
product_name: string;
|
|
19337
|
-
quantity_current: number;
|
|
19338
|
-
quantity_min: number;
|
|
19339
|
-
unit: string;
|
|
19340
|
-
updated_at: string;
|
|
19341
|
-
};
|
|
19342
|
-
SetofOptions: {
|
|
19343
|
-
from: "*";
|
|
19344
|
-
to: "van_inventories";
|
|
19345
|
-
isOneToOne: true;
|
|
19346
|
-
isSetofReturn: false;
|
|
19347
|
-
};
|
|
19348
|
-
};
|
|
19349
18270
|
control_get_todays_carts: {
|
|
19350
18271
|
Args: never;
|
|
19351
18272
|
Returns: {
|
|
@@ -19413,20 +18334,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
19413
18334
|
};
|
|
19414
18335
|
Returns: import("./types").Json;
|
|
19415
18336
|
};
|
|
19416
|
-
effective_module_permission: {
|
|
19417
|
-
Args: {
|
|
19418
|
-
_module_id: string;
|
|
19419
|
-
_user_id: string;
|
|
19420
|
-
};
|
|
19421
|
-
Returns: string;
|
|
19422
|
-
} | {
|
|
19423
|
-
Args: {
|
|
19424
|
-
_feature_id: string;
|
|
19425
|
-
_module_id: string;
|
|
19426
|
-
_user_id: string;
|
|
19427
|
-
};
|
|
19428
|
-
Returns: string;
|
|
19429
|
-
};
|
|
19430
18337
|
email_auth_decrypt: {
|
|
19431
18338
|
Args: {
|
|
19432
18339
|
cipher: string;
|
|
@@ -19712,10 +18619,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
19712
18619
|
};
|
|
19713
18620
|
Returns: number;
|
|
19714
18621
|
};
|
|
19715
|
-
get_offer_branding: {
|
|
19716
|
-
Args: never;
|
|
19717
|
-
Returns: import("./types").Json;
|
|
19718
|
-
};
|
|
19719
18622
|
get_offer_by_link_code: {
|
|
19720
18623
|
Args: {
|
|
19721
18624
|
p_code: string;
|
|
@@ -19777,6 +18680,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
19777
18680
|
Args: never;
|
|
19778
18681
|
Returns: string;
|
|
19779
18682
|
};
|
|
18683
|
+
get_work_order_tenant_id: {
|
|
18684
|
+
Args: {
|
|
18685
|
+
wo_id: string;
|
|
18686
|
+
};
|
|
18687
|
+
Returns: string;
|
|
18688
|
+
};
|
|
19780
18689
|
has_module_permission: {
|
|
19781
18690
|
Args: {
|
|
19782
18691
|
_min: string;
|
|
@@ -19810,13 +18719,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
19810
18719
|
};
|
|
19811
18720
|
Returns: boolean;
|
|
19812
18721
|
};
|
|
19813
|
-
is_time_log_week_locked: {
|
|
19814
|
-
Args: {
|
|
19815
|
-
p_employee_id: string;
|
|
19816
|
-
p_start_time: string;
|
|
19817
|
-
};
|
|
19818
|
-
Returns: boolean;
|
|
19819
|
-
};
|
|
19820
18722
|
is_user_admin: {
|
|
19821
18723
|
Args: never;
|
|
19822
18724
|
Returns: boolean;
|
|
@@ -19831,14 +18733,13 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
19831
18733
|
};
|
|
19832
18734
|
Returns: boolean;
|
|
19833
18735
|
};
|
|
19834
|
-
|
|
18736
|
+
list_monteurs: {
|
|
19835
18737
|
Args: never;
|
|
19836
18738
|
Returns: {
|
|
19837
18739
|
avatar_url: string;
|
|
19838
18740
|
display_name: string;
|
|
19839
18741
|
email: string;
|
|
19840
18742
|
id: string;
|
|
19841
|
-
roles: string[];
|
|
19842
18743
|
}[];
|
|
19843
18744
|
};
|
|
19844
18745
|
list_my_planning_items: {
|
|
@@ -20009,8 +18910,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
20009
18910
|
p_worker?: string;
|
|
20010
18911
|
};
|
|
20011
18912
|
Returns: {
|
|
20012
|
-
attempt_log: import("./types").Json;
|
|
20013
|
-
attempts: number;
|
|
20014
18913
|
buffer_ref: string | null;
|
|
20015
18914
|
claimed_at: string | null;
|
|
20016
18915
|
claimed_by: string | null;
|
|
@@ -20020,8 +18919,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
20020
18919
|
due_at: string | null;
|
|
20021
18920
|
error: string | null;
|
|
20022
18921
|
id: string;
|
|
20023
|
-
last_error: string | null;
|
|
20024
|
-
next_attempt_at: string | null;
|
|
20025
18922
|
order_ref: string;
|
|
20026
18923
|
owner_module: string;
|
|
20027
18924
|
payload: import("./types").Json;
|
|
@@ -20054,8 +18951,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
20054
18951
|
p_worker?: string;
|
|
20055
18952
|
};
|
|
20056
18953
|
Returns: {
|
|
20057
|
-
attempt_log: import("./types").Json;
|
|
20058
|
-
attempts: number;
|
|
20059
18954
|
buffer_ref: string | null;
|
|
20060
18955
|
claimed_at: string | null;
|
|
20061
18956
|
claimed_by: string | null;
|
|
@@ -20065,8 +18960,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
20065
18960
|
due_at: string | null;
|
|
20066
18961
|
error: string | null;
|
|
20067
18962
|
id: string;
|
|
20068
|
-
last_error: string | null;
|
|
20069
|
-
next_attempt_at: string | null;
|
|
20070
18963
|
order_ref: string;
|
|
20071
18964
|
owner_module: string;
|
|
20072
18965
|
payload: import("./types").Json;
|
|
@@ -20099,8 +18992,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
20099
18992
|
p_task_id: string;
|
|
20100
18993
|
};
|
|
20101
18994
|
Returns: {
|
|
20102
|
-
attempt_log: import("./types").Json;
|
|
20103
|
-
attempts: number;
|
|
20104
18995
|
buffer_ref: string | null;
|
|
20105
18996
|
claimed_at: string | null;
|
|
20106
18997
|
claimed_by: string | null;
|
|
@@ -20110,8 +19001,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
20110
19001
|
due_at: string | null;
|
|
20111
19002
|
error: string | null;
|
|
20112
19003
|
id: string;
|
|
20113
|
-
last_error: string | null;
|
|
20114
|
-
next_attempt_at: string | null;
|
|
20115
19004
|
order_ref: string;
|
|
20116
19005
|
owner_module: string;
|
|
20117
19006
|
payload: import("./types").Json;
|
|
@@ -20193,8 +19082,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
20193
19082
|
p_task_id: string;
|
|
20194
19083
|
};
|
|
20195
19084
|
Returns: {
|
|
20196
|
-
attempt_log: import("./types").Json;
|
|
20197
|
-
attempts: number;
|
|
20198
19085
|
buffer_ref: string | null;
|
|
20199
19086
|
claimed_at: string | null;
|
|
20200
19087
|
claimed_by: string | null;
|
|
@@ -20204,8 +19091,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
20204
19091
|
due_at: string | null;
|
|
20205
19092
|
error: string | null;
|
|
20206
19093
|
id: string;
|
|
20207
|
-
last_error: string | null;
|
|
20208
|
-
next_attempt_at: string | null;
|
|
20209
19094
|
order_ref: string;
|
|
20210
19095
|
owner_module: string;
|
|
20211
19096
|
payload: import("./types").Json;
|
|
@@ -20232,51 +19117,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
20232
19117
|
isSetofReturn: false;
|
|
20233
19118
|
};
|
|
20234
19119
|
};
|
|
20235
|
-
logistics_floriday_claim_pushes: {
|
|
20236
|
-
Args: {
|
|
20237
|
-
_lease_seconds?: number;
|
|
20238
|
-
_limit?: number;
|
|
20239
|
-
_worker?: string;
|
|
20240
|
-
};
|
|
20241
|
-
Returns: {
|
|
20242
|
-
attempts: number;
|
|
20243
|
-
fulfillment_order_id: string;
|
|
20244
|
-
id: string;
|
|
20245
|
-
last_sent_hash: string;
|
|
20246
|
-
order_ref: string;
|
|
20247
|
-
payload: import("./types").Json;
|
|
20248
|
-
payload_hash: string;
|
|
20249
|
-
revision: number;
|
|
20250
|
-
}[];
|
|
20251
|
-
};
|
|
20252
|
-
logistics_floriday_finish_push: {
|
|
20253
|
-
Args: {
|
|
20254
|
-
_error?: string;
|
|
20255
|
-
_fulfillment_order_id?: string;
|
|
20256
|
-
_id: string;
|
|
20257
|
-
_max_age_hours?: number;
|
|
20258
|
-
_max_attempts?: number;
|
|
20259
|
-
_ok: boolean;
|
|
20260
|
-
_permanent?: boolean;
|
|
20261
|
-
_revision: number;
|
|
20262
|
-
_sent_hash?: string;
|
|
20263
|
-
};
|
|
20264
|
-
Returns: string;
|
|
20265
|
-
};
|
|
20266
|
-
logistics_floriday_prune_pushes: {
|
|
20267
|
-
Args: {
|
|
20268
|
-
_days?: number;
|
|
20269
|
-
};
|
|
20270
|
-
Returns: number;
|
|
20271
|
-
};
|
|
20272
|
-
logistics_floriday_queue_push: {
|
|
20273
|
-
Args: {
|
|
20274
|
-
_order_ref: string;
|
|
20275
|
-
_payload?: import("./types").Json;
|
|
20276
|
-
_payload_hash?: string;
|
|
20277
|
-
};
|
|
20278
|
-
Returns: string;
|
|
20279
|
-
};
|
|
20280
19120
|
logistics_live_carriers: {
|
|
20281
19121
|
Args: {
|
|
20282
19122
|
p_order_ref: string;
|
|
@@ -20329,65 +19169,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
20329
19169
|
};
|
|
20330
19170
|
Returns: number;
|
|
20331
19171
|
};
|
|
20332
|
-
logistics_plan_claim: {
|
|
20333
|
-
Args: {
|
|
20334
|
-
p_limit?: number;
|
|
20335
|
-
};
|
|
20336
|
-
Returns: {
|
|
20337
|
-
attempts: number;
|
|
20338
|
-
id: string;
|
|
20339
|
-
order_id: string;
|
|
20340
|
-
}[];
|
|
20341
|
-
};
|
|
20342
|
-
logistics_plan_enqueue: {
|
|
20343
|
-
Args: {
|
|
20344
|
-
p_order_id: string;
|
|
20345
|
-
p_reason?: string;
|
|
20346
|
-
};
|
|
20347
|
-
Returns: undefined;
|
|
20348
|
-
};
|
|
20349
|
-
logistics_plan_ensure_event: {
|
|
20350
|
-
Args: {
|
|
20351
|
-
p_order_id: string;
|
|
20352
|
-
};
|
|
20353
|
-
Returns: boolean;
|
|
20354
|
-
};
|
|
20355
|
-
logistics_plan_finish: {
|
|
20356
|
-
Args: {
|
|
20357
|
-
p_error?: string;
|
|
20358
|
-
p_id: string;
|
|
20359
|
-
};
|
|
20360
|
-
Returns: undefined;
|
|
20361
|
-
};
|
|
20362
|
-
logistics_plan_impact_orders: {
|
|
20363
|
-
Args: {
|
|
20364
|
-
p_order_id: string;
|
|
20365
|
-
};
|
|
20366
|
-
Returns: {
|
|
20367
|
-
buffer_id: string;
|
|
20368
|
-
order_id: string;
|
|
20369
|
-
plan_date: string;
|
|
20370
|
-
}[];
|
|
20371
|
-
};
|
|
20372
|
-
logistics_plan_kick: {
|
|
20373
|
-
Args: never;
|
|
20374
|
-
Returns: undefined;
|
|
20375
|
-
};
|
|
20376
|
-
logistics_plan_prune: {
|
|
20377
|
-
Args: never;
|
|
20378
|
-
Returns: number;
|
|
20379
|
-
};
|
|
20380
|
-
logistics_plan_release_stale: {
|
|
20381
|
-
Args: never;
|
|
20382
|
-
Returns: number;
|
|
20383
|
-
};
|
|
20384
|
-
logistics_plan_setting: {
|
|
20385
|
-
Args: {
|
|
20386
|
-
p_default: number;
|
|
20387
|
-
p_key: string;
|
|
20388
|
-
};
|
|
20389
|
-
Returns: number;
|
|
20390
|
-
};
|
|
20391
19172
|
logistics_queue_capacity_email: {
|
|
20392
19173
|
Args: {
|
|
20393
19174
|
p_alert_id: string;
|
|
@@ -20626,14 +19407,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
20626
19407
|
};
|
|
20627
19408
|
Returns: undefined;
|
|
20628
19409
|
};
|
|
20629
|
-
my_module_permissions: {
|
|
20630
|
-
Args: never;
|
|
20631
|
-
Returns: {
|
|
20632
|
-
feature_id: string;
|
|
20633
|
-
module_id: string;
|
|
20634
|
-
permission: string;
|
|
20635
|
-
}[];
|
|
20636
|
-
};
|
|
20637
19410
|
next_manufacture_partij: {
|
|
20638
19411
|
Args: {
|
|
20639
19412
|
_tenant_id: string;
|
|
@@ -20684,13 +19457,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
20684
19457
|
};
|
|
20685
19458
|
Returns: boolean;
|
|
20686
19459
|
};
|
|
20687
|
-
opruim_print_historie: {
|
|
20688
|
-
Args: never;
|
|
20689
|
-
Returns: {
|
|
20690
|
-
ontdaan: number;
|
|
20691
|
-
verwijderd: number;
|
|
20692
|
-
}[];
|
|
20693
|
-
};
|
|
20694
19460
|
order_number_prefix: {
|
|
20695
19461
|
Args: {
|
|
20696
19462
|
p_custom_fields?: import("./types").Json;
|
|
@@ -20698,15 +19464,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
20698
19464
|
};
|
|
20699
19465
|
Returns: string;
|
|
20700
19466
|
};
|
|
20701
|
-
pick_active_printers: {
|
|
20702
|
-
Args: never;
|
|
20703
|
-
Returns: {
|
|
20704
|
-
id: string;
|
|
20705
|
-
locatie: string;
|
|
20706
|
-
naam: string;
|
|
20707
|
-
online: boolean;
|
|
20708
|
-
}[];
|
|
20709
|
-
};
|
|
20710
19467
|
pick_claim_document: {
|
|
20711
19468
|
Args: {
|
|
20712
19469
|
_queue_item_id: string;
|
|
@@ -20893,52 +19650,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
20893
19650
|
};
|
|
20894
19651
|
Returns: undefined;
|
|
20895
19652
|
};
|
|
20896
|
-
pick_reset_print: {
|
|
20897
|
-
Args: {
|
|
20898
|
-
_queue_item_id: string;
|
|
20899
|
-
_session_id: string;
|
|
20900
|
-
};
|
|
20901
|
-
Returns: {
|
|
20902
|
-
announced_at: string;
|
|
20903
|
-
assigned_user_id: string | null;
|
|
20904
|
-
barcode: string | null;
|
|
20905
|
-
cancelled_at: string | null;
|
|
20906
|
-
cart_count: number;
|
|
20907
|
-
completed_at: string | null;
|
|
20908
|
-
country_code: string | null;
|
|
20909
|
-
created_at: string;
|
|
20910
|
-
customer_name: string | null;
|
|
20911
|
-
delivery_address: string | null;
|
|
20912
|
-
document_number: string | null;
|
|
20913
|
-
document_type_id: string | null;
|
|
20914
|
-
due_at: string | null;
|
|
20915
|
-
id: string;
|
|
20916
|
-
is_urgent: boolean;
|
|
20917
|
-
line_count: number;
|
|
20918
|
-
order_number: string | null;
|
|
20919
|
-
order_type: string | null;
|
|
20920
|
-
payload: import("./types").Json;
|
|
20921
|
-
print_count: number;
|
|
20922
|
-
print_job_id: string | null;
|
|
20923
|
-
printed_at: string | null;
|
|
20924
|
-
printed_by: string | null;
|
|
20925
|
-
printer_id: string | null;
|
|
20926
|
-
priority: number;
|
|
20927
|
-
reference: string | null;
|
|
20928
|
-
route: string | null;
|
|
20929
|
-
screen_id: string | null;
|
|
20930
|
-
station_id: string | null;
|
|
20931
|
-
status_id: string | null;
|
|
20932
|
-
updated_at: string;
|
|
20933
|
-
warnings: import("./types").Json;
|
|
20934
|
-
};
|
|
20935
|
-
SetofOptions: {
|
|
20936
|
-
from: "*";
|
|
20937
|
-
to: "pick_queue";
|
|
20938
|
-
isOneToOne: true;
|
|
20939
|
-
isSetofReturn: false;
|
|
20940
|
-
};
|
|
20941
|
-
};
|
|
20942
19653
|
pick_station_dashboard: {
|
|
20943
19654
|
Args: never;
|
|
20944
19655
|
Returns: {
|
|
@@ -21085,12 +19796,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
21085
19796
|
};
|
|
21086
19797
|
Returns: undefined;
|
|
21087
19798
|
};
|
|
21088
|
-
reset_stalled_floriday_stock_queue: {
|
|
21089
|
-
Args: {
|
|
21090
|
-
p_include_failed?: boolean;
|
|
21091
|
-
};
|
|
21092
|
-
Returns: number;
|
|
21093
|
-
};
|
|
21094
19799
|
resolve_group_allocation: {
|
|
21095
19800
|
Args: {
|
|
21096
19801
|
_needed: number;
|
|
@@ -21135,28 +19840,10 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
21135
19840
|
};
|
|
21136
19841
|
Returns: import("./types").Json;
|
|
21137
19842
|
};
|
|
21138
|
-
ruim_print_jobs_op: {
|
|
21139
|
-
Args: {
|
|
21140
|
-
_bewaar_dagen?: number;
|
|
21141
|
-
};
|
|
21142
|
-
Returns: number;
|
|
21143
|
-
};
|
|
21144
19843
|
run_floriday_continuous_stock_sync: {
|
|
21145
19844
|
Args: never;
|
|
21146
19845
|
Returns: undefined;
|
|
21147
19846
|
};
|
|
21148
|
-
run_floriday_stock_queue_process: {
|
|
21149
|
-
Args: never;
|
|
21150
|
-
Returns: undefined;
|
|
21151
|
-
};
|
|
21152
|
-
run_logistics_tasks_dispatch: {
|
|
21153
|
-
Args: never;
|
|
21154
|
-
Returns: undefined;
|
|
21155
|
-
};
|
|
21156
|
-
run_print_queue_ticks: {
|
|
21157
|
-
Args: never;
|
|
21158
|
-
Returns: number;
|
|
21159
|
-
};
|
|
21160
19847
|
run_twinfield_queue_tick: {
|
|
21161
19848
|
Args: never;
|
|
21162
19849
|
Returns: undefined;
|
|
@@ -21397,13 +20084,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
21397
20084
|
};
|
|
21398
20085
|
Returns: number;
|
|
21399
20086
|
};
|
|
21400
|
-
schedule_floriday_stock_queue_process: {
|
|
21401
|
-
Args: {
|
|
21402
|
-
p_apikey: string;
|
|
21403
|
-
p_url: string;
|
|
21404
|
-
};
|
|
21405
|
-
Returns: number;
|
|
21406
|
-
};
|
|
21407
20087
|
schedule_floriday_token_refresh: {
|
|
21408
20088
|
Args: {
|
|
21409
20089
|
p_apikey: string;
|
|
@@ -21510,16 +20190,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
21510
20190
|
};
|
|
21511
20191
|
Returns: string[];
|
|
21512
20192
|
};
|
|
21513
|
-
switch_time_log: {
|
|
21514
|
-
Args: {
|
|
21515
|
-
p_employee_id: string;
|
|
21516
|
-
p_start_lat?: number;
|
|
21517
|
-
p_start_lng?: number;
|
|
21518
|
-
p_type: string;
|
|
21519
|
-
p_work_order_id?: string;
|
|
21520
|
-
};
|
|
21521
|
-
Returns: import("./types").Json;
|
|
21522
|
-
};
|
|
21523
20193
|
sync_all_layer_stocks: {
|
|
21524
20194
|
Args: never;
|
|
21525
20195
|
Returns: undefined;
|
|
@@ -21554,15 +20224,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
21554
20224
|
};
|
|
21555
20225
|
Returns: undefined;
|
|
21556
20226
|
};
|
|
21557
|
-
trade_item_stock_duplicates: {
|
|
21558
|
-
Args: never;
|
|
21559
|
-
Returns: {
|
|
21560
|
-
keys: string[];
|
|
21561
|
-
product_id: string;
|
|
21562
|
-
product_name: string;
|
|
21563
|
-
row_count: number;
|
|
21564
|
-
}[];
|
|
21565
|
-
};
|
|
21566
20227
|
try_debtor_lock: {
|
|
21567
20228
|
Args: {
|
|
21568
20229
|
_group_key: string;
|
|
@@ -21570,24 +20231,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
21570
20231
|
};
|
|
21571
20232
|
Returns: boolean;
|
|
21572
20233
|
};
|
|
21573
|
-
twinfield_cron_lock_acquire: {
|
|
21574
|
-
Args: {
|
|
21575
|
-
_job_name: string;
|
|
21576
|
-
_stale_seconds?: number;
|
|
21577
|
-
};
|
|
21578
|
-
Returns: boolean;
|
|
21579
|
-
};
|
|
21580
|
-
twinfield_cron_lock_release: {
|
|
21581
|
-
Args: {
|
|
21582
|
-
_error?: string;
|
|
21583
|
-
_job_name: string;
|
|
21584
|
-
};
|
|
21585
|
-
Returns: undefined;
|
|
21586
|
-
};
|
|
21587
|
-
twinfield_prune_push_queue: {
|
|
21588
|
-
Args: never;
|
|
21589
|
-
Returns: number;
|
|
21590
|
-
};
|
|
21591
20234
|
twinfield_register_cron: {
|
|
21592
20235
|
Args: {
|
|
21593
20236
|
apikey?: string;
|
|
@@ -21630,7 +20273,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
21630
20273
|
};
|
|
21631
20274
|
Enums: {
|
|
21632
20275
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|
|
21633
|
-
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin"
|
|
20276
|
+
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin";
|
|
21634
20277
|
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
|
|
21635
20278
|
doc_orientation: "portrait" | "landscape";
|
|
21636
20279
|
exact_env: "staging" | "live";
|