@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
@@ -3205,6 +3205,7 @@ export type Database = {
3205
3205
  formaat_code: string;
3206
3206
  id: string;
3207
3207
  printer_id: string | null;
3208
+ printer_ontbreekt_sinds: string | null;
3208
3209
  updated_at: string;
3209
3210
  };
3210
3211
  Insert: {
@@ -3213,6 +3214,7 @@ export type Database = {
3213
3214
  formaat_code: string;
3214
3215
  id?: string;
3215
3216
  printer_id?: string | null;
3217
+ printer_ontbreekt_sinds?: string | null;
3216
3218
  updated_at?: string;
3217
3219
  };
3218
3220
  Update: {
@@ -3221,6 +3223,7 @@ export type Database = {
3221
3223
  formaat_code?: string;
3222
3224
  id?: string;
3223
3225
  printer_id?: string | null;
3226
+ printer_ontbreekt_sinds?: string | null;
3224
3227
  updated_at?: string;
3225
3228
  };
3226
3229
  Relationships: [
@@ -3570,6 +3573,7 @@ export type Database = {
3570
3573
  papierformaat: string | null;
3571
3574
  print_plek_id: string;
3572
3575
  printer_id: string | null;
3576
+ printer_ontbreekt_sinds: string | null;
3573
3577
  updated_at: string;
3574
3578
  };
3575
3579
  Insert: {
@@ -3579,6 +3583,7 @@ export type Database = {
3579
3583
  papierformaat?: string | null;
3580
3584
  print_plek_id: string;
3581
3585
  printer_id?: string | null;
3586
+ printer_ontbreekt_sinds?: string | null;
3582
3587
  updated_at?: string;
3583
3588
  };
3584
3589
  Update: {
@@ -3588,6 +3593,7 @@ export type Database = {
3588
3593
  papierformaat?: string | null;
3589
3594
  print_plek_id?: string;
3590
3595
  printer_id?: string | null;
3596
+ printer_ontbreekt_sinds?: string | null;
3591
3597
  updated_at?: string;
3592
3598
  };
3593
3599
  Relationships: [
@@ -3614,6 +3620,7 @@ export type Database = {
3614
3620
  id: string;
3615
3621
  papierformaat: string | null;
3616
3622
  printer_id: string | null;
3623
+ printer_ontbreekt_sinds: string | null;
3617
3624
  updated_at: string;
3618
3625
  werkplek: string;
3619
3626
  };
@@ -3623,6 +3630,7 @@ export type Database = {
3623
3630
  id?: string;
3624
3631
  papierformaat?: string | null;
3625
3632
  printer_id?: string | null;
3633
+ printer_ontbreekt_sinds?: string | null;
3626
3634
  updated_at?: string;
3627
3635
  werkplek: string;
3628
3636
  };
@@ -3632,6 +3640,7 @@ export type Database = {
3632
3640
  id?: string;
3633
3641
  papierformaat?: string | null;
3634
3642
  printer_id?: string | null;
3643
+ printer_ontbreekt_sinds?: string | null;
3635
3644
  updated_at?: string;
3636
3645
  werkplek?: string;
3637
3646
  };
@@ -7023,6 +7032,80 @@ export type Database = {
7023
7032
  }
7024
7033
  ];
7025
7034
  };
7035
+ floriday_document_fetch_queue: {
7036
+ Row: {
7037
+ attempts: number;
7038
+ cancelled_reason: string | null;
7039
+ completed_at: string | null;
7040
+ connection_id: string;
7041
+ created_at: string;
7042
+ document_key: string;
7043
+ environment: string;
7044
+ id: string;
7045
+ kind: string;
7046
+ last_error: string | null;
7047
+ last_http_status: number | null;
7048
+ locked_at: string | null;
7049
+ locked_by: string | null;
7050
+ max_attempts: number;
7051
+ next_attempt_at: string;
7052
+ order_ref: string | null;
7053
+ params: Json;
7054
+ status: string;
7055
+ updated_at: string;
7056
+ };
7057
+ Insert: {
7058
+ attempts?: number;
7059
+ cancelled_reason?: string | null;
7060
+ completed_at?: string | null;
7061
+ connection_id: string;
7062
+ created_at?: string;
7063
+ document_key: string;
7064
+ environment: string;
7065
+ id?: string;
7066
+ kind: string;
7067
+ last_error?: string | null;
7068
+ last_http_status?: number | null;
7069
+ locked_at?: string | null;
7070
+ locked_by?: string | null;
7071
+ max_attempts?: number;
7072
+ next_attempt_at?: string;
7073
+ order_ref?: string | null;
7074
+ params?: Json;
7075
+ status?: string;
7076
+ updated_at?: string;
7077
+ };
7078
+ Update: {
7079
+ attempts?: number;
7080
+ cancelled_reason?: string | null;
7081
+ completed_at?: string | null;
7082
+ connection_id?: string;
7083
+ created_at?: string;
7084
+ document_key?: string;
7085
+ environment?: string;
7086
+ id?: string;
7087
+ kind?: string;
7088
+ last_error?: string | null;
7089
+ last_http_status?: number | null;
7090
+ locked_at?: string | null;
7091
+ locked_by?: string | null;
7092
+ max_attempts?: number;
7093
+ next_attempt_at?: string;
7094
+ order_ref?: string | null;
7095
+ params?: Json;
7096
+ status?: string;
7097
+ updated_at?: string;
7098
+ };
7099
+ Relationships: [
7100
+ {
7101
+ foreignKeyName: "floriday_document_fetch_queue_connection_id_fkey";
7102
+ columns: ["connection_id"];
7103
+ isOneToOne: false;
7104
+ referencedRelation: "floriday_connections";
7105
+ referencedColumns: ["id"];
7106
+ }
7107
+ ];
7108
+ };
7026
7109
  floriday_fulfillment_orders_cache: {
7027
7110
  Row: {
7028
7111
  auction_date: string | null;
@@ -9615,6 +9698,59 @@ export type Database = {
9615
9698
  };
9616
9699
  Relationships: [];
9617
9700
  };
9701
+ itk_offerte_acceptaties: {
9702
+ Row: {
9703
+ accepted_at: string;
9704
+ akkoordgever_email: string;
9705
+ akkoordgever_naam: string;
9706
+ akkoordverklaring: string;
9707
+ id: string;
9708
+ inhoud_hash: string;
9709
+ ip_address: unknown;
9710
+ offerte_id: string;
9711
+ offerte_number: string;
9712
+ offerte_snapshot: Json;
9713
+ user_agent: string | null;
9714
+ versie: string;
9715
+ };
9716
+ Insert: {
9717
+ accepted_at?: string;
9718
+ akkoordgever_email: string;
9719
+ akkoordgever_naam: string;
9720
+ akkoordverklaring: string;
9721
+ id?: string;
9722
+ inhoud_hash: string;
9723
+ ip_address?: unknown;
9724
+ offerte_id: string;
9725
+ offerte_number: string;
9726
+ offerte_snapshot: Json;
9727
+ user_agent?: string | null;
9728
+ versie: string;
9729
+ };
9730
+ Update: {
9731
+ accepted_at?: string;
9732
+ akkoordgever_email?: string;
9733
+ akkoordgever_naam?: string;
9734
+ akkoordverklaring?: string;
9735
+ id?: string;
9736
+ inhoud_hash?: string;
9737
+ ip_address?: unknown;
9738
+ offerte_id?: string;
9739
+ offerte_number?: string;
9740
+ offerte_snapshot?: Json;
9741
+ user_agent?: string | null;
9742
+ versie?: string;
9743
+ };
9744
+ Relationships: [
9745
+ {
9746
+ foreignKeyName: "itk_offerte_acceptaties_offerte_id_fkey";
9747
+ columns: ["offerte_id"];
9748
+ isOneToOne: true;
9749
+ referencedRelation: "itk_offertes";
9750
+ referencedColumns: ["id"];
9751
+ }
9752
+ ];
9753
+ };
9618
9754
  itk_offerte_events: {
9619
9755
  Row: {
9620
9756
  created_at: string;
@@ -9837,6 +9973,7 @@ export type Database = {
9837
9973
  itk_offertes: {
9838
9974
  Row: {
9839
9975
  aandachtspunten: string | null;
9976
+ acceptance_id: string | null;
9840
9977
  ai_generated: boolean;
9841
9978
  approved_at: string | null;
9842
9979
  binnen_mandaat: boolean;
@@ -9855,6 +9992,11 @@ export type Database = {
9855
9992
  onderwerp: string | null;
9856
9993
  rejected_at: string | null;
9857
9994
  sent_at: string | null;
9995
+ sign_token: string;
9996
+ signature_data: string | null;
9997
+ signed_at: string | null;
9998
+ signer_email: string | null;
9999
+ signer_name: string | null;
9858
10000
  source_number: string | null;
9859
10001
  source_ref: string | null;
9860
10002
  source_type: string;
@@ -9869,11 +10011,13 @@ export type Database = {
9869
10011
  viewed_at: string | null;
9870
10012
  volgnummer: number | null;
9871
10013
  voorwaarden: string | null;
10014
+ werkbon_concept: Json | null;
9872
10015
  werkbon_id: string | null;
9873
10016
  work_location_id: string | null;
9874
10017
  };
9875
10018
  Insert: {
9876
10019
  aandachtspunten?: string | null;
10020
+ acceptance_id?: string | null;
9877
10021
  ai_generated?: boolean;
9878
10022
  approved_at?: string | null;
9879
10023
  binnen_mandaat?: boolean;
@@ -9892,6 +10036,11 @@ export type Database = {
9892
10036
  onderwerp?: string | null;
9893
10037
  rejected_at?: string | null;
9894
10038
  sent_at?: string | null;
10039
+ sign_token?: string;
10040
+ signature_data?: string | null;
10041
+ signed_at?: string | null;
10042
+ signer_email?: string | null;
10043
+ signer_name?: string | null;
9895
10044
  source_number?: string | null;
9896
10045
  source_ref?: string | null;
9897
10046
  source_type?: string;
@@ -9906,11 +10055,13 @@ export type Database = {
9906
10055
  viewed_at?: string | null;
9907
10056
  volgnummer?: number | null;
9908
10057
  voorwaarden?: string | null;
10058
+ werkbon_concept?: Json | null;
9909
10059
  werkbon_id?: string | null;
9910
10060
  work_location_id?: string | null;
9911
10061
  };
9912
10062
  Update: {
9913
10063
  aandachtspunten?: string | null;
10064
+ acceptance_id?: string | null;
9914
10065
  ai_generated?: boolean;
9915
10066
  approved_at?: string | null;
9916
10067
  binnen_mandaat?: boolean;
@@ -9929,6 +10080,11 @@ export type Database = {
9929
10080
  onderwerp?: string | null;
9930
10081
  rejected_at?: string | null;
9931
10082
  sent_at?: string | null;
10083
+ sign_token?: string;
10084
+ signature_data?: string | null;
10085
+ signed_at?: string | null;
10086
+ signer_email?: string | null;
10087
+ signer_name?: string | null;
9932
10088
  source_number?: string | null;
9933
10089
  source_ref?: string | null;
9934
10090
  source_type?: string;
@@ -9943,10 +10099,18 @@ export type Database = {
9943
10099
  viewed_at?: string | null;
9944
10100
  volgnummer?: number | null;
9945
10101
  voorwaarden?: string | null;
10102
+ werkbon_concept?: Json | null;
9946
10103
  werkbon_id?: string | null;
9947
10104
  work_location_id?: string | null;
9948
10105
  };
9949
10106
  Relationships: [
10107
+ {
10108
+ foreignKeyName: "itk_offertes_acceptance_id_fkey";
10109
+ columns: ["acceptance_id"];
10110
+ isOneToOne: false;
10111
+ referencedRelation: "itk_offerte_acceptaties";
10112
+ referencedColumns: ["id"];
10113
+ },
9950
10114
  {
9951
10115
  foreignKeyName: "itk_offertes_contact_id_fkey";
9952
10116
  columns: ["contact_id"];
@@ -16652,6 +16816,57 @@ export type Database = {
16652
16816
  };
16653
16817
  Relationships: [];
16654
16818
  };
16819
+ planning_confirmation_log: {
16820
+ Row: {
16821
+ created_at: string;
16822
+ end_at: string;
16823
+ id: string;
16824
+ outbox_id: string | null;
16825
+ planning_item_id: string;
16826
+ reason: string | null;
16827
+ recipient: string | null;
16828
+ start_at: string;
16829
+ status: string;
16830
+ };
16831
+ Insert: {
16832
+ created_at?: string;
16833
+ end_at: string;
16834
+ id?: string;
16835
+ outbox_id?: string | null;
16836
+ planning_item_id: string;
16837
+ reason?: string | null;
16838
+ recipient?: string | null;
16839
+ start_at: string;
16840
+ status: string;
16841
+ };
16842
+ Update: {
16843
+ created_at?: string;
16844
+ end_at?: string;
16845
+ id?: string;
16846
+ outbox_id?: string | null;
16847
+ planning_item_id?: string;
16848
+ reason?: string | null;
16849
+ recipient?: string | null;
16850
+ start_at?: string;
16851
+ status?: string;
16852
+ };
16853
+ Relationships: [
16854
+ {
16855
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
16856
+ columns: ["planning_item_id"];
16857
+ isOneToOne: false;
16858
+ referencedRelation: "planning_items";
16859
+ referencedColumns: ["id"];
16860
+ },
16861
+ {
16862
+ foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
16863
+ columns: ["planning_item_id"];
16864
+ isOneToOne: false;
16865
+ referencedRelation: "planning_overview";
16866
+ referencedColumns: ["id"];
16867
+ }
16868
+ ];
16869
+ };
16655
16870
  planning_item_assistants: {
16656
16871
  Row: {
16657
16872
  created_at: string;
@@ -16742,6 +16957,66 @@ export type Database = {
16742
16957
  }
16743
16958
  ];
16744
16959
  };
16960
+ planning_mail_settings: {
16961
+ Row: {
16962
+ body_template: string;
16963
+ cc: string[];
16964
+ connection_id: string | null;
16965
+ created_at: string;
16966
+ email_purpose: string | null;
16967
+ enabled: boolean;
16968
+ id: boolean;
16969
+ reply_to: string | null;
16970
+ subject_template: string;
16971
+ timezone: string;
16972
+ updated_at: string;
16973
+ updated_by: string | null;
16974
+ };
16975
+ Insert: {
16976
+ body_template?: string;
16977
+ cc?: string[];
16978
+ connection_id?: string | null;
16979
+ created_at?: string;
16980
+ email_purpose?: string | null;
16981
+ enabled?: boolean;
16982
+ id?: boolean;
16983
+ reply_to?: string | null;
16984
+ subject_template?: string;
16985
+ timezone?: string;
16986
+ updated_at?: string;
16987
+ updated_by?: string | null;
16988
+ };
16989
+ Update: {
16990
+ body_template?: string;
16991
+ cc?: string[];
16992
+ connection_id?: string | null;
16993
+ created_at?: string;
16994
+ email_purpose?: string | null;
16995
+ enabled?: boolean;
16996
+ id?: boolean;
16997
+ reply_to?: string | null;
16998
+ subject_template?: string;
16999
+ timezone?: string;
17000
+ updated_at?: string;
17001
+ updated_by?: string | null;
17002
+ };
17003
+ Relationships: [
17004
+ {
17005
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
17006
+ columns: ["connection_id"];
17007
+ isOneToOne: false;
17008
+ referencedRelation: "email_auth_connections";
17009
+ referencedColumns: ["id"];
17010
+ },
17011
+ {
17012
+ foreignKeyName: "planning_mail_settings_connection_id_fkey";
17013
+ columns: ["connection_id"];
17014
+ isOneToOne: false;
17015
+ referencedRelation: "email_auth_connections_safe";
17016
+ referencedColumns: ["id"];
17017
+ }
17018
+ ];
17019
+ };
16745
17020
  planning_monteur_day_locations: {
16746
17021
  Row: {
16747
17022
  created_at: string;
@@ -17141,6 +17416,27 @@ export type Database = {
17141
17416
  };
17142
17417
  Relationships: [];
17143
17418
  };
17419
+ print_genegeerde_computers: {
17420
+ Row: {
17421
+ computer_naam: string;
17422
+ genegeerd_door: string | null;
17423
+ genegeerd_op: string;
17424
+ id: string;
17425
+ };
17426
+ Insert: {
17427
+ computer_naam: string;
17428
+ genegeerd_door?: string | null;
17429
+ genegeerd_op?: string;
17430
+ id?: string;
17431
+ };
17432
+ Update: {
17433
+ computer_naam?: string;
17434
+ genegeerd_door?: string | null;
17435
+ genegeerd_op?: string;
17436
+ id?: string;
17437
+ };
17438
+ Relationships: [];
17439
+ };
17144
17440
  print_job_logs: {
17145
17441
  Row: {
17146
17442
  created_at: string;
@@ -17422,6 +17718,42 @@ export type Database = {
17422
17718
  }
17423
17719
  ];
17424
17720
  };
17721
+ print_plek_printers: {
17722
+ Row: {
17723
+ id: string;
17724
+ print_plek_id: string;
17725
+ printer_id: string;
17726
+ toegevoegd_op: string;
17727
+ };
17728
+ Insert: {
17729
+ id?: string;
17730
+ print_plek_id: string;
17731
+ printer_id: string;
17732
+ toegevoegd_op?: string;
17733
+ };
17734
+ Update: {
17735
+ id?: string;
17736
+ print_plek_id?: string;
17737
+ printer_id?: string;
17738
+ toegevoegd_op?: string;
17739
+ };
17740
+ Relationships: [
17741
+ {
17742
+ foreignKeyName: "print_plek_printers_print_plek_id_fkey";
17743
+ columns: ["print_plek_id"];
17744
+ isOneToOne: false;
17745
+ referencedRelation: "print_plekken";
17746
+ referencedColumns: ["id"];
17747
+ },
17748
+ {
17749
+ foreignKeyName: "print_plek_printers_printer_id_fkey";
17750
+ columns: ["printer_id"];
17751
+ isOneToOne: false;
17752
+ referencedRelation: "printers";
17753
+ referencedColumns: ["id"];
17754
+ }
17755
+ ];
17756
+ };
17425
17757
  print_plekken: {
17426
17758
  Row: {
17427
17759
  actief: boolean;
@@ -17640,7 +17972,8 @@ export type Database = {
17640
17972
  created_at: string;
17641
17973
  id: string;
17642
17974
  layout_id: string;
17643
- printer_id: string;
17975
+ printer_id: string | null;
17976
+ printer_ontbreekt_sinds: string | null;
17644
17977
  prioriteit: number;
17645
17978
  updated_at: string;
17646
17979
  };
@@ -17648,7 +17981,8 @@ export type Database = {
17648
17981
  created_at?: string;
17649
17982
  id?: string;
17650
17983
  layout_id: string;
17651
- printer_id: string;
17984
+ printer_id?: string | null;
17985
+ printer_ontbreekt_sinds?: string | null;
17652
17986
  prioriteit?: number;
17653
17987
  updated_at?: string;
17654
17988
  };
@@ -17656,7 +17990,8 @@ export type Database = {
17656
17990
  created_at?: string;
17657
17991
  id?: string;
17658
17992
  layout_id?: string;
17659
- printer_id?: string;
17993
+ printer_id?: string | null;
17994
+ printer_ontbreekt_sinds?: string | null;
17660
17995
  prioriteit?: number;
17661
17996
  updated_at?: string;
17662
17997
  };
@@ -23709,12 +24044,14 @@ export type Database = {
23709
24044
  created_at: string;
23710
24045
  default_quantity: number;
23711
24046
  description: string | null;
23712
- duration_minutes: number | null;
24047
+ duration_minutes: number;
23713
24048
  id: string;
24049
+ labor_minutes: number;
23714
24050
  mandaat_type: string | null;
23715
24051
  name: string;
23716
24052
  price_mode: string;
23717
24053
  sort_order: number;
24054
+ travel_minutes: number;
23718
24055
  unit_price_cents: number;
23719
24056
  updated_at: string;
23720
24057
  };
@@ -23726,12 +24063,14 @@ export type Database = {
23726
24063
  created_at?: string;
23727
24064
  default_quantity?: number;
23728
24065
  description?: string | null;
23729
- duration_minutes?: number | null;
24066
+ duration_minutes?: number;
23730
24067
  id?: string;
24068
+ labor_minutes?: number;
23731
24069
  mandaat_type?: string | null;
23732
24070
  name: string;
23733
24071
  price_mode?: string;
23734
24072
  sort_order?: number;
24073
+ travel_minutes?: number;
23735
24074
  unit_price_cents?: number;
23736
24075
  updated_at?: string;
23737
24076
  };
@@ -23743,12 +24082,14 @@ export type Database = {
23743
24082
  created_at?: string;
23744
24083
  default_quantity?: number;
23745
24084
  description?: string | null;
23746
- duration_minutes?: number | null;
24085
+ duration_minutes?: number;
23747
24086
  id?: string;
24087
+ labor_minutes?: number;
23748
24088
  mandaat_type?: string | null;
23749
24089
  name?: string;
23750
24090
  price_mode?: string;
23751
24091
  sort_order?: number;
24092
+ travel_minutes?: number;
23752
24093
  unit_price_cents?: number;
23753
24094
  updated_at?: string;
23754
24095
  };
@@ -25356,6 +25697,12 @@ export type Database = {
25356
25697
  };
25357
25698
  Returns: undefined;
25358
25699
  };
25700
+ _quote_release_work_order_intern: {
25701
+ Args: {
25702
+ _offerte_id: string;
25703
+ };
25704
+ Returns: Json;
25705
+ };
25359
25706
  _wo_is_planner: {
25360
25707
  Args: never;
25361
25708
  Returns: boolean;
@@ -30227,6 +30574,12 @@ export type Database = {
30227
30574
  };
30228
30575
  Returns: Json;
30229
30576
  };
30577
+ pick_verify_rows: {
30578
+ Args: {
30579
+ _rows: Json;
30580
+ };
30581
+ Returns: Json;
30582
+ };
30230
30583
  pickstation_get_orders_raw: {
30231
30584
  Args: never;
30232
30585
  Returns: Json;
@@ -30361,6 +30714,35 @@ export type Database = {
30361
30714
  };
30362
30715
  Returns: undefined;
30363
30716
  };
30717
+ printer_gebruik: {
30718
+ Args: {
30719
+ _printer: string;
30720
+ };
30721
+ Returns: Json;
30722
+ };
30723
+ printer_routering: {
30724
+ Args: {
30725
+ _documenttype: string;
30726
+ _layout_id?: string;
30727
+ _papierformaat?: string;
30728
+ _print_plek_id?: string;
30729
+ _werkplek?: string;
30730
+ };
30731
+ Returns: Json;
30732
+ };
30733
+ printplek_printer: {
30734
+ Args: {
30735
+ _documenttype: string;
30736
+ _plek: string;
30737
+ };
30738
+ Returns: string;
30739
+ };
30740
+ printplek_verwijder_impact: {
30741
+ Args: {
30742
+ _id: string;
30743
+ };
30744
+ Returns: Json;
30745
+ };
30364
30746
  process_logistics_event: {
30365
30747
  Args: {
30366
30748
  p_event_id: string;
@@ -30407,6 +30789,12 @@ export type Database = {
30407
30789
  };
30408
30790
  Returns: Json;
30409
30791
  };
30792
+ quote_create_from_scratch: {
30793
+ Args: {
30794
+ _payload: Json;
30795
+ };
30796
+ Returns: Json;
30797
+ };
30410
30798
  quote_create_from_source: {
30411
30799
  Args: {
30412
30800
  _payload?: Json;
@@ -30422,6 +30810,13 @@ export type Database = {
30422
30810
  };
30423
30811
  Returns: boolean;
30424
30812
  };
30813
+ quote_fill_from_form: {
30814
+ Args: {
30815
+ _offerte_id: string;
30816
+ _payload: Json;
30817
+ };
30818
+ Returns: Json;
30819
+ };
30425
30820
  quote_get_billable_lines: {
30426
30821
  Args: {
30427
30822
  _quotation_id: string;
@@ -30451,12 +30846,50 @@ export type Database = {
30451
30846
  };
30452
30847
  Returns: Json;
30453
30848
  };
30849
+ quote_public_accept: {
30850
+ Args: {
30851
+ _akkoord: boolean;
30852
+ _email: string;
30853
+ _ip_address?: string;
30854
+ _naam: string;
30855
+ _token: string;
30856
+ _user_agent?: string;
30857
+ };
30858
+ Returns: Json;
30859
+ };
30860
+ quote_public_get: {
30861
+ Args: {
30862
+ _token: string;
30863
+ };
30864
+ Returns: Json;
30865
+ };
30866
+ quote_public_sign: {
30867
+ Args: {
30868
+ _handtekening: string;
30869
+ _naam: string;
30870
+ _token: string;
30871
+ };
30872
+ Returns: Json;
30873
+ };
30454
30874
  quote_queue_follow_up: {
30455
30875
  Args: {
30456
30876
  _offerte_id: string;
30457
30877
  };
30458
30878
  Returns: string;
30459
30879
  };
30880
+ quote_release_work_order: {
30881
+ Args: {
30882
+ _offerte_id: string;
30883
+ };
30884
+ Returns: Json;
30885
+ };
30886
+ quote_sync_work_order: {
30887
+ Args: {
30888
+ _monteur_instructies?: string;
30889
+ _offerte_id: string;
30890
+ };
30891
+ Returns: boolean;
30892
+ };
30460
30893
  recompute_all_reserved_stock: {
30461
30894
  Args: never;
30462
30895
  Returns: undefined;
@@ -31735,6 +32168,19 @@ export type Database = {
31735
32168
  user_id: string;
31736
32169
  }[];
31737
32170
  };
32171
+ vervang_printer: {
32172
+ Args: {
32173
+ _nieuw: string;
32174
+ _oud: string;
32175
+ };
32176
+ Returns: Json;
32177
+ };
32178
+ verwijder_printplek: {
32179
+ Args: {
32180
+ _id: string;
32181
+ };
32182
+ Returns: Json;
32183
+ };
31738
32184
  voorraad_cleanup_old_rows: {
31739
32185
  Args: never;
31740
32186
  Returns: Json;
@@ -31745,6 +32191,16 @@ export type Database = {
31745
32191
  };
31746
32192
  Returns: number;
31747
32193
  };
32194
+ werkbon_pakket_tijden: {
32195
+ Args: {
32196
+ _werkbon_id: string;
32197
+ };
32198
+ Returns: {
32199
+ labor_minutes: number;
32200
+ total_minutes: number;
32201
+ travel_minutes: number;
32202
+ }[];
32203
+ };
31748
32204
  werkbon_totalen: {
31749
32205
  Args: {
31750
32206
  _werkbon_id: string;