@flowselections/logistiek-engine 1.0.99 → 1.0.100

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 (47) hide show
  1. package/dist-lib/components/BeladingIndelingCard.d.ts.map +1 -1
  2. package/dist-lib/components/BeladingIndelingCard.js +5 -1
  3. package/dist-lib/integrations/supabase/auth-middleware.d.ts +448 -6
  4. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  5. package/dist-lib/integrations/supabase/client.server.d.ts +448 -6
  6. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  7. package/dist-lib/integrations/supabase/moduleClient.d.ts +448 -6
  8. package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
  9. package/dist-lib/integrations/supabase/types.d.ts +462 -6
  10. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  11. package/dist-lib/lib/cartCoverage.functions.d.ts +448 -6
  12. package/dist-lib/lib/cartCoverage.functions.d.ts.map +1 -1
  13. package/dist-lib/lib/controlScan.server.d.ts +8 -0
  14. package/dist-lib/lib/controlScan.server.d.ts.map +1 -1
  15. package/dist-lib/lib/controlScan.server.js +49 -5
  16. package/dist-lib/lib/floridayCancellation.server.d.ts +15 -0
  17. package/dist-lib/lib/floridayCancellation.server.d.ts.map +1 -0
  18. package/dist-lib/lib/floridayCancellation.server.js +89 -0
  19. package/dist-lib/lib/floridayCancellation.test.d.ts +2 -0
  20. package/dist-lib/lib/floridayCancellation.test.d.ts.map +1 -0
  21. package/dist-lib/lib/floridayCancellation.test.js +42 -0
  22. package/dist-lib/lib/floridayDocuments.functions.d.ts +1344 -18
  23. package/dist-lib/lib/floridayDocuments.functions.d.ts.map +1 -1
  24. package/dist-lib/lib/floridayPush.functions.d.ts +448 -6
  25. package/dist-lib/lib/floridayPush.functions.d.ts.map +1 -1
  26. package/dist-lib/lib/layerUtilization.d.ts +2 -0
  27. package/dist-lib/lib/layerUtilization.d.ts.map +1 -0
  28. package/dist-lib/lib/layerUtilization.js +11 -0
  29. package/dist-lib/lib/layerUtilization.test.d.ts +2 -0
  30. package/dist-lib/lib/layerUtilization.test.d.ts.map +1 -0
  31. package/dist-lib/lib/layerUtilization.test.js +11 -0
  32. package/dist-lib/lib/loadCarrierPlanning.functions.d.ts +2240 -30
  33. package/dist-lib/lib/loadCarrierPlanning.functions.d.ts.map +1 -1
  34. package/dist-lib/lib/loadCarrierPlanning.server.d.ts.map +1 -1
  35. package/dist-lib/lib/loadCarrierPlanning.server.js +10 -1
  36. package/dist-lib/lib/logisticsRecalcJob.functions.d.ts +896 -12
  37. package/dist-lib/lib/logisticsRecalcJob.functions.d.ts.map +1 -1
  38. package/dist-lib/lib/logisticsRecalculate.functions.d.ts +448 -6
  39. package/dist-lib/lib/logisticsRecalculate.functions.d.ts.map +1 -1
  40. package/dist-lib/lib/moduleVersion.d.ts +1 -1
  41. package/dist-lib/lib/moduleVersion.d.ts.map +1 -1
  42. package/dist-lib/lib/moduleVersion.js +1 -1
  43. package/dist-lib/lib/plannerDiff.functions.d.ts +448 -6
  44. package/dist-lib/lib/plannerDiff.functions.d.ts.map +1 -1
  45. package/dist-lib/lib/shippingNoteQueue.server.d.ts.map +1 -1
  46. package/dist-lib/lib/shippingNoteQueue.server.js +11 -0
  47. package/package.json +2 -2
@@ -3140,6 +3140,7 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
3140
3140
  formaat_code: string;
3141
3141
  id: string;
3142
3142
  printer_id: string | null;
3143
+ printer_ontbreekt_sinds: string | null;
3143
3144
  updated_at: string;
3144
3145
  };
3145
3146
  Insert: {
@@ -3148,6 +3149,7 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
3148
3149
  formaat_code: string;
3149
3150
  id?: string;
3150
3151
  printer_id?: string | null;
3152
+ printer_ontbreekt_sinds?: string | null;
3151
3153
  updated_at?: string;
3152
3154
  };
3153
3155
  Update: {
@@ -3156,6 +3158,7 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
3156
3158
  formaat_code?: string;
3157
3159
  id?: string;
3158
3160
  printer_id?: string | null;
3161
+ printer_ontbreekt_sinds?: string | null;
3159
3162
  updated_at?: string;
3160
3163
  };
3161
3164
  Relationships: [{
@@ -3492,6 +3495,7 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
3492
3495
  papierformaat: string | null;
3493
3496
  print_plek_id: string;
3494
3497
  printer_id: string | null;
3498
+ printer_ontbreekt_sinds: string | null;
3495
3499
  updated_at: string;
3496
3500
  };
3497
3501
  Insert: {
@@ -3501,6 +3505,7 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
3501
3505
  papierformaat?: string | null;
3502
3506
  print_plek_id: string;
3503
3507
  printer_id?: string | null;
3508
+ printer_ontbreekt_sinds?: string | null;
3504
3509
  updated_at?: string;
3505
3510
  };
3506
3511
  Update: {
@@ -3510,6 +3515,7 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
3510
3515
  papierformaat?: string | null;
3511
3516
  print_plek_id?: string;
3512
3517
  printer_id?: string | null;
3518
+ printer_ontbreekt_sinds?: string | null;
3513
3519
  updated_at?: string;
3514
3520
  };
3515
3521
  Relationships: [{
@@ -3533,6 +3539,7 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
3533
3539
  id: string;
3534
3540
  papierformaat: string | null;
3535
3541
  printer_id: string | null;
3542
+ printer_ontbreekt_sinds: string | null;
3536
3543
  updated_at: string;
3537
3544
  werkplek: string;
3538
3545
  };
@@ -3542,6 +3549,7 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
3542
3549
  id?: string;
3543
3550
  papierformaat?: string | null;
3544
3551
  printer_id?: string | null;
3552
+ printer_ontbreekt_sinds?: string | null;
3545
3553
  updated_at?: string;
3546
3554
  werkplek: string;
3547
3555
  };
@@ -3551,6 +3559,7 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
3551
3559
  id?: string;
3552
3560
  papierformaat?: string | null;
3553
3561
  printer_id?: string | null;
3562
+ printer_ontbreekt_sinds?: string | null;
3554
3563
  updated_at?: string;
3555
3564
  werkplek?: string;
3556
3565
  };
@@ -6853,6 +6862,78 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
6853
6862
  referencedColumns: ["id"];
6854
6863
  }];
6855
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").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").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").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
+ };
6856
6937
  floriday_fulfillment_orders_cache: {
6857
6938
  Row: {
6858
6939
  auction_date: string | null;
@@ -9385,6 +9466,57 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
9385
9466
  };
9386
9467
  Relationships: [];
9387
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").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").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").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
+ };
9388
9520
  itk_offerte_events: {
9389
9521
  Row: {
9390
9522
  created_at: string;
@@ -9598,6 +9730,7 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
9598
9730
  itk_offertes: {
9599
9731
  Row: {
9600
9732
  aandachtspunten: string | null;
9733
+ acceptance_id: string | null;
9601
9734
  ai_generated: boolean;
9602
9735
  approved_at: string | null;
9603
9736
  binnen_mandaat: boolean;
@@ -9616,6 +9749,11 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
9616
9749
  onderwerp: string | null;
9617
9750
  rejected_at: string | null;
9618
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;
9619
9757
  source_number: string | null;
9620
9758
  source_ref: string | null;
9621
9759
  source_type: string;
@@ -9630,11 +9768,13 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
9630
9768
  viewed_at: string | null;
9631
9769
  volgnummer: number | null;
9632
9770
  voorwaarden: string | null;
9771
+ werkbon_concept: import("../integrations/supabase/types").Json | null;
9633
9772
  werkbon_id: string | null;
9634
9773
  work_location_id: string | null;
9635
9774
  };
9636
9775
  Insert: {
9637
9776
  aandachtspunten?: string | null;
9777
+ acceptance_id?: string | null;
9638
9778
  ai_generated?: boolean;
9639
9779
  approved_at?: string | null;
9640
9780
  binnen_mandaat?: boolean;
@@ -9653,6 +9793,11 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
9653
9793
  onderwerp?: string | null;
9654
9794
  rejected_at?: string | null;
9655
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;
9656
9801
  source_number?: string | null;
9657
9802
  source_ref?: string | null;
9658
9803
  source_type?: string;
@@ -9667,11 +9812,13 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
9667
9812
  viewed_at?: string | null;
9668
9813
  volgnummer?: number | null;
9669
9814
  voorwaarden?: string | null;
9815
+ werkbon_concept?: import("../integrations/supabase/types").Json | null;
9670
9816
  werkbon_id?: string | null;
9671
9817
  work_location_id?: string | null;
9672
9818
  };
9673
9819
  Update: {
9674
9820
  aandachtspunten?: string | null;
9821
+ acceptance_id?: string | null;
9675
9822
  ai_generated?: boolean;
9676
9823
  approved_at?: string | null;
9677
9824
  binnen_mandaat?: boolean;
@@ -9690,6 +9837,11 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
9690
9837
  onderwerp?: string | null;
9691
9838
  rejected_at?: string | null;
9692
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;
9693
9845
  source_number?: string | null;
9694
9846
  source_ref?: string | null;
9695
9847
  source_type?: string;
@@ -9704,10 +9856,17 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
9704
9856
  viewed_at?: string | null;
9705
9857
  volgnummer?: number | null;
9706
9858
  voorwaarden?: string | null;
9859
+ werkbon_concept?: import("../integrations/supabase/types").Json | null;
9707
9860
  werkbon_id?: string | null;
9708
9861
  work_location_id?: string | null;
9709
9862
  };
9710
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
+ }, {
9711
9870
  foreignKeyName: "itk_offertes_contact_id_fkey";
9712
9871
  columns: ["contact_id"];
9713
9872
  isOneToOne: false;
@@ -16249,6 +16408,54 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
16249
16408
  };
16250
16409
  Relationships: [];
16251
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
+ };
16252
16459
  planning_item_assistants: {
16253
16460
  Row: {
16254
16461
  created_at: string;
@@ -16333,6 +16540,63 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
16333
16540
  referencedColumns: ["id"];
16334
16541
  }];
16335
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
+ };
16336
16600
  planning_monteur_day_locations: {
16337
16601
  Row: {
16338
16602
  created_at: string;
@@ -16720,6 +16984,27 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
16720
16984
  };
16721
16985
  Relationships: [];
16722
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
+ };
16723
17008
  print_job_logs: {
16724
17009
  Row: {
16725
17010
  created_at: string;
@@ -16990,6 +17275,39 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
16990
17275
  referencedColumns: ["id"];
16991
17276
  }];
16992
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
+ };
16993
17311
  print_plekken: {
16994
17312
  Row: {
16995
17313
  actief: boolean;
@@ -17205,7 +17523,8 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
17205
17523
  created_at: string;
17206
17524
  id: string;
17207
17525
  layout_id: string;
17208
- printer_id: string;
17526
+ printer_id: string | null;
17527
+ printer_ontbreekt_sinds: string | null;
17209
17528
  prioriteit: number;
17210
17529
  updated_at: string;
17211
17530
  };
@@ -17213,7 +17532,8 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
17213
17532
  created_at?: string;
17214
17533
  id?: string;
17215
17534
  layout_id: string;
17216
- printer_id: string;
17535
+ printer_id?: string | null;
17536
+ printer_ontbreekt_sinds?: string | null;
17217
17537
  prioriteit?: number;
17218
17538
  updated_at?: string;
17219
17539
  };
@@ -17221,7 +17541,8 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
17221
17541
  created_at?: string;
17222
17542
  id?: string;
17223
17543
  layout_id?: string;
17224
- printer_id?: string;
17544
+ printer_id?: string | null;
17545
+ printer_ontbreekt_sinds?: string | null;
17225
17546
  prioriteit?: number;
17226
17547
  updated_at?: string;
17227
17548
  };
@@ -23113,12 +23434,14 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
23113
23434
  created_at: string;
23114
23435
  default_quantity: number;
23115
23436
  description: string | null;
23116
- duration_minutes: number | null;
23437
+ duration_minutes: number;
23117
23438
  id: string;
23439
+ labor_minutes: number;
23118
23440
  mandaat_type: string | null;
23119
23441
  name: string;
23120
23442
  price_mode: string;
23121
23443
  sort_order: number;
23444
+ travel_minutes: number;
23122
23445
  unit_price_cents: number;
23123
23446
  updated_at: string;
23124
23447
  };
@@ -23130,12 +23453,14 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
23130
23453
  created_at?: string;
23131
23454
  default_quantity?: number;
23132
23455
  description?: string | null;
23133
- duration_minutes?: number | null;
23456
+ duration_minutes?: number;
23134
23457
  id?: string;
23458
+ labor_minutes?: number;
23135
23459
  mandaat_type?: string | null;
23136
23460
  name: string;
23137
23461
  price_mode?: string;
23138
23462
  sort_order?: number;
23463
+ travel_minutes?: number;
23139
23464
  unit_price_cents?: number;
23140
23465
  updated_at?: string;
23141
23466
  };
@@ -23147,12 +23472,14 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
23147
23472
  created_at?: string;
23148
23473
  default_quantity?: number;
23149
23474
  description?: string | null;
23150
- duration_minutes?: number | null;
23475
+ duration_minutes?: number;
23151
23476
  id?: string;
23477
+ labor_minutes?: number;
23152
23478
  mandaat_type?: string | null;
23153
23479
  name?: string;
23154
23480
  price_mode?: string;
23155
23481
  sort_order?: number;
23482
+ travel_minutes?: number;
23156
23483
  unit_price_cents?: number;
23157
23484
  updated_at?: string;
23158
23485
  };
@@ -24707,6 +25034,12 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
24707
25034
  };
24708
25035
  Returns: undefined;
24709
25036
  };
25037
+ _quote_release_work_order_intern: {
25038
+ Args: {
25039
+ _offerte_id: string;
25040
+ };
25041
+ Returns: import("../integrations/supabase/types").Json;
25042
+ };
24710
25043
  _wo_is_planner: {
24711
25044
  Args: never;
24712
25045
  Returns: boolean;
@@ -29578,6 +29911,12 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
29578
29911
  };
29579
29912
  Returns: import("../integrations/supabase/types").Json;
29580
29913
  };
29914
+ pick_verify_rows: {
29915
+ Args: {
29916
+ _rows: import("../integrations/supabase/types").Json;
29917
+ };
29918
+ Returns: import("../integrations/supabase/types").Json;
29919
+ };
29581
29920
  pickstation_get_orders_raw: {
29582
29921
  Args: never;
29583
29922
  Returns: import("../integrations/supabase/types").Json;
@@ -29712,6 +30051,35 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
29712
30051
  };
29713
30052
  Returns: undefined;
29714
30053
  };
30054
+ printer_gebruik: {
30055
+ Args: {
30056
+ _printer: string;
30057
+ };
30058
+ Returns: import("../integrations/supabase/types").Json;
30059
+ };
30060
+ printer_routering: {
30061
+ Args: {
30062
+ _documenttype: string;
30063
+ _layout_id?: string;
30064
+ _papierformaat?: string;
30065
+ _print_plek_id?: string;
30066
+ _werkplek?: string;
30067
+ };
30068
+ Returns: import("../integrations/supabase/types").Json;
30069
+ };
30070
+ printplek_printer: {
30071
+ Args: {
30072
+ _documenttype: string;
30073
+ _plek: string;
30074
+ };
30075
+ Returns: string;
30076
+ };
30077
+ printplek_verwijder_impact: {
30078
+ Args: {
30079
+ _id: string;
30080
+ };
30081
+ Returns: import("../integrations/supabase/types").Json;
30082
+ };
29715
30083
  process_logistics_event: {
29716
30084
  Args: {
29717
30085
  p_event_id: string;
@@ -29758,6 +30126,12 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
29758
30126
  };
29759
30127
  Returns: import("../integrations/supabase/types").Json;
29760
30128
  };
