@flowselections/floriday-authenticatie-module 1.0.38 → 1.0.40
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/integrations/supabase/auth-middleware.d.ts +1672 -300
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +1672 -300
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +1672 -300
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +1752 -348
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.js +3 -0
- package/dist-lib/lib/cron/process-stock-queue.js +2 -2
- package/dist-lib/lib/floricode.functions.d.ts +11263 -1659
- package/dist-lib/lib/floricode.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-auction-letters.functions.d.ts +1672 -300
- package/dist-lib/lib/floriday-auction-letters.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-labels.functions.d.ts +1672 -300
- package/dist-lib/lib/floriday-labels.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-public.functions.d.ts +9654 -1422
- package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-stickers.functions.d.ts +1672 -300
- package/dist-lib/lib/floriday-stickers.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-sync.functions.d.ts +49879 -7347
- package/dist-lib/lib/floriday-sync.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.d.ts +9654 -1422
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday.functions.d.ts +30574 -4503
- package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday.functions.js +46 -3
- package/dist-lib/lib/print/floriday-print.d.ts +36 -0
- package/dist-lib/lib/print/floriday-print.d.ts.map +1 -0
- package/dist-lib/lib/print/floriday-print.js +204 -0
- package/dist-lib/lib/print/index.d.ts +3 -0
- package/dist-lib/lib/print/index.d.ts.map +1 -0
- package/dist-lib/lib/print/index.js +2 -0
- package/dist-lib/lib/print/pdf-to-base64.d.ts +5 -0
- package/dist-lib/lib/print/pdf-to-base64.d.ts.map +1 -0
- package/dist-lib/lib/print/pdf-to-base64.js +27 -0
- package/package.json +12 -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.js").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.js").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.js").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.js").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.js").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.js").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.js").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.js").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.js").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
|
};
|
|
@@ -8551,6 +9124,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8551
9124
|
id: string;
|
|
8552
9125
|
last_error: string | null;
|
|
8553
9126
|
last_error_at: string | null;
|
|
9127
|
+
last_error_code: string | null;
|
|
9128
|
+
last_gateway_status: number | null;
|
|
9129
|
+
last_response: import("./types.js").Json | null;
|
|
8554
9130
|
last_sent_hash: string | null;
|
|
8555
9131
|
locked_by: string | null;
|
|
8556
9132
|
locked_until: string | null;
|
|
@@ -8571,6 +9147,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8571
9147
|
id?: string;
|
|
8572
9148
|
last_error?: string | null;
|
|
8573
9149
|
last_error_at?: string | null;
|
|
9150
|
+
last_error_code?: string | null;
|
|
9151
|
+
last_gateway_status?: number | null;
|
|
9152
|
+
last_response?: import("./types.js").Json | null;
|
|
8574
9153
|
last_sent_hash?: string | null;
|
|
8575
9154
|
locked_by?: string | null;
|
|
8576
9155
|
locked_until?: string | null;
|
|
@@ -8591,6 +9170,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8591
9170
|
id?: string;
|
|
8592
9171
|
last_error?: string | null;
|
|
8593
9172
|
last_error_at?: string | null;
|
|
9173
|
+
last_error_code?: string | null;
|
|
9174
|
+
last_gateway_status?: number | null;
|
|
9175
|
+
last_response?: import("./types.js").Json | null;
|
|
8594
9176
|
last_sent_hash?: string | null;
|
|
8595
9177
|
locked_by?: string | null;
|
|
8596
9178
|
locked_until?: string | null;
|
|
@@ -9970,6 +10552,117 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9970
10552
|
};
|
|
9971
10553
|
Relationships: [];
|
|
9972
10554
|
};
|
|
10555
|
+
material_usage: {
|
|
10556
|
+
Row: {
|
|
10557
|
+
created_at: string;
|
|
10558
|
+
id: string;
|
|
10559
|
+
material_name: string;
|
|
10560
|
+
monteur_id: string | null;
|
|
10561
|
+
price_at_time: number;
|
|
10562
|
+
quantity_used: number;
|
|
10563
|
+
updated_at: string;
|
|
10564
|
+
van_inventory_id: string | null;
|
|
10565
|
+
work_order_id: string;
|
|
10566
|
+
};
|
|
10567
|
+
Insert: {
|
|
10568
|
+
created_at?: string;
|
|
10569
|
+
id?: string;
|
|
10570
|
+
material_name: string;
|
|
10571
|
+
monteur_id?: string | null;
|
|
10572
|
+
price_at_time?: number;
|
|
10573
|
+
quantity_used?: number;
|
|
10574
|
+
updated_at?: string;
|
|
10575
|
+
van_inventory_id?: string | null;
|
|
10576
|
+
work_order_id: string;
|
|
10577
|
+
};
|
|
10578
|
+
Update: {
|
|
10579
|
+
created_at?: string;
|
|
10580
|
+
id?: string;
|
|
10581
|
+
material_name?: string;
|
|
10582
|
+
monteur_id?: string | null;
|
|
10583
|
+
price_at_time?: number;
|
|
10584
|
+
quantity_used?: number;
|
|
10585
|
+
updated_at?: string;
|
|
10586
|
+
van_inventory_id?: string | null;
|
|
10587
|
+
work_order_id?: string;
|
|
10588
|
+
};
|
|
10589
|
+
Relationships: [{
|
|
10590
|
+
foreignKeyName: "material_usage_monteur_id_fkey";
|
|
10591
|
+
columns: ["monteur_id"];
|
|
10592
|
+
isOneToOne: false;
|
|
10593
|
+
referencedRelation: "profiles";
|
|
10594
|
+
referencedColumns: ["id"];
|
|
10595
|
+
}, {
|
|
10596
|
+
foreignKeyName: "material_usage_van_inventory_id_fkey";
|
|
10597
|
+
columns: ["van_inventory_id"];
|
|
10598
|
+
isOneToOne: false;
|
|
10599
|
+
referencedRelation: "van_inventories";
|
|
10600
|
+
referencedColumns: ["id"];
|
|
10601
|
+
}, {
|
|
10602
|
+
foreignKeyName: "material_usage_work_order_id_fkey";
|
|
10603
|
+
columns: ["work_order_id"];
|
|
10604
|
+
isOneToOne: false;
|
|
10605
|
+
referencedRelation: "work_orders";
|
|
10606
|
+
referencedColumns: ["id"];
|
|
10607
|
+
}];
|
|
10608
|
+
};
|
|
10609
|
+
medewerker_details: {
|
|
10610
|
+
Row: {
|
|
10611
|
+
color: string | null;
|
|
10612
|
+
created_at: string;
|
|
10613
|
+
hours_fri: number | null;
|
|
10614
|
+
hours_mon: number | null;
|
|
10615
|
+
hours_thu: number | null;
|
|
10616
|
+
hours_tue: number | null;
|
|
10617
|
+
hours_wed: number | null;
|
|
10618
|
+
id: string;
|
|
10619
|
+
is_active: boolean;
|
|
10620
|
+
leave_balance_hours: number;
|
|
10621
|
+
persnr: string | null;
|
|
10622
|
+
phone: string | null;
|
|
10623
|
+
profile_id: string;
|
|
10624
|
+
updated_at: string;
|
|
10625
|
+
};
|
|
10626
|
+
Insert: {
|
|
10627
|
+
color?: string | null;
|
|
10628
|
+
created_at?: string;
|
|
10629
|
+
hours_fri?: number | null;
|
|
10630
|
+
hours_mon?: number | null;
|
|
10631
|
+
hours_thu?: number | null;
|
|
10632
|
+
hours_tue?: number | null;
|
|
10633
|
+
hours_wed?: number | null;
|
|
10634
|
+
id?: string;
|
|
10635
|
+
is_active?: boolean;
|
|
10636
|
+
leave_balance_hours?: number;
|
|
10637
|
+
persnr?: string | null;
|
|
10638
|
+
phone?: string | null;
|
|
10639
|
+
profile_id: string;
|
|
10640
|
+
updated_at?: string;
|
|
10641
|
+
};
|
|
10642
|
+
Update: {
|
|
10643
|
+
color?: string | null;
|
|
10644
|
+
created_at?: string;
|
|
10645
|
+
hours_fri?: number | null;
|
|
10646
|
+
hours_mon?: number | null;
|
|
10647
|
+
hours_thu?: number | null;
|
|
10648
|
+
hours_tue?: number | null;
|
|
10649
|
+
hours_wed?: number | null;
|
|
10650
|
+
id?: string;
|
|
10651
|
+
is_active?: boolean;
|
|
10652
|
+
leave_balance_hours?: number;
|
|
10653
|
+
persnr?: string | null;
|
|
10654
|
+
phone?: string | null;
|
|
10655
|
+
profile_id?: string;
|
|
10656
|
+
updated_at?: string;
|
|
10657
|
+
};
|
|
10658
|
+
Relationships: [{
|
|
10659
|
+
foreignKeyName: "medewerker_details_profile_id_fkey";
|
|
10660
|
+
columns: ["profile_id"];
|
|
10661
|
+
isOneToOne: true;
|
|
10662
|
+
referencedRelation: "profiles";
|
|
10663
|
+
referencedColumns: ["id"];
|
|
10664
|
+
}];
|
|
10665
|
+
};
|
|
9973
10666
|
module_features: {
|
|
9974
10667
|
Row: {
|
|
9975
10668
|
created_at: string;
|
|
@@ -10030,8 +10723,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
10030
10723
|
module_registry: {
|
|
10031
10724
|
Row: {
|
|
10032
10725
|
created_at: string;
|
|
10726
|
+
enforce: boolean;
|
|
10033
10727
|
is_active: boolean;
|
|
10034
10728
|
last_seen_at: string;
|
|
10729
|
+
missing_count: number;
|
|
10035
10730
|
module_id: string;
|
|
10036
10731
|
name: string;
|
|
10037
10732
|
shell_id: string | null;
|
|
@@ -10039,8 +10734,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
10039
10734
|
};
|
|
10040
10735
|
Insert: {
|
|
10041
10736
|
created_at?: string;
|
|
10737
|
+
enforce?: boolean;
|
|
10042
10738
|
is_active?: boolean;
|
|
10043
10739
|
last_seen_at?: string;
|
|
10740
|
+
missing_count?: number;
|
|
10044
10741
|
module_id: string;
|
|
10045
10742
|
name: string;
|
|
10046
10743
|
shell_id?: string | null;
|
|
@@ -10048,8 +10745,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
10048
10745
|
};
|
|
10049
10746
|
Update: {
|
|
10050
10747
|
created_at?: string;
|
|
10748
|
+
enforce?: boolean;
|
|
10051
10749
|
is_active?: boolean;
|
|
10052
10750
|
last_seen_at?: string;
|
|
10751
|
+
missing_count?: number;
|
|
10053
10752
|
module_id?: string;
|
|
10054
10753
|
name?: string;
|
|
10055
10754
|
shell_id?: string | null;
|
|
@@ -10098,72 +10797,15 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
10098
10797
|
};
|
|
10099
10798
|
Update: {
|
|
10100
10799
|
created_at?: string;
|
|
10101
|
-
description?: string | null;
|
|
10102
|
-
id?: string;
|
|
10103
|
-
is_active?: boolean;
|
|
10104
|
-
last_seen_at?: string | null;
|
|
10105
|
-
module_key?: string;
|
|
10106
|
-
module_name?: string;
|
|
10107
|
-
updated_at?: string;
|
|
10108
|
-
};
|
|
10109
|
-
Relationships: [];
|
|
10110
|
-
};
|
|
10111
|
-
monteurs: {
|
|
10112
|
-
Row: {
|
|
10113
|
-
avatar_url: string | null;
|
|
10114
|
-
color: string | null;
|
|
10115
|
-
created_at: string;
|
|
10116
|
-
email: string | null;
|
|
10117
|
-
id: string;
|
|
10118
|
-
is_active: boolean;
|
|
10119
|
-
leave_balance_hours: number;
|
|
10120
|
-
name: string;
|
|
10121
|
-
persnr: number | null;
|
|
10122
|
-
phone: string | null;
|
|
10123
|
-
role: string;
|
|
10124
|
-
tenant_id: string;
|
|
10125
|
-
updated_at: string;
|
|
10126
|
-
user_id: string | null;
|
|
10127
|
-
};
|
|
10128
|
-
Insert: {
|
|
10129
|
-
avatar_url?: string | null;
|
|
10130
|
-
color?: string | null;
|
|
10131
|
-
created_at?: string;
|
|
10132
|
-
email?: string | null;
|
|
10133
|
-
id?: string;
|
|
10134
|
-
is_active?: boolean;
|
|
10135
|
-
leave_balance_hours?: number;
|
|
10136
|
-
name: string;
|
|
10137
|
-
persnr?: number | null;
|
|
10138
|
-
phone?: string | null;
|
|
10139
|
-
role?: string;
|
|
10140
|
-
tenant_id: string;
|
|
10141
|
-
updated_at?: string;
|
|
10142
|
-
user_id?: string | null;
|
|
10143
|
-
};
|
|
10144
|
-
Update: {
|
|
10145
|
-
avatar_url?: string | null;
|
|
10146
|
-
color?: string | null;
|
|
10147
|
-
created_at?: string;
|
|
10148
|
-
email?: string | null;
|
|
10149
|
-
id?: string;
|
|
10150
|
-
is_active?: boolean;
|
|
10151
|
-
leave_balance_hours?: number;
|
|
10152
|
-
name?: string;
|
|
10153
|
-
persnr?: number | null;
|
|
10154
|
-
phone?: string | null;
|
|
10155
|
-
role?: string;
|
|
10156
|
-
tenant_id?: string;
|
|
10800
|
+
description?: string | null;
|
|
10801
|
+
id?: string;
|
|
10802
|
+
is_active?: boolean;
|
|
10803
|
+
last_seen_at?: string | null;
|
|
10804
|
+
module_key?: string;
|
|
10805
|
+
module_name?: string;
|
|
10157
10806
|
updated_at?: string;
|
|
10158
|
-
user_id?: string | null;
|
|
10159
10807
|
};
|
|
10160
|
-
Relationships: [
|
|
10161
|
-
foreignKeyName: "monteurs_tenant_id_fkey";
|
|
10162
|
-
columns: ["tenant_id"];
|
|
10163
|
-
isOneToOne: false;
|
|
10164
|
-
referencedRelation: "tenants";
|
|
10165
|
-
referencedColumns: ["id"];
|
|
10166
|
-
}];
|
|
10808
|
+
Relationships: [];
|
|
10167
10809
|
};
|
|
10168
10810
|
nmbrs_component_mapping: {
|
|
10169
10811
|
Row: {
|
|
@@ -10235,13 +10877,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
10235
10877
|
nmbrs_employee_number?: string;
|
|
10236
10878
|
updated_at?: string;
|
|
10237
10879
|
};
|
|
10238
|
-
Relationships: [
|
|
10239
|
-
foreignKeyName: "nmbrs_employee_mapping_monteur_id_fkey";
|
|
10240
|
-
columns: ["monteur_id"];
|
|
10241
|
-
isOneToOne: true;
|
|
10242
|
-
referencedRelation: "monteurs";
|
|
10243
|
-
referencedColumns: ["id"];
|
|
10244
|
-
}];
|
|
10880
|
+
Relationships: [];
|
|
10245
10881
|
};
|
|
10246
10882
|
nmbrs_export_lines: {
|
|
10247
10883
|
Row: {
|
|
@@ -10290,12 +10926,6 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
10290
10926
|
wage_code?: string;
|
|
10291
10927
|
};
|
|
10292
10928
|
Relationships: [{
|
|
10293
|
-
foreignKeyName: "nmbrs_export_lines_monteur_id_fkey";
|
|
10294
|
-
columns: ["monteur_id"];
|
|
10295
|
-
isOneToOne: false;
|
|
10296
|
-
referencedRelation: "monteurs";
|
|
10297
|
-
referencedColumns: ["id"];
|
|
10298
|
-
}, {
|
|
10299
10929
|
foreignKeyName: "nmbrs_export_lines_run_id_fkey";
|
|
10300
10930
|
columns: ["run_id"];
|
|
10301
10931
|
isOneToOne: false;
|
|
@@ -11118,6 +11748,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
11118
11748
|
};
|
|
11119
11749
|
order_invoice_links: {
|
|
11120
11750
|
Row: {
|
|
11751
|
+
administration_code: string | null;
|
|
11121
11752
|
attempts: number;
|
|
11122
11753
|
created_at: string;
|
|
11123
11754
|
error_message: string | null;
|
|
@@ -11130,6 +11761,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
11130
11761
|
updated_at: string;
|
|
11131
11762
|
};
|
|
11132
11763
|
Insert: {
|
|
11764
|
+
administration_code?: string | null;
|
|
11133
11765
|
attempts?: number;
|
|
11134
11766
|
created_at?: string;
|
|
11135
11767
|
error_message?: string | null;
|
|
@@ -11142,6 +11774,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
11142
11774
|
updated_at?: string;
|
|
11143
11775
|
};
|
|
11144
11776
|
Update: {
|
|
11777
|
+
administration_code?: string | null;
|
|
11145
11778
|
attempts?: number;
|
|
11146
11779
|
created_at?: string;
|
|
11147
11780
|
error_message?: string | null;
|
|
@@ -11329,6 +11962,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
11329
11962
|
orders: {
|
|
11330
11963
|
Row: {
|
|
11331
11964
|
buffer_id: string | null;
|
|
11965
|
+
cancel_reason: string | null;
|
|
11966
|
+
cancelled_at: string | null;
|
|
11332
11967
|
created_at: string;
|
|
11333
11968
|
custom_fields: import("./types.js").Json;
|
|
11334
11969
|
customer_id: string | null;
|
|
@@ -11351,6 +11986,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
11351
11986
|
};
|
|
11352
11987
|
Insert: {
|
|
11353
11988
|
buffer_id?: string | null;
|
|
11989
|
+
cancel_reason?: string | null;
|
|
11990
|
+
cancelled_at?: string | null;
|
|
11354
11991
|
created_at?: string;
|
|
11355
11992
|
custom_fields?: import("./types.js").Json;
|
|
11356
11993
|
customer_id?: string | null;
|
|
@@ -11373,6 +12010,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
11373
12010
|
};
|
|
11374
12011
|
Update: {
|
|
11375
12012
|
buffer_id?: string | null;
|
|
12013
|
+
cancel_reason?: string | null;
|
|
12014
|
+
cancelled_at?: string | null;
|
|
11376
12015
|
created_at?: string;
|
|
11377
12016
|
custom_fields?: import("./types.js").Json;
|
|
11378
12017
|
customer_id?: string | null;
|
|
@@ -12301,6 +12940,27 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
12301
12940
|
referencedColumns: ["id"];
|
|
12302
12941
|
}];
|
|
12303
12942
|
};
|
|
12943
|
+
pick_sync_state: {
|
|
12944
|
+
Row: {
|
|
12945
|
+
id: boolean;
|
|
12946
|
+
last_cleanup_at: string | null;
|
|
12947
|
+
last_sync_at: string | null;
|
|
12948
|
+
updated_at: string;
|
|
12949
|
+
};
|
|
12950
|
+
Insert: {
|
|
12951
|
+
id?: boolean;
|
|
12952
|
+
last_cleanup_at?: string | null;
|
|
12953
|
+
last_sync_at?: string | null;
|
|
12954
|
+
updated_at?: string;
|
|
12955
|
+
};
|
|
12956
|
+
Update: {
|
|
12957
|
+
id?: boolean;
|
|
12958
|
+
last_cleanup_at?: string | null;
|
|
12959
|
+
last_sync_at?: string | null;
|
|
12960
|
+
updated_at?: string;
|
|
12961
|
+
};
|
|
12962
|
+
Relationships: [];
|
|
12963
|
+
};
|
|
12304
12964
|
pick_task_document_types: {
|
|
12305
12965
|
Row: {
|
|
12306
12966
|
created_at: string;
|
|
@@ -12583,6 +13243,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
12583
13243
|
gebruiker_id: string | null;
|
|
12584
13244
|
gebruiker_naam: string;
|
|
12585
13245
|
gestart_op: string | null;
|
|
13246
|
+
herkomst: string | null;
|
|
12586
13247
|
id: string;
|
|
12587
13248
|
idempotentie_sleutel: string | null;
|
|
12588
13249
|
is_herprint: boolean;
|
|
@@ -12612,6 +13273,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
12612
13273
|
gebruiker_id?: string | null;
|
|
12613
13274
|
gebruiker_naam?: string;
|
|
12614
13275
|
gestart_op?: string | null;
|
|
13276
|
+
herkomst?: string | null;
|
|
12615
13277
|
id?: string;
|
|
12616
13278
|
idempotentie_sleutel?: string | null;
|
|
12617
13279
|
is_herprint?: boolean;
|
|
@@ -12641,6 +13303,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
12641
13303
|
gebruiker_id?: string | null;
|
|
12642
13304
|
gebruiker_naam?: string;
|
|
12643
13305
|
gestart_op?: string | null;
|
|
13306
|
+
herkomst?: string | null;
|
|
12644
13307
|
id?: string;
|
|
12645
13308
|
idempotentie_sleutel?: string | null;
|
|
12646
13309
|
is_herprint?: boolean;
|
|
@@ -13435,6 +14098,66 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
13435
14098
|
};
|
|
13436
14099
|
Relationships: [];
|
|
13437
14100
|
};
|
|
14101
|
+
profile_modules: {
|
|
14102
|
+
Row: {
|
|
14103
|
+
created_at: string;
|
|
14104
|
+
id: string;
|
|
14105
|
+
module_id: string;
|
|
14106
|
+
profile_id: string;
|
|
14107
|
+
};
|
|
14108
|
+
Insert: {
|
|
14109
|
+
created_at?: string;
|
|
14110
|
+
id?: string;
|
|
14111
|
+
module_id: string;
|
|
14112
|
+
profile_id: string;
|
|
14113
|
+
};
|
|
14114
|
+
Update: {
|
|
14115
|
+
created_at?: string;
|
|
14116
|
+
id?: string;
|
|
14117
|
+
module_id?: string;
|
|
14118
|
+
profile_id?: string;
|
|
14119
|
+
};
|
|
14120
|
+
Relationships: [{
|
|
14121
|
+
foreignKeyName: "profile_modules_profile_id_fkey";
|
|
14122
|
+
columns: ["profile_id"];
|
|
14123
|
+
isOneToOne: false;
|
|
14124
|
+
referencedRelation: "profiles_org";
|
|
14125
|
+
referencedColumns: ["id"];
|
|
14126
|
+
}];
|
|
14127
|
+
};
|
|
14128
|
+
profile_roles: {
|
|
14129
|
+
Row: {
|
|
14130
|
+
created_at: string;
|
|
14131
|
+
id: string;
|
|
14132
|
+
profile_id: string;
|
|
14133
|
+
role_id: string;
|
|
14134
|
+
};
|
|
14135
|
+
Insert: {
|
|
14136
|
+
created_at?: string;
|
|
14137
|
+
id?: string;
|
|
14138
|
+
profile_id: string;
|
|
14139
|
+
role_id: string;
|
|
14140
|
+
};
|
|
14141
|
+
Update: {
|
|
14142
|
+
created_at?: string;
|
|
14143
|
+
id?: string;
|
|
14144
|
+
profile_id?: string;
|
|
14145
|
+
role_id?: string;
|
|
14146
|
+
};
|
|
14147
|
+
Relationships: [{
|
|
14148
|
+
foreignKeyName: "profile_roles_profile_id_fkey";
|
|
14149
|
+
columns: ["profile_id"];
|
|
14150
|
+
isOneToOne: false;
|
|
14151
|
+
referencedRelation: "profiles_org";
|
|
14152
|
+
referencedColumns: ["id"];
|
|
14153
|
+
}, {
|
|
14154
|
+
foreignKeyName: "profile_roles_role_id_fkey";
|
|
14155
|
+
columns: ["role_id"];
|
|
14156
|
+
isOneToOne: false;
|
|
14157
|
+
referencedRelation: "roles";
|
|
14158
|
+
referencedColumns: ["id"];
|
|
14159
|
+
}];
|
|
14160
|
+
};
|
|
13438
14161
|
profiles: {
|
|
13439
14162
|
Row: {
|
|
13440
14163
|
address: string | null;
|
|
@@ -13480,6 +14203,39 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
13480
14203
|
referencedColumns: ["id"];
|
|
13481
14204
|
}];
|
|
13482
14205
|
};
|
|
14206
|
+
profiles_org: {
|
|
14207
|
+
Row: {
|
|
14208
|
+
created_at: string;
|
|
14209
|
+
id: string;
|
|
14210
|
+
is_default: boolean;
|
|
14211
|
+
name: string;
|
|
14212
|
+
tenant_id: string | null;
|
|
14213
|
+
updated_at: string;
|
|
14214
|
+
};
|
|
14215
|
+
Insert: {
|
|
14216
|
+
created_at?: string;
|
|
14217
|
+
id?: string;
|
|
14218
|
+
is_default?: boolean;
|
|
14219
|
+
name: string;
|
|
14220
|
+
tenant_id?: string | null;
|
|
14221
|
+
updated_at?: string;
|
|
14222
|
+
};
|
|
14223
|
+
Update: {
|
|
14224
|
+
created_at?: string;
|
|
14225
|
+
id?: string;
|
|
14226
|
+
is_default?: boolean;
|
|
14227
|
+
name?: string;
|
|
14228
|
+
tenant_id?: string | null;
|
|
14229
|
+
updated_at?: string;
|
|
14230
|
+
};
|
|
14231
|
+
Relationships: [{
|
|
14232
|
+
foreignKeyName: "profiles_org_tenant_id_fkey";
|
|
14233
|
+
columns: ["tenant_id"];
|
|
14234
|
+
isOneToOne: false;
|
|
14235
|
+
referencedRelation: "tenants";
|
|
14236
|
+
referencedColumns: ["id"];
|
|
14237
|
+
}];
|
|
14238
|
+
};
|
|
13483
14239
|
projects: {
|
|
13484
14240
|
Row: {
|
|
13485
14241
|
contact_name: string | null;
|
|
@@ -14654,6 +15410,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
14654
15410
|
type: string;
|
|
14655
15411
|
updated_at: string;
|
|
14656
15412
|
vereist_medewerker: boolean;
|
|
15413
|
+
werkplek: string | null;
|
|
14657
15414
|
};
|
|
14658
15415
|
Insert: {
|
|
14659
15416
|
actief?: boolean;
|
|
@@ -14667,6 +15424,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
14667
15424
|
type?: string;
|
|
14668
15425
|
updated_at?: string;
|
|
14669
15426
|
vereist_medewerker?: boolean;
|
|
15427
|
+
werkplek?: string | null;
|
|
14670
15428
|
};
|
|
14671
15429
|
Update: {
|
|
14672
15430
|
actief?: boolean;
|
|
@@ -14680,9 +15438,46 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
14680
15438
|
type?: string;
|
|
14681
15439
|
updated_at?: string;
|
|
14682
15440
|
vereist_medewerker?: boolean;
|
|
15441
|
+
werkplek?: string | null;
|
|
14683
15442
|
};
|
|
14684
15443
|
Relationships: [];
|
|
14685
15444
|
};
|
|
15445
|
+
sick_periods: {
|
|
15446
|
+
Row: {
|
|
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
|
+
Insert: {
|
|
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
|
+
Update: {
|
|
15465
|
+
created_at?: string;
|
|
15466
|
+
employee_id?: string;
|
|
15467
|
+
end_date?: string | null;
|
|
15468
|
+
id?: string;
|
|
15469
|
+
notes?: string | null;
|
|
15470
|
+
start_date?: string;
|
|
15471
|
+
updated_at?: string;
|
|
15472
|
+
};
|
|
15473
|
+
Relationships: [{
|
|
15474
|
+
foreignKeyName: "sick_periods_employee_id_fkey";
|
|
15475
|
+
columns: ["employee_id"];
|
|
15476
|
+
isOneToOne: false;
|
|
15477
|
+
referencedRelation: "profiles";
|
|
15478
|
+
referencedColumns: ["id"];
|
|
15479
|
+
}];
|
|
15480
|
+
};
|
|
14686
15481
|
sidebar_config: {
|
|
14687
15482
|
Row: {
|
|
14688
15483
|
id: string;
|
|
@@ -14980,6 +15775,54 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
14980
15775
|
};
|
|
14981
15776
|
Relationships: [];
|
|
14982
15777
|
};
|
|
15778
|
+
time_compensation_entries: {
|
|
15779
|
+
Row: {
|
|
15780
|
+
created_at: string;
|
|
15781
|
+
employee_id: string;
|
|
15782
|
+
entry_date: string;
|
|
15783
|
+
id: string;
|
|
15784
|
+
km: number;
|
|
15785
|
+
meal_allowance: number;
|
|
15786
|
+
notes: string | null;
|
|
15787
|
+
standby_evening: number;
|
|
15788
|
+
standby_weekend: number;
|
|
15789
|
+
tvt_change: number;
|
|
15790
|
+
updated_at: string;
|
|
15791
|
+
};
|
|
15792
|
+
Insert: {
|
|
15793
|
+
created_at?: string;
|
|
15794
|
+
employee_id: string;
|
|
15795
|
+
entry_date: string;
|
|
15796
|
+
id?: string;
|
|
15797
|
+
km?: number;
|
|
15798
|
+
meal_allowance?: number;
|
|
15799
|
+
notes?: string | null;
|
|
15800
|
+
standby_evening?: number;
|
|
15801
|
+
standby_weekend?: number;
|
|
15802
|
+
tvt_change?: number;
|
|
15803
|
+
updated_at?: string;
|
|
15804
|
+
};
|
|
15805
|
+
Update: {
|
|
15806
|
+
created_at?: string;
|
|
15807
|
+
employee_id?: string;
|
|
15808
|
+
entry_date?: string;
|
|
15809
|
+
id?: string;
|
|
15810
|
+
km?: number;
|
|
15811
|
+
meal_allowance?: number;
|
|
15812
|
+
notes?: string | null;
|
|
15813
|
+
standby_evening?: number;
|
|
15814
|
+
standby_weekend?: number;
|
|
15815
|
+
tvt_change?: number;
|
|
15816
|
+
updated_at?: string;
|
|
15817
|
+
};
|
|
15818
|
+
Relationships: [{
|
|
15819
|
+
foreignKeyName: "time_compensation_entries_employee_id_fkey";
|
|
15820
|
+
columns: ["employee_id"];
|
|
15821
|
+
isOneToOne: false;
|
|
15822
|
+
referencedRelation: "profiles";
|
|
15823
|
+
referencedColumns: ["id"];
|
|
15824
|
+
}];
|
|
15825
|
+
};
|
|
14983
15826
|
time_entries: {
|
|
14984
15827
|
Row: {
|
|
14985
15828
|
created_at: string;
|
|
@@ -15014,65 +15857,170 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
15014
15857
|
undertime?: number;
|
|
15015
15858
|
updated_at?: string;
|
|
15016
15859
|
};
|
|
15860
|
+
Relationships: [];
|
|
15861
|
+
};
|
|
15862
|
+
time_log_week_approvals: {
|
|
15863
|
+
Row: {
|
|
15864
|
+
approved_at: string | null;
|
|
15865
|
+
approved_by: string | null;
|
|
15866
|
+
created_at: string;
|
|
15867
|
+
employee_id: string;
|
|
15868
|
+
id: string;
|
|
15869
|
+
locked: boolean;
|
|
15870
|
+
notes: string | null;
|
|
15871
|
+
status: string;
|
|
15872
|
+
submitted_at: string | null;
|
|
15873
|
+
updated_at: string;
|
|
15874
|
+
week_start: string;
|
|
15875
|
+
};
|
|
15876
|
+
Insert: {
|
|
15877
|
+
approved_at?: string | null;
|
|
15878
|
+
approved_by?: string | null;
|
|
15879
|
+
created_at?: string;
|
|
15880
|
+
employee_id: string;
|
|
15881
|
+
id?: string;
|
|
15882
|
+
locked?: boolean;
|
|
15883
|
+
notes?: string | null;
|
|
15884
|
+
status?: string;
|
|
15885
|
+
submitted_at?: string | null;
|
|
15886
|
+
updated_at?: string;
|
|
15887
|
+
week_start: string;
|
|
15888
|
+
};
|
|
15889
|
+
Update: {
|
|
15890
|
+
approved_at?: string | null;
|
|
15891
|
+
approved_by?: string | null;
|
|
15892
|
+
created_at?: string;
|
|
15893
|
+
employee_id?: string;
|
|
15894
|
+
id?: string;
|
|
15895
|
+
locked?: boolean;
|
|
15896
|
+
notes?: string | null;
|
|
15897
|
+
status?: string;
|
|
15898
|
+
submitted_at?: string | null;
|
|
15899
|
+
updated_at?: string;
|
|
15900
|
+
week_start?: string;
|
|
15901
|
+
};
|
|
15017
15902
|
Relationships: [{
|
|
15018
|
-
foreignKeyName: "
|
|
15903
|
+
foreignKeyName: "time_log_week_approvals_employee_id_fkey";
|
|
15019
15904
|
columns: ["employee_id"];
|
|
15020
15905
|
isOneToOne: false;
|
|
15021
|
-
referencedRelation: "
|
|
15906
|
+
referencedRelation: "profiles";
|
|
15022
15907
|
referencedColumns: ["id"];
|
|
15023
15908
|
}];
|
|
15024
15909
|
};
|
|
15025
15910
|
time_logs: {
|
|
15026
15911
|
Row: {
|
|
15912
|
+
auto_stop_reason: string | null;
|
|
15913
|
+
auto_stopped: boolean;
|
|
15027
15914
|
created_at: string;
|
|
15915
|
+
current_latitude: number | null;
|
|
15916
|
+
current_longitude: number | null;
|
|
15917
|
+
current_position_updated_at: string | null;
|
|
15028
15918
|
employee_id: string;
|
|
15919
|
+
end_latitude: number | null;
|
|
15920
|
+
end_longitude: number | null;
|
|
15029
15921
|
end_time: string | null;
|
|
15922
|
+
eta_distance_km: number | null;
|
|
15923
|
+
eta_minutes: number | null;
|
|
15924
|
+
eta_updated_at: string | null;
|
|
15925
|
+
hour_category: string | null;
|
|
15030
15926
|
id: string;
|
|
15927
|
+
last_reminder_at: string | null;
|
|
15031
15928
|
notes: string | null;
|
|
15032
15929
|
overtime_hours: number;
|
|
15033
15930
|
overtime_type: string | null;
|
|
15034
15931
|
regular_hours: number;
|
|
15932
|
+
reminder_count: number;
|
|
15933
|
+
requires_review: boolean;
|
|
15934
|
+
start_latitude: number | null;
|
|
15935
|
+
start_longitude: number | null;
|
|
15035
15936
|
start_time: string;
|
|
15036
15937
|
travel_cost: number | null;
|
|
15037
15938
|
travel_distance_km: number | null;
|
|
15939
|
+
travel_duration_min: number | null;
|
|
15940
|
+
travel_time_minutes: number | null;
|
|
15038
15941
|
type: string;
|
|
15039
15942
|
updated_at: string;
|
|
15943
|
+
work_order_id: string | null;
|
|
15040
15944
|
};
|
|
15041
15945
|
Insert: {
|
|
15946
|
+
auto_stop_reason?: string | null;
|
|
15947
|
+
auto_stopped?: boolean;
|
|
15042
15948
|
created_at?: string;
|
|
15949
|
+
current_latitude?: number | null;
|
|
15950
|
+
current_longitude?: number | null;
|
|
15951
|
+
current_position_updated_at?: string | null;
|
|
15043
15952
|
employee_id: string;
|
|
15953
|
+
end_latitude?: number | null;
|
|
15954
|
+
end_longitude?: number | null;
|
|
15044
15955
|
end_time?: string | null;
|
|
15956
|
+
eta_distance_km?: number | null;
|
|
15957
|
+
eta_minutes?: number | null;
|
|
15958
|
+
eta_updated_at?: string | null;
|
|
15959
|
+
hour_category?: string | null;
|
|
15045
15960
|
id?: string;
|
|
15961
|
+
last_reminder_at?: string | null;
|
|
15046
15962
|
notes?: string | null;
|
|
15047
15963
|
overtime_hours?: number;
|
|
15048
15964
|
overtime_type?: string | null;
|
|
15049
15965
|
regular_hours?: number;
|
|
15966
|
+
reminder_count?: number;
|
|
15967
|
+
requires_review?: boolean;
|
|
15968
|
+
start_latitude?: number | null;
|
|
15969
|
+
start_longitude?: number | null;
|
|
15050
15970
|
start_time?: string;
|
|
15051
15971
|
travel_cost?: number | null;
|
|
15052
15972
|
travel_distance_km?: number | null;
|
|
15973
|
+
travel_duration_min?: number | null;
|
|
15974
|
+
travel_time_minutes?: number | null;
|
|
15053
15975
|
type: string;
|
|
15054
15976
|
updated_at?: string;
|
|
15977
|
+
work_order_id?: string | null;
|
|
15055
15978
|
};
|
|
15056
15979
|
Update: {
|
|
15980
|
+
auto_stop_reason?: string | null;
|
|
15981
|
+
auto_stopped?: boolean;
|
|
15057
15982
|
created_at?: string;
|
|
15983
|
+
current_latitude?: number | null;
|
|
15984
|
+
current_longitude?: number | null;
|
|
15985
|
+
current_position_updated_at?: string | null;
|
|
15058
15986
|
employee_id?: string;
|
|
15987
|
+
end_latitude?: number | null;
|
|
15988
|
+
end_longitude?: number | null;
|
|
15059
15989
|
end_time?: string | null;
|
|
15990
|
+
eta_distance_km?: number | null;
|
|
15991
|
+
eta_minutes?: number | null;
|
|
15992
|
+
eta_updated_at?: string | null;
|
|
15993
|
+
hour_category?: string | null;
|
|
15060
15994
|
id?: string;
|
|
15995
|
+
last_reminder_at?: string | null;
|
|
15061
15996
|
notes?: string | null;
|
|
15062
15997
|
overtime_hours?: number;
|
|
15063
15998
|
overtime_type?: string | null;
|
|
15064
15999
|
regular_hours?: number;
|
|
16000
|
+
reminder_count?: number;
|
|
16001
|
+
requires_review?: boolean;
|
|
16002
|
+
start_latitude?: number | null;
|
|
16003
|
+
start_longitude?: number | null;
|
|
15065
16004
|
start_time?: string;
|
|
15066
16005
|
travel_cost?: number | null;
|
|
15067
16006
|
travel_distance_km?: number | null;
|
|
16007
|
+
travel_duration_min?: number | null;
|
|
16008
|
+
travel_time_minutes?: number | null;
|
|
15068
16009
|
type?: string;
|
|
15069
16010
|
updated_at?: string;
|
|
16011
|
+
work_order_id?: string | null;
|
|
15070
16012
|
};
|
|
15071
16013
|
Relationships: [{
|
|
15072
16014
|
foreignKeyName: "time_logs_employee_id_fkey";
|
|
15073
16015
|
columns: ["employee_id"];
|
|
15074
16016
|
isOneToOne: false;
|
|
15075
|
-
referencedRelation: "
|
|
16017
|
+
referencedRelation: "profiles";
|
|
16018
|
+
referencedColumns: ["id"];
|
|
16019
|
+
}, {
|
|
16020
|
+
foreignKeyName: "time_logs_work_order_id_fkey";
|
|
16021
|
+
columns: ["work_order_id"];
|
|
16022
|
+
isOneToOne: false;
|
|
16023
|
+
referencedRelation: "work_orders";
|
|
15076
16024
|
referencedColumns: ["id"];
|
|
15077
16025
|
}];
|
|
15078
16026
|
};
|
|
@@ -15111,7 +16059,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
15111
16059
|
foreignKeyName: "time_off_entries_employee_id_fkey";
|
|
15112
16060
|
columns: ["employee_id"];
|
|
15113
16061
|
isOneToOne: false;
|
|
15114
|
-
referencedRelation: "
|
|
16062
|
+
referencedRelation: "profiles";
|
|
15115
16063
|
referencedColumns: ["id"];
|
|
15116
16064
|
}];
|
|
15117
16065
|
};
|
|
@@ -15360,12 +16308,16 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
15360
16308
|
company_name: string | null;
|
|
15361
16309
|
connected_at: string | null;
|
|
15362
16310
|
created_at: string;
|
|
16311
|
+
disconnected_at: string | null;
|
|
15363
16312
|
environment: string;
|
|
15364
16313
|
id: string;
|
|
16314
|
+
initial_sync_completed_at: string | null;
|
|
16315
|
+
initial_sync_started_at: string | null;
|
|
15365
16316
|
is_active: boolean;
|
|
15366
16317
|
label: string | null;
|
|
15367
16318
|
office_code: string | null;
|
|
15368
16319
|
redirect_uri: string | null;
|
|
16320
|
+
superseded_at: string | null;
|
|
15369
16321
|
updated_at: string;
|
|
15370
16322
|
user_id: string;
|
|
15371
16323
|
};
|
|
@@ -15376,12 +16328,16 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
15376
16328
|
company_name?: string | null;
|
|
15377
16329
|
connected_at?: string | null;
|
|
15378
16330
|
created_at?: string;
|
|
16331
|
+
disconnected_at?: string | null;
|
|
15379
16332
|
environment: string;
|
|
15380
16333
|
id?: string;
|
|
16334
|
+
initial_sync_completed_at?: string | null;
|
|
16335
|
+
initial_sync_started_at?: string | null;
|
|
15381
16336
|
is_active?: boolean;
|
|
15382
16337
|
label?: string | null;
|
|
15383
16338
|
office_code?: string | null;
|
|
15384
16339
|
redirect_uri?: string | null;
|
|
16340
|
+
superseded_at?: string | null;
|
|
15385
16341
|
updated_at?: string;
|
|
15386
16342
|
user_id: string;
|
|
15387
16343
|
};
|
|
@@ -15392,12 +16348,16 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
15392
16348
|
company_name?: string | null;
|
|
15393
16349
|
connected_at?: string | null;
|
|
15394
16350
|
created_at?: string;
|
|
16351
|
+
disconnected_at?: string | null;
|
|
15395
16352
|
environment?: string;
|
|
15396
16353
|
id?: string;
|
|
16354
|
+
initial_sync_completed_at?: string | null;
|
|
16355
|
+
initial_sync_started_at?: string | null;
|
|
15397
16356
|
is_active?: boolean;
|
|
15398
16357
|
label?: string | null;
|
|
15399
16358
|
office_code?: string | null;
|
|
15400
16359
|
redirect_uri?: string | null;
|
|
16360
|
+
superseded_at?: string | null;
|
|
15401
16361
|
updated_at?: string;
|
|
15402
16362
|
user_id?: string;
|
|
15403
16363
|
};
|
|
@@ -15416,14 +16376,48 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
15416
16376
|
};
|
|
15417
16377
|
Update: {
|
|
15418
16378
|
created_at?: string;
|
|
15419
|
-
id?: number;
|
|
15420
|
-
secret?: string;
|
|
16379
|
+
id?: number;
|
|
16380
|
+
secret?: string;
|
|
16381
|
+
};
|
|
16382
|
+
Relationships: [];
|
|
16383
|
+
};
|
|
16384
|
+
twinfield_cron_locks: {
|
|
16385
|
+
Row: {
|
|
16386
|
+
created_at: string;
|
|
16387
|
+
heartbeat_at: string;
|
|
16388
|
+
job_name: string;
|
|
16389
|
+
last_error: string | null;
|
|
16390
|
+
last_finished_at: string | null;
|
|
16391
|
+
locked_at: string;
|
|
16392
|
+
run_id: string;
|
|
16393
|
+
updated_at: string;
|
|
16394
|
+
};
|
|
16395
|
+
Insert: {
|
|
16396
|
+
created_at?: string;
|
|
16397
|
+
heartbeat_at?: string;
|
|
16398
|
+
job_name: string;
|
|
16399
|
+
last_error?: string | null;
|
|
16400
|
+
last_finished_at?: string | null;
|
|
16401
|
+
locked_at?: string;
|
|
16402
|
+
run_id?: string;
|
|
16403
|
+
updated_at?: string;
|
|
16404
|
+
};
|
|
16405
|
+
Update: {
|
|
16406
|
+
created_at?: string;
|
|
16407
|
+
heartbeat_at?: string;
|
|
16408
|
+
job_name?: string;
|
|
16409
|
+
last_error?: string | null;
|
|
16410
|
+
last_finished_at?: string | null;
|
|
16411
|
+
locked_at?: string;
|
|
16412
|
+
run_id?: string;
|
|
16413
|
+
updated_at?: string;
|
|
15421
16414
|
};
|
|
15422
16415
|
Relationships: [];
|
|
15423
16416
|
};
|
|
15424
16417
|
twinfield_customers: {
|
|
15425
16418
|
Row: {
|
|
15426
16419
|
address: string | null;
|
|
16420
|
+
administration_code: string;
|
|
15427
16421
|
city: string | null;
|
|
15428
16422
|
country: string | null;
|
|
15429
16423
|
created_at: string;
|
|
@@ -15443,6 +16437,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
15443
16437
|
};
|
|
15444
16438
|
Insert: {
|
|
15445
16439
|
address?: string | null;
|
|
16440
|
+
administration_code?: string;
|
|
15446
16441
|
city?: string | null;
|
|
15447
16442
|
country?: string | null;
|
|
15448
16443
|
created_at?: string;
|
|
@@ -15462,6 +16457,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
15462
16457
|
};
|
|
15463
16458
|
Update: {
|
|
15464
16459
|
address?: string | null;
|
|
16460
|
+
administration_code?: string;
|
|
15465
16461
|
city?: string | null;
|
|
15466
16462
|
country?: string | null;
|
|
15467
16463
|
created_at?: string;
|
|
@@ -15675,7 +16671,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
15675
16671
|
};
|
|
15676
16672
|
twinfield_invoice_settings: {
|
|
15677
16673
|
Row: {
|
|
16674
|
+
administration_code: string | null;
|
|
15678
16675
|
auto_invoice_enabled: boolean;
|
|
16676
|
+
auto_invoice_start_date: string | null;
|
|
15679
16677
|
auto_invoice_trigger_statuses: string[];
|
|
15680
16678
|
created_at: string;
|
|
15681
16679
|
debtor_gl_account: string;
|
|
@@ -15689,15 +16687,19 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
15689
16687
|
invoice_enabled_fo: boolean;
|
|
15690
16688
|
invoice_enabled_ho: boolean;
|
|
15691
16689
|
invoice_enabled_mo: boolean;
|
|
16690
|
+
needs_review: boolean;
|
|
15692
16691
|
payment_gl_account: string;
|
|
15693
16692
|
payment_journal_code: string;
|
|
16693
|
+
settings_confirmed_at: string | null;
|
|
15694
16694
|
updated_at: string;
|
|
15695
16695
|
user_id: string;
|
|
15696
16696
|
vat_code_eu_reverse: string | null;
|
|
15697
16697
|
vat_code_export: string | null;
|
|
15698
16698
|
};
|
|
15699
16699
|
Insert: {
|
|
16700
|
+
administration_code?: string | null;
|
|
15700
16701
|
auto_invoice_enabled?: boolean;
|
|
16702
|
+
auto_invoice_start_date?: string | null;
|
|
15701
16703
|
auto_invoice_trigger_statuses?: string[];
|
|
15702
16704
|
created_at?: string;
|
|
15703
16705
|
debtor_gl_account?: string;
|
|
@@ -15711,15 +16713,19 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
15711
16713
|
invoice_enabled_fo?: boolean;
|
|
15712
16714
|
invoice_enabled_ho?: boolean;
|
|
15713
16715
|
invoice_enabled_mo?: boolean;
|
|
16716
|
+
needs_review?: boolean;
|
|
15714
16717
|
payment_gl_account?: string;
|
|
15715
16718
|
payment_journal_code?: string;
|
|
16719
|
+
settings_confirmed_at?: string | null;
|
|
15716
16720
|
updated_at?: string;
|
|
15717
16721
|
user_id: string;
|
|
15718
16722
|
vat_code_eu_reverse?: string | null;
|
|
15719
16723
|
vat_code_export?: string | null;
|
|
15720
16724
|
};
|
|
15721
16725
|
Update: {
|
|
16726
|
+
administration_code?: string | null;
|
|
15722
16727
|
auto_invoice_enabled?: boolean;
|
|
16728
|
+
auto_invoice_start_date?: string | null;
|
|
15723
16729
|
auto_invoice_trigger_statuses?: string[];
|
|
15724
16730
|
created_at?: string;
|
|
15725
16731
|
debtor_gl_account?: string;
|
|
@@ -15733,8 +16739,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
15733
16739
|
invoice_enabled_fo?: boolean;
|
|
15734
16740
|
invoice_enabled_ho?: boolean;
|
|
15735
16741
|
invoice_enabled_mo?: boolean;
|
|
16742
|
+
needs_review?: boolean;
|
|
15736
16743
|
payment_gl_account?: string;
|
|
15737
16744
|
payment_journal_code?: string;
|
|
16745
|
+
settings_confirmed_at?: string | null;
|
|
15738
16746
|
updated_at?: string;
|
|
15739
16747
|
user_id?: string;
|
|
15740
16748
|
vat_code_eu_reverse?: string | null;
|
|
@@ -16021,6 +17029,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
16021
17029
|
twinfield_push_queue: {
|
|
16022
17030
|
Row: {
|
|
16023
17031
|
action: string;
|
|
17032
|
+
attempt_started_at: string | null;
|
|
16024
17033
|
attempts: number;
|
|
16025
17034
|
connection_id: string | null;
|
|
16026
17035
|
created_at: string;
|
|
@@ -16037,6 +17046,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
16037
17046
|
};
|
|
16038
17047
|
Insert: {
|
|
16039
17048
|
action?: string;
|
|
17049
|
+
attempt_started_at?: string | null;
|
|
16040
17050
|
attempts?: number;
|
|
16041
17051
|
connection_id?: string | null;
|
|
16042
17052
|
created_at?: string;
|
|
@@ -16053,6 +17063,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
16053
17063
|
};
|
|
16054
17064
|
Update: {
|
|
16055
17065
|
action?: string;
|
|
17066
|
+
attempt_started_at?: string | null;
|
|
16056
17067
|
attempts?: number;
|
|
16057
17068
|
connection_id?: string | null;
|
|
16058
17069
|
created_at?: string;
|
|
@@ -16250,13 +17261,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
16250
17261
|
workday_end?: string | null;
|
|
16251
17262
|
workday_start?: string | null;
|
|
16252
17263
|
};
|
|
16253
|
-
Relationships: [
|
|
16254
|
-
foreignKeyName: "uren_cao_profiles_monteur_id_fkey";
|
|
16255
|
-
columns: ["monteur_id"];
|
|
16256
|
-
isOneToOne: true;
|
|
16257
|
-
referencedRelation: "monteurs";
|
|
16258
|
-
referencedColumns: ["id"];
|
|
16259
|
-
}];
|
|
17264
|
+
Relationships: [];
|
|
16260
17265
|
};
|
|
16261
17266
|
uren_entries: {
|
|
16262
17267
|
Row: {
|
|
@@ -16302,12 +17307,6 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
16302
17307
|
werkbon_id?: string | null;
|
|
16303
17308
|
};
|
|
16304
17309
|
Relationships: [{
|
|
16305
|
-
foreignKeyName: "uren_entries_monteur_id_fkey";
|
|
16306
|
-
columns: ["monteur_id"];
|
|
16307
|
-
isOneToOne: false;
|
|
16308
|
-
referencedRelation: "monteurs";
|
|
16309
|
-
referencedColumns: ["id"];
|
|
16310
|
-
}, {
|
|
16311
17310
|
foreignKeyName: "uren_entries_werkbon_id_fkey";
|
|
16312
17311
|
columns: ["werkbon_id"];
|
|
16313
17312
|
isOneToOne: false;
|
|
@@ -16348,114 +17347,6 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
16348
17347
|
};
|
|
16349
17348
|
Relationships: [];
|
|
16350
17349
|
};
|
|
16351
|
-
uren_facturen: {
|
|
16352
|
-
Row: {
|
|
16353
|
-
created_at: string;
|
|
16354
|
-
created_by: string | null;
|
|
16355
|
-
customer_id: string | null;
|
|
16356
|
-
customer_name: string | null;
|
|
16357
|
-
id: string;
|
|
16358
|
-
invoice_number: string | null;
|
|
16359
|
-
note: string | null;
|
|
16360
|
-
status: string;
|
|
16361
|
-
total_excl_cents: number;
|
|
16362
|
-
total_incl_cents: number;
|
|
16363
|
-
updated_at: string;
|
|
16364
|
-
vat_cents: number;
|
|
16365
|
-
vat_percentage: number;
|
|
16366
|
-
werkbon_id: string | null;
|
|
16367
|
-
};
|
|
16368
|
-
Insert: {
|
|
16369
|
-
created_at?: string;
|
|
16370
|
-
created_by?: string | null;
|
|
16371
|
-
customer_id?: string | null;
|
|
16372
|
-
customer_name?: string | null;
|
|
16373
|
-
id?: string;
|
|
16374
|
-
invoice_number?: string | null;
|
|
16375
|
-
note?: string | null;
|
|
16376
|
-
status?: string;
|
|
16377
|
-
total_excl_cents?: number;
|
|
16378
|
-
total_incl_cents?: number;
|
|
16379
|
-
updated_at?: string;
|
|
16380
|
-
vat_cents?: number;
|
|
16381
|
-
vat_percentage?: number;
|
|
16382
|
-
werkbon_id?: string | null;
|
|
16383
|
-
};
|
|
16384
|
-
Update: {
|
|
16385
|
-
created_at?: string;
|
|
16386
|
-
created_by?: string | null;
|
|
16387
|
-
customer_id?: string | null;
|
|
16388
|
-
customer_name?: string | null;
|
|
16389
|
-
id?: string;
|
|
16390
|
-
invoice_number?: string | null;
|
|
16391
|
-
note?: string | null;
|
|
16392
|
-
status?: string;
|
|
16393
|
-
total_excl_cents?: number;
|
|
16394
|
-
total_incl_cents?: number;
|
|
16395
|
-
updated_at?: string;
|
|
16396
|
-
vat_cents?: number;
|
|
16397
|
-
vat_percentage?: number;
|
|
16398
|
-
werkbon_id?: string | null;
|
|
16399
|
-
};
|
|
16400
|
-
Relationships: [{
|
|
16401
|
-
foreignKeyName: "uren_facturen_customer_id_fkey";
|
|
16402
|
-
columns: ["customer_id"];
|
|
16403
|
-
isOneToOne: false;
|
|
16404
|
-
referencedRelation: "itk_customers";
|
|
16405
|
-
referencedColumns: ["id"];
|
|
16406
|
-
}, {
|
|
16407
|
-
foreignKeyName: "uren_facturen_werkbon_id_fkey";
|
|
16408
|
-
columns: ["werkbon_id"];
|
|
16409
|
-
isOneToOne: true;
|
|
16410
|
-
referencedRelation: "werkbonnen";
|
|
16411
|
-
referencedColumns: ["id"];
|
|
16412
|
-
}];
|
|
16413
|
-
};
|
|
16414
|
-
uren_factuur_regels: {
|
|
16415
|
-
Row: {
|
|
16416
|
-
created_at: string;
|
|
16417
|
-
description: string;
|
|
16418
|
-
factuur_id: string;
|
|
16419
|
-
id: string;
|
|
16420
|
-
kind: string | null;
|
|
16421
|
-
quantity: number;
|
|
16422
|
-
sort_order: number;
|
|
16423
|
-
total_cents: number;
|
|
16424
|
-
unit: string;
|
|
16425
|
-
unit_price_cents: number;
|
|
16426
|
-
};
|
|
16427
|
-
Insert: {
|
|
16428
|
-
created_at?: string;
|
|
16429
|
-
description: string;
|
|
16430
|
-
factuur_id: string;
|
|
16431
|
-
id?: string;
|
|
16432
|
-
kind?: string | null;
|
|
16433
|
-
quantity?: number;
|
|
16434
|
-
sort_order?: number;
|
|
16435
|
-
total_cents?: number;
|
|
16436
|
-
unit?: string;
|
|
16437
|
-
unit_price_cents?: number;
|
|
16438
|
-
};
|
|
16439
|
-
Update: {
|
|
16440
|
-
created_at?: string;
|
|
16441
|
-
description?: string;
|
|
16442
|
-
factuur_id?: string;
|
|
16443
|
-
id?: string;
|
|
16444
|
-
kind?: string | null;
|
|
16445
|
-
quantity?: number;
|
|
16446
|
-
sort_order?: number;
|
|
16447
|
-
total_cents?: number;
|
|
16448
|
-
unit?: string;
|
|
16449
|
-
unit_price_cents?: number;
|
|
16450
|
-
};
|
|
16451
|
-
Relationships: [{
|
|
16452
|
-
foreignKeyName: "uren_factuur_regels_factuur_id_fkey";
|
|
16453
|
-
columns: ["factuur_id"];
|
|
16454
|
-
isOneToOne: false;
|
|
16455
|
-
referencedRelation: "uren_facturen";
|
|
16456
|
-
referencedColumns: ["id"];
|
|
16457
|
-
}];
|
|
16458
|
-
};
|
|
16459
17350
|
uren_offerte_regels: {
|
|
16460
17351
|
Row: {
|
|
16461
17352
|
created_at: string;
|
|
@@ -16775,13 +17666,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
16775
17666
|
submitted_at?: string | null;
|
|
16776
17667
|
updated_at?: string;
|
|
16777
17668
|
};
|
|
16778
|
-
Relationships: [
|
|
16779
|
-
foreignKeyName: "uren_weekstaten_monteur_id_fkey";
|
|
16780
|
-
columns: ["monteur_id"];
|
|
16781
|
-
isOneToOne: false;
|
|
16782
|
-
referencedRelation: "monteurs";
|
|
16783
|
-
referencedColumns: ["id"];
|
|
16784
|
-
}];
|
|
17669
|
+
Relationships: [];
|
|
16785
17670
|
};
|
|
16786
17671
|
user_module_permissions: {
|
|
16787
17672
|
Row: {
|
|
@@ -16840,6 +17725,51 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
16840
17725
|
referencedColumns: ["id"];
|
|
16841
17726
|
}];
|
|
16842
17727
|
};
|
|
17728
|
+
van_inventories: {
|
|
17729
|
+
Row: {
|
|
17730
|
+
barcode: string | null;
|
|
17731
|
+
created_at: string;
|
|
17732
|
+
id: string;
|
|
17733
|
+
monteur_id: string | null;
|
|
17734
|
+
price_per_unit: number;
|
|
17735
|
+
product_name: string;
|
|
17736
|
+
quantity_current: number;
|
|
17737
|
+
quantity_min: number;
|
|
17738
|
+
unit: string;
|
|
17739
|
+
updated_at: string;
|
|
17740
|
+
};
|
|
17741
|
+
Insert: {
|
|
17742
|
+
barcode?: string | null;
|
|
17743
|
+
created_at?: string;
|
|
17744
|
+
id?: string;
|
|
17745
|
+
monteur_id?: string | null;
|
|
17746
|
+
price_per_unit?: number;
|
|
17747
|
+
product_name: string;
|
|
17748
|
+
quantity_current?: number;
|
|
17749
|
+
quantity_min?: number;
|
|
17750
|
+
unit?: string;
|
|
17751
|
+
updated_at?: string;
|
|
17752
|
+
};
|
|
17753
|
+
Update: {
|
|
17754
|
+
barcode?: string | null;
|
|
17755
|
+
created_at?: string;
|
|
17756
|
+
id?: string;
|
|
17757
|
+
monteur_id?: string | null;
|
|
17758
|
+
price_per_unit?: number;
|
|
17759
|
+
product_name?: string;
|
|
17760
|
+
quantity_current?: number;
|
|
17761
|
+
quantity_min?: number;
|
|
17762
|
+
unit?: string;
|
|
17763
|
+
updated_at?: string;
|
|
17764
|
+
};
|
|
17765
|
+
Relationships: [{
|
|
17766
|
+
foreignKeyName: "van_inventories_monteur_id_fkey";
|
|
17767
|
+
columns: ["monteur_id"];
|
|
17768
|
+
isOneToOne: false;
|
|
17769
|
+
referencedRelation: "profiles";
|
|
17770
|
+
referencedColumns: ["id"];
|
|
17771
|
+
}];
|
|
17772
|
+
};
|
|
16843
17773
|
voorraad_custom_fields: {
|
|
16844
17774
|
Row: {
|
|
16845
17775
|
created_at: string;
|
|
@@ -17670,6 +18600,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
17670
18600
|
scheduled_end_time: string | null;
|
|
17671
18601
|
scheduled_start_time: string | null;
|
|
17672
18602
|
sequence_number: number;
|
|
18603
|
+
signature_accepted_at: string | null;
|
|
18604
|
+
signature_by_user_id: string | null;
|
|
18605
|
+
signature_name: string | null;
|
|
17673
18606
|
source_email_meta: import("./types.js").Json | null;
|
|
17674
18607
|
source_mailbox_message_id: string | null;
|
|
17675
18608
|
source_pdf_path: string | null;
|
|
@@ -17705,6 +18638,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
17705
18638
|
scheduled_end_time?: string | null;
|
|
17706
18639
|
scheduled_start_time?: string | null;
|
|
17707
18640
|
sequence_number: number;
|
|
18641
|
+
signature_accepted_at?: string | null;
|
|
18642
|
+
signature_by_user_id?: string | null;
|
|
18643
|
+
signature_name?: string | null;
|
|
17708
18644
|
source_email_meta?: import("./types.js").Json | null;
|
|
17709
18645
|
source_mailbox_message_id?: string | null;
|
|
17710
18646
|
source_pdf_path?: string | null;
|
|
@@ -17740,6 +18676,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
17740
18676
|
scheduled_end_time?: string | null;
|
|
17741
18677
|
scheduled_start_time?: string | null;
|
|
17742
18678
|
sequence_number?: number;
|
|
18679
|
+
signature_accepted_at?: string | null;
|
|
18680
|
+
signature_by_user_id?: string | null;
|
|
18681
|
+
signature_name?: string | null;
|
|
17743
18682
|
source_email_meta?: import("./types.js").Json | null;
|
|
17744
18683
|
source_mailbox_message_id?: string | null;
|
|
17745
18684
|
source_pdf_path?: string | null;
|
|
@@ -17790,7 +18729,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
17790
18729
|
foreignKeyName: "work_order_monteurs_monteur_id_fkey";
|
|
17791
18730
|
columns: ["monteur_id"];
|
|
17792
18731
|
isOneToOne: false;
|
|
17793
|
-
referencedRelation: "
|
|
18732
|
+
referencedRelation: "profiles";
|
|
17794
18733
|
referencedColumns: ["id"];
|
|
17795
18734
|
}, {
|
|
17796
18735
|
foreignKeyName: "work_order_monteurs_work_order_id_fkey";
|
|
@@ -17800,6 +18739,60 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
17800
18739
|
referencedColumns: ["id"];
|
|
17801
18740
|
}];
|
|
17802
18741
|
};
|
|
18742
|
+
work_order_photos: {
|
|
18743
|
+
Row: {
|
|
18744
|
+
ai_caption: string | null;
|
|
18745
|
+
ai_categorized_at: string | null;
|
|
18746
|
+
ai_labels: import("./types.js").Json | null;
|
|
18747
|
+
caption: string | null;
|
|
18748
|
+
created_at: string;
|
|
18749
|
+
id: string;
|
|
18750
|
+
monteur_id: string | null;
|
|
18751
|
+
photo_type: string;
|
|
18752
|
+
storage_path: string;
|
|
18753
|
+
updated_at: string;
|
|
18754
|
+
work_order_id: string;
|
|
18755
|
+
};
|
|
18756
|
+
Insert: {
|
|
18757
|
+
ai_caption?: string | null;
|
|
18758
|
+
ai_categorized_at?: string | null;
|
|
18759
|
+
ai_labels?: import("./types.js").Json | null;
|
|
18760
|
+
caption?: string | null;
|
|
18761
|
+
created_at?: string;
|
|
18762
|
+
id?: string;
|
|
18763
|
+
monteur_id?: string | null;
|
|
18764
|
+
photo_type?: string;
|
|
18765
|
+
storage_path: string;
|
|
18766
|
+
updated_at?: string;
|
|
18767
|
+
work_order_id: string;
|
|
18768
|
+
};
|
|
18769
|
+
Update: {
|
|
18770
|
+
ai_caption?: string | null;
|
|
18771
|
+
ai_categorized_at?: string | null;
|
|
18772
|
+
ai_labels?: import("./types.js").Json | null;
|
|
18773
|
+
caption?: string | null;
|
|
18774
|
+
created_at?: string;
|
|
18775
|
+
id?: string;
|
|
18776
|
+
monteur_id?: string | null;
|
|
18777
|
+
photo_type?: string;
|
|
18778
|
+
storage_path?: string;
|
|
18779
|
+
updated_at?: string;
|
|
18780
|
+
work_order_id?: string;
|
|
18781
|
+
};
|
|
18782
|
+
Relationships: [{
|
|
18783
|
+
foreignKeyName: "work_order_photos_monteur_id_fkey";
|
|
18784
|
+
columns: ["monteur_id"];
|
|
18785
|
+
isOneToOne: false;
|
|
18786
|
+
referencedRelation: "profiles";
|
|
18787
|
+
referencedColumns: ["id"];
|
|
18788
|
+
}, {
|
|
18789
|
+
foreignKeyName: "work_order_photos_work_order_id_fkey";
|
|
18790
|
+
columns: ["work_order_id"];
|
|
18791
|
+
isOneToOne: false;
|
|
18792
|
+
referencedRelation: "work_orders";
|
|
18793
|
+
referencedColumns: ["id"];
|
|
18794
|
+
}];
|
|
18795
|
+
};
|
|
17803
18796
|
work_orders: {
|
|
17804
18797
|
Row: {
|
|
17805
18798
|
assigned_to: string | null;
|
|
@@ -17831,7 +18824,6 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
17831
18824
|
scheduled_end_time: string | null;
|
|
17832
18825
|
scheduled_start_time: string | null;
|
|
17833
18826
|
status: string;
|
|
17834
|
-
tenant_id: string;
|
|
17835
18827
|
total_hours_worked: number | null;
|
|
17836
18828
|
total_price: number | null;
|
|
17837
18829
|
travel_time_minutes: number | null;
|
|
@@ -17869,7 +18861,6 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
17869
18861
|
scheduled_end_time?: string | null;
|
|
17870
18862
|
scheduled_start_time?: string | null;
|
|
17871
18863
|
status?: string;
|
|
17872
|
-
tenant_id: string;
|
|
17873
18864
|
total_hours_worked?: number | null;
|
|
17874
18865
|
total_price?: number | null;
|
|
17875
18866
|
travel_time_minutes?: number | null;
|
|
@@ -17907,7 +18898,6 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
17907
18898
|
scheduled_end_time?: string | null;
|
|
17908
18899
|
scheduled_start_time?: string | null;
|
|
17909
18900
|
status?: string;
|
|
17910
|
-
tenant_id?: string;
|
|
17911
18901
|
total_hours_worked?: number | null;
|
|
17912
18902
|
total_price?: number | null;
|
|
17913
18903
|
travel_time_minutes?: number | null;
|
|
@@ -17921,12 +18911,6 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
17921
18911
|
isOneToOne: false;
|
|
17922
18912
|
referencedRelation: "work_orders";
|
|
17923
18913
|
referencedColumns: ["id"];
|
|
17924
|
-
}, {
|
|
17925
|
-
foreignKeyName: "work_orders_tenant_id_fkey";
|
|
17926
|
-
columns: ["tenant_id"];
|
|
17927
|
-
isOneToOne: false;
|
|
17928
|
-
referencedRelation: "tenants";
|
|
17929
|
-
referencedColumns: ["id"];
|
|
17930
18914
|
}];
|
|
17931
18915
|
};
|
|
17932
18916
|
};
|
|
@@ -18197,19 +19181,127 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
18197
19181
|
total_stock: number | null;
|
|
18198
19182
|
};
|
|
18199
19183
|
Relationships: [{
|
|
18200
|
-
foreignKeyName: "product_group_items_product_group_id_fkey";
|
|
18201
|
-
columns: ["product_group_id"];
|
|
19184
|
+
foreignKeyName: "product_group_items_product_group_id_fkey";
|
|
19185
|
+
columns: ["product_group_id"];
|
|
19186
|
+
isOneToOne: false;
|
|
19187
|
+
referencedRelation: "product_groups";
|
|
19188
|
+
referencedColumns: ["id"];
|
|
19189
|
+
}];
|
|
19190
|
+
};
|
|
19191
|
+
trade_item_stock_view: {
|
|
19192
|
+
Row: {
|
|
19193
|
+
stock: number | null;
|
|
19194
|
+
trade_item_id: string | null;
|
|
19195
|
+
};
|
|
19196
|
+
Relationships: [];
|
|
19197
|
+
};
|
|
19198
|
+
uren_facturen: {
|
|
19199
|
+
Row: {
|
|
19200
|
+
created_at: string | null;
|
|
19201
|
+
created_by: string | null;
|
|
19202
|
+
customer_id: string | null;
|
|
19203
|
+
customer_name: string | null;
|
|
19204
|
+
id: string | null;
|
|
19205
|
+
invoice_number: string | null;
|
|
19206
|
+
note: string | null;
|
|
19207
|
+
status: string | null;
|
|
19208
|
+
total_excl_cents: number | null;
|
|
19209
|
+
total_incl_cents: number | null;
|
|
19210
|
+
updated_at: string | null;
|
|
19211
|
+
vat_cents: number | null;
|
|
19212
|
+
vat_percentage: number | null;
|
|
19213
|
+
werkbon_id: string | null;
|
|
19214
|
+
};
|
|
19215
|
+
Insert: {
|
|
19216
|
+
created_at?: string | null;
|
|
19217
|
+
created_by?: string | null;
|
|
19218
|
+
customer_id?: string | null;
|
|
19219
|
+
customer_name?: string | null;
|
|
19220
|
+
id?: string | null;
|
|
19221
|
+
invoice_number?: string | null;
|
|
19222
|
+
note?: string | null;
|
|
19223
|
+
status?: string | null;
|
|
19224
|
+
total_excl_cents?: number | null;
|
|
19225
|
+
total_incl_cents?: number | null;
|
|
19226
|
+
updated_at?: string | null;
|
|
19227
|
+
vat_cents?: number | null;
|
|
19228
|
+
vat_percentage?: number | null;
|
|
19229
|
+
werkbon_id?: never;
|
|
19230
|
+
};
|
|
19231
|
+
Update: {
|
|
19232
|
+
created_at?: string | null;
|
|
19233
|
+
created_by?: string | null;
|
|
19234
|
+
customer_id?: string | null;
|
|
19235
|
+
customer_name?: string | null;
|
|
19236
|
+
id?: string | null;
|
|
19237
|
+
invoice_number?: string | null;
|
|
19238
|
+
note?: string | null;
|
|
19239
|
+
status?: string | null;
|
|
19240
|
+
total_excl_cents?: number | null;
|
|
19241
|
+
total_incl_cents?: number | null;
|
|
19242
|
+
updated_at?: string | null;
|
|
19243
|
+
vat_cents?: number | null;
|
|
19244
|
+
vat_percentage?: number | null;
|
|
19245
|
+
werkbon_id?: never;
|
|
19246
|
+
};
|
|
19247
|
+
Relationships: [{
|
|
19248
|
+
foreignKeyName: "invoices_customer_id_fkey";
|
|
19249
|
+
columns: ["customer_id"];
|
|
18202
19250
|
isOneToOne: false;
|
|
18203
|
-
referencedRelation: "
|
|
19251
|
+
referencedRelation: "itk_customers";
|
|
18204
19252
|
referencedColumns: ["id"];
|
|
18205
19253
|
}];
|
|
18206
19254
|
};
|
|
18207
|
-
|
|
19255
|
+
uren_factuur_regels: {
|
|
18208
19256
|
Row: {
|
|
18209
|
-
|
|
18210
|
-
|
|
19257
|
+
created_at: string | null;
|
|
19258
|
+
description: string | null;
|
|
19259
|
+
factuur_id: string | null;
|
|
19260
|
+
id: string | null;
|
|
19261
|
+
kind: string | null;
|
|
19262
|
+
quantity: number | null;
|
|
19263
|
+
sort_order: number | null;
|
|
19264
|
+
total_cents: number | null;
|
|
19265
|
+
unit: string | null;
|
|
19266
|
+
unit_price_cents: number | null;
|
|
18211
19267
|
};
|
|
18212
|
-
|
|
19268
|
+
Insert: {
|
|
19269
|
+
created_at?: string | null;
|
|
19270
|
+
description?: string | null;
|
|
19271
|
+
factuur_id?: string | null;
|
|
19272
|
+
id?: string | null;
|
|
19273
|
+
kind?: string | null;
|
|
19274
|
+
quantity?: number | null;
|
|
19275
|
+
sort_order?: number | null;
|
|
19276
|
+
total_cents?: number | null;
|
|
19277
|
+
unit?: string | null;
|
|
19278
|
+
unit_price_cents?: number | null;
|
|
19279
|
+
};
|
|
19280
|
+
Update: {
|
|
19281
|
+
created_at?: string | null;
|
|
19282
|
+
description?: string | null;
|
|
19283
|
+
factuur_id?: string | null;
|
|
19284
|
+
id?: string | null;
|
|
19285
|
+
kind?: string | null;
|
|
19286
|
+
quantity?: number | null;
|
|
19287
|
+
sort_order?: number | null;
|
|
19288
|
+
total_cents?: number | null;
|
|
19289
|
+
unit?: string | null;
|
|
19290
|
+
unit_price_cents?: number | null;
|
|
19291
|
+
};
|
|
19292
|
+
Relationships: [{
|
|
19293
|
+
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
19294
|
+
columns: ["factuur_id"];
|
|
19295
|
+
isOneToOne: false;
|
|
19296
|
+
referencedRelation: "invoices";
|
|
19297
|
+
referencedColumns: ["id"];
|
|
19298
|
+
}, {
|
|
19299
|
+
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
19300
|
+
columns: ["factuur_id"];
|
|
19301
|
+
isOneToOne: false;
|
|
19302
|
+
referencedRelation: "uren_facturen";
|
|
19303
|
+
referencedColumns: ["id"];
|
|
19304
|
+
}];
|
|
18213
19305
|
};
|
|
18214
19306
|
v_external_customers_exact: {
|
|
18215
19307
|
Row: {
|
|
@@ -18611,6 +19703,19 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
18611
19703
|
};
|
|
18612
19704
|
Returns: undefined;
|
|
18613
19705
|
};
|
|
19706
|
+
approve_mailbox_order_proposal: {
|
|
19707
|
+
Args: {
|
|
19708
|
+
p_custom_fields: import("./types.js").Json;
|
|
19709
|
+
p_customer_id: string;
|
|
19710
|
+
p_delivery_date: string;
|
|
19711
|
+
p_field_values?: import("./types.js").Json;
|
|
19712
|
+
p_lines: import("./types.js").Json;
|
|
19713
|
+
p_notes: string;
|
|
19714
|
+
p_proposal_id: string;
|
|
19715
|
+
p_reviewed_by: string;
|
|
19716
|
+
};
|
|
19717
|
+
Returns: import("./types.js").Json;
|
|
19718
|
+
};
|
|
18614
19719
|
assign_cart_numbers: {
|
|
18615
19720
|
Args: {
|
|
18616
19721
|
p_carts: import("./types.js").Json;
|
|
@@ -18662,6 +19767,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
18662
19767
|
};
|
|
18663
19768
|
Returns: number;
|
|
18664
19769
|
};
|
|
19770
|
+
can_manage_hours: {
|
|
19771
|
+
Args: never;
|
|
19772
|
+
Returns: boolean;
|
|
19773
|
+
};
|
|
18665
19774
|
check_offer_product_available_stock: {
|
|
18666
19775
|
Args: {
|
|
18667
19776
|
p_campaign_product_id: string;
|
|
@@ -18699,6 +19808,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
18699
19808
|
gebruiker_id: string | null;
|
|
18700
19809
|
gebruiker_naam: string;
|
|
18701
19810
|
gestart_op: string | null;
|
|
19811
|
+
herkomst: string | null;
|
|
18702
19812
|
id: string;
|
|
18703
19813
|
idempotentie_sleutel: string | null;
|
|
18704
19814
|
is_herprint: boolean;
|
|
@@ -18819,6 +19929,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
18819
19929
|
gebruiker_id: string | null;
|
|
18820
19930
|
gebruiker_naam: string;
|
|
18821
19931
|
gestart_op: string | null;
|
|
19932
|
+
herkomst: string | null;
|
|
18822
19933
|
id: string;
|
|
18823
19934
|
idempotentie_sleutel: string | null;
|
|
18824
19935
|
is_herprint: boolean;
|
|
@@ -18851,6 +19962,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
18851
19962
|
};
|
|
18852
19963
|
Returns: {
|
|
18853
19964
|
action: string;
|
|
19965
|
+
attempt_started_at: string | null;
|
|
18854
19966
|
attempts: number;
|
|
18855
19967
|
connection_id: string | null;
|
|
18856
19968
|
created_at: string;
|
|
@@ -18938,6 +20050,30 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
18938
20050
|
agent_naam: string;
|
|
18939
20051
|
}[];
|
|
18940
20052
|
};
|
|
20053
|
+
consume_van_inventory: {
|
|
20054
|
+
Args: {
|
|
20055
|
+
p_inventory_id: string;
|
|
20056
|
+
p_quantity: number;
|
|
20057
|
+
};
|
|
20058
|
+
Returns: {
|
|
20059
|
+
barcode: string | null;
|
|
20060
|
+
created_at: string;
|
|
20061
|
+
id: string;
|
|
20062
|
+
monteur_id: string | null;
|
|
20063
|
+
price_per_unit: number;
|
|
20064
|
+
product_name: string;
|
|
20065
|
+
quantity_current: number;
|
|
20066
|
+
quantity_min: number;
|
|
20067
|
+
unit: string;
|
|
20068
|
+
updated_at: string;
|
|
20069
|
+
};
|
|
20070
|
+
SetofOptions: {
|
|
20071
|
+
from: "*";
|
|
20072
|
+
to: "van_inventories";
|
|
20073
|
+
isOneToOne: true;
|
|
20074
|
+
isSetofReturn: false;
|
|
20075
|
+
};
|
|
20076
|
+
};
|
|
18941
20077
|
control_get_todays_carts: {
|
|
18942
20078
|
Args: never;
|
|
18943
20079
|
Returns: {
|
|
@@ -19013,7 +20149,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
19013
20149
|
Returns: string;
|
|
19014
20150
|
} | {
|
|
19015
20151
|
Args: {
|
|
19016
|
-
_feature_id
|
|
20152
|
+
_feature_id: string;
|
|
19017
20153
|
_module_id: string;
|
|
19018
20154
|
_user_id: string;
|
|
19019
20155
|
};
|
|
@@ -19064,6 +20200,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
19064
20200
|
};
|
|
19065
20201
|
Returns: string;
|
|
19066
20202
|
};
|
|
20203
|
+
employee_day_hours: {
|
|
20204
|
+
Args: {
|
|
20205
|
+
_day: string;
|
|
20206
|
+
_employee_id: string;
|
|
20207
|
+
};
|
|
20208
|
+
Returns: number;
|
|
20209
|
+
};
|
|
19067
20210
|
enqueue_cart_replan_if_unlocked: {
|
|
19068
20211
|
Args: {
|
|
19069
20212
|
p_order_id: string;
|
|
@@ -19369,12 +20512,6 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
19369
20512
|
Args: never;
|
|
19370
20513
|
Returns: string;
|
|
19371
20514
|
};
|
|
19372
|
-
get_work_order_tenant_id: {
|
|
19373
|
-
Args: {
|
|
19374
|
-
wo_id: string;
|
|
19375
|
-
};
|
|
19376
|
-
Returns: string;
|
|
19377
|
-
};
|
|
19378
20515
|
has_module_permission: {
|
|
19379
20516
|
Args: {
|
|
19380
20517
|
_min: string;
|
|
@@ -19394,6 +20531,46 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
19394
20531
|
Args: never;
|
|
19395
20532
|
Returns: boolean;
|
|
19396
20533
|
};
|
|
20534
|
+
invoice_create_from_source: {
|
|
20535
|
+
Args: {
|
|
20536
|
+
_payload?: import("./types.js").Json;
|
|
20537
|
+
_source_id: string;
|
|
20538
|
+
_source_type: string;
|
|
20539
|
+
};
|
|
20540
|
+
Returns: import("./types.js").Json;
|
|
20541
|
+
};
|
|
20542
|
+
invoice_get_billable_lines: {
|
|
20543
|
+
Args: {
|
|
20544
|
+
_invoice_id: string;
|
|
20545
|
+
};
|
|
20546
|
+
Returns: import("./types.js").Json;
|
|
20547
|
+
};
|
|
20548
|
+
invoice_get_for_source: {
|
|
20549
|
+
Args: {
|
|
20550
|
+
_source_id: string;
|
|
20551
|
+
_source_type: string;
|
|
20552
|
+
};
|
|
20553
|
+
Returns: import("./types.js").Json;
|
|
20554
|
+
};
|
|
20555
|
+
invoice_get_summary: {
|
|
20556
|
+
Args: {
|
|
20557
|
+
_invoice_id: string;
|
|
20558
|
+
};
|
|
20559
|
+
Returns: import("./types.js").Json;
|
|
20560
|
+
};
|
|
20561
|
+
invoice_list_sources: {
|
|
20562
|
+
Args: {
|
|
20563
|
+
_limit?: number;
|
|
20564
|
+
_source_type?: string;
|
|
20565
|
+
};
|
|
20566
|
+
Returns: import("./types.js").Json;
|
|
20567
|
+
};
|
|
20568
|
+
invoice_recalc_totals: {
|
|
20569
|
+
Args: {
|
|
20570
|
+
_invoice_id: string;
|
|
20571
|
+
};
|
|
20572
|
+
Returns: import("./types.js").Json;
|
|
20573
|
+
};
|
|
19397
20574
|
is_authenticated: {
|
|
19398
20575
|
Args: never;
|
|
19399
20576
|
Returns: boolean;
|
|
@@ -19408,6 +20585,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
19408
20585
|
};
|
|
19409
20586
|
Returns: boolean;
|
|
19410
20587
|
};
|
|
20588
|
+
is_time_log_week_locked: {
|
|
20589
|
+
Args: {
|
|
20590
|
+
p_employee_id: string;
|
|
20591
|
+
p_start_time: string;
|
|
20592
|
+
};
|
|
20593
|
+
Returns: boolean;
|
|
20594
|
+
};
|
|
19411
20595
|
is_user_admin: {
|
|
19412
20596
|
Args: never;
|
|
19413
20597
|
Returns: boolean;
|
|
@@ -19416,12 +20600,59 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
19416
20600
|
Args: never;
|
|
19417
20601
|
Returns: boolean;
|
|
19418
20602
|
};
|
|
20603
|
+
itk_offerte_naar_werkbon: {
|
|
20604
|
+
Args: {
|
|
20605
|
+
_offerte_id: string;
|
|
20606
|
+
};
|
|
20607
|
+
Returns: string;
|
|
20608
|
+
};
|
|
20609
|
+
itk_offerte_restant_mandaat: {
|
|
20610
|
+
Args: {
|
|
20611
|
+
_exclude_offerte_id?: string;
|
|
20612
|
+
_werkbon_id: string;
|
|
20613
|
+
};
|
|
20614
|
+
Returns: number;
|
|
20615
|
+
};
|
|
19419
20616
|
jwt_has_role: {
|
|
19420
20617
|
Args: {
|
|
19421
20618
|
_role: Database["public"]["Enums"]["app_role"];
|
|
19422
20619
|
};
|
|
19423
20620
|
Returns: boolean;
|
|
19424
20621
|
};
|
|
20622
|
+
list_medewerkers: {
|
|
20623
|
+
Args: never;
|
|
20624
|
+
Returns: {
|
|
20625
|
+
avatar_url: string;
|
|
20626
|
+
color: string;
|
|
20627
|
+
display_name: string;
|
|
20628
|
+
email: string;
|
|
20629
|
+
hours_fri: number;
|
|
20630
|
+
hours_mon: number;
|
|
20631
|
+
hours_thu: number;
|
|
20632
|
+
hours_tue: number;
|
|
20633
|
+
hours_wed: number;
|
|
20634
|
+
id: string;
|
|
20635
|
+
is_active: boolean;
|
|
20636
|
+
leave_balance_hours: number;
|
|
20637
|
+
persnr: string;
|
|
20638
|
+
phone: string;
|
|
20639
|
+
roles: string[];
|
|
20640
|
+
}[];
|
|
20641
|
+
};
|
|
20642
|
+
list_monteur_absences: {
|
|
20643
|
+
Args: {
|
|
20644
|
+
_from: string;
|
|
20645
|
+
_to: string;
|
|
20646
|
+
};
|
|
20647
|
+
Returns: {
|
|
20648
|
+
absence_date: string;
|
|
20649
|
+
end_time: string;
|
|
20650
|
+
full_day: boolean;
|
|
20651
|
+
kind: string;
|
|
20652
|
+
monteur_id: string;
|
|
20653
|
+
start_time: string;
|
|
20654
|
+
}[];
|
|
20655
|
+
};
|
|
19425
20656
|
list_monteurs: {
|
|
19426
20657
|
Args: never;
|
|
19427
20658
|
Returns: {
|
|
@@ -19754,17 +20985,6 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
19754
20985
|
Returns: string;
|
|
19755
20986
|
};
|
|
19756
20987
|
logistics_emit_event: {
|
|
19757
|
-
Args: {
|
|
19758
|
-
p_event_type: string;
|
|
19759
|
-
p_idempotency_key?: string;
|
|
19760
|
-
p_order_ref: string;
|
|
19761
|
-
p_payload?: import("./types.js").Json;
|
|
19762
|
-
p_shadow?: boolean;
|
|
19763
|
-
p_source_module: string;
|
|
19764
|
-
p_strategy_id?: string;
|
|
19765
|
-
};
|
|
19766
|
-
Returns: import("./types.js").Json;
|
|
19767
|
-
} | {
|
|
19768
20988
|
Args: {
|
|
19769
20989
|
p_event_type: string;
|
|
19770
20990
|
p_idempotency_key?: string;
|
|
@@ -19853,6 +21073,23 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
19853
21073
|
};
|
|
19854
21074
|
Returns: string;
|
|
19855
21075
|
};
|
|
21076
|
+
logistics_floriday_finish_push_v2: {
|
|
21077
|
+
Args: {
|
|
21078
|
+
_error?: string;
|
|
21079
|
+
_error_code?: string;
|
|
21080
|
+
_fulfillment_order_id?: string;
|
|
21081
|
+
_gateway_status?: number;
|
|
21082
|
+
_id: string;
|
|
21083
|
+
_max_age_hours?: number;
|
|
21084
|
+
_max_attempts?: number;
|
|
21085
|
+
_ok: boolean;
|
|
21086
|
+
_permanent?: boolean;
|
|
21087
|
+
_response?: import("./types.js").Json;
|
|
21088
|
+
_revision: number;
|
|
21089
|
+
_sent_hash?: string;
|
|
21090
|
+
};
|
|
21091
|
+
Returns: string;
|
|
21092
|
+
};
|
|
19856
21093
|
logistics_floriday_prune_pushes: {
|
|
19857
21094
|
Args: {
|
|
19858
21095
|
_days?: number;
|
|
@@ -20395,6 +21632,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20395
21632
|
isSetofReturn: false;
|
|
20396
21633
|
};
|
|
20397
21634
|
};
|
|
21635
|
+
pick_cleanup_maintenance: {
|
|
21636
|
+
Args: {
|
|
21637
|
+
_heartbeat_hours?: number;
|
|
21638
|
+
_log_days?: number;
|
|
21639
|
+
};
|
|
21640
|
+
Returns: import("./types.js").Json;
|
|
21641
|
+
};
|
|
20398
21642
|
pick_complete_print: {
|
|
20399
21643
|
Args: {
|
|
20400
21644
|
_printer_id: string;
|
|
@@ -20446,6 +21690,14 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20446
21690
|
Args: never;
|
|
20447
21691
|
Returns: string;
|
|
20448
21692
|
};
|
|
21693
|
+
pick_day_counts: {
|
|
21694
|
+
Args: {
|
|
21695
|
+
_pick_day?: string;
|
|
21696
|
+
_screen_id?: string;
|
|
21697
|
+
_station_id?: string;
|
|
21698
|
+
};
|
|
21699
|
+
Returns: import("./types.js").Json;
|
|
21700
|
+
};
|
|
20449
21701
|
pick_document_layout_data: {
|
|
20450
21702
|
Args: {
|
|
20451
21703
|
_layout_id: string;
|
|
@@ -20483,6 +21735,14 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20483
21735
|
};
|
|
20484
21736
|
Returns: undefined;
|
|
20485
21737
|
};
|
|
21738
|
+
pick_reprint_document: {
|
|
21739
|
+
Args: {
|
|
21740
|
+
_queue_item_id: string;
|
|
21741
|
+
_session_id: string;
|
|
21742
|
+
_throttle_seconds?: number;
|
|
21743
|
+
};
|
|
21744
|
+
Returns: string;
|
|
21745
|
+
};
|
|
20486
21746
|
pick_reset_print: {
|
|
20487
21747
|
Args: {
|
|
20488
21748
|
_queue_item_id: string;
|
|
@@ -20548,6 +21808,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20548
21808
|
};
|
|
20549
21809
|
Returns: string;
|
|
20550
21810
|
};
|
|
21811
|
+
pick_sync_queue_throttled: {
|
|
21812
|
+
Args: {
|
|
21813
|
+
_min_seconds?: number;
|
|
21814
|
+
};
|
|
21815
|
+
Returns: import("./types.js").Json;
|
|
21816
|
+
};
|
|
20551
21817
|
pickstation_get_orders_raw: {
|
|
20552
21818
|
Args: never;
|
|
20553
21819
|
Returns: import("./types.js").Json;
|
|
@@ -20609,6 +21875,37 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20609
21875
|
};
|
|
20610
21876
|
Returns: undefined;
|
|
20611
21877
|
};
|
|
21878
|
+
quote_create_from_source: {
|
|
21879
|
+
Args: {
|
|
21880
|
+
_payload?: import("./types.js").Json;
|
|
21881
|
+
_source_id: string;
|
|
21882
|
+
_source_type: string;
|
|
21883
|
+
};
|
|
21884
|
+
Returns: string;
|
|
21885
|
+
};
|
|
21886
|
+
quote_get_billable_lines: {
|
|
21887
|
+
Args: {
|
|
21888
|
+
_quotation_id: string;
|
|
21889
|
+
};
|
|
21890
|
+
Returns: import("./types.js").Json;
|
|
21891
|
+
};
|
|
21892
|
+
quote_get_summary: {
|
|
21893
|
+
Args: {
|
|
21894
|
+
_quotation_id: string;
|
|
21895
|
+
};
|
|
21896
|
+
Returns: import("./types.js").Json;
|
|
21897
|
+
};
|
|
21898
|
+
quote_list_packages: {
|
|
21899
|
+
Args: never;
|
|
21900
|
+
Returns: import("./types.js").Json;
|
|
21901
|
+
};
|
|
21902
|
+
quote_list_sources: {
|
|
21903
|
+
Args: {
|
|
21904
|
+
_limit?: number;
|
|
21905
|
+
_source_type?: string;
|
|
21906
|
+
};
|
|
21907
|
+
Returns: import("./types.js").Json;
|
|
21908
|
+
};
|
|
20612
21909
|
recompute_all_reserved_stock: {
|
|
20613
21910
|
Args: never;
|
|
20614
21911
|
Returns: undefined;
|
|
@@ -20662,6 +21959,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20662
21959
|
};
|
|
20663
21960
|
Returns: boolean;
|
|
20664
21961
|
};
|
|
21962
|
+
release_stale_order_invoice_links: {
|
|
21963
|
+
Args: {
|
|
21964
|
+
_minutes?: number;
|
|
21965
|
+
};
|
|
21966
|
+
Returns: number;
|
|
21967
|
+
};
|
|
20665
21968
|
reorder_customer_price_groups: {
|
|
20666
21969
|
Args: {
|
|
20667
21970
|
_ids: string[];
|
|
@@ -21100,6 +22403,16 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
21100
22403
|
};
|
|
21101
22404
|
Returns: string[];
|
|
21102
22405
|
};
|
|
22406
|
+
switch_time_log: {
|
|
22407
|
+
Args: {
|
|
22408
|
+
p_employee_id: string;
|
|
22409
|
+
p_start_lat?: number;
|
|
22410
|
+
p_start_lng?: number;
|
|
22411
|
+
p_type: string;
|
|
22412
|
+
p_work_order_id?: string;
|
|
22413
|
+
};
|
|
22414
|
+
Returns: import("./types.js").Json;
|
|
22415
|
+
};
|
|
21103
22416
|
sync_all_layer_stocks: {
|
|
21104
22417
|
Args: never;
|
|
21105
22418
|
Returns: undefined;
|
|
@@ -21134,6 +22447,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
21134
22447
|
};
|
|
21135
22448
|
Returns: undefined;
|
|
21136
22449
|
};
|
|
22450
|
+
sync_sick_time_off: {
|
|
22451
|
+
Args: {
|
|
22452
|
+
_period_id: string;
|
|
22453
|
+
};
|
|
22454
|
+
Returns: number;
|
|
22455
|
+
};
|
|
21137
22456
|
trade_item_stock_duplicates: {
|
|
21138
22457
|
Args: never;
|
|
21139
22458
|
Returns: {
|
|
@@ -21150,6 +22469,38 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
21150
22469
|
};
|
|
21151
22470
|
Returns: boolean;
|
|
21152
22471
|
};
|
|
22472
|
+
twinfield_cron_lock_acquire: {
|
|
22473
|
+
Args: {
|
|
22474
|
+
_job_name: string;
|
|
22475
|
+
_stale_seconds?: number;
|
|
22476
|
+
};
|
|
22477
|
+
Returns: boolean;
|
|
22478
|
+
};
|
|
22479
|
+
twinfield_cron_lock_release: {
|
|
22480
|
+
Args: {
|
|
22481
|
+
_error?: string;
|
|
22482
|
+
_job_name: string;
|
|
22483
|
+
};
|
|
22484
|
+
Returns: undefined;
|
|
22485
|
+
};
|
|
22486
|
+
twinfield_deactivate_connection: {
|
|
22487
|
+
Args: {
|
|
22488
|
+
p_connection_id: string;
|
|
22489
|
+
p_user_id: string;
|
|
22490
|
+
};
|
|
22491
|
+
Returns: import("./types.js").Json;
|
|
22492
|
+
};
|
|
22493
|
+
twinfield_handle_administration_change: {
|
|
22494
|
+
Args: {
|
|
22495
|
+
_administration_code: string;
|
|
22496
|
+
_user_id: string;
|
|
22497
|
+
};
|
|
22498
|
+
Returns: undefined;
|
|
22499
|
+
};
|
|
22500
|
+
twinfield_prune_push_queue: {
|
|
22501
|
+
Args: never;
|
|
22502
|
+
Returns: number;
|
|
22503
|
+
};
|
|
21153
22504
|
twinfield_register_cron: {
|
|
21154
22505
|
Args: {
|
|
21155
22506
|
apikey?: string;
|
|
@@ -21165,10 +22516,11 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
21165
22516
|
p_company_name?: string;
|
|
21166
22517
|
p_environment: string;
|
|
21167
22518
|
p_office_code?: string;
|
|
22519
|
+
p_reset_sync?: boolean;
|
|
21168
22520
|
p_status?: string;
|
|
21169
22521
|
p_user_id: string;
|
|
21170
22522
|
};
|
|
21171
|
-
Returns:
|
|
22523
|
+
Returns: import("./types.js").Json;
|
|
21172
22524
|
};
|
|
21173
22525
|
upsert_auto_fulfillment_log: {
|
|
21174
22526
|
Args: {
|
|
@@ -21189,11 +22541,31 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
21189
22541
|
Args: never;
|
|
21190
22542
|
Returns: string;
|
|
21191
22543
|
};
|
|
22544
|
+
wo_create_from_source: {
|
|
22545
|
+
Args: {
|
|
22546
|
+
_payload?: import("./types.js").Json;
|
|
22547
|
+
_source_id: string;
|
|
22548
|
+
_source_type: string;
|
|
22549
|
+
};
|
|
22550
|
+
Returns: string;
|
|
22551
|
+
};
|
|
22552
|
+
wo_get_billable_lines: {
|
|
22553
|
+
Args: {
|
|
22554
|
+
_work_order_id: string;
|
|
22555
|
+
};
|
|
22556
|
+
Returns: import("./types.js").Json;
|
|
22557
|
+
};
|
|
22558
|
+
wo_get_summary: {
|
|
22559
|
+
Args: {
|
|
22560
|
+
_work_order_id: string;
|
|
22561
|
+
};
|
|
22562
|
+
Returns: import("./types.js").Json;
|
|
22563
|
+
};
|
|
21192
22564
|
};
|
|
21193
22565
|
Enums: {
|
|
21194
22566
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|
|
21195
22567
|
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
|
|
21196
|
-
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
|
|
22568
|
+
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon" | "veilingbon" | "afleverbrief" | "veilingbrief";
|
|
21197
22569
|
doc_orientation: "portrait" | "landscape";
|
|
21198
22570
|
exact_env: "staging" | "live";
|
|
21199
22571
|
exact_push_status: "pending" | "sent" | "error";
|