@flowselections/layout-maker 1.8.0 → 1.8.2

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.
@@ -5044,6 +5044,42 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
5044
5044
  };
5045
5045
  Relationships: [];
5046
5046
  };
5047
+ facturen: {
5048
+ Row: {
5049
+ bedrag_incl_btw: number;
5050
+ created_at: string;
5051
+ datum: string;
5052
+ factuurnummer: string;
5053
+ id: string;
5054
+ klantnaam: string;
5055
+ status: string;
5056
+ updated_at: string;
5057
+ user_id: string;
5058
+ };
5059
+ Insert: {
5060
+ bedrag_incl_btw: number;
5061
+ created_at?: string;
5062
+ datum?: string;
5063
+ factuurnummer: string;
5064
+ id?: string;
5065
+ klantnaam: string;
5066
+ status?: string;
5067
+ updated_at?: string;
5068
+ user_id?: string;
5069
+ };
5070
+ Update: {
5071
+ bedrag_incl_btw?: number;
5072
+ created_at?: string;
5073
+ datum?: string;
5074
+ factuurnummer?: string;
5075
+ id?: string;
5076
+ klantnaam?: string;
5077
+ status?: string;
5078
+ updated_at?: string;
5079
+ user_id?: string;
5080
+ };
5081
+ Relationships: [];
5082
+ };
5047
5083
  floricode_connection_settings: {
5048
5084
  Row: {
5049
5085
  catalog_key: string | null;
@@ -7907,6 +7943,9 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
7907
7943
  omschrijving: string;
7908
7944
  rejected_at: string | null;
7909
7945
  sent_at: string | null;
7946
+ source_number: string | null;
7947
+ source_ref: string | null;
7948
+ source_type: string;
7910
7949
  status: string;
7911
7950
  subtotal_cents: number;
7912
7951
  total_cents: number;
@@ -7937,6 +7976,9 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
7937
7976
  omschrijving?: string;
7938
7977
  rejected_at?: string | null;
7939
7978
  sent_at?: string | null;
7979
+ source_number?: string | null;
7980
+ source_ref?: string | null;
7981
+ source_type?: string;
7940
7982
  status?: string;
7941
7983
  subtotal_cents?: number;
7942
7984
  total_cents?: number;
@@ -7967,6 +8009,9 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
7967
8009
  omschrijving?: string;
7968
8010
  rejected_at?: string | null;
7969
8011
  sent_at?: string | null;
8012
+ source_number?: string | null;
8013
+ source_ref?: string | null;
8014
+ source_type?: string;
7970
8015
  status?: string;
7971
8016
  subtotal_cents?: number;
7972
8017
  total_cents?: number;
@@ -10384,6 +10429,63 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
10384
10429
  referencedColumns: ["id"];
10385
10430
  }];
10386
10431
  };
10432
+ medewerker_details: {
10433
+ Row: {
10434
+ color: string | null;
10435
+ created_at: string;
10436
+ hours_fri: number | null;
10437
+ hours_mon: number | null;
10438
+ hours_thu: number | null;
10439
+ hours_tue: number | null;
10440
+ hours_wed: number | null;
10441
+ id: string;
10442
+ is_active: boolean;
10443
+ leave_balance_hours: number;
10444
+ persnr: string | null;
10445
+ phone: string | null;
10446
+ profile_id: string;
10447
+ updated_at: string;
10448
+ };
10449
+ Insert: {
10450
+ color?: string | null;
10451
+ created_at?: string;
10452
+ hours_fri?: number | null;
10453
+ hours_mon?: number | null;
10454
+ hours_thu?: number | null;
10455
+ hours_tue?: number | null;
10456
+ hours_wed?: number | null;
10457
+ id?: string;
10458
+ is_active?: boolean;
10459
+ leave_balance_hours?: number;
10460
+ persnr?: string | null;
10461
+ phone?: string | null;
10462
+ profile_id: string;
10463
+ updated_at?: string;
10464
+ };
10465
+ Update: {
10466
+ color?: string | null;
10467
+ created_at?: string;
10468
+ hours_fri?: number | null;
10469
+ hours_mon?: number | null;
10470
+ hours_thu?: number | null;
10471
+ hours_tue?: number | null;
10472
+ hours_wed?: number | null;
10473
+ id?: string;
10474
+ is_active?: boolean;
10475
+ leave_balance_hours?: number;
10476
+ persnr?: string | null;
10477
+ phone?: string | null;
10478
+ profile_id?: string;
10479
+ updated_at?: string;
10480
+ };
10481
+ Relationships: [{
10482
+ foreignKeyName: "medewerker_details_profile_id_fkey";
10483
+ columns: ["profile_id"];
10484
+ isOneToOne: true;
10485
+ referencedRelation: "profiles";
10486
+ referencedColumns: ["id"];
10487
+ }];
10488
+ };
10387
10489
  module_features: {
10388
10490
  Row: {
10389
10491
  created_at: string;
@@ -13783,6 +13885,66 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
13783
13885
  };
13784
13886
  Relationships: [];
13785
13887
  };
13888
+ profile_modules: {
13889
+ Row: {
13890
+ created_at: string;
13891
+ id: string;
13892
+ module_id: string;
13893
+ profile_id: string;
13894
+ };
13895
+ Insert: {
13896
+ created_at?: string;
13897
+ id?: string;
13898
+ module_id: string;
13899
+ profile_id: string;
13900
+ };
13901
+ Update: {
13902
+ created_at?: string;
13903
+ id?: string;
13904
+ module_id?: string;
13905
+ profile_id?: string;
13906
+ };
13907
+ Relationships: [{
13908
+ foreignKeyName: "profile_modules_profile_id_fkey";
13909
+ columns: ["profile_id"];
13910
+ isOneToOne: false;
13911
+ referencedRelation: "profiles_org";
13912
+ referencedColumns: ["id"];
13913
+ }];
13914
+ };
13915
+ profile_roles: {
13916
+ Row: {
13917
+ created_at: string;
13918
+ id: string;
13919
+ profile_id: string;
13920
+ role_id: string;
13921
+ };
13922
+ Insert: {
13923
+ created_at?: string;
13924
+ id?: string;
13925
+ profile_id: string;
13926
+ role_id: string;
13927
+ };
13928
+ Update: {
13929
+ created_at?: string;
13930
+ id?: string;
13931
+ profile_id?: string;
13932
+ role_id?: string;
13933
+ };
13934
+ Relationships: [{
13935
+ foreignKeyName: "profile_roles_profile_id_fkey";
13936
+ columns: ["profile_id"];
13937
+ isOneToOne: false;
13938
+ referencedRelation: "profiles_org";
13939
+ referencedColumns: ["id"];
13940
+ }, {
13941
+ foreignKeyName: "profile_roles_role_id_fkey";
13942
+ columns: ["role_id"];
13943
+ isOneToOne: false;
13944
+ referencedRelation: "roles";
13945
+ referencedColumns: ["id"];
13946
+ }];
13947
+ };
13786
13948
  profiles: {
13787
13949
  Row: {
13788
13950
  address: string | null;
@@ -13828,6 +13990,39 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
13828
13990
  referencedColumns: ["id"];
13829
13991
  }];
13830
13992
  };
