@flowselections/floriday-authenticatie-module 1.0.38 → 1.0.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +1672 -300
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +1672 -300
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +1672 -300
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +1752 -348
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.js +3 -0
- package/dist-lib/lib/cron/process-stock-queue.js +2 -2
- package/dist-lib/lib/floricode.functions.d.ts +11263 -1659
- package/dist-lib/lib/floricode.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-auction-letters.functions.d.ts +1672 -300
- package/dist-lib/lib/floriday-auction-letters.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-labels.functions.d.ts +1672 -300
- package/dist-lib/lib/floriday-labels.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-public.functions.d.ts +9654 -1422
- package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-stickers.functions.d.ts +1672 -300
- package/dist-lib/lib/floriday-stickers.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-sync.functions.d.ts +49879 -7347
- package/dist-lib/lib/floriday-sync.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.d.ts +9654 -1422
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday.functions.d.ts +30574 -4503
- package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday.functions.js +46 -3
- package/dist-lib/lib/print/floriday-print.d.ts +36 -0
- package/dist-lib/lib/print/floriday-print.d.ts.map +1 -0
- package/dist-lib/lib/print/floriday-print.js +204 -0
- package/dist-lib/lib/print/index.d.ts +3 -0
- package/dist-lib/lib/print/index.d.ts.map +1 -0
- package/dist-lib/lib/print/index.js +2 -0
- package/dist-lib/lib/print/pdf-to-base64.d.ts +5 -0
- package/dist-lib/lib/print/pdf-to-base64.d.ts.map +1 -0
- package/dist-lib/lib/print/pdf-to-base64.js +27 -0
- package/package.json +12 -2
|
@@ -895,6 +895,126 @@ export type Database = {
|
|
|
895
895
|
};
|
|
896
896
|
Relationships: [];
|
|
897
897
|
};
|
|
898
|
+
cao_holidays: {
|
|
899
|
+
Row: {
|
|
900
|
+
created_at: string;
|
|
901
|
+
description: string | null;
|
|
902
|
+
holiday_date: string;
|
|
903
|
+
id: string;
|
|
904
|
+
updated_at: string;
|
|
905
|
+
};
|
|
906
|
+
Insert: {
|
|
907
|
+
created_at?: string;
|
|
908
|
+
description?: string | null;
|
|
909
|
+
holiday_date: string;
|
|
910
|
+
id?: string;
|
|
911
|
+
updated_at?: string;
|
|
912
|
+
};
|
|
913
|
+
Update: {
|
|
914
|
+
created_at?: string;
|
|
915
|
+
description?: string | null;
|
|
916
|
+
holiday_date?: string;
|
|
917
|
+
id?: string;
|
|
918
|
+
updated_at?: string;
|
|
919
|
+
};
|
|
920
|
+
Relationships: [];
|
|
921
|
+
};
|
|
922
|
+
cao_settings: {
|
|
923
|
+
Row: {
|
|
924
|
+
auto_break_after_hours: number;
|
|
925
|
+
auto_break_minutes: number;
|
|
926
|
+
auto_break_unpaid: boolean;
|
|
927
|
+
auto_stop_after_hours: number;
|
|
928
|
+
callout_fee: number;
|
|
929
|
+
created_at: string;
|
|
930
|
+
daily_regular_hours: number;
|
|
931
|
+
default_hourly_rate: number;
|
|
932
|
+
id: string;
|
|
933
|
+
materials_markup_percent: number;
|
|
934
|
+
max_daily_hours: number;
|
|
935
|
+
max_weekly_hours: number;
|
|
936
|
+
meal_allowance_amount: number;
|
|
937
|
+
overtime_pct_178: number;
|
|
938
|
+
overtime_pct_189: number;
|
|
939
|
+
overtime_pct_212: number;
|
|
940
|
+
reminder_after_hours: number;
|
|
941
|
+
standby_evening_amount: number;
|
|
942
|
+
standby_weekend_amount: number;
|
|
943
|
+
travel_cost_per_km: number | null;
|
|
944
|
+
travel_cost_threshold_km: number | null;
|
|
945
|
+
travel_counts_as_work: boolean;
|
|
946
|
+
travel_hourly_rate: number;
|
|
947
|
+
travel_rate_per_hour: number;
|
|
948
|
+
travel_threshold_minutes: number;
|
|
949
|
+
updated_at: string;
|
|
950
|
+
weekend_always_212: boolean;
|
|
951
|
+
window_end: string;
|
|
952
|
+
window_start: string;
|
|
953
|
+
};
|
|
954
|
+
Insert: {
|
|
955
|
+
auto_break_after_hours?: number;
|
|
956
|
+
auto_break_minutes?: number;
|
|
957
|
+
auto_break_unpaid?: boolean;
|
|
958
|
+
auto_stop_after_hours?: number;
|
|
959
|
+
callout_fee?: number;
|
|
960
|
+
created_at?: string;
|
|
961
|
+
daily_regular_hours?: number;
|
|
962
|
+
default_hourly_rate?: number;
|
|
963
|
+
id?: string;
|
|
964
|
+
materials_markup_percent?: number;
|
|
965
|
+
max_daily_hours?: number;
|
|
966
|
+
max_weekly_hours?: number;
|
|
967
|
+
meal_allowance_amount?: number;
|
|
968
|
+
overtime_pct_178?: number;
|
|
969
|
+
overtime_pct_189?: number;
|
|
970
|
+
overtime_pct_212?: number;
|
|
971
|
+
reminder_after_hours?: number;
|
|
972
|
+
standby_evening_amount?: number;
|
|
973
|
+
standby_weekend_amount?: number;
|
|
974
|
+
travel_cost_per_km?: number | null;
|
|
975
|
+
travel_cost_threshold_km?: number | null;
|
|
976
|
+
travel_counts_as_work?: boolean;
|
|
977
|
+
travel_hourly_rate?: number;
|
|
978
|
+
travel_rate_per_hour?: number;
|
|
979
|
+
travel_threshold_minutes?: number;
|
|
980
|
+
updated_at?: string;
|
|
981
|
+
weekend_always_212?: boolean;
|
|
982
|
+
window_end?: string;
|
|
983
|
+
window_start?: string;
|
|
984
|
+
};
|
|
985
|
+
Update: {
|
|
986
|
+
auto_break_after_hours?: number;
|
|
987
|
+
auto_break_minutes?: number;
|
|
988
|
+
auto_break_unpaid?: boolean;
|
|
989
|
+
auto_stop_after_hours?: number;
|
|
990
|
+
callout_fee?: number;
|
|
991
|
+
created_at?: string;
|
|
992
|
+
daily_regular_hours?: number;
|
|
993
|
+
default_hourly_rate?: number;
|
|
994
|
+
id?: string;
|
|
995
|
+
materials_markup_percent?: number;
|
|
996
|
+
max_daily_hours?: number;
|
|
997
|
+
max_weekly_hours?: number;
|
|
998
|
+
meal_allowance_amount?: number;
|
|
999
|
+
overtime_pct_178?: number;
|
|
1000
|
+
overtime_pct_189?: number;
|
|
1001
|
+
overtime_pct_212?: number;
|
|
1002
|
+
reminder_after_hours?: number;
|
|
1003
|
+
standby_evening_amount?: number;
|
|
1004
|
+
standby_weekend_amount?: number;
|
|
1005
|
+
travel_cost_per_km?: number | null;
|
|
1006
|
+
travel_cost_threshold_km?: number | null;
|
|
1007
|
+
travel_counts_as_work?: boolean;
|
|
1008
|
+
travel_hourly_rate?: number;
|
|
1009
|
+
travel_rate_per_hour?: number;
|
|
1010
|
+
travel_threshold_minutes?: number;
|
|
1011
|
+
updated_at?: string;
|
|
1012
|
+
weekend_always_212?: boolean;
|
|
1013
|
+
window_end?: string;
|
|
1014
|
+
window_start?: string;
|
|
1015
|
+
};
|
|
1016
|
+
Relationships: [];
|
|
1017
|
+
};
|
|
898
1018
|
carrier_shipping_rates: {
|
|
899
1019
|
Row: {
|
|
900
1020
|
carrier_id: string;
|
|
@@ -2698,6 +2818,44 @@ export type Database = {
|
|
|
2698
2818
|
};
|
|
2699
2819
|
Relationships: [];
|
|
2700
2820
|
};
|
|
2821
|
+
document_bronregels: {
|
|
2822
|
+
Row: {
|
|
2823
|
+
bron: string;
|
|
2824
|
+
created_at: string;
|
|
2825
|
+
documenttype: string;
|
|
2826
|
+
herkomst: string;
|
|
2827
|
+
id: string;
|
|
2828
|
+
layout_id: string | null;
|
|
2829
|
+
updated_at: string;
|
|
2830
|
+
};
|
|
2831
|
+
Insert: {
|
|
2832
|
+
bron?: string;
|
|
2833
|
+
created_at?: string;
|
|
2834
|
+
documenttype: string;
|
|
2835
|
+
herkomst: string;
|
|
2836
|
+
id?: string;
|
|
2837
|
+
layout_id?: string | null;
|
|
2838
|
+
updated_at?: string;
|
|
2839
|
+
};
|
|
2840
|
+
Update: {
|
|
2841
|
+
bron?: string;
|
|
2842
|
+
created_at?: string;
|
|
2843
|
+
documenttype?: string;
|
|
2844
|
+
herkomst?: string;
|
|
2845
|
+
id?: string;
|
|
2846
|
+
layout_id?: string | null;
|
|
2847
|
+
updated_at?: string;
|
|
2848
|
+
};
|
|
2849
|
+
Relationships: [
|
|
2850
|
+
{
|
|
2851
|
+
foreignKeyName: "document_bronregels_layout_id_fkey";
|
|
2852
|
+
columns: ["layout_id"];
|
|
2853
|
+
isOneToOne: false;
|
|
2854
|
+
referencedRelation: "document_layouts";
|
|
2855
|
+
referencedColumns: ["id"];
|
|
2856
|
+
}
|
|
2857
|
+
];
|
|
2858
|
+
};
|
|
2701
2859
|
document_formaat_printers: {
|
|
2702
2860
|
Row: {
|
|
2703
2861
|
created_at: string;
|
|
@@ -2988,6 +3146,7 @@ export type Database = {
|
|
|
2988
3146
|
Row: {
|
|
2989
3147
|
actief: boolean;
|
|
2990
3148
|
breedte_mm: number;
|
|
3149
|
+
bron: string;
|
|
2991
3150
|
config: Json;
|
|
2992
3151
|
created_at: string;
|
|
2993
3152
|
created_by: string | null;
|
|
@@ -3005,12 +3164,14 @@ export type Database = {
|
|
|
3005
3164
|
orientatie: Database["public"]["Enums"]["doc_orientation"];
|
|
3006
3165
|
page_settings: Json;
|
|
3007
3166
|
papierformaat: string;
|
|
3167
|
+
systeem: boolean;
|
|
3008
3168
|
thumbnail_url: string | null;
|
|
3009
3169
|
updated_at: string;
|
|
3010
3170
|
};
|
|
3011
3171
|
Insert: {
|
|
3012
3172
|
actief?: boolean;
|
|
3013
3173
|
breedte_mm?: number;
|
|
3174
|
+
bron?: string;
|
|
3014
3175
|
config?: Json;
|
|
3015
3176
|
created_at?: string;
|
|
3016
3177
|
created_by?: string | null;
|
|
@@ -3028,12 +3189,14 @@ export type Database = {
|
|
|
3028
3189
|
orientatie?: Database["public"]["Enums"]["doc_orientation"];
|
|
3029
3190
|
page_settings?: Json;
|
|
3030
3191
|
papierformaat?: string;
|
|
3192
|
+
systeem?: boolean;
|
|
3031
3193
|
thumbnail_url?: string | null;
|
|
3032
3194
|
updated_at?: string;
|
|
3033
3195
|
};
|
|
3034
3196
|
Update: {
|
|
3035
3197
|
actief?: boolean;
|
|
3036
3198
|
breedte_mm?: number;
|
|
3199
|
+
bron?: string;
|
|
3037
3200
|
config?: Json;
|
|
3038
3201
|
created_at?: string;
|
|
3039
3202
|
created_by?: string | null;
|
|
@@ -3051,11 +3214,50 @@ export type Database = {
|
|
|
3051
3214
|
orientatie?: Database["public"]["Enums"]["doc_orientation"];
|
|
3052
3215
|
page_settings?: Json;
|
|
3053
3216
|
papierformaat?: string;
|
|
3217
|
+
systeem?: boolean;
|
|
3054
3218
|
thumbnail_url?: string | null;
|
|
3055
3219
|
updated_at?: string;
|
|
3056
3220
|
};
|
|
3057
3221
|
Relationships: [];
|
|
3058
3222
|
};
|
|
3223
|
+
document_werkplek_printers: {
|
|
3224
|
+
Row: {
|
|
3225
|
+
created_at: string;
|
|
3226
|
+
documenttype: string;
|
|
3227
|
+
id: string;
|
|
3228
|
+
papierformaat: string | null;
|
|
3229
|
+
printer_id: string | null;
|
|
3230
|
+
updated_at: string;
|
|
3231
|
+
werkplek: string;
|
|
3232
|
+
};
|
|
3233
|
+
Insert: {
|
|
3234
|
+
created_at?: string;
|
|
3235
|
+
documenttype: string;
|
|
3236
|
+
id?: string;
|
|
3237
|
+
papierformaat?: string | null;
|
|
3238
|
+
printer_id?: string | null;
|
|
3239
|
+
updated_at?: string;
|
|
3240
|
+
werkplek: string;
|
|
3241
|
+
};
|
|
3242
|
+
Update: {
|
|
3243
|
+
created_at?: string;
|
|
3244
|
+
documenttype?: string;
|
|
3245
|
+
id?: string;
|
|
3246
|
+
papierformaat?: string | null;
|
|
3247
|
+
printer_id?: string | null;
|
|
3248
|
+
updated_at?: string;
|
|
3249
|
+
werkplek?: string;
|
|
3250
|
+
};
|
|
3251
|
+
Relationships: [
|
|
3252
|
+
{
|
|
3253
|
+
foreignKeyName: "document_werkplek_printers_printer_id_fkey";
|
|
3254
|
+
columns: ["printer_id"];
|
|
3255
|
+
isOneToOne: false;
|
|
3256
|
+
referencedRelation: "printers";
|
|
3257
|
+
referencedColumns: ["id"];
|
|
3258
|
+
}
|
|
3259
|
+
];
|
|
3260
|
+
};
|
|
3059
3261
|
email_auth_connections: {
|
|
3060
3262
|
Row: {
|
|
3061
3263
|
access_token_encrypted: string | null;
|
|
@@ -7422,8 +7624,66 @@ export type Database = {
|
|
|
7422
7624
|
};
|
|
7423
7625
|
Relationships: [];
|
|
7424
7626
|
};
|
|
7627
|
+
invoice_items: {
|
|
7628
|
+
Row: {
|
|
7629
|
+
created_at: string;
|
|
7630
|
+
description: string;
|
|
7631
|
+
id: string;
|
|
7632
|
+
invoice_id: string;
|
|
7633
|
+
kind: string;
|
|
7634
|
+
quantity: number;
|
|
7635
|
+
sort_order: number;
|
|
7636
|
+
source_line_ref: string | null;
|
|
7637
|
+
total_cents: number;
|
|
7638
|
+
unit: string;
|
|
7639
|
+
unit_price_cents: number;
|
|
7640
|
+
};
|
|
7641
|
+
Insert: {
|
|
7642
|
+
created_at?: string;
|
|
7643
|
+
description?: string;
|
|
7644
|
+
id?: string;
|
|
7645
|
+
invoice_id: string;
|
|
7646
|
+
kind?: string;
|
|
7647
|
+
quantity?: number;
|
|
7648
|
+
sort_order?: number;
|
|
7649
|
+
source_line_ref?: string | null;
|
|
7650
|
+
total_cents?: number;
|
|
7651
|
+
unit?: string;
|
|
7652
|
+
unit_price_cents?: number;
|
|
7653
|
+
};
|
|
7654
|
+
Update: {
|
|
7655
|
+
created_at?: string;
|
|
7656
|
+
description?: string;
|
|
7657
|
+
id?: string;
|
|
7658
|
+
invoice_id?: string;
|
|
7659
|
+
kind?: string;
|
|
7660
|
+
quantity?: number;
|
|
7661
|
+
sort_order?: number;
|
|
7662
|
+
source_line_ref?: string | null;
|
|
7663
|
+
total_cents?: number;
|
|
7664
|
+
unit?: string;
|
|
7665
|
+
unit_price_cents?: number;
|
|
7666
|
+
};
|
|
7667
|
+
Relationships: [
|
|
7668
|
+
{
|
|
7669
|
+
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
7670
|
+
columns: ["invoice_id"];
|
|
7671
|
+
isOneToOne: false;
|
|
7672
|
+
referencedRelation: "invoices";
|
|
7673
|
+
referencedColumns: ["id"];
|
|
7674
|
+
},
|
|
7675
|
+
{
|
|
7676
|
+
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
7677
|
+
columns: ["invoice_id"];
|
|
7678
|
+
isOneToOne: false;
|
|
7679
|
+
referencedRelation: "uren_facturen";
|
|
7680
|
+
referencedColumns: ["id"];
|
|
7681
|
+
}
|
|
7682
|
+
];
|
|
7683
|
+
};
|
|
7425
7684
|
invoice_post_idempotency: {
|
|
7426
7685
|
Row: {
|
|
7686
|
+
administration_code: string;
|
|
7427
7687
|
client_request_id: string;
|
|
7428
7688
|
completed_at: string | null;
|
|
7429
7689
|
created_at: string;
|
|
@@ -7433,6 +7693,7 @@ export type Database = {
|
|
|
7433
7693
|
user_id: string;
|
|
7434
7694
|
};
|
|
7435
7695
|
Insert: {
|
|
7696
|
+
administration_code?: string;
|
|
7436
7697
|
client_request_id: string;
|
|
7437
7698
|
completed_at?: string | null;
|
|
7438
7699
|
created_at?: string;
|
|
@@ -7442,6 +7703,7 @@ export type Database = {
|
|
|
7442
7703
|
user_id: string;
|
|
7443
7704
|
};
|
|
7444
7705
|
Update: {
|
|
7706
|
+
administration_code?: string;
|
|
7445
7707
|
client_request_id?: string;
|
|
7446
7708
|
completed_at?: string | null;
|
|
7447
7709
|
created_at?: string;
|
|
@@ -7652,6 +7914,77 @@ export type Database = {
|
|
|
7652
7914
|
};
|
|
7653
7915
|
Relationships: [];
|
|
7654
7916
|
};
|
|
7917
|
+
invoices: {
|
|
7918
|
+
Row: {
|
|
7919
|
+
created_at: string;
|
|
7920
|
+
created_by: string | null;
|
|
7921
|
+
customer_id: string | null;
|
|
7922
|
+
customer_name: string | null;
|
|
7923
|
+
due_date: string | null;
|
|
7924
|
+
id: string;
|
|
7925
|
+
invoice_date: string;
|
|
7926
|
+
invoice_number: string | null;
|
|
7927
|
+
note: string | null;
|
|
7928
|
+
source_number: string | null;
|
|
7929
|
+
source_ref: string | null;
|
|
7930
|
+
source_type: string;
|
|
7931
|
+
status: string;
|
|
7932
|
+
subtotal_cents: number;
|
|
7933
|
+
total_cents: number;
|
|
7934
|
+
updated_at: string;
|
|
7935
|
+
vat_cents: number;
|
|
7936
|
+
vat_rate: number;
|
|
7937
|
+
};
|
|
7938
|
+
Insert: {
|
|
7939
|
+
created_at?: string;
|
|
7940
|
+
created_by?: string | null;
|
|
7941
|
+
customer_id?: string | null;
|
|
7942
|
+
customer_name?: string | null;
|
|
7943
|
+
due_date?: string | null;
|
|
7944
|
+
id?: string;
|
|
7945
|
+
invoice_date?: string;
|
|
7946
|
+
invoice_number?: string | null;
|
|
7947
|
+
note?: string | null;
|
|
7948
|
+
source_number?: string | null;
|
|
7949
|
+
source_ref?: string | null;
|
|
7950
|
+
source_type?: string;
|
|
7951
|
+
status?: string;
|
|
7952
|
+
subtotal_cents?: number;
|
|
7953
|
+
total_cents?: number;
|
|
7954
|
+
updated_at?: string;
|
|
7955
|
+
vat_cents?: number;
|
|
7956
|
+
vat_rate?: number;
|
|
7957
|
+
};
|
|
7958
|
+
Update: {
|
|
7959
|
+
created_at?: string;
|
|
7960
|
+
created_by?: string | null;
|
|
7961
|
+
customer_id?: string | null;
|
|
7962
|
+
customer_name?: string | null;
|
|
7963
|
+
due_date?: string | null;
|
|
7964
|
+
id?: string;
|
|
7965
|
+
invoice_date?: string;
|
|
7966
|
+
invoice_number?: string | null;
|
|
7967
|
+
note?: string | null;
|
|
7968
|
+
source_number?: string | null;
|
|
7969
|
+
source_ref?: string | null;
|
|
7970
|
+
source_type?: string;
|
|
7971
|
+
status?: string;
|
|
7972
|
+
subtotal_cents?: number;
|
|
7973
|
+
total_cents?: number;
|
|
7974
|
+
updated_at?: string;
|
|
7975
|
+
vat_cents?: number;
|
|
7976
|
+
vat_rate?: number;
|
|
7977
|
+
};
|
|
7978
|
+
Relationships: [
|
|
7979
|
+
{
|
|
7980
|
+
foreignKeyName: "invoices_customer_id_fkey";
|
|
7981
|
+
columns: ["customer_id"];
|
|
7982
|
+
isOneToOne: false;
|
|
7983
|
+
referencedRelation: "itk_customers";
|
|
7984
|
+
referencedColumns: ["id"];
|
|
7985
|
+
}
|
|
7986
|
+
];
|
|
7987
|
+
};
|
|
7655
7988
|
itk_contact_persons: {
|
|
7656
7989
|
Row: {
|
|
7657
7990
|
created_at: string;
|
|
@@ -7856,72 +8189,335 @@ export type Database = {
|
|
|
7856
8189
|
};
|
|
7857
8190
|
Relationships: [];
|
|
7858
8191
|
};
|
|
7859
|
-
|
|
8192
|
+
itk_offerte_events: {
|
|
7860
8193
|
Row: {
|
|
7861
|
-
city: string | null;
|
|
7862
8194
|
created_at: string;
|
|
7863
|
-
|
|
8195
|
+
event_type: string;
|
|
7864
8196
|
id: string;
|
|
7865
|
-
|
|
7866
|
-
|
|
7867
|
-
|
|
7868
|
-
|
|
7869
|
-
postcode: string | null;
|
|
7870
|
-
street: string | null;
|
|
7871
|
-
updated_at: string;
|
|
8197
|
+
metadata: Json;
|
|
8198
|
+
offerte_id: string;
|
|
8199
|
+
omschrijving: string | null;
|
|
8200
|
+
user_id: string | null;
|
|
7872
8201
|
};
|
|
7873
8202
|
Insert: {
|
|
7874
|
-
city?: string | null;
|
|
7875
8203
|
created_at?: string;
|
|
7876
|
-
|
|
8204
|
+
event_type: string;
|
|
7877
8205
|
id?: string;
|
|
7878
|
-
|
|
7879
|
-
|
|
7880
|
-
|
|
7881
|
-
|
|
7882
|
-
postcode?: string | null;
|
|
7883
|
-
street?: string | null;
|
|
7884
|
-
updated_at?: string;
|
|
8206
|
+
metadata?: Json;
|
|
8207
|
+
offerte_id: string;
|
|
8208
|
+
omschrijving?: string | null;
|
|
8209
|
+
user_id?: string | null;
|
|
7885
8210
|
};
|
|
7886
8211
|
Update: {
|
|
7887
|
-
city?: string | null;
|
|
7888
8212
|
created_at?: string;
|
|
7889
|
-
|
|
8213
|
+
event_type?: string;
|
|
7890
8214
|
id?: string;
|
|
7891
|
-
|
|
7892
|
-
|
|
7893
|
-
|
|
7894
|
-
|
|
7895
|
-
postcode?: string | null;
|
|
7896
|
-
street?: string | null;
|
|
7897
|
-
updated_at?: string;
|
|
8215
|
+
metadata?: Json;
|
|
8216
|
+
offerte_id?: string;
|
|
8217
|
+
omschrijving?: string | null;
|
|
8218
|
+
user_id?: string | null;
|
|
7898
8219
|
};
|
|
7899
8220
|
Relationships: [
|
|
7900
8221
|
{
|
|
7901
|
-
foreignKeyName: "
|
|
7902
|
-
columns: ["
|
|
8222
|
+
foreignKeyName: "itk_offerte_events_offerte_id_fkey";
|
|
8223
|
+
columns: ["offerte_id"];
|
|
7903
8224
|
isOneToOne: false;
|
|
7904
|
-
referencedRelation: "
|
|
8225
|
+
referencedRelation: "itk_offertes";
|
|
7905
8226
|
referencedColumns: ["id"];
|
|
7906
8227
|
}
|
|
7907
8228
|
];
|
|
7908
8229
|
};
|
|
7909
|
-
|
|
8230
|
+
itk_offerte_regels: {
|
|
7910
8231
|
Row: {
|
|
7911
|
-
bestand_url: string;
|
|
7912
|
-
bestandsgrootte: number;
|
|
7913
|
-
bestandspad: string | null;
|
|
7914
|
-
bestandstype: string;
|
|
7915
|
-
breedte: number;
|
|
7916
|
-
categorie: string;
|
|
7917
8232
|
created_at: string;
|
|
7918
|
-
hash: string | null;
|
|
7919
|
-
hoogte: number;
|
|
7920
8233
|
id: string;
|
|
7921
|
-
|
|
7922
|
-
|
|
8234
|
+
line_total_cents: number;
|
|
8235
|
+
offerte_id: string;
|
|
7923
8236
|
omschrijving: string;
|
|
7924
|
-
|
|
8237
|
+
package_id: string | null;
|
|
8238
|
+
quantity: number;
|
|
8239
|
+
sort_order: number;
|
|
8240
|
+
source: string;
|
|
8241
|
+
unit_price_cents: number;
|
|
8242
|
+
updated_at: string;
|
|
8243
|
+
};
|
|
8244
|
+
Insert: {
|
|
8245
|
+
created_at?: string;
|
|
8246
|
+
id?: string;
|
|
8247
|
+
line_total_cents?: number;
|
|
8248
|
+
offerte_id: string;
|
|
8249
|
+
omschrijving?: string;
|
|
8250
|
+
package_id?: string | null;
|
|
8251
|
+
quantity?: number;
|
|
8252
|
+
sort_order?: number;
|
|
8253
|
+
source?: string;
|
|
8254
|
+
unit_price_cents?: number;
|
|
8255
|
+
updated_at?: string;
|
|
8256
|
+
};
|
|
8257
|
+
Update: {
|
|
8258
|
+
created_at?: string;
|
|
8259
|
+
id?: string;
|
|
8260
|
+
line_total_cents?: number;
|
|
8261
|
+
offerte_id?: string;
|
|
8262
|
+
omschrijving?: string;
|
|
8263
|
+
package_id?: string | null;
|
|
8264
|
+
quantity?: number;
|
|
8265
|
+
sort_order?: number;
|
|
8266
|
+
source?: string;
|
|
8267
|
+
unit_price_cents?: number;
|
|
8268
|
+
updated_at?: string;
|
|
8269
|
+
};
|
|
8270
|
+
Relationships: [
|
|
8271
|
+
{
|
|
8272
|
+
foreignKeyName: "itk_offerte_regels_offerte_id_fkey";
|
|
8273
|
+
columns: ["offerte_id"];
|
|
8274
|
+
isOneToOne: false;
|
|
8275
|
+
referencedRelation: "itk_offertes";
|
|
8276
|
+
referencedColumns: ["id"];
|
|
8277
|
+
},
|
|
8278
|
+
{
|
|
8279
|
+
foreignKeyName: "itk_offerte_regels_package_id_fkey";
|
|
8280
|
+
columns: ["package_id"];
|
|
8281
|
+
isOneToOne: false;
|
|
8282
|
+
referencedRelation: "werkbon_packages";
|
|
8283
|
+
referencedColumns: ["id"];
|
|
8284
|
+
}
|
|
8285
|
+
];
|
|
8286
|
+
};
|
|
8287
|
+
itk_offerte_settings: {
|
|
8288
|
+
Row: {
|
|
8289
|
+
auto_convert_binnen_mandaat: boolean;
|
|
8290
|
+
created_at: string;
|
|
8291
|
+
default_geldigheid_dagen: number;
|
|
8292
|
+
default_vat_rate: number;
|
|
8293
|
+
id: string;
|
|
8294
|
+
singleton: boolean;
|
|
8295
|
+
updated_at: string;
|
|
8296
|
+
};
|
|
8297
|
+
Insert: {
|
|
8298
|
+
auto_convert_binnen_mandaat?: boolean;
|
|
8299
|
+
created_at?: string;
|
|
8300
|
+
default_geldigheid_dagen?: number;
|
|
8301
|
+
default_vat_rate?: number;
|
|
8302
|
+
id?: string;
|
|
8303
|
+
singleton?: boolean;
|
|
8304
|
+
updated_at?: string;
|
|
8305
|
+
};
|
|
8306
|
+
Update: {
|
|
8307
|
+
auto_convert_binnen_mandaat?: boolean;
|
|
8308
|
+
created_at?: string;
|
|
8309
|
+
default_geldigheid_dagen?: number;
|
|
8310
|
+
default_vat_rate?: number;
|
|
8311
|
+
id?: string;
|
|
8312
|
+
singleton?: boolean;
|
|
8313
|
+
updated_at?: string;
|
|
8314
|
+
};
|
|
8315
|
+
Relationships: [];
|
|
8316
|
+
};
|
|
8317
|
+
itk_offertes: {
|
|
8318
|
+
Row: {
|
|
8319
|
+
ai_generated: boolean;
|
|
8320
|
+
approved_at: string | null;
|
|
8321
|
+
binnen_mandaat: boolean;
|
|
8322
|
+
contact_id: string | null;
|
|
8323
|
+
converted_at: string | null;
|
|
8324
|
+
created_at: string;
|
|
8325
|
+
created_by: string | null;
|
|
8326
|
+
customer_id: string | null;
|
|
8327
|
+
follow_up_werkbon_id: string | null;
|
|
8328
|
+
id: string;
|
|
8329
|
+
jaar: number;
|
|
8330
|
+
mandaat_restant_cents: number;
|
|
8331
|
+
notities: string | null;
|
|
8332
|
+
offerte_number: string | null;
|
|
8333
|
+
omschrijving: string;
|
|
8334
|
+
rejected_at: string | null;
|
|
8335
|
+
sent_at: string | null;
|
|
8336
|
+
source_number: string | null;
|
|
8337
|
+
source_ref: string | null;
|
|
8338
|
+
source_type: string;
|
|
8339
|
+
status: string;
|
|
8340
|
+
subtotal_cents: number;
|
|
8341
|
+
total_cents: number;
|
|
8342
|
+
updated_at: string;
|
|
8343
|
+
valid_until: string | null;
|
|
8344
|
+
vat_cents: number;
|
|
8345
|
+
vat_rate: number;
|
|
8346
|
+
viewed_at: string | null;
|
|
8347
|
+
volgnummer: number | null;
|
|
8348
|
+
werkbon_id: string | null;
|
|
8349
|
+
work_location_id: string | null;
|
|
8350
|
+
};
|
|
8351
|
+
Insert: {
|
|
8352
|
+
ai_generated?: boolean;
|
|
8353
|
+
approved_at?: string | null;
|
|
8354
|
+
binnen_mandaat?: boolean;
|
|
8355
|
+
contact_id?: string | null;
|
|
8356
|
+
converted_at?: string | null;
|
|
8357
|
+
created_at?: string;
|
|
8358
|
+
created_by?: string | null;
|
|
8359
|
+
customer_id?: string | null;
|
|
8360
|
+
follow_up_werkbon_id?: string | null;
|
|
8361
|
+
id?: string;
|
|
8362
|
+
jaar?: number;
|
|
8363
|
+
mandaat_restant_cents?: number;
|
|
8364
|
+
notities?: string | null;
|
|
8365
|
+
offerte_number?: string | null;
|
|
8366
|
+
omschrijving?: string;
|
|
8367
|
+
rejected_at?: string | null;
|
|
8368
|
+
sent_at?: string | null;
|
|
8369
|
+
source_number?: string | null;
|
|
8370
|
+
source_ref?: string | null;
|
|
8371
|
+
source_type?: string;
|
|
8372
|
+
status?: string;
|
|
8373
|
+
subtotal_cents?: number;
|
|
8374
|
+
total_cents?: number;
|
|
8375
|
+
updated_at?: string;
|
|
8376
|
+
valid_until?: string | null;
|
|
8377
|
+
vat_cents?: number;
|
|
8378
|
+
vat_rate?: number;
|
|
8379
|
+
viewed_at?: string | null;
|
|
8380
|
+
volgnummer?: number | null;
|
|
8381
|
+
werkbon_id?: string | null;
|
|
8382
|
+
work_location_id?: string | null;
|
|
8383
|
+
};
|
|
8384
|
+
Update: {
|
|
8385
|
+
ai_generated?: boolean;
|
|
8386
|
+
approved_at?: string | null;
|
|
8387
|
+
binnen_mandaat?: boolean;
|
|
8388
|
+
contact_id?: string | null;
|
|
8389
|
+
converted_at?: string | null;
|
|
8390
|
+
created_at?: string;
|
|
8391
|
+
created_by?: string | null;
|
|
8392
|
+
customer_id?: string | null;
|
|
8393
|
+
follow_up_werkbon_id?: string | null;
|
|
8394
|
+
id?: string;
|
|
8395
|
+
jaar?: number;
|
|
8396
|
+
mandaat_restant_cents?: number;
|
|
8397
|
+
notities?: string | null;
|
|
8398
|
+
offerte_number?: string | null;
|
|
8399
|
+
omschrijving?: string;
|
|
8400
|
+
rejected_at?: string | null;
|
|
8401
|
+
sent_at?: string | null;
|
|
8402
|
+
source_number?: string | null;
|
|
8403
|
+
source_ref?: string | null;
|
|
8404
|
+
source_type?: string;
|
|
8405
|
+
status?: string;
|
|
8406
|
+
subtotal_cents?: number;
|
|
8407
|
+
total_cents?: number;
|
|
8408
|
+
updated_at?: string;
|
|
8409
|
+
valid_until?: string | null;
|
|
8410
|
+
vat_cents?: number;
|
|
8411
|
+
vat_rate?: number;
|
|
8412
|
+
viewed_at?: string | null;
|
|
8413
|
+
volgnummer?: number | null;
|
|
8414
|
+
werkbon_id?: string | null;
|
|
8415
|
+
work_location_id?: string | null;
|
|
8416
|
+
};
|
|
8417
|
+
Relationships: [
|
|
8418
|
+
{
|
|
8419
|
+
foreignKeyName: "itk_offertes_contact_id_fkey";
|
|
8420
|
+
columns: ["contact_id"];
|
|
8421
|
+
isOneToOne: false;
|
|
8422
|
+
referencedRelation: "itk_contact_persons";
|
|
8423
|
+
referencedColumns: ["id"];
|
|
8424
|
+
},
|
|
8425
|
+
{
|
|
8426
|
+
foreignKeyName: "itk_offertes_customer_id_fkey";
|
|
8427
|
+
columns: ["customer_id"];
|
|
8428
|
+
isOneToOne: false;
|
|
8429
|
+
referencedRelation: "itk_customers";
|
|
8430
|
+
referencedColumns: ["id"];
|
|
8431
|
+
},
|
|
8432
|
+
{
|
|
8433
|
+
foreignKeyName: "itk_offertes_follow_up_werkbon_id_fkey";
|
|
8434
|
+
columns: ["follow_up_werkbon_id"];
|
|
8435
|
+
isOneToOne: false;
|
|
8436
|
+
referencedRelation: "werkbonnen";
|
|
8437
|
+
referencedColumns: ["id"];
|
|
8438
|
+
},
|
|
8439
|
+
{
|
|
8440
|
+
foreignKeyName: "itk_offertes_werkbon_id_fkey";
|
|
8441
|
+
columns: ["werkbon_id"];
|
|
8442
|
+
isOneToOne: false;
|
|
8443
|
+
referencedRelation: "werkbonnen";
|
|
8444
|
+
referencedColumns: ["id"];
|
|
8445
|
+
},
|
|
8446
|
+
{
|
|
8447
|
+
foreignKeyName: "itk_offertes_work_location_id_fkey";
|
|
8448
|
+
columns: ["work_location_id"];
|
|
8449
|
+
isOneToOne: false;
|
|
8450
|
+
referencedRelation: "itk_work_locations";
|
|
8451
|
+
referencedColumns: ["id"];
|
|
8452
|
+
}
|
|
8453
|
+
];
|
|
8454
|
+
};
|
|
8455
|
+
itk_work_locations: {
|
|
8456
|
+
Row: {
|
|
8457
|
+
city: string | null;
|
|
8458
|
+
created_at: string;
|
|
8459
|
+
customer_id: string;
|
|
8460
|
+
id: string;
|
|
8461
|
+
instructions: string | null;
|
|
8462
|
+
label: string;
|
|
8463
|
+
latitude: number | null;
|
|
8464
|
+
longitude: number | null;
|
|
8465
|
+
postcode: string | null;
|
|
8466
|
+
street: string | null;
|
|
8467
|
+
updated_at: string;
|
|
8468
|
+
};
|
|
8469
|
+
Insert: {
|
|
8470
|
+
city?: string | null;
|
|
8471
|
+
created_at?: string;
|
|
8472
|
+
customer_id: string;
|
|
8473
|
+
id?: string;
|
|
8474
|
+
instructions?: string | null;
|
|
8475
|
+
label: string;
|
|
8476
|
+
latitude?: number | null;
|
|
8477
|
+
longitude?: number | null;
|
|
8478
|
+
postcode?: string | null;
|
|
8479
|
+
street?: string | null;
|
|
8480
|
+
updated_at?: string;
|
|
8481
|
+
};
|
|
8482
|
+
Update: {
|
|
8483
|
+
city?: string | null;
|
|
8484
|
+
created_at?: string;
|
|
8485
|
+
customer_id?: string;
|
|
8486
|
+
id?: string;
|
|
8487
|
+
instructions?: string | null;
|
|
8488
|
+
label?: string;
|
|
8489
|
+
latitude?: number | null;
|
|
8490
|
+
longitude?: number | null;
|
|
8491
|
+
postcode?: string | null;
|
|
8492
|
+
street?: string | null;
|
|
8493
|
+
updated_at?: string;
|
|
8494
|
+
};
|
|
8495
|
+
Relationships: [
|
|
8496
|
+
{
|
|
8497
|
+
foreignKeyName: "itk_work_locations_customer_id_fkey";
|
|
8498
|
+
columns: ["customer_id"];
|
|
8499
|
+
isOneToOne: false;
|
|
8500
|
+
referencedRelation: "itk_customers";
|
|
8501
|
+
referencedColumns: ["id"];
|
|
8502
|
+
}
|
|
8503
|
+
];
|
|
8504
|
+
};
|
|
8505
|
+
layout_logos: {
|
|
8506
|
+
Row: {
|
|
8507
|
+
bestand_url: string;
|
|
8508
|
+
bestandsgrootte: number;
|
|
8509
|
+
bestandspad: string | null;
|
|
8510
|
+
bestandstype: string;
|
|
8511
|
+
breedte: number;
|
|
8512
|
+
categorie: string;
|
|
8513
|
+
created_at: string;
|
|
8514
|
+
hash: string | null;
|
|
8515
|
+
hoogte: number;
|
|
8516
|
+
id: string;
|
|
8517
|
+
is_standaard: boolean;
|
|
8518
|
+
naam: string;
|
|
8519
|
+
omschrijving: string;
|
|
8520
|
+
transparant: boolean;
|
|
7925
8521
|
updated_at: string;
|
|
7926
8522
|
};
|
|
7927
8523
|
Insert: {
|
|
@@ -7975,7 +8571,6 @@ export type Database = {
|
|
|
7975
8571
|
start_date: string;
|
|
7976
8572
|
start_time: string | null;
|
|
7977
8573
|
status: string;
|
|
7978
|
-
tenant_id: string;
|
|
7979
8574
|
updated_at: string;
|
|
7980
8575
|
user_id: string;
|
|
7981
8576
|
};
|
|
@@ -7993,7 +8588,6 @@ export type Database = {
|
|
|
7993
8588
|
start_date: string;
|
|
7994
8589
|
start_time?: string | null;
|
|
7995
8590
|
status?: string;
|
|
7996
|
-
tenant_id?: string;
|
|
7997
8591
|
updated_at?: string;
|
|
7998
8592
|
user_id: string;
|
|
7999
8593
|
};
|
|
@@ -8011,7 +8605,6 @@ export type Database = {
|
|
|
8011
8605
|
start_date?: string;
|
|
8012
8606
|
start_time?: string | null;
|
|
8013
8607
|
status?: string;
|
|
8014
|
-
tenant_id?: string;
|
|
8015
8608
|
updated_at?: string;
|
|
8016
8609
|
user_id?: string;
|
|
8017
8610
|
};
|
|
@@ -8020,14 +8613,14 @@ export type Database = {
|
|
|
8020
8613
|
foreignKeyName: "leave_requests_monteur_id_fkey";
|
|
8021
8614
|
columns: ["monteur_id"];
|
|
8022
8615
|
isOneToOne: false;
|
|
8023
|
-
referencedRelation: "
|
|
8616
|
+
referencedRelation: "profiles";
|
|
8024
8617
|
referencedColumns: ["id"];
|
|
8025
8618
|
},
|
|
8026
8619
|
{
|
|
8027
8620
|
foreignKeyName: "leave_requests_user_id_fkey";
|
|
8028
8621
|
columns: ["user_id"];
|
|
8029
8622
|
isOneToOne: false;
|
|
8030
|
-
referencedRelation: "
|
|
8623
|
+
referencedRelation: "profiles";
|
|
8031
8624
|
referencedColumns: ["id"];
|
|
8032
8625
|
}
|
|
8033
8626
|
];
|
|
@@ -8784,6 +9377,9 @@ export type Database = {
|
|
|
8784
9377
|
id: string;
|
|
8785
9378
|
last_error: string | null;
|
|
8786
9379
|
last_error_at: string | null;
|
|
9380
|
+
last_error_code: string | null;
|
|
9381
|
+
last_gateway_status: number | null;
|
|
9382
|
+
last_response: Json | null;
|
|
8787
9383
|
last_sent_hash: string | null;
|
|
8788
9384
|
locked_by: string | null;
|
|
8789
9385
|
locked_until: string | null;
|
|
@@ -8804,6 +9400,9 @@ export type Database = {
|
|
|
8804
9400
|
id?: string;
|
|
8805
9401
|
last_error?: string | null;
|
|
8806
9402
|
last_error_at?: string | null;
|
|
9403
|
+
last_error_code?: string | null;
|
|
9404
|
+
last_gateway_status?: number | null;
|
|
9405
|
+
last_response?: Json | null;
|
|
8807
9406
|
last_sent_hash?: string | null;
|
|
8808
9407
|
locked_by?: string | null;
|
|
8809
9408
|
locked_until?: string | null;
|
|
@@ -8824,6 +9423,9 @@ export type Database = {
|
|
|
8824
9423
|
id?: string;
|
|
8825
9424
|
last_error?: string | null;
|
|
8826
9425
|
last_error_at?: string | null;
|
|
9426
|
+
last_error_code?: string | null;
|
|
9427
|
+
last_gateway_status?: number | null;
|
|
9428
|
+
last_response?: Json | null;
|
|
8827
9429
|
last_sent_hash?: string | null;
|
|
8828
9430
|
locked_by?: string | null;
|
|
8829
9431
|
locked_until?: string | null;
|
|
@@ -10235,40 +10837,157 @@ export type Database = {
|
|
|
10235
10837
|
};
|
|
10236
10838
|
Relationships: [];
|
|
10237
10839
|
};
|
|
10238
|
-
|
|
10840
|
+
material_usage: {
|
|
10239
10841
|
Row: {
|
|
10240
10842
|
created_at: string;
|
|
10241
|
-
feature_id: string;
|
|
10242
10843
|
id: string;
|
|
10243
|
-
|
|
10244
|
-
|
|
10245
|
-
|
|
10246
|
-
|
|
10844
|
+
material_name: string;
|
|
10845
|
+
monteur_id: string | null;
|
|
10846
|
+
price_at_time: number;
|
|
10847
|
+
quantity_used: number;
|
|
10848
|
+
updated_at: string;
|
|
10849
|
+
van_inventory_id: string | null;
|
|
10850
|
+
work_order_id: string;
|
|
10247
10851
|
};
|
|
10248
10852
|
Insert: {
|
|
10249
10853
|
created_at?: string;
|
|
10250
|
-
feature_id: string;
|
|
10251
10854
|
id?: string;
|
|
10252
|
-
|
|
10253
|
-
|
|
10254
|
-
|
|
10255
|
-
|
|
10855
|
+
material_name: string;
|
|
10856
|
+
monteur_id?: string | null;
|
|
10857
|
+
price_at_time?: number;
|
|
10858
|
+
quantity_used?: number;
|
|
10859
|
+
updated_at?: string;
|
|
10860
|
+
van_inventory_id?: string | null;
|
|
10861
|
+
work_order_id: string;
|
|
10256
10862
|
};
|
|
10257
10863
|
Update: {
|
|
10258
10864
|
created_at?: string;
|
|
10259
|
-
feature_id?: string;
|
|
10260
10865
|
id?: string;
|
|
10261
|
-
|
|
10262
|
-
|
|
10263
|
-
|
|
10264
|
-
|
|
10866
|
+
material_name?: string;
|
|
10867
|
+
monteur_id?: string | null;
|
|
10868
|
+
price_at_time?: number;
|
|
10869
|
+
quantity_used?: number;
|
|
10870
|
+
updated_at?: string;
|
|
10871
|
+
van_inventory_id?: string | null;
|
|
10872
|
+
work_order_id?: string;
|
|
10265
10873
|
};
|
|
10266
|
-
Relationships: [
|
|
10267
|
-
|
|
10268
|
-
|
|
10269
|
-
|
|
10270
|
-
|
|
10271
|
-
|
|
10874
|
+
Relationships: [
|
|
10875
|
+
{
|
|
10876
|
+
foreignKeyName: "material_usage_monteur_id_fkey";
|
|
10877
|
+
columns: ["monteur_id"];
|
|
10878
|
+
isOneToOne: false;
|
|
10879
|
+
referencedRelation: "profiles";
|
|
10880
|
+
referencedColumns: ["id"];
|
|
10881
|
+
},
|
|
10882
|
+
{
|
|
10883
|
+
foreignKeyName: "material_usage_van_inventory_id_fkey";
|
|
10884
|
+
columns: ["van_inventory_id"];
|
|
10885
|
+
isOneToOne: false;
|
|
10886
|
+
referencedRelation: "van_inventories";
|
|
10887
|
+
referencedColumns: ["id"];
|
|
10888
|
+
},
|
|
10889
|
+
{
|
|
10890
|
+
foreignKeyName: "material_usage_work_order_id_fkey";
|
|
10891
|
+
columns: ["work_order_id"];
|
|
10892
|
+
isOneToOne: false;
|
|
10893
|
+
referencedRelation: "work_orders";
|
|
10894
|
+
referencedColumns: ["id"];
|
|
10895
|
+
}
|
|
10896
|
+
];
|
|
10897
|
+
};
|
|
10898
|
+
medewerker_details: {
|
|
10899
|
+
Row: {
|
|
10900
|
+
color: string | null;
|
|
10901
|
+
created_at: string;
|
|
10902
|
+
hours_fri: number | null;
|
|
10903
|
+
hours_mon: number | null;
|
|
10904
|
+
hours_thu: number | null;
|
|
10905
|
+
hours_tue: number | null;
|
|
10906
|
+
hours_wed: number | null;
|
|
10907
|
+
id: string;
|
|
10908
|
+
is_active: boolean;
|
|
10909
|
+
leave_balance_hours: number;
|
|
10910
|
+
persnr: string | null;
|
|
10911
|
+
phone: string | null;
|
|
10912
|
+
profile_id: string;
|
|
10913
|
+
updated_at: string;
|
|
10914
|
+
};
|
|
10915
|
+
Insert: {
|
|
10916
|
+
color?: string | null;
|
|
10917
|
+
created_at?: string;
|
|
10918
|
+
hours_fri?: number | null;
|
|
10919
|
+
hours_mon?: number | null;
|
|
10920
|
+
hours_thu?: number | null;
|
|
10921
|
+
hours_tue?: number | null;
|
|
10922
|
+
hours_wed?: number | null;
|
|
10923
|
+
id?: string;
|
|
10924
|
+
is_active?: boolean;
|
|
10925
|
+
leave_balance_hours?: number;
|
|
10926
|
+
persnr?: string | null;
|
|
10927
|
+
phone?: string | null;
|
|
10928
|
+
profile_id: string;
|
|
10929
|
+
updated_at?: string;
|
|
10930
|
+
};
|
|
10931
|
+
Update: {
|
|
10932
|
+
color?: string | null;
|
|
10933
|
+
created_at?: string;
|
|
10934
|
+
hours_fri?: number | null;
|
|
10935
|
+
hours_mon?: number | null;
|
|
10936
|
+
hours_thu?: number | null;
|
|
10937
|
+
hours_tue?: number | null;
|
|
10938
|
+
hours_wed?: number | null;
|
|
10939
|
+
id?: string;
|
|
10940
|
+
is_active?: boolean;
|
|
10941
|
+
leave_balance_hours?: number;
|
|
10942
|
+
persnr?: string | null;
|
|
10943
|
+
phone?: string | null;
|
|
10944
|
+
profile_id?: string;
|
|
10945
|
+
updated_at?: string;
|
|
10946
|
+
};
|
|
10947
|
+
Relationships: [
|
|
10948
|
+
{
|
|
10949
|
+
foreignKeyName: "medewerker_details_profile_id_fkey";
|
|
10950
|
+
columns: ["profile_id"];
|
|
10951
|
+
isOneToOne: true;
|
|
10952
|
+
referencedRelation: "profiles";
|
|
10953
|
+
referencedColumns: ["id"];
|
|
10954
|
+
}
|
|
10955
|
+
];
|
|
10956
|
+
};
|
|
10957
|
+
module_features: {
|
|
10958
|
+
Row: {
|
|
10959
|
+
created_at: string;
|
|
10960
|
+
feature_id: string;
|
|
10961
|
+
id: string;
|
|
10962
|
+
is_active: boolean;
|
|
10963
|
+
last_seen_at: string;
|
|
10964
|
+
module_id: string;
|
|
10965
|
+
name: string;
|
|
10966
|
+
};
|
|
10967
|
+
Insert: {
|
|
10968
|
+
created_at?: string;
|
|
10969
|
+
feature_id: string;
|
|
10970
|
+
id?: string;
|
|
10971
|
+
is_active?: boolean;
|
|
10972
|
+
last_seen_at?: string;
|
|
10973
|
+
module_id: string;
|
|
10974
|
+
name: string;
|
|
10975
|
+
};
|
|
10976
|
+
Update: {
|
|
10977
|
+
created_at?: string;
|
|
10978
|
+
feature_id?: string;
|
|
10979
|
+
id?: string;
|
|
10980
|
+
is_active?: boolean;
|
|
10981
|
+
last_seen_at?: string;
|
|
10982
|
+
module_id?: string;
|
|
10983
|
+
name?: string;
|
|
10984
|
+
};
|
|
10985
|
+
Relationships: [];
|
|
10986
|
+
};
|
|
10987
|
+
module_permissions: {
|
|
10988
|
+
Row: {
|
|
10989
|
+
created_at: string;
|
|
10990
|
+
id: string;
|
|
10272
10991
|
module_id: string;
|
|
10273
10992
|
permission: string;
|
|
10274
10993
|
role: Database["public"]["Enums"]["app_role"];
|
|
@@ -10295,8 +11014,10 @@ export type Database = {
|
|
|
10295
11014
|
module_registry: {
|
|
10296
11015
|
Row: {
|
|
10297
11016
|
created_at: string;
|
|
11017
|
+
enforce: boolean;
|
|
10298
11018
|
is_active: boolean;
|
|
10299
11019
|
last_seen_at: string;
|
|
11020
|
+
missing_count: number;
|
|
10300
11021
|
module_id: string;
|
|
10301
11022
|
name: string;
|
|
10302
11023
|
shell_id: string | null;
|
|
@@ -10304,8 +11025,10 @@ export type Database = {
|
|
|
10304
11025
|
};
|
|
10305
11026
|
Insert: {
|
|
10306
11027
|
created_at?: string;
|
|
11028
|
+
enforce?: boolean;
|
|
10307
11029
|
is_active?: boolean;
|
|
10308
11030
|
last_seen_at?: string;
|
|
11031
|
+
missing_count?: number;
|
|
10309
11032
|
module_id: string;
|
|
10310
11033
|
name: string;
|
|
10311
11034
|
shell_id?: string | null;
|
|
@@ -10313,8 +11036,10 @@ export type Database = {
|
|
|
10313
11036
|
};
|
|
10314
11037
|
Update: {
|
|
10315
11038
|
created_at?: string;
|
|
11039
|
+
enforce?: boolean;
|
|
10316
11040
|
is_active?: boolean;
|
|
10317
11041
|
last_seen_at?: string;
|
|
11042
|
+
missing_count?: number;
|
|
10318
11043
|
module_id?: string;
|
|
10319
11044
|
name?: string;
|
|
10320
11045
|
shell_id?: string | null;
|
|
@@ -10373,65 +11098,6 @@ export type Database = {
|
|
|
10373
11098
|
};
|
|
10374
11099
|
Relationships: [];
|
|
10375
11100
|
};
|
|
10376
|
-
monteurs: {
|
|
10377
|
-
Row: {
|
|
10378
|
-
avatar_url: string | null;
|
|
10379
|
-
color: string | null;
|
|
10380
|
-
created_at: string;
|
|
10381
|
-
email: string | null;
|
|
10382
|
-
id: string;
|
|
10383
|
-
is_active: boolean;
|
|
10384
|
-
leave_balance_hours: number;
|
|
10385
|
-
name: string;
|
|
10386
|
-
persnr: number | null;
|
|
10387
|
-
phone: string | null;
|
|
10388
|
-
role: string;
|
|
10389
|
-
tenant_id: string;
|
|
10390
|
-
updated_at: string;
|
|
10391
|
-
user_id: string | null;
|
|
10392
|
-
};
|
|
10393
|
-
Insert: {
|
|
10394
|
-
avatar_url?: string | null;
|
|
10395
|
-
color?: string | null;
|
|
10396
|
-
created_at?: string;
|
|
10397
|
-
email?: string | null;
|
|
10398
|
-
id?: string;
|
|
10399
|
-
is_active?: boolean;
|
|
10400
|
-
leave_balance_hours?: number;
|
|
10401
|
-
name: string;
|
|
10402
|
-
persnr?: number | null;
|
|
10403
|
-
phone?: string | null;
|
|
10404
|
-
role?: string;
|
|
10405
|
-
tenant_id: string;
|
|
10406
|
-
updated_at?: string;
|
|
10407
|
-
user_id?: string | null;
|
|
10408
|
-
};
|
|
10409
|
-
Update: {
|
|
10410
|
-
avatar_url?: string | null;
|
|
10411
|
-
color?: string | null;
|
|
10412
|
-
created_at?: string;
|
|
10413
|
-
email?: string | null;
|
|
10414
|
-
id?: string;
|
|
10415
|
-
is_active?: boolean;
|
|
10416
|
-
leave_balance_hours?: number;
|
|
10417
|
-
name?: string;
|
|
10418
|
-
persnr?: number | null;
|
|
10419
|
-
phone?: string | null;
|
|
10420
|
-
role?: string;
|
|
10421
|
-
tenant_id?: string;
|
|
10422
|
-
updated_at?: string;
|
|
10423
|
-
user_id?: string | null;
|
|
10424
|
-
};
|
|
10425
|
-
Relationships: [
|
|
10426
|
-
{
|
|
10427
|
-
foreignKeyName: "monteurs_tenant_id_fkey";
|
|
10428
|
-
columns: ["tenant_id"];
|
|
10429
|
-
isOneToOne: false;
|
|
10430
|
-
referencedRelation: "tenants";
|
|
10431
|
-
referencedColumns: ["id"];
|
|
10432
|
-
}
|
|
10433
|
-
];
|
|
10434
|
-
};
|
|
10435
11101
|
nmbrs_component_mapping: {
|
|
10436
11102
|
Row: {
|
|
10437
11103
|
created_at: string;
|
|
@@ -10504,15 +11170,7 @@ export type Database = {
|
|
|
10504
11170
|
nmbrs_employee_number?: string;
|
|
10505
11171
|
updated_at?: string;
|
|
10506
11172
|
};
|
|
10507
|
-
Relationships: [
|
|
10508
|
-
{
|
|
10509
|
-
foreignKeyName: "nmbrs_employee_mapping_monteur_id_fkey";
|
|
10510
|
-
columns: ["monteur_id"];
|
|
10511
|
-
isOneToOne: true;
|
|
10512
|
-
referencedRelation: "monteurs";
|
|
10513
|
-
referencedColumns: ["id"];
|
|
10514
|
-
}
|
|
10515
|
-
];
|
|
11173
|
+
Relationships: [];
|
|
10516
11174
|
};
|
|
10517
11175
|
nmbrs_export_lines: {
|
|
10518
11176
|
Row: {
|
|
@@ -10561,13 +11219,6 @@ export type Database = {
|
|
|
10561
11219
|
wage_code?: string;
|
|
10562
11220
|
};
|
|
10563
11221
|
Relationships: [
|
|
10564
|
-
{
|
|
10565
|
-
foreignKeyName: "nmbrs_export_lines_monteur_id_fkey";
|
|
10566
|
-
columns: ["monteur_id"];
|
|
10567
|
-
isOneToOne: false;
|
|
10568
|
-
referencedRelation: "monteurs";
|
|
10569
|
-
referencedColumns: ["id"];
|
|
10570
|
-
},
|
|
10571
11222
|
{
|
|
10572
11223
|
foreignKeyName: "nmbrs_export_lines_run_id_fkey";
|
|
10573
11224
|
columns: ["run_id"];
|
|
@@ -11420,6 +12071,7 @@ export type Database = {
|
|
|
11420
12071
|
};
|
|
11421
12072
|
order_invoice_links: {
|
|
11422
12073
|
Row: {
|
|
12074
|
+
administration_code: string | null;
|
|
11423
12075
|
attempts: number;
|
|
11424
12076
|
created_at: string;
|
|
11425
12077
|
error_message: string | null;
|
|
@@ -11432,6 +12084,7 @@ export type Database = {
|
|
|
11432
12084
|
updated_at: string;
|
|
11433
12085
|
};
|
|
11434
12086
|
Insert: {
|
|
12087
|
+
administration_code?: string | null;
|
|
11435
12088
|
attempts?: number;
|
|
11436
12089
|
created_at?: string;
|
|
11437
12090
|
error_message?: string | null;
|
|
@@ -11444,6 +12097,7 @@ export type Database = {
|
|
|
11444
12097
|
updated_at?: string;
|
|
11445
12098
|
};
|
|
11446
12099
|
Update: {
|
|
12100
|
+
administration_code?: string | null;
|
|
11447
12101
|
attempts?: number;
|
|
11448
12102
|
created_at?: string;
|
|
11449
12103
|
error_message?: string | null;
|
|
@@ -11640,6 +12294,8 @@ export type Database = {
|
|
|
11640
12294
|
orders: {
|
|
11641
12295
|
Row: {
|
|
11642
12296
|
buffer_id: string | null;
|
|
12297
|
+
cancel_reason: string | null;
|
|
12298
|
+
cancelled_at: string | null;
|
|
11643
12299
|
created_at: string;
|
|
11644
12300
|
custom_fields: Json;
|
|
11645
12301
|
customer_id: string | null;
|
|
@@ -11662,6 +12318,8 @@ export type Database = {
|
|
|
11662
12318
|
};
|
|
11663
12319
|
Insert: {
|
|
11664
12320
|
buffer_id?: string | null;
|
|
12321
|
+
cancel_reason?: string | null;
|
|
12322
|
+
cancelled_at?: string | null;
|
|
11665
12323
|
created_at?: string;
|
|
11666
12324
|
custom_fields?: Json;
|
|
11667
12325
|
customer_id?: string | null;
|
|
@@ -11684,6 +12342,8 @@ export type Database = {
|
|
|
11684
12342
|
};
|
|
11685
12343
|
Update: {
|
|
11686
12344
|
buffer_id?: string | null;
|
|
12345
|
+
cancel_reason?: string | null;
|
|
12346
|
+
cancelled_at?: string | null;
|
|
11687
12347
|
created_at?: string;
|
|
11688
12348
|
custom_fields?: Json;
|
|
11689
12349
|
customer_id?: string | null;
|
|
@@ -12647,6 +13307,27 @@ export type Database = {
|
|
|
12647
13307
|
}
|
|
12648
13308
|
];
|
|
12649
13309
|
};
|
|
13310
|
+
pick_sync_state: {
|
|
13311
|
+
Row: {
|
|
13312
|
+
id: boolean;
|
|
13313
|
+
last_cleanup_at: string | null;
|
|
13314
|
+
last_sync_at: string | null;
|
|
13315
|
+
updated_at: string;
|
|
13316
|
+
};
|
|
13317
|
+
Insert: {
|
|
13318
|
+
id?: boolean;
|
|
13319
|
+
last_cleanup_at?: string | null;
|
|
13320
|
+
last_sync_at?: string | null;
|
|
13321
|
+
updated_at?: string;
|
|
13322
|
+
};
|
|
13323
|
+
Update: {
|
|
13324
|
+
id?: boolean;
|
|
13325
|
+
last_cleanup_at?: string | null;
|
|
13326
|
+
last_sync_at?: string | null;
|
|
13327
|
+
updated_at?: string;
|
|
13328
|
+
};
|
|
13329
|
+
Relationships: [];
|
|
13330
|
+
};
|
|
12650
13331
|
pick_task_document_types: {
|
|
12651
13332
|
Row: {
|
|
12652
13333
|
created_at: string;
|
|
@@ -12938,6 +13619,7 @@ export type Database = {
|
|
|
12938
13619
|
gebruiker_id: string | null;
|
|
12939
13620
|
gebruiker_naam: string;
|
|
12940
13621
|
gestart_op: string | null;
|
|
13622
|
+
herkomst: string | null;
|
|
12941
13623
|
id: string;
|
|
12942
13624
|
idempotentie_sleutel: string | null;
|
|
12943
13625
|
is_herprint: boolean;
|
|
@@ -12967,6 +13649,7 @@ export type Database = {
|
|
|
12967
13649
|
gebruiker_id?: string | null;
|
|
12968
13650
|
gebruiker_naam?: string;
|
|
12969
13651
|
gestart_op?: string | null;
|
|
13652
|
+
herkomst?: string | null;
|
|
12970
13653
|
id?: string;
|
|
12971
13654
|
idempotentie_sleutel?: string | null;
|
|
12972
13655
|
is_herprint?: boolean;
|
|
@@ -12996,6 +13679,7 @@ export type Database = {
|
|
|
12996
13679
|
gebruiker_id?: string | null;
|
|
12997
13680
|
gebruiker_naam?: string;
|
|
12998
13681
|
gestart_op?: string | null;
|
|
13682
|
+
herkomst?: string | null;
|
|
12999
13683
|
id?: string;
|
|
13000
13684
|
idempotentie_sleutel?: string | null;
|
|
13001
13685
|
is_herprint?: boolean;
|
|
@@ -13818,6 +14502,71 @@ export type Database = {
|
|
|
13818
14502
|
};
|
|
13819
14503
|
Relationships: [];
|
|
13820
14504
|
};
|
|
14505
|
+
profile_modules: {
|
|
14506
|
+
Row: {
|
|
14507
|
+
created_at: string;
|
|
14508
|
+
id: string;
|
|
14509
|
+
module_id: string;
|
|
14510
|
+
profile_id: string;
|
|
14511
|
+
};
|
|
14512
|
+
Insert: {
|
|
14513
|
+
created_at?: string;
|
|
14514
|
+
id?: string;
|
|
14515
|
+
module_id: string;
|
|
14516
|
+
profile_id: string;
|
|
14517
|
+
};
|
|
14518
|
+
Update: {
|
|
14519
|
+
created_at?: string;
|
|
14520
|
+
id?: string;
|
|
14521
|
+
module_id?: string;
|
|
14522
|
+
profile_id?: string;
|
|
14523
|
+
};
|
|
14524
|
+
Relationships: [
|
|
14525
|
+
{
|
|
14526
|
+
foreignKeyName: "profile_modules_profile_id_fkey";
|
|
14527
|
+
columns: ["profile_id"];
|
|
14528
|
+
isOneToOne: false;
|
|
14529
|
+
referencedRelation: "profiles_org";
|
|
14530
|
+
referencedColumns: ["id"];
|
|
14531
|
+
}
|
|
14532
|
+
];
|
|
14533
|
+
};
|
|
14534
|
+
profile_roles: {
|
|
14535
|
+
Row: {
|
|
14536
|
+
created_at: string;
|
|
14537
|
+
id: string;
|
|
14538
|
+
profile_id: string;
|
|
14539
|
+
role_id: string;
|
|
14540
|
+
};
|
|
14541
|
+
Insert: {
|
|
14542
|
+
created_at?: string;
|
|
14543
|
+
id?: string;
|
|
14544
|
+
profile_id: string;
|
|
14545
|
+
role_id: string;
|
|
14546
|
+
};
|
|
14547
|
+
Update: {
|
|
14548
|
+
created_at?: string;
|
|
14549
|
+
id?: string;
|
|
14550
|
+
profile_id?: string;
|
|
14551
|
+
role_id?: string;
|
|
14552
|
+
};
|
|
14553
|
+
Relationships: [
|
|
14554
|
+
{
|
|
14555
|
+
foreignKeyName: "profile_roles_profile_id_fkey";
|
|
14556
|
+
columns: ["profile_id"];
|
|
14557
|
+
isOneToOne: false;
|
|
14558
|
+
referencedRelation: "profiles_org";
|
|
14559
|
+
referencedColumns: ["id"];
|
|
14560
|
+
},
|
|
14561
|
+
{
|
|
14562
|
+
foreignKeyName: "profile_roles_role_id_fkey";
|
|
14563
|
+
columns: ["role_id"];
|
|
14564
|
+
isOneToOne: false;
|
|
14565
|
+
referencedRelation: "roles";
|
|
14566
|
+
referencedColumns: ["id"];
|
|
14567
|
+
}
|
|
14568
|
+
];
|
|
14569
|
+
};
|
|
13821
14570
|
profiles: {
|
|
13822
14571
|
Row: {
|
|
13823
14572
|
address: string | null;
|
|
@@ -13865,44 +14614,79 @@ export type Database = {
|
|
|
13865
14614
|
}
|
|
13866
14615
|
];
|
|
13867
14616
|
};
|
|
13868
|
-
|
|
14617
|
+
profiles_org: {
|
|
13869
14618
|
Row: {
|
|
13870
|
-
contact_name: string | null;
|
|
13871
14619
|
created_at: string;
|
|
13872
|
-
email: string | null;
|
|
13873
14620
|
id: string;
|
|
14621
|
+
is_default: boolean;
|
|
13874
14622
|
name: string;
|
|
13875
|
-
|
|
13876
|
-
order_value: number;
|
|
13877
|
-
package_id: string | null;
|
|
13878
|
-
package_name: string | null;
|
|
13879
|
-
phone: string | null;
|
|
13880
|
-
prospect_id: string | null;
|
|
13881
|
-
status: string;
|
|
14623
|
+
tenant_id: string | null;
|
|
13882
14624
|
updated_at: string;
|
|
13883
14625
|
};
|
|
13884
14626
|
Insert: {
|
|
13885
|
-
contact_name?: string | null;
|
|
13886
14627
|
created_at?: string;
|
|
13887
|
-
email?: string | null;
|
|
13888
14628
|
id?: string;
|
|
14629
|
+
is_default?: boolean;
|
|
13889
14630
|
name: string;
|
|
13890
|
-
|
|
13891
|
-
order_value?: number;
|
|
13892
|
-
package_id?: string | null;
|
|
13893
|
-
package_name?: string | null;
|
|
13894
|
-
phone?: string | null;
|
|
13895
|
-
prospect_id?: string | null;
|
|
13896
|
-
status?: string;
|
|
14631
|
+
tenant_id?: string | null;
|
|
13897
14632
|
updated_at?: string;
|
|
13898
14633
|
};
|
|
13899
14634
|
Update: {
|
|
13900
|
-
contact_name?: string | null;
|
|
13901
14635
|
created_at?: string;
|
|
13902
|
-
email?: string | null;
|
|
13903
14636
|
id?: string;
|
|
14637
|
+
is_default?: boolean;
|
|
13904
14638
|
name?: string;
|
|
13905
|
-
|
|
14639
|
+
tenant_id?: string | null;
|
|
14640
|
+
updated_at?: string;
|
|
14641
|
+
};
|
|
14642
|
+
Relationships: [
|
|
14643
|
+
{
|
|
14644
|
+
foreignKeyName: "profiles_org_tenant_id_fkey";
|
|
14645
|
+
columns: ["tenant_id"];
|
|
14646
|
+
isOneToOne: false;
|
|
14647
|
+
referencedRelation: "tenants";
|
|
14648
|
+
referencedColumns: ["id"];
|
|
14649
|
+
}
|
|
14650
|
+
];
|
|
14651
|
+
};
|
|
14652
|
+
projects: {
|
|
14653
|
+
Row: {
|
|
14654
|
+
contact_name: string | null;
|
|
14655
|
+
created_at: string;
|
|
14656
|
+
email: string | null;
|
|
14657
|
+
id: string;
|
|
14658
|
+
name: string;
|
|
14659
|
+
notes: string | null;
|
|
14660
|
+
order_value: number;
|
|
14661
|
+
package_id: string | null;
|
|
14662
|
+
package_name: string | null;
|
|
14663
|
+
phone: string | null;
|
|
14664
|
+
prospect_id: string | null;
|
|
14665
|
+
status: string;
|
|
14666
|
+
updated_at: string;
|
|
14667
|
+
};
|
|
14668
|
+
Insert: {
|
|
14669
|
+
contact_name?: string | null;
|
|
14670
|
+
created_at?: string;
|
|
14671
|
+
email?: string | null;
|
|
14672
|
+
id?: string;
|
|
14673
|
+
name: string;
|
|
14674
|
+
notes?: string | null;
|
|
14675
|
+
order_value?: number;
|
|
14676
|
+
package_id?: string | null;
|
|
14677
|
+
package_name?: string | null;
|
|
14678
|
+
phone?: string | null;
|
|
14679
|
+
prospect_id?: string | null;
|
|
14680
|
+
status?: string;
|
|
14681
|
+
updated_at?: string;
|
|
14682
|
+
};
|
|
14683
|
+
Update: {
|
|
14684
|
+
contact_name?: string | null;
|
|
14685
|
+
created_at?: string;
|
|
14686
|
+
email?: string | null;
|
|
14687
|
+
id?: string;
|
|
14688
|
+
name?: string;
|
|
14689
|
+
notes?: string | null;
|
|
13906
14690
|
order_value?: number;
|
|
13907
14691
|
package_id?: string | null;
|
|
13908
14692
|
package_name?: string | null;
|
|
@@ -15082,6 +15866,7 @@ export type Database = {
|
|
|
15082
15866
|
type: string;
|
|
15083
15867
|
updated_at: string;
|
|
15084
15868
|
vereist_medewerker: boolean;
|
|
15869
|
+
werkplek: string | null;
|
|
15085
15870
|
};
|
|
15086
15871
|
Insert: {
|
|
15087
15872
|
actief?: boolean;
|
|
@@ -15095,6 +15880,7 @@ export type Database = {
|
|
|
15095
15880
|
type?: string;
|
|
15096
15881
|
updated_at?: string;
|
|
15097
15882
|
vereist_medewerker?: boolean;
|
|
15883
|
+
werkplek?: string | null;
|
|
15098
15884
|
};
|
|
15099
15885
|
Update: {
|
|
15100
15886
|
actief?: boolean;
|
|
@@ -15108,9 +15894,48 @@ export type Database = {
|
|
|
15108
15894
|
type?: string;
|
|
15109
15895
|
updated_at?: string;
|
|
15110
15896
|
vereist_medewerker?: boolean;
|
|
15897
|
+
werkplek?: string | null;
|
|
15111
15898
|
};
|
|
15112
15899
|
Relationships: [];
|
|
15113
15900
|
};
|
|
15901
|
+
sick_periods: {
|
|
15902
|
+
Row: {
|
|
15903
|
+
created_at: string;
|
|
15904
|
+
employee_id: string;
|
|
15905
|
+
end_date: string | null;
|
|
15906
|
+
id: string;
|
|
15907
|
+
notes: string | null;
|
|
15908
|
+
start_date: string;
|
|
15909
|
+
updated_at: string;
|
|
15910
|
+
};
|
|
15911
|
+
Insert: {
|
|
15912
|
+
created_at?: string;
|
|
15913
|
+
employee_id: string;
|
|
15914
|
+
end_date?: string | null;
|
|
15915
|
+
id?: string;
|
|
15916
|
+
notes?: string | null;
|
|
15917
|
+
start_date: string;
|
|
15918
|
+
updated_at?: string;
|
|
15919
|
+
};
|
|
15920
|
+
Update: {
|
|
15921
|
+
created_at?: string;
|
|
15922
|
+
employee_id?: string;
|
|
15923
|
+
end_date?: string | null;
|
|
15924
|
+
id?: string;
|
|
15925
|
+
notes?: string | null;
|
|
15926
|
+
start_date?: string;
|
|
15927
|
+
updated_at?: string;
|
|
15928
|
+
};
|
|
15929
|
+
Relationships: [
|
|
15930
|
+
{
|
|
15931
|
+
foreignKeyName: "sick_periods_employee_id_fkey";
|
|
15932
|
+
columns: ["employee_id"];
|
|
15933
|
+
isOneToOne: false;
|
|
15934
|
+
referencedRelation: "profiles";
|
|
15935
|
+
referencedColumns: ["id"];
|
|
15936
|
+
}
|
|
15937
|
+
];
|
|
15938
|
+
};
|
|
15114
15939
|
sidebar_config: {
|
|
15115
15940
|
Row: {
|
|
15116
15941
|
id: string;
|
|
@@ -15410,6 +16235,56 @@ export type Database = {
|
|
|
15410
16235
|
};
|
|
15411
16236
|
Relationships: [];
|
|
15412
16237
|
};
|
|
16238
|
+
time_compensation_entries: {
|
|
16239
|
+
Row: {
|
|
16240
|
+
created_at: string;
|
|
16241
|
+
employee_id: string;
|
|
16242
|
+
entry_date: string;
|
|
16243
|
+
id: string;
|
|
16244
|
+
km: number;
|
|
16245
|
+
meal_allowance: number;
|
|
16246
|
+
notes: string | null;
|
|
16247
|
+
standby_evening: number;
|
|
16248
|
+
standby_weekend: number;
|
|
16249
|
+
tvt_change: number;
|
|
16250
|
+
updated_at: string;
|
|
16251
|
+
};
|
|
16252
|
+
Insert: {
|
|
16253
|
+
created_at?: string;
|
|
16254
|
+
employee_id: string;
|
|
16255
|
+
entry_date: string;
|
|
16256
|
+
id?: string;
|
|
16257
|
+
km?: number;
|
|
16258
|
+
meal_allowance?: number;
|
|
16259
|
+
notes?: string | null;
|
|
16260
|
+
standby_evening?: number;
|
|
16261
|
+
standby_weekend?: number;
|
|
16262
|
+
tvt_change?: number;
|
|
16263
|
+
updated_at?: string;
|
|
16264
|
+
};
|
|
16265
|
+
Update: {
|
|
16266
|
+
created_at?: string;
|
|
16267
|
+
employee_id?: string;
|
|
16268
|
+
entry_date?: string;
|
|
16269
|
+
id?: string;
|
|
16270
|
+
km?: number;
|
|
16271
|
+
meal_allowance?: number;
|
|
16272
|
+
notes?: string | null;
|
|
16273
|
+
standby_evening?: number;
|
|
16274
|
+
standby_weekend?: number;
|
|
16275
|
+
tvt_change?: number;
|
|
16276
|
+
updated_at?: string;
|
|
16277
|
+
};
|
|
16278
|
+
Relationships: [
|
|
16279
|
+
{
|
|
16280
|
+
foreignKeyName: "time_compensation_entries_employee_id_fkey";
|
|
16281
|
+
columns: ["employee_id"];
|
|
16282
|
+
isOneToOne: false;
|
|
16283
|
+
referencedRelation: "profiles";
|
|
16284
|
+
referencedColumns: ["id"];
|
|
16285
|
+
}
|
|
16286
|
+
];
|
|
16287
|
+
};
|
|
15413
16288
|
time_entries: {
|
|
15414
16289
|
Row: {
|
|
15415
16290
|
created_at: string;
|
|
@@ -15444,68 +16319,174 @@ export type Database = {
|
|
|
15444
16319
|
undertime?: number;
|
|
15445
16320
|
updated_at?: string;
|
|
15446
16321
|
};
|
|
16322
|
+
Relationships: [];
|
|
16323
|
+
};
|
|
16324
|
+
time_log_week_approvals: {
|
|
16325
|
+
Row: {
|
|
16326
|
+
approved_at: string | null;
|
|
16327
|
+
approved_by: string | null;
|
|
16328
|
+
created_at: string;
|
|
16329
|
+
employee_id: string;
|
|
16330
|
+
id: string;
|
|
16331
|
+
locked: boolean;
|
|
16332
|
+
notes: string | null;
|
|
16333
|
+
status: string;
|
|
16334
|
+
submitted_at: string | null;
|
|
16335
|
+
updated_at: string;
|
|
16336
|
+
week_start: string;
|
|
16337
|
+
};
|
|
16338
|
+
Insert: {
|
|
16339
|
+
approved_at?: string | null;
|
|
16340
|
+
approved_by?: string | null;
|
|
16341
|
+
created_at?: string;
|
|
16342
|
+
employee_id: string;
|
|
16343
|
+
id?: string;
|
|
16344
|
+
locked?: boolean;
|
|
16345
|
+
notes?: string | null;
|
|
16346
|
+
status?: string;
|
|
16347
|
+
submitted_at?: string | null;
|
|
16348
|
+
updated_at?: string;
|
|
16349
|
+
week_start: string;
|
|
16350
|
+
};
|
|
16351
|
+
Update: {
|
|
16352
|
+
approved_at?: string | null;
|
|
16353
|
+
approved_by?: string | null;
|
|
16354
|
+
created_at?: string;
|
|
16355
|
+
employee_id?: string;
|
|
16356
|
+
id?: string;
|
|
16357
|
+
locked?: boolean;
|
|
16358
|
+
notes?: string | null;
|
|
16359
|
+
status?: string;
|
|
16360
|
+
submitted_at?: string | null;
|
|
16361
|
+
updated_at?: string;
|
|
16362
|
+
week_start?: string;
|
|
16363
|
+
};
|
|
15447
16364
|
Relationships: [
|
|
15448
16365
|
{
|
|
15449
|
-
foreignKeyName: "
|
|
16366
|
+
foreignKeyName: "time_log_week_approvals_employee_id_fkey";
|
|
15450
16367
|
columns: ["employee_id"];
|
|
15451
16368
|
isOneToOne: false;
|
|
15452
|
-
referencedRelation: "
|
|
16369
|
+
referencedRelation: "profiles";
|
|
15453
16370
|
referencedColumns: ["id"];
|
|
15454
16371
|
}
|
|
15455
16372
|
];
|
|
15456
16373
|
};
|
|
15457
16374
|
time_logs: {
|
|
15458
16375
|
Row: {
|
|
16376
|
+
auto_stop_reason: string | null;
|
|
16377
|
+
auto_stopped: boolean;
|
|
15459
16378
|
created_at: string;
|
|
16379
|
+
current_latitude: number | null;
|
|
16380
|
+
current_longitude: number | null;
|
|
16381
|
+
current_position_updated_at: string | null;
|
|
15460
16382
|
employee_id: string;
|
|
16383
|
+
end_latitude: number | null;
|
|
16384
|
+
end_longitude: number | null;
|
|
15461
16385
|
end_time: string | null;
|
|
16386
|
+
eta_distance_km: number | null;
|
|
16387
|
+
eta_minutes: number | null;
|
|
16388
|
+
eta_updated_at: string | null;
|
|
16389
|
+
hour_category: string | null;
|
|
15462
16390
|
id: string;
|
|
16391
|
+
last_reminder_at: string | null;
|
|
15463
16392
|
notes: string | null;
|
|
15464
16393
|
overtime_hours: number;
|
|
15465
16394
|
overtime_type: string | null;
|
|
15466
16395
|
regular_hours: number;
|
|
16396
|
+
reminder_count: number;
|
|
16397
|
+
requires_review: boolean;
|
|
16398
|
+
start_latitude: number | null;
|
|
16399
|
+
start_longitude: number | null;
|
|
15467
16400
|
start_time: string;
|
|
15468
16401
|
travel_cost: number | null;
|
|
15469
16402
|
travel_distance_km: number | null;
|
|
16403
|
+
travel_duration_min: number | null;
|
|
16404
|
+
travel_time_minutes: number | null;
|
|
15470
16405
|
type: string;
|
|
15471
16406
|
updated_at: string;
|
|
16407
|
+
work_order_id: string | null;
|
|
15472
16408
|
};
|
|
15473
16409
|
Insert: {
|
|
16410
|
+
auto_stop_reason?: string | null;
|
|
16411
|
+
auto_stopped?: boolean;
|
|
15474
16412
|
created_at?: string;
|
|
16413
|
+
current_latitude?: number | null;
|
|
16414
|
+
current_longitude?: number | null;
|
|
16415
|
+
current_position_updated_at?: string | null;
|
|
15475
16416
|
employee_id: string;
|
|
16417
|
+
end_latitude?: number | null;
|
|
16418
|
+
end_longitude?: number | null;
|
|
15476
16419
|
end_time?: string | null;
|
|
16420
|
+
eta_distance_km?: number | null;
|
|
16421
|
+
eta_minutes?: number | null;
|
|
16422
|
+
eta_updated_at?: string | null;
|
|
16423
|
+
hour_category?: string | null;
|
|
15477
16424
|
id?: string;
|
|
16425
|
+
last_reminder_at?: string | null;
|
|
15478
16426
|
notes?: string | null;
|
|
15479
16427
|
overtime_hours?: number;
|
|
15480
16428
|
overtime_type?: string | null;
|
|
15481
16429
|
regular_hours?: number;
|
|
16430
|
+
reminder_count?: number;
|
|
16431
|
+
requires_review?: boolean;
|
|
16432
|
+
start_latitude?: number | null;
|
|
16433
|
+
start_longitude?: number | null;
|
|
15482
16434
|
start_time?: string;
|
|
15483
16435
|
travel_cost?: number | null;
|
|
15484
16436
|
travel_distance_km?: number | null;
|
|
16437
|
+
travel_duration_min?: number | null;
|
|
16438
|
+
travel_time_minutes?: number | null;
|
|
15485
16439
|
type: string;
|
|
15486
16440
|
updated_at?: string;
|
|
16441
|
+
work_order_id?: string | null;
|
|
15487
16442
|
};
|
|
15488
16443
|
Update: {
|
|
16444
|
+
auto_stop_reason?: string | null;
|
|
16445
|
+
auto_stopped?: boolean;
|
|
15489
16446
|
created_at?: string;
|
|
16447
|
+
current_latitude?: number | null;
|
|
16448
|
+
current_longitude?: number | null;
|
|
16449
|
+
current_position_updated_at?: string | null;
|
|
15490
16450
|
employee_id?: string;
|
|
16451
|
+
end_latitude?: number | null;
|
|
16452
|
+
end_longitude?: number | null;
|
|
15491
16453
|
end_time?: string | null;
|
|
16454
|
+
eta_distance_km?: number | null;
|
|
16455
|
+
eta_minutes?: number | null;
|
|
16456
|
+
eta_updated_at?: string | null;
|
|
16457
|
+
hour_category?: string | null;
|
|
15492
16458
|
id?: string;
|
|
16459
|
+
last_reminder_at?: string | null;
|
|
15493
16460
|
notes?: string | null;
|
|
15494
16461
|
overtime_hours?: number;
|
|
15495
16462
|
overtime_type?: string | null;
|
|
15496
16463
|
regular_hours?: number;
|
|
16464
|
+
reminder_count?: number;
|
|
16465
|
+
requires_review?: boolean;
|
|
16466
|
+
start_latitude?: number | null;
|
|
16467
|
+
start_longitude?: number | null;
|
|
15497
16468
|
start_time?: string;
|
|
15498
16469
|
travel_cost?: number | null;
|
|
15499
16470
|
travel_distance_km?: number | null;
|
|
16471
|
+
travel_duration_min?: number | null;
|
|
16472
|
+
travel_time_minutes?: number | null;
|
|
15500
16473
|
type?: string;
|
|
15501
16474
|
updated_at?: string;
|
|
16475
|
+
work_order_id?: string | null;
|
|
15502
16476
|
};
|
|
15503
16477
|
Relationships: [
|
|
15504
16478
|
{
|
|
15505
16479
|
foreignKeyName: "time_logs_employee_id_fkey";
|
|
15506
16480
|
columns: ["employee_id"];
|
|
15507
16481
|
isOneToOne: false;
|
|
15508
|
-
referencedRelation: "
|
|
16482
|
+
referencedRelation: "profiles";
|
|
16483
|
+
referencedColumns: ["id"];
|
|
16484
|
+
},
|
|
16485
|
+
{
|
|
16486
|
+
foreignKeyName: "time_logs_work_order_id_fkey";
|
|
16487
|
+
columns: ["work_order_id"];
|
|
16488
|
+
isOneToOne: false;
|
|
16489
|
+
referencedRelation: "work_orders";
|
|
15509
16490
|
referencedColumns: ["id"];
|
|
15510
16491
|
}
|
|
15511
16492
|
];
|
|
@@ -15546,7 +16527,7 @@ export type Database = {
|
|
|
15546
16527
|
foreignKeyName: "time_off_entries_employee_id_fkey";
|
|
15547
16528
|
columns: ["employee_id"];
|
|
15548
16529
|
isOneToOne: false;
|
|
15549
|
-
referencedRelation: "
|
|
16530
|
+
referencedRelation: "profiles";
|
|
15550
16531
|
referencedColumns: ["id"];
|
|
15551
16532
|
}
|
|
15552
16533
|
];
|
|
@@ -15798,12 +16779,16 @@ export type Database = {
|
|
|
15798
16779
|
company_name: string | null;
|
|
15799
16780
|
connected_at: string | null;
|
|
15800
16781
|
created_at: string;
|
|
16782
|
+
disconnected_at: string | null;
|
|
15801
16783
|
environment: string;
|
|
15802
16784
|
id: string;
|
|
16785
|
+
initial_sync_completed_at: string | null;
|
|
16786
|
+
initial_sync_started_at: string | null;
|
|
15803
16787
|
is_active: boolean;
|
|
15804
16788
|
label: string | null;
|
|
15805
16789
|
office_code: string | null;
|
|
15806
16790
|
redirect_uri: string | null;
|
|
16791
|
+
superseded_at: string | null;
|
|
15807
16792
|
updated_at: string;
|
|
15808
16793
|
user_id: string;
|
|
15809
16794
|
};
|
|
@@ -15814,12 +16799,16 @@ export type Database = {
|
|
|
15814
16799
|
company_name?: string | null;
|
|
15815
16800
|
connected_at?: string | null;
|
|
15816
16801
|
created_at?: string;
|
|
16802
|
+
disconnected_at?: string | null;
|
|
15817
16803
|
environment: string;
|
|
15818
16804
|
id?: string;
|
|
16805
|
+
initial_sync_completed_at?: string | null;
|
|
16806
|
+
initial_sync_started_at?: string | null;
|
|
15819
16807
|
is_active?: boolean;
|
|
15820
16808
|
label?: string | null;
|
|
15821
16809
|
office_code?: string | null;
|
|
15822
16810
|
redirect_uri?: string | null;
|
|
16811
|
+
superseded_at?: string | null;
|
|
15823
16812
|
updated_at?: string;
|
|
15824
16813
|
user_id: string;
|
|
15825
16814
|
};
|
|
@@ -15830,12 +16819,16 @@ export type Database = {
|
|
|
15830
16819
|
company_name?: string | null;
|
|
15831
16820
|
connected_at?: string | null;
|
|
15832
16821
|
created_at?: string;
|
|
16822
|
+
disconnected_at?: string | null;
|
|
15833
16823
|
environment?: string;
|
|
15834
16824
|
id?: string;
|
|
16825
|
+
initial_sync_completed_at?: string | null;
|
|
16826
|
+
initial_sync_started_at?: string | null;
|
|
15835
16827
|
is_active?: boolean;
|
|
15836
16828
|
label?: string | null;
|
|
15837
16829
|
office_code?: string | null;
|
|
15838
16830
|
redirect_uri?: string | null;
|
|
16831
|
+
superseded_at?: string | null;
|
|
15839
16832
|
updated_at?: string;
|
|
15840
16833
|
user_id?: string;
|
|
15841
16834
|
};
|
|
@@ -15859,9 +16852,43 @@ export type Database = {
|
|
|
15859
16852
|
};
|
|
15860
16853
|
Relationships: [];
|
|
15861
16854
|
};
|
|
16855
|
+
twinfield_cron_locks: {
|
|
16856
|
+
Row: {
|
|
16857
|
+
created_at: string;
|
|
16858
|
+
heartbeat_at: string;
|
|
16859
|
+
job_name: string;
|
|
16860
|
+
last_error: string | null;
|
|
16861
|
+
last_finished_at: string | null;
|
|
16862
|
+
locked_at: string;
|
|
16863
|
+
run_id: string;
|
|
16864
|
+
updated_at: string;
|
|
16865
|
+
};
|
|
16866
|
+
Insert: {
|
|
16867
|
+
created_at?: string;
|
|
16868
|
+
heartbeat_at?: string;
|
|
16869
|
+
job_name: string;
|
|
16870
|
+
last_error?: string | null;
|
|
16871
|
+
last_finished_at?: string | null;
|
|
16872
|
+
locked_at?: string;
|
|
16873
|
+
run_id?: string;
|
|
16874
|
+
updated_at?: string;
|
|
16875
|
+
};
|
|
16876
|
+
Update: {
|
|
16877
|
+
created_at?: string;
|
|
16878
|
+
heartbeat_at?: string;
|
|
16879
|
+
job_name?: string;
|
|
16880
|
+
last_error?: string | null;
|
|
16881
|
+
last_finished_at?: string | null;
|
|
16882
|
+
locked_at?: string;
|
|
16883
|
+
run_id?: string;
|
|
16884
|
+
updated_at?: string;
|
|
16885
|
+
};
|
|
16886
|
+
Relationships: [];
|
|
16887
|
+
};
|
|
15862
16888
|
twinfield_customers: {
|
|
15863
16889
|
Row: {
|
|
15864
16890
|
address: string | null;
|
|
16891
|
+
administration_code: string;
|
|
15865
16892
|
city: string | null;
|
|
15866
16893
|
country: string | null;
|
|
15867
16894
|
created_at: string;
|
|
@@ -15881,6 +16908,7 @@ export type Database = {
|
|
|
15881
16908
|
};
|
|
15882
16909
|
Insert: {
|
|
15883
16910
|
address?: string | null;
|
|
16911
|
+
administration_code?: string;
|
|
15884
16912
|
city?: string | null;
|
|
15885
16913
|
country?: string | null;
|
|
15886
16914
|
created_at?: string;
|
|
@@ -15900,6 +16928,7 @@ export type Database = {
|
|
|
15900
16928
|
};
|
|
15901
16929
|
Update: {
|
|
15902
16930
|
address?: string | null;
|
|
16931
|
+
administration_code?: string;
|
|
15903
16932
|
city?: string | null;
|
|
15904
16933
|
country?: string | null;
|
|
15905
16934
|
created_at?: string;
|
|
@@ -16121,7 +17150,9 @@ export type Database = {
|
|
|
16121
17150
|
};
|
|
16122
17151
|
twinfield_invoice_settings: {
|
|
16123
17152
|
Row: {
|
|
17153
|
+
administration_code: string | null;
|
|
16124
17154
|
auto_invoice_enabled: boolean;
|
|
17155
|
+
auto_invoice_start_date: string | null;
|
|
16125
17156
|
auto_invoice_trigger_statuses: string[];
|
|
16126
17157
|
created_at: string;
|
|
16127
17158
|
debtor_gl_account: string;
|
|
@@ -16135,15 +17166,19 @@ export type Database = {
|
|
|
16135
17166
|
invoice_enabled_fo: boolean;
|
|
16136
17167
|
invoice_enabled_ho: boolean;
|
|
16137
17168
|
invoice_enabled_mo: boolean;
|
|
17169
|
+
needs_review: boolean;
|
|
16138
17170
|
payment_gl_account: string;
|
|
16139
17171
|
payment_journal_code: string;
|
|
17172
|
+
settings_confirmed_at: string | null;
|
|
16140
17173
|
updated_at: string;
|
|
16141
17174
|
user_id: string;
|
|
16142
17175
|
vat_code_eu_reverse: string | null;
|
|
16143
17176
|
vat_code_export: string | null;
|
|
16144
17177
|
};
|
|
16145
17178
|
Insert: {
|
|
17179
|
+
administration_code?: string | null;
|
|
16146
17180
|
auto_invoice_enabled?: boolean;
|
|
17181
|
+
auto_invoice_start_date?: string | null;
|
|
16147
17182
|
auto_invoice_trigger_statuses?: string[];
|
|
16148
17183
|
created_at?: string;
|
|
16149
17184
|
debtor_gl_account?: string;
|
|
@@ -16157,15 +17192,19 @@ export type Database = {
|
|
|
16157
17192
|
invoice_enabled_fo?: boolean;
|
|
16158
17193
|
invoice_enabled_ho?: boolean;
|
|
16159
17194
|
invoice_enabled_mo?: boolean;
|
|
17195
|
+
needs_review?: boolean;
|
|
16160
17196
|
payment_gl_account?: string;
|
|
16161
17197
|
payment_journal_code?: string;
|
|
17198
|
+
settings_confirmed_at?: string | null;
|
|
16162
17199
|
updated_at?: string;
|
|
16163
17200
|
user_id: string;
|
|
16164
17201
|
vat_code_eu_reverse?: string | null;
|
|
16165
17202
|
vat_code_export?: string | null;
|
|
16166
17203
|
};
|
|
16167
17204
|
Update: {
|
|
17205
|
+
administration_code?: string | null;
|
|
16168
17206
|
auto_invoice_enabled?: boolean;
|
|
17207
|
+
auto_invoice_start_date?: string | null;
|
|
16169
17208
|
auto_invoice_trigger_statuses?: string[];
|
|
16170
17209
|
created_at?: string;
|
|
16171
17210
|
debtor_gl_account?: string;
|
|
@@ -16179,8 +17218,10 @@ export type Database = {
|
|
|
16179
17218
|
invoice_enabled_fo?: boolean;
|
|
16180
17219
|
invoice_enabled_ho?: boolean;
|
|
16181
17220
|
invoice_enabled_mo?: boolean;
|
|
17221
|
+
needs_review?: boolean;
|
|
16182
17222
|
payment_gl_account?: string;
|
|
16183
17223
|
payment_journal_code?: string;
|
|
17224
|
+
settings_confirmed_at?: string | null;
|
|
16184
17225
|
updated_at?: string;
|
|
16185
17226
|
user_id?: string;
|
|
16186
17227
|
vat_code_eu_reverse?: string | null;
|
|
@@ -16469,6 +17510,7 @@ export type Database = {
|
|
|
16469
17510
|
twinfield_push_queue: {
|
|
16470
17511
|
Row: {
|
|
16471
17512
|
action: string;
|
|
17513
|
+
attempt_started_at: string | null;
|
|
16472
17514
|
attempts: number;
|
|
16473
17515
|
connection_id: string | null;
|
|
16474
17516
|
created_at: string;
|
|
@@ -16485,6 +17527,7 @@ export type Database = {
|
|
|
16485
17527
|
};
|
|
16486
17528
|
Insert: {
|
|
16487
17529
|
action?: string;
|
|
17530
|
+
attempt_started_at?: string | null;
|
|
16488
17531
|
attempts?: number;
|
|
16489
17532
|
connection_id?: string | null;
|
|
16490
17533
|
created_at?: string;
|
|
@@ -16501,6 +17544,7 @@ export type Database = {
|
|
|
16501
17544
|
};
|
|
16502
17545
|
Update: {
|
|
16503
17546
|
action?: string;
|
|
17547
|
+
attempt_started_at?: string | null;
|
|
16504
17548
|
attempts?: number;
|
|
16505
17549
|
connection_id?: string | null;
|
|
16506
17550
|
created_at?: string;
|
|
@@ -16703,15 +17747,7 @@ export type Database = {
|
|
|
16703
17747
|
workday_end?: string | null;
|
|
16704
17748
|
workday_start?: string | null;
|
|
16705
17749
|
};
|
|
16706
|
-
Relationships: [
|
|
16707
|
-
{
|
|
16708
|
-
foreignKeyName: "uren_cao_profiles_monteur_id_fkey";
|
|
16709
|
-
columns: ["monteur_id"];
|
|
16710
|
-
isOneToOne: true;
|
|
16711
|
-
referencedRelation: "monteurs";
|
|
16712
|
-
referencedColumns: ["id"];
|
|
16713
|
-
}
|
|
16714
|
-
];
|
|
17750
|
+
Relationships: [];
|
|
16715
17751
|
};
|
|
16716
17752
|
uren_entries: {
|
|
16717
17753
|
Row: {
|
|
@@ -16757,13 +17793,6 @@ export type Database = {
|
|
|
16757
17793
|
werkbon_id?: string | null;
|
|
16758
17794
|
};
|
|
16759
17795
|
Relationships: [
|
|
16760
|
-
{
|
|
16761
|
-
foreignKeyName: "uren_entries_monteur_id_fkey";
|
|
16762
|
-
columns: ["monteur_id"];
|
|
16763
|
-
isOneToOne: false;
|
|
16764
|
-
referencedRelation: "monteurs";
|
|
16765
|
-
referencedColumns: ["id"];
|
|
16766
|
-
},
|
|
16767
17796
|
{
|
|
16768
17797
|
foreignKeyName: "uren_entries_werkbon_id_fkey";
|
|
16769
17798
|
columns: ["werkbon_id"];
|
|
@@ -16806,119 +17835,6 @@ export type Database = {
|
|
|
16806
17835
|
};
|
|
16807
17836
|
Relationships: [];
|
|
16808
17837
|
};
|
|
16809
|
-
uren_facturen: {
|
|
16810
|
-
Row: {
|
|
16811
|
-
created_at: string;
|
|
16812
|
-
created_by: string | null;
|
|
16813
|
-
customer_id: string | null;
|
|
16814
|
-
customer_name: string | null;
|
|
16815
|
-
id: string;
|
|
16816
|
-
invoice_number: string | null;
|
|
16817
|
-
note: string | null;
|
|
16818
|
-
status: string;
|
|
16819
|
-
total_excl_cents: number;
|
|
16820
|
-
total_incl_cents: number;
|
|
16821
|
-
updated_at: string;
|
|
16822
|
-
vat_cents: number;
|
|
16823
|
-
vat_percentage: number;
|
|
16824
|
-
werkbon_id: string | null;
|
|
16825
|
-
};
|
|
16826
|
-
Insert: {
|
|
16827
|
-
created_at?: string;
|
|
16828
|
-
created_by?: string | null;
|
|
16829
|
-
customer_id?: string | null;
|
|
16830
|
-
customer_name?: string | null;
|
|
16831
|
-
id?: string;
|
|
16832
|
-
invoice_number?: string | null;
|
|
16833
|
-
note?: string | null;
|
|
16834
|
-
status?: string;
|
|
16835
|
-
total_excl_cents?: number;
|
|
16836
|
-
total_incl_cents?: number;
|
|
16837
|
-
updated_at?: string;
|
|
16838
|
-
vat_cents?: number;
|
|
16839
|
-
vat_percentage?: number;
|
|
16840
|
-
werkbon_id?: string | null;
|
|
16841
|
-
};
|
|
16842
|
-
Update: {
|
|
16843
|
-
created_at?: string;
|
|
16844
|
-
created_by?: string | null;
|
|
16845
|
-
customer_id?: string | null;
|
|
16846
|
-
customer_name?: string | null;
|
|
16847
|
-
id?: string;
|
|
16848
|
-
invoice_number?: string | null;
|
|
16849
|
-
note?: string | null;
|
|
16850
|
-
status?: string;
|
|
16851
|
-
total_excl_cents?: number;
|
|
16852
|
-
total_incl_cents?: number;
|
|
16853
|
-
updated_at?: string;
|
|
16854
|
-
vat_cents?: number;
|
|
16855
|
-
vat_percentage?: number;
|
|
16856
|
-
werkbon_id?: string | null;
|
|
16857
|
-
};
|
|
16858
|
-
Relationships: [
|
|
16859
|
-
{
|
|
16860
|
-
foreignKeyName: "uren_facturen_customer_id_fkey";
|
|
16861
|
-
columns: ["customer_id"];
|
|
16862
|
-
isOneToOne: false;
|
|
16863
|
-
referencedRelation: "itk_customers";
|
|
16864
|
-
referencedColumns: ["id"];
|
|
16865
|
-
},
|
|
16866
|
-
{
|
|
16867
|
-
foreignKeyName: "uren_facturen_werkbon_id_fkey";
|
|
16868
|
-
columns: ["werkbon_id"];
|
|
16869
|
-
isOneToOne: true;
|
|
16870
|
-
referencedRelation: "werkbonnen";
|
|
16871
|
-
referencedColumns: ["id"];
|
|
16872
|
-
}
|
|
16873
|
-
];
|
|
16874
|
-
};
|
|
16875
|
-
uren_factuur_regels: {
|
|
16876
|
-
Row: {
|
|
16877
|
-
created_at: string;
|
|
16878
|
-
description: string;
|
|
16879
|
-
factuur_id: string;
|
|
16880
|
-
id: string;
|
|
16881
|
-
kind: string | null;
|
|
16882
|
-
quantity: number;
|
|
16883
|
-
sort_order: number;
|
|
16884
|
-
total_cents: number;
|
|
16885
|
-
unit: string;
|
|
16886
|
-
unit_price_cents: number;
|
|
16887
|
-
};
|
|
16888
|
-
Insert: {
|
|
16889
|
-
created_at?: string;
|
|
16890
|
-
description: string;
|
|
16891
|
-
factuur_id: string;
|
|
16892
|
-
id?: string;
|
|
16893
|
-
kind?: string | null;
|
|
16894
|
-
quantity?: number;
|
|
16895
|
-
sort_order?: number;
|
|
16896
|
-
total_cents?: number;
|
|
16897
|
-
unit?: string;
|
|
16898
|
-
unit_price_cents?: number;
|
|
16899
|
-
};
|
|
16900
|
-
Update: {
|
|
16901
|
-
created_at?: string;
|
|
16902
|
-
description?: string;
|
|
16903
|
-
factuur_id?: string;
|
|
16904
|
-
id?: string;
|
|
16905
|
-
kind?: string | null;
|
|
16906
|
-
quantity?: number;
|
|
16907
|
-
sort_order?: number;
|
|
16908
|
-
total_cents?: number;
|
|
16909
|
-
unit?: string;
|
|
16910
|
-
unit_price_cents?: number;
|
|
16911
|
-
};
|
|
16912
|
-
Relationships: [
|
|
16913
|
-
{
|
|
16914
|
-
foreignKeyName: "uren_factuur_regels_factuur_id_fkey";
|
|
16915
|
-
columns: ["factuur_id"];
|
|
16916
|
-
isOneToOne: false;
|
|
16917
|
-
referencedRelation: "uren_facturen";
|
|
16918
|
-
referencedColumns: ["id"];
|
|
16919
|
-
}
|
|
16920
|
-
];
|
|
16921
|
-
};
|
|
16922
17838
|
uren_offerte_regels: {
|
|
16923
17839
|
Row: {
|
|
16924
17840
|
created_at: string;
|
|
@@ -17245,15 +18161,7 @@ export type Database = {
|
|
|
17245
18161
|
submitted_at?: string | null;
|
|
17246
18162
|
updated_at?: string;
|
|
17247
18163
|
};
|
|
17248
|
-
Relationships: [
|
|
17249
|
-
{
|
|
17250
|
-
foreignKeyName: "uren_weekstaten_monteur_id_fkey";
|
|
17251
|
-
columns: ["monteur_id"];
|
|
17252
|
-
isOneToOne: false;
|
|
17253
|
-
referencedRelation: "monteurs";
|
|
17254
|
-
referencedColumns: ["id"];
|
|
17255
|
-
}
|
|
17256
|
-
];
|
|
18164
|
+
Relationships: [];
|
|
17257
18165
|
};
|
|
17258
18166
|
user_module_permissions: {
|
|
17259
18167
|
Row: {
|
|
@@ -17314,6 +18222,53 @@ export type Database = {
|
|
|
17314
18222
|
}
|
|
17315
18223
|
];
|
|
17316
18224
|
};
|
|
18225
|
+
van_inventories: {
|
|
18226
|
+
Row: {
|
|
18227
|
+
barcode: string | null;
|
|
18228
|
+
created_at: string;
|
|
18229
|
+
id: string;
|
|
18230
|
+
monteur_id: string | null;
|
|
18231
|
+
price_per_unit: number;
|
|
18232
|
+
product_name: string;
|
|
18233
|
+
quantity_current: number;
|
|
18234
|
+
quantity_min: number;
|
|
18235
|
+
unit: string;
|
|
18236
|
+
updated_at: string;
|
|
18237
|
+
};
|
|
18238
|
+
Insert: {
|
|
18239
|
+
barcode?: string | null;
|
|
18240
|
+
created_at?: string;
|
|
18241
|
+
id?: string;
|
|
18242
|
+
monteur_id?: string | null;
|
|
18243
|
+
price_per_unit?: number;
|
|
18244
|
+
product_name: string;
|
|
18245
|
+
quantity_current?: number;
|
|
18246
|
+
quantity_min?: number;
|
|
18247
|
+
unit?: string;
|
|
18248
|
+
updated_at?: string;
|
|
18249
|
+
};
|
|
18250
|
+
Update: {
|
|
18251
|
+
barcode?: string | null;
|
|
18252
|
+
created_at?: string;
|
|
18253
|
+
id?: string;
|
|
18254
|
+
monteur_id?: string | null;
|
|
18255
|
+
price_per_unit?: number;
|
|
18256
|
+
product_name?: string;
|
|
18257
|
+
quantity_current?: number;
|
|
18258
|
+
quantity_min?: number;
|
|
18259
|
+
unit?: string;
|
|
18260
|
+
updated_at?: string;
|
|
18261
|
+
};
|
|
18262
|
+
Relationships: [
|
|
18263
|
+
{
|
|
18264
|
+
foreignKeyName: "van_inventories_monteur_id_fkey";
|
|
18265
|
+
columns: ["monteur_id"];
|
|
18266
|
+
isOneToOne: false;
|
|
18267
|
+
referencedRelation: "profiles";
|
|
18268
|
+
referencedColumns: ["id"];
|
|
18269
|
+
}
|
|
18270
|
+
];
|
|
18271
|
+
};
|
|
17317
18272
|
voorraad_custom_fields: {
|
|
17318
18273
|
Row: {
|
|
17319
18274
|
created_at: string;
|
|
@@ -18163,6 +19118,9 @@ export type Database = {
|
|
|
18163
19118
|
scheduled_end_time: string | null;
|
|
18164
19119
|
scheduled_start_time: string | null;
|
|
18165
19120
|
sequence_number: number;
|
|
19121
|
+
signature_accepted_at: string | null;
|
|
19122
|
+
signature_by_user_id: string | null;
|
|
19123
|
+
signature_name: string | null;
|
|
18166
19124
|
source_email_meta: Json | null;
|
|
18167
19125
|
source_mailbox_message_id: string | null;
|
|
18168
19126
|
source_pdf_path: string | null;
|
|
@@ -18198,6 +19156,9 @@ export type Database = {
|
|
|
18198
19156
|
scheduled_end_time?: string | null;
|
|
18199
19157
|
scheduled_start_time?: string | null;
|
|
18200
19158
|
sequence_number: number;
|
|
19159
|
+
signature_accepted_at?: string | null;
|
|
19160
|
+
signature_by_user_id?: string | null;
|
|
19161
|
+
signature_name?: string | null;
|
|
18201
19162
|
source_email_meta?: Json | null;
|
|
18202
19163
|
source_mailbox_message_id?: string | null;
|
|
18203
19164
|
source_pdf_path?: string | null;
|
|
@@ -18233,6 +19194,9 @@ export type Database = {
|
|
|
18233
19194
|
scheduled_end_time?: string | null;
|
|
18234
19195
|
scheduled_start_time?: string | null;
|
|
18235
19196
|
sequence_number?: number;
|
|
19197
|
+
signature_accepted_at?: string | null;
|
|
19198
|
+
signature_by_user_id?: string | null;
|
|
19199
|
+
signature_name?: string | null;
|
|
18236
19200
|
source_email_meta?: Json | null;
|
|
18237
19201
|
source_mailbox_message_id?: string | null;
|
|
18238
19202
|
source_pdf_path?: string | null;
|
|
@@ -18287,7 +19251,7 @@ export type Database = {
|
|
|
18287
19251
|
foreignKeyName: "work_order_monteurs_monteur_id_fkey";
|
|
18288
19252
|
columns: ["monteur_id"];
|
|
18289
19253
|
isOneToOne: false;
|
|
18290
|
-
referencedRelation: "
|
|
19254
|
+
referencedRelation: "profiles";
|
|
18291
19255
|
referencedColumns: ["id"];
|
|
18292
19256
|
},
|
|
18293
19257
|
{
|
|
@@ -18299,6 +19263,63 @@ export type Database = {
|
|
|
18299
19263
|
}
|
|
18300
19264
|
];
|
|
18301
19265
|
};
|
|
19266
|
+
work_order_photos: {
|
|
19267
|
+
Row: {
|
|
19268
|
+
ai_caption: string | null;
|
|
19269
|
+
ai_categorized_at: string | null;
|
|
19270
|
+
ai_labels: Json | null;
|
|
19271
|
+
caption: string | null;
|
|
19272
|
+
created_at: string;
|
|
19273
|
+
id: string;
|
|
19274
|
+
monteur_id: string | null;
|
|
19275
|
+
photo_type: string;
|
|
19276
|
+
storage_path: string;
|
|
19277
|
+
updated_at: string;
|
|
19278
|
+
work_order_id: string;
|
|
19279
|
+
};
|
|
19280
|
+
Insert: {
|
|
19281
|
+
ai_caption?: string | null;
|
|
19282
|
+
ai_categorized_at?: string | null;
|
|
19283
|
+
ai_labels?: Json | null;
|
|
19284
|
+
caption?: string | null;
|
|
19285
|
+
created_at?: string;
|
|
19286
|
+
id?: string;
|
|
19287
|
+
monteur_id?: string | null;
|
|
19288
|
+
photo_type?: string;
|
|
19289
|
+
storage_path: string;
|
|
19290
|
+
updated_at?: string;
|
|
19291
|
+
work_order_id: string;
|
|
19292
|
+
};
|
|
19293
|
+
Update: {
|
|
19294
|
+
ai_caption?: string | null;
|
|
19295
|
+
ai_categorized_at?: string | null;
|
|
19296
|
+
ai_labels?: Json | null;
|
|
19297
|
+
caption?: string | null;
|
|
19298
|
+
created_at?: string;
|
|
19299
|
+
id?: string;
|
|
19300
|
+
monteur_id?: string | null;
|
|
19301
|
+
photo_type?: string;
|
|
19302
|
+
storage_path?: string;
|
|
19303
|
+
updated_at?: string;
|
|
19304
|
+
work_order_id?: string;
|
|
19305
|
+
};
|
|
19306
|
+
Relationships: [
|
|
19307
|
+
{
|
|
19308
|
+
foreignKeyName: "work_order_photos_monteur_id_fkey";
|
|
19309
|
+
columns: ["monteur_id"];
|
|
19310
|
+
isOneToOne: false;
|
|
19311
|
+
referencedRelation: "profiles";
|
|
19312
|
+
referencedColumns: ["id"];
|
|
19313
|
+
},
|
|
19314
|
+
{
|
|
19315
|
+
foreignKeyName: "work_order_photos_work_order_id_fkey";
|
|
19316
|
+
columns: ["work_order_id"];
|
|
19317
|
+
isOneToOne: false;
|
|
19318
|
+
referencedRelation: "work_orders";
|
|
19319
|
+
referencedColumns: ["id"];
|
|
19320
|
+
}
|
|
19321
|
+
];
|
|
19322
|
+
};
|
|
18302
19323
|
work_orders: {
|
|
18303
19324
|
Row: {
|
|
18304
19325
|
assigned_to: string | null;
|
|
@@ -18330,7 +19351,6 @@ export type Database = {
|
|
|
18330
19351
|
scheduled_end_time: string | null;
|
|
18331
19352
|
scheduled_start_time: string | null;
|
|
18332
19353
|
status: string;
|
|
18333
|
-
tenant_id: string;
|
|
18334
19354
|
total_hours_worked: number | null;
|
|
18335
19355
|
total_price: number | null;
|
|
18336
19356
|
travel_time_minutes: number | null;
|
|
@@ -18368,7 +19388,6 @@ export type Database = {
|
|
|
18368
19388
|
scheduled_end_time?: string | null;
|
|
18369
19389
|
scheduled_start_time?: string | null;
|
|
18370
19390
|
status?: string;
|
|
18371
|
-
tenant_id: string;
|
|
18372
19391
|
total_hours_worked?: number | null;
|
|
18373
19392
|
total_price?: number | null;
|
|
18374
19393
|
travel_time_minutes?: number | null;
|
|
@@ -18406,7 +19425,6 @@ export type Database = {
|
|
|
18406
19425
|
scheduled_end_time?: string | null;
|
|
18407
19426
|
scheduled_start_time?: string | null;
|
|
18408
19427
|
status?: string;
|
|
18409
|
-
tenant_id?: string;
|
|
18410
19428
|
total_hours_worked?: number | null;
|
|
18411
19429
|
total_price?: number | null;
|
|
18412
19430
|
travel_time_minutes?: number | null;
|
|
@@ -18421,13 +19439,6 @@ export type Database = {
|
|
|
18421
19439
|
isOneToOne: false;
|
|
18422
19440
|
referencedRelation: "work_orders";
|
|
18423
19441
|
referencedColumns: ["id"];
|
|
18424
|
-
},
|
|
18425
|
-
{
|
|
18426
|
-
foreignKeyName: "work_orders_tenant_id_fkey";
|
|
18427
|
-
columns: ["tenant_id"];
|
|
18428
|
-
isOneToOne: false;
|
|
18429
|
-
referencedRelation: "tenants";
|
|
18430
|
-
referencedColumns: ["id"];
|
|
18431
19442
|
}
|
|
18432
19443
|
];
|
|
18433
19444
|
};
|
|
@@ -18700,20 +19711,133 @@ export type Database = {
|
|
|
18700
19711
|
};
|
|
18701
19712
|
Relationships: [
|
|
18702
19713
|
{
|
|
18703
|
-
foreignKeyName: "product_group_items_product_group_id_fkey";
|
|
18704
|
-
columns: ["product_group_id"];
|
|
19714
|
+
foreignKeyName: "product_group_items_product_group_id_fkey";
|
|
19715
|
+
columns: ["product_group_id"];
|
|
19716
|
+
isOneToOne: false;
|
|
19717
|
+
referencedRelation: "product_groups";
|
|
19718
|
+
referencedColumns: ["id"];
|
|
19719
|
+
}
|
|
19720
|
+
];
|
|
19721
|
+
};
|
|
19722
|
+
trade_item_stock_view: {
|
|
19723
|
+
Row: {
|
|
19724
|
+
stock: number | null;
|
|
19725
|
+
trade_item_id: string | null;
|
|
19726
|
+
};
|
|
19727
|
+
Relationships: [];
|
|
19728
|
+
};
|
|
19729
|
+
uren_facturen: {
|
|
19730
|
+
Row: {
|
|
19731
|
+
created_at: string | null;
|
|
19732
|
+
created_by: string | null;
|
|
19733
|
+
customer_id: string | null;
|
|
19734
|
+
customer_name: string | null;
|
|
19735
|
+
id: string | null;
|
|
19736
|
+
invoice_number: string | null;
|
|
19737
|
+
note: string | null;
|
|
19738
|
+
status: string | null;
|
|
19739
|
+
total_excl_cents: number | null;
|
|
19740
|
+
total_incl_cents: number | null;
|
|
19741
|
+
updated_at: string | null;
|
|
19742
|
+
vat_cents: number | null;
|
|
19743
|
+
vat_percentage: number | null;
|
|
19744
|
+
werkbon_id: string | null;
|
|
19745
|
+
};
|
|
19746
|
+
Insert: {
|
|
19747
|
+
created_at?: string | null;
|
|
19748
|
+
created_by?: string | null;
|
|
19749
|
+
customer_id?: string | null;
|
|
19750
|
+
customer_name?: string | null;
|
|
19751
|
+
id?: string | null;
|
|
19752
|
+
invoice_number?: string | null;
|
|
19753
|
+
note?: string | null;
|
|
19754
|
+
status?: string | null;
|
|
19755
|
+
total_excl_cents?: number | null;
|
|
19756
|
+
total_incl_cents?: number | null;
|
|
19757
|
+
updated_at?: string | null;
|
|
19758
|
+
vat_cents?: number | null;
|
|
19759
|
+
vat_percentage?: number | null;
|
|
19760
|
+
werkbon_id?: never;
|
|
19761
|
+
};
|
|
19762
|
+
Update: {
|
|
19763
|
+
created_at?: string | null;
|
|
19764
|
+
created_by?: string | null;
|
|
19765
|
+
customer_id?: string | null;
|
|
19766
|
+
customer_name?: string | null;
|
|
19767
|
+
id?: string | null;
|
|
19768
|
+
invoice_number?: string | null;
|
|
19769
|
+
note?: string | null;
|
|
19770
|
+
status?: string | null;
|
|
19771
|
+
total_excl_cents?: number | null;
|
|
19772
|
+
total_incl_cents?: number | null;
|
|
19773
|
+
updated_at?: string | null;
|
|
19774
|
+
vat_cents?: number | null;
|
|
19775
|
+
vat_percentage?: number | null;
|
|
19776
|
+
werkbon_id?: never;
|
|
19777
|
+
};
|
|
19778
|
+
Relationships: [
|
|
19779
|
+
{
|
|
19780
|
+
foreignKeyName: "invoices_customer_id_fkey";
|
|
19781
|
+
columns: ["customer_id"];
|
|
18705
19782
|
isOneToOne: false;
|
|
18706
|
-
referencedRelation: "
|
|
19783
|
+
referencedRelation: "itk_customers";
|
|
18707
19784
|
referencedColumns: ["id"];
|
|
18708
19785
|
}
|
|
18709
19786
|
];
|
|
18710
19787
|
};
|
|
18711
|
-
|
|
19788
|
+
uren_factuur_regels: {
|
|
18712
19789
|
Row: {
|
|
18713
|
-
|
|
18714
|
-
|
|
19790
|
+
created_at: string | null;
|
|
19791
|
+
description: string | null;
|
|
19792
|
+
factuur_id: string | null;
|
|
19793
|
+
id: string | null;
|
|
19794
|
+
kind: string | null;
|
|
19795
|
+
quantity: number | null;
|
|
19796
|
+
sort_order: number | null;
|
|
19797
|
+
total_cents: number | null;
|
|
19798
|
+
unit: string | null;
|
|
19799
|
+
unit_price_cents: number | null;
|
|
18715
19800
|
};
|
|
18716
|
-
|
|
19801
|
+
Insert: {
|
|
19802
|
+
created_at?: string | null;
|
|
19803
|
+
description?: string | null;
|
|
19804
|
+
factuur_id?: string | null;
|
|
19805
|
+
id?: string | null;
|
|
19806
|
+
kind?: string | null;
|
|
19807
|
+
quantity?: number | null;
|
|
19808
|
+
sort_order?: number | null;
|
|
19809
|
+
total_cents?: number | null;
|
|
19810
|
+
unit?: string | null;
|
|
19811
|
+
unit_price_cents?: number | null;
|
|
19812
|
+
};
|
|
19813
|
+
Update: {
|
|
19814
|
+
created_at?: string | null;
|
|
19815
|
+
description?: string | null;
|
|
19816
|
+
factuur_id?: string | null;
|
|
19817
|
+
id?: string | null;
|
|
19818
|
+
kind?: string | null;
|
|
19819
|
+
quantity?: number | null;
|
|
19820
|
+
sort_order?: number | null;
|
|
19821
|
+
total_cents?: number | null;
|
|
19822
|
+
unit?: string | null;
|
|
19823
|
+
unit_price_cents?: number | null;
|
|
19824
|
+
};
|
|
19825
|
+
Relationships: [
|
|
19826
|
+
{
|
|
19827
|
+
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
19828
|
+
columns: ["factuur_id"];
|
|
19829
|
+
isOneToOne: false;
|
|
19830
|
+
referencedRelation: "invoices";
|
|
19831
|
+
referencedColumns: ["id"];
|
|
19832
|
+
},
|
|
19833
|
+
{
|
|
19834
|
+
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
19835
|
+
columns: ["factuur_id"];
|
|
19836
|
+
isOneToOne: false;
|
|
19837
|
+
referencedRelation: "uren_facturen";
|
|
19838
|
+
referencedColumns: ["id"];
|
|
19839
|
+
}
|
|
19840
|
+
];
|
|
18717
19841
|
};
|
|
18718
19842
|
v_external_customers_exact: {
|
|
18719
19843
|
Row: {
|
|
@@ -19125,6 +20249,19 @@ export type Database = {
|
|
|
19125
20249
|
};
|
|
19126
20250
|
Returns: undefined;
|
|
19127
20251
|
};
|
|
20252
|
+
approve_mailbox_order_proposal: {
|
|
20253
|
+
Args: {
|
|
20254
|
+
p_custom_fields: Json;
|
|
20255
|
+
p_customer_id: string;
|
|
20256
|
+
p_delivery_date: string;
|
|
20257
|
+
p_field_values?: Json;
|
|
20258
|
+
p_lines: Json;
|
|
20259
|
+
p_notes: string;
|
|
20260
|
+
p_proposal_id: string;
|
|
20261
|
+
p_reviewed_by: string;
|
|
20262
|
+
};
|
|
20263
|
+
Returns: Json;
|
|
20264
|
+
};
|
|
19128
20265
|
assign_cart_numbers: {
|
|
19129
20266
|
Args: {
|
|
19130
20267
|
p_carts: Json;
|
|
@@ -19176,6 +20313,10 @@ export type Database = {
|
|
|
19176
20313
|
};
|
|
19177
20314
|
Returns: number;
|
|
19178
20315
|
};
|
|
20316
|
+
can_manage_hours: {
|
|
20317
|
+
Args: never;
|
|
20318
|
+
Returns: boolean;
|
|
20319
|
+
};
|
|
19179
20320
|
check_offer_product_available_stock: {
|
|
19180
20321
|
Args: {
|
|
19181
20322
|
p_campaign_product_id: string;
|
|
@@ -19213,6 +20354,7 @@ export type Database = {
|
|
|
19213
20354
|
gebruiker_id: string | null;
|
|
19214
20355
|
gebruiker_naam: string;
|
|
19215
20356
|
gestart_op: string | null;
|
|
20357
|
+
herkomst: string | null;
|
|
19216
20358
|
id: string;
|
|
19217
20359
|
idempotentie_sleutel: string | null;
|
|
19218
20360
|
is_herprint: boolean;
|
|
@@ -19333,6 +20475,7 @@ export type Database = {
|
|
|
19333
20475
|
gebruiker_id: string | null;
|
|
19334
20476
|
gebruiker_naam: string;
|
|
19335
20477
|
gestart_op: string | null;
|
|
20478
|
+
herkomst: string | null;
|
|
19336
20479
|
id: string;
|
|
19337
20480
|
idempotentie_sleutel: string | null;
|
|
19338
20481
|
is_herprint: boolean;
|
|
@@ -19365,6 +20508,7 @@ export type Database = {
|
|
|
19365
20508
|
};
|
|
19366
20509
|
Returns: {
|
|
19367
20510
|
action: string;
|
|
20511
|
+
attempt_started_at: string | null;
|
|
19368
20512
|
attempts: number;
|
|
19369
20513
|
connection_id: string | null;
|
|
19370
20514
|
created_at: string;
|
|
@@ -19452,6 +20596,30 @@ export type Database = {
|
|
|
19452
20596
|
agent_naam: string;
|
|
19453
20597
|
}[];
|
|
19454
20598
|
};
|
|
20599
|
+
consume_van_inventory: {
|
|
20600
|
+
Args: {
|
|
20601
|
+
p_inventory_id: string;
|
|
20602
|
+
p_quantity: number;
|
|
20603
|
+
};
|
|
20604
|
+
Returns: {
|
|
20605
|
+
barcode: string | null;
|
|
20606
|
+
created_at: string;
|
|
20607
|
+
id: string;
|
|
20608
|
+
monteur_id: string | null;
|
|
20609
|
+
price_per_unit: number;
|
|
20610
|
+
product_name: string;
|
|
20611
|
+
quantity_current: number;
|
|
20612
|
+
quantity_min: number;
|
|
20613
|
+
unit: string;
|
|
20614
|
+
updated_at: string;
|
|
20615
|
+
};
|
|
20616
|
+
SetofOptions: {
|
|
20617
|
+
from: "*";
|
|
20618
|
+
to: "van_inventories";
|
|
20619
|
+
isOneToOne: true;
|
|
20620
|
+
isSetofReturn: false;
|
|
20621
|
+
};
|
|
20622
|
+
};
|
|
19455
20623
|
control_get_todays_carts: {
|
|
19456
20624
|
Args: never;
|
|
19457
20625
|
Returns: {
|
|
@@ -19527,7 +20695,7 @@ export type Database = {
|
|
|
19527
20695
|
Returns: string;
|
|
19528
20696
|
} | {
|
|
19529
20697
|
Args: {
|
|
19530
|
-
_feature_id
|
|
20698
|
+
_feature_id: string;
|
|
19531
20699
|
_module_id: string;
|
|
19532
20700
|
_user_id: string;
|
|
19533
20701
|
};
|
|
@@ -19578,6 +20746,13 @@ export type Database = {
|
|
|
19578
20746
|
};
|
|
19579
20747
|
Returns: string;
|
|
19580
20748
|
};
|
|
20749
|
+
employee_day_hours: {
|
|
20750
|
+
Args: {
|
|
20751
|
+
_day: string;
|
|
20752
|
+
_employee_id: string;
|
|
20753
|
+
};
|
|
20754
|
+
Returns: number;
|
|
20755
|
+
};
|
|
19581
20756
|
enqueue_cart_replan_if_unlocked: {
|
|
19582
20757
|
Args: {
|
|
19583
20758
|
p_order_id: string;
|
|
@@ -19883,12 +21058,6 @@ export type Database = {
|
|
|
19883
21058
|
Args: never;
|
|
19884
21059
|
Returns: string;
|
|
19885
21060
|
};
|
|
19886
|
-
get_work_order_tenant_id: {
|
|
19887
|
-
Args: {
|
|
19888
|
-
wo_id: string;
|
|
19889
|
-
};
|
|
19890
|
-
Returns: string;
|
|
19891
|
-
};
|
|
19892
21061
|
has_module_permission: {
|
|
19893
21062
|
Args: {
|
|
19894
21063
|
_min: string;
|
|
@@ -19908,6 +21077,46 @@ export type Database = {
|
|
|
19908
21077
|
Args: never;
|
|
19909
21078
|
Returns: boolean;
|
|
19910
21079
|
};
|
|
21080
|
+
invoice_create_from_source: {
|
|
21081
|
+
Args: {
|
|
21082
|
+
_payload?: Json;
|
|
21083
|
+
_source_id: string;
|
|
21084
|
+
_source_type: string;
|
|
21085
|
+
};
|
|
21086
|
+
Returns: Json;
|
|
21087
|
+
};
|
|
21088
|
+
invoice_get_billable_lines: {
|
|
21089
|
+
Args: {
|
|
21090
|
+
_invoice_id: string;
|
|
21091
|
+
};
|
|
21092
|
+
Returns: Json;
|
|
21093
|
+
};
|
|
21094
|
+
invoice_get_for_source: {
|
|
21095
|
+
Args: {
|
|
21096
|
+
_source_id: string;
|
|
21097
|
+
_source_type: string;
|
|
21098
|
+
};
|
|
21099
|
+
Returns: Json;
|
|
21100
|
+
};
|
|
21101
|
+
invoice_get_summary: {
|
|
21102
|
+
Args: {
|
|
21103
|
+
_invoice_id: string;
|
|
21104
|
+
};
|
|
21105
|
+
Returns: Json;
|
|
21106
|
+
};
|
|
21107
|
+
invoice_list_sources: {
|
|
21108
|
+
Args: {
|
|
21109
|
+
_limit?: number;
|
|
21110
|
+
_source_type?: string;
|
|
21111
|
+
};
|
|
21112
|
+
Returns: Json;
|
|
21113
|
+
};
|
|
21114
|
+
invoice_recalc_totals: {
|
|
21115
|
+
Args: {
|
|
21116
|
+
_invoice_id: string;
|
|
21117
|
+
};
|
|
21118
|
+
Returns: Json;
|
|
21119
|
+
};
|
|
19911
21120
|
is_authenticated: {
|
|
19912
21121
|
Args: never;
|
|
19913
21122
|
Returns: boolean;
|
|
@@ -19922,6 +21131,13 @@ export type Database = {
|
|
|
19922
21131
|
};
|
|
19923
21132
|
Returns: boolean;
|
|
19924
21133
|
};
|
|
21134
|
+
is_time_log_week_locked: {
|
|
21135
|
+
Args: {
|
|
21136
|
+
p_employee_id: string;
|
|
21137
|
+
p_start_time: string;
|
|
21138
|
+
};
|
|
21139
|
+
Returns: boolean;
|
|
21140
|
+
};
|
|
19925
21141
|
is_user_admin: {
|
|
19926
21142
|
Args: never;
|
|
19927
21143
|
Returns: boolean;
|
|
@@ -19930,12 +21146,59 @@ export type Database = {
|
|
|
19930
21146
|
Args: never;
|
|
19931
21147
|
Returns: boolean;
|
|
19932
21148
|
};
|
|
21149
|
+
itk_offerte_naar_werkbon: {
|
|
21150
|
+
Args: {
|
|
21151
|
+
_offerte_id: string;
|
|
21152
|
+
};
|
|
21153
|
+
Returns: string;
|
|
21154
|
+
};
|
|
21155
|
+
itk_offerte_restant_mandaat: {
|
|
21156
|
+
Args: {
|
|
21157
|
+
_exclude_offerte_id?: string;
|
|
21158
|
+
_werkbon_id: string;
|
|
21159
|
+
};
|
|
21160
|
+
Returns: number;
|
|
21161
|
+
};
|
|
19933
21162
|
jwt_has_role: {
|
|
19934
21163
|
Args: {
|
|
19935
21164
|
_role: Database["public"]["Enums"]["app_role"];
|
|
19936
21165
|
};
|
|
19937
21166
|
Returns: boolean;
|
|
19938
21167
|
};
|
|
21168
|
+
list_medewerkers: {
|
|
21169
|
+
Args: never;
|
|
21170
|
+
Returns: {
|
|
21171
|
+
avatar_url: string;
|
|
21172
|
+
color: string;
|
|
21173
|
+
display_name: string;
|
|
21174
|
+
email: string;
|
|
21175
|
+
hours_fri: number;
|
|
21176
|
+
hours_mon: number;
|
|
21177
|
+
hours_thu: number;
|
|
21178
|
+
hours_tue: number;
|
|
21179
|
+
hours_wed: number;
|
|
21180
|
+
id: string;
|
|
21181
|
+
is_active: boolean;
|
|
21182
|
+
leave_balance_hours: number;
|
|
21183
|
+
persnr: string;
|
|
21184
|
+
phone: string;
|
|
21185
|
+
roles: string[];
|
|
21186
|
+
}[];
|
|
21187
|
+
};
|
|
21188
|
+
list_monteur_absences: {
|
|
21189
|
+
Args: {
|
|
21190
|
+
_from: string;
|
|
21191
|
+
_to: string;
|
|
21192
|
+
};
|
|
21193
|
+
Returns: {
|
|
21194
|
+
absence_date: string;
|
|
21195
|
+
end_time: string;
|
|
21196
|
+
full_day: boolean;
|
|
21197
|
+
kind: string;
|
|
21198
|
+
monteur_id: string;
|
|
21199
|
+
start_time: string;
|
|
21200
|
+
}[];
|
|
21201
|
+
};
|
|
19939
21202
|
list_monteurs: {
|
|
19940
21203
|
Args: never;
|
|
19941
21204
|
Returns: {
|
|
@@ -20268,17 +21531,6 @@ export type Database = {
|
|
|
20268
21531
|
Returns: string;
|
|
20269
21532
|
};
|
|
20270
21533
|
logistics_emit_event: {
|
|
20271
|
-
Args: {
|
|
20272
|
-
p_event_type: string;
|
|
20273
|
-
p_idempotency_key?: string;
|
|
20274
|
-
p_order_ref: string;
|
|
20275
|
-
p_payload?: Json;
|
|
20276
|
-
p_shadow?: boolean;
|
|
20277
|
-
p_source_module: string;
|
|
20278
|
-
p_strategy_id?: string;
|
|
20279
|
-
};
|
|
20280
|
-
Returns: Json;
|
|
20281
|
-
} | {
|
|
20282
21534
|
Args: {
|
|
20283
21535
|
p_event_type: string;
|
|
20284
21536
|
p_idempotency_key?: string;
|
|
@@ -20367,6 +21619,23 @@ export type Database = {
|
|
|
20367
21619
|
};
|
|
20368
21620
|
Returns: string;
|
|
20369
21621
|
};
|
|
21622
|
+
logistics_floriday_finish_push_v2: {
|
|
21623
|
+
Args: {
|
|
21624
|
+
_error?: string;
|
|
21625
|
+
_error_code?: string;
|
|
21626
|
+
_fulfillment_order_id?: string;
|
|
21627
|
+
_gateway_status?: number;
|
|
21628
|
+
_id: string;
|
|
21629
|
+
_max_age_hours?: number;
|
|
21630
|
+
_max_attempts?: number;
|
|
21631
|
+
_ok: boolean;
|
|
21632
|
+
_permanent?: boolean;
|
|
21633
|
+
_response?: Json;
|
|
21634
|
+
_revision: number;
|
|
21635
|
+
_sent_hash?: string;
|
|
21636
|
+
};
|
|
21637
|
+
Returns: string;
|
|
21638
|
+
};
|
|
20370
21639
|
logistics_floriday_prune_pushes: {
|
|
20371
21640
|
Args: {
|
|
20372
21641
|
_days?: number;
|
|
@@ -20909,6 +22178,13 @@ export type Database = {
|
|
|
20909
22178
|
isSetofReturn: false;
|
|
20910
22179
|
};
|
|
20911
22180
|
};
|
|
22181
|
+
pick_cleanup_maintenance: {
|
|
22182
|
+
Args: {
|
|
22183
|
+
_heartbeat_hours?: number;
|
|
22184
|
+
_log_days?: number;
|
|
22185
|
+
};
|
|
22186
|
+
Returns: Json;
|
|
22187
|
+
};
|
|
20912
22188
|
pick_complete_print: {
|
|
20913
22189
|
Args: {
|
|
20914
22190
|
_printer_id: string;
|
|
@@ -20960,6 +22236,14 @@ export type Database = {
|
|
|
20960
22236
|
Args: never;
|
|
20961
22237
|
Returns: string;
|
|
20962
22238
|
};
|
|
22239
|
+
pick_day_counts: {
|
|
22240
|
+
Args: {
|
|
22241
|
+
_pick_day?: string;
|
|
22242
|
+
_screen_id?: string;
|
|
22243
|
+
_station_id?: string;
|
|
22244
|
+
};
|
|
22245
|
+
Returns: Json;
|
|
22246
|
+
};
|
|
20963
22247
|
pick_document_layout_data: {
|
|
20964
22248
|
Args: {
|
|
20965
22249
|
_layout_id: string;
|
|
@@ -20997,6 +22281,14 @@ export type Database = {
|
|
|
20997
22281
|
};
|
|
20998
22282
|
Returns: undefined;
|
|
20999
22283
|
};
|
|
22284
|
+
pick_reprint_document: {
|
|
22285
|
+
Args: {
|
|
22286
|
+
_queue_item_id: string;
|
|
22287
|
+
_session_id: string;
|
|
22288
|
+
_throttle_seconds?: number;
|
|
22289
|
+
};
|
|
22290
|
+
Returns: string;
|
|
22291
|
+
};
|
|
21000
22292
|
pick_reset_print: {
|
|
21001
22293
|
Args: {
|
|
21002
22294
|
_queue_item_id: string;
|
|
@@ -21062,6 +22354,12 @@ export type Database = {
|
|
|
21062
22354
|
};
|
|
21063
22355
|
Returns: string;
|
|
21064
22356
|
};
|
|
22357
|
+
pick_sync_queue_throttled: {
|
|
22358
|
+
Args: {
|
|
22359
|
+
_min_seconds?: number;
|
|
22360
|
+
};
|
|
22361
|
+
Returns: Json;
|
|
22362
|
+
};
|
|
21065
22363
|
pickstation_get_orders_raw: {
|
|
21066
22364
|
Args: never;
|
|
21067
22365
|
Returns: Json;
|
|
@@ -21123,6 +22421,37 @@ export type Database = {
|
|
|
21123
22421
|
};
|
|
21124
22422
|
Returns: undefined;
|
|
21125
22423
|
};
|
|
22424
|
+
quote_create_from_source: {
|
|
22425
|
+
Args: {
|
|
22426
|
+
_payload?: Json;
|
|
22427
|
+
_source_id: string;
|
|
22428
|
+
_source_type: string;
|
|
22429
|
+
};
|
|
22430
|
+
Returns: string;
|
|
22431
|
+
};
|
|
22432
|
+
quote_get_billable_lines: {
|
|
22433
|
+
Args: {
|
|
22434
|
+
_quotation_id: string;
|
|
22435
|
+
};
|
|
22436
|
+
Returns: Json;
|
|
22437
|
+
};
|
|
22438
|
+
quote_get_summary: {
|
|
22439
|
+
Args: {
|
|
22440
|
+
_quotation_id: string;
|
|
22441
|
+
};
|
|
22442
|
+
Returns: Json;
|
|
22443
|
+
};
|
|
22444
|
+
quote_list_packages: {
|
|
22445
|
+
Args: never;
|
|
22446
|
+
Returns: Json;
|
|
22447
|
+
};
|
|
22448
|
+
quote_list_sources: {
|
|
22449
|
+
Args: {
|
|
22450
|
+
_limit?: number;
|
|
22451
|
+
_source_type?: string;
|
|
22452
|
+
};
|
|
22453
|
+
Returns: Json;
|
|
22454
|
+
};
|
|
21126
22455
|
recompute_all_reserved_stock: {
|
|
21127
22456
|
Args: never;
|
|
21128
22457
|
Returns: undefined;
|
|
@@ -21176,6 +22505,12 @@ export type Database = {
|
|
|
21176
22505
|
};
|
|
21177
22506
|
Returns: boolean;
|
|
21178
22507
|
};
|
|
22508
|
+
release_stale_order_invoice_links: {
|
|
22509
|
+
Args: {
|
|
22510
|
+
_minutes?: number;
|
|
22511
|
+
};
|
|
22512
|
+
Returns: number;
|
|
22513
|
+
};
|
|
21179
22514
|
reorder_customer_price_groups: {
|
|
21180
22515
|
Args: {
|
|
21181
22516
|
_ids: string[];
|
|
@@ -21614,6 +22949,16 @@ export type Database = {
|
|
|
21614
22949
|
};
|
|
21615
22950
|
Returns: string[];
|
|
21616
22951
|
};
|
|
22952
|
+
switch_time_log: {
|
|
22953
|
+
Args: {
|
|
22954
|
+
p_employee_id: string;
|
|
22955
|
+
p_start_lat?: number;
|
|
22956
|
+
p_start_lng?: number;
|
|
22957
|
+
p_type: string;
|
|
22958
|
+
p_work_order_id?: string;
|
|
22959
|
+
};
|
|
22960
|
+
Returns: Json;
|
|
22961
|
+
};
|
|
21617
22962
|
sync_all_layer_stocks: {
|
|
21618
22963
|
Args: never;
|
|
21619
22964
|
Returns: undefined;
|
|
@@ -21648,6 +22993,12 @@ export type Database = {
|
|
|
21648
22993
|
};
|
|
21649
22994
|
Returns: undefined;
|
|
21650
22995
|
};
|
|
22996
|
+
sync_sick_time_off: {
|
|
22997
|
+
Args: {
|
|
22998
|
+
_period_id: string;
|
|
22999
|
+
};
|
|
23000
|
+
Returns: number;
|
|
23001
|
+
};
|
|
21651
23002
|
trade_item_stock_duplicates: {
|
|
21652
23003
|
Args: never;
|
|
21653
23004
|
Returns: {
|
|
@@ -21664,6 +23015,38 @@ export type Database = {
|
|
|
21664
23015
|
};
|
|
21665
23016
|
Returns: boolean;
|
|
21666
23017
|
};
|
|
23018
|
+
twinfield_cron_lock_acquire: {
|
|
23019
|
+
Args: {
|
|
23020
|
+
_job_name: string;
|
|
23021
|
+
_stale_seconds?: number;
|
|
23022
|
+
};
|
|
23023
|
+
Returns: boolean;
|
|
23024
|
+
};
|
|
23025
|
+
twinfield_cron_lock_release: {
|
|
23026
|
+
Args: {
|
|
23027
|
+
_error?: string;
|
|
23028
|
+
_job_name: string;
|
|
23029
|
+
};
|
|
23030
|
+
Returns: undefined;
|
|
23031
|
+
};
|
|
23032
|
+
twinfield_deactivate_connection: {
|
|
23033
|
+
Args: {
|
|
23034
|
+
p_connection_id: string;
|
|
23035
|
+
p_user_id: string;
|
|
23036
|
+
};
|
|
23037
|
+
Returns: Json;
|
|
23038
|
+
};
|
|
23039
|
+
twinfield_handle_administration_change: {
|
|
23040
|
+
Args: {
|
|
23041
|
+
_administration_code: string;
|
|
23042
|
+
_user_id: string;
|
|
23043
|
+
};
|
|
23044
|
+
Returns: undefined;
|
|
23045
|
+
};
|
|
23046
|
+
twinfield_prune_push_queue: {
|
|
23047
|
+
Args: never;
|
|
23048
|
+
Returns: number;
|
|
23049
|
+
};
|
|
21667
23050
|
twinfield_register_cron: {
|
|
21668
23051
|
Args: {
|
|
21669
23052
|
apikey?: string;
|
|
@@ -21679,10 +23062,11 @@ export type Database = {
|
|
|
21679
23062
|
p_company_name?: string;
|
|
21680
23063
|
p_environment: string;
|
|
21681
23064
|
p_office_code?: string;
|
|
23065
|
+
p_reset_sync?: boolean;
|
|
21682
23066
|
p_status?: string;
|
|
21683
23067
|
p_user_id: string;
|
|
21684
23068
|
};
|
|
21685
|
-
Returns:
|
|
23069
|
+
Returns: Json;
|
|
21686
23070
|
};
|
|
21687
23071
|
upsert_auto_fulfillment_log: {
|
|
21688
23072
|
Args: {
|
|
@@ -21703,11 +23087,31 @@ export type Database = {
|
|
|
21703
23087
|
Args: never;
|
|
21704
23088
|
Returns: string;
|
|
21705
23089
|
};
|
|
23090
|
+
wo_create_from_source: {
|
|
23091
|
+
Args: {
|
|
23092
|
+
_payload?: Json;
|
|
23093
|
+
_source_id: string;
|
|
23094
|
+
_source_type: string;
|
|
23095
|
+
};
|
|
23096
|
+
Returns: string;
|
|
23097
|
+
};
|
|
23098
|
+
wo_get_billable_lines: {
|
|
23099
|
+
Args: {
|
|
23100
|
+
_work_order_id: string;
|
|
23101
|
+
};
|
|
23102
|
+
Returns: Json;
|
|
23103
|
+
};
|
|
23104
|
+
wo_get_summary: {
|
|
23105
|
+
Args: {
|
|
23106
|
+
_work_order_id: string;
|
|
23107
|
+
};
|
|
23108
|
+
Returns: Json;
|
|
23109
|
+
};
|
|
21706
23110
|
};
|
|
21707
23111
|
Enums: {
|
|
21708
23112
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|
|
21709
23113
|
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
|
|
21710
|
-
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
|
|
23114
|
+
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon" | "veilingbon" | "afleverbrief" | "veilingbrief";
|
|
21711
23115
|
doc_orientation: "portrait" | "landscape";
|
|
21712
23116
|
exact_env: "staging" | "live";
|
|
21713
23117
|
exact_push_status: "pending" | "sent" | "error";
|
|
@@ -21778,7 +23182,7 @@ export declare const Constants: {
|
|
|
21778
23182
|
readonly Enums: {
|
|
21779
23183
|
readonly ai_import_status: readonly ["nieuw", "verwerken", "bevestigen", "klaar", "mislukt"];
|
|
21780
23184
|
readonly app_role: readonly ["admin", "planner", "monteur", "administratie", "ai_admin", "manager", "warehouse", "sales", "developer", "receptie"];
|
|
21781
|
-
readonly doc_layout_type: readonly ["pakbon", "factuur", "offerte", "orderbevestiging", "etiket", "verzendlabel", "productlabel", "barcode_label", "magazijnlijst", "controlelijst", "transportdocument", "vrij", "sticker", "productiebon"];
|
|
23185
|
+
readonly doc_layout_type: readonly ["pakbon", "factuur", "offerte", "orderbevestiging", "etiket", "verzendlabel", "productlabel", "barcode_label", "magazijnlijst", "controlelijst", "transportdocument", "vrij", "sticker", "productiebon", "veilingbon", "afleverbrief", "veilingbrief"];
|
|
21782
23186
|
readonly doc_orientation: readonly ["portrait", "landscape"];
|
|
21783
23187
|
readonly exact_env: readonly ["staging", "live"];
|
|
21784
23188
|
readonly exact_push_status: readonly ["pending", "sent", "error"];
|