30129
+ quote_create_from_scratch: {
30130
+ Args: {
30131
+ _payload: import("../integrations/supabase/types").Json;
30132
+ };
30133
+ Returns: import("../integrations/supabase/types").Json;
30134
+ };
29761
30135
  quote_create_from_source: {
29762
30136
  Args: {
29763
30137
  _payload?: import("../integrations/supabase/types").Json;
@@ -29773,6 +30147,13 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
29773
30147
  };
29774
30148
  Returns: boolean;
29775
30149
  };
30150
+ quote_fill_from_form: {
30151
+ Args: {
30152
+ _offerte_id: string;
30153
+ _payload: import("../integrations/supabase/types").Json;
30154
+ };
30155
+ Returns: import("../integrations/supabase/types").Json;
30156
+ };
29776
30157
  quote_get_billable_lines: {
29777
30158
  Args: {
29778
30159
  _quotation_id: string;
@@ -29802,12 +30183,50 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
29802
30183
  };
29803
30184
  Returns: import("../integrations/supabase/types").Json;
29804
30185
  };
30186
+ quote_public_accept: {
30187
+ Args: {
30188
+ _akkoord: boolean;
30189
+ _email: string;
30190
+ _ip_address?: string;
30191
+ _naam: string;
30192
+ _token: string;
30193
+ _user_agent?: string;
30194
+ };
30195
+ Returns: import("../integrations/supabase/types").Json;
30196
+ };
30197
+ quote_public_get: {
30198
+ Args: {
30199
+ _token: string;
30200
+ };
30201
+ Returns: import("../integrations/supabase/types").Json;
30202
+ };
30203
+ quote_public_sign: {
30204
+ Args: {
30205
+ _handtekening: string;
30206
+ _naam: string;
30207
+ _token: string;
30208
+ };
30209
+ Returns: import("../integrations/supabase/types").Json;
30210
+ };
29805
30211
  quote_queue_follow_up: {
29806
30212
  Args: {
29807
30213
  _offerte_id: string;
29808
30214
  };
29809
30215
  Returns: string;
29810
30216
  };
30217
+ quote_release_work_order: {
30218
+ Args: {
30219
+ _offerte_id: string;
30220
+ };
30221
+ Returns: import("../integrations/supabase/types").Json;
30222
+ };
30223
+ quote_sync_work_order: {
30224
+ Args: {
30225
+ _monteur_instructies?: string;
30226
+ _offerte_id: string;
30227
+ };
30228
+ Returns: boolean;
30229
+ };
29811
30230
  recompute_all_reserved_stock: {
29812
30231
  Args: never;
29813
30232
  Returns: undefined;
@@ -31086,6 +31505,19 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
31086
31505
  user_id: string;
31087
31506
  }[];
31088
31507
  };
31508
+ vervang_printer: {
31509
+ Args: {
31510
+ _nieuw: string;
31511
+ _oud: string;
31512
+ };
31513
+ Returns: import("../integrations/supabase/types").Json;
31514
+ };
31515
+ verwijder_printplek: {
31516
+ Args: {
31517
+ _id: string;
31518
+ };
31519
+ Returns: import("../integrations/supabase/types").Json;
31520
+ };
31089
31521
  voorraad_cleanup_old_rows: {
31090
31522
  Args: never;
31091
31523
  Returns: import("../integrations/supabase/types").Json;
@@ -31096,6 +31528,16 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
31096
31528
  };
31097
31529
  Returns: number;
31098
31530
  };
31531
+ werkbon_pakket_tijden: {
31532
+ Args: {
31533
+ _werkbon_id: string;
31534
+ };
31535
+ Returns: {
31536
+ labor_minutes: number;
31537
+ total_minutes: number;
31538
+ travel_minutes: number;
31539
+ }[];
31540
+ };
31099
31541
  werkbon_totalen: {
31100
31542
  Args: {
31101
31543
  _werkbon_id: string;
@@ -34363,6 +34805,7 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
34363
34805
  formaat_code: string;
34364
34806
  id: string;
34365
34807
  printer_id: string | null;
34808
+ printer_ontbreekt_sinds: string | null;
34366
34809
  updated_at: string;
34367
34810
  };
34368
34811
  Insert: {
@@ -34371,6 +34814,7 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
34371
34814
  formaat_code: string;
34372
34815
  id?: string;
34373
34816
  printer_id?: string | null;
34817
+ printer_ontbreekt_sinds?: string | null;
34374
34818
  updated_at?: string;
34375
34819
  };
34376
34820
  Update: {
@@ -34379,6 +34823,7 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
34379
34823
  formaat_code?: string;
34380
34824
  id?: string;
34381
34825
  printer_id?: string | null;
34826
+ printer_ontbreekt_sinds?: string | null;
34382
34827
  updated_at?: string;
34383
34828
  };
34384
34829
  Relationships: [{
@@ -34715,6 +35160,7 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
34715
35160
  papierformaat: string | null;
34716
35161
  print_plek_id: string;
34717
35162
  printer_id: string | null;
35163
+ printer_ontbreekt_sinds: string | null;
34718
35164
  updated_at: string;
34719
35165
  };
34720
35166
  Insert: {
@@ -34724,6 +35170,7 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
34724
35170
  papierformaat?: string | null;
34725
35171
  print_plek_id: string;
34726
35172
  printer_id?: string | null;
35173
+ printer_ontbreekt_sinds?: string | null;
34727
35174
  updated_at?: string;
34728
35175
  };
34729
35176
  Update: {
@@ -34733,6 +35180,7 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
34733
35180
  papierformaat?: string | null;
34734
35181
  print_plek_id?: string;
34735
35182
  printer_id?: string | null;
35183
+ printer_ontbreekt_sinds?: string | null;
34736
35184
  updated_at?: string;
34737
35185
  };
34738
35186
  Relationships: [{
@@ -34756,6 +35204,7 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
34756
35204
  id: string;
34757
35205
  papierformaat: string | null;
34758
35206
  printer_id: string | null;
35207
+ printer_ontbreekt_sinds: string | null;
34759
35208
  updated_at: string;
34760
35209
  werkplek: string;
34761
35210
  };
@@ -34765,6 +35214,7 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
34765
35214
  id?: string;
34766
35215
  papierformaat?: string | null;
34767
35216
  printer_id?: string | null;
35217
+ printer_ontbreekt_sinds?: string | null;
34768
35218
  updated_at?: string;
34769
35219
  werkplek: string;
34770
35220
  };
@@ -34774,6 +35224,7 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
34774
35224
  id?: string;
34775
35225
  papierformaat?: string | null;
34776
35226
  printer_id?: string | null;
35227
+ printer_ontbreekt_sinds?: string | null;
34777
35228
  updated_at?: string;
34778
35229
  werkplek?: string;
34779
35230
  };
@@ -38076,6 +38527,78 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
38076
38527
  referencedColumns: ["id"];
38077
38528
  }];
38078
38529
  };
38530
+ floriday_document_fetch_queue: {
38531
+ Row: {
38532
+ attempts: number;
38533
+ cancelled_reason: string | null;
38534
+ completed_at: string | null;
38535
+ connection_id: string;
38536
+ created_at: string;
38537
+ document_key: string;
38538
+ environment: string;
38539
+ id: string;
38540
+ kind: string;
38541
+ last_error: string | null;
38542
+ last_http_status: number | null;
38543
+ locked_at: string | null;
38544
+ locked_by: string | null;
38545
+ max_attempts: number;
38546
+ next_attempt_at: string;
38547
+ order_ref: string | null;
38548
+ params: import("../integrations/supabase/types").Json;
38549
+ status: string;
38550
+ updated_at: string;
38551
+ };
38552
+ Insert: {
38553
+ attempts?: number;
38554
+ cancelled_reason?: string | null;
38555
+ completed_at?: string | null;
38556
+ connection_id: string;
38557
+ created_at?: string;
38558
+ document_key: string;
38559
+ environment: string;
38560
+ id?: string;
38561
+ kind: string;
38562
+ last_error?: string | null;
38563
+ last_http_status?: number | null;
38564
+ locked_at?: string | null;
38565
+ locked_by?: string | null;
38566
+ max_attempts?: number;
38567
+ next_attempt_at?: string;
38568
+ order_ref?: string | null;
38569
+ params?: import("../integrations/supabase/types").Json;
38570
+ status?: string;
38571
+ updated_at?: string;
38572
+ };
38573
+ Update: {
38574
+ attempts?: number;
38575
+ cancelled_reason?: string | null;
38576
+ completed_at?: string | null;
38577
+ connection_id?: string;
38578
+ created_at?: string;
38579
+ document_key?: string;
38580
+ environment?: string;
38581
+ id?: string;
38582
+ kind?: string;
38583
+ last_error?: string | null;
38584
+ last_http_status?: number | null;
38585
+ locked_at?: string | null;
38586
+ locked_by?: string | null;
38587
+ max_attempts?: number;
38588
+ next_attempt_at?: string;
38589
+ order_ref?: string | null;
38590
+ params?: import("../integrations/supabase/types").Json;
38591
+ status?: string;
38592
+ updated_at?: string;
38593
+ };
38594
+ Relationships: [{
38595
+ foreignKeyName: "floriday_document_fetch_queue_connection_id_fkey";
38596
+ columns: ["connection_id"];
38597
+ isOneToOne: false;
38598
+ referencedRelation: "floriday_connections";
38599
+ referencedColumns: ["id"];
38600
+ }];
38601
+ };
38079
38602
  floriday_fulfillment_orders_cache: {
38080
38603
  Row: {
38081
38604
  auction_date: string | null;
@@ -40608,6 +41131,57 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
40608
41131
  };
40609
41132
  Relationships: [];
40610
41133
  };
