@flowselections/logistiek-engine 1.0.98 → 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 (50) 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/expandGroups.test.d.ts +2 -0
  17. package/dist-lib/lib/expandGroups.test.d.ts.map +1 -0
  18. package/dist-lib/lib/expandGroups.test.js +80 -0
  19. package/dist-lib/lib/floridayCancellation.server.d.ts +15 -0
  20. package/dist-lib/lib/floridayCancellation.server.d.ts.map +1 -0
  21. package/dist-lib/lib/floridayCancellation.server.js +89 -0
  22. package/dist-lib/lib/floridayCancellation.test.d.ts +2 -0
  23. package/dist-lib/lib/floridayCancellation.test.d.ts.map +1 -0
  24. package/dist-lib/lib/floridayCancellation.test.js +42 -0
  25. package/dist-lib/lib/floridayDocuments.functions.d.ts +1344 -18
  26. package/dist-lib/lib/floridayDocuments.functions.d.ts.map +1 -1
  27. package/dist-lib/lib/floridayPush.functions.d.ts +448 -6
  28. package/dist-lib/lib/floridayPush.functions.d.ts.map +1 -1
  29. package/dist-lib/lib/layerUtilization.d.ts +2 -0
  30. package/dist-lib/lib/layerUtilization.d.ts.map +1 -0
  31. package/dist-lib/lib/layerUtilization.js +11 -0
  32. package/dist-lib/lib/layerUtilization.test.d.ts +2 -0
  33. package/dist-lib/lib/layerUtilization.test.d.ts.map +1 -0
  34. package/dist-lib/lib/layerUtilization.test.js +11 -0
  35. package/dist-lib/lib/loadCarrierPlanning.functions.d.ts +2240 -30
  36. package/dist-lib/lib/loadCarrierPlanning.functions.d.ts.map +1 -1
  37. package/dist-lib/lib/loadCarrierPlanning.server.d.ts.map +1 -1
  38. package/dist-lib/lib/loadCarrierPlanning.server.js +29 -0
  39. package/dist-lib/lib/logisticsRecalcJob.functions.d.ts +896 -12
  40. package/dist-lib/lib/logisticsRecalcJob.functions.d.ts.map +1 -1
  41. package/dist-lib/lib/logisticsRecalculate.functions.d.ts +448 -6
  42. package/dist-lib/lib/logisticsRecalculate.functions.d.ts.map +1 -1
  43. package/dist-lib/lib/moduleVersion.d.ts +2 -0
  44. package/dist-lib/lib/moduleVersion.d.ts.map +1 -0
  45. package/dist-lib/lib/moduleVersion.js +2 -0
  46. package/dist-lib/lib/plannerDiff.functions.d.ts +448 -6
  47. package/dist-lib/lib/plannerDiff.functions.d.ts.map +1 -1
  48. package/dist-lib/lib/shippingNoteQueue.server.d.ts.map +1 -1
  49. package/dist-lib/lib/shippingNoteQueue.server.js +11 -0
  50. package/package.json +3 -2
@@ -3141,6 +3141,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
3141
3141
  formaat_code: string;
3142
3142
  id: string;
3143
3143
  printer_id: string | null;
3144
+ printer_ontbreekt_sinds: string | null;
3144
3145
  updated_at: string;
3145
3146
  };
3146
3147
  Insert: {
@@ -3149,6 +3150,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
3149
3150
  formaat_code: string;
3150
3151
  id?: string;
3151
3152
  printer_id?: string | null;
3153
+ printer_ontbreekt_sinds?: string | null;
3152
3154
  updated_at?: string;
3153
3155
  };
3154
3156
  Update: {
@@ -3157,6 +3159,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
3157
3159
  formaat_code?: string;
3158
3160
  id?: string;
3159
3161
  printer_id?: string | null;
3162
+ printer_ontbreekt_sinds?: string | null;
3160
3163
  updated_at?: string;
3161
3164
  };
3162
3165
  Relationships: [{
@@ -3493,6 +3496,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
3493
3496
  papierformaat: string | null;
3494
3497
  print_plek_id: string;
3495
3498
  printer_id: string | null;
3499
+ printer_ontbreekt_sinds: string | null;
3496
3500
  updated_at: string;
3497
3501
  };
3498
3502
  Insert: {
@@ -3502,6 +3506,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
3502
3506
  papierformaat?: string | null;
3503
3507
  print_plek_id: string;
3504
3508
  printer_id?: string | null;
3509
+ printer_ontbreekt_sinds?: string | null;
3505
3510
  updated_at?: string;
3506
3511
  };
3507
3512
  Update: {
@@ -3511,6 +3516,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
3511
3516
  papierformaat?: string | null;
3512
3517
  print_plek_id?: string;
3513
3518
  printer_id?: string | null;
3519
+ printer_ontbreekt_sinds?: string | null;
3514
3520
  updated_at?: string;
3515
3521
  };
3516
3522
  Relationships: [{
@@ -3534,6 +3540,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
3534
3540
  id: string;
3535
3541
  papierformaat: string | null;
3536
3542
  printer_id: string | null;
3543
+ printer_ontbreekt_sinds: string | null;
3537
3544
  updated_at: string;
3538
3545
  werkplek: string;
3539
3546
  };
@@ -3543,6 +3550,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
3543
3550
  id?: string;
3544
3551
  papierformaat?: string | null;
3545
3552
  printer_id?: string | null;
3553
+ printer_ontbreekt_sinds?: string | null;
3546
3554
  updated_at?: string;
3547
3555
  werkplek: string;
3548
3556
  };
@@ -3552,6 +3560,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
3552
3560
  id?: string;
3553
3561
  papierformaat?: string | null;
3554
3562
  printer_id?: string | null;
3563
+ printer_ontbreekt_sinds?: string | null;
3555
3564
  updated_at?: string;
3556
3565
  werkplek?: string;
3557
3566
  };
@@ -6854,6 +6863,78 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
6854
6863
  referencedColumns: ["id"];
6855
6864
  }];
6856
6865
  };
6866
+ floriday_document_fetch_queue: {
6867
+ Row: {
6868
+ attempts: number;
6869
+ cancelled_reason: string | null;
6870
+ completed_at: string | null;
6871
+ connection_id: string;
6872
+ created_at: string;
6873
+ document_key: string;
6874
+ environment: string;
6875
+ id: string;
6876
+ kind: string;
6877
+ last_error: string | null;
6878
+ last_http_status: number | null;
6879
+ locked_at: string | null;
6880
+ locked_by: string | null;
6881
+ max_attempts: number;
6882
+ next_attempt_at: string;
6883
+ order_ref: string | null;
6884
+ params: import("../integrations/supabase/types").Json;
6885
+ status: string;
6886
+ updated_at: string;
6887
+ };
6888
+ Insert: {
6889
+ attempts?: number;
6890
+ cancelled_reason?: string | null;
6891
+ completed_at?: string | null;
6892
+ connection_id: string;
6893
+ created_at?: string;
6894
+ document_key: string;
6895
+ environment: string;
6896
+ id?: string;
6897
+ kind: string;
6898
+ last_error?: string | null;
6899
+ last_http_status?: number | null;
6900
+ locked_at?: string | null;
6901
+ locked_by?: string | null;
6902
+ max_attempts?: number;
6903
+ next_attempt_at?: string;
6904
+ order_ref?: string | null;
6905
+ params?: import("../integrations/supabase/types").Json;
6906
+ status?: string;
6907
+ updated_at?: string;
6908
+ };
6909
+ Update: {
6910
+ attempts?: number;
6911
+ cancelled_reason?: string | null;
6912
+ completed_at?: string | null;
6913
+ connection_id?: string;
6914
+ created_at?: string;
6915
+ document_key?: string;
6916
+ environment?: string;
6917
+ id?: string;
6918
+ kind?: string;
6919
+ last_error?: string | null;
6920
+ last_http_status?: number | null;
6921
+ locked_at?: string | null;
6922
+ locked_by?: string | null;
6923
+ max_attempts?: number;
6924
+ next_attempt_at?: string;
6925
+ order_ref?: string | null;
6926
+ params?: import("../integrations/supabase/types").Json;
6927
+ status?: string;
6928
+ updated_at?: string;
6929
+ };
6930
+ Relationships: [{
6931
+ foreignKeyName: "floriday_document_fetch_queue_connection_id_fkey";
6932
+ columns: ["connection_id"];
6933
+ isOneToOne: false;
6934
+ referencedRelation: "floriday_connections";
6935
+ referencedColumns: ["id"];
6936
+ }];
6937
+ };
6857
6938
  floriday_fulfillment_orders_cache: {
6858
6939
  Row: {
6859
6940
  auction_date: string | null;
@@ -9386,6 +9467,57 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
9386
9467
  };
9387
9468
  Relationships: [];
9388
9469
  };
