@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
@@ -3145,6 +3145,7 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
3145
3145
  formaat_code: string;
3146
3146
  id: string;
3147
3147
  printer_id: string | null;
3148
+ printer_ontbreekt_sinds: string | null;
3148
3149
  updated_at: string;
3149
3150
  };
3150
3151
  Insert: {
@@ -3153,6 +3154,7 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
3153
3154
  formaat_code: string;
3154
3155
  id?: string;
3155
3156
  printer_id?: string | null;
3157
+ printer_ontbreekt_sinds?: string | null;
3156
3158
  updated_at?: string;
3157
3159
  };
3158
3160
  Update: {
@@ -3161,6 +3163,7 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
3161
3163
  formaat_code?: string;
3162
3164
  id?: string;
3163
3165
  printer_id?: string | null;
3166
+ printer_ontbreekt_sinds?: string | null;
3164
3167
  updated_at?: string;
3165
3168
  };
3166
3169
  Relationships: [{
@@ -3497,6 +3500,7 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
3497
3500
  papierformaat: string | null;
3498
3501
  print_plek_id: string;
3499
3502
  printer_id: string | null;
3503
+ printer_ontbreekt_sinds: string | null;
3500
3504
  updated_at: string;
3501
3505
  };
3502
3506
  Insert: {
@@ -3506,6 +3510,7 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
3506
3510
  papierformaat?: string | null;
3507
3511
  print_plek_id: string;
3508
3512
  printer_id?: string | null;
3513
+ printer_ontbreekt_sinds?: string | null;
3509
3514
  updated_at?: string;
3510
3515
  };
3511
3516
  Update: {
@@ -3515,6 +3520,7 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
3515
3520
  papierformaat?: string | null;
3516
3521
  print_plek_id?: string;
3517
3522
  printer_id?: string | null;
3523
+ printer_ontbreekt_sinds?: string | null;
3518
3524
  updated_at?: string;
3519
3525
  };
3520
3526
  Relationships: [{
@@ -3538,6 +3544,7 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
3538
3544
  id: string;
3539
3545
  papierformaat: string | null;
3540
3546
  printer_id: string | null;
3547
+ printer_ontbreekt_sinds: string | null;
3541
3548
  updated_at: string;
3542
3549
  werkplek: string;
3543
3550
  };
@@ -3547,6 +3554,7 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
3547
3554
  id?: string;
3548
3555
  papierformaat?: string | null;
3549
3556
  printer_id?: string | null;
3557
+ printer_ontbreekt_sinds?: string | null;
3550
3558
  updated_at?: string;
3551
3559
  werkplek: string;
3552
3560
  };
@@ -3556,6 +3564,7 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
3556
3564
  id?: string;
3557
3565
  papierformaat?: string | null;
3558
3566
  printer_id?: string | null;
3567
+ printer_ontbreekt_sinds?: string | null;
3559
3568
  updated_at?: string;
3560
3569
  werkplek?: string;
3561
3570
  };
@@ -6858,6 +6867,78 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
6858
6867
  referencedColumns: ["id"];
6859
6868
  }];
6860
6869
  };