13993
+ profiles_org: {
13994
+ Row: {
13995
+ created_at: string;
13996
+ id: string;
13997
+ is_default: boolean;
13998
+ name: string;
13999
+ tenant_id: string | null;
14000
+ updated_at: string;
14001
+ };
14002
+ Insert: {
14003
+ created_at?: string;
14004
+ id?: string;
14005
+ is_default?: boolean;
14006
+ name: string;
14007
+ tenant_id?: string | null;
14008
+ updated_at?: string;
14009
+ };
14010
+ Update: {
14011
+ created_at?: string;
14012
+ id?: string;
14013
+ is_default?: boolean;
14014
+ name?: string;
14015
+ tenant_id?: string | null;
14016
+ updated_at?: string;
14017
+ };
14018
+ Relationships: [{
14019
+ foreignKeyName: "profiles_org_tenant_id_fkey";
14020
+ columns: ["tenant_id"];
14021
+ isOneToOne: false;
14022
+ referencedRelation: "tenants";
14023
+ referencedColumns: ["id"];
14024
+ }];
14025
+ };
13831
14026
  projects: {
13832
14027
  Row: {
13833
14028
  contact_name: string | null;
@@ -15034,6 +15229,42 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
15034
15229
  };
15035
15230
  Relationships: [];
15036
15231
  };
15232
+ sick_periods: {
15233
+ Row: {
15234
+ created_at: string;
15235
+ employee_id: string;
15236
+ end_date: string | null;
15237
+ id: string;
15238
+ notes: string | null;
15239
+ start_date: string;
15240
+ updated_at: string;
15241
+ };
15242
+ Insert: {
15243
+ created_at?: string;
15244
+ employee_id: string;
15245
+ end_date?: string | null;
15246
+ id?: string;
15247
+ notes?: string | null;
15248
+ start_date: string;
15249
+ updated_at?: string;
15250
+ };
15251
+ Update: {
15252
+ created_at?: string;
15253
+ employee_id?: string;
15254
+ end_date?: string | null;
15255
+ id?: string;
15256
+ notes?: string | null;
15257
+ start_date?: string;
15258
+ updated_at?: string;
15259
+ };
15260
+ Relationships: [{
15261
+ foreignKeyName: "sick_periods_employee_id_fkey";
15262
+ columns: ["employee_id"];
15263
+ isOneToOne: false;
15264
+ referencedRelation: "profiles";
15265
+ referencedColumns: ["id"];
15266
+ }];
15267
+ };
15037
15268
  sidebar_config: {
15038
15269
  Row: {
15039
15270
  id: string;
@@ -16228,7 +16459,6 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
16228
16459
  invoice_enabled_mo: boolean;
16229
16460
  payment_gl_account: string;
16230
16461
  payment_journal_code: string;
16231
- print_werkplek: string | null;
16232
16462
  updated_at: string;
16233
16463
  user_id: string;
16234
16464
  vat_code_eu_reverse: string | null;
@@ -16251,7 +16481,6 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
16251
16481
  invoice_enabled_mo?: boolean;
16252
16482
  payment_gl_account?: string;
16253
16483
  payment_journal_code?: string;
16254
- print_werkplek?: string | null;
16255
16484
  updated_at?: string;
16256
16485
  user_id: string;
16257
16486
  vat_code_eu_reverse?: string | null;
@@ -16274,7 +16503,6 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
16274
16503
  invoice_enabled_mo?: boolean;
16275
16504
  payment_gl_account?: string;
16276
16505
  payment_journal_code?: string;
16277
- print_werkplek?: string | null;
16278
16506
  updated_at?: string;
16279
16507
  user_id?: string;
16280
16508
  vat_code_eu_reverse?: string | null;
@@ -19721,6 +19949,13 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
19721
19949
  };
19722
19950
  Returns: string;
19723
19951
  };
19952
+ employee_day_hours: {
19953
+ Args: {
19954
+ _day: string;
19955
+ _employee_id: string;
19956
+ };
19957
+ Returns: number;
19958
+ };
19724
19959
  enqueue_cart_replan_if_unlocked: {
19725
19960
  Args: {
19726
19961
  p_order_id: string;
@@ -20097,9 +20332,19 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
20097
20332
  Args: never;
20098
20333
  Returns: {
20099
20334
  avatar_url: string;
20335
+ color: string;
20100
20336
  display_name: string;
20101
20337
  email: string;
20338
+ hours_fri: number;
20339
+ hours_mon: number;
20340
+ hours_thu: number;
20341
+ hours_tue: number;
20342
+ hours_wed: number;
20102
20343
  id: string;
20344
+ is_active: boolean;
20345
+ leave_balance_hours: number;
20346
+ persnr: string;
20347
+ phone: string;
20103
20348
  roles: string[];
20104
20349
  }[];
20105
20350
  };
@@ -21270,6 +21515,37 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
21270
21515
  };
21271
21516
  Returns: undefined;
21272
21517
  };
21518
+ quote_create_from_source: {
21519
+ Args: {
21520
+ _payload?: import("../integrations/supabase/types.js").Json;
21521
+ _source_id: string;
21522
+ _source_type: string;
21523
+ };
21524
+ Returns: string;
21525
+ };
21526
+ quote_get_billable_lines: {
21527
+ Args: {
21528
+ _quotation_id: string;
21529
+ };
21530
+ Returns: import("../integrations/supabase/types.js").Json;
21531
+ };
21532
+ quote_get_summary: {
21533
+ Args: {
21534
+ _quotation_id: string;
21535
+ };
21536
+ Returns: import("../integrations/supabase/types.js").Json;
21537
+ };
21538
+ quote_list_packages: {
21539
+ Args: never;
21540
+ Returns: import("../integrations/supabase/types.js").Json;
21541
+ };
21542
+ quote_list_sources: {
21543
+ Args: {
21544
+ _limit?: number;
21545
+ _source_type?: string;
21546
+ };
21547
+ Returns: import("../integrations/supabase/types.js").Json;
21548
+ };
21273
21549
  recompute_all_reserved_stock: {
21274
21550
  Args: never;
21275
21551
  Returns: undefined;
@@ -21805,6 +22081,12 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
21805
22081
  };
21806
22082
  Returns: undefined;
21807
22083
  };
22084
+ sync_sick_time_off: {
22085
+ Args: {
22086
+ _period_id: string;
22087
+ };
22088
+ Returns: number;
22089
+ };
21808
22090
  trade_item_stock_duplicates: {
21809
22091
  Args: never;
21810
22092
  Returns: {
@@ -21878,6 +22160,26 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
21878
22160
  Args: never;
21879
22161
  Returns: string;
21880
22162
  };
22163
+ wo_create_from_source: {
22164
+ Args: {
22165
+ _payload?: import("../integrations/supabase/types.js").Json;
22166
+ _source_id: string;
22167
+ _source_type: string;
22168
+ };
22169
+ Returns: string;
22170
+ };
22171
+ wo_get_billable_lines: {
22172
+ Args: {
22173
+ _work_order_id: string;
22174
+ };
22175
+ Returns: import("../integrations/supabase/types.js").Json;
22176
+ };
22177
+ wo_get_summary: {
22178
+ Args: {
22179
+ _work_order_id: string;
22180
+ };
22181
+ Returns: import("../integrations/supabase/types.js").Json;
22182
+ };
21881
22183
  };
