@flowselections/layout-maker 1.45.19 → 1.51.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.
Files changed (95) hide show
  1. package/dist-lib/components/ComputerVerwijderenDialog.d.ts +16 -0
  2. package/dist-lib/components/ComputerVerwijderenDialog.d.ts.map +1 -0
  3. package/dist-lib/components/ComputerVerwijderenDialog.js +38 -0
  4. package/dist-lib/components/ComputersLijst.d.ts.map +1 -1
  5. package/dist-lib/components/ComputersLijst.js +5 -2
  6. package/dist-lib/components/DocumentenPage.d.ts.map +1 -1
  7. package/dist-lib/components/DocumentenPage.js +2 -3
  8. package/dist-lib/components/LayoutPrinterSelect.d.ts +3 -5
  9. package/dist-lib/components/LayoutPrinterSelect.d.ts.map +1 -1
  10. package/dist-lib/components/LayoutPrinterSelect.js +40 -17
  11. package/dist-lib/components/LayoutsPage.d.ts.map +1 -1
  12. package/dist-lib/components/LayoutsPage.js +28 -18
  13. package/dist-lib/components/PrintQueuePage.d.ts.map +1 -1
  14. package/dist-lib/components/PrintQueuePage.js +5 -71
  15. package/dist-lib/components/PrintenPage.d.ts.map +1 -1
  16. package/dist-lib/components/PrintenPage.js +2 -3
  17. package/dist-lib/components/PrinterSetupWizard.d.ts +3 -1
  18. package/dist-lib/components/PrinterSetupWizard.d.ts.map +1 -1
  19. package/dist-lib/components/PrinterSetupWizard.js +15 -29
  20. package/dist-lib/components/PrinterVervangenDialog.d.ts +14 -0
  21. package/dist-lib/components/PrinterVervangenDialog.d.ts.map +1 -0
  22. package/dist-lib/components/PrinterVervangenDialog.js +44 -0
  23. package/dist-lib/components/PrintersPage.d.ts.map +1 -1
  24. package/dist-lib/components/PrintersPage.js +2 -2
  25. package/dist-lib/components/PrintplekDetailPage.d.ts.map +1 -1
  26. package/dist-lib/components/PrintplekDetailPage.js +173 -68
  27. package/dist-lib/components/PrintplekVerwijderenDialog.d.ts +9 -0
  28. package/dist-lib/components/PrintplekVerwijderenDialog.d.ts.map +1 -0
  29. package/dist-lib/components/PrintplekVerwijderenDialog.js +34 -0
  30. package/dist-lib/components/PrintplekWizard.d.ts.map +1 -1
  31. package/dist-lib/components/PrintplekWizard.js +3 -85
  32. package/dist-lib/components/PrintplekkenPage.d.ts.map +1 -1
  33. package/dist-lib/components/PrintplekkenPage.js +28 -6
  34. package/dist-lib/components/WerkplekConfiguratiePage.d.ts.map +1 -1
  35. package/dist-lib/components/WerkplekConfiguratiePage.js +67 -25
  36. package/dist-lib/index.d.ts +9 -12
  37. package/dist-lib/index.d.ts.map +1 -1
  38. package/dist-lib/index.js +7 -13
  39. package/dist-lib/integrations/supabase/auth-middleware.d.ts +1414 -24
  40. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  41. package/dist-lib/integrations/supabase/client.server.d.ts +1414 -24
  42. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  43. package/dist-lib/integrations/supabase/moduleClient.d.ts +1414 -24
  44. package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
  45. package/dist-lib/integrations/supabase/types.d.ts +1471 -42
  46. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  47. package/dist-lib/lib/aiLayout.functions.d.ts +1414 -24
  48. package/dist-lib/lib/aiLayout.functions.d.ts.map +1 -1
  49. package/dist-lib/lib/documentRoutering.d.ts +2 -1
  50. package/dist-lib/lib/documentRoutering.d.ts.map +1 -1
  51. package/dist-lib/lib/documentRoutering.js +5 -8
  52. package/dist-lib/lib/foutTekst.d.ts +3 -0
  53. package/dist-lib/lib/foutTekst.d.ts.map +1 -0
  54. package/dist-lib/lib/foutTekst.js +25 -0
  55. package/dist-lib/lib/printApi.d.ts +0 -2
  56. package/dist-lib/lib/printApi.d.ts.map +1 -1
  57. package/dist-lib/lib/printApi.js +13 -60
  58. package/dist-lib/lib/printQueue.server.d.ts +8 -0
  59. package/dist-lib/lib/printQueue.server.d.ts.map +1 -1
  60. package/dist-lib/lib/printQueue.server.js +55 -133
  61. package/dist-lib/lib/printRoutering.d.ts +34 -0
  62. package/dist-lib/lib/printRoutering.d.ts.map +1 -0
  63. package/dist-lib/lib/printRoutering.js +69 -0
  64. package/dist-lib/lib/printService.functions.d.ts +6980 -30
  65. package/dist-lib/lib/printService.functions.d.ts.map +1 -1
  66. package/dist-lib/lib/printplekken.d.ts +67 -2
  67. package/dist-lib/lib/printplekken.d.ts.map +1 -1
  68. package/dist-lib/lib/printplekken.js +141 -10
  69. package/dist-lib/lib/useDocumentData.d.ts +15 -10
  70. package/dist-lib/lib/useDocumentData.d.ts.map +1 -1
  71. package/dist-lib/lib/useDocumentData.js +43 -34
  72. package/dist-lib/lib/voorbeeldPrint.d.ts.map +1 -1
  73. package/dist-lib/lib/voorbeeldPrint.js +7 -39
  74. package/package.json +2 -2
  75. package/dist-lib/components/PdfMapAutoSaver.d.ts +0 -6
  76. package/dist-lib/components/PdfMapAutoSaver.d.ts.map +0 -1
  77. package/dist-lib/components/PdfMapAutoSaver.js +0 -12
  78. package/dist-lib/components/PdfMapGlobaleBanner.d.ts +0 -12
  79. package/dist-lib/components/PdfMapGlobaleBanner.d.ts.map +0 -1
  80. package/dist-lib/components/PdfMapGlobaleBanner.js +0 -30
  81. package/dist-lib/components/PdfMapToestemmingBanner.d.ts +0 -8
  82. package/dist-lib/components/PdfMapToestemmingBanner.d.ts.map +0 -1
  83. package/dist-lib/components/PdfMapToestemmingBanner.js +0 -245
  84. package/dist-lib/lib/pdfJobSaver.d.ts +0 -24
  85. package/dist-lib/lib/pdfJobSaver.d.ts.map +0 -1
  86. package/dist-lib/lib/pdfJobSaver.js +0 -405
  87. package/dist-lib/lib/pdfMap.d.ts +0 -90
  88. package/dist-lib/lib/pdfMap.d.ts.map +0 -1
  89. package/dist-lib/lib/pdfMap.js +0 -349
  90. package/dist-lib/lib/pdfOpslagStatus.d.ts +0 -23
  91. package/dist-lib/lib/pdfOpslagStatus.d.ts.map +0 -1
  92. package/dist-lib/lib/pdfOpslagStatus.js +0 -74
  93. package/dist-lib/lib/pdfPrinter.d.ts +0 -9
  94. package/dist-lib/lib/pdfPrinter.d.ts.map +0 -1
  95. package/dist-lib/lib/pdfPrinter.js +0 -34
@@ -734,6 +734,27 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
734
734
  };
735
735
  Relationships: [];
736
736
  };
737
+ artikelen_instellingen: {
738
+ Row: {
739
+ created_at: string;
740
+ id: number;
741
+ marge_procent: number;
742
+ updated_at: string;
743
+ };
744
+ Insert: {
745
+ created_at?: string;
746
+ id?: number;
747
+ marge_procent?: number;
748
+ updated_at?: string;
749
+ };
750
+ Update: {
751
+ created_at?: string;
752
+ id?: number;
753
+ marge_procent?: number;
754
+ updated_at?: string;
755
+ };
756
+ Relationships: [];
757
+ };
737
758
  artikelen_veldconfig: {
738
759
  Row: {
739
760
  bron_pad: string;
@@ -3120,6 +3141,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
3120
3141
  formaat_code: string;
3121
3142
  id: string;
3122
3143
  printer_id: string | null;
3144
+ printer_ontbreekt_sinds: string | null;
3123
3145
  updated_at: string;
3124
3146
  };
3125
3147
  Insert: {
@@ -3128,6 +3150,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
3128
3150
  formaat_code: string;
3129
3151
  id?: string;
3130
3152
  printer_id?: string | null;
3153
+ printer_ontbreekt_sinds?: string | null;
3131
3154
  updated_at?: string;
3132
3155
  };
3133
3156
  Update: {
@@ -3136,6 +3159,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
3136
3159
  formaat_code?: string;
3137
3160
  id?: string;
3138
3161
  printer_id?: string | null;
3162
+ printer_ontbreekt_sinds?: string | null;
3139
3163
  updated_at?: string;
3140
3164
  };
3141
3165
  Relationships: [{
@@ -3472,6 +3496,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
3472
3496
  papierformaat: string | null;
3473
3497
  print_plek_id: string;
3474
3498
  printer_id: string | null;
3499
+ printer_ontbreekt_sinds: string | null;
3475
3500
  updated_at: string;
3476
3501
  };
3477
3502
  Insert: {
@@ -3481,6 +3506,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
3481
3506
  papierformaat?: string | null;
3482
3507
  print_plek_id: string;
3483
3508
  printer_id?: string | null;
3509
+ printer_ontbreekt_sinds?: string | null;
3484
3510
  updated_at?: string;
3485
3511
  };
3486
3512
  Update: {
@@ -3490,6 +3516,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
3490
3516
  papierformaat?: string | null;
3491
3517
  print_plek_id?: string;
3492
3518
  printer_id?: string | null;
3519
+ printer_ontbreekt_sinds?: string | null;
3493
3520
  updated_at?: string;
3494
3521
  };
3495
3522
  Relationships: [{
@@ -3513,6 +3540,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
3513
3540
  id: string;
3514
3541
  papierformaat: string | null;
3515
3542
  printer_id: string | null;
3543
+ printer_ontbreekt_sinds: string | null;
3516
3544
  updated_at: string;
3517
3545
  werkplek: string;
3518
3546
  };
@@ -3522,6 +3550,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
3522
3550
  id?: string;
3523
3551
  papierformaat?: string | null;
3524
3552
  printer_id?: string | null;
3553
+ printer_ontbreekt_sinds?: string | null;
3525
3554
  updated_at?: string;
3526
3555
  werkplek: string;
3527
3556
  };
@@ -3531,6 +3560,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
3531
3560
  id?: string;
3532
3561
  papierformaat?: string | null;
3533
3562
  printer_id?: string | null;
3563
+ printer_ontbreekt_sinds?: string | null;
3534
3564
  updated_at?: string;
3535
3565
  werkplek?: string;
3536
3566
  };
@@ -6833,6 +6863,78 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
6833
6863
  referencedColumns: ["id"];
6834
6864
  }];
6835
6865
  };