6870
+ floriday_document_fetch_queue: {
6871
+ Row: {
6872
+ attempts: number;
6873
+ cancelled_reason: string | null;
6874
+ completed_at: string | null;
6875
+ connection_id: string;
6876
+ created_at: string;
6877
+ document_key: string;
6878
+ environment: string;
6879
+ id: string;
6880
+ kind: string;
6881
+ last_error: string | null;
6882
+ last_http_status: number | null;
6883
+ locked_at: string | null;
6884
+ locked_by: string | null;
6885
+ max_attempts: number;
6886
+ next_attempt_at: string;
6887
+ order_ref: string | null;
6888
+ params: import("../integrations/supabase/types").Json;
6889
+ status: string;
6890
+ updated_at: string;
6891
+ };
6892
+ Insert: {
6893
+ attempts?: number;
6894
+ cancelled_reason?: string | null;
6895
+ completed_at?: string | null;
6896
+ connection_id: string;
6897
+ created_at?: string;
6898
+ document_key: string;
6899
+ environment: string;
6900
+ id?: string;
6901
+ kind: string;
6902
+ last_error?: string | null;
6903
+ last_http_status?: number | null;
6904
+ locked_at?: string | null;
6905
+ locked_by?: string | null;
6906
+ max_attempts?: number;
6907
+ next_attempt_at?: string;
6908
+ order_ref?: string | null;
6909
+ params?: import("../integrations/supabase/types").Json;
6910
+ status?: string;
6911
+ updated_at?: string;
6912
+ };
6913
+ Update: {
6914
+ attempts?: number;
6915
+ cancelled_reason?: string | null;
6916
+ completed_at?: string | null;
6917
+ connection_id?: string;
6918
+ created_at?: string;
6919
+ document_key?: string;
6920
+ environment?: string;
6921
+ id?: string;
6922
+ kind?: string;
6923
+ last_error?: string | null;
6924
+ last_http_status?: number | null;
6925
+ locked_at?: string | null;
6926
+ locked_by?: string | null;
6927
+ max_attempts?: number;
6928
+ next_attempt_at?: string;
6929
+ order_ref?: string | null;
6930
+ params?: import("../integrations/supabase/types").Json;
6931
+ status?: string;
6932
+ updated_at?: string;
6933
+ };
6934
+ Relationships: [{
6935
+ foreignKeyName: "floriday_document_fetch_queue_connection_id_fkey";
6936
+ columns: ["connection_id"];
6937
+ isOneToOne: false;
6938
+ referencedRelation: "floriday_connections";
6939
+ referencedColumns: ["id"];
6940
+ }];
6941
+ };
6861
6942
  floriday_fulfillment_orders_cache: {
6862
6943
  Row: {
6863
6944
  auction_date: string | null;
@@ -9390,6 +9471,57 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
9390
9471
  };
9391
9472
  Relationships: [];
9392
9473
  };