41134
+ itk_offerte_acceptaties: {
41135
+ Row: {
41136
+ accepted_at: string;
41137
+ akkoordgever_email: string;
41138
+ akkoordgever_naam: string;
41139
+ akkoordverklaring: string;
41140
+ id: string;
41141
+ inhoud_hash: string;
41142
+ ip_address: unknown;
41143
+ offerte_id: string;
41144
+ offerte_number: string;
41145
+ offerte_snapshot: import("../integrations/supabase/types").Json;
41146
+ user_agent: string | null;
41147
+ versie: string;
41148
+ };
41149
+ Insert: {
41150
+ accepted_at?: string;
41151
+ akkoordgever_email: string;
41152
+ akkoordgever_naam: string;
41153
+ akkoordverklaring: string;
41154
+ id?: string;
41155
+ inhoud_hash: string;
41156
+ ip_address?: unknown;
41157
+ offerte_id: string;
41158
+ offerte_number: string;
41159
+ offerte_snapshot: import("../integrations/supabase/types").Json;
41160
+ user_agent?: string | null;
41161
+ versie: string;
41162
+ };
41163
+ Update: {
41164
+ accepted_at?: string;
41165
+ akkoordgever_email?: string;
41166
+ akkoordgever_naam?: string;
41167
+ akkoordverklaring?: string;
41168
+ id?: string;
41169
+ inhoud_hash?: string;
41170
+ ip_address?: unknown;
41171
+ offerte_id?: string;
41172
+ offerte_number?: string;
41173
+ offerte_snapshot?: import("../integrations/supabase/types").Json;
41174
+ user_agent?: string | null;
41175
+ versie?: string;
41176
+ };
41177
+ Relationships: [{
41178
+ foreignKeyName: "itk_offerte_acceptaties_offerte_id_fkey";
41179
+ columns: ["offerte_id"];
41180
+ isOneToOne: true;
41181
+ referencedRelation: "itk_offertes";
41182
+ referencedColumns: ["id"];
41183
+ }];
41184
+ };
40611
41185
  itk_offerte_events: {
40612
41186
  Row: {
40613
41187
  created_at: string;
@@ -40821,6 +41395,7 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
40821
41395
  itk_offertes: {
40822
41396
  Row: {
40823
41397
  aandachtspunten: string | null;
41398
+ acceptance_id: string | null;
40824
41399
  ai_generated: boolean;
40825
41400
  approved_at: string | null;
40826
41401
  binnen_mandaat: boolean;
@@ -40839,6 +41414,11 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
40839
41414
  onderwerp: string | null;
40840
41415
  rejected_at: string | null;
40841
41416
  sent_at: string | null;
41417
+ sign_token: string;
41418
+ signature_data: string | null;
41419
+ signed_at: string | null;
41420
+ signer_email: string | null;
41421
+ signer_name: string | null;
40842
41422
  source_number: string | null;
40843
41423
  source_ref: string | null;
40844
41424
  source_type: string;
@@ -40853,11 +41433,13 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
40853
41433
  viewed_at: string | null;
40854
41434
  volgnummer: number | null;
40855
41435
  voorwaarden: string | null;
41436
+ werkbon_concept: import("../integrations/supabase/types").Json | null;
40856
41437
  werkbon_id: string | null;
40857
41438
  work_location_id: string | null;
40858
41439
  };
40859
41440
  Insert: {
40860
41441
  aandachtspunten?: string | null;
41442
+ acceptance_id?: string | null;
40861
41443
  ai_generated?: boolean;
40862
41444
  approved_at?: string | null;
40863
41445
  binnen_mandaat?: boolean;
@@ -40876,6 +41458,11 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
40876
41458
  onderwerp?: string | null;
40877
41459
  rejected_at?: string | null;
40878
41460
  sent_at?: string | null;
41461
+ sign_token?: string;
41462
+ signature_data?: string | null;
41463
+ signed_at?: string | null;
41464
+ signer_email?: string | null;
41465
+ signer_name?: string | null;
40879
41466
  source_number?: string | null;
40880
41467
  source_ref?: string | null;
40881
41468
  source_type?: string;
@@ -40890,11 +41477,13 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
40890
41477
  viewed_at?: string | null;
40891
41478
  volgnummer?: number | null;
40892
41479
  voorwaarden?: string | null;
41480
+ werkbon_concept?: import("../integrations/supabase/types").Json | null;
40893
41481
  werkbon_id?: string | null;
40894
41482
  work_location_id?: string | null;
40895
41483
  };
40896
41484
  Update: {
40897
41485
  aandachtspunten?: string | null;
41486
+ acceptance_id?: string | null;
40898
41487
  ai_generated?: boolean;
40899
41488
  approved_at?: string | null;
40900
41489
  binnen_mandaat?: boolean;
@@ -40913,6 +41502,11 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
40913
41502
  onderwerp?: string | null;
40914
41503
  rejected_at?: string | null;
40915
41504
  sent_at?: string | null;
41505
+ sign_token?: string;
41506
+ signature_data?: string | null;
41507
+ signed_at?: string | null;
41508
+ signer_email?: string | null;
41509
+ signer_name?: string | null;
40916
41510
  source_number?: string | null;
40917
41511
  source_ref?: string | null;
40918
41512
  source_type?: string;
@@ -40927,10 +41521,17 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
40927
41521
  viewed_at?: string | null;
40928
41522
  volgnummer?: number | null;
40929
41523
  voorwaarden?: string | null;
41524
+ werkbon_concept?: import("../integrations/supabase/types").Json | null;
40930
41525
  werkbon_id?: string | null;
40931
41526
  work_location_id?: string | null;
40932
41527
  };
40933
41528
  Relationships: [{
41529
+ foreignKeyName: "itk_offertes_acceptance_id_fkey";
41530
+ columns: ["acceptance_id"];
41531
+ isOneToOne: false;
41532
+ referencedRelation: "itk_offerte_acceptaties";
41533
+ referencedColumns: ["id"];
41534
+ }, {
40934
41535
  foreignKeyName: "itk_offertes_contact_id_fkey";
40935
41536
  columns: ["contact_id"];
40936
41537
  isOneToOne: false;
@@ -47472,6 +48073,54 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
47472
48073
  };
47473
48074
  Relationships: [];
47474
48075
  };
48076
+ planning_confirmation_log: {
48077
+ Row: {
48078
+ created_at: string;
48079
+ end_at: string;
48080
+ id: string;
48081
+ outbox_id: string | null;
48082
+ planning_item_id: string;
48083
+ reason: string | null;
48084
+ recipient: string | null;
48085
+ start_at: string;
48086
+ status: string;
48087
+ };
48088
+ Insert: {
48089
+ created_at?: string;
48090
+ end_at: string;
48091
+ id?: string;
48092
+ outbox_id?: string | null;
48093
+ planning_item_id: string;
48094
+ reason?: string | null;
48095
+ recipient?: string | null;
48096
+ start_at: string;
48097
+ status: string;
48098
+ };
48099
+ Update: {
48100
+ created_at?: string;
48101
+ end_at?: string;
48102
+ id?: string;
48103
+ outbox_id?: string | null;
48104
+ planning_item_id?: string;
48105
+ reason?: string | null;
48106
+ recipient?: string | null;
48107
+ start_at?: string;
48108
+ status?: string;
48109
+ };
48110
+ Relationships: [{
48111
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
48112
+ columns: ["planning_item_id"];
48113
+ isOneToOne: false;
48114
+ referencedRelation: "planning_items";
48115
+ referencedColumns: ["id"];
48116
+ }, {
48117
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
48118
+ columns: ["planning_item_id"];
48119
+ isOneToOne: false;
48120
+ referencedRelation: "planning_overview";
48121
+ referencedColumns: ["id"];
48122
+ }];
48123
+ };
47475
48124
  planning_item_assistants: {
47476
48125
  Row: {
47477
48126
  created_at: string;
@@ -47556,6 +48205,63 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
47556
48205
  referencedColumns: ["id"];
47557
48206
  }];
47558
48207
  };
48208
+ planning_mail_settings: {
48209
+ Row: {
48210
+ body_template: string;
48211
+ cc: string[];
48212
+ connection_id: string | null;
48213
+ created_at: string;
48214
+ email_purpose: string | null;
48215
+ enabled: boolean;
48216
+ id: boolean;
48217
+ reply_to: string | null;
48218
+ subject_template: string;
48219
+ timezone: string;
48220
+ updated_at: string;
48221
+ updated_by: string | null;
48222
+ };
48223
+ Insert: {
48224
+ body_template?: string;
48225
+ cc?: string[];
48226
+ connection_id?: string | null;
48227
+ created_at?: string;
48228
+ email_purpose?: string | null;
48229
+ enabled?: boolean;
48230
+ id?: boolean;
48231
+ reply_to?: string | null;
48232
+ subject_template?: string;
48233
+ timezone?: string;
48234
+ updated_at?: string;
48235
+ updated_by?: string | null;
48236
+ };
48237
+ Update: {
48238
+ body_template?: string;
48239
+ cc?: string[];
48240
+ connection_id?: string | null;
48241
+ created_at?: string;
48242
+ email_purpose?: string | null;
48243
+ enabled?: boolean;
48244
+ id?: boolean;
48245
+ reply_to?: string | null;
48246
+ subject_template?: string;
48247
+ timezone?: string;
48248
+ updated_at?: string;
48249
+ updated_by?: string | null;
48250
+ };
48251
+ Relationships: [{
48252
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
48253
+ columns: ["connection_id"];
48254
+ isOneToOne: false;
48255
+ referencedRelation: "email_auth_connections";
48256
+ referencedColumns: ["id"];
48257
+ }, {
48258
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
48259
+ columns: ["connection_id"];
48260
+ isOneToOne: false;
48261
+ referencedRelation: "email_auth_connections_safe";
48262
+ referencedColumns: ["id"];
48263
+ }];
48264
+ };
47559
48265
  planning_monteur_day_locations: {
47560
48266
  Row: {
47561
48267
  created_at: string;
@@ -47943,6 +48649,27 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
47943
48649
  };
47944
48650
  Relationships: [];
47945
48651
  };
48652
+ print_genegeerde_computers: {
48653
+ Row: {
48654
+ computer_naam: string;
48655
+ genegeerd_door: string | null;
48656
+ genegeerd_op: string;
48657
+ id: string;
48658
+ };
48659
+ Insert: {
48660
+ computer_naam: string;
48661
+ genegeerd_door?: string | null;
48662
+ genegeerd_op?: string;
48663
+ id?: string;
48664
+ };
48665
+ Update: {
48666
+ computer_naam?: string;
48667
+ genegeerd_door?: string | null;
48668
+ genegeerd_op?: string;
48669
+ id?: string;
48670
+ };
48671
+ Relationships: [];
48672
+ };
47946
48673
  print_job_logs: {
47947
48674
  Row: {
47948
48675
  created_at: string;
@@ -48213,6 +48940,39 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
48213
48940
  referencedColumns: ["id"];
48214
48941
  }];
48215
48942
  };
48943
+ print_plek_printers: {
48944
+ Row: {
48945
+ id: string;
48946
+ print_plek_id: string;
48947
+ printer_id: string;
48948
+ toegevoegd_op: string;
48949
+ };
48950
+ Insert: {
48951
+ id?: string;
48952
+ print_plek_id: string;
48953
+ printer_id: string;
48954
+ toegevoegd_op?: string;
48955
+ };
48956
+ Update: {
48957
+ id?: string;
48958
+ print_plek_id?: string;
48959
+ printer_id?: string;
48960
+ toegevoegd_op?: string;
48961
+ };
48962
+ Relationships: [{
48963
+ foreignKeyName: "print_plek_printers_print_plek_id_fkey";
48964
+ columns: ["print_plek_id"];
48965
+ isOneToOne: false;
48966
+ referencedRelation: "print_plekken";
48967
+ referencedColumns: ["id"];
48968
+ }, {
48969
+ foreignKeyName: "print_plek_printers_printer_id_fkey";
48970
+ columns: ["printer_id"];
48971
+ isOneToOne: false;
48972
+ referencedRelation: "printers";
48973
+ referencedColumns: ["id"];
48974
+ }];
48975
+ };
48216
48976
  print_plekken: {
48217
48977
  Row: {
48218
48978
  actief: boolean;
@@ -48428,7 +49188,8 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
48428
49188
  created_at: string;
48429
49189
  id: string;
48430
49190
  layout_id: string;
48431
- printer_id: string;
49191
+ printer_id: string | null;
49192
+ printer_ontbreekt_sinds: string | null;
48432
49193
  prioriteit: number;
48433
49194
  updated_at: string;
48434
49195
  };
@@ -48436,7 +49197,8 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
48436
49197
  created_at?: string;
48437
49198
  id?: string;
48438
49199
  layout_id: string;
48439
- printer_id: string;
49200
+ printer_id?: string | null;
49201
+ printer_ontbreekt_sinds?: string | null;
48440
49202
  prioriteit?: number;
48441
49203
  updated_at?: string;
48442
49204
  };
@@ -48444,7 +49206,8 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
48444
49206
  created_at?: string;
48445
49207
  id?: string;
48446
49208
  layout_id?: string;
48447
- printer_id?: string;
49209
+ printer_id?: string | null;
49210
+ printer_ontbreekt_sinds?: string | null;
48448
49211
  prioriteit?: number;
48449
49212
  updated_at?: string;
48450
49213
  };
@@ -54336,12 +55099,14 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
54336
55099
  created_at: string;
54337
55100
  default_quantity: number;
54338
55101
  description: string | null;
54339
- duration_minutes: number | null;
55102
+ duration_minutes: number;
54340
55103
  id: string;
55104
+ labor_minutes: number;
54341
55105
  mandaat_type: string | null;
54342
55106
  name: string;
54343
55107
  price_mode: string;
54344
55108
  sort_order: number;
55109
+ travel_minutes: number;
54345
55110
  unit_price_cents: number;
54346
55111
  updated_at: string;
54347
55112
  };
@@ -54353,12 +55118,14 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
54353
55118
  created_at?: string;
54354
55119
  default_quantity?: number;
54355
55120
  description?: string | null;
54356
- duration_minutes?: number | null;
55121
+ duration_minutes?: number;
54357
55122
  id?: string;
55123
+ labor_minutes?: number;
54358
55124
  mandaat_type?: string | null;
54359
55125
  name: string;
54360
55126
  price_mode?: string;
54361
55127
  sort_order?: number;
55128
+ travel_minutes?: number;
54362
55129
  unit_price_cents?: number;
54363
55130
  updated_at?: string;
54364
55131
  };
@@ -54370,12 +55137,14 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
54370
55137
  created_at?: string;
54371
55138
  default_quantity?: number;
54372
55139
  description?: string | null;
54373
- duration_minutes?: number | null;
55140
+ duration_minutes?: number;
54374
55141
  id?: string;
55142
+ labor_minutes?: number;
54375
55143
  mandaat_type?: string | null;
54376
55144
  name?: string;
54377
55145
  price_mode?: string;
54378
55146
  sort_order?: number;
55147
+ travel_minutes?: number;
54379
55148
  unit_price_cents?: number;
54380
55149
  updated_at?: string;
54381
55150
  };
@@ -55930,6 +56699,12 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
55930
56699
  };
55931
56700
  Returns: undefined;
55932
56701
  };
56702
+ _quote_release_work_order_intern: {
56703
+ Args: {
56704
+ _offerte_id: string;
56705
+ };
56706
+ Returns: import("../integrations/supabase/types").Json;
56707
+ };
55933
56708
  _wo_is_planner: {
55934
56709
  Args: never;
55935
56710
  Returns: boolean;
@@ -60801,6 +61576,12 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
60801
61576
  };
60802
61577
  Returns: import("../integrations/supabase/types").Json;
60803
61578
  };
61579
+ pick_verify_rows: {
61580
+ Args: {
61581
+ _rows: import("../integrations/supabase/types").Json;
61582
+ };
61583
+ Returns: import("../integrations/supabase/types").Json;
61584
+ };
60804
61585
  pickstation_get_orders_raw: {
60805
61586
  Args: never;
60806
61587
  Returns: import("../integrations/supabase/types").Json;
@@ -60935,6 +61716,35 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
60935
61716
  };
60936
61717
  Returns: undefined;
60937
61718
  };
61719
+ printer_gebruik: {
61720
+ Args: {
61721
+ _printer: string;
61722
+ };
61723
+ Returns: import("../integrations/supabase/types").Json;
61724
+ };
61725
+ printer_routering: {
61726
+ Args: {
61727
+ _documenttype: string;
61728
+ _layout_id?: string;
61729
+ _papierformaat?: string;
61730
+ _print_plek_id?: string;
61731
+ _werkplek?: string;
61732
+ };
61733
+ Returns: import("../integrations/supabase/types").Json;
61734
+ };
61735
+ printplek_printer: {
61736
+ Args: {
61737
+ _documenttype: string;
61738
+ _plek: string;
61739
+ };
61740
+ Returns: string;
61741
+ };
61742
+ printplek_verwijder_impact: {
61743
+ Args: {
61744
+ _id: string;
61745
+ };
61746
+ Returns: import("../integrations/supabase/types").Json;
61747
+ };
60938
61748
  process_logistics_event: {
60939
61749
  Args: {
60940
61750
  p_event_id: string;
@@ -60981,6 +61791,12 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
60981
61791
  };
60982
61792
  Returns: import("../integrations/supabase/types").Json;
60983
61793
  };
61794
+ quote_create_from_scratch: {
61795
+ Args: {
61796
+ _payload: import("../integrations/supabase/types").Json;
61797
+ };
61798
+ Returns: import("../integrations/supabase/types").Json;
61799
+ };
60984
61800
  quote_create_from_source: {
60985
61801
  Args: {
60986
61802
  _payload?: import("../integrations/supabase/types").Json;
@@ -60996,6 +61812,13 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
60996
61812
  };
60997
61813
  Returns: boolean;
60998
61814
  };
61815
+ quote_fill_from_form: {
61816
+ Args: {
61817
+ _offerte_id: string;
61818
+ _payload: import("../integrations/supabase/types").Json;
61819
+ };
61820
+ Returns: import("../integrations/supabase/types").Json;
61821
+ };
60999
61822
  quote_get_billable_lines: {
61000
61823
  Args: {
61001
61824
  _quotation_id: string;
@@ -61025,12 +61848,50 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
61025
61848
  };
61026
61849
  Returns: import("../integrations/supabase/types").Json;
61027
61850
  };
61851
+ quote_public_accept: {
61852
+ Args: {
61853
+ _akkoord: boolean;
61854
+ _email: string;
61855
+ _ip_address?: string;
61856
+ _naam: string;
61857
+ _token: string;
61858
+ _user_agent?: string;
61859
+ };
61860
+ Returns: import("../integrations/supabase/types").Json;
61861
+ };
61862
+ quote_public_get: {
61863
+ Args: {
61864
+ _token: string;
61865
+ };
61866
+ Returns: import("../integrations/supabase/types").Json;
61867
+ };
61868
+ quote_public_sign: {
61869
+ Args: {
61870
+ _handtekening: string;
61871
+ _naam: string;
61872
+ _token: string;
61873
+ };
61874
+ Returns: import("../integrations/supabase/types").Json;
61875
+ };
61028
61876
  quote_queue_follow_up: {
61029
61877
  Args: {
61030
61878
  _offerte_id: string;
61031
61879
  };
61032
61880
  Returns: string;
61033
61881
  };
61882
+ quote_release_work_order: {
61883
+ Args: {
61884
+ _offerte_id: string;
61885
+ };
61886
+ Returns: import("../integrations/supabase/types").Json;
61887
+ };
61888
+ quote_sync_work_order: {
61889
+ Args: {
61890
+ _monteur_instructies?: string;
61891
+ _offerte_id: string;
61892
+ };
61893
+ Returns: boolean;
61894
+ };
61034
61895
  recompute_all_reserved_stock: {
61035
61896
  Args: never;
61036
61897
  Returns: undefined;
@@ -62309,6 +63170,19 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
62309
63170
  user_id: string;
62310
63171
  }[];
62311
63172
  };
63173
+ vervang_printer: {
63174
+ Args: {
63175
+ _nieuw: string;
63176
+ _oud: string;
63177
+ };
63178
+ Returns: import("../integrations/supabase/types").Json;
63179
+ };
63180
+ verwijder_printplek: {
63181
+ Args: {
63182
+ _id: string;
63183
+ };
63184
+ Returns: import("../integrations/supabase/types").Json;
63185
+ };
62312
63186
  voorraad_cleanup_old_rows: {
62313
63187
  Args: never;
62314
63188
  Returns: import("../integrations/supabase/types").Json;
@@ -62319,6 +63193,16 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
62319
63193
  };
62320
63194
  Returns: number;
62321
63195
  };