6866
+ floriday_document_fetch_queue: {
6867
+ Row: {
6868
+ attempts: number;
6869
+ cancelled_reason: string | null;
6870
+ completed_at: string | null;
6871
+ connection_id: string;
6872
+ created_at: string;
6873
+ document_key: string;
6874
+ environment: string;
6875
+ id: string;
6876
+ kind: string;
6877
+ last_error: string | null;
6878
+ last_http_status: number | null;
6879
+ locked_at: string | null;
6880
+ locked_by: string | null;
6881
+ max_attempts: number;
6882
+ next_attempt_at: string;
6883
+ order_ref: string | null;
6884
+ params: import("./types.js").Json;
6885
+ status: string;
6886
+ updated_at: string;
6887
+ };
6888
+ Insert: {
6889
+ attempts?: number;
6890
+ cancelled_reason?: string | null;
6891
+ completed_at?: string | null;
6892
+ connection_id: string;
6893
+ created_at?: string;
6894
+ document_key: string;
6895
+ environment: string;
6896
+ id?: string;
6897
+ kind: string;
6898
+ last_error?: string | null;
6899
+ last_http_status?: number | null;
6900
+ locked_at?: string | null;
6901
+ locked_by?: string | null;
6902
+ max_attempts?: number;
6903
+ next_attempt_at?: string;
6904
+ order_ref?: string | null;
6905
+ params?: import("./types.js").Json;
6906
+ status?: string;
6907
+ updated_at?: string;
6908
+ };
6909
+ Update: {
6910
+ attempts?: number;
6911
+ cancelled_reason?: string | null;
6912
+ completed_at?: string | null;
6913
+ connection_id?: string;
6914
+ created_at?: string;
6915
+ document_key?: string;
6916
+ environment?: string;
6917
+ id?: string;
6918
+ kind?: string;
6919
+ last_error?: string | null;
6920
+ last_http_status?: number | null;
6921
+ locked_at?: string | null;
6922
+ locked_by?: string | null;
6923
+ max_attempts?: number;
6924
+ next_attempt_at?: string;
6925
+ order_ref?: string | null;
6926
+ params?: import("./types.js").Json;
6927
+ status?: string;
6928
+ updated_at?: string;
6929
+ };
6930
+ Relationships: [{
6931
+ foreignKeyName: "floriday_document_fetch_queue_connection_id_fkey";
6932
+ columns: ["connection_id"];
6933
+ isOneToOne: false;
6934
+ referencedRelation: "floriday_connections";
6935
+ referencedColumns: ["id"];
6936
+ }];
6937
+ };
6836
6938
  floriday_fulfillment_orders_cache: {
6837
6939
  Row: {
6838
6940
  auction_date: string | null;
@@ -8264,6 +8366,72 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8264
8366
  };
8265
8367
  Relationships: [];
8266
8368
  };
8369
+ invoice_branding_settings: {
8370
+ Row: {
8371
+ address: string;
8372
+ chamber_of_commerce_number: string;
8373
+ city: string;
8374
+ company_name: string;
8375
+ created_at: string;
8376
+ email: string;
8377
+ email_purpose: string | null;
8378
+ iban: string;
8379
+ logo_path: string | null;
8380
+ payment_term_days: number;
8381
+ phone: string;
8382
+ postal_code: string;
8383
+ primary_color: string;
8384
+ secondary_color: string;
8385
+ show_company_name: boolean;
8386
+ singleton_key: boolean;
8387
+ updated_at: string;
8388
+ vat_identification_number: string;
8389
+ website: string;
8390
+ };
8391
+ Insert: {
8392
+ address?: string;
8393
+ chamber_of_commerce_number?: string;
8394
+ city?: string;
8395
+ company_name?: string;
8396
+ created_at?: string;
8397
+ email?: string;
8398
+ email_purpose?: string | null;
8399
+ iban?: string;
8400
+ logo_path?: string | null;
8401
+ payment_term_days?: number;
8402
+ phone?: string;
8403
+ postal_code?: string;
8404
+ primary_color?: string;
8405
+ secondary_color?: string;
8406
+ show_company_name?: boolean;
8407
+ singleton_key?: boolean;
8408
+ updated_at?: string;
8409
+ vat_identification_number?: string;
8410
+ website?: string;
8411
+ };
8412
+ Update: {
8413
+ address?: string;
8414
+ chamber_of_commerce_number?: string;
8415
+ city?: string;
8416
+ company_name?: string;
8417
+ created_at?: string;
8418
+ email?: string;
8419
+ email_purpose?: string | null;
8420
+ iban?: string;
8421
+ logo_path?: string | null;
8422
+ payment_term_days?: number;
8423
+ phone?: string;
8424
+ postal_code?: string;
8425
+ primary_color?: string;
8426
+ secondary_color?: string;
8427
+ show_company_name?: boolean;
8428
+ singleton_key?: boolean;
8429
+ updated_at?: string;
8430
+ vat_identification_number?: string;
8431
+ website?: string;
8432
+ };
8433
+ Relationships: [];
8434
+ };
8267
8435
  invoice_items: {
8268
8436
  Row: {
8269
8437
  created_at: string;
@@ -8277,6 +8445,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8277
8445
  total_cents: number;
8278
8446
  unit: string;
8279
8447
  unit_price_cents: number;
8448
+ vat_rate: number | null;
8280
8449
  };
8281
8450
  Insert: {
8282
8451
  created_at?: string;
@@ -8290,6 +8459,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8290
8459
  total_cents?: number;
8291
8460
  unit?: string;
8292
8461
  unit_price_cents?: number;
8462
+ vat_rate?: number | null;
8293
8463
  };
8294
8464
  Update: {
8295
8465
  created_at?: string;
@@ -8303,6 +8473,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8303
8473
  total_cents?: number;
8304
8474
  unit?: string;
8305
8475
  unit_price_cents?: number;
8476
+ vat_rate?: number | null;
8306
8477
  };
8307
8478
  Relationships: [{
8308
8479
  foreignKeyName: "invoice_items_invoice_id_fkey";
@@ -8548,6 +8719,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8548
8719
  };
8549
8720
  invoices: {
8550
8721
  Row: {
8722
+ branding_snapshot: import("./types.js").Json | null;
8551
8723
  created_at: string;
8552
8724
  created_by: string | null;
8553
8725
  customer_address: string | null;
@@ -8566,6 +8738,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8566
8738
  note: string | null;
8567
8739
  payment_term_days: number;
8568
8740
  reference: string | null;
8741
+ sent_at: string | null;
8742
+ sent_to: string | null;
8569
8743
  source_number: string | null;
8570
8744
  source_ref: string | null;
8571
8745
  source_type: string;
@@ -8578,6 +8752,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8578
8752
  work_address: string | null;
8579
8753
  };
8580
8754
  Insert: {
8755
+ branding_snapshot?: import("./types.js").Json | null;
8581
8756
  created_at?: string;
8582
8757
  created_by?: string | null;
8583
8758
  customer_address?: string | null;
@@ -8596,6 +8771,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8596
8771
  note?: string | null;
8597
8772
  payment_term_days?: number;
8598
8773
  reference?: string | null;
8774
+ sent_at?: string | null;
8775
+ sent_to?: string | null;
8599
8776
  source_number?: string | null;
8600
8777
  source_ref?: string | null;
8601
8778
  source_type?: string;
@@ -8608,6 +8785,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8608
8785
  work_address?: string | null;
8609
8786
  };
8610
8787
  Update: {
8788
+ branding_snapshot?: import("./types.js").Json | null;
8611
8789
  created_at?: string;
8612
8790
  created_by?: string | null;
8613
8791
  customer_address?: string | null;
@@ -8626,6 +8804,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8626
8804
  note?: string | null;
8627
8805
  payment_term_days?: number;
8628
8806
  reference?: string | null;
8807
+ sent_at?: string | null;
8808
+ sent_to?: string | null;
8629
8809
  source_number?: string | null;
8630
8810
  source_ref?: string | null;
8631
8811
  source_type?: string;
@@ -9287,6 +9467,57 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9287
9467
  };
9288
9468
  Relationships: [];
9289
9469
  };
9470
+ itk_offerte_acceptaties: {
9471
+ Row: {
9472
+ accepted_at: string;
9473
+ akkoordgever_email: string;
9474
+ akkoordgever_naam: string;
9475
+ akkoordverklaring: string;
9476
+ id: string;
9477
+ inhoud_hash: string;
9478
+ ip_address: unknown;
9479
+ offerte_id: string;
9480
+ offerte_number: string;
9481
+ offerte_snapshot: import("./types.js").Json;
9482
+ user_agent: string | null;
9483
+ versie: string;
9484
+ };
9485
+ Insert: {
9486
+ accepted_at?: string;
9487
+ akkoordgever_email: string;
9488
+ akkoordgever_naam: string;
9489
+ akkoordverklaring: string;
9490
+ id?: string;
9491
+ inhoud_hash: string;
9492
+ ip_address?: unknown;
9493
+ offerte_id: string;
9494
+ offerte_number: string;
9495
+ offerte_snapshot: import("./types.js").Json;
9496
+ user_agent?: string | null;
9497
+ versie: string;
9498
+ };
9499
+ Update: {
9500
+ accepted_at?: string;
9501
+ akkoordgever_email?: string;
9502
+ akkoordgever_naam?: string;
9503
+ akkoordverklaring?: string;
9504
+ id?: string;
9505
+ inhoud_hash?: string;
9506
+ ip_address?: unknown;
9507
+ offerte_id?: string;
9508
+ offerte_number?: string;
9509
+ offerte_snapshot?: import("./types.js").Json;
9510
+ user_agent?: string | null;
9511
+ versie?: string;
9512
+ };
9513
+ Relationships: [{
9514
+ foreignKeyName: "itk_offerte_acceptaties_offerte_id_fkey";
9515
+ columns: ["offerte_id"];
9516
+ isOneToOne: true;
9517
+ referencedRelation: "itk_offertes";
9518
+ referencedColumns: ["id"];
9519
+ }];
9520
+ };
9290
9521
  itk_offerte_events: {
9291
9522
  Row: {
9292
9523
  created_at: string;
@@ -9334,6 +9565,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9334
9565
  quantity: number;
9335
9566
  sort_order: number;
9336
9567
  source: string;
9568
+ unit: string | null;
9337
9569
  unit_price_cents: number;
9338
9570
  updated_at: string;
9339
9571
  };
@@ -9347,6 +9579,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9347
9579
  quantity?: number;
9348
9580
  sort_order?: number;
9349
9581
  source?: string;
9582
+ unit?: string | null;
9350
9583
  unit_price_cents?: number;
9351
9584
  updated_at?: string;
9352
9585
  };
@@ -9360,6 +9593,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9360
9593
  quantity?: number;
9361
9594
  sort_order?: number;
9362
9595
  source?: string;
9596
+ unit?: string | null;
9363
9597
  unit_price_cents?: number;
9364
9598
  updated_at?: string;
9365
9599
  };
@@ -9383,6 +9617,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9383
9617
  created_at: string;
9384
9618
  default_geldigheid_dagen: number;
9385
9619
  default_vat_rate: number;
9620
+ email_purpose: string | null;
9386
9621
  id: string;
9387
9622
  singleton: boolean;
9388
9623
  updated_at: string;
@@ -9392,6 +9627,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9392
9627
  created_at?: string;
9393
9628
  default_geldigheid_dagen?: number;
9394
9629
  default_vat_rate?: number;
9630
+ email_purpose?: string | null;
9395
9631
  id?: string;
9396
9632
  singleton?: boolean;
9397
9633
  updated_at?: string;
@@ -9401,6 +9637,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9401
9637
  created_at?: string;
9402
9638
  default_geldigheid_dagen?: number;
9403
9639
  default_vat_rate?: number;
9640
+ email_purpose?: string | null;
9404
9641
  id?: string;
9405
9642
  singleton?: boolean;
9406
9643
  updated_at?: string;
@@ -9493,6 +9730,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9493
9730
  };
