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