63196
+ werkbon_pakket_tijden: {
63197
+ Args: {
63198
+ _werkbon_id: string;
63199
+ };
63200
+ Returns: {
63201
+ labor_minutes: number;
63202
+ total_minutes: number;
63203
+ travel_minutes: number;
63204
+ }[];
63205
+ };
62322
63206
  werkbon_totalen: {
62323
63207
  Args: {
62324
63208
  _werkbon_id: string;
@@ -65590,6 +66474,7 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
65590
66474
  formaat_code: string;
65591
66475
  id: string;
65592
66476
  printer_id: string | null;
66477
+ printer_ontbreekt_sinds: string | null;
65593
66478
  updated_at: string;
65594
66479
  };
65595
66480
  Insert: {
@@ -65598,6 +66483,7 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
65598
66483
  formaat_code: string;
65599
66484
  id?: string;
65600
66485
  printer_id?: string | null;
66486
+ printer_ontbreekt_sinds?: string | null;
65601
66487
  updated_at?: string;
65602
66488
  };
65603
66489
  Update: {
@@ -65606,6 +66492,7 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
65606
66492
  formaat_code?: string;
65607
66493
  id?: string;
65608
66494
  printer_id?: string | null;
66495
+ printer_ontbreekt_sinds?: string | null;
65609
66496
  updated_at?: string;
65610
66497
  };
65611
66498
  Relationships: [{
@@ -65942,6 +66829,7 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
65942
66829
  papierformaat: string | null;
65943
66830
  print_plek_id: string;
65944
66831
  printer_id: string | null;
66832
+ printer_ontbreekt_sinds: string | null;
65945
66833
  updated_at: string;
65946
66834
  };
65947
66835
  Insert: {
@@ -65951,6 +66839,7 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
65951
66839
  papierformaat?: string | null;
65952
66840
  print_plek_id: string;
65953
66841
  printer_id?: string | null;
66842
+ printer_ontbreekt_sinds?: string | null;
65954
66843
  updated_at?: string;
65955
66844
  };
65956
66845
  Update: {
@@ -65960,6 +66849,7 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
65960
66849
  papierformaat?: string | null;
65961
66850
  print_plek_id?: string;
65962
66851
  printer_id?: string | null;
66852
+ printer_ontbreekt_sinds?: string | null;
65963
66853
  updated_at?: string;
65964
66854
  };
65965
66855
  Relationships: [{
@@ -65983,6 +66873,7 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
65983
66873
  id: string;
65984
66874
  papierformaat: string | null;
65985
66875
  printer_id: string | null;
66876
+ printer_ontbreekt_sinds: string | null;
65986
66877
  updated_at: string;
65987
66878
  werkplek: string;
65988
66879
  };
@@ -65992,6 +66883,7 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
65992
66883
  id?: string;
65993
66884
  papierformaat?: string | null;
65994
66885
  printer_id?: string | null;
66886
+ printer_ontbreekt_sinds?: string | null;
65995
66887
  updated_at?: string;
65996
66888
  werkplek: string;
65997
66889
  };
@@ -66001,6 +66893,7 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
66001
66893
  id?: string;
66002
66894
  papierformaat?: string | null;
66003
66895
  printer_id?: string | null;
66896
+ printer_ontbreekt_sinds?: string | null;
66004
66897
  updated_at?: string;
66005
66898
  werkplek?: string;
66006
66899
  };
@@ -69303,6 +70196,78 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
69303
70196
  referencedColumns: ["id"];
69304
70197
  }];
69305
70198
  };
70199
+ floriday_document_fetch_queue: {
70200
+ Row: {
70201
+ attempts: number;
70202
+ cancelled_reason: string | null;
70203
+ completed_at: string | null;
70204
+ connection_id: string;
70205
+ created_at: string;
70206
+ document_key: string;
70207
+ environment: string;
70208
+ id: string;
70209
+ kind: string;
70210
+ last_error: string | null;
70211
+ last_http_status: number | null;
70212
+ locked_at: string | null;
70213
+ locked_by: string | null;
70214
+ max_attempts: number;
70215
+ next_attempt_at: string;
70216
+ order_ref: string | null;
70217
+ params: import("../integrations/supabase/types").Json;
70218
+ status: string;
70219
+ updated_at: string;
70220
+ };
70221
+ Insert: {
70222
+ attempts?: number;
70223
+ cancelled_reason?: string | null;
70224
+ completed_at?: string | null;
70225
+ connection_id: string;
70226
+ created_at?: string;
70227
+ document_key: string;
70228
+ environment: string;
70229
+ id?: string;
70230
+ kind: string;
70231
+ last_error?: string | null;
70232
+ last_http_status?: number | null;
70233
+ locked_at?: string | null;
70234
+ locked_by?: string | null;
70235
+ max_attempts?: number;
70236
+ next_attempt_at?: string;
70237
+ order_ref?: string | null;
70238
+ params?: import("../integrations/supabase/types").Json;
70239
+ status?: string;
70240
+ updated_at?: string;
70241
+ };
70242
+ Update: {
70243
+ attempts?: number;
70244
+ cancelled_reason?: string | null;
70245
+ completed_at?: string | null;
70246
+ connection_id?: string;
70247
+ created_at?: string;
70248
+ document_key?: string;
70249
+ environment?: string;
70250
+ id?: string;
70251
+ kind?: string;
70252
+ last_error?: string | null;
70253
+ last_http_status?: number | null;
70254
+ locked_at?: string | null;
70255
+ locked_by?: string | null;
70256
+ max_attempts?: number;
70257
+ next_attempt_at?: string;
70258
+ order_ref?: string | null;
70259
+ params?: import("../integrations/supabase/types").Json;
70260
+ status?: string;
70261
+ updated_at?: string;
70262
+ };
70263
+ Relationships: [{
70264
+ foreignKeyName: "floriday_document_fetch_queue_connection_id_fkey";
70265
+ columns: ["connection_id"];
70266
+ isOneToOne: false;
70267
+ referencedRelation: "floriday_connections";
70268
+ referencedColumns: ["id"];
70269
+ }];
70270
+ };
69306
70271
  floriday_fulfillment_orders_cache: {
69307
70272
  Row: {
69308
70273
  auction_date: string | null;
@@ -71835,6 +72800,57 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
71835
72800
  };
71836
72801
  Relationships: [];
71837
72802
  };
72803
+ itk_offerte_acceptaties: {
72804
+ Row: {
72805
+ accepted_at: string;
72806
+ akkoordgever_email: string;
72807
+ akkoordgever_naam: string;
72808
+ akkoordverklaring: string;
72809
+ id: string;
72810
+ inhoud_hash: string;
72811
+ ip_address: unknown;
72812
+ offerte_id: string;
72813
+ offerte_number: string;
72814
+ offerte_snapshot: import("../integrations/supabase/types").Json;
72815
+ user_agent: string | null;
72816
+ versie: string;
72817
+ };
72818
+ Insert: {
72819
+ accepted_at?: string;
72820
+ akkoordgever_email: string;
72821
+ akkoordgever_naam: string;
72822
+ akkoordverklaring: string;
72823
+ id?: string;
72824
+ inhoud_hash: string;
72825
+ ip_address?: unknown;
72826
+ offerte_id: string;
72827
+ offerte_number: string;
72828
+ offerte_snapshot: import("../integrations/supabase/types").Json;
72829
+ user_agent?: string | null;
72830
+ versie: string;
72831
+ };
72832
+ Update: {
72833
+ accepted_at?: string;
72834
+ akkoordgever_email?: string;
72835
+ akkoordgever_naam?: string;
72836
+ akkoordverklaring?: string;
72837
+ id?: string;
72838
+ inhoud_hash?: string;
72839
+ ip_address?: unknown;
72840
+ offerte_id?: string;
72841
+ offerte_number?: string;
72842
+ offerte_snapshot?: import("../integrations/supabase/types").Json;
72843
+ user_agent?: string | null;
72844
+ versie?: string;
72845
+ };
72846
+ Relationships: [{
72847
+ foreignKeyName: "itk_offerte_acceptaties_offerte_id_fkey";
72848
+ columns: ["offerte_id"];
72849
+ isOneToOne: true;
72850
+ referencedRelation: "itk_offertes";
72851
+ referencedColumns: ["id"];
72852
+ }];
72853
+ };
71838
72854
  itk_offerte_events: {
71839
72855
  Row: {
71840
72856
  created_at: string;
@@ -72048,6 +73064,7 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
72048
73064
  itk_offertes: {
72049
73065
  Row: {
72050
73066
  aandachtspunten: string | null;
73067
+ acceptance_id: string | null;
72051
73068
  ai_generated: boolean;
72052
73069
  approved_at: string | null;
72053
73070
  binnen_mandaat: boolean;
@@ -72066,6 +73083,11 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
72066
73083
  onderwerp: string | null;
72067
73084
  rejected_at: string | null;
72068
73085
  sent_at: string | null;
73086
+ sign_token: string;
73087
+ signature_data: string | null;
73088
+ signed_at: string | null;
73089
+ signer_email: string | null;
73090
+ signer_name: string | null;
72069
73091
  source_number: string | null;
72070
73092
  source_ref: string | null;
72071
73093
  source_type: string;
@@ -72080,11 +73102,13 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
72080
73102
  viewed_at: string | null;
72081
73103
  volgnummer: number | null;
72082
73104
  voorwaarden: string | null;
73105
+ werkbon_concept: import("../integrations/supabase/types").Json | null;
72083
73106
  werkbon_id: string | null;
72084
73107
  work_location_id: string | null;
72085
73108
  };
72086
73109
  Insert: {
72087
73110
  aandachtspunten?: string | null;
73111
+ acceptance_id?: string | null;
72088
73112
  ai_generated?: boolean;
72089
73113
  approved_at?: string | null;
72090
73114
  binnen_mandaat?: boolean;
@@ -72103,6 +73127,11 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
72103
73127
  onderwerp?: string | null;
72104
73128
  rejected_at?: string | null;
72105
73129
  sent_at?: string | null;
73130
+ sign_token?: string;
73131
+ signature_data?: string | null;
73132
+ signed_at?: string | null;
73133
+ signer_email?: string | null;
73134
+ signer_name?: string | null;
72106
73135
  source_number?: string | null;
72107
73136
  source_ref?: string | null;
72108
73137
  source_type?: string;
@@ -72117,11 +73146,13 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
72117
73146
  viewed_at?: string | null;
72118
73147
  volgnummer?: number | null;
72119
73148
  voorwaarden?: string | null;
73149
+ werkbon_concept?: import("../integrations/supabase/types").Json | null;
72120
73150
  werkbon_id?: string | null;
72121
73151
  work_location_id?: string | null;
72122
73152
  };
72123
73153
  Update: {
72124
73154
  aandachtspunten?: string | null;
73155
+ acceptance_id?: string | null;
72125
73156
  ai_generated?: boolean;
72126
73157
  approved_at?: string | null;
72127
73158
  binnen_mandaat?: boolean;
@@ -72140,6 +73171,11 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
72140
73171
  onderwerp?: string | null;
72141
73172
  rejected_at?: string | null;
72142
73173
  sent_at?: string | null;
73174
+ sign_token?: string;
73175
+ signature_data?: string | null;
73176
+ signed_at?: string | null;
73177
+ signer_email?: string | null;
73178
+ signer_name?: string | null;
72143
73179
  source_number?: string | null;
72144
73180
  source_ref?: string | null;
72145
73181
  source_type?: string;
@@ -72154,10 +73190,17 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
72154
73190
  viewed_at?: string | null;
72155
73191
  volgnummer?: number | null;
72156
73192
  voorwaarden?: string | null;
73193
+ werkbon_concept?: import("../integrations/supabase/types").Json | null;
72157
73194
  werkbon_id?: string | null;
72158
73195
  work_location_id?: string | null;
72159
73196
  };
72160
73197
  Relationships: [{
73198
+ foreignKeyName: "itk_offertes_acceptance_id_fkey";
73199
+ columns: ["acceptance_id"];
73200
+ isOneToOne: false;
73201
+ referencedRelation: "itk_offerte_acceptaties";
73202
+ referencedColumns: ["id"];
73203
+ }, {
72161
73204
  foreignKeyName: "itk_offertes_contact_id_fkey";
72162
73205
  columns: ["contact_id"];
72163
73206
  isOneToOne: false;
@@ -78699,6 +79742,54 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
78699
79742
  };
78700
79743
  Relationships: [];
78701
79744
  };
79745
+ planning_confirmation_log: {
79746
+ Row: {
79747
+ created_at: string;
79748
+ end_at: string;
79749
+ id: string;
79750
+ outbox_id: string | null;
79751
+ planning_item_id: string;
79752
+ reason: string | null;
79753
+ recipient: string | null;
79754
+ start_at: string;
79755
+ status: string;
79756
+ };
79757
+ Insert: {
79758
+ created_at?: string;
79759
+ end_at: string;
79760
+ id?: string;
79761
+ outbox_id?: string | null;
79762
+ planning_item_id: string;
79763
+ reason?: string | null;
79764
+ recipient?: string | null;
79765
+ start_at: string;
79766
+ status: string;
79767
+ };
79768
+ Update: {
79769
+ created_at?: string;
79770
+ end_at?: string;
79771
+ id?: string;
79772
+ outbox_id?: string | null;
79773
+ planning_item_id?: string;
79774
+ reason?: string | null;
79775
+ recipient?: string | null;
79776
+ start_at?: string;
79777
+ status?: string;
79778
+ };
79779
+ Relationships: [{
79780
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
79781
+ columns: ["planning_item_id"];
79782
+ isOneToOne: false;
79783
+ referencedRelation: "planning_items";
79784
+ referencedColumns: ["id"];
79785
+ }, {
79786
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
79787
+ columns: ["planning_item_id"];
79788
+ isOneToOne: false;
79789
+ referencedRelation: "planning_overview";
79790
+ referencedColumns: ["id"];
79791
+ }];
79792
+ };
78702
79793
  planning_item_assistants: {
78703
79794
  Row: {
78704
79795
  created_at: string;
@@ -78783,6 +79874,63 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
78783
79874
  referencedColumns: ["id"];
78784
79875
  }];
78785
79876
  };
79877
+ planning_mail_settings: {
79878
+ Row: {
79879
+ body_template: string;
79880
+ cc: string[];
79881
+ connection_id: string | null;
79882
+ created_at: string;
79883
+ email_purpose: string | null;
79884
+ enabled: boolean;
79885
+ id: boolean;
79886
+ reply_to: string | null;
79887
+ subject_template: string;
79888
+ timezone: string;
79889
+ updated_at: string;
79890
+ updated_by: string | null;
79891
+ };
79892
+ Insert: {
79893
+ body_template?: string;
79894
+ cc?: string[];
79895
+ connection_id?: string | null;
79896
+ created_at?: string;
79897
+ email_purpose?: string | null;
79898
+ enabled?: boolean;
79899
+ id?: boolean;
79900
+ reply_to?: string | null;
79901
+ subject_template?: string;
79902
+ timezone?: string;
79903
+ updated_at?: string;
79904
+ updated_by?: string | null;
79905
+ };
79906
+ Update: {
79907
+ body_template?: string;
79908
+ cc?: string[];
79909
+ connection_id?: string | null;
79910
+ created_at?: string;
79911
+ email_purpose?: string | null;
79912
+ enabled?: boolean;
79913
+ id?: boolean;
79914
+ reply_to?: string | null;
79915
+ subject_template?: string;
79916
+ timezone?: string;
79917
+ updated_at?: string;
79918
+ updated_by?: string | null;
79919
+ };
79920
+ Relationships: [{
79921
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
79922
+ columns: ["connection_id"];
79923
+ isOneToOne: false;
79924
+ referencedRelation: "email_auth_connections";
79925
+ referencedColumns: ["id"];
79926
+ }, {
79927
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
79928
+ columns: ["connection_id"];
79929
+ isOneToOne: false;
79930
+ referencedRelation: "email_auth_connections_safe";
79931
+ referencedColumns: ["id"];
79932
+ }];
79933
+ };
78786
79934
  planning_monteur_day_locations: {
78787
79935
  Row: {
78788
79936
  created_at: string;
@@ -79170,6 +80318,27 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
79170
80318
  };
79171
80319
  Relationships: [];
79172
80320
  };
80321
+ print_genegeerde_computers: {
80322
+ Row: {
80323
+ computer_naam: string;
80324
+ genegeerd_door: string | null;
80325
+ genegeerd_op: string;
80326
+ id: string;
80327
+ };
80328
+ Insert: {
80329
+ computer_naam: string;
80330
+ genegeerd_door?: string | null;
80331
+ genegeerd_op?: string;
80332
+ id?: string;
80333
+ };
80334
+ Update: {
80335
+ computer_naam?: string;
80336
+ genegeerd_door?: string | null;
80337
+ genegeerd_op?: string;
80338
+ id?: string;
80339
+ };
80340
+ Relationships: [];
80341
+ };
79173
80342
  print_job_logs: {
79174
80343
  Row: {
79175
80344
  created_at: string;
@@ -79440,6 +80609,39 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
79440
80609
  referencedColumns: ["id"];
79441
80610
  }];
79442
80611
  };
80612
+ print_plek_printers: {
80613
+ Row: {
80614
+ id: string;
80615
+ print_plek_id: string;
80616
+ printer_id: string;
80617
+ toegevoegd_op: string;
80618
+ };
80619
+ Insert: {
80620
+ id?: string;
80621
+ print_plek_id: string;
80622
+ printer_id: string;
80623
+ toegevoegd_op?: string;
80624
+ };
80625
+ Update: {
80626
+ id?: string;
80627
+ print_plek_id?: string;
80628
+ printer_id?: string;
80629
+ toegevoegd_op?: string;
80630
+ };
80631
+ Relationships: [{
80632
+ foreignKeyName: "print_plek_printers_print_plek_id_fkey";
80633
+ columns: ["print_plek_id"];
80634
+ isOneToOne: false;
80635
+ referencedRelation: "print_plekken";
80636
+ referencedColumns: ["id"];
80637
+ }, {
80638
+ foreignKeyName: "print_plek_printers_printer_id_fkey";
80639
+ columns: ["printer_id"];
80640
+ isOneToOne: false;
80641
+ referencedRelation: "printers";
80642
+ referencedColumns: ["id"];
80643
+ }];
80644
+ };
79443
80645
  print_plekken: {
79444
80646
  Row: {
79445
80647
  actief: boolean;
@@ -79655,7 +80857,8 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
79655
80857
  created_at: string;
79656
80858
  id: string;
79657
80859
  layout_id: string;
79658
- printer_id: string;
80860
+ printer_id: string | null;
80861
+ printer_ontbreekt_sinds: string | null;
79659
80862
  prioriteit: number;
79660
80863
  updated_at: string;
79661
80864
  };
@@ -79663,7 +80866,8 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
79663
80866
  created_at?: string;
79664
80867
  id?: string;
79665
80868
  layout_id: string;
79666
- printer_id: string;
80869
+ printer_id?: string | null;
80870
+ printer_ontbreekt_sinds?: string | null;
79667
80871
  prioriteit?: number;
79668
80872
  updated_at?: string;
79669
80873
  };
@@ -79671,7 +80875,8 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
79671
80875
  created_at?: string;
79672
80876
  id?: string;
79673
80877
  layout_id?: string;
79674
- printer_id?: string;
80878
+ printer_id?: string | null;
80879
+ printer_ontbreekt_sinds?: string | null;
79675
80880
  prioriteit?: number;
79676
80881
  updated_at?: string;
79677
80882
  };