9494
9731
  itk_offertes: {
9495
9732
  Row: {
9733
+ aandachtspunten: string | null;
9734
+ acceptance_id: string | null;
9496
9735
  ai_generated: boolean;
9497
9736
  approved_at: string | null;
9498
9737
  binnen_mandaat: boolean;
@@ -9508,8 +9747,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9508
9747
  notities: string | null;
9509
9748
  offerte_number: string | null;
9510
9749
  omschrijving: string;
9750
+ onderwerp: string | null;
9511
9751
  rejected_at: string | null;
9512
9752
  sent_at: string | null;
9753
+ sign_token: string;
9754
+ signature_data: string | null;
9755
+ signed_at: string | null;
9756
+ signer_email: string | null;
9757
+ signer_name: string | null;
9513
9758
  source_number: string | null;
9514
9759
  source_ref: string | null;
9515
9760
  source_type: string;
@@ -9520,12 +9765,17 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9520
9765
  valid_until: string | null;
9521
9766
  vat_cents: number;
9522
9767
  vat_rate: number;
9768
+ verzonden_naar: string | null;
9523
9769
  viewed_at: string | null;
9524
9770
  volgnummer: number | null;
9771
+ voorwaarden: string | null;
9772
+ werkbon_concept: import("./types.js").Json | null;
9525
9773
  werkbon_id: string | null;
9526
9774
  work_location_id: string | null;
9527
9775
  };
9528
9776
  Insert: {
9777
+ aandachtspunten?: string | null;
9778
+ acceptance_id?: string | null;
9529
9779
  ai_generated?: boolean;
9530
9780
  approved_at?: string | null;
9531
9781
  binnen_mandaat?: boolean;
@@ -9541,8 +9791,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9541
9791
  notities?: string | null;
9542
9792
  offerte_number?: string | null;
9543
9793
  omschrijving?: string;
9794
+ onderwerp?: string | null;
9544
9795
  rejected_at?: string | null;
9545
9796
  sent_at?: string | null;
9797
+ sign_token?: string;
9798
+ signature_data?: string | null;
9799
+ signed_at?: string | null;
9800
+ signer_email?: string | null;
9801
+ signer_name?: string | null;
9546
9802
  source_number?: string | null;
9547
9803
  source_ref?: string | null;
9548
9804
  source_type?: string;
@@ -9553,12 +9809,17 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9553
9809
  valid_until?: string | null;
9554
9810
  vat_cents?: number;
9555
9811
  vat_rate?: number;
9812
+ verzonden_naar?: string | null;
9556
9813
  viewed_at?: string | null;
9557
9814
  volgnummer?: number | null;
9815
+ voorwaarden?: string | null;
9816
+ werkbon_concept?: import("./types.js").Json | null;
9558
9817
  werkbon_id?: string | null;
9559
9818
  work_location_id?: string | null;
9560
9819
  };
9561
9820
  Update: {
9821
+ aandachtspunten?: string | null;
9822
+ acceptance_id?: string | null;
9562
9823
  ai_generated?: boolean;
9563
9824
  approved_at?: string | null;
9564
9825
  binnen_mandaat?: boolean;
@@ -9574,8 +9835,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9574
9835
  notities?: string | null;
9575
9836
  offerte_number?: string | null;
9576
9837
  omschrijving?: string;
9838
+ onderwerp?: string | null;
9577
9839
  rejected_at?: string | null;
9578
9840
  sent_at?: string | null;
9841
+ sign_token?: string;
9842
+ signature_data?: string | null;
9843
+ signed_at?: string | null;
9844
+ signer_email?: string | null;
9845
+ signer_name?: string | null;
9579
9846
  source_number?: string | null;
9580
9847
  source_ref?: string | null;
9581
9848
  source_type?: string;
@@ -9586,12 +9853,21 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9586
9853
  valid_until?: string | null;
9587
9854
  vat_cents?: number;
9588
9855
  vat_rate?: number;
9856
+ verzonden_naar?: string | null;
9589
9857
  viewed_at?: string | null;
9590
9858
  volgnummer?: number | null;
9859
+ voorwaarden?: string | null;
9860
+ werkbon_concept?: import("./types.js").Json | null;
9591
9861
  werkbon_id?: string | null;
9592
9862
  work_location_id?: string | null;
9593
9863
  };
9594
9864
  Relationships: [{
9865
+ foreignKeyName: "itk_offertes_acceptance_id_fkey";
9866
+ columns: ["acceptance_id"];
9867
+ isOneToOne: false;
9868
+ referencedRelation: "itk_offerte_acceptaties";
9869
+ referencedColumns: ["id"];
9870
+ }, {
9595
9871
  foreignKeyName: "itk_offertes_contact_id_fkey";
9596
9872
  columns: ["contact_id"];
9597
9873
  isOneToOne: false;
@@ -10313,6 +10589,30 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
10313
10589
  };
10314
10590
  Relationships: [];
10315
10591
  };
10592
+ logistics_cart_barcode_archief: {
10593
+ Row: {
10594
+ barcode: string;
10595
+ cart_id: string;
10596
+ created_at: string | null;
10597
+ gearchiveerd_op: string;
10598
+ order_id: string | null;
10599
+ };
10600
+ Insert: {
10601
+ barcode: string;
10602
+ cart_id: string;
10603
+ created_at?: string | null;
10604
+ gearchiveerd_op?: string;
10605
+ order_id?: string | null;
10606
+ };
10607
+ Update: {
10608
+ barcode?: string;
10609
+ cart_id?: string;
10610
+ created_at?: string | null;
10611
+ gearchiveerd_op?: string;
10612
+ order_id?: string | null;
10613
+ };
10614
+ Relationships: [];
10615
+ };
10316
10616
  logistics_control_scan: {
10317
10617
  Row: {
10318
10618
  approved_at: string | null;
@@ -14599,6 +14899,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14599
14899
  next_attempt_at: string;
14600
14900
  order_id: string;
14601
14901
  processed_at: string | null;
14902
+ send_error: string | null;
14602
14903
  status: string;
14603
14904
  updated_at: string;
14604
14905
  };
@@ -14612,6 +14913,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14612
14913
  next_attempt_at?: string;
14613
14914
  order_id: string;
14614
14915
  processed_at?: string | null;
14916
+ send_error?: string | null;
14615
14917
  status?: string;
14616
14918
  updated_at?: string;
14617
14919
  };
@@ -14625,6 +14927,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14625
14927
  next_attempt_at?: string;
14626
14928
  order_id?: string;
14627
14929
  processed_at?: string | null;
14930
+ send_error?: string | null;
14628
14931
  status?: string;
14629
14932
  updated_at?: string;
14630
14933
  };
@@ -15963,18 +16266,24 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
15963
16266
  Row: {
15964
16267
  id: boolean;
15965
16268
  last_cleanup_at: string | null;
16269
+ last_error: string | null;
16270
+ last_error_at: string | null;
15966
16271
  last_sync_at: string | null;
15967
16272
  updated_at: string;
15968
16273
  };
15969
16274
  Insert: {
15970
16275
  id?: boolean;
15971
16276
  last_cleanup_at?: string | null;
16277
+ last_error?: string | null;
16278
+ last_error_at?: string | null;
15972
16279
  last_sync_at?: string | null;
15973
16280
  updated_at?: string;
15974
16281
  };
15975
16282
  Update: {
15976
16283
  id?: boolean;
15977
16284
  last_cleanup_at?: string | null;
16285
+ last_error?: string | null;
16286
+ last_error_at?: string | null;
15978
16287
  last_sync_at?: string | null;
15979
16288
  updated_at?: string;
15980
16289
  };
@@ -16100,6 +16409,54 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
16100
16409
  };
16101
16410
  Relationships: [];
16102
16411
  };
16412
+ planning_confirmation_log: {
16413
+ Row: {
16414
+ created_at: string;
16415
+ end_at: string;
16416
+ id: string;
16417
+ outbox_id: string | null;
16418
+ planning_item_id: string;
16419
+ reason: string | null;
16420
+ recipient: string | null;
16421
+ start_at: string;
16422
+ status: string;
16423
+ };
16424
+ Insert: {
16425
+ created_at?: string;
16426
+ end_at: string;
16427
+ id?: string;
16428
+ outbox_id?: string | null;
16429
+ planning_item_id: string;
16430
+ reason?: string | null;
16431
+ recipient?: string | null;
16432
+ start_at: string;
16433
+ status: string;
16434
+ };
16435
+ Update: {
16436
+ created_at?: string;
16437
+ end_at?: string;
16438
+ id?: string;
16439
+ outbox_id?: string | null;
16440
+ planning_item_id?: string;
16441
+ reason?: string | null;
16442
+ recipient?: string | null;
16443
+ start_at?: string;
16444
+ status?: string;
16445
+ };
16446
+ Relationships: [{
16447
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
16448
+ columns: ["planning_item_id"];
16449
+ isOneToOne: false;
16450
+ referencedRelation: "planning_items";
16451
+ referencedColumns: ["id"];
16452
+ }, {
16453
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
16454
+ columns: ["planning_item_id"];
16455
+ isOneToOne: false;
16456
+ referencedRelation: "planning_overview";
16457
+ referencedColumns: ["id"];
16458
+ }];
16459
+ };
16103
16460
  planning_item_assistants: {
16104
16461
  Row: {
16105
16462
  created_at: string;
@@ -16184,6 +16541,63 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
16184
16541
  referencedColumns: ["id"];
16185
16542
  }];
16186
16543
  };