9474
+ itk_offerte_acceptaties: {
9475
+ Row: {
9476
+ accepted_at: string;
9477
+ akkoordgever_email: string;
9478
+ akkoordgever_naam: string;
9479
+ akkoordverklaring: string;
9480
+ id: string;
9481
+ inhoud_hash: string;
9482
+ ip_address: unknown;
9483
+ offerte_id: string;
9484
+ offerte_number: string;
9485
+ offerte_snapshot: import("../integrations/supabase/types").Json;
9486
+ user_agent: string | null;
9487
+ versie: string;
9488
+ };
9489
+ Insert: {
9490
+ accepted_at?: string;
9491
+ akkoordgever_email: string;
9492
+ akkoordgever_naam: string;
9493
+ akkoordverklaring: string;
9494
+ id?: string;
9495
+ inhoud_hash: string;
9496
+ ip_address?: unknown;
9497
+ offerte_id: string;
9498
+ offerte_number: string;
9499
+ offerte_snapshot: import("../integrations/supabase/types").Json;
9500
+ user_agent?: string | null;
9501
+ versie: string;
9502
+ };
9503
+ Update: {
9504
+ accepted_at?: string;
9505
+ akkoordgever_email?: string;
9506
+ akkoordgever_naam?: string;
9507
+ akkoordverklaring?: string;
9508
+ id?: string;
9509
+ inhoud_hash?: string;
9510
+ ip_address?: unknown;
9511
+ offerte_id?: string;
9512
+ offerte_number?: string;
9513
+ offerte_snapshot?: import("../integrations/supabase/types").Json;
9514
+ user_agent?: string | null;
9515
+ versie?: string;
9516
+ };
9517
+ Relationships: [{
9518
+ foreignKeyName: "itk_offerte_acceptaties_offerte_id_fkey";
9519
+ columns: ["offerte_id"];
9520
+ isOneToOne: true;
9521
+ referencedRelation: "itk_offertes";
9522
+ referencedColumns: ["id"];
9523
+ }];
9524
+ };
9393
9525
  itk_offerte_events: {
9394
9526
  Row: {
9395
9527
  created_at: string;
@@ -9603,6 +9735,7 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
9603
9735
  itk_offertes: {
9604
9736
  Row: {
9605
9737
  aandachtspunten: string | null;
9738
+ acceptance_id: string | null;
9606
9739
  ai_generated: boolean;
9607
9740
  approved_at: string | null;
9608
9741
  binnen_mandaat: boolean;
@@ -9621,6 +9754,11 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
9621
9754
  onderwerp: string | null;
9622
9755
  rejected_at: string | null;
9623
9756
  sent_at: string | null;
9757
+ sign_token: string;
9758
+ signature_data: string | null;
9759
+ signed_at: string | null;
9760
+ signer_email: string | null;
9761
+ signer_name: string | null;
9624
9762
  source_number: string | null;
9625
9763
  source_ref: string | null;
9626
9764
  source_type: string;
@@ -9635,11 +9773,13 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
9635
9773
  viewed_at: string | null;
9636
9774
  volgnummer: number | null;
9637
9775
  voorwaarden: string | null;
9776
+ werkbon_concept: import("../integrations/supabase/types").Json | null;
9638
9777
  werkbon_id: string | null;
9639
9778
  work_location_id: string | null;
9640
9779
  };
9641
9780
  Insert: {
9642
9781
  aandachtspunten?: string | null;
9782
+ acceptance_id?: string | null;
9643
9783
  ai_generated?: boolean;
9644
9784
  approved_at?: string | null;
9645
9785
  binnen_mandaat?: boolean;
@@ -9658,6 +9798,11 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
9658
9798
  onderwerp?: string | null;
9659
9799
  rejected_at?: string | null;
9660
9800
  sent_at?: string | null;
9801
+ sign_token?: string;
9802
+ signature_data?: string | null;
9803
+ signed_at?: string | null;
9804
+ signer_email?: string | null;
9805
+ signer_name?: string | null;
9661
9806
  source_number?: string | null;
9662
9807
  source_ref?: string | null;
9663
9808
  source_type?: string;
@@ -9672,11 +9817,13 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
9672
9817
  viewed_at?: string | null;
9673
9818
  volgnummer?: number | null;
9674
9819
  voorwaarden?: string | null;
9820
+ werkbon_concept?: import("../integrations/supabase/types").Json | null;
9675
9821
  werkbon_id?: string | null;
9676
9822
  work_location_id?: string | null;
9677
9823
  };
9678
9824
  Update: {
9679
9825
  aandachtspunten?: string | null;
9826
+ acceptance_id?: string | null;
9680
9827
  ai_generated?: boolean;
9681
9828
  approved_at?: string | null;
9682
9829
  binnen_mandaat?: boolean;
@@ -9695,6 +9842,11 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
9695
9842
  onderwerp?: string | null;
9696
9843
  rejected_at?: string | null;
9697
9844
  sent_at?: string | null;
9845
+ sign_token?: string;
9846
+ signature_data?: string | null;
9847
+ signed_at?: string | null;
9848
+ signer_email?: string | null;
9849
+ signer_name?: string | null;
9698
9850
  source_number?: string | null;
9699
9851
  source_ref?: string | null;
9700
9852
  source_type?: string;
@@ -9709,10 +9861,17 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
9709
9861
  viewed_at?: string | null;
9710
9862
  volgnummer?: number | null;
9711
9863
  voorwaarden?: string | null;
9864
+ werkbon_concept?: import("../integrations/supabase/types").Json | null;
9712
9865
  werkbon_id?: string | null;
9713
9866
  work_location_id?: string | null;
9714
9867
  };
9715
9868
  Relationships: [{
9869
+ foreignKeyName: "itk_offertes_acceptance_id_fkey";
9870
+ columns: ["acceptance_id"];
9871
+ isOneToOne: false;
9872
+ referencedRelation: "itk_offerte_acceptaties";
9873
+ referencedColumns: ["id"];
9874
+ }, {
9716
9875
  foreignKeyName: "itk_offertes_contact_id_fkey";
9717
9876
  columns: ["contact_id"];
9718
9877
  isOneToOne: false;
@@ -16254,6 +16413,54 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
16254
16413
  };
16255
16414
  Relationships: [];
16256
16415
  };
16416
+ planning_confirmation_log: {
16417
+ Row: {
16418
+ created_at: string;
16419
+ end_at: string;
16420
+ id: string;
16421
+ outbox_id: string | null;
16422
+ planning_item_id: string;
16423
+ reason: string | null;
16424
+ recipient: string | null;
16425
+ start_at: string;
16426
+ status: string;
16427
+ };
16428
+ Insert: {
16429
+ created_at?: string;
16430
+ end_at: string;
16431
+ id?: string;
16432
+ outbox_id?: string | null;
16433
+ planning_item_id: string;
16434
+ reason?: string | null;
16435
+ recipient?: string | null;
16436
+ start_at: string;
16437
+ status: string;
16438
+ };
16439
+ Update: {
16440
+ created_at?: string;
16441
+ end_at?: string;
16442
+ id?: string;
16443
+ outbox_id?: string | null;
16444
+ planning_item_id?: string;
16445
+ reason?: string | null;
16446
+ recipient?: string | null;
16447
+ start_at?: string;
16448
+ status?: string;
16449
+ };
16450
+ Relationships: [{
16451
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
16452
+ columns: ["planning_item_id"];
16453
+ isOneToOne: false;
16454
+ referencedRelation: "planning_items";
16455
+ referencedColumns: ["id"];
16456
+ }, {
16457
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
16458
+ columns: ["planning_item_id"];
16459
+ isOneToOne: false;
16460
+ referencedRelation: "planning_overview";
16461
+ referencedColumns: ["id"];
16462
+ }];
16463
+ };
16257
16464
  planning_item_assistants: {
16258
16465
  Row: {
16259
16466
  created_at: string;
@@ -16338,6 +16545,63 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
16338
16545
  referencedColumns: ["id"];
16339
16546
  }];
16340
16547
  };
16548
+ planning_mail_settings: {
16549
+ Row: {
16550
+ body_template: string;
16551
+ cc: string[];
16552
+ connection_id: string | null;
16553
+ created_at: string;
16554
+ email_purpose: string | null;
16555
+ enabled: boolean;
16556
+ id: boolean;
16557
+ reply_to: string | null;
16558
+ subject_template: string;
16559
+ timezone: string;
16560
+ updated_at: string;
16561
+ updated_by: string | null;
16562
+ };
16563
+ Insert: {
16564
+ body_template?: string;
16565
+ cc?: string[];
16566
+ connection_id?: string | null;
16567
+ created_at?: string;
16568
+ email_purpose?: string | null;
16569
+ enabled?: boolean;
16570
+ id?: boolean;
16571
+ reply_to?: string | null;
16572
+ subject_template?: string;
16573
+ timezone?: string;
16574
+ updated_at?: string;
16575
+ updated_by?: string | null;
16576
+ };
16577
+ Update: {
16578
+ body_template?: string;
16579
+ cc?: string[];
16580
+ connection_id?: string | null;
16581
+ created_at?: string;
16582
+ email_purpose?: string | null;
16583
+ enabled?: boolean;
16584
+ id?: boolean;
16585
+ reply_to?: string | null;
16586
+ subject_template?: string;
16587
+ timezone?: string;
16588
+ updated_at?: string;
16589
+ updated_by?: string | null;
16590
+ };
16591
+ Relationships: [{
16592
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
16593
+ columns: ["connection_id"];
16594
+ isOneToOne: false;
16595
+ referencedRelation: "email_auth_connections";
16596
+ referencedColumns: ["id"];
16597
+ }, {
16598
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
16599
+ columns: ["connection_id"];
16600
+ isOneToOne: false;
16601
+ referencedRelation: "email_auth_connections_safe";
16602
+ referencedColumns: ["id"];
16603
+ }];
16604
+ };
16341
16605
  planning_monteur_day_locations: {
16342
16606
  Row: {
16343
16607
  created_at: string;
@@ -16725,6 +16989,27 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
16725
16989
  };
16726
16990
  Relationships: [];
16727
16991
  };
16992
+ print_genegeerde_computers: {
16993
+ Row: {
16994
+ computer_naam: string;
16995
+ genegeerd_door: string | null;
16996
+ genegeerd_op: string;
16997
+ id: string;
16998
+ };
16999
+ Insert: {
17000
+ computer_naam: string;
17001
+ genegeerd_door?: string | null;
17002
+ genegeerd_op?: string;
17003
+ id?: string;
17004
+ };
17005
+ Update: {
17006
+ computer_naam?: string;
17007
+ genegeerd_door?: string | null;
17008
+ genegeerd_op?: string;
17009
+ id?: string;
17010
+ };
17011
+ Relationships: [];
17012
+ };
16728
17013
  print_job_logs: {
16729
17014
  Row: {
16730
17015
  created_at: string;
@@ -16995,6 +17280,39 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
16995
17280
  referencedColumns: ["id"];
16996
17281
  }];
16997
17282
  };
17283
+ print_plek_printers: {
17284
+ Row: {
17285
+ id: string;
17286
+ print_plek_id: string;
17287
+ printer_id: string;
17288
+ toegevoegd_op: string;
17289
+ };
17290
+ Insert: {
17291
+ id?: string;
17292
+ print_plek_id: string;
17293
+ printer_id: string;
17294
+ toegevoegd_op?: string;
17295
+ };
17296
+ Update: {
17297
+ id?: string;
17298
+ print_plek_id?: string;
17299
+ printer_id?: string;
17300
+ toegevoegd_op?: string;
17301
+ };
17302
+ Relationships: [{
17303
+ foreignKeyName: "print_plek_printers_print_plek_id_fkey";
17304
+ columns: ["print_plek_id"];
17305
+ isOneToOne: false;
17306
+ referencedRelation: "print_plekken";
17307
+ referencedColumns: ["id"];
17308
+ }, {
17309
+ foreignKeyName: "print_plek_printers_printer_id_fkey";
17310
+ columns: ["printer_id"];
17311
+ isOneToOne: false;
17312
+ referencedRelation: "printers";
17313
+ referencedColumns: ["id"];
17314
+ }];
17315
+ };
16998
17316
  print_plekken: {
16999
17317
  Row: {
17000
17318
  actief: boolean;
@@ -17210,7 +17528,8 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
17210
17528
  created_at: string;
17211
17529
  id: string;
17212
17530
  layout_id: string;
17213
- printer_id: string;
17531
+ printer_id: string | null;
17532
+ printer_ontbreekt_sinds: string | null;
17214
17533
  prioriteit: number;
17215
17534
  updated_at: string;
17216
17535
  };
@@ -17218,7 +17537,8 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
17218
17537
  created_at?: string;
17219
17538
  id?: string;
17220
17539
  layout_id: string;
17221
- printer_id: string;
17540
+ printer_id?: string | null;
17541
+ printer_ontbreekt_sinds?: string | null;
17222
17542
  prioriteit?: number;
17223
17543
  updated_at?: string;
17224
17544
  };
@@ -17226,7 +17546,8 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
17226
17546
  created_at?: string;
17227
17547
  id?: string;
17228
17548
  layout_id?: string;
17229
- printer_id?: string;
17549
+ printer_id?: string | null;
17550
+ printer_ontbreekt_sinds?: string | null;
17230
17551
  prioriteit?: number;
17231
17552
  updated_at?: string;
17232
17553
  };