@@ -85563,12 +86768,14 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
85563
86768
  created_at: string;
85564
86769
  default_quantity: number;
85565
86770
  description: string | null;
85566
- duration_minutes: number | null;
86771
+ duration_minutes: number;
85567
86772
  id: string;
86773
+ labor_minutes: number;
85568
86774
  mandaat_type: string | null;
85569
86775
  name: string;
85570
86776
  price_mode: string;
85571
86777
  sort_order: number;
86778
+ travel_minutes: number;
85572
86779
  unit_price_cents: number;
85573
86780
  updated_at: string;
85574
86781
  };
@@ -85580,12 +86787,14 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
85580
86787
  created_at?: string;
85581
86788
  default_quantity?: number;
85582
86789
  description?: string | null;
85583
- duration_minutes?: number | null;
86790
+ duration_minutes?: number;
85584
86791
  id?: string;
86792
+ labor_minutes?: number;
85585
86793
  mandaat_type?: string | null;
85586
86794
  name: string;
85587
86795
  price_mode?: string;
85588
86796
  sort_order?: number;
86797
+ travel_minutes?: number;
85589
86798
  unit_price_cents?: number;
85590
86799
  updated_at?: string;
85591
86800
  };
@@ -85597,12 +86806,14 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
85597
86806
  created_at?: string;
85598
86807
  default_quantity?: number;
85599
86808
  description?: string | null;
85600
- duration_minutes?: number | null;
86809
+ duration_minutes?: number;
85601
86810
  id?: string;
86811
+ labor_minutes?: number;
85602
86812
  mandaat_type?: string | null;
85603
86813
  name?: string;
85604
86814
  price_mode?: string;
85605
86815
  sort_order?: number;
86816
+ travel_minutes?: number;
85606
86817
  unit_price_cents?: number;
85607
86818
  updated_at?: string;
85608
86819
  };
@@ -87157,6 +88368,12 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
87157
88368
  };
87158
88369
  Returns: undefined;
87159
88370
  };
88371
+ _quote_release_work_order_intern: {
88372
+ Args: {
88373
+ _offerte_id: string;
88374
+ };
88375
+ Returns: import("../integrations/supabase/types").Json;
88376
+ };
87160
88377
  _wo_is_planner: {
87161
88378
  Args: never;
87162
88379
  Returns: boolean;
@@ -92028,6 +93245,12 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
92028
93245
  };
92029
93246
  Returns: import("../integrations/supabase/types").Json;
92030
93247
  };
93248
+ pick_verify_rows: {
93249
+ Args: {
93250
+ _rows: import("../integrations/supabase/types").Json;
93251
+ };
93252
+ Returns: import("../integrations/supabase/types").Json;
93253
+ };
92031
93254
  pickstation_get_orders_raw: {
92032
93255
  Args: never;
92033
93256
  Returns: import("../integrations/supabase/types").Json;
@@ -92162,6 +93385,35 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
92162
93385
  };
92163
93386
  Returns: undefined;
92164
93387
  };
93388
+ printer_gebruik: {
93389
+ Args: {
93390
+ _printer: string;
93391
+ };
93392
+ Returns: import("../integrations/supabase/types").Json;
93393
+ };
93394
+ printer_routering: {
93395
+ Args: {
93396
+ _documenttype: string;
93397
+ _layout_id?: string;
93398
+ _papierformaat?: string;
93399
+ _print_plek_id?: string;
93400
+ _werkplek?: string;
93401
+ };
93402
+ Returns: import("../integrations/supabase/types").Json;
93403
+ };
93404
+ printplek_printer: {
93405
+ Args: {
93406
+ _documenttype: string;
93407
+ _plek: string;
93408
+ };
93409
+ Returns: string;
93410
+ };
93411
+ printplek_verwijder_impact: {
93412
+ Args: {
93413
+ _id: string;
93414
+ };
93415
+ Returns: import("../integrations/supabase/types").Json;
93416
+ };
92165
93417
  process_logistics_event: {
92166
93418
  Args: {
92167
93419
  p_event_id: string;
@@ -92208,6 +93460,12 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
92208
93460
  };
92209
93461
  Returns: import("../integrations/supabase/types").Json;
92210
93462
  };
93463
+ quote_create_from_scratch: {
93464
+ Args: {
93465
+ _payload: import("../integrations/supabase/types").Json;
93466
+ };
93467
+ Returns: import("../integrations/supabase/types").Json;
93468
+ };
92211
93469
  quote_create_from_source: {
92212
93470
  Args: {
92213
93471
  _payload?: import("../integrations/supabase/types").Json;
@@ -92223,6 +93481,13 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
92223
93481
  };
92224
93482
  Returns: boolean;
92225
93483
  };
93484
+ quote_fill_from_form: {
93485
+ Args: {
93486
+ _offerte_id: string;
93487
+ _payload: import("../integrations/supabase/types").Json;
93488
+ };
93489
+ Returns: import("../integrations/supabase/types").Json;
93490
+ };
92226
93491
  quote_get_billable_lines: {
92227
93492
  Args: {
92228
93493
  _quotation_id: string;
@@ -92252,12 +93517,50 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
92252
93517
  };
92253
93518
  Returns: import("../integrations/supabase/types").Json;
92254
93519
  };
93520
+ quote_public_accept: {
93521
+ Args: {
93522
+ _akkoord: boolean;
93523
+ _email: string;
93524
+ _ip_address?: string;
93525
+ _naam: string;
93526
+ _token: string;
93527
+ _user_agent?: string;
93528
+ };
93529
+ Returns: import("../integrations/supabase/types").Json;
93530
+ };
93531
+ quote_public_get: {
93532
+ Args: {
93533
+ _token: string;
93534
+ };
93535
+ Returns: import("../integrations/supabase/types").Json;
93536
+ };
93537
+ quote_public_sign: {
93538
+ Args: {
93539
+ _handtekening: string;
93540
+ _naam: string;
93541
+ _token: string;
93542
+ };
93543
+ Returns: import("../integrations/supabase/types").Json;
93544
+ };
92255
93545
  quote_queue_follow_up: {
92256
93546
  Args: {
92257
93547
  _offerte_id: string;
92258
93548
  };
92259
93549
  Returns: string;
92260
93550
  };
93551
+ quote_release_work_order: {
93552
+ Args: {
93553
+ _offerte_id: string;
93554
+ };
93555
+ Returns: import("../integrations/supabase/types").Json;
93556
+ };
93557
+ quote_sync_work_order: {
93558
+ Args: {
93559
+ _monteur_instructies?: string;
93560
+ _offerte_id: string;
93561
+ };
93562
+ Returns: boolean;
93563
+ };
92261
93564
  recompute_all_reserved_stock: {
92262
93565
  Args: never;
92263
93566
  Returns: undefined;
@@ -93536,6 +94839,19 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
93536
94839
  user_id: string;
93537
94840
  }[];
93538
94841
  };
94842
+ vervang_printer: {
94843
+ Args: {
94844
+ _nieuw: string;
94845
+ _oud: string;
94846
+ };
94847
+ Returns: import("../integrations/supabase/types").Json;
94848
+ };
94849
+ verwijder_printplek: {
94850
+ Args: {
94851
+ _id: string;
94852
+ };
94853
+ Returns: import("../integrations/supabase/types").Json;
94854
+ };
93539
94855
  voorraad_cleanup_old_rows: {
93540
94856
  Args: never;
93541
94857
  Returns: import("../integrations/supabase/types").Json;
@@ -93546,6 +94862,16 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
93546
94862
  };
93547
94863
  Returns: number;
93548
94864
  };
94865
+ werkbon_pakket_tijden: {
94866
+ Args: {
94867
+ _werkbon_id: string;
94868
+ };
94869
+ Returns: {
94870
+ labor_minutes: number;
94871
+ total_minutes: number;
94872
+ travel_minutes: number;
94873
+ }[];
94874
+ };
93549
94875
  werkbon_totalen: {
93550
94876
  Args: {
93551
94877
  _werkbon_id: string;
@@ -96817,6 +98143,7 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
96817
98143
  formaat_code: string;
96818
98144
  id: string;
96819
98145
  printer_id: string | null;
98146
+ printer_ontbreekt_sinds: string | null;
96820
98147
  updated_at: string;
96821
98148
  };
96822
98149
  Insert: {
@@ -96825,6 +98152,7 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
96825
98152
  formaat_code: string;
96826
98153
  id?: string;
96827
98154
  printer_id?: string | null;
98155
+ printer_ontbreekt_sinds?: string | null;
96828
98156
  updated_at?: string;
96829
98157
  };
96830
98158
  Update: {
@@ -96833,6 +98161,7 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
96833
98161
  formaat_code?: string;
96834
98162
  id?: string;
96835
98163
  printer_id?: string | null;
98164
+ printer_ontbreekt_sinds?: string | null;
96836
98165
  updated_at?: string;
96837
98166
  };
96838
98167
  Relationships: [{
@@ -97169,6 +98498,7 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
97169
98498
  papierformaat: string | null;
97170
98499
  print_plek_id: string;
97171
98500
  printer_id: string | null;
98501
+ printer_ontbreekt_sinds: string | null;
97172
98502
  updated_at: string;
97173
98503
  };
97174
98504
  Insert: {
@@ -97178,6 +98508,7 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
97178
98508
  papierformaat?: string | null;
97179
98509
  print_plek_id: string;
97180
98510
  printer_id?: string | null;
98511
+ printer_ontbreekt_sinds?: string | null;
97181
98512
  updated_at?: string;
97182
98513
  };
97183
98514
  Update: {
@@ -97187,6 +98518,7 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
97187
98518
  papierformaat?: string | null;
97188
98519
  print_plek_id?: string;
97189
98520
  printer_id?: string | null;
98521
+ printer_ontbreekt_sinds?: string | null;
97190
98522
  updated_at?: string;
97191
98523
  };
97192
98524
  Relationships: [{
@@ -97210,6 +98542,7 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
97210
98542
  id: string;
97211
98543
  papierformaat: string | null;
97212
98544
  printer_id: string | null;
98545
+ printer_ontbreekt_sinds: string | null;
97213
98546
  updated_at: string;
97214
98547
  werkplek: string;
97215
98548
  };
@@ -97219,6 +98552,7 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
97219
98552
  id?: string;
97220
98553
  papierformaat?: string | null;
97221
98554
  printer_id?: string | null;
98555
+ printer_ontbreekt_sinds?: string | null;
97222
98556
  updated_at?: string;
97223
98557
  werkplek: string;
97224
98558
  };
@@ -97228,6 +98562,7 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
97228
98562
  id?: string;
97229
98563
  papierformaat?: string | null;
97230
98564
  printer_id?: string | null;
98565
+ printer_ontbreekt_sinds?: string | null;
97231
98566
  updated_at?: string;
97232
98567
  werkplek?: string;
97233
98568
  };
@@ -100530,6 +101865,78 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
100530
101865
  referencedColumns: ["id"];
100531
101866
  }];
100532
101867
  };
101868
+ floriday_document_fetch_queue: {
101869
+ Row: {
101870
+ attempts: number;
101871
+ cancelled_reason: string | null;
101872
+ completed_at: string | null;
101873
+ connection_id: string;
101874
+ created_at: string;
101875
+ document_key: string;
101876
+ environment: string;
101877
+ id: string;
101878
+ kind: string;
101879
+ last_error: string | null;
101880
+ last_http_status: number | null;
101881
+ locked_at: string | null;
101882
+ locked_by: string | null;
101883
+ max_attempts: number;
101884
+ next_attempt_at: string;
101885
+ order_ref: string | null;
101886
+ params: import("../integrations/supabase/types").Json;
101887
+ status: string;
101888
+ updated_at: string;
101889
+ };
101890
+ Insert: {
101891
+ attempts?: number;
101892
+ cancelled_reason?: string | null;
101893
+ completed_at?: string | null;
101894
+ connection_id: string;
101895
+ created_at?: string;
101896
+ document_key: string;
101897
+ environment: string;
101898
+ id?: string;
101899
+ kind: string;
101900
+ last_error?: string | null;
101901
+ last_http_status?: number | null;
101902
+ locked_at?: string | null;
101903
+ locked_by?: string | null;
101904
+ max_attempts?: number;
101905
+ next_attempt_at?: string;
101906
+ order_ref?: string | null;
101907
+ params?: import("../integrations/supabase/types").Json;
101908
+ status?: string;
101909
+ updated_at?: string;
101910
+ };
101911
+ Update: {
101912
+ attempts?: number;
101913
+ cancelled_reason?: string | null;
101914
+ completed_at?: string | null;
101915
+ connection_id?: string;
101916
+ created_at?: string;
101917
+ document_key?: string;
101918
+ environment?: string;
101919
+ id?: string;
101920
+ kind?: string;
101921
+ last_error?: string | null;
101922
+ last_http_status?: number | null;
101923
+ locked_at?: string | null;
101924
+ locked_by?: string | null;
101925
+ max_attempts?: number;
101926
+ next_attempt_at?: string;
101927
+ order_ref?: string | null;
101928
+ params?: import("../integrations/supabase/types").Json;
101929
+ status?: string;
101930
+ updated_at?: string;
101931
+ };
101932
+ Relationships: [{
101933
+ foreignKeyName: "floriday_document_fetch_queue_connection_id_fkey";
101934
+ columns: ["connection_id"];
101935
+ isOneToOne: false;
101936
+ referencedRelation: "floriday_connections";
101937
+ referencedColumns: ["id"];
101938
+ }];
101939
+ };
100533
101940
  floriday_fulfillment_orders_cache: {
100534
101941
  Row: {
100535
101942
  auction_date: string | null;
@@ -103062,6 +104469,57 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
103062
104469
  };
103063
104470
  Relationships: [];
103064
104471
  };