9470
+ itk_offerte_acceptaties: {
9471
+ Row: {
9472
+ accepted_at: string;
9473
+ akkoordgever_email: string;
9474
+ akkoordgever_naam: string;
9475
+ akkoordverklaring: string;
9476
+ id: string;
9477
+ inhoud_hash: string;
9478
+ ip_address: unknown;
9479
+ offerte_id: string;
9480
+ offerte_number: string;
9481
+ offerte_snapshot: import("../integrations/supabase/types").Json;
9482
+ user_agent: string | null;
9483
+ versie: string;
9484
+ };
9485
+ Insert: {
9486
+ accepted_at?: string;
9487
+ akkoordgever_email: string;
9488
+ akkoordgever_naam: string;
9489
+ akkoordverklaring: string;
9490
+ id?: string;
9491
+ inhoud_hash: string;
9492
+ ip_address?: unknown;
9493
+ offerte_id: string;
9494
+ offerte_number: string;
9495
+ offerte_snapshot: import("../integrations/supabase/types").Json;
9496
+ user_agent?: string | null;
9497
+ versie: string;
9498
+ };
9499
+ Update: {
9500
+ accepted_at?: string;
9501
+ akkoordgever_email?: string;
9502
+ akkoordgever_naam?: string;
9503
+ akkoordverklaring?: string;
9504
+ id?: string;
9505
+ inhoud_hash?: string;
9506
+ ip_address?: unknown;
9507
+ offerte_id?: string;
9508
+ offerte_number?: string;
9509
+ offerte_snapshot?: import("../integrations/supabase/types").Json;
9510
+ user_agent?: string | null;
9511
+ versie?: string;
9512
+ };
9513
+ Relationships: [{
9514
+ foreignKeyName: "itk_offerte_acceptaties_offerte_id_fkey";
9515
+ columns: ["offerte_id"];
9516
+ isOneToOne: true;
9517
+ referencedRelation: "itk_offertes";
9518
+ referencedColumns: ["id"];
9519
+ }];
9520
+ };
9389
9521
  itk_offerte_events: {
9390
9522
  Row: {
9391
9523
  created_at: string;
@@ -9599,6 +9731,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
9599
9731
  itk_offertes: {
9600
9732
  Row: {
9601
9733
  aandachtspunten: string | null;
9734
+ acceptance_id: string | null;
9602
9735
  ai_generated: boolean;
9603
9736
  approved_at: string | null;
9604
9737
  binnen_mandaat: boolean;
@@ -9617,6 +9750,11 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
9617
9750
  onderwerp: string | null;
9618
9751
  rejected_at: string | null;
9619
9752
  sent_at: string | null;
9753
+ sign_token: string;
9754
+ signature_data: string | null;
9755
+ signed_at: string | null;
9756
+ signer_email: string | null;
9757
+ signer_name: string | null;
9620
9758
  source_number: string | null;
9621
9759
  source_ref: string | null;
9622
9760
  source_type: string;
@@ -9631,11 +9769,13 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
9631
9769
  viewed_at: string | null;
9632
9770
  volgnummer: number | null;
9633
9771
  voorwaarden: string | null;
9772
+ werkbon_concept: import("../integrations/supabase/types").Json | null;
9634
9773
  werkbon_id: string | null;
9635
9774
  work_location_id: string | null;
9636
9775
  };
9637
9776
  Insert: {
9638
9777
  aandachtspunten?: string | null;
9778
+ acceptance_id?: string | null;
9639
9779
  ai_generated?: boolean;
9640
9780
  approved_at?: string | null;
9641
9781
  binnen_mandaat?: boolean;
@@ -9654,6 +9794,11 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
9654
9794
  onderwerp?: string | null;
9655
9795
  rejected_at?: string | null;
9656
9796
  sent_at?: string | null;
9797
+ sign_token?: string;
9798
+ signature_data?: string | null;
9799
+ signed_at?: string | null;
9800
+ signer_email?: string | null;
9801
+ signer_name?: string | null;
9657
9802
  source_number?: string | null;
9658
9803
  source_ref?: string | null;
9659
9804
  source_type?: string;
@@ -9668,11 +9813,13 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
9668
9813
  viewed_at?: string | null;
9669
9814
  volgnummer?: number | null;
9670
9815
  voorwaarden?: string | null;
9816
+ werkbon_concept?: import("../integrations/supabase/types").Json | null;
9671
9817
  werkbon_id?: string | null;
9672
9818
  work_location_id?: string | null;
9673
9819
  };
9674
9820
  Update: {
9675
9821
  aandachtspunten?: string | null;
9822
+ acceptance_id?: string | null;
9676
9823
  ai_generated?: boolean;
9677
9824
  approved_at?: string | null;
9678
9825
  binnen_mandaat?: boolean;
@@ -9691,6 +9838,11 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
9691
9838
  onderwerp?: string | null;
9692
9839
  rejected_at?: string | null;
9693
9840
  sent_at?: string | null;
9841
+ sign_token?: string;
9842
+ signature_data?: string | null;
9843
+ signed_at?: string | null;
9844
+ signer_email?: string | null;
9845
+ signer_name?: string | null;
9694
9846
  source_number?: string | null;
9695
9847
  source_ref?: string | null;
9696
9848
  source_type?: string;
@@ -9705,10 +9857,17 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
9705
9857
  viewed_at?: string | null;
9706
9858
  volgnummer?: number | null;
9707
9859
  voorwaarden?: string | null;
9860
+ werkbon_concept?: import("../integrations/supabase/types").Json | null;
9708
9861
  werkbon_id?: string | null;
9709
9862
  work_location_id?: string | null;
9710
9863
  };
9711
9864
  Relationships: [{
9865
+ foreignKeyName: "itk_offertes_acceptance_id_fkey";
9866
+ columns: ["acceptance_id"];
9867
+ isOneToOne: false;
9868
+ referencedRelation: "itk_offerte_acceptaties";
9869
+ referencedColumns: ["id"];
9870
+ }, {
9712
9871
  foreignKeyName: "itk_offertes_contact_id_fkey";
9713
9872
  columns: ["contact_id"];
9714
9873
  isOneToOne: false;
@@ -16250,6 +16409,54 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
16250
16409
  };
16251
16410
  Relationships: [];
16252
16411
  };
16412
+ planning_confirmation_log: {
16413
+ Row: {
16414
+ created_at: string;
16415
+ end_at: string;
16416
+ id: string;
16417
+ outbox_id: string | null;
16418
+ planning_item_id: string;
16419
+ reason: string | null;
16420
+ recipient: string | null;
16421
+ start_at: string;
16422
+ status: string;
16423
+ };
16424
+ Insert: {
16425
+ created_at?: string;
16426
+ end_at: string;
16427
+ id?: string;
16428
+ outbox_id?: string | null;
16429
+ planning_item_id: string;
16430
+ reason?: string | null;
16431
+ recipient?: string | null;
16432
+ start_at: string;
16433
+ status: string;
16434
+ };
16435
+ Update: {
16436
+ created_at?: string;
16437
+ end_at?: string;
16438
+ id?: string;
16439
+ outbox_id?: string | null;
16440
+ planning_item_id?: string;
16441
+ reason?: string | null;
16442
+ recipient?: string | null;
16443
+ start_at?: string;
16444
+ status?: string;
16445
+ };
16446
+ Relationships: [{
16447
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
16448
+ columns: ["planning_item_id"];
16449
+ isOneToOne: false;
16450
+ referencedRelation: "planning_items";
16451
+ referencedColumns: ["id"];
16452
+ }, {
16453
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
16454
+ columns: ["planning_item_id"];
16455
+ isOneToOne: false;
16456
+ referencedRelation: "planning_overview";
16457
+ referencedColumns: ["id"];
16458
+ }];
16459
+ };
16253
16460
  planning_item_assistants: {
16254
16461
  Row: {
16255
16462
  created_at: string;
@@ -16334,6 +16541,63 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
16334
16541
  referencedColumns: ["id"];
16335
16542
  }];
16336
16543
  };
16544
+ planning_mail_settings: {
16545
+ Row: {
16546
+ body_template: string;
16547
+ cc: string[];
16548
+ connection_id: string | null;
16549
+ created_at: string;
16550
+ email_purpose: string | null;
16551
+ enabled: boolean;
16552
+ id: boolean;
16553
+ reply_to: string | null;
16554
+ subject_template: string;
16555
+ timezone: string;
16556
+ updated_at: string;
16557
+ updated_by: string | null;
16558
+ };
16559
+ Insert: {
16560
+ body_template?: string;
16561
+ cc?: string[];
16562
+ connection_id?: string | null;
16563
+ created_at?: string;
16564
+ email_purpose?: string | null;
16565
+ enabled?: boolean;
16566
+ id?: boolean;
16567
+ reply_to?: string | null;
16568
+ subject_template?: string;
16569
+ timezone?: string;
16570
+ updated_at?: string;
16571
+ updated_by?: string | null;
16572
+ };
16573
+ Update: {
16574
+ body_template?: string;
16575
+ cc?: string[];
16576
+ connection_id?: string | null;
16577
+ created_at?: string;
16578
+ email_purpose?: string | null;
16579
+ enabled?: boolean;
16580
+ id?: boolean;
16581
+ reply_to?: string | null;
16582
+ subject_template?: string;
16583
+ timezone?: string;
16584
+ updated_at?: string;
16585
+ updated_by?: string | null;
16586
+ };
16587
+ Relationships: [{
16588
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
16589
+ columns: ["connection_id"];
16590
+ isOneToOne: false;
16591
+ referencedRelation: "email_auth_connections";
16592
+ referencedColumns: ["id"];
16593
+ }, {
16594
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
16595
+ columns: ["connection_id"];
16596
+ isOneToOne: false;
16597
+ referencedRelation: "email_auth_connections_safe";
16598
+ referencedColumns: ["id"];
16599
+ }];
16600
+ };
16337
16601
  planning_monteur_day_locations: {
16338
16602
  Row: {
16339
16603
  created_at: string;
@@ -16721,6 +16985,27 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
16721
16985
  };
16722
16986
  Relationships: [];
16723
16987
  };
16988
+ print_genegeerde_computers: {
16989
+ Row: {
16990
+ computer_naam: string;
16991
+ genegeerd_door: string | null;
16992
+ genegeerd_op: string;
16993
+ id: string;
16994
+ };
16995
+ Insert: {
16996
+ computer_naam: string;
16997
+ genegeerd_door?: string | null;
16998
+ genegeerd_op?: string;
16999
+ id?: string;
17000
+ };
17001
+ Update: {
17002
+ computer_naam?: string;
17003
+ genegeerd_door?: string | null;
17004
+ genegeerd_op?: string;
17005
+ id?: string;
17006
+ };
17007
+ Relationships: [];
17008
+ };
16724
17009
  print_job_logs: {
16725
17010
  Row: {
16726
17011
  created_at: string;
@@ -16991,6 +17276,39 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
16991
17276
  referencedColumns: ["id"];
16992
17277
  }];
16993
17278
  };
17279
+ print_plek_printers: {
17280
+ Row: {
17281
+ id: string;
17282
+ print_plek_id: string;
17283
+ printer_id: string;
17284
+ toegevoegd_op: string;
17285
+ };
17286
+ Insert: {
17287
+ id?: string;
17288
+ print_plek_id: string;
17289
+ printer_id: string;
17290
+ toegevoegd_op?: string;
17291
+ };
17292
+ Update: {
17293
+ id?: string;
17294
+ print_plek_id?: string;
17295
+ printer_id?: string;
17296
+ toegevoegd_op?: string;
17297
+ };
17298
+ Relationships: [{
17299
+ foreignKeyName: "print_plek_printers_print_plek_id_fkey";
17300
+ columns: ["print_plek_id"];
17301
+ isOneToOne: false;
17302
+ referencedRelation: "print_plekken";
17303
+ referencedColumns: ["id"];
17304
+ }, {
17305
+ foreignKeyName: "print_plek_printers_printer_id_fkey";
17306
+ columns: ["printer_id"];
17307
+ isOneToOne: false;
17308
+ referencedRelation: "printers";
17309
+ referencedColumns: ["id"];
17310
+ }];
17311
+ };
16994
17312
  print_plekken: {
16995
17313
  Row: {
16996
17314
  actief: boolean;
@@ -17206,7 +17524,8 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
17206
17524
  created_at: string;
17207
17525
  id: string;
17208
17526
  layout_id: string;
17209
- printer_id: string;
17527
+ printer_id: string | null;
17528
+ printer_ontbreekt_sinds: string | null;
17210
17529
  prioriteit: number;
17211
17530
  updated_at: string;
17212
17531
  };
@@ -17214,7 +17533,8 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
17214
17533
  created_at?: string;
17215
17534
  id?: string;
17216
17535
  layout_id: string;
17217
- printer_id: string;
17536
+ printer_id?: string | null;
17537
+ printer_ontbreekt_sinds?: string | null;
17218
17538
  prioriteit?: number;
17219
17539
  updated_at?: string;
17220
17540
  };
@@ -17222,7 +17542,8 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
17222
17542
  created_at?: string;
17223
17543
  id?: string;
17224
17544
  layout_id?: string;
17225
- printer_id?: string;
17545
+ printer_id?: string | null;
17546
+ printer_ontbreekt_sinds?: string | null;
17226
17547
  prioriteit?: number;
17227
17548
  updated_at?: string;
17228
17549
  };
