@flowselections/floriday-voorraad 1.0.36 → 1.0.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/index.d.ts +0 -1
- package/dist-lib/index.d.ts.map +1 -1
- package/dist-lib/index.js +0 -3
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +2698 -344
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +2698 -344
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.js +2 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +2698 -344
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/previewAuthStorage.d.ts +6 -0
- package/dist-lib/integrations/supabase/previewAuthStorage.d.ts.map +1 -0
- package/dist-lib/integrations/supabase/previewAuthStorage.js +92 -0
- package/dist-lib/integrations/supabase/types.d.ts +2846 -443
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.js +3 -0
- package/dist-lib/lib/floricode-required-features.functions.d.ts +2698 -344
- package/dist-lib/lib/floricode-required-features.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-customer-offer.functions.d.ts +2698 -344
- package/dist-lib/lib/floriday-customer-offer.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-env.functions.d.ts +5182 -474
- package/dist-lib/lib/floriday-env.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-gateway.functions.d.ts +15546 -1422
- package/dist-lib/lib/floriday-gateway.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-vbn-required.functions.d.ts +5182 -474
- package/dist-lib/lib/floriday-vbn-required.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-warehouse.functions.d.ts +7773 -711
- package/dist-lib/lib/floriday-warehouse.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.d.ts +5182 -474
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/module-health.functions.d.ts +5182 -474
- package/dist-lib/lib/module-health.functions.d.ts.map +1 -1
- package/dist-lib/lib/stock-sync.functions.d.ts +5182 -474
- package/dist-lib/lib/stock-sync.functions.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -702,6 +702,99 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
702
702
|
};
|
|
703
703
|
Relationships: [];
|
|
704
704
|
};
|
|
705
|
+
artikelen_cache: {
|
|
706
|
+
Row: {
|
|
707
|
+
artikelcode: string;
|
|
708
|
+
bron: string;
|
|
709
|
+
bruto_prijs_cent: number | null;
|
|
710
|
+
created_at: string;
|
|
711
|
+
eenheid: string;
|
|
712
|
+
fabrikant: string | null;
|
|
713
|
+
fetched_at: string;
|
|
714
|
+
gtin: string | null;
|
|
715
|
+
id: string;
|
|
716
|
+
naam: string;
|
|
717
|
+
netto_prijs_cent: number | null;
|
|
718
|
+
omschrijving: string | null;
|
|
719
|
+
raw: import("../integrations/supabase/types").Json;
|
|
720
|
+
updated_at: string;
|
|
721
|
+
valuta: string;
|
|
722
|
+
};
|
|
723
|
+
Insert: {
|
|
724
|
+
artikelcode: string;
|
|
725
|
+
bron?: string;
|
|
726
|
+
bruto_prijs_cent?: number | null;
|
|
727
|
+
created_at?: string;
|
|
728
|
+
eenheid?: string;
|
|
729
|
+
fabrikant?: string | null;
|
|
730
|
+
fetched_at?: string;
|
|
731
|
+
gtin?: string | null;
|
|
732
|
+
id?: string;
|
|
733
|
+
naam: string;
|
|
734
|
+
netto_prijs_cent?: number | null;
|
|
735
|
+
omschrijving?: string | null;
|
|
736
|
+
raw?: import("../integrations/supabase/types").Json;
|
|
737
|
+
updated_at?: string;
|
|
738
|
+
valuta?: string;
|
|
739
|
+
};
|
|
740
|
+
Update: {
|
|
741
|
+
artikelcode?: string;
|
|
742
|
+
bron?: string;
|
|
743
|
+
bruto_prijs_cent?: number | null;
|
|
744
|
+
created_at?: string;
|
|
745
|
+
eenheid?: string;
|
|
746
|
+
fabrikant?: string | null;
|
|
747
|
+
fetched_at?: string;
|
|
748
|
+
gtin?: string | null;
|
|
749
|
+
id?: string;
|
|
750
|
+
naam?: string;
|
|
751
|
+
netto_prijs_cent?: number | null;
|
|
752
|
+
omschrijving?: string | null;
|
|
753
|
+
raw?: import("../integrations/supabase/types").Json;
|
|
754
|
+
updated_at?: string;
|
|
755
|
+
valuta?: string;
|
|
756
|
+
};
|
|
757
|
+
Relationships: [];
|
|
758
|
+
};
|
|
759
|
+
artikelen_veldconfig: {
|
|
760
|
+
Row: {
|
|
761
|
+
bron_pad: string;
|
|
762
|
+
created_at: string;
|
|
763
|
+
id: string;
|
|
764
|
+
label: string;
|
|
765
|
+
sort_order: number;
|
|
766
|
+
type: string;
|
|
767
|
+
updated_at: string;
|
|
768
|
+
veld_key: string;
|
|
769
|
+
zichtbaar_in_detail: boolean;
|
|
770
|
+
zichtbaar_in_lijst: boolean;
|
|
771
|
+
};
|
|
772
|
+
Insert: {
|
|
773
|
+
bron_pad: string;
|
|
774
|
+
created_at?: string;
|
|
775
|
+
id?: string;
|
|
776
|
+
label: string;
|
|
777
|
+
sort_order?: number;
|
|
778
|
+
type?: string;
|
|
779
|
+
updated_at?: string;
|
|
780
|
+
veld_key: string;
|
|
781
|
+
zichtbaar_in_detail?: boolean;
|
|
782
|
+
zichtbaar_in_lijst?: boolean;
|
|
783
|
+
};
|
|
784
|
+
Update: {
|
|
785
|
+
bron_pad?: string;
|
|
786
|
+
created_at?: string;
|
|
787
|
+
id?: string;
|
|
788
|
+
label?: string;
|
|
789
|
+
sort_order?: number;
|
|
790
|
+
type?: string;
|
|
791
|
+
updated_at?: string;
|
|
792
|
+
veld_key?: string;
|
|
793
|
+
zichtbaar_in_detail?: boolean;
|
|
794
|
+
zichtbaar_in_lijst?: boolean;
|
|
795
|
+
};
|
|
796
|
+
Relationships: [];
|
|
797
|
+
};
|
|
705
798
|
booking_items: {
|
|
706
799
|
Row: {
|
|
707
800
|
booking_id: string;
|
|
@@ -900,6 +993,126 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
900
993
|
};
|
|
901
994
|
Relationships: [];
|
|
902
995
|
};
|
|
996
|
+
cao_holidays: {
|
|
997
|
+
Row: {
|
|
998
|
+
created_at: string;
|
|
999
|
+
description: string | null;
|
|
1000
|
+
holiday_date: string;
|
|
1001
|
+
id: string;
|
|
1002
|
+
updated_at: string;
|
|
1003
|
+
};
|
|
1004
|
+
Insert: {
|
|
1005
|
+
created_at?: string;
|
|
1006
|
+
description?: string | null;
|
|
1007
|
+
holiday_date: string;
|
|
1008
|
+
id?: string;
|
|
1009
|
+
updated_at?: string;
|
|
1010
|
+
};
|
|
1011
|
+
Update: {
|
|
1012
|
+
created_at?: string;
|
|
1013
|
+
description?: string | null;
|
|
1014
|
+
holiday_date?: string;
|
|
1015
|
+
id?: string;
|
|
1016
|
+
updated_at?: string;
|
|
1017
|
+
};
|
|
1018
|
+
Relationships: [];
|
|
1019
|
+
};
|
|
1020
|
+
cao_settings: {
|
|
1021
|
+
Row: {
|
|
1022
|
+
auto_break_after_hours: number;
|
|
1023
|
+
auto_break_minutes: number;
|
|
1024
|
+
auto_break_unpaid: boolean;
|
|
1025
|
+
auto_stop_after_hours: number;
|
|
1026
|
+
callout_fee: number;
|
|
1027
|
+
created_at: string;
|
|
1028
|
+
daily_regular_hours: number;
|
|
1029
|
+
default_hourly_rate: number;
|
|
1030
|
+
id: string;
|
|
1031
|
+
materials_markup_percent: number;
|
|
1032
|
+
max_daily_hours: number;
|
|
1033
|
+
max_weekly_hours: number;
|
|
1034
|
+
meal_allowance_amount: number;
|
|
1035
|
+
overtime_pct_178: number;
|
|
1036
|
+
overtime_pct_189: number;
|
|
1037
|
+
overtime_pct_212: number;
|
|
1038
|
+
reminder_after_hours: number;
|
|
1039
|
+
standby_evening_amount: number;
|
|
1040
|
+
standby_weekend_amount: number;
|
|
1041
|
+
travel_cost_per_km: number | null;
|
|
1042
|
+
travel_cost_threshold_km: number | null;
|
|
1043
|
+
travel_counts_as_work: boolean;
|
|
1044
|
+
travel_hourly_rate: number;
|
|
1045
|
+
travel_rate_per_hour: number;
|
|
1046
|
+
travel_threshold_minutes: number;
|
|
1047
|
+
updated_at: string;
|
|
1048
|
+
weekend_always_212: boolean;
|
|
1049
|
+
window_end: string;
|
|
1050
|
+
window_start: string;
|
|
1051
|
+
};
|
|
1052
|
+
Insert: {
|
|
1053
|
+
auto_break_after_hours?: number;
|
|
1054
|
+
auto_break_minutes?: number;
|
|
1055
|
+
auto_break_unpaid?: boolean;
|
|
1056
|
+
auto_stop_after_hours?: number;
|
|
1057
|
+
callout_fee?: number;
|
|
1058
|
+
created_at?: string;
|
|
1059
|
+
daily_regular_hours?: number;
|
|
1060
|
+
default_hourly_rate?: number;
|
|
1061
|
+
id?: string;
|
|
1062
|
+
materials_markup_percent?: number;
|
|
1063
|
+
max_daily_hours?: number;
|
|
1064
|
+
max_weekly_hours?: number;
|
|
1065
|
+
meal_allowance_amount?: number;
|
|
1066
|
+
overtime_pct_178?: number;
|
|
1067
|
+
overtime_pct_189?: number;
|
|
1068
|
+
overtime_pct_212?: number;
|
|
1069
|
+
reminder_after_hours?: number;
|
|
1070
|
+
standby_evening_amount?: number;
|
|
1071
|
+
standby_weekend_amount?: number;
|
|
1072
|
+
travel_cost_per_km?: number | null;
|
|
1073
|
+
travel_cost_threshold_km?: number | null;
|
|
1074
|
+
travel_counts_as_work?: boolean;
|
|
1075
|
+
travel_hourly_rate?: number;
|
|
1076
|
+
travel_rate_per_hour?: number;
|
|
1077
|
+
travel_threshold_minutes?: number;
|
|
1078
|
+
updated_at?: string;
|
|
1079
|
+
weekend_always_212?: boolean;
|
|
1080
|
+
window_end?: string;
|
|
1081
|
+
window_start?: string;
|
|
1082
|
+
};
|
|
1083
|
+
Update: {
|
|
1084
|
+
auto_break_after_hours?: number;
|
|
1085
|
+
auto_break_minutes?: number;
|
|
1086
|
+
auto_break_unpaid?: boolean;
|
|
1087
|
+
auto_stop_after_hours?: number;
|
|
1088
|
+
callout_fee?: number;
|
|
1089
|
+
created_at?: string;
|
|
1090
|
+
daily_regular_hours?: number;
|
|
1091
|
+
default_hourly_rate?: number;
|
|
1092
|
+
id?: string;
|
|
1093
|
+
materials_markup_percent?: number;
|
|
1094
|
+
max_daily_hours?: number;
|
|
1095
|
+
max_weekly_hours?: number;
|
|
1096
|
+
meal_allowance_amount?: number;
|
|
1097
|
+
overtime_pct_178?: number;
|
|
1098
|
+
overtime_pct_189?: number;
|
|
1099
|
+
overtime_pct_212?: number;
|
|
1100
|
+
reminder_after_hours?: number;
|
|
1101
|
+
standby_evening_amount?: number;
|
|
1102
|
+
standby_weekend_amount?: number;
|
|
1103
|
+
travel_cost_per_km?: number | null;
|
|
1104
|
+
travel_cost_threshold_km?: number | null;
|
|
1105
|
+
travel_counts_as_work?: boolean;
|
|
1106
|
+
travel_hourly_rate?: number;
|
|
1107
|
+
travel_rate_per_hour?: number;
|
|
1108
|
+
travel_threshold_minutes?: number;
|
|
1109
|
+
updated_at?: string;
|
|
1110
|
+
weekend_always_212?: boolean;
|
|
1111
|
+
window_end?: string;
|
|
1112
|
+
window_start?: string;
|
|
1113
|
+
};
|
|
1114
|
+
Relationships: [];
|
|
1115
|
+
};
|
|
903
1116
|
carrier_shipping_rates: {
|
|
904
1117
|
Row: {
|
|
905
1118
|
carrier_id: string;
|
|
@@ -2667,6 +2880,42 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
2667
2880
|
};
|
|
2668
2881
|
Relationships: [];
|
|
2669
2882
|
};
|
|
2883
|
+
document_bronregels: {
|
|
2884
|
+
Row: {
|
|
2885
|
+
bron: string;
|
|
2886
|
+
created_at: string;
|
|
2887
|
+
documenttype: string;
|
|
2888
|
+
herkomst: string;
|
|
2889
|
+
id: string;
|
|
2890
|
+
layout_id: string | null;
|
|
2891
|
+
updated_at: string;
|
|
2892
|
+
};
|
|
2893
|
+
Insert: {
|
|
2894
|
+
bron?: string;
|
|
2895
|
+
created_at?: string;
|
|
2896
|
+
documenttype: string;
|
|
2897
|
+
herkomst: string;
|
|
2898
|
+
id?: string;
|
|
2899
|
+
layout_id?: string | null;
|
|
2900
|
+
updated_at?: string;
|
|
2901
|
+
};
|
|
2902
|
+
Update: {
|
|
2903
|
+
bron?: string;
|
|
2904
|
+
created_at?: string;
|
|
2905
|
+
documenttype?: string;
|
|
2906
|
+
herkomst?: string;
|
|
2907
|
+
id?: string;
|
|
2908
|
+
layout_id?: string | null;
|
|
2909
|
+
updated_at?: string;
|
|
2910
|
+
};
|
|
2911
|
+
Relationships: [{
|
|
2912
|
+
foreignKeyName: "document_bronregels_layout_id_fkey";
|
|
2913
|
+
columns: ["layout_id"];
|
|
2914
|
+
isOneToOne: false;
|
|
2915
|
+
referencedRelation: "document_layouts";
|
|
2916
|
+
referencedColumns: ["id"];
|
|
2917
|
+
}];
|
|
2918
|
+
};
|
|
2670
2919
|
document_formaat_printers: {
|
|
2671
2920
|
Row: {
|
|
2672
2921
|
created_at: string;
|
|
@@ -2944,6 +3193,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
2944
3193
|
Row: {
|
|
2945
3194
|
actief: boolean;
|
|
2946
3195
|
breedte_mm: number;
|
|
3196
|
+
bron: string;
|
|
2947
3197
|
config: import("../integrations/supabase/types").Json;
|
|
2948
3198
|
created_at: string;
|
|
2949
3199
|
created_by: string | null;
|
|
@@ -2961,12 +3211,14 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
2961
3211
|
orientatie: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_orientation"];
|
|
2962
3212
|
page_settings: import("../integrations/supabase/types").Json;
|
|
2963
3213
|
papierformaat: string;
|
|
3214
|
+
systeem: boolean;
|
|
2964
3215
|
thumbnail_url: string | null;
|
|
2965
3216
|
updated_at: string;
|
|
2966
3217
|
};
|
|
2967
3218
|
Insert: {
|
|
2968
3219
|
actief?: boolean;
|
|
2969
3220
|
breedte_mm?: number;
|
|
3221
|
+
bron?: string;
|
|
2970
3222
|
config?: import("../integrations/supabase/types").Json;
|
|
2971
3223
|
created_at?: string;
|
|
2972
3224
|
created_by?: string | null;
|
|
@@ -2984,12 +3236,14 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
2984
3236
|
orientatie?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_orientation"];
|
|
2985
3237
|
page_settings?: import("../integrations/supabase/types").Json;
|
|
2986
3238
|
papierformaat?: string;
|
|
3239
|
+
systeem?: boolean;
|
|
2987
3240
|
thumbnail_url?: string | null;
|
|
2988
3241
|
updated_at?: string;
|
|
2989
3242
|
};
|
|
2990
3243
|
Update: {
|
|
2991
3244
|
actief?: boolean;
|
|
2992
3245
|
breedte_mm?: number;
|
|
3246
|
+
bron?: string;
|
|
2993
3247
|
config?: import("../integrations/supabase/types").Json;
|
|
2994
3248
|
created_at?: string;
|
|
2995
3249
|
created_by?: string | null;
|
|
@@ -3007,11 +3261,90 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
3007
3261
|
orientatie?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_orientation"];
|
|
3008
3262
|
page_settings?: import("../integrations/supabase/types").Json;
|
|
3009
3263
|
papierformaat?: string;
|
|
3264
|
+
systeem?: boolean;
|
|
3010
3265
|
thumbnail_url?: string | null;
|
|
3011
3266
|
updated_at?: string;
|
|
3012
3267
|
};
|
|
3013
3268
|
Relationships: [];
|
|
3014
3269
|
};
|
|
3270
|
+
document_printplek_printers: {
|
|
3271
|
+
Row: {
|
|
3272
|
+
created_at: string;
|
|
3273
|
+
documenttype: string;
|
|
3274
|
+
id: string;
|
|
3275
|
+
papierformaat: string | null;
|
|
3276
|
+
print_plek_id: string;
|
|
3277
|
+
printer_id: string | null;
|
|
3278
|
+
updated_at: string;
|
|
3279
|
+
};
|
|
3280
|
+
Insert: {
|
|
3281
|
+
created_at?: string;
|
|
3282
|
+
documenttype: string;
|
|
3283
|
+
id?: string;
|
|
3284
|
+
papierformaat?: string | null;
|
|
3285
|
+
print_plek_id: string;
|
|
3286
|
+
printer_id?: string | null;
|
|
3287
|
+
updated_at?: string;
|
|
3288
|
+
};
|
|
3289
|
+
Update: {
|
|
3290
|
+
created_at?: string;
|
|
3291
|
+
documenttype?: string;
|
|
3292
|
+
id?: string;
|
|
3293
|
+
papierformaat?: string | null;
|
|
3294
|
+
print_plek_id?: string;
|
|
3295
|
+
printer_id?: string | null;
|
|
3296
|
+
updated_at?: string;
|
|
3297
|
+
};
|
|
3298
|
+
Relationships: [{
|
|
3299
|
+
foreignKeyName: "document_printplek_printers_print_plek_id_fkey";
|
|
3300
|
+
columns: ["print_plek_id"];
|
|
3301
|
+
isOneToOne: false;
|
|
3302
|
+
referencedRelation: "print_plekken";
|
|
3303
|
+
referencedColumns: ["id"];
|
|
3304
|
+
}, {
|
|
3305
|
+
foreignKeyName: "document_printplek_printers_printer_id_fkey";
|
|
3306
|
+
columns: ["printer_id"];
|
|
3307
|
+
isOneToOne: false;
|
|
3308
|
+
referencedRelation: "printers";
|
|
3309
|
+
referencedColumns: ["id"];
|
|
3310
|
+
}];
|
|
3311
|
+
};
|
|
3312
|
+
document_werkplek_printers: {
|
|
3313
|
+
Row: {
|
|
3314
|
+
created_at: string;
|
|
3315
|
+
documenttype: string;
|
|
3316
|
+
id: string;
|
|
3317
|
+
papierformaat: string | null;
|
|
3318
|
+
printer_id: string | null;
|
|
3319
|
+
updated_at: string;
|
|
3320
|
+
werkplek: string;
|
|
3321
|
+
};
|
|
3322
|
+
Insert: {
|
|
3323
|
+
created_at?: string;
|
|
3324
|
+
documenttype: string;
|
|
3325
|
+
id?: string;
|
|
3326
|
+
papierformaat?: string | null;
|
|
3327
|
+
printer_id?: string | null;
|
|
3328
|
+
updated_at?: string;
|
|
3329
|
+
werkplek: string;
|
|
3330
|
+
};
|
|
3331
|
+
Update: {
|
|
3332
|
+
created_at?: string;
|
|
3333
|
+
documenttype?: string;
|
|
3334
|
+
id?: string;
|
|
3335
|
+
papierformaat?: string | null;
|
|
3336
|
+
printer_id?: string | null;
|
|
3337
|
+
updated_at?: string;
|
|
3338
|
+
werkplek?: string;
|
|
3339
|
+
};
|
|
3340
|
+
Relationships: [{
|
|
3341
|
+
foreignKeyName: "document_werkplek_printers_printer_id_fkey";
|
|
3342
|
+
columns: ["printer_id"];
|
|
3343
|
+
isOneToOne: false;
|
|
3344
|
+
referencedRelation: "printers";
|
|
3345
|
+
referencedColumns: ["id"];
|
|
3346
|
+
}];
|
|
3347
|
+
};
|
|
3015
3348
|
email_auth_connections: {
|
|
3016
3349
|
Row: {
|
|
3017
3350
|
access_token_encrypted: string | null;
|
|
@@ -6508,6 +6841,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
6508
6841
|
Row: {
|
|
6509
6842
|
buyer_organization_id: string | null;
|
|
6510
6843
|
connection_id: string;
|
|
6844
|
+
controlled_at: string | null;
|
|
6511
6845
|
created_at: string;
|
|
6512
6846
|
data: import("../integrations/supabase/types").Json;
|
|
6513
6847
|
floriday_id: string;
|
|
@@ -6519,6 +6853,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
6519
6853
|
Insert: {
|
|
6520
6854
|
buyer_organization_id?: string | null;
|
|
6521
6855
|
connection_id: string;
|
|
6856
|
+
controlled_at?: string | null;
|
|
6522
6857
|
created_at?: string;
|
|
6523
6858
|
data: import("../integrations/supabase/types").Json;
|
|
6524
6859
|
floriday_id: string;
|
|
@@ -6530,6 +6865,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
6530
6865
|
Update: {
|
|
6531
6866
|
buyer_organization_id?: string | null;
|
|
6532
6867
|
connection_id?: string;
|
|
6868
|
+
controlled_at?: string | null;
|
|
6533
6869
|
created_at?: string;
|
|
6534
6870
|
data?: import("../integrations/supabase/types").Json;
|
|
6535
6871
|
floriday_id?: string;
|
|
@@ -7254,8 +7590,63 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
7254
7590
|
};
|
|
7255
7591
|
Relationships: [];
|
|
7256
7592
|
};
|
|
7593
|
+
invoice_items: {
|
|
7594
|
+
Row: {
|
|
7595
|
+
created_at: string;
|
|
7596
|
+
description: string;
|
|
7597
|
+
id: string;
|
|
7598
|
+
invoice_id: string;
|
|
7599
|
+
kind: string;
|
|
7600
|
+
quantity: number;
|
|
7601
|
+
sort_order: number;
|
|
7602
|
+
source_line_ref: string | null;
|
|
7603
|
+
total_cents: number;
|
|
7604
|
+
unit: string;
|
|
7605
|
+
unit_price_cents: number;
|
|
7606
|
+
};
|
|
7607
|
+
Insert: {
|
|
7608
|
+
created_at?: string;
|
|
7609
|
+
description?: string;
|
|
7610
|
+
id?: string;
|
|
7611
|
+
invoice_id: string;
|
|
7612
|
+
kind?: string;
|
|
7613
|
+
quantity?: number;
|
|
7614
|
+
sort_order?: number;
|
|
7615
|
+
source_line_ref?: string | null;
|
|
7616
|
+
total_cents?: number;
|
|
7617
|
+
unit?: string;
|
|
7618
|
+
unit_price_cents?: number;
|
|
7619
|
+
};
|
|
7620
|
+
Update: {
|
|
7621
|
+
created_at?: string;
|
|
7622
|
+
description?: string;
|
|
7623
|
+
id?: string;
|
|
7624
|
+
invoice_id?: string;
|
|
7625
|
+
kind?: string;
|
|
7626
|
+
quantity?: number;
|
|
7627
|
+
sort_order?: number;
|
|
7628
|
+
source_line_ref?: string | null;
|
|
7629
|
+
total_cents?: number;
|
|
7630
|
+
unit?: string;
|
|
7631
|
+
unit_price_cents?: number;
|
|
7632
|
+
};
|
|
7633
|
+
Relationships: [{
|
|
7634
|
+
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
7635
|
+
columns: ["invoice_id"];
|
|
7636
|
+
isOneToOne: false;
|
|
7637
|
+
referencedRelation: "invoices";
|
|
7638
|
+
referencedColumns: ["id"];
|
|
7639
|
+
}, {
|
|
7640
|
+
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
7641
|
+
columns: ["invoice_id"];
|
|
7642
|
+
isOneToOne: false;
|
|
7643
|
+
referencedRelation: "uren_facturen";
|
|
7644
|
+
referencedColumns: ["id"];
|
|
7645
|
+
}];
|
|
7646
|
+
};
|
|
7257
7647
|
invoice_post_idempotency: {
|
|
7258
7648
|
Row: {
|
|
7649
|
+
administration_code: string;
|
|
7259
7650
|
client_request_id: string;
|
|
7260
7651
|
completed_at: string | null;
|
|
7261
7652
|
created_at: string;
|
|
@@ -7265,6 +7656,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
7265
7656
|
user_id: string;
|
|
7266
7657
|
};
|
|
7267
7658
|
Insert: {
|
|
7659
|
+
administration_code?: string;
|
|
7268
7660
|
client_request_id: string;
|
|
7269
7661
|
completed_at?: string | null;
|
|
7270
7662
|
created_at?: string;
|
|
@@ -7274,6 +7666,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
7274
7666
|
user_id: string;
|
|
7275
7667
|
};
|
|
7276
7668
|
Update: {
|
|
7669
|
+
administration_code?: string;
|
|
7277
7670
|
client_request_id?: string;
|
|
7278
7671
|
completed_at?: string | null;
|
|
7279
7672
|
created_at?: string;
|
|
@@ -7431,52 +7824,169 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
7431
7824
|
};
|
|
7432
7825
|
Relationships: [];
|
|
7433
7826
|
};
|
|
7434
|
-
|
|
7827
|
+
invoice_timing_settings: {
|
|
7435
7828
|
Row: {
|
|
7829
|
+
anchor: string;
|
|
7830
|
+
business_days_only: boolean;
|
|
7436
7831
|
created_at: string;
|
|
7437
|
-
|
|
7438
|
-
email: string | null;
|
|
7832
|
+
enabled: boolean;
|
|
7439
7833
|
id: string;
|
|
7440
|
-
|
|
7441
|
-
|
|
7442
|
-
|
|
7834
|
+
offset_days: number;
|
|
7835
|
+
pickup_anchor: string;
|
|
7836
|
+
pickup_business_days_only: boolean;
|
|
7837
|
+
pickup_offset_days: number;
|
|
7838
|
+
pickup_time_of_day: string;
|
|
7839
|
+
singleton: boolean;
|
|
7840
|
+
time_of_day: string;
|
|
7443
7841
|
updated_at: string;
|
|
7444
7842
|
};
|
|
7445
7843
|
Insert: {
|
|
7844
|
+
anchor?: string;
|
|
7845
|
+
business_days_only?: boolean;
|
|
7446
7846
|
created_at?: string;
|
|
7447
|
-
|
|
7448
|
-
email?: string | null;
|
|
7847
|
+
enabled?: boolean;
|
|
7449
7848
|
id?: string;
|
|
7450
|
-
|
|
7451
|
-
|
|
7452
|
-
|
|
7849
|
+
offset_days?: number;
|
|
7850
|
+
pickup_anchor?: string;
|
|
7851
|
+
pickup_business_days_only?: boolean;
|
|
7852
|
+
pickup_offset_days?: number;
|
|
7853
|
+
pickup_time_of_day?: string;
|
|
7854
|
+
singleton?: boolean;
|
|
7855
|
+
time_of_day?: string;
|
|
7453
7856
|
updated_at?: string;
|
|
7454
7857
|
};
|
|
7455
7858
|
Update: {
|
|
7859
|
+
anchor?: string;
|
|
7860
|
+
business_days_only?: boolean;
|
|
7456
7861
|
created_at?: string;
|
|
7457
|
-
|
|
7458
|
-
email?: string | null;
|
|
7862
|
+
enabled?: boolean;
|
|
7459
7863
|
id?: string;
|
|
7460
|
-
|
|
7461
|
-
|
|
7462
|
-
|
|
7864
|
+
offset_days?: number;
|
|
7865
|
+
pickup_anchor?: string;
|
|
7866
|
+
pickup_business_days_only?: boolean;
|
|
7867
|
+
pickup_offset_days?: number;
|
|
7868
|
+
pickup_time_of_day?: string;
|
|
7869
|
+
singleton?: boolean;
|
|
7870
|
+
time_of_day?: string;
|
|
7463
7871
|
updated_at?: string;
|
|
7464
7872
|
};
|
|
7465
|
-
Relationships: [
|
|
7466
|
-
foreignKeyName: "itk_contact_persons_customer_id_fkey";
|
|
7467
|
-
columns: ["customer_id"];
|
|
7468
|
-
isOneToOne: false;
|
|
7469
|
-
referencedRelation: "itk_customers";
|
|
7470
|
-
referencedColumns: ["id"];
|
|
7471
|
-
}];
|
|
7873
|
+
Relationships: [];
|
|
7472
7874
|
};
|
|
7473
|
-
|
|
7875
|
+
invoices: {
|
|
7474
7876
|
Row: {
|
|
7475
7877
|
created_at: string;
|
|
7476
|
-
|
|
7477
|
-
|
|
7878
|
+
created_by: string | null;
|
|
7879
|
+
customer_id: string | null;
|
|
7880
|
+
customer_name: string | null;
|
|
7881
|
+
due_date: string | null;
|
|
7478
7882
|
id: string;
|
|
7479
|
-
|
|
7883
|
+
invoice_date: string;
|
|
7884
|
+
invoice_number: string | null;
|
|
7885
|
+
note: string | null;
|
|
7886
|
+
source_number: string | null;
|
|
7887
|
+
source_ref: string | null;
|
|
7888
|
+
source_type: string;
|
|
7889
|
+
status: string;
|
|
7890
|
+
subtotal_cents: number;
|
|
7891
|
+
total_cents: number;
|
|
7892
|
+
updated_at: string;
|
|
7893
|
+
vat_cents: number;
|
|
7894
|
+
vat_rate: number;
|
|
7895
|
+
};
|
|
7896
|
+
Insert: {
|
|
7897
|
+
created_at?: string;
|
|
7898
|
+
created_by?: string | null;
|
|
7899
|
+
customer_id?: string | null;
|
|
7900
|
+
customer_name?: string | null;
|
|
7901
|
+
due_date?: string | null;
|
|
7902
|
+
id?: string;
|
|
7903
|
+
invoice_date?: string;
|
|
7904
|
+
invoice_number?: string | null;
|
|
7905
|
+
note?: string | null;
|
|
7906
|
+
source_number?: string | null;
|
|
7907
|
+
source_ref?: string | null;
|
|
7908
|
+
source_type?: string;
|
|
7909
|
+
status?: string;
|
|
7910
|
+
subtotal_cents?: number;
|
|
7911
|
+
total_cents?: number;
|
|
7912
|
+
updated_at?: string;
|
|
7913
|
+
vat_cents?: number;
|
|
7914
|
+
vat_rate?: number;
|
|
7915
|
+
};
|
|
7916
|
+
Update: {
|
|
7917
|
+
created_at?: string;
|
|
7918
|
+
created_by?: string | null;
|
|
7919
|
+
customer_id?: string | null;
|
|
7920
|
+
customer_name?: string | null;
|
|
7921
|
+
due_date?: string | null;
|
|
7922
|
+
id?: string;
|
|
7923
|
+
invoice_date?: string;
|
|
7924
|
+
invoice_number?: string | null;
|
|
7925
|
+
note?: string | null;
|
|
7926
|
+
source_number?: string | null;
|
|
7927
|
+
source_ref?: string | null;
|
|
7928
|
+
source_type?: string;
|
|
7929
|
+
status?: string;
|
|
7930
|
+
subtotal_cents?: number;
|
|
7931
|
+
total_cents?: number;
|
|
7932
|
+
updated_at?: string;
|
|
7933
|
+
vat_cents?: number;
|
|
7934
|
+
vat_rate?: number;
|
|
7935
|
+
};
|
|
7936
|
+
Relationships: [{
|
|
7937
|
+
foreignKeyName: "invoices_customer_id_fkey";
|
|
7938
|
+
columns: ["customer_id"];
|
|
7939
|
+
isOneToOne: false;
|
|
7940
|
+
referencedRelation: "itk_customers";
|
|
7941
|
+
referencedColumns: ["id"];
|
|
7942
|
+
}];
|
|
7943
|
+
};
|
|
7944
|
+
itk_contact_persons: {
|
|
7945
|
+
Row: {
|
|
7946
|
+
created_at: string;
|
|
7947
|
+
customer_id: string;
|
|
7948
|
+
email: string | null;
|
|
7949
|
+
id: string;
|
|
7950
|
+
name: string;
|
|
7951
|
+
phone: string | null;
|
|
7952
|
+
role: string | null;
|
|
7953
|
+
updated_at: string;
|
|
7954
|
+
};
|
|
7955
|
+
Insert: {
|
|
7956
|
+
created_at?: string;
|
|
7957
|
+
customer_id: string;
|
|
7958
|
+
email?: string | null;
|
|
7959
|
+
id?: string;
|
|
7960
|
+
name: string;
|
|
7961
|
+
phone?: string | null;
|
|
7962
|
+
role?: string | null;
|
|
7963
|
+
updated_at?: string;
|
|
7964
|
+
};
|
|
7965
|
+
Update: {
|
|
7966
|
+
created_at?: string;
|
|
7967
|
+
customer_id?: string;
|
|
7968
|
+
email?: string | null;
|
|
7969
|
+
id?: string;
|
|
7970
|
+
name?: string;
|
|
7971
|
+
phone?: string | null;
|
|
7972
|
+
role?: string | null;
|
|
7973
|
+
updated_at?: string;
|
|
7974
|
+
};
|
|
7975
|
+
Relationships: [{
|
|
7976
|
+
foreignKeyName: "itk_contact_persons_customer_id_fkey";
|
|
7977
|
+
columns: ["customer_id"];
|
|
7978
|
+
isOneToOne: false;
|
|
7979
|
+
referencedRelation: "itk_customers";
|
|
7980
|
+
referencedColumns: ["id"];
|
|
7981
|
+
}];
|
|
7982
|
+
};
|
|
7983
|
+
itk_customer_dynamic_values: {
|
|
7984
|
+
Row: {
|
|
7985
|
+
created_at: string;
|
|
7986
|
+
customer_id: string;
|
|
7987
|
+
field_id: string;
|
|
7988
|
+
id: string;
|
|
7989
|
+
updated_at: string;
|
|
7480
7990
|
value: string | null;
|
|
7481
7991
|
};
|
|
7482
7992
|
Insert: {
|
|
@@ -7626,6 +8136,258 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
7626
8136
|
};
|
|
7627
8137
|
Relationships: [];
|
|
7628
8138
|
};
|
|
8139
|
+
itk_offerte_events: {
|
|
8140
|
+
Row: {
|
|
8141
|
+
created_at: string;
|
|
8142
|
+
event_type: string;
|
|
8143
|
+
id: string;
|
|
8144
|
+
metadata: import("../integrations/supabase/types").Json;
|
|
8145
|
+
offerte_id: string;
|
|
8146
|
+
omschrijving: string | null;
|
|
8147
|
+
user_id: string | null;
|
|
8148
|
+
};
|
|
8149
|
+
Insert: {
|
|
8150
|
+
created_at?: string;
|
|
8151
|
+
event_type: string;
|
|
8152
|
+
id?: string;
|
|
8153
|
+
metadata?: import("../integrations/supabase/types").Json;
|
|
8154
|
+
offerte_id: string;
|
|
8155
|
+
omschrijving?: string | null;
|
|
8156
|
+
user_id?: string | null;
|
|
8157
|
+
};
|
|
8158
|
+
Update: {
|
|
8159
|
+
created_at?: string;
|
|
8160
|
+
event_type?: string;
|
|
8161
|
+
id?: string;
|
|
8162
|
+
metadata?: import("../integrations/supabase/types").Json;
|
|
8163
|
+
offerte_id?: string;
|
|
8164
|
+
omschrijving?: string | null;
|
|
8165
|
+
user_id?: string | null;
|
|
8166
|
+
};
|
|
8167
|
+
Relationships: [{
|
|
8168
|
+
foreignKeyName: "itk_offerte_events_offerte_id_fkey";
|
|
8169
|
+
columns: ["offerte_id"];
|
|
8170
|
+
isOneToOne: false;
|
|
8171
|
+
referencedRelation: "itk_offertes";
|
|
8172
|
+
referencedColumns: ["id"];
|
|
8173
|
+
}];
|
|
8174
|
+
};
|
|
8175
|
+
itk_offerte_regels: {
|
|
8176
|
+
Row: {
|
|
8177
|
+
created_at: string;
|
|
8178
|
+
id: string;
|
|
8179
|
+
line_total_cents: number;
|
|
8180
|
+
offerte_id: string;
|
|
8181
|
+
omschrijving: string;
|
|
8182
|
+
package_id: string | null;
|
|
8183
|
+
quantity: number;
|
|
8184
|
+
sort_order: number;
|
|
8185
|
+
source: string;
|
|
8186
|
+
unit_price_cents: number;
|
|
8187
|
+
updated_at: string;
|
|
8188
|
+
};
|
|
8189
|
+
Insert: {
|
|
8190
|
+
created_at?: string;
|
|
8191
|
+
id?: string;
|
|
8192
|
+
line_total_cents?: number;
|
|
8193
|
+
offerte_id: string;
|
|
8194
|
+
omschrijving?: string;
|
|
8195
|
+
package_id?: string | null;
|
|
8196
|
+
quantity?: number;
|
|
8197
|
+
sort_order?: number;
|
|
8198
|
+
source?: string;
|
|
8199
|
+
unit_price_cents?: number;
|
|
8200
|
+
updated_at?: string;
|
|
8201
|
+
};
|
|
8202
|
+
Update: {
|
|
8203
|
+
created_at?: string;
|
|
8204
|
+
id?: string;
|
|
8205
|
+
line_total_cents?: number;
|
|
8206
|
+
offerte_id?: string;
|
|
8207
|
+
omschrijving?: string;
|
|
8208
|
+
package_id?: string | null;
|
|
8209
|
+
quantity?: number;
|
|
8210
|
+
sort_order?: number;
|
|
8211
|
+
source?: string;
|
|
8212
|
+
unit_price_cents?: number;
|
|
8213
|
+
updated_at?: string;
|
|
8214
|
+
};
|
|
8215
|
+
Relationships: [{
|
|
8216
|
+
foreignKeyName: "itk_offerte_regels_offerte_id_fkey";
|
|
8217
|
+
columns: ["offerte_id"];
|
|
8218
|
+
isOneToOne: false;
|
|
8219
|
+
referencedRelation: "itk_offertes";
|
|
8220
|
+
referencedColumns: ["id"];
|
|
8221
|
+
}, {
|
|
8222
|
+
foreignKeyName: "itk_offerte_regels_package_id_fkey";
|
|
8223
|
+
columns: ["package_id"];
|
|
8224
|
+
isOneToOne: false;
|
|
8225
|
+
referencedRelation: "werkbon_packages";
|
|
8226
|
+
referencedColumns: ["id"];
|
|
8227
|
+
}];
|
|
8228
|
+
};
|
|
8229
|
+
itk_offerte_settings: {
|
|
8230
|
+
Row: {
|
|
8231
|
+
auto_convert_binnen_mandaat: boolean;
|
|
8232
|
+
created_at: string;
|
|
8233
|
+
default_geldigheid_dagen: number;
|
|
8234
|
+
default_vat_rate: number;
|
|
8235
|
+
id: string;
|
|
8236
|
+
singleton: boolean;
|
|
8237
|
+
updated_at: string;
|
|
8238
|
+
};
|
|
8239
|
+
Insert: {
|
|
8240
|
+
auto_convert_binnen_mandaat?: boolean;
|
|
8241
|
+
created_at?: string;
|
|
8242
|
+
default_geldigheid_dagen?: number;
|
|
8243
|
+
default_vat_rate?: number;
|
|
8244
|
+
id?: string;
|
|
8245
|
+
singleton?: boolean;
|
|
8246
|
+
updated_at?: string;
|
|
8247
|
+
};
|
|
8248
|
+
Update: {
|
|
8249
|
+
auto_convert_binnen_mandaat?: boolean;
|
|
8250
|
+
created_at?: string;
|
|
8251
|
+
default_geldigheid_dagen?: number;
|
|
8252
|
+
default_vat_rate?: number;
|
|
8253
|
+
id?: string;
|
|
8254
|
+
singleton?: boolean;
|
|
8255
|
+
updated_at?: string;
|
|
8256
|
+
};
|
|
8257
|
+
Relationships: [];
|
|
8258
|
+
};
|
|
8259
|
+
itk_offertes: {
|
|
8260
|
+
Row: {
|
|
8261
|
+
ai_generated: boolean;
|
|
8262
|
+
approved_at: string | null;
|
|
8263
|
+
binnen_mandaat: boolean;
|
|
8264
|
+
contact_id: string | null;
|
|
8265
|
+
converted_at: string | null;
|
|
8266
|
+
created_at: string;
|
|
8267
|
+
created_by: string | null;
|
|
8268
|
+
customer_id: string | null;
|
|
8269
|
+
follow_up_werkbon_id: string | null;
|
|
8270
|
+
id: string;
|
|
8271
|
+
jaar: number;
|
|
8272
|
+
mandaat_restant_cents: number;
|
|
8273
|
+
notities: string | null;
|
|
8274
|
+
offerte_number: string | null;
|
|
8275
|
+
omschrijving: string;
|
|
8276
|
+
rejected_at: string | null;
|
|
8277
|
+
sent_at: string | null;
|
|
8278
|
+
source_number: string | null;
|
|
8279
|
+
source_ref: string | null;
|
|
8280
|
+
source_type: string;
|
|
8281
|
+
status: string;
|
|
8282
|
+
subtotal_cents: number;
|
|
8283
|
+
total_cents: number;
|
|
8284
|
+
updated_at: string;
|
|
8285
|
+
valid_until: string | null;
|
|
8286
|
+
vat_cents: number;
|
|
8287
|
+
vat_rate: number;
|
|
8288
|
+
viewed_at: string | null;
|
|
8289
|
+
volgnummer: number | null;
|
|
8290
|
+
werkbon_id: string | null;
|
|
8291
|
+
work_location_id: string | null;
|
|
8292
|
+
};
|
|
8293
|
+
Insert: {
|
|
8294
|
+
ai_generated?: boolean;
|
|
8295
|
+
approved_at?: string | null;
|
|
8296
|
+
binnen_mandaat?: boolean;
|
|
8297
|
+
contact_id?: string | null;
|
|
8298
|
+
converted_at?: string | null;
|
|
8299
|
+
created_at?: string;
|
|
8300
|
+
created_by?: string | null;
|
|
8301
|
+
customer_id?: string | null;
|
|
8302
|
+
follow_up_werkbon_id?: string | null;
|
|
8303
|
+
id?: string;
|
|
8304
|
+
jaar?: number;
|
|
8305
|
+
mandaat_restant_cents?: number;
|
|
8306
|
+
notities?: string | null;
|
|
8307
|
+
offerte_number?: string | null;
|
|
8308
|
+
omschrijving?: string;
|
|
8309
|
+
rejected_at?: string | null;
|
|
8310
|
+
sent_at?: string | null;
|
|
8311
|
+
source_number?: string | null;
|
|
8312
|
+
source_ref?: string | null;
|
|
8313
|
+
source_type?: string;
|
|
8314
|
+
status?: string;
|
|
8315
|
+
subtotal_cents?: number;
|
|
8316
|
+
total_cents?: number;
|
|
8317
|
+
updated_at?: string;
|
|
8318
|
+
valid_until?: string | null;
|
|
8319
|
+
vat_cents?: number;
|
|
8320
|
+
vat_rate?: number;
|
|
8321
|
+
viewed_at?: string | null;
|
|
8322
|
+
volgnummer?: number | null;
|
|
8323
|
+
werkbon_id?: string | null;
|
|
8324
|
+
work_location_id?: string | null;
|
|
8325
|
+
};
|
|
8326
|
+
Update: {
|
|
8327
|
+
ai_generated?: boolean;
|
|
8328
|
+
approved_at?: string | null;
|
|
8329
|
+
binnen_mandaat?: boolean;
|
|
8330
|
+
contact_id?: string | null;
|
|
8331
|
+
converted_at?: string | null;
|
|
8332
|
+
created_at?: string;
|
|
8333
|
+
created_by?: string | null;
|
|
8334
|
+
customer_id?: string | null;
|
|
8335
|
+
follow_up_werkbon_id?: string | null;
|
|
8336
|
+
id?: string;
|
|
8337
|
+
jaar?: number;
|
|
8338
|
+
mandaat_restant_cents?: number;
|
|
8339
|
+
notities?: string | null;
|
|
8340
|
+
offerte_number?: string | null;
|
|
8341
|
+
omschrijving?: string;
|
|
8342
|
+
rejected_at?: string | null;
|
|
8343
|
+
sent_at?: string | null;
|
|
8344
|
+
source_number?: string | null;
|
|
8345
|
+
source_ref?: string | null;
|
|
8346
|
+
source_type?: string;
|
|
8347
|
+
status?: string;
|
|
8348
|
+
subtotal_cents?: number;
|
|
8349
|
+
total_cents?: number;
|
|
8350
|
+
updated_at?: string;
|
|
8351
|
+
valid_until?: string | null;
|
|
8352
|
+
vat_cents?: number;
|
|
8353
|
+
vat_rate?: number;
|
|
8354
|
+
viewed_at?: string | null;
|
|
8355
|
+
volgnummer?: number | null;
|
|
8356
|
+
werkbon_id?: string | null;
|
|
8357
|
+
work_location_id?: string | null;
|
|
8358
|
+
};
|
|
8359
|
+
Relationships: [{
|
|
8360
|
+
foreignKeyName: "itk_offertes_contact_id_fkey";
|
|
8361
|
+
columns: ["contact_id"];
|
|
8362
|
+
isOneToOne: false;
|
|
8363
|
+
referencedRelation: "itk_contact_persons";
|
|
8364
|
+
referencedColumns: ["id"];
|
|
8365
|
+
}, {
|
|
8366
|
+
foreignKeyName: "itk_offertes_customer_id_fkey";
|
|
8367
|
+
columns: ["customer_id"];
|
|
8368
|
+
isOneToOne: false;
|
|
8369
|
+
referencedRelation: "itk_customers";
|
|
8370
|
+
referencedColumns: ["id"];
|
|
8371
|
+
}, {
|
|
8372
|
+
foreignKeyName: "itk_offertes_follow_up_werkbon_id_fkey";
|
|
8373
|
+
columns: ["follow_up_werkbon_id"];
|
|
8374
|
+
isOneToOne: false;
|
|
8375
|
+
referencedRelation: "werkbonnen";
|
|
8376
|
+
referencedColumns: ["id"];
|
|
8377
|
+
}, {
|
|
8378
|
+
foreignKeyName: "itk_offertes_werkbon_id_fkey";
|
|
8379
|
+
columns: ["werkbon_id"];
|
|
8380
|
+
isOneToOne: false;
|
|
8381
|
+
referencedRelation: "werkbonnen";
|
|
8382
|
+
referencedColumns: ["id"];
|
|
8383
|
+
}, {
|
|
8384
|
+
foreignKeyName: "itk_offertes_work_location_id_fkey";
|
|
8385
|
+
columns: ["work_location_id"];
|
|
8386
|
+
isOneToOne: false;
|
|
8387
|
+
referencedRelation: "itk_work_locations";
|
|
8388
|
+
referencedColumns: ["id"];
|
|
8389
|
+
}];
|
|
8390
|
+
};
|
|
7629
8391
|
itk_work_locations: {
|
|
7630
8392
|
Row: {
|
|
7631
8393
|
city: string | null;
|
|
@@ -7743,7 +8505,6 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
7743
8505
|
start_date: string;
|
|
7744
8506
|
start_time: string | null;
|
|
7745
8507
|
status: string;
|
|
7746
|
-
tenant_id: string;
|
|
7747
8508
|
updated_at: string;
|
|
7748
8509
|
user_id: string;
|
|
7749
8510
|
};
|
|
@@ -7761,7 +8522,6 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
7761
8522
|
start_date: string;
|
|
7762
8523
|
start_time?: string | null;
|
|
7763
8524
|
status?: string;
|
|
7764
|
-
tenant_id?: string;
|
|
7765
8525
|
updated_at?: string;
|
|
7766
8526
|
user_id: string;
|
|
7767
8527
|
};
|
|
@@ -7779,7 +8539,6 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
7779
8539
|
start_date?: string;
|
|
7780
8540
|
start_time?: string | null;
|
|
7781
8541
|
status?: string;
|
|
7782
|
-
tenant_id?: string;
|
|
7783
8542
|
updated_at?: string;
|
|
7784
8543
|
user_id?: string;
|
|
7785
8544
|
};
|
|
@@ -7787,13 +8546,13 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
7787
8546
|
foreignKeyName: "leave_requests_monteur_id_fkey";
|
|
7788
8547
|
columns: ["monteur_id"];
|
|
7789
8548
|
isOneToOne: false;
|
|
7790
|
-
referencedRelation: "
|
|
8549
|
+
referencedRelation: "profiles";
|
|
7791
8550
|
referencedColumns: ["id"];
|
|
7792
8551
|
}, {
|
|
7793
8552
|
foreignKeyName: "leave_requests_user_id_fkey";
|
|
7794
8553
|
columns: ["user_id"];
|
|
7795
8554
|
isOneToOne: false;
|
|
7796
|
-
referencedRelation: "
|
|
8555
|
+
referencedRelation: "profiles";
|
|
7797
8556
|
referencedColumns: ["id"];
|
|
7798
8557
|
}];
|
|
7799
8558
|
};
|
|
@@ -8529,6 +9288,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
8529
9288
|
id: string;
|
|
8530
9289
|
last_error: string | null;
|
|
8531
9290
|
last_error_at: string | null;
|
|
9291
|
+
last_error_code: string | null;
|
|
9292
|
+
last_gateway_status: number | null;
|
|
9293
|
+
last_queued_at: string | null;
|
|
9294
|
+
last_response: import("../integrations/supabase/types").Json | null;
|
|
8532
9295
|
last_sent_hash: string | null;
|
|
8533
9296
|
locked_by: string | null;
|
|
8534
9297
|
locked_until: string | null;
|
|
@@ -8549,6 +9312,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
8549
9312
|
id?: string;
|
|
8550
9313
|
last_error?: string | null;
|
|
8551
9314
|
last_error_at?: string | null;
|
|
9315
|
+
last_error_code?: string | null;
|
|
9316
|
+
last_gateway_status?: number | null;
|
|
9317
|
+
last_queued_at?: string | null;
|
|
9318
|
+
last_response?: import("../integrations/supabase/types").Json | null;
|
|
8552
9319
|
last_sent_hash?: string | null;
|
|
8553
9320
|
locked_by?: string | null;
|
|
8554
9321
|
locked_until?: string | null;
|
|
@@ -8569,6 +9336,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
8569
9336
|
id?: string;
|
|
8570
9337
|
last_error?: string | null;
|
|
8571
9338
|
last_error_at?: string | null;
|
|
9339
|
+
last_error_code?: string | null;
|
|
9340
|
+
last_gateway_status?: number | null;
|
|
9341
|
+
last_queued_at?: string | null;
|
|
9342
|
+
last_response?: import("../integrations/supabase/types").Json | null;
|
|
8572
9343
|
last_sent_hash?: string | null;
|
|
8573
9344
|
locked_by?: string | null;
|
|
8574
9345
|
locked_until?: string | null;
|
|
@@ -8661,6 +9432,45 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
8661
9432
|
};
|
|
8662
9433
|
Relationships: [];
|
|
8663
9434
|
};
|
|
9435
|
+
logistics_plan_queue: {
|
|
9436
|
+
Row: {
|
|
9437
|
+
attempts: number;
|
|
9438
|
+
claimed_at: string | null;
|
|
9439
|
+
enqueued_at: string;
|
|
9440
|
+
error: string | null;
|
|
9441
|
+
id: string;
|
|
9442
|
+
next_attempt_at: string;
|
|
9443
|
+
order_id: string;
|
|
9444
|
+
reason: string;
|
|
9445
|
+
status: string;
|
|
9446
|
+
updated_at: string;
|
|
9447
|
+
};
|
|
9448
|
+
Insert: {
|
|
9449
|
+
attempts?: number;
|
|
9450
|
+
claimed_at?: string | null;
|
|
9451
|
+
enqueued_at?: string;
|
|
9452
|
+
error?: string | null;
|
|
9453
|
+
id?: string;
|
|
9454
|
+
next_attempt_at?: string;
|
|
9455
|
+
order_id: string;
|
|
9456
|
+
reason?: string;
|
|
9457
|
+
status?: string;
|
|
9458
|
+
updated_at?: string;
|
|
9459
|
+
};
|
|
9460
|
+
Update: {
|
|
9461
|
+
attempts?: number;
|
|
9462
|
+
claimed_at?: string | null;
|
|
9463
|
+
enqueued_at?: string;
|
|
9464
|
+
error?: string | null;
|
|
9465
|
+
id?: string;
|
|
9466
|
+
next_attempt_at?: string;
|
|
9467
|
+
order_id?: string;
|
|
9468
|
+
reason?: string;
|
|
9469
|
+
status?: string;
|
|
9470
|
+
updated_at?: string;
|
|
9471
|
+
};
|
|
9472
|
+
Relationships: [];
|
|
9473
|
+
};
|
|
8664
9474
|
logistics_plan_runs: {
|
|
8665
9475
|
Row: {
|
|
8666
9476
|
created_at: string;
|
|
@@ -8736,6 +9546,24 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
8736
9546
|
referencedColumns: ["id"];
|
|
8737
9547
|
}];
|
|
8738
9548
|
};
|
|
9549
|
+
logistics_plan_settings: {
|
|
9550
|
+
Row: {
|
|
9551
|
+
key: string;
|
|
9552
|
+
updated_at: string;
|
|
9553
|
+
value: string;
|
|
9554
|
+
};
|
|
9555
|
+
Insert: {
|
|
9556
|
+
key: string;
|
|
9557
|
+
updated_at?: string;
|
|
9558
|
+
value: string;
|
|
9559
|
+
};
|
|
9560
|
+
Update: {
|
|
9561
|
+
key?: string;
|
|
9562
|
+
updated_at?: string;
|
|
9563
|
+
value?: string;
|
|
9564
|
+
};
|
|
9565
|
+
Relationships: [];
|
|
9566
|
+
};
|
|
8739
9567
|
logistics_rebuffer_state: {
|
|
8740
9568
|
Row: {
|
|
8741
9569
|
created_at: string;
|
|
@@ -9804,90 +10632,447 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
9804
10632
|
};
|
|
9805
10633
|
Relationships: [];
|
|
9806
10634
|
};
|
|
9807
|
-
manufacture_product_components: {
|
|
10635
|
+
manufacture_product_components: {
|
|
10636
|
+
Row: {
|
|
10637
|
+
component_type: string;
|
|
10638
|
+
created_at: string;
|
|
10639
|
+
id: string;
|
|
10640
|
+
manufacture_product_id: string;
|
|
10641
|
+
product_group_id: string | null;
|
|
10642
|
+
quantity: number;
|
|
10643
|
+
trade_item_id: string | null;
|
|
10644
|
+
unit: string;
|
|
10645
|
+
};
|
|
10646
|
+
Insert: {
|
|
10647
|
+
component_type: string;
|
|
10648
|
+
created_at?: string;
|
|
10649
|
+
id?: string;
|
|
10650
|
+
manufacture_product_id: string;
|
|
10651
|
+
product_group_id?: string | null;
|
|
10652
|
+
quantity?: number;
|
|
10653
|
+
trade_item_id?: string | null;
|
|
10654
|
+
unit?: string;
|
|
10655
|
+
};
|
|
10656
|
+
Update: {
|
|
10657
|
+
component_type?: string;
|
|
10658
|
+
created_at?: string;
|
|
10659
|
+
id?: string;
|
|
10660
|
+
manufacture_product_id?: string;
|
|
10661
|
+
product_group_id?: string | null;
|
|
10662
|
+
quantity?: number;
|
|
10663
|
+
trade_item_id?: string | null;
|
|
10664
|
+
unit?: string;
|
|
10665
|
+
};
|
|
10666
|
+
Relationships: [{
|
|
10667
|
+
foreignKeyName: "manufacture_product_components_manufacture_product_id_fkey";
|
|
10668
|
+
columns: ["manufacture_product_id"];
|
|
10669
|
+
isOneToOne: false;
|
|
10670
|
+
referencedRelation: "manufacture_product_possible_stock_view";
|
|
10671
|
+
referencedColumns: ["manufacture_product_id"];
|
|
10672
|
+
}, {
|
|
10673
|
+
foreignKeyName: "manufacture_product_components_manufacture_product_id_fkey";
|
|
10674
|
+
columns: ["manufacture_product_id"];
|
|
10675
|
+
isOneToOne: false;
|
|
10676
|
+
referencedRelation: "manufacture_products";
|
|
10677
|
+
referencedColumns: ["id"];
|
|
10678
|
+
}, {
|
|
10679
|
+
foreignKeyName: "manufacture_product_components_product_group_id_fkey";
|
|
10680
|
+
columns: ["product_group_id"];
|
|
10681
|
+
isOneToOne: false;
|
|
10682
|
+
referencedRelation: "product_groups";
|
|
10683
|
+
referencedColumns: ["id"];
|
|
10684
|
+
}];
|
|
10685
|
+
};
|
|
10686
|
+
manufacture_products: {
|
|
10687
|
+
Row: {
|
|
10688
|
+
created_at: string;
|
|
10689
|
+
description: string | null;
|
|
10690
|
+
id: string;
|
|
10691
|
+
is_active: boolean;
|
|
10692
|
+
name: string;
|
|
10693
|
+
produced_stock: number;
|
|
10694
|
+
product_code: string;
|
|
10695
|
+
tenant_id: string;
|
|
10696
|
+
updated_at: string;
|
|
10697
|
+
};
|
|
10698
|
+
Insert: {
|
|
10699
|
+
created_at?: string;
|
|
10700
|
+
description?: string | null;
|
|
10701
|
+
id?: string;
|
|
10702
|
+
is_active?: boolean;
|
|
10703
|
+
name: string;
|
|
10704
|
+
produced_stock?: number;
|
|
10705
|
+
product_code: string;
|
|
10706
|
+
tenant_id: string;
|
|
10707
|
+
updated_at?: string;
|
|
10708
|
+
};
|
|
10709
|
+
Update: {
|
|
10710
|
+
created_at?: string;
|
|
10711
|
+
description?: string | null;
|
|
10712
|
+
id?: string;
|
|
10713
|
+
is_active?: boolean;
|
|
10714
|
+
name?: string;
|
|
10715
|
+
produced_stock?: number;
|
|
10716
|
+
product_code?: string;
|
|
10717
|
+
tenant_id?: string;
|
|
10718
|
+
updated_at?: string;
|
|
10719
|
+
};
|
|
10720
|
+
Relationships: [];
|
|
10721
|
+
};
|
|
10722
|
+
maps_addresses: {
|
|
10723
|
+
Row: {
|
|
10724
|
+
address_hash: string;
|
|
10725
|
+
created_at: string;
|
|
10726
|
+
error_reason: string | null;
|
|
10727
|
+
formatted_address: string | null;
|
|
10728
|
+
id: string;
|
|
10729
|
+
lat: number | null;
|
|
10730
|
+
lng: number | null;
|
|
10731
|
+
place_id: string | null;
|
|
10732
|
+
raw_address: string;
|
|
10733
|
+
resolved_at: string | null;
|
|
10734
|
+
status: string;
|
|
10735
|
+
updated_at: string;
|
|
10736
|
+
};
|
|
10737
|
+
Insert: {
|
|
10738
|
+
address_hash: string;
|
|
10739
|
+
created_at?: string;
|
|
10740
|
+
error_reason?: string | null;
|
|
10741
|
+
formatted_address?: string | null;
|
|
10742
|
+
id?: string;
|
|
10743
|
+
lat?: number | null;
|
|
10744
|
+
lng?: number | null;
|
|
10745
|
+
place_id?: string | null;
|
|
10746
|
+
raw_address: string;
|
|
10747
|
+
resolved_at?: string | null;
|
|
10748
|
+
status?: string;
|
|
10749
|
+
updated_at?: string;
|
|
10750
|
+
};
|
|
10751
|
+
Update: {
|
|
10752
|
+
address_hash?: string;
|
|
10753
|
+
created_at?: string;
|
|
10754
|
+
error_reason?: string | null;
|
|
10755
|
+
formatted_address?: string | null;
|
|
10756
|
+
id?: string;
|
|
10757
|
+
lat?: number | null;
|
|
10758
|
+
lng?: number | null;
|
|
10759
|
+
place_id?: string | null;
|
|
10760
|
+
raw_address?: string;
|
|
10761
|
+
resolved_at?: string | null;
|
|
10762
|
+
status?: string;
|
|
10763
|
+
updated_at?: string;
|
|
10764
|
+
};
|
|
10765
|
+
Relationships: [];
|
|
10766
|
+
};
|
|
10767
|
+
maps_request_queue: {
|
|
10768
|
+
Row: {
|
|
10769
|
+
attempts: number;
|
|
10770
|
+
created_at: string;
|
|
10771
|
+
destination_hash: string | null;
|
|
10772
|
+
id: string;
|
|
10773
|
+
kind: string;
|
|
10774
|
+
last_error: string | null;
|
|
10775
|
+
mode: string;
|
|
10776
|
+
origin_hash: string | null;
|
|
10777
|
+
processed_at: string | null;
|
|
10778
|
+
raw_destination: string | null;
|
|
10779
|
+
raw_origin: string | null;
|
|
10780
|
+
requested_by: string | null;
|
|
10781
|
+
status: string;
|
|
10782
|
+
updated_at: string;
|
|
10783
|
+
};
|
|
10784
|
+
Insert: {
|
|
10785
|
+
attempts?: number;
|
|
10786
|
+
created_at?: string;
|
|
10787
|
+
destination_hash?: string | null;
|
|
10788
|
+
id?: string;
|
|
10789
|
+
kind: string;
|
|
10790
|
+
last_error?: string | null;
|
|
10791
|
+
mode?: string;
|
|
10792
|
+
origin_hash?: string | null;
|
|
10793
|
+
processed_at?: string | null;
|
|
10794
|
+
raw_destination?: string | null;
|
|
10795
|
+
raw_origin?: string | null;
|
|
10796
|
+
requested_by?: string | null;
|
|
10797
|
+
status?: string;
|
|
10798
|
+
updated_at?: string;
|
|
10799
|
+
};
|
|
10800
|
+
Update: {
|
|
10801
|
+
attempts?: number;
|
|
10802
|
+
created_at?: string;
|
|
10803
|
+
destination_hash?: string | null;
|
|
10804
|
+
id?: string;
|
|
10805
|
+
kind?: string;
|
|
10806
|
+
last_error?: string | null;
|
|
10807
|
+
mode?: string;
|
|
10808
|
+
origin_hash?: string | null;
|
|
10809
|
+
processed_at?: string | null;
|
|
10810
|
+
raw_destination?: string | null;
|
|
10811
|
+
raw_origin?: string | null;
|
|
10812
|
+
requested_by?: string | null;
|
|
10813
|
+
status?: string;
|
|
10814
|
+
updated_at?: string;
|
|
10815
|
+
};
|
|
10816
|
+
Relationships: [];
|
|
10817
|
+
};
|
|
10818
|
+
maps_settings: {
|
|
10819
|
+
Row: {
|
|
10820
|
+
allow_estimate_fallback: boolean;
|
|
10821
|
+
cache_ttl_days: number;
|
|
10822
|
+
created_at: string;
|
|
10823
|
+
daily_call_limit: number;
|
|
10824
|
+
id: string;
|
|
10825
|
+
last_error: string | null;
|
|
10826
|
+
last_error_at: string | null;
|
|
10827
|
+
last_success_at: string | null;
|
|
10828
|
+
updated_at: string;
|
|
10829
|
+
};
|
|
10830
|
+
Insert: {
|
|
10831
|
+
allow_estimate_fallback?: boolean;
|
|
10832
|
+
cache_ttl_days?: number;
|
|
10833
|
+
created_at?: string;
|
|
10834
|
+
daily_call_limit?: number;
|
|
10835
|
+
id?: string;
|
|
10836
|
+
last_error?: string | null;
|
|
10837
|
+
last_error_at?: string | null;
|
|
10838
|
+
last_success_at?: string | null;
|
|
10839
|
+
updated_at?: string;
|
|
10840
|
+
};
|
|
10841
|
+
Update: {
|
|
10842
|
+
allow_estimate_fallback?: boolean;
|
|
10843
|
+
cache_ttl_days?: number;
|
|
10844
|
+
created_at?: string;
|
|
10845
|
+
daily_call_limit?: number;
|
|
10846
|
+
id?: string;
|
|
10847
|
+
last_error?: string | null;
|
|
10848
|
+
last_error_at?: string | null;
|
|
10849
|
+
last_success_at?: string | null;
|
|
10850
|
+
updated_at?: string;
|
|
10851
|
+
};
|
|
10852
|
+
Relationships: [];
|
|
10853
|
+
};
|
|
10854
|
+
maps_travel_times: {
|
|
10855
|
+
Row: {
|
|
10856
|
+
created_at: string;
|
|
10857
|
+
destination_id: string;
|
|
10858
|
+
distance_m: number | null;
|
|
10859
|
+
duration_sec: number;
|
|
10860
|
+
expires_at: string;
|
|
10861
|
+
id: string;
|
|
10862
|
+
mode: string;
|
|
10863
|
+
origin_id: string;
|
|
10864
|
+
source: string;
|
|
10865
|
+
updated_at: string;
|
|
10866
|
+
};
|
|
10867
|
+
Insert: {
|
|
10868
|
+
created_at?: string;
|
|
10869
|
+
destination_id: string;
|
|
10870
|
+
distance_m?: number | null;
|
|
10871
|
+
duration_sec: number;
|
|
10872
|
+
expires_at?: string;
|
|
10873
|
+
id?: string;
|
|
10874
|
+
mode?: string;
|
|
10875
|
+
origin_id: string;
|
|
10876
|
+
source?: string;
|
|
10877
|
+
updated_at?: string;
|
|
10878
|
+
};
|
|
10879
|
+
Update: {
|
|
10880
|
+
created_at?: string;
|
|
10881
|
+
destination_id?: string;
|
|
10882
|
+
distance_m?: number | null;
|
|
10883
|
+
duration_sec?: number;
|
|
10884
|
+
expires_at?: string;
|
|
10885
|
+
id?: string;
|
|
10886
|
+
mode?: string;
|
|
10887
|
+
origin_id?: string;
|
|
10888
|
+
source?: string;
|
|
10889
|
+
updated_at?: string;
|
|
10890
|
+
};
|
|
10891
|
+
Relationships: [{
|
|
10892
|
+
foreignKeyName: "maps_travel_times_destination_id_fkey";
|
|
10893
|
+
columns: ["destination_id"];
|
|
10894
|
+
isOneToOne: false;
|
|
10895
|
+
referencedRelation: "maps_addresses";
|
|
10896
|
+
referencedColumns: ["id"];
|
|
10897
|
+
}, {
|
|
10898
|
+
foreignKeyName: "maps_travel_times_origin_id_fkey";
|
|
10899
|
+
columns: ["origin_id"];
|
|
10900
|
+
isOneToOne: false;
|
|
10901
|
+
referencedRelation: "maps_addresses";
|
|
10902
|
+
referencedColumns: ["id"];
|
|
10903
|
+
}];
|
|
10904
|
+
};
|
|
10905
|
+
maps_usage_log: {
|
|
10906
|
+
Row: {
|
|
10907
|
+
cache_hits: number;
|
|
10908
|
+
call_type: string;
|
|
10909
|
+
created_at: string;
|
|
10910
|
+
day: string;
|
|
10911
|
+
detail: string | null;
|
|
10912
|
+
elements: number;
|
|
10913
|
+
id: string;
|
|
10914
|
+
outcome: string;
|
|
10915
|
+
};
|
|
10916
|
+
Insert: {
|
|
10917
|
+
cache_hits?: number;
|
|
10918
|
+
call_type: string;
|
|
10919
|
+
created_at?: string;
|
|
10920
|
+
day?: string;
|
|
10921
|
+
detail?: string | null;
|
|
10922
|
+
elements?: number;
|
|
10923
|
+
id?: string;
|
|
10924
|
+
outcome?: string;
|
|
10925
|
+
};
|
|
10926
|
+
Update: {
|
|
10927
|
+
cache_hits?: number;
|
|
10928
|
+
call_type?: string;
|
|
10929
|
+
created_at?: string;
|
|
10930
|
+
day?: string;
|
|
10931
|
+
detail?: string | null;
|
|
10932
|
+
elements?: number;
|
|
10933
|
+
id?: string;
|
|
10934
|
+
outcome?: string;
|
|
10935
|
+
};
|
|
10936
|
+
Relationships: [];
|
|
10937
|
+
};
|
|
10938
|
+
material_usage: {
|
|
10939
|
+
Row: {
|
|
10940
|
+
created_at: string;
|
|
10941
|
+
id: string;
|
|
10942
|
+
material_name: string;
|
|
10943
|
+
monteur_id: string | null;
|
|
10944
|
+
price_at_time: number;
|
|
10945
|
+
quantity_used: number;
|
|
10946
|
+
updated_at: string;
|
|
10947
|
+
van_inventory_id: string | null;
|
|
10948
|
+
work_order_id: string;
|
|
10949
|
+
};
|
|
10950
|
+
Insert: {
|
|
10951
|
+
created_at?: string;
|
|
10952
|
+
id?: string;
|
|
10953
|
+
material_name: string;
|
|
10954
|
+
monteur_id?: string | null;
|
|
10955
|
+
price_at_time?: number;
|
|
10956
|
+
quantity_used?: number;
|
|
10957
|
+
updated_at?: string;
|
|
10958
|
+
van_inventory_id?: string | null;
|
|
10959
|
+
work_order_id: string;
|
|
10960
|
+
};
|
|
10961
|
+
Update: {
|
|
10962
|
+
created_at?: string;
|
|
10963
|
+
id?: string;
|
|
10964
|
+
material_name?: string;
|
|
10965
|
+
monteur_id?: string | null;
|
|
10966
|
+
price_at_time?: number;
|
|
10967
|
+
quantity_used?: number;
|
|
10968
|
+
updated_at?: string;
|
|
10969
|
+
van_inventory_id?: string | null;
|
|
10970
|
+
work_order_id?: string;
|
|
10971
|
+
};
|
|
10972
|
+
Relationships: [{
|
|
10973
|
+
foreignKeyName: "material_usage_monteur_id_fkey";
|
|
10974
|
+
columns: ["monteur_id"];
|
|
10975
|
+
isOneToOne: false;
|
|
10976
|
+
referencedRelation: "profiles";
|
|
10977
|
+
referencedColumns: ["id"];
|
|
10978
|
+
}, {
|
|
10979
|
+
foreignKeyName: "material_usage_van_inventory_id_fkey";
|
|
10980
|
+
columns: ["van_inventory_id"];
|
|
10981
|
+
isOneToOne: false;
|
|
10982
|
+
referencedRelation: "van_inventories";
|
|
10983
|
+
referencedColumns: ["id"];
|
|
10984
|
+
}, {
|
|
10985
|
+
foreignKeyName: "material_usage_work_order_id_fkey";
|
|
10986
|
+
columns: ["work_order_id"];
|
|
10987
|
+
isOneToOne: false;
|
|
10988
|
+
referencedRelation: "work_orders";
|
|
10989
|
+
referencedColumns: ["id"];
|
|
10990
|
+
}];
|
|
10991
|
+
};
|
|
10992
|
+
medewerker_details: {
|
|
9808
10993
|
Row: {
|
|
9809
|
-
|
|
10994
|
+
color: string | null;
|
|
9810
10995
|
created_at: string;
|
|
10996
|
+
hours_fri: number | null;
|
|
10997
|
+
hours_mon: number | null;
|
|
10998
|
+
hours_thu: number | null;
|
|
10999
|
+
hours_tue: number | null;
|
|
11000
|
+
hours_wed: number | null;
|
|
9811
11001
|
id: string;
|
|
9812
|
-
|
|
9813
|
-
|
|
9814
|
-
|
|
9815
|
-
|
|
9816
|
-
|
|
11002
|
+
is_active: boolean;
|
|
11003
|
+
leave_balance_hours: number;
|
|
11004
|
+
persnr: string | null;
|
|
11005
|
+
phone: string | null;
|
|
11006
|
+
profile_id: string;
|
|
11007
|
+
updated_at: string;
|
|
9817
11008
|
};
|
|
9818
11009
|
Insert: {
|
|
9819
|
-
|
|
11010
|
+
color?: string | null;
|
|
9820
11011
|
created_at?: string;
|
|
11012
|
+
hours_fri?: number | null;
|
|
11013
|
+
hours_mon?: number | null;
|
|
11014
|
+
hours_thu?: number | null;
|
|
11015
|
+
hours_tue?: number | null;
|
|
11016
|
+
hours_wed?: number | null;
|
|
9821
11017
|
id?: string;
|
|
9822
|
-
|
|
9823
|
-
|
|
9824
|
-
|
|
9825
|
-
|
|
9826
|
-
|
|
11018
|
+
is_active?: boolean;
|
|
11019
|
+
leave_balance_hours?: number;
|
|
11020
|
+
persnr?: string | null;
|
|
11021
|
+
phone?: string | null;
|
|
11022
|
+
profile_id: string;
|
|
11023
|
+
updated_at?: string;
|
|
9827
11024
|
};
|
|
9828
11025
|
Update: {
|
|
9829
|
-
|
|
11026
|
+
color?: string | null;
|
|
9830
11027
|
created_at?: string;
|
|
11028
|
+
hours_fri?: number | null;
|
|
11029
|
+
hours_mon?: number | null;
|
|
11030
|
+
hours_thu?: number | null;
|
|
11031
|
+
hours_tue?: number | null;
|
|
11032
|
+
hours_wed?: number | null;
|
|
9831
11033
|
id?: string;
|
|
9832
|
-
|
|
9833
|
-
|
|
9834
|
-
|
|
9835
|
-
|
|
9836
|
-
|
|
11034
|
+
is_active?: boolean;
|
|
11035
|
+
leave_balance_hours?: number;
|
|
11036
|
+
persnr?: string | null;
|
|
11037
|
+
phone?: string | null;
|
|
11038
|
+
profile_id?: string;
|
|
11039
|
+
updated_at?: string;
|
|
9837
11040
|
};
|
|
9838
11041
|
Relationships: [{
|
|
9839
|
-
foreignKeyName: "
|
|
9840
|
-
columns: ["
|
|
9841
|
-
isOneToOne:
|
|
9842
|
-
referencedRelation: "
|
|
9843
|
-
referencedColumns: ["manufacture_product_id"];
|
|
9844
|
-
}, {
|
|
9845
|
-
foreignKeyName: "manufacture_product_components_manufacture_product_id_fkey";
|
|
9846
|
-
columns: ["manufacture_product_id"];
|
|
9847
|
-
isOneToOne: false;
|
|
9848
|
-
referencedRelation: "manufacture_products";
|
|
9849
|
-
referencedColumns: ["id"];
|
|
9850
|
-
}, {
|
|
9851
|
-
foreignKeyName: "manufacture_product_components_product_group_id_fkey";
|
|
9852
|
-
columns: ["product_group_id"];
|
|
9853
|
-
isOneToOne: false;
|
|
9854
|
-
referencedRelation: "product_groups";
|
|
11042
|
+
foreignKeyName: "medewerker_details_profile_id_fkey";
|
|
11043
|
+
columns: ["profile_id"];
|
|
11044
|
+
isOneToOne: true;
|
|
11045
|
+
referencedRelation: "profiles";
|
|
9855
11046
|
referencedColumns: ["id"];
|
|
9856
11047
|
}];
|
|
9857
11048
|
};
|
|
9858
|
-
|
|
11049
|
+
module_features: {
|
|
9859
11050
|
Row: {
|
|
9860
11051
|
created_at: string;
|
|
9861
|
-
|
|
11052
|
+
feature_id: string;
|
|
9862
11053
|
id: string;
|
|
9863
11054
|
is_active: boolean;
|
|
11055
|
+
last_seen_at: string;
|
|
11056
|
+
module_id: string;
|
|
9864
11057
|
name: string;
|
|
9865
|
-
produced_stock: number;
|
|
9866
|
-
product_code: string;
|
|
9867
|
-
tenant_id: string;
|
|
9868
|
-
updated_at: string;
|
|
9869
11058
|
};
|
|
9870
11059
|
Insert: {
|
|
9871
11060
|
created_at?: string;
|
|
9872
|
-
|
|
11061
|
+
feature_id: string;
|
|
9873
11062
|
id?: string;
|
|
9874
11063
|
is_active?: boolean;
|
|
11064
|
+
last_seen_at?: string;
|
|
11065
|
+
module_id: string;
|
|
9875
11066
|
name: string;
|
|
9876
|
-
produced_stock?: number;
|
|
9877
|
-
product_code: string;
|
|
9878
|
-
tenant_id: string;
|
|
9879
|
-
updated_at?: string;
|
|
9880
11067
|
};
|
|
9881
11068
|
Update: {
|
|
9882
11069
|
created_at?: string;
|
|
9883
|
-
|
|
11070
|
+
feature_id?: string;
|
|
9884
11071
|
id?: string;
|
|
9885
11072
|
is_active?: boolean;
|
|
11073
|
+
last_seen_at?: string;
|
|
11074
|
+
module_id?: string;
|
|
9886
11075
|
name?: string;
|
|
9887
|
-
produced_stock?: number;
|
|
9888
|
-
product_code?: string;
|
|
9889
|
-
tenant_id?: string;
|
|
9890
|
-
updated_at?: string;
|
|
9891
11076
|
};
|
|
9892
11077
|
Relationships: [];
|
|
9893
11078
|
};
|
|
@@ -9921,8 +11106,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
9921
11106
|
module_registry: {
|
|
9922
11107
|
Row: {
|
|
9923
11108
|
created_at: string;
|
|
11109
|
+
enforce: boolean;
|
|
9924
11110
|
is_active: boolean;
|
|
9925
11111
|
last_seen_at: string;
|
|
11112
|
+
missing_count: number;
|
|
9926
11113
|
module_id: string;
|
|
9927
11114
|
name: string;
|
|
9928
11115
|
shell_id: string | null;
|
|
@@ -9930,8 +11117,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
9930
11117
|
};
|
|
9931
11118
|
Insert: {
|
|
9932
11119
|
created_at?: string;
|
|
11120
|
+
enforce?: boolean;
|
|
9933
11121
|
is_active?: boolean;
|
|
9934
11122
|
last_seen_at?: string;
|
|
11123
|
+
missing_count?: number;
|
|
9935
11124
|
module_id: string;
|
|
9936
11125
|
name: string;
|
|
9937
11126
|
shell_id?: string | null;
|
|
@@ -9939,8 +11128,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
9939
11128
|
};
|
|
9940
11129
|
Update: {
|
|
9941
11130
|
created_at?: string;
|
|
11131
|
+
enforce?: boolean;
|
|
9942
11132
|
is_active?: boolean;
|
|
9943
11133
|
last_seen_at?: string;
|
|
11134
|
+
missing_count?: number;
|
|
9944
11135
|
module_id?: string;
|
|
9945
11136
|
name?: string;
|
|
9946
11137
|
shell_id?: string | null;
|
|
@@ -9999,63 +11190,6 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
9999
11190
|
};
|
|
10000
11191
|
Relationships: [];
|
|
10001
11192
|
};
|
|
10002
|
-
monteurs: {
|
|
10003
|
-
Row: {
|
|
10004
|
-
avatar_url: string | null;
|
|
10005
|
-
color: string | null;
|
|
10006
|
-
created_at: string;
|
|
10007
|
-
email: string | null;
|
|
10008
|
-
id: string;
|
|
10009
|
-
is_active: boolean;
|
|
10010
|
-
leave_balance_hours: number;
|
|
10011
|
-
name: string;
|
|
10012
|
-
persnr: number | null;
|
|
10013
|
-
phone: string | null;
|
|
10014
|
-
role: string;
|
|
10015
|
-
tenant_id: string;
|
|
10016
|
-
updated_at: string;
|
|
10017
|
-
user_id: string | null;
|
|
10018
|
-
};
|
|
10019
|
-
Insert: {
|
|
10020
|
-
avatar_url?: string | null;
|
|
10021
|
-
color?: string | null;
|
|
10022
|
-
created_at?: string;
|
|
10023
|
-
email?: string | null;
|
|
10024
|
-
id?: string;
|
|
10025
|
-
is_active?: boolean;
|
|
10026
|
-
leave_balance_hours?: number;
|
|
10027
|
-
name: string;
|
|
10028
|
-
persnr?: number | null;
|
|
10029
|
-
phone?: string | null;
|
|
10030
|
-
role?: string;
|
|
10031
|
-
tenant_id: string;
|
|
10032
|
-
updated_at?: string;
|
|
10033
|
-
user_id?: string | null;
|
|
10034
|
-
};
|
|
10035
|
-
Update: {
|
|
10036
|
-
avatar_url?: string | null;
|
|
10037
|
-
color?: string | null;
|
|
10038
|
-
created_at?: string;
|
|
10039
|
-
email?: string | null;
|
|
10040
|
-
id?: string;
|
|
10041
|
-
is_active?: boolean;
|
|
10042
|
-
leave_balance_hours?: number;
|
|
10043
|
-
name?: string;
|
|
10044
|
-
persnr?: number | null;
|
|
10045
|
-
phone?: string | null;
|
|
10046
|
-
role?: string;
|
|
10047
|
-
tenant_id?: string;
|
|
10048
|
-
updated_at?: string;
|
|
10049
|
-
user_id?: string | null;
|
|
10050
|
-
};
|
|
10051
|
-
Relationships: [{
|
|
10052
|
-
foreignKeyName: "monteurs_tenant_id_fkey";
|
|
10053
|
-
columns: ["tenant_id"];
|
|
10054
|
-
isOneToOne: false;
|
|
10055
|
-
referencedRelation: "tenants";
|
|
10056
|
-
referencedColumns: ["id"];
|
|
10057
|
-
}];
|
|
10058
|
-
};
|
|
10059
11193
|
nmbrs_component_mapping: {
|
|
10060
11194
|
Row: {
|
|
10061
11195
|
created_at: string;
|
|
@@ -10126,13 +11260,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
10126
11260
|
nmbrs_employee_number?: string;
|
|
10127
11261
|
updated_at?: string;
|
|
10128
11262
|
};
|
|
10129
|
-
Relationships: [
|
|
10130
|
-
foreignKeyName: "nmbrs_employee_mapping_monteur_id_fkey";
|
|
10131
|
-
columns: ["monteur_id"];
|
|
10132
|
-
isOneToOne: true;
|
|
10133
|
-
referencedRelation: "monteurs";
|
|
10134
|
-
referencedColumns: ["id"];
|
|
10135
|
-
}];
|
|
11263
|
+
Relationships: [];
|
|
10136
11264
|
};
|
|
10137
11265
|
nmbrs_export_lines: {
|
|
10138
11266
|
Row: {
|
|
@@ -10181,12 +11309,6 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
10181
11309
|
wage_code?: string;
|
|
10182
11310
|
};
|
|
10183
11311
|
Relationships: [{
|
|
10184
|
-
foreignKeyName: "nmbrs_export_lines_monteur_id_fkey";
|
|
10185
|
-
columns: ["monteur_id"];
|
|
10186
|
-
isOneToOne: false;
|
|
10187
|
-
referencedRelation: "monteurs";
|
|
10188
|
-
referencedColumns: ["id"];
|
|
10189
|
-
}, {
|
|
10190
11312
|
foreignKeyName: "nmbrs_export_lines_run_id_fkey";
|
|
10191
11313
|
columns: ["run_id"];
|
|
10192
11314
|
isOneToOne: false;
|
|
@@ -11007,6 +12129,48 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
11007
12129
|
};
|
|
11008
12130
|
Relationships: [];
|
|
11009
12131
|
};
|
|
12132
|
+
order_invoice_links: {
|
|
12133
|
+
Row: {
|
|
12134
|
+
administration_code: string | null;
|
|
12135
|
+
attempts: number;
|
|
12136
|
+
created_at: string;
|
|
12137
|
+
error_message: string | null;
|
|
12138
|
+
id: string;
|
|
12139
|
+
invoice_number: string | null;
|
|
12140
|
+
next_attempt_at: string;
|
|
12141
|
+
order_id: string;
|
|
12142
|
+
processed_at: string | null;
|
|
12143
|
+
status: string;
|
|
12144
|
+
updated_at: string;
|
|
12145
|
+
};
|
|
12146
|
+
Insert: {
|
|
12147
|
+
administration_code?: string | null;
|
|
12148
|
+
attempts?: number;
|
|
12149
|
+
created_at?: string;
|
|
12150
|
+
error_message?: string | null;
|
|
12151
|
+
id?: string;
|
|
12152
|
+
invoice_number?: string | null;
|
|
12153
|
+
next_attempt_at?: string;
|
|
12154
|
+
order_id: string;
|
|
12155
|
+
processed_at?: string | null;
|
|
12156
|
+
status?: string;
|
|
12157
|
+
updated_at?: string;
|
|
12158
|
+
};
|
|
12159
|
+
Update: {
|
|
12160
|
+
administration_code?: string | null;
|
|
12161
|
+
attempts?: number;
|
|
12162
|
+
created_at?: string;
|
|
12163
|
+
error_message?: string | null;
|
|
12164
|
+
id?: string;
|
|
12165
|
+
invoice_number?: string | null;
|
|
12166
|
+
next_attempt_at?: string;
|
|
12167
|
+
order_id?: string;
|
|
12168
|
+
processed_at?: string | null;
|
|
12169
|
+
status?: string;
|
|
12170
|
+
updated_at?: string;
|
|
12171
|
+
};
|
|
12172
|
+
Relationships: [];
|
|
12173
|
+
};
|
|
11010
12174
|
order_items: {
|
|
11011
12175
|
Row: {
|
|
11012
12176
|
crates_per_layer: number | null;
|
|
@@ -11181,6 +12345,8 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
11181
12345
|
orders: {
|
|
11182
12346
|
Row: {
|
|
11183
12347
|
buffer_id: string | null;
|
|
12348
|
+
cancel_reason: string | null;
|
|
12349
|
+
cancelled_at: string | null;
|
|
11184
12350
|
created_at: string;
|
|
11185
12351
|
custom_fields: import("../integrations/supabase/types").Json;
|
|
11186
12352
|
customer_id: string | null;
|
|
@@ -11189,6 +12355,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
11189
12355
|
delivery_date: string | null;
|
|
11190
12356
|
floriday_sales_order_id: string | null;
|
|
11191
12357
|
id: string;
|
|
12358
|
+
invoice_due_at: string | null;
|
|
11192
12359
|
is_reservation: boolean;
|
|
11193
12360
|
notes: string | null;
|
|
11194
12361
|
order_date: string;
|
|
@@ -11202,6 +12369,8 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
11202
12369
|
};
|
|
11203
12370
|
Insert: {
|
|
11204
12371
|
buffer_id?: string | null;
|
|
12372
|
+
cancel_reason?: string | null;
|
|
12373
|
+
cancelled_at?: string | null;
|
|
11205
12374
|
created_at?: string;
|
|
11206
12375
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
11207
12376
|
customer_id?: string | null;
|
|
@@ -11210,6 +12379,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
11210
12379
|
delivery_date?: string | null;
|
|
11211
12380
|
floriday_sales_order_id?: string | null;
|
|
11212
12381
|
id?: string;
|
|
12382
|
+
invoice_due_at?: string | null;
|
|
11213
12383
|
is_reservation?: boolean;
|
|
11214
12384
|
notes?: string | null;
|
|
11215
12385
|
order_date?: string;
|
|
@@ -11223,6 +12393,8 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
11223
12393
|
};
|
|
11224
12394
|
Update: {
|
|
11225
12395
|
buffer_id?: string | null;
|
|
12396
|
+
cancel_reason?: string | null;
|
|
12397
|
+
cancelled_at?: string | null;
|
|
11226
12398
|
created_at?: string;
|
|
11227
12399
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
11228
12400
|
customer_id?: string | null;
|
|
@@ -11231,6 +12403,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
11231
12403
|
delivery_date?: string | null;
|
|
11232
12404
|
floriday_sales_order_id?: string | null;
|
|
11233
12405
|
id?: string;
|
|
12406
|
+
invoice_due_at?: string | null;
|
|
11234
12407
|
is_reservation?: boolean;
|
|
11235
12408
|
notes?: string | null;
|
|
11236
12409
|
order_date?: string;
|
|
@@ -12150,6 +13323,27 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
12150
13323
|
referencedColumns: ["id"];
|
|
12151
13324
|
}];
|
|
12152
13325
|
};
|
|
13326
|
+
pick_sync_state: {
|
|
13327
|
+
Row: {
|
|
13328
|
+
id: boolean;
|
|
13329
|
+
last_cleanup_at: string | null;
|
|
13330
|
+
last_sync_at: string | null;
|
|
13331
|
+
updated_at: string;
|
|
13332
|
+
};
|
|
13333
|
+
Insert: {
|
|
13334
|
+
id?: boolean;
|
|
13335
|
+
last_cleanup_at?: string | null;
|
|
13336
|
+
last_sync_at?: string | null;
|
|
13337
|
+
updated_at?: string;
|
|
13338
|
+
};
|
|
13339
|
+
Update: {
|
|
13340
|
+
id?: boolean;
|
|
13341
|
+
last_cleanup_at?: string | null;
|
|
13342
|
+
last_sync_at?: string | null;
|
|
13343
|
+
updated_at?: string;
|
|
13344
|
+
};
|
|
13345
|
+
Relationships: [];
|
|
13346
|
+
};
|
|
12153
13347
|
pick_task_document_types: {
|
|
12154
13348
|
Row: {
|
|
12155
13349
|
created_at: string;
|
|
@@ -12432,6 +13626,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
12432
13626
|
gebruiker_id: string | null;
|
|
12433
13627
|
gebruiker_naam: string;
|
|
12434
13628
|
gestart_op: string | null;
|
|
13629
|
+
herkomst: string | null;
|
|
12435
13630
|
id: string;
|
|
12436
13631
|
idempotentie_sleutel: string | null;
|
|
12437
13632
|
is_herprint: boolean;
|
|
@@ -12461,6 +13656,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
12461
13656
|
gebruiker_id?: string | null;
|
|
12462
13657
|
gebruiker_naam?: string;
|
|
12463
13658
|
gestart_op?: string | null;
|
|
13659
|
+
herkomst?: string | null;
|
|
12464
13660
|
id?: string;
|
|
12465
13661
|
idempotentie_sleutel?: string | null;
|
|
12466
13662
|
is_herprint?: boolean;
|
|
@@ -12490,6 +13686,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
12490
13686
|
gebruiker_id?: string | null;
|
|
12491
13687
|
gebruiker_naam?: string;
|
|
12492
13688
|
gestart_op?: string | null;
|
|
13689
|
+
herkomst?: string | null;
|
|
12493
13690
|
id?: string;
|
|
12494
13691
|
idempotentie_sleutel?: string | null;
|
|
12495
13692
|
is_herprint?: boolean;
|
|
@@ -12505,29 +13702,122 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
12505
13702
|
render_html?: string | null;
|
|
12506
13703
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
12507
13704
|
updated_at?: string;
|
|
12508
|
-
volgende_poging?: string | null;
|
|
12509
|
-
voltooid_op?: string | null;
|
|
13705
|
+
volgende_poging?: string | null;
|
|
13706
|
+
voltooid_op?: string | null;
|
|
13707
|
+
};
|
|
13708
|
+
Relationships: [{
|
|
13709
|
+
foreignKeyName: "print_jobs_agent_id_fkey";
|
|
13710
|
+
columns: ["agent_id"];
|
|
13711
|
+
isOneToOne: false;
|
|
13712
|
+
referencedRelation: "print_agents";
|
|
13713
|
+
referencedColumns: ["id"];
|
|
13714
|
+
}, {
|
|
13715
|
+
foreignKeyName: "print_jobs_layout_id_fkey";
|
|
13716
|
+
columns: ["layout_id"];
|
|
13717
|
+
isOneToOne: false;
|
|
13718
|
+
referencedRelation: "document_layouts";
|
|
13719
|
+
referencedColumns: ["id"];
|
|
13720
|
+
}, {
|
|
13721
|
+
foreignKeyName: "print_jobs_printer_id_fkey";
|
|
13722
|
+
columns: ["printer_id"];
|
|
13723
|
+
isOneToOne: false;
|
|
13724
|
+
referencedRelation: "printers";
|
|
13725
|
+
referencedColumns: ["id"];
|
|
13726
|
+
}];
|
|
13727
|
+
};
|
|
13728
|
+
print_plek_computers: {
|
|
13729
|
+
Row: {
|
|
13730
|
+
computer_naam: string;
|
|
13731
|
+
created_at: string;
|
|
13732
|
+
id: string;
|
|
13733
|
+
print_plek_id: string;
|
|
13734
|
+
updated_at: string;
|
|
13735
|
+
};
|
|
13736
|
+
Insert: {
|
|
13737
|
+
computer_naam: string;
|
|
13738
|
+
created_at?: string;
|
|
13739
|
+
id?: string;
|
|
13740
|
+
print_plek_id: string;
|
|
13741
|
+
updated_at?: string;
|
|
13742
|
+
};
|
|
13743
|
+
Update: {
|
|
13744
|
+
computer_naam?: string;
|
|
13745
|
+
created_at?: string;
|
|
13746
|
+
id?: string;
|
|
13747
|
+
print_plek_id?: string;
|
|
13748
|
+
updated_at?: string;
|
|
13749
|
+
};
|
|
13750
|
+
Relationships: [{
|
|
13751
|
+
foreignKeyName: "print_plek_computers_print_plek_id_fkey";
|
|
13752
|
+
columns: ["print_plek_id"];
|
|
13753
|
+
isOneToOne: false;
|
|
13754
|
+
referencedRelation: "print_plekken";
|
|
13755
|
+
referencedColumns: ["id"];
|
|
13756
|
+
}];
|
|
13757
|
+
};
|
|
13758
|
+
print_plek_koppelingen: {
|
|
13759
|
+
Row: {
|
|
13760
|
+
bron: string;
|
|
13761
|
+
bron_id: string;
|
|
13762
|
+
created_at: string;
|
|
13763
|
+
id: string;
|
|
13764
|
+
label: string | null;
|
|
13765
|
+
print_plek_id: string;
|
|
13766
|
+
updated_at: string;
|
|
13767
|
+
};
|
|
13768
|
+
Insert: {
|
|
13769
|
+
bron: string;
|
|
13770
|
+
bron_id: string;
|
|
13771
|
+
created_at?: string;
|
|
13772
|
+
id?: string;
|
|
13773
|
+
label?: string | null;
|
|
13774
|
+
print_plek_id: string;
|
|
13775
|
+
updated_at?: string;
|
|
13776
|
+
};
|
|
13777
|
+
Update: {
|
|
13778
|
+
bron?: string;
|
|
13779
|
+
bron_id?: string;
|
|
13780
|
+
created_at?: string;
|
|
13781
|
+
id?: string;
|
|
13782
|
+
label?: string | null;
|
|
13783
|
+
print_plek_id?: string;
|
|
13784
|
+
updated_at?: string;
|
|
12510
13785
|
};
|
|
12511
13786
|
Relationships: [{
|
|
12512
|
-
foreignKeyName: "
|
|
12513
|
-
columns: ["
|
|
12514
|
-
isOneToOne: false;
|
|
12515
|
-
referencedRelation: "print_agents";
|
|
12516
|
-
referencedColumns: ["id"];
|
|
12517
|
-
}, {
|
|
12518
|
-
foreignKeyName: "print_jobs_layout_id_fkey";
|
|
12519
|
-
columns: ["layout_id"];
|
|
12520
|
-
isOneToOne: false;
|
|
12521
|
-
referencedRelation: "document_layouts";
|
|
12522
|
-
referencedColumns: ["id"];
|
|
12523
|
-
}, {
|
|
12524
|
-
foreignKeyName: "print_jobs_printer_id_fkey";
|
|
12525
|
-
columns: ["printer_id"];
|
|
13787
|
+
foreignKeyName: "print_plek_koppelingen_print_plek_id_fkey";
|
|
13788
|
+
columns: ["print_plek_id"];
|
|
12526
13789
|
isOneToOne: false;
|
|
12527
|
-
referencedRelation: "
|
|
13790
|
+
referencedRelation: "print_plekken";
|
|
12528
13791
|
referencedColumns: ["id"];
|
|
12529
13792
|
}];
|
|
12530
13793
|
};
|
|
13794
|
+
print_plekken: {
|
|
13795
|
+
Row: {
|
|
13796
|
+
actief: boolean;
|
|
13797
|
+
created_at: string;
|
|
13798
|
+
id: string;
|
|
13799
|
+
naam: string;
|
|
13800
|
+
omschrijving: string | null;
|
|
13801
|
+
updated_at: string;
|
|
13802
|
+
};
|
|
13803
|
+
Insert: {
|
|
13804
|
+
actief?: boolean;
|
|
13805
|
+
created_at?: string;
|
|
13806
|
+
id?: string;
|
|
13807
|
+
naam: string;
|
|
13808
|
+
omschrijving?: string | null;
|
|
13809
|
+
updated_at?: string;
|
|
13810
|
+
};
|
|
13811
|
+
Update: {
|
|
13812
|
+
actief?: boolean;
|
|
13813
|
+
created_at?: string;
|
|
13814
|
+
id?: string;
|
|
13815
|
+
naam?: string;
|
|
13816
|
+
omschrijving?: string | null;
|
|
13817
|
+
updated_at?: string;
|
|
13818
|
+
};
|
|
13819
|
+
Relationships: [];
|
|
13820
|
+
};
|
|
12531
13821
|
print_queue_runners: {
|
|
12532
13822
|
Row: {
|
|
12533
13823
|
actief: boolean;
|
|
@@ -12535,6 +13825,9 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
12535
13825
|
created_at: string;
|
|
12536
13826
|
id: string;
|
|
12537
13827
|
laatst_gezien: string;
|
|
13828
|
+
laatste_fout: string | null;
|
|
13829
|
+
laatste_request_id: number | null;
|
|
13830
|
+
mislukte_posts: number;
|
|
12538
13831
|
tick_sleutel: string;
|
|
12539
13832
|
updated_at: string;
|
|
12540
13833
|
};
|
|
@@ -12544,6 +13837,9 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
12544
13837
|
created_at?: string;
|
|
12545
13838
|
id?: string;
|
|
12546
13839
|
laatst_gezien?: string;
|
|
13840
|
+
laatste_fout?: string | null;
|
|
13841
|
+
laatste_request_id?: number | null;
|
|
13842
|
+
mislukte_posts?: number;
|
|
12547
13843
|
tick_sleutel?: string;
|
|
12548
13844
|
updated_at?: string;
|
|
12549
13845
|
};
|
|
@@ -12553,6 +13849,9 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
12553
13849
|
created_at?: string;
|
|
12554
13850
|
id?: string;
|
|
12555
13851
|
laatst_gezien?: string;
|
|
13852
|
+
laatste_fout?: string | null;
|
|
13853
|
+
laatste_request_id?: number | null;
|
|
13854
|
+
mislukte_posts?: number;
|
|
12556
13855
|
tick_sleutel?: string;
|
|
12557
13856
|
updated_at?: string;
|
|
12558
13857
|
};
|
|
@@ -12746,6 +14045,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
12746
14045
|
created_at: string;
|
|
12747
14046
|
driver: string;
|
|
12748
14047
|
extern_printer_id: string | null;
|
|
14048
|
+
formaten_bijgewerkt_op: string | null;
|
|
12749
14049
|
id: string;
|
|
12750
14050
|
ip_adres: string | null;
|
|
12751
14051
|
laatst_gezien: string | null;
|
|
@@ -12753,6 +14053,8 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
12753
14053
|
merk: string;
|
|
12754
14054
|
naam: string;
|
|
12755
14055
|
omschrijving: string;
|
|
14056
|
+
ondersteunde_formaten: import("../integrations/supabase/types").Json | null;
|
|
14057
|
+
ondersteunde_laden: import("../integrations/supabase/types").Json | null;
|
|
12756
14058
|
online: boolean;
|
|
12757
14059
|
papierformaat: string;
|
|
12758
14060
|
poort: number | null;
|
|
@@ -12768,6 +14070,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
12768
14070
|
created_at?: string;
|
|
12769
14071
|
driver?: string;
|
|
12770
14072
|
extern_printer_id?: string | null;
|
|
14073
|
+
formaten_bijgewerkt_op?: string | null;
|
|
12771
14074
|
id?: string;
|
|
12772
14075
|
ip_adres?: string | null;
|
|
12773
14076
|
laatst_gezien?: string | null;
|
|
@@ -12775,6 +14078,8 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
12775
14078
|
merk?: string;
|
|
12776
14079
|
naam: string;
|
|
12777
14080
|
omschrijving?: string;
|
|
14081
|
+
ondersteunde_formaten?: import("../integrations/supabase/types").Json | null;
|
|
14082
|
+
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
12778
14083
|
online?: boolean;
|
|
12779
14084
|
papierformaat?: string;
|
|
12780
14085
|
poort?: number | null;
|
|
@@ -12790,6 +14095,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
12790
14095
|
created_at?: string;
|
|
12791
14096
|
driver?: string;
|
|
12792
14097
|
extern_printer_id?: string | null;
|
|
14098
|
+
formaten_bijgewerkt_op?: string | null;
|
|
12793
14099
|
id?: string;
|
|
12794
14100
|
ip_adres?: string | null;
|
|
12795
14101
|
laatst_gezien?: string | null;
|
|
@@ -12797,6 +14103,8 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
12797
14103
|
merk?: string;
|
|
12798
14104
|
naam?: string;
|
|
12799
14105
|
omschrijving?: string;
|
|
14106
|
+
ondersteunde_formaten?: import("../integrations/supabase/types").Json | null;
|
|
14107
|
+
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
12800
14108
|
online?: boolean;
|
|
12801
14109
|
papierformaat?: string;
|
|
12802
14110
|
poort?: number | null;
|
|
@@ -13275,6 +14583,66 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
13275
14583
|
};
|
|
13276
14584
|
Relationships: [];
|
|
13277
14585
|
};
|
|
14586
|
+
profile_modules: {
|
|
14587
|
+
Row: {
|
|
14588
|
+
created_at: string;
|
|
14589
|
+
id: string;
|
|
14590
|
+
module_id: string;
|
|
14591
|
+
profile_id: string;
|
|
14592
|
+
};
|
|
14593
|
+
Insert: {
|
|
14594
|
+
created_at?: string;
|
|
14595
|
+
id?: string;
|
|
14596
|
+
module_id: string;
|
|
14597
|
+
profile_id: string;
|
|
14598
|
+
};
|
|
14599
|
+
Update: {
|
|
14600
|
+
created_at?: string;
|
|
14601
|
+
id?: string;
|
|
14602
|
+
module_id?: string;
|
|
14603
|
+
profile_id?: string;
|
|
14604
|
+
};
|
|
14605
|
+
Relationships: [{
|
|
14606
|
+
foreignKeyName: "profile_modules_profile_id_fkey";
|
|
14607
|
+
columns: ["profile_id"];
|
|
14608
|
+
isOneToOne: false;
|
|
14609
|
+
referencedRelation: "profiles_org";
|
|
14610
|
+
referencedColumns: ["id"];
|
|
14611
|
+
}];
|
|
14612
|
+
};
|
|
14613
|
+
profile_roles: {
|
|
14614
|
+
Row: {
|
|
14615
|
+
created_at: string;
|
|
14616
|
+
id: string;
|
|
14617
|
+
profile_id: string;
|
|
14618
|
+
role_id: string;
|
|
14619
|
+
};
|
|
14620
|
+
Insert: {
|
|
14621
|
+
created_at?: string;
|
|
14622
|
+
id?: string;
|
|
14623
|
+
profile_id: string;
|
|
14624
|
+
role_id: string;
|
|
14625
|
+
};
|
|
14626
|
+
Update: {
|
|
14627
|
+
created_at?: string;
|
|
14628
|
+
id?: string;
|
|
14629
|
+
profile_id?: string;
|
|
14630
|
+
role_id?: string;
|
|
14631
|
+
};
|
|
14632
|
+
Relationships: [{
|
|
14633
|
+
foreignKeyName: "profile_roles_profile_id_fkey";
|
|
14634
|
+
columns: ["profile_id"];
|
|
14635
|
+
isOneToOne: false;
|
|
14636
|
+
referencedRelation: "profiles_org";
|
|
14637
|
+
referencedColumns: ["id"];
|
|
14638
|
+
}, {
|
|
14639
|
+
foreignKeyName: "profile_roles_role_id_fkey";
|
|
14640
|
+
columns: ["role_id"];
|
|
14641
|
+
isOneToOne: false;
|
|
14642
|
+
referencedRelation: "roles";
|
|
14643
|
+
referencedColumns: ["id"];
|
|
14644
|
+
}];
|
|
14645
|
+
};
|
|
13278
14646
|
profiles: {
|
|
13279
14647
|
Row: {
|
|
13280
14648
|
address: string | null;
|
|
@@ -13320,6 +14688,39 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
13320
14688
|
referencedColumns: ["id"];
|
|
13321
14689
|
}];
|
|
13322
14690
|
};
|
|
14691
|
+
profiles_org: {
|
|
14692
|
+
Row: {
|
|
14693
|
+
created_at: string;
|
|
14694
|
+
id: string;
|
|
14695
|
+
is_default: boolean;
|
|
14696
|
+
name: string;
|
|
14697
|
+
tenant_id: string | null;
|
|
14698
|
+
updated_at: string;
|
|
14699
|
+
};
|
|
14700
|
+
Insert: {
|
|
14701
|
+
created_at?: string;
|
|
14702
|
+
id?: string;
|
|
14703
|
+
is_default?: boolean;
|
|
14704
|
+
name: string;
|
|
14705
|
+
tenant_id?: string | null;
|
|
14706
|
+
updated_at?: string;
|
|
14707
|
+
};
|
|
14708
|
+
Update: {
|
|
14709
|
+
created_at?: string;
|
|
14710
|
+
id?: string;
|
|
14711
|
+
is_default?: boolean;
|
|
14712
|
+
name?: string;
|
|
14713
|
+
tenant_id?: string | null;
|
|
14714
|
+
updated_at?: string;
|
|
14715
|
+
};
|
|
14716
|
+
Relationships: [{
|
|
14717
|
+
foreignKeyName: "profiles_org_tenant_id_fkey";
|
|
14718
|
+
columns: ["tenant_id"];
|
|
14719
|
+
isOneToOne: false;
|
|
14720
|
+
referencedRelation: "tenants";
|
|
14721
|
+
referencedColumns: ["id"];
|
|
14722
|
+
}];
|
|
14723
|
+
};
|
|
13323
14724
|
projects: {
|
|
13324
14725
|
Row: {
|
|
13325
14726
|
contact_name: string | null;
|
|
@@ -14061,6 +15462,96 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
14061
15462
|
referencedColumns: ["id"];
|
|
14062
15463
|
}];
|
|
14063
15464
|
};
|
|
15465
|
+
role_assignments: {
|
|
15466
|
+
Row: {
|
|
15467
|
+
created_at: string;
|
|
15468
|
+
id: string;
|
|
15469
|
+
role_id: string;
|
|
15470
|
+
user_id: string;
|
|
15471
|
+
};
|
|
15472
|
+
Insert: {
|
|
15473
|
+
created_at?: string;
|
|
15474
|
+
id?: string;
|
|
15475
|
+
role_id: string;
|
|
15476
|
+
user_id: string;
|
|
15477
|
+
};
|
|
15478
|
+
Update: {
|
|
15479
|
+
created_at?: string;
|
|
15480
|
+
id?: string;
|
|
15481
|
+
role_id?: string;
|
|
15482
|
+
user_id?: string;
|
|
15483
|
+
};
|
|
15484
|
+
Relationships: [{
|
|
15485
|
+
foreignKeyName: "role_assignments_role_id_fkey";
|
|
15486
|
+
columns: ["role_id"];
|
|
15487
|
+
isOneToOne: false;
|
|
15488
|
+
referencedRelation: "roles";
|
|
15489
|
+
referencedColumns: ["id"];
|
|
15490
|
+
}];
|
|
15491
|
+
};
|
|
15492
|
+
role_permissions: {
|
|
15493
|
+
Row: {
|
|
15494
|
+
can_edit: boolean;
|
|
15495
|
+
can_view: boolean;
|
|
15496
|
+
feature_id: string;
|
|
15497
|
+
id: string;
|
|
15498
|
+
module_id: string;
|
|
15499
|
+
role_id: string;
|
|
15500
|
+
updated_at: string;
|
|
15501
|
+
};
|
|
15502
|
+
Insert: {
|
|
15503
|
+
can_edit?: boolean;
|
|
15504
|
+
can_view?: boolean;
|
|
15505
|
+
feature_id?: string;
|
|
15506
|
+
id?: string;
|
|
15507
|
+
module_id: string;
|
|
15508
|
+
role_id: string;
|
|
15509
|
+
updated_at?: string;
|
|
15510
|
+
};
|
|
15511
|
+
Update: {
|
|
15512
|
+
can_edit?: boolean;
|
|
15513
|
+
can_view?: boolean;
|
|
15514
|
+
feature_id?: string;
|
|
15515
|
+
id?: string;
|
|
15516
|
+
module_id?: string;
|
|
15517
|
+
role_id?: string;
|
|
15518
|
+
updated_at?: string;
|
|
15519
|
+
};
|
|
15520
|
+
Relationships: [{
|
|
15521
|
+
foreignKeyName: "role_permissions_role_id_fkey";
|
|
15522
|
+
columns: ["role_id"];
|
|
15523
|
+
isOneToOne: false;
|
|
15524
|
+
referencedRelation: "roles";
|
|
15525
|
+
referencedColumns: ["id"];
|
|
15526
|
+
}];
|
|
15527
|
+
};
|
|
15528
|
+
roles: {
|
|
15529
|
+
Row: {
|
|
15530
|
+
created_at: string;
|
|
15531
|
+
id: string;
|
|
15532
|
+
is_protected: boolean;
|
|
15533
|
+
key: string;
|
|
15534
|
+
name: string;
|
|
15535
|
+
updated_at: string;
|
|
15536
|
+
};
|
|
15537
|
+
Insert: {
|
|
15538
|
+
created_at?: string;
|
|
15539
|
+
id?: string;
|
|
15540
|
+
is_protected?: boolean;
|
|
15541
|
+
key: string;
|
|
15542
|
+
name: string;
|
|
15543
|
+
updated_at?: string;
|
|
15544
|
+
};
|
|
15545
|
+
Update: {
|
|
15546
|
+
created_at?: string;
|
|
15547
|
+
id?: string;
|
|
15548
|
+
is_protected?: boolean;
|
|
15549
|
+
key?: string;
|
|
15550
|
+
name?: string;
|
|
15551
|
+
updated_at?: string;
|
|
15552
|
+
};
|
|
15553
|
+
Relationships: [];
|
|
15554
|
+
};
|
|
14064
15555
|
rooms: {
|
|
14065
15556
|
Row: {
|
|
14066
15557
|
capacity: number;
|
|
@@ -14404,6 +15895,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
14404
15895
|
type: string;
|
|
14405
15896
|
updated_at: string;
|
|
14406
15897
|
vereist_medewerker: boolean;
|
|
15898
|
+
werkplek: string | null;
|
|
14407
15899
|
};
|
|
14408
15900
|
Insert: {
|
|
14409
15901
|
actief?: boolean;
|
|
@@ -14417,6 +15909,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
14417
15909
|
type?: string;
|
|
14418
15910
|
updated_at?: string;
|
|
14419
15911
|
vereist_medewerker?: boolean;
|
|
15912
|
+
werkplek?: string | null;
|
|
14420
15913
|
};
|
|
14421
15914
|
Update: {
|
|
14422
15915
|
actief?: boolean;
|
|
@@ -14430,9 +15923,46 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
14430
15923
|
type?: string;
|
|
14431
15924
|
updated_at?: string;
|
|
14432
15925
|
vereist_medewerker?: boolean;
|
|
15926
|
+
werkplek?: string | null;
|
|
14433
15927
|
};
|
|
14434
15928
|
Relationships: [];
|
|
14435
15929
|
};
|
|
15930
|
+
sick_periods: {
|
|
15931
|
+
Row: {
|
|
15932
|
+
created_at: string;
|
|
15933
|
+
employee_id: string;
|
|
15934
|
+
end_date: string | null;
|
|
15935
|
+
id: string;
|
|
15936
|
+
notes: string | null;
|
|
15937
|
+
start_date: string;
|
|
15938
|
+
updated_at: string;
|
|
15939
|
+
};
|
|
15940
|
+
Insert: {
|
|
15941
|
+
created_at?: string;
|
|
15942
|
+
employee_id: string;
|
|
15943
|
+
end_date?: string | null;
|
|
15944
|
+
id?: string;
|
|
15945
|
+
notes?: string | null;
|
|
15946
|
+
start_date: string;
|
|
15947
|
+
updated_at?: string;
|
|
15948
|
+
};
|
|
15949
|
+
Update: {
|
|
15950
|
+
created_at?: string;
|
|
15951
|
+
employee_id?: string;
|
|
15952
|
+
end_date?: string | null;
|
|
15953
|
+
id?: string;
|
|
15954
|
+
notes?: string | null;
|
|
15955
|
+
start_date?: string;
|
|
15956
|
+
updated_at?: string;
|
|
15957
|
+
};
|
|
15958
|
+
Relationships: [{
|
|
15959
|
+
foreignKeyName: "sick_periods_employee_id_fkey";
|
|
15960
|
+
columns: ["employee_id"];
|
|
15961
|
+
isOneToOne: false;
|
|
15962
|
+
referencedRelation: "profiles";
|
|
15963
|
+
referencedColumns: ["id"];
|
|
15964
|
+
}];
|
|
15965
|
+
};
|
|
14436
15966
|
sidebar_config: {
|
|
14437
15967
|
Row: {
|
|
14438
15968
|
id: string;
|
|
@@ -14446,7 +15976,46 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
14446
15976
|
};
|
|
14447
15977
|
Update: {
|
|
14448
15978
|
id?: string;
|
|
14449
|
-
module_order?: string[];
|
|
15979
|
+
module_order?: string[];
|
|
15980
|
+
updated_at?: string;
|
|
15981
|
+
};
|
|
15982
|
+
Relationships: [];
|
|
15983
|
+
};
|
|
15984
|
+
stock_consumption_alerts: {
|
|
15985
|
+
Row: {
|
|
15986
|
+
alert_type: string;
|
|
15987
|
+
created_at: string;
|
|
15988
|
+
id: string;
|
|
15989
|
+
mutation_log_id: string | null;
|
|
15990
|
+
order_id: string | null;
|
|
15991
|
+
order_item_id: string | null;
|
|
15992
|
+
qty: number;
|
|
15993
|
+
reason: string | null;
|
|
15994
|
+
resolved_at: string | null;
|
|
15995
|
+
updated_at: string;
|
|
15996
|
+
};
|
|
15997
|
+
Insert: {
|
|
15998
|
+
alert_type: string;
|
|
15999
|
+
created_at?: string;
|
|
16000
|
+
id?: string;
|
|
16001
|
+
mutation_log_id?: string | null;
|
|
16002
|
+
order_id?: string | null;
|
|
16003
|
+
order_item_id?: string | null;
|
|
16004
|
+
qty?: number;
|
|
16005
|
+
reason?: string | null;
|
|
16006
|
+
resolved_at?: string | null;
|
|
16007
|
+
updated_at?: string;
|
|
16008
|
+
};
|
|
16009
|
+
Update: {
|
|
16010
|
+
alert_type?: string;
|
|
16011
|
+
created_at?: string;
|
|
16012
|
+
id?: string;
|
|
16013
|
+
mutation_log_id?: string | null;
|
|
16014
|
+
order_id?: string | null;
|
|
16015
|
+
order_item_id?: string | null;
|
|
16016
|
+
qty?: number;
|
|
16017
|
+
reason?: string | null;
|
|
16018
|
+
resolved_at?: string | null;
|
|
14450
16019
|
updated_at?: string;
|
|
14451
16020
|
};
|
|
14452
16021
|
Relationships: [];
|
|
@@ -14730,6 +16299,54 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
14730
16299
|
};
|
|
14731
16300
|
Relationships: [];
|
|
14732
16301
|
};
|
|
16302
|
+
time_compensation_entries: {
|
|
16303
|
+
Row: {
|
|
16304
|
+
created_at: string;
|
|
16305
|
+
employee_id: string;
|
|
16306
|
+
entry_date: string;
|
|
16307
|
+
id: string;
|
|
16308
|
+
km: number;
|
|
16309
|
+
meal_allowance: number;
|
|
16310
|
+
notes: string | null;
|
|
16311
|
+
standby_evening: number;
|
|
16312
|
+
standby_weekend: number;
|
|
16313
|
+
tvt_change: number;
|
|
16314
|
+
updated_at: string;
|
|
16315
|
+
};
|
|
16316
|
+
Insert: {
|
|
16317
|
+
created_at?: string;
|
|
16318
|
+
employee_id: string;
|
|
16319
|
+
entry_date: string;
|
|
16320
|
+
id?: string;
|
|
16321
|
+
km?: number;
|
|
16322
|
+
meal_allowance?: number;
|
|
16323
|
+
notes?: string | null;
|
|
16324
|
+
standby_evening?: number;
|
|
16325
|
+
standby_weekend?: number;
|
|
16326
|
+
tvt_change?: number;
|
|
16327
|
+
updated_at?: string;
|
|
16328
|
+
};
|
|
16329
|
+
Update: {
|
|
16330
|
+
created_at?: string;
|
|
16331
|
+
employee_id?: string;
|
|
16332
|
+
entry_date?: string;
|
|
16333
|
+
id?: string;
|
|
16334
|
+
km?: number;
|
|
16335
|
+
meal_allowance?: number;
|
|
16336
|
+
notes?: string | null;
|
|
16337
|
+
standby_evening?: number;
|
|
16338
|
+
standby_weekend?: number;
|
|
16339
|
+
tvt_change?: number;
|
|
16340
|
+
updated_at?: string;
|
|
16341
|
+
};
|
|
16342
|
+
Relationships: [{
|
|
16343
|
+
foreignKeyName: "time_compensation_entries_employee_id_fkey";
|
|
16344
|
+
columns: ["employee_id"];
|
|
16345
|
+
isOneToOne: false;
|
|
16346
|
+
referencedRelation: "profiles";
|
|
16347
|
+
referencedColumns: ["id"];
|
|
16348
|
+
}];
|
|
16349
|
+
};
|
|
14733
16350
|
time_entries: {
|
|
14734
16351
|
Row: {
|
|
14735
16352
|
created_at: string;
|
|
@@ -14764,65 +16381,170 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
14764
16381
|
undertime?: number;
|
|
14765
16382
|
updated_at?: string;
|
|
14766
16383
|
};
|
|
16384
|
+
Relationships: [];
|
|
16385
|
+
};
|
|
16386
|
+
time_log_week_approvals: {
|
|
16387
|
+
Row: {
|
|
16388
|
+
approved_at: string | null;
|
|
16389
|
+
approved_by: string | null;
|
|
16390
|
+
created_at: string;
|
|
16391
|
+
employee_id: string;
|
|
16392
|
+
id: string;
|
|
16393
|
+
locked: boolean;
|
|
16394
|
+
notes: string | null;
|
|
16395
|
+
status: string;
|
|
16396
|
+
submitted_at: string | null;
|
|
16397
|
+
updated_at: string;
|
|
16398
|
+
week_start: string;
|
|
16399
|
+
};
|
|
16400
|
+
Insert: {
|
|
16401
|
+
approved_at?: string | null;
|
|
16402
|
+
approved_by?: string | null;
|
|
16403
|
+
created_at?: string;
|
|
16404
|
+
employee_id: string;
|
|
16405
|
+
id?: string;
|
|
16406
|
+
locked?: boolean;
|
|
16407
|
+
notes?: string | null;
|
|
16408
|
+
status?: string;
|
|
16409
|
+
submitted_at?: string | null;
|
|
16410
|
+
updated_at?: string;
|
|
16411
|
+
week_start: string;
|
|
16412
|
+
};
|
|
16413
|
+
Update: {
|
|
16414
|
+
approved_at?: string | null;
|
|
16415
|
+
approved_by?: string | null;
|
|
16416
|
+
created_at?: string;
|
|
16417
|
+
employee_id?: string;
|
|
16418
|
+
id?: string;
|
|
16419
|
+
locked?: boolean;
|
|
16420
|
+
notes?: string | null;
|
|
16421
|
+
status?: string;
|
|
16422
|
+
submitted_at?: string | null;
|
|
16423
|
+
updated_at?: string;
|
|
16424
|
+
week_start?: string;
|
|
16425
|
+
};
|
|
14767
16426
|
Relationships: [{
|
|
14768
|
-
foreignKeyName: "
|
|
16427
|
+
foreignKeyName: "time_log_week_approvals_employee_id_fkey";
|
|
14769
16428
|
columns: ["employee_id"];
|
|
14770
16429
|
isOneToOne: false;
|
|
14771
|
-
referencedRelation: "
|
|
16430
|
+
referencedRelation: "profiles";
|
|
14772
16431
|
referencedColumns: ["id"];
|
|
14773
16432
|
}];
|
|
14774
16433
|
};
|
|
14775
16434
|
time_logs: {
|
|
14776
16435
|
Row: {
|
|
16436
|
+
auto_stop_reason: string | null;
|
|
16437
|
+
auto_stopped: boolean;
|
|
14777
16438
|
created_at: string;
|
|
16439
|
+
current_latitude: number | null;
|
|
16440
|
+
current_longitude: number | null;
|
|
16441
|
+
current_position_updated_at: string | null;
|
|
14778
16442
|
employee_id: string;
|
|
16443
|
+
end_latitude: number | null;
|
|
16444
|
+
end_longitude: number | null;
|
|
14779
16445
|
end_time: string | null;
|
|
16446
|
+
eta_distance_km: number | null;
|
|
16447
|
+
eta_minutes: number | null;
|
|
16448
|
+
eta_updated_at: string | null;
|
|
16449
|
+
hour_category: string | null;
|
|
14780
16450
|
id: string;
|
|
16451
|
+
last_reminder_at: string | null;
|
|
14781
16452
|
notes: string | null;
|
|
14782
16453
|
overtime_hours: number;
|
|
14783
16454
|
overtime_type: string | null;
|
|
14784
16455
|
regular_hours: number;
|
|
16456
|
+
reminder_count: number;
|
|
16457
|
+
requires_review: boolean;
|
|
16458
|
+
start_latitude: number | null;
|
|
16459
|
+
start_longitude: number | null;
|
|
14785
16460
|
start_time: string;
|
|
14786
16461
|
travel_cost: number | null;
|
|
14787
16462
|
travel_distance_km: number | null;
|
|
16463
|
+
travel_duration_min: number | null;
|
|
16464
|
+
travel_time_minutes: number | null;
|
|
14788
16465
|
type: string;
|
|
14789
16466
|
updated_at: string;
|
|
16467
|
+
work_order_id: string | null;
|
|
14790
16468
|
};
|
|
14791
16469
|
Insert: {
|
|
16470
|
+
auto_stop_reason?: string | null;
|
|
16471
|
+
auto_stopped?: boolean;
|
|
14792
16472
|
created_at?: string;
|
|
16473
|
+
current_latitude?: number | null;
|
|
16474
|
+
current_longitude?: number | null;
|
|
16475
|
+
current_position_updated_at?: string | null;
|
|
14793
16476
|
employee_id: string;
|
|
16477
|
+
end_latitude?: number | null;
|
|
16478
|
+
end_longitude?: number | null;
|
|
14794
16479
|
end_time?: string | null;
|
|
16480
|
+
eta_distance_km?: number | null;
|
|
16481
|
+
eta_minutes?: number | null;
|
|
16482
|
+
eta_updated_at?: string | null;
|
|
16483
|
+
hour_category?: string | null;
|
|
14795
16484
|
id?: string;
|
|
16485
|
+
last_reminder_at?: string | null;
|
|
14796
16486
|
notes?: string | null;
|
|
14797
16487
|
overtime_hours?: number;
|
|
14798
16488
|
overtime_type?: string | null;
|
|
14799
16489
|
regular_hours?: number;
|
|
16490
|
+
reminder_count?: number;
|
|
16491
|
+
requires_review?: boolean;
|
|
16492
|
+
start_latitude?: number | null;
|
|
16493
|
+
start_longitude?: number | null;
|
|
14800
16494
|
start_time?: string;
|
|
14801
16495
|
travel_cost?: number | null;
|
|
14802
16496
|
travel_distance_km?: number | null;
|
|
16497
|
+
travel_duration_min?: number | null;
|
|
16498
|
+
travel_time_minutes?: number | null;
|
|
14803
16499
|
type: string;
|
|
14804
16500
|
updated_at?: string;
|
|
16501
|
+
work_order_id?: string | null;
|
|
14805
16502
|
};
|
|
14806
16503
|
Update: {
|
|
16504
|
+
auto_stop_reason?: string | null;
|
|
16505
|
+
auto_stopped?: boolean;
|
|
14807
16506
|
created_at?: string;
|
|
16507
|
+
current_latitude?: number | null;
|
|
16508
|
+
current_longitude?: number | null;
|
|
16509
|
+
current_position_updated_at?: string | null;
|
|
14808
16510
|
employee_id?: string;
|
|
16511
|
+
end_latitude?: number | null;
|
|
16512
|
+
end_longitude?: number | null;
|
|
14809
16513
|
end_time?: string | null;
|
|
16514
|
+
eta_distance_km?: number | null;
|
|
16515
|
+
eta_minutes?: number | null;
|
|
16516
|
+
eta_updated_at?: string | null;
|
|
16517
|
+
hour_category?: string | null;
|
|
14810
16518
|
id?: string;
|
|
16519
|
+
last_reminder_at?: string | null;
|
|
14811
16520
|
notes?: string | null;
|
|
14812
16521
|
overtime_hours?: number;
|
|
14813
16522
|
overtime_type?: string | null;
|
|
14814
16523
|
regular_hours?: number;
|
|
16524
|
+
reminder_count?: number;
|
|
16525
|
+
requires_review?: boolean;
|
|
16526
|
+
start_latitude?: number | null;
|
|
16527
|
+
start_longitude?: number | null;
|
|
14815
16528
|
start_time?: string;
|
|
14816
16529
|
travel_cost?: number | null;
|
|
14817
16530
|
travel_distance_km?: number | null;
|
|
16531
|
+
travel_duration_min?: number | null;
|
|
16532
|
+
travel_time_minutes?: number | null;
|
|
14818
16533
|
type?: string;
|
|
14819
16534
|
updated_at?: string;
|
|
16535
|
+
work_order_id?: string | null;
|
|
14820
16536
|
};
|
|
14821
16537
|
Relationships: [{
|
|
14822
16538
|
foreignKeyName: "time_logs_employee_id_fkey";
|
|
14823
16539
|
columns: ["employee_id"];
|
|
14824
16540
|
isOneToOne: false;
|
|
14825
|
-
referencedRelation: "
|
|
16541
|
+
referencedRelation: "profiles";
|
|
16542
|
+
referencedColumns: ["id"];
|
|
16543
|
+
}, {
|
|
16544
|
+
foreignKeyName: "time_logs_work_order_id_fkey";
|
|
16545
|
+
columns: ["work_order_id"];
|
|
16546
|
+
isOneToOne: false;
|
|
16547
|
+
referencedRelation: "work_orders";
|
|
14826
16548
|
referencedColumns: ["id"];
|
|
14827
16549
|
}];
|
|
14828
16550
|
};
|
|
@@ -14861,7 +16583,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
14861
16583
|
foreignKeyName: "time_off_entries_employee_id_fkey";
|
|
14862
16584
|
columns: ["employee_id"];
|
|
14863
16585
|
isOneToOne: false;
|
|
14864
|
-
referencedRelation: "
|
|
16586
|
+
referencedRelation: "profiles";
|
|
14865
16587
|
referencedColumns: ["id"];
|
|
14866
16588
|
}];
|
|
14867
16589
|
};
|
|
@@ -15110,12 +16832,16 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
15110
16832
|
company_name: string | null;
|
|
15111
16833
|
connected_at: string | null;
|
|
15112
16834
|
created_at: string;
|
|
16835
|
+
disconnected_at: string | null;
|
|
15113
16836
|
environment: string;
|
|
15114
16837
|
id: string;
|
|
16838
|
+
initial_sync_completed_at: string | null;
|
|
16839
|
+
initial_sync_started_at: string | null;
|
|
15115
16840
|
is_active: boolean;
|
|
15116
16841
|
label: string | null;
|
|
15117
16842
|
office_code: string | null;
|
|
15118
16843
|
redirect_uri: string | null;
|
|
16844
|
+
superseded_at: string | null;
|
|
15119
16845
|
updated_at: string;
|
|
15120
16846
|
user_id: string;
|
|
15121
16847
|
};
|
|
@@ -15126,12 +16852,16 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
15126
16852
|
company_name?: string | null;
|
|
15127
16853
|
connected_at?: string | null;
|
|
15128
16854
|
created_at?: string;
|
|
16855
|
+
disconnected_at?: string | null;
|
|
15129
16856
|
environment: string;
|
|
15130
16857
|
id?: string;
|
|
16858
|
+
initial_sync_completed_at?: string | null;
|
|
16859
|
+
initial_sync_started_at?: string | null;
|
|
15131
16860
|
is_active?: boolean;
|
|
15132
16861
|
label?: string | null;
|
|
15133
16862
|
office_code?: string | null;
|
|
15134
16863
|
redirect_uri?: string | null;
|
|
16864
|
+
superseded_at?: string | null;
|
|
15135
16865
|
updated_at?: string;
|
|
15136
16866
|
user_id: string;
|
|
15137
16867
|
};
|
|
@@ -15142,12 +16872,16 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
15142
16872
|
company_name?: string | null;
|
|
15143
16873
|
connected_at?: string | null;
|
|
15144
16874
|
created_at?: string;
|
|
16875
|
+
disconnected_at?: string | null;
|
|
15145
16876
|
environment?: string;
|
|
15146
16877
|
id?: string;
|
|
16878
|
+
initial_sync_completed_at?: string | null;
|
|
16879
|
+
initial_sync_started_at?: string | null;
|
|
15147
16880
|
is_active?: boolean;
|
|
15148
16881
|
label?: string | null;
|
|
15149
16882
|
office_code?: string | null;
|
|
15150
16883
|
redirect_uri?: string | null;
|
|
16884
|
+
superseded_at?: string | null;
|
|
15151
16885
|
updated_at?: string;
|
|
15152
16886
|
user_id?: string;
|
|
15153
16887
|
};
|
|
@@ -15171,9 +16905,43 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
15171
16905
|
};
|
|
15172
16906
|
Relationships: [];
|
|
15173
16907
|
};
|
|
16908
|
+
twinfield_cron_locks: {
|
|
16909
|
+
Row: {
|
|
16910
|
+
created_at: string;
|
|
16911
|
+
heartbeat_at: string;
|
|
16912
|
+
job_name: string;
|
|
16913
|
+
last_error: string | null;
|
|
16914
|
+
last_finished_at: string | null;
|
|
16915
|
+
locked_at: string;
|
|
16916
|
+
run_id: string;
|
|
16917
|
+
updated_at: string;
|
|
16918
|
+
};
|
|
16919
|
+
Insert: {
|
|
16920
|
+
created_at?: string;
|
|
16921
|
+
heartbeat_at?: string;
|
|
16922
|
+
job_name: string;
|
|
16923
|
+
last_error?: string | null;
|
|
16924
|
+
last_finished_at?: string | null;
|
|
16925
|
+
locked_at?: string;
|
|
16926
|
+
run_id?: string;
|
|
16927
|
+
updated_at?: string;
|
|
16928
|
+
};
|
|
16929
|
+
Update: {
|
|
16930
|
+
created_at?: string;
|
|
16931
|
+
heartbeat_at?: string;
|
|
16932
|
+
job_name?: string;
|
|
16933
|
+
last_error?: string | null;
|
|
16934
|
+
last_finished_at?: string | null;
|
|
16935
|
+
locked_at?: string;
|
|
16936
|
+
run_id?: string;
|
|
16937
|
+
updated_at?: string;
|
|
16938
|
+
};
|
|
16939
|
+
Relationships: [];
|
|
16940
|
+
};
|
|
15174
16941
|
twinfield_customers: {
|
|
15175
16942
|
Row: {
|
|
15176
16943
|
address: string | null;
|
|
16944
|
+
administration_code: string;
|
|
15177
16945
|
city: string | null;
|
|
15178
16946
|
country: string | null;
|
|
15179
16947
|
created_at: string;
|
|
@@ -15193,6 +16961,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
15193
16961
|
};
|
|
15194
16962
|
Insert: {
|
|
15195
16963
|
address?: string | null;
|
|
16964
|
+
administration_code?: string;
|
|
15196
16965
|
city?: string | null;
|
|
15197
16966
|
country?: string | null;
|
|
15198
16967
|
created_at?: string;
|
|
@@ -15212,6 +16981,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
15212
16981
|
};
|
|
15213
16982
|
Update: {
|
|
15214
16983
|
address?: string | null;
|
|
16984
|
+
administration_code?: string;
|
|
15215
16985
|
city?: string | null;
|
|
15216
16986
|
country?: string | null;
|
|
15217
16987
|
created_at?: string;
|
|
@@ -15425,6 +17195,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
15425
17195
|
};
|
|
15426
17196
|
twinfield_invoice_settings: {
|
|
15427
17197
|
Row: {
|
|
17198
|
+
administration_code: string | null;
|
|
17199
|
+
auto_invoice_enabled: boolean;
|
|
17200
|
+
auto_invoice_start_date: string | null;
|
|
17201
|
+
auto_invoice_trigger_statuses: string[];
|
|
15428
17202
|
created_at: string;
|
|
15429
17203
|
debtor_gl_account: string;
|
|
15430
17204
|
default_credit_invoice_type: string | null;
|
|
@@ -15437,14 +17211,20 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
15437
17211
|
invoice_enabled_fo: boolean;
|
|
15438
17212
|
invoice_enabled_ho: boolean;
|
|
15439
17213
|
invoice_enabled_mo: boolean;
|
|
17214
|
+
needs_review: boolean;
|
|
15440
17215
|
payment_gl_account: string;
|
|
15441
17216
|
payment_journal_code: string;
|
|
17217
|
+
settings_confirmed_at: string | null;
|
|
15442
17218
|
updated_at: string;
|
|
15443
17219
|
user_id: string;
|
|
15444
17220
|
vat_code_eu_reverse: string | null;
|
|
15445
17221
|
vat_code_export: string | null;
|
|
15446
17222
|
};
|
|
15447
17223
|
Insert: {
|
|
17224
|
+
administration_code?: string | null;
|
|
17225
|
+
auto_invoice_enabled?: boolean;
|
|
17226
|
+
auto_invoice_start_date?: string | null;
|
|
17227
|
+
auto_invoice_trigger_statuses?: string[];
|
|
15448
17228
|
created_at?: string;
|
|
15449
17229
|
debtor_gl_account?: string;
|
|
15450
17230
|
default_credit_invoice_type?: string | null;
|
|
@@ -15457,14 +17237,20 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
15457
17237
|
invoice_enabled_fo?: boolean;
|
|
15458
17238
|
invoice_enabled_ho?: boolean;
|
|
15459
17239
|
invoice_enabled_mo?: boolean;
|
|
17240
|
+
needs_review?: boolean;
|
|
15460
17241
|
payment_gl_account?: string;
|
|
15461
17242
|
payment_journal_code?: string;
|
|
17243
|
+
settings_confirmed_at?: string | null;
|
|
15462
17244
|
updated_at?: string;
|
|
15463
17245
|
user_id: string;
|
|
15464
17246
|
vat_code_eu_reverse?: string | null;
|
|
15465
17247
|
vat_code_export?: string | null;
|
|
15466
17248
|
};
|
|
15467
17249
|
Update: {
|
|
17250
|
+
administration_code?: string | null;
|
|
17251
|
+
auto_invoice_enabled?: boolean;
|
|
17252
|
+
auto_invoice_start_date?: string | null;
|
|
17253
|
+
auto_invoice_trigger_statuses?: string[];
|
|
15468
17254
|
created_at?: string;
|
|
15469
17255
|
debtor_gl_account?: string;
|
|
15470
17256
|
default_credit_invoice_type?: string | null;
|
|
@@ -15477,8 +17263,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
15477
17263
|
invoice_enabled_fo?: boolean;
|
|
15478
17264
|
invoice_enabled_ho?: boolean;
|
|
15479
17265
|
invoice_enabled_mo?: boolean;
|
|
17266
|
+
needs_review?: boolean;
|
|
15480
17267
|
payment_gl_account?: string;
|
|
15481
17268
|
payment_journal_code?: string;
|
|
17269
|
+
settings_confirmed_at?: string | null;
|
|
15482
17270
|
updated_at?: string;
|
|
15483
17271
|
user_id?: string;
|
|
15484
17272
|
vat_code_eu_reverse?: string | null;
|
|
@@ -15765,6 +17553,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
15765
17553
|
twinfield_push_queue: {
|
|
15766
17554
|
Row: {
|
|
15767
17555
|
action: string;
|
|
17556
|
+
attempt_started_at: string | null;
|
|
15768
17557
|
attempts: number;
|
|
15769
17558
|
connection_id: string | null;
|
|
15770
17559
|
created_at: string;
|
|
@@ -15781,6 +17570,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
15781
17570
|
};
|
|
15782
17571
|
Insert: {
|
|
15783
17572
|
action?: string;
|
|
17573
|
+
attempt_started_at?: string | null;
|
|
15784
17574
|
attempts?: number;
|
|
15785
17575
|
connection_id?: string | null;
|
|
15786
17576
|
created_at?: string;
|
|
@@ -15797,6 +17587,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
15797
17587
|
};
|
|
15798
17588
|
Update: {
|
|
15799
17589
|
action?: string;
|
|
17590
|
+
attempt_started_at?: string | null;
|
|
15800
17591
|
attempts?: number;
|
|
15801
17592
|
connection_id?: string | null;
|
|
15802
17593
|
created_at?: string;
|
|
@@ -15994,13 +17785,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
15994
17785
|
workday_end?: string | null;
|
|
15995
17786
|
workday_start?: string | null;
|
|
15996
17787
|
};
|
|
15997
|
-
Relationships: [
|
|
15998
|
-
foreignKeyName: "uren_cao_profiles_monteur_id_fkey";
|
|
15999
|
-
columns: ["monteur_id"];
|
|
16000
|
-
isOneToOne: true;
|
|
16001
|
-
referencedRelation: "monteurs";
|
|
16002
|
-
referencedColumns: ["id"];
|
|
16003
|
-
}];
|
|
17788
|
+
Relationships: [];
|
|
16004
17789
|
};
|
|
16005
17790
|
uren_entries: {
|
|
16006
17791
|
Row: {
|
|
@@ -16046,12 +17831,6 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
16046
17831
|
werkbon_id?: string | null;
|
|
16047
17832
|
};
|
|
16048
17833
|
Relationships: [{
|
|
16049
|
-
foreignKeyName: "uren_entries_monteur_id_fkey";
|
|
16050
|
-
columns: ["monteur_id"];
|
|
16051
|
-
isOneToOne: false;
|
|
16052
|
-
referencedRelation: "monteurs";
|
|
16053
|
-
referencedColumns: ["id"];
|
|
16054
|
-
}, {
|
|
16055
17834
|
foreignKeyName: "uren_entries_werkbon_id_fkey";
|
|
16056
17835
|
columns: ["werkbon_id"];
|
|
16057
17836
|
isOneToOne: false;
|
|
@@ -16092,114 +17871,6 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
16092
17871
|
};
|
|
16093
17872
|
Relationships: [];
|
|
16094
17873
|
};
|
|
16095
|
-
uren_facturen: {
|
|
16096
|
-
Row: {
|
|
16097
|
-
created_at: string;
|
|
16098
|
-
created_by: string | null;
|
|
16099
|
-
customer_id: string | null;
|
|
16100
|
-
customer_name: string | null;
|
|
16101
|
-
id: string;
|
|
16102
|
-
invoice_number: string | null;
|
|
16103
|
-
note: string | null;
|
|
16104
|
-
status: string;
|
|
16105
|
-
total_excl_cents: number;
|
|
16106
|
-
total_incl_cents: number;
|
|
16107
|
-
updated_at: string;
|
|
16108
|
-
vat_cents: number;
|
|
16109
|
-
vat_percentage: number;
|
|
16110
|
-
werkbon_id: string | null;
|
|
16111
|
-
};
|
|
16112
|
-
Insert: {
|
|
16113
|
-
created_at?: string;
|
|
16114
|
-
created_by?: string | null;
|
|
16115
|
-
customer_id?: string | null;
|
|
16116
|
-
customer_name?: string | null;
|
|
16117
|
-
id?: string;
|
|
16118
|
-
invoice_number?: string | null;
|
|
16119
|
-
note?: string | null;
|
|
16120
|
-
status?: string;
|
|
16121
|
-
total_excl_cents?: number;
|
|
16122
|
-
total_incl_cents?: number;
|
|
16123
|
-
updated_at?: string;
|
|
16124
|
-
vat_cents?: number;
|
|
16125
|
-
vat_percentage?: number;
|
|
16126
|
-
werkbon_id?: string | null;
|
|
16127
|
-
};
|
|
16128
|
-
Update: {
|
|
16129
|
-
created_at?: string;
|
|
16130
|
-
created_by?: string | null;
|
|
16131
|
-
customer_id?: string | null;
|
|
16132
|
-
customer_name?: string | null;
|
|
16133
|
-
id?: string;
|
|
16134
|
-
invoice_number?: string | null;
|
|
16135
|
-
note?: string | null;
|
|
16136
|
-
status?: string;
|
|
16137
|
-
total_excl_cents?: number;
|
|
16138
|
-
total_incl_cents?: number;
|
|
16139
|
-
updated_at?: string;
|
|
16140
|
-
vat_cents?: number;
|
|
16141
|
-
vat_percentage?: number;
|
|
16142
|
-
werkbon_id?: string | null;
|
|
16143
|
-
};
|
|
16144
|
-
Relationships: [{
|
|
16145
|
-
foreignKeyName: "uren_facturen_customer_id_fkey";
|
|
16146
|
-
columns: ["customer_id"];
|
|
16147
|
-
isOneToOne: false;
|
|
16148
|
-
referencedRelation: "itk_customers";
|
|
16149
|
-
referencedColumns: ["id"];
|
|
16150
|
-
}, {
|
|
16151
|
-
foreignKeyName: "uren_facturen_werkbon_id_fkey";
|
|
16152
|
-
columns: ["werkbon_id"];
|
|
16153
|
-
isOneToOne: true;
|
|
16154
|
-
referencedRelation: "werkbonnen";
|
|
16155
|
-
referencedColumns: ["id"];
|
|
16156
|
-
}];
|
|
16157
|
-
};
|
|
16158
|
-
uren_factuur_regels: {
|
|
16159
|
-
Row: {
|
|
16160
|
-
created_at: string;
|
|
16161
|
-
description: string;
|
|
16162
|
-
factuur_id: string;
|
|
16163
|
-
id: string;
|
|
16164
|
-
kind: string | null;
|
|
16165
|
-
quantity: number;
|
|
16166
|
-
sort_order: number;
|
|
16167
|
-
total_cents: number;
|
|
16168
|
-
unit: string;
|
|
16169
|
-
unit_price_cents: number;
|
|
16170
|
-
};
|
|
16171
|
-
Insert: {
|
|
16172
|
-
created_at?: string;
|
|
16173
|
-
description: string;
|
|
16174
|
-
factuur_id: string;
|
|
16175
|
-
id?: string;
|
|
16176
|
-
kind?: string | null;
|
|
16177
|
-
quantity?: number;
|
|
16178
|
-
sort_order?: number;
|
|
16179
|
-
total_cents?: number;
|
|
16180
|
-
unit?: string;
|
|
16181
|
-
unit_price_cents?: number;
|
|
16182
|
-
};
|
|
16183
|
-
Update: {
|
|
16184
|
-
created_at?: string;
|
|
16185
|
-
description?: string;
|
|
16186
|
-
factuur_id?: string;
|
|
16187
|
-
id?: string;
|
|
16188
|
-
kind?: string | null;
|
|
16189
|
-
quantity?: number;
|
|
16190
|
-
sort_order?: number;
|
|
16191
|
-
total_cents?: number;
|
|
16192
|
-
unit?: string;
|
|
16193
|
-
unit_price_cents?: number;
|
|
16194
|
-
};
|
|
16195
|
-
Relationships: [{
|
|
16196
|
-
foreignKeyName: "uren_factuur_regels_factuur_id_fkey";
|
|
16197
|
-
columns: ["factuur_id"];
|
|
16198
|
-
isOneToOne: false;
|
|
16199
|
-
referencedRelation: "uren_facturen";
|
|
16200
|
-
referencedColumns: ["id"];
|
|
16201
|
-
}];
|
|
16202
|
-
};
|
|
16203
17874
|
uren_offerte_regels: {
|
|
16204
17875
|
Row: {
|
|
16205
17876
|
created_at: string;
|
|
@@ -16519,17 +18190,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
16519
18190
|
submitted_at?: string | null;
|
|
16520
18191
|
updated_at?: string;
|
|
16521
18192
|
};
|
|
16522
|
-
Relationships: [
|
|
16523
|
-
foreignKeyName: "uren_weekstaten_monteur_id_fkey";
|
|
16524
|
-
columns: ["monteur_id"];
|
|
16525
|
-
isOneToOne: false;
|
|
16526
|
-
referencedRelation: "monteurs";
|
|
16527
|
-
referencedColumns: ["id"];
|
|
16528
|
-
}];
|
|
18193
|
+
Relationships: [];
|
|
16529
18194
|
};
|
|
16530
18195
|
user_module_permissions: {
|
|
16531
18196
|
Row: {
|
|
16532
18197
|
created_at: string;
|
|
18198
|
+
feature_id: string;
|
|
16533
18199
|
id: string;
|
|
16534
18200
|
module_id: string;
|
|
16535
18201
|
permission: string;
|
|
@@ -16538,6 +18204,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
16538
18204
|
};
|
|
16539
18205
|
Insert: {
|
|
16540
18206
|
created_at?: string;
|
|
18207
|
+
feature_id?: string;
|
|
16541
18208
|
id?: string;
|
|
16542
18209
|
module_id: string;
|
|
16543
18210
|
permission: string;
|
|
@@ -16546,6 +18213,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
16546
18213
|
};
|
|
16547
18214
|
Update: {
|
|
16548
18215
|
created_at?: string;
|
|
18216
|
+
feature_id?: string;
|
|
16549
18217
|
id?: string;
|
|
16550
18218
|
module_id?: string;
|
|
16551
18219
|
permission?: string;
|
|
@@ -16558,24 +18226,69 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
16558
18226
|
Row: {
|
|
16559
18227
|
created_at: string;
|
|
16560
18228
|
id: string;
|
|
16561
|
-
role: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"];
|
|
16562
|
-
user_id: string;
|
|
18229
|
+
role: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"];
|
|
18230
|
+
user_id: string;
|
|
18231
|
+
};
|
|
18232
|
+
Insert: {
|
|
18233
|
+
created_at?: string;
|
|
18234
|
+
id?: string;
|
|
18235
|
+
role: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"];
|
|
18236
|
+
user_id: string;
|
|
18237
|
+
};
|
|
18238
|
+
Update: {
|
|
18239
|
+
created_at?: string;
|
|
18240
|
+
id?: string;
|
|
18241
|
+
role?: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"];
|
|
18242
|
+
user_id?: string;
|
|
18243
|
+
};
|
|
18244
|
+
Relationships: [{
|
|
18245
|
+
foreignKeyName: "user_roles_user_id_fkey";
|
|
18246
|
+
columns: ["user_id"];
|
|
18247
|
+
isOneToOne: false;
|
|
18248
|
+
referencedRelation: "profiles";
|
|
18249
|
+
referencedColumns: ["id"];
|
|
18250
|
+
}];
|
|
18251
|
+
};
|
|
18252
|
+
van_inventories: {
|
|
18253
|
+
Row: {
|
|
18254
|
+
barcode: string | null;
|
|
18255
|
+
created_at: string;
|
|
18256
|
+
id: string;
|
|
18257
|
+
monteur_id: string | null;
|
|
18258
|
+
price_per_unit: number;
|
|
18259
|
+
product_name: string;
|
|
18260
|
+
quantity_current: number;
|
|
18261
|
+
quantity_min: number;
|
|
18262
|
+
unit: string;
|
|
18263
|
+
updated_at: string;
|
|
16563
18264
|
};
|
|
16564
18265
|
Insert: {
|
|
18266
|
+
barcode?: string | null;
|
|
16565
18267
|
created_at?: string;
|
|
16566
18268
|
id?: string;
|
|
16567
|
-
|
|
16568
|
-
|
|
18269
|
+
monteur_id?: string | null;
|
|
18270
|
+
price_per_unit?: number;
|
|
18271
|
+
product_name: string;
|
|
18272
|
+
quantity_current?: number;
|
|
18273
|
+
quantity_min?: number;
|
|
18274
|
+
unit?: string;
|
|
18275
|
+
updated_at?: string;
|
|
16569
18276
|
};
|
|
16570
18277
|
Update: {
|
|
18278
|
+
barcode?: string | null;
|
|
16571
18279
|
created_at?: string;
|
|
16572
18280
|
id?: string;
|
|
16573
|
-
|
|
16574
|
-
|
|
18281
|
+
monteur_id?: string | null;
|
|
18282
|
+
price_per_unit?: number;
|
|
18283
|
+
product_name?: string;
|
|
18284
|
+
quantity_current?: number;
|
|
18285
|
+
quantity_min?: number;
|
|
18286
|
+
unit?: string;
|
|
18287
|
+
updated_at?: string;
|
|
16575
18288
|
};
|
|
16576
18289
|
Relationships: [{
|
|
16577
|
-
foreignKeyName: "
|
|
16578
|
-
columns: ["
|
|
18290
|
+
foreignKeyName: "van_inventories_monteur_id_fkey";
|
|
18291
|
+
columns: ["monteur_id"];
|
|
16579
18292
|
isOneToOne: false;
|
|
16580
18293
|
referencedRelation: "profiles";
|
|
16581
18294
|
referencedColumns: ["id"];
|
|
@@ -17160,6 +18873,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
17160
18873
|
werkbon_package_items: {
|
|
17161
18874
|
Row: {
|
|
17162
18875
|
article_number: string | null;
|
|
18876
|
+
artikel_id: string | null;
|
|
17163
18877
|
created_at: string;
|
|
17164
18878
|
gtin: string | null;
|
|
17165
18879
|
id: string;
|
|
@@ -17177,6 +18891,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
17177
18891
|
};
|
|
17178
18892
|
Insert: {
|
|
17179
18893
|
article_number?: string | null;
|
|
18894
|
+
artikel_id?: string | null;
|
|
17180
18895
|
created_at?: string;
|
|
17181
18896
|
gtin?: string | null;
|
|
17182
18897
|
id?: string;
|
|
@@ -17194,6 +18909,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
17194
18909
|
};
|
|
17195
18910
|
Update: {
|
|
17196
18911
|
article_number?: string | null;
|
|
18912
|
+
artikel_id?: string | null;
|
|
17197
18913
|
created_at?: string;
|
|
17198
18914
|
gtin?: string | null;
|
|
17199
18915
|
id?: string;
|
|
@@ -17210,6 +18926,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
17210
18926
|
updated_at?: string;
|
|
17211
18927
|
};
|
|
17212
18928
|
Relationships: [{
|
|
18929
|
+
foreignKeyName: "werkbon_package_items_artikel_id_fkey";
|
|
18930
|
+
columns: ["artikel_id"];
|
|
18931
|
+
isOneToOne: false;
|
|
18932
|
+
referencedRelation: "artikelen_cache";
|
|
18933
|
+
referencedColumns: ["id"];
|
|
18934
|
+
}, {
|
|
17213
18935
|
foreignKeyName: "werkbon_package_items_package_id_fkey";
|
|
17214
18936
|
columns: ["package_id"];
|
|
17215
18937
|
isOneToOne: false;
|
|
@@ -17411,6 +19133,9 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
17411
19133
|
scheduled_end_time: string | null;
|
|
17412
19134
|
scheduled_start_time: string | null;
|
|
17413
19135
|
sequence_number: number;
|
|
19136
|
+
signature_accepted_at: string | null;
|
|
19137
|
+
signature_by_user_id: string | null;
|
|
19138
|
+
signature_name: string | null;
|
|
17414
19139
|
source_email_meta: import("../integrations/supabase/types").Json | null;
|
|
17415
19140
|
source_mailbox_message_id: string | null;
|
|
17416
19141
|
source_pdf_path: string | null;
|
|
@@ -17446,6 +19171,9 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
17446
19171
|
scheduled_end_time?: string | null;
|
|
17447
19172
|
scheduled_start_time?: string | null;
|
|
17448
19173
|
sequence_number: number;
|
|
19174
|
+
signature_accepted_at?: string | null;
|
|
19175
|
+
signature_by_user_id?: string | null;
|
|
19176
|
+
signature_name?: string | null;
|
|
17449
19177
|
source_email_meta?: import("../integrations/supabase/types").Json | null;
|
|
17450
19178
|
source_mailbox_message_id?: string | null;
|
|
17451
19179
|
source_pdf_path?: string | null;
|
|
@@ -17481,6 +19209,9 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
17481
19209
|
scheduled_end_time?: string | null;
|
|
17482
19210
|
scheduled_start_time?: string | null;
|
|
17483
19211
|
sequence_number?: number;
|
|
19212
|
+
signature_accepted_at?: string | null;
|
|
19213
|
+
signature_by_user_id?: string | null;
|
|
19214
|
+
signature_name?: string | null;
|
|
17484
19215
|
source_email_meta?: import("../integrations/supabase/types").Json | null;
|
|
17485
19216
|
source_mailbox_message_id?: string | null;
|
|
17486
19217
|
source_pdf_path?: string | null;
|
|
@@ -17531,7 +19262,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
17531
19262
|
foreignKeyName: "work_order_monteurs_monteur_id_fkey";
|
|
17532
19263
|
columns: ["monteur_id"];
|
|
17533
19264
|
isOneToOne: false;
|
|
17534
|
-
referencedRelation: "
|
|
19265
|
+
referencedRelation: "profiles";
|
|
17535
19266
|
referencedColumns: ["id"];
|
|
17536
19267
|
}, {
|
|
17537
19268
|
foreignKeyName: "work_order_monteurs_work_order_id_fkey";
|
|
@@ -17541,6 +19272,60 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
17541
19272
|
referencedColumns: ["id"];
|
|
17542
19273
|
}];
|
|
17543
19274
|
};
|
|
19275
|
+
work_order_photos: {
|
|
19276
|
+
Row: {
|
|
19277
|
+
ai_caption: string | null;
|
|
19278
|
+
ai_categorized_at: string | null;
|
|
19279
|
+
ai_labels: import("../integrations/supabase/types").Json | null;
|
|
19280
|
+
caption: string | null;
|
|
19281
|
+
created_at: string;
|
|
19282
|
+
id: string;
|
|
19283
|
+
monteur_id: string | null;
|
|
19284
|
+
photo_type: string;
|
|
19285
|
+
storage_path: string;
|
|
19286
|
+
updated_at: string;
|
|
19287
|
+
work_order_id: string;
|
|
19288
|
+
};
|
|
19289
|
+
Insert: {
|
|
19290
|
+
ai_caption?: string | null;
|
|
19291
|
+
ai_categorized_at?: string | null;
|
|
19292
|
+
ai_labels?: import("../integrations/supabase/types").Json | null;
|
|
19293
|
+
caption?: string | null;
|
|
19294
|
+
created_at?: string;
|
|
19295
|
+
id?: string;
|
|
19296
|
+
monteur_id?: string | null;
|
|
19297
|
+
photo_type?: string;
|
|
19298
|
+
storage_path: string;
|
|
19299
|
+
updated_at?: string;
|
|
19300
|
+
work_order_id: string;
|
|
19301
|
+
};
|
|
19302
|
+
Update: {
|
|
19303
|
+
ai_caption?: string | null;
|
|
19304
|
+
ai_categorized_at?: string | null;
|
|
19305
|
+
ai_labels?: import("../integrations/supabase/types").Json | null;
|
|
19306
|
+
caption?: string | null;
|
|
19307
|
+
created_at?: string;
|
|
19308
|
+
id?: string;
|
|
19309
|
+
monteur_id?: string | null;
|
|
19310
|
+
photo_type?: string;
|
|
19311
|
+
storage_path?: string;
|
|
19312
|
+
updated_at?: string;
|
|
19313
|
+
work_order_id?: string;
|
|
19314
|
+
};
|
|
19315
|
+
Relationships: [{
|
|
19316
|
+
foreignKeyName: "work_order_photos_monteur_id_fkey";
|
|
19317
|
+
columns: ["monteur_id"];
|
|
19318
|
+
isOneToOne: false;
|
|
19319
|
+
referencedRelation: "profiles";
|
|
19320
|
+
referencedColumns: ["id"];
|
|
19321
|
+
}, {
|
|
19322
|
+
foreignKeyName: "work_order_photos_work_order_id_fkey";
|
|
19323
|
+
columns: ["work_order_id"];
|
|
19324
|
+
isOneToOne: false;
|
|
19325
|
+
referencedRelation: "work_orders";
|
|
19326
|
+
referencedColumns: ["id"];
|
|
19327
|
+
}];
|
|
19328
|
+
};
|
|
17544
19329
|
work_orders: {
|
|
17545
19330
|
Row: {
|
|
17546
19331
|
assigned_to: string | null;
|
|
@@ -17572,7 +19357,6 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
17572
19357
|
scheduled_end_time: string | null;
|
|
17573
19358
|
scheduled_start_time: string | null;
|
|
17574
19359
|
status: string;
|
|
17575
|
-
tenant_id: string;
|
|
17576
19360
|
total_hours_worked: number | null;
|
|
17577
19361
|
total_price: number | null;
|
|
17578
19362
|
travel_time_minutes: number | null;
|
|
@@ -17610,7 +19394,6 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
17610
19394
|
scheduled_end_time?: string | null;
|
|
17611
19395
|
scheduled_start_time?: string | null;
|
|
17612
19396
|
status?: string;
|
|
17613
|
-
tenant_id: string;
|
|
17614
19397
|
total_hours_worked?: number | null;
|
|
17615
19398
|
total_price?: number | null;
|
|
17616
19399
|
travel_time_minutes?: number | null;
|
|
@@ -17648,7 +19431,6 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
17648
19431
|
scheduled_end_time?: string | null;
|
|
17649
19432
|
scheduled_start_time?: string | null;
|
|
17650
19433
|
status?: string;
|
|
17651
|
-
tenant_id?: string;
|
|
17652
19434
|
total_hours_worked?: number | null;
|
|
17653
19435
|
total_price?: number | null;
|
|
17654
19436
|
travel_time_minutes?: number | null;
|
|
@@ -17662,12 +19444,6 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
17662
19444
|
isOneToOne: false;
|
|
17663
19445
|
referencedRelation: "work_orders";
|
|
17664
19446
|
referencedColumns: ["id"];
|
|
17665
|
-
}, {
|
|
17666
|
-
foreignKeyName: "work_orders_tenant_id_fkey";
|
|
17667
|
-
columns: ["tenant_id"];
|
|
17668
|
-
isOneToOne: false;
|
|
17669
|
-
referencedRelation: "tenants";
|
|
17670
|
-
referencedColumns: ["id"];
|
|
17671
19447
|
}];
|
|
17672
19448
|
};
|
|
17673
19449
|
};
|
|
@@ -17952,6 +19728,114 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
17952
19728
|
};
|
|
17953
19729
|
Relationships: [];
|
|
17954
19730
|
};
|
|
19731
|
+
uren_facturen: {
|
|
19732
|
+
Row: {
|
|
19733
|
+
created_at: string | null;
|
|
19734
|
+
created_by: string | null;
|
|
19735
|
+
customer_id: string | null;
|
|
19736
|
+
customer_name: string | null;
|
|
19737
|
+
id: string | null;
|
|
19738
|
+
invoice_number: string | null;
|
|
19739
|
+
note: string | null;
|
|
19740
|
+
status: string | null;
|
|
19741
|
+
total_excl_cents: number | null;
|
|
19742
|
+
total_incl_cents: number | null;
|
|
19743
|
+
updated_at: string | null;
|
|
19744
|
+
vat_cents: number | null;
|
|
19745
|
+
vat_percentage: number | null;
|
|
19746
|
+
werkbon_id: string | null;
|
|
19747
|
+
};
|
|
19748
|
+
Insert: {
|
|
19749
|
+
created_at?: string | null;
|
|
19750
|
+
created_by?: string | null;
|
|
19751
|
+
customer_id?: string | null;
|
|
19752
|
+
customer_name?: string | null;
|
|
19753
|
+
id?: string | null;
|
|
19754
|
+
invoice_number?: string | null;
|
|
19755
|
+
note?: string | null;
|
|
19756
|
+
status?: string | null;
|
|
19757
|
+
total_excl_cents?: number | null;
|
|
19758
|
+
total_incl_cents?: number | null;
|
|
19759
|
+
updated_at?: string | null;
|
|
19760
|
+
vat_cents?: number | null;
|
|
19761
|
+
vat_percentage?: number | null;
|
|
19762
|
+
werkbon_id?: never;
|
|
19763
|
+
};
|
|
19764
|
+
Update: {
|
|
19765
|
+
created_at?: string | null;
|
|
19766
|
+
created_by?: string | null;
|
|
19767
|
+
customer_id?: string | null;
|
|
19768
|
+
customer_name?: string | null;
|
|
19769
|
+
id?: string | null;
|
|
19770
|
+
invoice_number?: string | null;
|
|
19771
|
+
note?: string | null;
|
|
19772
|
+
status?: string | null;
|
|
19773
|
+
total_excl_cents?: number | null;
|
|
19774
|
+
total_incl_cents?: number | null;
|
|
19775
|
+
updated_at?: string | null;
|
|
19776
|
+
vat_cents?: number | null;
|
|
19777
|
+
vat_percentage?: number | null;
|
|
19778
|
+
werkbon_id?: never;
|
|
19779
|
+
};
|
|
19780
|
+
Relationships: [{
|
|
19781
|
+
foreignKeyName: "invoices_customer_id_fkey";
|
|
19782
|
+
columns: ["customer_id"];
|
|
19783
|
+
isOneToOne: false;
|
|
19784
|
+
referencedRelation: "itk_customers";
|
|
19785
|
+
referencedColumns: ["id"];
|
|
19786
|
+
}];
|
|
19787
|
+
};
|
|
19788
|
+
uren_factuur_regels: {
|
|
19789
|
+
Row: {
|
|
19790
|
+
created_at: string | null;
|
|
19791
|
+
description: string | null;
|
|
19792
|
+
factuur_id: string | null;
|
|
19793
|
+
id: string | null;
|
|
19794
|
+
kind: string | null;
|
|
19795
|
+
quantity: number | null;
|
|
19796
|
+
sort_order: number | null;
|
|
19797
|
+
total_cents: number | null;
|
|
19798
|
+
unit: string | null;
|
|
19799
|
+
unit_price_cents: number | null;
|
|
19800
|
+
};
|
|
19801
|
+
Insert: {
|
|
19802
|
+
created_at?: string | null;
|
|
19803
|
+
description?: string | null;
|
|
19804
|
+
factuur_id?: string | null;
|
|
19805
|
+
id?: string | null;
|
|
19806
|
+
kind?: string | null;
|
|
19807
|
+
quantity?: number | null;
|
|
19808
|
+
sort_order?: number | null;
|
|
19809
|
+
total_cents?: number | null;
|
|
19810
|
+
unit?: string | null;
|
|
19811
|
+
unit_price_cents?: number | null;
|
|
19812
|
+
};
|
|
19813
|
+
Update: {
|
|
19814
|
+
created_at?: string | null;
|
|
19815
|
+
description?: string | null;
|
|
19816
|
+
factuur_id?: string | null;
|
|
19817
|
+
id?: string | null;
|
|
19818
|
+
kind?: string | null;
|
|
19819
|
+
quantity?: number | null;
|
|
19820
|
+
sort_order?: number | null;
|
|
19821
|
+
total_cents?: number | null;
|
|
19822
|
+
unit?: string | null;
|
|
19823
|
+
unit_price_cents?: number | null;
|
|
19824
|
+
};
|
|
19825
|
+
Relationships: [{
|
|
19826
|
+
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
19827
|
+
columns: ["factuur_id"];
|
|
19828
|
+
isOneToOne: false;
|
|
19829
|
+
referencedRelation: "invoices";
|
|
19830
|
+
referencedColumns: ["id"];
|
|
19831
|
+
}, {
|
|
19832
|
+
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
19833
|
+
columns: ["factuur_id"];
|
|
19834
|
+
isOneToOne: false;
|
|
19835
|
+
referencedRelation: "uren_facturen";
|
|
19836
|
+
referencedColumns: ["id"];
|
|
19837
|
+
}];
|
|
19838
|
+
};
|
|
17955
19839
|
v_external_customers_exact: {
|
|
17956
19840
|
Row: {
|
|
17957
19841
|
account_number: string | null;
|
|
@@ -18270,6 +20154,20 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
18270
20154
|
referencedColumns: ["id"];
|
|
18271
20155
|
}];
|
|
18272
20156
|
};
|
|
20157
|
+
v_werkbon_totalen: {
|
|
20158
|
+
Row: {
|
|
20159
|
+
packages_cents: number | null;
|
|
20160
|
+
packages_minutes: number | null;
|
|
20161
|
+
werkbon_id: string | null;
|
|
20162
|
+
};
|
|
20163
|
+
Relationships: [{
|
|
20164
|
+
foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
|
|
20165
|
+
columns: ["werkbon_id"];
|
|
20166
|
+
isOneToOne: false;
|
|
20167
|
+
referencedRelation: "werkbonnen";
|
|
20168
|
+
referencedColumns: ["id"];
|
|
20169
|
+
}];
|
|
20170
|
+
};
|
|
18273
20171
|
};
|
|
18274
20172
|
Functions: {
|
|
18275
20173
|
_floriday_schedule_job: {
|
|
@@ -18352,6 +20250,19 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
18352
20250
|
};
|
|
18353
20251
|
Returns: undefined;
|
|
18354
20252
|
};
|
|
20253
|
+
approve_mailbox_order_proposal: {
|
|
20254
|
+
Args: {
|
|
20255
|
+
p_custom_fields: import("../integrations/supabase/types").Json;
|
|
20256
|
+
p_customer_id: string;
|
|
20257
|
+
p_delivery_date: string;
|
|
20258
|
+
p_field_values?: import("../integrations/supabase/types").Json;
|
|
20259
|
+
p_lines: import("../integrations/supabase/types").Json;
|
|
20260
|
+
p_notes: string;
|
|
20261
|
+
p_proposal_id: string;
|
|
20262
|
+
p_reviewed_by: string;
|
|
20263
|
+
};
|
|
20264
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
20265
|
+
};
|
|
18355
20266
|
assign_cart_numbers: {
|
|
18356
20267
|
Args: {
|
|
18357
20268
|
p_carts: import("../integrations/supabase/types").Json;
|
|
@@ -18387,6 +20298,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
18387
20298
|
processed_items: number;
|
|
18388
20299
|
}[];
|
|
18389
20300
|
};
|
|
20301
|
+
backfill_order_auto_invoice_queue: {
|
|
20302
|
+
Args: never;
|
|
20303
|
+
Returns: number;
|
|
20304
|
+
};
|
|
18390
20305
|
calculate_layer_stock: {
|
|
18391
20306
|
Args: {
|
|
18392
20307
|
p_product_id: string;
|
|
@@ -18399,6 +20314,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
18399
20314
|
};
|
|
18400
20315
|
Returns: number;
|
|
18401
20316
|
};
|
|
20317
|
+
can_manage_hours: {
|
|
20318
|
+
Args: never;
|
|
20319
|
+
Returns: boolean;
|
|
20320
|
+
};
|
|
18402
20321
|
check_offer_product_available_stock: {
|
|
18403
20322
|
Args: {
|
|
18404
20323
|
p_campaign_product_id: string;
|
|
@@ -18436,6 +20355,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
18436
20355
|
gebruiker_id: string | null;
|
|
18437
20356
|
gebruiker_naam: string;
|
|
18438
20357
|
gestart_op: string | null;
|
|
20358
|
+
herkomst: string | null;
|
|
18439
20359
|
id: string;
|
|
18440
20360
|
idempotentie_sleutel: string | null;
|
|
18441
20361
|
is_herprint: boolean;
|
|
@@ -18556,6 +20476,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
18556
20476
|
gebruiker_id: string | null;
|
|
18557
20477
|
gebruiker_naam: string;
|
|
18558
20478
|
gestart_op: string | null;
|
|
20479
|
+
herkomst: string | null;
|
|
18559
20480
|
id: string;
|
|
18560
20481
|
idempotentie_sleutel: string | null;
|
|
18561
20482
|
is_herprint: boolean;
|
|
@@ -18588,6 +20509,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
18588
20509
|
};
|
|
18589
20510
|
Returns: {
|
|
18590
20511
|
action: string;
|
|
20512
|
+
attempt_started_at: string | null;
|
|
18591
20513
|
attempts: number;
|
|
18592
20514
|
connection_id: string | null;
|
|
18593
20515
|
created_at: string;
|
|
@@ -18675,6 +20597,30 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
18675
20597
|
agent_naam: string;
|
|
18676
20598
|
}[];
|
|
18677
20599
|
};
|
|
20600
|
+
consume_van_inventory: {
|
|
20601
|
+
Args: {
|
|
20602
|
+
p_inventory_id: string;
|
|
20603
|
+
p_quantity: number;
|
|
20604
|
+
};
|
|
20605
|
+
Returns: {
|
|
20606
|
+
barcode: string | null;
|
|
20607
|
+
created_at: string;
|
|
20608
|
+
id: string;
|
|
20609
|
+
monteur_id: string | null;
|
|
20610
|
+
price_per_unit: number;
|
|
20611
|
+
product_name: string;
|
|
20612
|
+
quantity_current: number;
|
|
20613
|
+
quantity_min: number;
|
|
20614
|
+
unit: string;
|
|
20615
|
+
updated_at: string;
|
|
20616
|
+
};
|
|
20617
|
+
SetofOptions: {
|
|
20618
|
+
from: "*";
|
|
20619
|
+
to: "van_inventories";
|
|
20620
|
+
isOneToOne: true;
|
|
20621
|
+
isSetofReturn: false;
|
|
20622
|
+
};
|
|
20623
|
+
};
|
|
18678
20624
|
control_get_todays_carts: {
|
|
18679
20625
|
Args: never;
|
|
18680
20626
|
Returns: {
|
|
@@ -18748,6 +20694,13 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
18748
20694
|
_user_id: string;
|
|
18749
20695
|
};
|
|
18750
20696
|
Returns: string;
|
|
20697
|
+
} | {
|
|
20698
|
+
Args: {
|
|
20699
|
+
_feature_id: string;
|
|
20700
|
+
_module_id: string;
|
|
20701
|
+
_user_id: string;
|
|
20702
|
+
};
|
|
20703
|
+
Returns: string;
|
|
18751
20704
|
};
|
|
18752
20705
|
email_auth_decrypt: {
|
|
18753
20706
|
Args: {
|
|
@@ -18794,6 +20747,13 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
18794
20747
|
};
|
|
18795
20748
|
Returns: string;
|
|
18796
20749
|
};
|
|
20750
|
+
employee_day_hours: {
|
|
20751
|
+
Args: {
|
|
20752
|
+
_day: string;
|
|
20753
|
+
_employee_id: string;
|
|
20754
|
+
};
|
|
20755
|
+
Returns: number;
|
|
20756
|
+
};
|
|
18797
20757
|
enqueue_cart_replan_if_unlocked: {
|
|
18798
20758
|
Args: {
|
|
18799
20759
|
p_order_id: string;
|
|
@@ -19099,12 +21059,6 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
19099
21059
|
Args: never;
|
|
19100
21060
|
Returns: string;
|
|
19101
21061
|
};
|
|
19102
|
-
get_work_order_tenant_id: {
|
|
19103
|
-
Args: {
|
|
19104
|
-
wo_id: string;
|
|
19105
|
-
};
|
|
19106
|
-
Returns: string;
|
|
19107
|
-
};
|
|
19108
21062
|
has_module_permission: {
|
|
19109
21063
|
Args: {
|
|
19110
21064
|
_min: string;
|
|
@@ -19124,6 +21078,46 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
19124
21078
|
Args: never;
|
|
19125
21079
|
Returns: boolean;
|
|
19126
21080
|
};
|
|
21081
|
+
invoice_create_from_source: {
|
|
21082
|
+
Args: {
|
|
21083
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
21084
|
+
_source_id: string;
|
|
21085
|
+
_source_type: string;
|
|
21086
|
+
};
|
|
21087
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21088
|
+
};
|
|
21089
|
+
invoice_get_billable_lines: {
|
|
21090
|
+
Args: {
|
|
21091
|
+
_invoice_id: string;
|
|
21092
|
+
};
|
|
21093
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21094
|
+
};
|
|
21095
|
+
invoice_get_for_source: {
|
|
21096
|
+
Args: {
|
|
21097
|
+
_source_id: string;
|
|
21098
|
+
_source_type: string;
|
|
21099
|
+
};
|
|
21100
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21101
|
+
};
|
|
21102
|
+
invoice_get_summary: {
|
|
21103
|
+
Args: {
|
|
21104
|
+
_invoice_id: string;
|
|
21105
|
+
};
|
|
21106
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21107
|
+
};
|
|
21108
|
+
invoice_list_sources: {
|
|
21109
|
+
Args: {
|
|
21110
|
+
_limit?: number;
|
|
21111
|
+
_source_type?: string;
|
|
21112
|
+
};
|
|
21113
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21114
|
+
};
|
|
21115
|
+
invoice_recalc_totals: {
|
|
21116
|
+
Args: {
|
|
21117
|
+
_invoice_id: string;
|
|
21118
|
+
};
|
|
21119
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21120
|
+
};
|
|
19127
21121
|
is_authenticated: {
|
|
19128
21122
|
Args: never;
|
|
19129
21123
|
Returns: boolean;
|
|
@@ -19138,6 +21132,13 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
19138
21132
|
};
|
|
19139
21133
|
Returns: boolean;
|
|
19140
21134
|
};
|
|
21135
|
+
is_time_log_week_locked: {
|
|
21136
|
+
Args: {
|
|
21137
|
+
p_employee_id: string;
|
|
21138
|
+
p_start_time: string;
|
|
21139
|
+
};
|
|
21140
|
+
Returns: boolean;
|
|
21141
|
+
};
|
|
19141
21142
|
is_user_admin: {
|
|
19142
21143
|
Args: never;
|
|
19143
21144
|
Returns: boolean;
|
|
@@ -19146,11 +21147,58 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
19146
21147
|
Args: never;
|
|
19147
21148
|
Returns: boolean;
|
|
19148
21149
|
};
|
|
19149
|
-
|
|
21150
|
+
itk_offerte_naar_werkbon: {
|
|
21151
|
+
Args: {
|
|
21152
|
+
_offerte_id: string;
|
|
21153
|
+
};
|
|
21154
|
+
Returns: string;
|
|
21155
|
+
};
|
|
21156
|
+
itk_offerte_restant_mandaat: {
|
|
21157
|
+
Args: {
|
|
21158
|
+
_exclude_offerte_id?: string;
|
|
21159
|
+
_werkbon_id: string;
|
|
21160
|
+
};
|
|
21161
|
+
Returns: number;
|
|
21162
|
+
};
|
|
21163
|
+
jwt_has_role: {
|
|
21164
|
+
Args: {
|
|
21165
|
+
_role: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"];
|
|
21166
|
+
};
|
|
21167
|
+
Returns: boolean;
|
|
21168
|
+
};
|
|
21169
|
+
list_medewerkers: {
|
|
21170
|
+
Args: never;
|
|
21171
|
+
Returns: {
|
|
21172
|
+
avatar_url: string;
|
|
21173
|
+
color: string;
|
|
21174
|
+
display_name: string;
|
|
21175
|
+
email: string;
|
|
21176
|
+
hours_fri: number;
|
|
21177
|
+
hours_mon: number;
|
|
21178
|
+
hours_thu: number;
|
|
21179
|
+
hours_tue: number;
|
|
21180
|
+
hours_wed: number;
|
|
21181
|
+
id: string;
|
|
21182
|
+
is_active: boolean;
|
|
21183
|
+
leave_balance_hours: number;
|
|
21184
|
+
persnr: string;
|
|
21185
|
+
phone: string;
|
|
21186
|
+
roles: string[];
|
|
21187
|
+
}[];
|
|
21188
|
+
};
|
|
21189
|
+
list_monteur_absences: {
|
|
19150
21190
|
Args: {
|
|
19151
|
-
|
|
21191
|
+
_from: string;
|
|
21192
|
+
_to: string;
|
|
19152
21193
|
};
|
|
19153
|
-
Returns:
|
|
21194
|
+
Returns: {
|
|
21195
|
+
absence_date: string;
|
|
21196
|
+
end_time: string;
|
|
21197
|
+
full_day: boolean;
|
|
21198
|
+
kind: string;
|
|
21199
|
+
monteur_id: string;
|
|
21200
|
+
start_time: string;
|
|
21201
|
+
}[];
|
|
19154
21202
|
};
|
|
19155
21203
|
list_monteurs: {
|
|
19156
21204
|
Args: never;
|
|
@@ -19484,17 +21532,6 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
19484
21532
|
Returns: string;
|
|
19485
21533
|
};
|
|
19486
21534
|
logistics_emit_event: {
|
|
19487
|
-
Args: {
|
|
19488
|
-
p_event_type: string;
|
|
19489
|
-
p_idempotency_key?: string;
|
|
19490
|
-
p_order_ref: string;
|
|
19491
|
-
p_payload?: import("../integrations/supabase/types").Json;
|
|
19492
|
-
p_shadow?: boolean;
|
|
19493
|
-
p_source_module: string;
|
|
19494
|
-
p_strategy_id?: string;
|
|
19495
|
-
};
|
|
19496
|
-
Returns: import("../integrations/supabase/types").Json;
|
|
19497
|
-
} | {
|
|
19498
21535
|
Args: {
|
|
19499
21536
|
p_event_type: string;
|
|
19500
21537
|
p_idempotency_key?: string;
|
|
@@ -19583,6 +21620,41 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
19583
21620
|
};
|
|
19584
21621
|
Returns: string;
|
|
19585
21622
|
};
|
|
21623
|
+
logistics_floriday_finish_push_v2: {
|
|
21624
|
+
Args: {
|
|
21625
|
+
_error?: string;
|
|
21626
|
+
_error_code?: string;
|
|
21627
|
+
_fulfillment_order_id?: string;
|
|
21628
|
+
_gateway_status?: number;
|
|
21629
|
+
_id: string;
|
|
21630
|
+
_max_age_hours?: number;
|
|
21631
|
+
_max_attempts?: number;
|
|
21632
|
+
_ok: boolean;
|
|
21633
|
+
_permanent?: boolean;
|
|
21634
|
+
_response?: import("../integrations/supabase/types").Json;
|
|
21635
|
+
_revision: number;
|
|
21636
|
+
_sent_hash?: string;
|
|
21637
|
+
};
|
|
21638
|
+
Returns: string;
|
|
21639
|
+
};
|
|
21640
|
+
logistics_floriday_finish_push_v3: {
|
|
21641
|
+
Args: {
|
|
21642
|
+
_error?: string;
|
|
21643
|
+
_error_code?: string;
|
|
21644
|
+
_fulfillment_order_id?: string;
|
|
21645
|
+
_gateway_status?: number;
|
|
21646
|
+
_id: string;
|
|
21647
|
+
_max_age_hours?: number;
|
|
21648
|
+
_max_attempts?: number;
|
|
21649
|
+
_outcome: string;
|
|
21650
|
+
_permanent?: boolean;
|
|
21651
|
+
_response?: import("../integrations/supabase/types").Json;
|
|
21652
|
+
_revision: number;
|
|
21653
|
+
_sent_hash?: string;
|
|
21654
|
+
_wait_max_age_hours?: number;
|
|
21655
|
+
};
|
|
21656
|
+
Returns: string;
|
|
21657
|
+
};
|
|
19586
21658
|
logistics_floriday_prune_pushes: {
|
|
19587
21659
|
Args: {
|
|
19588
21660
|
_days?: number;
|
|
@@ -19643,12 +21715,79 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
19643
21715
|
};
|
|
19644
21716
|
Returns: import("../integrations/supabase/types").Json;
|
|
19645
21717
|
};
|
|
21718
|
+
logistics_plan_block: {
|
|
21719
|
+
Args: {
|
|
21720
|
+
p_details?: import("../integrations/supabase/types").Json;
|
|
21721
|
+
p_order_ids: string[];
|
|
21722
|
+
p_reason: string;
|
|
21723
|
+
};
|
|
21724
|
+
Returns: number;
|
|
21725
|
+
};
|
|
19646
21726
|
logistics_plan_buffer_sql: {
|
|
19647
21727
|
Args: {
|
|
19648
21728
|
p_buffer_id: string;
|
|
19649
21729
|
};
|
|
19650
21730
|
Returns: number;
|
|
19651
21731
|
};
|
|
21732
|
+
logistics_plan_claim: {
|
|
21733
|
+
Args: {
|
|
21734
|
+
p_limit?: number;
|
|
21735
|
+
};
|
|
21736
|
+
Returns: {
|
|
21737
|
+
attempts: number;
|
|
21738
|
+
id: string;
|
|
21739
|
+
order_id: string;
|
|
21740
|
+
}[];
|
|
21741
|
+
};
|
|
21742
|
+
logistics_plan_enqueue: {
|
|
21743
|
+
Args: {
|
|
21744
|
+
p_order_id: string;
|
|
21745
|
+
p_reason?: string;
|
|
21746
|
+
};
|
|
21747
|
+
Returns: undefined;
|
|
21748
|
+
};
|
|
21749
|
+
logistics_plan_ensure_event: {
|
|
21750
|
+
Args: {
|
|
21751
|
+
p_order_id: string;
|
|
21752
|
+
};
|
|
21753
|
+
Returns: boolean;
|
|
21754
|
+
};
|
|
21755
|
+
logistics_plan_finish: {
|
|
21756
|
+
Args: {
|
|
21757
|
+
p_error?: string;
|
|
21758
|
+
p_id: string;
|
|
21759
|
+
};
|
|
21760
|
+
Returns: undefined;
|
|
21761
|
+
};
|
|
21762
|
+
logistics_plan_impact_orders: {
|
|
21763
|
+
Args: {
|
|
21764
|
+
p_order_id: string;
|
|
21765
|
+
};
|
|
21766
|
+
Returns: {
|
|
21767
|
+
buffer_id: string;
|
|
21768
|
+
order_id: string;
|
|
21769
|
+
plan_date: string;
|
|
21770
|
+
}[];
|
|
21771
|
+
};
|
|
21772
|
+
logistics_plan_kick: {
|
|
21773
|
+
Args: never;
|
|
21774
|
+
Returns: undefined;
|
|
21775
|
+
};
|
|
21776
|
+
logistics_plan_prune: {
|
|
21777
|
+
Args: never;
|
|
21778
|
+
Returns: number;
|
|
21779
|
+
};
|
|
21780
|
+
logistics_plan_release_stale: {
|
|
21781
|
+
Args: never;
|
|
21782
|
+
Returns: number;
|
|
21783
|
+
};
|
|
21784
|
+
logistics_plan_setting: {
|
|
21785
|
+
Args: {
|
|
21786
|
+
p_default: number;
|
|
21787
|
+
p_key: string;
|
|
21788
|
+
};
|
|
21789
|
+
Returns: number;
|
|
21790
|
+
};
|
|
19652
21791
|
logistics_queue_capacity_email: {
|
|
19653
21792
|
Args: {
|
|
19654
21793
|
p_alert_id: string;
|
|
@@ -19890,6 +22029,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
19890
22029
|
my_module_permissions: {
|
|
19891
22030
|
Args: never;
|
|
19892
22031
|
Returns: {
|
|
22032
|
+
feature_id: string;
|
|
19893
22033
|
module_id: string;
|
|
19894
22034
|
permission: string;
|
|
19895
22035
|
}[];
|
|
@@ -19951,6 +22091,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
19951
22091
|
verwijderd: number;
|
|
19952
22092
|
}[];
|
|
19953
22093
|
};
|
|
22094
|
+
order_departure_proof: {
|
|
22095
|
+
Args: {
|
|
22096
|
+
p_order_id: string;
|
|
22097
|
+
};
|
|
22098
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22099
|
+
};
|
|
19954
22100
|
order_number_prefix: {
|
|
19955
22101
|
Args: {
|
|
19956
22102
|
p_custom_fields?: import("../integrations/supabase/types").Json;
|
|
@@ -19958,6 +22104,25 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
19958
22104
|
};
|
|
19959
22105
|
Returns: string;
|
|
19960
22106
|
};
|
|
22107
|
+
pakket_suggesties_voor_tekst: {
|
|
22108
|
+
Args: {
|
|
22109
|
+
_tekst: string;
|
|
22110
|
+
};
|
|
22111
|
+
Returns: {
|
|
22112
|
+
hit_type: string;
|
|
22113
|
+
package_id: string;
|
|
22114
|
+
priority: number;
|
|
22115
|
+
}[];
|
|
22116
|
+
};
|
|
22117
|
+
pakket_voor_reistijd: {
|
|
22118
|
+
Args: {
|
|
22119
|
+
_minuten: number;
|
|
22120
|
+
};
|
|
22121
|
+
Returns: {
|
|
22122
|
+
package_id: string;
|
|
22123
|
+
priority: number;
|
|
22124
|
+
}[];
|
|
22125
|
+
};
|
|
19961
22126
|
pick_active_printers: {
|
|
19962
22127
|
Args: never;
|
|
19963
22128
|
Returns: {
|
|
@@ -20065,6 +22230,13 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
20065
22230
|
isSetofReturn: false;
|
|
20066
22231
|
};
|
|
20067
22232
|
};
|
|
22233
|
+
pick_cleanup_maintenance: {
|
|
22234
|
+
Args: {
|
|
22235
|
+
_heartbeat_hours?: number;
|
|
22236
|
+
_log_days?: number;
|
|
22237
|
+
};
|
|
22238
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22239
|
+
};
|
|
20068
22240
|
pick_complete_print: {
|
|
20069
22241
|
Args: {
|
|
20070
22242
|
_printer_id: string;
|
|
@@ -20116,6 +22288,14 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
20116
22288
|
Args: never;
|
|
20117
22289
|
Returns: string;
|
|
20118
22290
|
};
|
|
22291
|
+
pick_day_counts: {
|
|
22292
|
+
Args: {
|
|
22293
|
+
_pick_day?: string;
|
|
22294
|
+
_screen_id?: string;
|
|
22295
|
+
_station_id?: string;
|
|
22296
|
+
};
|
|
22297
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22298
|
+
};
|
|
20119
22299
|
pick_document_layout_data: {
|
|
20120
22300
|
Args: {
|
|
20121
22301
|
_layout_id: string;
|
|
@@ -20143,6 +22323,18 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
20143
22323
|
};
|
|
20144
22324
|
Returns: import("../integrations/supabase/types").Json;
|
|
20145
22325
|
};
|
|
22326
|
+
pick_print_plekken: {
|
|
22327
|
+
Args: never;
|
|
22328
|
+
Returns: {
|
|
22329
|
+
id: string;
|
|
22330
|
+
naam: string;
|
|
22331
|
+
omschrijving: string;
|
|
22332
|
+
}[];
|
|
22333
|
+
};
|
|
22334
|
+
pick_reference_data_status: {
|
|
22335
|
+
Args: never;
|
|
22336
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22337
|
+
};
|
|
20146
22338
|
pick_release_expired_locks: {
|
|
20147
22339
|
Args: never;
|
|
20148
22340
|
Returns: number;
|
|
@@ -20153,6 +22345,14 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
20153
22345
|
};
|
|
20154
22346
|
Returns: undefined;
|
|
20155
22347
|
};
|
|
22348
|
+
pick_reprint_document: {
|
|
22349
|
+
Args: {
|
|
22350
|
+
_queue_item_id: string;
|
|
22351
|
+
_session_id: string;
|
|
22352
|
+
_throttle_seconds?: number;
|
|
22353
|
+
};
|
|
22354
|
+
Returns: string;
|
|
22355
|
+
};
|
|
20156
22356
|
pick_reset_print: {
|
|
20157
22357
|
Args: {
|
|
20158
22358
|
_queue_item_id: string;
|
|
@@ -20199,6 +22399,17 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
20199
22399
|
isSetofReturn: false;
|
|
20200
22400
|
};
|
|
20201
22401
|
};
|
|
22402
|
+
pick_seed_reference_data: {
|
|
22403
|
+
Args: never;
|
|
22404
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22405
|
+
};
|
|
22406
|
+
pick_set_station_print_plek: {
|
|
22407
|
+
Args: {
|
|
22408
|
+
_print_plek_id: string;
|
|
22409
|
+
_station_id: string;
|
|
22410
|
+
};
|
|
22411
|
+
Returns: string;
|
|
22412
|
+
};
|
|
20202
22413
|
pick_station_dashboard: {
|
|
20203
22414
|
Args: never;
|
|
20204
22415
|
Returns: {
|
|
@@ -20211,6 +22422,25 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
20211
22422
|
waiting: number;
|
|
20212
22423
|
}[];
|
|
20213
22424
|
};
|
|
22425
|
+
pick_station_print_plek: {
|
|
22426
|
+
Args: {
|
|
22427
|
+
_station_id: string;
|
|
22428
|
+
};
|
|
22429
|
+
Returns: {
|
|
22430
|
+
naam: string;
|
|
22431
|
+
omschrijving: string;
|
|
22432
|
+
print_plek_id: string;
|
|
22433
|
+
}[];
|
|
22434
|
+
};
|
|
22435
|
+
pick_station_print_plekken: {
|
|
22436
|
+
Args: never;
|
|
22437
|
+
Returns: {
|
|
22438
|
+
naam: string;
|
|
22439
|
+
omschrijving: string;
|
|
22440
|
+
print_plek_id: string;
|
|
22441
|
+
station_id: string;
|
|
22442
|
+
}[];
|
|
22443
|
+
};
|
|
20214
22444
|
pick_station_slugify: {
|
|
20215
22445
|
Args: {
|
|
20216
22446
|
_id: string;
|
|
@@ -20218,6 +22448,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
20218
22448
|
};
|
|
20219
22449
|
Returns: string;
|
|
20220
22450
|
};
|
|
22451
|
+
pick_sync_queue_throttled: {
|
|
22452
|
+
Args: {
|
|
22453
|
+
_min_seconds?: number;
|
|
22454
|
+
};
|
|
22455
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22456
|
+
};
|
|
20221
22457
|
pickstation_get_orders_raw: {
|
|
20222
22458
|
Args: never;
|
|
20223
22459
|
Returns: import("../integrations/supabase/types").Json;
|
|
@@ -20279,6 +22515,37 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
20279
22515
|
};
|
|
20280
22516
|
Returns: undefined;
|
|
20281
22517
|
};
|
|
22518
|
+
quote_create_from_source: {
|
|
22519
|
+
Args: {
|
|
22520
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
22521
|
+
_source_id: string;
|
|
22522
|
+
_source_type: string;
|
|
22523
|
+
};
|
|
22524
|
+
Returns: string;
|
|
22525
|
+
};
|
|
22526
|
+
quote_get_billable_lines: {
|
|
22527
|
+
Args: {
|
|
22528
|
+
_quotation_id: string;
|
|
22529
|
+
};
|
|
22530
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22531
|
+
};
|
|
22532
|
+
quote_get_summary: {
|
|
22533
|
+
Args: {
|
|
22534
|
+
_quotation_id: string;
|
|
22535
|
+
};
|
|
22536
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22537
|
+
};
|
|
22538
|
+
quote_list_packages: {
|
|
22539
|
+
Args: never;
|
|
22540
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22541
|
+
};
|
|
22542
|
+
quote_list_sources: {
|
|
22543
|
+
Args: {
|
|
22544
|
+
_limit?: number;
|
|
22545
|
+
_source_type?: string;
|
|
22546
|
+
};
|
|
22547
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22548
|
+
};
|
|
20282
22549
|
recompute_all_reserved_stock: {
|
|
20283
22550
|
Args: never;
|
|
20284
22551
|
Returns: undefined;
|
|
@@ -20332,6 +22599,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
20332
22599
|
};
|
|
20333
22600
|
Returns: boolean;
|
|
20334
22601
|
};
|
|
22602
|
+
release_stale_order_invoice_links: {
|
|
22603
|
+
Args: {
|
|
22604
|
+
_minutes?: number;
|
|
22605
|
+
};
|
|
22606
|
+
Returns: number;
|
|
22607
|
+
};
|
|
20335
22608
|
reorder_customer_price_groups: {
|
|
20336
22609
|
Args: {
|
|
20337
22610
|
_ids: string[];
|
|
@@ -20770,6 +23043,16 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
20770
23043
|
};
|
|
20771
23044
|
Returns: string[];
|
|
20772
23045
|
};
|
|
23046
|
+
switch_time_log: {
|
|
23047
|
+
Args: {
|
|
23048
|
+
p_employee_id: string;
|
|
23049
|
+
p_start_lat?: number;
|
|
23050
|
+
p_start_lng?: number;
|
|
23051
|
+
p_type: string;
|
|
23052
|
+
p_work_order_id?: string;
|
|
23053
|
+
};
|
|
23054
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
23055
|
+
};
|
|
20773
23056
|
sync_all_layer_stocks: {
|
|
20774
23057
|
Args: never;
|
|
20775
23058
|
Returns: undefined;
|
|
@@ -20804,6 +23087,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
20804
23087
|
};
|
|
20805
23088
|
Returns: undefined;
|
|
20806
23089
|
};
|
|
23090
|
+
sync_sick_time_off: {
|
|
23091
|
+
Args: {
|
|
23092
|
+
_period_id: string;
|
|
23093
|
+
};
|
|
23094
|
+
Returns: number;
|
|
23095
|
+
};
|
|
20807
23096
|
trade_item_stock_duplicates: {
|
|
20808
23097
|
Args: never;
|
|
20809
23098
|
Returns: {
|
|
@@ -20820,6 +23109,38 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
20820
23109
|
};
|
|
20821
23110
|
Returns: boolean;
|
|
20822
23111
|
};
|
|
23112
|
+
twinfield_cron_lock_acquire: {
|
|
23113
|
+
Args: {
|
|
23114
|
+
_job_name: string;
|
|
23115
|
+
_stale_seconds?: number;
|
|
23116
|
+
};
|
|
23117
|
+
Returns: boolean;
|
|
23118
|
+
};
|
|
23119
|
+
twinfield_cron_lock_release: {
|
|
23120
|
+
Args: {
|
|
23121
|
+
_error?: string;
|
|
23122
|
+
_job_name: string;
|
|
23123
|
+
};
|
|
23124
|
+
Returns: undefined;
|
|
23125
|
+
};
|
|
23126
|
+
twinfield_deactivate_connection: {
|
|
23127
|
+
Args: {
|
|
23128
|
+
p_connection_id: string;
|
|
23129
|
+
p_user_id: string;
|
|
23130
|
+
};
|
|
23131
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
23132
|
+
};
|
|
23133
|
+
twinfield_handle_administration_change: {
|
|
23134
|
+
Args: {
|
|
23135
|
+
_administration_code: string;
|
|
23136
|
+
_user_id: string;
|
|
23137
|
+
};
|
|
23138
|
+
Returns: undefined;
|
|
23139
|
+
};
|
|
23140
|
+
twinfield_prune_push_queue: {
|
|
23141
|
+
Args: never;
|
|
23142
|
+
Returns: number;
|
|
23143
|
+
};
|
|
20823
23144
|
twinfield_register_cron: {
|
|
20824
23145
|
Args: {
|
|
20825
23146
|
apikey?: string;
|
|
@@ -20835,10 +23156,11 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
20835
23156
|
p_company_name?: string;
|
|
20836
23157
|
p_environment: string;
|
|
20837
23158
|
p_office_code?: string;
|
|
23159
|
+
p_reset_sync?: boolean;
|
|
20838
23160
|
p_status?: string;
|
|
20839
23161
|
p_user_id: string;
|
|
20840
23162
|
};
|
|
20841
|
-
Returns:
|
|
23163
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
20842
23164
|
};
|
|
20843
23165
|
upsert_auto_fulfillment_log: {
|
|
20844
23166
|
Args: {
|
|
@@ -20859,11 +23181,43 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
20859
23181
|
Args: never;
|
|
20860
23182
|
Returns: string;
|
|
20861
23183
|
};
|
|
23184
|
+
werkbon_totalen: {
|
|
23185
|
+
Args: {
|
|
23186
|
+
_werkbon_id: string;
|
|
23187
|
+
};
|
|
23188
|
+
Returns: {
|
|
23189
|
+
materials_cents: number;
|
|
23190
|
+
packages_cents: number;
|
|
23191
|
+
packages_minutes: number;
|
|
23192
|
+
total_cents: number;
|
|
23193
|
+
total_minutes: number;
|
|
23194
|
+
}[];
|
|
23195
|
+
};
|
|
23196
|
+
wo_create_from_source: {
|
|
23197
|
+
Args: {
|
|
23198
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
23199
|
+
_source_id: string;
|
|
23200
|
+
_source_type: string;
|
|
23201
|
+
};
|
|
23202
|
+
Returns: string;
|
|
23203
|
+
};
|
|
23204
|
+
wo_get_billable_lines: {
|
|
23205
|
+
Args: {
|
|
23206
|
+
_work_order_id: string;
|
|
23207
|
+
};
|
|
23208
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
23209
|
+
};
|
|
23210
|
+
wo_get_summary: {
|
|
23211
|
+
Args: {
|
|
23212
|
+
_work_order_id: string;
|
|
23213
|
+
};
|
|
23214
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
23215
|
+
};
|
|
20862
23216
|
};
|
|
20863
23217
|
Enums: {
|
|
20864
23218
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|
|
20865
23219
|
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
|
|
20866
|
-
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
|
|
23220
|
+
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon" | "veilingbon" | "afleverbrief" | "veilingbrief";
|
|
20867
23221
|
doc_orientation: "portrait" | "landscape";
|
|
20868
23222
|
exact_env: "staging" | "live";
|
|
20869
23223
|
exact_push_status: "pending" | "sent" | "error";
|
|
@@ -20877,7 +23231,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
20877
23231
|
};
|
|
20878
23232
|
CompositeTypes: { [_ in never]: never; };
|
|
20879
23233
|
}, {
|
|
20880
|
-
PostgrestVersion: "14.
|
|
23234
|
+
PostgrestVersion: "14.17";
|
|
20881
23235
|
}>;
|
|
20882
23236
|
userId: string;
|
|
20883
23237
|
claims: import("@supabase/auth-js").JwtPayload;
|