@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 supabase: SupabaseClient<Database, "public", "public", {
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 supabase: SupabaseClient<Database, "public", "public", {
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 supabase: SupabaseClient<Database, "public", "public", {
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 supabase: SupabaseClient<Database, "public", "public", {
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 supabase: SupabaseClient<Database, "public", "public", {
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 supabase: SupabaseClient<Database, "public", "public", {
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 supabase: SupabaseClient<Database, "public", "public", {
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 supabase: SupabaseClient<Database, "public", "public", {
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 supabase: SupabaseClient<Database, "public", "public", {
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 supabase: SupabaseClient<Database, "public", "public", {
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("./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("./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("./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 supabase: SupabaseClient<Database, "public", "public", {
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("./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("./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("./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 supabase: SupabaseClient<Database, "public", "public", {
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 supabase: SupabaseClient<Database, "public", "public", {
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 supabase: SupabaseClient<Database, "public", "public", {
9631
9769
  viewed_at: string | null;
9632
9770
  volgnummer: number | null;
9633
9771
  voorwaarden: string | null;
9772
+ werkbon_concept: import("./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 supabase: SupabaseClient<Database, "public", "public", {
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 supabase: SupabaseClient<Database, "public", "public", {
9668
9813
  viewed_at?: string | null;
9669
9814
  volgnummer?: number | null;
9670
9815
  voorwaarden?: string | null;
9816
+ werkbon_concept?: import("./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 supabase: SupabaseClient<Database, "public", "public", {
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 supabase: SupabaseClient<Database, "public", "public", {
9705
9857
  viewed_at?: string | null;
9706
9858
  volgnummer?: number | null;
9707
9859
  voorwaarden?: string | null;
9860
+ werkbon_concept?: import("./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 supabase: SupabaseClient<Database, "public", "public", {
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 supabase: SupabaseClient<Database, "public", "public", {
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 supabase: SupabaseClient<Database, "public", "public", {
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 supabase: SupabaseClient<Database, "public", "public", {
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 supabase: SupabaseClient<Database, "public", "public", {
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 supabase: SupabaseClient<Database, "public", "public", {
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 supabase: SupabaseClient<Database, "public", "public", {
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 supabase: SupabaseClient<Database, "public", "public", {
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 supabase: SupabaseClient<Database, "public", "public", {
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 supabase: SupabaseClient<Database, "public", "public", {
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 supabase: SupabaseClient<Database, "public", "public", {
24708
25035
  };
24709
25036
  Returns: undefined;
24710
25037
  };
25038
+ _quote_release_work_order_intern: {
25039
+ Args: {
25040
+ _offerte_id: string;
25041
+ };
25042
+ Returns: import("./types").Json;
25043
+ };
24711
25044
  _wo_is_planner: {
24712
25045
  Args: never;
24713
25046
  Returns: boolean;
@@ -29579,6 +29912,12 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
29579
29912
  };
29580
29913
  Returns: import("./types").Json;
29581
29914
  };
29915
+ pick_verify_rows: {
29916
+ Args: {
29917
+ _rows: import("./types").Json;
29918
+ };
29919
+ Returns: import("./types").Json;
29920
+ };
29582
29921
  pickstation_get_orders_raw: {
29583
29922
  Args: never;
29584
29923
  Returns: import("./types").Json;
@@ -29713,6 +30052,35 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
29713
30052
  };
29714
30053
  Returns: undefined;
29715
30054
  };
30055
+ printer_gebruik: {
30056
+ Args: {
30057
+ _printer: string;
30058
+ };
30059
+ Returns: import("./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("./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("./types").Json;
30083
+ };
29716
30084
  process_logistics_event: {
29717
30085
  Args: {
29718
30086
  p_event_id: string;
@@ -29759,6 +30127,12 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
29759
30127
  };
29760
30128
  Returns: import("./types").Json;
29761
30129
  };
30130
+ quote_create_from_scratch: {
30131
+ Args: {
30132
+ _payload: import("./types").Json;
30133
+ };
30134
+ Returns: import("./types").Json;
30135
+ };
29762
30136
  quote_create_from_source: {
29763
30137
  Args: {
29764
30138
  _payload?: import("./types").Json;
@@ -29774,6 +30148,13 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
29774
30148
  };
29775
30149
  Returns: boolean;
29776
30150
  };
30151
+ quote_fill_from_form: {
30152
+ Args: {
30153
+ _offerte_id: string;
30154
+ _payload: import("./types").Json;
30155
+ };
30156
+ Returns: import("./types").Json;
30157
+ };
29777
30158
  quote_get_billable_lines: {
29778
30159
  Args: {
29779
30160
  _quotation_id: string;
@@ -29803,12 +30184,50 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
29803
30184
  };
29804
30185
  Returns: import("./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("./types").Json;
30197
+ };
30198
+ quote_public_get: {
30199
+ Args: {
30200
+ _token: string;
30201
+ };
30202
+ Returns: import("./types").Json;
30203
+ };
30204
+ quote_public_sign: {
30205
+ Args: {
30206
+ _handtekening: string;
30207
+ _naam: string;
30208
+ _token: string;
30209
+ };
30210
+ Returns: import("./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("./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 supabase: SupabaseClient<Database, "public", "public", {
31087
31506
  user_id: string;
31088
31507
  }[];
31089
31508
  };
31509
+ vervang_printer: {
31510
+ Args: {
31511
+ _nieuw: string;
31512
+ _oud: string;
31513
+ };
31514
+ Returns: import("./types").Json;
31515
+ };
31516
+ verwijder_printplek: {
31517
+ Args: {
31518
+ _id: string;
31519
+ };
31520
+ Returns: import("./types").Json;
31521
+ };
31090
31522
  voorraad_cleanup_old_rows: {
31091
31523
  Args: never;
31092
31524
  Returns: import("./types").Json;
@@ -31097,6 +31529,16 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
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;