@@ -23114,12 +23435,14 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
23114
23435
  created_at: string;
23115
23436
  default_quantity: number;
23116
23437
  description: string | null;
23117
- duration_minutes: number | null;
23438
+ duration_minutes: number;
23118
23439
  id: string;
23440
+ labor_minutes: number;
23119
23441
  mandaat_type: string | null;
23120
23442
  name: string;
23121
23443
  price_mode: string;
23122
23444
  sort_order: number;
23445
+ travel_minutes: number;
23123
23446
  unit_price_cents: number;
23124
23447
  updated_at: string;
23125
23448
  };
@@ -23131,12 +23454,14 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
23131
23454
  created_at?: string;
23132
23455
  default_quantity?: number;
23133
23456
  description?: string | null;
23134
- duration_minutes?: number | null;
23457
+ duration_minutes?: number;
23135
23458
  id?: string;
23459
+ labor_minutes?: number;
23136
23460
  mandaat_type?: string | null;
23137
23461
  name: string;
23138
23462
  price_mode?: string;
23139
23463
  sort_order?: number;
23464
+ travel_minutes?: number;
23140
23465
  unit_price_cents?: number;
23141
23466
  updated_at?: string;
23142
23467
  };
@@ -23148,12 +23473,14 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
23148
23473
  created_at?: string;
23149
23474
  default_quantity?: number;
23150
23475
  description?: string | null;
23151
- duration_minutes?: number | null;
23476
+ duration_minutes?: number;
23152
23477
  id?: string;
23478
+ labor_minutes?: number;
23153
23479
  mandaat_type?: string | null;
23154
23480
  name?: string;
23155
23481
  price_mode?: string;
23156
23482
  sort_order?: number;
23483
+ travel_minutes?: number;
23157
23484
  unit_price_cents?: number;
23158
23485
  updated_at?: string;
23159
23486
  };
@@ -24708,6 +25035,12 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
24708
25035
  };
24709
25036
  Returns: undefined;
24710
25037
  };
25038
+ _quote_release_work_order_intern: {
25039
+ Args: {
25040
+ _offerte_id: string;
25041
+ };
25042
+ Returns: import("../integrations/supabase/types").Json;
25043
+ };
24711
25044
  _wo_is_planner: {
24712
25045
  Args: never;
24713
25046
  Returns: boolean;
@@ -29579,6 +29912,12 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
29579
29912
  };
29580
29913
  Returns: import("../integrations/supabase/types").Json;
29581
29914
  };
29915
+ pick_verify_rows: {
29916
+ Args: {
29917
+ _rows: import("../integrations/supabase/types").Json;
29918
+ };
29919
+ Returns: import("../integrations/supabase/types").Json;
29920
+ };
29582
29921
  pickstation_get_orders_raw: {
29583
29922
  Args: never;
29584
29923
  Returns: import("../integrations/supabase/types").Json;
@@ -29713,6 +30052,35 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
29713
30052
  };
29714
30053
  Returns: undefined;
29715
30054
  };
30055
+ printer_gebruik: {
30056
+ Args: {
30057
+ _printer: string;
30058
+ };
30059
+ Returns: import("../integrations/supabase/types").Json;
30060
+ };
30061
+ printer_routering: {
30062
+ Args: {
30063
+ _documenttype: string;
30064
+ _layout_id?: string;
30065
+ _papierformaat?: string;
30066
+ _print_plek_id?: string;
30067
+ _werkplek?: string;
30068
+ };
30069
+ Returns: import("../integrations/supabase/types").Json;
30070
+ };
30071
+ printplek_printer: {
30072
+ Args: {
30073
+ _documenttype: string;
30074
+ _plek: string;
30075
+ };
30076
+ Returns: string;
30077
+ };
30078
+ printplek_verwijder_impact: {
30079
+ Args: {
30080
+ _id: string;
30081
+ };
30082
+ Returns: import("../integrations/supabase/types").Json;
30083
+ };
29716
30084
  process_logistics_event: {
29717
30085
  Args: {
29718
30086
  p_event_id: string;
@@ -29759,6 +30127,12 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
29759
30127
  };
29760
30128
  Returns: import("../integrations/supabase/types").Json;
29761
30129
  };
30130
+ quote_create_from_scratch: {
30131
+ Args: {
30132
+ _payload: import("../integrations/supabase/types").Json;
30133
+ };
30134
+ Returns: import("../integrations/supabase/types").Json;
30135
+ };
29762
30136
  quote_create_from_source: {
29763
30137
  Args: {
29764
30138
  _payload?: import("../integrations/supabase/types").Json;
@@ -29774,6 +30148,13 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
29774
30148
  };
29775
30149
  Returns: boolean;
29776
30150
  };
30151
+ quote_fill_from_form: {
30152
+ Args: {
30153
+ _offerte_id: string;
30154
+ _payload: import("../integrations/supabase/types").Json;
30155
+ };
30156
+ Returns: import("../integrations/supabase/types").Json;
30157
+ };
29777
30158
  quote_get_billable_lines: {
29778
30159
  Args: {
29779
30160
  _quotation_id: string;
@@ -29803,12 +30184,50 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
29803
30184
  };
29804
30185
  Returns: import("../integrations/supabase/types").Json;
29805
30186
  };
30187
+ quote_public_accept: {
30188
+ Args: {
30189
+ _akkoord: boolean;
30190
+ _email: string;
30191
+ _ip_address?: string;
30192
+ _naam: string;
30193
+ _token: string;
30194
+ _user_agent?: string;
30195
+ };
30196
+ Returns: import("../integrations/supabase/types").Json;
30197
+ };
30198
+ quote_public_get: {
30199
+ Args: {
30200
+ _token: string;
30201
+ };
30202
+ Returns: import("../integrations/supabase/types").Json;
30203
+ };
30204
+ quote_public_sign: {
30205
+ Args: {
30206
+ _handtekening: string;
30207
+ _naam: string;
30208
+ _token: string;
30209
+ };
30210
+ Returns: import("../integrations/supabase/types").Json;
30211
+ };
29806
30212
  quote_queue_follow_up: {
29807
30213
  Args: {
29808
30214
  _offerte_id: string;
29809
30215
  };
29810
30216
  Returns: string;
29811
30217
  };
30218
+ quote_release_work_order: {
30219
+ Args: {
30220
+ _offerte_id: string;
30221
+ };
30222
+ Returns: import("../integrations/supabase/types").Json;
30223
+ };
30224
+ quote_sync_work_order: {
30225
+ Args: {
30226
+ _monteur_instructies?: string;
30227
+ _offerte_id: string;
30228
+ };
30229
+ Returns: boolean;
30230
+ };
29812
30231
  recompute_all_reserved_stock: {
29813
30232
  Args: never;
29814
30233
  Returns: undefined;
@@ -31087,6 +31506,19 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
31087
31506
  user_id: string;
31088
31507
  }[];
31089
31508
  };
31509
+ vervang_printer: {
31510
+ Args: {
31511
+ _nieuw: string;
31512
+ _oud: string;
31513
+ };
31514
+ Returns: import("../integrations/supabase/types").Json;
31515
+ };
31516
+ verwijder_printplek: {
31517
+ Args: {
31518
+ _id: string;
31519
+ };
31520
+ Returns: import("../integrations/supabase/types").Json;
31521
+ };
31090
31522
  voorraad_cleanup_old_rows: {
31091
31523
  Args: never;
31092
31524
  Returns: import("../integrations/supabase/types").Json;
@@ -31097,6 +31529,16 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
31097
31529
  };
31098
31530
  Returns: number;
31099
31531
  };
31532
+ werkbon_pakket_tijden: {
31533
+ Args: {
31534
+ _werkbon_id: string;
31535
+ };
31536
+ Returns: {
31537
+ labor_minutes: number;
31538
+ total_minutes: number;
31539
+ travel_minutes: number;
31540
+ }[];
31541
+ };
31100
31542
  werkbon_totalen: {
31101
31543
  Args: {
31102
31544
  _werkbon_id: string;
@@ -34357,6 +34799,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
34357
34799
  formaat_code: string;
34358
34800
  id: string;
34359
34801
  printer_id: string | null;
34802
+ printer_ontbreekt_sinds: string | null;
34360
34803
  updated_at: string;
34361
34804
  };
34362
34805
  Insert: {
@@ -34365,6 +34808,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
34365
34808
  formaat_code: string;
34366
34809
  id?: string;
34367
34810
  printer_id?: string | null;
34811
+ printer_ontbreekt_sinds?: string | null;
34368
34812
  updated_at?: string;
34369
34813
  };
34370
34814
  Update: {
@@ -34373,6 +34817,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
34373
34817
  formaat_code?: string;
34374
34818
  id?: string;
34375
34819
  printer_id?: string | null;
34820
+ printer_ontbreekt_sinds?: string | null;
34376
34821
  updated_at?: string;
34377
34822
  };
34378
34823
  Relationships: [{
@@ -34709,6 +35154,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
34709
35154
  papierformaat: string | null;
34710
35155
  print_plek_id: string;
34711
35156
  printer_id: string | null;
35157
+ printer_ontbreekt_sinds: string | null;
34712
35158
  updated_at: string;
34713
35159
  };
34714
35160
  Insert: {
@@ -34718,6 +35164,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
34718
35164
  papierformaat?: string | null;
34719
35165
  print_plek_id: string;
34720
35166
  printer_id?: string | null;
35167
+ printer_ontbreekt_sinds?: string | null;
34721
35168
  updated_at?: string;
34722
35169
  };
34723
35170
  Update: {
@@ -34727,6 +35174,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
34727
35174
  papierformaat?: string | null;
34728
35175
  print_plek_id?: string;
34729
35176
  printer_id?: string | null;
35177
+ printer_ontbreekt_sinds?: string | null;
34730
35178
  updated_at?: string;
34731
35179
  };
34732
35180
  Relationships: [{
@@ -34750,6 +35198,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
34750
35198
  id: string;
34751
35199
  papierformaat: string | null;
34752
35200
  printer_id: string | null;
35201
+ printer_ontbreekt_sinds: string | null;
34753
35202
  updated_at: string;
34754
35203
  werkplek: string;
34755
35204
  };
@@ -34759,6 +35208,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
34759
35208
  id?: string;
34760
35209
  papierformaat?: string | null;
34761
35210
  printer_id?: string | null;
35211
+ printer_ontbreekt_sinds?: string | null;
34762
35212
  updated_at?: string;
34763
35213
  werkplek: string;
34764
35214
  };
@@ -34768,6 +35218,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
34768
35218
  id?: string;
34769
35219
  papierformaat?: string | null;
34770
35220
  printer_id?: string | null;
35221
+ printer_ontbreekt_sinds?: string | null;
34771
35222
  updated_at?: string;
34772
35223
  werkplek?: string;
34773
35224
  };
@@ -38070,6 +38521,78 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
38070
38521
  referencedColumns: ["id"];
38071
38522
  }];
