@flowselections/layout-maker 1.46.1 → 1.51.3

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 (63) hide show
  1. package/dist-lib/components/ComputerVerwijderenDialog.d.ts +16 -0
  2. package/dist-lib/components/ComputerVerwijderenDialog.d.ts.map +1 -0
  3. package/dist-lib/components/ComputerVerwijderenDialog.js +38 -0
  4. package/dist-lib/components/ComputersLijst.d.ts.map +1 -1
  5. package/dist-lib/components/ComputersLijst.js +5 -2
  6. package/dist-lib/components/LayoutPrinterSelect.d.ts +3 -5
  7. package/dist-lib/components/LayoutPrinterSelect.d.ts.map +1 -1
  8. package/dist-lib/components/LayoutPrinterSelect.js +40 -17
  9. package/dist-lib/components/LayoutsPage.d.ts.map +1 -1
  10. package/dist-lib/components/LayoutsPage.js +28 -18
  11. package/dist-lib/components/PrinterSetupWizard.d.ts +3 -1
  12. package/dist-lib/components/PrinterSetupWizard.d.ts.map +1 -1
  13. package/dist-lib/components/PrinterSetupWizard.js +13 -4
  14. package/dist-lib/components/PrinterVervangenDialog.d.ts +14 -0
  15. package/dist-lib/components/PrinterVervangenDialog.d.ts.map +1 -0
  16. package/dist-lib/components/PrinterVervangenDialog.js +44 -0
  17. package/dist-lib/components/PrintersPage.d.ts.map +1 -1
  18. package/dist-lib/components/PrintersPage.js +2 -2
  19. package/dist-lib/components/PrintplekDetailPage.d.ts.map +1 -1
  20. package/dist-lib/components/PrintplekDetailPage.js +175 -48
  21. package/dist-lib/components/PrintplekVerwijderenDialog.d.ts +9 -0
  22. package/dist-lib/components/PrintplekVerwijderenDialog.d.ts.map +1 -0
  23. package/dist-lib/components/PrintplekVerwijderenDialog.js +34 -0
  24. package/dist-lib/components/PrintplekkenPage.d.ts.map +1 -1
  25. package/dist-lib/components/PrintplekkenPage.js +28 -6
  26. package/dist-lib/components/WerkplekConfiguratiePage.d.ts.map +1 -1
  27. package/dist-lib/components/WerkplekConfiguratiePage.js +67 -25
  28. package/dist-lib/index.d.ts +9 -4
  29. package/dist-lib/index.d.ts.map +1 -1
  30. package/dist-lib/index.js +7 -3
  31. package/dist-lib/integrations/supabase/auth-middleware.d.ts +4 -31183
  32. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  33. package/dist-lib/integrations/supabase/auth-middleware.js +1 -1
  34. package/dist-lib/integrations/supabase/client.server.d.ts +2 -31183
  35. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  36. package/dist-lib/integrations/supabase/moduleClient.d.ts +511 -6
  37. package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
  38. package/dist-lib/integrations/supabase/types.d.ts +527 -6
  39. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  40. package/dist-lib/lib/aiLayout.functions.d.ts +1 -31183
  41. package/dist-lib/lib/aiLayout.functions.d.ts.map +1 -1
  42. package/dist-lib/lib/documentRoutering.d.ts +2 -1
  43. package/dist-lib/lib/documentRoutering.d.ts.map +1 -1
  44. package/dist-lib/lib/documentRoutering.js +5 -8
  45. package/dist-lib/lib/foutTekst.d.ts +3 -0
  46. package/dist-lib/lib/foutTekst.d.ts.map +1 -0
  47. package/dist-lib/lib/foutTekst.js +25 -0
  48. package/dist-lib/lib/printApi.d.ts.map +1 -1
  49. package/dist-lib/lib/printApi.js +13 -39
  50. package/dist-lib/lib/printQueue.server.d.ts.map +1 -1
  51. package/dist-lib/lib/printQueue.server.js +19 -66
  52. package/dist-lib/lib/printRoutering.d.ts +34 -0
  53. package/dist-lib/lib/printRoutering.d.ts.map +1 -0
  54. package/dist-lib/lib/printRoutering.js +69 -0
  55. package/dist-lib/lib/printService.functions.d.ts +5 -155915
  56. package/dist-lib/lib/printService.functions.d.ts.map +1 -1
  57. package/dist-lib/lib/printplekken.d.ts +67 -2
  58. package/dist-lib/lib/printplekken.d.ts.map +1 -1
  59. package/dist-lib/lib/printplekken.js +141 -10
  60. package/dist-lib/lib/useDocumentData.d.ts +15 -10
  61. package/dist-lib/lib/useDocumentData.d.ts.map +1 -1
  62. package/dist-lib/lib/useDocumentData.js +43 -34
  63. package/package.json +2 -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
  };