@@ -23118,12 +23439,14 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
23118
23439
  created_at: string;
23119
23440
  default_quantity: number;
23120
23441
  description: string | null;
23121
- duration_minutes: number | null;
23442
+ duration_minutes: number;
23122
23443
  id: string;
23444
+ labor_minutes: number;
23123
23445
  mandaat_type: string | null;
23124
23446
  name: string;
23125
23447
  price_mode: string;
23126
23448
  sort_order: number;
23449
+ travel_minutes: number;
23127
23450
  unit_price_cents: number;
23128
23451
  updated_at: string;
23129
23452
  };
@@ -23135,12 +23458,14 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
23135
23458
  created_at?: string;
23136
23459
  default_quantity?: number;
23137
23460
  description?: string | null;
23138
- duration_minutes?: number | null;
23461
+ duration_minutes?: number;
23139
23462
  id?: string;
23463
+ labor_minutes?: number;
23140
23464
  mandaat_type?: string | null;
23141
23465
  name: string;
23142
23466
  price_mode?: string;
23143
23467
  sort_order?: number;
23468
+ travel_minutes?: number;
23144
23469
  unit_price_cents?: number;
23145
23470
  updated_at?: string;
23146
23471
  };
@@ -23152,12 +23477,14 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
23152
23477
  created_at?: string;