38072
38523
  };
38524
+ floriday_document_fetch_queue: {
38525
+ Row: {
38526
+ attempts: number;
38527
+ cancelled_reason: string | null;
38528
+ completed_at: string | null;
38529
+ connection_id: string;
38530
+ created_at: string;
38531
+ document_key: string;
38532
+ environment: string;
38533
+ id: string;
38534
+ kind: string;
38535
+ last_error: string | null;
38536
+ last_http_status: number | null;
38537
+ locked_at: string | null;
38538
+ locked_by: string | null;
38539
+ max_attempts: number;
38540
+ next_attempt_at: string;
38541
+ order_ref: string | null;
38542
+ params: import("../integrations/supabase/types").Json;
38543
+ status: string;
38544
+ updated_at: string;
38545
+ };
38546
+ Insert: {
38547
+ attempts?: number;
38548
+ cancelled_reason?: string | null;
38549
+ completed_at?: string | null;
38550
+ connection_id: string;
38551
+ created_at?: string;
38552
+ document_key: string;
38553
+ environment: string;
38554
+ id?: string;
38555
+ kind: string;
38556
+ last_error?: string | null;
38557
+ last_http_status?: number | null;
38558
+ locked_at?: string | null;
38559
+ locked_by?: string | null;
38560
+ max_attempts?: number;
38561
+ next_attempt_at?: string;
38562
+ order_ref?: string | null;
38563
+ params?: import("../integrations/supabase/types").Json;
38564
+ status?: string;
38565
+ updated_at?: string;
38566
+ };
38567
+ Update: {
38568
+ attempts?: number;
38569
+ cancelled_reason?: string | null;
38570
+ completed_at?: string | null;
38571
+ connection_id?: string;
38572
+ created_at?: string;
38573
+ document_key?: string;
38574
+ environment?: string;
38575
+ id?: string;
38576
+ kind?: string;
38577
+ last_error?: string | null;
38578
+ last_http_status?: number | null;
38579
+ locked_at?: string | null;
38580
+ locked_by?: string | null;
38581
+ max_attempts?: number;
38582
+ next_attempt_at?: string;
38583
+ order_ref?: string | null;
38584
+ params?: import("../integrations/supabase/types").Json;
38585
+ status?: string;
38586
+ updated_at?: string;
38587
+ };
38588
+ Relationships: [{
38589
+ foreignKeyName: "floriday_document_fetch_queue_connection_id_fkey";
38590
+ columns: ["connection_id"];
38591
+ isOneToOne: false;
38592
+ referencedRelation: "floriday_connections";
38593
+ referencedColumns: ["id"];
38594
+ }];
38595
+ };
38073
38596
  floriday_fulfillment_orders_cache: {
38074
38597
  Row: {
38075
38598
  auction_date: string | null;
@@ -40602,6 +41125,57 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
40602
41125
  };
40603
41126
  Relationships: [];
40604
41127
  };