16544
+ planning_mail_settings: {
16545
+ Row: {
16546
+ body_template: string;
16547
+ cc: string[];
16548
+ connection_id: string | null;
16549
+ created_at: string;
16550
+ email_purpose: string | null;
16551
+ enabled: boolean;
16552
+ id: boolean;
16553
+ reply_to: string | null;
16554
+ subject_template: string;
16555
+ timezone: string;
16556
+ updated_at: string;
16557
+ updated_by: string | null;
16558
+ };
16559
+ Insert: {
16560
+ body_template?: string;
16561
+ cc?: string[];
16562
+ connection_id?: string | null;
16563
+ created_at?: string;
16564
+ email_purpose?: string | null;
16565
+ enabled?: boolean;
16566
+ id?: boolean;
16567
+ reply_to?: string | null;
16568
+ subject_template?: string;
16569
+ timezone?: string;
16570
+ updated_at?: string;
16571
+ updated_by?: string | null;
16572
+ };
16573
+ Update: {
16574
+ body_template?: string;
16575
+ cc?: string[];
16576
+ connection_id?: string | null;
16577
+ created_at?: string;
16578
+ email_purpose?: string | null;
16579
+ enabled?: boolean;
16580
+ id?: boolean;
16581
+ reply_to?: string | null;
16582
+ subject_template?: string;
16583
+ timezone?: string;
16584
+ updated_at?: string;
16585
+ updated_by?: string | null;
16586
+ };
16587
+ Relationships: [{
16588
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
16589
+ columns: ["connection_id"];
16590
+ isOneToOne: false;
16591
+ referencedRelation: "email_auth_connections";
16592
+ referencedColumns: ["id"];
16593
+ }, {
16594
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
16595
+ columns: ["connection_id"];
16596
+ isOneToOne: false;
16597
+ referencedRelation: "email_auth_connections_safe";
16598
+ referencedColumns: ["id"];
16599
+ }];
16600
+ };
16187
16601
  planning_monteur_day_locations: {
16188
16602
  Row: {
16189
16603
  created_at: string;
@@ -16571,6 +16985,27 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
16571
16985
  };
16572
16986
  Relationships: [];
16573
16987
  };
16988
+ print_genegeerde_computers: {
16989
+ Row: {
16990
+ computer_naam: string;
16991
+ genegeerd_door: string | null;
16992
+ genegeerd_op: string;
16993
+ id: string;
16994
+ };
16995
+ Insert: {
16996
+ computer_naam: string;
16997
+ genegeerd_door?: string | null;
16998
+ genegeerd_op?: string;
16999
+ id?: string;
17000
+ };
17001
+ Update: {
17002
+ computer_naam?: string;
17003
+ genegeerd_door?: string | null;
17004
+ genegeerd_op?: string;
17005
+ id?: string;
17006
+ };
17007
+ Relationships: [];
17008
+ };
16574
17009
  print_job_logs: {
16575
17010
  Row: {
16576
17011
  created_at: string;
@@ -16841,6 +17276,39 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
16841
17276
  referencedColumns: ["id"];
16842
17277
  }];
16843
17278
  };
17279
+ print_plek_printers: {
17280
+ Row: {
17281
+ id: string;
17282
+ print_plek_id: string;
17283
+ printer_id: string;
17284
+ toegevoegd_op: string;
17285
+ };
17286
+ Insert: {
17287
+ id?: string;
17288
+ print_plek_id: string;
17289
+ printer_id: string;
17290
+ toegevoegd_op?: string;
17291
+ };
17292
+ Update: {
17293
+ id?: string;
17294
+ print_plek_id?: string;
17295
+ printer_id?: string;
17296
+ toegevoegd_op?: string;
17297
+ };
17298
+ Relationships: [{
17299
+ foreignKeyName: "print_plek_printers_print_plek_id_fkey";
17300
+ columns: ["print_plek_id"];
17301
+ isOneToOne: false;
17302
+ referencedRelation: "print_plekken";
17303
+ referencedColumns: ["id"];
17304
+ }, {
17305
+ foreignKeyName: "print_plek_printers_printer_id_fkey";
17306
+ columns: ["printer_id"];
17307
+ isOneToOne: false;
17308
+ referencedRelation: "printers";
17309
+ referencedColumns: ["id"];
17310
+ }];
17311
+ };
16844
17312
  print_plekken: {
16845
17313
  Row: {
16846
17314
  actief: boolean;
@@ -17056,7 +17524,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
17056
17524
  created_at: string;
17057
17525
  id: string;
17058
17526
  layout_id: string;
17059
- printer_id: string;
17527
+ printer_id: string | null;
17528
+ printer_ontbreekt_sinds: string | null;
17060
17529
  prioriteit: number;
17061
17530
  updated_at: string;
17062
17531
  };
@@ -17064,7 +17533,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
17064
17533
  created_at?: string;
17065
17534
  id?: string;
17066
17535
  layout_id: string;
17067
- printer_id: string;
17536
+ printer_id?: string | null;
17537
+ printer_ontbreekt_sinds?: string | null;
17068
17538
  prioriteit?: number;
17069
17539
  updated_at?: string;
17070
17540
  };
@@ -17072,7 +17542,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
17072
17542
  created_at?: string;
17073
17543
  id?: string;
17074
17544
  layout_id?: string;
17075
- printer_id?: string;
17545
+ printer_id?: string | null;
17546
+ printer_ontbreekt_sinds?: string | null;
17076
17547
  prioriteit?: number;
17077
17548
  updated_at?: string;
17078
17549
  };
@@ -17654,6 +18125,117 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
17654
18125
  };
17655
18126
  Relationships: [];
17656
18127
  };