@@ -22274,6 +22609,32 @@ export type Database = {
22274
22609
  };
22275
22610
  Relationships: [];
22276
22611
  };
22612
+ uren_pagina_toegang: {
22613
+ Row: {
22614
+ created_at: string;
22615
+ id: string;
22616
+ user_id: string;
22617
+ };
22618
+ Insert: {
22619
+ created_at?: string;
22620
+ id?: string;
22621
+ user_id: string;
22622
+ };
22623
+ Update: {
22624
+ created_at?: string;
22625
+ id?: string;
22626
+ user_id?: string;
22627
+ };
22628
+ Relationships: [
22629
+ {
22630
+ foreignKeyName: "uren_pagina_toegang_user_id_fkey";
22631
+ columns: ["user_id"];
22632
+ isOneToOne: true;
22633
+ referencedRelation: "profiles";
22634
+ referencedColumns: ["id"];
22635
+ }
22636
+ ];
22637
+ };
22277
22638
  uren_settings: {
22278
22639
  Row: {
22279
22640
  break_minutes: number;
@@ -23709,12 +24070,14 @@ export type Database = {
23709
24070
  created_at: string;
23710
24071
  default_quantity: number;
23711
24072
  description: string | null;
23712
- duration_minutes: number | null;
24073
+ duration_minutes: number;
23713
24074
  id: string;
24075
+ labor_minutes: number;
23714
24076
  mandaat_type: string | null;
23715
24077
  name: string;
23716
24078
  price_mode: string;
23717
24079
  sort_order: number;
24080
+ travel_minutes: number;
23718
24081
  unit_price_cents: number;
23719
24082
  updated_at: string;
23720
24083
  };
@@ -23726,12 +24089,14 @@ export type Database = {
23726
24089
  created_at?: string;
23727
24090
  default_quantity?: number;
23728
24091
  description?: string | null;
23729
- duration_minutes?: number | null;
24092
+ duration_minutes?: number;
23730
24093
  id?: string;
24094
+ labor_minutes?: number;
23731
24095
  mandaat_type?: string | null;
23732
24096
  name: string;
23733
24097
  price_mode?: string;
23734
24098
  sort_order?: number;
24099
+ travel_minutes?: number;
23735
24100
  unit_price_cents?: number;
23736
24101
  updated_at?: string;
23737
24102
  };
@@ -23743,12 +24108,14 @@ export type Database = {
23743
24108
  created_at?: string;
23744
24109
  default_quantity?: number;
23745
24110
  description?: string | null;
23746
- duration_minutes?: number | null;
24111
+ duration_minutes?: number;
23747
24112
  id?: string;
24113
+ labor_minutes?: number;
23748
24114
  mandaat_type?: string | null;
23749
24115
  name?: string;
23750
24116
  price_mode?: string;
23751
24117
  sort_order?: number;
24118
+ travel_minutes?: number;
23752
24119
  unit_price_cents?: number;
23753
24120
  updated_at?: string;
23754
24121
  };
@@ -25356,6 +25723,12 @@ export type Database = {
25356
25723
  };
25357
25724
  Returns: undefined;
25358
25725
  };
25726
+ _quote_release_work_order_intern: {
25727
+ Args: {
25728
+ _offerte_id: string;
25729
+ };
25730
+ Returns: Json;
25731
+ };
25359
25732
  _wo_is_planner: {
25360
25733
  Args: never;
25361
25734
  Returns: boolean;
@@ -27769,6 +28142,13 @@ export type Database = {
27769
28142
  };
27770
28143
  Returns: Json;
27771
28144
  };
28145
+ logistics_control_scan_print_own: {
28146
+ Args: {
28147
+ p_is_herprint?: boolean;
28148
+ p_scan_id: string;
28149
+ };
28150
+ Returns: Json;
28151
+ };
27772
28152
  logistics_control_scan_retry: {
27773
28153
  Args: {
27774
28154
  _id: string;
@@ -28673,6 +29053,21 @@ export type Database = {
28673
29053
  };
28674
29054
  Returns: Json;
28675
29055
  };
29056
+ logistics_print_via_layout: {
29057
+ Args: {
29058
+ _documentnaam: string;
29059
+ _documenttype: string;
29060
+ _herkomst: string;
29061
+ _idempotentie_sleutel: string;
29062
+ _is_herprint: boolean;
29063
+ _layout_id: string;
29064
+ _payload: Json;
29065
+ _pdf_base64: string;
29066
+ _pdf_url: string;
29067
+ _print_plek_id: string;
29068
+ };
29069
+ Returns: Json;
29070
+ };
28676
29071
  logistics_prune_buffer_member_queue: {
28677
29072
  Args: never;
28678
29073
  Returns: number;
@@ -29028,6 +29423,12 @@ export type Database = {
29028
29423
  };
29029
29424
  Returns: undefined;
29030
29425
  };
29426
+ logistics_slip_note_retry: {
29427
+ Args: {
29428
+ _id: string;
29429
+ };
29430
+ Returns: Json;
29431
+ };
29031
29432
  logistics_sticker_follows_slip: {
29032
29433
  Args: never;
29033
29434
  Returns: boolean;
@@ -30199,6 +30600,12 @@ export type Database = {
30199
30600
  };
30200
30601
  Returns: Json;
30201
30602
  };
30603
+ pick_verify_rows: {
30604
+ Args: {
30605
+ _rows: Json;
30606
+ };
30607
+ Returns: Json;
30608
+ };
30202
30609
  pickstation_get_orders_raw: {
30203
30610
  Args: never;
30204
30611
  Returns: Json;
@@ -30333,6 +30740,35 @@ export type Database = {
30333
30740
  };
30334
30741
  Returns: undefined;
30335
30742
  };
30743
+ printer_gebruik: {
30744
+ Args: {
30745
+ _printer: string;
30746
+ };
30747
+ Returns: Json;
30748
+ };
30749
+ printer_routering: {
30750
+ Args: {
30751
+ _documenttype: string;
30752
+ _layout_id?: string;
30753
+ _papierformaat?: string;
30754
+ _print_plek_id?: string;
30755
+ _werkplek?: string;
30756
+ };
30757
+ Returns: Json;
30758
+ };
30759
+ printplek_printer: {
30760
+ Args: {
30761
+ _documenttype: string;
30762
+ _plek: string;
30763
+ };
30764
+ Returns: string;
30765
+ };
30766
+ printplek_verwijder_impact: {
30767
+ Args: {
30768
+ _id: string;
30769
+ };
30770
+ Returns: Json;
30771
+ };
30336
30772
  process_logistics_event: {
30337
30773
  Args: {
30338
30774
  p_event_id: string;
@@ -30379,6 +30815,12 @@ export type Database = {
30379
30815
  };
30380
30816
  Returns: Json;
30381
30817
  };
30818
+ quote_create_from_scratch: {
30819
+ Args: {
30820
+ _payload: Json;
30821
+ };
30822
+ Returns: Json;
30823
+ };
30382
30824
  quote_create_from_source: {
30383
30825
  Args: {
30384
30826
  _payload?: Json;
@@ -30394,6 +30836,13 @@ export type Database = {
30394
30836
  };
30395
30837
  Returns: boolean;
30396
30838
  };
30839
+ quote_fill_from_form: {
30840
+ Args: {
30841
+ _offerte_id: string;
30842
+ _payload: Json;
30843
+ };
30844
+ Returns: Json;
30845
+ };
30397
30846
  quote_get_billable_lines: {
30398
30847
  Args: {
30399
30848
  _quotation_id: string;
@@ -30423,12 +30872,50 @@ export type Database = {
30423
30872
  };
30424
30873
  Returns: Json;
30425
30874
  };
30875
+ quote_public_accept: {
30876
+ Args: {
30877
+ _akkoord: boolean;
30878
+ _email: string;
30879
+ _ip_address?: string;
30880
+ _naam: string;
30881
+ _token: string;
30882
+ _user_agent?: string;
30883
+ };
30884
+ Returns: Json;
30885
+ };
30886
+ quote_public_get: {
30887
+ Args: {
30888
+ _token: string;
30889
+ };
30890
+ Returns: Json;
30891
+ };
30892
+ quote_public_sign: {
30893
+ Args: {
30894
+ _handtekening: string;
30895
+ _naam: string;
30896
+ _token: string;
30897
+ };
30898
+ Returns: Json;
30899
+ };
30426
30900
  quote_queue_follow_up: {
30427
30901
  Args: {
30428
30902
  _offerte_id: string;
30429
30903
  };
30430
30904
  Returns: string;
30431
30905
  };
30906
+ quote_release_work_order: {
30907
+ Args: {
30908
+ _offerte_id: string;
30909
+ };
30910
+ Returns: Json;
30911
+ };
30912
+ quote_sync_work_order: {
30913
+ Args: {
30914
+ _monteur_instructies?: string;
30915
+ _offerte_id: string;
30916
+ };
30917
+ Returns: boolean;
30918
+ };
30432
30919
  recompute_all_reserved_stock: {
30433
30920
  Args: never;
30434
30921
  Returns: undefined;
@@ -31380,6 +31867,10 @@ export type Database = {
31380
31867
  };
31381
31868
  Returns: number;
31382
31869
  };
31870
+ uren_heeft_pagina_toegang: {
31871
+ Args: never;
31872
+ Returns: boolean;
31873
+ };
31383
31874
  uren_is_beheerder: {
31384
31875
  Args: never;
31385
31876
  Returns: boolean;
@@ -31463,6 +31954,13 @@ export type Database = {
31463
31954
  Args: never;
31464
31955
  Returns: string;
31465
31956
  };
31957
+ uren_pagina_toegang_instellen: {
31958
+ Args: {
31959
+ _toegang: boolean;
31960
+ _user_id: string;
31961
+ };
31962
+ Returns: undefined;
31963
+ };
31466
31964
  uren_planning_dagagenda: {
31467
31965
  Args: {
31468
31966
  _tot: string;
@@ -31707,6 +32205,19 @@ export type Database = {
31707
32205
  user_id: string;
31708
32206
  }[];
31709
32207
  };
32208
+ vervang_printer: {
32209
+ Args: {
32210
+ _nieuw: string;
32211
+ _oud: string;
32212
+ };
32213
+ Returns: Json;
32214
+ };
32215
+ verwijder_printplek: {
32216
+ Args: {
32217
+ _id: string;
32218
+ };
32219
+ Returns: Json;
32220
+ };
31710
32221
  voorraad_cleanup_old_rows: {
31711
32222
  Args: never;
31712
32223
  Returns: Json;
@@ -31717,6 +32228,16 @@ export type Database = {
31717
32228
  };
31718
32229
  Returns: number;
31719
32230
  };
32231
+ werkbon_pakket_tijden: {
32232
+ Args: {
32233
+ _werkbon_id: string;
32234
+ };
32235
+ Returns: {
32236
+ labor_minutes: number;
32237
+ total_minutes: number;
32238
+ travel_minutes: number;
32239
+ }[];
32240
+ };
31720
32241
  werkbon_totalen: {
31721
32242
  Args: {
31722
32243
  _werkbon_id: string;