21882
22184
  Enums: {
21883
22185
  ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
@@ -26955,6 +27257,42 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
26955
27257
  };
26956
27258
  Relationships: [];
26957
27259
  };
27260
+ facturen: {
27261
+ Row: {
27262
+ bedrag_incl_btw: number;
27263
+ created_at: string;
27264
+ datum: string;
27265
+ factuurnummer: string;
27266
+ id: string;
27267
+ klantnaam: string;
27268
+ status: string;
27269
+ updated_at: string;
27270
+ user_id: string;
27271
+ };
27272
+ Insert: {
27273
+ bedrag_incl_btw: number;
27274
+ created_at?: string;
27275
+ datum?: string;
27276
+ factuurnummer: string;
27277
+ id?: string;
27278
+ klantnaam: string;
27279
+ status?: string;
27280
+ updated_at?: string;
27281
+ user_id?: string;
27282
+ };
27283
+ Update: {
27284
+ bedrag_incl_btw?: number;
27285
+ created_at?: string;
27286
+ datum?: string;
27287
+ factuurnummer?: string;
27288
+ id?: string;
27289
+ klantnaam?: string;
27290
+ status?: string;
27291
+ updated_at?: string;
27292
+ user_id?: string;
27293
+ };
27294
+ Relationships: [];
27295
+ };
26958
27296
  floricode_connection_settings: {
26959
27297
  Row: {
26960
27298
  catalog_key: string | null;
@@ -29818,6 +30156,9 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
29818
30156
  omschrijving: string;
29819
30157
  rejected_at: string | null;
29820
30158
  sent_at: string | null;
30159
+ source_number: string | null;
30160
+ source_ref: string | null;
30161
+ source_type: string;
29821
30162
  status: string;
29822
30163
  subtotal_cents: number;
29823
30164
  total_cents: number;
@@ -29848,6 +30189,9 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
29848
30189
  omschrijving?: string;
29849
30190
  rejected_at?: string | null;
29850
30191
  sent_at?: string | null;
30192
+ source_number?: string | null;
30193
+ source_ref?: string | null;
30194
+ source_type?: string;
29851
30195
  status?: string;
29852
30196
  subtotal_cents?: number;
29853
30197
  total_cents?: number;
@@ -29878,6 +30222,9 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
29878
30222
  omschrijving?: string;
29879
30223
  rejected_at?: string | null;
29880
30224
  sent_at?: string | null;
30225
+ source_number?: string | null;
30226
+ source_ref?: string | null;
30227
+ source_type?: string;
29881
30228
  status?: string;
29882
30229
  subtotal_cents?: number;
29883
30230
  total_cents?: number;
@@ -32295,6 +32642,63 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
32295
32642
  referencedColumns: ["id"];
32296
32643
  }];
32297
32644
  };
32645
+ medewerker_details: {
32646
+ Row: {
32647
+ color: string | null;
32648
+ created_at: string;
32649
+ hours_fri: number | null;
32650
+ hours_mon: number | null;
32651
+ hours_thu: number | null;
32652
+ hours_tue: number | null;
32653
+ hours_wed: number | null;
32654
+ id: string;
32655
+ is_active: boolean;
32656
+ leave_balance_hours: number;
32657
+ persnr: string | null;
32658
+ phone: string | null;
32659
+ profile_id: string;
32660
+ updated_at: string;
32661
+ };
32662
+ Insert: {
32663
+ color?: string | null;
32664
+ created_at?: string;
32665
+ hours_fri?: number | null;
32666
+ hours_mon?: number | null;
32667
+ hours_thu?: number | null;
32668
+ hours_tue?: number | null;
32669
+ hours_wed?: number | null;
32670
+ id?: string;
32671
+ is_active?: boolean;
32672
+ leave_balance_hours?: number;
32673
+ persnr?: string | null;
32674
+ phone?: string | null;
32675
+ profile_id: string;
32676
+ updated_at?: string;
32677
+ };
32678
+ Update: {
32679
+ color?: string | null;
32680
+ created_at?: string;
32681
+ hours_fri?: number | null;
32682
+ hours_mon?: number | null;
32683
+ hours_thu?: number | null;
32684
+ hours_tue?: number | null;
32685
+ hours_wed?: number | null;
32686
+ id?: string;
32687
+ is_active?: boolean;
32688
+ leave_balance_hours?: number;
32689
+ persnr?: string | null;
32690
+ phone?: string | null;
32691
+ profile_id?: string;
32692
+ updated_at?: string;
32693
+ };
32694
+ Relationships: [{
32695
+ foreignKeyName: "medewerker_details_profile_id_fkey";
32696
+ columns: ["profile_id"];
32697
+ isOneToOne: true;
32698
+ referencedRelation: "profiles";
32699
+ referencedColumns: ["id"];
32700
+ }];
32701
+ };
32298
32702
  module_features: {
32299
32703
  Row: {
32300
32704
  created_at: string;
@@ -35694,6 +36098,66 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
35694
36098
  };
35695
36099
  Relationships: [];
35696
36100
  };
36101
+ profile_modules: {
36102
+ Row: {
36103
+ created_at: string;
36104
+ id: string;
36105
+ module_id: string;
36106
+ profile_id: string;
36107
+ };
36108
+ Insert: {
36109
+ created_at?: string;
36110
+ id?: string;
36111
+ module_id: string;
36112
+ profile_id: string;
36113
+ };
36114
+ Update: {
36115
+ created_at?: string;
36116
+ id?: string;
36117
+ module_id?: string;
36118
+ profile_id?: string;
36119
+ };
36120
+ Relationships: [{
36121
+ foreignKeyName: "profile_modules_profile_id_fkey";
36122
+ columns: ["profile_id"];
36123
+ isOneToOne: false;
36124
+ referencedRelation: "profiles_org";
36125
+ referencedColumns: ["id"];
36126
+ }];
36127
+ };
36128
+ profile_roles: {
36129
+ Row: {
36130
+ created_at: string;
36131
+ id: string;
36132
+ profile_id: string;
36133
+ role_id: string;
36134
+ };
36135
+ Insert: {
36136
+ created_at?: string;
36137
+ id?: string;
36138
+ profile_id: string;
36139
+ role_id: string;
36140
+ };
36141
+ Update: {
36142
+ created_at?: string;
36143
+ id?: string;
36144
+ profile_id?: string;
36145
+ role_id?: string;
36146
+ };
36147
+ Relationships: [{
36148
+ foreignKeyName: "profile_roles_profile_id_fkey";
36149
+ columns: ["profile_id"];
36150
+ isOneToOne: false;
36151
+ referencedRelation: "profiles_org";
36152
+ referencedColumns: ["id"];
36153
+ }, {
36154
+ foreignKeyName: "profile_roles_role_id_fkey";
36155
+ columns: ["role_id"];
36156
+ isOneToOne: false;
36157
+ referencedRelation: "roles";
36158
+ referencedColumns: ["id"];
36159
+ }];
36160
+ };
35697
36161
  profiles: {
35698
36162
  Row: {
35699
36163
  address: string | null;
@@ -35739,6 +36203,39 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
35739
36203
  referencedColumns: ["id"];
35740
36204
  }];
35741
36205
  };
