@flowselections/pick-schermen-kwekers 1.0.10 → 1.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -24
- package/dist-lib/components/PickPublicPage.js +1 -1
- package/dist-lib/components/PickstationsPage.d.ts.map +1 -1
- package/dist-lib/components/PickstationsPage.js +23 -8
- package/dist-lib/components/TemplateModulePage.d.ts +2 -0
- package/dist-lib/components/TemplateModulePage.d.ts.map +1 -0
- package/dist-lib/components/TemplateModulePage.js +44 -0
- package/dist-lib/components/pick/LanguageTiles.d.ts.map +1 -1
- package/dist-lib/components/pick/LanguageTiles.js +3 -3
- package/dist-lib/components/pick/PickScherm.d.ts.map +1 -1
- package/dist-lib/components/pick/PickScherm.js +73 -11
- package/dist-lib/components/pick/QueueTable.d.ts.map +1 -1
- package/dist-lib/components/pick/QueueTable.js +22 -12
- package/dist-lib/hooks/usePickConfig.d.ts +6 -0
- package/dist-lib/hooks/usePickConfig.d.ts.map +1 -1
- package/dist-lib/hooks/usePickConfig.js +19 -0
- package/dist-lib/hooks/usePickQueue.d.ts +4 -0
- package/dist-lib/hooks/usePickQueue.d.ts.map +1 -1
- package/dist-lib/hooks/usePickQueue.js +38 -7
- package/dist-lib/hooks/usePrintJob.d.ts.map +1 -1
- package/dist-lib/hooks/usePrintJob.js +13 -2
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +2084 -310
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +2084 -310
- 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 +2084 -310
- 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 +2168 -351
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.js +3 -0
- package/dist-lib/lib/layoutMaker/pakbonHtml.js +49 -49
- package/dist-lib/lib/layoutRenderer.js +17 -17
- package/dist-lib/lib/pickApi.d.ts +20 -5
- package/dist-lib/lib/pickApi.d.ts.map +1 -1
- package/dist-lib/lib/pickApi.js +76 -17
- package/dist-lib/lib/pickTypes.d.ts +15 -0
- package/dist-lib/lib/pickTypes.d.ts.map +1 -1
- package/dist-lib/lib/pickUiText.d.ts +29 -0
- package/dist-lib/lib/pickUiText.d.ts.map +1 -0
- package/dist-lib/lib/pickUiText.js +71 -0
- package/package.json +1 -1
|
@@ -673,6 +673,99 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
673
673
|
};
|
|
674
674
|
Relationships: [];
|
|
675
675
|
};
|
|
676
|
+
artikelen_cache: {
|
|
677
|
+
Row: {
|
|
678
|
+
artikelcode: string;
|
|
679
|
+
bron: string;
|
|
680
|
+
bruto_prijs_cent: number | null;
|
|
681
|
+
created_at: string;
|
|
682
|
+
eenheid: string;
|
|
683
|
+
fabrikant: string | null;
|
|
684
|
+
fetched_at: string;
|
|
685
|
+
gtin: string | null;
|
|
686
|
+
id: string;
|
|
687
|
+
naam: string;
|
|
688
|
+
netto_prijs_cent: number | null;
|
|
689
|
+
omschrijving: string | null;
|
|
690
|
+
raw: import("./types").Json;
|
|
691
|
+
updated_at: string;
|
|
692
|
+
valuta: string;
|
|
693
|
+
};
|
|
694
|
+
Insert: {
|
|
695
|
+
artikelcode: string;
|
|
696
|
+
bron?: string;
|
|
697
|
+
bruto_prijs_cent?: number | null;
|
|
698
|
+
created_at?: string;
|
|
699
|
+
eenheid?: string;
|
|
700
|
+
fabrikant?: string | null;
|
|
701
|
+
fetched_at?: string;
|
|
702
|
+
gtin?: string | null;
|
|
703
|
+
id?: string;
|
|
704
|
+
naam: string;
|
|
705
|
+
netto_prijs_cent?: number | null;
|
|
706
|
+
omschrijving?: string | null;
|
|
707
|
+
raw?: import("./types").Json;
|
|
708
|
+
updated_at?: string;
|
|
709
|
+
valuta?: string;
|
|
710
|
+
};
|
|
711
|
+
Update: {
|
|
712
|
+
artikelcode?: string;
|
|
713
|
+
bron?: string;
|
|
714
|
+
bruto_prijs_cent?: number | null;
|
|
715
|
+
created_at?: string;
|
|
716
|
+
eenheid?: string;
|
|
717
|
+
fabrikant?: string | null;
|
|
718
|
+
fetched_at?: string;
|
|
719
|
+
gtin?: string | null;
|
|
720
|
+
id?: string;
|
|
721
|
+
naam?: string;
|
|
722
|
+
netto_prijs_cent?: number | null;
|
|
723
|
+
omschrijving?: string | null;
|
|
724
|
+
raw?: import("./types").Json;
|
|
725
|
+
updated_at?: string;
|
|
726
|
+
valuta?: string;
|
|
727
|
+
};
|
|
728
|
+
Relationships: [];
|
|
729
|
+
};
|
|
730
|
+
artikelen_veldconfig: {
|
|
731
|
+
Row: {
|
|
732
|
+
bron_pad: string;
|
|
733
|
+
created_at: string;
|
|
734
|
+
id: string;
|
|
735
|
+
label: string;
|
|
736
|
+
sort_order: number;
|
|
737
|
+
type: string;
|
|
738
|
+
updated_at: string;
|
|
739
|
+
veld_key: string;
|
|
740
|
+
zichtbaar_in_detail: boolean;
|
|
741
|
+
zichtbaar_in_lijst: boolean;
|
|
742
|
+
};
|
|
743
|
+
Insert: {
|
|
744
|
+
bron_pad: string;
|
|
745
|
+
created_at?: string;
|
|
746
|
+
id?: string;
|
|
747
|
+
label: string;
|
|
748
|
+
sort_order?: number;
|
|
749
|
+
type?: string;
|
|
750
|
+
updated_at?: string;
|
|
751
|
+
veld_key: string;
|
|
752
|
+
zichtbaar_in_detail?: boolean;
|
|
753
|
+
zichtbaar_in_lijst?: boolean;
|
|
754
|
+
};
|
|
755
|
+
Update: {
|
|
756
|
+
bron_pad?: string;
|
|
757
|
+
created_at?: string;
|
|
758
|
+
id?: string;
|
|
759
|
+
label?: string;
|
|
760
|
+
sort_order?: number;
|
|
761
|
+
type?: string;
|
|
762
|
+
updated_at?: string;
|
|
763
|
+
veld_key?: string;
|
|
764
|
+
zichtbaar_in_detail?: boolean;
|
|
765
|
+
zichtbaar_in_lijst?: boolean;
|
|
766
|
+
};
|
|
767
|
+
Relationships: [];
|
|
768
|
+
};
|
|
676
769
|
booking_items: {
|
|
677
770
|
Row: {
|
|
678
771
|
booking_id: string;
|
|
@@ -871,6 +964,126 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
871
964
|
};
|
|
872
965
|
Relationships: [];
|
|
873
966
|
};
|
|
967
|
+
cao_holidays: {
|
|
968
|
+
Row: {
|
|
969
|
+
created_at: string;
|
|
970
|
+
description: string | null;
|
|
971
|
+
holiday_date: string;
|
|
972
|
+
id: string;
|
|
973
|
+
updated_at: string;
|
|
974
|
+
};
|
|
975
|
+
Insert: {
|
|
976
|
+
created_at?: string;
|
|
977
|
+
description?: string | null;
|
|
978
|
+
holiday_date: string;
|
|
979
|
+
id?: string;
|
|
980
|
+
updated_at?: string;
|
|
981
|
+
};
|
|
982
|
+
Update: {
|
|
983
|
+
created_at?: string;
|
|
984
|
+
description?: string | null;
|
|
985
|
+
holiday_date?: string;
|
|
986
|
+
id?: string;
|
|
987
|
+
updated_at?: string;
|
|
988
|
+
};
|
|
989
|
+
Relationships: [];
|
|
990
|
+
};
|
|
991
|
+
cao_settings: {
|
|
992
|
+
Row: {
|
|
993
|
+
auto_break_after_hours: number;
|
|
994
|
+
auto_break_minutes: number;
|
|
995
|
+
auto_break_unpaid: boolean;
|
|
996
|
+
auto_stop_after_hours: number;
|
|
997
|
+
callout_fee: number;
|
|
998
|
+
created_at: string;
|
|
999
|
+
daily_regular_hours: number;
|
|
1000
|
+
default_hourly_rate: number;
|
|
1001
|
+
id: string;
|
|
1002
|
+
materials_markup_percent: number;
|
|
1003
|
+
max_daily_hours: number;
|
|
1004
|
+
max_weekly_hours: number;
|
|
1005
|
+
meal_allowance_amount: number;
|
|
1006
|
+
overtime_pct_178: number;
|
|
1007
|
+
overtime_pct_189: number;
|
|
1008
|
+
overtime_pct_212: number;
|
|
1009
|
+
reminder_after_hours: number;
|
|
1010
|
+
standby_evening_amount: number;
|
|
1011
|
+
standby_weekend_amount: number;
|
|
1012
|
+
travel_cost_per_km: number | null;
|
|
1013
|
+
travel_cost_threshold_km: number | null;
|
|
1014
|
+
travel_counts_as_work: boolean;
|
|
1015
|
+
travel_hourly_rate: number;
|
|
1016
|
+
travel_rate_per_hour: number;
|
|
1017
|
+
travel_threshold_minutes: number;
|
|
1018
|
+
updated_at: string;
|
|
1019
|
+
weekend_always_212: boolean;
|
|
1020
|
+
window_end: string;
|
|
1021
|
+
window_start: string;
|
|
1022
|
+
};
|
|
1023
|
+
Insert: {
|
|
1024
|
+
auto_break_after_hours?: number;
|
|
1025
|
+
auto_break_minutes?: number;
|
|
1026
|
+
auto_break_unpaid?: boolean;
|
|
1027
|
+
auto_stop_after_hours?: number;
|
|
1028
|
+
callout_fee?: number;
|
|
1029
|
+
created_at?: string;
|
|
1030
|
+
daily_regular_hours?: number;
|
|
1031
|
+
default_hourly_rate?: number;
|
|
1032
|
+
id?: string;
|
|
1033
|
+
materials_markup_percent?: number;
|
|
1034
|
+
max_daily_hours?: number;
|
|
1035
|
+
max_weekly_hours?: number;
|
|
1036
|
+
meal_allowance_amount?: number;
|
|
1037
|
+
overtime_pct_178?: number;
|
|
1038
|
+
overtime_pct_189?: number;
|
|
1039
|
+
overtime_pct_212?: number;
|
|
1040
|
+
reminder_after_hours?: number;
|
|
1041
|
+
standby_evening_amount?: number;
|
|
1042
|
+
standby_weekend_amount?: number;
|
|
1043
|
+
travel_cost_per_km?: number | null;
|
|
1044
|
+
travel_cost_threshold_km?: number | null;
|
|
1045
|
+
travel_counts_as_work?: boolean;
|
|
1046
|
+
travel_hourly_rate?: number;
|
|
1047
|
+
travel_rate_per_hour?: number;
|
|
1048
|
+
travel_threshold_minutes?: number;
|
|
1049
|
+
updated_at?: string;
|
|
1050
|
+
weekend_always_212?: boolean;
|
|
1051
|
+
window_end?: string;
|
|
1052
|
+
window_start?: string;
|
|
1053
|
+
};
|
|
1054
|
+
Update: {
|
|
1055
|
+
auto_break_after_hours?: number;
|
|
1056
|
+
auto_break_minutes?: number;
|
|
1057
|
+
auto_break_unpaid?: boolean;
|
|
1058
|
+
auto_stop_after_hours?: number;
|
|
1059
|
+
callout_fee?: number;
|
|
1060
|
+
created_at?: string;
|
|
1061
|
+
daily_regular_hours?: number;
|
|
1062
|
+
default_hourly_rate?: number;
|
|
1063
|
+
id?: string;
|
|
1064
|
+
materials_markup_percent?: number;
|
|
1065
|
+
max_daily_hours?: number;
|
|
1066
|
+
max_weekly_hours?: number;
|
|
1067
|
+
meal_allowance_amount?: number;
|
|
1068
|
+
overtime_pct_178?: number;
|
|
1069
|
+
overtime_pct_189?: number;
|
|
1070
|
+
overtime_pct_212?: number;
|
|
1071
|
+
reminder_after_hours?: number;
|
|
1072
|
+
standby_evening_amount?: number;
|
|
1073
|
+
standby_weekend_amount?: number;
|
|
1074
|
+
travel_cost_per_km?: number | null;
|
|
1075
|
+
travel_cost_threshold_km?: number | null;
|
|
1076
|
+
travel_counts_as_work?: boolean;
|
|
1077
|
+
travel_hourly_rate?: number;
|
|
1078
|
+
travel_rate_per_hour?: number;
|
|
1079
|
+
travel_threshold_minutes?: number;
|
|
1080
|
+
updated_at?: string;
|
|
1081
|
+
weekend_always_212?: boolean;
|
|
1082
|
+
window_end?: string;
|
|
1083
|
+
window_start?: string;
|
|
1084
|
+
};
|
|
1085
|
+
Relationships: [];
|
|
1086
|
+
};
|
|
874
1087
|
carrier_shipping_rates: {
|
|
875
1088
|
Row: {
|
|
876
1089
|
carrier_id: string;
|
|
@@ -2638,6 +2851,42 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
2638
2851
|
};
|
|
2639
2852
|
Relationships: [];
|
|
2640
2853
|
};
|
|
2854
|
+
document_bronregels: {
|
|
2855
|
+
Row: {
|
|
2856
|
+
bron: string;
|
|
2857
|
+
created_at: string;
|
|
2858
|
+
documenttype: string;
|
|
2859
|
+
herkomst: string;
|
|
2860
|
+
id: string;
|
|
2861
|
+
layout_id: string | null;
|
|
2862
|
+
updated_at: string;
|
|
2863
|
+
};
|
|
2864
|
+
Insert: {
|
|
2865
|
+
bron?: string;
|
|
2866
|
+
created_at?: string;
|
|
2867
|
+
documenttype: string;
|
|
2868
|
+
herkomst: string;
|
|
2869
|
+
id?: string;
|
|
2870
|
+
layout_id?: string | null;
|
|
2871
|
+
updated_at?: string;
|
|
2872
|
+
};
|
|
2873
|
+
Update: {
|
|
2874
|
+
bron?: string;
|
|
2875
|
+
created_at?: string;
|
|
2876
|
+
documenttype?: string;
|
|
2877
|
+
herkomst?: string;
|
|
2878
|
+
id?: string;
|
|
2879
|
+
layout_id?: string | null;
|
|
2880
|
+
updated_at?: string;
|
|
2881
|
+
};
|
|
2882
|
+
Relationships: [{
|
|
2883
|
+
foreignKeyName: "document_bronregels_layout_id_fkey";
|
|
2884
|
+
columns: ["layout_id"];
|
|
2885
|
+
isOneToOne: false;
|
|
2886
|
+
referencedRelation: "document_layouts";
|
|
2887
|
+
referencedColumns: ["id"];
|
|
2888
|
+
}];
|
|
2889
|
+
};
|
|
2641
2890
|
document_formaat_printers: {
|
|
2642
2891
|
Row: {
|
|
2643
2892
|
created_at: string;
|
|
@@ -2915,6 +3164,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
2915
3164
|
Row: {
|
|
2916
3165
|
actief: boolean;
|
|
2917
3166
|
breedte_mm: number;
|
|
3167
|
+
bron: string;
|
|
2918
3168
|
config: import("./types").Json;
|
|
2919
3169
|
created_at: string;
|
|
2920
3170
|
created_by: string | null;
|
|
@@ -2932,12 +3182,14 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
2932
3182
|
orientatie: Database["public"]["Enums"]["doc_orientation"];
|
|
2933
3183
|
page_settings: import("./types").Json;
|
|
2934
3184
|
papierformaat: string;
|
|
3185
|
+
systeem: boolean;
|
|
2935
3186
|
thumbnail_url: string | null;
|
|
2936
3187
|
updated_at: string;
|
|
2937
3188
|
};
|
|
2938
3189
|
Insert: {
|
|
2939
3190
|
actief?: boolean;
|
|
2940
3191
|
breedte_mm?: number;
|
|
3192
|
+
bron?: string;
|
|
2941
3193
|
config?: import("./types").Json;
|
|
2942
3194
|
created_at?: string;
|
|
2943
3195
|
created_by?: string | null;
|
|
@@ -2955,12 +3207,14 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
2955
3207
|
orientatie?: Database["public"]["Enums"]["doc_orientation"];
|
|
2956
3208
|
page_settings?: import("./types").Json;
|
|
2957
3209
|
papierformaat?: string;
|
|
3210
|
+
systeem?: boolean;
|
|
2958
3211
|
thumbnail_url?: string | null;
|
|
2959
3212
|
updated_at?: string;
|
|
2960
3213
|
};
|
|
2961
3214
|
Update: {
|
|
2962
3215
|
actief?: boolean;
|
|
2963
3216
|
breedte_mm?: number;
|
|
3217
|
+
bron?: string;
|
|
2964
3218
|
config?: import("./types").Json;
|
|
2965
3219
|
created_at?: string;
|
|
2966
3220
|
created_by?: string | null;
|
|
@@ -2978,11 +3232,90 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
2978
3232
|
orientatie?: Database["public"]["Enums"]["doc_orientation"];
|
|
2979
3233
|
page_settings?: import("./types").Json;
|
|
2980
3234
|
papierformaat?: string;
|
|
3235
|
+
systeem?: boolean;
|
|
2981
3236
|
thumbnail_url?: string | null;
|
|
2982
3237
|
updated_at?: string;
|
|
2983
3238
|
};
|
|
2984
3239
|
Relationships: [];
|
|
2985
3240
|
};
|
|
3241
|
+
document_printplek_printers: {
|
|
3242
|
+
Row: {
|
|
3243
|
+
created_at: string;
|
|
3244
|
+
documenttype: string;
|
|
3245
|
+
id: string;
|
|
3246
|
+
papierformaat: string | null;
|
|
3247
|
+
print_plek_id: string;
|
|
3248
|
+
printer_id: string | null;
|
|
3249
|
+
updated_at: string;
|
|
3250
|
+
};
|
|
3251
|
+
Insert: {
|
|
3252
|
+
created_at?: string;
|
|
3253
|
+
documenttype: string;
|
|
3254
|
+
id?: string;
|
|
3255
|
+
papierformaat?: string | null;
|
|
3256
|
+
print_plek_id: string;
|
|
3257
|
+
printer_id?: string | null;
|
|
3258
|
+
updated_at?: string;
|
|
3259
|
+
};
|
|
3260
|
+
Update: {
|
|
3261
|
+
created_at?: string;
|
|
3262
|
+
documenttype?: string;
|
|
3263
|
+
id?: string;
|
|
3264
|
+
papierformaat?: string | null;
|
|
3265
|
+
print_plek_id?: string;
|
|
3266
|
+
printer_id?: string | null;
|
|
3267
|
+
updated_at?: string;
|
|
3268
|
+
};
|
|
3269
|
+
Relationships: [{
|
|
3270
|
+
foreignKeyName: "document_printplek_printers_print_plek_id_fkey";
|
|
3271
|
+
columns: ["print_plek_id"];
|
|
3272
|
+
isOneToOne: false;
|
|
3273
|
+
referencedRelation: "print_plekken";
|
|
3274
|
+
referencedColumns: ["id"];
|
|
3275
|
+
}, {
|
|
3276
|
+
foreignKeyName: "document_printplek_printers_printer_id_fkey";
|
|
3277
|
+
columns: ["printer_id"];
|
|
3278
|
+
isOneToOne: false;
|
|
3279
|
+
referencedRelation: "printers";
|
|
3280
|
+
referencedColumns: ["id"];
|
|
3281
|
+
}];
|
|
3282
|
+
};
|
|
3283
|
+
document_werkplek_printers: {
|
|
3284
|
+
Row: {
|
|
3285
|
+
created_at: string;
|
|
3286
|
+
documenttype: string;
|
|
3287
|
+
id: string;
|
|
3288
|
+
papierformaat: string | null;
|
|
3289
|
+
printer_id: string | null;
|
|
3290
|
+
updated_at: string;
|
|
3291
|
+
werkplek: string;
|
|
3292
|
+
};
|
|
3293
|
+
Insert: {
|
|
3294
|
+
created_at?: string;
|
|
3295
|
+
documenttype: string;
|
|
3296
|
+
id?: string;
|
|
3297
|
+
papierformaat?: string | null;
|
|
3298
|
+
printer_id?: string | null;
|
|
3299
|
+
updated_at?: string;
|
|
3300
|
+
werkplek: string;
|
|
3301
|
+
};
|
|
3302
|
+
Update: {
|
|
3303
|
+
created_at?: string;
|
|
3304
|
+
documenttype?: string;
|
|
3305
|
+
id?: string;
|
|
3306
|
+
papierformaat?: string | null;
|
|
3307
|
+
printer_id?: string | null;
|
|
3308
|
+
updated_at?: string;
|
|
3309
|
+
werkplek?: string;
|
|
3310
|
+
};
|
|
3311
|
+
Relationships: [{
|
|
3312
|
+
foreignKeyName: "document_werkplek_printers_printer_id_fkey";
|
|
3313
|
+
columns: ["printer_id"];
|
|
3314
|
+
isOneToOne: false;
|
|
3315
|
+
referencedRelation: "printers";
|
|
3316
|
+
referencedColumns: ["id"];
|
|
3317
|
+
}];
|
|
3318
|
+
};
|
|
2986
3319
|
email_auth_connections: {
|
|
2987
3320
|
Row: {
|
|
2988
3321
|
access_token_encrypted: string | null;
|
|
@@ -7228,8 +7561,63 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7228
7561
|
};
|
|
7229
7562
|
Relationships: [];
|
|
7230
7563
|
};
|
|
7564
|
+
invoice_items: {
|
|
7565
|
+
Row: {
|
|
7566
|
+
created_at: string;
|
|
7567
|
+
description: string;
|
|
7568
|
+
id: string;
|
|
7569
|
+
invoice_id: string;
|
|
7570
|
+
kind: string;
|
|
7571
|
+
quantity: number;
|
|
7572
|
+
sort_order: number;
|
|
7573
|
+
source_line_ref: string | null;
|
|
7574
|
+
total_cents: number;
|
|
7575
|
+
unit: string;
|
|
7576
|
+
unit_price_cents: number;
|
|
7577
|
+
};
|
|
7578
|
+
Insert: {
|
|
7579
|
+
created_at?: string;
|
|
7580
|
+
description?: string;
|
|
7581
|
+
id?: string;
|
|
7582
|
+
invoice_id: string;
|
|
7583
|
+
kind?: string;
|
|
7584
|
+
quantity?: number;
|
|
7585
|
+
sort_order?: number;
|
|
7586
|
+
source_line_ref?: string | null;
|
|
7587
|
+
total_cents?: number;
|
|
7588
|
+
unit?: string;
|
|
7589
|
+
unit_price_cents?: number;
|
|
7590
|
+
};
|
|
7591
|
+
Update: {
|
|
7592
|
+
created_at?: string;
|
|
7593
|
+
description?: string;
|
|
7594
|
+
id?: string;
|
|
7595
|
+
invoice_id?: string;
|
|
7596
|
+
kind?: string;
|
|
7597
|
+
quantity?: number;
|
|
7598
|
+
sort_order?: number;
|
|
7599
|
+
source_line_ref?: string | null;
|
|
7600
|
+
total_cents?: number;
|
|
7601
|
+
unit?: string;
|
|
7602
|
+
unit_price_cents?: number;
|
|
7603
|
+
};
|
|
7604
|
+
Relationships: [{
|
|
7605
|
+
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
7606
|
+
columns: ["invoice_id"];
|
|
7607
|
+
isOneToOne: false;
|
|
7608
|
+
referencedRelation: "invoices";
|
|
7609
|
+
referencedColumns: ["id"];
|
|
7610
|
+
}, {
|
|
7611
|
+
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
7612
|
+
columns: ["invoice_id"];
|
|
7613
|
+
isOneToOne: false;
|
|
7614
|
+
referencedRelation: "uren_facturen";
|
|
7615
|
+
referencedColumns: ["id"];
|
|
7616
|
+
}];
|
|
7617
|
+
};
|
|
7231
7618
|
invoice_post_idempotency: {
|
|
7232
7619
|
Row: {
|
|
7620
|
+
administration_code: string;
|
|
7233
7621
|
client_request_id: string;
|
|
7234
7622
|
completed_at: string | null;
|
|
7235
7623
|
created_at: string;
|
|
@@ -7239,6 +7627,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7239
7627
|
user_id: string;
|
|
7240
7628
|
};
|
|
7241
7629
|
Insert: {
|
|
7630
|
+
administration_code?: string;
|
|
7242
7631
|
client_request_id: string;
|
|
7243
7632
|
completed_at?: string | null;
|
|
7244
7633
|
created_at?: string;
|
|
@@ -7248,6 +7637,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7248
7637
|
user_id: string;
|
|
7249
7638
|
};
|
|
7250
7639
|
Update: {
|
|
7640
|
+
administration_code?: string;
|
|
7251
7641
|
client_request_id?: string;
|
|
7252
7642
|
completed_at?: string | null;
|
|
7253
7643
|
created_at?: string;
|
|
@@ -7453,34 +7843,103 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7453
7843
|
};
|
|
7454
7844
|
Relationships: [];
|
|
7455
7845
|
};
|
|
7456
|
-
|
|
7846
|
+
invoices: {
|
|
7457
7847
|
Row: {
|
|
7458
7848
|
created_at: string;
|
|
7459
|
-
|
|
7460
|
-
|
|
7849
|
+
created_by: string | null;
|
|
7850
|
+
customer_id: string | null;
|
|
7851
|
+
customer_name: string | null;
|
|
7852
|
+
due_date: string | null;
|
|
7461
7853
|
id: string;
|
|
7462
|
-
|
|
7463
|
-
|
|
7464
|
-
|
|
7854
|
+
invoice_date: string;
|
|
7855
|
+
invoice_number: string | null;
|
|
7856
|
+
note: string | null;
|
|
7857
|
+
source_number: string | null;
|
|
7858
|
+
source_ref: string | null;
|
|
7859
|
+
source_type: string;
|
|
7860
|
+
status: string;
|
|
7861
|
+
subtotal_cents: number;
|
|
7862
|
+
total_cents: number;
|
|
7465
7863
|
updated_at: string;
|
|
7864
|
+
vat_cents: number;
|
|
7865
|
+
vat_rate: number;
|
|
7466
7866
|
};
|
|
7467
7867
|
Insert: {
|
|
7468
7868
|
created_at?: string;
|
|
7469
|
-
|
|
7470
|
-
|
|
7869
|
+
created_by?: string | null;
|
|
7870
|
+
customer_id?: string | null;
|
|
7871
|
+
customer_name?: string | null;
|
|
7872
|
+
due_date?: string | null;
|
|
7471
7873
|
id?: string;
|
|
7472
|
-
|
|
7473
|
-
|
|
7474
|
-
|
|
7874
|
+
invoice_date?: string;
|
|
7875
|
+
invoice_number?: string | null;
|
|
7876
|
+
note?: string | null;
|
|
7877
|
+
source_number?: string | null;
|
|
7878
|
+
source_ref?: string | null;
|
|
7879
|
+
source_type?: string;
|
|
7880
|
+
status?: string;
|
|
7881
|
+
subtotal_cents?: number;
|
|
7882
|
+
total_cents?: number;
|
|
7475
7883
|
updated_at?: string;
|
|
7884
|
+
vat_cents?: number;
|
|
7885
|
+
vat_rate?: number;
|
|
7476
7886
|
};
|
|
7477
7887
|
Update: {
|
|
7478
7888
|
created_at?: string;
|
|
7479
|
-
|
|
7480
|
-
|
|
7481
|
-
|
|
7482
|
-
|
|
7483
|
-
|
|
7889
|
+
created_by?: string | null;
|
|
7890
|
+
customer_id?: string | null;
|
|
7891
|
+
customer_name?: string | null;
|
|
7892
|
+
due_date?: string | null;
|
|
7893
|
+
id?: string;
|
|
7894
|
+
invoice_date?: string;
|
|
7895
|
+
invoice_number?: string | null;
|
|
7896
|
+
note?: string | null;
|
|
7897
|
+
source_number?: string | null;
|
|
7898
|
+
source_ref?: string | null;
|
|
7899
|
+
source_type?: string;
|
|
7900
|
+
status?: string;
|
|
7901
|
+
subtotal_cents?: number;
|
|
7902
|
+
total_cents?: number;
|
|
7903
|
+
updated_at?: string;
|
|
7904
|
+
vat_cents?: number;
|
|
7905
|
+
vat_rate?: number;
|
|
7906
|
+
};
|
|
7907
|
+
Relationships: [{
|
|
7908
|
+
foreignKeyName: "invoices_customer_id_fkey";
|
|
7909
|
+
columns: ["customer_id"];
|
|
7910
|
+
isOneToOne: false;
|
|
7911
|
+
referencedRelation: "itk_customers";
|
|
7912
|
+
referencedColumns: ["id"];
|
|
7913
|
+
}];
|
|
7914
|
+
};
|
|
7915
|
+
itk_contact_persons: {
|
|
7916
|
+
Row: {
|
|
7917
|
+
created_at: string;
|
|
7918
|
+
customer_id: string;
|
|
7919
|
+
email: string | null;
|
|
7920
|
+
id: string;
|
|
7921
|
+
name: string;
|
|
7922
|
+
phone: string | null;
|
|
7923
|
+
role: string | null;
|
|
7924
|
+
updated_at: string;
|
|
7925
|
+
};
|
|
7926
|
+
Insert: {
|
|
7927
|
+
created_at?: string;
|
|
7928
|
+
customer_id: string;
|
|
7929
|
+
email?: string | null;
|
|
7930
|
+
id?: string;
|
|
7931
|
+
name: string;
|
|
7932
|
+
phone?: string | null;
|
|
7933
|
+
role?: string | null;
|
|
7934
|
+
updated_at?: string;
|
|
7935
|
+
};
|
|
7936
|
+
Update: {
|
|
7937
|
+
created_at?: string;
|
|
7938
|
+
customer_id?: string;
|
|
7939
|
+
email?: string | null;
|
|
7940
|
+
id?: string;
|
|
7941
|
+
name?: string;
|
|
7942
|
+
phone?: string | null;
|
|
7484
7943
|
role?: string | null;
|
|
7485
7944
|
updated_at?: string;
|
|
7486
7945
|
};
|
|
@@ -7648,6 +8107,258 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7648
8107
|
};
|
|
7649
8108
|
Relationships: [];
|
|
7650
8109
|
};
|
|
8110
|
+
itk_offerte_events: {
|
|
8111
|
+
Row: {
|
|
8112
|
+
created_at: string;
|
|
8113
|
+
event_type: string;
|
|
8114
|
+
id: string;
|
|
8115
|
+
metadata: import("./types").Json;
|
|
8116
|
+
offerte_id: string;
|
|
8117
|
+
omschrijving: string | null;
|
|
8118
|
+
user_id: string | null;
|
|
8119
|
+
};
|
|
8120
|
+
Insert: {
|
|
8121
|
+
created_at?: string;
|
|
8122
|
+
event_type: string;
|
|
8123
|
+
id?: string;
|
|
8124
|
+
metadata?: import("./types").Json;
|
|
8125
|
+
offerte_id: string;
|
|
8126
|
+
omschrijving?: string | null;
|
|
8127
|
+
user_id?: string | null;
|
|
8128
|
+
};
|
|
8129
|
+
Update: {
|
|
8130
|
+
created_at?: string;
|
|
8131
|
+
event_type?: string;
|
|
8132
|
+
id?: string;
|
|
8133
|
+
metadata?: import("./types").Json;
|
|
8134
|
+
offerte_id?: string;
|
|
8135
|
+
omschrijving?: string | null;
|
|
8136
|
+
user_id?: string | null;
|
|
8137
|
+
};
|
|
8138
|
+
Relationships: [{
|
|
8139
|
+
foreignKeyName: "itk_offerte_events_offerte_id_fkey";
|
|
8140
|
+
columns: ["offerte_id"];
|
|
8141
|
+
isOneToOne: false;
|
|
8142
|
+
referencedRelation: "itk_offertes";
|
|
8143
|
+
referencedColumns: ["id"];
|
|
8144
|
+
}];
|
|
8145
|
+
};
|
|
8146
|
+
itk_offerte_regels: {
|
|
8147
|
+
Row: {
|
|
8148
|
+
created_at: string;
|
|
8149
|
+
id: string;
|
|
8150
|
+
line_total_cents: number;
|
|
8151
|
+
offerte_id: string;
|
|
8152
|
+
omschrijving: string;
|
|
8153
|
+
package_id: string | null;
|
|
8154
|
+
quantity: number;
|
|
8155
|
+
sort_order: number;
|
|
8156
|
+
source: string;
|
|
8157
|
+
unit_price_cents: number;
|
|
8158
|
+
updated_at: string;
|
|
8159
|
+
};
|
|
8160
|
+
Insert: {
|
|
8161
|
+
created_at?: string;
|
|
8162
|
+
id?: string;
|
|
8163
|
+
line_total_cents?: number;
|
|
8164
|
+
offerte_id: string;
|
|
8165
|
+
omschrijving?: string;
|
|
8166
|
+
package_id?: string | null;
|
|
8167
|
+
quantity?: number;
|
|
8168
|
+
sort_order?: number;
|
|
8169
|
+
source?: string;
|
|
8170
|
+
unit_price_cents?: number;
|
|
8171
|
+
updated_at?: string;
|
|
8172
|
+
};
|
|
8173
|
+
Update: {
|
|
8174
|
+
created_at?: string;
|
|
8175
|
+
id?: string;
|
|
8176
|
+
line_total_cents?: number;
|
|
8177
|
+
offerte_id?: string;
|
|
8178
|
+
omschrijving?: string;
|
|
8179
|
+
package_id?: string | null;
|
|
8180
|
+
quantity?: number;
|
|
8181
|
+
sort_order?: number;
|
|
8182
|
+
source?: string;
|
|
8183
|
+
unit_price_cents?: number;
|
|
8184
|
+
updated_at?: string;
|
|
8185
|
+
};
|
|
8186
|
+
Relationships: [{
|
|
8187
|
+
foreignKeyName: "itk_offerte_regels_offerte_id_fkey";
|
|
8188
|
+
columns: ["offerte_id"];
|
|
8189
|
+
isOneToOne: false;
|
|
8190
|
+
referencedRelation: "itk_offertes";
|
|
8191
|
+
referencedColumns: ["id"];
|
|
8192
|
+
}, {
|
|
8193
|
+
foreignKeyName: "itk_offerte_regels_package_id_fkey";
|
|
8194
|
+
columns: ["package_id"];
|
|
8195
|
+
isOneToOne: false;
|
|
8196
|
+
referencedRelation: "werkbon_packages";
|
|
8197
|
+
referencedColumns: ["id"];
|
|
8198
|
+
}];
|
|
8199
|
+
};
|
|
8200
|
+
itk_offerte_settings: {
|
|
8201
|
+
Row: {
|
|
8202
|
+
auto_convert_binnen_mandaat: boolean;
|
|
8203
|
+
created_at: string;
|
|
8204
|
+
default_geldigheid_dagen: number;
|
|
8205
|
+
default_vat_rate: number;
|
|
8206
|
+
id: string;
|
|
8207
|
+
singleton: boolean;
|
|
8208
|
+
updated_at: string;
|
|
8209
|
+
};
|
|
8210
|
+
Insert: {
|
|
8211
|
+
auto_convert_binnen_mandaat?: boolean;
|
|
8212
|
+
created_at?: string;
|
|
8213
|
+
default_geldigheid_dagen?: number;
|
|
8214
|
+
default_vat_rate?: number;
|
|
8215
|
+
id?: string;
|
|
8216
|
+
singleton?: boolean;
|
|
8217
|
+
updated_at?: string;
|
|
8218
|
+
};
|
|
8219
|
+
Update: {
|
|
8220
|
+
auto_convert_binnen_mandaat?: boolean;
|
|
8221
|
+
created_at?: string;
|
|
8222
|
+
default_geldigheid_dagen?: number;
|
|
8223
|
+
default_vat_rate?: number;
|
|
8224
|
+
id?: string;
|
|
8225
|
+
singleton?: boolean;
|
|
8226
|
+
updated_at?: string;
|
|
8227
|
+
};
|
|
8228
|
+
Relationships: [];
|
|
8229
|
+
};
|
|
8230
|
+
itk_offertes: {
|
|
8231
|
+
Row: {
|
|
8232
|
+
ai_generated: boolean;
|
|
8233
|
+
approved_at: string | null;
|
|
8234
|
+
binnen_mandaat: boolean;
|
|
8235
|
+
contact_id: string | null;
|
|
8236
|
+
converted_at: string | null;
|
|
8237
|
+
created_at: string;
|
|
8238
|
+
created_by: string | null;
|
|
8239
|
+
customer_id: string | null;
|
|
8240
|
+
follow_up_werkbon_id: string | null;
|
|
8241
|
+
id: string;
|
|
8242
|
+
jaar: number;
|
|
8243
|
+
mandaat_restant_cents: number;
|
|
8244
|
+
notities: string | null;
|
|
8245
|
+
offerte_number: string | null;
|
|
8246
|
+
omschrijving: string;
|
|
8247
|
+
rejected_at: string | null;
|
|
8248
|
+
sent_at: string | null;
|
|
8249
|
+
source_number: string | null;
|
|
8250
|
+
source_ref: string | null;
|
|
8251
|
+
source_type: string;
|
|
8252
|
+
status: string;
|
|
8253
|
+
subtotal_cents: number;
|
|
8254
|
+
total_cents: number;
|
|
8255
|
+
updated_at: string;
|
|
8256
|
+
valid_until: string | null;
|
|
8257
|
+
vat_cents: number;
|
|
8258
|
+
vat_rate: number;
|
|
8259
|
+
viewed_at: string | null;
|
|
8260
|
+
volgnummer: number | null;
|
|
8261
|
+
werkbon_id: string | null;
|
|
8262
|
+
work_location_id: string | null;
|
|
8263
|
+
};
|
|
8264
|
+
Insert: {
|
|
8265
|
+
ai_generated?: boolean;
|
|
8266
|
+
approved_at?: string | null;
|
|
8267
|
+
binnen_mandaat?: boolean;
|
|
8268
|
+
contact_id?: string | null;
|
|
8269
|
+
converted_at?: string | null;
|
|
8270
|
+
created_at?: string;
|
|
8271
|
+
created_by?: string | null;
|
|
8272
|
+
customer_id?: string | null;
|
|
8273
|
+
follow_up_werkbon_id?: string | null;
|
|
8274
|
+
id?: string;
|
|
8275
|
+
jaar?: number;
|
|
8276
|
+
mandaat_restant_cents?: number;
|
|
8277
|
+
notities?: string | null;
|
|
8278
|
+
offerte_number?: string | null;
|
|
8279
|
+
omschrijving?: string;
|
|
8280
|
+
rejected_at?: string | null;
|
|
8281
|
+
sent_at?: string | null;
|
|
8282
|
+
source_number?: string | null;
|
|
8283
|
+
source_ref?: string | null;
|
|
8284
|
+
source_type?: string;
|
|
8285
|
+
status?: string;
|
|
8286
|
+
subtotal_cents?: number;
|
|
8287
|
+
total_cents?: number;
|
|
8288
|
+
updated_at?: string;
|
|
8289
|
+
valid_until?: string | null;
|
|
8290
|
+
vat_cents?: number;
|
|
8291
|
+
vat_rate?: number;
|
|
8292
|
+
viewed_at?: string | null;
|
|
8293
|
+
volgnummer?: number | null;
|
|
8294
|
+
werkbon_id?: string | null;
|
|
8295
|
+
work_location_id?: string | null;
|
|
8296
|
+
};
|
|
8297
|
+
Update: {
|
|
8298
|
+
ai_generated?: boolean;
|
|
8299
|
+
approved_at?: string | null;
|
|
8300
|
+
binnen_mandaat?: boolean;
|
|
8301
|
+
contact_id?: string | null;
|
|
8302
|
+
converted_at?: string | null;
|
|
8303
|
+
created_at?: string;
|
|
8304
|
+
created_by?: string | null;
|
|
8305
|
+
customer_id?: string | null;
|
|
8306
|
+
follow_up_werkbon_id?: string | null;
|
|
8307
|
+
id?: string;
|
|
8308
|
+
jaar?: number;
|
|
8309
|
+
mandaat_restant_cents?: number;
|
|
8310
|
+
notities?: string | null;
|
|
8311
|
+
offerte_number?: string | null;
|
|
8312
|
+
omschrijving?: string;
|
|
8313
|
+
rejected_at?: string | null;
|
|
8314
|
+
sent_at?: string | null;
|
|
8315
|
+
source_number?: string | null;
|
|
8316
|
+
source_ref?: string | null;
|
|
8317
|
+
source_type?: string;
|
|
8318
|
+
status?: string;
|
|
8319
|
+
subtotal_cents?: number;
|
|
8320
|
+
total_cents?: number;
|
|
8321
|
+
updated_at?: string;
|
|
8322
|
+
valid_until?: string | null;
|
|
8323
|
+
vat_cents?: number;
|
|
8324
|
+
vat_rate?: number;
|
|
8325
|
+
viewed_at?: string | null;
|
|
8326
|
+
volgnummer?: number | null;
|
|
8327
|
+
werkbon_id?: string | null;
|
|
8328
|
+
work_location_id?: string | null;
|
|
8329
|
+
};
|
|
8330
|
+
Relationships: [{
|
|
8331
|
+
foreignKeyName: "itk_offertes_contact_id_fkey";
|
|
8332
|
+
columns: ["contact_id"];
|
|
8333
|
+
isOneToOne: false;
|
|
8334
|
+
referencedRelation: "itk_contact_persons";
|
|
8335
|
+
referencedColumns: ["id"];
|
|
8336
|
+
}, {
|
|
8337
|
+
foreignKeyName: "itk_offertes_customer_id_fkey";
|
|
8338
|
+
columns: ["customer_id"];
|
|
8339
|
+
isOneToOne: false;
|
|
8340
|
+
referencedRelation: "itk_customers";
|
|
8341
|
+
referencedColumns: ["id"];
|
|
8342
|
+
}, {
|
|
8343
|
+
foreignKeyName: "itk_offertes_follow_up_werkbon_id_fkey";
|
|
8344
|
+
columns: ["follow_up_werkbon_id"];
|
|
8345
|
+
isOneToOne: false;
|
|
8346
|
+
referencedRelation: "werkbonnen";
|
|
8347
|
+
referencedColumns: ["id"];
|
|
8348
|
+
}, {
|
|
8349
|
+
foreignKeyName: "itk_offertes_werkbon_id_fkey";
|
|
8350
|
+
columns: ["werkbon_id"];
|
|
8351
|
+
isOneToOne: false;
|
|
8352
|
+
referencedRelation: "werkbonnen";
|
|
8353
|
+
referencedColumns: ["id"];
|
|
8354
|
+
}, {
|
|
8355
|
+
foreignKeyName: "itk_offertes_work_location_id_fkey";
|
|
8356
|
+
columns: ["work_location_id"];
|
|
8357
|
+
isOneToOne: false;
|
|
8358
|
+
referencedRelation: "itk_work_locations";
|
|
8359
|
+
referencedColumns: ["id"];
|
|
8360
|
+
}];
|
|
8361
|
+
};
|
|
7651
8362
|
itk_work_locations: {
|
|
7652
8363
|
Row: {
|
|
7653
8364
|
city: string | null;
|
|
@@ -7765,7 +8476,6 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7765
8476
|
start_date: string;
|
|
7766
8477
|
start_time: string | null;
|
|
7767
8478
|
status: string;
|
|
7768
|
-
tenant_id: string;
|
|
7769
8479
|
updated_at: string;
|
|
7770
8480
|
user_id: string;
|
|
7771
8481
|
};
|
|
@@ -7783,7 +8493,6 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7783
8493
|
start_date: string;
|
|
7784
8494
|
start_time?: string | null;
|
|
7785
8495
|
status?: string;
|
|
7786
|
-
tenant_id?: string;
|
|
7787
8496
|
updated_at?: string;
|
|
7788
8497
|
user_id: string;
|
|
7789
8498
|
};
|
|
@@ -7801,7 +8510,6 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7801
8510
|
start_date?: string;
|
|
7802
8511
|
start_time?: string | null;
|
|
7803
8512
|
status?: string;
|
|
7804
|
-
tenant_id?: string;
|
|
7805
8513
|
updated_at?: string;
|
|
7806
8514
|
user_id?: string;
|
|
7807
8515
|
};
|
|
@@ -7809,13 +8517,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7809
8517
|
foreignKeyName: "leave_requests_monteur_id_fkey";
|
|
7810
8518
|
columns: ["monteur_id"];
|
|
7811
8519
|
isOneToOne: false;
|
|
7812
|
-
referencedRelation: "
|
|
8520
|
+
referencedRelation: "profiles";
|
|
7813
8521
|
referencedColumns: ["id"];
|
|
7814
8522
|
}, {
|
|
7815
8523
|
foreignKeyName: "leave_requests_user_id_fkey";
|
|
7816
8524
|
columns: ["user_id"];
|
|
7817
8525
|
isOneToOne: false;
|
|
7818
|
-
referencedRelation: "
|
|
8526
|
+
referencedRelation: "profiles";
|
|
7819
8527
|
referencedColumns: ["id"];
|
|
7820
8528
|
}];
|
|
7821
8529
|
};
|
|
@@ -8551,6 +9259,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8551
9259
|
id: string;
|
|
8552
9260
|
last_error: string | null;
|
|
8553
9261
|
last_error_at: string | null;
|
|
9262
|
+
last_error_code: string | null;
|
|
9263
|
+
last_gateway_status: number | null;
|
|
9264
|
+
last_response: import("./types").Json | null;
|
|
8554
9265
|
last_sent_hash: string | null;
|
|
8555
9266
|
locked_by: string | null;
|
|
8556
9267
|
locked_until: string | null;
|
|
@@ -8571,6 +9282,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8571
9282
|
id?: string;
|
|
8572
9283
|
last_error?: string | null;
|
|
8573
9284
|
last_error_at?: string | null;
|
|
9285
|
+
last_error_code?: string | null;
|
|
9286
|
+
last_gateway_status?: number | null;
|
|
9287
|
+
last_response?: import("./types").Json | null;
|
|
8574
9288
|
last_sent_hash?: string | null;
|
|
8575
9289
|
locked_by?: string | null;
|
|
8576
9290
|
locked_until?: string | null;
|
|
@@ -8591,6 +9305,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8591
9305
|
id?: string;
|
|
8592
9306
|
last_error?: string | null;
|
|
8593
9307
|
last_error_at?: string | null;
|
|
9308
|
+
last_error_code?: string | null;
|
|
9309
|
+
last_gateway_status?: number | null;
|
|
9310
|
+
last_response?: import("./types").Json | null;
|
|
8594
9311
|
last_sent_hash?: string | null;
|
|
8595
9312
|
locked_by?: string | null;
|
|
8596
9313
|
locked_until?: string | null;
|
|
@@ -9970,38 +10687,181 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9970
10687
|
};
|
|
9971
10688
|
Relationships: [];
|
|
9972
10689
|
};
|
|
9973
|
-
|
|
10690
|
+
material_usage: {
|
|
9974
10691
|
Row: {
|
|
9975
10692
|
created_at: string;
|
|
9976
10693
|
id: string;
|
|
9977
|
-
|
|
9978
|
-
|
|
9979
|
-
|
|
10694
|
+
material_name: string;
|
|
10695
|
+
monteur_id: string | null;
|
|
10696
|
+
price_at_time: number;
|
|
10697
|
+
quantity_used: number;
|
|
9980
10698
|
updated_at: string;
|
|
10699
|
+
van_inventory_id: string | null;
|
|
10700
|
+
work_order_id: string;
|
|
9981
10701
|
};
|
|
9982
10702
|
Insert: {
|
|
9983
10703
|
created_at?: string;
|
|
9984
10704
|
id?: string;
|
|
9985
|
-
|
|
9986
|
-
|
|
9987
|
-
|
|
10705
|
+
material_name: string;
|
|
10706
|
+
monteur_id?: string | null;
|
|
10707
|
+
price_at_time?: number;
|
|
10708
|
+
quantity_used?: number;
|
|
9988
10709
|
updated_at?: string;
|
|
10710
|
+
van_inventory_id?: string | null;
|
|
10711
|
+
work_order_id: string;
|
|
9989
10712
|
};
|
|
9990
10713
|
Update: {
|
|
9991
10714
|
created_at?: string;
|
|
9992
10715
|
id?: string;
|
|
9993
|
-
|
|
9994
|
-
|
|
9995
|
-
|
|
10716
|
+
material_name?: string;
|
|
10717
|
+
monteur_id?: string | null;
|
|
10718
|
+
price_at_time?: number;
|
|
10719
|
+
quantity_used?: number;
|
|
9996
10720
|
updated_at?: string;
|
|
10721
|
+
van_inventory_id?: string | null;
|
|
10722
|
+
work_order_id?: string;
|
|
9997
10723
|
};
|
|
9998
|
-
Relationships: [
|
|
9999
|
-
|
|
10000
|
-
|
|
10724
|
+
Relationships: [{
|
|
10725
|
+
foreignKeyName: "material_usage_monteur_id_fkey";
|
|
10726
|
+
columns: ["monteur_id"];
|
|
10727
|
+
isOneToOne: false;
|
|
10728
|
+
referencedRelation: "profiles";
|
|
10729
|
+
referencedColumns: ["id"];
|
|
10730
|
+
}, {
|
|
10731
|
+
foreignKeyName: "material_usage_van_inventory_id_fkey";
|
|
10732
|
+
columns: ["van_inventory_id"];
|
|
10733
|
+
isOneToOne: false;
|
|
10734
|
+
referencedRelation: "van_inventories";
|
|
10735
|
+
referencedColumns: ["id"];
|
|
10736
|
+
}, {
|
|
10737
|
+
foreignKeyName: "material_usage_work_order_id_fkey";
|
|
10738
|
+
columns: ["work_order_id"];
|
|
10739
|
+
isOneToOne: false;
|
|
10740
|
+
referencedRelation: "work_orders";
|
|
10741
|
+
referencedColumns: ["id"];
|
|
10742
|
+
}];
|
|
10743
|
+
};
|
|
10744
|
+
medewerker_details: {
|
|
10745
|
+
Row: {
|
|
10746
|
+
color: string | null;
|
|
10747
|
+
created_at: string;
|
|
10748
|
+
hours_fri: number | null;
|
|
10749
|
+
hours_mon: number | null;
|
|
10750
|
+
hours_thu: number | null;
|
|
10751
|
+
hours_tue: number | null;
|
|
10752
|
+
hours_wed: number | null;
|
|
10753
|
+
id: string;
|
|
10754
|
+
is_active: boolean;
|
|
10755
|
+
leave_balance_hours: number;
|
|
10756
|
+
persnr: string | null;
|
|
10757
|
+
phone: string | null;
|
|
10758
|
+
profile_id: string;
|
|
10759
|
+
updated_at: string;
|
|
10760
|
+
};
|
|
10761
|
+
Insert: {
|
|
10762
|
+
color?: string | null;
|
|
10763
|
+
created_at?: string;
|
|
10764
|
+
hours_fri?: number | null;
|
|
10765
|
+
hours_mon?: number | null;
|
|
10766
|
+
hours_thu?: number | null;
|
|
10767
|
+
hours_tue?: number | null;
|
|
10768
|
+
hours_wed?: number | null;
|
|
10769
|
+
id?: string;
|
|
10770
|
+
is_active?: boolean;
|
|
10771
|
+
leave_balance_hours?: number;
|
|
10772
|
+
persnr?: string | null;
|
|
10773
|
+
phone?: string | null;
|
|
10774
|
+
profile_id: string;
|
|
10775
|
+
updated_at?: string;
|
|
10776
|
+
};
|
|
10777
|
+
Update: {
|
|
10778
|
+
color?: string | null;
|
|
10779
|
+
created_at?: string;
|
|
10780
|
+
hours_fri?: number | null;
|
|
10781
|
+
hours_mon?: number | null;
|
|
10782
|
+
hours_thu?: number | null;
|
|
10783
|
+
hours_tue?: number | null;
|
|
10784
|
+
hours_wed?: number | null;
|
|
10785
|
+
id?: string;
|
|
10786
|
+
is_active?: boolean;
|
|
10787
|
+
leave_balance_hours?: number;
|
|
10788
|
+
persnr?: string | null;
|
|
10789
|
+
phone?: string | null;
|
|
10790
|
+
profile_id?: string;
|
|
10791
|
+
updated_at?: string;
|
|
10792
|
+
};
|
|
10793
|
+
Relationships: [{
|
|
10794
|
+
foreignKeyName: "medewerker_details_profile_id_fkey";
|
|
10795
|
+
columns: ["profile_id"];
|
|
10796
|
+
isOneToOne: true;
|
|
10797
|
+
referencedRelation: "profiles";
|
|
10798
|
+
referencedColumns: ["id"];
|
|
10799
|
+
}];
|
|
10800
|
+
};
|
|
10801
|
+
module_features: {
|
|
10802
|
+
Row: {
|
|
10803
|
+
created_at: string;
|
|
10804
|
+
feature_id: string;
|
|
10805
|
+
id: string;
|
|
10806
|
+
is_active: boolean;
|
|
10807
|
+
last_seen_at: string;
|
|
10808
|
+
module_id: string;
|
|
10809
|
+
name: string;
|
|
10810
|
+
};
|
|
10811
|
+
Insert: {
|
|
10812
|
+
created_at?: string;
|
|
10813
|
+
feature_id: string;
|
|
10814
|
+
id?: string;
|
|
10815
|
+
is_active?: boolean;
|
|
10816
|
+
last_seen_at?: string;
|
|
10817
|
+
module_id: string;
|
|
10818
|
+
name: string;
|
|
10819
|
+
};
|
|
10820
|
+
Update: {
|
|
10821
|
+
created_at?: string;
|
|
10822
|
+
feature_id?: string;
|
|
10823
|
+
id?: string;
|
|
10824
|
+
is_active?: boolean;
|
|
10825
|
+
last_seen_at?: string;
|
|
10826
|
+
module_id?: string;
|
|
10827
|
+
name?: string;
|
|
10828
|
+
};
|
|
10829
|
+
Relationships: [];
|
|
10830
|
+
};
|
|
10831
|
+
module_permissions: {
|
|
10832
|
+
Row: {
|
|
10833
|
+
created_at: string;
|
|
10834
|
+
id: string;
|
|
10835
|
+
module_id: string;
|
|
10836
|
+
permission: string;
|
|
10837
|
+
role: Database["public"]["Enums"]["app_role"];
|
|
10838
|
+
updated_at: string;
|
|
10839
|
+
};
|
|
10840
|
+
Insert: {
|
|
10841
|
+
created_at?: string;
|
|
10842
|
+
id?: string;
|
|
10843
|
+
module_id: string;
|
|
10844
|
+
permission: string;
|
|
10845
|
+
role: Database["public"]["Enums"]["app_role"];
|
|
10846
|
+
updated_at?: string;
|
|
10847
|
+
};
|
|
10848
|
+
Update: {
|
|
10849
|
+
created_at?: string;
|
|
10850
|
+
id?: string;
|
|
10851
|
+
module_id?: string;
|
|
10852
|
+
permission?: string;
|
|
10853
|
+
role?: Database["public"]["Enums"]["app_role"];
|
|
10854
|
+
updated_at?: string;
|
|
10855
|
+
};
|
|
10856
|
+
Relationships: [];
|
|
10857
|
+
};
|
|
10858
|
+
module_registry: {
|
|
10001
10859
|
Row: {
|
|
10002
10860
|
created_at: string;
|
|
10861
|
+
enforce: boolean;
|
|
10003
10862
|
is_active: boolean;
|
|
10004
10863
|
last_seen_at: string;
|
|
10864
|
+
missing_count: number;
|
|
10005
10865
|
module_id: string;
|
|
10006
10866
|
name: string;
|
|
10007
10867
|
shell_id: string | null;
|
|
@@ -10009,8 +10869,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
10009
10869
|
};
|
|
10010
10870
|
Insert: {
|
|
10011
10871
|
created_at?: string;
|
|
10872
|
+
enforce?: boolean;
|
|
10012
10873
|
is_active?: boolean;
|
|
10013
10874
|
last_seen_at?: string;
|
|
10875
|
+
missing_count?: number;
|
|
10014
10876
|
module_id: string;
|
|
10015
10877
|
name: string;
|
|
10016
10878
|
shell_id?: string | null;
|
|
@@ -10018,8 +10880,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
10018
10880
|
};
|
|
10019
10881
|
Update: {
|
|
10020
10882
|
created_at?: string;
|
|
10883
|
+
enforce?: boolean;
|
|
10021
10884
|
is_active?: boolean;
|
|
10022
10885
|
last_seen_at?: string;
|
|
10886
|
+
missing_count?: number;
|
|
10023
10887
|
module_id?: string;
|
|
10024
10888
|
name?: string;
|
|
10025
10889
|
shell_id?: string | null;
|
|
@@ -10078,63 +10942,6 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
10078
10942
|
};
|
|
10079
10943
|
Relationships: [];
|
|
10080
10944
|
};
|
|
10081
|
-
monteurs: {
|
|
10082
|
-
Row: {
|
|
10083
|
-
avatar_url: string | null;
|
|
10084
|
-
color: string | null;
|
|
10085
|
-
created_at: string;
|
|
10086
|
-
email: string | null;
|
|
10087
|
-
id: string;
|
|
10088
|
-
is_active: boolean;
|
|
10089
|
-
leave_balance_hours: number;
|
|
10090
|
-
name: string;
|
|
10091
|
-
persnr: number | null;
|
|
10092
|
-
phone: string | null;
|
|
10093
|
-
role: string;
|
|
10094
|
-
tenant_id: string;
|
|
10095
|
-
updated_at: string;
|
|
10096
|
-
user_id: string | null;
|
|
10097
|
-
};
|
|
10098
|
-
Insert: {
|
|
10099
|
-
avatar_url?: string | null;
|
|
10100
|
-
color?: string | null;
|
|
10101
|
-
created_at?: string;
|
|
10102
|
-
email?: string | null;
|
|
10103
|
-
id?: string;
|
|
10104
|
-
is_active?: boolean;
|
|
10105
|
-
leave_balance_hours?: number;
|
|
10106
|
-
name: string;
|
|
10107
|
-
persnr?: number | null;
|
|
10108
|
-
phone?: string | null;
|
|
10109
|
-
role?: string;
|
|
10110
|
-
tenant_id: string;
|
|
10111
|
-
updated_at?: string;
|
|
10112
|
-
user_id?: string | null;
|
|
10113
|
-
};
|
|
10114
|
-
Update: {
|
|
10115
|
-
avatar_url?: string | null;
|
|
10116
|
-
color?: string | null;
|
|
10117
|
-
created_at?: string;
|
|
10118
|
-
email?: string | null;
|
|
10119
|
-
id?: string;
|
|
10120
|
-
is_active?: boolean;
|
|
10121
|
-
leave_balance_hours?: number;
|
|
10122
|
-
name?: string;
|
|
10123
|
-
persnr?: number | null;
|
|
10124
|
-
phone?: string | null;
|
|
10125
|
-
role?: string;
|
|
10126
|
-
tenant_id?: string;
|
|
10127
|
-
updated_at?: string;
|
|
10128
|
-
user_id?: string | null;
|
|
10129
|
-
};
|
|
10130
|
-
Relationships: [{
|
|
10131
|
-
foreignKeyName: "monteurs_tenant_id_fkey";
|
|
10132
|
-
columns: ["tenant_id"];
|
|
10133
|
-
isOneToOne: false;
|
|
10134
|
-
referencedRelation: "tenants";
|
|
10135
|
-
referencedColumns: ["id"];
|
|
10136
|
-
}];
|
|
10137
|
-
};
|
|
10138
10945
|
nmbrs_component_mapping: {
|
|
10139
10946
|
Row: {
|
|
10140
10947
|
created_at: string;
|
|
@@ -10205,13 +11012,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
10205
11012
|
nmbrs_employee_number?: string;
|
|
10206
11013
|
updated_at?: string;
|
|
10207
11014
|
};
|
|
10208
|
-
Relationships: [
|
|
10209
|
-
foreignKeyName: "nmbrs_employee_mapping_monteur_id_fkey";
|
|
10210
|
-
columns: ["monteur_id"];
|
|
10211
|
-
isOneToOne: true;
|
|
10212
|
-
referencedRelation: "monteurs";
|
|
10213
|
-
referencedColumns: ["id"];
|
|
10214
|
-
}];
|
|
11015
|
+
Relationships: [];
|
|
10215
11016
|
};
|
|
10216
11017
|
nmbrs_export_lines: {
|
|
10217
11018
|
Row: {
|
|
@@ -10260,12 +11061,6 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
10260
11061
|
wage_code?: string;
|
|
10261
11062
|
};
|
|
10262
11063
|
Relationships: [{
|
|
10263
|
-
foreignKeyName: "nmbrs_export_lines_monteur_id_fkey";
|
|
10264
|
-
columns: ["monteur_id"];
|
|
10265
|
-
isOneToOne: false;
|
|
10266
|
-
referencedRelation: "monteurs";
|
|
10267
|
-
referencedColumns: ["id"];
|
|
10268
|
-
}, {
|
|
10269
11064
|
foreignKeyName: "nmbrs_export_lines_run_id_fkey";
|
|
10270
11065
|
columns: ["run_id"];
|
|
10271
11066
|
isOneToOne: false;
|
|
@@ -11088,6 +11883,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
11088
11883
|
};
|
|
11089
11884
|
order_invoice_links: {
|
|
11090
11885
|
Row: {
|
|
11886
|
+
administration_code: string | null;
|
|
11091
11887
|
attempts: number;
|
|
11092
11888
|
created_at: string;
|
|
11093
11889
|
error_message: string | null;
|
|
@@ -11100,6 +11896,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
11100
11896
|
updated_at: string;
|
|
11101
11897
|
};
|
|
11102
11898
|
Insert: {
|
|
11899
|
+
administration_code?: string | null;
|
|
11103
11900
|
attempts?: number;
|
|
11104
11901
|
created_at?: string;
|
|
11105
11902
|
error_message?: string | null;
|
|
@@ -11112,6 +11909,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
11112
11909
|
updated_at?: string;
|
|
11113
11910
|
};
|
|
11114
11911
|
Update: {
|
|
11912
|
+
administration_code?: string | null;
|
|
11115
11913
|
attempts?: number;
|
|
11116
11914
|
created_at?: string;
|
|
11117
11915
|
error_message?: string | null;
|
|
@@ -11299,6 +12097,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
11299
12097
|
orders: {
|
|
11300
12098
|
Row: {
|
|
11301
12099
|
buffer_id: string | null;
|
|
12100
|
+
cancel_reason: string | null;
|
|
12101
|
+
cancelled_at: string | null;
|
|
11302
12102
|
created_at: string;
|
|
11303
12103
|
custom_fields: import("./types").Json;
|
|
11304
12104
|
customer_id: string | null;
|
|
@@ -11321,6 +12121,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
11321
12121
|
};
|
|
11322
12122
|
Insert: {
|
|
11323
12123
|
buffer_id?: string | null;
|
|
12124
|
+
cancel_reason?: string | null;
|
|
12125
|
+
cancelled_at?: string | null;
|
|
11324
12126
|
created_at?: string;
|
|
11325
12127
|
custom_fields?: import("./types").Json;
|
|
11326
12128
|
customer_id?: string | null;
|
|
@@ -11343,6 +12145,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
11343
12145
|
};
|
|
11344
12146
|
Update: {
|
|
11345
12147
|
buffer_id?: string | null;
|
|
12148
|
+
cancel_reason?: string | null;
|
|
12149
|
+
cancelled_at?: string | null;
|
|
11346
12150
|
created_at?: string;
|
|
11347
12151
|
custom_fields?: import("./types").Json;
|
|
11348
12152
|
customer_id?: string | null;
|
|
@@ -12271,6 +13075,27 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
12271
13075
|
referencedColumns: ["id"];
|
|
12272
13076
|
}];
|
|
12273
13077
|
};
|
|
13078
|
+
pick_sync_state: {
|
|
13079
|
+
Row: {
|
|
13080
|
+
id: boolean;
|
|
13081
|
+
last_cleanup_at: string | null;
|
|
13082
|
+
last_sync_at: string | null;
|
|
13083
|
+
updated_at: string;
|
|
13084
|
+
};
|
|
13085
|
+
Insert: {
|
|
13086
|
+
id?: boolean;
|
|
13087
|
+
last_cleanup_at?: string | null;
|
|
13088
|
+
last_sync_at?: string | null;
|
|
13089
|
+
updated_at?: string;
|
|
13090
|
+
};
|
|
13091
|
+
Update: {
|
|
13092
|
+
id?: boolean;
|
|
13093
|
+
last_cleanup_at?: string | null;
|
|
13094
|
+
last_sync_at?: string | null;
|
|
13095
|
+
updated_at?: string;
|
|
13096
|
+
};
|
|
13097
|
+
Relationships: [];
|
|
13098
|
+
};
|
|
12274
13099
|
pick_task_document_types: {
|
|
12275
13100
|
Row: {
|
|
12276
13101
|
created_at: string;
|
|
@@ -12553,6 +13378,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
12553
13378
|
gebruiker_id: string | null;
|
|
12554
13379
|
gebruiker_naam: string;
|
|
12555
13380
|
gestart_op: string | null;
|
|
13381
|
+
herkomst: string | null;
|
|
12556
13382
|
id: string;
|
|
12557
13383
|
idempotentie_sleutel: string | null;
|
|
12558
13384
|
is_herprint: boolean;
|
|
@@ -12582,6 +13408,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
12582
13408
|
gebruiker_id?: string | null;
|
|
12583
13409
|
gebruiker_naam?: string;
|
|
12584
13410
|
gestart_op?: string | null;
|
|
13411
|
+
herkomst?: string | null;
|
|
12585
13412
|
id?: string;
|
|
12586
13413
|
idempotentie_sleutel?: string | null;
|
|
12587
13414
|
is_herprint?: boolean;
|
|
@@ -12611,6 +13438,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
12611
13438
|
gebruiker_id?: string | null;
|
|
12612
13439
|
gebruiker_naam?: string;
|
|
12613
13440
|
gestart_op?: string | null;
|
|
13441
|
+
herkomst?: string | null;
|
|
12614
13442
|
id?: string;
|
|
12615
13443
|
idempotentie_sleutel?: string | null;
|
|
12616
13444
|
is_herprint?: boolean;
|
|
@@ -12649,6 +13477,99 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
12649
13477
|
referencedColumns: ["id"];
|
|
12650
13478
|
}];
|
|
12651
13479
|
};
|
|
13480
|
+
print_plek_computers: {
|
|
13481
|
+
Row: {
|
|
13482
|
+
computer_naam: string;
|
|
13483
|
+
created_at: string;
|
|
13484
|
+
id: string;
|
|
13485
|
+
print_plek_id: string;
|
|
13486
|
+
updated_at: string;
|
|
13487
|
+
};
|
|
13488
|
+
Insert: {
|
|
13489
|
+
computer_naam: string;
|
|
13490
|
+
created_at?: string;
|
|
13491
|
+
id?: string;
|
|
13492
|
+
print_plek_id: string;
|
|
13493
|
+
updated_at?: string;
|
|
13494
|
+
};
|
|
13495
|
+
Update: {
|
|
13496
|
+
computer_naam?: string;
|
|
13497
|
+
created_at?: string;
|
|
13498
|
+
id?: string;
|
|
13499
|
+
print_plek_id?: string;
|
|
13500
|
+
updated_at?: string;
|
|
13501
|
+
};
|
|
13502
|
+
Relationships: [{
|
|
13503
|
+
foreignKeyName: "print_plek_computers_print_plek_id_fkey";
|
|
13504
|
+
columns: ["print_plek_id"];
|
|
13505
|
+
isOneToOne: false;
|
|
13506
|
+
referencedRelation: "print_plekken";
|
|
13507
|
+
referencedColumns: ["id"];
|
|
13508
|
+
}];
|
|
13509
|
+
};
|
|
13510
|
+
print_plek_koppelingen: {
|
|
13511
|
+
Row: {
|
|
13512
|
+
bron: string;
|
|
13513
|
+
bron_id: string;
|
|
13514
|
+
created_at: string;
|
|
13515
|
+
id: string;
|
|
13516
|
+
label: string | null;
|
|
13517
|
+
print_plek_id: string;
|
|
13518
|
+
updated_at: string;
|
|
13519
|
+
};
|
|
13520
|
+
Insert: {
|
|
13521
|
+
bron: string;
|
|
13522
|
+
bron_id: string;
|
|
13523
|
+
created_at?: string;
|
|
13524
|
+
id?: string;
|
|
13525
|
+
label?: string | null;
|
|
13526
|
+
print_plek_id: string;
|
|
13527
|
+
updated_at?: string;
|
|
13528
|
+
};
|
|
13529
|
+
Update: {
|
|
13530
|
+
bron?: string;
|
|
13531
|
+
bron_id?: string;
|
|
13532
|
+
created_at?: string;
|
|
13533
|
+
id?: string;
|
|
13534
|
+
label?: string | null;
|
|
13535
|
+
print_plek_id?: string;
|
|
13536
|
+
updated_at?: string;
|
|
13537
|
+
};
|
|
13538
|
+
Relationships: [{
|
|
13539
|
+
foreignKeyName: "print_plek_koppelingen_print_plek_id_fkey";
|
|
13540
|
+
columns: ["print_plek_id"];
|
|
13541
|
+
isOneToOne: false;
|
|
13542
|
+
referencedRelation: "print_plekken";
|
|
13543
|
+
referencedColumns: ["id"];
|
|
13544
|
+
}];
|
|
13545
|
+
};
|
|
13546
|
+
print_plekken: {
|
|
13547
|
+
Row: {
|
|
13548
|
+
actief: boolean;
|
|
13549
|
+
created_at: string;
|
|
13550
|
+
id: string;
|
|
13551
|
+
naam: string;
|
|
13552
|
+
omschrijving: string | null;
|
|
13553
|
+
updated_at: string;
|
|
13554
|
+
};
|
|
13555
|
+
Insert: {
|
|
13556
|
+
actief?: boolean;
|
|
13557
|
+
created_at?: string;
|
|
13558
|
+
id?: string;
|
|
13559
|
+
naam: string;
|
|
13560
|
+
omschrijving?: string | null;
|
|
13561
|
+
updated_at?: string;
|
|
13562
|
+
};
|
|
13563
|
+
Update: {
|
|
13564
|
+
actief?: boolean;
|
|
13565
|
+
created_at?: string;
|
|
13566
|
+
id?: string;
|
|
13567
|
+
naam?: string;
|
|
13568
|
+
omschrijving?: string | null;
|
|
13569
|
+
updated_at?: string;
|
|
13570
|
+
};
|
|
13571
|
+
Relationships: [];
|
|
13572
|
+
};
|
|
12652
13573
|
print_queue_runners: {
|
|
12653
13574
|
Row: {
|
|
12654
13575
|
actief: boolean;
|
|
@@ -12656,6 +13577,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
12656
13577
|
created_at: string;
|
|
12657
13578
|
id: string;
|
|
12658
13579
|
laatst_gezien: string;
|
|
13580
|
+
laatste_fout: string | null;
|
|
13581
|
+
laatste_request_id: number | null;
|
|
13582
|
+
mislukte_posts: number;
|
|
12659
13583
|
tick_sleutel: string;
|
|
12660
13584
|
updated_at: string;
|
|
12661
13585
|
};
|
|
@@ -12665,6 +13589,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
12665
13589
|
created_at?: string;
|
|
12666
13590
|
id?: string;
|
|
12667
13591
|
laatst_gezien?: string;
|
|
13592
|
+
laatste_fout?: string | null;
|
|
13593
|
+
laatste_request_id?: number | null;
|
|
13594
|
+
mislukte_posts?: number;
|
|
12668
13595
|
tick_sleutel?: string;
|
|
12669
13596
|
updated_at?: string;
|
|
12670
13597
|
};
|
|
@@ -12674,6 +13601,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
12674
13601
|
created_at?: string;
|
|
12675
13602
|
id?: string;
|
|
12676
13603
|
laatst_gezien?: string;
|
|
13604
|
+
laatste_fout?: string | null;
|
|
13605
|
+
laatste_request_id?: number | null;
|
|
13606
|
+
mislukte_posts?: number;
|
|
12677
13607
|
tick_sleutel?: string;
|
|
12678
13608
|
updated_at?: string;
|
|
12679
13609
|
};
|
|
@@ -13396,7 +14326,67 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
13396
14326
|
};
|
|
13397
14327
|
Relationships: [];
|
|
13398
14328
|
};
|
|
13399
|
-
|
|
14329
|
+
profile_modules: {
|
|
14330
|
+
Row: {
|
|
14331
|
+
created_at: string;
|
|
14332
|
+
id: string;
|
|
14333
|
+
module_id: string;
|
|
14334
|
+
profile_id: string;
|
|
14335
|
+
};
|
|
14336
|
+
Insert: {
|
|
14337
|
+
created_at?: string;
|
|
14338
|
+
id?: string;
|
|
14339
|
+
module_id: string;
|
|
14340
|
+
profile_id: string;
|
|
14341
|
+
};
|
|
14342
|
+
Update: {
|
|
14343
|
+
created_at?: string;
|
|
14344
|
+
id?: string;
|
|
14345
|
+
module_id?: string;
|
|
14346
|
+
profile_id?: string;
|
|
14347
|
+
};
|
|
14348
|
+
Relationships: [{
|
|
14349
|
+
foreignKeyName: "profile_modules_profile_id_fkey";
|
|
14350
|
+
columns: ["profile_id"];
|
|
14351
|
+
isOneToOne: false;
|
|
14352
|
+
referencedRelation: "profiles_org";
|
|
14353
|
+
referencedColumns: ["id"];
|
|
14354
|
+
}];
|
|
14355
|
+
};
|
|
14356
|
+
profile_roles: {
|
|
14357
|
+
Row: {
|
|
14358
|
+
created_at: string;
|
|
14359
|
+
id: string;
|
|
14360
|
+
profile_id: string;
|
|
14361
|
+
role_id: string;
|
|
14362
|
+
};
|
|
14363
|
+
Insert: {
|
|
14364
|
+
created_at?: string;
|
|
14365
|
+
id?: string;
|
|
14366
|
+
profile_id: string;
|
|
14367
|
+
role_id: string;
|
|
14368
|
+
};
|
|
14369
|
+
Update: {
|
|
14370
|
+
created_at?: string;
|
|
14371
|
+
id?: string;
|
|
14372
|
+
profile_id?: string;
|
|
14373
|
+
role_id?: string;
|
|
14374
|
+
};
|
|
14375
|
+
Relationships: [{
|
|
14376
|
+
foreignKeyName: "profile_roles_profile_id_fkey";
|
|
14377
|
+
columns: ["profile_id"];
|
|
14378
|
+
isOneToOne: false;
|
|
14379
|
+
referencedRelation: "profiles_org";
|
|
14380
|
+
referencedColumns: ["id"];
|
|
14381
|
+
}, {
|
|
14382
|
+
foreignKeyName: "profile_roles_role_id_fkey";
|
|
14383
|
+
columns: ["role_id"];
|
|
14384
|
+
isOneToOne: false;
|
|
14385
|
+
referencedRelation: "roles";
|
|
14386
|
+
referencedColumns: ["id"];
|
|
14387
|
+
}];
|
|
14388
|
+
};
|
|
14389
|
+
profiles: {
|
|
13400
14390
|
Row: {
|
|
13401
14391
|
address: string | null;
|
|
13402
14392
|
avatar_url: string | null;
|
|
@@ -13441,6 +14431,39 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
13441
14431
|
referencedColumns: ["id"];
|
|
13442
14432
|
}];
|
|
13443
14433
|
};
|
|
14434
|
+
profiles_org: {
|
|
14435
|
+
Row: {
|
|
14436
|
+
created_at: string;
|
|
14437
|
+
id: string;
|
|
14438
|
+
is_default: boolean;
|
|
14439
|
+
name: string;
|
|
14440
|
+
tenant_id: string | null;
|
|
14441
|
+
updated_at: string;
|
|
14442
|
+
};
|
|
14443
|
+
Insert: {
|
|
14444
|
+
created_at?: string;
|
|
14445
|
+
id?: string;
|
|
14446
|
+
is_default?: boolean;
|
|
14447
|
+
name: string;
|
|
14448
|
+
tenant_id?: string | null;
|
|
14449
|
+
updated_at?: string;
|
|
14450
|
+
};
|
|
14451
|
+
Update: {
|
|
14452
|
+
created_at?: string;
|
|
14453
|
+
id?: string;
|
|
14454
|
+
is_default?: boolean;
|
|
14455
|
+
name?: string;
|
|
14456
|
+
tenant_id?: string | null;
|
|
14457
|
+
updated_at?: string;
|
|
14458
|
+
};
|
|
14459
|
+
Relationships: [{
|
|
14460
|
+
foreignKeyName: "profiles_org_tenant_id_fkey";
|
|
14461
|
+
columns: ["tenant_id"];
|
|
14462
|
+
isOneToOne: false;
|
|
14463
|
+
referencedRelation: "tenants";
|
|
14464
|
+
referencedColumns: ["id"];
|
|
14465
|
+
}];
|
|
14466
|
+
};
|
|
13444
14467
|
projects: {
|
|
13445
14468
|
Row: {
|
|
13446
14469
|
contact_name: string | null;
|
|
@@ -14182,6 +15205,96 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
14182
15205
|
referencedColumns: ["id"];
|
|
14183
15206
|
}];
|
|
14184
15207
|
};
|
|
15208
|
+
role_assignments: {
|
|
15209
|
+
Row: {
|
|
15210
|
+
created_at: string;
|
|
15211
|
+
id: string;
|
|
15212
|
+
role_id: string;
|
|
15213
|
+
user_id: string;
|
|
15214
|
+
};
|
|
15215
|
+
Insert: {
|
|
15216
|
+
created_at?: string;
|
|
15217
|
+
id?: string;
|
|
15218
|
+
role_id: string;
|
|
15219
|
+
user_id: string;
|
|
15220
|
+
};
|
|
15221
|
+
Update: {
|
|
15222
|
+
created_at?: string;
|
|
15223
|
+
id?: string;
|
|
15224
|
+
role_id?: string;
|
|
15225
|
+
user_id?: string;
|
|
15226
|
+
};
|
|
15227
|
+
Relationships: [{
|
|
15228
|
+
foreignKeyName: "role_assignments_role_id_fkey";
|
|
15229
|
+
columns: ["role_id"];
|
|
15230
|
+
isOneToOne: false;
|
|
15231
|
+
referencedRelation: "roles";
|
|
15232
|
+
referencedColumns: ["id"];
|
|
15233
|
+
}];
|
|
15234
|
+
};
|
|
15235
|
+
role_permissions: {
|
|
15236
|
+
Row: {
|
|
15237
|
+
can_edit: boolean;
|
|
15238
|
+
can_view: boolean;
|
|
15239
|
+
feature_id: string;
|
|
15240
|
+
id: string;
|
|
15241
|
+
module_id: string;
|
|
15242
|
+
role_id: string;
|
|
15243
|
+
updated_at: string;
|
|
15244
|
+
};
|
|
15245
|
+
Insert: {
|
|
15246
|
+
can_edit?: boolean;
|
|
15247
|
+
can_view?: boolean;
|
|
15248
|
+
feature_id?: string;
|
|
15249
|
+
id?: string;
|
|
15250
|
+
module_id: string;
|
|
15251
|
+
role_id: string;
|
|
15252
|
+
updated_at?: string;
|
|
15253
|
+
};
|
|
15254
|
+
Update: {
|
|
15255
|
+
can_edit?: boolean;
|
|
15256
|
+
can_view?: boolean;
|
|
15257
|
+
feature_id?: string;
|
|
15258
|
+
id?: string;
|
|
15259
|
+
module_id?: string;
|
|
15260
|
+
role_id?: string;
|
|
15261
|
+
updated_at?: string;
|
|
15262
|
+
};
|
|
15263
|
+
Relationships: [{
|
|
15264
|
+
foreignKeyName: "role_permissions_role_id_fkey";
|
|
15265
|
+
columns: ["role_id"];
|
|
15266
|
+
isOneToOne: false;
|
|
15267
|
+
referencedRelation: "roles";
|
|
15268
|
+
referencedColumns: ["id"];
|
|
15269
|
+
}];
|
|
15270
|
+
};
|
|
15271
|
+
roles: {
|
|
15272
|
+
Row: {
|
|
15273
|
+
created_at: string;
|
|
15274
|
+
id: string;
|
|
15275
|
+
is_protected: boolean;
|
|
15276
|
+
key: string;
|
|
15277
|
+
name: string;
|
|
15278
|
+
updated_at: string;
|
|
15279
|
+
};
|
|
15280
|
+
Insert: {
|
|
15281
|
+
created_at?: string;
|
|
15282
|
+
id?: string;
|
|
15283
|
+
is_protected?: boolean;
|
|
15284
|
+
key: string;
|
|
15285
|
+
name: string;
|
|
15286
|
+
updated_at?: string;
|
|
15287
|
+
};
|
|
15288
|
+
Update: {
|
|
15289
|
+
created_at?: string;
|
|
15290
|
+
id?: string;
|
|
15291
|
+
is_protected?: boolean;
|
|
15292
|
+
key?: string;
|
|
15293
|
+
name?: string;
|
|
15294
|
+
updated_at?: string;
|
|
15295
|
+
};
|
|
15296
|
+
Relationships: [];
|
|
15297
|
+
};
|
|
14185
15298
|
rooms: {
|
|
14186
15299
|
Row: {
|
|
14187
15300
|
capacity: number;
|
|
@@ -14525,6 +15638,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
14525
15638
|
type: string;
|
|
14526
15639
|
updated_at: string;
|
|
14527
15640
|
vereist_medewerker: boolean;
|
|
15641
|
+
werkplek: string | null;
|
|
14528
15642
|
};
|
|
14529
15643
|
Insert: {
|
|
14530
15644
|
actief?: boolean;
|
|
@@ -14538,6 +15652,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
14538
15652
|
type?: string;
|
|
14539
15653
|
updated_at?: string;
|
|
14540
15654
|
vereist_medewerker?: boolean;
|
|
15655
|
+
werkplek?: string | null;
|
|
14541
15656
|
};
|
|
14542
15657
|
Update: {
|
|
14543
15658
|
actief?: boolean;
|
|
@@ -14551,9 +15666,46 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
14551
15666
|
type?: string;
|
|
14552
15667
|
updated_at?: string;
|
|
14553
15668
|
vereist_medewerker?: boolean;
|
|
15669
|
+
werkplek?: string | null;
|
|
14554
15670
|
};
|
|
14555
15671
|
Relationships: [];
|
|
14556
15672
|
};
|
|
15673
|
+
sick_periods: {
|
|
15674
|
+
Row: {
|
|
15675
|
+
created_at: string;
|
|
15676
|
+
employee_id: string;
|
|
15677
|
+
end_date: string | null;
|
|
15678
|
+
id: string;
|
|
15679
|
+
notes: string | null;
|
|
15680
|
+
start_date: string;
|
|
15681
|
+
updated_at: string;
|
|
15682
|
+
};
|
|
15683
|
+
Insert: {
|
|
15684
|
+
created_at?: string;
|
|
15685
|
+
employee_id: string;
|
|
15686
|
+
end_date?: string | null;
|
|
15687
|
+
id?: string;
|
|
15688
|
+
notes?: string | null;
|
|
15689
|
+
start_date: string;
|
|
15690
|
+
updated_at?: string;
|
|
15691
|
+
};
|
|
15692
|
+
Update: {
|
|
15693
|
+
created_at?: string;
|
|
15694
|
+
employee_id?: string;
|
|
15695
|
+
end_date?: string | null;
|
|
15696
|
+
id?: string;
|
|
15697
|
+
notes?: string | null;
|
|
15698
|
+
start_date?: string;
|
|
15699
|
+
updated_at?: string;
|
|
15700
|
+
};
|
|
15701
|
+
Relationships: [{
|
|
15702
|
+
foreignKeyName: "sick_periods_employee_id_fkey";
|
|
15703
|
+
columns: ["employee_id"];
|
|
15704
|
+
isOneToOne: false;
|
|
15705
|
+
referencedRelation: "profiles";
|
|
15706
|
+
referencedColumns: ["id"];
|
|
15707
|
+
}];
|
|
15708
|
+
};
|
|
14557
15709
|
sidebar_config: {
|
|
14558
15710
|
Row: {
|
|
14559
15711
|
id: string;
|
|
@@ -14851,6 +16003,54 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
14851
16003
|
};
|
|
14852
16004
|
Relationships: [];
|
|
14853
16005
|
};
|
|
16006
|
+
time_compensation_entries: {
|
|
16007
|
+
Row: {
|
|
16008
|
+
created_at: string;
|
|
16009
|
+
employee_id: string;
|
|
16010
|
+
entry_date: string;
|
|
16011
|
+
id: string;
|
|
16012
|
+
km: number;
|
|
16013
|
+
meal_allowance: number;
|
|
16014
|
+
notes: string | null;
|
|
16015
|
+
standby_evening: number;
|
|
16016
|
+
standby_weekend: number;
|
|
16017
|
+
tvt_change: number;
|
|
16018
|
+
updated_at: string;
|
|
16019
|
+
};
|
|
16020
|
+
Insert: {
|
|
16021
|
+
created_at?: string;
|
|
16022
|
+
employee_id: string;
|
|
16023
|
+
entry_date: string;
|
|
16024
|
+
id?: string;
|
|
16025
|
+
km?: number;
|
|
16026
|
+
meal_allowance?: number;
|
|
16027
|
+
notes?: string | null;
|
|
16028
|
+
standby_evening?: number;
|
|
16029
|
+
standby_weekend?: number;
|
|
16030
|
+
tvt_change?: number;
|
|
16031
|
+
updated_at?: string;
|
|
16032
|
+
};
|
|
16033
|
+
Update: {
|
|
16034
|
+
created_at?: string;
|
|
16035
|
+
employee_id?: string;
|
|
16036
|
+
entry_date?: string;
|
|
16037
|
+
id?: string;
|
|
16038
|
+
km?: number;
|
|
16039
|
+
meal_allowance?: number;
|
|
16040
|
+
notes?: string | null;
|
|
16041
|
+
standby_evening?: number;
|
|
16042
|
+
standby_weekend?: number;
|
|
16043
|
+
tvt_change?: number;
|
|
16044
|
+
updated_at?: string;
|
|
16045
|
+
};
|
|
16046
|
+
Relationships: [{
|
|
16047
|
+
foreignKeyName: "time_compensation_entries_employee_id_fkey";
|
|
16048
|
+
columns: ["employee_id"];
|
|
16049
|
+
isOneToOne: false;
|
|
16050
|
+
referencedRelation: "profiles";
|
|
16051
|
+
referencedColumns: ["id"];
|
|
16052
|
+
}];
|
|
16053
|
+
};
|
|
14854
16054
|
time_entries: {
|
|
14855
16055
|
Row: {
|
|
14856
16056
|
created_at: string;
|
|
@@ -14885,65 +16085,170 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
14885
16085
|
undertime?: number;
|
|
14886
16086
|
updated_at?: string;
|
|
14887
16087
|
};
|
|
16088
|
+
Relationships: [];
|
|
16089
|
+
};
|
|
16090
|
+
time_log_week_approvals: {
|
|
16091
|
+
Row: {
|
|
16092
|
+
approved_at: string | null;
|
|
16093
|
+
approved_by: string | null;
|
|
16094
|
+
created_at: string;
|
|
16095
|
+
employee_id: string;
|
|
16096
|
+
id: string;
|
|
16097
|
+
locked: boolean;
|
|
16098
|
+
notes: string | null;
|
|
16099
|
+
status: string;
|
|
16100
|
+
submitted_at: string | null;
|
|
16101
|
+
updated_at: string;
|
|
16102
|
+
week_start: string;
|
|
16103
|
+
};
|
|
16104
|
+
Insert: {
|
|
16105
|
+
approved_at?: string | null;
|
|
16106
|
+
approved_by?: string | null;
|
|
16107
|
+
created_at?: string;
|
|
16108
|
+
employee_id: string;
|
|
16109
|
+
id?: string;
|
|
16110
|
+
locked?: boolean;
|
|
16111
|
+
notes?: string | null;
|
|
16112
|
+
status?: string;
|
|
16113
|
+
submitted_at?: string | null;
|
|
16114
|
+
updated_at?: string;
|
|
16115
|
+
week_start: string;
|
|
16116
|
+
};
|
|
16117
|
+
Update: {
|
|
16118
|
+
approved_at?: string | null;
|
|
16119
|
+
approved_by?: string | null;
|
|
16120
|
+
created_at?: string;
|
|
16121
|
+
employee_id?: string;
|
|
16122
|
+
id?: string;
|
|
16123
|
+
locked?: boolean;
|
|
16124
|
+
notes?: string | null;
|
|
16125
|
+
status?: string;
|
|
16126
|
+
submitted_at?: string | null;
|
|
16127
|
+
updated_at?: string;
|
|
16128
|
+
week_start?: string;
|
|
16129
|
+
};
|
|
14888
16130
|
Relationships: [{
|
|
14889
|
-
foreignKeyName: "
|
|
16131
|
+
foreignKeyName: "time_log_week_approvals_employee_id_fkey";
|
|
14890
16132
|
columns: ["employee_id"];
|
|
14891
16133
|
isOneToOne: false;
|
|
14892
|
-
referencedRelation: "
|
|
16134
|
+
referencedRelation: "profiles";
|
|
14893
16135
|
referencedColumns: ["id"];
|
|
14894
16136
|
}];
|
|
14895
16137
|
};
|
|
14896
16138
|
time_logs: {
|
|
14897
16139
|
Row: {
|
|
16140
|
+
auto_stop_reason: string | null;
|
|
16141
|
+
auto_stopped: boolean;
|
|
14898
16142
|
created_at: string;
|
|
16143
|
+
current_latitude: number | null;
|
|
16144
|
+
current_longitude: number | null;
|
|
16145
|
+
current_position_updated_at: string | null;
|
|
14899
16146
|
employee_id: string;
|
|
16147
|
+
end_latitude: number | null;
|
|
16148
|
+
end_longitude: number | null;
|
|
14900
16149
|
end_time: string | null;
|
|
16150
|
+
eta_distance_km: number | null;
|
|
16151
|
+
eta_minutes: number | null;
|
|
16152
|
+
eta_updated_at: string | null;
|
|
16153
|
+
hour_category: string | null;
|
|
14901
16154
|
id: string;
|
|
16155
|
+
last_reminder_at: string | null;
|
|
14902
16156
|
notes: string | null;
|
|
14903
16157
|
overtime_hours: number;
|
|
14904
16158
|
overtime_type: string | null;
|
|
14905
16159
|
regular_hours: number;
|
|
16160
|
+
reminder_count: number;
|
|
16161
|
+
requires_review: boolean;
|
|
16162
|
+
start_latitude: number | null;
|
|
16163
|
+
start_longitude: number | null;
|
|
14906
16164
|
start_time: string;
|
|
14907
16165
|
travel_cost: number | null;
|
|
14908
16166
|
travel_distance_km: number | null;
|
|
16167
|
+
travel_duration_min: number | null;
|
|
16168
|
+
travel_time_minutes: number | null;
|
|
14909
16169
|
type: string;
|
|
14910
16170
|
updated_at: string;
|
|
16171
|
+
work_order_id: string | null;
|
|
14911
16172
|
};
|
|
14912
16173
|
Insert: {
|
|
16174
|
+
auto_stop_reason?: string | null;
|
|
16175
|
+
auto_stopped?: boolean;
|
|
14913
16176
|
created_at?: string;
|
|
16177
|
+
current_latitude?: number | null;
|
|
16178
|
+
current_longitude?: number | null;
|
|
16179
|
+
current_position_updated_at?: string | null;
|
|
14914
16180
|
employee_id: string;
|
|
16181
|
+
end_latitude?: number | null;
|
|
16182
|
+
end_longitude?: number | null;
|
|
14915
16183
|
end_time?: string | null;
|
|
16184
|
+
eta_distance_km?: number | null;
|
|
16185
|
+
eta_minutes?: number | null;
|
|
16186
|
+
eta_updated_at?: string | null;
|
|
16187
|
+
hour_category?: string | null;
|
|
14916
16188
|
id?: string;
|
|
16189
|
+
last_reminder_at?: string | null;
|
|
14917
16190
|
notes?: string | null;
|
|
14918
16191
|
overtime_hours?: number;
|
|
14919
16192
|
overtime_type?: string | null;
|
|
14920
16193
|
regular_hours?: number;
|
|
16194
|
+
reminder_count?: number;
|
|
16195
|
+
requires_review?: boolean;
|
|
16196
|
+
start_latitude?: number | null;
|
|
16197
|
+
start_longitude?: number | null;
|
|
14921
16198
|
start_time?: string;
|
|
14922
16199
|
travel_cost?: number | null;
|
|
14923
16200
|
travel_distance_km?: number | null;
|
|
16201
|
+
travel_duration_min?: number | null;
|
|
16202
|
+
travel_time_minutes?: number | null;
|
|
14924
16203
|
type: string;
|
|
14925
16204
|
updated_at?: string;
|
|
16205
|
+
work_order_id?: string | null;
|
|
14926
16206
|
};
|
|
14927
16207
|
Update: {
|
|
16208
|
+
auto_stop_reason?: string | null;
|
|
16209
|
+
auto_stopped?: boolean;
|
|
14928
16210
|
created_at?: string;
|
|
16211
|
+
current_latitude?: number | null;
|
|
16212
|
+
current_longitude?: number | null;
|
|
16213
|
+
current_position_updated_at?: string | null;
|
|
14929
16214
|
employee_id?: string;
|
|
16215
|
+
end_latitude?: number | null;
|
|
16216
|
+
end_longitude?: number | null;
|
|
14930
16217
|
end_time?: string | null;
|
|
16218
|
+
eta_distance_km?: number | null;
|
|
16219
|
+
eta_minutes?: number | null;
|
|
16220
|
+
eta_updated_at?: string | null;
|
|
16221
|
+
hour_category?: string | null;
|
|
14931
16222
|
id?: string;
|
|
16223
|
+
last_reminder_at?: string | null;
|
|
14932
16224
|
notes?: string | null;
|
|
14933
16225
|
overtime_hours?: number;
|
|
14934
16226
|
overtime_type?: string | null;
|
|
14935
16227
|
regular_hours?: number;
|
|
16228
|
+
reminder_count?: number;
|
|
16229
|
+
requires_review?: boolean;
|
|
16230
|
+
start_latitude?: number | null;
|
|
16231
|
+
start_longitude?: number | null;
|
|
14936
16232
|
start_time?: string;
|
|
14937
16233
|
travel_cost?: number | null;
|
|
14938
16234
|
travel_distance_km?: number | null;
|
|
16235
|
+
travel_duration_min?: number | null;
|
|
16236
|
+
travel_time_minutes?: number | null;
|
|
14939
16237
|
type?: string;
|
|
14940
16238
|
updated_at?: string;
|
|
16239
|
+
work_order_id?: string | null;
|
|
14941
16240
|
};
|
|
14942
16241
|
Relationships: [{
|
|
14943
16242
|
foreignKeyName: "time_logs_employee_id_fkey";
|
|
14944
16243
|
columns: ["employee_id"];
|
|
14945
16244
|
isOneToOne: false;
|
|
14946
|
-
referencedRelation: "
|
|
16245
|
+
referencedRelation: "profiles";
|
|
16246
|
+
referencedColumns: ["id"];
|
|
16247
|
+
}, {
|
|
16248
|
+
foreignKeyName: "time_logs_work_order_id_fkey";
|
|
16249
|
+
columns: ["work_order_id"];
|
|
16250
|
+
isOneToOne: false;
|
|
16251
|
+
referencedRelation: "work_orders";
|
|
14947
16252
|
referencedColumns: ["id"];
|
|
14948
16253
|
}];
|
|
14949
16254
|
};
|
|
@@ -14982,7 +16287,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
14982
16287
|
foreignKeyName: "time_off_entries_employee_id_fkey";
|
|
14983
16288
|
columns: ["employee_id"];
|
|
14984
16289
|
isOneToOne: false;
|
|
14985
|
-
referencedRelation: "
|
|
16290
|
+
referencedRelation: "profiles";
|
|
14986
16291
|
referencedColumns: ["id"];
|
|
14987
16292
|
}];
|
|
14988
16293
|
};
|
|
@@ -15231,12 +16536,16 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
15231
16536
|
company_name: string | null;
|
|
15232
16537
|
connected_at: string | null;
|
|
15233
16538
|
created_at: string;
|
|
16539
|
+
disconnected_at: string | null;
|
|
15234
16540
|
environment: string;
|
|
15235
16541
|
id: string;
|
|
16542
|
+
initial_sync_completed_at: string | null;
|
|
16543
|
+
initial_sync_started_at: string | null;
|
|
15236
16544
|
is_active: boolean;
|
|
15237
16545
|
label: string | null;
|
|
15238
16546
|
office_code: string | null;
|
|
15239
16547
|
redirect_uri: string | null;
|
|
16548
|
+
superseded_at: string | null;
|
|
15240
16549
|
updated_at: string;
|
|
15241
16550
|
user_id: string;
|
|
15242
16551
|
};
|
|
@@ -15247,12 +16556,16 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
15247
16556
|
company_name?: string | null;
|
|
15248
16557
|
connected_at?: string | null;
|
|
15249
16558
|
created_at?: string;
|
|
16559
|
+
disconnected_at?: string | null;
|
|
15250
16560
|
environment: string;
|
|
15251
16561
|
id?: string;
|
|
16562
|
+
initial_sync_completed_at?: string | null;
|
|
16563
|
+
initial_sync_started_at?: string | null;
|
|
15252
16564
|
is_active?: boolean;
|
|
15253
16565
|
label?: string | null;
|
|
15254
16566
|
office_code?: string | null;
|
|
15255
16567
|
redirect_uri?: string | null;
|
|
16568
|
+
superseded_at?: string | null;
|
|
15256
16569
|
updated_at?: string;
|
|
15257
16570
|
user_id: string;
|
|
15258
16571
|
};
|
|
@@ -15263,12 +16576,16 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
15263
16576
|
company_name?: string | null;
|
|
15264
16577
|
connected_at?: string | null;
|
|
15265
16578
|
created_at?: string;
|
|
16579
|
+
disconnected_at?: string | null;
|
|
15266
16580
|
environment?: string;
|
|
15267
16581
|
id?: string;
|
|
16582
|
+
initial_sync_completed_at?: string | null;
|
|
16583
|
+
initial_sync_started_at?: string | null;
|
|
15268
16584
|
is_active?: boolean;
|
|
15269
16585
|
label?: string | null;
|
|
15270
16586
|
office_code?: string | null;
|
|
15271
16587
|
redirect_uri?: string | null;
|
|
16588
|
+
superseded_at?: string | null;
|
|
15272
16589
|
updated_at?: string;
|
|
15273
16590
|
user_id?: string;
|
|
15274
16591
|
};
|
|
@@ -15292,9 +16609,43 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
15292
16609
|
};
|
|
15293
16610
|
Relationships: [];
|
|
15294
16611
|
};
|
|
16612
|
+
twinfield_cron_locks: {
|
|
16613
|
+
Row: {
|
|
16614
|
+
created_at: string;
|
|
16615
|
+
heartbeat_at: string;
|
|
16616
|
+
job_name: string;
|
|
16617
|
+
last_error: string | null;
|
|
16618
|
+
last_finished_at: string | null;
|
|
16619
|
+
locked_at: string;
|
|
16620
|
+
run_id: string;
|
|
16621
|
+
updated_at: string;
|
|
16622
|
+
};
|
|
16623
|
+
Insert: {
|
|
16624
|
+
created_at?: string;
|
|
16625
|
+
heartbeat_at?: string;
|
|
16626
|
+
job_name: string;
|
|
16627
|
+
last_error?: string | null;
|
|
16628
|
+
last_finished_at?: string | null;
|
|
16629
|
+
locked_at?: string;
|
|
16630
|
+
run_id?: string;
|
|
16631
|
+
updated_at?: string;
|
|
16632
|
+
};
|
|
16633
|
+
Update: {
|
|
16634
|
+
created_at?: string;
|
|
16635
|
+
heartbeat_at?: string;
|
|
16636
|
+
job_name?: string;
|
|
16637
|
+
last_error?: string | null;
|
|
16638
|
+
last_finished_at?: string | null;
|
|
16639
|
+
locked_at?: string;
|
|
16640
|
+
run_id?: string;
|
|
16641
|
+
updated_at?: string;
|
|
16642
|
+
};
|
|
16643
|
+
Relationships: [];
|
|
16644
|
+
};
|
|
15295
16645
|
twinfield_customers: {
|
|
15296
16646
|
Row: {
|
|
15297
16647
|
address: string | null;
|
|
16648
|
+
administration_code: string;
|
|
15298
16649
|
city: string | null;
|
|
15299
16650
|
country: string | null;
|
|
15300
16651
|
created_at: string;
|
|
@@ -15314,6 +16665,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
15314
16665
|
};
|
|
15315
16666
|
Insert: {
|
|
15316
16667
|
address?: string | null;
|
|
16668
|
+
administration_code?: string;
|
|
15317
16669
|
city?: string | null;
|
|
15318
16670
|
country?: string | null;
|
|
15319
16671
|
created_at?: string;
|
|
@@ -15333,6 +16685,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
15333
16685
|
};
|
|
15334
16686
|
Update: {
|
|
15335
16687
|
address?: string | null;
|
|
16688
|
+
administration_code?: string;
|
|
15336
16689
|
city?: string | null;
|
|
15337
16690
|
country?: string | null;
|
|
15338
16691
|
created_at?: string;
|
|
@@ -15546,7 +16899,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
15546
16899
|
};
|
|
15547
16900
|
twinfield_invoice_settings: {
|
|
15548
16901
|
Row: {
|
|
16902
|
+
administration_code: string | null;
|
|
15549
16903
|
auto_invoice_enabled: boolean;
|
|
16904
|
+
auto_invoice_start_date: string | null;
|
|
15550
16905
|
auto_invoice_trigger_statuses: string[];
|
|
15551
16906
|
created_at: string;
|
|
15552
16907
|
debtor_gl_account: string;
|
|
@@ -15560,15 +16915,19 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
15560
16915
|
invoice_enabled_fo: boolean;
|
|
15561
16916
|
invoice_enabled_ho: boolean;
|
|
15562
16917
|
invoice_enabled_mo: boolean;
|
|
16918
|
+
needs_review: boolean;
|
|
15563
16919
|
payment_gl_account: string;
|
|
15564
16920
|
payment_journal_code: string;
|
|
16921
|
+
settings_confirmed_at: string | null;
|
|
15565
16922
|
updated_at: string;
|
|
15566
16923
|
user_id: string;
|
|
15567
16924
|
vat_code_eu_reverse: string | null;
|
|
15568
16925
|
vat_code_export: string | null;
|
|
15569
16926
|
};
|
|
15570
16927
|
Insert: {
|
|
16928
|
+
administration_code?: string | null;
|
|
15571
16929
|
auto_invoice_enabled?: boolean;
|
|
16930
|
+
auto_invoice_start_date?: string | null;
|
|
15572
16931
|
auto_invoice_trigger_statuses?: string[];
|
|
15573
16932
|
created_at?: string;
|
|
15574
16933
|
debtor_gl_account?: string;
|
|
@@ -15582,15 +16941,19 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
15582
16941
|
invoice_enabled_fo?: boolean;
|
|
15583
16942
|
invoice_enabled_ho?: boolean;
|
|
15584
16943
|
invoice_enabled_mo?: boolean;
|
|
16944
|
+
needs_review?: boolean;
|
|
15585
16945
|
payment_gl_account?: string;
|
|
15586
16946
|
payment_journal_code?: string;
|
|
16947
|
+
settings_confirmed_at?: string | null;
|
|
15587
16948
|
updated_at?: string;
|
|
15588
16949
|
user_id: string;
|
|
15589
16950
|
vat_code_eu_reverse?: string | null;
|
|
15590
16951
|
vat_code_export?: string | null;
|
|
15591
16952
|
};
|
|
15592
16953
|
Update: {
|
|
16954
|
+
administration_code?: string | null;
|
|
15593
16955
|
auto_invoice_enabled?: boolean;
|
|
16956
|
+
auto_invoice_start_date?: string | null;
|
|
15594
16957
|
auto_invoice_trigger_statuses?: string[];
|
|
15595
16958
|
created_at?: string;
|
|
15596
16959
|
debtor_gl_account?: string;
|
|
@@ -15604,8 +16967,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
15604
16967
|
invoice_enabled_fo?: boolean;
|
|
15605
16968
|
invoice_enabled_ho?: boolean;
|
|
15606
16969
|
invoice_enabled_mo?: boolean;
|
|
16970
|
+
needs_review?: boolean;
|
|
15607
16971
|
payment_gl_account?: string;
|
|
15608
16972
|
payment_journal_code?: string;
|
|
16973
|
+
settings_confirmed_at?: string | null;
|
|
15609
16974
|
updated_at?: string;
|
|
15610
16975
|
user_id?: string;
|
|
15611
16976
|
vat_code_eu_reverse?: string | null;
|
|
@@ -15892,6 +17257,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
15892
17257
|
twinfield_push_queue: {
|
|
15893
17258
|
Row: {
|
|
15894
17259
|
action: string;
|
|
17260
|
+
attempt_started_at: string | null;
|
|
15895
17261
|
attempts: number;
|
|
15896
17262
|
connection_id: string | null;
|
|
15897
17263
|
created_at: string;
|
|
@@ -15908,6 +17274,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
15908
17274
|
};
|
|
15909
17275
|
Insert: {
|
|
15910
17276
|
action?: string;
|
|
17277
|
+
attempt_started_at?: string | null;
|
|
15911
17278
|
attempts?: number;
|
|
15912
17279
|
connection_id?: string | null;
|
|
15913
17280
|
created_at?: string;
|
|
@@ -15924,6 +17291,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
15924
17291
|
};
|
|
15925
17292
|
Update: {
|
|
15926
17293
|
action?: string;
|
|
17294
|
+
attempt_started_at?: string | null;
|
|
15927
17295
|
attempts?: number;
|
|
15928
17296
|
connection_id?: string | null;
|
|
15929
17297
|
created_at?: string;
|
|
@@ -16121,13 +17489,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
16121
17489
|
workday_end?: string | null;
|
|
16122
17490
|
workday_start?: string | null;
|
|
16123
17491
|
};
|
|
16124
|
-
Relationships: [
|
|
16125
|
-
foreignKeyName: "uren_cao_profiles_monteur_id_fkey";
|
|
16126
|
-
columns: ["monteur_id"];
|
|
16127
|
-
isOneToOne: true;
|
|
16128
|
-
referencedRelation: "monteurs";
|
|
16129
|
-
referencedColumns: ["id"];
|
|
16130
|
-
}];
|
|
17492
|
+
Relationships: [];
|
|
16131
17493
|
};
|
|
16132
17494
|
uren_entries: {
|
|
16133
17495
|
Row: {
|
|
@@ -16147,185 +17509,71 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
16147
17509
|
Insert: {
|
|
16148
17510
|
created_at?: string;
|
|
16149
17511
|
created_by?: string | null;
|
|
16150
|
-
entry_date: string;
|
|
16151
|
-
hours?: number;
|
|
16152
|
-
id?: string;
|
|
16153
|
-
kind?: string;
|
|
16154
|
-
monteur_id: string;
|
|
16155
|
-
note?: string | null;
|
|
16156
|
-
source?: string;
|
|
16157
|
-
travel_km?: number;
|
|
16158
|
-
updated_at?: string;
|
|
16159
|
-
werkbon_id?: string | null;
|
|
16160
|
-
};
|
|
16161
|
-
Update: {
|
|
16162
|
-
created_at?: string;
|
|
16163
|
-
created_by?: string | null;
|
|
16164
|
-
entry_date?: string;
|
|
16165
|
-
hours?: number;
|
|
16166
|
-
id?: string;
|
|
16167
|
-
kind?: string;
|
|
16168
|
-
monteur_id?: string;
|
|
16169
|
-
note?: string | null;
|
|
16170
|
-
source?: string;
|
|
16171
|
-
travel_km?: number;
|
|
16172
|
-
updated_at?: string;
|
|
16173
|
-
werkbon_id?: string | null;
|
|
16174
|
-
};
|
|
16175
|
-
Relationships: [{
|
|
16176
|
-
foreignKeyName: "uren_entries_monteur_id_fkey";
|
|
16177
|
-
columns: ["monteur_id"];
|
|
16178
|
-
isOneToOne: false;
|
|
16179
|
-
referencedRelation: "monteurs";
|
|
16180
|
-
referencedColumns: ["id"];
|
|
16181
|
-
}, {
|
|
16182
|
-
foreignKeyName: "uren_entries_werkbon_id_fkey";
|
|
16183
|
-
columns: ["werkbon_id"];
|
|
16184
|
-
isOneToOne: false;
|
|
16185
|
-
referencedRelation: "werkbonnen";
|
|
16186
|
-
referencedColumns: ["id"];
|
|
16187
|
-
}];
|
|
16188
|
-
};
|
|
16189
|
-
uren_exports: {
|
|
16190
|
-
Row: {
|
|
16191
|
-
created_at: string;
|
|
16192
|
-
created_by: string | null;
|
|
16193
|
-
file_name: string | null;
|
|
16194
|
-
id: string;
|
|
16195
|
-
monteur_ids: string[];
|
|
16196
|
-
period_end: string;
|
|
16197
|
-
period_start: string;
|
|
16198
|
-
row_count: number;
|
|
16199
|
-
};
|
|
16200
|
-
Insert: {
|
|
16201
|
-
created_at?: string;
|
|
16202
|
-
created_by?: string | null;
|
|
16203
|
-
file_name?: string | null;
|
|
16204
|
-
id?: string;
|
|
16205
|
-
monteur_ids?: string[];
|
|
16206
|
-
period_end: string;
|
|
16207
|
-
period_start: string;
|
|
16208
|
-
row_count?: number;
|
|
16209
|
-
};
|
|
16210
|
-
Update: {
|
|
16211
|
-
created_at?: string;
|
|
16212
|
-
created_by?: string | null;
|
|
16213
|
-
file_name?: string | null;
|
|
16214
|
-
id?: string;
|
|
16215
|
-
monteur_ids?: string[];
|
|
16216
|
-
period_end?: string;
|
|
16217
|
-
period_start?: string;
|
|
16218
|
-
row_count?: number;
|
|
16219
|
-
};
|
|
16220
|
-
Relationships: [];
|
|
16221
|
-
};
|
|
16222
|
-
uren_facturen: {
|
|
16223
|
-
Row: {
|
|
16224
|
-
created_at: string;
|
|
16225
|
-
created_by: string | null;
|
|
16226
|
-
customer_id: string | null;
|
|
16227
|
-
customer_name: string | null;
|
|
16228
|
-
id: string;
|
|
16229
|
-
invoice_number: string | null;
|
|
16230
|
-
note: string | null;
|
|
16231
|
-
status: string;
|
|
16232
|
-
total_excl_cents: number;
|
|
16233
|
-
total_incl_cents: number;
|
|
16234
|
-
updated_at: string;
|
|
16235
|
-
vat_cents: number;
|
|
16236
|
-
vat_percentage: number;
|
|
16237
|
-
werkbon_id: string | null;
|
|
16238
|
-
};
|
|
16239
|
-
Insert: {
|
|
16240
|
-
created_at?: string;
|
|
16241
|
-
created_by?: string | null;
|
|
16242
|
-
customer_id?: string | null;
|
|
16243
|
-
customer_name?: string | null;
|
|
17512
|
+
entry_date: string;
|
|
17513
|
+
hours?: number;
|
|
16244
17514
|
id?: string;
|
|
16245
|
-
|
|
17515
|
+
kind?: string;
|
|
17516
|
+
monteur_id: string;
|
|
16246
17517
|
note?: string | null;
|
|
16247
|
-
|
|
16248
|
-
|
|
16249
|
-
total_incl_cents?: number;
|
|
17518
|
+
source?: string;
|
|
17519
|
+
travel_km?: number;
|
|
16250
17520
|
updated_at?: string;
|
|
16251
|
-
vat_cents?: number;
|
|
16252
|
-
vat_percentage?: number;
|
|
16253
17521
|
werkbon_id?: string | null;
|
|
16254
17522
|
};
|
|
16255
17523
|
Update: {
|
|
16256
17524
|
created_at?: string;
|
|
16257
17525
|
created_by?: string | null;
|
|
16258
|
-
|
|
16259
|
-
|
|
17526
|
+
entry_date?: string;
|
|
17527
|
+
hours?: number;
|
|
16260
17528
|
id?: string;
|
|
16261
|
-
|
|
17529
|
+
kind?: string;
|
|
17530
|
+
monteur_id?: string;
|
|
16262
17531
|
note?: string | null;
|
|
16263
|
-
|
|
16264
|
-
|
|
16265
|
-
total_incl_cents?: number;
|
|
17532
|
+
source?: string;
|
|
17533
|
+
travel_km?: number;
|
|
16266
17534
|
updated_at?: string;
|
|
16267
|
-
vat_cents?: number;
|
|
16268
|
-
vat_percentage?: number;
|
|
16269
17535
|
werkbon_id?: string | null;
|
|
16270
17536
|
};
|
|
16271
17537
|
Relationships: [{
|
|
16272
|
-
foreignKeyName: "
|
|
16273
|
-
columns: ["customer_id"];
|
|
16274
|
-
isOneToOne: false;
|
|
16275
|
-
referencedRelation: "itk_customers";
|
|
16276
|
-
referencedColumns: ["id"];
|
|
16277
|
-
}, {
|
|
16278
|
-
foreignKeyName: "uren_facturen_werkbon_id_fkey";
|
|
17538
|
+
foreignKeyName: "uren_entries_werkbon_id_fkey";
|
|
16279
17539
|
columns: ["werkbon_id"];
|
|
16280
|
-
isOneToOne:
|
|
17540
|
+
isOneToOne: false;
|
|
16281
17541
|
referencedRelation: "werkbonnen";
|
|
16282
17542
|
referencedColumns: ["id"];
|
|
16283
17543
|
}];
|
|
16284
17544
|
};
|
|
16285
|
-
|
|
17545
|
+
uren_exports: {
|
|
16286
17546
|
Row: {
|
|
16287
17547
|
created_at: string;
|
|
16288
|
-
|
|
16289
|
-
|
|
17548
|
+
created_by: string | null;
|
|
17549
|
+
file_name: string | null;
|
|
16290
17550
|
id: string;
|
|
16291
|
-
|
|
16292
|
-
|
|
16293
|
-
|
|
16294
|
-
|
|
16295
|
-
unit: string;
|
|
16296
|
-
unit_price_cents: number;
|
|
17551
|
+
monteur_ids: string[];
|
|
17552
|
+
period_end: string;
|
|
17553
|
+
period_start: string;
|
|
17554
|
+
row_count: number;
|
|
16297
17555
|
};
|
|
16298
17556
|
Insert: {
|
|
16299
17557
|
created_at?: string;
|
|
16300
|
-
|
|
16301
|
-
|
|
17558
|
+
created_by?: string | null;
|
|
17559
|
+
file_name?: string | null;
|
|
16302
17560
|
id?: string;
|
|
16303
|
-
|
|
16304
|
-
|
|
16305
|
-
|
|
16306
|
-
|
|
16307
|
-
unit?: string;
|
|
16308
|
-
unit_price_cents?: number;
|
|
17561
|
+
monteur_ids?: string[];
|
|
17562
|
+
period_end: string;
|
|
17563
|
+
period_start: string;
|
|
17564
|
+
row_count?: number;
|
|
16309
17565
|
};
|
|
16310
17566
|
Update: {
|
|
16311
17567
|
created_at?: string;
|
|
16312
|
-
|
|
16313
|
-
|
|
17568
|
+
created_by?: string | null;
|
|
17569
|
+
file_name?: string | null;
|
|
16314
17570
|
id?: string;
|
|
16315
|
-
|
|
16316
|
-
|
|
16317
|
-
|
|
16318
|
-
|
|
16319
|
-
unit?: string;
|
|
16320
|
-
unit_price_cents?: number;
|
|
17571
|
+
monteur_ids?: string[];
|
|
17572
|
+
period_end?: string;
|
|
17573
|
+
period_start?: string;
|
|
17574
|
+
row_count?: number;
|
|
16321
17575
|
};
|
|
16322
|
-
Relationships: [
|
|
16323
|
-
foreignKeyName: "uren_factuur_regels_factuur_id_fkey";
|
|
16324
|
-
columns: ["factuur_id"];
|
|
16325
|
-
isOneToOne: false;
|
|
16326
|
-
referencedRelation: "uren_facturen";
|
|
16327
|
-
referencedColumns: ["id"];
|
|
16328
|
-
}];
|
|
17576
|
+
Relationships: [];
|
|
16329
17577
|
};
|
|
16330
17578
|
uren_offerte_regels: {
|
|
16331
17579
|
Row: {
|
|
@@ -16646,17 +17894,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
16646
17894
|
submitted_at?: string | null;
|
|
16647
17895
|
updated_at?: string;
|
|
16648
17896
|
};
|
|
16649
|
-
Relationships: [
|
|
16650
|
-
foreignKeyName: "uren_weekstaten_monteur_id_fkey";
|
|
16651
|
-
columns: ["monteur_id"];
|
|
16652
|
-
isOneToOne: false;
|
|
16653
|
-
referencedRelation: "monteurs";
|
|
16654
|
-
referencedColumns: ["id"];
|
|
16655
|
-
}];
|
|
17897
|
+
Relationships: [];
|
|
16656
17898
|
};
|
|
16657
17899
|
user_module_permissions: {
|
|
16658
17900
|
Row: {
|
|
16659
17901
|
created_at: string;
|
|
17902
|
+
feature_id: string;
|
|
16660
17903
|
id: string;
|
|
16661
17904
|
module_id: string;
|
|
16662
17905
|
permission: string;
|
|
@@ -16665,6 +17908,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
16665
17908
|
};
|
|
16666
17909
|
Insert: {
|
|
16667
17910
|
created_at?: string;
|
|
17911
|
+
feature_id?: string;
|
|
16668
17912
|
id?: string;
|
|
16669
17913
|
module_id: string;
|
|
16670
17914
|
permission: string;
|
|
@@ -16673,6 +17917,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
16673
17917
|
};
|
|
16674
17918
|
Update: {
|
|
16675
17919
|
created_at?: string;
|
|
17920
|
+
feature_id?: string;
|
|
16676
17921
|
id?: string;
|
|
16677
17922
|
module_id?: string;
|
|
16678
17923
|
permission?: string;
|
|
@@ -16708,6 +17953,51 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
16708
17953
|
referencedColumns: ["id"];
|
|
16709
17954
|
}];
|
|
16710
17955
|
};
|
|
17956
|
+
van_inventories: {
|
|
17957
|
+
Row: {
|
|
17958
|
+
barcode: string | null;
|
|
17959
|
+
created_at: string;
|
|
17960
|
+
id: string;
|
|
17961
|
+
monteur_id: string | null;
|
|
17962
|
+
price_per_unit: number;
|
|
17963
|
+
product_name: string;
|
|
17964
|
+
quantity_current: number;
|
|
17965
|
+
quantity_min: number;
|
|
17966
|
+
unit: string;
|
|
17967
|
+
updated_at: string;
|
|
17968
|
+
};
|
|
17969
|
+
Insert: {
|
|
17970
|
+
barcode?: string | null;
|
|
17971
|
+
created_at?: string;
|
|
17972
|
+
id?: string;
|
|
17973
|
+
monteur_id?: string | null;
|
|
17974
|
+
price_per_unit?: number;
|
|
17975
|
+
product_name: string;
|
|
17976
|
+
quantity_current?: number;
|
|
17977
|
+
quantity_min?: number;
|
|
17978
|
+
unit?: string;
|
|
17979
|
+
updated_at?: string;
|
|
17980
|
+
};
|
|
17981
|
+
Update: {
|
|
17982
|
+
barcode?: string | null;
|
|
17983
|
+
created_at?: string;
|
|
17984
|
+
id?: string;
|
|
17985
|
+
monteur_id?: string | null;
|
|
17986
|
+
price_per_unit?: number;
|
|
17987
|
+
product_name?: string;
|
|
17988
|
+
quantity_current?: number;
|
|
17989
|
+
quantity_min?: number;
|
|
17990
|
+
unit?: string;
|
|
17991
|
+
updated_at?: string;
|
|
17992
|
+
};
|
|
17993
|
+
Relationships: [{
|
|
17994
|
+
foreignKeyName: "van_inventories_monteur_id_fkey";
|
|
17995
|
+
columns: ["monteur_id"];
|
|
17996
|
+
isOneToOne: false;
|
|
17997
|
+
referencedRelation: "profiles";
|
|
17998
|
+
referencedColumns: ["id"];
|
|
17999
|
+
}];
|
|
18000
|
+
};
|
|
16711
18001
|
voorraad_custom_fields: {
|
|
16712
18002
|
Row: {
|
|
16713
18003
|
created_at: string;
|
|
@@ -17538,6 +18828,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
17538
18828
|
scheduled_end_time: string | null;
|
|
17539
18829
|
scheduled_start_time: string | null;
|
|
17540
18830
|
sequence_number: number;
|
|
18831
|
+
signature_accepted_at: string | null;
|
|
18832
|
+
signature_by_user_id: string | null;
|
|
18833
|
+
signature_name: string | null;
|
|
17541
18834
|
source_email_meta: import("./types").Json | null;
|
|
17542
18835
|
source_mailbox_message_id: string | null;
|
|
17543
18836
|
source_pdf_path: string | null;
|
|
@@ -17573,6 +18866,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
17573
18866
|
scheduled_end_time?: string | null;
|
|
17574
18867
|
scheduled_start_time?: string | null;
|
|
17575
18868
|
sequence_number: number;
|
|
18869
|
+
signature_accepted_at?: string | null;
|
|
18870
|
+
signature_by_user_id?: string | null;
|
|
18871
|
+
signature_name?: string | null;
|
|
17576
18872
|
source_email_meta?: import("./types").Json | null;
|
|
17577
18873
|
source_mailbox_message_id?: string | null;
|
|
17578
18874
|
source_pdf_path?: string | null;
|
|
@@ -17608,6 +18904,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
17608
18904
|
scheduled_end_time?: string | null;
|
|
17609
18905
|
scheduled_start_time?: string | null;
|
|
17610
18906
|
sequence_number?: number;
|
|
18907
|
+
signature_accepted_at?: string | null;
|
|
18908
|
+
signature_by_user_id?: string | null;
|
|
18909
|
+
signature_name?: string | null;
|
|
17611
18910
|
source_email_meta?: import("./types").Json | null;
|
|
17612
18911
|
source_mailbox_message_id?: string | null;
|
|
17613
18912
|
source_pdf_path?: string | null;
|
|
@@ -17658,7 +18957,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
17658
18957
|
foreignKeyName: "work_order_monteurs_monteur_id_fkey";
|
|
17659
18958
|
columns: ["monteur_id"];
|
|
17660
18959
|
isOneToOne: false;
|
|
17661
|
-
referencedRelation: "
|
|
18960
|
+
referencedRelation: "profiles";
|
|
17662
18961
|
referencedColumns: ["id"];
|
|
17663
18962
|
}, {
|
|
17664
18963
|
foreignKeyName: "work_order_monteurs_work_order_id_fkey";
|
|
@@ -17668,6 +18967,60 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
17668
18967
|
referencedColumns: ["id"];
|
|
17669
18968
|
}];
|
|
17670
18969
|
};
|
|
18970
|
+
work_order_photos: {
|
|
18971
|
+
Row: {
|
|
18972
|
+
ai_caption: string | null;
|
|
18973
|
+
ai_categorized_at: string | null;
|
|
18974
|
+
ai_labels: import("./types").Json | null;
|
|
18975
|
+
caption: string | null;
|
|
18976
|
+
created_at: string;
|
|
18977
|
+
id: string;
|
|
18978
|
+
monteur_id: string | null;
|
|
18979
|
+
photo_type: string;
|
|
18980
|
+
storage_path: string;
|
|
18981
|
+
updated_at: string;
|
|
18982
|
+
work_order_id: string;
|
|
18983
|
+
};
|
|
18984
|
+
Insert: {
|
|
18985
|
+
ai_caption?: string | null;
|
|
18986
|
+
ai_categorized_at?: string | null;
|
|
18987
|
+
ai_labels?: import("./types").Json | null;
|
|
18988
|
+
caption?: string | null;
|
|
18989
|
+
created_at?: string;
|
|
18990
|
+
id?: string;
|
|
18991
|
+
monteur_id?: string | null;
|
|
18992
|
+
photo_type?: string;
|
|
18993
|
+
storage_path: string;
|
|
18994
|
+
updated_at?: string;
|
|
18995
|
+
work_order_id: string;
|
|
18996
|
+
};
|
|
18997
|
+
Update: {
|
|
18998
|
+
ai_caption?: string | null;
|
|
18999
|
+
ai_categorized_at?: string | null;
|
|
19000
|
+
ai_labels?: import("./types").Json | null;
|
|
19001
|
+
caption?: string | null;
|
|
19002
|
+
created_at?: string;
|
|
19003
|
+
id?: string;
|
|
19004
|
+
monteur_id?: string | null;
|
|
19005
|
+
photo_type?: string;
|
|
19006
|
+
storage_path?: string;
|
|
19007
|
+
updated_at?: string;
|
|
19008
|
+
work_order_id?: string;
|
|
19009
|
+
};
|
|
19010
|
+
Relationships: [{
|
|
19011
|
+
foreignKeyName: "work_order_photos_monteur_id_fkey";
|
|
19012
|
+
columns: ["monteur_id"];
|
|
19013
|
+
isOneToOne: false;
|
|
19014
|
+
referencedRelation: "profiles";
|
|
19015
|
+
referencedColumns: ["id"];
|
|
19016
|
+
}, {
|
|
19017
|
+
foreignKeyName: "work_order_photos_work_order_id_fkey";
|
|
19018
|
+
columns: ["work_order_id"];
|
|
19019
|
+
isOneToOne: false;
|
|
19020
|
+
referencedRelation: "work_orders";
|
|
19021
|
+
referencedColumns: ["id"];
|
|
19022
|
+
}];
|
|
19023
|
+
};
|
|
17671
19024
|
work_orders: {
|
|
17672
19025
|
Row: {
|
|
17673
19026
|
assigned_to: string | null;
|
|
@@ -17699,7 +19052,6 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
17699
19052
|
scheduled_end_time: string | null;
|
|
17700
19053
|
scheduled_start_time: string | null;
|
|
17701
19054
|
status: string;
|
|
17702
|
-
tenant_id: string;
|
|
17703
19055
|
total_hours_worked: number | null;
|
|
17704
19056
|
total_price: number | null;
|
|
17705
19057
|
travel_time_minutes: number | null;
|
|
@@ -17737,7 +19089,6 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
17737
19089
|
scheduled_end_time?: string | null;
|
|
17738
19090
|
scheduled_start_time?: string | null;
|
|
17739
19091
|
status?: string;
|
|
17740
|
-
tenant_id: string;
|
|
17741
19092
|
total_hours_worked?: number | null;
|
|
17742
19093
|
total_price?: number | null;
|
|
17743
19094
|
travel_time_minutes?: number | null;
|
|
@@ -17775,7 +19126,6 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
17775
19126
|
scheduled_end_time?: string | null;
|
|
17776
19127
|
scheduled_start_time?: string | null;
|
|
17777
19128
|
status?: string;
|
|
17778
|
-
tenant_id?: string;
|
|
17779
19129
|
total_hours_worked?: number | null;
|
|
17780
19130
|
total_price?: number | null;
|
|
17781
19131
|
travel_time_minutes?: number | null;
|
|
@@ -17789,12 +19139,6 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
17789
19139
|
isOneToOne: false;
|
|
17790
19140
|
referencedRelation: "work_orders";
|
|
17791
19141
|
referencedColumns: ["id"];
|
|
17792
|
-
}, {
|
|
17793
|
-
foreignKeyName: "work_orders_tenant_id_fkey";
|
|
17794
|
-
columns: ["tenant_id"];
|
|
17795
|
-
isOneToOne: false;
|
|
17796
|
-
referencedRelation: "tenants";
|
|
17797
|
-
referencedColumns: ["id"];
|
|
17798
19142
|
}];
|
|
17799
19143
|
};
|
|
17800
19144
|
};
|
|
@@ -18065,20 +19409,128 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
18065
19409
|
total_stock: number | null;
|
|
18066
19410
|
};
|
|
18067
19411
|
Relationships: [{
|
|
18068
|
-
foreignKeyName: "product_group_items_product_group_id_fkey";
|
|
18069
|
-
columns: ["product_group_id"];
|
|
19412
|
+
foreignKeyName: "product_group_items_product_group_id_fkey";
|
|
19413
|
+
columns: ["product_group_id"];
|
|
19414
|
+
isOneToOne: false;
|
|
19415
|
+
referencedRelation: "product_groups";
|
|
19416
|
+
referencedColumns: ["id"];
|
|
19417
|
+
}];
|
|
19418
|
+
};
|
|
19419
|
+
trade_item_stock_view: {
|
|
19420
|
+
Row: {
|
|
19421
|
+
stock: number | null;
|
|
19422
|
+
trade_item_id: string | null;
|
|
19423
|
+
};
|
|
19424
|
+
Relationships: [];
|
|
19425
|
+
};
|
|
19426
|
+
uren_facturen: {
|
|
19427
|
+
Row: {
|
|
19428
|
+
created_at: string | null;
|
|
19429
|
+
created_by: string | null;
|
|
19430
|
+
customer_id: string | null;
|
|
19431
|
+
customer_name: string | null;
|
|
19432
|
+
id: string | null;
|
|
19433
|
+
invoice_number: string | null;
|
|
19434
|
+
note: string | null;
|
|
19435
|
+
status: string | null;
|
|
19436
|
+
total_excl_cents: number | null;
|
|
19437
|
+
total_incl_cents: number | null;
|
|
19438
|
+
updated_at: string | null;
|
|
19439
|
+
vat_cents: number | null;
|
|
19440
|
+
vat_percentage: number | null;
|
|
19441
|
+
werkbon_id: string | null;
|
|
19442
|
+
};
|
|
19443
|
+
Insert: {
|
|
19444
|
+
created_at?: string | null;
|
|
19445
|
+
created_by?: string | null;
|
|
19446
|
+
customer_id?: string | null;
|
|
19447
|
+
customer_name?: string | null;
|
|
19448
|
+
id?: string | null;
|
|
19449
|
+
invoice_number?: string | null;
|
|
19450
|
+
note?: string | null;
|
|
19451
|
+
status?: string | null;
|
|
19452
|
+
total_excl_cents?: number | null;
|
|
19453
|
+
total_incl_cents?: number | null;
|
|
19454
|
+
updated_at?: string | null;
|
|
19455
|
+
vat_cents?: number | null;
|
|
19456
|
+
vat_percentage?: number | null;
|
|
19457
|
+
werkbon_id?: never;
|
|
19458
|
+
};
|
|
19459
|
+
Update: {
|
|
19460
|
+
created_at?: string | null;
|
|
19461
|
+
created_by?: string | null;
|
|
19462
|
+
customer_id?: string | null;
|
|
19463
|
+
customer_name?: string | null;
|
|
19464
|
+
id?: string | null;
|
|
19465
|
+
invoice_number?: string | null;
|
|
19466
|
+
note?: string | null;
|
|
19467
|
+
status?: string | null;
|
|
19468
|
+
total_excl_cents?: number | null;
|
|
19469
|
+
total_incl_cents?: number | null;
|
|
19470
|
+
updated_at?: string | null;
|
|
19471
|
+
vat_cents?: number | null;
|
|
19472
|
+
vat_percentage?: number | null;
|
|
19473
|
+
werkbon_id?: never;
|
|
19474
|
+
};
|
|
19475
|
+
Relationships: [{
|
|
19476
|
+
foreignKeyName: "invoices_customer_id_fkey";
|
|
19477
|
+
columns: ["customer_id"];
|
|
19478
|
+
isOneToOne: false;
|
|
19479
|
+
referencedRelation: "itk_customers";
|
|
19480
|
+
referencedColumns: ["id"];
|
|
19481
|
+
}];
|
|
19482
|
+
};
|
|
19483
|
+
uren_factuur_regels: {
|
|
19484
|
+
Row: {
|
|
19485
|
+
created_at: string | null;
|
|
19486
|
+
description: string | null;
|
|
19487
|
+
factuur_id: string | null;
|
|
19488
|
+
id: string | null;
|
|
19489
|
+
kind: string | null;
|
|
19490
|
+
quantity: number | null;
|
|
19491
|
+
sort_order: number | null;
|
|
19492
|
+
total_cents: number | null;
|
|
19493
|
+
unit: string | null;
|
|
19494
|
+
unit_price_cents: number | null;
|
|
19495
|
+
};
|
|
19496
|
+
Insert: {
|
|
19497
|
+
created_at?: string | null;
|
|
19498
|
+
description?: string | null;
|
|
19499
|
+
factuur_id?: string | null;
|
|
19500
|
+
id?: string | null;
|
|
19501
|
+
kind?: string | null;
|
|
19502
|
+
quantity?: number | null;
|
|
19503
|
+
sort_order?: number | null;
|
|
19504
|
+
total_cents?: number | null;
|
|
19505
|
+
unit?: string | null;
|
|
19506
|
+
unit_price_cents?: number | null;
|
|
19507
|
+
};
|
|
19508
|
+
Update: {
|
|
19509
|
+
created_at?: string | null;
|
|
19510
|
+
description?: string | null;
|
|
19511
|
+
factuur_id?: string | null;
|
|
19512
|
+
id?: string | null;
|
|
19513
|
+
kind?: string | null;
|
|
19514
|
+
quantity?: number | null;
|
|
19515
|
+
sort_order?: number | null;
|
|
19516
|
+
total_cents?: number | null;
|
|
19517
|
+
unit?: string | null;
|
|
19518
|
+
unit_price_cents?: number | null;
|
|
19519
|
+
};
|
|
19520
|
+
Relationships: [{
|
|
19521
|
+
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
19522
|
+
columns: ["factuur_id"];
|
|
18070
19523
|
isOneToOne: false;
|
|
18071
|
-
referencedRelation: "
|
|
19524
|
+
referencedRelation: "invoices";
|
|
19525
|
+
referencedColumns: ["id"];
|
|
19526
|
+
}, {
|
|
19527
|
+
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
19528
|
+
columns: ["factuur_id"];
|
|
19529
|
+
isOneToOne: false;
|
|
19530
|
+
referencedRelation: "uren_facturen";
|
|
18072
19531
|
referencedColumns: ["id"];
|
|
18073
19532
|
}];
|
|
18074
19533
|
};
|
|
18075
|
-
trade_item_stock_view: {
|
|
18076
|
-
Row: {
|
|
18077
|
-
stock: number | null;
|
|
18078
|
-
trade_item_id: string | null;
|
|
18079
|
-
};
|
|
18080
|
-
Relationships: [];
|
|
18081
|
-
};
|
|
18082
19534
|
v_external_customers_exact: {
|
|
18083
19535
|
Row: {
|
|
18084
19536
|
account_number: string | null;
|
|
@@ -18479,6 +19931,19 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
18479
19931
|
};
|
|
18480
19932
|
Returns: undefined;
|
|
18481
19933
|
};
|
|
19934
|
+
approve_mailbox_order_proposal: {
|
|
19935
|
+
Args: {
|
|
19936
|
+
p_custom_fields: import("./types").Json;
|
|
19937
|
+
p_customer_id: string;
|
|
19938
|
+
p_delivery_date: string;
|
|
19939
|
+
p_field_values?: import("./types").Json;
|
|
19940
|
+
p_lines: import("./types").Json;
|
|
19941
|
+
p_notes: string;
|
|
19942
|
+
p_proposal_id: string;
|
|
19943
|
+
p_reviewed_by: string;
|
|
19944
|
+
};
|
|
19945
|
+
Returns: import("./types").Json;
|
|
19946
|
+
};
|
|
18482
19947
|
assign_cart_numbers: {
|
|
18483
19948
|
Args: {
|
|
18484
19949
|
p_carts: import("./types").Json;
|
|
@@ -18530,6 +19995,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
18530
19995
|
};
|
|
18531
19996
|
Returns: number;
|
|
18532
19997
|
};
|
|
19998
|
+
can_manage_hours: {
|
|
19999
|
+
Args: never;
|
|
20000
|
+
Returns: boolean;
|
|
20001
|
+
};
|
|
18533
20002
|
check_offer_product_available_stock: {
|
|
18534
20003
|
Args: {
|
|
18535
20004
|
p_campaign_product_id: string;
|
|
@@ -18567,6 +20036,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
18567
20036
|
gebruiker_id: string | null;
|
|
18568
20037
|
gebruiker_naam: string;
|
|
18569
20038
|
gestart_op: string | null;
|
|
20039
|
+
herkomst: string | null;
|
|
18570
20040
|
id: string;
|
|
18571
20041
|
idempotentie_sleutel: string | null;
|
|
18572
20042
|
is_herprint: boolean;
|
|
@@ -18687,6 +20157,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
18687
20157
|
gebruiker_id: string | null;
|
|
18688
20158
|
gebruiker_naam: string;
|
|
18689
20159
|
gestart_op: string | null;
|
|
20160
|
+
herkomst: string | null;
|
|
18690
20161
|
id: string;
|
|
18691
20162
|
idempotentie_sleutel: string | null;
|
|
18692
20163
|
is_herprint: boolean;
|
|
@@ -18719,6 +20190,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
18719
20190
|
};
|
|
18720
20191
|
Returns: {
|
|
18721
20192
|
action: string;
|
|
20193
|
+
attempt_started_at: string | null;
|
|
18722
20194
|
attempts: number;
|
|
18723
20195
|
connection_id: string | null;
|
|
18724
20196
|
created_at: string;
|
|
@@ -18806,6 +20278,30 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
18806
20278
|
agent_naam: string;
|
|
18807
20279
|
}[];
|
|
18808
20280
|
};
|
|
20281
|
+
consume_van_inventory: {
|
|
20282
|
+
Args: {
|
|
20283
|
+
p_inventory_id: string;
|
|
20284
|
+
p_quantity: number;
|
|
20285
|
+
};
|
|
20286
|
+
Returns: {
|
|
20287
|
+
barcode: string | null;
|
|
20288
|
+
created_at: string;
|
|
20289
|
+
id: string;
|
|
20290
|
+
monteur_id: string | null;
|
|
20291
|
+
price_per_unit: number;
|
|
20292
|
+
product_name: string;
|
|
20293
|
+
quantity_current: number;
|
|
20294
|
+
quantity_min: number;
|
|
20295
|
+
unit: string;
|
|
20296
|
+
updated_at: string;
|
|
20297
|
+
};
|
|
20298
|
+
SetofOptions: {
|
|
20299
|
+
from: "*";
|
|
20300
|
+
to: "van_inventories";
|
|
20301
|
+
isOneToOne: true;
|
|
20302
|
+
isSetofReturn: false;
|
|
20303
|
+
};
|
|
20304
|
+
};
|
|
18809
20305
|
control_get_todays_carts: {
|
|
18810
20306
|
Args: never;
|
|
18811
20307
|
Returns: {
|
|
@@ -18879,6 +20375,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
18879
20375
|
_user_id: string;
|
|
18880
20376
|
};
|
|
18881
20377
|
Returns: string;
|
|
20378
|
+
} | {
|
|
20379
|
+
Args: {
|
|
20380
|
+
_feature_id: string;
|
|
20381
|
+
_module_id: string;
|
|
20382
|
+
_user_id: string;
|
|
20383
|
+
};
|
|
20384
|
+
Returns: string;
|
|
18882
20385
|
};
|
|
18883
20386
|
email_auth_decrypt: {
|
|
18884
20387
|
Args: {
|
|
@@ -18925,6 +20428,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
18925
20428
|
};
|
|
18926
20429
|
Returns: string;
|
|
18927
20430
|
};
|
|
20431
|
+
employee_day_hours: {
|
|
20432
|
+
Args: {
|
|
20433
|
+
_day: string;
|
|
20434
|
+
_employee_id: string;
|
|
20435
|
+
};
|
|
20436
|
+
Returns: number;
|
|
20437
|
+
};
|
|
18928
20438
|
enqueue_cart_replan_if_unlocked: {
|
|
18929
20439
|
Args: {
|
|
18930
20440
|
p_order_id: string;
|
|
@@ -19230,12 +20740,6 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
19230
20740
|
Args: never;
|
|
19231
20741
|
Returns: string;
|
|
19232
20742
|
};
|
|
19233
|
-
get_work_order_tenant_id: {
|
|
19234
|
-
Args: {
|
|
19235
|
-
wo_id: string;
|
|
19236
|
-
};
|
|
19237
|
-
Returns: string;
|
|
19238
|
-
};
|
|
19239
20743
|
has_module_permission: {
|
|
19240
20744
|
Args: {
|
|
19241
20745
|
_min: string;
|
|
@@ -19255,6 +20759,46 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
19255
20759
|
Args: never;
|
|
19256
20760
|
Returns: boolean;
|
|
19257
20761
|
};
|
|
20762
|
+
invoice_create_from_source: {
|
|
20763
|
+
Args: {
|
|
20764
|
+
_payload?: import("./types").Json;
|
|
20765
|
+
_source_id: string;
|
|
20766
|
+
_source_type: string;
|
|
20767
|
+
};
|
|
20768
|
+
Returns: import("./types").Json;
|
|
20769
|
+
};
|
|
20770
|
+
invoice_get_billable_lines: {
|
|
20771
|
+
Args: {
|
|
20772
|
+
_invoice_id: string;
|
|
20773
|
+
};
|
|
20774
|
+
Returns: import("./types").Json;
|
|
20775
|
+
};
|
|
20776
|
+
invoice_get_for_source: {
|
|
20777
|
+
Args: {
|
|
20778
|
+
_source_id: string;
|
|
20779
|
+
_source_type: string;
|
|
20780
|
+
};
|
|
20781
|
+
Returns: import("./types").Json;
|
|
20782
|
+
};
|
|
20783
|
+
invoice_get_summary: {
|
|
20784
|
+
Args: {
|
|
20785
|
+
_invoice_id: string;
|
|
20786
|
+
};
|
|
20787
|
+
Returns: import("./types").Json;
|
|
20788
|
+
};
|
|
20789
|
+
invoice_list_sources: {
|
|
20790
|
+
Args: {
|
|
20791
|
+
_limit?: number;
|
|
20792
|
+
_source_type?: string;
|
|
20793
|
+
};
|
|
20794
|
+
Returns: import("./types").Json;
|
|
20795
|
+
};
|
|
20796
|
+
invoice_recalc_totals: {
|
|
20797
|
+
Args: {
|
|
20798
|
+
_invoice_id: string;
|
|
20799
|
+
};
|
|
20800
|
+
Returns: import("./types").Json;
|
|
20801
|
+
};
|
|
19258
20802
|
is_authenticated: {
|
|
19259
20803
|
Args: never;
|
|
19260
20804
|
Returns: boolean;
|
|
@@ -19269,6 +20813,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
19269
20813
|
};
|
|
19270
20814
|
Returns: boolean;
|
|
19271
20815
|
};
|
|
20816
|
+
is_time_log_week_locked: {
|
|
20817
|
+
Args: {
|
|
20818
|
+
p_employee_id: string;
|
|
20819
|
+
p_start_time: string;
|
|
20820
|
+
};
|
|
20821
|
+
Returns: boolean;
|
|
20822
|
+
};
|
|
19272
20823
|
is_user_admin: {
|
|
19273
20824
|
Args: never;
|
|
19274
20825
|
Returns: boolean;
|
|
@@ -19277,12 +20828,59 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
19277
20828
|
Args: never;
|
|
19278
20829
|
Returns: boolean;
|
|
19279
20830
|
};
|
|
20831
|
+
itk_offerte_naar_werkbon: {
|
|
20832
|
+
Args: {
|
|
20833
|
+
_offerte_id: string;
|
|
20834
|
+
};
|
|
20835
|
+
Returns: string;
|
|
20836
|
+
};
|
|
20837
|
+
itk_offerte_restant_mandaat: {
|
|
20838
|
+
Args: {
|
|
20839
|
+
_exclude_offerte_id?: string;
|
|
20840
|
+
_werkbon_id: string;
|
|
20841
|
+
};
|
|
20842
|
+
Returns: number;
|
|
20843
|
+
};
|
|
19280
20844
|
jwt_has_role: {
|
|
19281
20845
|
Args: {
|
|
19282
20846
|
_role: Database["public"]["Enums"]["app_role"];
|
|
19283
20847
|
};
|
|
19284
20848
|
Returns: boolean;
|
|
19285
20849
|
};
|
|
20850
|
+
list_medewerkers: {
|
|
20851
|
+
Args: never;
|
|
20852
|
+
Returns: {
|
|
20853
|
+
avatar_url: string;
|
|
20854
|
+
color: string;
|
|
20855
|
+
display_name: string;
|
|
20856
|
+
email: string;
|
|
20857
|
+
hours_fri: number;
|
|
20858
|
+
hours_mon: number;
|
|
20859
|
+
hours_thu: number;
|
|
20860
|
+
hours_tue: number;
|
|
20861
|
+
hours_wed: number;
|
|
20862
|
+
id: string;
|
|
20863
|
+
is_active: boolean;
|
|
20864
|
+
leave_balance_hours: number;
|
|
20865
|
+
persnr: string;
|
|
20866
|
+
phone: string;
|
|
20867
|
+
roles: string[];
|
|
20868
|
+
}[];
|
|
20869
|
+
};
|
|
20870
|
+
list_monteur_absences: {
|
|
20871
|
+
Args: {
|
|
20872
|
+
_from: string;
|
|
20873
|
+
_to: string;
|
|
20874
|
+
};
|
|
20875
|
+
Returns: {
|
|
20876
|
+
absence_date: string;
|
|
20877
|
+
end_time: string;
|
|
20878
|
+
full_day: boolean;
|
|
20879
|
+
kind: string;
|
|
20880
|
+
monteur_id: string;
|
|
20881
|
+
start_time: string;
|
|
20882
|
+
}[];
|
|
20883
|
+
};
|
|
19286
20884
|
list_monteurs: {
|
|
19287
20885
|
Args: never;
|
|
19288
20886
|
Returns: {
|
|
@@ -19615,17 +21213,6 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
19615
21213
|
Returns: string;
|
|
19616
21214
|
};
|
|
19617
21215
|
logistics_emit_event: {
|
|
19618
|
-
Args: {
|
|
19619
|
-
p_event_type: string;
|
|
19620
|
-
p_idempotency_key?: string;
|
|
19621
|
-
p_order_ref: string;
|
|
19622
|
-
p_payload?: import("./types").Json;
|
|
19623
|
-
p_shadow?: boolean;
|
|
19624
|
-
p_source_module: string;
|
|
19625
|
-
p_strategy_id?: string;
|
|
19626
|
-
};
|
|
19627
|
-
Returns: import("./types").Json;
|
|
19628
|
-
} | {
|
|
19629
21216
|
Args: {
|
|
19630
21217
|
p_event_type: string;
|
|
19631
21218
|
p_idempotency_key?: string;
|
|
@@ -19714,6 +21301,23 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
19714
21301
|
};
|
|
19715
21302
|
Returns: string;
|
|
19716
21303
|
};
|
|
21304
|
+
logistics_floriday_finish_push_v2: {
|
|
21305
|
+
Args: {
|
|
21306
|
+
_error?: string;
|
|
21307
|
+
_error_code?: string;
|
|
21308
|
+
_fulfillment_order_id?: string;
|
|
21309
|
+
_gateway_status?: number;
|
|
21310
|
+
_id: string;
|
|
21311
|
+
_max_age_hours?: number;
|
|
21312
|
+
_max_attempts?: number;
|
|
21313
|
+
_ok: boolean;
|
|
21314
|
+
_permanent?: boolean;
|
|
21315
|
+
_response?: import("./types").Json;
|
|
21316
|
+
_revision: number;
|
|
21317
|
+
_sent_hash?: string;
|
|
21318
|
+
};
|
|
21319
|
+
Returns: string;
|
|
21320
|
+
};
|
|
19717
21321
|
logistics_floriday_prune_pushes: {
|
|
19718
21322
|
Args: {
|
|
19719
21323
|
_days?: number;
|
|
@@ -20080,6 +21684,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20080
21684
|
my_module_permissions: {
|
|
20081
21685
|
Args: never;
|
|
20082
21686
|
Returns: {
|
|
21687
|
+
feature_id: string;
|
|
20083
21688
|
module_id: string;
|
|
20084
21689
|
permission: string;
|
|
20085
21690
|
}[];
|
|
@@ -20255,6 +21860,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20255
21860
|
isSetofReturn: false;
|
|
20256
21861
|
};
|
|
20257
21862
|
};
|
|
21863
|
+
pick_cleanup_maintenance: {
|
|
21864
|
+
Args: {
|
|
21865
|
+
_heartbeat_hours?: number;
|
|
21866
|
+
_log_days?: number;
|
|
21867
|
+
};
|
|
21868
|
+
Returns: import("./types").Json;
|
|
21869
|
+
};
|
|
20258
21870
|
pick_complete_print: {
|
|
20259
21871
|
Args: {
|
|
20260
21872
|
_printer_id: string;
|
|
@@ -20306,6 +21918,14 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20306
21918
|
Args: never;
|
|
20307
21919
|
Returns: string;
|
|
20308
21920
|
};
|
|
21921
|
+
pick_day_counts: {
|
|
21922
|
+
Args: {
|
|
21923
|
+
_pick_day?: string;
|
|
21924
|
+
_screen_id?: string;
|
|
21925
|
+
_station_id?: string;
|
|
21926
|
+
};
|
|
21927
|
+
Returns: import("./types").Json;
|
|
21928
|
+
};
|
|
20309
21929
|
pick_document_layout_data: {
|
|
20310
21930
|
Args: {
|
|
20311
21931
|
_layout_id: string;
|
|
@@ -20333,6 +21953,14 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20333
21953
|
};
|
|
20334
21954
|
Returns: import("./types").Json;
|
|
20335
21955
|
};
|
|
21956
|
+
pick_print_plekken: {
|
|
21957
|
+
Args: never;
|
|
21958
|
+
Returns: {
|
|
21959
|
+
id: string;
|
|
21960
|
+
naam: string;
|
|
21961
|
+
omschrijving: string;
|
|
21962
|
+
}[];
|
|
21963
|
+
};
|
|
20336
21964
|
pick_release_expired_locks: {
|
|
20337
21965
|
Args: never;
|
|
20338
21966
|
Returns: number;
|
|
@@ -20343,6 +21971,14 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20343
21971
|
};
|
|
20344
21972
|
Returns: undefined;
|
|
20345
21973
|
};
|
|
21974
|
+
pick_reprint_document: {
|
|
21975
|
+
Args: {
|
|
21976
|
+
_queue_item_id: string;
|
|
21977
|
+
_session_id: string;
|
|
21978
|
+
_throttle_seconds?: number;
|
|
21979
|
+
};
|
|
21980
|
+
Returns: string;
|
|
21981
|
+
};
|
|
20346
21982
|
pick_reset_print: {
|
|
20347
21983
|
Args: {
|
|
20348
21984
|
_queue_item_id: string;
|
|
@@ -20389,6 +22025,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20389
22025
|
isSetofReturn: false;
|
|
20390
22026
|
};
|
|
20391
22027
|
};
|
|
22028
|
+
pick_set_station_print_plek: {
|
|
22029
|
+
Args: {
|
|
22030
|
+
_print_plek_id: string;
|
|
22031
|
+
_station_id: string;
|
|
22032
|
+
};
|
|
22033
|
+
Returns: string;
|
|
22034
|
+
};
|
|
20392
22035
|
pick_station_dashboard: {
|
|
20393
22036
|
Args: never;
|
|
20394
22037
|
Returns: {
|
|
@@ -20401,6 +22044,25 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20401
22044
|
waiting: number;
|
|
20402
22045
|
}[];
|
|
20403
22046
|
};
|
|
22047
|
+
pick_station_print_plek: {
|
|
22048
|
+
Args: {
|
|
22049
|
+
_station_id: string;
|
|
22050
|
+
};
|
|
22051
|
+
Returns: {
|
|
22052
|
+
naam: string;
|
|
22053
|
+
omschrijving: string;
|
|
22054
|
+
print_plek_id: string;
|
|
22055
|
+
}[];
|
|
22056
|
+
};
|
|
22057
|
+
pick_station_print_plekken: {
|
|
22058
|
+
Args: never;
|
|
22059
|
+
Returns: {
|
|
22060
|
+
naam: string;
|
|
22061
|
+
omschrijving: string;
|
|
22062
|
+
print_plek_id: string;
|
|
22063
|
+
station_id: string;
|
|
22064
|
+
}[];
|
|
22065
|
+
};
|
|
20404
22066
|
pick_station_slugify: {
|
|
20405
22067
|
Args: {
|
|
20406
22068
|
_id: string;
|
|
@@ -20408,6 +22070,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20408
22070
|
};
|
|
20409
22071
|
Returns: string;
|
|
20410
22072
|
};
|
|
22073
|
+
pick_sync_queue_throttled: {
|
|
22074
|
+
Args: {
|
|
22075
|
+
_min_seconds?: number;
|
|
22076
|
+
};
|
|
22077
|
+
Returns: import("./types").Json;
|
|
22078
|
+
};
|
|
20411
22079
|
pickstation_get_orders_raw: {
|
|
20412
22080
|
Args: never;
|
|
20413
22081
|
Returns: import("./types").Json;
|
|
@@ -20469,6 +22137,37 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20469
22137
|
};
|
|
20470
22138
|
Returns: undefined;
|
|
20471
22139
|
};
|
|
22140
|
+
quote_create_from_source: {
|
|
22141
|
+
Args: {
|
|
22142
|
+
_payload?: import("./types").Json;
|
|
22143
|
+
_source_id: string;
|
|
22144
|
+
_source_type: string;
|
|
22145
|
+
};
|
|
22146
|
+
Returns: string;
|
|
22147
|
+
};
|
|
22148
|
+
quote_get_billable_lines: {
|
|
22149
|
+
Args: {
|
|
22150
|
+
_quotation_id: string;
|
|
22151
|
+
};
|
|
22152
|
+
Returns: import("./types").Json;
|
|
22153
|
+
};
|
|
22154
|
+
quote_get_summary: {
|
|
22155
|
+
Args: {
|
|
22156
|
+
_quotation_id: string;
|
|
22157
|
+
};
|
|
22158
|
+
Returns: import("./types").Json;
|
|
22159
|
+
};
|
|
22160
|
+
quote_list_packages: {
|
|
22161
|
+
Args: never;
|
|
22162
|
+
Returns: import("./types").Json;
|
|
22163
|
+
};
|
|
22164
|
+
quote_list_sources: {
|
|
22165
|
+
Args: {
|
|
22166
|
+
_limit?: number;
|
|
22167
|
+
_source_type?: string;
|
|
22168
|
+
};
|
|
22169
|
+
Returns: import("./types").Json;
|
|
22170
|
+
};
|
|
20472
22171
|
recompute_all_reserved_stock: {
|
|
20473
22172
|
Args: never;
|
|
20474
22173
|
Returns: undefined;
|
|
@@ -20522,6 +22221,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20522
22221
|
};
|
|
20523
22222
|
Returns: boolean;
|
|
20524
22223
|
};
|
|
22224
|
+
release_stale_order_invoice_links: {
|
|
22225
|
+
Args: {
|
|
22226
|
+
_minutes?: number;
|
|
22227
|
+
};
|
|
22228
|
+
Returns: number;
|
|
22229
|
+
};
|
|
20525
22230
|
reorder_customer_price_groups: {
|
|
20526
22231
|
Args: {
|
|
20527
22232
|
_ids: string[];
|
|
@@ -20960,6 +22665,16 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20960
22665
|
};
|
|
20961
22666
|
Returns: string[];
|
|
20962
22667
|
};
|
|
22668
|
+
switch_time_log: {
|
|
22669
|
+
Args: {
|
|
22670
|
+
p_employee_id: string;
|
|
22671
|
+
p_start_lat?: number;
|
|
22672
|
+
p_start_lng?: number;
|
|
22673
|
+
p_type: string;
|
|
22674
|
+
p_work_order_id?: string;
|
|
22675
|
+
};
|
|
22676
|
+
Returns: import("./types").Json;
|
|
22677
|
+
};
|
|
20963
22678
|
sync_all_layer_stocks: {
|
|
20964
22679
|
Args: never;
|
|
20965
22680
|
Returns: undefined;
|
|
@@ -20994,6 +22709,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20994
22709
|
};
|
|
20995
22710
|
Returns: undefined;
|
|
20996
22711
|
};
|
|
22712
|
+
sync_sick_time_off: {
|
|
22713
|
+
Args: {
|
|
22714
|
+
_period_id: string;
|
|
22715
|
+
};
|
|
22716
|
+
Returns: number;
|
|
22717
|
+
};
|
|
20997
22718
|
trade_item_stock_duplicates: {
|
|
20998
22719
|
Args: never;
|
|
20999
22720
|
Returns: {
|
|
@@ -21010,6 +22731,38 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
21010
22731
|
};
|
|
21011
22732
|
Returns: boolean;
|
|
21012
22733
|
};
|
|
22734
|
+
twinfield_cron_lock_acquire: {
|
|
22735
|
+
Args: {
|
|
22736
|
+
_job_name: string;
|
|
22737
|
+
_stale_seconds?: number;
|
|
22738
|
+
};
|
|
22739
|
+
Returns: boolean;
|
|
22740
|
+
};
|
|
22741
|
+
twinfield_cron_lock_release: {
|
|
22742
|
+
Args: {
|
|
22743
|
+
_error?: string;
|
|
22744
|
+
_job_name: string;
|
|
22745
|
+
};
|
|
22746
|
+
Returns: undefined;
|
|
22747
|
+
};
|
|
22748
|
+
twinfield_deactivate_connection: {
|
|
22749
|
+
Args: {
|
|
22750
|
+
p_connection_id: string;
|
|
22751
|
+
p_user_id: string;
|
|
22752
|
+
};
|
|
22753
|
+
Returns: import("./types").Json;
|
|
22754
|
+
};
|
|
22755
|
+
twinfield_handle_administration_change: {
|
|
22756
|
+
Args: {
|
|
22757
|
+
_administration_code: string;
|
|
22758
|
+
_user_id: string;
|
|
22759
|
+
};
|
|
22760
|
+
Returns: undefined;
|
|
22761
|
+
};
|
|
22762
|
+
twinfield_prune_push_queue: {
|
|
22763
|
+
Args: never;
|
|
22764
|
+
Returns: number;
|
|
22765
|
+
};
|
|
21013
22766
|
twinfield_register_cron: {
|
|
21014
22767
|
Args: {
|
|
21015
22768
|
apikey?: string;
|
|
@@ -21025,10 +22778,11 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
21025
22778
|
p_company_name?: string;
|
|
21026
22779
|
p_environment: string;
|
|
21027
22780
|
p_office_code?: string;
|
|
22781
|
+
p_reset_sync?: boolean;
|
|
21028
22782
|
p_status?: string;
|
|
21029
22783
|
p_user_id: string;
|
|
21030
22784
|
};
|
|
21031
|
-
Returns:
|
|
22785
|
+
Returns: import("./types").Json;
|
|
21032
22786
|
};
|
|
21033
22787
|
upsert_auto_fulfillment_log: {
|
|
21034
22788
|
Args: {
|
|
@@ -21049,11 +22803,31 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
21049
22803
|
Args: never;
|
|
21050
22804
|
Returns: string;
|
|
21051
22805
|
};
|
|
22806
|
+
wo_create_from_source: {
|
|
22807
|
+
Args: {
|
|
22808
|
+
_payload?: import("./types").Json;
|
|
22809
|
+
_source_id: string;
|
|
22810
|
+
_source_type: string;
|
|
22811
|
+
};
|
|
22812
|
+
Returns: string;
|
|
22813
|
+
};
|
|
22814
|
+
wo_get_billable_lines: {
|
|
22815
|
+
Args: {
|
|
22816
|
+
_work_order_id: string;
|
|
22817
|
+
};
|
|
22818
|
+
Returns: import("./types").Json;
|
|
22819
|
+
};
|
|
22820
|
+
wo_get_summary: {
|
|
22821
|
+
Args: {
|
|
22822
|
+
_work_order_id: string;
|
|
22823
|
+
};
|
|
22824
|
+
Returns: import("./types").Json;
|
|
22825
|
+
};
|
|
21052
22826
|
};
|
|
21053
22827
|
Enums: {
|
|
21054
22828
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|
|
21055
22829
|
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
|
|
21056
|
-
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
|
|
22830
|
+
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon" | "veilingbon" | "afleverbrief" | "veilingbrief";
|
|
21057
22831
|
doc_orientation: "portrait" | "landscape";
|
|
21058
22832
|
exact_env: "staging" | "live";
|
|
21059
22833
|
exact_push_status: "pending" | "sent" | "error";
|