41128
+ itk_offerte_acceptaties: {
41129
+ Row: {
41130
+ accepted_at: string;
41131
+ akkoordgever_email: string;
41132
+ akkoordgever_naam: string;
41133
+ akkoordverklaring: string;
41134
+ id: string;
41135
+ inhoud_hash: string;
41136
+ ip_address: unknown;
41137
+ offerte_id: string;
41138
+ offerte_number: string;
41139
+ offerte_snapshot: import("../integrations/supabase/types").Json;
41140
+ user_agent: string | null;
41141
+ versie: string;
41142
+ };
41143
+ Insert: {
41144
+ accepted_at?: string;
41145
+ akkoordgever_email: string;
41146
+ akkoordgever_naam: string;
41147
+ akkoordverklaring: string;
41148
+ id?: string;
41149
+ inhoud_hash: string;
41150
+ ip_address?: unknown;
41151
+ offerte_id: string;
41152
+ offerte_number: string;
41153
+ offerte_snapshot: import("../integrations/supabase/types").Json;
41154
+ user_agent?: string | null;
41155
+ versie: string;
41156
+ };
41157
+ Update: {
41158
+ accepted_at?: string;
41159
+ akkoordgever_email?: string;
41160
+ akkoordgever_naam?: string;
41161
+ akkoordverklaring?: string;
41162
+ id?: string;
41163
+ inhoud_hash?: string;
41164
+ ip_address?: unknown;
41165
+ offerte_id?: string;
41166
+ offerte_number?: string;
41167
+ offerte_snapshot?: import("../integrations/supabase/types").Json;
41168
+ user_agent?: string | null;
41169
+ versie?: string;
41170
+ };
41171
+ Relationships: [{
41172
+ foreignKeyName: "itk_offerte_acceptaties_offerte_id_fkey";
41173
+ columns: ["offerte_id"];
41174
+ isOneToOne: true;
41175
+ referencedRelation: "itk_offertes";
41176
+ referencedColumns: ["id"];
41177
+ }];
41178
+ };
40605
41179
  itk_offerte_events: {
40606
41180
  Row: {
40607
41181
  created_at: string;
@@ -40815,6 +41389,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
40815
41389
  itk_offertes: {
40816
41390
  Row: {
40817
41391
  aandachtspunten: string | null;
41392
+ acceptance_id: string | null;
40818
41393
  ai_generated: boolean;
40819
41394
  approved_at: string | null;
40820
41395
  binnen_mandaat: boolean;
@@ -40833,6 +41408,11 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
40833
41408
  onderwerp: string | null;
40834
41409
  rejected_at: string | null;
40835
41410
  sent_at: string | null;
41411
+ sign_token: string;
41412
+ signature_data: string | null;
41413
+ signed_at: string | null;
41414
+ signer_email: string | null;
41415
+ signer_name: string | null;
40836
41416
  source_number: string | null;
40837
41417
  source_ref: string | null;
40838
41418
  source_type: string;
@@ -40847,11 +41427,13 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
40847
41427
  viewed_at: string | null;
40848
41428
  volgnummer: number | null;
40849
41429
  voorwaarden: string | null;
41430
+ werkbon_concept: import("../integrations/supabase/types").Json | null;
40850
41431
  werkbon_id: string | null;
40851
41432
  work_location_id: string | null;
40852
41433
  };
40853
41434
  Insert: {
40854
41435
  aandachtspunten?: string | null;
41436
+ acceptance_id?: string | null;
40855
41437
  ai_generated?: boolean;
40856
41438
  approved_at?: string | null;
40857
41439
  binnen_mandaat?: boolean;
@@ -40870,6 +41452,11 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
40870
41452
  onderwerp?: string | null;
40871
41453
  rejected_at?: string | null;
40872
41454
  sent_at?: string | null;
41455
+ sign_token?: string;
41456
+ signature_data?: string | null;
41457
+ signed_at?: string | null;
41458
+ signer_email?: string | null;
41459
+ signer_name?: string | null;
40873
41460
  source_number?: string | null;
40874
41461
  source_ref?: string | null;
40875
41462
  source_type?: string;
@@ -40884,11 +41471,13 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
40884
41471
  viewed_at?: string | null;
40885
41472
  volgnummer?: number | null;
40886
41473
  voorwaarden?: string | null;
41474
+ werkbon_concept?: import("../integrations/supabase/types").Json | null;
40887
41475
  werkbon_id?: string | null;
40888
41476
  work_location_id?: string | null;
40889
41477
  };
40890
41478
  Update: {
40891
41479
  aandachtspunten?: string | null;
41480
+ acceptance_id?: string | null;
40892
41481
  ai_generated?: boolean;
40893
41482
  approved_at?: string | null;
40894
41483
  binnen_mandaat?: boolean;
@@ -40907,6 +41496,11 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
40907
41496
  onderwerp?: string | null;
40908
41497
  rejected_at?: string | null;
40909
41498
  sent_at?: string | null;
41499
+ sign_token?: string;
41500
+ signature_data?: string | null;
41501
+ signed_at?: string | null;
41502
+ signer_email?: string | null;
41503
+ signer_name?: string | null;
40910
41504
  source_number?: string | null;
40911
41505
  source_ref?: string | null;
40912
41506
  source_type?: string;
@@ -40921,10 +41515,17 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
40921
41515
  viewed_at?: string | null;
40922
41516
  volgnummer?: number | null;
40923
41517
  voorwaarden?: string | null;
41518
+ werkbon_concept?: import("../integrations/supabase/types").Json | null;
40924
41519
  werkbon_id?: string | null;
40925
41520
  work_location_id?: string | null;
40926
41521
  };
40927
41522
  Relationships: [{
41523
+ foreignKeyName: "itk_offertes_acceptance_id_fkey";
41524
+ columns: ["acceptance_id"];
41525
+ isOneToOne: false;
41526
+ referencedRelation: "itk_offerte_acceptaties";
41527
+ referencedColumns: ["id"];
41528
+ }, {
40928
41529
  foreignKeyName: "itk_offertes_contact_id_fkey";
40929
41530
  columns: ["contact_id"];
40930
41531
  isOneToOne: false;
@@ -47466,6 +48067,54 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
47466
48067
  };
47467
48068
  Relationships: [];
47468
48069
  };
48070
+ planning_confirmation_log: {
48071
+ Row: {
48072
+ created_at: string;
48073
+ end_at: string;
48074
+ id: string;
48075
+ outbox_id: string | null;
48076
+ planning_item_id: string;
48077
+ reason: string | null;
48078
+ recipient: string | null;
48079
+ start_at: string;
48080
+ status: string;
48081
+ };
48082
+ Insert: {
48083
+ created_at?: string;
48084
+ end_at: string;
48085
+ id?: string;
48086
+ outbox_id?: string | null;
48087
+ planning_item_id: string;
48088
+ reason?: string | null;
48089
+ recipient?: string | null;
48090
+ start_at: string;
48091
+ status: string;
48092
+ };
48093
+ Update: {
48094
+ created_at?: string;
48095
+ end_at?: string;
48096
+ id?: string;
48097
+ outbox_id?: string | null;
48098
+ planning_item_id?: string;
48099
+ reason?: string | null;
48100
+ recipient?: string | null;
48101
+ start_at?: string;
48102
+ status?: string;
48103
+ };
48104
+ Relationships: [{
48105
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
48106
+ columns: ["planning_item_id"];
48107
+ isOneToOne: false;
48108
+ referencedRelation: "planning_items";
48109
+ referencedColumns: ["id"];
48110
+ }, {
48111
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
48112
+ columns: ["planning_item_id"];
48113
+ isOneToOne: false;
48114
+ referencedRelation: "planning_overview";
48115
+ referencedColumns: ["id"];
48116
+ }];
48117
+ };
47469
48118
  planning_item_assistants: {
47470
48119
  Row: {
47471
48120
  created_at: string;
@@ -47550,6 +48199,63 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
47550
48199
  referencedColumns: ["id"];
47551
48200
  }];
47552
48201
  };
48202
+ planning_mail_settings: {
48203
+ Row: {
48204
+ body_template: string;
48205
+ cc: string[];
48206
+ connection_id: string | null;
48207
+ created_at: string;
48208
+ email_purpose: string | null;
48209
+ enabled: boolean;
48210
+ id: boolean;
48211
+ reply_to: string | null;
48212
+ subject_template: string;
48213
+ timezone: string;
48214
+ updated_at: string;
48215
+ updated_by: string | null;
48216
+ };
48217
+ Insert: {
48218
+ body_template?: string;
48219
+ cc?: string[];
48220
+ connection_id?: string | null;
48221
+ created_at?: string;
48222
+ email_purpose?: string | null;
48223
+ enabled?: boolean;
48224
+ id?: boolean;
48225
+ reply_to?: string | null;
48226
+ subject_template?: string;
48227
+ timezone?: string;
48228
+ updated_at?: string;
48229
+ updated_by?: string | null;
48230
+ };
48231
+ Update: {
48232
+ body_template?: string;
48233
+ cc?: string[];
48234
+ connection_id?: string | null;
48235
+ created_at?: string;
48236
+ email_purpose?: string | null;
48237
+ enabled?: boolean;
48238
+ id?: boolean;
48239
+ reply_to?: string | null;
48240
+ subject_template?: string;
48241
+ timezone?: string;
48242
+ updated_at?: string;
48243
+ updated_by?: string | null;
48244
+ };
48245
+ Relationships: [{
48246
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
48247
+ columns: ["connection_id"];
48248
+ isOneToOne: false;
48249
+ referencedRelation: "email_auth_connections";
48250
+ referencedColumns: ["id"];
48251
+ }, {
48252
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
48253
+ columns: ["connection_id"];
48254
+ isOneToOne: false;
48255
+ referencedRelation: "email_auth_connections_safe";
48256
+ referencedColumns: ["id"];
48257
+ }];
48258
+ };
47553
48259
  planning_monteur_day_locations: {
47554
48260
  Row: {
47555
48261
  created_at: string;
@@ -47937,6 +48643,27 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
47937
48643
  };
47938
48644
  Relationships: [];
47939
48645
  };
48646
+ print_genegeerde_computers: {
48647
+ Row: {
48648
+ computer_naam: string;
48649
+ genegeerd_door: string | null;
48650
+ genegeerd_op: string;
48651
+ id: string;
48652
+ };
48653
+ Insert: {
48654
+ computer_naam: string;
48655
+ genegeerd_door?: string | null;
48656
+ genegeerd_op?: string;
48657
+ id?: string;
48658
+ };
48659
+ Update: {
48660
+ computer_naam?: string;
48661
+ genegeerd_door?: string | null;
48662
+ genegeerd_op?: string;
48663
+ id?: string;
48664
+ };
48665
+ Relationships: [];
48666
+ };
47940
48667
  print_job_logs: {
47941
48668
  Row: {
47942
48669
  created_at: string;
@@ -48207,6 +48934,39 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
48207
48934
  referencedColumns: ["id"];
48208
48935
  }];
48209
48936
  };
48937
+ print_plek_printers: {
48938
+ Row: {
48939
+ id: string;
48940
+ print_plek_id: string;
48941
+ printer_id: string;
48942
+ toegevoegd_op: string;
48943
+ };
48944
+ Insert: {
48945
+ id?: string;
48946
+ print_plek_id: string;
48947
+ printer_id: string;
48948
+ toegevoegd_op?: string;
48949
+ };
48950
+ Update: {
48951
+ id?: string;
48952
+ print_plek_id?: string;
48953
+ printer_id?: string;
48954
+ toegevoegd_op?: string;
48955
+ };
48956
+ Relationships: [{
48957
+ foreignKeyName: "print_plek_printers_print_plek_id_fkey";
48958
+ columns: ["print_plek_id"];
48959
+ isOneToOne: false;
48960
+ referencedRelation: "print_plekken";
48961
+ referencedColumns: ["id"];
48962
+ }, {
48963
+ foreignKeyName: "print_plek_printers_printer_id_fkey";
48964
+ columns: ["printer_id"];
48965
+ isOneToOne: false;
48966
+ referencedRelation: "printers";
48967
+ referencedColumns: ["id"];
48968
+ }];
48969
+ };
48210
48970
  print_plekken: {
48211
48971
  Row: {
48212
48972
  actief: boolean;
@@ -48422,7 +49182,8 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
48422
49182
  created_at: string;
48423
49183
  id: string;
48424
49184
  layout_id: string;
48425
- printer_id: string;
49185
+ printer_id: string | null;
49186
+ printer_ontbreekt_sinds: string | null;
48426
49187
  prioriteit: number;
48427
49188
  updated_at: string;
48428
49189
  };
@@ -48430,7 +49191,8 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
48430
49191
  created_at?: string;
48431
49192
  id?: string;
48432
49193
  layout_id: string;
48433
- printer_id: string;
49194
+ printer_id?: string | null;
49195
+ printer_ontbreekt_sinds?: string | null;
48434
49196
  prioriteit?: number;
48435
49197
  updated_at?: string;
48436
49198
  };
@@ -48438,7 +49200,8 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
48438
49200
  created_at?: string;
48439
49201
  id?: string;
48440
49202
  layout_id?: string;
48441
- printer_id?: string;
49203
+ printer_id?: string | null;
49204
+ printer_ontbreekt_sinds?: string | null;
48442
49205
  prioriteit?: number;
48443
49206
  updated_at?: string;
48444
49207
  };
@@ -54330,12 +55093,14 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
54330
55093
  created_at: string;
54331
55094
  default_quantity: number;
54332
55095
  description: string | null;
54333
- duration_minutes: number | null;
55096
+ duration_minutes: number;
54334
55097
  id: string;
55098
+ labor_minutes: number;
54335
55099
  mandaat_type: string | null;
54336
55100
  name: string;
54337
55101
  price_mode: string;
54338
55102
  sort_order: number;
55103
+ travel_minutes: number;
54339
55104
  unit_price_cents: number;
54340
55105
  updated_at: string;
54341
55106
  };
@@ -54347,12 +55112,14 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
54347
55112
  created_at?: string;
54348
55113
  default_quantity?: number;
54349
55114
  description?: string | null;
54350
- duration_minutes?: number | null;
55115
+ duration_minutes?: number;
54351
55116
  id?: string;
55117
+ labor_minutes?: number;
54352
55118
  mandaat_type?: string | null;
54353
55119
  name: string;
54354
55120
  price_mode?: string;
54355
55121
  sort_order?: number;
55122
+ travel_minutes?: number;
54356
55123
  unit_price_cents?: number;
54357
55124
  updated_at?: string;
54358
55125
  };
@@ -54364,12 +55131,14 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
54364
55131
  created_at?: string;
54365
55132
  default_quantity?: number;
54366
55133
  description?: string | null;
54367
- duration_minutes?: number | null;
55134
+ duration_minutes?: number;
54368
55135
  id?: string;
55136
+ labor_minutes?: number;
54369
55137
  mandaat_type?: string | null;
54370
55138
  name?: string;
54371
55139
  price_mode?: string;
54372
55140
  sort_order?: number;
55141
+ travel_minutes?: number;
54373
55142
  unit_price_cents?: number;
54374
55143
  updated_at?: string;
54375
55144
  };
@@ -55924,6 +56693,12 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
55924
56693
  };
55925
56694
  Returns: undefined;
55926
56695
  };
56696
+ _quote_release_work_order_intern: {
56697
+ Args: {
56698
+ _offerte_id: string;
56699
+ };
56700
+ Returns: import("../integrations/supabase/types").Json;
56701
+ };
55927
56702
  _wo_is_planner: {
55928
56703
  Args: never;
55929
56704
  Returns: boolean;
@@ -60795,6 +61570,12 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
60795
61570
  };
60796
61571
  Returns: import("../integrations/supabase/types").Json;
60797
61572
  };
61573
+ pick_verify_rows: {
61574
+ Args: {
61575
+ _rows: import("../integrations/supabase/types").Json;
61576
+ };
61577
+ Returns: import("../integrations/supabase/types").Json;
61578
+ };
60798
61579
  pickstation_get_orders_raw: {
60799
61580
  Args: never;
60800
61581
  Returns: import("../integrations/supabase/types").Json;
@@ -60929,6 +61710,35 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
60929
61710
  };
60930
61711
  Returns: undefined;
60931
61712
  };