36206
+ profiles_org: {
36207
+ Row: {
36208
+ created_at: string;
36209
+ id: string;
36210
+ is_default: boolean;
36211
+ name: string;
36212
+ tenant_id: string | null;
36213
+ updated_at: string;
36214
+ };
36215
+ Insert: {
36216
+ created_at?: string;
36217
+ id?: string;
36218
+ is_default?: boolean;
36219
+ name: string;
36220
+ tenant_id?: string | null;
36221
+ updated_at?: string;
36222
+ };
36223
+ Update: {
36224
+ created_at?: string;
36225
+ id?: string;
36226
+ is_default?: boolean;
36227
+ name?: string;
36228
+ tenant_id?: string | null;
36229
+ updated_at?: string;
36230
+ };
36231
+ Relationships: [{
36232
+ foreignKeyName: "profiles_org_tenant_id_fkey";
36233
+ columns: ["tenant_id"];
36234
+ isOneToOne: false;
36235
+ referencedRelation: "tenants";
36236
+ referencedColumns: ["id"];
36237
+ }];
36238
+ };
35742
36239
  projects: {
35743
36240
  Row: {
35744
36241
  contact_name: string | null;
@@ -36945,6 +37442,42 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
36945
37442
  };
36946
37443
  Relationships: [];
36947
37444
  };
37445
+ sick_periods: {
37446
+ Row: {
37447
+ created_at: string;
37448
+ employee_id: string;
37449
+ end_date: string | null;
37450
+ id: string;
37451
+ notes: string | null;
37452
+ start_date: string;
37453
+ updated_at: string;
37454
+ };
37455
+ Insert: {
37456
+ created_at?: string;
37457
+ employee_id: string;
37458
+ end_date?: string | null;
37459
+ id?: string;
37460
+ notes?: string | null;
37461
+ start_date: string;
37462
+ updated_at?: string;
37463
+ };
37464
+ Update: {
37465
+ created_at?: string;
37466
+ employee_id?: string;
37467
+ end_date?: string | null;
37468
+ id?: string;
37469
+ notes?: string | null;
37470
+ start_date?: string;
37471
+ updated_at?: string;
37472
+ };
37473
+ Relationships: [{
37474
+ foreignKeyName: "sick_periods_employee_id_fkey";
37475
+ columns: ["employee_id"];
37476
+ isOneToOne: false;
37477
+ referencedRelation: "profiles";
37478
+ referencedColumns: ["id"];
37479
+ }];
37480
+ };
36948
37481
  sidebar_config: {
36949
37482
  Row: {
36950
37483
  id: string;
@@ -38139,7 +38672,6 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
38139
38672
  invoice_enabled_mo: boolean;
38140
38673
  payment_gl_account: string;
38141
38674
  payment_journal_code: string;
38142
- print_werkplek: string | null;
38143
38675
  updated_at: string;
38144
38676
  user_id: string;
38145
38677
  vat_code_eu_reverse: string | null;
@@ -38162,7 +38694,6 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
38162
38694
  invoice_enabled_mo?: boolean;
38163
38695
  payment_gl_account?: string;
38164
38696
  payment_journal_code?: string;
38165
- print_werkplek?: string | null;
38166
38697
  updated_at?: string;
38167
38698
  user_id: string;
38168
38699
  vat_code_eu_reverse?: string | null;
@@ -38185,7 +38716,6 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
38185
38716
  invoice_enabled_mo?: boolean;
38186
38717
  payment_gl_account?: string;
38187
38718
  payment_journal_code?: string;
38188
- print_werkplek?: string | null;
38189
38719
  updated_at?: string;
38190
38720
  user_id?: string;
38191
38721
  vat_code_eu_reverse?: string | null;
@@ -41632,6 +42162,13 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
41632
42162
  };
41633
42163
  Returns: string;
41634
42164
  };
42165
+ employee_day_hours: {
42166
+ Args: {
42167
+ _day: string;
42168
+ _employee_id: string;
42169
+ };
42170
+ Returns: number;
42171
+ };
41635
42172
  enqueue_cart_replan_if_unlocked: {
41636
42173
  Args: {
41637
42174
  p_order_id: string;
@@ -42008,9 +42545,19 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
42008
42545
  Args: never;
42009
42546
  Returns: {
42010
42547
  avatar_url: string;
42548
+ color: string;
42011
42549
  display_name: string;
42012
42550
  email: string;
42551
+ hours_fri: number;
42552
+ hours_mon: number;
42553
+ hours_thu: number;
42554
+ hours_tue: number;
42555
+ hours_wed: number;
42013
42556
  id: string;
42557
+ is_active: boolean;
42558
+ leave_balance_hours: number;
42559
+ persnr: string;
42560
+ phone: string;
42014
42561
  roles: string[];
42015
42562
  }[];
42016
42563
  };
@@ -43181,6 +43728,37 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
43181
43728
  };
43182
43729
  Returns: undefined;
43183
43730
  };
43731
+ quote_create_from_source: {
43732
+ Args: {
43733
+ _payload?: import("../integrations/supabase/types.js").Json;
43734
+ _source_id: string;
43735
+ _source_type: string;
43736
+ };
43737
+ Returns: string;
43738
+ };
43739
+ quote_get_billable_lines: {
43740
+ Args: {
43741
+ _quotation_id: string;
43742
+ };
43743
+ Returns: import("../integrations/supabase/types.js").Json;
43744
+ };
43745
+ quote_get_summary: {
43746
+ Args: {
43747
+ _quotation_id: string;
43748
+ };
43749
+ Returns: import("../integrations/supabase/types.js").Json;
43750
+ };
43751
+ quote_list_packages: {
43752
+ Args: never;
43753
+ Returns: import("../integrations/supabase/types.js").Json;
43754
+ };
43755
+ quote_list_sources: {
43756
+ Args: {
43757
+ _limit?: number;
43758
+ _source_type?: string;
43759
+ };
43760
+ Returns: import("../integrations/supabase/types.js").Json;
43761
+ };
43184
43762
  recompute_all_reserved_stock: {
43185
43763
  Args: never;
43186
43764
  Returns: undefined;
@@ -43716,6 +44294,12 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
43716
44294
  };
43717
44295
  Returns: undefined;
43718
44296
  };
44297
+ sync_sick_time_off: {
44298
+ Args: {
44299
+ _period_id: string;
44300
+ };
44301
+ Returns: number;
44302
+ };
43719
44303
  trade_item_stock_duplicates: {
43720
44304
  Args: never;
43721
44305
  Returns: {
@@ -43789,6 +44373,26 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
43789
44373
  Args: never;
43790
44374
  Returns: string;
43791
44375
  };
44376
+ wo_create_from_source: {
44377
+ Args: {
44378
+ _payload?: import("../integrations/supabase/types.js").Json;
44379
+ _source_id: string;
44380
+ _source_type: string;
44381
+ };
44382
+ Returns: string;
44383
+ };
44384
+ wo_get_billable_lines: {
44385
+ Args: {
44386
+ _work_order_id: string;
44387
+ };
44388
+ Returns: import("../integrations/supabase/types.js").Json;
44389
+ };
44390
+ wo_get_summary: {
44391
+ Args: {
44392
+ _work_order_id: string;
44393
+ };
44394
+ Returns: import("../integrations/supabase/types.js").Json;
44395
+ };
43792
44396
  };