104472
+ itk_offerte_acceptaties: {
104473
+ Row: {
104474
+ accepted_at: string;
104475
+ akkoordgever_email: string;
104476
+ akkoordgever_naam: string;
104477
+ akkoordverklaring: string;
104478
+ id: string;
104479
+ inhoud_hash: string;
104480
+ ip_address: unknown;
104481
+ offerte_id: string;
104482
+ offerte_number: string;
104483
+ offerte_snapshot: import("../integrations/supabase/types").Json;
104484
+ user_agent: string | null;
104485
+ versie: string;
104486
+ };
104487
+ Insert: {
104488
+ accepted_at?: string;
104489
+ akkoordgever_email: string;
104490
+ akkoordgever_naam: string;
104491
+ akkoordverklaring: string;
104492
+ id?: string;
104493
+ inhoud_hash: string;
104494
+ ip_address?: unknown;
104495
+ offerte_id: string;
104496
+ offerte_number: string;
104497
+ offerte_snapshot: import("../integrations/supabase/types").Json;
104498
+ user_agent?: string | null;
104499
+ versie: string;
104500
+ };
104501
+ Update: {
104502
+ accepted_at?: string;
104503
+ akkoordgever_email?: string;
104504
+ akkoordgever_naam?: string;
104505
+ akkoordverklaring?: string;
104506
+ id?: string;
104507
+ inhoud_hash?: string;
104508
+ ip_address?: unknown;
104509
+ offerte_id?: string;
104510
+ offerte_number?: string;
104511
+ offerte_snapshot?: import("../integrations/supabase/types").Json;
104512
+ user_agent?: string | null;
104513
+ versie?: string;
104514
+ };
104515
+ Relationships: [{
104516
+ foreignKeyName: "itk_offerte_acceptaties_offerte_id_fkey";
104517
+ columns: ["offerte_id"];
104518
+ isOneToOne: true;
104519
+ referencedRelation: "itk_offertes";
104520
+ referencedColumns: ["id"];
104521
+ }];
104522
+ };
103065
104523
  itk_offerte_events: {
103066
104524
  Row: {
103067
104525
  created_at: string;
@@ -103275,6 +104733,7 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
103275
104733
  itk_offertes: {
103276
104734
  Row: {
103277
104735
  aandachtspunten: string | null;
104736
+ acceptance_id: string | null;
103278
104737
  ai_generated: boolean;
103279
104738
  approved_at: string | null;
103280
104739
  binnen_mandaat: boolean;
@@ -103293,6 +104752,11 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
103293
104752
  onderwerp: string | null;
103294
104753
  rejected_at: string | null;
103295
104754
  sent_at: string | null;
104755
+ sign_token: string;
104756
+ signature_data: string | null;
104757
+ signed_at: string | null;
104758
+ signer_email: string | null;
104759
+ signer_name: string | null;
103296
104760
  source_number: string | null;
103297
104761
  source_ref: string | null;
103298
104762
  source_type: string;
@@ -103307,11 +104771,13 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
103307
104771
  viewed_at: string | null;
103308
104772
  volgnummer: number | null;
103309
104773
  voorwaarden: string | null;
104774
+ werkbon_concept: import("../integrations/supabase/types").Json | null;
103310
104775
  werkbon_id: string | null;
103311
104776
  work_location_id: string | null;
103312
104777
  };
103313
104778
  Insert: {
103314
104779
  aandachtspunten?: string | null;
104780
+ acceptance_id?: string | null;
103315
104781
  ai_generated?: boolean;
103316
104782
  approved_at?: string | null;
103317
104783
  binnen_mandaat?: boolean;
@@ -103330,6 +104796,11 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
103330
104796
  onderwerp?: string | null;
103331
104797
  rejected_at?: string | null;
103332
104798
  sent_at?: string | null;
104799
+ sign_token?: string;
104800
+ signature_data?: string | null;
104801
+ signed_at?: string | null;
104802
+ signer_email?: string | null;
104803
+ signer_name?: string | null;
103333
104804
  source_number?: string | null;
103334
104805
  source_ref?: string | null;
103335
104806
  source_type?: string;
@@ -103344,11 +104815,13 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
103344
104815
  viewed_at?: string | null;
103345
104816
  volgnummer?: number | null;
103346
104817
  voorwaarden?: string | null;
104818
+ werkbon_concept?: import("../integrations/supabase/types").Json | null;
103347
104819
  werkbon_id?: string | null;
103348
104820
  work_location_id?: string | null;
103349
104821
  };
103350
104822
  Update: {
103351
104823
  aandachtspunten?: string | null;
104824
+ acceptance_id?: string | null;
103352
104825
  ai_generated?: boolean;
103353
104826
  approved_at?: string | null;
103354
104827
  binnen_mandaat?: boolean;
@@ -103367,6 +104840,11 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
103367
104840
  onderwerp?: string | null;
103368
104841
  rejected_at?: string | null;
103369
104842
  sent_at?: string | null;
104843
+ sign_token?: string;
104844
+ signature_data?: string | null;
104845
+ signed_at?: string | null;
104846
+ signer_email?: string | null;
104847
+ signer_name?: string | null;
103370
104848
  source_number?: string | null;
103371
104849
  source_ref?: string | null;
103372
104850
  source_type?: string;
@@ -103381,10 +104859,17 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
103381
104859
  viewed_at?: string | null;
103382
104860
  volgnummer?: number | null;
103383
104861
  voorwaarden?: string | null;
104862
+ werkbon_concept?: import("../integrations/supabase/types").Json | null;
103384
104863
  werkbon_id?: string | null;
103385
104864
  work_location_id?: string | null;
103386
104865
  };
103387
104866
  Relationships: [{
104867
+ foreignKeyName: "itk_offertes_acceptance_id_fkey";
104868
+ columns: ["acceptance_id"];
104869
+ isOneToOne: false;
104870
+ referencedRelation: "itk_offerte_acceptaties";
104871
+ referencedColumns: ["id"];
104872
+ }, {
103388
104873
  foreignKeyName: "itk_offertes_contact_id_fkey";
103389
104874
  columns: ["contact_id"];
103390
104875
  isOneToOne: false;
@@ -109926,6 +111411,54 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
109926
111411
  };
109927
111412
  Relationships: [];
109928
111413
  };
111414
+ planning_confirmation_log: {
111415
+ Row: {
111416
+ created_at: string;
111417
+ end_at: string;
111418
+ id: string;
111419
+ outbox_id: string | null;
111420
+ planning_item_id: string;
111421
+ reason: string | null;
111422
+ recipient: string | null;
111423
+ start_at: string;
111424
+ status: string;
111425
+ };
111426
+ Insert: {
111427
+ created_at?: string;
111428
+ end_at: string;
111429
+ id?: string;
111430
+ outbox_id?: string | null;
111431
+ planning_item_id: string;
111432
+ reason?: string | null;
111433
+ recipient?: string | null;
111434
+ start_at: string;
111435
+ status: string;
111436
+ };
111437
+ Update: {
111438
+ created_at?: string;
111439
+ end_at?: string;
111440
+ id?: string;
111441
+ outbox_id?: string | null;
111442
+ planning_item_id?: string;
111443
+ reason?: string | null;
111444
+ recipient?: string | null;
111445
+ start_at?: string;
111446
+ status?: string;
111447
+ };
111448
+ Relationships: [{
111449
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
111450
+ columns: ["planning_item_id"];
111451
+ isOneToOne: false;
111452
+ referencedRelation: "planning_items";
111453
+ referencedColumns: ["id"];
111454
+ }, {
111455
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
111456
+ columns: ["planning_item_id"];
111457
+ isOneToOne: false;
111458
+ referencedRelation: "planning_overview";
111459
+ referencedColumns: ["id"];
111460
+ }];
111461
+ };
109929
111462
  planning_item_assistants: {
109930
111463
  Row: {
109931
111464
  created_at: string;
@@ -110010,6 +111543,63 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
110010
111543
  referencedColumns: ["id"];
110011
111544
  }];
110012
111545
  };
111546
+ planning_mail_settings: {
111547
+ Row: {
111548
+ body_template: string;
111549
+ cc: string[];
111550
+ connection_id: string | null;
111551
+ created_at: string;
111552
+ email_purpose: string | null;
111553
+ enabled: boolean;
111554
+ id: boolean;
111555
+ reply_to: string | null;
111556
+ subject_template: string;
111557
+ timezone: string;
111558
+ updated_at: string;
111559
+ updated_by: string | null;
111560
+ };
111561
+ Insert: {
111562
+ body_template?: string;
111563
+ cc?: string[];
111564
+ connection_id?: string | null;
111565
+ created_at?: string;
111566
+ email_purpose?: string | null;
111567
+ enabled?: boolean;
111568
+ id?: boolean;
111569
+ reply_to?: string | null;
111570
+ subject_template?: string;
111571
+ timezone?: string;
111572
+ updated_at?: string;
111573
+ updated_by?: string | null;
111574
+ };
111575
+ Update: {
111576
+ body_template?: string;
111577
+ cc?: string[];
111578
+ connection_id?: string | null;
111579
+ created_at?: string;
111580
+ email_purpose?: string | null;
111581
+ enabled?: boolean;
111582
+ id?: boolean;
111583
+ reply_to?: string | null;
111584
+ subject_template?: string;
111585
+ timezone?: string;
111586
+ updated_at?: string;
111587
+ updated_by?: string | null;
111588
+ };
111589
+ Relationships: [{
111590
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
111591
+ columns: ["connection_id"];
111592
+ isOneToOne: false;
111593
+ referencedRelation: "email_auth_connections";
111594
+ referencedColumns: ["id"];
111595
+ }, {
111596
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
111597
+ columns: ["connection_id"];
111598
+ isOneToOne: false;
111599
+ referencedRelation: "email_auth_connections_safe";
111600
+ referencedColumns: ["id"];
111601
+ }];
111602
+ };
110013
111603
  planning_monteur_day_locations: {
110014
111604
  Row: {
110015
111605
  created_at: string;
@@ -110397,6 +111987,27 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
110397
111987
  };
110398
111988
  Relationships: [];
110399
111989
  };
111990
+ print_genegeerde_computers: {
111991
+ Row: {
111992
+ computer_naam: string;
111993
+ genegeerd_door: string | null;
111994
+ genegeerd_op: string;
111995
+ id: string;
111996
+ };
111997
+ Insert: {
111998
+ computer_naam: string;
111999
+ genegeerd_door?: string | null;
112000
+ genegeerd_op?: string;
112001
+ id?: string;
112002
+ };
112003
+ Update: {
112004
+ computer_naam?: string;
112005
+ genegeerd_door?: string | null;
112006
+ genegeerd_op?: string;
112007
+ id?: string;
112008
+ };
112009
+ Relationships: [];
112010
+ };
110400
112011
  print_job_logs: {
110401
112012
  Row: {
110402
112013
  created_at: string;
@@ -110667,6 +112278,39 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
110667
112278
  referencedColumns: ["id"];
110668
112279
  }];
110669
112280
  };
112281
+ print_plek_printers: {
112282
+ Row: {
112283
+ id: string;
112284
+ print_plek_id: string;
112285
+ printer_id: string;
112286
+ toegevoegd_op: string;
112287
+ };
112288
+ Insert: {
112289
+ id?: string;
112290
+ print_plek_id: string;
112291
+ printer_id: string;
112292
+ toegevoegd_op?: string;
112293
+ };
112294
+ Update: {
112295
+ id?: string;
112296
+ print_plek_id?: string;
112297
+ printer_id?: string;
112298
+ toegevoegd_op?: string;
112299
+ };
112300
+ Relationships: [{
112301
+ foreignKeyName: "print_plek_printers_print_plek_id_fkey";
112302
+ columns: ["print_plek_id"];
112303
+ isOneToOne: false;
112304
+ referencedRelation: "print_plekken";
112305
+ referencedColumns: ["id"];
112306
+ }, {
112307
+ foreignKeyName: "print_plek_printers_printer_id_fkey";
112308
+ columns: ["printer_id"];
112309
+ isOneToOne: false;
112310
+ referencedRelation: "printers";
112311
+ referencedColumns: ["id"];
112312
+ }];
112313
+ };
110670
112314
  print_plekken: {
110671
112315
  Row: {
110672
112316
  actief: boolean;
@@ -110882,7 +112526,8 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
110882
112526
  created_at: string;
110883
112527
  id: string;
110884
112528
  layout_id: string;
110885
- printer_id: string;
112529
+ printer_id: string | null;
112530
+ printer_ontbreekt_sinds: string | null;
110886
112531
  prioriteit: number;
110887
112532
  updated_at: string;
110888
112533
  };
@@ -110890,7 +112535,8 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
110890
112535
  created_at?: string;
110891
112536
  id?: string;
110892
112537
  layout_id: string;
110893
- printer_id: string;
112538
+ printer_id?: string | null;
112539
+ printer_ontbreekt_sinds?: string | null;
110894
112540
  prioriteit?: number;
110895
112541
  updated_at?: string;
110896
112542
  };
@@ -110898,7 +112544,8 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
110898
112544
  created_at?: string;
110899
112545
  id?: string;
110900
112546
  layout_id?: string;
110901
- printer_id?: string;
112547
+ printer_id?: string | null;
112548
+ printer_ontbreekt_sinds?: string | null;
110902
112549
  prioriteit?: number;
110903
112550
  updated_at?: string;
110904
112551
  };
@@ -116790,12 +118437,14 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
116790
118437
  created_at: string;
116791
118438
  default_quantity: number;
116792
118439
  description: string | null;
116793
- duration_minutes: number | null;
118440
+ duration_minutes: number;
116794
118441
  id: string;
118442
+ labor_minutes: number;
116795
118443
  mandaat_type: string | null;
116796
118444
  name: string;
116797
118445
  price_mode: string;
116798
118446
  sort_order: number;
118447
+ travel_minutes: number;
116799
118448
  unit_price_cents: number;
116800
118449
  updated_at: string;
116801
118450
  };
@@ -116807,12 +118456,14 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
116807
118456
  created_at?: string;
116808
118457
  default_quantity?: number;
116809
118458
  description?: string | null;
116810
- duration_minutes?: number | null;
118459
+ duration_minutes?: number;
116811
118460
  id?: string;
118461
+ labor_minutes?: number;
116812
118462
  mandaat_type?: string | null;
116813
118463
  name: string;
116814
118464
  price_mode?: string;
116815
118465
  sort_order?: number;
118466
+ travel_minutes?: number;
116816
118467
  unit_price_cents?: number;
116817
118468
  updated_at?: string;
116818
118469
  };
@@ -116824,12 +118475,14 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
116824
118475
  created_at?: string;
116825
118476
  default_quantity?: number;
116826
118477
  description?: string | null;
116827
- duration_minutes?: number | null;
118478
+ duration_minutes?: number;
116828
118479
  id?: string;
118480
+ labor_minutes?: number;
116829
118481
  mandaat_type?: string | null;
116830
118482
  name?: string;
116831
118483
  price_mode?: string;
116832
118484
  sort_order?: number;
118485
+ travel_minutes?: number;
116833
118486
  unit_price_cents?: number;
116834
118487
  updated_at?: string;
116835
118488
  };
@@ -118384,6 +120037,12 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
118384
120037
  };
118385
120038
  Returns: undefined;
118386
120039
  };
120040
+ _quote_release_work_order_intern: {
120041
+ Args: {
120042
+ _offerte_id: string;
120043
+ };
120044
+ Returns: import("../integrations/supabase/types").Json;
120045
+ };
118387
120046
  _wo_is_planner: {
118388
120047
  Args: never;
118389
120048
  Returns: boolean;
@@ -123255,6 +124914,12 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
123255
124914
  };
123256
124915
  Returns: import("../integrations/supabase/types").Json;
123257
124916
  };
124917
+ pick_verify_rows: {
124918
+ Args: {
124919
+ _rows: import("../integrations/supabase/types").Json;
124920
+ };
124921
+ Returns: import("../integrations/supabase/types").Json;
124922
+ };
123258
124923
  pickstation_get_orders_raw: {
123259
124924
  Args: never;
123260
124925
  Returns: import("../integrations/supabase/types").Json;
@@ -123389,6 +125054,35 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
123389
125054
  };
123390
125055
  Returns: undefined;
