@flowselections/floriday-authenticatie-module 1.0.38 → 1.0.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/components/TemplatePage.d.ts +1 -1
- package/dist-lib/components/TemplatePage.d.ts.map +1 -1
- package/dist-lib/components/floriday/FlorydayConnectionPage.d.ts +1 -1
- package/dist-lib/components/floriday/FlorydayConnectionPage.d.ts.map +1 -1
- package/dist-lib/components/floriday/FlorydaySyncHealthBanner.d.ts +1 -1
- package/dist-lib/components/floriday/FlorydaySyncHealthBanner.d.ts.map +1 -1
- package/dist-lib/components/floriday/FlorydaySyncJobsCard.d.ts +1 -1
- package/dist-lib/components/floriday/FlorydaySyncJobsCard.d.ts.map +1 -1
- package/dist-lib/components/floriday/TokenHealthCard.d.ts +1 -1
- package/dist-lib/components/floriday/TokenHealthCard.d.ts.map +1 -1
- package/dist-lib/components/settings/FloricodeSettingsCard.d.ts +1 -1
- package/dist-lib/components/settings/FloricodeSettingsCard.d.ts.map +1 -1
- package/dist-lib/components/settings/FlorydaySettingsCard.d.ts +1 -1
- package/dist-lib/components/settings/FlorydaySettingsCard.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +1599 -318
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +1599 -318
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +1599 -318
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +1675 -362
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.js +3 -0
- package/dist-lib/lib/error-page.js +30 -30
- package/dist-lib/lib/floricode.functions.d.ts +10626 -1659
- package/dist-lib/lib/floricode.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-auction-letters.functions.d.ts +1599 -318
- package/dist-lib/lib/floriday-auction-letters.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-labels.functions.d.ts +1599 -318
- package/dist-lib/lib/floriday-labels.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-public.functions.d.ts +9108 -1422
- package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-stickers.functions.d.ts +1599 -318
- package/dist-lib/lib/floriday-stickers.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-sync.functions.d.ts +47058 -7347
- package/dist-lib/lib/floriday-sync.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.d.ts +9114 -1428
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday.functions.d.ts +28842 -4503
- package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
- 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
- package/dist-lib/assets/floriday-logo.png.asset.json +0 -11
|
@@ -872,6 +872,126 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
872
872
|
};
|
|
873
873
|
Relationships: [];
|
|
874
874
|
};
|
|
875
|
+
cao_holidays: {
|
|
876
|
+
Row: {
|
|
877
|
+
created_at: string;
|
|
878
|
+
description: string | null;
|
|
879
|
+
holiday_date: string;
|
|
880
|
+
id: string;
|
|
881
|
+
updated_at: string;
|
|
882
|
+
};
|
|
883
|
+
Insert: {
|
|
884
|
+
created_at?: string;
|
|
885
|
+
description?: string | null;
|
|
886
|
+
holiday_date: string;
|
|
887
|
+
id?: string;
|
|
888
|
+
updated_at?: string;
|
|
889
|
+
};
|
|
890
|
+
Update: {
|
|
891
|
+
created_at?: string;
|
|
892
|
+
description?: string | null;
|
|
893
|
+
holiday_date?: string;
|
|
894
|
+
id?: string;
|
|
895
|
+
updated_at?: string;
|
|
896
|
+
};
|
|
897
|
+
Relationships: [];
|
|
898
|
+
};
|
|
899
|
+
cao_settings: {
|
|
900
|
+
Row: {
|
|
901
|
+
auto_break_after_hours: number;
|
|
902
|
+
auto_break_minutes: number;
|
|
903
|
+
auto_break_unpaid: boolean;
|
|
904
|
+
auto_stop_after_hours: number;
|
|
905
|
+
callout_fee: number;
|
|
906
|
+
created_at: string;
|
|
907
|
+
daily_regular_hours: number;
|
|
908
|
+
default_hourly_rate: number;
|
|
909
|
+
id: string;
|
|
910
|
+
materials_markup_percent: number;
|
|
911
|
+
max_daily_hours: number;
|
|
912
|
+
max_weekly_hours: number;
|
|
913
|
+
meal_allowance_amount: number;
|
|
914
|
+
overtime_pct_178: number;
|
|
915
|
+
overtime_pct_189: number;
|
|
916
|
+
overtime_pct_212: number;
|
|
917
|
+
reminder_after_hours: number;
|
|
918
|
+
standby_evening_amount: number;
|
|
919
|
+
standby_weekend_amount: number;
|
|
920
|
+
travel_cost_per_km: number | null;
|
|
921
|
+
travel_cost_threshold_km: number | null;
|
|
922
|
+
travel_counts_as_work: boolean;
|
|
923
|
+
travel_hourly_rate: number;
|
|
924
|
+
travel_rate_per_hour: number;
|
|
925
|
+
travel_threshold_minutes: number;
|
|
926
|
+
updated_at: string;
|
|
927
|
+
weekend_always_212: boolean;
|
|
928
|
+
window_end: string;
|
|
929
|
+
window_start: string;
|
|
930
|
+
};
|
|
931
|
+
Insert: {
|
|
932
|
+
auto_break_after_hours?: number;
|
|
933
|
+
auto_break_minutes?: number;
|
|
934
|
+
auto_break_unpaid?: boolean;
|
|
935
|
+
auto_stop_after_hours?: number;
|
|
936
|
+
callout_fee?: number;
|
|
937
|
+
created_at?: string;
|
|
938
|
+
daily_regular_hours?: number;
|
|
939
|
+
default_hourly_rate?: number;
|
|
940
|
+
id?: string;
|
|
941
|
+
materials_markup_percent?: number;
|
|
942
|
+
max_daily_hours?: number;
|
|
943
|
+
max_weekly_hours?: number;
|
|
944
|
+
meal_allowance_amount?: number;
|
|
945
|
+
overtime_pct_178?: number;
|
|
946
|
+
overtime_pct_189?: number;
|
|
947
|
+
overtime_pct_212?: number;
|
|
948
|
+
reminder_after_hours?: number;
|
|
949
|
+
standby_evening_amount?: number;
|
|
950
|
+
standby_weekend_amount?: number;
|
|
951
|
+
travel_cost_per_km?: number | null;
|
|
952
|
+
travel_cost_threshold_km?: number | null;
|
|
953
|
+
travel_counts_as_work?: boolean;
|
|
954
|
+
travel_hourly_rate?: number;
|
|
955
|
+
travel_rate_per_hour?: number;
|
|
956
|
+
travel_threshold_minutes?: number;
|
|
957
|
+
updated_at?: string;
|
|
958
|
+
weekend_always_212?: boolean;
|
|
959
|
+
window_end?: string;
|
|
960
|
+
window_start?: string;
|
|
961
|
+
};
|
|
962
|
+
Update: {
|
|
963
|
+
auto_break_after_hours?: number;
|
|
964
|
+
auto_break_minutes?: number;
|
|
965
|
+
auto_break_unpaid?: boolean;
|
|
966
|
+
auto_stop_after_hours?: number;
|
|
967
|
+
callout_fee?: number;
|
|
968
|
+
created_at?: string;
|
|
969
|
+
daily_regular_hours?: number;
|
|
970
|
+
default_hourly_rate?: number;
|
|
971
|
+
id?: string;
|
|
972
|
+
materials_markup_percent?: number;
|
|
973
|
+
max_daily_hours?: number;
|
|
974
|
+
max_weekly_hours?: number;
|
|
975
|
+
meal_allowance_amount?: number;
|
|
976
|
+
overtime_pct_178?: number;
|
|
977
|
+
overtime_pct_189?: number;
|
|
978
|
+
overtime_pct_212?: number;
|
|
979
|
+
reminder_after_hours?: number;
|
|
980
|
+
standby_evening_amount?: number;
|
|
981
|
+
standby_weekend_amount?: number;
|
|
982
|
+
travel_cost_per_km?: number | null;
|
|
983
|
+
travel_cost_threshold_km?: number | null;
|
|
984
|
+
travel_counts_as_work?: boolean;
|
|
985
|
+
travel_hourly_rate?: number;
|
|
986
|
+
travel_rate_per_hour?: number;
|
|
987
|
+
travel_threshold_minutes?: number;
|
|
988
|
+
updated_at?: string;
|
|
989
|
+
weekend_always_212?: boolean;
|
|
990
|
+
window_end?: string;
|
|
991
|
+
window_start?: string;
|
|
992
|
+
};
|
|
993
|
+
Relationships: [];
|
|
994
|
+
};
|
|
875
995
|
carrier_shipping_rates: {
|
|
876
996
|
Row: {
|
|
877
997
|
carrier_id: string;
|
|
@@ -2639,6 +2759,42 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
2639
2759
|
};
|
|
2640
2760
|
Relationships: [];
|
|
2641
2761
|
};
|
|
2762
|
+
document_bronregels: {
|
|
2763
|
+
Row: {
|
|
2764
|
+
bron: string;
|
|
2765
|
+
created_at: string;
|
|
2766
|
+
documenttype: string;
|
|
2767
|
+
herkomst: string;
|
|
2768
|
+
id: string;
|
|
2769
|
+
layout_id: string | null;
|
|
2770
|
+
updated_at: string;
|
|
2771
|
+
};
|
|
2772
|
+
Insert: {
|
|
2773
|
+
bron?: string;
|
|
2774
|
+
created_at?: string;
|
|
2775
|
+
documenttype: string;
|
|
2776
|
+
herkomst: string;
|
|
2777
|
+
id?: string;
|
|
2778
|
+
layout_id?: string | null;
|
|
2779
|
+
updated_at?: string;
|
|
2780
|
+
};
|
|
2781
|
+
Update: {
|
|
2782
|
+
bron?: string;
|
|
2783
|
+
created_at?: string;
|
|
2784
|
+
documenttype?: string;
|
|
2785
|
+
herkomst?: string;
|
|
2786
|
+
id?: string;
|
|
2787
|
+
layout_id?: string | null;
|
|
2788
|
+
updated_at?: string;
|
|
2789
|
+
};
|
|
2790
|
+
Relationships: [{
|
|
2791
|
+
foreignKeyName: "document_bronregels_layout_id_fkey";
|
|
2792
|
+
columns: ["layout_id"];
|
|
2793
|
+
isOneToOne: false;
|
|
2794
|
+
referencedRelation: "document_layouts";
|
|
2795
|
+
referencedColumns: ["id"];
|
|
2796
|
+
}];
|
|
2797
|
+
};
|
|
2642
2798
|
document_formaat_printers: {
|
|
2643
2799
|
Row: {
|
|
2644
2800
|
created_at: string;
|
|
@@ -2984,6 +3140,42 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
2984
3140
|
};
|
|
2985
3141
|
Relationships: [];
|
|
2986
3142
|
};
|
|
3143
|
+
document_werkplek_printers: {
|
|
3144
|
+
Row: {
|
|
3145
|
+
created_at: string;
|
|
3146
|
+
documenttype: string;
|
|
3147
|
+
id: string;
|
|
3148
|
+
papierformaat: string | null;
|
|
3149
|
+
printer_id: string | null;
|
|
3150
|
+
updated_at: string;
|
|
3151
|
+
werkplek: string;
|
|
3152
|
+
};
|
|
3153
|
+
Insert: {
|
|
3154
|
+
created_at?: string;
|
|
3155
|
+
documenttype: string;
|
|
3156
|
+
id?: string;
|
|
3157
|
+
papierformaat?: string | null;
|
|
3158
|
+
printer_id?: string | null;
|
|
3159
|
+
updated_at?: string;
|
|
3160
|
+
werkplek: string;
|
|
3161
|
+
};
|
|
3162
|
+
Update: {
|
|
3163
|
+
created_at?: string;
|
|
3164
|
+
documenttype?: string;
|
|
3165
|
+
id?: string;
|
|
3166
|
+
papierformaat?: string | null;
|
|
3167
|
+
printer_id?: string | null;
|
|
3168
|
+
updated_at?: string;
|
|
3169
|
+
werkplek?: string;
|
|
3170
|
+
};
|
|
3171
|
+
Relationships: [{
|
|
3172
|
+
foreignKeyName: "document_werkplek_printers_printer_id_fkey";
|
|
3173
|
+
columns: ["printer_id"];
|
|
3174
|
+
isOneToOne: false;
|
|
3175
|
+
referencedRelation: "printers";
|
|
3176
|
+
referencedColumns: ["id"];
|
|
3177
|
+
}];
|
|
3178
|
+
};
|
|
2987
3179
|
email_auth_connections: {
|
|
2988
3180
|
Row: {
|
|
2989
3181
|
access_token_encrypted: string | null;
|
|
@@ -7229,8 +7421,63 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7229
7421
|
};
|
|
7230
7422
|
Relationships: [];
|
|
7231
7423
|
};
|
|
7424
|
+
invoice_items: {
|
|
7425
|
+
Row: {
|
|
7426
|
+
created_at: string;
|
|
7427
|
+
description: string;
|
|
7428
|
+
id: string;
|
|
7429
|
+
invoice_id: string;
|
|
7430
|
+
kind: string;
|
|
7431
|
+
quantity: number;
|
|
7432
|
+
sort_order: number;
|
|
7433
|
+
source_line_ref: string | null;
|
|
7434
|
+
total_cents: number;
|
|
7435
|
+
unit: string;
|
|
7436
|
+
unit_price_cents: number;
|
|
7437
|
+
};
|
|
7438
|
+
Insert: {
|
|
7439
|
+
created_at?: string;
|
|
7440
|
+
description?: string;
|
|
7441
|
+
id?: string;
|
|
7442
|
+
invoice_id: string;
|
|
7443
|
+
kind?: string;
|
|
7444
|
+
quantity?: number;
|
|
7445
|
+
sort_order?: number;
|
|
7446
|
+
source_line_ref?: string | null;
|
|
7447
|
+
total_cents?: number;
|
|
7448
|
+
unit?: string;
|
|
7449
|
+
unit_price_cents?: number;
|
|
7450
|
+
};
|
|
7451
|
+
Update: {
|
|
7452
|
+
created_at?: string;
|
|
7453
|
+
description?: string;
|
|
7454
|
+
id?: string;
|
|
7455
|
+
invoice_id?: string;
|
|
7456
|
+
kind?: string;
|
|
7457
|
+
quantity?: number;
|
|
7458
|
+
sort_order?: number;
|
|
7459
|
+
source_line_ref?: string | null;
|
|
7460
|
+
total_cents?: number;
|
|
7461
|
+
unit?: string;
|
|
7462
|
+
unit_price_cents?: number;
|
|
7463
|
+
};
|
|
7464
|
+
Relationships: [{
|
|
7465
|
+
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
7466
|
+
columns: ["invoice_id"];
|
|
7467
|
+
isOneToOne: false;
|
|
7468
|
+
referencedRelation: "invoices";
|
|
7469
|
+
referencedColumns: ["id"];
|
|
7470
|
+
}, {
|
|
7471
|
+
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
7472
|
+
columns: ["invoice_id"];
|
|
7473
|
+
isOneToOne: false;
|
|
7474
|
+
referencedRelation: "uren_facturen";
|
|
7475
|
+
referencedColumns: ["id"];
|
|
7476
|
+
}];
|
|
7477
|
+
};
|
|
7232
7478
|
invoice_post_idempotency: {
|
|
7233
7479
|
Row: {
|
|
7480
|
+
administration_code: string;
|
|
7234
7481
|
client_request_id: string;
|
|
7235
7482
|
completed_at: string | null;
|
|
7236
7483
|
created_at: string;
|
|
@@ -7240,6 +7487,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7240
7487
|
user_id: string;
|
|
7241
7488
|
};
|
|
7242
7489
|
Insert: {
|
|
7490
|
+
administration_code?: string;
|
|
7243
7491
|
client_request_id: string;
|
|
7244
7492
|
completed_at?: string | null;
|
|
7245
7493
|
created_at?: string;
|
|
@@ -7249,6 +7497,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7249
7497
|
user_id: string;
|
|
7250
7498
|
};
|
|
7251
7499
|
Update: {
|
|
7500
|
+
administration_code?: string;
|
|
7252
7501
|
client_request_id?: string;
|
|
7253
7502
|
completed_at?: string | null;
|
|
7254
7503
|
created_at?: string;
|
|
@@ -7454,6 +7703,75 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7454
7703
|
};
|
|
7455
7704
|
Relationships: [];
|
|
7456
7705
|
};
|
|
7706
|
+
invoices: {
|
|
7707
|
+
Row: {
|
|
7708
|
+
created_at: string;
|
|
7709
|
+
created_by: string | null;
|
|
7710
|
+
customer_id: string | null;
|
|
7711
|
+
customer_name: string | null;
|
|
7712
|
+
due_date: string | null;
|
|
7713
|
+
id: string;
|
|
7714
|
+
invoice_date: string;
|
|
7715
|
+
invoice_number: string | null;
|
|
7716
|
+
note: string | null;
|
|
7717
|
+
source_number: string | null;
|
|
7718
|
+
source_ref: string | null;
|
|
7719
|
+
source_type: string;
|
|
7720
|
+
status: string;
|
|
7721
|
+
subtotal_cents: number;
|
|
7722
|
+
total_cents: number;
|
|
7723
|
+
updated_at: string;
|
|
7724
|
+
vat_cents: number;
|
|
7725
|
+
vat_rate: number;
|
|
7726
|
+
};
|
|
7727
|
+
Insert: {
|
|
7728
|
+
created_at?: string;
|
|
7729
|
+
created_by?: string | null;
|
|
7730
|
+
customer_id?: string | null;
|
|
7731
|
+
customer_name?: string | null;
|
|
7732
|
+
due_date?: string | null;
|
|
7733
|
+
id?: string;
|
|
7734
|
+
invoice_date?: string;
|
|
7735
|
+
invoice_number?: string | null;
|
|
7736
|
+
note?: string | null;
|
|
7737
|
+
source_number?: string | null;
|
|
7738
|
+
source_ref?: string | null;
|
|
7739
|
+
source_type?: string;
|
|
7740
|
+
status?: string;
|
|
7741
|
+
subtotal_cents?: number;
|
|
7742
|
+
total_cents?: number;
|
|
7743
|
+
updated_at?: string;
|
|
7744
|
+
vat_cents?: number;
|
|
7745
|
+
vat_rate?: number;
|
|
7746
|
+
};
|
|
7747
|
+
Update: {
|
|
7748
|
+
created_at?: string;
|
|
7749
|
+
created_by?: string | null;
|
|
7750
|
+
customer_id?: string | null;
|
|
7751
|
+
customer_name?: string | null;
|
|
7752
|
+
due_date?: string | null;
|
|
7753
|
+
id?: string;
|
|
7754
|
+
invoice_date?: string;
|
|
7755
|
+
invoice_number?: string | null;
|
|
7756
|
+
note?: string | null;
|
|
7757
|
+
source_number?: string | null;
|
|
7758
|
+
source_ref?: string | null;
|
|
7759
|
+
source_type?: string;
|
|
7760
|
+
status?: string;
|
|
7761
|
+
subtotal_cents?: number;
|
|
7762
|
+
total_cents?: number;
|
|
7763
|
+
updated_at?: string;
|
|
7764
|
+
vat_cents?: number;
|
|
7765
|
+
vat_rate?: number;
|
|
7766
|
+
};
|
|
7767
|
+
Relationships: [{
|
|
7768
|
+
foreignKeyName: "invoices_customer_id_fkey";
|
|
7769
|
+
columns: ["customer_id"];
|
|
7770
|
+
isOneToOne: false;
|
|
7771
|
+
referencedRelation: "itk_customers";
|
|
7772
|
+
referencedColumns: ["id"];
|
|
7773
|
+
}];
|
|
7774
|
+
};
|
|
7457
7775
|
itk_contact_persons: {
|
|
7458
7776
|
Row: {
|
|
7459
7777
|
created_at: string;
|
|
@@ -7649,77 +7967,329 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7649
7967
|
};
|
|
7650
7968
|
Relationships: [];
|
|
7651
7969
|
};
|
|
7652
|
-
|
|
7970
|
+
itk_offerte_events: {
|
|
7653
7971
|
Row: {
|
|
7654
|
-
city: string | null;
|
|
7655
7972
|
created_at: string;
|
|
7656
|
-
|
|
7973
|
+
event_type: string;
|
|
7657
7974
|
id: string;
|
|
7658
|
-
|
|
7659
|
-
|
|
7660
|
-
|
|
7661
|
-
|
|
7662
|
-
postcode: string | null;
|
|
7663
|
-
street: string | null;
|
|
7664
|
-
updated_at: string;
|
|
7975
|
+
metadata: import("./types.js").Json;
|
|
7976
|
+
offerte_id: string;
|
|
7977
|
+
omschrijving: string | null;
|
|
7978
|
+
user_id: string | null;
|
|
7665
7979
|
};
|
|
7666
7980
|
Insert: {
|
|
7667
|
-
city?: string | null;
|
|
7668
7981
|
created_at?: string;
|
|
7669
|
-
|
|
7982
|
+
event_type: string;
|
|
7670
7983
|
id?: string;
|
|
7671
|
-
|
|
7672
|
-
|
|
7673
|
-
|
|
7674
|
-
|
|
7675
|
-
postcode?: string | null;
|
|
7676
|
-
street?: string | null;
|
|
7677
|
-
updated_at?: string;
|
|
7984
|
+
metadata?: import("./types.js").Json;
|
|
7985
|
+
offerte_id: string;
|
|
7986
|
+
omschrijving?: string | null;
|
|
7987
|
+
user_id?: string | null;
|
|
7678
7988
|
};
|
|
7679
7989
|
Update: {
|
|
7680
|
-
city?: string | null;
|
|
7681
7990
|
created_at?: string;
|
|
7682
|
-
|
|
7991
|
+
event_type?: string;
|
|
7683
7992
|
id?: string;
|
|
7684
|
-
|
|
7685
|
-
|
|
7686
|
-
|
|
7687
|
-
|
|
7688
|
-
postcode?: string | null;
|
|
7689
|
-
street?: string | null;
|
|
7690
|
-
updated_at?: string;
|
|
7993
|
+
metadata?: import("./types.js").Json;
|
|
7994
|
+
offerte_id?: string;
|
|
7995
|
+
omschrijving?: string | null;
|
|
7996
|
+
user_id?: string | null;
|
|
7691
7997
|
};
|
|
7692
7998
|
Relationships: [{
|
|
7693
|
-
foreignKeyName: "
|
|
7694
|
-
columns: ["
|
|
7999
|
+
foreignKeyName: "itk_offerte_events_offerte_id_fkey";
|
|
8000
|
+
columns: ["offerte_id"];
|
|
7695
8001
|
isOneToOne: false;
|
|
7696
|
-
referencedRelation: "
|
|
8002
|
+
referencedRelation: "itk_offertes";
|
|
7697
8003
|
referencedColumns: ["id"];
|
|
7698
8004
|
}];
|
|
7699
8005
|
};
|
|
7700
|
-
|
|
8006
|
+
itk_offerte_regels: {
|
|
7701
8007
|
Row: {
|
|
7702
|
-
bestand_url: string;
|
|
7703
|
-
bestandsgrootte: number;
|
|
7704
|
-
bestandspad: string | null;
|
|
7705
|
-
bestandstype: string;
|
|
7706
|
-
breedte: number;
|
|
7707
|
-
categorie: string;
|
|
7708
8008
|
created_at: string;
|
|
7709
|
-
hash: string | null;
|
|
7710
|
-
hoogte: number;
|
|
7711
8009
|
id: string;
|
|
7712
|
-
|
|
7713
|
-
|
|
8010
|
+
line_total_cents: number;
|
|
8011
|
+
offerte_id: string;
|
|
7714
8012
|
omschrijving: string;
|
|
7715
|
-
|
|
8013
|
+
package_id: string | null;
|
|
8014
|
+
quantity: number;
|
|
8015
|
+
sort_order: number;
|
|
8016
|
+
source: string;
|
|
8017
|
+
unit_price_cents: number;
|
|
7716
8018
|
updated_at: string;
|
|
7717
8019
|
};
|
|
7718
8020
|
Insert: {
|
|
7719
|
-
|
|
7720
|
-
|
|
7721
|
-
|
|
7722
|
-
|
|
8021
|
+
created_at?: string;
|
|
8022
|
+
id?: string;
|
|
8023
|
+
line_total_cents?: number;
|
|
8024
|
+
offerte_id: string;
|
|
8025
|
+
omschrijving?: string;
|
|
8026
|
+
package_id?: string | null;
|
|
8027
|
+
quantity?: number;
|
|
8028
|
+
sort_order?: number;
|
|
8029
|
+
source?: string;
|
|
8030
|
+
unit_price_cents?: number;
|
|
8031
|
+
updated_at?: string;
|
|
8032
|
+
};
|
|
8033
|
+
Update: {
|
|
8034
|
+
created_at?: string;
|
|
8035
|
+
id?: string;
|
|
8036
|
+
line_total_cents?: number;
|
|
8037
|
+
offerte_id?: string;
|
|
8038
|
+
omschrijving?: string;
|
|
8039
|
+
package_id?: string | null;
|
|
8040
|
+
quantity?: number;
|
|
8041
|
+
sort_order?: number;
|
|
8042
|
+
source?: string;
|
|
8043
|
+
unit_price_cents?: number;
|
|
8044
|
+
updated_at?: string;
|
|
8045
|
+
};
|
|
8046
|
+
Relationships: [{
|
|
8047
|
+
foreignKeyName: "itk_offerte_regels_offerte_id_fkey";
|
|
8048
|
+
columns: ["offerte_id"];
|
|
8049
|
+
isOneToOne: false;
|
|
8050
|
+
referencedRelation: "itk_offertes";
|
|
8051
|
+
referencedColumns: ["id"];
|
|
8052
|
+
}, {
|
|
8053
|
+
foreignKeyName: "itk_offerte_regels_package_id_fkey";
|
|
8054
|
+
columns: ["package_id"];
|
|
8055
|
+
isOneToOne: false;
|
|
8056
|
+
referencedRelation: "werkbon_packages";
|
|
8057
|
+
referencedColumns: ["id"];
|
|
8058
|
+
}];
|
|
8059
|
+
};
|
|
8060
|
+
itk_offerte_settings: {
|
|
8061
|
+
Row: {
|
|
8062
|
+
auto_convert_binnen_mandaat: boolean;
|
|
8063
|
+
created_at: string;
|
|
8064
|
+
default_geldigheid_dagen: number;
|
|
8065
|
+
default_vat_rate: number;
|
|
8066
|
+
id: string;
|
|
8067
|
+
singleton: boolean;
|
|
8068
|
+
updated_at: string;
|
|
8069
|
+
};
|
|
8070
|
+
Insert: {
|
|
8071
|
+
auto_convert_binnen_mandaat?: boolean;
|
|
8072
|
+
created_at?: string;
|
|
8073
|
+
default_geldigheid_dagen?: number;
|
|
8074
|
+
default_vat_rate?: number;
|
|
8075
|
+
id?: string;
|
|
8076
|
+
singleton?: boolean;
|
|
8077
|
+
updated_at?: string;
|
|
8078
|
+
};
|
|
8079
|
+
Update: {
|
|
8080
|
+
auto_convert_binnen_mandaat?: boolean;
|
|
8081
|
+
created_at?: string;
|
|
8082
|
+
default_geldigheid_dagen?: number;
|
|
8083
|
+
default_vat_rate?: number;
|
|
8084
|
+
id?: string;
|
|
8085
|
+
singleton?: boolean;
|
|
8086
|
+
updated_at?: string;
|
|
8087
|
+
};
|
|
8088
|
+
Relationships: [];
|
|
8089
|
+
};
|
|
8090
|
+
itk_offertes: {
|
|
8091
|
+
Row: {
|
|
8092
|
+
ai_generated: boolean;
|
|
8093
|
+
approved_at: string | null;
|
|
8094
|
+
binnen_mandaat: boolean;
|
|
8095
|
+
contact_id: string | null;
|
|
8096
|
+
converted_at: string | null;
|
|
8097
|
+
created_at: string;
|
|
8098
|
+
created_by: string | null;
|
|
8099
|
+
customer_id: string | null;
|
|
8100
|
+
follow_up_werkbon_id: string | null;
|
|
8101
|
+
id: string;
|
|
8102
|
+
jaar: number;
|
|
8103
|
+
mandaat_restant_cents: number;
|
|
8104
|
+
notities: string | null;
|
|
8105
|
+
offerte_number: string | null;
|
|
8106
|
+
omschrijving: string;
|
|
8107
|
+
rejected_at: string | null;
|
|
8108
|
+
sent_at: string | null;
|
|
8109
|
+
source_number: string | null;
|
|
8110
|
+
source_ref: string | null;
|
|
8111
|
+
source_type: string;
|
|
8112
|
+
status: string;
|
|
8113
|
+
subtotal_cents: number;
|
|
8114
|
+
total_cents: number;
|
|
8115
|
+
updated_at: string;
|
|
8116
|
+
valid_until: string | null;
|
|
8117
|
+
vat_cents: number;
|
|
8118
|
+
vat_rate: number;
|
|
8119
|
+
viewed_at: string | null;
|
|
8120
|
+
volgnummer: number | null;
|
|
8121
|
+
werkbon_id: string | null;
|
|
8122
|
+
work_location_id: string | null;
|
|
8123
|
+
};
|
|
8124
|
+
Insert: {
|
|
8125
|
+
ai_generated?: boolean;
|
|
8126
|
+
approved_at?: string | null;
|
|
8127
|
+
binnen_mandaat?: boolean;
|
|
8128
|
+
contact_id?: string | null;
|
|
8129
|
+
converted_at?: string | null;
|
|
8130
|
+
created_at?: string;
|
|
8131
|
+
created_by?: string | null;
|
|
8132
|
+
customer_id?: string | null;
|
|
8133
|
+
follow_up_werkbon_id?: string | null;
|
|
8134
|
+
id?: string;
|
|
8135
|
+
jaar?: number;
|
|
8136
|
+
mandaat_restant_cents?: number;
|
|
8137
|
+
notities?: string | null;
|
|
8138
|
+
offerte_number?: string | null;
|
|
8139
|
+
omschrijving?: string;
|
|
8140
|
+
rejected_at?: string | null;
|
|
8141
|
+
sent_at?: string | null;
|
|
8142
|
+
source_number?: string | null;
|
|
8143
|
+
source_ref?: string | null;
|
|
8144
|
+
source_type?: string;
|
|
8145
|
+
status?: string;
|
|
8146
|
+
subtotal_cents?: number;
|
|
8147
|
+
total_cents?: number;
|
|
8148
|
+
updated_at?: string;
|
|
8149
|
+
valid_until?: string | null;
|
|
8150
|
+
vat_cents?: number;
|
|
8151
|
+
vat_rate?: number;
|
|
8152
|
+
viewed_at?: string | null;
|
|
8153
|
+
volgnummer?: number | null;
|
|
8154
|
+
werkbon_id?: string | null;
|
|
8155
|
+
work_location_id?: string | null;
|
|
8156
|
+
};
|
|
8157
|
+
Update: {
|
|
8158
|
+
ai_generated?: boolean;
|
|
8159
|
+
approved_at?: string | null;
|
|
8160
|
+
binnen_mandaat?: boolean;
|
|
8161
|
+
contact_id?: string | null;
|
|
8162
|
+
converted_at?: string | null;
|
|
8163
|
+
created_at?: string;
|
|
8164
|
+
created_by?: string | null;
|
|
8165
|
+
customer_id?: string | null;
|
|
8166
|
+
follow_up_werkbon_id?: string | null;
|
|
8167
|
+
id?: string;
|
|
8168
|
+
jaar?: number;
|
|
8169
|
+
mandaat_restant_cents?: number;
|
|
8170
|
+
notities?: string | null;
|
|
8171
|
+
offerte_number?: string | null;
|
|
8172
|
+
omschrijving?: string;
|
|
8173
|
+
rejected_at?: string | null;
|
|
8174
|
+
sent_at?: string | null;
|
|
8175
|
+
source_number?: string | null;
|
|
8176
|
+
source_ref?: string | null;
|
|
8177
|
+
source_type?: string;
|
|
8178
|
+
status?: string;
|
|
8179
|
+
subtotal_cents?: number;
|
|
8180
|
+
total_cents?: number;
|
|
8181
|
+
updated_at?: string;
|
|
8182
|
+
valid_until?: string | null;
|
|
8183
|
+
vat_cents?: number;
|
|
8184
|
+
vat_rate?: number;
|
|
8185
|
+
viewed_at?: string | null;
|
|
8186
|
+
volgnummer?: number | null;
|
|
8187
|
+
werkbon_id?: string | null;
|
|
8188
|
+
work_location_id?: string | null;
|
|
8189
|
+
};
|
|
8190
|
+
Relationships: [{
|
|
8191
|
+
foreignKeyName: "itk_offertes_contact_id_fkey";
|
|
8192
|
+
columns: ["contact_id"];
|
|
8193
|
+
isOneToOne: false;
|
|
8194
|
+
referencedRelation: "itk_contact_persons";
|
|
8195
|
+
referencedColumns: ["id"];
|
|
8196
|
+
}, {
|
|
8197
|
+
foreignKeyName: "itk_offertes_customer_id_fkey";
|
|
8198
|
+
columns: ["customer_id"];
|
|
8199
|
+
isOneToOne: false;
|
|
8200
|
+
referencedRelation: "itk_customers";
|
|
8201
|
+
referencedColumns: ["id"];
|
|
8202
|
+
}, {
|
|
8203
|
+
foreignKeyName: "itk_offertes_follow_up_werkbon_id_fkey";
|
|
8204
|
+
columns: ["follow_up_werkbon_id"];
|
|
8205
|
+
isOneToOne: false;
|
|
8206
|
+
referencedRelation: "werkbonnen";
|
|
8207
|
+
referencedColumns: ["id"];
|
|
8208
|
+
}, {
|
|
8209
|
+
foreignKeyName: "itk_offertes_werkbon_id_fkey";
|
|
8210
|
+
columns: ["werkbon_id"];
|
|
8211
|
+
isOneToOne: false;
|
|
8212
|
+
referencedRelation: "werkbonnen";
|
|
8213
|
+
referencedColumns: ["id"];
|
|
8214
|
+
}, {
|
|
8215
|
+
foreignKeyName: "itk_offertes_work_location_id_fkey";
|
|
8216
|
+
columns: ["work_location_id"];
|
|
8217
|
+
isOneToOne: false;
|
|
8218
|
+
referencedRelation: "itk_work_locations";
|
|
8219
|
+
referencedColumns: ["id"];
|
|
8220
|
+
}];
|
|
8221
|
+
};
|
|
8222
|
+
itk_work_locations: {
|
|
8223
|
+
Row: {
|
|
8224
|
+
city: string | null;
|
|
8225
|
+
created_at: string;
|
|
8226
|
+
customer_id: string;
|
|
8227
|
+
id: string;
|
|
8228
|
+
instructions: string | null;
|
|
8229
|
+
label: string;
|
|
8230
|
+
latitude: number | null;
|
|
8231
|
+
longitude: number | null;
|
|
8232
|
+
postcode: string | null;
|
|
8233
|
+
street: string | null;
|
|
8234
|
+
updated_at: string;
|
|
8235
|
+
};
|
|
8236
|
+
Insert: {
|
|
8237
|
+
city?: string | null;
|
|
8238
|
+
created_at?: string;
|
|
8239
|
+
customer_id: string;
|
|
8240
|
+
id?: string;
|
|
8241
|
+
instructions?: string | null;
|
|
8242
|
+
label: string;
|
|
8243
|
+
latitude?: number | null;
|
|
8244
|
+
longitude?: number | null;
|
|
8245
|
+
postcode?: string | null;
|
|
8246
|
+
street?: string | null;
|
|
8247
|
+
updated_at?: string;
|
|
8248
|
+
};
|
|
8249
|
+
Update: {
|
|
8250
|
+
city?: string | null;
|
|
8251
|
+
created_at?: string;
|
|
8252
|
+
customer_id?: string;
|
|
8253
|
+
id?: string;
|
|
8254
|
+
instructions?: string | null;
|
|
8255
|
+
label?: string;
|
|
8256
|
+
latitude?: number | null;
|
|
8257
|
+
longitude?: number | null;
|
|
8258
|
+
postcode?: string | null;
|
|
8259
|
+
street?: string | null;
|
|
8260
|
+
updated_at?: string;
|
|
8261
|
+
};
|
|
8262
|
+
Relationships: [{
|
|
8263
|
+
foreignKeyName: "itk_work_locations_customer_id_fkey";
|
|
8264
|
+
columns: ["customer_id"];
|
|
8265
|
+
isOneToOne: false;
|
|
8266
|
+
referencedRelation: "itk_customers";
|
|
8267
|
+
referencedColumns: ["id"];
|
|
8268
|
+
}];
|
|
8269
|
+
};
|
|
8270
|
+
layout_logos: {
|
|
8271
|
+
Row: {
|
|
8272
|
+
bestand_url: string;
|
|
8273
|
+
bestandsgrootte: number;
|
|
8274
|
+
bestandspad: string | null;
|
|
8275
|
+
bestandstype: string;
|
|
8276
|
+
breedte: number;
|
|
8277
|
+
categorie: string;
|
|
8278
|
+
created_at: string;
|
|
8279
|
+
hash: string | null;
|
|
8280
|
+
hoogte: number;
|
|
8281
|
+
id: string;
|
|
8282
|
+
is_standaard: boolean;
|
|
8283
|
+
naam: string;
|
|
8284
|
+
omschrijving: string;
|
|
8285
|
+
transparant: boolean;
|
|
8286
|
+
updated_at: string;
|
|
8287
|
+
};
|
|
8288
|
+
Insert: {
|
|
8289
|
+
bestand_url: string;
|
|
8290
|
+
bestandsgrootte?: number;
|
|
8291
|
+
bestandspad?: string | null;
|
|
8292
|
+
bestandstype?: string;
|
|
7723
8293
|
breedte?: number;
|
|
7724
8294
|
categorie?: string;
|
|
7725
8295
|
created_at?: string;
|
|
@@ -7766,7 +8336,6 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7766
8336
|
start_date: string;
|
|
7767
8337
|
start_time: string | null;
|
|
7768
8338
|
status: string;
|
|
7769
|
-
tenant_id: string;
|
|
7770
8339
|
updated_at: string;
|
|
7771
8340
|
user_id: string;
|
|
7772
8341
|
};
|
|
@@ -7784,7 +8353,6 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7784
8353
|
start_date: string;
|
|
7785
8354
|
start_time?: string | null;
|
|
7786
8355
|
status?: string;
|
|
7787
|
-
tenant_id?: string;
|
|
7788
8356
|
updated_at?: string;
|
|
7789
8357
|
user_id: string;
|
|
7790
8358
|
};
|
|
@@ -7802,7 +8370,6 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7802
8370
|
start_date?: string;
|
|
7803
8371
|
start_time?: string | null;
|
|
7804
8372
|
status?: string;
|
|
7805
|
-
tenant_id?: string;
|
|
7806
8373
|
updated_at?: string;
|
|
7807
8374
|
user_id?: string;
|
|
7808
8375
|
};
|
|
@@ -7810,13 +8377,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7810
8377
|
foreignKeyName: "leave_requests_monteur_id_fkey";
|
|
7811
8378
|
columns: ["monteur_id"];
|
|
7812
8379
|
isOneToOne: false;
|
|
7813
|
-
referencedRelation: "
|
|
8380
|
+
referencedRelation: "profiles";
|
|
7814
8381
|
referencedColumns: ["id"];
|
|
7815
8382
|
}, {
|
|
7816
8383
|
foreignKeyName: "leave_requests_user_id_fkey";
|
|
7817
8384
|
columns: ["user_id"];
|
|
7818
8385
|
isOneToOne: false;
|
|
7819
|
-
referencedRelation: "
|
|
8386
|
+
referencedRelation: "profiles";
|
|
7820
8387
|
referencedColumns: ["id"];
|
|
7821
8388
|
}];
|
|
7822
8389
|
};
|
|
@@ -9971,6 +10538,117 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9971
10538
|
};
|
|
9972
10539
|
Relationships: [];
|
|
9973
10540
|
};
|
|
10541
|
+
material_usage: {
|
|
10542
|
+
Row: {
|
|
10543
|
+
created_at: string;
|
|
10544
|
+
id: string;
|
|
10545
|
+
material_name: string;
|
|
10546
|
+
monteur_id: string | null;
|
|
10547
|
+
price_at_time: number;
|
|
10548
|
+
quantity_used: number;
|
|
10549
|
+
updated_at: string;
|
|
10550
|
+
van_inventory_id: string | null;
|
|
10551
|
+
work_order_id: string;
|
|
10552
|
+
};
|
|
10553
|
+
Insert: {
|
|
10554
|
+
created_at?: string;
|
|
10555
|
+
id?: string;
|
|
10556
|
+
material_name: string;
|
|
10557
|
+
monteur_id?: string | null;
|
|
10558
|
+
price_at_time?: number;
|
|
10559
|
+
quantity_used?: number;
|
|
10560
|
+
updated_at?: string;
|
|
10561
|
+
van_inventory_id?: string | null;
|
|
10562
|
+
work_order_id: string;
|
|
10563
|
+
};
|
|
10564
|
+
Update: {
|
|
10565
|
+
created_at?: string;
|
|
10566
|
+
id?: string;
|
|
10567
|
+
material_name?: string;
|
|
10568
|
+
monteur_id?: string | null;
|
|
10569
|
+
price_at_time?: number;
|
|
10570
|
+
quantity_used?: number;
|
|
10571
|
+
updated_at?: string;
|
|
10572
|
+
van_inventory_id?: string | null;
|
|
10573
|
+
work_order_id?: string;
|
|
10574
|
+
};
|
|
10575
|
+
Relationships: [{
|
|
10576
|
+
foreignKeyName: "material_usage_monteur_id_fkey";
|
|
10577
|
+
columns: ["monteur_id"];
|
|
10578
|
+
isOneToOne: false;
|
|
10579
|
+
referencedRelation: "profiles";
|
|
10580
|
+
referencedColumns: ["id"];
|
|
10581
|
+
}, {
|
|
10582
|
+
foreignKeyName: "material_usage_van_inventory_id_fkey";
|
|
10583
|
+
columns: ["van_inventory_id"];
|
|
10584
|
+
isOneToOne: false;
|
|
10585
|
+
referencedRelation: "van_inventories";
|
|
10586
|
+
referencedColumns: ["id"];
|
|
10587
|
+
}, {
|
|
10588
|
+
foreignKeyName: "material_usage_work_order_id_fkey";
|
|
10589
|
+
columns: ["work_order_id"];
|
|
10590
|
+
isOneToOne: false;
|
|
10591
|
+
referencedRelation: "work_orders";
|
|
10592
|
+
referencedColumns: ["id"];
|
|
10593
|
+
}];
|
|
10594
|
+
};
|
|
10595
|
+
medewerker_details: {
|
|
10596
|
+
Row: {
|
|
10597
|
+
color: string | null;
|
|
10598
|
+
created_at: string;
|
|
10599
|
+
hours_fri: number | null;
|
|
10600
|
+
hours_mon: number | null;
|
|
10601
|
+
hours_thu: number | null;
|
|
10602
|
+
hours_tue: number | null;
|
|
10603
|
+
hours_wed: number | null;
|
|
10604
|
+
id: string;
|
|
10605
|
+
is_active: boolean;
|
|
10606
|
+
leave_balance_hours: number;
|
|
10607
|
+
persnr: string | null;
|
|
10608
|
+
phone: string | null;
|
|
10609
|
+
profile_id: string;
|
|
10610
|
+
updated_at: string;
|
|
10611
|
+
};
|
|
10612
|
+
Insert: {
|
|
10613
|
+
color?: string | null;
|
|
10614
|
+
created_at?: string;
|
|
10615
|
+
hours_fri?: number | null;
|
|
10616
|
+
hours_mon?: number | null;
|
|
10617
|
+
hours_thu?: number | null;
|
|
10618
|
+
hours_tue?: number | null;
|
|
10619
|
+
hours_wed?: number | null;
|
|
10620
|
+
id?: string;
|
|
10621
|
+
is_active?: boolean;
|
|
10622
|
+
leave_balance_hours?: number;
|
|
10623
|
+
persnr?: string | null;
|
|
10624
|
+
phone?: string | null;
|
|
10625
|
+
profile_id: string;
|
|
10626
|
+
updated_at?: string;
|
|
10627
|
+
};
|
|
10628
|
+
Update: {
|
|
10629
|
+
color?: string | null;
|
|
10630
|
+
created_at?: string;
|
|
10631
|
+
hours_fri?: number | null;
|
|
10632
|
+
hours_mon?: number | null;
|
|
10633
|
+
hours_thu?: number | null;
|
|
10634
|
+
hours_tue?: number | null;
|
|
10635
|
+
hours_wed?: number | null;
|
|
10636
|
+
id?: string;
|
|
10637
|
+
is_active?: boolean;
|
|
10638
|
+
leave_balance_hours?: number;
|
|
10639
|
+
persnr?: string | null;
|
|
10640
|
+
phone?: string | null;
|
|
10641
|
+
profile_id?: string;
|
|
10642
|
+
updated_at?: string;
|
|
10643
|
+
};
|
|
10644
|
+
Relationships: [{
|
|
10645
|
+
foreignKeyName: "medewerker_details_profile_id_fkey";
|
|
10646
|
+
columns: ["profile_id"];
|
|
10647
|
+
isOneToOne: true;
|
|
10648
|
+
referencedRelation: "profiles";
|
|
10649
|
+
referencedColumns: ["id"];
|
|
10650
|
+
}];
|
|
10651
|
+
};
|
|
9974
10652
|
module_features: {
|
|
9975
10653
|
Row: {
|
|
9976
10654
|
created_at: string;
|
|
@@ -10031,8 +10709,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10031
10709
|
module_registry: {
|
|
10032
10710
|
Row: {
|
|
10033
10711
|
created_at: string;
|
|
10712
|
+
enforce: boolean;
|
|
10034
10713
|
is_active: boolean;
|
|
10035
10714
|
last_seen_at: string;
|
|
10715
|
+
missing_count: number;
|
|
10036
10716
|
module_id: string;
|
|
10037
10717
|
name: string;
|
|
10038
10718
|
shell_id: string | null;
|
|
@@ -10040,8 +10720,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10040
10720
|
};
|
|
10041
10721
|
Insert: {
|
|
10042
10722
|
created_at?: string;
|
|
10723
|
+
enforce?: boolean;
|
|
10043
10724
|
is_active?: boolean;
|
|
10044
10725
|
last_seen_at?: string;
|
|
10726
|
+
missing_count?: number;
|
|
10045
10727
|
module_id: string;
|
|
10046
10728
|
name: string;
|
|
10047
10729
|
shell_id?: string | null;
|
|
@@ -10049,8 +10731,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10049
10731
|
};
|
|
10050
10732
|
Update: {
|
|
10051
10733
|
created_at?: string;
|
|
10734
|
+
enforce?: boolean;
|
|
10052
10735
|
is_active?: boolean;
|
|
10053
10736
|
last_seen_at?: string;
|
|
10737
|
+
missing_count?: number;
|
|
10054
10738
|
module_id?: string;
|
|
10055
10739
|
name?: string;
|
|
10056
10740
|
shell_id?: string | null;
|
|
@@ -10083,88 +10767,31 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10083
10767
|
id: string;
|
|
10084
10768
|
is_active: boolean;
|
|
10085
10769
|
last_seen_at: string | null;
|
|
10086
|
-
module_key: string;
|
|
10087
|
-
module_name: string;
|
|
10088
|
-
updated_at: string;
|
|
10089
|
-
};
|
|
10090
|
-
Insert: {
|
|
10091
|
-
created_at?: string;
|
|
10092
|
-
description?: string | null;
|
|
10093
|
-
id?: string;
|
|
10094
|
-
is_active?: boolean;
|
|
10095
|
-
last_seen_at?: string | null;
|
|
10096
|
-
module_key: string;
|
|
10097
|
-
module_name: string;
|
|
10098
|
-
updated_at?: string;
|
|
10099
|
-
};
|
|
10100
|
-
Update: {
|
|
10101
|
-
created_at?: string;
|
|
10102
|
-
description?: string | null;
|
|
10103
|
-
id?: string;
|
|
10104
|
-
is_active?: boolean;
|
|
10105
|
-
last_seen_at?: string | null;
|
|
10106
|
-
module_key?: string;
|
|
10107
|
-
module_name?: string;
|
|
10108
|
-
updated_at?: string;
|
|
10109
|
-
};
|
|
10110
|
-
Relationships: [];
|
|
10111
|
-
};
|
|
10112
|
-
monteurs: {
|
|
10113
|
-
Row: {
|
|
10114
|
-
avatar_url: string | null;
|
|
10115
|
-
color: string | null;
|
|
10116
|
-
created_at: string;
|
|
10117
|
-
email: string | null;
|
|
10118
|
-
id: string;
|
|
10119
|
-
is_active: boolean;
|
|
10120
|
-
leave_balance_hours: number;
|
|
10121
|
-
name: string;
|
|
10122
|
-
persnr: number | null;
|
|
10123
|
-
phone: string | null;
|
|
10124
|
-
role: string;
|
|
10125
|
-
tenant_id: string;
|
|
10770
|
+
module_key: string;
|
|
10771
|
+
module_name: string;
|
|
10126
10772
|
updated_at: string;
|
|
10127
|
-
user_id: string | null;
|
|
10128
10773
|
};
|
|
10129
10774
|
Insert: {
|
|
10130
|
-
avatar_url?: string | null;
|
|
10131
|
-
color?: string | null;
|
|
10132
10775
|
created_at?: string;
|
|
10133
|
-
|
|
10776
|
+
description?: string | null;
|
|
10134
10777
|
id?: string;
|
|
10135
10778
|
is_active?: boolean;
|
|
10136
|
-
|
|
10137
|
-
|
|
10138
|
-
|
|
10139
|
-
phone?: string | null;
|
|
10140
|
-
role?: string;
|
|
10141
|
-
tenant_id: string;
|
|
10779
|
+
last_seen_at?: string | null;
|
|
10780
|
+
module_key: string;
|
|
10781
|
+
module_name: string;
|
|
10142
10782
|
updated_at?: string;
|
|
10143
|
-
user_id?: string | null;
|
|
10144
10783
|
};
|
|
10145
10784
|
Update: {
|
|
10146
|
-
avatar_url?: string | null;
|
|
10147
|
-
color?: string | null;
|
|
10148
10785
|
created_at?: string;
|
|
10149
|
-
|
|
10786
|
+
description?: string | null;
|
|
10150
10787
|
id?: string;
|
|
10151
10788
|
is_active?: boolean;
|
|
10152
|
-
|
|
10153
|
-
|
|
10154
|
-
|
|
10155
|
-
phone?: string | null;
|
|
10156
|
-
role?: string;
|
|
10157
|
-
tenant_id?: string;
|
|
10789
|
+
last_seen_at?: string | null;
|
|
10790
|
+
module_key?: string;
|
|
10791
|
+
module_name?: string;
|
|
10158
10792
|
updated_at?: string;
|
|
10159
|
-
user_id?: string | null;
|
|
10160
10793
|
};
|
|
10161
|
-
Relationships: [
|
|
10162
|
-
foreignKeyName: "monteurs_tenant_id_fkey";
|
|
10163
|
-
columns: ["tenant_id"];
|
|
10164
|
-
isOneToOne: false;
|
|
10165
|
-
referencedRelation: "tenants";
|
|
10166
|
-
referencedColumns: ["id"];
|
|
10167
|
-
}];
|
|
10794
|
+
Relationships: [];
|
|
10168
10795
|
};
|
|
10169
10796
|
nmbrs_component_mapping: {
|
|
10170
10797
|
Row: {
|
|
@@ -10236,13 +10863,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10236
10863
|
nmbrs_employee_number?: string;
|
|
10237
10864
|
updated_at?: string;
|
|
10238
10865
|
};
|
|
10239
|
-
Relationships: [
|
|
10240
|
-
foreignKeyName: "nmbrs_employee_mapping_monteur_id_fkey";
|
|
10241
|
-
columns: ["monteur_id"];
|
|
10242
|
-
isOneToOne: true;
|
|
10243
|
-
referencedRelation: "monteurs";
|
|
10244
|
-
referencedColumns: ["id"];
|
|
10245
|
-
}];
|
|
10866
|
+
Relationships: [];
|
|
10246
10867
|
};
|
|
10247
10868
|
nmbrs_export_lines: {
|
|
10248
10869
|
Row: {
|
|
@@ -10291,12 +10912,6 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10291
10912
|
wage_code?: string;
|
|
10292
10913
|
};
|
|
10293
10914
|
Relationships: [{
|
|
10294
|
-
foreignKeyName: "nmbrs_export_lines_monteur_id_fkey";
|
|
10295
|
-
columns: ["monteur_id"];
|
|
10296
|
-
isOneToOne: false;
|
|
10297
|
-
referencedRelation: "monteurs";
|
|
10298
|
-
referencedColumns: ["id"];
|
|
10299
|
-
}, {
|
|
10300
10915
|
foreignKeyName: "nmbrs_export_lines_run_id_fkey";
|
|
10301
10916
|
columns: ["run_id"];
|
|
10302
10917
|
isOneToOne: false;
|
|
@@ -11119,6 +11734,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11119
11734
|
};
|
|
11120
11735
|
order_invoice_links: {
|
|
11121
11736
|
Row: {
|
|
11737
|
+
administration_code: string | null;
|
|
11122
11738
|
attempts: number;
|
|
11123
11739
|
created_at: string;
|
|
11124
11740
|
error_message: string | null;
|
|
@@ -11131,6 +11747,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11131
11747
|
updated_at: string;
|
|
11132
11748
|
};
|
|
11133
11749
|
Insert: {
|
|
11750
|
+
administration_code?: string | null;
|
|
11134
11751
|
attempts?: number;
|
|
11135
11752
|
created_at?: string;
|
|
11136
11753
|
error_message?: string | null;
|
|
@@ -11143,6 +11760,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11143
11760
|
updated_at?: string;
|
|
11144
11761
|
};
|
|
11145
11762
|
Update: {
|
|
11763
|
+
administration_code?: string | null;
|
|
11146
11764
|
attempts?: number;
|
|
11147
11765
|
created_at?: string;
|
|
11148
11766
|
error_message?: string | null;
|
|
@@ -11330,6 +11948,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11330
11948
|
orders: {
|
|
11331
11949
|
Row: {
|
|
11332
11950
|
buffer_id: string | null;
|
|
11951
|
+
cancel_reason: string | null;
|
|
11952
|
+
cancelled_at: string | null;
|
|
11333
11953
|
created_at: string;
|
|
11334
11954
|
custom_fields: import("./types.js").Json;
|
|
11335
11955
|
customer_id: string | null;
|
|
@@ -11352,6 +11972,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11352
11972
|
};
|
|
11353
11973
|
Insert: {
|
|
11354
11974
|
buffer_id?: string | null;
|
|
11975
|
+
cancel_reason?: string | null;
|
|
11976
|
+
cancelled_at?: string | null;
|
|
11355
11977
|
created_at?: string;
|
|
11356
11978
|
custom_fields?: import("./types.js").Json;
|
|
11357
11979
|
customer_id?: string | null;
|
|
@@ -11374,6 +11996,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11374
11996
|
};
|
|
11375
11997
|
Update: {
|
|
11376
11998
|
buffer_id?: string | null;
|
|
11999
|
+
cancel_reason?: string | null;
|
|
12000
|
+
cancelled_at?: string | null;
|
|
11377
12001
|
created_at?: string;
|
|
11378
12002
|
custom_fields?: import("./types.js").Json;
|
|
11379
12003
|
customer_id?: string | null;
|
|
@@ -12584,6 +13208,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
12584
13208
|
gebruiker_id: string | null;
|
|
12585
13209
|
gebruiker_naam: string;
|
|
12586
13210
|
gestart_op: string | null;
|
|
13211
|
+
herkomst: string | null;
|
|
12587
13212
|
id: string;
|
|
12588
13213
|
idempotentie_sleutel: string | null;
|
|
12589
13214
|
is_herprint: boolean;
|
|
@@ -12613,6 +13238,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
12613
13238
|
gebruiker_id?: string | null;
|
|
12614
13239
|
gebruiker_naam?: string;
|
|
12615
13240
|
gestart_op?: string | null;
|
|
13241
|
+
herkomst?: string | null;
|
|
12616
13242
|
id?: string;
|
|
12617
13243
|
idempotentie_sleutel?: string | null;
|
|
12618
13244
|
is_herprint?: boolean;
|
|
@@ -12642,6 +13268,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
12642
13268
|
gebruiker_id?: string | null;
|
|
12643
13269
|
gebruiker_naam?: string;
|
|
12644
13270
|
gestart_op?: string | null;
|
|
13271
|
+
herkomst?: string | null;
|
|
12645
13272
|
id?: string;
|
|
12646
13273
|
idempotentie_sleutel?: string | null;
|
|
12647
13274
|
is_herprint?: boolean;
|
|
@@ -13436,6 +14063,66 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
13436
14063
|
};
|
|
13437
14064
|
Relationships: [];
|
|
13438
14065
|
};
|
|
14066
|
+
profile_modules: {
|
|
14067
|
+
Row: {
|
|
14068
|
+
created_at: string;
|
|
14069
|
+
id: string;
|
|
14070
|
+
module_id: string;
|
|
14071
|
+
profile_id: string;
|
|
14072
|
+
};
|
|
14073
|
+
Insert: {
|
|
14074
|
+
created_at?: string;
|
|
14075
|
+
id?: string;
|
|
14076
|
+
module_id: string;
|
|
14077
|
+
profile_id: string;
|
|
14078
|
+
};
|
|
14079
|
+
Update: {
|
|
14080
|
+
created_at?: string;
|
|
14081
|
+
id?: string;
|
|
14082
|
+
module_id?: string;
|
|
14083
|
+
profile_id?: string;
|
|
14084
|
+
};
|
|
14085
|
+
Relationships: [{
|
|
14086
|
+
foreignKeyName: "profile_modules_profile_id_fkey";
|
|
14087
|
+
columns: ["profile_id"];
|
|
14088
|
+
isOneToOne: false;
|
|
14089
|
+
referencedRelation: "profiles_org";
|
|
14090
|
+
referencedColumns: ["id"];
|
|
14091
|
+
}];
|
|
14092
|
+
};
|
|
14093
|
+
profile_roles: {
|
|
14094
|
+
Row: {
|
|
14095
|
+
created_at: string;
|
|
14096
|
+
id: string;
|
|
14097
|
+
profile_id: string;
|
|
14098
|
+
role_id: string;
|
|
14099
|
+
};
|
|
14100
|
+
Insert: {
|
|
14101
|
+
created_at?: string;
|
|
14102
|
+
id?: string;
|
|
14103
|
+
profile_id: string;
|
|
14104
|
+
role_id: string;
|
|
14105
|
+
};
|
|
14106
|
+
Update: {
|
|
14107
|
+
created_at?: string;
|
|
14108
|
+
id?: string;
|
|
14109
|
+
profile_id?: string;
|
|
14110
|
+
role_id?: string;
|
|
14111
|
+
};
|
|
14112
|
+
Relationships: [{
|
|
14113
|
+
foreignKeyName: "profile_roles_profile_id_fkey";
|
|
14114
|
+
columns: ["profile_id"];
|
|
14115
|
+
isOneToOne: false;
|
|
14116
|
+
referencedRelation: "profiles_org";
|
|
14117
|
+
referencedColumns: ["id"];
|
|
14118
|
+
}, {
|
|
14119
|
+
foreignKeyName: "profile_roles_role_id_fkey";
|
|
14120
|
+
columns: ["role_id"];
|
|
14121
|
+
isOneToOne: false;
|
|
14122
|
+
referencedRelation: "roles";
|
|
14123
|
+
referencedColumns: ["id"];
|
|
14124
|
+
}];
|
|
14125
|
+
};
|
|
13439
14126
|
profiles: {
|
|
13440
14127
|
Row: {
|
|
13441
14128
|
address: string | null;
|
|
@@ -13481,6 +14168,39 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
13481
14168
|
referencedColumns: ["id"];
|
|
13482
14169
|
}];
|
|
13483
14170
|
};
|
|
14171
|
+
profiles_org: {
|
|
14172
|
+
Row: {
|
|
14173
|
+
created_at: string;
|
|
14174
|
+
id: string;
|
|
14175
|
+
is_default: boolean;
|
|
14176
|
+
name: string;
|
|
14177
|
+
tenant_id: string | null;
|
|
14178
|
+
updated_at: string;
|
|
14179
|
+
};
|
|
14180
|
+
Insert: {
|
|
14181
|
+
created_at?: string;
|
|
14182
|
+
id?: string;
|
|
14183
|
+
is_default?: boolean;
|
|
14184
|
+
name: string;
|
|
14185
|
+
tenant_id?: string | null;
|
|
14186
|
+
updated_at?: string;
|
|
14187
|
+
};
|
|
14188
|
+
Update: {
|
|
14189
|
+
created_at?: string;
|
|
14190
|
+
id?: string;
|
|
14191
|
+
is_default?: boolean;
|
|
14192
|
+
name?: string;
|
|
14193
|
+
tenant_id?: string | null;
|
|
14194
|
+
updated_at?: string;
|
|
14195
|
+
};
|
|
14196
|
+
Relationships: [{
|
|
14197
|
+
foreignKeyName: "profiles_org_tenant_id_fkey";
|
|
14198
|
+
columns: ["tenant_id"];
|
|
14199
|
+
isOneToOne: false;
|
|
14200
|
+
referencedRelation: "tenants";
|
|
14201
|
+
referencedColumns: ["id"];
|
|
14202
|
+
}];
|
|
14203
|
+
};
|
|
13484
14204
|
projects: {
|
|
13485
14205
|
Row: {
|
|
13486
14206
|
contact_name: string | null;
|
|
@@ -14655,6 +15375,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
14655
15375
|
type: string;
|
|
14656
15376
|
updated_at: string;
|
|
14657
15377
|
vereist_medewerker: boolean;
|
|
15378
|
+
werkplek: string | null;
|
|
14658
15379
|
};
|
|
14659
15380
|
Insert: {
|
|
14660
15381
|
actief?: boolean;
|
|
@@ -14668,6 +15389,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
14668
15389
|
type?: string;
|
|
14669
15390
|
updated_at?: string;
|
|
14670
15391
|
vereist_medewerker?: boolean;
|
|
15392
|
+
werkplek?: string | null;
|
|
14671
15393
|
};
|
|
14672
15394
|
Update: {
|
|
14673
15395
|
actief?: boolean;
|
|
@@ -14681,9 +15403,46 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
14681
15403
|
type?: string;
|
|
14682
15404
|
updated_at?: string;
|
|
14683
15405
|
vereist_medewerker?: boolean;
|
|
15406
|
+
werkplek?: string | null;
|
|
14684
15407
|
};
|
|
14685
15408
|
Relationships: [];
|
|
14686
15409
|
};
|
|
15410
|
+
sick_periods: {
|
|
15411
|
+
Row: {
|
|
15412
|
+
created_at: string;
|
|
15413
|
+
employee_id: string;
|
|
15414
|
+
end_date: string | null;
|
|
15415
|
+
id: string;
|
|
15416
|
+
notes: string | null;
|
|
15417
|
+
start_date: string;
|
|
15418
|
+
updated_at: string;
|
|
15419
|
+
};
|
|
15420
|
+
Insert: {
|
|
15421
|
+
created_at?: string;
|
|
15422
|
+
employee_id: string;
|
|
15423
|
+
end_date?: string | null;
|
|
15424
|
+
id?: string;
|
|
15425
|
+
notes?: string | null;
|
|
15426
|
+
start_date: string;
|
|
15427
|
+
updated_at?: string;
|
|
15428
|
+
};
|
|
15429
|
+
Update: {
|
|
15430
|
+
created_at?: string;
|
|
15431
|
+
employee_id?: string;
|
|
15432
|
+
end_date?: string | null;
|
|
15433
|
+
id?: string;
|
|
15434
|
+
notes?: string | null;
|
|
15435
|
+
start_date?: string;
|
|
15436
|
+
updated_at?: string;
|
|
15437
|
+
};
|
|
15438
|
+
Relationships: [{
|
|
15439
|
+
foreignKeyName: "sick_periods_employee_id_fkey";
|
|
15440
|
+
columns: ["employee_id"];
|
|
15441
|
+
isOneToOne: false;
|
|
15442
|
+
referencedRelation: "profiles";
|
|
15443
|
+
referencedColumns: ["id"];
|
|
15444
|
+
}];
|
|
15445
|
+
};
|
|
14687
15446
|
sidebar_config: {
|
|
14688
15447
|
Row: {
|
|
14689
15448
|
id: string;
|
|
@@ -14981,6 +15740,54 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
14981
15740
|
};
|
|
14982
15741
|
Relationships: [];
|
|
14983
15742
|
};
|
|
15743
|
+
time_compensation_entries: {
|
|
15744
|
+
Row: {
|
|
15745
|
+
created_at: string;
|
|
15746
|
+
employee_id: string;
|
|
15747
|
+
entry_date: string;
|
|
15748
|
+
id: string;
|
|
15749
|
+
km: number;
|
|
15750
|
+
meal_allowance: number;
|
|
15751
|
+
notes: string | null;
|
|
15752
|
+
standby_evening: number;
|
|
15753
|
+
standby_weekend: number;
|
|
15754
|
+
tvt_change: number;
|
|
15755
|
+
updated_at: string;
|
|
15756
|
+
};
|
|
15757
|
+
Insert: {
|
|
15758
|
+
created_at?: string;
|
|
15759
|
+
employee_id: string;
|
|
15760
|
+
entry_date: string;
|
|
15761
|
+
id?: string;
|
|
15762
|
+
km?: number;
|
|
15763
|
+
meal_allowance?: number;
|
|
15764
|
+
notes?: string | null;
|
|
15765
|
+
standby_evening?: number;
|
|
15766
|
+
standby_weekend?: number;
|
|
15767
|
+
tvt_change?: number;
|
|
15768
|
+
updated_at?: string;
|
|
15769
|
+
};
|
|
15770
|
+
Update: {
|
|
15771
|
+
created_at?: string;
|
|
15772
|
+
employee_id?: string;
|
|
15773
|
+
entry_date?: string;
|
|
15774
|
+
id?: string;
|
|
15775
|
+
km?: number;
|
|
15776
|
+
meal_allowance?: number;
|
|
15777
|
+
notes?: string | null;
|
|
15778
|
+
standby_evening?: number;
|
|
15779
|
+
standby_weekend?: number;
|
|
15780
|
+
tvt_change?: number;
|
|
15781
|
+
updated_at?: string;
|
|
15782
|
+
};
|
|
15783
|
+
Relationships: [{
|
|
15784
|
+
foreignKeyName: "time_compensation_entries_employee_id_fkey";
|
|
15785
|
+
columns: ["employee_id"];
|
|
15786
|
+
isOneToOne: false;
|
|
15787
|
+
referencedRelation: "profiles";
|
|
15788
|
+
referencedColumns: ["id"];
|
|
15789
|
+
}];
|
|
15790
|
+
};
|
|
14984
15791
|
time_entries: {
|
|
14985
15792
|
Row: {
|
|
14986
15793
|
created_at: string;
|
|
@@ -15015,65 +15822,170 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
15015
15822
|
undertime?: number;
|
|
15016
15823
|
updated_at?: string;
|
|
15017
15824
|
};
|
|
15825
|
+
Relationships: [];
|
|
15826
|
+
};
|
|
15827
|
+
time_log_week_approvals: {
|
|
15828
|
+
Row: {
|
|
15829
|
+
approved_at: string | null;
|
|
15830
|
+
approved_by: string | null;
|
|
15831
|
+
created_at: string;
|
|
15832
|
+
employee_id: string;
|
|
15833
|
+
id: string;
|
|
15834
|
+
locked: boolean;
|
|
15835
|
+
notes: string | null;
|
|
15836
|
+
status: string;
|
|
15837
|
+
submitted_at: string | null;
|
|
15838
|
+
updated_at: string;
|
|
15839
|
+
week_start: string;
|
|
15840
|
+
};
|
|
15841
|
+
Insert: {
|
|
15842
|
+
approved_at?: string | null;
|
|
15843
|
+
approved_by?: string | null;
|
|
15844
|
+
created_at?: string;
|
|
15845
|
+
employee_id: string;
|
|
15846
|
+
id?: string;
|
|
15847
|
+
locked?: boolean;
|
|
15848
|
+
notes?: string | null;
|
|
15849
|
+
status?: string;
|
|
15850
|
+
submitted_at?: string | null;
|
|
15851
|
+
updated_at?: string;
|
|
15852
|
+
week_start: string;
|
|
15853
|
+
};
|
|
15854
|
+
Update: {
|
|
15855
|
+
approved_at?: string | null;
|
|
15856
|
+
approved_by?: string | null;
|
|
15857
|
+
created_at?: string;
|
|
15858
|
+
employee_id?: string;
|
|
15859
|
+
id?: string;
|
|
15860
|
+
locked?: boolean;
|
|
15861
|
+
notes?: string | null;
|
|
15862
|
+
status?: string;
|
|
15863
|
+
submitted_at?: string | null;
|
|
15864
|
+
updated_at?: string;
|
|
15865
|
+
week_start?: string;
|
|
15866
|
+
};
|
|
15018
15867
|
Relationships: [{
|
|
15019
|
-
foreignKeyName: "
|
|
15868
|
+
foreignKeyName: "time_log_week_approvals_employee_id_fkey";
|
|
15020
15869
|
columns: ["employee_id"];
|
|
15021
15870
|
isOneToOne: false;
|
|
15022
|
-
referencedRelation: "
|
|
15871
|
+
referencedRelation: "profiles";
|
|
15023
15872
|
referencedColumns: ["id"];
|
|
15024
15873
|
}];
|
|
15025
15874
|
};
|
|
15026
15875
|
time_logs: {
|
|
15027
15876
|
Row: {
|
|
15877
|
+
auto_stop_reason: string | null;
|
|
15878
|
+
auto_stopped: boolean;
|
|
15028
15879
|
created_at: string;
|
|
15880
|
+
current_latitude: number | null;
|
|
15881
|
+
current_longitude: number | null;
|
|
15882
|
+
current_position_updated_at: string | null;
|
|
15029
15883
|
employee_id: string;
|
|
15884
|
+
end_latitude: number | null;
|
|
15885
|
+
end_longitude: number | null;
|
|
15030
15886
|
end_time: string | null;
|
|
15887
|
+
eta_distance_km: number | null;
|
|
15888
|
+
eta_minutes: number | null;
|
|
15889
|
+
eta_updated_at: string | null;
|
|
15890
|
+
hour_category: string | null;
|
|
15031
15891
|
id: string;
|
|
15892
|
+
last_reminder_at: string | null;
|
|
15032
15893
|
notes: string | null;
|
|
15033
15894
|
overtime_hours: number;
|
|
15034
15895
|
overtime_type: string | null;
|
|
15035
15896
|
regular_hours: number;
|
|
15897
|
+
reminder_count: number;
|
|
15898
|
+
requires_review: boolean;
|
|
15899
|
+
start_latitude: number | null;
|
|
15900
|
+
start_longitude: number | null;
|
|
15036
15901
|
start_time: string;
|
|
15037
15902
|
travel_cost: number | null;
|
|
15038
15903
|
travel_distance_km: number | null;
|
|
15904
|
+
travel_duration_min: number | null;
|
|
15905
|
+
travel_time_minutes: number | null;
|
|
15039
15906
|
type: string;
|
|
15040
15907
|
updated_at: string;
|
|
15908
|
+
work_order_id: string | null;
|
|
15041
15909
|
};
|
|
15042
15910
|
Insert: {
|
|
15911
|
+
auto_stop_reason?: string | null;
|
|
15912
|
+
auto_stopped?: boolean;
|
|
15043
15913
|
created_at?: string;
|
|
15914
|
+
current_latitude?: number | null;
|
|
15915
|
+
current_longitude?: number | null;
|
|
15916
|
+
current_position_updated_at?: string | null;
|
|
15044
15917
|
employee_id: string;
|
|
15918
|
+
end_latitude?: number | null;
|
|
15919
|
+
end_longitude?: number | null;
|
|
15045
15920
|
end_time?: string | null;
|
|
15921
|
+
eta_distance_km?: number | null;
|
|
15922
|
+
eta_minutes?: number | null;
|
|
15923
|
+
eta_updated_at?: string | null;
|
|
15924
|
+
hour_category?: string | null;
|
|
15046
15925
|
id?: string;
|
|
15926
|
+
last_reminder_at?: string | null;
|
|
15047
15927
|
notes?: string | null;
|
|
15048
15928
|
overtime_hours?: number;
|
|
15049
15929
|
overtime_type?: string | null;
|
|
15050
15930
|
regular_hours?: number;
|
|
15931
|
+
reminder_count?: number;
|
|
15932
|
+
requires_review?: boolean;
|
|
15933
|
+
start_latitude?: number | null;
|
|
15934
|
+
start_longitude?: number | null;
|
|
15051
15935
|
start_time?: string;
|
|
15052
15936
|
travel_cost?: number | null;
|
|
15053
15937
|
travel_distance_km?: number | null;
|
|
15938
|
+
travel_duration_min?: number | null;
|
|
15939
|
+
travel_time_minutes?: number | null;
|
|
15054
15940
|
type: string;
|
|
15055
15941
|
updated_at?: string;
|
|
15942
|
+
work_order_id?: string | null;
|
|
15056
15943
|
};
|
|
15057
15944
|
Update: {
|
|
15945
|
+
auto_stop_reason?: string | null;
|
|
15946
|
+
auto_stopped?: boolean;
|
|
15058
15947
|
created_at?: string;
|
|
15948
|
+
current_latitude?: number | null;
|
|
15949
|
+
current_longitude?: number | null;
|
|
15950
|
+
current_position_updated_at?: string | null;
|
|
15059
15951
|
employee_id?: string;
|
|
15952
|
+
end_latitude?: number | null;
|
|
15953
|
+
end_longitude?: number | null;
|
|
15060
15954
|
end_time?: string | null;
|
|
15955
|
+
eta_distance_km?: number | null;
|
|
15956
|
+
eta_minutes?: number | null;
|
|
15957
|
+
eta_updated_at?: string | null;
|
|
15958
|
+
hour_category?: string | null;
|
|
15061
15959
|
id?: string;
|
|
15960
|
+
last_reminder_at?: string | null;
|
|
15062
15961
|
notes?: string | null;
|
|
15063
15962
|
overtime_hours?: number;
|
|
15064
15963
|
overtime_type?: string | null;
|
|
15065
15964
|
regular_hours?: number;
|
|
15965
|
+
reminder_count?: number;
|
|
15966
|
+
requires_review?: boolean;
|
|
15967
|
+
start_latitude?: number | null;
|
|
15968
|
+
start_longitude?: number | null;
|
|
15066
15969
|
start_time?: string;
|
|
15067
15970
|
travel_cost?: number | null;
|
|
15068
15971
|
travel_distance_km?: number | null;
|
|
15972
|
+
travel_duration_min?: number | null;
|
|
15973
|
+
travel_time_minutes?: number | null;
|
|
15069
15974
|
type?: string;
|
|
15070
15975
|
updated_at?: string;
|
|
15976
|
+
work_order_id?: string | null;
|
|
15071
15977
|
};
|
|
15072
15978
|
Relationships: [{
|
|
15073
15979
|
foreignKeyName: "time_logs_employee_id_fkey";
|
|
15074
15980
|
columns: ["employee_id"];
|
|
15075
15981
|
isOneToOne: false;
|
|
15076
|
-
referencedRelation: "
|
|
15982
|
+
referencedRelation: "profiles";
|
|
15983
|
+
referencedColumns: ["id"];
|
|
15984
|
+
}, {
|
|
15985
|
+
foreignKeyName: "time_logs_work_order_id_fkey";
|
|
15986
|
+
columns: ["work_order_id"];
|
|
15987
|
+
isOneToOne: false;
|
|
15988
|
+
referencedRelation: "work_orders";
|
|
15077
15989
|
referencedColumns: ["id"];
|
|
15078
15990
|
}];
|
|
15079
15991
|
};
|
|
@@ -15112,7 +16024,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
15112
16024
|
foreignKeyName: "time_off_entries_employee_id_fkey";
|
|
15113
16025
|
columns: ["employee_id"];
|
|
15114
16026
|
isOneToOne: false;
|
|
15115
|
-
referencedRelation: "
|
|
16027
|
+
referencedRelation: "profiles";
|
|
15116
16028
|
referencedColumns: ["id"];
|
|
15117
16029
|
}];
|
|
15118
16030
|
};
|
|
@@ -15361,12 +16273,16 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
15361
16273
|
company_name: string | null;
|
|
15362
16274
|
connected_at: string | null;
|
|
15363
16275
|
created_at: string;
|
|
16276
|
+
disconnected_at: string | null;
|
|
15364
16277
|
environment: string;
|
|
15365
16278
|
id: string;
|
|
16279
|
+
initial_sync_completed_at: string | null;
|
|
16280
|
+
initial_sync_started_at: string | null;
|
|
15366
16281
|
is_active: boolean;
|
|
15367
16282
|
label: string | null;
|
|
15368
16283
|
office_code: string | null;
|
|
15369
16284
|
redirect_uri: string | null;
|
|
16285
|
+
superseded_at: string | null;
|
|
15370
16286
|
updated_at: string;
|
|
15371
16287
|
user_id: string;
|
|
15372
16288
|
};
|
|
@@ -15377,12 +16293,16 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
15377
16293
|
company_name?: string | null;
|
|
15378
16294
|
connected_at?: string | null;
|
|
15379
16295
|
created_at?: string;
|
|
16296
|
+
disconnected_at?: string | null;
|
|
15380
16297
|
environment: string;
|
|
15381
16298
|
id?: string;
|
|
16299
|
+
initial_sync_completed_at?: string | null;
|
|
16300
|
+
initial_sync_started_at?: string | null;
|
|
15382
16301
|
is_active?: boolean;
|
|
15383
16302
|
label?: string | null;
|
|
15384
16303
|
office_code?: string | null;
|
|
15385
16304
|
redirect_uri?: string | null;
|
|
16305
|
+
superseded_at?: string | null;
|
|
15386
16306
|
updated_at?: string;
|
|
15387
16307
|
user_id: string;
|
|
15388
16308
|
};
|
|
@@ -15393,12 +16313,16 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
15393
16313
|
company_name?: string | null;
|
|
15394
16314
|
connected_at?: string | null;
|
|
15395
16315
|
created_at?: string;
|
|
16316
|
+
disconnected_at?: string | null;
|
|
15396
16317
|
environment?: string;
|
|
15397
16318
|
id?: string;
|
|
16319
|
+
initial_sync_completed_at?: string | null;
|
|
16320
|
+
initial_sync_started_at?: string | null;
|
|
15398
16321
|
is_active?: boolean;
|
|
15399
16322
|
label?: string | null;
|
|
15400
16323
|
office_code?: string | null;
|
|
15401
16324
|
redirect_uri?: string | null;
|
|
16325
|
+
superseded_at?: string | null;
|
|
15402
16326
|
updated_at?: string;
|
|
15403
16327
|
user_id?: string;
|
|
15404
16328
|
};
|
|
@@ -15417,14 +16341,48 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
15417
16341
|
};
|
|
15418
16342
|
Update: {
|
|
15419
16343
|
created_at?: string;
|
|
15420
|
-
id?: number;
|
|
15421
|
-
secret?: string;
|
|
16344
|
+
id?: number;
|
|
16345
|
+
secret?: string;
|
|
16346
|
+
};
|
|
16347
|
+
Relationships: [];
|
|
16348
|
+
};
|
|
16349
|
+
twinfield_cron_locks: {
|
|
16350
|
+
Row: {
|
|
16351
|
+
created_at: string;
|
|
16352
|
+
heartbeat_at: string;
|
|
16353
|
+
job_name: string;
|
|
16354
|
+
last_error: string | null;
|
|
16355
|
+
last_finished_at: string | null;
|
|
16356
|
+
locked_at: string;
|
|
16357
|
+
run_id: string;
|
|
16358
|
+
updated_at: string;
|
|
16359
|
+
};
|
|
16360
|
+
Insert: {
|
|
16361
|
+
created_at?: string;
|
|
16362
|
+
heartbeat_at?: string;
|
|
16363
|
+
job_name: string;
|
|
16364
|
+
last_error?: string | null;
|
|
16365
|
+
last_finished_at?: string | null;
|
|
16366
|
+
locked_at?: string;
|
|
16367
|
+
run_id?: string;
|
|
16368
|
+
updated_at?: string;
|
|
16369
|
+
};
|
|
16370
|
+
Update: {
|
|
16371
|
+
created_at?: string;
|
|
16372
|
+
heartbeat_at?: string;
|
|
16373
|
+
job_name?: string;
|
|
16374
|
+
last_error?: string | null;
|
|
16375
|
+
last_finished_at?: string | null;
|
|
16376
|
+
locked_at?: string;
|
|
16377
|
+
run_id?: string;
|
|
16378
|
+
updated_at?: string;
|
|
15422
16379
|
};
|
|
15423
16380
|
Relationships: [];
|
|
15424
16381
|
};
|
|
15425
16382
|
twinfield_customers: {
|
|
15426
16383
|
Row: {
|
|
15427
16384
|
address: string | null;
|
|
16385
|
+
administration_code: string;
|
|
15428
16386
|
city: string | null;
|
|
15429
16387
|
country: string | null;
|
|
15430
16388
|
created_at: string;
|
|
@@ -15444,6 +16402,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
15444
16402
|
};
|
|
15445
16403
|
Insert: {
|
|
15446
16404
|
address?: string | null;
|
|
16405
|
+
administration_code?: string;
|
|
15447
16406
|
city?: string | null;
|
|
15448
16407
|
country?: string | null;
|
|
15449
16408
|
created_at?: string;
|
|
@@ -15463,6 +16422,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
15463
16422
|
};
|
|
15464
16423
|
Update: {
|
|
15465
16424
|
address?: string | null;
|
|
16425
|
+
administration_code?: string;
|
|
15466
16426
|
city?: string | null;
|
|
15467
16427
|
country?: string | null;
|
|
15468
16428
|
created_at?: string;
|
|
@@ -15676,7 +16636,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
15676
16636
|
};
|
|
15677
16637
|
twinfield_invoice_settings: {
|
|
15678
16638
|
Row: {
|
|
16639
|
+
administration_code: string | null;
|
|
15679
16640
|
auto_invoice_enabled: boolean;
|
|
16641
|
+
auto_invoice_start_date: string | null;
|
|
15680
16642
|
auto_invoice_trigger_statuses: string[];
|
|
15681
16643
|
created_at: string;
|
|
15682
16644
|
debtor_gl_account: string;
|
|
@@ -15690,15 +16652,19 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
15690
16652
|
invoice_enabled_fo: boolean;
|
|
15691
16653
|
invoice_enabled_ho: boolean;
|
|
15692
16654
|
invoice_enabled_mo: boolean;
|
|
16655
|
+
needs_review: boolean;
|
|
15693
16656
|
payment_gl_account: string;
|
|
15694
16657
|
payment_journal_code: string;
|
|
16658
|
+
settings_confirmed_at: string | null;
|
|
15695
16659
|
updated_at: string;
|
|
15696
16660
|
user_id: string;
|
|
15697
16661
|
vat_code_eu_reverse: string | null;
|
|
15698
16662
|
vat_code_export: string | null;
|
|
15699
16663
|
};
|
|
15700
16664
|
Insert: {
|
|
16665
|
+
administration_code?: string | null;
|
|
15701
16666
|
auto_invoice_enabled?: boolean;
|
|
16667
|
+
auto_invoice_start_date?: string | null;
|
|
15702
16668
|
auto_invoice_trigger_statuses?: string[];
|
|
15703
16669
|
created_at?: string;
|
|
15704
16670
|
debtor_gl_account?: string;
|
|
@@ -15712,15 +16678,19 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
15712
16678
|
invoice_enabled_fo?: boolean;
|
|
15713
16679
|
invoice_enabled_ho?: boolean;
|
|
15714
16680
|
invoice_enabled_mo?: boolean;
|
|
16681
|
+
needs_review?: boolean;
|
|
15715
16682
|
payment_gl_account?: string;
|
|
15716
16683
|
payment_journal_code?: string;
|
|
16684
|
+
settings_confirmed_at?: string | null;
|
|
15717
16685
|
updated_at?: string;
|
|
15718
16686
|
user_id: string;
|
|
15719
16687
|
vat_code_eu_reverse?: string | null;
|
|
15720
16688
|
vat_code_export?: string | null;
|
|
15721
16689
|
};
|
|
15722
16690
|
Update: {
|
|
16691
|
+
administration_code?: string | null;
|
|
15723
16692
|
auto_invoice_enabled?: boolean;
|
|
16693
|
+
auto_invoice_start_date?: string | null;
|
|
15724
16694
|
auto_invoice_trigger_statuses?: string[];
|
|
15725
16695
|
created_at?: string;
|
|
15726
16696
|
debtor_gl_account?: string;
|
|
@@ -15734,8 +16704,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
15734
16704
|
invoice_enabled_fo?: boolean;
|
|
15735
16705
|
invoice_enabled_ho?: boolean;
|
|
15736
16706
|
invoice_enabled_mo?: boolean;
|
|
16707
|
+
needs_review?: boolean;
|
|
15737
16708
|
payment_gl_account?: string;
|
|
15738
16709
|
payment_journal_code?: string;
|
|
16710
|
+
settings_confirmed_at?: string | null;
|
|
15739
16711
|
updated_at?: string;
|
|
15740
16712
|
user_id?: string;
|
|
15741
16713
|
vat_code_eu_reverse?: string | null;
|
|
@@ -16022,6 +16994,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
16022
16994
|
twinfield_push_queue: {
|
|
16023
16995
|
Row: {
|
|
16024
16996
|
action: string;
|
|
16997
|
+
attempt_started_at: string | null;
|
|
16025
16998
|
attempts: number;
|
|
16026
16999
|
connection_id: string | null;
|
|
16027
17000
|
created_at: string;
|
|
@@ -16038,6 +17011,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
16038
17011
|
};
|
|
16039
17012
|
Insert: {
|
|
16040
17013
|
action?: string;
|
|
17014
|
+
attempt_started_at?: string | null;
|
|
16041
17015
|
attempts?: number;
|
|
16042
17016
|
connection_id?: string | null;
|
|
16043
17017
|
created_at?: string;
|
|
@@ -16054,6 +17028,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
16054
17028
|
};
|
|
16055
17029
|
Update: {
|
|
16056
17030
|
action?: string;
|
|
17031
|
+
attempt_started_at?: string | null;
|
|
16057
17032
|
attempts?: number;
|
|
16058
17033
|
connection_id?: string | null;
|
|
16059
17034
|
created_at?: string;
|
|
@@ -16251,13 +17226,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
16251
17226
|
workday_end?: string | null;
|
|
16252
17227
|
workday_start?: string | null;
|
|
16253
17228
|
};
|
|
16254
|
-
Relationships: [
|
|
16255
|
-
foreignKeyName: "uren_cao_profiles_monteur_id_fkey";
|
|
16256
|
-
columns: ["monteur_id"];
|
|
16257
|
-
isOneToOne: true;
|
|
16258
|
-
referencedRelation: "monteurs";
|
|
16259
|
-
referencedColumns: ["id"];
|
|
16260
|
-
}];
|
|
17229
|
+
Relationships: [];
|
|
16261
17230
|
};
|
|
16262
17231
|
uren_entries: {
|
|
16263
17232
|
Row: {
|
|
@@ -16303,12 +17272,6 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
16303
17272
|
werkbon_id?: string | null;
|
|
16304
17273
|
};
|
|
16305
17274
|
Relationships: [{
|
|
16306
|
-
foreignKeyName: "uren_entries_monteur_id_fkey";
|
|
16307
|
-
columns: ["monteur_id"];
|
|
16308
|
-
isOneToOne: false;
|
|
16309
|
-
referencedRelation: "monteurs";
|
|
16310
|
-
referencedColumns: ["id"];
|
|
16311
|
-
}, {
|
|
16312
17275
|
foreignKeyName: "uren_entries_werkbon_id_fkey";
|
|
16313
17276
|
columns: ["werkbon_id"];
|
|
16314
17277
|
isOneToOne: false;
|
|
@@ -16349,114 +17312,6 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
16349
17312
|
};
|
|
16350
17313
|
Relationships: [];
|
|
16351
17314
|
};
|
|
16352
|
-
uren_facturen: {
|
|
16353
|
-
Row: {
|
|
16354
|
-
created_at: string;
|
|
16355
|
-
created_by: string | null;
|
|
16356
|
-
customer_id: string | null;
|
|
16357
|
-
customer_name: string | null;
|
|
16358
|
-
id: string;
|
|
16359
|
-
invoice_number: string | null;
|
|
16360
|
-
note: string | null;
|
|
16361
|
-
status: string;
|
|
16362
|
-
total_excl_cents: number;
|
|
16363
|
-
total_incl_cents: number;
|
|
16364
|
-
updated_at: string;
|
|
16365
|
-
vat_cents: number;
|
|
16366
|
-
vat_percentage: number;
|
|
16367
|
-
werkbon_id: string | null;
|
|
16368
|
-
};
|
|
16369
|
-
Insert: {
|
|
16370
|
-
created_at?: string;
|
|
16371
|
-
created_by?: string | null;
|
|
16372
|
-
customer_id?: string | null;
|
|
16373
|
-
customer_name?: string | null;
|
|
16374
|
-
id?: string;
|
|
16375
|
-
invoice_number?: string | null;
|
|
16376
|
-
note?: string | null;
|
|
16377
|
-
status?: string;
|
|
16378
|
-
total_excl_cents?: number;
|
|
16379
|
-
total_incl_cents?: number;
|
|
16380
|
-
updated_at?: string;
|
|
16381
|
-
vat_cents?: number;
|
|
16382
|
-
vat_percentage?: number;
|
|
16383
|
-
werkbon_id?: string | null;
|
|
16384
|
-
};
|
|
16385
|
-
Update: {
|
|
16386
|
-
created_at?: string;
|
|
16387
|
-
created_by?: string | null;
|
|
16388
|
-
customer_id?: string | null;
|
|
16389
|
-
customer_name?: string | null;
|
|
16390
|
-
id?: string;
|
|
16391
|
-
invoice_number?: string | null;
|
|
16392
|
-
note?: string | null;
|
|
16393
|
-
status?: string;
|
|
16394
|
-
total_excl_cents?: number;
|
|
16395
|
-
total_incl_cents?: number;
|
|
16396
|
-
updated_at?: string;
|
|
16397
|
-
vat_cents?: number;
|
|
16398
|
-
vat_percentage?: number;
|
|
16399
|
-
werkbon_id?: string | null;
|
|
16400
|
-
};
|
|
16401
|
-
Relationships: [{
|
|
16402
|
-
foreignKeyName: "uren_facturen_customer_id_fkey";
|
|
16403
|
-
columns: ["customer_id"];
|
|
16404
|
-
isOneToOne: false;
|
|
16405
|
-
referencedRelation: "itk_customers";
|
|
16406
|
-
referencedColumns: ["id"];
|
|
16407
|
-
}, {
|
|
16408
|
-
foreignKeyName: "uren_facturen_werkbon_id_fkey";
|
|
16409
|
-
columns: ["werkbon_id"];
|
|
16410
|
-
isOneToOne: true;
|
|
16411
|
-
referencedRelation: "werkbonnen";
|
|
16412
|
-
referencedColumns: ["id"];
|
|
16413
|
-
}];
|
|
16414
|
-
};
|
|
16415
|
-
uren_factuur_regels: {
|
|
16416
|
-
Row: {
|
|
16417
|
-
created_at: string;
|
|
16418
|
-
description: string;
|
|
16419
|
-
factuur_id: string;
|
|
16420
|
-
id: string;
|
|
16421
|
-
kind: string | null;
|
|
16422
|
-
quantity: number;
|
|
16423
|
-
sort_order: number;
|
|
16424
|
-
total_cents: number;
|
|
16425
|
-
unit: string;
|
|
16426
|
-
unit_price_cents: number;
|
|
16427
|
-
};
|
|
16428
|
-
Insert: {
|
|
16429
|
-
created_at?: string;
|
|
16430
|
-
description: string;
|
|
16431
|
-
factuur_id: string;
|
|
16432
|
-
id?: string;
|
|
16433
|
-
kind?: string | null;
|
|
16434
|
-
quantity?: number;
|
|
16435
|
-
sort_order?: number;
|
|
16436
|
-
total_cents?: number;
|
|
16437
|
-
unit?: string;
|
|
16438
|
-
unit_price_cents?: number;
|
|
16439
|
-
};
|
|
16440
|
-
Update: {
|
|
16441
|
-
created_at?: string;
|
|
16442
|
-
description?: string;
|
|
16443
|
-
factuur_id?: string;
|
|
16444
|
-
id?: string;
|
|
16445
|
-
kind?: string | null;
|
|
16446
|
-
quantity?: number;
|
|
16447
|
-
sort_order?: number;
|
|
16448
|
-
total_cents?: number;
|
|
16449
|
-
unit?: string;
|
|
16450
|
-
unit_price_cents?: number;
|
|
16451
|
-
};
|
|
16452
|
-
Relationships: [{
|
|
16453
|
-
foreignKeyName: "uren_factuur_regels_factuur_id_fkey";
|
|
16454
|
-
columns: ["factuur_id"];
|
|
16455
|
-
isOneToOne: false;
|
|
16456
|
-
referencedRelation: "uren_facturen";
|
|
16457
|
-
referencedColumns: ["id"];
|
|
16458
|
-
}];
|
|
16459
|
-
};
|
|
16460
17315
|
uren_offerte_regels: {
|
|
16461
17316
|
Row: {
|
|
16462
17317
|
created_at: string;
|
|
@@ -16776,13 +17631,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
16776
17631
|
submitted_at?: string | null;
|
|
16777
17632
|
updated_at?: string;
|
|
16778
17633
|
};
|
|
16779
|
-
Relationships: [
|
|
16780
|
-
foreignKeyName: "uren_weekstaten_monteur_id_fkey";
|
|
16781
|
-
columns: ["monteur_id"];
|
|
16782
|
-
isOneToOne: false;
|
|
16783
|
-
referencedRelation: "monteurs";
|
|
16784
|
-
referencedColumns: ["id"];
|
|
16785
|
-
}];
|
|
17634
|
+
Relationships: [];
|
|
16786
17635
|
};
|
|
16787
17636
|
user_module_permissions: {
|
|
16788
17637
|
Row: {
|
|
@@ -16841,6 +17690,51 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
16841
17690
|
referencedColumns: ["id"];
|
|
16842
17691
|
}];
|
|
16843
17692
|
};
|
|
17693
|
+
van_inventories: {
|
|
17694
|
+
Row: {
|
|
17695
|
+
barcode: string | null;
|
|
17696
|
+
created_at: string;
|
|
17697
|
+
id: string;
|
|
17698
|
+
monteur_id: string | null;
|
|
17699
|
+
price_per_unit: number;
|
|
17700
|
+
product_name: string;
|
|
17701
|
+
quantity_current: number;
|
|
17702
|
+
quantity_min: number;
|
|
17703
|
+
unit: string;
|
|
17704
|
+
updated_at: string;
|
|
17705
|
+
};
|
|
17706
|
+
Insert: {
|
|
17707
|
+
barcode?: string | null;
|
|
17708
|
+
created_at?: string;
|
|
17709
|
+
id?: string;
|
|
17710
|
+
monteur_id?: string | null;
|
|
17711
|
+
price_per_unit?: number;
|
|
17712
|
+
product_name: string;
|
|
17713
|
+
quantity_current?: number;
|
|
17714
|
+
quantity_min?: number;
|
|
17715
|
+
unit?: string;
|
|
17716
|
+
updated_at?: string;
|
|
17717
|
+
};
|
|
17718
|
+
Update: {
|
|
17719
|
+
barcode?: string | null;
|
|
17720
|
+
created_at?: string;
|
|
17721
|
+
id?: string;
|
|
17722
|
+
monteur_id?: string | null;
|
|
17723
|
+
price_per_unit?: number;
|
|
17724
|
+
product_name?: string;
|
|
17725
|
+
quantity_current?: number;
|
|
17726
|
+
quantity_min?: number;
|
|
17727
|
+
unit?: string;
|
|
17728
|
+
updated_at?: string;
|
|
17729
|
+
};
|
|
17730
|
+
Relationships: [{
|
|
17731
|
+
foreignKeyName: "van_inventories_monteur_id_fkey";
|
|
17732
|
+
columns: ["monteur_id"];
|
|
17733
|
+
isOneToOne: false;
|
|
17734
|
+
referencedRelation: "profiles";
|
|
17735
|
+
referencedColumns: ["id"];
|
|
17736
|
+
}];
|
|
17737
|
+
};
|
|
16844
17738
|
voorraad_custom_fields: {
|
|
16845
17739
|
Row: {
|
|
16846
17740
|
created_at: string;
|
|
@@ -17791,7 +18685,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
17791
18685
|
foreignKeyName: "work_order_monteurs_monteur_id_fkey";
|
|
17792
18686
|
columns: ["monteur_id"];
|
|
17793
18687
|
isOneToOne: false;
|
|
17794
|
-
referencedRelation: "
|
|
18688
|
+
referencedRelation: "profiles";
|
|
17795
18689
|
referencedColumns: ["id"];
|
|
17796
18690
|
}, {
|
|
17797
18691
|
foreignKeyName: "work_order_monteurs_work_order_id_fkey";
|
|
@@ -17801,6 +18695,60 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
17801
18695
|
referencedColumns: ["id"];
|
|
17802
18696
|
}];
|
|
17803
18697
|
};
|
|
18698
|
+
work_order_photos: {
|
|
18699
|
+
Row: {
|
|
18700
|
+
ai_caption: string | null;
|
|
18701
|
+
ai_categorized_at: string | null;
|
|
18702
|
+
ai_labels: import("./types.js").Json | null;
|
|
18703
|
+
caption: string | null;
|
|
18704
|
+
created_at: string;
|
|
18705
|
+
id: string;
|
|
18706
|
+
monteur_id: string | null;
|
|
18707
|
+
photo_type: string;
|
|
18708
|
+
storage_path: string;
|
|
18709
|
+
updated_at: string;
|
|
18710
|
+
work_order_id: string;
|
|
18711
|
+
};
|
|
18712
|
+
Insert: {
|
|
18713
|
+
ai_caption?: string | null;
|
|
18714
|
+
ai_categorized_at?: string | null;
|
|
18715
|
+
ai_labels?: import("./types.js").Json | null;
|
|
18716
|
+
caption?: string | null;
|
|
18717
|
+
created_at?: string;
|
|
18718
|
+
id?: string;
|
|
18719
|
+
monteur_id?: string | null;
|
|
18720
|
+
photo_type?: string;
|
|
18721
|
+
storage_path: string;
|
|
18722
|
+
updated_at?: string;
|
|
18723
|
+
work_order_id: string;
|
|
18724
|
+
};
|
|
18725
|
+
Update: {
|
|
18726
|
+
ai_caption?: string | null;
|
|
18727
|
+
ai_categorized_at?: string | null;
|
|
18728
|
+
ai_labels?: import("./types.js").Json | null;
|
|
18729
|
+
caption?: string | null;
|
|
18730
|
+
created_at?: string;
|
|
18731
|
+
id?: string;
|
|
18732
|
+
monteur_id?: string | null;
|
|
18733
|
+
photo_type?: string;
|
|
18734
|
+
storage_path?: string;
|
|
18735
|
+
updated_at?: string;
|
|
18736
|
+
work_order_id?: string;
|
|
18737
|
+
};
|
|
18738
|
+
Relationships: [{
|
|
18739
|
+
foreignKeyName: "work_order_photos_monteur_id_fkey";
|
|
18740
|
+
columns: ["monteur_id"];
|
|
18741
|
+
isOneToOne: false;
|
|
18742
|
+
referencedRelation: "profiles";
|
|
18743
|
+
referencedColumns: ["id"];
|
|
18744
|
+
}, {
|
|
18745
|
+
foreignKeyName: "work_order_photos_work_order_id_fkey";
|
|
18746
|
+
columns: ["work_order_id"];
|
|
18747
|
+
isOneToOne: false;
|
|
18748
|
+
referencedRelation: "work_orders";
|
|
18749
|
+
referencedColumns: ["id"];
|
|
18750
|
+
}];
|
|
18751
|
+
};
|
|
17804
18752
|
work_orders: {
|
|
17805
18753
|
Row: {
|
|
17806
18754
|
assigned_to: string | null;
|
|
@@ -17832,7 +18780,6 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
17832
18780
|
scheduled_end_time: string | null;
|
|
17833
18781
|
scheduled_start_time: string | null;
|
|
17834
18782
|
status: string;
|
|
17835
|
-
tenant_id: string;
|
|
17836
18783
|
total_hours_worked: number | null;
|
|
17837
18784
|
total_price: number | null;
|
|
17838
18785
|
travel_time_minutes: number | null;
|
|
@@ -17870,7 +18817,6 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
17870
18817
|
scheduled_end_time?: string | null;
|
|
17871
18818
|
scheduled_start_time?: string | null;
|
|
17872
18819
|
status?: string;
|
|
17873
|
-
tenant_id: string;
|
|
17874
18820
|
total_hours_worked?: number | null;
|
|
17875
18821
|
total_price?: number | null;
|
|
17876
18822
|
travel_time_minutes?: number | null;
|
|
@@ -17908,7 +18854,6 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
17908
18854
|
scheduled_end_time?: string | null;
|
|
17909
18855
|
scheduled_start_time?: string | null;
|
|
17910
18856
|
status?: string;
|
|
17911
|
-
tenant_id?: string;
|
|
17912
18857
|
total_hours_worked?: number | null;
|
|
17913
18858
|
total_price?: number | null;
|
|
17914
18859
|
travel_time_minutes?: number | null;
|
|
@@ -17922,12 +18867,6 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
17922
18867
|
isOneToOne: false;
|
|
17923
18868
|
referencedRelation: "work_orders";
|
|
17924
18869
|
referencedColumns: ["id"];
|
|
17925
|
-
}, {
|
|
17926
|
-
foreignKeyName: "work_orders_tenant_id_fkey";
|
|
17927
|
-
columns: ["tenant_id"];
|
|
17928
|
-
isOneToOne: false;
|
|
17929
|
-
referencedRelation: "tenants";
|
|
17930
|
-
referencedColumns: ["id"];
|
|
17931
18870
|
}];
|
|
17932
18871
|
};
|
|
17933
18872
|
};
|
|
@@ -18181,36 +19120,144 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
18181
19120
|
valid_from: string | null;
|
|
18182
19121
|
valid_until: string | null;
|
|
18183
19122
|
};
|
|
18184
|
-
Relationships: [];
|
|
18185
|
-
};
|
|
18186
|
-
manufacture_product_possible_stock_view: {
|
|
18187
|
-
Row: {
|
|
18188
|
-
component_count: number | null;
|
|
18189
|
-
manufacture_product_id: string | null;
|
|
18190
|
-
possible_stock: number | null;
|
|
19123
|
+
Relationships: [];
|
|
19124
|
+
};
|
|
19125
|
+
manufacture_product_possible_stock_view: {
|
|
19126
|
+
Row: {
|
|
19127
|
+
component_count: number | null;
|
|
19128
|
+
manufacture_product_id: string | null;
|
|
19129
|
+
possible_stock: number | null;
|
|
19130
|
+
};
|
|
19131
|
+
Relationships: [];
|
|
19132
|
+
};
|
|
19133
|
+
product_group_stock_view: {
|
|
19134
|
+
Row: {
|
|
19135
|
+
item_count: number | null;
|
|
19136
|
+
product_group_id: string | null;
|
|
19137
|
+
total_stock: number | null;
|
|
19138
|
+
};
|
|
19139
|
+
Relationships: [{
|
|
19140
|
+
foreignKeyName: "product_group_items_product_group_id_fkey";
|
|
19141
|
+
columns: ["product_group_id"];
|
|
19142
|
+
isOneToOne: false;
|
|
19143
|
+
referencedRelation: "product_groups";
|
|
19144
|
+
referencedColumns: ["id"];
|
|
19145
|
+
}];
|
|
19146
|
+
};
|
|
19147
|
+
trade_item_stock_view: {
|
|
19148
|
+
Row: {
|
|
19149
|
+
stock: number | null;
|
|
19150
|
+
trade_item_id: string | null;
|
|
19151
|
+
};
|
|
19152
|
+
Relationships: [];
|
|
19153
|
+
};
|
|
19154
|
+
uren_facturen: {
|
|
19155
|
+
Row: {
|
|
19156
|
+
created_at: string | null;
|
|
19157
|
+
created_by: string | null;
|
|
19158
|
+
customer_id: string | null;
|
|
19159
|
+
customer_name: string | null;
|
|
19160
|
+
id: string | null;
|
|
19161
|
+
invoice_number: string | null;
|
|
19162
|
+
note: string | null;
|
|
19163
|
+
status: string | null;
|
|
19164
|
+
total_excl_cents: number | null;
|
|
19165
|
+
total_incl_cents: number | null;
|
|
19166
|
+
updated_at: string | null;
|
|
19167
|
+
vat_cents: number | null;
|
|
19168
|
+
vat_percentage: number | null;
|
|
19169
|
+
werkbon_id: string | null;
|
|
19170
|
+
};
|
|
19171
|
+
Insert: {
|
|
19172
|
+
created_at?: string | null;
|
|
19173
|
+
created_by?: string | null;
|
|
19174
|
+
customer_id?: string | null;
|
|
19175
|
+
customer_name?: string | null;
|
|
19176
|
+
id?: string | null;
|
|
19177
|
+
invoice_number?: string | null;
|
|
19178
|
+
note?: string | null;
|
|
19179
|
+
status?: string | null;
|
|
19180
|
+
total_excl_cents?: number | null;
|
|
19181
|
+
total_incl_cents?: number | null;
|
|
19182
|
+
updated_at?: string | null;
|
|
19183
|
+
vat_cents?: number | null;
|
|
19184
|
+
vat_percentage?: number | null;
|
|
19185
|
+
werkbon_id?: never;
|
|
18191
19186
|
};
|
|
18192
|
-
|
|
18193
|
-
|
|
18194
|
-
|
|
18195
|
-
|
|
18196
|
-
|
|
18197
|
-
|
|
18198
|
-
|
|
19187
|
+
Update: {
|
|
19188
|
+
created_at?: string | null;
|
|
19189
|
+
created_by?: string | null;
|
|
19190
|
+
customer_id?: string | null;
|
|
19191
|
+
customer_name?: string | null;
|
|
19192
|
+
id?: string | null;
|
|
19193
|
+
invoice_number?: string | null;
|
|
19194
|
+
note?: string | null;
|
|
19195
|
+
status?: string | null;
|
|
19196
|
+
total_excl_cents?: number | null;
|
|
19197
|
+
total_incl_cents?: number | null;
|
|
19198
|
+
updated_at?: string | null;
|
|
19199
|
+
vat_cents?: number | null;
|
|
19200
|
+
vat_percentage?: number | null;
|
|
19201
|
+
werkbon_id?: never;
|
|
18199
19202
|
};
|
|
18200
19203
|
Relationships: [{
|
|
18201
|
-
foreignKeyName: "
|
|
18202
|
-
columns: ["
|
|
19204
|
+
foreignKeyName: "invoices_customer_id_fkey";
|
|
19205
|
+
columns: ["customer_id"];
|
|
18203
19206
|
isOneToOne: false;
|
|
18204
|
-
referencedRelation: "
|
|
19207
|
+
referencedRelation: "itk_customers";
|
|
18205
19208
|
referencedColumns: ["id"];
|
|
18206
19209
|
}];
|
|
18207
19210
|
};
|
|
18208
|
-
|
|
19211
|
+
uren_factuur_regels: {
|
|
18209
19212
|
Row: {
|
|
18210
|
-
|
|
18211
|
-
|
|
19213
|
+
created_at: string | null;
|
|
19214
|
+
description: string | null;
|
|
19215
|
+
factuur_id: string | null;
|
|
19216
|
+
id: string | null;
|
|
19217
|
+
kind: string | null;
|
|
19218
|
+
quantity: number | null;
|
|
19219
|
+
sort_order: number | null;
|
|
19220
|
+
total_cents: number | null;
|
|
19221
|
+
unit: string | null;
|
|
19222
|
+
unit_price_cents: number | null;
|
|
18212
19223
|
};
|
|
18213
|
-
|
|
19224
|
+
Insert: {
|
|
19225
|
+
created_at?: string | null;
|
|
19226
|
+
description?: string | null;
|
|
19227
|
+
factuur_id?: string | null;
|
|
19228
|
+
id?: string | null;
|
|
19229
|
+
kind?: string | null;
|
|
19230
|
+
quantity?: number | null;
|
|
19231
|
+
sort_order?: number | null;
|
|
19232
|
+
total_cents?: number | null;
|
|
19233
|
+
unit?: string | null;
|
|
19234
|
+
unit_price_cents?: number | null;
|
|
19235
|
+
};
|
|
19236
|
+
Update: {
|
|
19237
|
+
created_at?: string | null;
|
|
19238
|
+
description?: string | null;
|
|
19239
|
+
factuur_id?: string | null;
|
|
19240
|
+
id?: string | null;
|
|
19241
|
+
kind?: string | null;
|
|
19242
|
+
quantity?: number | null;
|
|
19243
|
+
sort_order?: number | null;
|
|
19244
|
+
total_cents?: number | null;
|
|
19245
|
+
unit?: string | null;
|
|
19246
|
+
unit_price_cents?: number | null;
|
|
19247
|
+
};
|
|
19248
|
+
Relationships: [{
|
|
19249
|
+
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
19250
|
+
columns: ["factuur_id"];
|
|
19251
|
+
isOneToOne: false;
|
|
19252
|
+
referencedRelation: "invoices";
|
|
19253
|
+
referencedColumns: ["id"];
|
|
19254
|
+
}, {
|
|
19255
|
+
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
19256
|
+
columns: ["factuur_id"];
|
|
19257
|
+
isOneToOne: false;
|
|
19258
|
+
referencedRelation: "uren_facturen";
|
|
19259
|
+
referencedColumns: ["id"];
|
|
19260
|
+
}];
|
|
18214
19261
|
};
|
|
18215
19262
|
v_external_customers_exact: {
|
|
18216
19263
|
Row: {
|
|
@@ -18612,6 +19659,19 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
18612
19659
|
};
|
|
18613
19660
|
Returns: undefined;
|
|
18614
19661
|
};
|
|
19662
|
+
approve_mailbox_order_proposal: {
|
|
19663
|
+
Args: {
|
|
19664
|
+
p_custom_fields: import("./types.js").Json;
|
|
19665
|
+
p_customer_id: string;
|
|
19666
|
+
p_delivery_date: string;
|
|
19667
|
+
p_field_values?: import("./types.js").Json;
|
|
19668
|
+
p_lines: import("./types.js").Json;
|
|
19669
|
+
p_notes: string;
|
|
19670
|
+
p_proposal_id: string;
|
|
19671
|
+
p_reviewed_by: string;
|
|
19672
|
+
};
|
|
19673
|
+
Returns: import("./types.js").Json;
|
|
19674
|
+
};
|
|
18615
19675
|
assign_cart_numbers: {
|
|
18616
19676
|
Args: {
|
|
18617
19677
|
p_carts: import("./types.js").Json;
|
|
@@ -18663,6 +19723,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
18663
19723
|
};
|
|
18664
19724
|
Returns: number;
|
|
18665
19725
|
};
|
|
19726
|
+
can_manage_hours: {
|
|
19727
|
+
Args: never;
|
|
19728
|
+
Returns: boolean;
|
|
19729
|
+
};
|
|
18666
19730
|
check_offer_product_available_stock: {
|
|
18667
19731
|
Args: {
|
|
18668
19732
|
p_campaign_product_id: string;
|
|
@@ -18700,6 +19764,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
18700
19764
|
gebruiker_id: string | null;
|
|
18701
19765
|
gebruiker_naam: string;
|
|
18702
19766
|
gestart_op: string | null;
|
|
19767
|
+
herkomst: string | null;
|
|
18703
19768
|
id: string;
|
|
18704
19769
|
idempotentie_sleutel: string | null;
|
|
18705
19770
|
is_herprint: boolean;
|
|
@@ -18820,6 +19885,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
18820
19885
|
gebruiker_id: string | null;
|
|
18821
19886
|
gebruiker_naam: string;
|
|
18822
19887
|
gestart_op: string | null;
|
|
19888
|
+
herkomst: string | null;
|
|
18823
19889
|
id: string;
|
|
18824
19890
|
idempotentie_sleutel: string | null;
|
|
18825
19891
|
is_herprint: boolean;
|
|
@@ -18852,6 +19918,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
18852
19918
|
};
|
|
18853
19919
|
Returns: {
|
|
18854
19920
|
action: string;
|
|
19921
|
+
attempt_started_at: string | null;
|
|
18855
19922
|
attempts: number;
|
|
18856
19923
|
connection_id: string | null;
|
|
18857
19924
|
created_at: string;
|
|
@@ -18939,6 +20006,30 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
18939
20006
|
agent_naam: string;
|
|
18940
20007
|
}[];
|
|
18941
20008
|
};
|
|
20009
|
+
consume_van_inventory: {
|
|
20010
|
+
Args: {
|
|
20011
|
+
p_inventory_id: string;
|
|
20012
|
+
p_quantity: number;
|
|
20013
|
+
};
|
|
20014
|
+
Returns: {
|
|
20015
|
+
barcode: string | null;
|
|
20016
|
+
created_at: string;
|
|
20017
|
+
id: string;
|
|
20018
|
+
monteur_id: string | null;
|
|
20019
|
+
price_per_unit: number;
|
|
20020
|
+
product_name: string;
|
|
20021
|
+
quantity_current: number;
|
|
20022
|
+
quantity_min: number;
|
|
20023
|
+
unit: string;
|
|
20024
|
+
updated_at: string;
|
|
20025
|
+
};
|
|
20026
|
+
SetofOptions: {
|
|
20027
|
+
from: "*";
|
|
20028
|
+
to: "van_inventories";
|
|
20029
|
+
isOneToOne: true;
|
|
20030
|
+
isSetofReturn: false;
|
|
20031
|
+
};
|
|
20032
|
+
};
|
|
18942
20033
|
control_get_todays_carts: {
|
|
18943
20034
|
Args: never;
|
|
18944
20035
|
Returns: {
|
|
@@ -19014,7 +20105,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
19014
20105
|
Returns: string;
|
|
19015
20106
|
} | {
|
|
19016
20107
|
Args: {
|
|
19017
|
-
_feature_id
|
|
20108
|
+
_feature_id: string;
|
|
19018
20109
|
_module_id: string;
|
|
19019
20110
|
_user_id: string;
|
|
19020
20111
|
};
|
|
@@ -19065,6 +20156,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
19065
20156
|
};
|
|
19066
20157
|
Returns: string;
|
|
19067
20158
|
};
|
|
20159
|
+
employee_day_hours: {
|
|
20160
|
+
Args: {
|
|
20161
|
+
_day: string;
|
|
20162
|
+
_employee_id: string;
|
|
20163
|
+
};
|
|
20164
|
+
Returns: number;
|
|
20165
|
+
};
|
|
19068
20166
|
enqueue_cart_replan_if_unlocked: {
|
|
19069
20167
|
Args: {
|
|
19070
20168
|
p_order_id: string;
|
|
@@ -19370,12 +20468,6 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
19370
20468
|
Args: never;
|
|
19371
20469
|
Returns: string;
|
|
19372
20470
|
};
|
|
19373
|
-
get_work_order_tenant_id: {
|
|
19374
|
-
Args: {
|
|
19375
|
-
wo_id: string;
|
|
19376
|
-
};
|
|
19377
|
-
Returns: string;
|
|
19378
|
-
};
|
|
19379
20471
|
has_module_permission: {
|
|
19380
20472
|
Args: {
|
|
19381
20473
|
_min: string;
|
|
@@ -19395,6 +20487,46 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
19395
20487
|
Args: never;
|
|
19396
20488
|
Returns: boolean;
|
|
19397
20489
|
};
|
|
20490
|
+
invoice_create_from_source: {
|
|
20491
|
+
Args: {
|
|
20492
|
+
_payload?: import("./types.js").Json;
|
|
20493
|
+
_source_id: string;
|
|
20494
|
+
_source_type: string;
|
|
20495
|
+
};
|
|
20496
|
+
Returns: import("./types.js").Json;
|
|
20497
|
+
};
|
|
20498
|
+
invoice_get_billable_lines: {
|
|
20499
|
+
Args: {
|
|
20500
|
+
_invoice_id: string;
|
|
20501
|
+
};
|
|
20502
|
+
Returns: import("./types.js").Json;
|
|
20503
|
+
};
|
|
20504
|
+
invoice_get_for_source: {
|
|
20505
|
+
Args: {
|
|
20506
|
+
_source_id: string;
|
|
20507
|
+
_source_type: string;
|
|
20508
|
+
};
|
|
20509
|
+
Returns: import("./types.js").Json;
|
|
20510
|
+
};
|
|
20511
|
+
invoice_get_summary: {
|
|
20512
|
+
Args: {
|
|
20513
|
+
_invoice_id: string;
|
|
20514
|
+
};
|
|
20515
|
+
Returns: import("./types.js").Json;
|
|
20516
|
+
};
|
|
20517
|
+
invoice_list_sources: {
|
|
20518
|
+
Args: {
|
|
20519
|
+
_limit?: number;
|
|
20520
|
+
_source_type?: string;
|
|
20521
|
+
};
|
|
20522
|
+
Returns: import("./types.js").Json;
|
|
20523
|
+
};
|
|
20524
|
+
invoice_recalc_totals: {
|
|
20525
|
+
Args: {
|
|
20526
|
+
_invoice_id: string;
|
|
20527
|
+
};
|
|
20528
|
+
Returns: import("./types.js").Json;
|
|
20529
|
+
};
|
|
19398
20530
|
is_authenticated: {
|
|
19399
20531
|
Args: never;
|
|
19400
20532
|
Returns: boolean;
|
|
@@ -19409,6 +20541,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
19409
20541
|
};
|
|
19410
20542
|
Returns: boolean;
|
|
19411
20543
|
};
|
|
20544
|
+
is_time_log_week_locked: {
|
|
20545
|
+
Args: {
|
|
20546
|
+
p_employee_id: string;
|
|
20547
|
+
p_start_time: string;
|
|
20548
|
+
};
|
|
20549
|
+
Returns: boolean;
|
|
20550
|
+
};
|
|
19412
20551
|
is_user_admin: {
|
|
19413
20552
|
Args: never;
|
|
19414
20553
|
Returns: boolean;
|
|
@@ -19417,12 +20556,59 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
19417
20556
|
Args: never;
|
|
19418
20557
|
Returns: boolean;
|
|
19419
20558
|
};
|
|
20559
|
+
itk_offerte_naar_werkbon: {
|
|
20560
|
+
Args: {
|
|
20561
|
+
_offerte_id: string;
|
|
20562
|
+
};
|
|
20563
|
+
Returns: string;
|
|
20564
|
+
};
|
|
20565
|
+
itk_offerte_restant_mandaat: {
|
|
20566
|
+
Args: {
|
|
20567
|
+
_exclude_offerte_id?: string;
|
|
20568
|
+
_werkbon_id: string;
|
|
20569
|
+
};
|
|
20570
|
+
Returns: number;
|
|
20571
|
+
};
|
|
19420
20572
|
jwt_has_role: {
|
|
19421
20573
|
Args: {
|
|
19422
20574
|
_role: Database["public"]["Enums"]["app_role"];
|
|
19423
20575
|
};
|
|
19424
20576
|
Returns: boolean;
|
|
19425
20577
|
};
|
|
20578
|
+
list_medewerkers: {
|
|
20579
|
+
Args: never;
|
|
20580
|
+
Returns: {
|
|
20581
|
+
avatar_url: string;
|
|
20582
|
+
color: string;
|
|
20583
|
+
display_name: string;
|
|
20584
|
+
email: string;
|
|
20585
|
+
hours_fri: number;
|
|
20586
|
+
hours_mon: number;
|
|
20587
|
+
hours_thu: number;
|
|
20588
|
+
hours_tue: number;
|
|
20589
|
+
hours_wed: number;
|
|
20590
|
+
id: string;
|
|
20591
|
+
is_active: boolean;
|
|
20592
|
+
leave_balance_hours: number;
|
|
20593
|
+
persnr: string;
|
|
20594
|
+
phone: string;
|
|
20595
|
+
roles: string[];
|
|
20596
|
+
}[];
|
|
20597
|
+
};
|
|
20598
|
+
list_monteur_absences: {
|
|
20599
|
+
Args: {
|
|
20600
|
+
_from: string;
|
|
20601
|
+
_to: string;
|
|
20602
|
+
};
|
|
20603
|
+
Returns: {
|
|
20604
|
+
absence_date: string;
|
|
20605
|
+
end_time: string;
|
|
20606
|
+
full_day: boolean;
|
|
20607
|
+
kind: string;
|
|
20608
|
+
monteur_id: string;
|
|
20609
|
+
start_time: string;
|
|
20610
|
+
}[];
|
|
20611
|
+
};
|
|
19426
20612
|
list_monteurs: {
|
|
19427
20613
|
Args: never;
|
|
19428
20614
|
Returns: {
|
|
@@ -19755,17 +20941,6 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
19755
20941
|
Returns: string;
|
|
19756
20942
|
};
|
|
19757
20943
|
logistics_emit_event: {
|
|
19758
|
-
Args: {
|
|
19759
|
-
p_event_type: string;
|
|
19760
|
-
p_idempotency_key?: string;
|
|
19761
|
-
p_order_ref: string;
|
|
19762
|
-
p_payload?: import("./types.js").Json;
|
|
19763
|
-
p_shadow?: boolean;
|
|
19764
|
-
p_source_module: string;
|
|
19765
|
-
p_strategy_id?: string;
|
|
19766
|
-
};
|
|
19767
|
-
Returns: import("./types.js").Json;
|
|
19768
|
-
} | {
|
|
19769
20944
|
Args: {
|
|
19770
20945
|
p_event_type: string;
|
|
19771
20946
|
p_idempotency_key?: string;
|
|
@@ -20610,6 +21785,37 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
20610
21785
|
};
|
|
20611
21786
|
Returns: undefined;
|
|
20612
21787
|
};
|
|
21788
|
+
quote_create_from_source: {
|
|
21789
|
+
Args: {
|
|
21790
|
+
_payload?: import("./types.js").Json;
|
|
21791
|
+
_source_id: string;
|
|
21792
|
+
_source_type: string;
|
|
21793
|
+
};
|
|
21794
|
+
Returns: string;
|
|
21795
|
+
};
|
|
21796
|
+
quote_get_billable_lines: {
|
|
21797
|
+
Args: {
|
|
21798
|
+
_quotation_id: string;
|
|
21799
|
+
};
|
|
21800
|
+
Returns: import("./types.js").Json;
|
|
21801
|
+
};
|
|
21802
|
+
quote_get_summary: {
|
|
21803
|
+
Args: {
|
|
21804
|
+
_quotation_id: string;
|
|
21805
|
+
};
|
|
21806
|
+
Returns: import("./types.js").Json;
|
|
21807
|
+
};
|
|
21808
|
+
quote_list_packages: {
|
|
21809
|
+
Args: never;
|
|
21810
|
+
Returns: import("./types.js").Json;
|
|
21811
|
+
};
|
|
21812
|
+
quote_list_sources: {
|
|
21813
|
+
Args: {
|
|
21814
|
+
_limit?: number;
|
|
21815
|
+
_source_type?: string;
|
|
21816
|
+
};
|
|
21817
|
+
Returns: import("./types.js").Json;
|
|
21818
|
+
};
|
|
20613
21819
|
recompute_all_reserved_stock: {
|
|
20614
21820
|
Args: never;
|
|
20615
21821
|
Returns: undefined;
|
|
@@ -20663,6 +21869,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
20663
21869
|
};
|
|
20664
21870
|
Returns: boolean;
|
|
20665
21871
|
};
|
|
21872
|
+
release_stale_order_invoice_links: {
|
|
21873
|
+
Args: {
|
|
21874
|
+
_minutes?: number;
|
|
21875
|
+
};
|
|
21876
|
+
Returns: number;
|
|
21877
|
+
};
|
|
20666
21878
|
reorder_customer_price_groups: {
|
|
20667
21879
|
Args: {
|
|
20668
21880
|
_ids: string[];
|
|
@@ -21101,6 +22313,16 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
21101
22313
|
};
|
|
21102
22314
|
Returns: string[];
|
|
21103
22315
|
};
|
|
22316
|
+
switch_time_log: {
|
|
22317
|
+
Args: {
|
|
22318
|
+
p_employee_id: string;
|
|
22319
|
+
p_start_lat?: number;
|
|
22320
|
+
p_start_lng?: number;
|
|
22321
|
+
p_type: string;
|
|
22322
|
+
p_work_order_id?: string;
|
|
22323
|
+
};
|
|
22324
|
+
Returns: import("./types.js").Json;
|
|
22325
|
+
};
|
|
21104
22326
|
sync_all_layer_stocks: {
|
|
21105
22327
|
Args: never;
|
|
21106
22328
|
Returns: undefined;
|
|
@@ -21135,6 +22357,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
21135
22357
|
};
|
|
21136
22358
|
Returns: undefined;
|
|
21137
22359
|
};
|
|
22360
|
+
sync_sick_time_off: {
|
|
22361
|
+
Args: {
|
|
22362
|
+
_period_id: string;
|
|
22363
|
+
};
|
|
22364
|
+
Returns: number;
|
|
22365
|
+
};
|
|
21138
22366
|
trade_item_stock_duplicates: {
|
|
21139
22367
|
Args: never;
|
|
21140
22368
|
Returns: {
|
|
@@ -21151,6 +22379,38 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
21151
22379
|
};
|
|
21152
22380
|
Returns: boolean;
|
|
21153
22381
|
};
|
|
22382
|
+
twinfield_cron_lock_acquire: {
|
|
22383
|
+
Args: {
|
|
22384
|
+
_job_name: string;
|
|
22385
|
+
_stale_seconds?: number;
|
|
22386
|
+
};
|
|
22387
|
+
Returns: boolean;
|
|
22388
|
+
};
|
|
22389
|
+
twinfield_cron_lock_release: {
|
|
22390
|
+
Args: {
|
|
22391
|
+
_error?: string;
|
|
22392
|
+
_job_name: string;
|
|
22393
|
+
};
|
|
22394
|
+
Returns: undefined;
|
|
22395
|
+
};
|
|
22396
|
+
twinfield_deactivate_connection: {
|
|
22397
|
+
Args: {
|
|
22398
|
+
p_connection_id: string;
|
|
22399
|
+
p_user_id: string;
|
|
22400
|
+
};
|
|
22401
|
+
Returns: import("./types.js").Json;
|
|
22402
|
+
};
|
|
22403
|
+
twinfield_handle_administration_change: {
|
|
22404
|
+
Args: {
|
|
22405
|
+
_administration_code: string;
|
|
22406
|
+
_user_id: string;
|
|
22407
|
+
};
|
|
22408
|
+
Returns: undefined;
|
|
22409
|
+
};
|
|
22410
|
+
twinfield_prune_push_queue: {
|
|
22411
|
+
Args: never;
|
|
22412
|
+
Returns: number;
|
|
22413
|
+
};
|
|
21154
22414
|
twinfield_register_cron: {
|
|
21155
22415
|
Args: {
|
|
21156
22416
|
apikey?: string;
|
|
@@ -21166,10 +22426,11 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
21166
22426
|
p_company_name?: string;
|
|
21167
22427
|
p_environment: string;
|
|
21168
22428
|
p_office_code?: string;
|
|
22429
|
+
p_reset_sync?: boolean;
|
|
21169
22430
|
p_status?: string;
|
|
21170
22431
|
p_user_id: string;
|
|
21171
22432
|
};
|
|
21172
|
-
Returns:
|
|
22433
|
+
Returns: import("./types.js").Json;
|
|
21173
22434
|
};
|
|
21174
22435
|
upsert_auto_fulfillment_log: {
|
|
21175
22436
|
Args: {
|
|
@@ -21190,11 +22451,31 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
21190
22451
|
Args: never;
|
|
21191
22452
|
Returns: string;
|
|
21192
22453
|
};
|
|
22454
|
+
wo_create_from_source: {
|
|
22455
|
+
Args: {
|
|
22456
|
+
_payload?: import("./types.js").Json;
|
|
22457
|
+
_source_id: string;
|
|
22458
|
+
_source_type: string;
|
|
22459
|
+
};
|
|
22460
|
+
Returns: string;
|
|
22461
|
+
};
|
|
22462
|
+
wo_get_billable_lines: {
|
|
22463
|
+
Args: {
|
|
22464
|
+
_work_order_id: string;
|
|
22465
|
+
};
|
|
22466
|
+
Returns: import("./types.js").Json;
|
|
22467
|
+
};
|
|
22468
|
+
wo_get_summary: {
|
|
22469
|
+
Args: {
|
|
22470
|
+
_work_order_id: string;
|
|
22471
|
+
};
|
|
22472
|
+
Returns: import("./types.js").Json;
|
|
22473
|
+
};
|
|
21193
22474
|
};
|
|
21194
22475
|
Enums: {
|
|
21195
22476
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|
|
21196
22477
|
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
|
|
21197
|
-
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
|
|
22478
|
+
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon" | "veilingbon" | "afleverbrief" | "veilingbrief";
|
|
21198
22479
|
doc_orientation: "portrait" | "landscape";
|
|
21199
22480
|
exact_env: "staging" | "live";
|
|
21200
22481
|
exact_push_status: "pending" | "sent" | "error";
|