43793
44397
  Enums: {
43794
44398
  ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
@@ -48876,6 +49480,42 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
48876
49480
  };
48877
49481
  Relationships: [];
48878
49482
  };
49483
+ facturen: {
49484
+ Row: {
49485
+ bedrag_incl_btw: number;
49486
+ created_at: string;
49487
+ datum: string;
49488
+ factuurnummer: string;
49489
+ id: string;
49490
+ klantnaam: string;
49491
+ status: string;
49492
+ updated_at: string;
49493
+ user_id: string;
49494
+ };
49495
+ Insert: {
49496
+ bedrag_incl_btw: number;
49497
+ created_at?: string;
49498
+ datum?: string;
49499
+ factuurnummer: string;
49500
+ id?: string;
49501
+ klantnaam: string;
49502
+ status?: string;
49503
+ updated_at?: string;
49504
+ user_id?: string;
49505
+ };
49506
+ Update: {
49507
+ bedrag_incl_btw?: number;
49508
+ created_at?: string;
49509
+ datum?: string;
49510
+ factuurnummer?: string;
49511
+ id?: string;
49512
+ klantnaam?: string;
49513
+ status?: string;
49514
+ updated_at?: string;
49515
+ user_id?: string;
49516
+ };
49517
+ Relationships: [];
49518
+ };
48879
49519
  floricode_connection_settings: {
48880
49520
  Row: {
48881
49521
  catalog_key: string | null;
@@ -51739,6 +52379,9 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
51739
52379
  omschrijving: string;
51740
52380
  rejected_at: string | null;
51741
52381
  sent_at: string | null;
52382
+ source_number: string | null;
52383
+ source_ref: string | null;
52384
+ source_type: string;
51742
52385
  status: string;
51743
52386
  subtotal_cents: number;
51744
52387
  total_cents: number;
@@ -51769,6 +52412,9 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
51769
52412
  omschrijving?: string;
51770
52413
  rejected_at?: string | null;
51771
52414
  sent_at?: string | null;
52415
+ source_number?: string | null;
52416
+ source_ref?: string | null;
52417
+ source_type?: string;
51772
52418
  status?: string;
51773
52419
  subtotal_cents?: number;
51774
52420
  total_cents?: number;
@@ -51799,6 +52445,9 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
51799
52445
  omschrijving?: string;
51800
52446
  rejected_at?: string | null;
51801
52447
  sent_at?: string | null;
52448
+ source_number?: string | null;
52449
+ source_ref?: string | null;
52450
+ source_type?: string;
51802
52451
  status?: string;
51803
52452
  subtotal_cents?: number;
51804
52453
  total_cents?: number;
@@ -54216,6 +54865,63 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
54216
54865
  referencedColumns: ["id"];
54217
54866
  }];
54218
54867
  };
54868
+ medewerker_details: {
54869
+ Row: {
54870
+ color: string | null;
54871
+ created_at: string;
54872
+ hours_fri: number | null;
54873
+ hours_mon: number | null;
54874
+ hours_thu: number | null;
54875
+ hours_tue: number | null;
54876
+ hours_wed: number | null;
54877
+ id: string;
54878
+ is_active: boolean;
54879
+ leave_balance_hours: number;
54880
+ persnr: string | null;
54881
+ phone: string | null;
54882
+ profile_id: string;
54883
+ updated_at: string;
54884
+ };
54885
+ Insert: {
54886
+ color?: string | null;
54887
+ created_at?: string;
54888
+ hours_fri?: number | null;
54889
+ hours_mon?: number | null;
54890
+ hours_thu?: number | null;
54891
+ hours_tue?: number | null;
54892
+ hours_wed?: number | null;
54893
+ id?: string;
54894
+ is_active?: boolean;
54895
+ leave_balance_hours?: number;
54896
+ persnr?: string | null;
54897
+ phone?: string | null;
54898
+ profile_id: string;
54899
+ updated_at?: string;
54900
+ };
54901
+ Update: {
54902
+ color?: string | null;
54903
+ created_at?: string;
54904
+ hours_fri?: number | null;
54905
+ hours_mon?: number | null;
54906
+ hours_thu?: number | null;
54907
+ hours_tue?: number | null;
54908
+ hours_wed?: number | null;
54909
+ id?: string;
54910
+ is_active?: boolean;
54911
+ leave_balance_hours?: number;
54912
+ persnr?: string | null;
54913
+ phone?: string | null;
54914
+ profile_id?: string;
54915
+ updated_at?: string;
54916
+ };
54917
+ Relationships: [{
54918
+ foreignKeyName: "medewerker_details_profile_id_fkey";
54919
+ columns: ["profile_id"];
54920
+ isOneToOne: true;
54921
+ referencedRelation: "profiles";
54922
+ referencedColumns: ["id"];
54923
+ }];
54924
+ };
54219
54925
  module_features: {
54220
54926
  Row: {
54221
54927
  created_at: string;
@@ -57615,6 +58321,66 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
57615
58321
  };
57616
58322
  Relationships: [];
57617
58323
  };
58324
+ profile_modules: {
58325
+ Row: {
58326
+ created_at: string;
58327
+ id: string;
58328
+ module_id: string;
58329
+ profile_id: string;
58330
+ };
58331
+ Insert: {
58332
+ created_at?: string;
58333
+ id?: string;
58334
+ module_id: string;
58335
+ profile_id: string;
58336
+ };
58337
+ Update: {
58338
+ created_at?: string;
58339
+ id?: string;
58340
+ module_id?: string;
58341
+ profile_id?: string;
58342
+ };
58343
+ Relationships: [{
58344
+ foreignKeyName: "profile_modules_profile_id_fkey";
58345
+ columns: ["profile_id"];
58346
+ isOneToOne: false;
58347
+ referencedRelation: "profiles_org";
58348
+ referencedColumns: ["id"];
58349
+ }];
58350
+ };
58351
+ profile_roles: {
58352
+ Row: {
58353
+ created_at: string;
58354
+ id: string;
58355
+ profile_id: string;
58356
+ role_id: string;
58357
+ };
58358
+ Insert: {
58359
+ created_at?: string;
58360
+ id?: string;
58361
+ profile_id: string;
58362
+ role_id: string;
58363
+ };
58364
+ Update: {
58365
+ created_at?: string;
58366
+ id?: string;
58367
+ profile_id?: string;
58368
+ role_id?: string;
58369
+ };
58370
+ Relationships: [{
58371
+ foreignKeyName: "profile_roles_profile_id_fkey";
58372
+ columns: ["profile_id"];
58373
+ isOneToOne: false;
58374
+ referencedRelation: "profiles_org";
58375
+ referencedColumns: ["id"];
58376
+ }, {
58377
+ foreignKeyName: "profile_roles_role_id_fkey";
58378
+ columns: ["role_id"];
58379
+ isOneToOne: false;
58380
+ referencedRelation: "roles";
58381
+ referencedColumns: ["id"];
58382
+ }];
58383
+ };
57618
58384
  profiles: {
57619
58385
  Row: {
57620
58386
  address: string | null;
@@ -57660,6 +58426,39 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
57660
58426
  referencedColumns: ["id"];
57661
58427
  }];
57662
58428
  };