123391
125056
  };
125057
+ printer_gebruik: {
125058
+ Args: {
125059
+ _printer: string;
125060
+ };
125061
+ Returns: import("../integrations/supabase/types").Json;
125062
+ };
125063
+ printer_routering: {
125064
+ Args: {
125065
+ _documenttype: string;
125066
+ _layout_id?: string;
125067
+ _papierformaat?: string;
125068
+ _print_plek_id?: string;
125069
+ _werkplek?: string;
125070
+ };
125071
+ Returns: import("../integrations/supabase/types").Json;
125072
+ };
125073
+ printplek_printer: {
125074
+ Args: {
125075
+ _documenttype: string;
125076
+ _plek: string;
125077
+ };
125078
+ Returns: string;
125079
+ };
125080
+ printplek_verwijder_impact: {
125081
+ Args: {
125082
+ _id: string;
125083
+ };
125084
+ Returns: import("../integrations/supabase/types").Json;
125085
+ };
123392
125086
  process_logistics_event: {
123393
125087
  Args: {
123394
125088
  p_event_id: string;
@@ -123435,6 +125129,12 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
123435
125129
  };
123436
125130
  Returns: import("../integrations/supabase/types").Json;
123437
125131
  };
125132
+ quote_create_from_scratch: {
125133
+ Args: {
125134
+ _payload: import("../integrations/supabase/types").Json;
125135
+ };
125136
+ Returns: import("../integrations/supabase/types").Json;
125137
+ };
123438
125138
  quote_create_from_source: {
123439
125139
  Args: {
123440
125140
  _payload?: import("../integrations/supabase/types").Json;
@@ -123450,6 +125150,13 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
123450
125150
  };
123451
125151
  Returns: boolean;
123452
125152
  };
125153
+ quote_fill_from_form: {
125154
+ Args: {
125155
+ _offerte_id: string;
125156
+ _payload: import("../integrations/supabase/types").Json;
125157
+ };
125158
+ Returns: import("../integrations/supabase/types").Json;
125159
+ };
123453
125160
  quote_get_billable_lines: {
123454
125161
  Args: {
123455
125162
  _quotation_id: string;
@@ -123479,12 +125186,50 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
123479
125186
  };
123480
125187
  Returns: import("../integrations/supabase/types").Json;
123481
125188
  };
125189
+ quote_public_accept: {
125190
+ Args: {
125191
+ _akkoord: boolean;
125192
+ _email: string;
125193
+ _ip_address?: string;
125194
+ _naam: string;
125195
+ _token: string;
125196
+ _user_agent?: string;
125197
+ };
125198
+ Returns: import("../integrations/supabase/types").Json;
125199
+ };
125200
+ quote_public_get: {
125201
+ Args: {
125202
+ _token: string;
125203
+ };
125204
+ Returns: import("../integrations/supabase/types").Json;
125205
+ };
125206
+ quote_public_sign: {
125207
+ Args: {
125208
+ _handtekening: string;
125209
+ _naam: string;
125210
+ _token: string;
125211
+ };
125212
+ Returns: import("../integrations/supabase/types").Json;
125213
+ };
123482
125214
  quote_queue_follow_up: {
123483
125215
  Args: {
123484
125216
  _offerte_id: string;
123485
125217
  };
123486
125218
  Returns: string;
123487
125219
  };
125220
+ quote_release_work_order: {
125221
+ Args: {
125222
+ _offerte_id: string;
125223
+ };
125224
+ Returns: import("../integrations/supabase/types").Json;
125225
+ };
125226
+ quote_sync_work_order: {
125227
+ Args: {
125228
+ _monteur_instructies?: string;
125229
+ _offerte_id: string;
125230
+ };
125231
+ Returns: boolean;
125232
+ };
123488
125233
  recompute_all_reserved_stock: {
123489
125234
  Args: never;
123490
125235
  Returns: undefined;
@@ -124763,6 +126508,19 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
124763
126508
  user_id: string;
124764
126509
  }[];
124765
126510
  };
126511
+ vervang_printer: {
126512
+ Args: {
126513
+ _nieuw: string;
126514
+ _oud: string;
126515
+ };
126516
+ Returns: import("../integrations/supabase/types").Json;
126517
+ };
126518
+ verwijder_printplek: {
126519
+ Args: {
126520
+ _id: string;
126521
+ };
126522
+ Returns: import("../integrations/supabase/types").Json;
126523
+ };
124766
126524
  voorraad_cleanup_old_rows: {
124767
126525
  Args: never;
124768
126526
  Returns: import("../integrations/supabase/types").Json;
@@ -124773,6 +126531,16 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
124773
126531
  };
124774
126532
  Returns: number;
124775
126533
  };
126534
+ werkbon_pakket_tijden: {
126535
+ Args: {
126536
+ _werkbon_id: string;
126537
+ };
126538
+ Returns: {
126539
+ labor_minutes: number;
126540
+ total_minutes: number;
126541
+ travel_minutes: number;
126542
+ }[];
126543
+ };
124776
126544
  werkbon_totalen: {
124777
126545
  Args: {
124778
126546
  _werkbon_id: string;
@@ -128042,6 +129810,7 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
128042
129810
  formaat_code: string;
128043
129811
  id: string;
128044
129812
  printer_id: string | null;
129813
+ printer_ontbreekt_sinds: string | null;
128045
129814
  updated_at: string;
128046
129815
  };
128047
129816
  Insert: {
@@ -128050,6 +129819,7 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
128050
129819
  formaat_code: string;
128051
129820
  id?: string;
128052
129821
  printer_id?: string | null;
129822
+ printer_ontbreekt_sinds?: string | null;
128053
129823
  updated_at?: string;
128054
129824
  };
128055
129825
  Update: {
@@ -128058,6 +129828,7 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
128058
129828
  formaat_code?: string;
128059
129829
  id?: string;
128060
129830
  printer_id?: string | null;
129831
+ printer_ontbreekt_sinds?: string | null;
128061
129832
  updated_at?: string;
128062
129833
  };
128063
129834
  Relationships: [{
@@ -128394,6 +130165,7 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
128394
130165
  papierformaat: string | null;
128395
130166
  print_plek_id: string;
128396
130167
  printer_id: string | null;
130168
+ printer_ontbreekt_sinds: string | null;
128397
130169
  updated_at: string;
128398
130170
  };
128399
130171
  Insert: {
@@ -128403,6 +130175,7 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
128403
130175
  papierformaat?: string | null;
128404
130176
  print_plek_id: string;
128405
130177
  printer_id?: string | null;
130178
+ printer_ontbreekt_sinds?: string | null;
128406
130179
  updated_at?: string;
128407
130180
  };
128408
130181
  Update: {
@@ -128412,6 +130185,7 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
128412
130185
  papierformaat?: string | null;
128413
130186
  print_plek_id?: string;
128414
130187
  printer_id?: string | null;
130188
+ printer_ontbreekt_sinds?: string | null;
128415
130189
  updated_at?: string;
128416
130190
  };
128417
130191
  Relationships: [{
@@ -128435,6 +130209,7 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
128435
130209
  id: string;
128436
130210
  papierformaat: string | null;
128437
130211
  printer_id: string | null;
130212
+ printer_ontbreekt_sinds: string | null;
128438
130213
  updated_at: string;
128439
130214
  werkplek: string;
128440
130215
  };
@@ -128444,6 +130219,7 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
128444
130219
  id?: string;
128445
130220
  papierformaat?: string | null;
128446
130221
  printer_id?: string | null;
130222
+ printer_ontbreekt_sinds?: string | null;
128447
130223
  updated_at?: string;
128448
130224
  werkplek: string;
128449
130225
  };
@@ -128453,6 +130229,7 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
128453
130229
  id?: string;
128454
130230
  papierformaat?: string | null;
128455
130231
  printer_id?: string | null;
130232
+ printer_ontbreekt_sinds?: string | null;
128456
130233
  updated_at?: string;
128457
130234
  werkplek?: string;
128458
130235
  };
@@ -131755,6 +133532,78 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
131755
133532
  referencedColumns: ["id"];
131756
133533
  }];
131757
133534
  };
133535
+ floriday_document_fetch_queue: {
133536
+ Row: {
133537
+ attempts: number;
133538
+ cancelled_reason: string | null;
133539
+ completed_at: string | null;
133540
+ connection_id: string;
133541
+ created_at: string;
133542
+ document_key: string;
133543
+ environment: string;
133544
+ id: string;
133545
+ kind: string;
133546
+ last_error: string | null;
133547
+ last_http_status: number | null;
133548
+ locked_at: string | null;
133549
+ locked_by: string | null;
133550
+ max_attempts: number;
133551
+ next_attempt_at: string;
133552
+ order_ref: string | null;
133553
+ params: import("../integrations/supabase/types").Json;
133554
+ status: string;
133555
+ updated_at: string;
133556
+ };
133557
+ Insert: {
133558
+ attempts?: number;
133559
+ cancelled_reason?: string | null;
133560
+ completed_at?: string | null;
133561
+ connection_id: string;
133562
+ created_at?: string;
133563
+ document_key: string;
133564
+ environment: string;
133565
+ id?: string;
133566
+ kind: string;
133567
+ last_error?: string | null;
133568
+ last_http_status?: number | null;
133569
+ locked_at?: string | null;
133570
+ locked_by?: string | null;
133571
+ max_attempts?: number;
133572
+ next_attempt_at?: string;
133573
+ order_ref?: string | null;
133574
+ params?: import("../integrations/supabase/types").Json;
133575
+ status?: string;
133576
+ updated_at?: string;
133577
+ };
133578
+ Update: {
133579
+ attempts?: number;
133580
+ cancelled_reason?: string | null;
133581
+ completed_at?: string | null;
133582
+ connection_id?: string;
133583
+ created_at?: string;
133584
+ document_key?: string;
133585
+ environment?: string;
133586
+ id?: string;
133587
+ kind?: string;
133588
+ last_error?: string | null;
133589
+ last_http_status?: number | null;
133590
+ locked_at?: string | null;
133591
+ locked_by?: string | null;
133592
+ max_attempts?: number;
133593
+ next_attempt_at?: string;
133594
+ order_ref?: string | null;
133595
+ params?: import("../integrations/supabase/types").Json;
133596
+ status?: string;
133597
+ updated_at?: string;
133598
+ };
133599
+ Relationships: [{
133600
+ foreignKeyName: "floriday_document_fetch_queue_connection_id_fkey";
133601
+ columns: ["connection_id"];
133602
+ isOneToOne: false;
133603
+ referencedRelation: "floriday_connections";
133604
+ referencedColumns: ["id"];
133605
+ }];
133606
+ };
131758
133607
  floriday_fulfillment_orders_cache: {
131759
133608
  Row: {
131760
133609
  auction_date: string | null;
@@ -134287,6 +136136,57 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
134287
136136
  };
134288
136137
  Relationships: [];
134289
136138
  };