61713
+ printer_gebruik: {
61714
+ Args: {
61715
+ _printer: string;
61716
+ };
61717
+ Returns: import("../integrations/supabase/types").Json;
61718
+ };
61719
+ printer_routering: {
61720
+ Args: {
61721
+ _documenttype: string;
61722
+ _layout_id?: string;
61723
+ _papierformaat?: string;
61724
+ _print_plek_id?: string;
61725
+ _werkplek?: string;
61726
+ };
61727
+ Returns: import("../integrations/supabase/types").Json;
61728
+ };
61729
+ printplek_printer: {
61730
+ Args: {
61731
+ _documenttype: string;
61732
+ _plek: string;
61733
+ };
61734
+ Returns: string;
61735
+ };
61736
+ printplek_verwijder_impact: {
61737
+ Args: {
61738
+ _id: string;
61739
+ };
61740
+ Returns: import("../integrations/supabase/types").Json;
61741
+ };
60932
61742
  process_logistics_event: {
60933
61743
  Args: {
60934
61744
  p_event_id: string;
@@ -60975,6 +61785,12 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
60975
61785
  };
60976
61786
  Returns: import("../integrations/supabase/types").Json;
60977
61787
  };
61788
+ quote_create_from_scratch: {
61789
+ Args: {
61790
+ _payload: import("../integrations/supabase/types").Json;
61791
+ };
61792
+ Returns: import("../integrations/supabase/types").Json;
61793
+ };
60978
61794
  quote_create_from_source: {
60979
61795
  Args: {
60980
61796
  _payload?: import("../integrations/supabase/types").Json;
@@ -60990,6 +61806,13 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
60990
61806
  };
60991
61807
  Returns: boolean;
60992
61808
  };
61809
+ quote_fill_from_form: {
61810
+ Args: {
61811
+ _offerte_id: string;
61812
+ _payload: import("../integrations/supabase/types").Json;
61813
+ };
61814
+ Returns: import("../integrations/supabase/types").Json;
61815
+ };
60993
61816
  quote_get_billable_lines: {
60994
61817
  Args: {
60995
61818
  _quotation_id: string;
@@ -61019,12 +61842,50 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
61019
61842
  };
61020
61843
  Returns: import("../integrations/supabase/types").Json;
61021
61844
  };
61845
+ quote_public_accept: {
61846
+ Args: {
61847
+ _akkoord: boolean;
61848
+ _email: string;
61849
+ _ip_address?: string;
61850
+ _naam: string;
61851
+ _token: string;
61852
+ _user_agent?: string;
61853
+ };
61854
+ Returns: import("../integrations/supabase/types").Json;
61855
+ };
61856
+ quote_public_get: {
61857
+ Args: {
61858
+ _token: string;
61859
+ };
61860
+ Returns: import("../integrations/supabase/types").Json;
61861
+ };
61862
+ quote_public_sign: {
61863
+ Args: {
61864
+ _handtekening: string;
61865
+ _naam: string;
61866
+ _token: string;
61867
+ };
61868
+ Returns: import("../integrations/supabase/types").Json;
61869
+ };
61022
61870
  quote_queue_follow_up: {
61023
61871
  Args: {
61024
61872
  _offerte_id: string;
61025
61873
  };
61026
61874
  Returns: string;
61027
61875
  };
61876
+ quote_release_work_order: {
61877
+ Args: {
61878
+ _offerte_id: string;
61879
+ };
61880
+ Returns: import("../integrations/supabase/types").Json;
61881
+ };
61882
+ quote_sync_work_order: {
61883
+ Args: {
61884
+ _monteur_instructies?: string;
61885
+ _offerte_id: string;
61886
+ };
61887
+ Returns: boolean;
61888
+ };
61028
61889
  recompute_all_reserved_stock: {
61029
61890
  Args: never;
61030
61891
  Returns: undefined;
@@ -62303,6 +63164,19 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
62303
63164
  user_id: string;
62304
63165
  }[];
62305
63166
  };
63167
+ vervang_printer: {
63168
+ Args: {
63169
+ _nieuw: string;
63170
+ _oud: string;
63171
+ };
63172
+ Returns: import("../integrations/supabase/types").Json;
63173
+ };
63174
+ verwijder_printplek: {
63175
+ Args: {
63176
+ _id: string;
63177
+ };
63178
+ Returns: import("../integrations/supabase/types").Json;
63179
+ };
62306
63180
  voorraad_cleanup_old_rows: {
62307
63181
  Args: never;
62308
63182
  Returns: import("../integrations/supabase/types").Json;
@@ -62313,6 +63187,16 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
62313
63187
  };
62314
63188
  Returns: number;
62315
63189
  };
63190
+ werkbon_pakket_tijden: {
63191
+ Args: {
63192
+ _werkbon_id: string;
63193
+ };
63194
+ Returns: {
63195
+ labor_minutes: number;
63196
+ total_minutes: number;
63197
+ travel_minutes: number;
63198
+ }[];
63199
+ };
62316
63200
  werkbon_totalen: {
62317
63201
  Args: {
62318
63202
  _werkbon_id: string;
@@ -65606,6 +66490,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
65606
66490
  formaat_code: string;
65607
66491
  id: string;
65608
66492
  printer_id: string | null;
66493
+ printer_ontbreekt_sinds: string | null;
65609
66494
  updated_at: string;
65610
66495
  };
65611
66496
  Insert: {
@@ -65614,6 +66499,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
65614
66499
  formaat_code: string;
65615
66500
  id?: string;
65616
66501
  printer_id?: string | null;
66502
+ printer_ontbreekt_sinds?: string | null;
65617
66503
  updated_at?: string;
65618
66504
  };
65619
66505
  Update: {
@@ -65622,6 +66508,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
65622
66508
  formaat_code?: string;
65623
66509
  id?: string;
65624
66510
  printer_id?: string | null;
66511
+ printer_ontbreekt_sinds?: string | null;
65625
66512
  updated_at?: string;
65626
66513
  };
65627
66514
  Relationships: [{
@@ -65958,6 +66845,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
65958
66845
  papierformaat: string | null;
65959
66846
  print_plek_id: string;
65960
66847
  printer_id: string | null;
66848
+ printer_ontbreekt_sinds: string | null;
65961
66849
  updated_at: string;
65962
66850
  };
65963
66851
  Insert: {
@@ -65967,6 +66855,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
65967
66855
  papierformaat?: string | null;
65968
66856
  print_plek_id: string;
65969
66857
  printer_id?: string | null;
66858
+ printer_ontbreekt_sinds?: string | null;
65970
66859
  updated_at?: string;
65971
66860
  };
65972
66861
  Update: {
@@ -65976,6 +66865,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
65976
66865
  papierformaat?: string | null;
65977
66866
  print_plek_id?: string;
65978
66867
  printer_id?: string | null;
66868
+ printer_ontbreekt_sinds?: string | null;
65979
66869
  updated_at?: string;
65980
66870
  };
65981
66871
  Relationships: [{
@@ -65999,6 +66889,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
65999
66889
  id: string;
66000
66890
  papierformaat: string | null;
66001
66891
  printer_id: string | null;
66892
+ printer_ontbreekt_sinds: string | null;
66002
66893
  updated_at: string;
66003
66894
  werkplek: string;
66004
66895
  };
@@ -66008,6 +66899,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
66008
66899
  id?: string;
66009
66900
  papierformaat?: string | null;
66010
66901
  printer_id?: string | null;
66902
+ printer_ontbreekt_sinds?: string | null;
66011
66903
  updated_at?: string;
66012
66904
  werkplek: string;
66013
66905
  };
@@ -66017,6 +66909,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
66017
66909
  id?: string;
66018
66910
  papierformaat?: string | null;
66019
66911
  printer_id?: string | null;
66912
+ printer_ontbreekt_sinds?: string | null;
66020
66913
  updated_at?: string;
66021
66914
  werkplek?: string;
66022
66915
  };
@@ -69319,6 +70212,78 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
69319
70212
  referencedColumns: ["id"];
69320
70213
  }];
69321
70214
  };
70215
+ floriday_document_fetch_queue: {
70216
+ Row: {
70217
+ attempts: number;
70218
+ cancelled_reason: string | null;
70219
+ completed_at: string | null;
70220
+ connection_id: string;
70221
+ created_at: string;
70222
+ document_key: string;
70223
+ environment: string;
70224
+ id: string;
70225
+ kind: string;
70226
+ last_error: string | null;
70227
+ last_http_status: number | null;
70228
+ locked_at: string | null;
70229
+ locked_by: string | null;
70230
+ max_attempts: number;
70231
+ next_attempt_at: string;
70232
+ order_ref: string | null;
70233
+ params: import("../integrations/supabase/types").Json;
70234
+ status: string;
70235
+ updated_at: string;
70236
+ };
70237
+ Insert: {
70238
+ attempts?: number;
70239
+ cancelled_reason?: string | null;
70240
+ completed_at?: string | null;
70241
+ connection_id: string;
70242
+ created_at?: string;
70243
+ document_key: string;
70244
+ environment: string;
70245
+ id?: string;
70246
+ kind: string;
70247
+ last_error?: string | null;
70248
+ last_http_status?: number | null;
70249
+ locked_at?: string | null;
70250
+ locked_by?: string | null;
70251
+ max_attempts?: number;
70252
+ next_attempt_at?: string;
70253
+ order_ref?: string | null;
70254
+ params?: import("../integrations/supabase/types").Json;
70255
+ status?: string;
70256
+ updated_at?: string;
70257
+ };
70258
+ Update: {
70259
+ attempts?: number;
70260
+ cancelled_reason?: string | null;
70261
+ completed_at?: string | null;
70262
+ connection_id?: string;
70263
+ created_at?: string;
70264
+ document_key?: string;
70265
+ environment?: string;
70266
+ id?: string;
70267
+ kind?: string;
70268
+ last_error?: string | null;
70269
+ last_http_status?: number | null;
70270
+ locked_at?: string | null;
70271
+ locked_by?: string | null;
70272
+ max_attempts?: number;
70273
+ next_attempt_at?: string;
70274
+ order_ref?: string | null;
70275
+ params?: import("../integrations/supabase/types").Json;
70276
+ status?: string;
70277
+ updated_at?: string;
70278
+ };
70279
+ Relationships: [{
70280
+ foreignKeyName: "floriday_document_fetch_queue_connection_id_fkey";
70281
+ columns: ["connection_id"];
70282
+ isOneToOne: false;
70283
+ referencedRelation: "floriday_connections";
70284
+ referencedColumns: ["id"];
70285
+ }];
70286
+ };
69322
70287
  floriday_fulfillment_orders_cache: {
69323
70288
  Row: {
69324
70289
  auction_date: string | null;
@@ -71851,6 +72816,57 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
71851
72816
  };
71852
72817
  Relationships: [];
71853
72818
  };