23153
23478
  default_quantity?: number;
23154
23479
  description?: string | null;
23155
- duration_minutes?: number | null;
23480
+ duration_minutes?: number;
23156
23481
  id?: string;
23482
+ labor_minutes?: number;
23157
23483
  mandaat_type?: string | null;
23158
23484
  name?: string;
23159
23485
  price_mode?: string;
23160
23486
  sort_order?: number;
23487
+ travel_minutes?: number;
23161
23488
  unit_price_cents?: number;
23162
23489
  updated_at?: string;
23163
23490
  };
@@ -24712,6 +25039,12 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
24712
25039
  };
24713
25040
  Returns: undefined;
24714
25041
  };
25042
+ _quote_release_work_order_intern: {
25043
+ Args: {
25044
+ _offerte_id: string;
25045
+ };
25046
+ Returns: import("../integrations/supabase/types").Json;
25047
+ };
24715
25048
  _wo_is_planner: {
24716
25049
  Args: never;
24717
25050
  Returns: boolean;
@@ -29583,6 +29916,12 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
29583
29916
  };
29584
29917
  Returns: import("../integrations/supabase/types").Json;
29585
29918
  };
29919
+ pick_verify_rows: {
29920
+ Args: {
29921
+ _rows: import("../integrations/supabase/types").Json;
29922
+ };
29923
+ Returns: import("../integrations/supabase/types").Json;
29924
+ };
29586
29925
  pickstation_get_orders_raw: {
29587
29926
  Args: never;
29588
29927
  Returns: import("../integrations/supabase/types").Json;
@@ -29717,6 +30056,35 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
29717
30056
  };