18128
+ product_suppliers: {
18129
+ Row: {
18130
+ created_at: string;
18131
+ id: string;
18132
+ is_preferred: boolean;
18133
+ lead_time_days: number | null;
18134
+ min_order_quantity: number | null;
18135
+ notes: string | null;
18136
+ previous_price_cents: number | null;
18137
+ price_source: string;
18138
+ price_updated_at: string | null;
18139
+ product_id: string;
18140
+ purchase_price_cents: number | null;
18141
+ supplier_article_number: string | null;
18142
+ supplier_id: string;
18143
+ updated_at: string;
18144
+ };
18145
+ Insert: {
18146
+ created_at?: string;
18147
+ id?: string;
18148
+ is_preferred?: boolean;
18149
+ lead_time_days?: number | null;
18150
+ min_order_quantity?: number | null;
18151
+ notes?: string | null;
18152
+ previous_price_cents?: number | null;
18153
+ price_source?: string;
18154
+ price_updated_at?: string | null;
18155
+ product_id: string;
18156
+ purchase_price_cents?: number | null;
18157
+ supplier_article_number?: string | null;
18158
+ supplier_id: string;
18159
+ updated_at?: string;
18160
+ };
18161
+ Update: {
18162
+ created_at?: string;
18163
+ id?: string;
18164
+ is_preferred?: boolean;
18165
+ lead_time_days?: number | null;
18166
+ min_order_quantity?: number | null;
18167
+ notes?: string | null;
18168
+ previous_price_cents?: number | null;
18169
+ price_source?: string;
18170
+ price_updated_at?: string | null;
18171
+ product_id?: string;
18172
+ purchase_price_cents?: number | null;
18173
+ supplier_article_number?: string | null;
18174
+ supplier_id?: string;
18175
+ updated_at?: string;
18176
+ };
18177
+ Relationships: [{
18178
+ foreignKeyName: "product_suppliers_product_id_fkey";
18179
+ columns: ["product_id"];
18180
+ isOneToOne: false;
18181
+ referencedRelation: "logistics_product_dimensions";
18182
+ referencedColumns: ["product_id"];
18183
+ }, {
18184
+ foreignKeyName: "product_suppliers_product_id_fkey";
18185
+ columns: ["product_id"];
18186
+ isOneToOne: false;
18187
+ referencedRelation: "products";
18188
+ referencedColumns: ["id"];
18189
+ }, {
18190
+ foreignKeyName: "product_suppliers_supplier_id_fkey";
18191
+ columns: ["supplier_id"];
18192
+ isOneToOne: false;
18193
+ referencedRelation: "suppliers";
18194
+ referencedColumns: ["id"];
18195
+ }];
18196
+ };
18197
+ product_tray_stickers: {
18198
+ Row: {
18199
+ bestand_url: string;
18200
+ bestandsgrootte: number | null;
18201
+ bestandsnaam: string | null;
18202
+ bestandspad: string | null;
18203
+ created_at: string;
18204
+ product_id: string;
18205
+ updated_at: string;
18206
+ };
18207
+ Insert: {
18208
+ bestand_url: string;
18209
+ bestandsgrootte?: number | null;
18210
+ bestandsnaam?: string | null;
18211
+ bestandspad?: string | null;
18212
+ created_at?: string;
18213
+ product_id: string;
18214
+ updated_at?: string;
18215
+ };
18216
+ Update: {
18217
+ bestand_url?: string;
18218
+ bestandsgrootte?: number | null;
18219
+ bestandsnaam?: string | null;
18220
+ bestandspad?: string | null;
18221
+ created_at?: string;
18222
+ product_id?: string;
18223
+ updated_at?: string;
18224
+ };
18225
+ Relationships: [{
18226
+ foreignKeyName: "product_tray_stickers_product_id_fkey";
18227
+ columns: ["product_id"];
18228
+ isOneToOne: true;
18229
+ referencedRelation: "logistics_product_dimensions";
18230
+ referencedColumns: ["product_id"];
18231
+ }, {
18232
+ foreignKeyName: "product_tray_stickers_product_id_fkey";
18233
+ columns: ["product_id"];
18234
+ isOneToOne: true;
18235
+ referencedRelation: "products";
18236
+ referencedColumns: ["id"];
18237
+ }];
18238
+ };
17657
18239
  products: {
17658
18240
  Row: {
17659
18241
  article_number: string | null;
@@ -18116,9 +18698,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
18116
18698
  purchase_order_items: {
18117
18699
  Row: {
18118
18700
  article_number: string | null;
18701
+ cancel_reason: string | null;
18702
+ cancelled_at: string | null;
18119
18703
  created_at: string;
18120
18704
  delivery_date: string | null;
18121
18705
  id: string;
18706
+ incoming_booked: number;
18707
+ line_status: string;
18122
18708
  name: string;
18123
18709
  note: string | null;
18124
18710
  pot_size: string | null;
@@ -18126,6 +18712,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
18126
18712
  product_type: string;
18127
18713
  purchase_order_id: string;
18128
18714
  quantity: number;
18715
+ received_at: string | null;
18716
+ received_booked: number;
18129
18717
  supplier_id: string | null;
18130
18718
  supplier_product_id: string | null;
18131
18719
  unit_price_cents: number;
@@ -18133,9 +18721,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
18133
18721
  };
18134
18722
  Insert: {
18135
18723
  article_number?: string | null;
18724
+ cancel_reason?: string | null;
18725
+ cancelled_at?: string | null;
18136
18726
  created_at?: string;
18137
18727
  delivery_date?: string | null;
18138
18728
  id?: string;
18729
+ incoming_booked?: number;
18730
+ line_status?: string;
18139
18731
  name?: string;
18140
18732
  note?: string | null;
18141
18733
  pot_size?: string | null;
@@ -18143,6 +18735,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
18143
18735
  product_type?: string;
18144
18736
  purchase_order_id: string;
18145
18737
  quantity?: number;
18738
+ received_at?: string | null;
18739
+ received_booked?: number;
18146
18740
  supplier_id?: string | null;
18147
18741
  supplier_product_id?: string | null;
18148
18742
  unit_price_cents?: number;
@@ -18150,9 +18744,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
18150
18744
  };
18151
18745
  Update: {
18152
18746
  article_number?: string | null;
18747
+ cancel_reason?: string | null;
18748
+ cancelled_at?: string | null;
18153
18749
  created_at?: string;
18154
18750
  delivery_date?: string | null;
18155
18751
  id?: string;
18752
+ incoming_booked?: number;
18753
+ line_status?: string;
18156
18754
  name?: string;
18157
18755
  note?: string | null;
18158
18756
  pot_size?: string | null;
@@ -18160,6 +18758,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
18160
18758
  product_type?: string;
18161
18759
  purchase_order_id?: string;
18162
18760
  quantity?: number;
18761
+ received_at?: string | null;
18762
+ received_booked?: number;
18163
18763
  supplier_id?: string | null;
18164
18764
  supplier_product_id?: string | null;
18165
18765
  unit_price_cents?: number;
@@ -18263,6 +18863,153 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
18263
18863
  referencedColumns: ["id"];
18264
18864
  }];
18265
18865
  };
18866
+ purchase_request_events: {
18867
+ Row: {
18868
+ created_at: string;
18869
+ details: import("./types.js").Json | null;
18870
+ event_type: string;
18871
+ id: string;
18872
+ request_id: string;
18873
+ };
18874
+ Insert: {
18875
+ created_at?: string;
18876
+ details?: import("./types.js").Json | null;
18877
+ event_type: string;
18878
+ id?: string;
18879
+ request_id: string;
18880
+ };
18881
+ Update: {
18882
+ created_at?: string;
18883
+ details?: import("./types.js").Json | null;
18884
+ event_type?: string;
18885
+ id?: string;
18886
+ request_id?: string;
18887
+ };
18888
+ Relationships: [{
18889
+ foreignKeyName: "purchase_request_events_request_id_fkey";
18890
+ columns: ["request_id"];
18891
+ isOneToOne: false;
18892
+ referencedRelation: "purchase_requests";
18893
+ referencedColumns: ["id"];
18894
+ }];
18895
+ };
18896
+ purchase_request_responses: {
18897
+ Row: {
18898
+ confirmed_date: string | null;
18899
+ confirmed_price_cents: number | null;
18900
+ confirmed_quantity: number;
18901
+ created_at: string;
18902
+ id: string;
18903
+ not_available: boolean;
18904
+ note: string | null;
18905
+ purchase_order_item_id: string;
18906
+ request_id: string;
18907
+ updated_at: string;
18908
+ };
18909
+ Insert: {
18910
+ confirmed_date?: string | null;
18911
+ confirmed_price_cents?: number | null;
18912
+ confirmed_quantity?: number;
18913
+ created_at?: string;
18914
+ id?: string;
18915
+ not_available?: boolean;
18916
+ note?: string | null;
18917
+ purchase_order_item_id: string;
18918
+ request_id: string;
18919
+ updated_at?: string;
18920
+ };
18921
+ Update: {
18922
+ confirmed_date?: string | null;
18923
+ confirmed_price_cents?: number | null;
18924
+ confirmed_quantity?: number;
18925
+ created_at?: string;
18926
+ id?: string;
18927
+ not_available?: boolean;
18928
+ note?: string | null;
18929
+ purchase_order_item_id?: string;
18930
+ request_id?: string;
18931
+ updated_at?: string;
18932
+ };
18933
+ Relationships: [{
18934
+ foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
18935
+ columns: ["purchase_order_item_id"];
18936
+ isOneToOne: false;
18937
+ referencedRelation: "purchase_order_items";
18938
+ referencedColumns: ["id"];
18939
+ }, {
18940
+ foreignKeyName: "purchase_request_responses_request_id_fkey";
18941
+ columns: ["request_id"];
18942
+ isOneToOne: false;
18943
+ referencedRelation: "purchase_requests";
18944
+ referencedColumns: ["id"];
18945
+ }];
18946
+ };
18947
+ purchase_requests: {
18948
+ Row: {
18949
+ created_at: string;
18950
+ expires_at: string;
18951
+ first_viewed_at: string | null;
18952
+ id: string;
18953
+ processed_at: string | null;
18954
+ purchase_order_id: string;
18955
+ responded_at: string | null;
18956
+ sent_at: string;
18957
+ status: string;
18958
+ supplier_id: string | null;
18959
+ supplier_name: string;
18960
+ supplier_note: string | null;
18961
+ to_address: string | null;
18962
+ token_hash: string;
18963
+ updated_at: string;
18964
+ };
18965
+ Insert: {
18966
+ created_at?: string;
18967
+ expires_at?: string;
18968
+ first_viewed_at?: string | null;
18969
+ id?: string;
18970
+ processed_at?: string | null;
18971
+ purchase_order_id: string;
18972
+ responded_at?: string | null;
18973
+ sent_at?: string;
18974
+ status?: string;
18975
+ supplier_id?: string | null;
18976
+ supplier_name?: string;
18977
+ supplier_note?: string | null;
18978
+ to_address?: string | null;
18979
+ token_hash: string;
18980
+ updated_at?: string;
18981
+ };
18982
+ Update: {
18983
+ created_at?: string;
18984
+ expires_at?: string;
18985
+ first_viewed_at?: string | null;
18986
+ id?: string;
18987
+ processed_at?: string | null;
18988
+ purchase_order_id?: string;
18989
+ responded_at?: string | null;
18990
+ sent_at?: string;
18991
+ status?: string;
18992
+ supplier_id?: string | null;
18993
+ supplier_name?: string;
18994
+ supplier_note?: string | null;
18995
+ to_address?: string | null;
18996
+ token_hash?: string;
18997
+ updated_at?: string;
18998
+ };
18999
+ Relationships: [{
19000
+ foreignKeyName: "purchase_requests_purchase_order_id_fkey";
19001
+ columns: ["purchase_order_id"];
19002
+ isOneToOne: false;
19003
+ referencedRelation: "purchase_orders";
19004
+ referencedColumns: ["id"];
19005
+ }, {
19006
+ foreignKeyName: "purchase_requests_supplier_id_fkey";
19007
+ columns: ["supplier_id"];
19008
+ isOneToOne: false;
19009
+ referencedRelation: "suppliers";
19010
+ referencedColumns: ["id"];
19011
+ }];
19012
+ };
18266
19013
  reception_notifications: {
18267
19014
  Row: {
18268
19015
  booking_id: string | null;
@@ -20426,6 +21173,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20426
21173
  auto_invoice_enabled: boolean;
20427
21174
  auto_invoice_start_date: string | null;
20428
21175
  auto_invoice_trigger_statuses: string[];
21176
+ auto_send_mode: string | null;
20429
21177
  created_at: string;
20430
21178
  debtor_gl_account: string;
20431
21179
  default_article_code: string | null;
@@ -20454,6 +21202,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20454
21202
  auto_invoice_enabled?: boolean;
20455
21203
  auto_invoice_start_date?: string | null;
20456
21204
  auto_invoice_trigger_statuses?: string[];
21205
+ auto_send_mode?: string | null;
20457
21206
  created_at?: string;
20458
21207
  debtor_gl_account?: string;
20459
21208
  default_article_code?: string | null;
@@ -20482,6 +21231,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20482
21231
  auto_invoice_enabled?: boolean;
20483
21232
  auto_invoice_start_date?: string | null;
20484
21233
  auto_invoice_trigger_statuses?: string[];
21234
+ auto_send_mode?: string | null;
20485
21235
  created_at?: string;
20486
21236
  debtor_gl_account?: string;
20487
21237
  default_article_code?: string | null;
@@ -20925,16 +21675,19 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20925
21675
  Row: {
20926
21676
  active_environment: string;
20927
21677
  id: number;
21678
+ public_base_url: string | null;
20928
21679
  updated_at: string;
20929
21680
  };
20930
21681
  Insert: {
20931
21682
  active_environment?: string;
20932
21683
  id?: number;
21684
+ public_base_url?: string | null;
20933
21685
  updated_at?: string;
20934
21686
  };
20935
21687
  Update: {
20936
21688
  active_environment?: string;
20937
21689
  id?: number;
21690
+ public_base_url?: string | null;
20938
21691
  updated_at?: string;
20939
21692
  };
20940
21693
  Relationships: [];
@@ -21165,11 +21918,15 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21165
21918
  monteur_id: string;
21166
21919
  netto_verschil_minuten: number;
21167
21920
  normaal_uitbetaald_minuten: number;
21921
+ omgezet_vakantie_minuten: number;
21922
+ overdracht_vorige_minuten: number;
21168
21923
  overuren_minuten: number;
21169
21924
  plus_minuten: number;
21925
+ rest_overuren_minuten: number;
21170
21926
  status: string;
21171
21927
  totaal_uitbetaald_minuten: number;
21172
21928
  updated_at: string;
21929
+ vakantie_uren_bijgeschreven: number;
21173
21930
  };
21174
21931
  Insert: {
21175
21932
  afgesloten_at?: string | null;
@@ -21186,11 +21943,15 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21186
21943
  monteur_id: string;
21187
21944
  netto_verschil_minuten?: number;
21188
21945
  normaal_uitbetaald_minuten?: number;
21946
+ omgezet_vakantie_minuten?: number;
21947
+ overdracht_vorige_minuten?: number;
21189
21948
  overuren_minuten?: number;
21190
21949
  plus_minuten?: number;
21950
+ rest_overuren_minuten?: number;
21191
21951
  status?: string;
21192
21952
  totaal_uitbetaald_minuten?: number;
21193
21953
  updated_at?: string;
21954
+ vakantie_uren_bijgeschreven?: number;
21194
21955
  };
21195
21956
  Update: {
21196
21957
  afgesloten_at?: string | null;
@@ -21207,11 +21968,15 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21207
21968
  monteur_id?: string;
21208
21969
  netto_verschil_minuten?: number;
21209
21970
  normaal_uitbetaald_minuten?: number;
21971
+ omgezet_vakantie_minuten?: number;
21972
+ overdracht_vorige_minuten?: number;
21210
21973
  overuren_minuten?: number;
21211
21974
  plus_minuten?: number;
21975
+ rest_overuren_minuten?: number;
21212
21976
  status?: string;
21213
21977
  totaal_uitbetaald_minuten?: number;
21214
21978
  updated_at?: string;
21979
+ vakantie_uren_bijgeschreven?: number;
21215
21980
  };
21216
21981
  Relationships: [];
21217
21982
  };
@@ -21266,29 +22031,53 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21266
22031
  };
21267
22032
  Relationships: [];
21268
22033
  };