58429
+ profiles_org: {
58430
+ Row: {
58431
+ created_at: string;
58432
+ id: string;
58433
+ is_default: boolean;
58434
+ name: string;
58435
+ tenant_id: string | null;
58436
+ updated_at: string;
58437
+ };
58438
+ Insert: {
58439
+ created_at?: string;
58440
+ id?: string;
58441
+ is_default?: boolean;
58442
+ name: string;
58443
+ tenant_id?: string | null;
58444
+ updated_at?: string;
58445
+ };
58446
+ Update: {
58447
+ created_at?: string;
58448
+ id?: string;
58449
+ is_default?: boolean;
58450
+ name?: string;
58451
+ tenant_id?: string | null;
58452
+ updated_at?: string;
58453
+ };
58454
+ Relationships: [{
58455
+ foreignKeyName: "profiles_org_tenant_id_fkey";
58456
+ columns: ["tenant_id"];
58457
+ isOneToOne: false;
58458
+ referencedRelation: "tenants";
58459
+ referencedColumns: ["id"];
58460
+ }];
58461
+ };
57663
58462
  projects: {
57664
58463
  Row: {
57665
58464
  contact_name: string | null;
@@ -58866,6 +59665,42 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
58866
59665
  };
58867
59666
  Relationships: [];
58868
59667
  };
59668
+ sick_periods: {
59669
+ Row: {
59670
+ created_at: string;
59671
+ employee_id: string;
59672
+ end_date: string | null;
59673
+ id: string;
59674
+ notes: string | null;
59675
+ start_date: string;
59676
+ updated_at: string;
59677
+ };
59678
+ Insert: {
59679
+ created_at?: string;
59680
+ employee_id: string;
59681
+ end_date?: string | null;
59682
+ id?: string;
59683
+ notes?: string | null;
59684
+ start_date: string;
59685
+ updated_at?: string;
59686
+ };
59687
+ Update: {
59688
+ created_at?: string;
59689
+ employee_id?: string;
59690
+ end_date?: string | null;
59691
+ id?: string;
59692
+ notes?: string | null;
59693
+ start_date?: string;
59694
+ updated_at?: string;
59695
+ };
59696
+ Relationships: [{
59697
+ foreignKeyName: "sick_periods_employee_id_fkey";
59698
+ columns: ["employee_id"];
59699
+ isOneToOne: false;
59700
+ referencedRelation: "profiles";
59701
+ referencedColumns: ["id"];
59702
+ }];
59703
+ };
58869
59704
  sidebar_config: {
58870
59705
  Row: {
58871
59706
  id: string;
@@ -60060,7 +60895,6 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
60060
60895
  invoice_enabled_mo: boolean;
60061
60896
  payment_gl_account: string;
60062
60897
  payment_journal_code: string;
60063
- print_werkplek: string | null;
60064
60898
  updated_at: string;
60065
60899
  user_id: string;
60066
60900
  vat_code_eu_reverse: string | null;
@@ -60083,7 +60917,6 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
60083
60917
  invoice_enabled_mo?: boolean;
60084
60918
  payment_gl_account?: string;
60085
60919
  payment_journal_code?: string;
60086
- print_werkplek?: string | null;
60087
60920
  updated_at?: string;
60088
60921
  user_id: string;
60089
60922
  vat_code_eu_reverse?: string | null;
@@ -60106,7 +60939,6 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
60106
60939
  invoice_enabled_mo?: boolean;
60107
60940
  payment_gl_account?: string;
60108
60941
  payment_journal_code?: string;
60109
- print_werkplek?: string | null;
60110
60942
  updated_at?: string;
60111
60943
  user_id?: string;
60112
60944
  vat_code_eu_reverse?: string | null;
@@ -63553,6 +64385,13 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
63553
64385
  };
63554
64386
  Returns: string;
63555
64387
  };
64388
+ employee_day_hours: {
64389
+ Args: {
64390
+ _day: string;
64391
+ _employee_id: string;
64392
+ };
64393
+ Returns: number;
64394
+ };
63556
64395
  enqueue_cart_replan_if_unlocked: {
63557
64396
  Args: {
63558
64397
  p_order_id: string;
@@ -63929,9 +64768,19 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
63929
64768
  Args: never;
63930
64769
  Returns: {
63931
64770
  avatar_url: string;
64771
+ color: string;
63932
64772
  display_name: string;
63933
64773
  email: string;
64774
+ hours_fri: number;
64775
+ hours_mon: number;
64776
+ hours_thu: number;
64777
+ hours_tue: number;
64778
+ hours_wed: number;
63934
64779
  id: string;
64780
+ is_active: boolean;
64781
+ leave_balance_hours: number;
64782
+ persnr: string;
64783
+ phone: string;
63935
64784
  roles: string[];
63936
64785
  }[];
63937
64786
  };
@@ -65102,6 +65951,37 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
65102
65951
  };
65103
65952
  Returns: undefined;
65104
65953
  };
65954
+ quote_create_from_source: {
65955
+ Args: {
65956
+ _payload?: import("../integrations/supabase/types.js").Json;
65957
+ _source_id: string;
65958
+ _source_type: string;
65959
+ };
65960
+ Returns: string;
65961
+ };
65962
+ quote_get_billable_lines: {
65963
+ Args: {
65964
+ _quotation_id: string;
65965
+ };
65966
+ Returns: import("../integrations/supabase/types.js").Json;
65967
+ };
65968
+ quote_get_summary: {
65969
+ Args: {
65970
+ _quotation_id: string;
65971
+ };
65972
+ Returns: import("../integrations/supabase/types.js").Json;
65973
+ };
65974
+ quote_list_packages: {
65975
+ Args: never;
65976
+ Returns: import("../integrations/supabase/types.js").Json;
65977
+ };
65978
+ quote_list_sources: {
65979
+ Args: {
65980
+ _limit?: number;
65981
+ _source_type?: string;
65982
+ };
65983
+ Returns: import("../integrations/supabase/types.js").Json;
65984
+ };
65105
65985
  recompute_all_reserved_stock: {
65106
65986
  Args: never;
65107
65987
  Returns: undefined;
@@ -65637,6 +66517,12 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
65637
66517
  };
65638
66518
  Returns: undefined;
65639
66519
  };
66520
+ sync_sick_time_off: {
66521
+ Args: {
66522
+ _period_id: string;
66523
+ };
66524
+ Returns: number;
66525
+ };
65640
66526
  trade_item_stock_duplicates: {
65641
66527
  Args: never;
65642
66528
  Returns: {
@@ -65710,6 +66596,26 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
65710
66596
  Args: never;
65711
66597
  Returns: string;
65712
66598
  };
66599
+ wo_create_from_source: {
66600
+ Args: {
66601
+ _payload?: import("../integrations/supabase/types.js").Json;
66602
+ _source_id: string;
66603
+ _source_type: string;
66604
+ };
66605
+ Returns: string;
66606
+ };
66607
+ wo_get_billable_lines: {
66608
+ Args: {
66609
+ _work_order_id: string;
66610
+ };
66611
+ Returns: import("../integrations/supabase/types.js").Json;
66612
+ };
66613
+ wo_get_summary: {
66614
+ Args: {
66615
+ _work_order_id: string;
66616
+ };
66617
+ Returns: import("../integrations/supabase/types.js").Json;
66618
+ };
65713
66619
  };
