@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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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("./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("./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("./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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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("./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("./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("./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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
9630
9768
  viewed_at: string | null;
9631
9769
  volgnummer: number | null;
9632
9770
  voorwaarden: string | null;
9771
+ werkbon_concept: import("./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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
9667
9812
  viewed_at?: string | null;
9668
9813
  volgnummer?: number | null;
9669
9814
  voorwaarden?: string | null;
9815
+ werkbon_concept?: import("./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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
9704
9856
  viewed_at?: string | null;
9705
9857
  volgnummer?: number | null;
9706
9858
  voorwaarden?: string | null;
9859
+ werkbon_concept?: import("./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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
24707
25034
  };
24708
25035
  Returns: undefined;
24709
25036
  };
25037
+ _quote_release_work_order_intern: {
25038
+ Args: {
25039
+ _offerte_id: string;
25040
+ };
25041
+ Returns: import("./types").Json;
25042
+ };
24710
25043
  _wo_is_planner: {
24711
25044
  Args: never;
24712
25045
  Returns: boolean;
@@ -29578,6 +29911,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
29578
29911
  };
29579
29912
  Returns: import("./types").Json;
29580
29913
  };
29914
+ pick_verify_rows: {
29915
+ Args: {
29916
+ _rows: import("./types").Json;
29917
+ };
29918
+ Returns: import("./types").Json;
29919
+ };
29581
29920
  pickstation_get_orders_raw: {
29582
29921
  Args: never;
29583
29922
  Returns: import("./types").Json;
@@ -29712,6 +30051,35 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
29712
30051
  };
29713
30052
  Returns: undefined;
29714
30053
  };
30054
+ printer_gebruik: {
30055
+ Args: {
30056
+ _printer: string;
30057
+ };
30058
+ Returns: import("./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("./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("./types").Json;
30082
+ };
29715
30083
  process_logistics_event: {
29716
30084
  Args: {
29717
30085
  p_event_id: string;
@@ -29758,6 +30126,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
29758
30126
  };
29759
30127
  Returns: import("./types").Json;
29760
30128
  };
30129
+ quote_create_from_scratch: {
30130
+ Args: {
30131
+ _payload: import("./types").Json;
30132
+ };
30133
+ Returns: import("./types").Json;
30134
+ };
29761
30135
  quote_create_from_source: {
29762
30136
  Args: {
29763
30137
  _payload?: import("./types").Json;
@@ -29773,6 +30147,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
29773
30147
  };
29774
30148
  Returns: boolean;
29775
30149
  };
30150
+ quote_fill_from_form: {
30151
+ Args: {
30152
+ _offerte_id: string;
30153
+ _payload: import("./types").Json;
30154
+ };
30155
+ Returns: import("./types").Json;
30156
+ };
29776
30157
  quote_get_billable_lines: {
29777
30158
  Args: {
29778
30159
  _quotation_id: string;
@@ -29802,12 +30183,50 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
29802
30183
  };
29803
30184
  Returns: import("./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("./types").Json;
30196
+ };
30197
+ quote_public_get: {
30198
+ Args: {
30199
+ _token: string;
30200
+ };
30201
+ Returns: import("./types").Json;
30202
+ };
30203
+ quote_public_sign: {
30204
+ Args: {
30205
+ _handtekening: string;
30206
+ _naam: string;
30207
+ _token: string;
30208
+ };
30209
+ Returns: import("./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("./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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
31086
31505
  user_id: string;
31087
31506
  }[];
31088
31507
  };
31508
+ vervang_printer: {
31509
+ Args: {
31510
+ _nieuw: string;
31511
+ _oud: string;
31512
+ };
31513
+ Returns: import("./types").Json;
31514
+ };
31515
+ verwijder_printplek: {
31516
+ Args: {
31517
+ _id: string;
31518
+ };
31519
+ Returns: import("./types").Json;
31520
+ };
31089
31521
  voorraad_cleanup_old_rows: {
31090
31522
  Args: never;
31091
31523
  Returns: import("./types").Json;
@@ -31096,6 +31528,16 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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;