72819
+ itk_offerte_acceptaties: {
72820
+ Row: {
72821
+ accepted_at: string;
72822
+ akkoordgever_email: string;
72823
+ akkoordgever_naam: string;
72824
+ akkoordverklaring: string;
72825
+ id: string;
72826
+ inhoud_hash: string;
72827
+ ip_address: unknown;
72828
+ offerte_id: string;
72829
+ offerte_number: string;
72830
+ offerte_snapshot: import("../integrations/supabase/types").Json;
72831
+ user_agent: string | null;
72832
+ versie: string;
72833
+ };
72834
+ Insert: {
72835
+ accepted_at?: string;
72836
+ akkoordgever_email: string;
72837
+ akkoordgever_naam: string;
72838
+ akkoordverklaring: string;
72839
+ id?: string;
72840
+ inhoud_hash: string;
72841
+ ip_address?: unknown;
72842
+ offerte_id: string;
72843
+ offerte_number: string;
72844
+ offerte_snapshot: import("../integrations/supabase/types").Json;
72845
+ user_agent?: string | null;
72846
+ versie: string;
72847
+ };
72848
+ Update: {
72849
+ accepted_at?: string;
72850
+ akkoordgever_email?: string;
72851
+ akkoordgever_naam?: string;
72852
+ akkoordverklaring?: string;
72853
+ id?: string;
72854
+ inhoud_hash?: string;
72855
+ ip_address?: unknown;
72856
+ offerte_id?: string;
72857
+ offerte_number?: string;
72858
+ offerte_snapshot?: import("../integrations/supabase/types").Json;
72859
+ user_agent?: string | null;
72860
+ versie?: string;
72861
+ };
72862
+ Relationships: [{
72863
+ foreignKeyName: "itk_offerte_acceptaties_offerte_id_fkey";
72864
+ columns: ["offerte_id"];
72865
+ isOneToOne: true;
72866
+ referencedRelation: "itk_offertes";
72867
+ referencedColumns: ["id"];
72868
+ }];
72869
+ };
71854
72870
  itk_offerte_events: {
71855
72871
  Row: {
71856
72872
  created_at: string;
@@ -72064,6 +73080,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
72064
73080
  itk_offertes: {
72065
73081
  Row: {
72066
73082
  aandachtspunten: string | null;
73083
+ acceptance_id: string | null;
72067
73084
  ai_generated: boolean;
72068
73085
  approved_at: string | null;
72069
73086
  binnen_mandaat: boolean;
@@ -72082,6 +73099,11 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
72082
73099
  onderwerp: string | null;
72083
73100
  rejected_at: string | null;
72084
73101
  sent_at: string | null;
73102
+ sign_token: string;
73103
+ signature_data: string | null;
73104
+ signed_at: string | null;
73105
+ signer_email: string | null;
73106
+ signer_name: string | null;
72085
73107
  source_number: string | null;
72086
73108
  source_ref: string | null;
72087
73109
  source_type: string;
@@ -72096,11 +73118,13 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
72096
73118
  viewed_at: string | null;
72097
73119
  volgnummer: number | null;
72098
73120
  voorwaarden: string | null;
73121
+ werkbon_concept: import("../integrations/supabase/types").Json | null;
72099
73122
  werkbon_id: string | null;
72100
73123
  work_location_id: string | null;
72101
73124
  };
72102
73125
  Insert: {
72103
73126
  aandachtspunten?: string | null;
73127
+ acceptance_id?: string | null;
72104
73128
  ai_generated?: boolean;
72105
73129
  approved_at?: string | null;
72106
73130
  binnen_mandaat?: boolean;
@@ -72119,6 +73143,11 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
72119
73143
  onderwerp?: string | null;
72120
73144
  rejected_at?: string | null;
72121
73145
  sent_at?: string | null;
73146
+ sign_token?: string;
73147
+ signature_data?: string | null;
73148
+ signed_at?: string | null;
73149
+ signer_email?: string | null;
73150
+ signer_name?: string | null;
72122
73151
  source_number?: string | null;
72123
73152
  source_ref?: string | null;
72124
73153
  source_type?: string;
@@ -72133,11 +73162,13 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
72133
73162
  viewed_at?: string | null;
72134
73163
  volgnummer?: number | null;
72135
73164
  voorwaarden?: string | null;
73165
+ werkbon_concept?: import("../integrations/supabase/types").Json | null;
72136
73166
  werkbon_id?: string | null;
72137
73167
  work_location_id?: string | null;
72138
73168
  };
72139
73169
  Update: {
72140
73170
  aandachtspunten?: string | null;
73171
+ acceptance_id?: string | null;
72141
73172
  ai_generated?: boolean;
72142
73173
  approved_at?: string | null;
72143
73174
  binnen_mandaat?: boolean;
@@ -72156,6 +73187,11 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
72156
73187
  onderwerp?: string | null;
72157
73188
  rejected_at?: string | null;
72158
73189
  sent_at?: string | null;
73190
+ sign_token?: string;
73191
+ signature_data?: string | null;
73192
+ signed_at?: string | null;
73193
+ signer_email?: string | null;
73194
+ signer_name?: string | null;
72159
73195
  source_number?: string | null;
72160
73196
  source_ref?: string | null;
72161
73197
  source_type?: string;
@@ -72170,10 +73206,17 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
72170
73206
  viewed_at?: string | null;
72171
73207
  volgnummer?: number | null;
72172
73208
  voorwaarden?: string | null;
73209
+ werkbon_concept?: import("../integrations/supabase/types").Json | null;
72173
73210
  werkbon_id?: string | null;
72174
73211
  work_location_id?: string | null;
72175
73212
  };
72176
73213
  Relationships: [{
73214
+ foreignKeyName: "itk_offertes_acceptance_id_fkey";
73215
+ columns: ["acceptance_id"];
73216
+ isOneToOne: false;
73217
+ referencedRelation: "itk_offerte_acceptaties";
73218
+ referencedColumns: ["id"];
73219
+ }, {
72177
73220
  foreignKeyName: "itk_offertes_contact_id_fkey";
72178
73221
  columns: ["contact_id"];
72179
73222
  isOneToOne: false;
@@ -78715,6 +79758,54 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
78715
79758
  };
78716
79759
  Relationships: [];
78717
79760
  };
79761
+ planning_confirmation_log: {
79762
+ Row: {
79763
+ created_at: string;
79764
+ end_at: string;
79765
+ id: string;
79766
+ outbox_id: string | null;
79767
+ planning_item_id: string;
79768
+ reason: string | null;
79769
+ recipient: string | null;
79770
+ start_at: string;
79771
+ status: string;
79772
+ };
79773
+ Insert: {
79774
+ created_at?: string;
79775
+ end_at: string;
79776
+ id?: string;
79777
+ outbox_id?: string | null;
79778
+ planning_item_id: string;
79779
+ reason?: string | null;
79780
+ recipient?: string | null;
79781
+ start_at: string;
79782
+ status: string;
79783
+ };
79784
+ Update: {
79785
+ created_at?: string;
79786
+ end_at?: string;
79787
+ id?: string;
79788
+ outbox_id?: string | null;
79789
+ planning_item_id?: string;
79790
+ reason?: string | null;
79791
+ recipient?: string | null;
79792
+ start_at?: string;
79793
+ status?: string;
79794
+ };
79795
+ Relationships: [{
79796
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
79797
+ columns: ["planning_item_id"];
79798
+ isOneToOne: false;
79799
+ referencedRelation: "planning_items";
79800
+ referencedColumns: ["id"];
79801
+ }, {
79802
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
79803
+ columns: ["planning_item_id"];
79804
+ isOneToOne: false;
79805
+ referencedRelation: "planning_overview";
79806
+ referencedColumns: ["id"];
79807
+ }];
79808
+ };
78718
79809
  planning_item_assistants: {
78719
79810
  Row: {
78720
79811
  created_at: string;
@@ -78799,6 +79890,63 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
78799
79890
  referencedColumns: ["id"];
78800
79891
  }];
78801
79892
  };
79893
+ planning_mail_settings: {
79894
+ Row: {
79895
+ body_template: string;
79896
+ cc: string[];
79897
+ connection_id: string | null;
79898
+ created_at: string;
79899
+ email_purpose: string | null;
79900
+ enabled: boolean;
79901
+ id: boolean;
79902
+ reply_to: string | null;
79903
+ subject_template: string;
79904
+ timezone: string;
79905
+ updated_at: string;
79906
+ updated_by: string | null;
79907
+ };
79908
+ Insert: {
79909
+ body_template?: string;
79910
+ cc?: string[];
79911
+ connection_id?: string | null;
79912
+ created_at?: string;
79913
+ email_purpose?: string | null;
79914
+ enabled?: boolean;
79915
+ id?: boolean;
79916
+ reply_to?: string | null;
79917
+ subject_template?: string;
79918
+ timezone?: string;
79919
+ updated_at?: string;
79920
+ updated_by?: string | null;
79921
+ };
79922
+ Update: {
79923
+ body_template?: string;
79924
+ cc?: string[];
79925
+ connection_id?: string | null;
79926
+ created_at?: string;
79927
+ email_purpose?: string | null;
79928
+ enabled?: boolean;
79929
+ id?: boolean;
79930
+ reply_to?: string | null;
79931
+ subject_template?: string;
79932
+ timezone?: string;
79933
+ updated_at?: string;
79934
+ updated_by?: string | null;
79935
+ };
79936
+ Relationships: [{
79937
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
79938
+ columns: ["connection_id"];
79939
+ isOneToOne: false;
79940
+ referencedRelation: "email_auth_connections";
79941
+ referencedColumns: ["id"];
79942
+ }, {
79943
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
79944
+ columns: ["connection_id"];
79945
+ isOneToOne: false;
79946
+ referencedRelation: "email_auth_connections_safe";
79947
+ referencedColumns: ["id"];
79948
+ }];
79949
+ };
78802
79950
  planning_monteur_day_locations: {
78803
79951
  Row: {
78804
79952
  created_at: string;
@@ -79186,6 +80334,27 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
79186
80334
  };
79187
80335
  Relationships: [];
79188
80336
  };
80337
+ print_genegeerde_computers: {
80338
+ Row: {
80339
+ computer_naam: string;
80340
+ genegeerd_door: string | null;
80341
+ genegeerd_op: string;
80342
+ id: string;
80343
+ };
80344
+ Insert: {
80345
+ computer_naam: string;
80346
+ genegeerd_door?: string | null;
80347
+ genegeerd_op?: string;
80348
+ id?: string;
80349
+ };
80350
+ Update: {
80351
+ computer_naam?: string;
80352
+ genegeerd_door?: string | null;
80353
+ genegeerd_op?: string;
80354
+ id?: string;
80355
+ };
80356
+ Relationships: [];
80357
+ };
79189
80358
  print_job_logs: {
79190
80359
  Row: {
79191
80360
  created_at: string;
@@ -79456,6 +80625,39 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
79456
80625
  referencedColumns: ["id"];
79457
80626
  }];
79458
80627
  };
80628
+ print_plek_printers: {
80629
+ Row: {
80630
+ id: string;
80631
+ print_plek_id: string;
80632
+ printer_id: string;
80633
+ toegevoegd_op: string;
80634
+ };
80635
+ Insert: {
80636
+ id?: string;
80637
+ print_plek_id: string;
80638
+ printer_id: string;
80639
+ toegevoegd_op?: string;
80640
+ };
80641
+ Update: {
80642
+ id?: string;
80643
+ print_plek_id?: string;
80644
+ printer_id?: string;
80645
+ toegevoegd_op?: string;
80646
+ };
80647
+ Relationships: [{
80648
+ foreignKeyName: "print_plek_printers_print_plek_id_fkey";
80649
+ columns: ["print_plek_id"];
80650
+ isOneToOne: false;
80651
+ referencedRelation: "print_plekken";
80652
+ referencedColumns: ["id"];
80653
+ }, {
80654
+ foreignKeyName: "print_plek_printers_printer_id_fkey";
80655
+ columns: ["printer_id"];
80656
+ isOneToOne: false;
80657
+ referencedRelation: "printers";
80658
+ referencedColumns: ["id"];
80659
+ }];
80660
+ };
79459
80661
  print_plekken: {
79460
80662
  Row: {
79461
80663
  actief: boolean;
@@ -79671,7 +80873,8 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
79671
80873
  created_at: string;
79672
80874
  id: string;
79673
80875
  layout_id: string;
79674
- printer_id: string;
80876
+ printer_id: string | null;
80877
+ printer_ontbreekt_sinds: string | null;
79675
80878
  prioriteit: number;
79676
80879
  updated_at: string;
79677
80880
  };
@@ -79679,7 +80882,8 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
79679
80882
  created_at?: string;
79680
80883
  id?: string;
79681
80884
  layout_id: string;
79682
- printer_id: string;
80885
+ printer_id?: string | null;
80886
+ printer_ontbreekt_sinds?: string | null;
79683
80887
  prioriteit?: number;
79684
80888
  updated_at?: string;
79685
80889
  };
@@ -79687,7 +80891,8 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
79687
80891
  created_at?: string;
79688
80892
  id?: string;
79689
80893
  layout_id?: string;
79690
- printer_id?: string;
80894
+ printer_id?: string | null;
80895
+ printer_ontbreekt_sinds?: string | null;
79691
80896
  prioriteit?: number;
79692
80897
  updated_at?: string;
79693
80898
  };