21269
- uren_settings: {
22034
+ uren_pagina_toegang: {
21270
22035
  Row: {
21271
- break_minutes: number;
21272
22036
  created_at: string;
21273
- daily_threshold_hours: number;
21274
- id: boolean;
21275
- include_travel: boolean;
21276
- min_occupancy_monteurs: number;
21277
- ov02_percentage: number;
21278
- ov03_percentage: number;
21279
- updated_at: string;
21280
- weekly_threshold_hours: number;
21281
- workday_end: string;
21282
- workday_start: string;
22037
+ id: string;
22038
+ user_id: string;
21283
22039
  };
21284
22040
  Insert: {
21285
- break_minutes?: number;
21286
22041
  created_at?: string;
21287
- daily_threshold_hours?: number;
21288
- id?: boolean;
21289
- include_travel?: boolean;
21290
- min_occupancy_monteurs?: number;
21291
- ov02_percentage?: number;
22042
+ id?: string;
22043
+ user_id: string;
22044
+ };
22045
+ Update: {
22046
+ created_at?: string;
22047
+ id?: string;
22048
+ user_id?: string;
22049
+ };
22050
+ Relationships: [{
22051
+ foreignKeyName: "uren_pagina_toegang_user_id_fkey";
22052
+ columns: ["user_id"];
22053
+ isOneToOne: true;
22054
+ referencedRelation: "profiles";
22055
+ referencedColumns: ["id"];
22056
+ }];
22057
+ };
22058
+ uren_settings: {
22059
+ Row: {
22060
+ break_minutes: number;
22061
+ created_at: string;
22062
+ daily_threshold_hours: number;
22063
+ id: boolean;
22064
+ include_travel: boolean;
22065
+ min_occupancy_monteurs: number;
22066
+ ov02_percentage: number;
22067
+ ov03_percentage: number;
22068
+ updated_at: string;
22069
+ weekly_threshold_hours: number;
22070
+ workday_end: string;
22071
+ workday_start: string;
22072
+ };
22073
+ Insert: {
22074
+ break_minutes?: number;
22075
+ created_at?: string;
22076
+ daily_threshold_hours?: number;
22077
+ id?: boolean;
22078
+ include_travel?: boolean;
22079
+ min_occupancy_monteurs?: number;
22080
+ ov02_percentage?: number;
21292
22081
  ov03_percentage?: number;
21293
22082
  updated_at?: string;
21294
22083
  weekly_threshold_hours?: number;
@@ -21623,6 +22412,51 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21623
22412
  referencedColumns: ["id"];
21624
22413
  }];
21625
22414
  };
22415
+ vakantie_uitbetalingen: {
22416
+ Row: {
22417
+ created_at: string;
22418
+ created_by: string | null;
22419
+ days: number;
22420
+ id: string;
22421
+ note: string | null;
22422
+ updated_at: string;
22423
+ user_id: string;
22424
+ year: number;
22425
+ };
22426
+ Insert: {
22427
+ created_at?: string;
22428
+ created_by?: string | null;
22429
+ days: number;
22430
+ id?: string;
22431
+ note?: string | null;
22432
+ updated_at?: string;
22433
+ user_id: string;
22434
+ year?: number;
22435
+ };
22436
+ Update: {
22437
+ created_at?: string;
22438
+ created_by?: string | null;
22439
+ days?: number;
22440
+ id?: string;
22441
+ note?: string | null;
22442
+ updated_at?: string;
22443
+ user_id?: string;
22444
+ year?: number;
22445
+ };
22446
+ Relationships: [{
22447
+ foreignKeyName: "vakantie_uitbetalingen_created_by_fkey";
22448
+ columns: ["created_by"];
22449
+ isOneToOne: false;
22450
+ referencedRelation: "profiles";
22451
+ referencedColumns: ["id"];
22452
+ }, {
22453
+ foreignKeyName: "vakantie_uitbetalingen_user_id_fkey";
22454
+ columns: ["user_id"];
22455
+ isOneToOne: false;
22456
+ referencedRelation: "profiles";
22457
+ referencedColumns: ["id"];
22458
+ }];
22459
+ };
21626
22460
  van_inventories: {
21627
22461
  Row: {
21628
22462
  barcode: string | null;
@@ -22625,12 +23459,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22625
23459
  created_at: string;
22626
23460
  default_quantity: number;
22627
23461
  description: string | null;
22628
- duration_minutes: number | null;
23462
+ duration_minutes: number;
22629
23463
  id: string;
23464
+ labor_minutes: number;
22630
23465
  mandaat_type: string | null;
22631
23466
  name: string;
22632
23467
  price_mode: string;
22633
23468
  sort_order: number;
23469
+ travel_minutes: number;
22634
23470
  unit_price_cents: number;
22635
23471
  updated_at: string;
22636
23472
  };
@@ -22642,12 +23478,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22642
23478
  created_at?: string;
22643
23479
  default_quantity?: number;
22644
23480
  description?: string | null;
22645
- duration_minutes?: number | null;
23481
+ duration_minutes?: number;
22646
23482
  id?: string;
23483
+ labor_minutes?: number;
22647
23484
  mandaat_type?: string | null;
22648
23485
  name: string;
22649
23486
  price_mode?: string;
22650
23487
  sort_order?: number;
23488
+ travel_minutes?: number;
22651
23489
  unit_price_cents?: number;
22652
23490
  updated_at?: string;
22653
23491
  };
@@ -22659,12 +23497,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22659
23497
  created_at?: string;
22660
23498
  default_quantity?: number;
22661
23499
  description?: string | null;
22662
- duration_minutes?: number | null;
23500
+ duration_minutes?: number;
22663
23501
  id?: string;
23502
+ labor_minutes?: number;
22664
23503
  mandaat_type?: string | null;
22665
23504
  name?: string;
22666
23505
  price_mode?: string;
22667
23506
  sort_order?: number;
23507
+ travel_minutes?: number;
22668
23508
  unit_price_cents?: number;
22669
23509
  updated_at?: string;
22670
23510
  };
@@ -22907,6 +23747,78 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22907
23747
  referencedColumns: ["id"];
22908
23748
  }];
22909
23749
  };
23750
+ werkbon_voorstellen: {
23751
+ Row: {
23752
+ bron_werkbon_id: string;
23753
+ budget_mandate_cents: number;
23754
+ created_at: string;
23755
+ created_by: string;
23756
+ customer_id: string | null;
23757
+ id: string;
23758
+ payload: import("./types.js").Json;
23759
+ reden: string | null;
23760
+ status: string;
23761
+ updated_at: string;
23762
+ verwerkt_door: string | null;
23763
+ verwerkt_op: string | null;
23764
+ werkbon_id: string | null;
23765
+ };
23766
+ Insert: {
23767
+ bron_werkbon_id: string;
23768
+ budget_mandate_cents?: number;
23769
+ created_at?: string;
23770
+ created_by?: string;
23771
+ customer_id?: string | null;
23772
+ id?: string;
23773
+ payload?: import("./types.js").Json;
23774
+ reden?: string | null;
23775
+ status?: string;
23776
+ updated_at?: string;
23777
+ verwerkt_door?: string | null;
23778
+ verwerkt_op?: string | null;
23779
+ werkbon_id?: string | null;
23780
+ };
23781
+ Update: {
23782
+ bron_werkbon_id?: string;
23783
+ budget_mandate_cents?: number;
23784
+ created_at?: string;
23785
+ created_by?: string;
23786
+ customer_id?: string | null;
23787
+ id?: string;
23788
+ payload?: import("./types.js").Json;
23789
+ reden?: string | null;
23790
+ status?: string;
23791
+ updated_at?: string;
23792
+ verwerkt_door?: string | null;
23793
+ verwerkt_op?: string | null;
23794
+ werkbon_id?: string | null;
23795
+ };
23796
+ Relationships: [{
23797
+ foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
23798
+ columns: ["bron_werkbon_id"];
23799
+ isOneToOne: false;
23800
+ referencedRelation: "werkbonnen";
23801
+ referencedColumns: ["id"];
23802
+ }, {
23803
+ foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
23804
+ columns: ["bron_werkbon_id"];
23805
+ isOneToOne: false;
23806
+ referencedRelation: "wo_overview";
23807
+ referencedColumns: ["id"];
23808
+ }, {
23809
+ foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
23810
+ columns: ["werkbon_id"];
23811
+ isOneToOne: false;
23812
+ referencedRelation: "werkbonnen";
23813
+ referencedColumns: ["id"];
23814
+ }, {
23815
+ foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
23816
+ columns: ["werkbon_id"];
23817
+ isOneToOne: false;
23818
+ referencedRelation: "wo_overview";
23819
+ referencedColumns: ["id"];
23820
+ }];
23821
+ };
22910
23822
  werkbonnen: {
22911
23823
  Row: {
22912
23824
  assigned_user_id: string | null;
@@ -24147,6 +25059,16 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
24147
25059
  };
24148
25060
  Returns: undefined;
24149
25061
  };
25062
+ _quote_release_work_order_intern: {
25063
+ Args: {
25064
+ _offerte_id: string;
25065
+ };
25066
+ Returns: import("./types.js").Json;
25067
+ };
25068
+ _wo_is_planner: {
25069
+ Args: never;
25070
+ Returns: boolean;
25071
+ };
24150
25072
  afh_city_code: {
24151
25073
  Args: {
24152
25074
  _city: string;
@@ -25259,6 +26181,22 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
25259
26181
  };
25260
26182
  Returns: number;
25261
26183
  };
26184
+ get_product_stock: {
26185
+ Args: {
26186
+ p_product_id: string;
26187
+ };
26188
+ Returns: {
26189
+ connection_id: string;
26190
+ incoming_stock: number;
26191
+ minimum_stock: number;
26192
+ notes: string;
26193
+ physical_stock: number;
26194
+ product_id: string;
26195
+ reserved_stock: number;
26196
+ trade_item_key: string;
26197
+ updated_at: string;
26198
+ }[];
26199
+ };
25262
26200
  get_room_busy_windows: {
25263
26201
  Args: {
25264
26202
  p_from: string;
@@ -25563,13 +26501,66 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
25563
26501
  };
25564
26502
  Returns: import("./types.js").Json;
25565
26503
  };
26504
+ inkoop_cancel_line: {
26505
+ Args: {
26506
+ _item_id: string;
26507
+ _reason: string;
26508
+ };
26509
+ Returns: string;
26510
+ };
26511
+ inkoop_get_supplier_request: {
26512
+ Args: {
26513
+ _token: string;
26514
+ };
26515
+ Returns: import("./types.js").Json;
26516
+ };
26517
+ inkoop_hash_token: {
26518
+ Args: {
26519
+ _token: string;
26520
+ };
26521
+ Returns: string;
26522
+ };
26523
+ inkoop_html_escape: {
26524
+ Args: {
26525
+ _t: string;
26526
+ };
26527
+ Returns: string;
26528
+ };
26529
+ inkoop_list_artikelen: {
26530
+ Args: never;
26531
+ Returns: {
26532
+ article_number: string;
26533
+ barcode: string;
26534
+ id: string;
26535
+ incoming_quantity: number;
26536
+ is_layer: boolean;
26537
+ location: string;
26538
+ min_quantity: number;
26539
+ preferred_supplier_name: string;
26540
+ product: string;
26541
+ product_type: string;
26542
+ purchase_price: number;
26543
+ quantity: number;
26544
+ sale_price: number;
26545
+ supplier_count: number;
26546
+ unit: string;
26547
+ }[];
26548
+ };
25566
26549
  inkoop_next_order_number: {
25567
26550
  Args: never;
25568
26551
  Returns: string;
25569
26552
  };
26553
+ inkoop_process_request: {
26554
+ Args: {
26555
+ _request_id: string;
26556
+ };
26557
+ Returns: undefined;
26558
+ };
25570
26559
  inkoop_send_order: {
25571
26560
  Args: {
26561
+ _base_url?: string;
25572
26562
  _order_id: string;
26563
+ _resend?: boolean;
25573
26564
  };
25574
26565
  Returns: {
25575
26566
  outbox_id: string;
@@ -25577,6 +26568,33 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
25577
26568
  to_address: string;
25578
26569
  }[];
25579
26570
  };
