@flowselections/layout-maker 1.8.1 → 1.8.3

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;
@@ -13840,6 +13885,66 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
13840
13885
  };
13841
13886
  Relationships: [];
13842
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
+ };
13843
13948
  profiles: {
13844
13949
  Row: {
13845
13950
  address: string | null;
@@ -13885,6 +13990,39 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
13885
13990
  referencedColumns: ["id"];
13886
13991
  }];
13887
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
+ };
13888
14026
  projects: {
13889
14027
  Row: {
13890
14028
  contact_name: string | null;
@@ -21377,6 +21515,37 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
21377
21515
  };
21378
21516
  Returns: undefined;
21379
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
+ };
21380
21549
  recompute_all_reserved_stock: {
21381
21550
  Args: never;
21382
21551
  Returns: undefined;
@@ -21991,6 +22160,26 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
21991
22160
  Args: never;
21992
22161
  Returns: string;
21993
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
+ };
21994
22183
  };
21995
22184
  Enums: {
21996
22185
  ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
@@ -27068,6 +27257,42 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
27068
27257
  };
27069
27258
  Relationships: [];
27070
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
+ };
27071
27296
  floricode_connection_settings: {
27072
27297
  Row: {
27073
27298
  catalog_key: string | null;
@@ -29931,6 +30156,9 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
29931
30156
  omschrijving: string;
29932
30157
  rejected_at: string | null;
29933
30158
  sent_at: string | null;
30159
+ source_number: string | null;
30160
+ source_ref: string | null;
30161
+ source_type: string;
29934
30162
  status: string;
29935
30163
  subtotal_cents: number;
29936
30164
  total_cents: number;
@@ -29961,6 +30189,9 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
29961
30189
  omschrijving?: string;
29962
30190
  rejected_at?: string | null;
29963
30191
  sent_at?: string | null;
30192
+ source_number?: string | null;
30193
+ source_ref?: string | null;
30194
+ source_type?: string;
29964
30195
  status?: string;
29965
30196
  subtotal_cents?: number;
29966
30197
  total_cents?: number;
@@ -29991,6 +30222,9 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
29991
30222
  omschrijving?: string;
29992
30223
  rejected_at?: string | null;
29993
30224
  sent_at?: string | null;
30225
+ source_number?: string | null;
30226
+ source_ref?: string | null;
30227
+ source_type?: string;
29994
30228
  status?: string;
29995
30229
  subtotal_cents?: number;
29996
30230
  total_cents?: number;
@@ -35864,6 +36098,66 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
35864
36098
  };
35865
36099
  Relationships: [];
35866
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
+ };
35867
36161
  profiles: {
35868
36162
  Row: {
35869
36163
  address: string | null;
@@ -35909,6 +36203,39 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
35909
36203
  referencedColumns: ["id"];
35910
36204
  }];
35911
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
+ };
35912
36239
  projects: {
35913
36240
  Row: {
35914
36241
  contact_name: string | null;
@@ -43401,6 +43728,37 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
43401
43728
  };
43402
43729
  Returns: undefined;
43403
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
+ };
43404
43762
  recompute_all_reserved_stock: {
43405
43763
  Args: never;
43406
43764
  Returns: undefined;
@@ -44015,6 +44373,26 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
44015
44373
  Args: never;
44016
44374
  Returns: string;
44017
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
+ };
44018
44396
  };
44019
44397
  Enums: {
44020
44398
  ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
@@ -49102,6 +49480,42 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
49102
49480
  };
49103
49481
  Relationships: [];
