@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
|
@@ -883,6 +883,126 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
883
883
|
};
|
|
884
884
|
Relationships: [];
|
|
885
885
|
};
|
|
886
|
+
cao_holidays: {
|
|
887
|
+
Row: {
|
|
888
|
+
created_at: string;
|
|
889
|
+
description: string | null;
|
|
890
|
+
holiday_date: string;
|
|
891
|
+
id: string;
|
|
892
|
+
updated_at: string;
|
|
893
|
+
};
|
|
894
|
+
Insert: {
|
|
895
|
+
created_at?: string;
|
|
896
|
+
description?: string | null;
|
|
897
|
+
holiday_date: string;
|
|
898
|
+
id?: string;
|
|
899
|
+
updated_at?: string;
|
|
900
|
+
};
|
|
901
|
+
Update: {
|
|
902
|
+
created_at?: string;
|
|
903
|
+
description?: string | null;
|
|
904
|
+
holiday_date?: string;
|
|
905
|
+
id?: string;
|
|
906
|
+
updated_at?: string;
|
|
907
|
+
};
|
|
908
|
+
Relationships: [];
|
|
909
|
+
};
|
|
910
|
+
cao_settings: {
|
|
911
|
+
Row: {
|
|
912
|
+
auto_break_after_hours: number;
|
|
913
|
+
auto_break_minutes: number;
|
|
914
|
+
auto_break_unpaid: boolean;
|
|
915
|
+
auto_stop_after_hours: number;
|
|
916
|
+
callout_fee: number;
|
|
917
|
+
created_at: string;
|
|
918
|
+
daily_regular_hours: number;
|
|
919
|
+
default_hourly_rate: number;
|
|
920
|
+
id: string;
|
|
921
|
+
materials_markup_percent: number;
|
|
922
|
+
max_daily_hours: number;
|
|
923
|
+
max_weekly_hours: number;
|
|
924
|
+
meal_allowance_amount: number;
|
|
925
|
+
overtime_pct_178: number;
|
|
926
|
+
overtime_pct_189: number;
|
|
927
|
+
overtime_pct_212: number;
|
|
928
|
+
reminder_after_hours: number;
|
|
929
|
+
standby_evening_amount: number;
|
|
930
|
+
standby_weekend_amount: number;
|
|
931
|
+
travel_cost_per_km: number | null;
|
|
932
|
+
travel_cost_threshold_km: number | null;
|
|
933
|
+
travel_counts_as_work: boolean;
|
|
934
|
+
travel_hourly_rate: number;
|
|
935
|
+
travel_rate_per_hour: number;
|
|
936
|
+
travel_threshold_minutes: number;
|
|
937
|
+
updated_at: string;
|
|
938
|
+
weekend_always_212: boolean;
|
|
939
|
+
window_end: string;
|
|
940
|
+
window_start: string;
|
|
941
|
+
};
|
|
942
|
+
Insert: {
|
|
943
|
+
auto_break_after_hours?: number;
|
|
944
|
+
auto_break_minutes?: number;
|
|
945
|
+
auto_break_unpaid?: boolean;
|
|
946
|
+
auto_stop_after_hours?: number;
|
|
947
|
+
callout_fee?: number;
|
|
948
|
+
created_at?: string;
|
|
949
|
+
daily_regular_hours?: number;
|
|
950
|
+
default_hourly_rate?: number;
|
|
951
|
+
id?: string;
|
|
952
|
+
materials_markup_percent?: number;
|
|
953
|
+
max_daily_hours?: number;
|
|
954
|
+
max_weekly_hours?: number;
|
|
955
|
+
meal_allowance_amount?: number;
|
|
956
|
+
overtime_pct_178?: number;
|
|
957
|
+
overtime_pct_189?: number;
|
|
958
|
+
overtime_pct_212?: number;
|
|
959
|
+
reminder_after_hours?: number;
|
|
960
|
+
standby_evening_amount?: number;
|
|
961
|
+
standby_weekend_amount?: number;
|
|
962
|
+
travel_cost_per_km?: number | null;
|
|
963
|
+
travel_cost_threshold_km?: number | null;
|
|
964
|
+
travel_counts_as_work?: boolean;
|
|
965
|
+
travel_hourly_rate?: number;
|
|
966
|
+
travel_rate_per_hour?: number;
|
|
967
|
+
travel_threshold_minutes?: number;
|
|
968
|
+
updated_at?: string;
|
|
969
|
+
weekend_always_212?: boolean;
|
|
970
|
+
window_end?: string;
|
|
971
|
+
window_start?: string;
|
|
972
|
+
};
|
|
973
|
+
Update: {
|
|
974
|
+
auto_break_after_hours?: number;
|
|
975
|
+
auto_break_minutes?: number;
|
|
976
|
+
auto_break_unpaid?: boolean;
|
|
977
|
+
auto_stop_after_hours?: number;
|
|
978
|
+
callout_fee?: number;
|
|
979
|
+
created_at?: string;
|
|
980
|
+
daily_regular_hours?: number;
|
|
981
|
+
default_hourly_rate?: number;
|
|
982
|
+
id?: string;
|
|
983
|
+
materials_markup_percent?: number;
|
|
984
|
+
max_daily_hours?: number;
|
|
985
|
+
max_weekly_hours?: number;
|
|
986
|
+
meal_allowance_amount?: number;
|
|
987
|
+
overtime_pct_178?: number;
|
|
988
|
+
overtime_pct_189?: number;
|
|
989
|
+
overtime_pct_212?: number;
|
|
990
|
+
reminder_after_hours?: number;
|
|
991
|
+
standby_evening_amount?: number;
|
|
992
|
+
standby_weekend_amount?: number;
|
|
993
|
+
travel_cost_per_km?: number | null;
|
|
994
|
+
travel_cost_threshold_km?: number | null;
|
|
995
|
+
travel_counts_as_work?: boolean;
|
|
996
|
+
travel_hourly_rate?: number;
|
|
997
|
+
travel_rate_per_hour?: number;
|
|
998
|
+
travel_threshold_minutes?: number;
|
|
999
|
+
updated_at?: string;
|
|
1000
|
+
weekend_always_212?: boolean;
|
|
1001
|
+
window_end?: string;
|
|
1002
|
+
window_start?: string;
|
|
1003
|
+
};
|
|
1004
|
+
Relationships: [];
|
|
1005
|
+
};
|
|
886
1006
|
carrier_shipping_rates: {
|
|
887
1007
|
Row: {
|
|
888
1008
|
carrier_id: string;
|
|
@@ -2650,6 +2770,42 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
2650
2770
|
};
|
|
2651
2771
|
Relationships: [];
|
|
2652
2772
|
};
|
|
2773
|
+
document_bronregels: {
|
|
2774
|
+
Row: {
|
|
2775
|
+
bron: string;
|
|
2776
|
+
created_at: string;
|
|
2777
|
+
documenttype: string;
|
|
2778
|
+
herkomst: string;
|
|
2779
|
+
id: string;
|
|
2780
|
+
layout_id: string | null;
|
|
2781
|
+
updated_at: string;
|
|
2782
|
+
};
|
|
2783
|
+
Insert: {
|
|
2784
|
+
bron?: string;
|
|
2785
|
+
created_at?: string;
|
|
2786
|
+
documenttype: string;
|
|
2787
|
+
herkomst: string;
|
|
2788
|
+
id?: string;
|
|
2789
|
+
layout_id?: string | null;
|
|
2790
|
+
updated_at?: string;
|
|
2791
|
+
};
|
|
2792
|
+
Update: {
|
|
2793
|
+
bron?: string;
|
|
2794
|
+
created_at?: string;
|
|
2795
|
+
documenttype?: string;
|
|
2796
|
+
herkomst?: string;
|
|
2797
|
+
id?: string;
|
|
2798
|
+
layout_id?: string | null;
|
|
2799
|
+
updated_at?: string;
|
|
2800
|
+
};
|
|
2801
|
+
Relationships: [{
|
|
2802
|
+
foreignKeyName: "document_bronregels_layout_id_fkey";
|
|
2803
|
+
columns: ["layout_id"];
|
|
2804
|
+
isOneToOne: false;
|
|
2805
|
+
referencedRelation: "document_layouts";
|
|
2806
|
+
referencedColumns: ["id"];
|
|
2807
|
+
}];
|
|
2808
|
+
};
|
|
2653
2809
|
document_formaat_printers: {
|
|
2654
2810
|
Row: {
|
|
2655
2811
|
created_at: string;
|
|
@@ -2995,6 +3151,42 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
2995
3151
|
};
|
|
2996
3152
|
Relationships: [];
|
|
2997
3153
|
};
|
|
3154
|
+
document_werkplek_printers: {
|
|
3155
|
+
Row: {
|
|
3156
|
+
created_at: string;
|
|
3157
|
+
documenttype: string;
|
|
3158
|
+
id: string;
|
|
3159
|
+
papierformaat: string | null;
|
|
3160
|
+
printer_id: string | null;
|
|
3161
|
+
updated_at: string;
|
|
3162
|
+
werkplek: string;
|
|
3163
|
+
};
|
|
3164
|
+
Insert: {
|
|
3165
|
+
created_at?: string;
|
|
3166
|
+
documenttype: string;
|
|
3167
|
+
id?: string;
|
|
3168
|
+
papierformaat?: string | null;
|
|
3169
|
+
printer_id?: string | null;
|
|
3170
|
+
updated_at?: string;
|
|
3171
|
+
werkplek: string;
|
|
3172
|
+
};
|
|
3173
|
+
Update: {
|
|
3174
|
+
created_at?: string;
|
|
3175
|
+
documenttype?: string;
|
|
3176
|
+
id?: string;
|
|
3177
|
+
papierformaat?: string | null;
|
|
3178
|
+
printer_id?: string | null;
|
|
3179
|
+
updated_at?: string;
|
|
3180
|
+
werkplek?: string;
|
|
3181
|
+
};
|
|
3182
|
+
Relationships: [{
|
|
3183
|
+
foreignKeyName: "document_werkplek_printers_printer_id_fkey";
|
|
3184
|
+
columns: ["printer_id"];
|
|
3185
|
+
isOneToOne: false;
|
|
3186
|
+
referencedRelation: "printers";
|
|
3187
|
+
referencedColumns: ["id"];
|
|
3188
|
+
}];
|
|
3189
|
+
};
|
|
2998
3190
|
email_auth_connections: {
|
|
2999
3191
|
Row: {
|
|
3000
3192
|
access_token_encrypted: string | null;
|
|
@@ -7240,8 +7432,63 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
7240
7432
|
};
|
|
7241
7433
|
Relationships: [];
|
|
7242
7434
|
};
|
|
7435
|
+
invoice_items: {
|
|
7436
|
+
Row: {
|
|
7437
|
+
created_at: string;
|
|
7438
|
+
description: string;
|
|
7439
|
+
id: string;
|
|
7440
|
+
invoice_id: string;
|
|
7441
|
+
kind: string;
|
|
7442
|
+
quantity: number;
|
|
7443
|
+
sort_order: number;
|
|
7444
|
+
source_line_ref: string | null;
|
|
7445
|
+
total_cents: number;
|
|
7446
|
+
unit: string;
|
|
7447
|
+
unit_price_cents: number;
|
|
7448
|
+
};
|
|
7449
|
+
Insert: {
|
|
7450
|
+
created_at?: string;
|
|
7451
|
+
description?: string;
|
|
7452
|
+
id?: string;
|
|
7453
|
+
invoice_id: string;
|
|
7454
|
+
kind?: string;
|
|
7455
|
+
quantity?: number;
|
|
7456
|
+
sort_order?: number;
|
|
7457
|
+
source_line_ref?: string | null;
|
|
7458
|
+
total_cents?: number;
|
|
7459
|
+
unit?: string;
|
|
7460
|
+
unit_price_cents?: number;
|
|
7461
|
+
};
|
|
7462
|
+
Update: {
|
|
7463
|
+
created_at?: string;
|
|
7464
|
+
description?: string;
|
|
7465
|
+
id?: string;
|
|
7466
|
+
invoice_id?: string;
|
|
7467
|
+
kind?: string;
|
|
7468
|
+
quantity?: number;
|
|
7469
|
+
sort_order?: number;
|
|
7470
|
+
source_line_ref?: string | null;
|
|
7471
|
+
total_cents?: number;
|
|
7472
|
+
unit?: string;
|
|
7473
|
+
unit_price_cents?: number;
|
|
7474
|
+
};
|
|
7475
|
+
Relationships: [{
|
|
7476
|
+
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
7477
|
+
columns: ["invoice_id"];
|
|
7478
|
+
isOneToOne: false;
|
|
7479
|
+
referencedRelation: "invoices";
|
|
7480
|
+
referencedColumns: ["id"];
|
|
7481
|
+
}, {
|
|
7482
|
+
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
7483
|
+
columns: ["invoice_id"];
|
|
7484
|
+
isOneToOne: false;
|
|
7485
|
+
referencedRelation: "uren_facturen";
|
|
7486
|
+
referencedColumns: ["id"];
|
|
7487
|
+
}];
|
|
7488
|
+
};
|
|
7243
7489
|
invoice_post_idempotency: {
|
|
7244
7490
|
Row: {
|
|
7491
|
+
administration_code: string;
|
|
7245
7492
|
client_request_id: string;
|
|
7246
7493
|
completed_at: string | null;
|
|
7247
7494
|
created_at: string;
|
|
@@ -7251,6 +7498,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
7251
7498
|
user_id: string;
|
|
7252
7499
|
};
|
|
7253
7500
|
Insert: {
|
|
7501
|
+
administration_code?: string;
|
|
7254
7502
|
client_request_id: string;
|
|
7255
7503
|
completed_at?: string | null;
|
|
7256
7504
|
created_at?: string;
|
|
@@ -7260,6 +7508,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
7260
7508
|
user_id: string;
|
|
7261
7509
|
};
|
|
7262
7510
|
Update: {
|
|
7511
|
+
administration_code?: string;
|
|
7263
7512
|
client_request_id?: string;
|
|
7264
7513
|
completed_at?: string | null;
|
|
7265
7514
|
created_at?: string;
|
|
@@ -7465,6 +7714,75 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
7465
7714
|
};
|
|
7466
7715
|
Relationships: [];
|
|
7467
7716
|
};
|
|
7717
|
+
invoices: {
|
|
7718
|
+
Row: {
|
|
7719
|
+
created_at: string;
|
|
7720
|
+
created_by: string | null;
|
|
7721
|
+
customer_id: string | null;
|
|
7722
|
+
customer_name: string | null;
|
|
7723
|
+
due_date: string | null;
|
|
7724
|
+
id: string;
|
|
7725
|
+
invoice_date: string;
|
|
7726
|
+
invoice_number: string | null;
|
|
7727
|
+
note: string | null;
|
|
7728
|
+
source_number: string | null;
|
|
7729
|
+
source_ref: string | null;
|
|
7730
|
+
source_type: string;
|
|
7731
|
+
status: string;
|
|
7732
|
+
subtotal_cents: number;
|
|
7733
|
+
total_cents: number;
|
|
7734
|
+
updated_at: string;
|
|
7735
|
+
vat_cents: number;
|
|
7736
|
+
vat_rate: number;
|
|
7737
|
+
};
|
|
7738
|
+
Insert: {
|
|
7739
|
+
created_at?: string;
|
|
7740
|
+
created_by?: string | null;
|
|
7741
|
+
customer_id?: string | null;
|
|
7742
|
+
customer_name?: string | null;
|
|
7743
|
+
due_date?: string | null;
|
|
7744
|
+
id?: string;
|
|
7745
|
+
invoice_date?: string;
|
|
7746
|
+
invoice_number?: string | null;
|
|
7747
|
+
note?: string | null;
|
|
7748
|
+
source_number?: string | null;
|
|
7749
|
+
source_ref?: string | null;
|
|
7750
|
+
source_type?: string;
|
|
7751
|
+
status?: string;
|
|
7752
|
+
subtotal_cents?: number;
|
|
7753
|
+
total_cents?: number;
|
|
7754
|
+
updated_at?: string;
|
|
7755
|
+
vat_cents?: number;
|
|
7756
|
+
vat_rate?: number;
|
|
7757
|
+
};
|
|
7758
|
+
Update: {
|
|
7759
|
+
created_at?: string;
|
|
7760
|
+
created_by?: string | null;
|
|
7761
|
+
customer_id?: string | null;
|
|
7762
|
+
customer_name?: string | null;
|
|
7763
|
+
due_date?: string | null;
|
|
7764
|
+
id?: string;
|
|
7765
|
+
invoice_date?: string;
|
|
7766
|
+
invoice_number?: string | null;
|
|
7767
|
+
note?: string | null;
|
|
7768
|
+
source_number?: string | null;
|
|
7769
|
+
source_ref?: string | null;
|
|
7770
|
+
source_type?: string;
|
|
7771
|
+
status?: string;
|
|
7772
|
+
subtotal_cents?: number;
|
|
7773
|
+
total_cents?: number;
|
|
7774
|
+
updated_at?: string;
|
|
7775
|
+
vat_cents?: number;
|
|
7776
|
+
vat_rate?: number;
|
|
7777
|
+
};
|
|
7778
|
+
Relationships: [{
|
|
7779
|
+
foreignKeyName: "invoices_customer_id_fkey";
|
|
7780
|
+
columns: ["customer_id"];
|
|
7781
|
+
isOneToOne: false;
|
|
7782
|
+
referencedRelation: "itk_customers";
|
|
7783
|
+
referencedColumns: ["id"];
|
|
7784
|
+
}];
|
|
7785
|
+
};
|
|
7468
7786
|
itk_contact_persons: {
|
|
7469
7787
|
Row: {
|
|
7470
7788
|
created_at: string;
|
|
@@ -7660,77 +7978,329 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
7660
7978
|
};
|
|
7661
7979
|
Relationships: [];
|
|
7662
7980
|
};
|
|
7663
|
-
|
|
7981
|
+
itk_offerte_events: {
|
|
7664
7982
|
Row: {
|
|
7665
|
-
city: string | null;
|
|
7666
7983
|
created_at: string;
|
|
7667
|
-
|
|
7984
|
+
event_type: string;
|
|
7668
7985
|
id: string;
|
|
7669
|
-
|
|
7670
|
-
|
|
7671
|
-
|
|
7672
|
-
|
|
7673
|
-
postcode: string | null;
|
|
7674
|
-
street: string | null;
|
|
7675
|
-
updated_at: string;
|
|
7986
|
+
metadata: import("../integrations/supabase/types.js").Json;
|
|
7987
|
+
offerte_id: string;
|
|
7988
|
+
omschrijving: string | null;
|
|
7989
|
+
user_id: string | null;
|
|
7676
7990
|
};
|
|
7677
7991
|
Insert: {
|
|
7678
|
-
city?: string | null;
|
|
7679
7992
|
created_at?: string;
|
|
7680
|
-
|
|
7993
|
+
event_type: string;
|
|
7681
7994
|
id?: string;
|
|
7682
|
-
|
|
7683
|
-
|
|
7684
|
-
|
|
7685
|
-
|
|
7686
|
-
postcode?: string | null;
|
|
7687
|
-
street?: string | null;
|
|
7688
|
-
updated_at?: string;
|
|
7995
|
+
metadata?: import("../integrations/supabase/types.js").Json;
|
|
7996
|
+
offerte_id: string;
|
|
7997
|
+
omschrijving?: string | null;
|
|
7998
|
+
user_id?: string | null;
|
|
7689
7999
|
};
|
|
7690
8000
|
Update: {
|
|
7691
|
-
city?: string | null;
|
|
7692
8001
|
created_at?: string;
|
|
7693
|
-
|
|
8002
|
+
event_type?: string;
|
|
7694
8003
|
id?: string;
|
|
7695
|
-
|
|
7696
|
-
|
|
7697
|
-
|
|
7698
|
-
|
|
7699
|
-
postcode?: string | null;
|
|
7700
|
-
street?: string | null;
|
|
7701
|
-
updated_at?: string;
|
|
8004
|
+
metadata?: import("../integrations/supabase/types.js").Json;
|
|
8005
|
+
offerte_id?: string;
|
|
8006
|
+
omschrijving?: string | null;
|
|
8007
|
+
user_id?: string | null;
|
|
7702
8008
|
};
|
|
7703
8009
|
Relationships: [{
|
|
7704
|
-
foreignKeyName: "
|
|
7705
|
-
columns: ["
|
|
8010
|
+
foreignKeyName: "itk_offerte_events_offerte_id_fkey";
|
|
8011
|
+
columns: ["offerte_id"];
|
|
7706
8012
|
isOneToOne: false;
|
|
7707
|
-
referencedRelation: "
|
|
8013
|
+
referencedRelation: "itk_offertes";
|
|
7708
8014
|
referencedColumns: ["id"];
|
|
7709
8015
|
}];
|
|
7710
8016
|
};
|
|
7711
|
-
|
|
8017
|
+
itk_offerte_regels: {
|
|
7712
8018
|
Row: {
|
|
7713
|
-
bestand_url: string;
|
|
7714
|
-
bestandsgrootte: number;
|
|
7715
|
-
bestandspad: string | null;
|
|
7716
|
-
bestandstype: string;
|
|
7717
|
-
breedte: number;
|
|
7718
|
-
categorie: string;
|
|
7719
8019
|
created_at: string;
|
|
7720
|
-
hash: string | null;
|
|
7721
|
-
hoogte: number;
|
|
7722
8020
|
id: string;
|
|
7723
|
-
|
|
7724
|
-
|
|
8021
|
+
line_total_cents: number;
|
|
8022
|
+
offerte_id: string;
|
|
7725
8023
|
omschrijving: string;
|
|
7726
|
-
|
|
8024
|
+
package_id: string | null;
|
|
8025
|
+
quantity: number;
|
|
8026
|
+
sort_order: number;
|
|
8027
|
+
source: string;
|
|
8028
|
+
unit_price_cents: number;
|
|
7727
8029
|
updated_at: string;
|
|
7728
8030
|
};
|
|
7729
8031
|
Insert: {
|
|
7730
|
-
|
|
7731
|
-
|
|
7732
|
-
|
|
7733
|
-
|
|
8032
|
+
created_at?: string;
|
|
8033
|
+
id?: string;
|
|
8034
|
+
line_total_cents?: number;
|
|
8035
|
+
offerte_id: string;
|
|
8036
|
+
omschrijving?: string;
|
|
8037
|
+
package_id?: string | null;
|
|
8038
|
+
quantity?: number;
|
|
8039
|
+
sort_order?: number;
|
|
8040
|
+
source?: string;
|
|
8041
|
+
unit_price_cents?: number;
|
|
8042
|
+
updated_at?: string;
|
|
8043
|
+
};
|
|
8044
|
+
Update: {
|
|
8045
|
+
created_at?: string;
|
|
8046
|
+
id?: string;
|
|
8047
|
+
line_total_cents?: number;
|
|
8048
|
+
offerte_id?: string;
|
|
8049
|
+
omschrijving?: string;
|
|
8050
|
+
package_id?: string | null;
|
|
8051
|
+
quantity?: number;
|
|
8052
|
+
sort_order?: number;
|
|
8053
|
+
source?: string;
|
|
8054
|
+
unit_price_cents?: number;
|
|
8055
|
+
updated_at?: string;
|
|
8056
|
+
};
|
|
8057
|
+
Relationships: [{
|
|
8058
|
+
foreignKeyName: "itk_offerte_regels_offerte_id_fkey";
|
|
8059
|
+
columns: ["offerte_id"];
|
|
8060
|
+
isOneToOne: false;
|
|
8061
|
+
referencedRelation: "itk_offertes";
|
|
8062
|
+
referencedColumns: ["id"];
|
|
8063
|
+
}, {
|
|
8064
|
+
foreignKeyName: "itk_offerte_regels_package_id_fkey";
|
|
8065
|
+
columns: ["package_id"];
|
|
8066
|
+
isOneToOne: false;
|
|
8067
|
+
referencedRelation: "werkbon_packages";
|
|
8068
|
+
referencedColumns: ["id"];
|
|
8069
|
+
}];
|
|
8070
|
+
};
|
|
8071
|
+
itk_offerte_settings: {
|
|
8072
|
+
Row: {
|
|
8073
|
+
auto_convert_binnen_mandaat: boolean;
|
|
8074
|
+
created_at: string;
|
|
8075
|
+
default_geldigheid_dagen: number;
|
|
8076
|
+
default_vat_rate: number;
|
|
8077
|
+
id: string;
|
|
8078
|
+
singleton: boolean;
|
|
8079
|
+
updated_at: string;
|
|
8080
|
+
};
|
|
8081
|
+
Insert: {
|
|
8082
|
+
auto_convert_binnen_mandaat?: boolean;
|
|
8083
|
+
created_at?: string;
|
|
8084
|
+
default_geldigheid_dagen?: number;
|
|
8085
|
+
default_vat_rate?: number;
|
|
8086
|
+
id?: string;
|
|
8087
|
+
singleton?: boolean;
|
|
8088
|
+
updated_at?: string;
|
|
8089
|
+
};
|
|
8090
|
+
Update: {
|
|
8091
|
+
auto_convert_binnen_mandaat?: boolean;
|
|
8092
|
+
created_at?: string;
|
|
8093
|
+
default_geldigheid_dagen?: number;
|
|
8094
|
+
default_vat_rate?: number;
|
|
8095
|
+
id?: string;
|
|
8096
|
+
singleton?: boolean;
|
|
8097
|
+
updated_at?: string;
|
|
8098
|
+
};
|
|
8099
|
+
Relationships: [];
|
|
8100
|
+
};
|
|
8101
|
+
itk_offertes: {
|
|
8102
|
+
Row: {
|
|
8103
|
+
ai_generated: boolean;
|
|
8104
|
+
approved_at: string | null;
|
|
8105
|
+
binnen_mandaat: boolean;
|
|
8106
|
+
contact_id: string | null;
|
|
8107
|
+
converted_at: string | null;
|
|
8108
|
+
created_at: string;
|
|
8109
|
+
created_by: string | null;
|
|
8110
|
+
customer_id: string | null;
|
|
8111
|
+
follow_up_werkbon_id: string | null;
|
|
8112
|
+
id: string;
|
|
8113
|
+
jaar: number;
|
|
8114
|
+
mandaat_restant_cents: number;
|
|
8115
|
+
notities: string | null;
|
|
8116
|
+
offerte_number: string | null;
|
|
8117
|
+
omschrijving: string;
|
|
8118
|
+
rejected_at: string | null;
|
|
8119
|
+
sent_at: string | null;
|
|
8120
|
+
source_number: string | null;
|
|
8121
|
+
source_ref: string | null;
|
|
8122
|
+
source_type: string;
|
|
8123
|
+
status: string;
|
|
8124
|
+
subtotal_cents: number;
|
|
8125
|
+
total_cents: number;
|
|
8126
|
+
updated_at: string;
|
|
8127
|
+
valid_until: string | null;
|
|
8128
|
+
vat_cents: number;
|
|
8129
|
+
vat_rate: number;
|
|
8130
|
+
viewed_at: string | null;
|
|
8131
|
+
volgnummer: number | null;
|
|
8132
|
+
werkbon_id: string | null;
|
|
8133
|
+
work_location_id: string | null;
|
|
8134
|
+
};
|
|
8135
|
+
Insert: {
|
|
8136
|
+
ai_generated?: boolean;
|
|
8137
|
+
approved_at?: string | null;
|
|
8138
|
+
binnen_mandaat?: boolean;
|
|
8139
|
+
contact_id?: string | null;
|
|
8140
|
+
converted_at?: string | null;
|
|
8141
|
+
created_at?: string;
|
|
8142
|
+
created_by?: string | null;
|
|
8143
|
+
customer_id?: string | null;
|
|
8144
|
+
follow_up_werkbon_id?: string | null;
|
|
8145
|
+
id?: string;
|
|
8146
|
+
jaar?: number;
|
|
8147
|
+
mandaat_restant_cents?: number;
|
|
8148
|
+
notities?: string | null;
|
|
8149
|
+
offerte_number?: string | null;
|
|
8150
|
+
omschrijving?: string;
|
|
8151
|
+
rejected_at?: string | null;
|
|
8152
|
+
sent_at?: string | null;
|
|
8153
|
+
source_number?: string | null;
|
|
8154
|
+
source_ref?: string | null;
|
|
8155
|
+
source_type?: string;
|
|
8156
|
+
status?: string;
|
|
8157
|
+
subtotal_cents?: number;
|
|
8158
|
+
total_cents?: number;
|
|
8159
|
+
updated_at?: string;
|
|
8160
|
+
valid_until?: string | null;
|
|
8161
|
+
vat_cents?: number;
|
|
8162
|
+
vat_rate?: number;
|
|
8163
|
+
viewed_at?: string | null;
|
|
8164
|
+
volgnummer?: number | null;
|
|
8165
|
+
werkbon_id?: string | null;
|
|
8166
|
+
work_location_id?: string | null;
|
|
8167
|
+
};
|
|
8168
|
+
Update: {
|
|
8169
|
+
ai_generated?: boolean;
|
|
8170
|
+
approved_at?: string | null;
|
|
8171
|
+
binnen_mandaat?: boolean;
|
|
8172
|
+
contact_id?: string | null;
|
|
8173
|
+
converted_at?: string | null;
|
|
8174
|
+
created_at?: string;
|
|
8175
|
+
created_by?: string | null;
|
|
8176
|
+
customer_id?: string | null;
|
|
8177
|
+
follow_up_werkbon_id?: string | null;
|
|
8178
|
+
id?: string;
|
|
8179
|
+
jaar?: number;
|
|
8180
|
+
mandaat_restant_cents?: number;
|
|
8181
|
+
notities?: string | null;
|
|
8182
|
+
offerte_number?: string | null;
|
|
8183
|
+
omschrijving?: string;
|
|
8184
|
+
rejected_at?: string | null;
|
|
8185
|
+
sent_at?: string | null;
|
|
8186
|
+
source_number?: string | null;
|
|
8187
|
+
source_ref?: string | null;
|
|
8188
|
+
source_type?: string;
|
|
8189
|
+
status?: string;
|
|
8190
|
+
subtotal_cents?: number;
|
|
8191
|
+
total_cents?: number;
|
|
8192
|
+
updated_at?: string;
|
|
8193
|
+
valid_until?: string | null;
|
|
8194
|
+
vat_cents?: number;
|
|
8195
|
+
vat_rate?: number;
|
|
8196
|
+
viewed_at?: string | null;
|
|
8197
|
+
volgnummer?: number | null;
|
|
8198
|
+
werkbon_id?: string | null;
|
|
8199
|
+
work_location_id?: string | null;
|
|
8200
|
+
};
|
|
8201
|
+
Relationships: [{
|
|
8202
|
+
foreignKeyName: "itk_offertes_contact_id_fkey";
|
|
8203
|
+
columns: ["contact_id"];
|
|
8204
|
+
isOneToOne: false;
|
|
8205
|
+
referencedRelation: "itk_contact_persons";
|
|
8206
|
+
referencedColumns: ["id"];
|
|
8207
|
+
}, {
|
|
8208
|
+
foreignKeyName: "itk_offertes_customer_id_fkey";
|
|
8209
|
+
columns: ["customer_id"];
|
|
8210
|
+
isOneToOne: false;
|
|
8211
|
+
referencedRelation: "itk_customers";
|
|
8212
|
+
referencedColumns: ["id"];
|
|
8213
|
+
}, {
|
|
8214
|
+
foreignKeyName: "itk_offertes_follow_up_werkbon_id_fkey";
|
|
8215
|
+
columns: ["follow_up_werkbon_id"];
|
|
8216
|
+
isOneToOne: false;
|
|
8217
|
+
referencedRelation: "werkbonnen";
|
|
8218
|
+
referencedColumns: ["id"];
|
|
8219
|
+
}, {
|
|
8220
|
+
foreignKeyName: "itk_offertes_werkbon_id_fkey";
|
|
8221
|
+
columns: ["werkbon_id"];
|
|
8222
|
+
isOneToOne: false;
|
|
8223
|
+
referencedRelation: "werkbonnen";
|
|
8224
|
+
referencedColumns: ["id"];
|
|
8225
|
+
}, {
|
|
8226
|
+
foreignKeyName: "itk_offertes_work_location_id_fkey";
|
|
8227
|
+
columns: ["work_location_id"];
|
|
8228
|
+
isOneToOne: false;
|
|
8229
|
+
referencedRelation: "itk_work_locations";
|
|
8230
|
+
referencedColumns: ["id"];
|
|
8231
|
+
}];
|
|
8232
|
+
};
|
|
8233
|
+
itk_work_locations: {
|
|
8234
|
+
Row: {
|
|
8235
|
+
city: string | null;
|
|
8236
|
+
created_at: string;
|
|
8237
|
+
customer_id: string;
|
|
8238
|
+
id: string;
|
|
8239
|
+
instructions: string | null;
|
|
8240
|
+
label: string;
|
|
8241
|
+
latitude: number | null;
|
|
8242
|
+
longitude: number | null;
|
|
8243
|
+
postcode: string | null;
|
|
8244
|
+
street: string | null;
|
|
8245
|
+
updated_at: string;
|
|
8246
|
+
};
|
|
8247
|
+
Insert: {
|
|
8248
|
+
city?: string | null;
|
|
8249
|
+
created_at?: string;
|
|
8250
|
+
customer_id: string;
|
|
8251
|
+
id?: string;
|
|
8252
|
+
instructions?: string | null;
|
|
8253
|
+
label: string;
|
|
8254
|
+
latitude?: number | null;
|
|
8255
|
+
longitude?: number | null;
|
|
8256
|
+
postcode?: string | null;
|
|
8257
|
+
street?: string | null;
|
|
8258
|
+
updated_at?: string;
|
|
8259
|
+
};
|
|
8260
|
+
Update: {
|
|
8261
|
+
city?: string | null;
|
|
8262
|
+
created_at?: string;
|
|
8263
|
+
customer_id?: string;
|
|
8264
|
+
id?: string;
|
|
8265
|
+
instructions?: string | null;
|
|
8266
|
+
label?: string;
|
|
8267
|
+
latitude?: number | null;
|
|
8268
|
+
longitude?: number | null;
|
|
8269
|
+
postcode?: string | null;
|
|
8270
|
+
street?: string | null;
|
|
8271
|
+
updated_at?: string;
|
|
8272
|
+
};
|
|
8273
|
+
Relationships: [{
|
|
8274
|
+
foreignKeyName: "itk_work_locations_customer_id_fkey";
|
|
8275
|
+
columns: ["customer_id"];
|
|
8276
|
+
isOneToOne: false;
|
|
8277
|
+
referencedRelation: "itk_customers";
|
|
8278
|
+
referencedColumns: ["id"];
|
|
8279
|
+
}];
|
|
8280
|
+
};
|
|
8281
|
+
layout_logos: {
|
|
8282
|
+
Row: {
|
|
8283
|
+
bestand_url: string;
|
|
8284
|
+
bestandsgrootte: number;
|
|
8285
|
+
bestandspad: string | null;
|
|
8286
|
+
bestandstype: string;
|
|
8287
|
+
breedte: number;
|
|
8288
|
+
categorie: string;
|
|
8289
|
+
created_at: string;
|
|
8290
|
+
hash: string | null;
|
|
8291
|
+
hoogte: number;
|
|
8292
|
+
id: string;
|
|
8293
|
+
is_standaard: boolean;
|
|
8294
|
+
naam: string;
|
|
8295
|
+
omschrijving: string;
|
|
8296
|
+
transparant: boolean;
|
|
8297
|
+
updated_at: string;
|
|
8298
|
+
};
|
|
8299
|
+
Insert: {
|
|
8300
|
+
bestand_url: string;
|
|
8301
|
+
bestandsgrootte?: number;
|
|
8302
|
+
bestandspad?: string | null;
|
|
8303
|
+
bestandstype?: string;
|
|
7734
8304
|
breedte?: number;
|
|
7735
8305
|
categorie?: string;
|
|
7736
8306
|
created_at?: string;
|
|
@@ -7777,7 +8347,6 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
7777
8347
|
start_date: string;
|
|
7778
8348
|
start_time: string | null;
|
|
7779
8349
|
status: string;
|
|
7780
|
-
tenant_id: string;
|
|
7781
8350
|
updated_at: string;
|
|
7782
8351
|
user_id: string;
|
|
7783
8352
|
};
|
|
@@ -7795,7 +8364,6 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
7795
8364
|
start_date: string;
|
|
7796
8365
|
start_time?: string | null;
|
|
7797
8366
|
status?: string;
|
|
7798
|
-
tenant_id?: string;
|
|
7799
8367
|
updated_at?: string;
|
|
7800
8368
|
user_id: string;
|
|
7801
8369
|
};
|
|
@@ -7813,7 +8381,6 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
7813
8381
|
start_date?: string;
|
|
7814
8382
|
start_time?: string | null;
|
|
7815
8383
|
status?: string;
|
|
7816
|
-
tenant_id?: string;
|
|
7817
8384
|
updated_at?: string;
|
|
7818
8385
|
user_id?: string;
|
|
7819
8386
|
};
|
|
@@ -7821,13 +8388,13 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
7821
8388
|
foreignKeyName: "leave_requests_monteur_id_fkey";
|
|
7822
8389
|
columns: ["monteur_id"];
|
|
7823
8390
|
isOneToOne: false;
|
|
7824
|
-
referencedRelation: "
|
|
8391
|
+
referencedRelation: "profiles";
|
|
7825
8392
|
referencedColumns: ["id"];
|
|
7826
8393
|
}, {
|
|
7827
8394
|
foreignKeyName: "leave_requests_user_id_fkey";
|
|
7828
8395
|
columns: ["user_id"];
|
|
7829
8396
|
isOneToOne: false;
|
|
7830
|
-
referencedRelation: "
|
|
8397
|
+
referencedRelation: "profiles";
|
|
7831
8398
|
referencedColumns: ["id"];
|
|
7832
8399
|
}];
|
|
7833
8400
|
};
|
|
@@ -9982,6 +10549,117 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
9982
10549
|
};
|
|
9983
10550
|
Relationships: [];
|
|
9984
10551
|
};
|
|
10552
|
+
material_usage: {
|
|
10553
|
+
Row: {
|
|
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
|
+
Insert: {
|
|
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
|
+
Update: {
|
|
10576
|
+
created_at?: string;
|
|
10577
|
+
id?: string;
|
|
10578
|
+
material_name?: string;
|
|
10579
|
+
monteur_id?: string | null;
|
|
10580
|
+
price_at_time?: number;
|
|
10581
|
+
quantity_used?: number;
|
|
10582
|
+
updated_at?: string;
|
|
10583
|
+
van_inventory_id?: string | null;
|
|
10584
|
+
work_order_id?: string;
|
|
10585
|
+
};
|
|
10586
|
+
Relationships: [{
|
|
10587
|
+
foreignKeyName: "material_usage_monteur_id_fkey";
|
|
10588
|
+
columns: ["monteur_id"];
|
|
10589
|
+
isOneToOne: false;
|
|
10590
|
+
referencedRelation: "profiles";
|
|
10591
|
+
referencedColumns: ["id"];
|
|
10592
|
+
}, {
|
|
10593
|
+
foreignKeyName: "material_usage_van_inventory_id_fkey";
|
|
10594
|
+
columns: ["van_inventory_id"];
|
|
10595
|
+
isOneToOne: false;
|
|
10596
|
+
referencedRelation: "van_inventories";
|
|
10597
|
+
referencedColumns: ["id"];
|
|
10598
|
+
}, {
|
|
10599
|
+
foreignKeyName: "material_usage_work_order_id_fkey";
|
|
10600
|
+
columns: ["work_order_id"];
|
|
10601
|
+
isOneToOne: false;
|
|
10602
|
+
referencedRelation: "work_orders";
|
|
10603
|
+
referencedColumns: ["id"];
|
|
10604
|
+
}];
|
|
10605
|
+
};
|
|
10606
|
+
medewerker_details: {
|
|
10607
|
+
Row: {
|
|
10608
|
+
color: string | null;
|
|
10609
|
+
created_at: string;
|
|
10610
|
+
hours_fri: number | null;
|
|
10611
|
+
hours_mon: number | null;
|
|
10612
|
+
hours_thu: number | null;
|
|
10613
|
+
hours_tue: number | null;
|
|
10614
|
+
hours_wed: number | null;
|
|
10615
|
+
id: string;
|
|
10616
|
+
is_active: boolean;
|
|
10617
|
+
leave_balance_hours: number;
|
|
10618
|
+
persnr: string | null;
|
|
10619
|
+
phone: string | null;
|
|
10620
|
+
profile_id: string;
|
|
10621
|
+
updated_at: string;
|
|
10622
|
+
};
|
|
10623
|
+
Insert: {
|
|
10624
|
+
color?: string | null;
|
|
10625
|
+
created_at?: string;
|
|
10626
|
+
hours_fri?: number | null;
|
|
10627
|
+
hours_mon?: number | null;
|
|
10628
|
+
hours_thu?: number | null;
|
|
10629
|
+
hours_tue?: number | null;
|
|
10630
|
+
hours_wed?: number | null;
|
|
10631
|
+
id?: string;
|
|
10632
|
+
is_active?: boolean;
|
|
10633
|
+
leave_balance_hours?: number;
|
|
10634
|
+
persnr?: string | null;
|
|
10635
|
+
phone?: string | null;
|
|
10636
|
+
profile_id: string;
|
|
10637
|
+
updated_at?: string;
|
|
10638
|
+
};
|
|
10639
|
+
Update: {
|
|
10640
|
+
color?: string | null;
|
|
10641
|
+
created_at?: string;
|
|
10642
|
+
hours_fri?: number | null;
|
|
10643
|
+
hours_mon?: number | null;
|
|
10644
|
+
hours_thu?: number | null;
|
|
10645
|
+
hours_tue?: number | null;
|
|
10646
|
+
hours_wed?: number | null;
|
|
10647
|
+
id?: string;
|
|
10648
|
+
is_active?: boolean;
|
|
10649
|
+
leave_balance_hours?: number;
|
|
10650
|
+
persnr?: string | null;
|
|
10651
|
+
phone?: string | null;
|
|
10652
|
+
profile_id?: string;
|
|
10653
|
+
updated_at?: string;
|
|
10654
|
+
};
|
|
10655
|
+
Relationships: [{
|
|
10656
|
+
foreignKeyName: "medewerker_details_profile_id_fkey";
|
|
10657
|
+
columns: ["profile_id"];
|
|
10658
|
+
isOneToOne: true;
|
|
10659
|
+
referencedRelation: "profiles";
|
|
10660
|
+
referencedColumns: ["id"];
|
|
10661
|
+
}];
|
|
10662
|
+
};
|
|
9985
10663
|
module_features: {
|
|
9986
10664
|
Row: {
|
|
9987
10665
|
created_at: string;
|
|
@@ -10042,8 +10720,10 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
10042
10720
|
module_registry: {
|
|
10043
10721
|
Row: {
|
|
10044
10722
|
created_at: string;
|
|
10723
|
+
enforce: boolean;
|
|
10045
10724
|
is_active: boolean;
|
|
10046
10725
|
last_seen_at: string;
|
|
10726
|
+
missing_count: number;
|
|
10047
10727
|
module_id: string;
|
|
10048
10728
|
name: string;
|
|
10049
10729
|
shell_id: string | null;
|
|
@@ -10051,8 +10731,10 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
10051
10731
|
};
|
|
10052
10732
|
Insert: {
|
|
10053
10733
|
created_at?: string;
|
|
10734
|
+
enforce?: boolean;
|
|
10054
10735
|
is_active?: boolean;
|
|
10055
10736
|
last_seen_at?: string;
|
|
10737
|
+
missing_count?: number;
|
|
10056
10738
|
module_id: string;
|
|
10057
10739
|
name: string;
|
|
10058
10740
|
shell_id?: string | null;
|
|
@@ -10060,8 +10742,10 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
10060
10742
|
};
|
|
10061
10743
|
Update: {
|
|
10062
10744
|
created_at?: string;
|
|
10745
|
+
enforce?: boolean;
|
|
10063
10746
|
is_active?: boolean;
|
|
10064
10747
|
last_seen_at?: string;
|
|
10748
|
+
missing_count?: number;
|
|
10065
10749
|
module_id?: string;
|
|
10066
10750
|
name?: string;
|
|
10067
10751
|
shell_id?: string | null;
|
|
@@ -10094,88 +10778,31 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
10094
10778
|
id: string;
|
|
10095
10779
|
is_active: boolean;
|
|
10096
10780
|
last_seen_at: string | null;
|
|
10097
|
-
module_key: string;
|
|
10098
|
-
module_name: string;
|
|
10099
|
-
updated_at: string;
|
|
10100
|
-
};
|
|
10101
|
-
Insert: {
|
|
10102
|
-
created_at?: string;
|
|
10103
|
-
description?: string | null;
|
|
10104
|
-
id?: string;
|
|
10105
|
-
is_active?: boolean;
|
|
10106
|
-
last_seen_at?: string | null;
|
|
10107
|
-
module_key: string;
|
|
10108
|
-
module_name: string;
|
|
10109
|
-
updated_at?: string;
|
|
10110
|
-
};
|
|
10111
|
-
Update: {
|
|
10112
|
-
created_at?: string;
|
|
10113
|
-
description?: string | null;
|
|
10114
|
-
id?: string;
|
|
10115
|
-
is_active?: boolean;
|
|
10116
|
-
last_seen_at?: string | null;
|
|
10117
|
-
module_key?: string;
|
|
10118
|
-
module_name?: string;
|
|
10119
|
-
updated_at?: string;
|
|
10120
|
-
};
|
|
10121
|
-
Relationships: [];
|
|
10122
|
-
};
|
|
10123
|
-
monteurs: {
|
|
10124
|
-
Row: {
|
|
10125
|
-
avatar_url: string | null;
|
|
10126
|
-
color: string | null;
|
|
10127
|
-
created_at: string;
|
|
10128
|
-
email: string | null;
|
|
10129
|
-
id: string;
|
|
10130
|
-
is_active: boolean;
|
|
10131
|
-
leave_balance_hours: number;
|
|
10132
|
-
name: string;
|
|
10133
|
-
persnr: number | null;
|
|
10134
|
-
phone: string | null;
|
|
10135
|
-
role: string;
|
|
10136
|
-
tenant_id: string;
|
|
10781
|
+
module_key: string;
|
|
10782
|
+
module_name: string;
|
|
10137
10783
|
updated_at: string;
|
|
10138
|
-
user_id: string | null;
|
|
10139
10784
|
};
|
|
10140
10785
|
Insert: {
|
|
10141
|
-
avatar_url?: string | null;
|
|
10142
|
-
color?: string | null;
|
|
10143
10786
|
created_at?: string;
|
|
10144
|
-
|
|
10787
|
+
description?: string | null;
|
|
10145
10788
|
id?: string;
|
|
10146
10789
|
is_active?: boolean;
|
|
10147
|
-
|
|
10148
|
-
|
|
10149
|
-
|
|
10150
|
-
phone?: string | null;
|
|
10151
|
-
role?: string;
|
|
10152
|
-
tenant_id: string;
|
|
10790
|
+
last_seen_at?: string | null;
|
|
10791
|
+
module_key: string;
|
|
10792
|
+
module_name: string;
|
|
10153
10793
|
updated_at?: string;
|
|
10154
|
-
user_id?: string | null;
|
|
10155
10794
|
};
|
|
10156
10795
|
Update: {
|
|
10157
|
-
avatar_url?: string | null;
|
|
10158
|
-
color?: string | null;
|
|
10159
10796
|
created_at?: string;
|
|
10160
|
-
|
|
10797
|
+
description?: string | null;
|
|
10161
10798
|
id?: string;
|
|
10162
10799
|
is_active?: boolean;
|
|
10163
|
-
|
|
10164
|
-
|
|
10165
|
-
|
|
10166
|
-
phone?: string | null;
|
|
10167
|
-
role?: string;
|
|
10168
|
-
tenant_id?: string;
|
|
10800
|
+
last_seen_at?: string | null;
|
|
10801
|
+
module_key?: string;
|
|
10802
|
+
module_name?: string;
|
|
10169
10803
|
updated_at?: string;
|
|
10170
|
-
user_id?: string | null;
|
|
10171
10804
|
};
|
|
10172
|
-
Relationships: [
|
|
10173
|
-
foreignKeyName: "monteurs_tenant_id_fkey";
|
|
10174
|
-
columns: ["tenant_id"];
|
|
10175
|
-
isOneToOne: false;
|
|
10176
|
-
referencedRelation: "tenants";
|
|
10177
|
-
referencedColumns: ["id"];
|
|
10178
|
-
}];
|
|
10805
|
+
Relationships: [];
|
|
10179
10806
|
};
|
|
10180
10807
|
nmbrs_component_mapping: {
|
|
10181
10808
|
Row: {
|
|
@@ -10247,13 +10874,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
10247
10874
|
nmbrs_employee_number?: string;
|
|
10248
10875
|
updated_at?: string;
|
|
10249
10876
|
};
|
|
10250
|
-
Relationships: [
|
|
10251
|
-
foreignKeyName: "nmbrs_employee_mapping_monteur_id_fkey";
|
|
10252
|
-
columns: ["monteur_id"];
|
|
10253
|
-
isOneToOne: true;
|
|
10254
|
-
referencedRelation: "monteurs";
|
|
10255
|
-
referencedColumns: ["id"];
|
|
10256
|
-
}];
|
|
10877
|
+
Relationships: [];
|
|
10257
10878
|
};
|
|
10258
10879
|
nmbrs_export_lines: {
|
|
10259
10880
|
Row: {
|
|
@@ -10302,12 +10923,6 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
10302
10923
|
wage_code?: string;
|
|
10303
10924
|
};
|
|
10304
10925
|
Relationships: [{
|
|
10305
|
-
foreignKeyName: "nmbrs_export_lines_monteur_id_fkey";
|
|
10306
|
-
columns: ["monteur_id"];
|
|
10307
|
-
isOneToOne: false;
|
|
10308
|
-
referencedRelation: "monteurs";
|
|
10309
|
-
referencedColumns: ["id"];
|
|
10310
|
-
}, {
|
|
10311
10926
|
foreignKeyName: "nmbrs_export_lines_run_id_fkey";
|
|
10312
10927
|
columns: ["run_id"];
|
|
10313
10928
|
isOneToOne: false;
|
|
@@ -11130,6 +11745,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
11130
11745
|
};
|
|
11131
11746
|
order_invoice_links: {
|
|
11132
11747
|
Row: {
|
|
11748
|
+
administration_code: string | null;
|
|
11133
11749
|
attempts: number;
|
|
11134
11750
|
created_at: string;
|
|
11135
11751
|
error_message: string | null;
|
|
@@ -11142,6 +11758,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
11142
11758
|
updated_at: string;
|
|
11143
11759
|
};
|
|
11144
11760
|
Insert: {
|
|
11761
|
+
administration_code?: string | null;
|
|
11145
11762
|
attempts?: number;
|
|
11146
11763
|
created_at?: string;
|
|
11147
11764
|
error_message?: string | null;
|
|
@@ -11154,6 +11771,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
11154
11771
|
updated_at?: string;
|
|
11155
11772
|
};
|
|
11156
11773
|
Update: {
|
|
11774
|
+
administration_code?: string | null;
|
|
11157
11775
|
attempts?: number;
|
|
11158
11776
|
created_at?: string;
|
|
11159
11777
|
error_message?: string | null;
|
|
@@ -11341,6 +11959,8 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
11341
11959
|
orders: {
|
|
11342
11960
|
Row: {
|
|
11343
11961
|
buffer_id: string | null;
|
|
11962
|
+
cancel_reason: string | null;
|
|
11963
|
+
cancelled_at: string | null;
|
|
11344
11964
|
created_at: string;
|
|
11345
11965
|
custom_fields: import("../integrations/supabase/types.js").Json;
|
|
11346
11966
|
customer_id: string | null;
|
|
@@ -11363,6 +11983,8 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
11363
11983
|
};
|
|
11364
11984
|
Insert: {
|
|
11365
11985
|
buffer_id?: string | null;
|
|
11986
|
+
cancel_reason?: string | null;
|
|
11987
|
+
cancelled_at?: string | null;
|
|
11366
11988
|
created_at?: string;
|
|
11367
11989
|
custom_fields?: import("../integrations/supabase/types.js").Json;
|
|
11368
11990
|
customer_id?: string | null;
|
|
@@ -11385,6 +12007,8 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
11385
12007
|
};
|
|
11386
12008
|
Update: {
|
|
11387
12009
|
buffer_id?: string | null;
|
|
12010
|
+
cancel_reason?: string | null;
|
|
12011
|
+
cancelled_at?: string | null;
|
|
11388
12012
|
created_at?: string;
|
|
11389
12013
|
custom_fields?: import("../integrations/supabase/types.js").Json;
|
|
11390
12014
|
customer_id?: string | null;
|
|
@@ -12595,6 +13219,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
12595
13219
|
gebruiker_id: string | null;
|
|
12596
13220
|
gebruiker_naam: string;
|
|
12597
13221
|
gestart_op: string | null;
|
|
13222
|
+
herkomst: string | null;
|
|
12598
13223
|
id: string;
|
|
12599
13224
|
idempotentie_sleutel: string | null;
|
|
12600
13225
|
is_herprint: boolean;
|
|
@@ -12624,6 +13249,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
12624
13249
|
gebruiker_id?: string | null;
|
|
12625
13250
|
gebruiker_naam?: string;
|
|
12626
13251
|
gestart_op?: string | null;
|
|
13252
|
+
herkomst?: string | null;
|
|
12627
13253
|
id?: string;
|
|
12628
13254
|
idempotentie_sleutel?: string | null;
|
|
12629
13255
|
is_herprint?: boolean;
|
|
@@ -12653,6 +13279,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
12653
13279
|
gebruiker_id?: string | null;
|
|
12654
13280
|
gebruiker_naam?: string;
|
|
12655
13281
|
gestart_op?: string | null;
|
|
13282
|
+
herkomst?: string | null;
|
|
12656
13283
|
id?: string;
|
|
12657
13284
|
idempotentie_sleutel?: string | null;
|
|
12658
13285
|
is_herprint?: boolean;
|
|
@@ -13447,6 +14074,66 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
13447
14074
|
};
|
|
13448
14075
|
Relationships: [];
|
|
13449
14076
|
};
|
|
14077
|
+
profile_modules: {
|
|
14078
|
+
Row: {
|
|
14079
|
+
created_at: string;
|
|
14080
|
+
id: string;
|
|
14081
|
+
module_id: string;
|
|
14082
|
+
profile_id: string;
|
|
14083
|
+
};
|
|
14084
|
+
Insert: {
|
|
14085
|
+
created_at?: string;
|
|
14086
|
+
id?: string;
|
|
14087
|
+
module_id: string;
|
|
14088
|
+
profile_id: string;
|
|
14089
|
+
};
|
|
14090
|
+
Update: {
|
|
14091
|
+
created_at?: string;
|
|
14092
|
+
id?: string;
|
|
14093
|
+
module_id?: string;
|
|
14094
|
+
profile_id?: string;
|
|
14095
|
+
};
|
|
14096
|
+
Relationships: [{
|
|
14097
|
+
foreignKeyName: "profile_modules_profile_id_fkey";
|
|
14098
|
+
columns: ["profile_id"];
|
|
14099
|
+
isOneToOne: false;
|
|
14100
|
+
referencedRelation: "profiles_org";
|
|
14101
|
+
referencedColumns: ["id"];
|
|
14102
|
+
}];
|
|
14103
|
+
};
|
|
14104
|
+
profile_roles: {
|
|
14105
|
+
Row: {
|
|
14106
|
+
created_at: string;
|
|
14107
|
+
id: string;
|
|
14108
|
+
profile_id: string;
|
|
14109
|
+
role_id: string;
|
|
14110
|
+
};
|
|
14111
|
+
Insert: {
|
|
14112
|
+
created_at?: string;
|
|
14113
|
+
id?: string;
|
|
14114
|
+
profile_id: string;
|
|
14115
|
+
role_id: string;
|
|
14116
|
+
};
|
|
14117
|
+
Update: {
|
|
14118
|
+
created_at?: string;
|
|
14119
|
+
id?: string;
|
|
14120
|
+
profile_id?: string;
|
|
14121
|
+
role_id?: string;
|
|
14122
|
+
};
|
|
14123
|
+
Relationships: [{
|
|
14124
|
+
foreignKeyName: "profile_roles_profile_id_fkey";
|
|
14125
|
+
columns: ["profile_id"];
|
|
14126
|
+
isOneToOne: false;
|
|
14127
|
+
referencedRelation: "profiles_org";
|
|
14128
|
+
referencedColumns: ["id"];
|
|
14129
|
+
}, {
|
|
14130
|
+
foreignKeyName: "profile_roles_role_id_fkey";
|
|
14131
|
+
columns: ["role_id"];
|
|
14132
|
+
isOneToOne: false;
|
|
14133
|
+
referencedRelation: "roles";
|
|
14134
|
+
referencedColumns: ["id"];
|
|
14135
|
+
}];
|
|
14136
|
+
};
|
|
13450
14137
|
profiles: {
|
|
13451
14138
|
Row: {
|
|
13452
14139
|
address: string | null;
|
|
@@ -13492,6 +14179,39 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
13492
14179
|
referencedColumns: ["id"];
|
|
13493
14180
|
}];
|
|
13494
14181
|
};
|
|
14182
|
+
profiles_org: {
|
|
14183
|
+
Row: {
|
|
14184
|
+
created_at: string;
|
|
14185
|
+
id: string;
|
|
14186
|
+
is_default: boolean;
|
|
14187
|
+
name: string;
|
|
14188
|
+
tenant_id: string | null;
|
|
14189
|
+
updated_at: string;
|
|
14190
|
+
};
|
|
14191
|
+
Insert: {
|
|
14192
|
+
created_at?: string;
|
|
14193
|
+
id?: string;
|
|
14194
|
+
is_default?: boolean;
|
|
14195
|
+
name: string;
|
|
14196
|
+
tenant_id?: string | null;
|
|
14197
|
+
updated_at?: string;
|
|
14198
|
+
};
|
|
14199
|
+
Update: {
|
|
14200
|
+
created_at?: string;
|
|
14201
|
+
id?: string;
|
|
14202
|
+
is_default?: boolean;
|
|
14203
|
+
name?: string;
|
|
14204
|
+
tenant_id?: string | null;
|
|
14205
|
+
updated_at?: string;
|
|
14206
|
+
};
|
|
14207
|
+
Relationships: [{
|
|
14208
|
+
foreignKeyName: "profiles_org_tenant_id_fkey";
|
|
14209
|
+
columns: ["tenant_id"];
|
|
14210
|
+
isOneToOne: false;
|
|
14211
|
+
referencedRelation: "tenants";
|
|
14212
|
+
referencedColumns: ["id"];
|
|
14213
|
+
}];
|
|
14214
|
+
};
|
|
13495
14215
|
projects: {
|
|
13496
14216
|
Row: {
|
|
13497
14217
|
contact_name: string | null;
|
|
@@ -14666,6 +15386,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
14666
15386
|
type: string;
|
|
14667
15387
|
updated_at: string;
|
|
14668
15388
|
vereist_medewerker: boolean;
|
|
15389
|
+
werkplek: string | null;
|
|
14669
15390
|
};
|
|
14670
15391
|
Insert: {
|
|
14671
15392
|
actief?: boolean;
|
|
@@ -14679,6 +15400,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
14679
15400
|
type?: string;
|
|
14680
15401
|
updated_at?: string;
|
|
14681
15402
|
vereist_medewerker?: boolean;
|
|
15403
|
+
werkplek?: string | null;
|
|
14682
15404
|
};
|
|
14683
15405
|
Update: {
|
|
14684
15406
|
actief?: boolean;
|
|
@@ -14692,9 +15414,46 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
14692
15414
|
type?: string;
|
|
14693
15415
|
updated_at?: string;
|
|
14694
15416
|
vereist_medewerker?: boolean;
|
|
15417
|
+
werkplek?: string | null;
|
|
14695
15418
|
};
|
|
14696
15419
|
Relationships: [];
|
|
14697
15420
|
};
|
|
15421
|
+
sick_periods: {
|
|
15422
|
+
Row: {
|
|
15423
|
+
created_at: string;
|
|
15424
|
+
employee_id: string;
|
|
15425
|
+
end_date: string | null;
|
|
15426
|
+
id: string;
|
|
15427
|
+
notes: string | null;
|
|
15428
|
+
start_date: string;
|
|
15429
|
+
updated_at: string;
|
|
15430
|
+
};
|
|
15431
|
+
Insert: {
|
|
15432
|
+
created_at?: string;
|
|
15433
|
+
employee_id: string;
|
|
15434
|
+
end_date?: string | null;
|
|
15435
|
+
id?: string;
|
|
15436
|
+
notes?: string | null;
|
|
15437
|
+
start_date: string;
|
|
15438
|
+
updated_at?: string;
|
|
15439
|
+
};
|
|
15440
|
+
Update: {
|
|
15441
|
+
created_at?: string;
|
|
15442
|
+
employee_id?: string;
|
|
15443
|
+
end_date?: string | null;
|
|
15444
|
+
id?: string;
|
|
15445
|
+
notes?: string | null;
|
|
15446
|
+
start_date?: string;
|
|
15447
|
+
updated_at?: string;
|
|
15448
|
+
};
|
|
15449
|
+
Relationships: [{
|
|
15450
|
+
foreignKeyName: "sick_periods_employee_id_fkey";
|
|
15451
|
+
columns: ["employee_id"];
|
|
15452
|
+
isOneToOne: false;
|
|
15453
|
+
referencedRelation: "profiles";
|
|
15454
|
+
referencedColumns: ["id"];
|
|
15455
|
+
}];
|
|
15456
|
+
};
|
|
14698
15457
|
sidebar_config: {
|
|
14699
15458
|
Row: {
|
|
14700
15459
|
id: string;
|
|
@@ -14992,6 +15751,54 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
14992
15751
|
};
|
|
14993
15752
|
Relationships: [];
|
|
14994
15753
|
};
|
|
15754
|
+
time_compensation_entries: {
|
|
15755
|
+
Row: {
|
|
15756
|
+
created_at: string;
|
|
15757
|
+
employee_id: string;
|
|
15758
|
+
entry_date: string;
|
|
15759
|
+
id: string;
|
|
15760
|
+
km: number;
|
|
15761
|
+
meal_allowance: number;
|
|
15762
|
+
notes: string | null;
|
|
15763
|
+
standby_evening: number;
|
|
15764
|
+
standby_weekend: number;
|
|
15765
|
+
tvt_change: number;
|
|
15766
|
+
updated_at: string;
|
|
15767
|
+
};
|
|
15768
|
+
Insert: {
|
|
15769
|
+
created_at?: string;
|
|
15770
|
+
employee_id: string;
|
|
15771
|
+
entry_date: string;
|
|
15772
|
+
id?: string;
|
|
15773
|
+
km?: number;
|
|
15774
|
+
meal_allowance?: number;
|
|
15775
|
+
notes?: string | null;
|
|
15776
|
+
standby_evening?: number;
|
|
15777
|
+
standby_weekend?: number;
|
|
15778
|
+
tvt_change?: number;
|
|
15779
|
+
updated_at?: string;
|
|
15780
|
+
};
|
|
15781
|
+
Update: {
|
|
15782
|
+
created_at?: string;
|
|
15783
|
+
employee_id?: string;
|
|
15784
|
+
entry_date?: string;
|
|
15785
|
+
id?: string;
|
|
15786
|
+
km?: number;
|
|
15787
|
+
meal_allowance?: number;
|
|
15788
|
+
notes?: string | null;
|
|
15789
|
+
standby_evening?: number;
|
|
15790
|
+
standby_weekend?: number;
|
|
15791
|
+
tvt_change?: number;
|
|
15792
|
+
updated_at?: string;
|
|
15793
|
+
};
|
|
15794
|
+
Relationships: [{
|
|
15795
|
+
foreignKeyName: "time_compensation_entries_employee_id_fkey";
|
|
15796
|
+
columns: ["employee_id"];
|
|
15797
|
+
isOneToOne: false;
|
|
15798
|
+
referencedRelation: "profiles";
|
|
15799
|
+
referencedColumns: ["id"];
|
|
15800
|
+
}];
|
|
15801
|
+
};
|
|
14995
15802
|
time_entries: {
|
|
14996
15803
|
Row: {
|
|
14997
15804
|
created_at: string;
|
|
@@ -15026,65 +15833,170 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
15026
15833
|
undertime?: number;
|
|
15027
15834
|
updated_at?: string;
|
|
15028
15835
|
};
|
|
15836
|
+
Relationships: [];
|
|
15837
|
+
};
|
|
15838
|
+
time_log_week_approvals: {
|
|
15839
|
+
Row: {
|
|
15840
|
+
approved_at: string | null;
|
|
15841
|
+
approved_by: string | null;
|
|
15842
|
+
created_at: string;
|
|
15843
|
+
employee_id: string;
|
|
15844
|
+
id: string;
|
|
15845
|
+
locked: boolean;
|
|
15846
|
+
notes: string | null;
|
|
15847
|
+
status: string;
|
|
15848
|
+
submitted_at: string | null;
|
|
15849
|
+
updated_at: string;
|
|
15850
|
+
week_start: string;
|
|
15851
|
+
};
|
|
15852
|
+
Insert: {
|
|
15853
|
+
approved_at?: string | null;
|
|
15854
|
+
approved_by?: string | null;
|
|
15855
|
+
created_at?: string;
|
|
15856
|
+
employee_id: string;
|
|
15857
|
+
id?: string;
|
|
15858
|
+
locked?: boolean;
|
|
15859
|
+
notes?: string | null;
|
|
15860
|
+
status?: string;
|
|
15861
|
+
submitted_at?: string | null;
|
|
15862
|
+
updated_at?: string;
|
|
15863
|
+
week_start: string;
|
|
15864
|
+
};
|
|
15865
|
+
Update: {
|
|
15866
|
+
approved_at?: string | null;
|
|
15867
|
+
approved_by?: string | null;
|
|
15868
|
+
created_at?: string;
|
|
15869
|
+
employee_id?: string;
|
|
15870
|
+
id?: string;
|
|
15871
|
+
locked?: boolean;
|
|
15872
|
+
notes?: string | null;
|
|
15873
|
+
status?: string;
|
|
15874
|
+
submitted_at?: string | null;
|
|
15875
|
+
updated_at?: string;
|
|
15876
|
+
week_start?: string;
|
|
15877
|
+
};
|
|
15029
15878
|
Relationships: [{
|
|
15030
|
-
foreignKeyName: "
|
|
15879
|
+
foreignKeyName: "time_log_week_approvals_employee_id_fkey";
|
|
15031
15880
|
columns: ["employee_id"];
|
|
15032
15881
|
isOneToOne: false;
|
|
15033
|
-
referencedRelation: "
|
|
15882
|
+
referencedRelation: "profiles";
|
|
15034
15883
|
referencedColumns: ["id"];
|
|
15035
15884
|
}];
|
|
15036
15885
|
};
|
|
15037
15886
|
time_logs: {
|
|
15038
15887
|
Row: {
|
|
15888
|
+
auto_stop_reason: string | null;
|
|
15889
|
+
auto_stopped: boolean;
|
|
15039
15890
|
created_at: string;
|
|
15891
|
+
current_latitude: number | null;
|
|
15892
|
+
current_longitude: number | null;
|
|
15893
|
+
current_position_updated_at: string | null;
|
|
15040
15894
|
employee_id: string;
|
|
15895
|
+
end_latitude: number | null;
|
|
15896
|
+
end_longitude: number | null;
|
|
15041
15897
|
end_time: string | null;
|
|
15898
|
+
eta_distance_km: number | null;
|
|
15899
|
+
eta_minutes: number | null;
|
|
15900
|
+
eta_updated_at: string | null;
|
|
15901
|
+
hour_category: string | null;
|
|
15042
15902
|
id: string;
|
|
15903
|
+
last_reminder_at: string | null;
|
|
15043
15904
|
notes: string | null;
|
|
15044
15905
|
overtime_hours: number;
|
|
15045
15906
|
overtime_type: string | null;
|
|
15046
15907
|
regular_hours: number;
|
|
15908
|
+
reminder_count: number;
|
|
15909
|
+
requires_review: boolean;
|
|
15910
|
+
start_latitude: number | null;
|
|
15911
|
+
start_longitude: number | null;
|
|
15047
15912
|
start_time: string;
|
|
15048
15913
|
travel_cost: number | null;
|
|
15049
15914
|
travel_distance_km: number | null;
|
|
15915
|
+
travel_duration_min: number | null;
|
|
15916
|
+
travel_time_minutes: number | null;
|
|
15050
15917
|
type: string;
|
|
15051
15918
|
updated_at: string;
|
|
15919
|
+
work_order_id: string | null;
|
|
15052
15920
|
};
|
|
15053
15921
|
Insert: {
|
|
15922
|
+
auto_stop_reason?: string | null;
|
|
15923
|
+
auto_stopped?: boolean;
|
|
15054
15924
|
created_at?: string;
|
|
15925
|
+
current_latitude?: number | null;
|
|
15926
|
+
current_longitude?: number | null;
|
|
15927
|
+
current_position_updated_at?: string | null;
|
|
15055
15928
|
employee_id: string;
|
|
15929
|
+
end_latitude?: number | null;
|
|
15930
|
+
end_longitude?: number | null;
|
|
15056
15931
|
end_time?: string | null;
|
|
15932
|
+
eta_distance_km?: number | null;
|
|
15933
|
+
eta_minutes?: number | null;
|
|
15934
|
+
eta_updated_at?: string | null;
|
|
15935
|
+
hour_category?: string | null;
|
|
15057
15936
|
id?: string;
|
|
15937
|
+
last_reminder_at?: string | null;
|
|
15058
15938
|
notes?: string | null;
|
|
15059
15939
|
overtime_hours?: number;
|
|
15060
15940
|
overtime_type?: string | null;
|
|
15061
15941
|
regular_hours?: number;
|
|
15942
|
+
reminder_count?: number;
|
|
15943
|
+
requires_review?: boolean;
|
|
15944
|
+
start_latitude?: number | null;
|
|
15945
|
+
start_longitude?: number | null;
|
|
15062
15946
|
start_time?: string;
|
|
15063
15947
|
travel_cost?: number | null;
|
|
15064
15948
|
travel_distance_km?: number | null;
|
|
15949
|
+
travel_duration_min?: number | null;
|
|
15950
|
+
travel_time_minutes?: number | null;
|
|
15065
15951
|
type: string;
|
|
15066
15952
|
updated_at?: string;
|
|
15953
|
+
work_order_id?: string | null;
|
|
15067
15954
|
};
|
|
15068
15955
|
Update: {
|
|
15956
|
+
auto_stop_reason?: string | null;
|
|
15957
|
+
auto_stopped?: boolean;
|
|
15069
15958
|
created_at?: string;
|
|
15959
|
+
current_latitude?: number | null;
|
|
15960
|
+
current_longitude?: number | null;
|
|
15961
|
+
current_position_updated_at?: string | null;
|
|
15070
15962
|
employee_id?: string;
|
|
15963
|
+
end_latitude?: number | null;
|
|
15964
|
+
end_longitude?: number | null;
|
|
15071
15965
|
end_time?: string | null;
|
|
15966
|
+
eta_distance_km?: number | null;
|
|
15967
|
+
eta_minutes?: number | null;
|
|
15968
|
+
eta_updated_at?: string | null;
|
|
15969
|
+
hour_category?: string | null;
|
|
15072
15970
|
id?: string;
|
|
15971
|
+
last_reminder_at?: string | null;
|
|
15073
15972
|
notes?: string | null;
|
|
15074
15973
|
overtime_hours?: number;
|
|
15075
15974
|
overtime_type?: string | null;
|
|
15076
15975
|
regular_hours?: number;
|
|
15976
|
+
reminder_count?: number;
|
|
15977
|
+
requires_review?: boolean;
|
|
15978
|
+
start_latitude?: number | null;
|
|
15979
|
+
start_longitude?: number | null;
|
|
15077
15980
|
start_time?: string;
|
|
15078
15981
|
travel_cost?: number | null;
|
|
15079
15982
|
travel_distance_km?: number | null;
|
|
15983
|
+
travel_duration_min?: number | null;
|
|
15984
|
+
travel_time_minutes?: number | null;
|
|
15080
15985
|
type?: string;
|
|
15081
15986
|
updated_at?: string;
|
|
15987
|
+
work_order_id?: string | null;
|
|
15082
15988
|
};
|
|
15083
15989
|
Relationships: [{
|
|
15084
15990
|
foreignKeyName: "time_logs_employee_id_fkey";
|
|
15085
15991
|
columns: ["employee_id"];
|
|
15086
15992
|
isOneToOne: false;
|
|
15087
|
-
referencedRelation: "
|
|
15993
|
+
referencedRelation: "profiles";
|
|
15994
|
+
referencedColumns: ["id"];
|
|
15995
|
+
}, {
|
|
15996
|
+
foreignKeyName: "time_logs_work_order_id_fkey";
|
|
15997
|
+
columns: ["work_order_id"];
|
|
15998
|
+
isOneToOne: false;
|
|
15999
|
+
referencedRelation: "work_orders";
|
|
15088
16000
|
referencedColumns: ["id"];
|
|
15089
16001
|
}];
|
|
15090
16002
|
};
|
|
@@ -15123,7 +16035,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
15123
16035
|
foreignKeyName: "time_off_entries_employee_id_fkey";
|
|
15124
16036
|
columns: ["employee_id"];
|
|
15125
16037
|
isOneToOne: false;
|
|
15126
|
-
referencedRelation: "
|
|
16038
|
+
referencedRelation: "profiles";
|
|
15127
16039
|
referencedColumns: ["id"];
|
|
15128
16040
|
}];
|
|
15129
16041
|
};
|
|
@@ -15372,12 +16284,16 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
15372
16284
|
company_name: string | null;
|
|
15373
16285
|
connected_at: string | null;
|
|
15374
16286
|
created_at: string;
|
|
16287
|
+
disconnected_at: string | null;
|
|
15375
16288
|
environment: string;
|
|
15376
16289
|
id: string;
|
|
16290
|
+
initial_sync_completed_at: string | null;
|
|
16291
|
+
initial_sync_started_at: string | null;
|
|
15377
16292
|
is_active: boolean;
|
|
15378
16293
|
label: string | null;
|
|
15379
16294
|
office_code: string | null;
|
|
15380
16295
|
redirect_uri: string | null;
|
|
16296
|
+
superseded_at: string | null;
|
|
15381
16297
|
updated_at: string;
|
|
15382
16298
|
user_id: string;
|
|
15383
16299
|
};
|
|
@@ -15388,12 +16304,16 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
15388
16304
|
company_name?: string | null;
|
|
15389
16305
|
connected_at?: string | null;
|
|
15390
16306
|
created_at?: string;
|
|
16307
|
+
disconnected_at?: string | null;
|
|
15391
16308
|
environment: string;
|
|
15392
16309
|
id?: string;
|
|
16310
|
+
initial_sync_completed_at?: string | null;
|
|
16311
|
+
initial_sync_started_at?: string | null;
|
|
15393
16312
|
is_active?: boolean;
|
|
15394
16313
|
label?: string | null;
|
|
15395
16314
|
office_code?: string | null;
|
|
15396
16315
|
redirect_uri?: string | null;
|
|
16316
|
+
superseded_at?: string | null;
|
|
15397
16317
|
updated_at?: string;
|
|
15398
16318
|
user_id: string;
|
|
15399
16319
|
};
|
|
@@ -15404,12 +16324,16 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
15404
16324
|
company_name?: string | null;
|
|
15405
16325
|
connected_at?: string | null;
|
|
15406
16326
|
created_at?: string;
|
|
16327
|
+
disconnected_at?: string | null;
|
|
15407
16328
|
environment?: string;
|
|
15408
16329
|
id?: string;
|
|
16330
|
+
initial_sync_completed_at?: string | null;
|
|
16331
|
+
initial_sync_started_at?: string | null;
|
|
15409
16332
|
is_active?: boolean;
|
|
15410
16333
|
label?: string | null;
|
|
15411
16334
|
office_code?: string | null;
|
|
15412
16335
|
redirect_uri?: string | null;
|
|
16336
|
+
superseded_at?: string | null;
|
|
15413
16337
|
updated_at?: string;
|
|
15414
16338
|
user_id?: string;
|
|
15415
16339
|
};
|
|
@@ -15428,14 +16352,48 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
15428
16352
|
};
|
|
15429
16353
|
Update: {
|
|
15430
16354
|
created_at?: string;
|
|
15431
|
-
id?: number;
|
|
15432
|
-
secret?: string;
|
|
16355
|
+
id?: number;
|
|
16356
|
+
secret?: string;
|
|
16357
|
+
};
|
|
16358
|
+
Relationships: [];
|
|
16359
|
+
};
|
|
16360
|
+
twinfield_cron_locks: {
|
|
16361
|
+
Row: {
|
|
16362
|
+
created_at: string;
|
|
16363
|
+
heartbeat_at: string;
|
|
16364
|
+
job_name: string;
|
|
16365
|
+
last_error: string | null;
|
|
16366
|
+
last_finished_at: string | null;
|
|
16367
|
+
locked_at: string;
|
|
16368
|
+
run_id: string;
|
|
16369
|
+
updated_at: string;
|
|
16370
|
+
};
|
|
16371
|
+
Insert: {
|
|
16372
|
+
created_at?: string;
|
|
16373
|
+
heartbeat_at?: string;
|
|
16374
|
+
job_name: string;
|
|
16375
|
+
last_error?: string | null;
|
|
16376
|
+
last_finished_at?: string | null;
|
|
16377
|
+
locked_at?: string;
|
|
16378
|
+
run_id?: string;
|
|
16379
|
+
updated_at?: string;
|
|
16380
|
+
};
|
|
16381
|
+
Update: {
|
|
16382
|
+
created_at?: string;
|
|
16383
|
+
heartbeat_at?: string;
|
|
16384
|
+
job_name?: string;
|
|
16385
|
+
last_error?: string | null;
|
|
16386
|
+
last_finished_at?: string | null;
|
|
16387
|
+
locked_at?: string;
|
|
16388
|
+
run_id?: string;
|
|
16389
|
+
updated_at?: string;
|
|
15433
16390
|
};
|
|
15434
16391
|
Relationships: [];
|
|
15435
16392
|
};
|
|
15436
16393
|
twinfield_customers: {
|
|
15437
16394
|
Row: {
|
|
15438
16395
|
address: string | null;
|
|
16396
|
+
administration_code: string;
|
|
15439
16397
|
city: string | null;
|
|
15440
16398
|
country: string | null;
|
|
15441
16399
|
created_at: string;
|
|
@@ -15455,6 +16413,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
15455
16413
|
};
|
|
15456
16414
|
Insert: {
|
|
15457
16415
|
address?: string | null;
|
|
16416
|
+
administration_code?: string;
|
|
15458
16417
|
city?: string | null;
|
|
15459
16418
|
country?: string | null;
|
|
15460
16419
|
created_at?: string;
|
|
@@ -15474,6 +16433,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
15474
16433
|
};
|
|
15475
16434
|
Update: {
|
|
15476
16435
|
address?: string | null;
|
|
16436
|
+
administration_code?: string;
|
|
15477
16437
|
city?: string | null;
|
|
15478
16438
|
country?: string | null;
|
|
15479
16439
|
created_at?: string;
|
|
@@ -15687,7 +16647,9 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
15687
16647
|
};
|
|
15688
16648
|
twinfield_invoice_settings: {
|
|
15689
16649
|
Row: {
|
|
16650
|
+
administration_code: string | null;
|
|
15690
16651
|
auto_invoice_enabled: boolean;
|
|
16652
|
+
auto_invoice_start_date: string | null;
|
|
15691
16653
|
auto_invoice_trigger_statuses: string[];
|
|
15692
16654
|
created_at: string;
|
|
15693
16655
|
debtor_gl_account: string;
|
|
@@ -15701,15 +16663,19 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
15701
16663
|
invoice_enabled_fo: boolean;
|
|
15702
16664
|
invoice_enabled_ho: boolean;
|
|
15703
16665
|
invoice_enabled_mo: boolean;
|
|
16666
|
+
needs_review: boolean;
|
|
15704
16667
|
payment_gl_account: string;
|
|
15705
16668
|
payment_journal_code: string;
|
|
16669
|
+
settings_confirmed_at: string | null;
|
|
15706
16670
|
updated_at: string;
|
|
15707
16671
|
user_id: string;
|
|
15708
16672
|
vat_code_eu_reverse: string | null;
|
|
15709
16673
|
vat_code_export: string | null;
|
|
15710
16674
|
};
|
|
15711
16675
|
Insert: {
|
|
16676
|
+
administration_code?: string | null;
|
|
15712
16677
|
auto_invoice_enabled?: boolean;
|
|
16678
|
+
auto_invoice_start_date?: string | null;
|
|
15713
16679
|
auto_invoice_trigger_statuses?: string[];
|
|
15714
16680
|
created_at?: string;
|
|
15715
16681
|
debtor_gl_account?: string;
|
|
@@ -15723,15 +16689,19 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
15723
16689
|
invoice_enabled_fo?: boolean;
|
|
15724
16690
|
invoice_enabled_ho?: boolean;
|
|
15725
16691
|
invoice_enabled_mo?: boolean;
|
|
16692
|
+
needs_review?: boolean;
|
|
15726
16693
|
payment_gl_account?: string;
|
|
15727
16694
|
payment_journal_code?: string;
|
|
16695
|
+
settings_confirmed_at?: string | null;
|
|
15728
16696
|
updated_at?: string;
|
|
15729
16697
|
user_id: string;
|
|
15730
16698
|
vat_code_eu_reverse?: string | null;
|
|
15731
16699
|
vat_code_export?: string | null;
|
|
15732
16700
|
};
|
|
15733
16701
|
Update: {
|
|
16702
|
+
administration_code?: string | null;
|
|
15734
16703
|
auto_invoice_enabled?: boolean;
|
|
16704
|
+
auto_invoice_start_date?: string | null;
|
|
15735
16705
|
auto_invoice_trigger_statuses?: string[];
|
|
15736
16706
|
created_at?: string;
|
|
15737
16707
|
debtor_gl_account?: string;
|
|
@@ -15745,8 +16715,10 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
15745
16715
|
invoice_enabled_fo?: boolean;
|
|
15746
16716
|
invoice_enabled_ho?: boolean;
|
|
15747
16717
|
invoice_enabled_mo?: boolean;
|
|
16718
|
+
needs_review?: boolean;
|
|
15748
16719
|
payment_gl_account?: string;
|
|
15749
16720
|
payment_journal_code?: string;
|
|
16721
|
+
settings_confirmed_at?: string | null;
|
|
15750
16722
|
updated_at?: string;
|
|
15751
16723
|
user_id?: string;
|
|
15752
16724
|
vat_code_eu_reverse?: string | null;
|
|
@@ -16033,6 +17005,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
16033
17005
|
twinfield_push_queue: {
|
|
16034
17006
|
Row: {
|
|
16035
17007
|
action: string;
|
|
17008
|
+
attempt_started_at: string | null;
|
|
16036
17009
|
attempts: number;
|
|
16037
17010
|
connection_id: string | null;
|
|
16038
17011
|
created_at: string;
|
|
@@ -16049,6 +17022,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
16049
17022
|
};
|
|
16050
17023
|
Insert: {
|
|
16051
17024
|
action?: string;
|
|
17025
|
+
attempt_started_at?: string | null;
|
|
16052
17026
|
attempts?: number;
|
|
16053
17027
|
connection_id?: string | null;
|
|
16054
17028
|
created_at?: string;
|
|
@@ -16065,6 +17039,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
16065
17039
|
};
|
|
16066
17040
|
Update: {
|
|
16067
17041
|
action?: string;
|
|
17042
|
+
attempt_started_at?: string | null;
|
|
16068
17043
|
attempts?: number;
|
|
16069
17044
|
connection_id?: string | null;
|
|
16070
17045
|
created_at?: string;
|
|
@@ -16262,13 +17237,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
16262
17237
|
workday_end?: string | null;
|
|
16263
17238
|
workday_start?: string | null;
|
|
16264
17239
|
};
|
|
16265
|
-
Relationships: [
|
|
16266
|
-
foreignKeyName: "uren_cao_profiles_monteur_id_fkey";
|
|
16267
|
-
columns: ["monteur_id"];
|
|
16268
|
-
isOneToOne: true;
|
|
16269
|
-
referencedRelation: "monteurs";
|
|
16270
|
-
referencedColumns: ["id"];
|
|
16271
|
-
}];
|
|
17240
|
+
Relationships: [];
|
|
16272
17241
|
};
|
|
16273
17242
|
uren_entries: {
|
|
16274
17243
|
Row: {
|
|
@@ -16314,12 +17283,6 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
16314
17283
|
werkbon_id?: string | null;
|
|
16315
17284
|
};
|
|
16316
17285
|
Relationships: [{
|
|
16317
|
-
foreignKeyName: "uren_entries_monteur_id_fkey";
|
|
16318
|
-
columns: ["monteur_id"];
|
|
16319
|
-
isOneToOne: false;
|
|
16320
|
-
referencedRelation: "monteurs";
|
|
16321
|
-
referencedColumns: ["id"];
|
|
16322
|
-
}, {
|
|
16323
17286
|
foreignKeyName: "uren_entries_werkbon_id_fkey";
|
|
16324
17287
|
columns: ["werkbon_id"];
|
|
16325
17288
|
isOneToOne: false;
|
|
@@ -16360,114 +17323,6 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
16360
17323
|
};
|
|
16361
17324
|
Relationships: [];
|
|
16362
17325
|
};
|
|
16363
|
-
uren_facturen: {
|
|
16364
|
-
Row: {
|
|
16365
|
-
created_at: string;
|
|
16366
|
-
created_by: string | null;
|
|
16367
|
-
customer_id: string | null;
|
|
16368
|
-
customer_name: string | null;
|
|
16369
|
-
id: string;
|
|
16370
|
-
invoice_number: string | null;
|
|
16371
|
-
note: string | null;
|
|
16372
|
-
status: string;
|
|
16373
|
-
total_excl_cents: number;
|
|
16374
|
-
total_incl_cents: number;
|
|
16375
|
-
updated_at: string;
|
|
16376
|
-
vat_cents: number;
|
|
16377
|
-
vat_percentage: number;
|
|
16378
|
-
werkbon_id: string | null;
|
|
16379
|
-
};
|
|
16380
|
-
Insert: {
|
|
16381
|
-
created_at?: string;
|
|
16382
|
-
created_by?: string | null;
|
|
16383
|
-
customer_id?: string | null;
|
|
16384
|
-
customer_name?: string | null;
|
|
16385
|
-
id?: string;
|
|
16386
|
-
invoice_number?: string | null;
|
|
16387
|
-
note?: string | null;
|
|
16388
|
-
status?: string;
|
|
16389
|
-
total_excl_cents?: number;
|
|
16390
|
-
total_incl_cents?: number;
|
|
16391
|
-
updated_at?: string;
|
|
16392
|
-
vat_cents?: number;
|
|
16393
|
-
vat_percentage?: number;
|
|
16394
|
-
werkbon_id?: string | null;
|
|
16395
|
-
};
|
|
16396
|
-
Update: {
|
|
16397
|
-
created_at?: string;
|
|
16398
|
-
created_by?: string | null;
|
|
16399
|
-
customer_id?: string | null;
|
|
16400
|
-
customer_name?: string | null;
|
|
16401
|
-
id?: string;
|
|
16402
|
-
invoice_number?: string | null;
|
|
16403
|
-
note?: string | null;
|
|
16404
|
-
status?: string;
|
|
16405
|
-
total_excl_cents?: number;
|
|
16406
|
-
total_incl_cents?: number;
|
|
16407
|
-
updated_at?: string;
|
|
16408
|
-
vat_cents?: number;
|
|
16409
|
-
vat_percentage?: number;
|
|
16410
|
-
werkbon_id?: string | null;
|
|
16411
|
-
};
|
|
16412
|
-
Relationships: [{
|
|
16413
|
-
foreignKeyName: "uren_facturen_customer_id_fkey";
|
|
16414
|
-
columns: ["customer_id"];
|
|
16415
|
-
isOneToOne: false;
|
|
16416
|
-
referencedRelation: "itk_customers";
|
|
16417
|
-
referencedColumns: ["id"];
|
|
16418
|
-
}, {
|
|
16419
|
-
foreignKeyName: "uren_facturen_werkbon_id_fkey";
|
|
16420
|
-
columns: ["werkbon_id"];
|
|
16421
|
-
isOneToOne: true;
|
|
16422
|
-
referencedRelation: "werkbonnen";
|
|
16423
|
-
referencedColumns: ["id"];
|
|
16424
|
-
}];
|
|
16425
|
-
};
|
|
16426
|
-
uren_factuur_regels: {
|
|
16427
|
-
Row: {
|
|
16428
|
-
created_at: string;
|
|
16429
|
-
description: string;
|
|
16430
|
-
factuur_id: string;
|
|
16431
|
-
id: string;
|
|
16432
|
-
kind: string | null;
|
|
16433
|
-
quantity: number;
|
|
16434
|
-
sort_order: number;
|
|
16435
|
-
total_cents: number;
|
|
16436
|
-
unit: string;
|
|
16437
|
-
unit_price_cents: number;
|
|
16438
|
-
};
|
|
16439
|
-
Insert: {
|
|
16440
|
-
created_at?: string;
|
|
16441
|
-
description: string;
|
|
16442
|
-
factuur_id: string;
|
|
16443
|
-
id?: string;
|
|
16444
|
-
kind?: string | null;
|
|
16445
|
-
quantity?: number;
|
|
16446
|
-
sort_order?: number;
|
|
16447
|
-
total_cents?: number;
|
|
16448
|
-
unit?: string;
|
|
16449
|
-
unit_price_cents?: number;
|
|
16450
|
-
};
|
|
16451
|
-
Update: {
|
|
16452
|
-
created_at?: string;
|
|
16453
|
-
description?: string;
|
|
16454
|
-
factuur_id?: string;
|
|
16455
|
-
id?: string;
|
|
16456
|
-
kind?: string | null;
|
|
16457
|
-
quantity?: number;
|
|
16458
|
-
sort_order?: number;
|
|
16459
|
-
total_cents?: number;
|
|
16460
|
-
unit?: string;
|
|
16461
|
-
unit_price_cents?: number;
|
|
16462
|
-
};
|
|
16463
|
-
Relationships: [{
|
|
16464
|
-
foreignKeyName: "uren_factuur_regels_factuur_id_fkey";
|
|
16465
|
-
columns: ["factuur_id"];
|
|
16466
|
-
isOneToOne: false;
|
|
16467
|
-
referencedRelation: "uren_facturen";
|
|
16468
|
-
referencedColumns: ["id"];
|
|
16469
|
-
}];
|
|
16470
|
-
};
|
|
16471
17326
|
uren_offerte_regels: {
|
|
16472
17327
|
Row: {
|
|
16473
17328
|
created_at: string;
|
|
@@ -16787,13 +17642,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
16787
17642
|
submitted_at?: string | null;
|
|
16788
17643
|
updated_at?: string;
|
|
16789
17644
|
};
|
|
16790
|
-
Relationships: [
|
|
16791
|
-
foreignKeyName: "uren_weekstaten_monteur_id_fkey";
|
|
16792
|
-
columns: ["monteur_id"];
|
|
16793
|
-
isOneToOne: false;
|
|
16794
|
-
referencedRelation: "monteurs";
|
|
16795
|
-
referencedColumns: ["id"];
|
|
16796
|
-
}];
|
|
17645
|
+
Relationships: [];
|
|
16797
17646
|
};
|
|
16798
17647
|
user_module_permissions: {
|
|
16799
17648
|
Row: {
|
|
@@ -16852,6 +17701,51 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
16852
17701
|
referencedColumns: ["id"];
|
|
16853
17702
|
}];
|
|
16854
17703
|
};
|
|
17704
|
+
van_inventories: {
|
|
17705
|
+
Row: {
|
|
17706
|
+
barcode: string | null;
|
|
17707
|
+
created_at: string;
|
|
17708
|
+
id: string;
|
|
17709
|
+
monteur_id: string | null;
|
|
17710
|
+
price_per_unit: number;
|
|
17711
|
+
product_name: string;
|
|
17712
|
+
quantity_current: number;
|
|
17713
|
+
quantity_min: number;
|
|
17714
|
+
unit: string;
|
|
17715
|
+
updated_at: string;
|
|
17716
|
+
};
|
|
17717
|
+
Insert: {
|
|
17718
|
+
barcode?: string | null;
|
|
17719
|
+
created_at?: string;
|
|
17720
|
+
id?: string;
|
|
17721
|
+
monteur_id?: string | null;
|
|
17722
|
+
price_per_unit?: number;
|
|
17723
|
+
product_name: string;
|
|
17724
|
+
quantity_current?: number;
|
|
17725
|
+
quantity_min?: number;
|
|
17726
|
+
unit?: string;
|
|
17727
|
+
updated_at?: string;
|
|
17728
|
+
};
|
|
17729
|
+
Update: {
|
|
17730
|
+
barcode?: string | null;
|
|
17731
|
+
created_at?: string;
|
|
17732
|
+
id?: string;
|
|
17733
|
+
monteur_id?: string | null;
|
|
17734
|
+
price_per_unit?: number;
|
|
17735
|
+
product_name?: string;
|
|
17736
|
+
quantity_current?: number;
|
|
17737
|
+
quantity_min?: number;
|
|
17738
|
+
unit?: string;
|
|
17739
|
+
updated_at?: string;
|
|
17740
|
+
};
|
|
17741
|
+
Relationships: [{
|
|
17742
|
+
foreignKeyName: "van_inventories_monteur_id_fkey";
|
|
17743
|
+
columns: ["monteur_id"];
|
|
17744
|
+
isOneToOne: false;
|
|
17745
|
+
referencedRelation: "profiles";
|
|
17746
|
+
referencedColumns: ["id"];
|
|
17747
|
+
}];
|
|
17748
|
+
};
|
|
16855
17749
|
voorraad_custom_fields: {
|
|
16856
17750
|
Row: {
|
|
16857
17751
|
created_at: string;
|
|
@@ -17802,7 +18696,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
17802
18696
|
foreignKeyName: "work_order_monteurs_monteur_id_fkey";
|
|
17803
18697
|
columns: ["monteur_id"];
|
|
17804
18698
|
isOneToOne: false;
|
|
17805
|
-
referencedRelation: "
|
|
18699
|
+
referencedRelation: "profiles";
|
|
17806
18700
|
referencedColumns: ["id"];
|
|
17807
18701
|
}, {
|
|
17808
18702
|
foreignKeyName: "work_order_monteurs_work_order_id_fkey";
|
|
@@ -17812,6 +18706,60 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
17812
18706
|
referencedColumns: ["id"];
|
|
17813
18707
|
}];
|
|
17814
18708
|
};
|
|
18709
|
+
work_order_photos: {
|
|
18710
|
+
Row: {
|
|
18711
|
+
ai_caption: string | null;
|
|
18712
|
+
ai_categorized_at: string | null;
|
|
18713
|
+
ai_labels: import("../integrations/supabase/types.js").Json | null;
|
|
18714
|
+
caption: string | null;
|
|
18715
|
+
created_at: string;
|
|
18716
|
+
id: string;
|
|
18717
|
+
monteur_id: string | null;
|
|
18718
|
+
photo_type: string;
|
|
18719
|
+
storage_path: string;
|
|
18720
|
+
updated_at: string;
|
|
18721
|
+
work_order_id: string;
|
|
18722
|
+
};
|
|
18723
|
+
Insert: {
|
|
18724
|
+
ai_caption?: string | null;
|
|
18725
|
+
ai_categorized_at?: string | null;
|
|
18726
|
+
ai_labels?: import("../integrations/supabase/types.js").Json | null;
|
|
18727
|
+
caption?: string | null;
|
|
18728
|
+
created_at?: string;
|
|
18729
|
+
id?: string;
|
|
18730
|
+
monteur_id?: string | null;
|
|
18731
|
+
photo_type?: string;
|
|
18732
|
+
storage_path: string;
|
|
18733
|
+
updated_at?: string;
|
|
18734
|
+
work_order_id: string;
|
|
18735
|
+
};
|
|
18736
|
+
Update: {
|
|
18737
|
+
ai_caption?: string | null;
|
|
18738
|
+
ai_categorized_at?: string | null;
|
|
18739
|
+
ai_labels?: import("../integrations/supabase/types.js").Json | null;
|
|
18740
|
+
caption?: string | null;
|
|
18741
|
+
created_at?: string;
|
|
18742
|
+
id?: string;
|
|
18743
|
+
monteur_id?: string | null;
|
|
18744
|
+
photo_type?: string;
|
|
18745
|
+
storage_path?: string;
|
|
18746
|
+
updated_at?: string;
|
|
18747
|
+
work_order_id?: string;
|
|
18748
|
+
};
|
|
18749
|
+
Relationships: [{
|
|
18750
|
+
foreignKeyName: "work_order_photos_monteur_id_fkey";
|
|
18751
|
+
columns: ["monteur_id"];
|
|
18752
|
+
isOneToOne: false;
|
|
18753
|
+
referencedRelation: "profiles";
|
|
18754
|
+
referencedColumns: ["id"];
|
|
18755
|
+
}, {
|
|
18756
|
+
foreignKeyName: "work_order_photos_work_order_id_fkey";
|
|
18757
|
+
columns: ["work_order_id"];
|
|
18758
|
+
isOneToOne: false;
|
|
18759
|
+
referencedRelation: "work_orders";
|
|
18760
|
+
referencedColumns: ["id"];
|
|
18761
|
+
}];
|
|
18762
|
+
};
|
|
17815
18763
|
work_orders: {
|
|
17816
18764
|
Row: {
|
|
17817
18765
|
assigned_to: string | null;
|
|
@@ -17843,7 +18791,6 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
17843
18791
|
scheduled_end_time: string | null;
|
|
17844
18792
|
scheduled_start_time: string | null;
|
|
17845
18793
|
status: string;
|
|
17846
|
-
tenant_id: string;
|
|
17847
18794
|
total_hours_worked: number | null;
|
|
17848
18795
|
total_price: number | null;
|
|
17849
18796
|
travel_time_minutes: number | null;
|
|
@@ -17881,7 +18828,6 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
17881
18828
|
scheduled_end_time?: string | null;
|
|
17882
18829
|
scheduled_start_time?: string | null;
|
|
17883
18830
|
status?: string;
|
|
17884
|
-
tenant_id: string;
|
|
17885
18831
|
total_hours_worked?: number | null;
|
|
17886
18832
|
total_price?: number | null;
|
|
17887
18833
|
travel_time_minutes?: number | null;
|
|
@@ -17919,7 +18865,6 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
17919
18865
|
scheduled_end_time?: string | null;
|
|
17920
18866
|
scheduled_start_time?: string | null;
|
|
17921
18867
|
status?: string;
|
|
17922
|
-
tenant_id?: string;
|
|
17923
18868
|
total_hours_worked?: number | null;
|
|
17924
18869
|
total_price?: number | null;
|
|
17925
18870
|
travel_time_minutes?: number | null;
|
|
@@ -17933,12 +18878,6 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
17933
18878
|
isOneToOne: false;
|
|
17934
18879
|
referencedRelation: "work_orders";
|
|
17935
18880
|
referencedColumns: ["id"];
|
|
17936
|
-
}, {
|
|
17937
|
-
foreignKeyName: "work_orders_tenant_id_fkey";
|
|
17938
|
-
columns: ["tenant_id"];
|
|
17939
|
-
isOneToOne: false;
|
|
17940
|
-
referencedRelation: "tenants";
|
|
17941
|
-
referencedColumns: ["id"];
|
|
17942
18881
|
}];
|
|
17943
18882
|
};
|
|
17944
18883
|
};
|
|
@@ -18192,36 +19131,144 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
18192
19131
|
valid_from: string | null;
|
|
18193
19132
|
valid_until: string | null;
|
|
18194
19133
|
};
|
|
18195
|
-
Relationships: [];
|
|
18196
|
-
};
|
|
18197
|
-
manufacture_product_possible_stock_view: {
|
|
18198
|
-
Row: {
|
|
18199
|
-
component_count: number | null;
|
|
18200
|
-
manufacture_product_id: string | null;
|
|
18201
|
-
possible_stock: number | null;
|
|
19134
|
+
Relationships: [];
|
|
19135
|
+
};
|
|
19136
|
+
manufacture_product_possible_stock_view: {
|
|
19137
|
+
Row: {
|
|
19138
|
+
component_count: number | null;
|
|
19139
|
+
manufacture_product_id: string | null;
|
|
19140
|
+
possible_stock: number | null;
|
|
19141
|
+
};
|
|
19142
|
+
Relationships: [];
|
|
19143
|
+
};
|
|
19144
|
+
product_group_stock_view: {
|
|
19145
|
+
Row: {
|
|
19146
|
+
item_count: number | null;
|
|
19147
|
+
product_group_id: string | null;
|
|
19148
|
+
total_stock: number | null;
|
|
19149
|
+
};
|
|
19150
|
+
Relationships: [{
|
|
19151
|
+
foreignKeyName: "product_group_items_product_group_id_fkey";
|
|
19152
|
+
columns: ["product_group_id"];
|
|
19153
|
+
isOneToOne: false;
|
|
19154
|
+
referencedRelation: "product_groups";
|
|
19155
|
+
referencedColumns: ["id"];
|
|
19156
|
+
}];
|
|
19157
|
+
};
|
|
19158
|
+
trade_item_stock_view: {
|
|
19159
|
+
Row: {
|
|
19160
|
+
stock: number | null;
|
|
19161
|
+
trade_item_id: string | null;
|
|
19162
|
+
};
|
|
19163
|
+
Relationships: [];
|
|
19164
|
+
};
|
|
19165
|
+
uren_facturen: {
|
|
19166
|
+
Row: {
|
|
19167
|
+
created_at: string | null;
|
|
19168
|
+
created_by: string | null;
|
|
19169
|
+
customer_id: string | null;
|
|
19170
|
+
customer_name: string | null;
|
|
19171
|
+
id: string | null;
|
|
19172
|
+
invoice_number: string | null;
|
|
19173
|
+
note: string | null;
|
|
19174
|
+
status: string | null;
|
|
19175
|
+
total_excl_cents: number | null;
|
|
19176
|
+
total_incl_cents: number | null;
|
|
19177
|
+
updated_at: string | null;
|
|
19178
|
+
vat_cents: number | null;
|
|
19179
|
+
vat_percentage: number | null;
|
|
19180
|
+
werkbon_id: string | null;
|
|
19181
|
+
};
|
|
19182
|
+
Insert: {
|
|
19183
|
+
created_at?: string | null;
|
|
19184
|
+
created_by?: string | null;
|
|
19185
|
+
customer_id?: string | null;
|
|
19186
|
+
customer_name?: string | null;
|
|
19187
|
+
id?: string | null;
|
|
19188
|
+
invoice_number?: string | null;
|
|
19189
|
+
note?: string | null;
|
|
19190
|
+
status?: string | null;
|
|
19191
|
+
total_excl_cents?: number | null;
|
|
19192
|
+
total_incl_cents?: number | null;
|
|
19193
|
+
updated_at?: string | null;
|
|
19194
|
+
vat_cents?: number | null;
|
|
19195
|
+
vat_percentage?: number | null;
|
|
19196
|
+
werkbon_id?: never;
|
|
18202
19197
|
};
|
|
18203
|
-
|
|
18204
|
-
|
|
18205
|
-
|
|
18206
|
-
|
|
18207
|
-
|
|
18208
|
-
|
|
18209
|
-
|
|
19198
|
+
Update: {
|
|
19199
|
+
created_at?: string | null;
|
|
19200
|
+
created_by?: string | null;
|
|
19201
|
+
customer_id?: string | null;
|
|
19202
|
+
customer_name?: string | null;
|
|
19203
|
+
id?: string | null;
|
|
19204
|
+
invoice_number?: string | null;
|
|
19205
|
+
note?: string | null;
|
|
19206
|
+
status?: string | null;
|
|
19207
|
+
total_excl_cents?: number | null;
|
|
19208
|
+
total_incl_cents?: number | null;
|
|
19209
|
+
updated_at?: string | null;
|
|
19210
|
+
vat_cents?: number | null;
|
|
19211
|
+
vat_percentage?: number | null;
|
|
19212
|
+
werkbon_id?: never;
|
|
18210
19213
|
};
|
|
18211
19214
|
Relationships: [{
|
|
18212
|
-
foreignKeyName: "
|
|
18213
|
-
columns: ["
|
|
19215
|
+
foreignKeyName: "invoices_customer_id_fkey";
|
|
19216
|
+
columns: ["customer_id"];
|
|
18214
19217
|
isOneToOne: false;
|
|
18215
|
-
referencedRelation: "
|
|
19218
|
+
referencedRelation: "itk_customers";
|
|
18216
19219
|
referencedColumns: ["id"];
|
|
18217
19220
|
}];
|
|
18218
19221
|
};
|
|
18219
|
-
|
|
19222
|
+
uren_factuur_regels: {
|
|
18220
19223
|
Row: {
|
|
18221
|
-
|
|
18222
|
-
|
|
19224
|
+
created_at: string | null;
|
|
19225
|
+
description: string | null;
|
|
19226
|
+
factuur_id: string | null;
|
|
19227
|
+
id: string | null;
|
|
19228
|
+
kind: string | null;
|
|
19229
|
+
quantity: number | null;
|
|
19230
|
+
sort_order: number | null;
|
|
19231
|
+
total_cents: number | null;
|
|
19232
|
+
unit: string | null;
|
|
19233
|
+
unit_price_cents: number | null;
|
|
18223
19234
|
};
|
|
18224
|
-
|
|
19235
|
+
Insert: {
|
|
19236
|
+
created_at?: string | null;
|
|
19237
|
+
description?: string | null;
|
|
19238
|
+
factuur_id?: string | null;
|
|
19239
|
+
id?: string | null;
|
|
19240
|
+
kind?: string | null;
|
|
19241
|
+
quantity?: number | null;
|
|
19242
|
+
sort_order?: number | null;
|
|
19243
|
+
total_cents?: number | null;
|
|
19244
|
+
unit?: string | null;
|
|
19245
|
+
unit_price_cents?: number | null;
|
|
19246
|
+
};
|
|
19247
|
+
Update: {
|
|
19248
|
+
created_at?: string | null;
|
|
19249
|
+
description?: string | null;
|
|
19250
|
+
factuur_id?: string | null;
|
|
19251
|
+
id?: string | null;
|
|
19252
|
+
kind?: string | null;
|
|
19253
|
+
quantity?: number | null;
|
|
19254
|
+
sort_order?: number | null;
|
|
19255
|
+
total_cents?: number | null;
|
|
19256
|
+
unit?: string | null;
|
|
19257
|
+
unit_price_cents?: number | null;
|
|
19258
|
+
};
|
|
19259
|
+
Relationships: [{
|
|
19260
|
+
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
19261
|
+
columns: ["factuur_id"];
|
|
19262
|
+
isOneToOne: false;
|
|
19263
|
+
referencedRelation: "invoices";
|
|
19264
|
+
referencedColumns: ["id"];
|
|
19265
|
+
}, {
|
|
19266
|
+
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
19267
|
+
columns: ["factuur_id"];
|
|
19268
|
+
isOneToOne: false;
|
|
19269
|
+
referencedRelation: "uren_facturen";
|
|
19270
|
+
referencedColumns: ["id"];
|
|
19271
|
+
}];
|
|
18225
19272
|
};
|
|
18226
19273
|
v_external_customers_exact: {
|
|
18227
19274
|
Row: {
|
|
@@ -18623,6 +19670,19 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
18623
19670
|
};
|
|
18624
19671
|
Returns: undefined;
|
|
18625
19672
|
};
|
|
19673
|
+
approve_mailbox_order_proposal: {
|
|
19674
|
+
Args: {
|
|
19675
|
+
p_custom_fields: import("../integrations/supabase/types.js").Json;
|
|
19676
|
+
p_customer_id: string;
|
|
19677
|
+
p_delivery_date: string;
|
|
19678
|
+
p_field_values?: import("../integrations/supabase/types.js").Json;
|
|
19679
|
+
p_lines: import("../integrations/supabase/types.js").Json;
|
|
19680
|
+
p_notes: string;
|
|
19681
|
+
p_proposal_id: string;
|
|
19682
|
+
p_reviewed_by: string;
|
|
19683
|
+
};
|
|
19684
|
+
Returns: import("../integrations/supabase/types.js").Json;
|
|
19685
|
+
};
|
|
18626
19686
|
assign_cart_numbers: {
|
|
18627
19687
|
Args: {
|
|
18628
19688
|
p_carts: import("../integrations/supabase/types.js").Json;
|
|
@@ -18674,6 +19734,10 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
18674
19734
|
};
|
|
18675
19735
|
Returns: number;
|
|
18676
19736
|
};
|
|
19737
|
+
can_manage_hours: {
|
|
19738
|
+
Args: never;
|
|
19739
|
+
Returns: boolean;
|
|
19740
|
+
};
|
|
18677
19741
|
check_offer_product_available_stock: {
|
|
18678
19742
|
Args: {
|
|
18679
19743
|
p_campaign_product_id: string;
|
|
@@ -18711,6 +19775,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
18711
19775
|
gebruiker_id: string | null;
|
|
18712
19776
|
gebruiker_naam: string;
|
|
18713
19777
|
gestart_op: string | null;
|
|
19778
|
+
herkomst: string | null;
|
|
18714
19779
|
id: string;
|
|
18715
19780
|
idempotentie_sleutel: string | null;
|
|
18716
19781
|
is_herprint: boolean;
|
|
@@ -18831,6 +19896,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
18831
19896
|
gebruiker_id: string | null;
|
|
18832
19897
|
gebruiker_naam: string;
|
|
18833
19898
|
gestart_op: string | null;
|
|
19899
|
+
herkomst: string | null;
|
|
18834
19900
|
id: string;
|
|
18835
19901
|
idempotentie_sleutel: string | null;
|
|
18836
19902
|
is_herprint: boolean;
|
|
@@ -18863,6 +19929,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
18863
19929
|
};
|
|
18864
19930
|
Returns: {
|
|
18865
19931
|
action: string;
|
|
19932
|
+
attempt_started_at: string | null;
|
|
18866
19933
|
attempts: number;
|
|
18867
19934
|
connection_id: string | null;
|
|
18868
19935
|
created_at: string;
|
|
@@ -18950,6 +20017,30 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
18950
20017
|
agent_naam: string;
|
|
18951
20018
|
}[];
|
|
18952
20019
|
};
|
|
20020
|
+
consume_van_inventory: {
|
|
20021
|
+
Args: {
|
|
20022
|
+
p_inventory_id: string;
|
|
20023
|
+
p_quantity: number;
|
|
20024
|
+
};
|
|
20025
|
+
Returns: {
|
|
20026
|
+
barcode: string | null;
|
|
20027
|
+
created_at: string;
|
|
20028
|
+
id: string;
|
|
20029
|
+
monteur_id: string | null;
|
|
20030
|
+
price_per_unit: number;
|
|
20031
|
+
product_name: string;
|
|
20032
|
+
quantity_current: number;
|
|
20033
|
+
quantity_min: number;
|
|
20034
|
+
unit: string;
|
|
20035
|
+
updated_at: string;
|
|
20036
|
+
};
|
|
20037
|
+
SetofOptions: {
|
|
20038
|
+
from: "*";
|
|
20039
|
+
to: "van_inventories";
|
|
20040
|
+
isOneToOne: true;
|
|
20041
|
+
isSetofReturn: false;
|
|
20042
|
+
};
|
|
20043
|
+
};
|
|
18953
20044
|
control_get_todays_carts: {
|
|
18954
20045
|
Args: never;
|
|
18955
20046
|
Returns: {
|
|
@@ -19025,7 +20116,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
19025
20116
|
Returns: string;
|
|
19026
20117
|
} | {
|
|
19027
20118
|
Args: {
|
|
19028
|
-
_feature_id
|
|
20119
|
+
_feature_id: string;
|
|
19029
20120
|
_module_id: string;
|
|
19030
20121
|
_user_id: string;
|
|
19031
20122
|
};
|
|
@@ -19076,6 +20167,13 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
19076
20167
|
};
|
|
19077
20168
|
Returns: string;
|
|
19078
20169
|
};
|
|
20170
|
+
employee_day_hours: {
|
|
20171
|
+
Args: {
|
|
20172
|
+
_day: string;
|
|
20173
|
+
_employee_id: string;
|
|
20174
|
+
};
|
|
20175
|
+
Returns: number;
|
|
20176
|
+
};
|
|
19079
20177
|
enqueue_cart_replan_if_unlocked: {
|
|
19080
20178
|
Args: {
|
|
19081
20179
|
p_order_id: string;
|
|
@@ -19381,12 +20479,6 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
19381
20479
|
Args: never;
|
|
19382
20480
|
Returns: string;
|
|
19383
20481
|
};
|
|
19384
|
-
get_work_order_tenant_id: {
|
|
19385
|
-
Args: {
|
|
19386
|
-
wo_id: string;
|
|
19387
|
-
};
|
|
19388
|
-
Returns: string;
|
|
19389
|
-
};
|
|
19390
20482
|
has_module_permission: {
|
|
19391
20483
|
Args: {
|
|
19392
20484
|
_min: string;
|
|
@@ -19406,6 +20498,46 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
19406
20498
|
Args: never;
|
|
19407
20499
|
Returns: boolean;
|
|
19408
20500
|
};
|
|
20501
|
+
invoice_create_from_source: {
|
|
20502
|
+
Args: {
|
|
20503
|
+
_payload?: import("../integrations/supabase/types.js").Json;
|
|
20504
|
+
_source_id: string;
|
|
20505
|
+
_source_type: string;
|
|
20506
|
+
};
|
|
20507
|
+
Returns: import("../integrations/supabase/types.js").Json;
|
|
20508
|
+
};
|
|
20509
|
+
invoice_get_billable_lines: {
|
|
20510
|
+
Args: {
|
|
20511
|
+
_invoice_id: string;
|
|
20512
|
+
};
|
|
20513
|
+
Returns: import("../integrations/supabase/types.js").Json;
|
|
20514
|
+
};
|
|
20515
|
+
invoice_get_for_source: {
|
|
20516
|
+
Args: {
|
|
20517
|
+
_source_id: string;
|
|
20518
|
+
_source_type: string;
|
|
20519
|
+
};
|
|
20520
|
+
Returns: import("../integrations/supabase/types.js").Json;
|
|
20521
|
+
};
|
|
20522
|
+
invoice_get_summary: {
|
|
20523
|
+
Args: {
|
|
20524
|
+
_invoice_id: string;
|
|
20525
|
+
};
|
|
20526
|
+
Returns: import("../integrations/supabase/types.js").Json;
|
|
20527
|
+
};
|
|
20528
|
+
invoice_list_sources: {
|
|
20529
|
+
Args: {
|
|
20530
|
+
_limit?: number;
|
|
20531
|
+
_source_type?: string;
|
|
20532
|
+
};
|
|
20533
|
+
Returns: import("../integrations/supabase/types.js").Json;
|
|
20534
|
+
};
|
|
20535
|
+
invoice_recalc_totals: {
|
|
20536
|
+
Args: {
|
|
20537
|
+
_invoice_id: string;
|
|
20538
|
+
};
|
|
20539
|
+
Returns: import("../integrations/supabase/types.js").Json;
|
|
20540
|
+
};
|
|
19409
20541
|
is_authenticated: {
|
|
19410
20542
|
Args: never;
|
|
19411
20543
|
Returns: boolean;
|
|
@@ -19420,6 +20552,13 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
19420
20552
|
};
|
|
19421
20553
|
Returns: boolean;
|
|
19422
20554
|
};
|
|
20555
|
+
is_time_log_week_locked: {
|
|
20556
|
+
Args: {
|
|
20557
|
+
p_employee_id: string;
|
|
20558
|
+
p_start_time: string;
|
|
20559
|
+
};
|
|
20560
|
+
Returns: boolean;
|
|
20561
|
+
};
|
|
19423
20562
|
is_user_admin: {
|
|
19424
20563
|
Args: never;
|
|
19425
20564
|
Returns: boolean;
|
|
@@ -19428,12 +20567,59 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
19428
20567
|
Args: never;
|
|
19429
20568
|
Returns: boolean;
|
|
19430
20569
|
};
|
|
20570
|
+
itk_offerte_naar_werkbon: {
|
|
20571
|
+
Args: {
|
|
20572
|
+
_offerte_id: string;
|
|
20573
|
+
};
|
|
20574
|
+
Returns: string;
|
|
20575
|
+
};
|
|
20576
|
+
itk_offerte_restant_mandaat: {
|
|
20577
|
+
Args: {
|
|
20578
|
+
_exclude_offerte_id?: string;
|
|
20579
|
+
_werkbon_id: string;
|
|
20580
|
+
};
|
|
20581
|
+
Returns: number;
|
|
20582
|
+
};
|
|
19431
20583
|
jwt_has_role: {
|
|
19432
20584
|
Args: {
|
|
19433
20585
|
_role: import("../integrations/supabase/types.js").Database["public"]["Enums"]["app_role"];
|
|
19434
20586
|
};
|
|
19435
20587
|
Returns: boolean;
|
|
19436
20588
|
};
|
|
20589
|
+
list_medewerkers: {
|
|
20590
|
+
Args: never;
|
|
20591
|
+
Returns: {
|
|
20592
|
+
avatar_url: string;
|
|
20593
|
+
color: string;
|
|
20594
|
+
display_name: string;
|
|
20595
|
+
email: string;
|
|
20596
|
+
hours_fri: number;
|
|
20597
|
+
hours_mon: number;
|
|
20598
|
+
hours_thu: number;
|
|
20599
|
+
hours_tue: number;
|
|
20600
|
+
hours_wed: number;
|
|
20601
|
+
id: string;
|
|
20602
|
+
is_active: boolean;
|
|
20603
|
+
leave_balance_hours: number;
|
|
20604
|
+
persnr: string;
|
|
20605
|
+
phone: string;
|
|
20606
|
+
roles: string[];
|
|
20607
|
+
}[];
|
|
20608
|
+
};
|
|
20609
|
+
list_monteur_absences: {
|
|
20610
|
+
Args: {
|
|
20611
|
+
_from: string;
|
|
20612
|
+
_to: string;
|
|
20613
|
+
};
|
|
20614
|
+
Returns: {
|
|
20615
|
+
absence_date: string;
|
|
20616
|
+
end_time: string;
|
|
20617
|
+
full_day: boolean;
|
|
20618
|
+
kind: string;
|
|
20619
|
+
monteur_id: string;
|
|
20620
|
+
start_time: string;
|
|
20621
|
+
}[];
|
|
20622
|
+
};
|
|
19437
20623
|
list_monteurs: {
|
|
19438
20624
|
Args: never;
|
|
19439
20625
|
Returns: {
|
|
@@ -19766,17 +20952,6 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
19766
20952
|
Returns: string;
|
|
19767
20953
|
};
|
|
19768
20954
|
logistics_emit_event: {
|
|
19769
|
-
Args: {
|
|
19770
|
-
p_event_type: string;
|
|
19771
|
-
p_idempotency_key?: string;
|
|
19772
|
-
p_order_ref: string;
|
|
19773
|
-
p_payload?: import("../integrations/supabase/types.js").Json;
|
|
19774
|
-
p_shadow?: boolean;
|
|
19775
|
-
p_source_module: string;
|
|
19776
|
-
p_strategy_id?: string;
|
|
19777
|
-
};
|
|
19778
|
-
Returns: import("../integrations/supabase/types.js").Json;
|
|
19779
|
-
} | {
|
|
19780
20955
|
Args: {
|
|
19781
20956
|
p_event_type: string;
|
|
19782
20957
|
p_idempotency_key?: string;
|
|
@@ -20621,6 +21796,37 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
20621
21796
|
};
|
|
20622
21797
|
Returns: undefined;
|
|
20623
21798
|
};
|
|
21799
|
+
quote_create_from_source: {
|
|
21800
|
+
Args: {
|
|
21801
|
+
_payload?: import("../integrations/supabase/types.js").Json;
|
|
21802
|
+
_source_id: string;
|
|
21803
|
+
_source_type: string;
|
|
21804
|
+
};
|
|
21805
|
+
Returns: string;
|
|
21806
|
+
};
|
|
21807
|
+
quote_get_billable_lines: {
|
|
21808
|
+
Args: {
|
|
21809
|
+
_quotation_id: string;
|
|
21810
|
+
};
|
|
21811
|
+
Returns: import("../integrations/supabase/types.js").Json;
|
|
21812
|
+
};
|
|
21813
|
+
quote_get_summary: {
|
|
21814
|
+
Args: {
|
|
21815
|
+
_quotation_id: string;
|
|
21816
|
+
};
|
|
21817
|
+
Returns: import("../integrations/supabase/types.js").Json;
|
|
21818
|
+
};
|
|
21819
|
+
quote_list_packages: {
|
|
21820
|
+
Args: never;
|
|
21821
|
+
Returns: import("../integrations/supabase/types.js").Json;
|
|
21822
|
+
};
|
|
21823
|
+
quote_list_sources: {
|
|
21824
|
+
Args: {
|
|
21825
|
+
_limit?: number;
|
|
21826
|
+
_source_type?: string;
|
|
21827
|
+
};
|
|
21828
|
+
Returns: import("../integrations/supabase/types.js").Json;
|
|
21829
|
+
};
|
|
20624
21830
|
recompute_all_reserved_stock: {
|
|
20625
21831
|
Args: never;
|
|
20626
21832
|
Returns: undefined;
|
|
@@ -20674,6 +21880,12 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
20674
21880
|
};
|
|
20675
21881
|
Returns: boolean;
|
|
20676
21882
|
};
|
|
21883
|
+
release_stale_order_invoice_links: {
|
|
21884
|
+
Args: {
|
|
21885
|
+
_minutes?: number;
|
|
21886
|
+
};
|
|
21887
|
+
Returns: number;
|
|
21888
|
+
};
|
|
20677
21889
|
reorder_customer_price_groups: {
|
|
20678
21890
|
Args: {
|
|
20679
21891
|
_ids: string[];
|
|
@@ -21112,6 +22324,16 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
21112
22324
|
};
|
|
21113
22325
|
Returns: string[];
|
|
21114
22326
|
};
|
|
22327
|
+
switch_time_log: {
|
|
22328
|
+
Args: {
|
|
22329
|
+
p_employee_id: string;
|
|
22330
|
+
p_start_lat?: number;
|
|
22331
|
+
p_start_lng?: number;
|
|
22332
|
+
p_type: string;
|
|
22333
|
+
p_work_order_id?: string;
|
|
22334
|
+
};
|
|
22335
|
+
Returns: import("../integrations/supabase/types.js").Json;
|
|
22336
|
+
};
|
|
21115
22337
|
sync_all_layer_stocks: {
|
|
21116
22338
|
Args: never;
|
|
21117
22339
|
Returns: undefined;
|
|
@@ -21146,6 +22368,12 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
21146
22368
|
};
|
|
21147
22369
|
Returns: undefined;
|
|
21148
22370
|
};
|
|
22371
|
+
sync_sick_time_off: {
|
|
22372
|
+
Args: {
|
|
22373
|
+
_period_id: string;
|
|
22374
|
+
};
|
|
22375
|
+
Returns: number;
|
|
22376
|
+
};
|
|
21149
22377
|
trade_item_stock_duplicates: {
|
|
21150
22378
|
Args: never;
|
|
21151
22379
|
Returns: {
|
|
@@ -21162,6 +22390,38 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
21162
22390
|
};
|
|
21163
22391
|
Returns: boolean;
|
|
21164
22392
|
};
|
|
22393
|
+
twinfield_cron_lock_acquire: {
|
|
22394
|
+
Args: {
|
|
22395
|
+
_job_name: string;
|
|
22396
|
+
_stale_seconds?: number;
|
|
22397
|
+
};
|
|
22398
|
+
Returns: boolean;
|
|
22399
|
+
};
|
|
22400
|
+
twinfield_cron_lock_release: {
|
|
22401
|
+
Args: {
|
|
22402
|
+
_error?: string;
|
|
22403
|
+
_job_name: string;
|
|
22404
|
+
};
|
|
22405
|
+
Returns: undefined;
|
|
22406
|
+
};
|
|
22407
|
+
twinfield_deactivate_connection: {
|
|
22408
|
+
Args: {
|
|
22409
|
+
p_connection_id: string;
|
|
22410
|
+
p_user_id: string;
|
|
22411
|
+
};
|
|
22412
|
+
Returns: import("../integrations/supabase/types.js").Json;
|
|
22413
|
+
};
|
|
22414
|
+
twinfield_handle_administration_change: {
|
|
22415
|
+
Args: {
|
|
22416
|
+
_administration_code: string;
|
|
22417
|
+
_user_id: string;
|
|
22418
|
+
};
|
|
22419
|
+
Returns: undefined;
|
|
22420
|
+
};
|
|
22421
|
+
twinfield_prune_push_queue: {
|
|
22422
|
+
Args: never;
|
|
22423
|
+
Returns: number;
|
|
22424
|
+
};
|
|
21165
22425
|
twinfield_register_cron: {
|
|
21166
22426
|
Args: {
|
|
21167
22427
|
apikey?: string;
|
|
@@ -21177,10 +22437,11 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
21177
22437
|
p_company_name?: string;
|
|
21178
22438
|
p_environment: string;
|
|
21179
22439
|
p_office_code?: string;
|
|
22440
|
+
p_reset_sync?: boolean;
|
|
21180
22441
|
p_status?: string;
|
|
21181
22442
|
p_user_id: string;
|
|
21182
22443
|
};
|
|
21183
|
-
Returns:
|
|
22444
|
+
Returns: import("../integrations/supabase/types.js").Json;
|
|
21184
22445
|
};
|
|
21185
22446
|
upsert_auto_fulfillment_log: {
|
|
21186
22447
|
Args: {
|
|
@@ -21201,11 +22462,31 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
21201
22462
|
Args: never;
|
|
21202
22463
|
Returns: string;
|
|
21203
22464
|
};
|
|
22465
|
+
wo_create_from_source: {
|
|
22466
|
+
Args: {
|
|
22467
|
+
_payload?: import("../integrations/supabase/types.js").Json;
|
|
22468
|
+
_source_id: string;
|
|
22469
|
+
_source_type: string;
|
|
22470
|
+
};
|
|
22471
|
+
Returns: string;
|
|
22472
|
+
};
|
|
22473
|
+
wo_get_billable_lines: {
|
|
22474
|
+
Args: {
|
|
22475
|
+
_work_order_id: string;
|
|
22476
|
+
};
|
|
22477
|
+
Returns: import("../integrations/supabase/types.js").Json;
|
|
22478
|
+
};
|
|
22479
|
+
wo_get_summary: {
|
|
22480
|
+
Args: {
|
|
22481
|
+
_work_order_id: string;
|
|
22482
|
+
};
|
|
22483
|
+
Returns: import("../integrations/supabase/types.js").Json;
|
|
22484
|
+
};
|
|
21204
22485
|
};
|
|
21205
22486
|
Enums: {
|
|
21206
22487
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|
|
21207
22488
|
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
|
|
21208
|
-
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
|
|
22489
|
+
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon" | "veilingbon" | "afleverbrief" | "veilingbrief";
|
|
21209
22490
|
doc_orientation: "portrait" | "landscape";
|
|
21210
22491
|
exact_env: "staging" | "live";
|
|
21211
22492
|
exact_push_status: "pending" | "sent" | "error";
|