29718
30057
  Returns: undefined;
29719
30058
  };
30059
+ printer_gebruik: {
30060
+ Args: {
30061
+ _printer: string;
30062
+ };
30063
+ Returns: import("../integrations/supabase/types").Json;
30064
+ };
30065
+ printer_routering: {
30066
+ Args: {
30067
+ _documenttype: string;
30068
+ _layout_id?: string;
30069
+ _papierformaat?: string;
30070
+ _print_plek_id?: string;
30071
+ _werkplek?: string;
30072
+ };
30073
+ Returns: import("../integrations/supabase/types").Json;
30074
+ };
30075
+ printplek_printer: {
30076
+ Args: {
30077
+ _documenttype: string;
30078
+ _plek: string;
30079
+ };
30080
+ Returns: string;
30081
+ };
30082
+ printplek_verwijder_impact: {
30083
+ Args: {
30084
+ _id: string;
30085
+ };
30086
+ Returns: import("../integrations/supabase/types").Json;
30087
+ };
29720
30088
  process_logistics_event: {
29721
30089
  Args: {
29722
30090
  p_event_id: string;
@@ -29763,6 +30131,12 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
29763
30131
  };
29764
30132
  Returns: import("../integrations/supabase/types").Json;
29765
30133
  };
30134
+ quote_create_from_scratch: {
30135
+ Args: {
30136
+ _payload: import("../integrations/supabase/types").Json;
30137
+ };
30138
+ Returns: import("../integrations/supabase/types").Json;
30139
+ };
29766
30140
  quote_create_from_source: {
29767
30141
  Args: {
29768
30142
  _payload?: import("../integrations/supabase/types").Json;
@@ -29778,6 +30152,13 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
29778
30152
  };
29779
30153
  Returns: boolean;
29780
30154
  };
