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