136139
+ itk_offerte_acceptaties: {
136140
+ Row: {
136141
+ accepted_at: string;
136142
+ akkoordgever_email: string;
136143
+ akkoordgever_naam: string;
136144
+ akkoordverklaring: string;
136145
+ id: string;
136146
+ inhoud_hash: string;
136147
+ ip_address: unknown;
136148
+ offerte_id: string;
136149
+ offerte_number: string;
136150
+ offerte_snapshot: import("../integrations/supabase/types").Json;
136151
+ user_agent: string | null;
136152
+ versie: string;
136153
+ };
136154
+ Insert: {
136155
+ accepted_at?: string;
136156
+ akkoordgever_email: string;
136157
+ akkoordgever_naam: string;
136158
+ akkoordverklaring: string;
136159
+ id?: string;
136160
+ inhoud_hash: string;
136161
+ ip_address?: unknown;
136162
+ offerte_id: string;
136163
+ offerte_number: string;
136164
+ offerte_snapshot: import("../integrations/supabase/types").Json;
136165
+ user_agent?: string | null;
136166
+ versie: string;
136167
+ };
136168
+ Update: {
136169
+ accepted_at?: string;
136170
+ akkoordgever_email?: string;
136171
+ akkoordgever_naam?: string;
136172
+ akkoordverklaring?: string;
136173
+ id?: string;
136174
+ inhoud_hash?: string;
136175
+ ip_address?: unknown;
136176
+ offerte_id?: string;
136177
+ offerte_number?: string;
136178
+ offerte_snapshot?: import("../integrations/supabase/types").Json;
136179
+ user_agent?: string | null;
136180
+ versie?: string;
136181
+ };
136182
+ Relationships: [{
136183
+ foreignKeyName: "itk_offerte_acceptaties_offerte_id_fkey";
136184
+ columns: ["offerte_id"];
136185
+ isOneToOne: true;
136186
+ referencedRelation: "itk_offertes";
136187
+ referencedColumns: ["id"];
136188
+ }];
136189
+ };
134290
136190
  itk_offerte_events: {
134291
136191
  Row: {
134292
136192
  created_at: string;
@@ -134500,6 +136400,7 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
134500
136400
  itk_offertes: {
134501
136401
  Row: {
134502
136402
  aandachtspunten: string | null;
136403
+ acceptance_id: string | null;
134503
136404
  ai_generated: boolean;
134504
136405
  approved_at: string | null;
134505
136406
  binnen_mandaat: boolean;
@@ -134518,6 +136419,11 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
134518
136419
  onderwerp: string | null;
134519
136420
  rejected_at: string | null;
134520
136421
  sent_at: string | null;
136422
+ sign_token: string;
136423
+ signature_data: string | null;
136424
+ signed_at: string | null;
136425
+ signer_email: string | null;
136426
+ signer_name: string | null;
134521
136427
  source_number: string | null;
134522
136428
  source_ref: string | null;
134523
136429
  source_type: string;
@@ -134532,11 +136438,13 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
134532
136438
  viewed_at: string | null;
134533
136439
  volgnummer: number | null;
134534
136440
  voorwaarden: string | null;
136441
+ werkbon_concept: import("../integrations/supabase/types").Json | null;
134535
136442
  werkbon_id: string | null;
134536
136443
  work_location_id: string | null;
134537
136444
  };
134538
136445
  Insert: {
134539
136446
  aandachtspunten?: string | null;
136447
+ acceptance_id?: string | null;
134540
136448
  ai_generated?: boolean;
134541
136449
  approved_at?: string | null;
134542
136450
  binnen_mandaat?: boolean;
@@ -134555,6 +136463,11 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
134555
136463
  onderwerp?: string | null;
134556
136464
  rejected_at?: string | null;
134557
136465
  sent_at?: string | null;
136466
+ sign_token?: string;
136467
+ signature_data?: string | null;
136468
+ signed_at?: string | null;
136469
+ signer_email?: string | null;
136470
+ signer_name?: string | null;
134558
136471
  source_number?: string | null;
134559
136472
  source_ref?: string | null;
134560
136473
  source_type?: string;
@@ -134569,11 +136482,13 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
134569
136482
  viewed_at?: string | null;
134570
136483
  volgnummer?: number | null;
134571
136484
  voorwaarden?: string | null;
136485
+ werkbon_concept?: import("../integrations/supabase/types").Json | null;
134572
136486
  werkbon_id?: string | null;
134573
136487
  work_location_id?: string | null;
134574
136488
  };
134575
136489
  Update: {
134576
136490
  aandachtspunten?: string | null;
136491
+ acceptance_id?: string | null;
134577
136492
  ai_generated?: boolean;
134578
136493
  approved_at?: string | null;
134579
136494
  binnen_mandaat?: boolean;
@@ -134592,6 +136507,11 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
134592
136507
  onderwerp?: string | null;
134593
136508
  rejected_at?: string | null;
134594
136509
  sent_at?: string | null;
136510
+ sign_token?: string;
136511
+ signature_data?: string | null;
136512
+ signed_at?: string | null;
136513
+ signer_email?: string | null;
136514
+ signer_name?: string | null;
134595
136515
  source_number?: string | null;
134596
136516
  source_ref?: string | null;
134597
136517
  source_type?: string;
@@ -134606,10 +136526,17 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
134606
136526
  viewed_at?: string | null;
134607
136527
  volgnummer?: number | null;
134608
136528
  voorwaarden?: string | null;
136529
+ werkbon_concept?: import("../integrations/supabase/types").Json | null;
134609
136530
  werkbon_id?: string | null;
134610
136531
  work_location_id?: string | null;
134611
136532
  };
134612
136533
  Relationships: [{
136534
+ foreignKeyName: "itk_offertes_acceptance_id_fkey";
136535
+ columns: ["acceptance_id"];
136536
+ isOneToOne: false;
136537
+ referencedRelation: "itk_offerte_acceptaties";
136538
+ referencedColumns: ["id"];
136539
+ }, {
134613
136540
  foreignKeyName: "itk_offertes_contact_id_fkey";
134614
136541
  columns: ["contact_id"];
134615
136542
  isOneToOne: false;
@@ -141151,6 +143078,54 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
141151
143078
  };
141152
143079
  Relationships: [];
141153
143080
  };
143081
+ planning_confirmation_log: {
143082
+ Row: {
143083
+ created_at: string;
143084
+ end_at: string;
143085
+ id: string;
143086
+ outbox_id: string | null;
143087
+ planning_item_id: string;
143088
+ reason: string | null;
143089
+ recipient: string | null;
143090
+ start_at: string;
143091
+ status: string;
143092
+ };
143093
+ Insert: {
143094
+ created_at?: string;
143095
+ end_at: string;
143096
+ id?: string;
143097
+ outbox_id?: string | null;
143098
+ planning_item_id: string;
143099
+ reason?: string | null;
143100
+ recipient?: string | null;
143101
+ start_at: string;
143102
+ status: string;
143103
+ };
143104
+ Update: {
143105
+ created_at?: string;
143106
+ end_at?: string;
143107
+ id?: string;
143108
+ outbox_id?: string | null;
143109
+ planning_item_id?: string;
143110
+ reason?: string | null;
143111
+ recipient?: string | null;
143112
+ start_at?: string;
143113
+ status?: string;
143114
+ };
143115
+ Relationships: [{
143116
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
143117
+ columns: ["planning_item_id"];
143118
+ isOneToOne: false;
143119
+ referencedRelation: "planning_items";
143120
+ referencedColumns: ["id"];
143121
+ }, {
143122
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
143123
+ columns: ["planning_item_id"];
143124
+ isOneToOne: false;
143125
+ referencedRelation: "planning_overview";
143126
+ referencedColumns: ["id"];
143127
+ }];
143128
+ };
141154
143129
  planning_item_assistants: {
141155
143130
  Row: {
141156
143131
  created_at: string;
@@ -141235,6 +143210,63 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
141235
143210
  referencedColumns: ["id"];
141236
143211
  }];
141237
143212
  };
143213
+ planning_mail_settings: {
143214
+ Row: {
143215
+ body_template: string;
143216
+ cc: string[];
143217
+ connection_id: string | null;
143218
+ created_at: string;
143219
+ email_purpose: string | null;
143220
+ enabled: boolean;
143221
+ id: boolean;
143222
+ reply_to: string | null;
143223
+ subject_template: string;
143224
+ timezone: string;
143225
+ updated_at: string;
143226
+ updated_by: string | null;
143227
+ };
143228
+ Insert: {
143229
+ body_template?: string;
143230
+ cc?: string[];
143231
+ connection_id?: string | null;
143232
+ created_at?: string;
143233
+ email_purpose?: string | null;
143234
+ enabled?: boolean;
143235
+ id?: boolean;
143236
+ reply_to?: string | null;
143237
+ subject_template?: string;
143238
+ timezone?: string;
143239
+ updated_at?: string;
143240
+ updated_by?: string | null;
143241
+ };
143242
+ Update: {
143243
+ body_template?: string;
143244
+ cc?: string[];
143245
+ connection_id?: string | null;
143246
+ created_at?: string;
143247
+ email_purpose?: string | null;
143248
+ enabled?: boolean;
143249
+ id?: boolean;
143250
+ reply_to?: string | null;
143251
+ subject_template?: string;
143252
+ timezone?: string;
143253
+ updated_at?: string;
143254
+ updated_by?: string | null;
143255
+ };
143256
+ Relationships: [{
143257
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
143258
+ columns: ["connection_id"];
143259
+ isOneToOne: false;
143260
+ referencedRelation: "email_auth_connections";
143261
+ referencedColumns: ["id"];
143262
+ }, {
143263
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
143264
+ columns: ["connection_id"];
143265
+ isOneToOne: false;
143266
+ referencedRelation: "email_auth_connections_safe";
143267
+ referencedColumns: ["id"];
143268
+ }];
143269
+ };
141238
143270
  planning_monteur_day_locations: {
141239
143271
  Row: {
141240
143272
  created_at: string;
@@ -141622,6 +143654,27 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
141622
143654
  };
141623
143655
  Relationships: [];
141624
143656
  };
143657
+ print_genegeerde_computers: {
143658
+ Row: {
143659
+ computer_naam: string;
143660
+ genegeerd_door: string | null;
143661
+ genegeerd_op: string;
143662
+ id: string;
143663
+ };
143664
+ Insert: {
143665
+ computer_naam: string;
143666
+ genegeerd_door?: string | null;
143667
+ genegeerd_op?: string;
143668
+ id?: string;
143669
+ };
143670
+ Update: {
143671
+ computer_naam?: string;
143672
+ genegeerd_door?: string | null;
143673
+ genegeerd_op?: string;
143674
+ id?: string;
143675
+ };
143676
+ Relationships: [];
143677
+ };
141625
143678
  print_job_logs: {
141626
143679
  Row: {
141627
143680
  created_at: string;
@@ -141892,6 +143945,39 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
141892
143945
  referencedColumns: ["id"];
141893
143946
  }];
141894
143947
  };
143948
+ print_plek_printers: {
143949
+ Row: {
143950
+ id: string;
143951
+ print_plek_id: string;
143952
+ printer_id: string;
143953
+ toegevoegd_op: string;
143954
+ };
143955
+ Insert: {
143956
+ id?: string;
143957
+ print_plek_id: string;
143958
+ printer_id: string;
143959
+ toegevoegd_op?: string;
143960
+ };
143961
+ Update: {
143962
+ id?: string;
143963
+ print_plek_id?: string;
143964
+ printer_id?: string;
143965
+ toegevoegd_op?: string;
143966
+ };
143967
+ Relationships: [{
143968
+ foreignKeyName: "print_plek_printers_print_plek_id_fkey";
143969
+ columns: ["print_plek_id"];
143970
+ isOneToOne: false;
143971
+ referencedRelation: "print_plekken";
143972
+ referencedColumns: ["id"];
143973
+ }, {
143974
+ foreignKeyName: "print_plek_printers_printer_id_fkey";
143975
+ columns: ["printer_id"];
143976
+ isOneToOne: false;
143977
+ referencedRelation: "printers";
143978
+ referencedColumns: ["id"];
143979
+ }];
143980
+ };
141895
143981
  print_plekken: {
141896
143982
  Row: {
141897
143983
  actief: boolean;
@@ -142107,7 +144193,8 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
142107
144193
  created_at: string;
142108
144194
  id: string;
142109
144195
  layout_id: string;
142110
- printer_id: string;
144196
+ printer_id: string | null;
144197
+ printer_ontbreekt_sinds: string | null;
142111
144198
  prioriteit: number;
142112
144199
  updated_at: string;
142113
144200
  };
@@ -142115,7 +144202,8 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
142115
144202
  created_at?: string;
142116
144203
  id?: string;
142117
144204
  layout_id: string;
142118
- printer_id: string;
144205
+ printer_id?: string | null;
144206
+ printer_ontbreekt_sinds?: string | null;
142119
144207
  prioriteit?: number;
142120
144208
  updated_at?: string;
142121
144209
  };
@@ -142123,7 +144211,8 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
142123
144211
  created_at?: string;
142124
144212
  id?: string;
142125
144213
  layout_id?: string;
142126
- printer_id?: string;
144214
+ printer_id?: string | null;
144215
+ printer_ontbreekt_sinds?: string | null;
142127
144216
  prioriteit?: number;
142128
144217
  updated_at?: string;
142129
144218
  };
@@ -148015,12 +150104,14 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
148015
150104
  created_at: string;
148016
150105
  default_quantity: number;
148017
150106
  description: string | null;
148018
- duration_minutes: number | null;
150107
+ duration_minutes: number;
148019
150108
  id: string;
150109
+ labor_minutes: number;
148020
150110
  mandaat_type: string | null;
148021
150111
  name: string;
148022
150112
  price_mode: string;
148023
150113
  sort_order: number;
150114
+ travel_minutes: number;
148024
150115
  unit_price_cents: number;
148025
150116
  updated_at: string;
148026
150117
  };
@@ -148032,12 +150123,14 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
148032
150123
  created_at?: string;
148033
150124
  default_quantity?: number;
148034
150125
  description?: string | null;
148035
- duration_minutes?: number | null;
150126
+ duration_minutes?: number;
148036
150127
  id?: string;
150128
+ labor_minutes?: number;
148037
150129
  mandaat_type?: string | null;
148038
150130
  name: string;
148039
150131
  price_mode?: string;
148040
150132
  sort_order?: number;
150133
+ travel_minutes?: number;
148041
150134
  unit_price_cents?: number;
148042
150135
  updated_at?: string;
148043
150136
  };
@@ -148049,12 +150142,14 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
148049
150142
  created_at?: string;
148050
150143
  default_quantity?: number;
148051
150144
  description?: string | null;
148052
- duration_minutes?: number | null;
150145
+ duration_minutes?: number;
148053
150146
  id?: string;
150147
+ labor_minutes?: number;
148054
150148
  mandaat_type?: string | null;
148055
150149
  name?: string;
148056
150150
  price_mode?: string;
148057
150151
  sort_order?: number;
150152
+ travel_minutes?: number;
148058
150153
  unit_price_cents?: number;
148059
150154
  updated_at?: string;
148060
150155
  };
@@ -149609,6 +151704,12 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
149609
151704
  };
149610
151705
  Returns: undefined;
149611
151706
  };
151707
+ _quote_release_work_order_intern: {
151708
+ Args: {
151709
+ _offerte_id: string;
151710
+ };
151711
+ Returns: import("../integrations/supabase/types").Json;
151712
+ };
149612
151713
  _wo_is_planner: {
149613
151714
  Args: never;
149614
151715
  Returns: boolean;
@@ -154480,6 +156581,12 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
154480
156581
  };
154481
156582
  Returns: import("../integrations/supabase/types").Json;
154482
156583
  };
156584
+ pick_verify_rows: {
156585
+ Args: {
156586
+ _rows: import("../integrations/supabase/types").Json;
156587
+ };
156588
+ Returns: import("../integrations/supabase/types").Json;
156589
+ };
154483
156590
  pickstation_get_orders_raw: {
154484
156591
  Args: never;
154485
156592
  Returns: import("../integrations/supabase/types").Json;
@@ -154614,6 +156721,35 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
154614
156721
  };
154615
156722
  Returns: undefined;
154616
156723
  };
156724
+ printer_gebruik: {
156725
+ Args: {
156726
+ _printer: string;
156727
+ };
156728
+ Returns: import("../integrations/supabase/types").Json;
156729
+ };
156730
+ printer_routering: {
156731
+ Args: {
156732
+ _documenttype: string;
156733
+ _layout_id?: string;
156734
+ _papierformaat?: string;
156735
+ _print_plek_id?: string;
156736
+ _werkplek?: string;
156737
+ };
156738
+ Returns: import("../integrations/supabase/types").Json;
156739
+ };
156740
+ printplek_printer: {
156741
+ Args: {
156742
+ _documenttype: string;
156743
+ _plek: string;
156744
+ };
156745
+ Returns: string;
156746
+ };
156747
+ printplek_verwijder_impact: {
156748
+ Args: {
156749
+ _id: string;
156750
+ };
156751
+ Returns: import("../integrations/supabase/types").Json;
156752
+ };
154617
156753
  process_logistics_event: {
154618
156754
  Args: {
154619
156755
  p_event_id: string;
@@ -154660,6 +156796,12 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
154660
156796
  };
154661
156797
  Returns: import("../integrations/supabase/types").Json;
154662
156798
  };
156799
+ quote_create_from_scratch: {
156800
+ Args: {
156801
+ _payload: import("../integrations/supabase/types").Json;
156802
+ };
156803
+ Returns: import("../integrations/supabase/types").Json;
156804
+ };
154663
156805
  quote_create_from_source: {
154664
156806
  Args: {
154665
156807
  _payload?: import("../integrations/supabase/types").Json;
@@ -154675,6 +156817,13 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
154675
156817
  };
154676
156818
  Returns: boolean;
154677
156819
  };
156820
+ quote_fill_from_form: {
156821
+ Args: {
156822
+ _offerte_id: string;
156823
+ _payload: import("../integrations/supabase/types").Json;
156824
+ };
156825
+ Returns: import("../integrations/supabase/types").Json;
156826
+ };
154678
156827
  quote_get_billable_lines: {
154679
156828
  Args: {
154680
156829
  _quotation_id: string;
@@ -154704,12 +156853,50 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
154704
156853
  };
154705
156854
  Returns: import("../integrations/supabase/types").Json;
154706
156855
  };
156856
+ quote_public_accept: {
156857
+ Args: {
156858
+ _akkoord: boolean;
156859
+ _email: string;
156860
+ _ip_address?: string;
156861
+ _naam: string;
156862
+ _token: string;
156863
+ _user_agent?: string;
156864
+ };
156865
+ Returns: import("../integrations/supabase/types").Json;
156866
+ };
156867
+ quote_public_get: {
156868
+ Args: {
156869
+ _token: string;
156870
+ };
156871
+ Returns: import("../integrations/supabase/types").Json;
156872
+ };
156873
+ quote_public_sign: {
156874
+ Args: {
156875
+ _handtekening: string;
156876
+ _naam: string;
156877
+ _token: string;
156878
+ };
156879
+ Returns: import("../integrations/supabase/types").Json;
156880
+ };
154707
156881
  quote_queue_follow_up: {
154708
156882
  Args: {
154709
156883
  _offerte_id: string;
154710
156884
  };
154711
156885
  Returns: string;
154712
156886
  };
156887
+ quote_release_work_order: {
156888
+ Args: {
156889
+ _offerte_id: string;
156890
+ };
156891
+ Returns: import("../integrations/supabase/types").Json;
156892
+ };
156893
+ quote_sync_work_order: {
156894
+ Args: {
156895
+ _monteur_instructies?: string;
156896
+ _offerte_id: string;
156897
+ };
156898
+ Returns: boolean;
156899
+ };
154713
156900
  recompute_all_reserved_stock: {
154714
156901
  Args: never;
154715
156902
  Returns: undefined;
@@ -155988,6 +158175,19 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
155988
158175
  user_id: string;
155989
158176
  }[];
155990
158177
  };
158178
+ vervang_printer: {
158179
+ Args: {
158180
+ _nieuw: string;
158181
+ _oud: string;
158182
+ };
158183
+ Returns: import("../integrations/supabase/types").Json;
158184
+ };
158185
+ verwijder_printplek: {
158186
+ Args: {
158187
+ _id: string;
158188
+ };
158189
+ Returns: import("../integrations/supabase/types").Json;
158190
+ };
155991
158191
  voorraad_cleanup_old_rows: {
155992
158192
  Args: never;
155993
158193
  Returns: import("../integrations/supabase/types").Json;
@@ -155998,6 +158198,16 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
155998
158198
  };
155999
158199
  Returns: number;
156000
158200
  };
158201
+ werkbon_pakket_tijden: {
158202
+ Args: {
158203
+ _werkbon_id: string;
158204
+ };
158205
+ Returns: {
158206
+ labor_minutes: number;
158207
+ total_minutes: number;
158208
+ travel_minutes: number;
158209
+ }[];
158210
+ };
156001
158211
  werkbon_totalen: {
156002
158212
  Args: {
156003
158213
  _werkbon_id: string;