26571
+ inkoop_set_preferred_supplier: {
26572
+ Args: {
26573
+ _product_id: string;
26574
+ _supplier_id: string;
26575
+ };
26576
+ Returns: undefined;
26577
+ };
26578
+ inkoop_stock_key: {
26579
+ Args: {
26580
+ p_product_id: string;
26581
+ };
26582
+ Returns: string;
26583
+ };
26584
+ inkoop_submit_supplier_response: {
26585
+ Args: {
26586
+ _lines: import("./types.js").Json;
26587
+ _note?: string;
26588
+ _token: string;
26589
+ };
26590
+ Returns: import("./types.js").Json;
26591
+ };
26592
+ inkoop_sync_item_stock: {
26593
+ Args: {
26594
+ p_item_id: string;
26595
+ };
26596
+ Returns: undefined;
26597
+ };
25580
26598
  instructie_get: {
25581
26599
  Args: {
25582
26600
  _sleutel: string;
@@ -25596,6 +26614,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
25596
26614
  };
25597
26615
  Returns: number;
25598
26616
  };
26617
+ invoice_branding_snapshot: {
26618
+ Args: never;
26619
+ Returns: import("./types.js").Json;
26620
+ };
25599
26621
  invoice_create_from_source: {
25600
26622
  Args: {
25601
26623
  _payload?: import("./types.js").Json;
@@ -25630,6 +26652,17 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
25630
26652
  };
25631
26653
  Returns: import("./types.js").Json;
25632
26654
  };
26655
+ invoice_mark_sent: {
26656
+ Args: {
26657
+ _invoice_id: string;
26658
+ _to: string;
26659
+ };
26660
+ Returns: undefined;
26661
+ };
26662
+ invoice_peek_next_number: {
26663
+ Args: never;
26664
+ Returns: string;
26665
+ };
25633
26666
  invoice_ready_work_orders: {
25634
26667
  Args: {
25635
26668
  _limit?: number;
@@ -25642,6 +26675,18 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
25642
26675
  };
25643
26676
  Returns: import("./types.js").Json;
25644
26677
  };
26678
+ invoice_save_branding_settings: {
26679
+ Args: {
26680
+ _payload: import("./types.js").Json;
26681
+ };
26682
+ Returns: import("./types.js").Json;
26683
+ };
26684
+ invoice_set_email_purpose: {
26685
+ Args: {
26686
+ _purpose: string;
26687
+ };
26688
+ Returns: string;
26689
+ };
25645
26690
  invoice_source_lines: {
25646
26691
  Args: {
25647
26692
  _source_id: string;
@@ -25649,6 +26694,19 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
25649
26694
  };
25650
26695
  Returns: import("./types.js").Json;
25651
26696
  };
26697
+ invoice_update_full: {
26698
+ Args: {
26699
+ _invoice_id: string;
26700
+ _payload: import("./types.js").Json;
26701
+ };
26702
+ Returns: import("./types.js").Json;
26703
+ };
26704
+ invoice_work_order_locked: {
26705
+ Args: {
26706
+ _werkbon_id: string;
26707
+ };
26708
+ Returns: import("./types.js").Json;
26709
+ };
25652
26710
  is_authenticated: {
25653
26711
  Args: never;
25654
26712
  Returns: boolean;
@@ -25697,6 +26755,27 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
25697
26755
  };
25698
26756
  Returns: boolean;
25699
26757
  };
26758
+ layout_print_document: {
26759
+ Args: {
26760
+ _documentnaam: string;
26761
+ _documenttype: string;
26762
+ _herkomst?: string;
26763
+ _idempotentie_sleutel?: string;
26764
+ _is_herprint?: boolean;
26765
+ _kopieen?: number;
26766
+ _layout_id?: string;
26767
+ _payload?: import("./types.js").Json;
26768
+ _pdf_base64?: string;
26769
+ _pdf_url?: string;
26770
+ _print_plek_id?: string;
26771
+ _werkplek?: string;
26772
+ };
26773
+ Returns: {
26774
+ bestaand: boolean;
26775
+ job_id: string;
26776
+ printer_id: string;
26777
+ }[];
26778
+ };
25700
26779
  list_medewerkers: {
25701
26780
  Args: never;
25702
26781
  Returns: {
@@ -25974,6 +27053,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
25974
27053
  };
25975
27054
  Returns: number;
25976
27055
  };
27056
+ logistics_cart_barcode_opschonen: {
27057
+ Args: {
27058
+ p_portie?: number;
27059
+ };
27060
+ Returns: import("./types.js").Json;
27061
+ };
25977
27062
  logistics_cart_barcode_value: {
25978
27063
  Args: {
25979
27064
  _cart_id: string;
@@ -26393,6 +27478,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
26393
27478
  };
26394
27479
  Returns: import("./types.js").Json;
26395
27480
  };
27481
+ logistics_control_scan_print_own: {
27482
+ Args: {
27483
+ p_is_herprint?: boolean;
27484
+ p_scan_id: string;
27485
+ };
27486
+ Returns: import("./types.js").Json;
27487
+ };
26396
27488
  logistics_control_scan_retry: {
26397
27489
  Args: {
26398
27490
  _id: string;
@@ -26808,6 +27900,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
26808
27900
  Args: never;
26809
27901
  Returns: string;
26810
27902
  };
27903
+ logistics_order_backlog_info: {
27904
+ Args: {
27905
+ p_order_id: string;
27906
+ };
27907
+ Returns: import("./types.js").Json;
27908
+ };
26811
27909
  logistics_order_cart_approval: {
26812
27910
  Args: {
26813
27911
  _order_ref: string;
@@ -26898,6 +27996,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
26898
27996
  };
26899
27997
  Returns: boolean;
26900
27998
  };
27999
+ logistics_order_is_backlog: {
28000
+ Args: {
28001
+ p_order_id: string;
28002
+ };
28003
+ Returns: boolean;
28004
+ };
26901
28005
  logistics_order_is_topick: {
26902
28006
  Args: {
26903
28007
  p_order_id: string;
@@ -27039,6 +28143,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
27039
28143
  shifted_count: number;
27040
28144
  }[];
27041
28145
  };
28146
+ logistics_pick_backlog_max_days: {
28147
+ Args: never;
28148
+ Returns: number;
28149
+ };
27042
28150
  logistics_pick_barcode_enabled: {
27043
28151
  Args: never;
27044
28152
  Returns: boolean;
@@ -27281,6 +28389,21 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
27281
28389
  };
27282
28390
  Returns: import("./types.js").Json;
27283
28391
  };
28392
+ logistics_print_via_layout: {
28393
+ Args: {
28394
+ _documentnaam: string;
28395
+ _documenttype: string;
28396
+ _herkomst: string;
28397
+ _idempotentie_sleutel: string;
28398
+ _is_herprint: boolean;
28399
+ _layout_id: string;
28400
+ _payload: import("./types.js").Json;
28401
+ _pdf_base64: string;
28402
+ _pdf_url: string;
28403
+ _print_plek_id: string;
28404
+ };
28405
+ Returns: import("./types.js").Json;
28406
+ };
27284
28407
  logistics_prune_buffer_member_queue: {
27285
28408
  Args: never;
27286
28409
  Returns: number;
@@ -27567,6 +28690,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
27567
28690
  };
27568
28691
  Returns: string;
27569
28692
  };
28693
+ logistics_shipping_note_status: {
28694
+ Args: {
28695
+ p_cart_id?: string;
28696
+ p_slip_job_id?: string;
28697
+ };
28698
+ Returns: import("./types.js").Json;
28699
+ };
27570
28700
  logistics_shipping_notes_wake_all: {
27571
28701
  Args: never;
27572
28702
  Returns: import("./types.js").Json;
@@ -27629,6 +28759,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
27629
28759
  };
27630
28760
  Returns: undefined;
27631
28761
  };
28762
+ logistics_slip_note_retry: {
28763
+ Args: {
28764
+ _id: string;
28765
+ };
28766
+ Returns: import("./types.js").Json;
28767
+ };
27632
28768
  logistics_sticker_follows_slip: {
27633
28769
  Args: never;
27634
28770
  Returns: boolean;
@@ -27654,12 +28790,27 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
27654
28790
  Args: never;
27655
28791
  Returns: import("./types.js").Json;
27656
28792
  };
28793
+ logistics_sync_pick_queue_backlog: {
28794
+ Args: never;
28795
+ Returns: import("./types.js").Json;
28796
+ };
28797
+ logistics_sync_pick_queue_core: {
28798
+ Args: never;
28799
+ Returns: import("./types.js").Json;
28800
+ };
27657
28801
  logistics_sync_task_carriers: {
27658
28802
  Args: {
27659
28803
  p_order_ref?: string;
27660
28804
  };
27661
28805
  Returns: number;
27662
28806
  };
28807
+ logistics_task_open_counts: {
28808
+ Args: never;
28809
+ Returns: {
28810
+ open_count: number;
28811
+ owner_module: string;
28812
+ }[];
28813
+ };
27663
28814
  logistics_task_owner: {
27664
28815
  Args: {
27665
28816
  p_task_type: string;
@@ -28358,6 +29509,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
28358
29509
  };
28359
29510
  Returns: string;
28360
29511
  };
29512
+ pick_is_reference_admin: {
29513
+ Args: never;
29514
+ Returns: boolean;
29515
+ };
28361
29516
  pick_mark_printed: {
28362
29517
  Args: {
28363
29518
  _queue_item_id: string;
@@ -28781,6 +29936,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
28781
29936
  };
28782
29937
  Returns: import("./types.js").Json;
28783
29938
  };
29939
+ pick_verify_rows: {
29940
+ Args: {
29941
+ _rows: import("./types.js").Json;
29942
+ };
29943
+ Returns: import("./types.js").Json;
29944
+ };
28784
29945
  pickstation_get_orders_raw: {
28785
29946
  Args: never;
28786
29947
  Returns: import("./types.js").Json;
@@ -28915,6 +30076,35 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
28915
30076
  };
28916
30077
  Returns: undefined;
28917
30078
  };
30079
+ printer_gebruik: {
30080
+ Args: {
30081
+ _printer: string;
30082
+ };
30083
+ Returns: import("./types.js").Json;
30084
+ };
30085
+ printer_routering: {
30086
+ Args: {
30087
+ _documenttype: string;
30088
+ _layout_id?: string;
30089
+ _papierformaat?: string;
30090
+ _print_plek_id?: string;
30091
+ _werkplek?: string;
30092
+ };
30093
+ Returns: import("./types.js").Json;
30094
+ };
30095
+ printplek_printer: {
30096
+ Args: {
30097
+ _documenttype: string;
30098
+ _plek: string;
30099
+ };
30100
+ Returns: string;
30101
+ };
30102
+ printplek_verwijder_impact: {
30103
+ Args: {
30104
+ _id: string;
30105
+ };
30106
+ Returns: import("./types.js").Json;
30107
+ };
28918
30108
  process_logistics_event: {
28919
30109
  Args: {
28920
30110
  p_event_id: string;
@@ -28948,6 +30138,25 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
28948
30138
  };
28949
30139
  Returns: boolean;
28950
30140
  };