49104
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
+ };
49105
49519
  floricode_connection_settings: {
49106
49520
  Row: {
49107
49521
  catalog_key: string | null;
@@ -51965,6 +52379,9 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
51965
52379
  omschrijving: string;
51966
52380
  rejected_at: string | null;
51967
52381
  sent_at: string | null;
52382
+ source_number: string | null;
52383
+ source_ref: string | null;
52384
+ source_type: string;
51968
52385
  status: string;
51969
52386
  subtotal_cents: number;
51970
52387
  total_cents: number;
@@ -51995,6 +52412,9 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
51995
52412
  omschrijving?: string;
51996
52413
  rejected_at?: string | null;
51997
52414
  sent_at?: string | null;
52415
+ source_number?: string | null;
52416
+ source_ref?: string | null;
52417
+ source_type?: string;
51998
52418
  status?: string;
51999
52419
  subtotal_cents?: number;
52000
52420
  total_cents?: number;
@@ -52025,6 +52445,9 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
52025
52445
  omschrijving?: string;
52026
52446
  rejected_at?: string | null;
52027
52447
  sent_at?: string | null;
52448
+ source_number?: string | null;
52449
+ source_ref?: string | null;
52450
+ source_type?: string;
52028
52451
  status?: string;
52029
52452
  subtotal_cents?: number;
52030
52453
  total_cents?: number;
@@ -57898,6 +58321,66 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
57898
58321
  };
57899
58322
  Relationships: [];
57900
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
+ };
57901
58384
  profiles: {
57902
58385
  Row: {
57903
58386
  address: string | null;
@@ -57943,6 +58426,39 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
57943
58426
  referencedColumns: ["id"];
57944
58427
  }];
57945
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
+ };
57946
58462
  projects: {
57947
58463
  Row: {
57948
58464
  contact_name: string | null;
@@ -65435,6 +65951,37 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
65435
65951
  };
65436
65952
  Returns: undefined;
65437
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
+ };
65438
65985
  recompute_all_reserved_stock: {
65439
65986
  Args: never;
65440
65987
  Returns: undefined;
@@ -66049,6 +66596,26 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
66049
66596
  Args: never;
66050
66597
  Returns: string;
66051
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
+ };
66052
66619
  };
66053
66620
  Enums: {
66054
66621
  ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
@@ -71130,6 +71697,42 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
71130
71697
  };
71131
71698
  Relationships: [];
71132
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
+ };
71133
71736
  floricode_connection_settings: {
71134
71737
  Row: {
71135
71738
  catalog_key: string | null;
@@ -73993,6 +74596,9 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
73993
74596
  omschrijving: string;
73994
74597
  rejected_at: string | null;
73995
74598
  sent_at: string | null;
74599
+ source_number: string | null;
74600
+ source_ref: string | null;
74601
+ source_type: string;
73996
74602
  status: string;
73997
74603
  subtotal_cents: number;
73998
74604
  total_cents: number;
@@ -74023,6 +74629,9 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
74023
74629
  omschrijving?: string;
74024
74630
  rejected_at?: string | null;
74025
74631
  sent_at?: string | null;
74632
+ source_number?: string | null;
74633
+ source_ref?: string | null;
74634
+ source_type?: string;
74026
74635
  status?: string;
74027
74636
  subtotal_cents?: number;
74028
74637
  total_cents?: number;
@@ -74053,6 +74662,9 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
74053
74662
  omschrijving?: string;
74054
74663
  rejected_at?: string | null;
74055
74664
  sent_at?: string | null;
74665
+ source_number?: string | null;
74666
+ source_ref?: string | null;
74667
+ source_type?: string;
74056
74668
  status?: string;
74057
74669
  subtotal_cents?: number;
74058
74670
  total_cents?: number;
@@ -79926,6 +80538,66 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
79926
80538
  };
79927
80539
  Relationships: [];
79928
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
+ };
79929
80601
  profiles: {
79930
80602
  Row: {
79931
80603
  address: string | null;
@@ -79971,6 +80643,39 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
79971
80643
  referencedColumns: ["id"];
79972
80644
  }];
79973
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
+ };
79974
80679
  projects: {
79975
80680
  Row: {
79976
80681
  contact_name: string | null;
@@ -87463,6 +88168,37 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
87463
88168
  };
87464
88169
  Returns: undefined;
87465
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
+ };
87466
88202
  recompute_all_reserved_stock: {
87467
88203
  Args: never;
87468
88204
  Returns: undefined;
@@ -88077,6 +88813,26 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
88077
88813
  Args: never;
88078
88814
  Returns: string;
88079
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
+ };
88080
88836
  };
88081
88837
  Enums: {
88082
88838
  ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";