65714
66620
  Enums: {
65715
66621
  ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
@@ -70791,6 +71697,42 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
70791
71697
  };
70792
71698
  Relationships: [];
70793
71699
  };
71700
+ facturen: {
71701
+ Row: {
71702
+ bedrag_incl_btw: number;
71703
+ created_at: string;
71704
+ datum: string;
71705
+ factuurnummer: string;
71706
+ id: string;
71707
+ klantnaam: string;
71708
+ status: string;
71709
+ updated_at: string;
71710
+ user_id: string;
71711
+ };
71712
+ Insert: {
71713
+ bedrag_incl_btw: number;
71714
+ created_at?: string;
71715
+ datum?: string;
71716
+ factuurnummer: string;
71717
+ id?: string;
71718
+ klantnaam: string;
71719
+ status?: string;
71720
+ updated_at?: string;
71721
+ user_id?: string;
71722
+ };
71723
+ Update: {
71724
+ bedrag_incl_btw?: number;
71725
+ created_at?: string;
71726
+ datum?: string;
71727
+ factuurnummer?: string;
71728
+ id?: string;
71729
+ klantnaam?: string;
71730
+ status?: string;
71731
+ updated_at?: string;
71732
+ user_id?: string;
71733
+ };
71734
+ Relationships: [];
71735
+ };
70794
71736
  floricode_connection_settings: {
70795
71737
  Row: {
70796
71738
  catalog_key: string | null;
@@ -73654,6 +74596,9 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
73654
74596
  omschrijving: string;
73655
74597
  rejected_at: string | null;
73656
74598
  sent_at: string | null;
74599
+ source_number: string | null;
74600
+ source_ref: string | null;
74601
+ source_type: string;
73657
74602
  status: string;
73658
74603
  subtotal_cents: number;
73659
74604
  total_cents: number;
@@ -73684,6 +74629,9 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
73684
74629
  omschrijving?: string;
73685
74630
  rejected_at?: string | null;
73686
74631
  sent_at?: string | null;
74632
+ source_number?: string | null;
74633
+ source_ref?: string | null;
74634
+ source_type?: string;
73687
74635
  status?: string;
73688
74636
  subtotal_cents?: number;
73689
74637
  total_cents?: number;
@@ -73714,6 +74662,9 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
73714
74662
  omschrijving?: string;
73715
74663
  rejected_at?: string | null;
73716
74664
  sent_at?: string | null;
74665
+ source_number?: string | null;
74666
+ source_ref?: string | null;
74667
+ source_type?: string;
73717
74668
  status?: string;
73718
74669
  subtotal_cents?: number;
73719
74670
  total_cents?: number;
@@ -76131,6 +77082,63 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
76131
77082
  referencedColumns: ["id"];
76132
77083
  }];
76133
77084
  };
77085
+ medewerker_details: {
77086
+ Row: {
77087
+ color: string | null;
77088
+ created_at: string;
77089
+ hours_fri: number | null;
77090
+ hours_mon: number | null;
77091
+ hours_thu: number | null;
77092
+ hours_tue: number | null;
77093
+ hours_wed: number | null;
77094
+ id: string;
77095
+ is_active: boolean;
77096
+ leave_balance_hours: number;
77097
+ persnr: string | null;
77098
+ phone: string | null;
77099
+ profile_id: string;
77100
+ updated_at: string;
77101
+ };
77102
+ Insert: {
77103
+ color?: string | null;
77104
+ created_at?: string;
77105
+ hours_fri?: number | null;
77106
+ hours_mon?: number | null;
77107
+ hours_thu?: number | null;
77108
+ hours_tue?: number | null;
77109
+ hours_wed?: number | null;
77110
+ id?: string;
77111
+ is_active?: boolean;
77112
+ leave_balance_hours?: number;
77113
+ persnr?: string | null;
77114
+ phone?: string | null;
77115
+ profile_id: string;
77116
+ updated_at?: string;
77117
+ };
77118
+ Update: {
77119
+ color?: string | null;
77120
+ created_at?: string;
77121
+ hours_fri?: number | null;
77122
+ hours_mon?: number | null;
77123
+ hours_thu?: number | null;
77124
+ hours_tue?: number | null;
77125
+ hours_wed?: number | null;
77126
+ id?: string;
77127
+ is_active?: boolean;
77128
+ leave_balance_hours?: number;
77129
+ persnr?: string | null;
77130
+ phone?: string | null;
77131
+ profile_id?: string;
77132
+ updated_at?: string;
77133
+ };
77134
+ Relationships: [{
77135
+ foreignKeyName: "medewerker_details_profile_id_fkey";
77136
+ columns: ["profile_id"];
77137
+ isOneToOne: true;
77138
+ referencedRelation: "profiles";
77139
+ referencedColumns: ["id"];
77140
+ }];
77141
+ };
76134
77142
  module_features: {
76135
77143
  Row: {
76136
77144
  created_at: string;
@@ -79530,6 +80538,66 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
79530
80538
  };
79531
80539
  Relationships: [];
79532
80540
  };
80541
+ profile_modules: {
80542
+ Row: {
80543
+ created_at: string;
80544
+ id: string;
80545
+ module_id: string;
80546
+ profile_id: string;
80547
+ };
80548
+ Insert: {
80549
+ created_at?: string;
80550
+ id?: string;
80551
+ module_id: string;
80552
+ profile_id: string;
80553
+ };
80554
+ Update: {
80555
+ created_at?: string;
80556
+ id?: string;
80557
+ module_id?: string;
80558
+ profile_id?: string;
80559
+ };
80560
+ Relationships: [{
80561
+ foreignKeyName: "profile_modules_profile_id_fkey";
80562
+ columns: ["profile_id"];
80563
+ isOneToOne: false;
80564
+ referencedRelation: "profiles_org";
80565
+ referencedColumns: ["id"];
80566
+ }];
80567
+ };
80568
+ profile_roles: {
80569
+ Row: {
80570
+ created_at: string;
80571
+ id: string;
80572
+ profile_id: string;
80573
+ role_id: string;
80574
+ };
80575
+ Insert: {
80576
+ created_at?: string;
80577
+ id?: string;
80578
+ profile_id: string;
80579
+ role_id: string;
80580
+ };
80581
+ Update: {
80582
+ created_at?: string;
80583
+ id?: string;
80584
+ profile_id?: string;
80585
+ role_id?: string;
80586
+ };
80587
+ Relationships: [{
80588
+ foreignKeyName: "profile_roles_profile_id_fkey";
80589
+ columns: ["profile_id"];
80590
+ isOneToOne: false;
80591
+ referencedRelation: "profiles_org";
80592
+ referencedColumns: ["id"];
80593
+ }, {
80594
+ foreignKeyName: "profile_roles_role_id_fkey";
80595
+ columns: ["role_id"];
80596
+ isOneToOne: false;
80597
+ referencedRelation: "roles";
80598
+ referencedColumns: ["id"];
80599
+ }];
80600
+ };
79533
80601
  profiles: {
79534
80602
  Row: {
79535
80603
  address: string | null;
@@ -79575,6 +80643,39 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
79575
80643
  referencedColumns: ["id"];
79576
80644
  }];
79577
80645
  };
