@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
@@ -3140,6 +3140,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
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 startRecalcJob: import("@tanstack/start-client-core").Optio
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 startRecalcJob: import("@tanstack/start-client-core").Optio
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 startRecalcJob: import("@tanstack/start-client-core").Optio
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 startRecalcJob: import("@tanstack/start-client-core").Optio
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 startRecalcJob: import("@tanstack/start-client-core").Optio
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 startRecalcJob: import("@tanstack/start-client-core").Optio
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 startRecalcJob: import("@tanstack/start-client-core").Optio
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 startRecalcJob: import("@tanstack/start-client-core").Optio
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 startRecalcJob: import("@tanstack/start-client-core").Optio
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 startRecalcJob: import("@tanstack/start-client-core").Optio
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 startRecalcJob: import("@tanstack/start-client-core").Optio
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 startRecalcJob: import("@tanstack/start-client-core").Optio
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 startRecalcJob: import("@tanstack/start-client-core").Optio
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 startRecalcJob: import("@tanstack/start-client-core").Optio
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 startRecalcJob: import("@tanstack/start-client-core").Optio
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 startRecalcJob: import("@tanstack/start-client-core").Optio
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 startRecalcJob: import("@tanstack/start-client-core").Optio
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 startRecalcJob: import("@tanstack/start-client-core").Optio
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 startRecalcJob: import("@tanstack/start-client-core").Optio
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 startRecalcJob: import("@tanstack/start-client-core").Optio
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 startRecalcJob: import("@tanstack/start-client-core").Optio
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 startRecalcJob: import("@tanstack/start-client-core").Optio
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 startRecalcJob: import("@tanstack/start-client-core").Optio
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 startRecalcJob: import("@tanstack/start-client-core").Optio
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 startRecalcJob: import("@tanstack/start-client-core").Optio
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 startRecalcJob: import("@tanstack/start-client-core").Optio
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 startRecalcJob: import("@tanstack/start-client-core").Optio
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 startRecalcJob: import("@tanstack/start-client-core").Optio
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 startRecalcJob: import("@tanstack/start-client-core").Optio
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 startRecalcJob: import("@tanstack/start-client-core").Optio
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 startRecalcJob: import("@tanstack/start-client-core").Optio
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 startRecalcJob: import("@tanstack/start-client-core").Optio
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 startRecalcJob: import("@tanstack/start-client-core").Optio
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 startRecalcJob: import("@tanstack/start-client-core").Optio
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 startRecalcJob: import("@tanstack/start-client-core").Optio
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 tickRecalcJob: import("@tanstack/start-client-core").Option
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 tickRecalcJob: import("@tanstack/start-client-core").Option
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 tickRecalcJob: import("@tanstack/start-client-core").Option
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 tickRecalcJob: import("@tanstack/start-client-core").Option
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 tickRecalcJob: import("@tanstack/start-client-core").Option
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 tickRecalcJob: import("@tanstack/start-client-core").Option
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 tickRecalcJob: import("@tanstack/start-client-core").Option
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 tickRecalcJob: import("@tanstack/start-client-core").Option
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 tickRecalcJob: import("@tanstack/start-client-core").Option
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 tickRecalcJob: import("@tanstack/start-client-core").Option
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 tickRecalcJob: import("@tanstack/start-client-core").Option
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 tickRecalcJob: import("@tanstack/start-client-core").Option
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 tickRecalcJob: import("@tanstack/start-client-core").Option
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 tickRecalcJob: import("@tanstack/start-client-core").Option
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 tickRecalcJob: import("@tanstack/start-client-core").Option
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 tickRecalcJob: import("@tanstack/start-client-core").Option
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 tickRecalcJob: import("@tanstack/start-client-core").Option
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 tickRecalcJob: import("@tanstack/start-client-core").Option
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 tickRecalcJob: import("@tanstack/start-client-core").Option
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 tickRecalcJob: import("@tanstack/start-client-core").Option
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 tickRecalcJob: import("@tanstack/start-client-core").Option
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 tickRecalcJob: import("@tanstack/start-client-core").Option
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 tickRecalcJob: import("@tanstack/start-client-core").Option
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 tickRecalcJob: import("@tanstack/start-client-core").Option
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 tickRecalcJob: import("@tanstack/start-client-core").Option
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 tickRecalcJob: import("@tanstack/start-client-core").Option
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 tickRecalcJob: import("@tanstack/start-client-core").Option
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 tickRecalcJob: import("@tanstack/start-client-core").Option
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 tickRecalcJob: import("@tanstack/start-client-core").Option
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 tickRecalcJob: import("@tanstack/start-client-core").Option
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 tickRecalcJob: import("@tanstack/start-client-core").Option
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 tickRecalcJob: import("@tanstack/start-client-core").Option
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 tickRecalcJob: import("@tanstack/start-client-core").Option
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 tickRecalcJob: import("@tanstack/start-client-core").Option
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 tickRecalcJob: import("@tanstack/start-client-core").Option
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 tickRecalcJob: import("@tanstack/start-client-core").Option
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;