30141
+ quote_assign_number: {
30142
+ Args: {
30143
+ _offerte_id: string;
30144
+ };
30145
+ Returns: string;
30146
+ };
30147
+ quote_create_follow_up_now: {
30148
+ Args: {
30149
+ _offerte_id: string;
30150
+ _payload?: import("./types.js").Json;
30151
+ };
30152
+ Returns: import("./types.js").Json;
30153
+ };
30154
+ quote_create_from_scratch: {
30155
+ Args: {
30156
+ _payload: import("./types.js").Json;
30157
+ };
30158
+ Returns: import("./types.js").Json;
30159
+ };
28951
30160
  quote_create_from_source: {
28952
30161
  Args: {
28953
30162
  _payload?: import("./types.js").Json;
@@ -28963,6 +30172,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
28963
30172
  };
28964
30173
  Returns: boolean;
28965
30174
  };
30175
+ quote_fill_from_form: {
30176
+ Args: {
30177
+ _offerte_id: string;
30178
+ _payload: import("./types.js").Json;
30179
+ };
30180
+ Returns: import("./types.js").Json;
30181
+ };
28966
30182
  quote_get_billable_lines: {
28967
30183
  Args: {
28968
30184
  _quotation_id: string;
@@ -28992,12 +30208,50 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
28992
30208
  };
28993
30209
  Returns: import("./types.js").Json;
28994
30210
  };
30211
+ quote_public_accept: {
30212
+ Args: {
30213
+ _akkoord: boolean;
30214
+ _email: string;
30215
+ _ip_address?: string;
30216
+ _naam: string;
30217
+ _token: string;
30218
+ _user_agent?: string;
30219
+ };
30220
+ Returns: import("./types.js").Json;
30221
+ };
30222
+ quote_public_get: {
30223
+ Args: {
30224
+ _token: string;
30225
+ };
30226
+ Returns: import("./types.js").Json;
30227
+ };
30228
+ quote_public_sign: {
30229
+ Args: {
30230
+ _handtekening: string;
30231
+ _naam: string;
30232
+ _token: string;
30233
+ };
30234
+ Returns: import("./types.js").Json;
30235
+ };
28995
30236
  quote_queue_follow_up: {
28996
30237
  Args: {
28997
30238
  _offerte_id: string;
28998
30239
  };
28999
30240
  Returns: string;
29000
30241
  };
30242
+ quote_release_work_order: {
30243
+ Args: {
30244
+ _offerte_id: string;
30245
+ };
30246
+ Returns: import("./types.js").Json;
30247
+ };
30248
+ quote_sync_work_order: {
30249
+ Args: {
30250
+ _monteur_instructies?: string;
30251
+ _offerte_id: string;
30252
+ };
30253
+ Returns: boolean;
30254
+ };
29001
30255
  recompute_all_reserved_stock: {
29002
30256
  Args: never;
29003
30257
  Returns: undefined;
@@ -29218,6 +30472,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
29218
30472
  };
29219
30473
  Returns: import("./types.js").Json;
29220
30474
  };
30475
+ scan_controleer_pincode: {
30476
+ Args: {
30477
+ p_pin: string;
30478
+ p_scanner_id: string;
30479
+ };
30480
+ Returns: boolean;
30481
+ };
29221
30482
  scan_dashboard_stats: {
29222
30483
  Args: {
29223
30484
  p_dagen?: number;
@@ -29237,6 +30498,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
29237
30498
  };
29238
30499
  Returns: import("./types.js").Json;
29239
30500
  };
30501
+ scan_heeft_pincode: {
30502
+ Args: {
30503
+ p_scanner_id: string;
30504
+ };
30505
+ Returns: boolean;
30506
+ };
29240
30507
  scan_kar_compleet: {
29241
30508
  Args: {
29242
30509
  p_allow_reprint?: boolean;
@@ -29254,6 +30521,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
29254
30521
  Args: {
29255
30522
  p_code: string;
29256
30523
  p_latency_ms?: number;
30524
+ p_medewerker?: string;
29257
30525
  p_message?: string;
29258
30526
  p_result: string;
29259
30527
  p_scanner_key?: string;
@@ -29326,6 +30594,22 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
29326
30594
  };
29327
30595
  Returns: undefined;
29328
30596
  };
30597
+ scan_scanner_info: {
30598
+ Args: {
30599
+ p_slug: string;
30600
+ };
30601
+ Returns: {
30602
+ actief: boolean;
30603
+ heeft_pincode: boolean;
30604
+ id: string;
30605
+ naam: string;
30606
+ omschrijving: string;
30607
+ printer_id: string;
30608
+ type: string;
30609
+ vereist_medewerker: boolean;
30610
+ werkplek: string;
30611
+ }[];
30612
+ };
29329
30613
  scan_sessie_annuleren: {
29330
30614
  Args: {
29331
30615
  p_sessie_id: string;
@@ -29661,6 +30945,26 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
29661
30945
  };
29662
30946
  Returns: undefined;
29663
30947
  };
30948
+ set_product_stock: {
30949
+ Args: {
30950
+ p_incoming_stock?: number;
30951
+ p_minimum_stock?: number;
30952
+ p_notes?: string;
30953
+ p_physical_stock: number;
30954
+ p_product_id: string;
30955
+ };
30956
+ Returns: {
30957
+ connection_id: string;
30958
+ incoming_stock: number;
30959
+ minimum_stock: number;
30960
+ notes: string;
30961
+ physical_stock: number;
30962
+ product_id: string;
30963
+ reserved_stock: number;
30964
+ trade_item_key: string;
30965
+ updated_at: string;
30966
+ }[];
30967
+ };
29664
30968
  show_limit: {
29665
30969
  Args: never;
29666
30970
  Returns: number;
@@ -29899,6 +31203,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
29899
31203
  };
29900
31204
  Returns: number;
29901
31205
  };
31206
+ uren_heeft_pagina_toegang: {
31207
+ Args: never;
31208
+ Returns: boolean;
31209
+ };
29902
31210
  uren_is_beheerder: {
29903
31211
  Args: never;
29904
31212
  Returns: boolean;
@@ -29982,6 +31290,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
29982
31290
  Args: never;
29983
31291
  Returns: string;
29984
31292
  };
31293
+ uren_pagina_toegang_instellen: {
31294
+ Args: {
31295
+ _toegang: boolean;
31296
+ _user_id: string;
31297
+ };
31298
+ Returns: undefined;
31299
+ };
29985
31300
  uren_planning_dagagenda: {
29986
31301
  Args: {
29987
31302
  _tot: string;
@@ -30185,6 +31500,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
30185
31500
  };
30186
31501
  Returns: number;
30187
31502
  };
31503
+ vakantie_overuren: {
31504
+ Args: {
31505
+ _user_id: string;
31506
+ _year?: number;
31507
+ };
31508
+ Returns: number;
31509
+ };
30188
31510
  vakantie_saldo: {
30189
31511
  Args: {
30190
31512
  _user_id: string;
@@ -30192,7 +31514,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
30192
31514
  };
30193
31515
  Returns: {
30194
31516
  day_hours: number;
31517
+ earned_from_overtime_days: number;
30195
31518
  entitlement_days: number;
31519
+ hours_to_next_day: number;
31520
+ overtime_hours: number;
31521
+ overtime_remainder_hours: number;
31522
+ paid_out_days: number;
30196
31523
  remaining_days: number;
30197
31524
  used_days: number;
30198
31525
  }[];
@@ -30203,12 +31530,30 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
30203
31530
  };
30204
31531
  Returns: {
30205
31532
  day_hours: number;
31533
+ earned_from_overtime_days: number;
30206
31534
  entitlement_days: number;
31535
+ hours_to_next_day: number;
31536
+ overtime_hours: number;
31537
+ overtime_remainder_hours: number;
31538
+ paid_out_days: number;
30207
31539
  remaining_days: number;
30208
31540
  used_days: number;
30209
31541
  user_id: string;
30210
31542
  }[];
30211
31543
  };
31544
+ vervang_printer: {
31545
+ Args: {
31546
+ _nieuw: string;
31547
+ _oud: string;
31548
+ };
31549
+ Returns: import("./types.js").Json;
31550
+ };
31551
+ verwijder_printplek: {
31552
+ Args: {
31553
+ _id: string;
31554
+ };
31555
+ Returns: import("./types.js").Json;
31556
+ };
30212
31557
  voorraad_cleanup_old_rows: {
30213
31558
  Args: never;
30214
31559
  Returns: import("./types.js").Json;
@@ -30219,6 +31564,16 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
30219
31564
  };
30220
31565
  Returns: number;
30221
31566
  };
31567
+ werkbon_pakket_tijden: {
31568
+ Args: {
31569
+ _werkbon_id: string;
31570
+ };
31571
+ Returns: {
31572
+ labor_minutes: number;
31573
+ total_minutes: number;
31574
+ travel_minutes: number;
31575
+ }[];
31576
+ };
30222
31577
  werkbon_totalen: {
30223
31578
  Args: {
30224
31579
  _werkbon_id: string;
@@ -30251,18 +31606,46 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
30251
31606
  };
30252
31607
  Returns: import("./types.js").Json;
30253
31608
  };
31609
+ wo_list_colleague_planning: {
31610
+ Args: {
31611
+ _from: string;
31612
+ _monteur_id: string;
31613
+ _to: string;
31614
+ };
31615
+ Returns: {
31616
+ end_at: string;
31617
+ id: string;
31618
+ role: string;
31619
+ start_at: string;
31620
+ status: string;
31621
+ werkbon_id: string;
31622
+ }[];
31623
+ };
30254
31624
  wo_list_offerte_requests: {
30255
31625
  Args: {
30256
31626
  _status?: string;
30257
31627
  };
30258
31628
  Returns: import("./types.js").Json;
30259
31629
  };
31630
+ wo_list_proposals: {
31631
+ Args: {
31632
+ _status?: string;
31633
+ };
31634
+ Returns: import("./types.js").Json;
31635
+ };
30260
31636
  wo_process_offerte_request: {
30261
31637
  Args: {
30262
31638
  _queue_id: string;
30263
31639
  };
30264
31640
  Returns: import("./types.js").Json;
30265
31641
  };
31642
+ wo_process_proposal: {
31643
+ Args: {
31644
+ _id: string;
31645
+ _overrides?: import("./types.js").Json;
31646
+ };
31647
+ Returns: import("./types.js").Json;
31648
+ };
30266
31649
  wo_reject_offerte_request: {
30267
31650
  Args: {
30268
31651
  _queue_id: string;
@@ -30270,6 +31653,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
30270
31653
  };
30271
31654
  Returns: import("./types.js").Json;
30272
31655
  };
31656
+ wo_reject_proposal: {
31657
+ Args: {
31658
+ _id: string;
31659
+ _reden?: string;
31660
+ };
31661
+ Returns: import("./types.js").Json;
31662
+ };
30273
31663
  wo_set_status: {
30274
31664
  Args: {
30275
31665
  _reason?: string;