30155
+ quote_fill_from_form: {
30156
+ Args: {
30157
+ _offerte_id: string;
30158
+ _payload: import("../integrations/supabase/types").Json;
30159
+ };
30160
+ Returns: import("../integrations/supabase/types").Json;
30161
+ };
29781
30162
  quote_get_billable_lines: {
29782
30163
  Args: {
29783
30164
  _quotation_id: string;
@@ -29807,12 +30188,50 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
29807
30188
  };
29808
30189
  Returns: import("../integrations/supabase/types").Json;
29809
30190
  };
30191
+ quote_public_accept: {
30192
+ Args: {
30193
+ _akkoord: boolean;
30194
+ _email: string;
30195
+ _ip_address?: string;
30196
+ _naam: string;
30197
+ _token: string;
30198
+ _user_agent?: string;
30199
+ };
30200
+ Returns: import("../integrations/supabase/types").Json;
30201
+ };
30202
+ quote_public_get: {
30203
+ Args: {
30204
+ _token: string;
30205
+ };
30206
+ Returns: import("../integrations/supabase/types").Json;
30207
+ };
30208
+ quote_public_sign: {
30209
+ Args: {
30210
+ _handtekening: string;
30211
+ _naam: string;
30212
+ _token: string;
30213
+ };
30214
+ Returns: import("../integrations/supabase/types").Json;
30215
+ };
29810
30216
  quote_queue_follow_up: {
29811
30217
  Args: {
29812
30218
  _offerte_id: string;
29813
30219
  };
29814
30220
  Returns: string;
29815
30221
  };
30222
+ quote_release_work_order: {
30223
+ Args: {
30224
+ _offerte_id: string;
30225
+ };
30226
+ Returns: import("../integrations/supabase/types").Json;
30227
+ };
30228
+ quote_sync_work_order: {
30229
+ Args: {
30230
+ _monteur_instructies?: string;
30231
+ _offerte_id: string;
30232
+ };
30233
+ Returns: boolean;
30234
+ };
29816
30235
  recompute_all_reserved_stock: {
29817
30236
  Args: never;
29818
30237
  Returns: undefined;
@@ -31091,6 +31510,19 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
31091
31510
  user_id: string;
31092
31511
  }[];
31093
31512
  };
31513
+ vervang_printer: {
31514
+ Args: {
31515
+ _nieuw: string;
31516
+ _oud: string;
31517
+ };
31518
+ Returns: import("../integrations/supabase/types").Json;
31519
+ };
31520
+ verwijder_printplek: {
31521
+ Args: {
31522
+ _id: string;
31523
+ };
31524
+ Returns: import("../integrations/supabase/types").Json;
31525
+ };
31094
31526
  voorraad_cleanup_old_rows: {
31095
31527
  Args: never;
31096
31528
  Returns: import("../integrations/supabase/types").Json;
@@ -31101,6 +31533,16 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
31101
31533
  };
31102
31534
  Returns: number;
31103
31535
  };
31536
+ werkbon_pakket_tijden: {
31537
+ Args: {
31538
+ _werkbon_id: string;
31539
+ };
31540
+ Returns: {
31541
+ labor_minutes: number;
31542
+ total_minutes: number;
31543
+ travel_minutes: number;
31544
+ }[];
31545
+ };
31104
31546
  werkbon_totalen: {
31105
31547
  Args: {
31106
31548
  _werkbon_id: string;