@flowselections/pick-schermen-kwekers 1.0.9 → 1.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/components/PickPublicPage.js +1 -1
- 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 +71 -10
- package/dist-lib/components/pick/QueueTable.d.ts.map +1 -1
- package/dist-lib/components/pick/QueueTable.js +22 -12
- 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 +1788 -311
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +1788 -311
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +1788 -311
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +1888 -375
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.js +3 -0
- package/dist-lib/lib/pickApi.d.ts +11 -4
- package/dist-lib/lib/pickApi.d.ts.map +1 -1
- package/dist-lib/lib/pickApi.js +46 -17
- 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 +2 -2
|
@@ -871,6 +871,126 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
871
871
|
};
|
|
872
872
|
Relationships: [];
|
|
873
873
|
};
|
|
874
|
+
cao_holidays: {
|
|
875
|
+
Row: {
|
|
876
|
+
created_at: string;
|
|
877
|
+
description: string | null;
|
|
878
|
+
holiday_date: string;
|
|
879
|
+
id: string;
|
|
880
|
+
updated_at: string;
|
|
881
|
+
};
|
|
882
|
+
Insert: {
|
|
883
|
+
created_at?: string;
|
|
884
|
+
description?: string | null;
|
|
885
|
+
holiday_date: string;
|
|
886
|
+
id?: string;
|
|
887
|
+
updated_at?: string;
|
|
888
|
+
};
|
|
889
|
+
Update: {
|
|
890
|
+
created_at?: string;
|
|
891
|
+
description?: string | null;
|
|
892
|
+
holiday_date?: string;
|
|
893
|
+
id?: string;
|
|
894
|
+
updated_at?: string;
|
|
895
|
+
};
|
|
896
|
+
Relationships: [];
|
|
897
|
+
};
|
|
898
|
+
cao_settings: {
|
|
899
|
+
Row: {
|
|
900
|
+
auto_break_after_hours: number;
|
|
901
|
+
auto_break_minutes: number;
|
|
902
|
+
auto_break_unpaid: boolean;
|
|
903
|
+
auto_stop_after_hours: number;
|
|
904
|
+
callout_fee: number;
|
|
905
|
+
created_at: string;
|
|
906
|
+
daily_regular_hours: number;
|
|
907
|
+
default_hourly_rate: number;
|
|
908
|
+
id: string;
|
|
909
|
+
materials_markup_percent: number;
|
|
910
|
+
max_daily_hours: number;
|
|
911
|
+
max_weekly_hours: number;
|
|
912
|
+
meal_allowance_amount: number;
|
|
913
|
+
overtime_pct_178: number;
|
|
914
|
+
overtime_pct_189: number;
|
|
915
|
+
overtime_pct_212: number;
|
|
916
|
+
reminder_after_hours: number;
|
|
917
|
+
standby_evening_amount: number;
|
|
918
|
+
standby_weekend_amount: number;
|
|
919
|
+
travel_cost_per_km: number | null;
|
|
920
|
+
travel_cost_threshold_km: number | null;
|
|
921
|
+
travel_counts_as_work: boolean;
|
|
922
|
+
travel_hourly_rate: number;
|
|
923
|
+
travel_rate_per_hour: number;
|
|
924
|
+
travel_threshold_minutes: number;
|
|
925
|
+
updated_at: string;
|
|
926
|
+
weekend_always_212: boolean;
|
|
927
|
+
window_end: string;
|
|
928
|
+
window_start: string;
|
|
929
|
+
};
|
|
930
|
+
Insert: {
|
|
931
|
+
auto_break_after_hours?: number;
|
|
932
|
+
auto_break_minutes?: number;
|
|
933
|
+
auto_break_unpaid?: boolean;
|
|
934
|
+
auto_stop_after_hours?: number;
|
|
935
|
+
callout_fee?: number;
|
|
936
|
+
created_at?: string;
|
|
937
|
+
daily_regular_hours?: number;
|
|
938
|
+
default_hourly_rate?: number;
|
|
939
|
+
id?: string;
|
|
940
|
+
materials_markup_percent?: number;
|
|
941
|
+
max_daily_hours?: number;
|
|
942
|
+
max_weekly_hours?: number;
|
|
943
|
+
meal_allowance_amount?: number;
|
|
944
|
+
overtime_pct_178?: number;
|
|
945
|
+
overtime_pct_189?: number;
|
|
946
|
+
overtime_pct_212?: number;
|
|
947
|
+
reminder_after_hours?: number;
|
|
948
|
+
standby_evening_amount?: number;
|
|
949
|
+
standby_weekend_amount?: number;
|
|
950
|
+
travel_cost_per_km?: number | null;
|
|
951
|
+
travel_cost_threshold_km?: number | null;
|
|
952
|
+
travel_counts_as_work?: boolean;
|
|
953
|
+
travel_hourly_rate?: number;
|
|
954
|
+
travel_rate_per_hour?: number;
|
|
955
|
+
travel_threshold_minutes?: number;
|
|
956
|
+
updated_at?: string;
|
|
957
|
+
weekend_always_212?: boolean;
|
|
958
|
+
window_end?: string;
|
|
959
|
+
window_start?: string;
|
|
960
|
+
};
|
|
961
|
+
Update: {
|
|
962
|
+
auto_break_after_hours?: number;
|
|
963
|
+
auto_break_minutes?: number;
|
|
964
|
+
auto_break_unpaid?: boolean;
|
|
965
|
+
auto_stop_after_hours?: number;
|
|
966
|
+
callout_fee?: number;
|
|
967
|
+
created_at?: string;
|
|
968
|
+
daily_regular_hours?: number;
|
|
969
|
+
default_hourly_rate?: number;
|
|
970
|
+
id?: string;
|
|
971
|
+
materials_markup_percent?: number;
|
|
972
|
+
max_daily_hours?: number;
|
|
973
|
+
max_weekly_hours?: number;
|
|
974
|
+
meal_allowance_amount?: number;
|
|
975
|
+
overtime_pct_178?: number;
|
|
976
|
+
overtime_pct_189?: number;
|
|
977
|
+
overtime_pct_212?: number;
|
|
978
|
+
reminder_after_hours?: number;
|
|
979
|
+
standby_evening_amount?: number;
|
|
980
|
+
standby_weekend_amount?: number;
|
|
981
|
+
travel_cost_per_km?: number | null;
|
|
982
|
+
travel_cost_threshold_km?: number | null;
|
|
983
|
+
travel_counts_as_work?: boolean;
|
|
984
|
+
travel_hourly_rate?: number;
|
|
985
|
+
travel_rate_per_hour?: number;
|
|
986
|
+
travel_threshold_minutes?: number;
|
|
987
|
+
updated_at?: string;
|
|
988
|
+
weekend_always_212?: boolean;
|
|
989
|
+
window_end?: string;
|
|
990
|
+
window_start?: string;
|
|
991
|
+
};
|
|
992
|
+
Relationships: [];
|
|
993
|
+
};
|
|
874
994
|
carrier_shipping_rates: {
|
|
875
995
|
Row: {
|
|
876
996
|
carrier_id: string;
|
|
@@ -2638,6 +2758,42 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
2638
2758
|
};
|
|
2639
2759
|
Relationships: [];
|
|
2640
2760
|
};
|
|
2761
|
+
document_bronregels: {
|
|
2762
|
+
Row: {
|
|
2763
|
+
bron: string;
|
|
2764
|
+
created_at: string;
|
|
2765
|
+
documenttype: string;
|
|
2766
|
+
herkomst: string;
|
|
2767
|
+
id: string;
|
|
2768
|
+
layout_id: string | null;
|
|
2769
|
+
updated_at: string;
|
|
2770
|
+
};
|
|
2771
|
+
Insert: {
|
|
2772
|
+
bron?: string;
|
|
2773
|
+
created_at?: string;
|
|
2774
|
+
documenttype: string;
|
|
2775
|
+
herkomst: string;
|
|
2776
|
+
id?: string;
|
|
2777
|
+
layout_id?: string | null;
|
|
2778
|
+
updated_at?: string;
|
|
2779
|
+
};
|
|
2780
|
+
Update: {
|
|
2781
|
+
bron?: string;
|
|
2782
|
+
created_at?: string;
|
|
2783
|
+
documenttype?: string;
|
|
2784
|
+
herkomst?: string;
|
|
2785
|
+
id?: string;
|
|
2786
|
+
layout_id?: string | null;
|
|
2787
|
+
updated_at?: string;
|
|
2788
|
+
};
|
|
2789
|
+
Relationships: [{
|
|
2790
|
+
foreignKeyName: "document_bronregels_layout_id_fkey";
|
|
2791
|
+
columns: ["layout_id"];
|
|
2792
|
+
isOneToOne: false;
|
|
2793
|
+
referencedRelation: "document_layouts";
|
|
2794
|
+
referencedColumns: ["id"];
|
|
2795
|
+
}];
|
|
2796
|
+
};
|
|
2641
2797
|
document_formaat_printers: {
|
|
2642
2798
|
Row: {
|
|
2643
2799
|
created_at: string;
|
|
@@ -2915,6 +3071,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
2915
3071
|
Row: {
|
|
2916
3072
|
actief: boolean;
|
|
2917
3073
|
breedte_mm: number;
|
|
3074
|
+
bron: string;
|
|
2918
3075
|
config: import("./types").Json;
|
|
2919
3076
|
created_at: string;
|
|
2920
3077
|
created_by: string | null;
|
|
@@ -2932,12 +3089,14 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
2932
3089
|
orientatie: Database["public"]["Enums"]["doc_orientation"];
|
|
2933
3090
|
page_settings: import("./types").Json;
|
|
2934
3091
|
papierformaat: string;
|
|
3092
|
+
systeem: boolean;
|
|
2935
3093
|
thumbnail_url: string | null;
|
|
2936
3094
|
updated_at: string;
|
|
2937
3095
|
};
|
|
2938
3096
|
Insert: {
|
|
2939
3097
|
actief?: boolean;
|
|
2940
3098
|
breedte_mm?: number;
|
|
3099
|
+
bron?: string;
|
|
2941
3100
|
config?: import("./types").Json;
|
|
2942
3101
|
created_at?: string;
|
|
2943
3102
|
created_by?: string | null;
|
|
@@ -2955,12 +3114,14 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
2955
3114
|
orientatie?: Database["public"]["Enums"]["doc_orientation"];
|
|
2956
3115
|
page_settings?: import("./types").Json;
|
|
2957
3116
|
papierformaat?: string;
|
|
3117
|
+
systeem?: boolean;
|
|
2958
3118
|
thumbnail_url?: string | null;
|
|
2959
3119
|
updated_at?: string;
|
|
2960
3120
|
};
|
|
2961
3121
|
Update: {
|
|
2962
3122
|
actief?: boolean;
|
|
2963
3123
|
breedte_mm?: number;
|
|
3124
|
+
bron?: string;
|
|
2964
3125
|
config?: import("./types").Json;
|
|
2965
3126
|
created_at?: string;
|
|
2966
3127
|
created_by?: string | null;
|
|
@@ -2978,11 +3139,48 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
2978
3139
|
orientatie?: Database["public"]["Enums"]["doc_orientation"];
|
|
2979
3140
|
page_settings?: import("./types").Json;
|
|
2980
3141
|
papierformaat?: string;
|
|
3142
|
+
systeem?: boolean;
|
|
2981
3143
|
thumbnail_url?: string | null;
|
|
2982
3144
|
updated_at?: string;
|
|
2983
3145
|
};
|
|
2984
3146
|
Relationships: [];
|
|
2985
3147
|
};
|
|
3148
|
+
document_werkplek_printers: {
|
|
3149
|
+
Row: {
|
|
3150
|
+
created_at: string;
|
|
3151
|
+
documenttype: string;
|
|
3152
|
+
id: string;
|
|
3153
|
+
papierformaat: string | null;
|
|
3154
|
+
printer_id: string | null;
|
|
3155
|
+
updated_at: string;
|
|
3156
|
+
werkplek: string;
|
|
3157
|
+
};
|
|
3158
|
+
Insert: {
|
|
3159
|
+
created_at?: string;
|
|
3160
|
+
documenttype: string;
|
|
3161
|
+
id?: string;
|
|
3162
|
+
papierformaat?: string | null;
|
|
3163
|
+
printer_id?: string | null;
|
|
3164
|
+
updated_at?: string;
|
|
3165
|
+
werkplek: string;
|
|
3166
|
+
};
|
|
3167
|
+
Update: {
|
|
3168
|
+
created_at?: string;
|
|
3169
|
+
documenttype?: string;
|
|
3170
|
+
id?: string;
|
|
3171
|
+
papierformaat?: string | null;
|
|
3172
|
+
printer_id?: string | null;
|
|
3173
|
+
updated_at?: string;
|
|
3174
|
+
werkplek?: string;
|
|
3175
|
+
};
|
|
3176
|
+
Relationships: [{
|
|
3177
|
+
foreignKeyName: "document_werkplek_printers_printer_id_fkey";
|
|
3178
|
+
columns: ["printer_id"];
|
|
3179
|
+
isOneToOne: false;
|
|
3180
|
+
referencedRelation: "printers";
|
|
3181
|
+
referencedColumns: ["id"];
|
|
3182
|
+
}];
|
|
3183
|
+
};
|
|
2986
3184
|
email_auth_connections: {
|
|
2987
3185
|
Row: {
|
|
2988
3186
|
access_token_encrypted: string | null;
|
|
@@ -7228,8 +7426,63 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7228
7426
|
};
|
|
7229
7427
|
Relationships: [];
|
|
7230
7428
|
};
|
|
7429
|
+
invoice_items: {
|
|
7430
|
+
Row: {
|
|
7431
|
+
created_at: string;
|
|
7432
|
+
description: string;
|
|
7433
|
+
id: string;
|
|
7434
|
+
invoice_id: string;
|
|
7435
|
+
kind: string;
|
|
7436
|
+
quantity: number;
|
|
7437
|
+
sort_order: number;
|
|
7438
|
+
source_line_ref: string | null;
|
|
7439
|
+
total_cents: number;
|
|
7440
|
+
unit: string;
|
|
7441
|
+
unit_price_cents: number;
|
|
7442
|
+
};
|
|
7443
|
+
Insert: {
|
|
7444
|
+
created_at?: string;
|
|
7445
|
+
description?: string;
|
|
7446
|
+
id?: string;
|
|
7447
|
+
invoice_id: string;
|
|
7448
|
+
kind?: string;
|
|
7449
|
+
quantity?: number;
|
|
7450
|
+
sort_order?: number;
|
|
7451
|
+
source_line_ref?: string | null;
|
|
7452
|
+
total_cents?: number;
|
|
7453
|
+
unit?: string;
|
|
7454
|
+
unit_price_cents?: number;
|
|
7455
|
+
};
|
|
7456
|
+
Update: {
|
|
7457
|
+
created_at?: string;
|
|
7458
|
+
description?: string;
|
|
7459
|
+
id?: string;
|
|
7460
|
+
invoice_id?: string;
|
|
7461
|
+
kind?: string;
|
|
7462
|
+
quantity?: number;
|
|
7463
|
+
sort_order?: number;
|
|
7464
|
+
source_line_ref?: string | null;
|
|
7465
|
+
total_cents?: number;
|
|
7466
|
+
unit?: string;
|
|
7467
|
+
unit_price_cents?: number;
|
|
7468
|
+
};
|
|
7469
|
+
Relationships: [{
|
|
7470
|
+
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
7471
|
+
columns: ["invoice_id"];
|
|
7472
|
+
isOneToOne: false;
|
|
7473
|
+
referencedRelation: "invoices";
|
|
7474
|
+
referencedColumns: ["id"];
|
|
7475
|
+
}, {
|
|
7476
|
+
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
7477
|
+
columns: ["invoice_id"];
|
|
7478
|
+
isOneToOne: false;
|
|
7479
|
+
referencedRelation: "uren_facturen";
|
|
7480
|
+
referencedColumns: ["id"];
|
|
7481
|
+
}];
|
|
7482
|
+
};
|
|
7231
7483
|
invoice_post_idempotency: {
|
|
7232
7484
|
Row: {
|
|
7485
|
+
administration_code: string;
|
|
7233
7486
|
client_request_id: string;
|
|
7234
7487
|
completed_at: string | null;
|
|
7235
7488
|
created_at: string;
|
|
@@ -7239,6 +7492,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7239
7492
|
user_id: string;
|
|
7240
7493
|
};
|
|
7241
7494
|
Insert: {
|
|
7495
|
+
administration_code?: string;
|
|
7242
7496
|
client_request_id: string;
|
|
7243
7497
|
completed_at?: string | null;
|
|
7244
7498
|
created_at?: string;
|
|
@@ -7248,6 +7502,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7248
7502
|
user_id: string;
|
|
7249
7503
|
};
|
|
7250
7504
|
Update: {
|
|
7505
|
+
administration_code?: string;
|
|
7251
7506
|
client_request_id?: string;
|
|
7252
7507
|
completed_at?: string | null;
|
|
7253
7508
|
created_at?: string;
|
|
@@ -7453,6 +7708,75 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7453
7708
|
};
|
|
7454
7709
|
Relationships: [];
|
|
7455
7710
|
};
|
|
7711
|
+
invoices: {
|
|
7712
|
+
Row: {
|
|
7713
|
+
created_at: string;
|
|
7714
|
+
created_by: string | null;
|
|
7715
|
+
customer_id: string | null;
|
|
7716
|
+
customer_name: string | null;
|
|
7717
|
+
due_date: string | null;
|
|
7718
|
+
id: string;
|
|
7719
|
+
invoice_date: string;
|
|
7720
|
+
invoice_number: string | null;
|
|
7721
|
+
note: string | null;
|
|
7722
|
+
source_number: string | null;
|
|
7723
|
+
source_ref: string | null;
|
|
7724
|
+
source_type: string;
|
|
7725
|
+
status: string;
|
|
7726
|
+
subtotal_cents: number;
|
|
7727
|
+
total_cents: number;
|
|
7728
|
+
updated_at: string;
|
|
7729
|
+
vat_cents: number;
|
|
7730
|
+
vat_rate: number;
|
|
7731
|
+
};
|
|
7732
|
+
Insert: {
|
|
7733
|
+
created_at?: string;
|
|
7734
|
+
created_by?: string | null;
|
|
7735
|
+
customer_id?: string | null;
|
|
7736
|
+
customer_name?: string | null;
|
|
7737
|
+
due_date?: string | null;
|
|
7738
|
+
id?: string;
|
|
7739
|
+
invoice_date?: string;
|
|
7740
|
+
invoice_number?: string | null;
|
|
7741
|
+
note?: string | null;
|
|
7742
|
+
source_number?: string | null;
|
|
7743
|
+
source_ref?: string | null;
|
|
7744
|
+
source_type?: string;
|
|
7745
|
+
status?: string;
|
|
7746
|
+
subtotal_cents?: number;
|
|
7747
|
+
total_cents?: number;
|
|
7748
|
+
updated_at?: string;
|
|
7749
|
+
vat_cents?: number;
|
|
7750
|
+
vat_rate?: number;
|
|
7751
|
+
};
|
|
7752
|
+
Update: {
|
|
7753
|
+
created_at?: string;
|
|
7754
|
+
created_by?: string | null;
|
|
7755
|
+
customer_id?: string | null;
|
|
7756
|
+
customer_name?: string | null;
|
|
7757
|
+
due_date?: string | null;
|
|
7758
|
+
id?: string;
|
|
7759
|
+
invoice_date?: string;
|
|
7760
|
+
invoice_number?: string | null;
|
|
7761
|
+
note?: string | null;
|
|
7762
|
+
source_number?: string | null;
|
|
7763
|
+
source_ref?: string | null;
|
|
7764
|
+
source_type?: string;
|
|
7765
|
+
status?: string;
|
|
7766
|
+
subtotal_cents?: number;
|
|
7767
|
+
total_cents?: number;
|
|
7768
|
+
updated_at?: string;
|
|
7769
|
+
vat_cents?: number;
|
|
7770
|
+
vat_rate?: number;
|
|
7771
|
+
};
|
|
7772
|
+
Relationships: [{
|
|
7773
|
+
foreignKeyName: "invoices_customer_id_fkey";
|
|
7774
|
+
columns: ["customer_id"];
|
|
7775
|
+
isOneToOne: false;
|
|
7776
|
+
referencedRelation: "itk_customers";
|
|
7777
|
+
referencedColumns: ["id"];
|
|
7778
|
+
}];
|
|
7779
|
+
};
|
|
7456
7780
|
itk_contact_persons: {
|
|
7457
7781
|
Row: {
|
|
7458
7782
|
created_at: string;
|
|
@@ -7648,77 +7972,329 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7648
7972
|
};
|
|
7649
7973
|
Relationships: [];
|
|
7650
7974
|
};
|
|
7651
|
-
|
|
7975
|
+
itk_offerte_events: {
|
|
7652
7976
|
Row: {
|
|
7653
|
-
city: string | null;
|
|
7654
7977
|
created_at: string;
|
|
7655
|
-
|
|
7978
|
+
event_type: string;
|
|
7656
7979
|
id: string;
|
|
7657
|
-
|
|
7658
|
-
|
|
7659
|
-
|
|
7660
|
-
|
|
7661
|
-
postcode: string | null;
|
|
7662
|
-
street: string | null;
|
|
7663
|
-
updated_at: string;
|
|
7980
|
+
metadata: import("./types").Json;
|
|
7981
|
+
offerte_id: string;
|
|
7982
|
+
omschrijving: string | null;
|
|
7983
|
+
user_id: string | null;
|
|
7664
7984
|
};
|
|
7665
7985
|
Insert: {
|
|
7666
|
-
city?: string | null;
|
|
7667
7986
|
created_at?: string;
|
|
7668
|
-
|
|
7987
|
+
event_type: string;
|
|
7669
7988
|
id?: string;
|
|
7670
|
-
|
|
7671
|
-
|
|
7672
|
-
|
|
7673
|
-
|
|
7674
|
-
postcode?: string | null;
|
|
7675
|
-
street?: string | null;
|
|
7676
|
-
updated_at?: string;
|
|
7989
|
+
metadata?: import("./types").Json;
|
|
7990
|
+
offerte_id: string;
|
|
7991
|
+
omschrijving?: string | null;
|
|
7992
|
+
user_id?: string | null;
|
|
7677
7993
|
};
|
|
7678
7994
|
Update: {
|
|
7679
|
-
city?: string | null;
|
|
7680
7995
|
created_at?: string;
|
|
7681
|
-
|
|
7996
|
+
event_type?: string;
|
|
7682
7997
|
id?: string;
|
|
7683
|
-
|
|
7684
|
-
|
|
7685
|
-
|
|
7686
|
-
|
|
7687
|
-
postcode?: string | null;
|
|
7688
|
-
street?: string | null;
|
|
7689
|
-
updated_at?: string;
|
|
7998
|
+
metadata?: import("./types").Json;
|
|
7999
|
+
offerte_id?: string;
|
|
8000
|
+
omschrijving?: string | null;
|
|
8001
|
+
user_id?: string | null;
|
|
7690
8002
|
};
|
|
7691
8003
|
Relationships: [{
|
|
7692
|
-
foreignKeyName: "
|
|
7693
|
-
columns: ["
|
|
8004
|
+
foreignKeyName: "itk_offerte_events_offerte_id_fkey";
|
|
8005
|
+
columns: ["offerte_id"];
|
|
7694
8006
|
isOneToOne: false;
|
|
7695
|
-
referencedRelation: "
|
|
8007
|
+
referencedRelation: "itk_offertes";
|
|
7696
8008
|
referencedColumns: ["id"];
|
|
7697
8009
|
}];
|
|
7698
8010
|
};
|
|
7699
|
-
|
|
8011
|
+
itk_offerte_regels: {
|
|
7700
8012
|
Row: {
|
|
7701
|
-
bestand_url: string;
|
|
7702
|
-
bestandsgrootte: number;
|
|
7703
|
-
bestandspad: string | null;
|
|
7704
|
-
bestandstype: string;
|
|
7705
|
-
breedte: number;
|
|
7706
|
-
categorie: string;
|
|
7707
8013
|
created_at: string;
|
|
7708
|
-
hash: string | null;
|
|
7709
|
-
hoogte: number;
|
|
7710
8014
|
id: string;
|
|
7711
|
-
|
|
7712
|
-
|
|
8015
|
+
line_total_cents: number;
|
|
8016
|
+
offerte_id: string;
|
|
7713
8017
|
omschrijving: string;
|
|
7714
|
-
|
|
8018
|
+
package_id: string | null;
|
|
8019
|
+
quantity: number;
|
|
8020
|
+
sort_order: number;
|
|
8021
|
+
source: string;
|
|
8022
|
+
unit_price_cents: number;
|
|
7715
8023
|
updated_at: string;
|
|
7716
8024
|
};
|
|
7717
8025
|
Insert: {
|
|
7718
|
-
|
|
7719
|
-
|
|
7720
|
-
|
|
7721
|
-
|
|
8026
|
+
created_at?: string;
|
|
8027
|
+
id?: string;
|
|
8028
|
+
line_total_cents?: number;
|
|
8029
|
+
offerte_id: string;
|
|
8030
|
+
omschrijving?: string;
|
|
8031
|
+
package_id?: string | null;
|
|
8032
|
+
quantity?: number;
|
|
8033
|
+
sort_order?: number;
|
|
8034
|
+
source?: string;
|
|
8035
|
+
unit_price_cents?: number;
|
|
8036
|
+
updated_at?: string;
|
|
8037
|
+
};
|
|
8038
|
+
Update: {
|
|
8039
|
+
created_at?: string;
|
|
8040
|
+
id?: string;
|
|
8041
|
+
line_total_cents?: number;
|
|
8042
|
+
offerte_id?: string;
|
|
8043
|
+
omschrijving?: string;
|
|
8044
|
+
package_id?: string | null;
|
|
8045
|
+
quantity?: number;
|
|
8046
|
+
sort_order?: number;
|
|
8047
|
+
source?: string;
|
|
8048
|
+
unit_price_cents?: number;
|
|
8049
|
+
updated_at?: string;
|
|
8050
|
+
};
|
|
8051
|
+
Relationships: [{
|
|
8052
|
+
foreignKeyName: "itk_offerte_regels_offerte_id_fkey";
|
|
8053
|
+
columns: ["offerte_id"];
|
|
8054
|
+
isOneToOne: false;
|
|
8055
|
+
referencedRelation: "itk_offertes";
|
|
8056
|
+
referencedColumns: ["id"];
|
|
8057
|
+
}, {
|
|
8058
|
+
foreignKeyName: "itk_offerte_regels_package_id_fkey";
|
|
8059
|
+
columns: ["package_id"];
|
|
8060
|
+
isOneToOne: false;
|
|
8061
|
+
referencedRelation: "werkbon_packages";
|
|
8062
|
+
referencedColumns: ["id"];
|
|
8063
|
+
}];
|
|
8064
|
+
};
|
|
8065
|
+
itk_offerte_settings: {
|
|
8066
|
+
Row: {
|
|
8067
|
+
auto_convert_binnen_mandaat: boolean;
|
|
8068
|
+
created_at: string;
|
|
8069
|
+
default_geldigheid_dagen: number;
|
|
8070
|
+
default_vat_rate: number;
|
|
8071
|
+
id: string;
|
|
8072
|
+
singleton: boolean;
|
|
8073
|
+
updated_at: string;
|
|
8074
|
+
};
|
|
8075
|
+
Insert: {
|
|
8076
|
+
auto_convert_binnen_mandaat?: boolean;
|
|
8077
|
+
created_at?: string;
|
|
8078
|
+
default_geldigheid_dagen?: number;
|
|
8079
|
+
default_vat_rate?: number;
|
|
8080
|
+
id?: string;
|
|
8081
|
+
singleton?: boolean;
|
|
8082
|
+
updated_at?: string;
|
|
8083
|
+
};
|
|
8084
|
+
Update: {
|
|
8085
|
+
auto_convert_binnen_mandaat?: boolean;
|
|
8086
|
+
created_at?: string;
|
|
8087
|
+
default_geldigheid_dagen?: number;
|
|
8088
|
+
default_vat_rate?: number;
|
|
8089
|
+
id?: string;
|
|
8090
|
+
singleton?: boolean;
|
|
8091
|
+
updated_at?: string;
|
|
8092
|
+
};
|
|
8093
|
+
Relationships: [];
|
|
8094
|
+
};
|
|
8095
|
+
itk_offertes: {
|
|
8096
|
+
Row: {
|
|
8097
|
+
ai_generated: boolean;
|
|
8098
|
+
approved_at: string | null;
|
|
8099
|
+
binnen_mandaat: boolean;
|
|
8100
|
+
contact_id: string | null;
|
|
8101
|
+
converted_at: string | null;
|
|
8102
|
+
created_at: string;
|
|
8103
|
+
created_by: string | null;
|
|
8104
|
+
customer_id: string | null;
|
|
8105
|
+
follow_up_werkbon_id: string | null;
|
|
8106
|
+
id: string;
|
|
8107
|
+
jaar: number;
|
|
8108
|
+
mandaat_restant_cents: number;
|
|
8109
|
+
notities: string | null;
|
|
8110
|
+
offerte_number: string | null;
|
|
8111
|
+
omschrijving: string;
|
|
8112
|
+
rejected_at: string | null;
|
|
8113
|
+
sent_at: string | null;
|
|
8114
|
+
source_number: string | null;
|
|
8115
|
+
source_ref: string | null;
|
|
8116
|
+
source_type: string;
|
|
8117
|
+
status: string;
|
|
8118
|
+
subtotal_cents: number;
|
|
8119
|
+
total_cents: number;
|
|
8120
|
+
updated_at: string;
|
|
8121
|
+
valid_until: string | null;
|
|
8122
|
+
vat_cents: number;
|
|
8123
|
+
vat_rate: number;
|
|
8124
|
+
viewed_at: string | null;
|
|
8125
|
+
volgnummer: number | null;
|
|
8126
|
+
werkbon_id: string | null;
|
|
8127
|
+
work_location_id: string | null;
|
|
8128
|
+
};
|
|
8129
|
+
Insert: {
|
|
8130
|
+
ai_generated?: boolean;
|
|
8131
|
+
approved_at?: string | null;
|
|
8132
|
+
binnen_mandaat?: boolean;
|
|
8133
|
+
contact_id?: string | null;
|
|
8134
|
+
converted_at?: string | null;
|
|
8135
|
+
created_at?: string;
|
|
8136
|
+
created_by?: string | null;
|
|
8137
|
+
customer_id?: string | null;
|
|
8138
|
+
follow_up_werkbon_id?: string | null;
|
|
8139
|
+
id?: string;
|
|
8140
|
+
jaar?: number;
|
|
8141
|
+
mandaat_restant_cents?: number;
|
|
8142
|
+
notities?: string | null;
|
|
8143
|
+
offerte_number?: string | null;
|
|
8144
|
+
omschrijving?: string;
|
|
8145
|
+
rejected_at?: string | null;
|
|
8146
|
+
sent_at?: string | null;
|
|
8147
|
+
source_number?: string | null;
|
|
8148
|
+
source_ref?: string | null;
|
|
8149
|
+
source_type?: string;
|
|
8150
|
+
status?: string;
|
|
8151
|
+
subtotal_cents?: number;
|
|
8152
|
+
total_cents?: number;
|
|
8153
|
+
updated_at?: string;
|
|
8154
|
+
valid_until?: string | null;
|
|
8155
|
+
vat_cents?: number;
|
|
8156
|
+
vat_rate?: number;
|
|
8157
|
+
viewed_at?: string | null;
|
|
8158
|
+
volgnummer?: number | null;
|
|
8159
|
+
werkbon_id?: string | null;
|
|
8160
|
+
work_location_id?: string | null;
|
|
8161
|
+
};
|
|
8162
|
+
Update: {
|
|
8163
|
+
ai_generated?: boolean;
|
|
8164
|
+
approved_at?: string | null;
|
|
8165
|
+
binnen_mandaat?: boolean;
|
|
8166
|
+
contact_id?: string | null;
|
|
8167
|
+
converted_at?: string | null;
|
|
8168
|
+
created_at?: string;
|
|
8169
|
+
created_by?: string | null;
|
|
8170
|
+
customer_id?: string | null;
|
|
8171
|
+
follow_up_werkbon_id?: string | null;
|
|
8172
|
+
id?: string;
|
|
8173
|
+
jaar?: number;
|
|
8174
|
+
mandaat_restant_cents?: number;
|
|
8175
|
+
notities?: string | null;
|
|
8176
|
+
offerte_number?: string | null;
|
|
8177
|
+
omschrijving?: string;
|
|
8178
|
+
rejected_at?: string | null;
|
|
8179
|
+
sent_at?: string | null;
|
|
8180
|
+
source_number?: string | null;
|
|
8181
|
+
source_ref?: string | null;
|
|
8182
|
+
source_type?: string;
|
|
8183
|
+
status?: string;
|
|
8184
|
+
subtotal_cents?: number;
|
|
8185
|
+
total_cents?: number;
|
|
8186
|
+
updated_at?: string;
|
|
8187
|
+
valid_until?: string | null;
|
|
8188
|
+
vat_cents?: number;
|
|
8189
|
+
vat_rate?: number;
|
|
8190
|
+
viewed_at?: string | null;
|
|
8191
|
+
volgnummer?: number | null;
|
|
8192
|
+
werkbon_id?: string | null;
|
|
8193
|
+
work_location_id?: string | null;
|
|
8194
|
+
};
|
|
8195
|
+
Relationships: [{
|
|
8196
|
+
foreignKeyName: "itk_offertes_contact_id_fkey";
|
|
8197
|
+
columns: ["contact_id"];
|
|
8198
|
+
isOneToOne: false;
|
|
8199
|
+
referencedRelation: "itk_contact_persons";
|
|
8200
|
+
referencedColumns: ["id"];
|
|
8201
|
+
}, {
|
|
8202
|
+
foreignKeyName: "itk_offertes_customer_id_fkey";
|
|
8203
|
+
columns: ["customer_id"];
|
|
8204
|
+
isOneToOne: false;
|
|
8205
|
+
referencedRelation: "itk_customers";
|
|
8206
|
+
referencedColumns: ["id"];
|
|
8207
|
+
}, {
|
|
8208
|
+
foreignKeyName: "itk_offertes_follow_up_werkbon_id_fkey";
|
|
8209
|
+
columns: ["follow_up_werkbon_id"];
|
|
8210
|
+
isOneToOne: false;
|
|
8211
|
+
referencedRelation: "werkbonnen";
|
|
8212
|
+
referencedColumns: ["id"];
|
|
8213
|
+
}, {
|
|
8214
|
+
foreignKeyName: "itk_offertes_werkbon_id_fkey";
|
|
8215
|
+
columns: ["werkbon_id"];
|
|
8216
|
+
isOneToOne: false;
|
|
8217
|
+
referencedRelation: "werkbonnen";
|
|
8218
|
+
referencedColumns: ["id"];
|
|
8219
|
+
}, {
|
|
8220
|
+
foreignKeyName: "itk_offertes_work_location_id_fkey";
|
|
8221
|
+
columns: ["work_location_id"];
|
|
8222
|
+
isOneToOne: false;
|
|
8223
|
+
referencedRelation: "itk_work_locations";
|
|
8224
|
+
referencedColumns: ["id"];
|
|
8225
|
+
}];
|
|
8226
|
+
};
|
|
8227
|
+
itk_work_locations: {
|
|
8228
|
+
Row: {
|
|
8229
|
+
city: string | null;
|
|
8230
|
+
created_at: string;
|
|
8231
|
+
customer_id: string;
|
|
8232
|
+
id: string;
|
|
8233
|
+
instructions: string | null;
|
|
8234
|
+
label: string;
|
|
8235
|
+
latitude: number | null;
|
|
8236
|
+
longitude: number | null;
|
|
8237
|
+
postcode: string | null;
|
|
8238
|
+
street: string | null;
|
|
8239
|
+
updated_at: string;
|
|
8240
|
+
};
|
|
8241
|
+
Insert: {
|
|
8242
|
+
city?: string | null;
|
|
8243
|
+
created_at?: string;
|
|
8244
|
+
customer_id: string;
|
|
8245
|
+
id?: string;
|
|
8246
|
+
instructions?: string | null;
|
|
8247
|
+
label: string;
|
|
8248
|
+
latitude?: number | null;
|
|
8249
|
+
longitude?: number | null;
|
|
8250
|
+
postcode?: string | null;
|
|
8251
|
+
street?: string | null;
|
|
8252
|
+
updated_at?: string;
|
|
8253
|
+
};
|
|
8254
|
+
Update: {
|
|
8255
|
+
city?: string | null;
|
|
8256
|
+
created_at?: string;
|
|
8257
|
+
customer_id?: string;
|
|
8258
|
+
id?: string;
|
|
8259
|
+
instructions?: string | null;
|
|
8260
|
+
label?: string;
|
|
8261
|
+
latitude?: number | null;
|
|
8262
|
+
longitude?: number | null;
|
|
8263
|
+
postcode?: string | null;
|
|
8264
|
+
street?: string | null;
|
|
8265
|
+
updated_at?: string;
|
|
8266
|
+
};
|
|
8267
|
+
Relationships: [{
|
|
8268
|
+
foreignKeyName: "itk_work_locations_customer_id_fkey";
|
|
8269
|
+
columns: ["customer_id"];
|
|
8270
|
+
isOneToOne: false;
|
|
8271
|
+
referencedRelation: "itk_customers";
|
|
8272
|
+
referencedColumns: ["id"];
|
|
8273
|
+
}];
|
|
8274
|
+
};
|
|
8275
|
+
layout_logos: {
|
|
8276
|
+
Row: {
|
|
8277
|
+
bestand_url: string;
|
|
8278
|
+
bestandsgrootte: number;
|
|
8279
|
+
bestandspad: string | null;
|
|
8280
|
+
bestandstype: string;
|
|
8281
|
+
breedte: number;
|
|
8282
|
+
categorie: string;
|
|
8283
|
+
created_at: string;
|
|
8284
|
+
hash: string | null;
|
|
8285
|
+
hoogte: number;
|
|
8286
|
+
id: string;
|
|
8287
|
+
is_standaard: boolean;
|
|
8288
|
+
naam: string;
|
|
8289
|
+
omschrijving: string;
|
|
8290
|
+
transparant: boolean;
|
|
8291
|
+
updated_at: string;
|
|
8292
|
+
};
|
|
8293
|
+
Insert: {
|
|
8294
|
+
bestand_url: string;
|
|
8295
|
+
bestandsgrootte?: number;
|
|
8296
|
+
bestandspad?: string | null;
|
|
8297
|
+
bestandstype?: string;
|
|
7722
8298
|
breedte?: number;
|
|
7723
8299
|
categorie?: string;
|
|
7724
8300
|
created_at?: string;
|
|
@@ -7765,7 +8341,6 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7765
8341
|
start_date: string;
|
|
7766
8342
|
start_time: string | null;
|
|
7767
8343
|
status: string;
|
|
7768
|
-
tenant_id: string;
|
|
7769
8344
|
updated_at: string;
|
|
7770
8345
|
user_id: string;
|
|
7771
8346
|
};
|
|
@@ -7783,7 +8358,6 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7783
8358
|
start_date: string;
|
|
7784
8359
|
start_time?: string | null;
|
|
7785
8360
|
status?: string;
|
|
7786
|
-
tenant_id?: string;
|
|
7787
8361
|
updated_at?: string;
|
|
7788
8362
|
user_id: string;
|
|
7789
8363
|
};
|
|
@@ -7801,7 +8375,6 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7801
8375
|
start_date?: string;
|
|
7802
8376
|
start_time?: string | null;
|
|
7803
8377
|
status?: string;
|
|
7804
|
-
tenant_id?: string;
|
|
7805
8378
|
updated_at?: string;
|
|
7806
8379
|
user_id?: string;
|
|
7807
8380
|
};
|
|
@@ -7809,13 +8382,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7809
8382
|
foreignKeyName: "leave_requests_monteur_id_fkey";
|
|
7810
8383
|
columns: ["monteur_id"];
|
|
7811
8384
|
isOneToOne: false;
|
|
7812
|
-
referencedRelation: "
|
|
8385
|
+
referencedRelation: "profiles";
|
|
7813
8386
|
referencedColumns: ["id"];
|
|
7814
8387
|
}, {
|
|
7815
8388
|
foreignKeyName: "leave_requests_user_id_fkey";
|
|
7816
8389
|
columns: ["user_id"];
|
|
7817
8390
|
isOneToOne: false;
|
|
7818
|
-
referencedRelation: "
|
|
8391
|
+
referencedRelation: "profiles";
|
|
7819
8392
|
referencedColumns: ["id"];
|
|
7820
8393
|
}];
|
|
7821
8394
|
};
|
|
@@ -9970,47 +10543,192 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9970
10543
|
};
|
|
9971
10544
|
Relationships: [];
|
|
9972
10545
|
};
|
|
9973
|
-
|
|
10546
|
+
material_usage: {
|
|
9974
10547
|
Row: {
|
|
9975
10548
|
created_at: string;
|
|
9976
10549
|
id: string;
|
|
9977
|
-
|
|
9978
|
-
|
|
9979
|
-
|
|
10550
|
+
material_name: string;
|
|
10551
|
+
monteur_id: string | null;
|
|
10552
|
+
price_at_time: number;
|
|
10553
|
+
quantity_used: number;
|
|
9980
10554
|
updated_at: string;
|
|
10555
|
+
van_inventory_id: string | null;
|
|
10556
|
+
work_order_id: string;
|
|
9981
10557
|
};
|
|
9982
10558
|
Insert: {
|
|
9983
10559
|
created_at?: string;
|
|
9984
10560
|
id?: string;
|
|
9985
|
-
|
|
9986
|
-
|
|
9987
|
-
|
|
10561
|
+
material_name: string;
|
|
10562
|
+
monteur_id?: string | null;
|
|
10563
|
+
price_at_time?: number;
|
|
10564
|
+
quantity_used?: number;
|
|
9988
10565
|
updated_at?: string;
|
|
10566
|
+
van_inventory_id?: string | null;
|
|
10567
|
+
work_order_id: string;
|
|
9989
10568
|
};
|
|
9990
10569
|
Update: {
|
|
9991
10570
|
created_at?: string;
|
|
9992
10571
|
id?: string;
|
|
9993
|
-
|
|
9994
|
-
|
|
9995
|
-
|
|
10572
|
+
material_name?: string;
|
|
10573
|
+
monteur_id?: string | null;
|
|
10574
|
+
price_at_time?: number;
|
|
10575
|
+
quantity_used?: number;
|
|
9996
10576
|
updated_at?: string;
|
|
10577
|
+
van_inventory_id?: string | null;
|
|
10578
|
+
work_order_id?: string;
|
|
9997
10579
|
};
|
|
9998
|
-
Relationships: [
|
|
10580
|
+
Relationships: [{
|
|
10581
|
+
foreignKeyName: "material_usage_monteur_id_fkey";
|
|
10582
|
+
columns: ["monteur_id"];
|
|
10583
|
+
isOneToOne: false;
|
|
10584
|
+
referencedRelation: "profiles";
|
|
10585
|
+
referencedColumns: ["id"];
|
|
10586
|
+
}, {
|
|
10587
|
+
foreignKeyName: "material_usage_van_inventory_id_fkey";
|
|
10588
|
+
columns: ["van_inventory_id"];
|
|
10589
|
+
isOneToOne: false;
|
|
10590
|
+
referencedRelation: "van_inventories";
|
|
10591
|
+
referencedColumns: ["id"];
|
|
10592
|
+
}, {
|
|
10593
|
+
foreignKeyName: "material_usage_work_order_id_fkey";
|
|
10594
|
+
columns: ["work_order_id"];
|
|
10595
|
+
isOneToOne: false;
|
|
10596
|
+
referencedRelation: "work_orders";
|
|
10597
|
+
referencedColumns: ["id"];
|
|
10598
|
+
}];
|
|
9999
10599
|
};
|
|
10000
|
-
|
|
10600
|
+
medewerker_details: {
|
|
10001
10601
|
Row: {
|
|
10602
|
+
color: string | null;
|
|
10002
10603
|
created_at: string;
|
|
10604
|
+
hours_fri: number | null;
|
|
10605
|
+
hours_mon: number | null;
|
|
10606
|
+
hours_thu: number | null;
|
|
10607
|
+
hours_tue: number | null;
|
|
10608
|
+
hours_wed: number | null;
|
|
10609
|
+
id: string;
|
|
10003
10610
|
is_active: boolean;
|
|
10004
|
-
|
|
10005
|
-
|
|
10006
|
-
|
|
10007
|
-
|
|
10008
|
-
|
|
10611
|
+
leave_balance_hours: number;
|
|
10612
|
+
persnr: string | null;
|
|
10613
|
+
phone: string | null;
|
|
10614
|
+
profile_id: string;
|
|
10615
|
+
updated_at: string;
|
|
10009
10616
|
};
|
|
10010
10617
|
Insert: {
|
|
10618
|
+
color?: string | null;
|
|
10011
10619
|
created_at?: string;
|
|
10620
|
+
hours_fri?: number | null;
|
|
10621
|
+
hours_mon?: number | null;
|
|
10622
|
+
hours_thu?: number | null;
|
|
10623
|
+
hours_tue?: number | null;
|
|
10624
|
+
hours_wed?: number | null;
|
|
10625
|
+
id?: string;
|
|
10626
|
+
is_active?: boolean;
|
|
10627
|
+
leave_balance_hours?: number;
|
|
10628
|
+
persnr?: string | null;
|
|
10629
|
+
phone?: string | null;
|
|
10630
|
+
profile_id: string;
|
|
10631
|
+
updated_at?: string;
|
|
10632
|
+
};
|
|
10633
|
+
Update: {
|
|
10634
|
+
color?: string | null;
|
|
10635
|
+
created_at?: string;
|
|
10636
|
+
hours_fri?: number | null;
|
|
10637
|
+
hours_mon?: number | null;
|
|
10638
|
+
hours_thu?: number | null;
|
|
10639
|
+
hours_tue?: number | null;
|
|
10640
|
+
hours_wed?: number | null;
|
|
10641
|
+
id?: string;
|
|
10642
|
+
is_active?: boolean;
|
|
10643
|
+
leave_balance_hours?: number;
|
|
10644
|
+
persnr?: string | null;
|
|
10645
|
+
phone?: string | null;
|
|
10646
|
+
profile_id?: string;
|
|
10647
|
+
updated_at?: string;
|
|
10648
|
+
};
|
|
10649
|
+
Relationships: [{
|
|
10650
|
+
foreignKeyName: "medewerker_details_profile_id_fkey";
|
|
10651
|
+
columns: ["profile_id"];
|
|
10652
|
+
isOneToOne: true;
|
|
10653
|
+
referencedRelation: "profiles";
|
|
10654
|
+
referencedColumns: ["id"];
|
|
10655
|
+
}];
|
|
10656
|
+
};
|
|
10657
|
+
module_features: {
|
|
10658
|
+
Row: {
|
|
10659
|
+
created_at: string;
|
|
10660
|
+
feature_id: string;
|
|
10661
|
+
id: string;
|
|
10662
|
+
is_active: boolean;
|
|
10663
|
+
last_seen_at: string;
|
|
10664
|
+
module_id: string;
|
|
10665
|
+
name: string;
|
|
10666
|
+
};
|
|
10667
|
+
Insert: {
|
|
10668
|
+
created_at?: string;
|
|
10669
|
+
feature_id: string;
|
|
10670
|
+
id?: string;
|
|
10671
|
+
is_active?: boolean;
|
|
10672
|
+
last_seen_at?: string;
|
|
10673
|
+
module_id: string;
|
|
10674
|
+
name: string;
|
|
10675
|
+
};
|
|
10676
|
+
Update: {
|
|
10677
|
+
created_at?: string;
|
|
10678
|
+
feature_id?: string;
|
|
10679
|
+
id?: string;
|
|
10680
|
+
is_active?: boolean;
|
|
10681
|
+
last_seen_at?: string;
|
|
10682
|
+
module_id?: string;
|
|
10683
|
+
name?: string;
|
|
10684
|
+
};
|
|
10685
|
+
Relationships: [];
|
|
10686
|
+
};
|
|
10687
|
+
module_permissions: {
|
|
10688
|
+
Row: {
|
|
10689
|
+
created_at: string;
|
|
10690
|
+
id: string;
|
|
10691
|
+
module_id: string;
|
|
10692
|
+
permission: string;
|
|
10693
|
+
role: Database["public"]["Enums"]["app_role"];
|
|
10694
|
+
updated_at: string;
|
|
10695
|
+
};
|
|
10696
|
+
Insert: {
|
|
10697
|
+
created_at?: string;
|
|
10698
|
+
id?: string;
|
|
10699
|
+
module_id: string;
|
|
10700
|
+
permission: string;
|
|
10701
|
+
role: Database["public"]["Enums"]["app_role"];
|
|
10702
|
+
updated_at?: string;
|
|
10703
|
+
};
|
|
10704
|
+
Update: {
|
|
10705
|
+
created_at?: string;
|
|
10706
|
+
id?: string;
|
|
10707
|
+
module_id?: string;
|
|
10708
|
+
permission?: string;
|
|
10709
|
+
role?: Database["public"]["Enums"]["app_role"];
|
|
10710
|
+
updated_at?: string;
|
|
10711
|
+
};
|
|
10712
|
+
Relationships: [];
|
|
10713
|
+
};
|
|
10714
|
+
module_registry: {
|
|
10715
|
+
Row: {
|
|
10716
|
+
created_at: string;
|
|
10717
|
+
enforce: boolean;
|
|
10718
|
+
is_active: boolean;
|
|
10719
|
+
last_seen_at: string;
|
|
10720
|
+
missing_count: number;
|
|
10721
|
+
module_id: string;
|
|
10722
|
+
name: string;
|
|
10723
|
+
shell_id: string | null;
|
|
10724
|
+
sort_order: number | null;
|
|
10725
|
+
};
|
|
10726
|
+
Insert: {
|
|
10727
|
+
created_at?: string;
|
|
10728
|
+
enforce?: boolean;
|
|
10012
10729
|
is_active?: boolean;
|
|
10013
10730
|
last_seen_at?: string;
|
|
10731
|
+
missing_count?: number;
|
|
10014
10732
|
module_id: string;
|
|
10015
10733
|
name: string;
|
|
10016
10734
|
shell_id?: string | null;
|
|
@@ -10018,8 +10736,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
10018
10736
|
};
|
|
10019
10737
|
Update: {
|
|
10020
10738
|
created_at?: string;
|
|
10739
|
+
enforce?: boolean;
|
|
10021
10740
|
is_active?: boolean;
|
|
10022
10741
|
last_seen_at?: string;
|
|
10742
|
+
missing_count?: number;
|
|
10023
10743
|
module_id?: string;
|
|
10024
10744
|
name?: string;
|
|
10025
10745
|
shell_id?: string | null;
|
|
@@ -10078,63 +10798,6 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
10078
10798
|
};
|
|
10079
10799
|
Relationships: [];
|
|
10080
10800
|
};
|
|
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
10801
|
nmbrs_component_mapping: {
|
|
10139
10802
|
Row: {
|
|
10140
10803
|
created_at: string;
|
|
@@ -10205,13 +10868,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
10205
10868
|
nmbrs_employee_number?: string;
|
|
10206
10869
|
updated_at?: string;
|
|
10207
10870
|
};
|
|
10208
|
-
Relationships: [
|
|
10209
|
-
foreignKeyName: "nmbrs_employee_mapping_monteur_id_fkey";
|
|
10210
|
-
columns: ["monteur_id"];
|
|
10211
|
-
isOneToOne: true;
|
|
10212
|
-
referencedRelation: "monteurs";
|
|
10213
|
-
referencedColumns: ["id"];
|
|
10214
|
-
}];
|
|
10871
|
+
Relationships: [];
|
|
10215
10872
|
};
|
|
10216
10873
|
nmbrs_export_lines: {
|
|
10217
10874
|
Row: {
|
|
@@ -10260,12 +10917,6 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
10260
10917
|
wage_code?: string;
|
|
10261
10918
|
};
|
|
10262
10919
|
Relationships: [{
|
|
10263
|
-
foreignKeyName: "nmbrs_export_lines_monteur_id_fkey";
|
|
10264
|
-
columns: ["monteur_id"];
|
|
10265
|
-
isOneToOne: false;
|
|
10266
|
-
referencedRelation: "monteurs";
|
|
10267
|
-
referencedColumns: ["id"];
|
|
10268
|
-
}, {
|
|
10269
10920
|
foreignKeyName: "nmbrs_export_lines_run_id_fkey";
|
|
10270
10921
|
columns: ["run_id"];
|
|
10271
10922
|
isOneToOne: false;
|
|
@@ -11088,6 +11739,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
11088
11739
|
};
|
|
11089
11740
|
order_invoice_links: {
|
|
11090
11741
|
Row: {
|
|
11742
|
+
administration_code: string | null;
|
|
11091
11743
|
attempts: number;
|
|
11092
11744
|
created_at: string;
|
|
11093
11745
|
error_message: string | null;
|
|
@@ -11100,6 +11752,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
11100
11752
|
updated_at: string;
|
|
11101
11753
|
};
|
|
11102
11754
|
Insert: {
|
|
11755
|
+
administration_code?: string | null;
|
|
11103
11756
|
attempts?: number;
|
|
11104
11757
|
created_at?: string;
|
|
11105
11758
|
error_message?: string | null;
|
|
@@ -11112,6 +11765,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
11112
11765
|
updated_at?: string;
|
|
11113
11766
|
};
|
|
11114
11767
|
Update: {
|
|
11768
|
+
administration_code?: string | null;
|
|
11115
11769
|
attempts?: number;
|
|
11116
11770
|
created_at?: string;
|
|
11117
11771
|
error_message?: string | null;
|
|
@@ -11299,6 +11953,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
11299
11953
|
orders: {
|
|
11300
11954
|
Row: {
|
|
11301
11955
|
buffer_id: string | null;
|
|
11956
|
+
cancel_reason: string | null;
|
|
11957
|
+
cancelled_at: string | null;
|
|
11302
11958
|
created_at: string;
|
|
11303
11959
|
custom_fields: import("./types").Json;
|
|
11304
11960
|
customer_id: string | null;
|
|
@@ -11321,6 +11977,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
11321
11977
|
};
|
|
11322
11978
|
Insert: {
|
|
11323
11979
|
buffer_id?: string | null;
|
|
11980
|
+
cancel_reason?: string | null;
|
|
11981
|
+
cancelled_at?: string | null;
|
|
11324
11982
|
created_at?: string;
|
|
11325
11983
|
custom_fields?: import("./types").Json;
|
|
11326
11984
|
customer_id?: string | null;
|
|
@@ -11343,6 +12001,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
11343
12001
|
};
|
|
11344
12002
|
Update: {
|
|
11345
12003
|
buffer_id?: string | null;
|
|
12004
|
+
cancel_reason?: string | null;
|
|
12005
|
+
cancelled_at?: string | null;
|
|
11346
12006
|
created_at?: string;
|
|
11347
12007
|
custom_fields?: import("./types").Json;
|
|
11348
12008
|
customer_id?: string | null;
|
|
@@ -12271,6 +12931,27 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
12271
12931
|
referencedColumns: ["id"];
|
|
12272
12932
|
}];
|
|
12273
12933
|
};
|
|
12934
|
+
pick_sync_state: {
|
|
12935
|
+
Row: {
|
|
12936
|
+
id: boolean;
|
|
12937
|
+
last_cleanup_at: string | null;
|
|
12938
|
+
last_sync_at: string | null;
|
|
12939
|
+
updated_at: string;
|
|
12940
|
+
};
|
|
12941
|
+
Insert: {
|
|
12942
|
+
id?: boolean;
|
|
12943
|
+
last_cleanup_at?: string | null;
|
|
12944
|
+
last_sync_at?: string | null;
|
|
12945
|
+
updated_at?: string;
|
|
12946
|
+
};
|
|
12947
|
+
Update: {
|
|
12948
|
+
id?: boolean;
|
|
12949
|
+
last_cleanup_at?: string | null;
|
|
12950
|
+
last_sync_at?: string | null;
|
|
12951
|
+
updated_at?: string;
|
|
12952
|
+
};
|
|
12953
|
+
Relationships: [];
|
|
12954
|
+
};
|
|
12274
12955
|
pick_task_document_types: {
|
|
12275
12956
|
Row: {
|
|
12276
12957
|
created_at: string;
|
|
@@ -12553,6 +13234,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
12553
13234
|
gebruiker_id: string | null;
|
|
12554
13235
|
gebruiker_naam: string;
|
|
12555
13236
|
gestart_op: string | null;
|
|
13237
|
+
herkomst: string | null;
|
|
12556
13238
|
id: string;
|
|
12557
13239
|
idempotentie_sleutel: string | null;
|
|
12558
13240
|
is_herprint: boolean;
|
|
@@ -12582,6 +13264,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
12582
13264
|
gebruiker_id?: string | null;
|
|
12583
13265
|
gebruiker_naam?: string;
|
|
12584
13266
|
gestart_op?: string | null;
|
|
13267
|
+
herkomst?: string | null;
|
|
12585
13268
|
id?: string;
|
|
12586
13269
|
idempotentie_sleutel?: string | null;
|
|
12587
13270
|
is_herprint?: boolean;
|
|
@@ -12611,6 +13294,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
12611
13294
|
gebruiker_id?: string | null;
|
|
12612
13295
|
gebruiker_naam?: string;
|
|
12613
13296
|
gestart_op?: string | null;
|
|
13297
|
+
herkomst?: string | null;
|
|
12614
13298
|
id?: string;
|
|
12615
13299
|
idempotentie_sleutel?: string | null;
|
|
12616
13300
|
is_herprint?: boolean;
|
|
@@ -12656,6 +13340,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
12656
13340
|
created_at: string;
|
|
12657
13341
|
id: string;
|
|
12658
13342
|
laatst_gezien: string;
|
|
13343
|
+
laatste_fout: string | null;
|
|
13344
|
+
laatste_request_id: number | null;
|
|
13345
|
+
mislukte_posts: number;
|
|
12659
13346
|
tick_sleutel: string;
|
|
12660
13347
|
updated_at: string;
|
|
12661
13348
|
};
|
|
@@ -12665,6 +13352,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
12665
13352
|
created_at?: string;
|
|
12666
13353
|
id?: string;
|
|
12667
13354
|
laatst_gezien?: string;
|
|
13355
|
+
laatste_fout?: string | null;
|
|
13356
|
+
laatste_request_id?: number | null;
|
|
13357
|
+
mislukte_posts?: number;
|
|
12668
13358
|
tick_sleutel?: string;
|
|
12669
13359
|
updated_at?: string;
|
|
12670
13360
|
};
|
|
@@ -12674,6 +13364,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
12674
13364
|
created_at?: string;
|
|
12675
13365
|
id?: string;
|
|
12676
13366
|
laatst_gezien?: string;
|
|
13367
|
+
laatste_fout?: string | null;
|
|
13368
|
+
laatste_request_id?: number | null;
|
|
13369
|
+
mislukte_posts?: number;
|
|
12677
13370
|
tick_sleutel?: string;
|
|
12678
13371
|
updated_at?: string;
|
|
12679
13372
|
};
|
|
@@ -13396,6 +14089,66 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
13396
14089
|
};
|
|
13397
14090
|
Relationships: [];
|
|
13398
14091
|
};
|
|
14092
|
+
profile_modules: {
|
|
14093
|
+
Row: {
|
|
14094
|
+
created_at: string;
|
|
14095
|
+
id: string;
|
|
14096
|
+
module_id: string;
|
|
14097
|
+
profile_id: string;
|
|
14098
|
+
};
|
|
14099
|
+
Insert: {
|
|
14100
|
+
created_at?: string;
|
|
14101
|
+
id?: string;
|
|
14102
|
+
module_id: string;
|
|
14103
|
+
profile_id: string;
|
|
14104
|
+
};
|
|
14105
|
+
Update: {
|
|
14106
|
+
created_at?: string;
|
|
14107
|
+
id?: string;
|
|
14108
|
+
module_id?: string;
|
|
14109
|
+
profile_id?: string;
|
|
14110
|
+
};
|
|
14111
|
+
Relationships: [{
|
|
14112
|
+
foreignKeyName: "profile_modules_profile_id_fkey";
|
|
14113
|
+
columns: ["profile_id"];
|
|
14114
|
+
isOneToOne: false;
|
|
14115
|
+
referencedRelation: "profiles_org";
|
|
14116
|
+
referencedColumns: ["id"];
|
|
14117
|
+
}];
|
|
14118
|
+
};
|
|
14119
|
+
profile_roles: {
|
|
14120
|
+
Row: {
|
|
14121
|
+
created_at: string;
|
|
14122
|
+
id: string;
|
|
14123
|
+
profile_id: string;
|
|
14124
|
+
role_id: string;
|
|
14125
|
+
};
|
|
14126
|
+
Insert: {
|
|
14127
|
+
created_at?: string;
|
|
14128
|
+
id?: string;
|
|
14129
|
+
profile_id: string;
|
|
14130
|
+
role_id: string;
|
|
14131
|
+
};
|
|
14132
|
+
Update: {
|
|
14133
|
+
created_at?: string;
|
|
14134
|
+
id?: string;
|
|
14135
|
+
profile_id?: string;
|
|
14136
|
+
role_id?: string;
|
|
14137
|
+
};
|
|
14138
|
+
Relationships: [{
|
|
14139
|
+
foreignKeyName: "profile_roles_profile_id_fkey";
|
|
14140
|
+
columns: ["profile_id"];
|
|
14141
|
+
isOneToOne: false;
|
|
14142
|
+
referencedRelation: "profiles_org";
|
|
14143
|
+
referencedColumns: ["id"];
|
|
14144
|
+
}, {
|
|
14145
|
+
foreignKeyName: "profile_roles_role_id_fkey";
|
|
14146
|
+
columns: ["role_id"];
|
|
14147
|
+
isOneToOne: false;
|
|
14148
|
+
referencedRelation: "roles";
|
|
14149
|
+
referencedColumns: ["id"];
|
|
14150
|
+
}];
|
|
14151
|
+
};
|
|
13399
14152
|
profiles: {
|
|
13400
14153
|
Row: {
|
|
13401
14154
|
address: string | null;
|
|
@@ -13441,6 +14194,39 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
13441
14194
|
referencedColumns: ["id"];
|
|
13442
14195
|
}];
|
|
13443
14196
|
};
|
|
14197
|
+
profiles_org: {
|
|
14198
|
+
Row: {
|
|
14199
|
+
created_at: string;
|
|
14200
|
+
id: string;
|
|
14201
|
+
is_default: boolean;
|
|
14202
|
+
name: string;
|
|
14203
|
+
tenant_id: string | null;
|
|
14204
|
+
updated_at: string;
|
|
14205
|
+
};
|
|
14206
|
+
Insert: {
|
|
14207
|
+
created_at?: string;
|
|
14208
|
+
id?: string;
|
|
14209
|
+
is_default?: boolean;
|
|
14210
|
+
name: string;
|
|
14211
|
+
tenant_id?: string | null;
|
|
14212
|
+
updated_at?: string;
|
|
14213
|
+
};
|
|
14214
|
+
Update: {
|
|
14215
|
+
created_at?: string;
|
|
14216
|
+
id?: string;
|
|
14217
|
+
is_default?: boolean;
|
|
14218
|
+
name?: string;
|
|
14219
|
+
tenant_id?: string | null;
|
|
14220
|
+
updated_at?: string;
|
|
14221
|
+
};
|
|
14222
|
+
Relationships: [{
|
|
14223
|
+
foreignKeyName: "profiles_org_tenant_id_fkey";
|
|
14224
|
+
columns: ["tenant_id"];
|
|
14225
|
+
isOneToOne: false;
|
|
14226
|
+
referencedRelation: "tenants";
|
|
14227
|
+
referencedColumns: ["id"];
|
|
14228
|
+
}];
|
|
14229
|
+
};
|
|
13444
14230
|
projects: {
|
|
13445
14231
|
Row: {
|
|
13446
14232
|
contact_name: string | null;
|
|
@@ -14182,6 +14968,96 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
14182
14968
|
referencedColumns: ["id"];
|
|
14183
14969
|
}];
|
|
14184
14970
|
};
|
|
14971
|
+
role_assignments: {
|
|
14972
|
+
Row: {
|
|
14973
|
+
created_at: string;
|
|
14974
|
+
id: string;
|
|
14975
|
+
role_id: string;
|
|
14976
|
+
user_id: string;
|
|
14977
|
+
};
|
|
14978
|
+
Insert: {
|
|
14979
|
+
created_at?: string;
|
|
14980
|
+
id?: string;
|
|
14981
|
+
role_id: string;
|
|
14982
|
+
user_id: string;
|
|
14983
|
+
};
|
|
14984
|
+
Update: {
|
|
14985
|
+
created_at?: string;
|
|
14986
|
+
id?: string;
|
|
14987
|
+
role_id?: string;
|
|
14988
|
+
user_id?: string;
|
|
14989
|
+
};
|
|
14990
|
+
Relationships: [{
|
|
14991
|
+
foreignKeyName: "role_assignments_role_id_fkey";
|
|
14992
|
+
columns: ["role_id"];
|
|
14993
|
+
isOneToOne: false;
|
|
14994
|
+
referencedRelation: "roles";
|
|
14995
|
+
referencedColumns: ["id"];
|
|
14996
|
+
}];
|
|
14997
|
+
};
|
|
14998
|
+
role_permissions: {
|
|
14999
|
+
Row: {
|
|
15000
|
+
can_edit: boolean;
|
|
15001
|
+
can_view: boolean;
|
|
15002
|
+
feature_id: string;
|
|
15003
|
+
id: string;
|
|
15004
|
+
module_id: string;
|
|
15005
|
+
role_id: string;
|
|
15006
|
+
updated_at: string;
|
|
15007
|
+
};
|
|
15008
|
+
Insert: {
|
|
15009
|
+
can_edit?: boolean;
|
|
15010
|
+
can_view?: boolean;
|
|
15011
|
+
feature_id?: string;
|
|
15012
|
+
id?: string;
|
|
15013
|
+
module_id: string;
|
|
15014
|
+
role_id: string;
|
|
15015
|
+
updated_at?: string;
|
|
15016
|
+
};
|
|
15017
|
+
Update: {
|
|
15018
|
+
can_edit?: boolean;
|
|
15019
|
+
can_view?: boolean;
|
|
15020
|
+
feature_id?: string;
|
|
15021
|
+
id?: string;
|
|
15022
|
+
module_id?: string;
|
|
15023
|
+
role_id?: string;
|
|
15024
|
+
updated_at?: string;
|
|
15025
|
+
};
|
|
15026
|
+
Relationships: [{
|
|
15027
|
+
foreignKeyName: "role_permissions_role_id_fkey";
|
|
15028
|
+
columns: ["role_id"];
|
|
15029
|
+
isOneToOne: false;
|
|
15030
|
+
referencedRelation: "roles";
|
|
15031
|
+
referencedColumns: ["id"];
|
|
15032
|
+
}];
|
|
15033
|
+
};
|
|
15034
|
+
roles: {
|
|
15035
|
+
Row: {
|
|
15036
|
+
created_at: string;
|
|
15037
|
+
id: string;
|
|
15038
|
+
is_protected: boolean;
|
|
15039
|
+
key: string;
|
|
15040
|
+
name: string;
|
|
15041
|
+
updated_at: string;
|
|
15042
|
+
};
|
|
15043
|
+
Insert: {
|
|
15044
|
+
created_at?: string;
|
|
15045
|
+
id?: string;
|
|
15046
|
+
is_protected?: boolean;
|
|
15047
|
+
key: string;
|
|
15048
|
+
name: string;
|
|
15049
|
+
updated_at?: string;
|
|
15050
|
+
};
|
|
15051
|
+
Update: {
|
|
15052
|
+
created_at?: string;
|
|
15053
|
+
id?: string;
|
|
15054
|
+
is_protected?: boolean;
|
|
15055
|
+
key?: string;
|
|
15056
|
+
name?: string;
|
|
15057
|
+
updated_at?: string;
|
|
15058
|
+
};
|
|
15059
|
+
Relationships: [];
|
|
15060
|
+
};
|
|
14185
15061
|
rooms: {
|
|
14186
15062
|
Row: {
|
|
14187
15063
|
capacity: number;
|
|
@@ -14525,6 +15401,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
14525
15401
|
type: string;
|
|
14526
15402
|
updated_at: string;
|
|
14527
15403
|
vereist_medewerker: boolean;
|
|
15404
|
+
werkplek: string | null;
|
|
14528
15405
|
};
|
|
14529
15406
|
Insert: {
|
|
14530
15407
|
actief?: boolean;
|
|
@@ -14538,6 +15415,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
14538
15415
|
type?: string;
|
|
14539
15416
|
updated_at?: string;
|
|
14540
15417
|
vereist_medewerker?: boolean;
|
|
15418
|
+
werkplek?: string | null;
|
|
14541
15419
|
};
|
|
14542
15420
|
Update: {
|
|
14543
15421
|
actief?: boolean;
|
|
@@ -14551,9 +15429,46 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
14551
15429
|
type?: string;
|
|
14552
15430
|
updated_at?: string;
|
|
14553
15431
|
vereist_medewerker?: boolean;
|
|
15432
|
+
werkplek?: string | null;
|
|
14554
15433
|
};
|
|
14555
15434
|
Relationships: [];
|
|
14556
15435
|
};
|
|
15436
|
+
sick_periods: {
|
|
15437
|
+
Row: {
|
|
15438
|
+
created_at: string;
|
|
15439
|
+
employee_id: string;
|
|
15440
|
+
end_date: string | null;
|
|
15441
|
+
id: string;
|
|
15442
|
+
notes: string | null;
|
|
15443
|
+
start_date: string;
|
|
15444
|
+
updated_at: string;
|
|
15445
|
+
};
|
|
15446
|
+
Insert: {
|
|
15447
|
+
created_at?: string;
|
|
15448
|
+
employee_id: string;
|
|
15449
|
+
end_date?: string | null;
|
|
15450
|
+
id?: string;
|
|
15451
|
+
notes?: string | null;
|
|
15452
|
+
start_date: string;
|
|
15453
|
+
updated_at?: string;
|
|
15454
|
+
};
|
|
15455
|
+
Update: {
|
|
15456
|
+
created_at?: string;
|
|
15457
|
+
employee_id?: string;
|
|
15458
|
+
end_date?: string | null;
|
|
15459
|
+
id?: string;
|
|
15460
|
+
notes?: string | null;
|
|
15461
|
+
start_date?: string;
|
|
15462
|
+
updated_at?: string;
|
|
15463
|
+
};
|
|
15464
|
+
Relationships: [{
|
|
15465
|
+
foreignKeyName: "sick_periods_employee_id_fkey";
|
|
15466
|
+
columns: ["employee_id"];
|
|
15467
|
+
isOneToOne: false;
|
|
15468
|
+
referencedRelation: "profiles";
|
|
15469
|
+
referencedColumns: ["id"];
|
|
15470
|
+
}];
|
|
15471
|
+
};
|
|
14557
15472
|
sidebar_config: {
|
|
14558
15473
|
Row: {
|
|
14559
15474
|
id: string;
|
|
@@ -14851,6 +15766,54 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
14851
15766
|
};
|
|
14852
15767
|
Relationships: [];
|
|
14853
15768
|
};
|
|
15769
|
+
time_compensation_entries: {
|
|
15770
|
+
Row: {
|
|
15771
|
+
created_at: string;
|
|
15772
|
+
employee_id: string;
|
|
15773
|
+
entry_date: string;
|
|
15774
|
+
id: string;
|
|
15775
|
+
km: number;
|
|
15776
|
+
meal_allowance: number;
|
|
15777
|
+
notes: string | null;
|
|
15778
|
+
standby_evening: number;
|
|
15779
|
+
standby_weekend: number;
|
|
15780
|
+
tvt_change: number;
|
|
15781
|
+
updated_at: string;
|
|
15782
|
+
};
|
|
15783
|
+
Insert: {
|
|
15784
|
+
created_at?: string;
|
|
15785
|
+
employee_id: string;
|
|
15786
|
+
entry_date: string;
|
|
15787
|
+
id?: string;
|
|
15788
|
+
km?: number;
|
|
15789
|
+
meal_allowance?: number;
|
|
15790
|
+
notes?: string | null;
|
|
15791
|
+
standby_evening?: number;
|
|
15792
|
+
standby_weekend?: number;
|
|
15793
|
+
tvt_change?: number;
|
|
15794
|
+
updated_at?: string;
|
|
15795
|
+
};
|
|
15796
|
+
Update: {
|
|
15797
|
+
created_at?: string;
|
|
15798
|
+
employee_id?: string;
|
|
15799
|
+
entry_date?: string;
|
|
15800
|
+
id?: string;
|
|
15801
|
+
km?: number;
|
|
15802
|
+
meal_allowance?: number;
|
|
15803
|
+
notes?: string | null;
|
|
15804
|
+
standby_evening?: number;
|
|
15805
|
+
standby_weekend?: number;
|
|
15806
|
+
tvt_change?: number;
|
|
15807
|
+
updated_at?: string;
|
|
15808
|
+
};
|
|
15809
|
+
Relationships: [{
|
|
15810
|
+
foreignKeyName: "time_compensation_entries_employee_id_fkey";
|
|
15811
|
+
columns: ["employee_id"];
|
|
15812
|
+
isOneToOne: false;
|
|
15813
|
+
referencedRelation: "profiles";
|
|
15814
|
+
referencedColumns: ["id"];
|
|
15815
|
+
}];
|
|
15816
|
+
};
|
|
14854
15817
|
time_entries: {
|
|
14855
15818
|
Row: {
|
|
14856
15819
|
created_at: string;
|
|
@@ -14885,65 +15848,170 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
14885
15848
|
undertime?: number;
|
|
14886
15849
|
updated_at?: string;
|
|
14887
15850
|
};
|
|
15851
|
+
Relationships: [];
|
|
15852
|
+
};
|
|
15853
|
+
time_log_week_approvals: {
|
|
15854
|
+
Row: {
|
|
15855
|
+
approved_at: string | null;
|
|
15856
|
+
approved_by: string | null;
|
|
15857
|
+
created_at: string;
|
|
15858
|
+
employee_id: string;
|
|
15859
|
+
id: string;
|
|
15860
|
+
locked: boolean;
|
|
15861
|
+
notes: string | null;
|
|
15862
|
+
status: string;
|
|
15863
|
+
submitted_at: string | null;
|
|
15864
|
+
updated_at: string;
|
|
15865
|
+
week_start: string;
|
|
15866
|
+
};
|
|
15867
|
+
Insert: {
|
|
15868
|
+
approved_at?: string | null;
|
|
15869
|
+
approved_by?: string | null;
|
|
15870
|
+
created_at?: string;
|
|
15871
|
+
employee_id: string;
|
|
15872
|
+
id?: string;
|
|
15873
|
+
locked?: boolean;
|
|
15874
|
+
notes?: string | null;
|
|
15875
|
+
status?: string;
|
|
15876
|
+
submitted_at?: string | null;
|
|
15877
|
+
updated_at?: string;
|
|
15878
|
+
week_start: string;
|
|
15879
|
+
};
|
|
15880
|
+
Update: {
|
|
15881
|
+
approved_at?: string | null;
|
|
15882
|
+
approved_by?: string | null;
|
|
15883
|
+
created_at?: string;
|
|
15884
|
+
employee_id?: string;
|
|
15885
|
+
id?: string;
|
|
15886
|
+
locked?: boolean;
|
|
15887
|
+
notes?: string | null;
|
|
15888
|
+
status?: string;
|
|
15889
|
+
submitted_at?: string | null;
|
|
15890
|
+
updated_at?: string;
|
|
15891
|
+
week_start?: string;
|
|
15892
|
+
};
|
|
14888
15893
|
Relationships: [{
|
|
14889
|
-
foreignKeyName: "
|
|
15894
|
+
foreignKeyName: "time_log_week_approvals_employee_id_fkey";
|
|
14890
15895
|
columns: ["employee_id"];
|
|
14891
15896
|
isOneToOne: false;
|
|
14892
|
-
referencedRelation: "
|
|
15897
|
+
referencedRelation: "profiles";
|
|
14893
15898
|
referencedColumns: ["id"];
|
|
14894
15899
|
}];
|
|
14895
15900
|
};
|
|
14896
15901
|
time_logs: {
|
|
14897
15902
|
Row: {
|
|
15903
|
+
auto_stop_reason: string | null;
|
|
15904
|
+
auto_stopped: boolean;
|
|
14898
15905
|
created_at: string;
|
|
15906
|
+
current_latitude: number | null;
|
|
15907
|
+
current_longitude: number | null;
|
|
15908
|
+
current_position_updated_at: string | null;
|
|
14899
15909
|
employee_id: string;
|
|
15910
|
+
end_latitude: number | null;
|
|
15911
|
+
end_longitude: number | null;
|
|
14900
15912
|
end_time: string | null;
|
|
15913
|
+
eta_distance_km: number | null;
|
|
15914
|
+
eta_minutes: number | null;
|
|
15915
|
+
eta_updated_at: string | null;
|
|
15916
|
+
hour_category: string | null;
|
|
14901
15917
|
id: string;
|
|
15918
|
+
last_reminder_at: string | null;
|
|
14902
15919
|
notes: string | null;
|
|
14903
15920
|
overtime_hours: number;
|
|
14904
15921
|
overtime_type: string | null;
|
|
14905
15922
|
regular_hours: number;
|
|
15923
|
+
reminder_count: number;
|
|
15924
|
+
requires_review: boolean;
|
|
15925
|
+
start_latitude: number | null;
|
|
15926
|
+
start_longitude: number | null;
|
|
14906
15927
|
start_time: string;
|
|
14907
15928
|
travel_cost: number | null;
|
|
14908
15929
|
travel_distance_km: number | null;
|
|
15930
|
+
travel_duration_min: number | null;
|
|
15931
|
+
travel_time_minutes: number | null;
|
|
14909
15932
|
type: string;
|
|
14910
15933
|
updated_at: string;
|
|
15934
|
+
work_order_id: string | null;
|
|
14911
15935
|
};
|
|
14912
15936
|
Insert: {
|
|
15937
|
+
auto_stop_reason?: string | null;
|
|
15938
|
+
auto_stopped?: boolean;
|
|
14913
15939
|
created_at?: string;
|
|
15940
|
+
current_latitude?: number | null;
|
|
15941
|
+
current_longitude?: number | null;
|
|
15942
|
+
current_position_updated_at?: string | null;
|
|
14914
15943
|
employee_id: string;
|
|
15944
|
+
end_latitude?: number | null;
|
|
15945
|
+
end_longitude?: number | null;
|
|
14915
15946
|
end_time?: string | null;
|
|
15947
|
+
eta_distance_km?: number | null;
|
|
15948
|
+
eta_minutes?: number | null;
|
|
15949
|
+
eta_updated_at?: string | null;
|
|
15950
|
+
hour_category?: string | null;
|
|
14916
15951
|
id?: string;
|
|
15952
|
+
last_reminder_at?: string | null;
|
|
14917
15953
|
notes?: string | null;
|
|
14918
15954
|
overtime_hours?: number;
|
|
14919
15955
|
overtime_type?: string | null;
|
|
14920
15956
|
regular_hours?: number;
|
|
15957
|
+
reminder_count?: number;
|
|
15958
|
+
requires_review?: boolean;
|
|
15959
|
+
start_latitude?: number | null;
|
|
15960
|
+
start_longitude?: number | null;
|
|
14921
15961
|
start_time?: string;
|
|
14922
15962
|
travel_cost?: number | null;
|
|
14923
15963
|
travel_distance_km?: number | null;
|
|
15964
|
+
travel_duration_min?: number | null;
|
|
15965
|
+
travel_time_minutes?: number | null;
|
|
14924
15966
|
type: string;
|
|
14925
15967
|
updated_at?: string;
|
|
15968
|
+
work_order_id?: string | null;
|
|
14926
15969
|
};
|
|
14927
15970
|
Update: {
|
|
15971
|
+
auto_stop_reason?: string | null;
|
|
15972
|
+
auto_stopped?: boolean;
|
|
14928
15973
|
created_at?: string;
|
|
15974
|
+
current_latitude?: number | null;
|
|
15975
|
+
current_longitude?: number | null;
|
|
15976
|
+
current_position_updated_at?: string | null;
|
|
14929
15977
|
employee_id?: string;
|
|
15978
|
+
end_latitude?: number | null;
|
|
15979
|
+
end_longitude?: number | null;
|
|
14930
15980
|
end_time?: string | null;
|
|
15981
|
+
eta_distance_km?: number | null;
|
|
15982
|
+
eta_minutes?: number | null;
|
|
15983
|
+
eta_updated_at?: string | null;
|
|
15984
|
+
hour_category?: string | null;
|
|
14931
15985
|
id?: string;
|
|
15986
|
+
last_reminder_at?: string | null;
|
|
14932
15987
|
notes?: string | null;
|
|
14933
15988
|
overtime_hours?: number;
|
|
14934
15989
|
overtime_type?: string | null;
|
|
14935
15990
|
regular_hours?: number;
|
|
15991
|
+
reminder_count?: number;
|
|
15992
|
+
requires_review?: boolean;
|
|
15993
|
+
start_latitude?: number | null;
|
|
15994
|
+
start_longitude?: number | null;
|
|
14936
15995
|
start_time?: string;
|
|
14937
15996
|
travel_cost?: number | null;
|
|
14938
15997
|
travel_distance_km?: number | null;
|
|
15998
|
+
travel_duration_min?: number | null;
|
|
15999
|
+
travel_time_minutes?: number | null;
|
|
14939
16000
|
type?: string;
|
|
14940
16001
|
updated_at?: string;
|
|
16002
|
+
work_order_id?: string | null;
|
|
14941
16003
|
};
|
|
14942
16004
|
Relationships: [{
|
|
14943
16005
|
foreignKeyName: "time_logs_employee_id_fkey";
|
|
14944
16006
|
columns: ["employee_id"];
|
|
14945
16007
|
isOneToOne: false;
|
|
14946
|
-
referencedRelation: "
|
|
16008
|
+
referencedRelation: "profiles";
|
|
16009
|
+
referencedColumns: ["id"];
|
|
16010
|
+
}, {
|
|
16011
|
+
foreignKeyName: "time_logs_work_order_id_fkey";
|
|
16012
|
+
columns: ["work_order_id"];
|
|
16013
|
+
isOneToOne: false;
|
|
16014
|
+
referencedRelation: "work_orders";
|
|
14947
16015
|
referencedColumns: ["id"];
|
|
14948
16016
|
}];
|
|
14949
16017
|
};
|
|
@@ -14982,7 +16050,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
14982
16050
|
foreignKeyName: "time_off_entries_employee_id_fkey";
|
|
14983
16051
|
columns: ["employee_id"];
|
|
14984
16052
|
isOneToOne: false;
|
|
14985
|
-
referencedRelation: "
|
|
16053
|
+
referencedRelation: "profiles";
|
|
14986
16054
|
referencedColumns: ["id"];
|
|
14987
16055
|
}];
|
|
14988
16056
|
};
|
|
@@ -15231,12 +16299,16 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
15231
16299
|
company_name: string | null;
|
|
15232
16300
|
connected_at: string | null;
|
|
15233
16301
|
created_at: string;
|
|
16302
|
+
disconnected_at: string | null;
|
|
15234
16303
|
environment: string;
|
|
15235
16304
|
id: string;
|
|
16305
|
+
initial_sync_completed_at: string | null;
|
|
16306
|
+
initial_sync_started_at: string | null;
|
|
15236
16307
|
is_active: boolean;
|
|
15237
16308
|
label: string | null;
|
|
15238
16309
|
office_code: string | null;
|
|
15239
16310
|
redirect_uri: string | null;
|
|
16311
|
+
superseded_at: string | null;
|
|
15240
16312
|
updated_at: string;
|
|
15241
16313
|
user_id: string;
|
|
15242
16314
|
};
|
|
@@ -15247,12 +16319,16 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
15247
16319
|
company_name?: string | null;
|
|
15248
16320
|
connected_at?: string | null;
|
|
15249
16321
|
created_at?: string;
|
|
16322
|
+
disconnected_at?: string | null;
|
|
15250
16323
|
environment: string;
|
|
15251
16324
|
id?: string;
|
|
16325
|
+
initial_sync_completed_at?: string | null;
|
|
16326
|
+
initial_sync_started_at?: string | null;
|
|
15252
16327
|
is_active?: boolean;
|
|
15253
16328
|
label?: string | null;
|
|
15254
16329
|
office_code?: string | null;
|
|
15255
16330
|
redirect_uri?: string | null;
|
|
16331
|
+
superseded_at?: string | null;
|
|
15256
16332
|
updated_at?: string;
|
|
15257
16333
|
user_id: string;
|
|
15258
16334
|
};
|
|
@@ -15263,12 +16339,16 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
15263
16339
|
company_name?: string | null;
|
|
15264
16340
|
connected_at?: string | null;
|
|
15265
16341
|
created_at?: string;
|
|
16342
|
+
disconnected_at?: string | null;
|
|
15266
16343
|
environment?: string;
|
|
15267
16344
|
id?: string;
|
|
16345
|
+
initial_sync_completed_at?: string | null;
|
|
16346
|
+
initial_sync_started_at?: string | null;
|
|
15268
16347
|
is_active?: boolean;
|
|
15269
16348
|
label?: string | null;
|
|
15270
16349
|
office_code?: string | null;
|
|
15271
16350
|
redirect_uri?: string | null;
|
|
16351
|
+
superseded_at?: string | null;
|
|
15272
16352
|
updated_at?: string;
|
|
15273
16353
|
user_id?: string;
|
|
15274
16354
|
};
|
|
@@ -15282,19 +16362,53 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
15282
16362
|
};
|
|
15283
16363
|
Insert: {
|
|
15284
16364
|
created_at?: string;
|
|
15285
|
-
id?: number;
|
|
15286
|
-
secret?: string;
|
|
16365
|
+
id?: number;
|
|
16366
|
+
secret?: string;
|
|
16367
|
+
};
|
|
16368
|
+
Update: {
|
|
16369
|
+
created_at?: string;
|
|
16370
|
+
id?: number;
|
|
16371
|
+
secret?: string;
|
|
16372
|
+
};
|
|
16373
|
+
Relationships: [];
|
|
16374
|
+
};
|
|
16375
|
+
twinfield_cron_locks: {
|
|
16376
|
+
Row: {
|
|
16377
|
+
created_at: string;
|
|
16378
|
+
heartbeat_at: string;
|
|
16379
|
+
job_name: string;
|
|
16380
|
+
last_error: string | null;
|
|
16381
|
+
last_finished_at: string | null;
|
|
16382
|
+
locked_at: string;
|
|
16383
|
+
run_id: string;
|
|
16384
|
+
updated_at: string;
|
|
16385
|
+
};
|
|
16386
|
+
Insert: {
|
|
16387
|
+
created_at?: string;
|
|
16388
|
+
heartbeat_at?: string;
|
|
16389
|
+
job_name: string;
|
|
16390
|
+
last_error?: string | null;
|
|
16391
|
+
last_finished_at?: string | null;
|
|
16392
|
+
locked_at?: string;
|
|
16393
|
+
run_id?: string;
|
|
16394
|
+
updated_at?: string;
|
|
15287
16395
|
};
|
|
15288
16396
|
Update: {
|
|
15289
16397
|
created_at?: string;
|
|
15290
|
-
|
|
15291
|
-
|
|
16398
|
+
heartbeat_at?: string;
|
|
16399
|
+
job_name?: string;
|
|
16400
|
+
last_error?: string | null;
|
|
16401
|
+
last_finished_at?: string | null;
|
|
16402
|
+
locked_at?: string;
|
|
16403
|
+
run_id?: string;
|
|
16404
|
+
updated_at?: string;
|
|
15292
16405
|
};
|
|
15293
16406
|
Relationships: [];
|
|
15294
16407
|
};
|
|
15295
16408
|
twinfield_customers: {
|
|
15296
16409
|
Row: {
|
|
15297
16410
|
address: string | null;
|
|
16411
|
+
administration_code: string;
|
|
15298
16412
|
city: string | null;
|
|
15299
16413
|
country: string | null;
|
|
15300
16414
|
created_at: string;
|
|
@@ -15314,6 +16428,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
15314
16428
|
};
|
|
15315
16429
|
Insert: {
|
|
15316
16430
|
address?: string | null;
|
|
16431
|
+
administration_code?: string;
|
|
15317
16432
|
city?: string | null;
|
|
15318
16433
|
country?: string | null;
|
|
15319
16434
|
created_at?: string;
|
|
@@ -15333,6 +16448,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
15333
16448
|
};
|
|
15334
16449
|
Update: {
|
|
15335
16450
|
address?: string | null;
|
|
16451
|
+
administration_code?: string;
|
|
15336
16452
|
city?: string | null;
|
|
15337
16453
|
country?: string | null;
|
|
15338
16454
|
created_at?: string;
|
|
@@ -15546,7 +16662,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
15546
16662
|
};
|
|
15547
16663
|
twinfield_invoice_settings: {
|
|
15548
16664
|
Row: {
|
|
16665
|
+
administration_code: string | null;
|
|
15549
16666
|
auto_invoice_enabled: boolean;
|
|
16667
|
+
auto_invoice_start_date: string | null;
|
|
15550
16668
|
auto_invoice_trigger_statuses: string[];
|
|
15551
16669
|
created_at: string;
|
|
15552
16670
|
debtor_gl_account: string;
|
|
@@ -15560,15 +16678,19 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
15560
16678
|
invoice_enabled_fo: boolean;
|
|
15561
16679
|
invoice_enabled_ho: boolean;
|
|
15562
16680
|
invoice_enabled_mo: boolean;
|
|
16681
|
+
needs_review: boolean;
|
|
15563
16682
|
payment_gl_account: string;
|
|
15564
16683
|
payment_journal_code: string;
|
|
16684
|
+
settings_confirmed_at: string | null;
|
|
15565
16685
|
updated_at: string;
|
|
15566
16686
|
user_id: string;
|
|
15567
16687
|
vat_code_eu_reverse: string | null;
|
|
15568
16688
|
vat_code_export: string | null;
|
|
15569
16689
|
};
|
|
15570
16690
|
Insert: {
|
|
16691
|
+
administration_code?: string | null;
|
|
15571
16692
|
auto_invoice_enabled?: boolean;
|
|
16693
|
+
auto_invoice_start_date?: string | null;
|
|
15572
16694
|
auto_invoice_trigger_statuses?: string[];
|
|
15573
16695
|
created_at?: string;
|
|
15574
16696
|
debtor_gl_account?: string;
|
|
@@ -15582,15 +16704,19 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
15582
16704
|
invoice_enabled_fo?: boolean;
|
|
15583
16705
|
invoice_enabled_ho?: boolean;
|
|
15584
16706
|
invoice_enabled_mo?: boolean;
|
|
16707
|
+
needs_review?: boolean;
|
|
15585
16708
|
payment_gl_account?: string;
|
|
15586
16709
|
payment_journal_code?: string;
|
|
16710
|
+
settings_confirmed_at?: string | null;
|
|
15587
16711
|
updated_at?: string;
|
|
15588
16712
|
user_id: string;
|
|
15589
16713
|
vat_code_eu_reverse?: string | null;
|
|
15590
16714
|
vat_code_export?: string | null;
|
|
15591
16715
|
};
|
|
15592
16716
|
Update: {
|
|
16717
|
+
administration_code?: string | null;
|
|
15593
16718
|
auto_invoice_enabled?: boolean;
|
|
16719
|
+
auto_invoice_start_date?: string | null;
|
|
15594
16720
|
auto_invoice_trigger_statuses?: string[];
|
|
15595
16721
|
created_at?: string;
|
|
15596
16722
|
debtor_gl_account?: string;
|
|
@@ -15604,8 +16730,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
15604
16730
|
invoice_enabled_fo?: boolean;
|
|
15605
16731
|
invoice_enabled_ho?: boolean;
|
|
15606
16732
|
invoice_enabled_mo?: boolean;
|
|
16733
|
+
needs_review?: boolean;
|
|
15607
16734
|
payment_gl_account?: string;
|
|
15608
16735
|
payment_journal_code?: string;
|
|
16736
|
+
settings_confirmed_at?: string | null;
|
|
15609
16737
|
updated_at?: string;
|
|
15610
16738
|
user_id?: string;
|
|
15611
16739
|
vat_code_eu_reverse?: string | null;
|
|
@@ -15892,6 +17020,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
15892
17020
|
twinfield_push_queue: {
|
|
15893
17021
|
Row: {
|
|
15894
17022
|
action: string;
|
|
17023
|
+
attempt_started_at: string | null;
|
|
15895
17024
|
attempts: number;
|
|
15896
17025
|
connection_id: string | null;
|
|
15897
17026
|
created_at: string;
|
|
@@ -15908,6 +17037,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
15908
17037
|
};
|
|
15909
17038
|
Insert: {
|
|
15910
17039
|
action?: string;
|
|
17040
|
+
attempt_started_at?: string | null;
|
|
15911
17041
|
attempts?: number;
|
|
15912
17042
|
connection_id?: string | null;
|
|
15913
17043
|
created_at?: string;
|
|
@@ -15924,6 +17054,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
15924
17054
|
};
|
|
15925
17055
|
Update: {
|
|
15926
17056
|
action?: string;
|
|
17057
|
+
attempt_started_at?: string | null;
|
|
15927
17058
|
attempts?: number;
|
|
15928
17059
|
connection_id?: string | null;
|
|
15929
17060
|
created_at?: string;
|
|
@@ -16121,13 +17252,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
16121
17252
|
workday_end?: string | null;
|
|
16122
17253
|
workday_start?: string | null;
|
|
16123
17254
|
};
|
|
16124
|
-
Relationships: [
|
|
16125
|
-
foreignKeyName: "uren_cao_profiles_monteur_id_fkey";
|
|
16126
|
-
columns: ["monteur_id"];
|
|
16127
|
-
isOneToOne: true;
|
|
16128
|
-
referencedRelation: "monteurs";
|
|
16129
|
-
referencedColumns: ["id"];
|
|
16130
|
-
}];
|
|
17255
|
+
Relationships: [];
|
|
16131
17256
|
};
|
|
16132
17257
|
uren_entries: {
|
|
16133
17258
|
Row: {
|
|
@@ -16173,12 +17298,6 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
16173
17298
|
werkbon_id?: string | null;
|
|
16174
17299
|
};
|
|
16175
17300
|
Relationships: [{
|
|
16176
|
-
foreignKeyName: "uren_entries_monteur_id_fkey";
|
|
16177
|
-
columns: ["monteur_id"];
|
|
16178
|
-
isOneToOne: false;
|
|
16179
|
-
referencedRelation: "monteurs";
|
|
16180
|
-
referencedColumns: ["id"];
|
|
16181
|
-
}, {
|
|
16182
17301
|
foreignKeyName: "uren_entries_werkbon_id_fkey";
|
|
16183
17302
|
columns: ["werkbon_id"];
|
|
16184
17303
|
isOneToOne: false;
|
|
@@ -16219,114 +17338,6 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
16219
17338
|
};
|
|
16220
17339
|
Relationships: [];
|
|
16221
17340
|
};
|
|
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;
|
|
16244
|
-
id?: string;
|
|
16245
|
-
invoice_number?: string | null;
|
|
16246
|
-
note?: string | null;
|
|
16247
|
-
status?: string;
|
|
16248
|
-
total_excl_cents?: number;
|
|
16249
|
-
total_incl_cents?: number;
|
|
16250
|
-
updated_at?: string;
|
|
16251
|
-
vat_cents?: number;
|
|
16252
|
-
vat_percentage?: number;
|
|
16253
|
-
werkbon_id?: string | null;
|
|
16254
|
-
};
|
|
16255
|
-
Update: {
|
|
16256
|
-
created_at?: string;
|
|
16257
|
-
created_by?: string | null;
|
|
16258
|
-
customer_id?: string | null;
|
|
16259
|
-
customer_name?: string | null;
|
|
16260
|
-
id?: string;
|
|
16261
|
-
invoice_number?: string | null;
|
|
16262
|
-
note?: string | null;
|
|
16263
|
-
status?: string;
|
|
16264
|
-
total_excl_cents?: number;
|
|
16265
|
-
total_incl_cents?: number;
|
|
16266
|
-
updated_at?: string;
|
|
16267
|
-
vat_cents?: number;
|
|
16268
|
-
vat_percentage?: number;
|
|
16269
|
-
werkbon_id?: string | null;
|
|
16270
|
-
};
|
|
16271
|
-
Relationships: [{
|
|
16272
|
-
foreignKeyName: "uren_facturen_customer_id_fkey";
|
|
16273
|
-
columns: ["customer_id"];
|
|
16274
|
-
isOneToOne: false;
|
|
16275
|
-
referencedRelation: "itk_customers";
|
|
16276
|
-
referencedColumns: ["id"];
|
|
16277
|
-
}, {
|
|
16278
|
-
foreignKeyName: "uren_facturen_werkbon_id_fkey";
|
|
16279
|
-
columns: ["werkbon_id"];
|
|
16280
|
-
isOneToOne: true;
|
|
16281
|
-
referencedRelation: "werkbonnen";
|
|
16282
|
-
referencedColumns: ["id"];
|
|
16283
|
-
}];
|
|
16284
|
-
};
|
|
16285
|
-
uren_factuur_regels: {
|
|
16286
|
-
Row: {
|
|
16287
|
-
created_at: string;
|
|
16288
|
-
description: string;
|
|
16289
|
-
factuur_id: string;
|
|
16290
|
-
id: string;
|
|
16291
|
-
kind: string | null;
|
|
16292
|
-
quantity: number;
|
|
16293
|
-
sort_order: number;
|
|
16294
|
-
total_cents: number;
|
|
16295
|
-
unit: string;
|
|
16296
|
-
unit_price_cents: number;
|
|
16297
|
-
};
|
|
16298
|
-
Insert: {
|
|
16299
|
-
created_at?: string;
|
|
16300
|
-
description: string;
|
|
16301
|
-
factuur_id: string;
|
|
16302
|
-
id?: string;
|
|
16303
|
-
kind?: string | null;
|
|
16304
|
-
quantity?: number;
|
|
16305
|
-
sort_order?: number;
|
|
16306
|
-
total_cents?: number;
|
|
16307
|
-
unit?: string;
|
|
16308
|
-
unit_price_cents?: number;
|
|
16309
|
-
};
|
|
16310
|
-
Update: {
|
|
16311
|
-
created_at?: string;
|
|
16312
|
-
description?: string;
|
|
16313
|
-
factuur_id?: string;
|
|
16314
|
-
id?: string;
|
|
16315
|
-
kind?: string | null;
|
|
16316
|
-
quantity?: number;
|
|
16317
|
-
sort_order?: number;
|
|
16318
|
-
total_cents?: number;
|
|
16319
|
-
unit?: string;
|
|
16320
|
-
unit_price_cents?: number;
|
|
16321
|
-
};
|
|
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
|
-
}];
|
|
16329
|
-
};
|
|
16330
17341
|
uren_offerte_regels: {
|
|
16331
17342
|
Row: {
|
|
16332
17343
|
created_at: string;
|
|
@@ -16646,17 +17657,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
16646
17657
|
submitted_at?: string | null;
|
|
16647
17658
|
updated_at?: string;
|
|
16648
17659
|
};
|
|
16649
|
-
Relationships: [
|
|
16650
|
-
foreignKeyName: "uren_weekstaten_monteur_id_fkey";
|
|
16651
|
-
columns: ["monteur_id"];
|
|
16652
|
-
isOneToOne: false;
|
|
16653
|
-
referencedRelation: "monteurs";
|
|
16654
|
-
referencedColumns: ["id"];
|
|
16655
|
-
}];
|
|
17660
|
+
Relationships: [];
|
|
16656
17661
|
};
|
|
16657
17662
|
user_module_permissions: {
|
|
16658
17663
|
Row: {
|
|
16659
17664
|
created_at: string;
|
|
17665
|
+
feature_id: string;
|
|
16660
17666
|
id: string;
|
|
16661
17667
|
module_id: string;
|
|
16662
17668
|
permission: string;
|
|
@@ -16665,6 +17671,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
16665
17671
|
};
|
|
16666
17672
|
Insert: {
|
|
16667
17673
|
created_at?: string;
|
|
17674
|
+
feature_id?: string;
|
|
16668
17675
|
id?: string;
|
|
16669
17676
|
module_id: string;
|
|
16670
17677
|
permission: string;
|
|
@@ -16673,6 +17680,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
16673
17680
|
};
|
|
16674
17681
|
Update: {
|
|
16675
17682
|
created_at?: string;
|
|
17683
|
+
feature_id?: string;
|
|
16676
17684
|
id?: string;
|
|
16677
17685
|
module_id?: string;
|
|
16678
17686
|
permission?: string;
|
|
@@ -16708,6 +17716,51 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
16708
17716
|
referencedColumns: ["id"];
|
|
16709
17717
|
}];
|
|
16710
17718
|
};
|
|
17719
|
+
van_inventories: {
|
|
17720
|
+
Row: {
|
|
17721
|
+
barcode: string | null;
|
|
17722
|
+
created_at: string;
|
|
17723
|
+
id: string;
|
|
17724
|
+
monteur_id: string | null;
|
|
17725
|
+
price_per_unit: number;
|
|
17726
|
+
product_name: string;
|
|
17727
|
+
quantity_current: number;
|
|
17728
|
+
quantity_min: number;
|
|
17729
|
+
unit: string;
|
|
17730
|
+
updated_at: string;
|
|
17731
|
+
};
|
|
17732
|
+
Insert: {
|
|
17733
|
+
barcode?: string | null;
|
|
17734
|
+
created_at?: string;
|
|
17735
|
+
id?: string;
|
|
17736
|
+
monteur_id?: string | null;
|
|
17737
|
+
price_per_unit?: number;
|
|
17738
|
+
product_name: string;
|
|
17739
|
+
quantity_current?: number;
|
|
17740
|
+
quantity_min?: number;
|
|
17741
|
+
unit?: string;
|
|
17742
|
+
updated_at?: string;
|
|
17743
|
+
};
|
|
17744
|
+
Update: {
|
|
17745
|
+
barcode?: string | null;
|
|
17746
|
+
created_at?: string;
|
|
17747
|
+
id?: string;
|
|
17748
|
+
monteur_id?: string | null;
|
|
17749
|
+
price_per_unit?: number;
|
|
17750
|
+
product_name?: string;
|
|
17751
|
+
quantity_current?: number;
|
|
17752
|
+
quantity_min?: number;
|
|
17753
|
+
unit?: string;
|
|
17754
|
+
updated_at?: string;
|
|
17755
|
+
};
|
|
17756
|
+
Relationships: [{
|
|
17757
|
+
foreignKeyName: "van_inventories_monteur_id_fkey";
|
|
17758
|
+
columns: ["monteur_id"];
|
|
17759
|
+
isOneToOne: false;
|
|
17760
|
+
referencedRelation: "profiles";
|
|
17761
|
+
referencedColumns: ["id"];
|
|
17762
|
+
}];
|
|
17763
|
+
};
|
|
16711
17764
|
voorraad_custom_fields: {
|
|
16712
17765
|
Row: {
|
|
16713
17766
|
created_at: string;
|
|
@@ -17658,7 +18711,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
17658
18711
|
foreignKeyName: "work_order_monteurs_monteur_id_fkey";
|
|
17659
18712
|
columns: ["monteur_id"];
|
|
17660
18713
|
isOneToOne: false;
|
|
17661
|
-
referencedRelation: "
|
|
18714
|
+
referencedRelation: "profiles";
|
|
17662
18715
|
referencedColumns: ["id"];
|
|
17663
18716
|
}, {
|
|
17664
18717
|
foreignKeyName: "work_order_monteurs_work_order_id_fkey";
|
|
@@ -17668,6 +18721,60 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
17668
18721
|
referencedColumns: ["id"];
|
|
17669
18722
|
}];
|
|
17670
18723
|
};
|
|
18724
|
+
work_order_photos: {
|
|
18725
|
+
Row: {
|
|
18726
|
+
ai_caption: string | null;
|
|
18727
|
+
ai_categorized_at: string | null;
|
|
18728
|
+
ai_labels: import("./types").Json | null;
|
|
18729
|
+
caption: string | null;
|
|
18730
|
+
created_at: string;
|
|
18731
|
+
id: string;
|
|
18732
|
+
monteur_id: string | null;
|
|
18733
|
+
photo_type: string;
|
|
18734
|
+
storage_path: string;
|
|
18735
|
+
updated_at: string;
|
|
18736
|
+
work_order_id: string;
|
|
18737
|
+
};
|
|
18738
|
+
Insert: {
|
|
18739
|
+
ai_caption?: string | null;
|
|
18740
|
+
ai_categorized_at?: string | null;
|
|
18741
|
+
ai_labels?: import("./types").Json | null;
|
|
18742
|
+
caption?: string | null;
|
|
18743
|
+
created_at?: string;
|
|
18744
|
+
id?: string;
|
|
18745
|
+
monteur_id?: string | null;
|
|
18746
|
+
photo_type?: string;
|
|
18747
|
+
storage_path: string;
|
|
18748
|
+
updated_at?: string;
|
|
18749
|
+
work_order_id: string;
|
|
18750
|
+
};
|
|
18751
|
+
Update: {
|
|
18752
|
+
ai_caption?: string | null;
|
|
18753
|
+
ai_categorized_at?: string | null;
|
|
18754
|
+
ai_labels?: import("./types").Json | null;
|
|
18755
|
+
caption?: string | null;
|
|
18756
|
+
created_at?: string;
|
|
18757
|
+
id?: string;
|
|
18758
|
+
monteur_id?: string | null;
|
|
18759
|
+
photo_type?: string;
|
|
18760
|
+
storage_path?: string;
|
|
18761
|
+
updated_at?: string;
|
|
18762
|
+
work_order_id?: string;
|
|
18763
|
+
};
|
|
18764
|
+
Relationships: [{
|
|
18765
|
+
foreignKeyName: "work_order_photos_monteur_id_fkey";
|
|
18766
|
+
columns: ["monteur_id"];
|
|
18767
|
+
isOneToOne: false;
|
|
18768
|
+
referencedRelation: "profiles";
|
|
18769
|
+
referencedColumns: ["id"];
|
|
18770
|
+
}, {
|
|
18771
|
+
foreignKeyName: "work_order_photos_work_order_id_fkey";
|
|
18772
|
+
columns: ["work_order_id"];
|
|
18773
|
+
isOneToOne: false;
|
|
18774
|
+
referencedRelation: "work_orders";
|
|
18775
|
+
referencedColumns: ["id"];
|
|
18776
|
+
}];
|
|
18777
|
+
};
|
|
17671
18778
|
work_orders: {
|
|
17672
18779
|
Row: {
|
|
17673
18780
|
assigned_to: string | null;
|
|
@@ -17699,7 +18806,6 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
17699
18806
|
scheduled_end_time: string | null;
|
|
17700
18807
|
scheduled_start_time: string | null;
|
|
17701
18808
|
status: string;
|
|
17702
|
-
tenant_id: string;
|
|
17703
18809
|
total_hours_worked: number | null;
|
|
17704
18810
|
total_price: number | null;
|
|
17705
18811
|
travel_time_minutes: number | null;
|
|
@@ -17737,7 +18843,6 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
17737
18843
|
scheduled_end_time?: string | null;
|
|
17738
18844
|
scheduled_start_time?: string | null;
|
|
17739
18845
|
status?: string;
|
|
17740
|
-
tenant_id: string;
|
|
17741
18846
|
total_hours_worked?: number | null;
|
|
17742
18847
|
total_price?: number | null;
|
|
17743
18848
|
travel_time_minutes?: number | null;
|
|
@@ -17775,7 +18880,6 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
17775
18880
|
scheduled_end_time?: string | null;
|
|
17776
18881
|
scheduled_start_time?: string | null;
|
|
17777
18882
|
status?: string;
|
|
17778
|
-
tenant_id?: string;
|
|
17779
18883
|
total_hours_worked?: number | null;
|
|
17780
18884
|
total_price?: number | null;
|
|
17781
18885
|
travel_time_minutes?: number | null;
|
|
@@ -17789,12 +18893,6 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
17789
18893
|
isOneToOne: false;
|
|
17790
18894
|
referencedRelation: "work_orders";
|
|
17791
18895
|
referencedColumns: ["id"];
|
|
17792
|
-
}, {
|
|
17793
|
-
foreignKeyName: "work_orders_tenant_id_fkey";
|
|
17794
|
-
columns: ["tenant_id"];
|
|
17795
|
-
isOneToOne: false;
|
|
17796
|
-
referencedRelation: "tenants";
|
|
17797
|
-
referencedColumns: ["id"];
|
|
17798
18896
|
}];
|
|
17799
18897
|
};
|
|
17800
18898
|
};
|
|
@@ -18065,19 +19163,127 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
18065
19163
|
total_stock: number | null;
|
|
18066
19164
|
};
|
|
18067
19165
|
Relationships: [{
|
|
18068
|
-
foreignKeyName: "product_group_items_product_group_id_fkey";
|
|
18069
|
-
columns: ["product_group_id"];
|
|
19166
|
+
foreignKeyName: "product_group_items_product_group_id_fkey";
|
|
19167
|
+
columns: ["product_group_id"];
|
|
19168
|
+
isOneToOne: false;
|
|
19169
|
+
referencedRelation: "product_groups";
|
|
19170
|
+
referencedColumns: ["id"];
|
|
19171
|
+
}];
|
|
19172
|
+
};
|
|
19173
|
+
trade_item_stock_view: {
|
|
19174
|
+
Row: {
|
|
19175
|
+
stock: number | null;
|
|
19176
|
+
trade_item_id: string | null;
|
|
19177
|
+
};
|
|
19178
|
+
Relationships: [];
|
|
19179
|
+
};
|
|
19180
|
+
uren_facturen: {
|
|
19181
|
+
Row: {
|
|
19182
|
+
created_at: string | null;
|
|
19183
|
+
created_by: string | null;
|
|
19184
|
+
customer_id: string | null;
|
|
19185
|
+
customer_name: string | null;
|
|
19186
|
+
id: string | null;
|
|
19187
|
+
invoice_number: string | null;
|
|
19188
|
+
note: string | null;
|
|
19189
|
+
status: string | null;
|
|
19190
|
+
total_excl_cents: number | null;
|
|
19191
|
+
total_incl_cents: number | null;
|
|
19192
|
+
updated_at: string | null;
|
|
19193
|
+
vat_cents: number | null;
|
|
19194
|
+
vat_percentage: number | null;
|
|
19195
|
+
werkbon_id: string | null;
|
|
19196
|
+
};
|
|
19197
|
+
Insert: {
|
|
19198
|
+
created_at?: string | null;
|
|
19199
|
+
created_by?: string | null;
|
|
19200
|
+
customer_id?: string | null;
|
|
19201
|
+
customer_name?: string | null;
|
|
19202
|
+
id?: string | null;
|
|
19203
|
+
invoice_number?: string | null;
|
|
19204
|
+
note?: string | null;
|
|
19205
|
+
status?: string | null;
|
|
19206
|
+
total_excl_cents?: number | null;
|
|
19207
|
+
total_incl_cents?: number | null;
|
|
19208
|
+
updated_at?: string | null;
|
|
19209
|
+
vat_cents?: number | null;
|
|
19210
|
+
vat_percentage?: number | null;
|
|
19211
|
+
werkbon_id?: never;
|
|
19212
|
+
};
|
|
19213
|
+
Update: {
|
|
19214
|
+
created_at?: string | null;
|
|
19215
|
+
created_by?: string | null;
|
|
19216
|
+
customer_id?: string | null;
|
|
19217
|
+
customer_name?: string | null;
|
|
19218
|
+
id?: string | null;
|
|
19219
|
+
invoice_number?: string | null;
|
|
19220
|
+
note?: string | null;
|
|
19221
|
+
status?: string | null;
|
|
19222
|
+
total_excl_cents?: number | null;
|
|
19223
|
+
total_incl_cents?: number | null;
|
|
19224
|
+
updated_at?: string | null;
|
|
19225
|
+
vat_cents?: number | null;
|
|
19226
|
+
vat_percentage?: number | null;
|
|
19227
|
+
werkbon_id?: never;
|
|
19228
|
+
};
|
|
19229
|
+
Relationships: [{
|
|
19230
|
+
foreignKeyName: "invoices_customer_id_fkey";
|
|
19231
|
+
columns: ["customer_id"];
|
|
18070
19232
|
isOneToOne: false;
|
|
18071
|
-
referencedRelation: "
|
|
19233
|
+
referencedRelation: "itk_customers";
|
|
18072
19234
|
referencedColumns: ["id"];
|
|
18073
19235
|
}];
|
|
18074
19236
|
};
|
|
18075
|
-
|
|
19237
|
+
uren_factuur_regels: {
|
|
18076
19238
|
Row: {
|
|
18077
|
-
|
|
18078
|
-
|
|
19239
|
+
created_at: string | null;
|
|
19240
|
+
description: string | null;
|
|
19241
|
+
factuur_id: string | null;
|
|
19242
|
+
id: string | null;
|
|
19243
|
+
kind: string | null;
|
|
19244
|
+
quantity: number | null;
|
|
19245
|
+
sort_order: number | null;
|
|
19246
|
+
total_cents: number | null;
|
|
19247
|
+
unit: string | null;
|
|
19248
|
+
unit_price_cents: number | null;
|
|
18079
19249
|
};
|
|
18080
|
-
|
|
19250
|
+
Insert: {
|
|
19251
|
+
created_at?: string | null;
|
|
19252
|
+
description?: string | null;
|
|
19253
|
+
factuur_id?: string | null;
|
|
19254
|
+
id?: string | null;
|
|
19255
|
+
kind?: string | null;
|
|
19256
|
+
quantity?: number | null;
|
|
19257
|
+
sort_order?: number | null;
|
|
19258
|
+
total_cents?: number | null;
|
|
19259
|
+
unit?: string | null;
|
|
19260
|
+
unit_price_cents?: number | null;
|
|
19261
|
+
};
|
|
19262
|
+
Update: {
|
|
19263
|
+
created_at?: string | null;
|
|
19264
|
+
description?: string | null;
|
|
19265
|
+
factuur_id?: string | null;
|
|
19266
|
+
id?: string | null;
|
|
19267
|
+
kind?: string | null;
|
|
19268
|
+
quantity?: number | null;
|
|
19269
|
+
sort_order?: number | null;
|
|
19270
|
+
total_cents?: number | null;
|
|
19271
|
+
unit?: string | null;
|
|
19272
|
+
unit_price_cents?: number | null;
|
|
19273
|
+
};
|
|
19274
|
+
Relationships: [{
|
|
19275
|
+
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
19276
|
+
columns: ["factuur_id"];
|
|
19277
|
+
isOneToOne: false;
|
|
19278
|
+
referencedRelation: "invoices";
|
|
19279
|
+
referencedColumns: ["id"];
|
|
19280
|
+
}, {
|
|
19281
|
+
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
19282
|
+
columns: ["factuur_id"];
|
|
19283
|
+
isOneToOne: false;
|
|
19284
|
+
referencedRelation: "uren_facturen";
|
|
19285
|
+
referencedColumns: ["id"];
|
|
19286
|
+
}];
|
|
18081
19287
|
};
|
|
18082
19288
|
v_external_customers_exact: {
|
|
18083
19289
|
Row: {
|
|
@@ -18479,6 +19685,19 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
18479
19685
|
};
|
|
18480
19686
|
Returns: undefined;
|
|
18481
19687
|
};
|
|
19688
|
+
approve_mailbox_order_proposal: {
|
|
19689
|
+
Args: {
|
|
19690
|
+
p_custom_fields: import("./types").Json;
|
|
19691
|
+
p_customer_id: string;
|
|
19692
|
+
p_delivery_date: string;
|
|
19693
|
+
p_field_values?: import("./types").Json;
|
|
19694
|
+
p_lines: import("./types").Json;
|
|
19695
|
+
p_notes: string;
|
|
19696
|
+
p_proposal_id: string;
|
|
19697
|
+
p_reviewed_by: string;
|
|
19698
|
+
};
|
|
19699
|
+
Returns: import("./types").Json;
|
|
19700
|
+
};
|
|
18482
19701
|
assign_cart_numbers: {
|
|
18483
19702
|
Args: {
|
|
18484
19703
|
p_carts: import("./types").Json;
|
|
@@ -18530,6 +19749,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
18530
19749
|
};
|
|
18531
19750
|
Returns: number;
|
|
18532
19751
|
};
|
|
19752
|
+
can_manage_hours: {
|
|
19753
|
+
Args: never;
|
|
19754
|
+
Returns: boolean;
|
|
19755
|
+
};
|
|
18533
19756
|
check_offer_product_available_stock: {
|
|
18534
19757
|
Args: {
|
|
18535
19758
|
p_campaign_product_id: string;
|
|
@@ -18567,6 +19790,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
18567
19790
|
gebruiker_id: string | null;
|
|
18568
19791
|
gebruiker_naam: string;
|
|
18569
19792
|
gestart_op: string | null;
|
|
19793
|
+
herkomst: string | null;
|
|
18570
19794
|
id: string;
|
|
18571
19795
|
idempotentie_sleutel: string | null;
|
|
18572
19796
|
is_herprint: boolean;
|
|
@@ -18687,6 +19911,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
18687
19911
|
gebruiker_id: string | null;
|
|
18688
19912
|
gebruiker_naam: string;
|
|
18689
19913
|
gestart_op: string | null;
|
|
19914
|
+
herkomst: string | null;
|
|
18690
19915
|
id: string;
|
|
18691
19916
|
idempotentie_sleutel: string | null;
|
|
18692
19917
|
is_herprint: boolean;
|
|
@@ -18719,6 +19944,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
18719
19944
|
};
|
|
18720
19945
|
Returns: {
|
|
18721
19946
|
action: string;
|
|
19947
|
+
attempt_started_at: string | null;
|
|
18722
19948
|
attempts: number;
|
|
18723
19949
|
connection_id: string | null;
|
|
18724
19950
|
created_at: string;
|
|
@@ -18806,6 +20032,30 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
18806
20032
|
agent_naam: string;
|
|
18807
20033
|
}[];
|
|
18808
20034
|
};
|
|
20035
|
+
consume_van_inventory: {
|
|
20036
|
+
Args: {
|
|
20037
|
+
p_inventory_id: string;
|
|
20038
|
+
p_quantity: number;
|
|
20039
|
+
};
|
|
20040
|
+
Returns: {
|
|
20041
|
+
barcode: string | null;
|
|
20042
|
+
created_at: string;
|
|
20043
|
+
id: string;
|
|
20044
|
+
monteur_id: string | null;
|
|
20045
|
+
price_per_unit: number;
|
|
20046
|
+
product_name: string;
|
|
20047
|
+
quantity_current: number;
|
|
20048
|
+
quantity_min: number;
|
|
20049
|
+
unit: string;
|
|
20050
|
+
updated_at: string;
|
|
20051
|
+
};
|
|
20052
|
+
SetofOptions: {
|
|
20053
|
+
from: "*";
|
|
20054
|
+
to: "van_inventories";
|
|
20055
|
+
isOneToOne: true;
|
|
20056
|
+
isSetofReturn: false;
|
|
20057
|
+
};
|
|
20058
|
+
};
|
|
18809
20059
|
control_get_todays_carts: {
|
|
18810
20060
|
Args: never;
|
|
18811
20061
|
Returns: {
|
|
@@ -18879,6 +20129,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
18879
20129
|
_user_id: string;
|
|
18880
20130
|
};
|
|
18881
20131
|
Returns: string;
|
|
20132
|
+
} | {
|
|
20133
|
+
Args: {
|
|
20134
|
+
_feature_id: string;
|
|
20135
|
+
_module_id: string;
|
|
20136
|
+
_user_id: string;
|
|
20137
|
+
};
|
|
20138
|
+
Returns: string;
|
|
18882
20139
|
};
|
|
18883
20140
|
email_auth_decrypt: {
|
|
18884
20141
|
Args: {
|
|
@@ -18925,6 +20182,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
18925
20182
|
};
|
|
18926
20183
|
Returns: string;
|
|
18927
20184
|
};
|
|
20185
|
+
employee_day_hours: {
|
|
20186
|
+
Args: {
|
|
20187
|
+
_day: string;
|
|
20188
|
+
_employee_id: string;
|
|
20189
|
+
};
|
|
20190
|
+
Returns: number;
|
|
20191
|
+
};
|
|
18928
20192
|
enqueue_cart_replan_if_unlocked: {
|
|
18929
20193
|
Args: {
|
|
18930
20194
|
p_order_id: string;
|
|
@@ -19230,12 +20494,6 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
19230
20494
|
Args: never;
|
|
19231
20495
|
Returns: string;
|
|
19232
20496
|
};
|
|
19233
|
-
get_work_order_tenant_id: {
|
|
19234
|
-
Args: {
|
|
19235
|
-
wo_id: string;
|
|
19236
|
-
};
|
|
19237
|
-
Returns: string;
|
|
19238
|
-
};
|
|
19239
20497
|
has_module_permission: {
|
|
19240
20498
|
Args: {
|
|
19241
20499
|
_min: string;
|
|
@@ -19255,6 +20513,46 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
19255
20513
|
Args: never;
|
|
19256
20514
|
Returns: boolean;
|
|
19257
20515
|
};
|
|
20516
|
+
invoice_create_from_source: {
|
|
20517
|
+
Args: {
|
|
20518
|
+
_payload?: import("./types").Json;
|
|
20519
|
+
_source_id: string;
|
|
20520
|
+
_source_type: string;
|
|
20521
|
+
};
|
|
20522
|
+
Returns: import("./types").Json;
|
|
20523
|
+
};
|
|
20524
|
+
invoice_get_billable_lines: {
|
|
20525
|
+
Args: {
|
|
20526
|
+
_invoice_id: string;
|
|
20527
|
+
};
|
|
20528
|
+
Returns: import("./types").Json;
|
|
20529
|
+
};
|
|
20530
|
+
invoice_get_for_source: {
|
|
20531
|
+
Args: {
|
|
20532
|
+
_source_id: string;
|
|
20533
|
+
_source_type: string;
|
|
20534
|
+
};
|
|
20535
|
+
Returns: import("./types").Json;
|
|
20536
|
+
};
|
|
20537
|
+
invoice_get_summary: {
|
|
20538
|
+
Args: {
|
|
20539
|
+
_invoice_id: string;
|
|
20540
|
+
};
|
|
20541
|
+
Returns: import("./types").Json;
|
|
20542
|
+
};
|
|
20543
|
+
invoice_list_sources: {
|
|
20544
|
+
Args: {
|
|
20545
|
+
_limit?: number;
|
|
20546
|
+
_source_type?: string;
|
|
20547
|
+
};
|
|
20548
|
+
Returns: import("./types").Json;
|
|
20549
|
+
};
|
|
20550
|
+
invoice_recalc_totals: {
|
|
20551
|
+
Args: {
|
|
20552
|
+
_invoice_id: string;
|
|
20553
|
+
};
|
|
20554
|
+
Returns: import("./types").Json;
|
|
20555
|
+
};
|
|
19258
20556
|
is_authenticated: {
|
|
19259
20557
|
Args: never;
|
|
19260
20558
|
Returns: boolean;
|
|
@@ -19269,6 +20567,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
19269
20567
|
};
|
|
19270
20568
|
Returns: boolean;
|
|
19271
20569
|
};
|
|
20570
|
+
is_time_log_week_locked: {
|
|
20571
|
+
Args: {
|
|
20572
|
+
p_employee_id: string;
|
|
20573
|
+
p_start_time: string;
|
|
20574
|
+
};
|
|
20575
|
+
Returns: boolean;
|
|
20576
|
+
};
|
|
19272
20577
|
is_user_admin: {
|
|
19273
20578
|
Args: never;
|
|
19274
20579
|
Returns: boolean;
|
|
@@ -19277,12 +20582,59 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
19277
20582
|
Args: never;
|
|
19278
20583
|
Returns: boolean;
|
|
19279
20584
|
};
|
|
20585
|
+
itk_offerte_naar_werkbon: {
|
|
20586
|
+
Args: {
|
|
20587
|
+
_offerte_id: string;
|
|
20588
|
+
};
|
|
20589
|
+
Returns: string;
|
|
20590
|
+
};
|
|
20591
|
+
itk_offerte_restant_mandaat: {
|
|
20592
|
+
Args: {
|
|
20593
|
+
_exclude_offerte_id?: string;
|
|
20594
|
+
_werkbon_id: string;
|
|
20595
|
+
};
|
|
20596
|
+
Returns: number;
|
|
20597
|
+
};
|
|
19280
20598
|
jwt_has_role: {
|
|
19281
20599
|
Args: {
|
|
19282
20600
|
_role: Database["public"]["Enums"]["app_role"];
|
|
19283
20601
|
};
|
|
19284
20602
|
Returns: boolean;
|
|
19285
20603
|
};
|
|
20604
|
+
list_medewerkers: {
|
|
20605
|
+
Args: never;
|
|
20606
|
+
Returns: {
|
|
20607
|
+
avatar_url: string;
|
|
20608
|
+
color: string;
|
|
20609
|
+
display_name: string;
|
|
20610
|
+
email: string;
|
|
20611
|
+
hours_fri: number;
|
|
20612
|
+
hours_mon: number;
|
|
20613
|
+
hours_thu: number;
|
|
20614
|
+
hours_tue: number;
|
|
20615
|
+
hours_wed: number;
|
|
20616
|
+
id: string;
|
|
20617
|
+
is_active: boolean;
|
|
20618
|
+
leave_balance_hours: number;
|
|
20619
|
+
persnr: string;
|
|
20620
|
+
phone: string;
|
|
20621
|
+
roles: string[];
|
|
20622
|
+
}[];
|
|
20623
|
+
};
|
|
20624
|
+
list_monteur_absences: {
|
|
20625
|
+
Args: {
|
|
20626
|
+
_from: string;
|
|
20627
|
+
_to: string;
|
|
20628
|
+
};
|
|
20629
|
+
Returns: {
|
|
20630
|
+
absence_date: string;
|
|
20631
|
+
end_time: string;
|
|
20632
|
+
full_day: boolean;
|
|
20633
|
+
kind: string;
|
|
20634
|
+
monteur_id: string;
|
|
20635
|
+
start_time: string;
|
|
20636
|
+
}[];
|
|
20637
|
+
};
|
|
19286
20638
|
list_monteurs: {
|
|
19287
20639
|
Args: never;
|
|
19288
20640
|
Returns: {
|
|
@@ -19615,17 +20967,6 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
19615
20967
|
Returns: string;
|
|
19616
20968
|
};
|
|
19617
20969
|
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
20970
|
Args: {
|
|
19630
20971
|
p_event_type: string;
|
|
19631
20972
|
p_idempotency_key?: string;
|
|
@@ -20080,6 +21421,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20080
21421
|
my_module_permissions: {
|
|
20081
21422
|
Args: never;
|
|
20082
21423
|
Returns: {
|
|
21424
|
+
feature_id: string;
|
|
20083
21425
|
module_id: string;
|
|
20084
21426
|
permission: string;
|
|
20085
21427
|
}[];
|
|
@@ -20255,6 +21597,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20255
21597
|
isSetofReturn: false;
|
|
20256
21598
|
};
|
|
20257
21599
|
};
|
|
21600
|
+
pick_cleanup_maintenance: {
|
|
21601
|
+
Args: {
|
|
21602
|
+
_heartbeat_hours?: number;
|
|
21603
|
+
_log_days?: number;
|
|
21604
|
+
};
|
|
21605
|
+
Returns: import("./types").Json;
|
|
21606
|
+
};
|
|
20258
21607
|
pick_complete_print: {
|
|
20259
21608
|
Args: {
|
|
20260
21609
|
_printer_id: string;
|
|
@@ -20306,6 +21655,14 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20306
21655
|
Args: never;
|
|
20307
21656
|
Returns: string;
|
|
20308
21657
|
};
|
|
21658
|
+
pick_day_counts: {
|
|
21659
|
+
Args: {
|
|
21660
|
+
_pick_day?: string;
|
|
21661
|
+
_screen_id?: string;
|
|
21662
|
+
_station_id?: string;
|
|
21663
|
+
};
|
|
21664
|
+
Returns: import("./types").Json;
|
|
21665
|
+
};
|
|
20309
21666
|
pick_document_layout_data: {
|
|
20310
21667
|
Args: {
|
|
20311
21668
|
_layout_id: string;
|
|
@@ -20343,6 +21700,14 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20343
21700
|
};
|
|
20344
21701
|
Returns: undefined;
|
|
20345
21702
|
};
|
|
21703
|
+
pick_reprint_document: {
|
|
21704
|
+
Args: {
|
|
21705
|
+
_queue_item_id: string;
|
|
21706
|
+
_session_id: string;
|
|
21707
|
+
_throttle_seconds?: number;
|
|
21708
|
+
};
|
|
21709
|
+
Returns: string;
|
|
21710
|
+
};
|
|
20346
21711
|
pick_reset_print: {
|
|
20347
21712
|
Args: {
|
|
20348
21713
|
_queue_item_id: string;
|
|
@@ -20408,6 +21773,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20408
21773
|
};
|
|
20409
21774
|
Returns: string;
|
|
20410
21775
|
};
|
|
21776
|
+
pick_sync_queue_throttled: {
|
|
21777
|
+
Args: {
|
|
21778
|
+
_min_seconds?: number;
|
|
21779
|
+
};
|
|
21780
|
+
Returns: import("./types").Json;
|
|
21781
|
+
};
|
|
20411
21782
|
pickstation_get_orders_raw: {
|
|
20412
21783
|
Args: never;
|
|
20413
21784
|
Returns: import("./types").Json;
|
|
@@ -20469,6 +21840,37 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20469
21840
|
};
|
|
20470
21841
|
Returns: undefined;
|
|
20471
21842
|
};
|
|
21843
|
+
quote_create_from_source: {
|
|
21844
|
+
Args: {
|
|
21845
|
+
_payload?: import("./types").Json;
|
|
21846
|
+
_source_id: string;
|
|
21847
|
+
_source_type: string;
|
|
21848
|
+
};
|
|
21849
|
+
Returns: string;
|
|
21850
|
+
};
|
|
21851
|
+
quote_get_billable_lines: {
|
|
21852
|
+
Args: {
|
|
21853
|
+
_quotation_id: string;
|
|
21854
|
+
};
|
|
21855
|
+
Returns: import("./types").Json;
|
|
21856
|
+
};
|
|
21857
|
+
quote_get_summary: {
|
|
21858
|
+
Args: {
|
|
21859
|
+
_quotation_id: string;
|
|
21860
|
+
};
|
|
21861
|
+
Returns: import("./types").Json;
|
|
21862
|
+
};
|
|
21863
|
+
quote_list_packages: {
|
|
21864
|
+
Args: never;
|
|
21865
|
+
Returns: import("./types").Json;
|
|
21866
|
+
};
|
|
21867
|
+
quote_list_sources: {
|
|
21868
|
+
Args: {
|
|
21869
|
+
_limit?: number;
|
|
21870
|
+
_source_type?: string;
|
|
21871
|
+
};
|
|
21872
|
+
Returns: import("./types").Json;
|
|
21873
|
+
};
|
|
20472
21874
|
recompute_all_reserved_stock: {
|
|
20473
21875
|
Args: never;
|
|
20474
21876
|
Returns: undefined;
|
|
@@ -20522,6 +21924,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20522
21924
|
};
|
|
20523
21925
|
Returns: boolean;
|
|
20524
21926
|
};
|
|
21927
|
+
release_stale_order_invoice_links: {
|
|
21928
|
+
Args: {
|
|
21929
|
+
_minutes?: number;
|
|
21930
|
+
};
|
|
21931
|
+
Returns: number;
|
|
21932
|
+
};
|
|
20525
21933
|
reorder_customer_price_groups: {
|
|
20526
21934
|
Args: {
|
|
20527
21935
|
_ids: string[];
|
|
@@ -20960,6 +22368,16 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20960
22368
|
};
|
|
20961
22369
|
Returns: string[];
|
|
20962
22370
|
};
|
|
22371
|
+
switch_time_log: {
|
|
22372
|
+
Args: {
|
|
22373
|
+
p_employee_id: string;
|
|
22374
|
+
p_start_lat?: number;
|
|
22375
|
+
p_start_lng?: number;
|
|
22376
|
+
p_type: string;
|
|
22377
|
+
p_work_order_id?: string;
|
|
22378
|
+
};
|
|
22379
|
+
Returns: import("./types").Json;
|
|
22380
|
+
};
|
|
20963
22381
|
sync_all_layer_stocks: {
|
|
20964
22382
|
Args: never;
|
|
20965
22383
|
Returns: undefined;
|
|
@@ -20994,6 +22412,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20994
22412
|
};
|
|
20995
22413
|
Returns: undefined;
|
|
20996
22414
|
};
|
|
22415
|
+
sync_sick_time_off: {
|
|
22416
|
+
Args: {
|
|
22417
|
+
_period_id: string;
|
|
22418
|
+
};
|
|
22419
|
+
Returns: number;
|
|
22420
|
+
};
|
|
20997
22421
|
trade_item_stock_duplicates: {
|
|
20998
22422
|
Args: never;
|
|
20999
22423
|
Returns: {
|
|
@@ -21010,6 +22434,38 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
21010
22434
|
};
|
|
21011
22435
|
Returns: boolean;
|
|
21012
22436
|
};
|
|
22437
|
+
twinfield_cron_lock_acquire: {
|
|
22438
|
+
Args: {
|
|
22439
|
+
_job_name: string;
|
|
22440
|
+
_stale_seconds?: number;
|
|
22441
|
+
};
|
|
22442
|
+
Returns: boolean;
|
|
22443
|
+
};
|
|
22444
|
+
twinfield_cron_lock_release: {
|
|
22445
|
+
Args: {
|
|
22446
|
+
_error?: string;
|
|
22447
|
+
_job_name: string;
|
|
22448
|
+
};
|
|
22449
|
+
Returns: undefined;
|
|
22450
|
+
};
|
|
22451
|
+
twinfield_deactivate_connection: {
|
|
22452
|
+
Args: {
|
|
22453
|
+
p_connection_id: string;
|
|
22454
|
+
p_user_id: string;
|
|
22455
|
+
};
|
|
22456
|
+
Returns: import("./types").Json;
|
|
22457
|
+
};
|
|
22458
|
+
twinfield_handle_administration_change: {
|
|
22459
|
+
Args: {
|
|
22460
|
+
_administration_code: string;
|
|
22461
|
+
_user_id: string;
|
|
22462
|
+
};
|
|
22463
|
+
Returns: undefined;
|
|
22464
|
+
};
|
|
22465
|
+
twinfield_prune_push_queue: {
|
|
22466
|
+
Args: never;
|
|
22467
|
+
Returns: number;
|
|
22468
|
+
};
|
|
21013
22469
|
twinfield_register_cron: {
|
|
21014
22470
|
Args: {
|
|
21015
22471
|
apikey?: string;
|
|
@@ -21025,10 +22481,11 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
21025
22481
|
p_company_name?: string;
|
|
21026
22482
|
p_environment: string;
|
|
21027
22483
|
p_office_code?: string;
|
|
22484
|
+
p_reset_sync?: boolean;
|
|
21028
22485
|
p_status?: string;
|
|
21029
22486
|
p_user_id: string;
|
|
21030
22487
|
};
|
|
21031
|
-
Returns:
|
|
22488
|
+
Returns: import("./types").Json;
|
|
21032
22489
|
};
|
|
21033
22490
|
upsert_auto_fulfillment_log: {
|
|
21034
22491
|
Args: {
|
|
@@ -21049,11 +22506,31 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
21049
22506
|
Args: never;
|
|
21050
22507
|
Returns: string;
|
|
21051
22508
|
};
|
|
22509
|
+
wo_create_from_source: {
|
|
22510
|
+
Args: {
|
|
22511
|
+
_payload?: import("./types").Json;
|
|
22512
|
+
_source_id: string;
|
|
22513
|
+
_source_type: string;
|
|
22514
|
+
};
|
|
22515
|
+
Returns: string;
|
|
22516
|
+
};
|
|
22517
|
+
wo_get_billable_lines: {
|
|
22518
|
+
Args: {
|
|
22519
|
+
_work_order_id: string;
|
|
22520
|
+
};
|
|
22521
|
+
Returns: import("./types").Json;
|
|
22522
|
+
};
|
|
22523
|
+
wo_get_summary: {
|
|
22524
|
+
Args: {
|
|
22525
|
+
_work_order_id: string;
|
|
22526
|
+
};
|
|
22527
|
+
Returns: import("./types").Json;
|
|
22528
|
+
};
|
|
21052
22529
|
};
|
|
21053
22530
|
Enums: {
|
|
21054
22531
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|
|
21055
22532
|
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";
|
|
22533
|
+
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon" | "veilingbon" | "afleverbrief" | "veilingbrief";
|
|
21057
22534
|
doc_orientation: "portrait" | "landscape";
|
|
21058
22535
|
exact_env: "staging" | "live";
|
|
21059
22536
|
exact_push_status: "pending" | "sent" | "error";
|