80646
+ profiles_org: {
80647
+ Row: {
80648
+ created_at: string;
80649
+ id: string;
80650
+ is_default: boolean;
80651
+ name: string;
80652
+ tenant_id: string | null;
80653
+ updated_at: string;
80654
+ };
80655
+ Insert: {
80656
+ created_at?: string;
80657
+ id?: string;
80658
+ is_default?: boolean;
80659
+ name: string;
80660
+ tenant_id?: string | null;
80661
+ updated_at?: string;
80662
+ };
80663
+ Update: {
80664
+ created_at?: string;
80665
+ id?: string;
80666
+ is_default?: boolean;
80667
+ name?: string;
80668
+ tenant_id?: string | null;
80669
+ updated_at?: string;
80670
+ };
80671
+ Relationships: [{
80672
+ foreignKeyName: "profiles_org_tenant_id_fkey";
80673
+ columns: ["tenant_id"];
80674
+ isOneToOne: false;
80675
+ referencedRelation: "tenants";
80676
+ referencedColumns: ["id"];
80677
+ }];
80678
+ };
79578
80679
  projects: {
79579
80680
  Row: {
79580
80681
  contact_name: string | null;
@@ -80781,6 +81882,42 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
80781
81882
  };
80782
81883
  Relationships: [];
80783
81884
  };
81885
+ sick_periods: {
81886
+ Row: {
81887
+ created_at: string;
81888
+ employee_id: string;
81889
+ end_date: string | null;
81890
+ id: string;
81891
+ notes: string | null;
81892
+ start_date: string;
81893
+ updated_at: string;
81894
+ };
81895
+ Insert: {
81896
+ created_at?: string;
81897
+ employee_id: string;
81898
+ end_date?: string | null;
81899
+ id?: string;
81900
+ notes?: string | null;
81901
+ start_date: string;
81902
+ updated_at?: string;
81903
+ };
81904
+ Update: {
81905
+ created_at?: string;
81906
+ employee_id?: string;
81907
+ end_date?: string | null;
81908
+ id?: string;
81909
+ notes?: string | null;
81910
+ start_date?: string;
81911
+ updated_at?: string;
81912
+ };
81913
+ Relationships: [{
81914
+ foreignKeyName: "sick_periods_employee_id_fkey";
81915
+ columns: ["employee_id"];
81916
+ isOneToOne: false;
81917
+ referencedRelation: "profiles";
81918
+ referencedColumns: ["id"];
81919
+ }];
81920
+ };
80784
81921
  sidebar_config: {
80785
81922
  Row: {
80786
81923
  id: string;
@@ -81975,7 +83112,6 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
81975
83112
  invoice_enabled_mo: boolean;
81976
83113
  payment_gl_account: string;
81977
83114
  payment_journal_code: string;
81978
- print_werkplek: string | null;
81979
83115
  updated_at: string;
81980
83116
  user_id: string;
81981
83117
  vat_code_eu_reverse: string | null;
@@ -81998,7 +83134,6 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
81998
83134
  invoice_enabled_mo?: boolean;
81999
83135
  payment_gl_account?: string;
82000
83136
  payment_journal_code?: string;
82001
- print_werkplek?: string | null;
82002
83137
  updated_at?: string;
82003
83138
  user_id: string;
82004
83139
  vat_code_eu_reverse?: string | null;
@@ -82021,7 +83156,6 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
82021
83156
  invoice_enabled_mo?: boolean;
82022
83157
  payment_gl_account?: string;
82023
83158
  payment_journal_code?: string;
82024
- print_werkplek?: string | null;
82025
83159
  updated_at?: string;
82026
83160
  user_id?: string;
82027
83161
  vat_code_eu_reverse?: string | null;
@@ -85468,6 +86602,13 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
85468
86602
  };
85469
86603
  Returns: string;
85470
86604
  };
86605
+ employee_day_hours: {
86606
+ Args: {
86607
+ _day: string;
86608
+ _employee_id: string;
86609
+ };
86610
+ Returns: number;
86611
+ };
85471
86612
  enqueue_cart_replan_if_unlocked: {
85472
86613
  Args: {
85473
86614
  p_order_id: string;
@@ -85844,9 +86985,19 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
85844
86985
  Args: never;
85845
86986
  Returns: {
85846
86987
  avatar_url: string;
86988
+ color: string;
85847
86989
  display_name: string;
85848
86990
  email: string;
86991
+ hours_fri: number;
86992
+ hours_mon: number;
86993
+ hours_thu: number;
86994
+ hours_tue: number;
86995
+ hours_wed: number;
85849
86996
  id: string;
86997
+ is_active: boolean;
86998
+ leave_balance_hours: number;
86999
+ persnr: string;
87000
+ phone: string;
85850
87001
  roles: string[];
85851
87002
  }[];
85852
87003
  };
@@ -87017,6 +88168,37 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
87017
88168
  };
87018
88169
  Returns: undefined;
87019
88170
  };
88171
+ quote_create_from_source: {
88172
+ Args: {
88173
+ _payload?: import("../integrations/supabase/types.js").Json;
88174
+ _source_id: string;
88175
+ _source_type: string;
88176
+ };
88177
+ Returns: string;
88178
+ };
88179
+ quote_get_billable_lines: {
88180
+ Args: {
88181
+ _quotation_id: string;
88182
+ };
88183
+ Returns: import("../integrations/supabase/types.js").Json;
88184
+ };
88185
+ quote_get_summary: {
88186
+ Args: {
88187
+ _quotation_id: string;
88188
+ };
88189
+ Returns: import("../integrations/supabase/types.js").Json;
88190
+ };
88191
+ quote_list_packages: {
88192
+ Args: never;
88193
+ Returns: import("../integrations/supabase/types.js").Json;
88194
+ };
88195
+ quote_list_sources: {
88196
+ Args: {
88197
+ _limit?: number;
88198
+ _source_type?: string;
88199
+ };
88200
+ Returns: import("../integrations/supabase/types.js").Json;
88201
+ };
87020
88202
  recompute_all_reserved_stock: {
87021
88203
  Args: never;
87022
88204
  Returns: undefined;
@@ -87552,6 +88734,12 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
87552
88734
  };
87553
88735
  Returns: undefined;
87554
88736
  };
88737
+ sync_sick_time_off: {
88738
+ Args: {
88739
+ _period_id: string;
88740
+ };
88741
+ Returns: number;
88742
+ };
87555
88743
  trade_item_stock_duplicates: {
87556
88744
  Args: never;
87557
88745
  Returns: {
@@ -87625,6 +88813,26 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
87625
88813
  Args: never;
87626
88814
  Returns: string;
87627
88815
  };
88816
+ wo_create_from_source: {
88817
+ Args: {
88818
+ _payload?: import("../integrations/supabase/types.js").Json;
88819
+ _source_id: string;
88820
+ _source_type: string;
88821
+ };
88822
+ Returns: string;
88823
+ };
88824
+ wo_get_billable_lines: {
88825
+ Args: {
88826
+ _work_order_id: string;
88827
+ };
88828
+ Returns: import("../integrations/supabase/types.js").Json;
88829
+ };
88830
+ wo_get_summary: {
88831
+ Args: {
88832
+ _work_order_id: string;
88833
+ };
88834
+ Returns: import("../integrations/supabase/types.js").Json;
88835
+ };
87628
88836
  };
87629
88837
  Enums: {
87630
88838
  ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";