@@ -85579,12 +86784,14 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
85579
86784
  created_at: string;
85580
86785
  default_quantity: number;
85581
86786
  description: string | null;
85582
- duration_minutes: number | null;
86787
+ duration_minutes: number;
85583
86788
  id: string;
86789
+ labor_minutes: number;
85584
86790
  mandaat_type: string | null;
85585
86791
  name: string;
85586
86792
  price_mode: string;
85587
86793
  sort_order: number;
86794
+ travel_minutes: number;
85588
86795
  unit_price_cents: number;
85589
86796
  updated_at: string;
85590
86797
  };
@@ -85596,12 +86803,14 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
85596
86803
  created_at?: string;
85597
86804
  default_quantity?: number;
85598
86805
  description?: string | null;
85599
- duration_minutes?: number | null;
86806
+ duration_minutes?: number;
85600
86807
  id?: string;
86808
+ labor_minutes?: number;
85601
86809
  mandaat_type?: string | null;
85602
86810
  name: string;
85603
86811
  price_mode?: string;
85604
86812
  sort_order?: number;
86813
+ travel_minutes?: number;
85605
86814
  unit_price_cents?: number;
85606
86815
  updated_at?: string;
85607
86816
  };
@@ -85613,12 +86822,14 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
85613
86822
  created_at?: string;
85614
86823
  default_quantity?: number;
85615
86824
  description?: string | null;
85616
- duration_minutes?: number | null;
86825
+ duration_minutes?: number;
85617
86826
  id?: string;
86827
+ labor_minutes?: number;
85618
86828
  mandaat_type?: string | null;
85619
86829
  name?: string;
85620
86830
  price_mode?: string;
85621
86831
  sort_order?: number;
86832
+ travel_minutes?: number;
85622
86833
  unit_price_cents?: number;
85623
86834
  updated_at?: string;
85624
86835
  };
@@ -87173,6 +88384,12 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
87173
88384
  };
87174
88385
  Returns: undefined;
87175
88386
  };
88387
+ _quote_release_work_order_intern: {
88388
+ Args: {
88389
+ _offerte_id: string;
88390
+ };
88391
+ Returns: import("../integrations/supabase/types").Json;
88392
+ };
87176
88393
  _wo_is_planner: {
87177
88394
  Args: never;
87178
88395
  Returns: boolean;
@@ -92044,6 +93261,12 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
92044
93261
  };
92045
93262
  Returns: import("../integrations/supabase/types").Json;
92046
93263
  };
93264
+ pick_verify_rows: {
93265
+ Args: {
93266
+ _rows: import("../integrations/supabase/types").Json;
93267
+ };
93268
+ Returns: import("../integrations/supabase/types").Json;
93269
+ };
92047
93270
  pickstation_get_orders_raw: {
92048
93271
  Args: never;
92049
93272
  Returns: import("../integrations/supabase/types").Json;
@@ -92178,6 +93401,35 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
92178
93401
  };
92179
93402
  Returns: undefined;
92180
93403
  };
93404
+ printer_gebruik: {
93405
+ Args: {
93406
+ _printer: string;
93407
+ };
93408
+ Returns: import("../integrations/supabase/types").Json;
93409
+ };
93410
+ printer_routering: {
93411
+ Args: {
93412
+ _documenttype: string;
93413
+ _layout_id?: string;
93414
+ _papierformaat?: string;
93415
+ _print_plek_id?: string;
93416
+ _werkplek?: string;
93417
+ };
93418
+ Returns: import("../integrations/supabase/types").Json;
93419
+ };
93420
+ printplek_printer: {
93421
+ Args: {
93422
+ _documenttype: string;
93423
+ _plek: string;
93424
+ };
93425
+ Returns: string;
93426
+ };
93427
+ printplek_verwijder_impact: {
93428
+ Args: {
93429
+ _id: string;
93430
+ };
93431
+ Returns: import("../integrations/supabase/types").Json;
93432
+ };
92181
93433
  process_logistics_event: {
92182
93434
  Args: {
92183
93435
  p_event_id: string;
@@ -92224,6 +93476,12 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
92224
93476
  };
92225
93477
  Returns: import("../integrations/supabase/types").Json;
92226
93478
  };
93479
+ quote_create_from_scratch: {
93480
+ Args: {
93481
+ _payload: import("../integrations/supabase/types").Json;
93482
+ };
93483
+ Returns: import("../integrations/supabase/types").Json;
93484
+ };
92227
93485
  quote_create_from_source: {
92228
93486
  Args: {
92229
93487
  _payload?: import("../integrations/supabase/types").Json;
@@ -92239,6 +93497,13 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
92239
93497
  };
92240
93498
  Returns: boolean;
92241
93499
  };
93500
+ quote_fill_from_form: {
93501
+ Args: {
93502
+ _offerte_id: string;
93503
+ _payload: import("../integrations/supabase/types").Json;
93504
+ };
93505
+ Returns: import("../integrations/supabase/types").Json;
93506
+ };
92242
93507
  quote_get_billable_lines: {
92243
93508
  Args: {
92244
93509
  _quotation_id: string;
@@ -92268,12 +93533,50 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
92268
93533
  };
92269
93534
  Returns: import("../integrations/supabase/types").Json;
92270
93535
  };
93536
+ quote_public_accept: {
93537
+ Args: {
93538
+ _akkoord: boolean;
93539
+ _email: string;
93540
+ _ip_address?: string;
93541
+ _naam: string;
93542
+ _token: string;
93543
+ _user_agent?: string;
93544
+ };
93545
+ Returns: import("../integrations/supabase/types").Json;
93546
+ };
93547
+ quote_public_get: {
93548
+ Args: {
93549
+ _token: string;
93550
+ };
93551
+ Returns: import("../integrations/supabase/types").Json;
93552
+ };
93553
+ quote_public_sign: {
93554
+ Args: {
93555
+ _handtekening: string;
93556
+ _naam: string;
93557
+ _token: string;
93558
+ };
93559
+ Returns: import("../integrations/supabase/types").Json;
93560
+ };
92271
93561
  quote_queue_follow_up: {
92272
93562
  Args: {
92273
93563
  _offerte_id: string;
92274
93564
  };
92275
93565
  Returns: string;
92276
93566
  };
93567
+ quote_release_work_order: {
93568
+ Args: {
93569
+ _offerte_id: string;
93570
+ };
93571
+ Returns: import("../integrations/supabase/types").Json;
93572
+ };
93573
+ quote_sync_work_order: {
93574
+ Args: {
93575
+ _monteur_instructies?: string;
93576
+ _offerte_id: string;
93577
+ };
93578
+ Returns: boolean;
93579
+ };
92277
93580
  recompute_all_reserved_stock: {
92278
93581
  Args: never;
92279
93582
  Returns: undefined;
@@ -93552,6 +94855,19 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
93552
94855
  user_id: string;
93553
94856
  }[];
93554
94857
  };
94858
+ vervang_printer: {
94859
+ Args: {
94860
+ _nieuw: string;
94861
+ _oud: string;
94862
+ };
94863
+ Returns: import("../integrations/supabase/types").Json;
94864
+ };
94865
+ verwijder_printplek: {
94866
+ Args: {
94867
+ _id: string;
94868
+ };
94869
+ Returns: import("../integrations/supabase/types").Json;
94870
+ };
93555
94871
  voorraad_cleanup_old_rows: {
93556
94872
  Args: never;
93557
94873
  Returns: import("../integrations/supabase/types").Json;
@@ -93562,6 +94878,16 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
93562
94878
  };
93563
94879
  Returns: number;
93564
94880
  };
94881
+ werkbon_pakket_tijden: {
94882
+ Args: {
94883
+ _werkbon_id: string;
94884
+ };
94885
+ Returns: {
94886
+ labor_minutes: number;
94887
+ total_minutes: number;
94888
+ travel_minutes: number;
94889
+ }[];
94890
+ };
93565
94891
  werkbon_totalen: {
93566
94892
  Args: {
93567
94893
  _werkbon_id: string;